@sanity/ui 2.10.18-canary.0 → 2.11.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 (52) hide show
  1. package/dist/index.d.mts +11 -0
  2. package/dist/index.d.ts +11 -0
  3. package/dist/index.esm.js +165 -169
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.js +165 -169
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.mjs +165 -169
  8. package/dist/index.mjs.map +1 -1
  9. package/package.json +43 -29
  10. package/src/core/components/autocomplete/autocomplete.styles.tsx +1 -1
  11. package/src/core/components/autocomplete/autocomplete.tsx +3 -3
  12. package/src/core/components/breadcrumbs/breadcrumbs.styles.ts +1 -1
  13. package/src/core/components/breadcrumbs/breadcrumbs.tsx +3 -3
  14. package/src/core/components/dialog/dialog.tsx +3 -3
  15. package/src/core/components/hotkeys/hotkeys.tsx +3 -3
  16. package/src/core/components/menu/menu.tsx +3 -3
  17. package/src/core/components/menu/menuGroup.tsx +14 -1
  18. package/src/core/components/skeleton/skeleton.tsx +4 -5
  19. package/src/core/components/skeleton/textSkeleton.tsx +5 -5
  20. package/src/core/components/toast/toast.tsx +3 -3
  21. package/src/core/components/toast/toastProvider.tsx +3 -3
  22. package/src/core/components/tree/treeItem.tsx +5 -5
  23. package/src/core/primitives/avatar/avatar.tsx +6 -6
  24. package/src/core/primitives/avatar/avatarCounter.tsx +3 -3
  25. package/src/core/primitives/avatar/avatarStack.tsx +6 -3
  26. package/src/core/primitives/badge/badge.tsx +3 -3
  27. package/src/core/primitives/box/box.tsx +3 -3
  28. package/src/core/primitives/button/button.tsx +3 -3
  29. package/src/core/primitives/card/card.tsx +2 -2
  30. package/src/core/primitives/checkbox/checkbox.tsx +3 -3
  31. package/src/core/primitives/code/code.tsx +3 -3
  32. package/src/core/primitives/container/container.tsx +2 -2
  33. package/src/core/primitives/flex/flex.tsx +2 -2
  34. package/src/core/primitives/grid/grid.tsx +3 -3
  35. package/src/core/primitives/heading/heading.tsx +4 -11
  36. package/src/core/primitives/inline/inline.tsx +3 -3
  37. package/src/core/primitives/kbd/kbd.tsx +3 -3
  38. package/src/core/primitives/label/label.tsx +4 -11
  39. package/src/core/primitives/radio/radio.tsx +3 -3
  40. package/src/core/primitives/select/select.tsx +3 -3
  41. package/src/core/primitives/spinner/spinner.tsx +3 -3
  42. package/src/core/primitives/stack/stack.tsx +5 -2
  43. package/src/core/primitives/switch/switch.tsx +3 -3
  44. package/src/core/primitives/text/text.tsx +4 -11
  45. package/src/core/primitives/textArea/textArea.tsx +3 -3
  46. package/src/core/primitives/textInput/textInput.tsx +3 -3
  47. package/src/core/primitives/tooltip/tooltip.tsx +3 -3
  48. package/src/core/utils/arrow/arrow.tsx +3 -3
  49. package/src/core/utils/layer/layer.tsx +9 -3
  50. package/src/core/utils/spanWithTextOverflow.tsx +10 -0
  51. package/src/core/utils/srOnly/srOnly.tsx +3 -3
  52. package/src/core/utils/virtualList/virtualList.tsx +3 -3
package/dist/index.js CHANGED
@@ -1420,6 +1420,10 @@ function responsiveShadowStyle(props) {
1420
1420
  } = theme.getTheme_v2(props.theme);
1421
1421
  return _responsive(media, props.$shadow, (index) => shadowStyle(shadow[index], card.shadow.outline));
1422
1422
  }
1423
+ const SpanWithTextOverflow = styledComponents.styled.span.withConfig({
1424
+ displayName: "SpanWithTextOverflow",
1425
+ componentId: "sc-ol2i3b-0"
1426
+ })`display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow:clip;`;
1423
1427
  function labelBaseStyle(props) {
1424
1428
  const {
1425
1429
  $accent,
@@ -1459,13 +1463,10 @@ function labelBaseStyle(props) {
1459
1463
  }
1460
1464
  `;
1461
1465
  }
1462
- const Root$C = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1463
- displayName: "Root",
1466
+ const StyledLabel = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1467
+ displayName: "StyledLabel",
1464
1468
  componentId: "sc-1luap7z-0"
1465
- })(responsiveLabelFont, responsiveTextAlignStyle, labelBaseStyle), SpanWithTextOverflow$2 = styledComponents.styled.span.withConfig({
1466
- displayName: "SpanWithTextOverflow",
1467
- componentId: "sc-1luap7z-1"
1468
- })`display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow:clip;`, Label = react.forwardRef(function(props, ref) {
1469
+ })(responsiveLabelFont, responsiveTextAlignStyle, labelBaseStyle), Label = react.forwardRef(function(props, ref) {
1469
1470
  const $ = reactCompilerRuntime.c(22);
1470
1471
  let accent, align, childrenProp, restProps, t0, t1, textOverflow, weight;
1471
1472
  $[0] !== props ? ({
@@ -1482,14 +1483,14 @@ const Root$C = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1482
1483
  let children = childrenProp;
1483
1484
  if (textOverflow === "ellipsis") {
1484
1485
  let t22;
1485
- $[9] !== children ? (t22 = /* @__PURE__ */ jsxRuntime.jsx(SpanWithTextOverflow$2, { children }), $[9] = children, $[10] = t22) : t22 = $[10], children = t22;
1486
+ $[9] !== children ? (t22 = /* @__PURE__ */ jsxRuntime.jsx(SpanWithTextOverflow, { children }), $[9] = children, $[10] = t22) : t22 = $[10], children = t22;
1486
1487
  } else {
1487
1488
  let t22;
1488
1489
  $[11] !== children ? (t22 = /* @__PURE__ */ jsxRuntime.jsx("span", { children }), $[11] = children, $[12] = t22) : t22 = $[12], children = t22;
1489
1490
  }
1490
1491
  const t2 = useArrayProp(align), t3 = useArrayProp(size2);
1491
1492
  let t4;
1492
- return $[13] !== accent || $[14] !== children || $[15] !== muted || $[16] !== ref || $[17] !== restProps || $[18] !== t2 || $[19] !== t3 || $[20] !== weight ? (t4 = /* @__PURE__ */ jsxRuntime.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;
1493
+ return $[13] !== accent || $[14] !== children || $[15] !== muted || $[16] !== ref || $[17] !== restProps || $[18] !== t2 || $[19] !== t3 || $[20] !== weight ? (t4 = /* @__PURE__ */ jsxRuntime.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;
1493
1494
  });
1494
1495
  Label.displayName = "ForwardRef(Label)";
1495
1496
  const avatarStyle = {
@@ -1635,8 +1636,8 @@ function avatarStrokeStyle() {
1635
1636
  }
1636
1637
  };
1637
1638
  }
1638
- const Root$B = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1639
- displayName: "Root",
1639
+ const StyledAvatar = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1640
+ displayName: "StyledAvatar",
1640
1641
  componentId: "sc-1rj7kl0-0"
1641
1642
  })(responsiveAvatarSizeStyle, avatarStyle.root), Arrow$1 = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1642
1643
  displayName: "Arrow",
@@ -1655,8 +1656,8 @@ const Root$B = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1655
1656
  componentId: "sc-1rj7kl0-5"
1656
1657
  })({
1657
1658
  color: "inherit"
1658
- }), Image = /* @__PURE__ */ styledComponents.styled.svg.withConfig({
1659
- displayName: "Image",
1659
+ }), AvatarImage = /* @__PURE__ */ styledComponents.styled.svg.withConfig({
1660
+ displayName: "AvatarImage",
1660
1661
  componentId: "sc-1rj7kl0-6"
1661
1662
  })(avatarStyle.image), Avatar = react.forwardRef(function(props, ref) {
1662
1663
  const $ = reactCompilerRuntime.c(52);
@@ -1700,7 +1701,7 @@ const Root$B = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1700
1701
  let t11;
1701
1702
  $[24] !== color ? (t11 = /* @__PURE__ */ jsxRuntime.jsx(Arrow$1, { children: /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "11", height: "7", viewBox: "0 0 11 7", fill: "none", children: /* @__PURE__ */ jsxRuntime.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];
1702
1703
  let t12;
1703
- $[26] !== __unstable_hideInnerStroke || $[27] !== _radius || $[28] !== _sizeRem || $[29] !== handleImageError || $[30] !== imageFailed || $[31] !== imageId || $[32] !== src ? (t12 = !imageFailed && src && /* @__PURE__ */ jsxRuntime.jsxs(Image, { viewBox: `0 0 ${_sizeRem} ${_sizeRem}`, fill: "none", children: [
1704
+ $[26] !== __unstable_hideInnerStroke || $[27] !== _radius || $[28] !== _sizeRem || $[29] !== handleImageError || $[30] !== imageFailed || $[31] !== imageId || $[32] !== src ? (t12 = !imageFailed && src && /* @__PURE__ */ jsxRuntime.jsxs(AvatarImage, { viewBox: `0 0 ${_sizeRem} ${_sizeRem}`, fill: "none", children: [
1704
1705
  /* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("pattern", { id: imageId, patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ jsxRuntime.jsx("image", { href: src, width: "1", height: "1", onError: handleImageError }) }) }),
1705
1706
  /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: _radius, cy: _radius, r: _radius, fill: `url(#${imageId})` }),
1706
1707
  !__unstable_hideInnerStroke && /* @__PURE__ */ jsxRuntime.jsx(BgStroke, { cx: _radius, cy: _radius, rx: _radius, ry: _radius, vectorEffect: "non-scaling-stroke" }),
@@ -1709,7 +1710,7 @@ const Root$B = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1709
1710
  let t13;
1710
1711
  $[34] !== imageFailed || $[35] !== initials || $[36] !== initialsSize || $[37] !== src ? (t13 = (imageFailed || !src) && initials && /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsx(Initials, { children: /* @__PURE__ */ jsxRuntime.jsx(InitialsLabel, { forwardedAs: "span", size: initialsSize, weight: "medium", children: initials }) }) }), $[34] = imageFailed, $[35] = initials, $[36] = initialsSize, $[37] = src, $[38] = t13) : t13 = $[38];
1711
1712
  let t14;
1712
- 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__ */ jsxRuntime.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: [
1713
+ 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__ */ jsxRuntime.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: [
1713
1714
  t11,
1714
1715
  t12,
1715
1716
  t13
@@ -1755,8 +1756,8 @@ function _avatarCounterBaseStyle(props) {
1755
1756
  }
1756
1757
  `;
1757
1758
  }
1758
- const Root$A = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1759
- displayName: "Root",
1759
+ const StyledAvatarCounter = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1760
+ displayName: "StyledAvatarCounter",
1760
1761
  componentId: "sc-1ydx86y-0"
1761
1762
  })(_responsiveAvatarCounterSizeStyle, _avatarCounterBaseStyle), AvatarCounter = react.forwardRef(function(props, ref) {
1762
1763
  const $ = reactCompilerRuntime.c(9), {
@@ -1769,7 +1770,7 @@ const Root$A = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1769
1770
  let t3;
1770
1771
  $[2] !== count || $[3] !== fontSize2 ? (t3 = /* @__PURE__ */ jsxRuntime.jsx(Label, { as: "span", size: fontSize2, weight: "medium", children: count }), $[2] = count, $[3] = fontSize2, $[4] = t3) : t3 = $[4];
1771
1772
  let t4;
1772
- return $[5] !== ref || $[6] !== size2 || $[7] !== t3 ? (t4 = /* @__PURE__ */ jsxRuntime.jsx(Root$A, { $size: size2, "data-ui": "AvatarCounter", ref, children: t3 }), $[5] = ref, $[6] = size2, $[7] = t3, $[8] = t4) : t4 = $[8], t4;
1773
+ return $[5] !== ref || $[6] !== size2 || $[7] !== t3 ? (t4 = /* @__PURE__ */ jsxRuntime.jsx(StyledAvatarCounter, { $size: size2, "data-ui": "AvatarCounter", ref, children: t3 }), $[5] = ref, $[6] = size2, $[7] = t3, $[8] = t4) : t4 = $[8], t4;
1773
1774
  });
1774
1775
  AvatarCounter.displayName = "ForwardRef(AvatarCounter)";
1775
1776
  function _temp$7(s) {
@@ -1803,8 +1804,8 @@ function responsiveAvatarStackSizeStyle(props) {
1803
1804
  } : EMPTY_RECORD;
1804
1805
  });
1805
1806
  }
1806
- const Root$z = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1807
- displayName: "Root",
1807
+ const StyledAvatarStack = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1808
+ displayName: "StyledAvatarStack",
1808
1809
  componentId: "sc-cysmbb-0"
1809
1810
  })(responsiveAvatarStackSizeStyle, avatarStackStyle), AvatarStack = react.forwardRef(function(props, ref) {
1810
1811
  const $ = reactCompilerRuntime.c(15);
@@ -1815,7 +1816,7 @@ const Root$z = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1815
1816
  size: t1,
1816
1817
  ...restProps
1817
1818
  } = props, $[0] = props, $[1] = childrenProp, $[2] = restProps, $[3] = t0, $[4] = t1) : (childrenProp = $[1], restProps = $[2], t0 = $[3], t1 = $[4]);
1818
- const maxLengthProp = t0 === void 0 ? 4 : t0, sizeProp = t1 === void 0 ? 1 : t1, children = react.Children.toArray(childrenProp).filter(react.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__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(AvatarCounter, { count: len, size: size2 }) }), t4 = len !== 0 && extraCount > 1 && /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(AvatarCounter, { count: extraCount, size: size2 }) });
1819
+ const maxLengthProp = t0 === void 0 ? 4 : t0, sizeProp = t1 === void 0 ? 1 : t1, children = react.Children.toArray(childrenProp).filter(react.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__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(AvatarCounter, { count: len, size: size2 }) }), t4 = len !== 0 && extraCount > 1 && /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(AvatarCounter, { count: extraCount, size: size2 }) });
1819
1820
  let t5;
1820
1821
  $[5] !== size2 ? (t5 = (child, childIndex) => /* @__PURE__ */ jsxRuntime.jsx("div", { children: react.cloneElement(child, {
1821
1822
  size: size2
@@ -1829,8 +1830,8 @@ const Root$z = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1829
1830
  ] }), $[7] = T0, $[8] = ref, $[9] = restProps, $[10] = size2, $[11] = t3, $[12] = t4, $[13] = t6, $[14] = t7) : t7 = $[14], t7;
1830
1831
  });
1831
1832
  AvatarStack.displayName = "ForwardRef(AvatarStack)";
1832
- const Root$y = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1833
- displayName: "Root",
1833
+ const StyledBox = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1834
+ displayName: "StyledBox",
1834
1835
  componentId: "sc-1hhky9f-0"
1835
1836
  })(boxStyle, flexItemStyle, responsiveBoxStyle, responsiveGridItemStyle, responsiveMarginStyle, responsivePaddingStyle), Box = react.forwardRef(function(props, ref) {
1836
1837
  const $ = reactCompilerRuntime.c(59);
@@ -1866,7 +1867,7 @@ const Root$y = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1866
1867
  } = 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]);
1867
1868
  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);
1868
1869
  let t30;
1869
- 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__ */ jsxRuntime.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;
1870
+ 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__ */ jsxRuntime.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;
1870
1871
  });
1871
1872
  Box.displayName = "ForwardRef(Box)";
1872
1873
  function textBaseStyle(props) {
@@ -1937,13 +1938,10 @@ function textBaseStyle(props) {
1937
1938
  }
1938
1939
  `;
1939
1940
  }
1940
- const Root$x = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1941
- displayName: "Root",
1941
+ const StyledText = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1942
+ displayName: "StyledText",
1942
1943
  componentId: "sc-11ov82j-0"
1943
- })(responsiveTextFont, responsiveTextAlignStyle, textBaseStyle), SpanWithTextOverflow$1 = styledComponents.styled.span.withConfig({
1944
- displayName: "SpanWithTextOverflow",
1945
- componentId: "sc-11ov82j-1"
1946
- })`display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow:clip;`, Text = react.forwardRef(function(props, ref) {
1944
+ })(responsiveTextFont, responsiveTextAlignStyle, textBaseStyle), Text = react.forwardRef(function(props, ref) {
1947
1945
  const $ = reactCompilerRuntime.c(22);
1948
1946
  let align, childrenProp, restProps, t0, t1, t2, textOverflow, weight;
1949
1947
  $[0] !== props ? ({
@@ -1960,13 +1958,13 @@ const Root$x = /* @__PURE__ */ styledComponents.styled.div.withConfig({
1960
1958
  let children = childrenProp;
1961
1959
  if (textOverflow === "ellipsis") {
1962
1960
  let t32;
1963
- $[9] !== children ? (t32 = /* @__PURE__ */ jsxRuntime.jsx(SpanWithTextOverflow$1, { children }), $[9] = children, $[10] = t32) : t32 = $[10], children = t32;
1961
+ $[9] !== children ? (t32 = /* @__PURE__ */ jsxRuntime.jsx(SpanWithTextOverflow, { children }), $[9] = children, $[10] = t32) : t32 = $[10], children = t32;
1964
1962
  }
1965
1963
  const t3 = useArrayProp(align), t4 = useArrayProp(size2);
1966
1964
  let t5;
1967
1965
  $[11] !== children ? (t5 = /* @__PURE__ */ jsxRuntime.jsx("span", { children }), $[11] = children, $[12] = t5) : t5 = $[12];
1968
1966
  let t6;
1969
- return $[13] !== accent || $[14] !== muted || $[15] !== ref || $[16] !== restProps || $[17] !== t3 || $[18] !== t4 || $[19] !== t5 || $[20] !== weight ? (t6 = /* @__PURE__ */ jsxRuntime.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;
1967
+ return $[13] !== accent || $[14] !== muted || $[15] !== ref || $[16] !== restProps || $[17] !== t3 || $[18] !== t4 || $[19] !== t5 || $[20] !== weight ? (t6 = /* @__PURE__ */ jsxRuntime.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;
1970
1968
  });
1971
1969
  Text.displayName = "ForwardRef(Text)";
1972
1970
  function badgeStyle(props) {
@@ -1984,8 +1982,8 @@ function badgeStyle(props) {
1984
1982
  }
1985
1983
  };
1986
1984
  }
1987
- const Root$w = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
1988
- displayName: "Root",
1985
+ const StyledBadge = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
1986
+ displayName: "StyledBadge",
1989
1987
  componentId: "sc-5u140l-0"
1990
1988
  })(responsiveRadiusStyle, badgeStyle), Badge = react.forwardRef(function(props, ref) {
1991
1989
  const $ = reactCompilerRuntime.c(17);
@@ -2007,11 +2005,11 @@ const Root$w = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
2007
2005
  let t6;
2008
2006
  $[7] !== children || $[8] !== fontSize2 ? (t6 = /* @__PURE__ */ jsxRuntime.jsx(Text, { size: fontSize2, children }), $[7] = children, $[8] = fontSize2, $[9] = t6) : t6 = $[9];
2009
2007
  let t7;
2010
- return $[10] !== ref || $[11] !== restProps || $[12] !== t4 || $[13] !== t5 || $[14] !== t6 || $[15] !== tone ? (t7 = /* @__PURE__ */ jsxRuntime.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;
2008
+ return $[10] !== ref || $[11] !== restProps || $[12] !== t4 || $[13] !== t5 || $[14] !== t6 || $[15] !== tone ? (t7 = /* @__PURE__ */ jsxRuntime.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;
2011
2009
  });
2012
2010
  Badge.displayName = "ForwardRef(Badge)";
2013
- const Root$v = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
2014
- displayName: "Root",
2011
+ const StyledFlex = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
2012
+ displayName: "StyledFlex",
2015
2013
  componentId: "sc-oxesg3-0"
2016
2014
  })(flexItemStyle, responsiveFlexStyle), Flex = react.forwardRef(function(props, ref) {
2017
2015
  const $ = reactCompilerRuntime.c(17);
@@ -2027,7 +2025,7 @@ const Root$v = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
2027
2025
  } = 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]);
2028
2026
  const direction = t0 === void 0 ? "row" : t0, t1 = useArrayProp(align), t2 = useArrayProp(direction), t3 = useArrayProp(gap), t4 = useArrayProp(justify), t5 = useArrayProp(wrap);
2029
2027
  let t6;
2030
- return $[8] !== as || $[9] !== ref || $[10] !== restProps || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4 || $[15] !== t5 ? (t6 = /* @__PURE__ */ jsxRuntime.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;
2028
+ return $[8] !== as || $[9] !== ref || $[10] !== restProps || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4 || $[15] !== t5 ? (t6 = /* @__PURE__ */ jsxRuntime.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;
2031
2029
  });
2032
2030
  Flex.displayName = "ForwardRef(Flex)";
2033
2031
  const rotate$1 = styledComponents.keyframes`
@@ -2038,15 +2036,15 @@ const rotate$1 = styledComponents.keyframes`
2038
2036
  to {
2039
2037
  transform: rotate(360deg);
2040
2038
  }
2041
- `, Root$u = styledComponents.styled(Text).withConfig({
2042
- displayName: "Root",
2039
+ `, StyledSpinner = styledComponents.styled(Text).withConfig({
2040
+ displayName: "StyledSpinner",
2043
2041
  componentId: "sc-124hnd0-0"
2044
2042
  })`& > span > svg{animation:${rotate$1} 500ms linear infinite;}`, Spinner = react.forwardRef(function(props, ref) {
2045
2043
  const $ = reactCompilerRuntime.c(4);
2046
2044
  let t0;
2047
2045
  $[0] === Symbol.for("react.memo_cache_sentinel") ? (t0 = /* @__PURE__ */ jsxRuntime.jsx(icons.SpinnerIcon, {}), $[0] = t0) : t0 = $[0];
2048
2046
  let t1;
2049
- return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsxRuntime.jsx(Root$u, { "data-ui": "Spinner", ...props, ref, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;
2047
+ return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsxRuntime.jsx(StyledSpinner, { "data-ui": "Spinner", ...props, ref, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;
2050
2048
  });
2051
2049
  Spinner.displayName = "ForwardRef(Spinner)";
2052
2050
  function _cardColorStyle(base, color, checkered = !1) {
@@ -2217,8 +2215,8 @@ function buttonColorStyles(props) {
2217
2215
  }
2218
2216
  }, style?.button?.root].filter(Boolean);
2219
2217
  }
2220
- const Root$t = /* @__PURE__ */ styledComponents.styled.button.withConfig({
2221
- displayName: "Root",
2218
+ const StyledButton = /* @__PURE__ */ styledComponents.styled.button.withConfig({
2219
+ displayName: "StyledButton",
2222
2220
  componentId: "sc-aaekt4-0"
2223
2221
  })(responsiveRadiusStyle, buttonBaseStyles, buttonColorStyles), LoadingBox = styledComponents.styled.div.withConfig({
2224
2222
  displayName: "LoadingBox",
@@ -2284,7 +2282,7 @@ const Root$t = /* @__PURE__ */ styledComponents.styled.button.withConfig({
2284
2282
  let t16;
2285
2283
  $[47] !== boxProps || $[48] !== children ? (t16 = children && /* @__PURE__ */ jsxRuntime.jsx(Box, { as: "span", ...boxProps, children }), $[47] = boxProps, $[48] = children, $[49] = t16) : t16 = $[49];
2286
2284
  let t17;
2287
- 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__ */ jsxRuntime.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: [
2285
+ 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__ */ jsxRuntime.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: [
2288
2286
  t14,
2289
2287
  t15,
2290
2288
  t16
@@ -2439,8 +2437,8 @@ function cardColorStyle(props) {
2439
2437
  ${style?.card?.root}
2440
2438
  `;
2441
2439
  }
2442
- const Root$s = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
2443
- displayName: "Root",
2440
+ const StyledCard = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
2441
+ displayName: "StyledCard",
2444
2442
  componentId: "sc-osnro2-0"
2445
2443
  })(responsiveBorderStyle, responsiveRadiusStyle, responsiveShadowStyle, cardStyle), Card = react.forwardRef(function(props, ref) {
2446
2444
  const $ = reactCompilerRuntime.c(42);
@@ -2465,7 +2463,7 @@ const Root$s = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
2465
2463
  } = 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]);
2466
2464
  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 = ReactIs.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;
2467
2465
  let t16;
2468
- $[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__ */ jsxRuntime.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];
2466
+ $[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__ */ jsxRuntime.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];
2469
2467
  let t17;
2470
2468
  return $[38] !== scheme || $[39] !== t16 || $[40] !== tone ? (t17 = /* @__PURE__ */ jsxRuntime.jsx(ThemeColorProvider, { scheme, tone, children: t16 }), $[38] = scheme, $[39] = t16, $[40] = tone, $[41] = t17) : t17 = $[41], t17;
2471
2469
  });
@@ -2608,8 +2606,8 @@ function inputElementStyles(props) {
2608
2606
  }
2609
2607
  `;
2610
2608
  }
2611
- const Root$r = /* @__PURE__ */ styledComponents.styled.div.withConfig({
2612
- displayName: "Root",
2609
+ const StyledCheckbox = /* @__PURE__ */ styledComponents.styled.div.withConfig({
2610
+ displayName: "StyledCheckbox",
2613
2611
  componentId: "sc-1l5mt2l-0"
2614
2612
  })(checkboxBaseStyles), Input$5 = /* @__PURE__ */ styledComponents.styled.input.withConfig({
2615
2613
  displayName: "Input",
@@ -2643,7 +2641,7 @@ const Root$r = /* @__PURE__ */ styledComponents.styled.div.withConfig({
2643
2641
  /* @__PURE__ */ jsxRuntime.jsx(icons.RemoveIcon, {})
2644
2642
  ] }), $[20] = t7) : t7 = $[20];
2645
2643
  let t8;
2646
- return $[21] !== className || $[22] !== style || $[23] !== t6 ? (t8 = /* @__PURE__ */ jsxRuntime.jsxs(Root$r, { className, "data-ui": "Checkbox", style, children: [
2644
+ return $[21] !== className || $[22] !== style || $[23] !== t6 ? (t8 = /* @__PURE__ */ jsxRuntime.jsxs(StyledCheckbox, { className, "data-ui": "Checkbox", style, children: [
2647
2645
  t6,
2648
2646
  t7
2649
2647
  ] }), $[21] = className, $[22] = style, $[23] = t6, $[24] = t8) : t8 = $[24], t8;
@@ -2797,8 +2795,8 @@ function codeBaseStyle() {
2797
2795
  }
2798
2796
  `;
2799
2797
  }
2800
- const Root$q = /* @__PURE__ */ styledComponents.styled.pre.withConfig({
2801
- displayName: "Root",
2798
+ const StyledCode = /* @__PURE__ */ styledComponents.styled.pre.withConfig({
2799
+ displayName: "StyledCode",
2802
2800
  componentId: "sc-4dymyn-0"
2803
2801
  })(codeBaseStyle, responsiveCodeFontStyle), Code = react.forwardRef(function(props, ref) {
2804
2802
  const $ = reactCompilerRuntime.c(23);
@@ -2819,7 +2817,7 @@ const Root$q = /* @__PURE__ */ styledComponents.styled.pre.withConfig({
2819
2817
  let t4;
2820
2818
  $[12] !== children || $[13] !== language || $[14] !== registered ? (t4 = language && registered && /* @__PURE__ */ jsxRuntime.jsx(Refractor__default.default, { inline: !0, language, value: String(children) }), $[12] = children, $[13] = language, $[14] = registered, $[15] = t4) : t4 = $[15];
2821
2819
  let t5;
2822
- return $[16] !== ref || $[17] !== restProps || $[18] !== t2 || $[19] !== t3 || $[20] !== t4 || $[21] !== weight ? (t5 = /* @__PURE__ */ jsxRuntime.jsxs(Root$q, { "data-ui": "Code", ...restProps, $size: t2, $weight: weight, ref, children: [
2820
+ return $[16] !== ref || $[17] !== restProps || $[18] !== t2 || $[19] !== t3 || $[20] !== t4 || $[21] !== weight ? (t5 = /* @__PURE__ */ jsxRuntime.jsxs(StyledCode, { "data-ui": "Code", ...restProps, $size: t2, $weight: weight, ref, children: [
2823
2821
  t3,
2824
2822
  t4
2825
2823
  ] }), $[16] = ref, $[17] = restProps, $[18] = t2, $[19] = t3, $[20] = t4, $[21] = weight, $[22] = t5) : t5 = $[22], t5;
@@ -2841,8 +2839,8 @@ function responsiveContainerWidthStyle(props) {
2841
2839
  maxWidth: val === "auto" ? "none" : rem(container[val])
2842
2840
  }));
2843
2841
  }
2844
- const Root$p = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
2845
- displayName: "Root",
2842
+ const StyledContainer = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
2843
+ displayName: "StyledContainer",
2846
2844
  componentId: "sc-wyroop-0"
2847
2845
  })(containerBaseStyle, responsiveContainerWidthStyle), Container = react.forwardRef(function(props, ref) {
2848
2846
  const $ = reactCompilerRuntime.c(9);
@@ -2854,11 +2852,11 @@ const Root$p = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
2854
2852
  } = props, $[0] = props, $[1] = as, $[2] = restProps, $[3] = t0) : (as = $[1], restProps = $[2], t0 = $[3]);
2855
2853
  const t1 = useArrayProp(t0 === void 0 ? 2 : t0);
2856
2854
  let t2;
2857
- return $[4] !== as || $[5] !== ref || $[6] !== restProps || $[7] !== t1 ? (t2 = /* @__PURE__ */ jsxRuntime.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;
2855
+ return $[4] !== as || $[5] !== ref || $[6] !== restProps || $[7] !== t1 ? (t2 = /* @__PURE__ */ jsxRuntime.jsx(StyledContainer, { "data-ui": "Container", ...restProps, $width: t1, forwardedAs: as, ref }), $[4] = as, $[5] = ref, $[6] = restProps, $[7] = t1, $[8] = t2) : t2 = $[8], t2;
2858
2856
  });
2859
2857
  Container.displayName = "ForwardRef(Container)";
2860
- const Root$o = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
2861
- displayName: "Root",
2858
+ const StyledGrid = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
2859
+ displayName: "StyledGrid",
2862
2860
  componentId: "sc-v8t8oz-0"
2863
2861
  })(responsiveGridStyle), Grid = react.forwardRef(function(props, ref) {
2864
2862
  const $ = reactCompilerRuntime.c(26);
@@ -2878,7 +2876,7 @@ const Root$o = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
2878
2876
  } = 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]);
2879
2877
  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);
2880
2878
  let t9;
2881
- 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__ */ jsxRuntime.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;
2879
+ 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__ */ jsxRuntime.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;
2882
2880
  });
2883
2881
  Grid.displayName = "ForwardRef(Grid)";
2884
2882
  function headingBaseStyle(props) {
@@ -2940,13 +2938,10 @@ function headingBaseStyle(props) {
2940
2938
  }
2941
2939
  `;
2942
2940
  }
2943
- const Root$n = /* @__PURE__ */ styledComponents.styled.div.withConfig({
2944
- displayName: "Root",
2941
+ const StyledHeading = /* @__PURE__ */ styledComponents.styled.div.withConfig({
2942
+ displayName: "StyledHeading",
2945
2943
  componentId: "sc-137lwim-0"
2946
- })(headingBaseStyle, responsiveTextAlignStyle, responsiveHeadingFont), SpanWithTextOverflow = styledComponents.styled.span.withConfig({
2947
- displayName: "SpanWithTextOverflow",
2948
- componentId: "sc-137lwim-1"
2949
- })`display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow:clip;`, Heading = react.forwardRef(function(props, ref) {
2944
+ })(headingBaseStyle, responsiveTextAlignStyle, responsiveHeadingFont), Heading = react.forwardRef(function(props, ref) {
2950
2945
  const $ = reactCompilerRuntime.c(22);
2951
2946
  let align, childrenProp, restProps, t0, t1, t2, textOverflow, weight;
2952
2947
  $[0] !== props ? ({
@@ -2969,7 +2964,7 @@ const Root$n = /* @__PURE__ */ styledComponents.styled.div.withConfig({
2969
2964
  let t5;
2970
2965
  $[11] !== children ? (t5 = /* @__PURE__ */ jsxRuntime.jsx("span", { children }), $[11] = children, $[12] = t5) : t5 = $[12];
2971
2966
  let t6;
2972
- return $[13] !== accent || $[14] !== muted || $[15] !== ref || $[16] !== restProps || $[17] !== t3 || $[18] !== t4 || $[19] !== t5 || $[20] !== weight ? (t6 = /* @__PURE__ */ jsxRuntime.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;
2967
+ return $[13] !== accent || $[14] !== muted || $[15] !== ref || $[16] !== restProps || $[17] !== t3 || $[18] !== t4 || $[19] !== t5 || $[20] !== weight ? (t6 = /* @__PURE__ */ jsxRuntime.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;
2973
2968
  });
2974
2969
  Heading.displayName = "ForwardRef(Heading)";
2975
2970
  function inlineBaseStyle() {
@@ -2999,8 +2994,8 @@ function inlineSpaceStyle(props) {
2999
2994
  };
3000
2995
  });
3001
2996
  }
3002
- const Root$m = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
3003
- displayName: "Root",
2997
+ const StyledInline = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
2998
+ displayName: "StyledInline",
3004
2999
  componentId: "sc-1pkiy6j-0"
3005
3000
  })(inlineBaseStyle, inlineSpaceStyle), Inline = react.forwardRef(function(props, ref) {
3006
3001
  const $ = reactCompilerRuntime.c(12);
@@ -3015,7 +3010,7 @@ const Root$m = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
3015
3010
  $[5] !== childrenProp ? (t1 = react.Children.map(childrenProp, _temp$6), $[5] = childrenProp, $[6] = t1) : t1 = $[6], t0 = t1;
3016
3011
  const children = t0, t2 = useArrayProp(space);
3017
3012
  let t3;
3018
- return $[7] !== as || $[8] !== children || $[9] !== restProps || $[10] !== t2 ? (t3 = /* @__PURE__ */ jsxRuntime.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;
3013
+ return $[7] !== as || $[8] !== children || $[9] !== restProps || $[10] !== t2 ? (t3 = /* @__PURE__ */ jsxRuntime.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;
3019
3014
  });
3020
3015
  Inline.displayName = "ForwardRef(Inline)";
3021
3016
  function _temp$6(child) {
@@ -3038,8 +3033,8 @@ function kbdStyle() {
3038
3033
  }
3039
3034
  `;
3040
3035
  }
3041
- const Root$l = /* @__PURE__ */ styledComponents.styled.kbd.withConfig({
3042
- displayName: "Root",
3036
+ const StyledKBD = /* @__PURE__ */ styledComponents.styled.kbd.withConfig({
3037
+ displayName: "StyledKBD",
3043
3038
  componentId: "sc-1w7yd8w-0"
3044
3039
  })(responsiveRadiusStyle, kbdStyle), KBD = react.forwardRef(function(props, ref) {
3045
3040
  const $ = reactCompilerRuntime.c(17);
@@ -3057,7 +3052,7 @@ const Root$l = /* @__PURE__ */ styledComponents.styled.kbd.withConfig({
3057
3052
  let t5;
3058
3053
  $[9] !== padding || $[10] !== t4 ? (t5 = /* @__PURE__ */ jsxRuntime.jsx(Box, { as: "span", padding, children: t4 }), $[9] = padding, $[10] = t4, $[11] = t5) : t5 = $[11];
3059
3054
  let t6;
3060
- return $[12] !== ref || $[13] !== restProps || $[14] !== t3 || $[15] !== t5 ? (t6 = /* @__PURE__ */ jsxRuntime.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;
3055
+ return $[12] !== ref || $[13] !== restProps || $[14] !== t3 || $[15] !== t5 ? (t6 = /* @__PURE__ */ jsxRuntime.jsx(StyledKBD, { "data-ui": "KBD", ...restProps, $radius: t3, ref, children: t5 }), $[12] = ref, $[13] = restProps, $[14] = t3, $[15] = t5, $[16] = t6) : t6 = $[16], t6;
3061
3056
  });
3062
3057
  KBD.displayName = "ForwardRef(KBD)";
3063
3058
  const origin = {
@@ -3127,8 +3122,8 @@ function getRoundedCommands(points) {
3127
3122
  function compileCommands(cmds) {
3128
3123
  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(" ");
3129
3124
  }
3130
- const Root$k = /* @__PURE__ */ styledComponents.styled.div.withConfig({
3131
- displayName: "Root",
3125
+ const StyledArrow = /* @__PURE__ */ styledComponents.styled.div.withConfig({
3126
+ displayName: "StyledArrow",
3132
3127
  componentId: "sc-12vzy6c-0"
3133
3128
  })(({
3134
3129
  $w: w
@@ -3228,7 +3223,7 @@ const Root$k = /* @__PURE__ */ styledComponents.styled.div.withConfig({
3228
3223
  t5
3229
3224
  ] }), $[13] = t1, $[14] = t2, $[15] = t4, $[16] = t5, $[17] = w, $[18] = t6) : t6 = $[18];
3230
3225
  let t7;
3231
- return $[19] !== ref || $[20] !== restProps || $[21] !== t6 || $[22] !== w ? (t7 = /* @__PURE__ */ jsxRuntime.jsx(Root$k, { ...restProps, $w: w, ref, children: t6 }), $[19] = ref, $[20] = restProps, $[21] = t6, $[22] = w, $[23] = t7) : t7 = $[23], t7;
3226
+ return $[19] !== ref || $[20] !== restProps || $[21] !== t6 || $[22] !== w ? (t7 = /* @__PURE__ */ jsxRuntime.jsx(StyledArrow, { ...restProps, $w: w, ref, children: t6 }), $[19] = ref, $[20] = restProps, $[21] = t6, $[22] = w, $[23] = t7) : t7 = $[23], t7;
3232
3227
  });
3233
3228
  Arrow.displayName = "ForwardRef(Arrow)";
3234
3229
  const BoundaryElementContext = createGlobalScopedContext("@sanity/ui/context/boundaryElement", null);
@@ -3489,8 +3484,8 @@ function _temp$5(v) {
3489
3484
  return v + 1;
3490
3485
  }
3491
3486
  LayerProvider.displayName = "LayerProvider";
3492
- const Root$j = /* @__PURE__ */ styledComponents.styled.div.withConfig({
3493
- displayName: "Root",
3487
+ const StyledLayer = /* @__PURE__ */ styledComponents.styled.div.withConfig({
3488
+ displayName: "StyledLayer",
3494
3489
  componentId: "sc-16kojrv-0"
3495
3490
  })({
3496
3491
  position: "relative"
@@ -3529,7 +3524,7 @@ const Root$j = /* @__PURE__ */ styledComponents.styled.div.withConfig({
3529
3524
  zIndex
3530
3525
  }, $[14] = style, $[15] = zIndex, $[16] = t5) : t5 = $[16];
3531
3526
  let t6;
3532
- return $[17] !== children || $[18] !== handleFocus || $[19] !== restProps || $[20] !== t5 ? (t6 = /* @__PURE__ */ jsxRuntime.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;
3527
+ return $[17] !== children || $[18] !== handleFocus || $[19] !== restProps || $[20] !== t5 ? (t6 = /* @__PURE__ */ jsxRuntime.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;
3533
3528
  }), Layer = react.forwardRef(function(props, ref) {
3534
3529
  const $ = reactCompilerRuntime.c(11);
3535
3530
  let children, restProps, t0;
@@ -3612,8 +3607,8 @@ function _isEqual(objA, objB) {
3612
3607
  const keysA = Object.keys(objA), keysB = Object.keys(objB);
3613
3608
  return keysA.length !== keysB.length ? !1 : keysA.every((key2) => objA[key2] === objB[key2]);
3614
3609
  }
3615
- const Root$i = styledComponents.styled.div.withConfig({
3616
- displayName: "Root",
3610
+ const StyledSrOnly = styledComponents.styled.div.withConfig({
3611
+ displayName: "StyledSrOnly",
3617
3612
  componentId: "sc-mubr0c-0"
3618
3613
  })`display:block;width:0;height:0;position:absolute;overflow:hidden;overflow:clip;`, SrOnly = react.forwardRef(function(props, ref) {
3619
3614
  const $ = reactCompilerRuntime.c(4), {
@@ -3621,11 +3616,11 @@ const Root$i = styledComponents.styled.div.withConfig({
3621
3616
  children
3622
3617
  } = props;
3623
3618
  let t0;
3624
- return $[0] !== as || $[1] !== children || $[2] !== ref ? (t0 = /* @__PURE__ */ jsxRuntime.jsx(Root$i, { "aria-hidden": !0, as, "data-ui": "SrOnly", ref, children }), $[0] = as, $[1] = children, $[2] = ref, $[3] = t0) : t0 = $[3], t0;
3619
+ return $[0] !== as || $[1] !== children || $[2] !== ref ? (t0 = /* @__PURE__ */ jsxRuntime.jsx(StyledSrOnly, { "aria-hidden": !0, as, "data-ui": "SrOnly", ref, children }), $[0] = as, $[1] = children, $[2] = ref, $[3] = t0) : t0 = $[3], t0;
3625
3620
  });
3626
3621
  SrOnly.displayName = "ForwardRef(SrOnly)";
3627
- const Root$h = styledComponents.styled.div.withConfig({
3628
- displayName: "Root",
3622
+ const StyledVirtualList = styledComponents.styled.div.withConfig({
3623
+ displayName: "StyledVirtualList",
3629
3624
  componentId: "sc-dlqsj4-0"
3630
3625
  })`position:relative;`, ItemWrapper = styledComponents.styled.div.withConfig({
3631
3626
  displayName: "ItemWrapper",
@@ -3742,7 +3737,7 @@ const Root$h = styledComponents.styled.div.withConfig({
3742
3737
  let t14;
3743
3738
  $[49] !== children || $[50] !== wrapperStyle ? (t14 = /* @__PURE__ */ jsxRuntime.jsx("div", { ref: wrapperRef, style: wrapperStyle, children }), $[49] = children, $[50] = wrapperStyle, $[51] = t14) : t14 = $[51];
3744
3739
  let t15;
3745
- return $[52] !== as || $[53] !== restProps || $[54] !== t14 ? (t15 = /* @__PURE__ */ jsxRuntime.jsx(Root$h, { as, "data-ui": "VirtualList", ...restProps, ref, children: t14 }), $[52] = as, $[53] = restProps, $[54] = t14, $[55] = t15) : t15 = $[55], t15;
3740
+ return $[52] !== as || $[53] !== restProps || $[54] !== t14 ? (t15 = /* @__PURE__ */ jsxRuntime.jsx(StyledVirtualList, { as, "data-ui": "VirtualList", ...restProps, ref, children: t14 }), $[52] = as, $[53] = restProps, $[54] = t14, $[55] = t15) : t15 = $[55], t15;
3746
3741
  });
3747
3742
  VirtualList.displayName = "ForwardRef(VirtualList)";
3748
3743
  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 = {
@@ -4142,8 +4137,8 @@ function inputElementStyle(props) {
4142
4137
  }
4143
4138
  `;
4144
4139
  }
4145
- const Root$g = /* @__PURE__ */ styledComponents.styled.div.withConfig({
4146
- displayName: "Root",
4140
+ const StyledRadio = /* @__PURE__ */ styledComponents.styled.div.withConfig({
4141
+ displayName: "StyledRadio",
4147
4142
  componentId: "sc-ccrwkf-0"
4148
4143
  })(radioBaseStyle), Input$4 = /* @__PURE__ */ styledComponents.styled.input.withConfig({
4149
4144
  displayName: "Input",
@@ -4168,7 +4163,7 @@ const Root$g = /* @__PURE__ */ styledComponents.styled.div.withConfig({
4168
4163
  let t5;
4169
4164
  $[14] === Symbol.for("react.memo_cache_sentinel") ? (t5 = /* @__PURE__ */ jsxRuntime.jsx("span", {}), $[14] = t5) : t5 = $[14];
4170
4165
  let t6;
4171
- return $[15] !== className || $[16] !== style || $[17] !== t4 ? (t6 = /* @__PURE__ */ jsxRuntime.jsxs(Root$g, { className, "data-ui": "Radio", style, children: [
4166
+ return $[15] !== className || $[16] !== style || $[17] !== t4 ? (t6 = /* @__PURE__ */ jsxRuntime.jsxs(StyledRadio, { className, "data-ui": "Radio", style, children: [
4172
4167
  t4,
4173
4168
  t5
4174
4169
  ] }), $[15] = className, $[16] = style, $[17] = t4, $[18] = t6) : t6 = $[18], t6;
@@ -4316,8 +4311,8 @@ const selectStyle = {
4316
4311
  root: rootStyle,
4317
4312
  input: inputStyle,
4318
4313
  iconBox: iconBoxStyle
4319
- }, Root$f = /* @__PURE__ */ styledComponents.styled.div.withConfig({
4320
- displayName: "Root",
4314
+ }, StyledSelect = /* @__PURE__ */ styledComponents.styled.div.withConfig({
4315
+ displayName: "StyledSelect",
4321
4316
  componentId: "sc-5mxno7-0"
4322
4317
  })(selectStyle.root), Input$3 = /* @__PURE__ */ styledComponents.styled.select.withConfig({
4323
4318
  displayName: "Input",
@@ -4352,7 +4347,7 @@ const selectStyle = {
4352
4347
  let t14;
4353
4348
  $[23] !== padding || $[24] !== t13 ? (t14 = /* @__PURE__ */ jsxRuntime.jsx(IconBox, { padding, children: t13 }), $[23] = padding, $[24] = t13, $[25] = t14) : t14 = $[25];
4354
4349
  let t15;
4355
- return $[26] !== t11 || $[27] !== t14 ? (t15 = /* @__PURE__ */ jsxRuntime.jsxs(Root$f, { "data-ui": "Select", children: [
4350
+ return $[26] !== t11 || $[27] !== t14 ? (t15 = /* @__PURE__ */ jsxRuntime.jsxs(StyledSelect, { "data-ui": "Select", children: [
4356
4351
  t11,
4357
4352
  t14
4358
4353
  ] }), $[26] = t11, $[27] = t14, $[28] = t15) : t15 = $[28], t15;
@@ -4380,8 +4375,8 @@ function responsiveStackSpaceStyle(props) {
4380
4375
  gridGap: rem(space[spaceIndex])
4381
4376
  }));
4382
4377
  }
4383
- const Root$e = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
4384
- displayName: "Root",
4378
+ const StyledStack = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
4379
+ displayName: "StyledStack",
4385
4380
  componentId: "sc-8dpfq2-0"
4386
4381
  })(stackBaseStyle, responsiveStackSpaceStyle), Stack = react.forwardRef(function(props, ref) {
4387
4382
  const $ = reactCompilerRuntime.c(10);
@@ -4393,7 +4388,7 @@ const Root$e = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
4393
4388
  } = props, $[0] = props, $[1] = as, $[2] = restProps, $[3] = space) : (as = $[1], restProps = $[2], space = $[3]);
4394
4389
  const t0 = typeof as == "string" ? as : void 0, t1 = useArrayProp(space);
4395
4390
  let t2;
4396
- return $[4] !== as || $[5] !== ref || $[6] !== restProps || $[7] !== t0 || $[8] !== t1 ? (t2 = /* @__PURE__ */ jsxRuntime.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;
4391
+ return $[4] !== as || $[5] !== ref || $[6] !== restProps || $[7] !== t0 || $[8] !== t1 ? (t2 = /* @__PURE__ */ jsxRuntime.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;
4397
4392
  });
4398
4393
  Stack.displayName = "ForwardRef(Stack)";
4399
4394
  function switchBaseStyles() {
@@ -4549,8 +4544,8 @@ function switchThumbStyles(props) {
4549
4544
  `}
4550
4545
  `;
4551
4546
  }
4552
- const Root$d = /* @__PURE__ */ styledComponents.styled.span.withConfig({
4553
- displayName: "Root",
4547
+ const StyledSwitch = /* @__PURE__ */ styledComponents.styled.span.withConfig({
4548
+ displayName: "StyledSwitch",
4554
4549
  componentId: "sc-dw1foe-0"
4555
4550
  })(switchBaseStyles), Input$2 = /* @__PURE__ */ styledComponents.styled.input.withConfig({
4556
4551
  displayName: "Input",
@@ -4594,14 +4589,14 @@ const Root$d = /* @__PURE__ */ styledComponents.styled.span.withConfig({
4594
4589
  /* @__PURE__ */ jsxRuntime.jsx(Thumb, { $checked: checked, $indeterminate: indeterminate })
4595
4590
  ] }), $[18] = checked, $[19] = indeterminate, $[20] = t8) : t8 = $[20];
4596
4591
  let t9;
4597
- return $[21] !== className || $[22] !== style || $[23] !== t6 || $[24] !== t8 ? (t9 = /* @__PURE__ */ jsxRuntime.jsxs(Root$d, { className, "data-ui": "Switch", style, children: [
4592
+ return $[21] !== className || $[22] !== style || $[23] !== t6 || $[24] !== t8 ? (t9 = /* @__PURE__ */ jsxRuntime.jsxs(StyledSwitch, { className, "data-ui": "Switch", style, children: [
4598
4593
  t6,
4599
4594
  t8
4600
4595
  ] }), $[21] = className, $[22] = style, $[23] = t6, $[24] = t8, $[25] = t9) : t9 = $[25], t9;
4601
4596
  });
4602
4597
  Switch.displayName = "ForwardRef(Switch)";
4603
- const Root$c = /* @__PURE__ */ styledComponents.styled.span.withConfig({
4604
- displayName: "Root",
4598
+ const StyledTextArea = /* @__PURE__ */ styledComponents.styled.span.withConfig({
4599
+ displayName: "StyledTextArea",
4605
4600
  componentId: "sc-1d6h1o8-0"
4606
4601
  })(textInputRootStyle), InputRoot$1 = styledComponents.styled.span.withConfig({
4607
4602
  displayName: "InputRoot",
@@ -4636,7 +4631,7 @@ const Root$c = /* @__PURE__ */ styledComponents.styled.span.withConfig({
4636
4631
  let t15;
4637
4632
  $[20] !== __unstable_disableFocusRing || $[21] !== rootTheme.scheme || $[22] !== rootTheme.tone || $[23] !== t13 || $[24] !== t14 ? (t15 = /* @__PURE__ */ jsxRuntime.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];
4638
4633
  let t16;
4639
- return $[26] !== t12 || $[27] !== t15 ? (t16 = /* @__PURE__ */ jsxRuntime.jsx(Root$c, { "data-ui": "TextArea", children: /* @__PURE__ */ jsxRuntime.jsxs(InputRoot$1, { children: [
4634
+ return $[26] !== t12 || $[27] !== t15 ? (t16 = /* @__PURE__ */ jsxRuntime.jsx(StyledTextArea, { "data-ui": "TextArea", children: /* @__PURE__ */ jsxRuntime.jsxs(InputRoot$1, { children: [
4640
4635
  t12,
4641
4636
  t15
4642
4637
  ] }) }), $[26] = t12, $[27] = t15, $[28] = t16) : t16 = $[28], t16;
@@ -4644,10 +4639,10 @@ const Root$c = /* @__PURE__ */ styledComponents.styled.span.withConfig({
4644
4639
  TextArea.displayName = "ForwardRef(TextArea)";
4645
4640
  const CLEAR_BUTTON_BOX_STYLE = {
4646
4641
  zIndex: 2
4647
- }, Root$b = /* @__PURE__ */ styledComponents.styled(Card).attrs({
4642
+ }, StyledTextInput = /* @__PURE__ */ styledComponents.styled(Card).attrs({
4648
4643
  forwardedAs: "span"
4649
4644
  }).withConfig({
4650
- displayName: "Root",
4645
+ displayName: "StyledTextInput",
4651
4646
  componentId: "sc-h62wco-0"
4652
4647
  })(textInputRootStyle), InputRoot = styledComponents.styled.span.withConfig({
4653
4648
  displayName: "InputRoot",
@@ -4761,7 +4756,7 @@ const CLEAR_BUTTON_BOX_STYLE = {
4761
4756
  clearButtonNode
4762
4757
  ] }), $[75] = clearButtonNode, $[76] = presentationNode, $[77] = t26, $[78] = t27) : t27 = $[78];
4763
4758
  let t28;
4764
- return $[79] !== prefixNode || $[80] !== rootTheme.tone || $[81] !== suffixNode || $[82] !== t27 ? (t28 = /* @__PURE__ */ jsxRuntime.jsxs(Root$b, { "data-ui": "TextInput", tone: rootTheme.tone, children: [
4759
+ return $[79] !== prefixNode || $[80] !== rootTheme.tone || $[81] !== suffixNode || $[82] !== t27 ? (t28 = /* @__PURE__ */ jsxRuntime.jsxs(StyledTextInput, { "data-ui": "TextInput", tone: rootTheme.tone, children: [
4765
4760
  prefixNode,
4766
4761
  t27,
4767
4762
  suffixNode
@@ -4884,8 +4879,8 @@ function TooltipDelayGroupProvider(props) {
4884
4879
  return $[7] !== children || $[8] !== value ? (t3 = /* @__PURE__ */ jsxRuntime.jsx(TooltipDelayGroupContext.Provider, { value, children }), $[7] = children, $[8] = value, $[9] = t3) : t3 = $[9], t3;
4885
4880
  }
4886
4881
  TooltipDelayGroupProvider.displayName = "TooltipDelayGroupProvider";
4887
- const Root$a = styledComponents.styled(Layer).withConfig({
4888
- displayName: "Root",
4882
+ const StyledTooltip = styledComponents.styled(Layer).withConfig({
4883
+ displayName: "StyledTooltip",
4889
4884
  componentId: "sc-13f2zvh-0"
4890
4885
  })`pointer-events:none;`, Tooltip = react.forwardRef(function(props, forwardedRef) {
4891
4886
  const boundaryElementContext = useBoundaryElement(), {
@@ -5003,7 +4998,7 @@ const Root$a = styledComponents.styled(Layer).withConfig({
5003
4998
  return setReferenceElement(childRef.current), () => setReferenceElement(null);
5004
4999
  }, [child]), !child) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, {});
5005
5000
  if (disabled) return child;
5006
- const tooltip = /* @__PURE__ */ jsxRuntime.jsx(Root$a, { "data-ui": "Tooltip", ...restProps, ref: setFloating, style: {
5001
+ const tooltip = /* @__PURE__ */ jsxRuntime.jsx(StyledTooltip, { "data-ui": "Tooltip", ...restProps, ref: setFloating, style: {
5007
5002
  ...floatingStyles,
5008
5003
  maxWidth: tooltipMaxWidth > 0 ? `${tooltipMaxWidth}px` : void 0
5009
5004
  }, zOffset, children: /* @__PURE__ */ jsxRuntime.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__ */ jsxRuntime.jsx(Portal, { __unstable_name: typeof portalProp == "string" ? portalProp : void 0, children: tooltip }) : tooltip);
@@ -5034,8 +5029,8 @@ function useCloseOnMouseLeave(t0) {
5034
5029
  return window.addEventListener("mousemove", handleMouseMove), () => window.removeEventListener("mousemove", handleMouseMove);
5035
5030
  }, t3 = [onMouseMove, showTooltip], $[3] = onMouseMove, $[4] = showTooltip, $[5] = t2, $[6] = t3) : (t2 = $[5], t3 = $[6]), react.useEffect(t2, t3);
5036
5031
  }
5037
- const Root$9 = styledComponents.styled.div.withConfig({
5038
- displayName: "Root",
5032
+ const StyledAutocomplete = styledComponents.styled.div.withConfig({
5033
+ displayName: "StyledAutocomplete",
5039
5034
  componentId: "sc-1igauft-0"
5040
5035
  })`line-height:0;`, ListBox = styledComponents.styled(Box).withConfig({
5041
5036
  displayName: "ListBox",
@@ -5303,14 +5298,14 @@ const AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = ["Control", "Shift", "Alt", "Enter", "H
5303
5298
  onMouseEnter: handlePopoverMouseEnter,
5304
5299
  onMouseLeave: handlePopoverMouseLeave
5305
5300
  }, resultsPopoverElementRef) : filteredOptionsLen === 0 ? null : /* @__PURE__ */ jsxRuntime.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]);
5306
- return /* @__PURE__ */ jsxRuntime.jsxs(Root$9, { "data-ui": "Autocomplete", onBlur: handleRootBlur, onFocus: handleRootFocus, onKeyDown: handleRootKeyDown, ref: rootElementRef, children: [
5301
+ return /* @__PURE__ */ jsxRuntime.jsxs(StyledAutocomplete, { "data-ui": "Autocomplete", onBlur: handleRootBlur, onFocus: handleRootFocus, onKeyDown: handleRootKeyDown, ref: rootElementRef, children: [
5307
5302
  input,
5308
5303
  results
5309
5304
  ] });
5310
5305
  });
5311
5306
  InnerAutocomplete.displayName = "ForwardRef(Autocomplete)";
5312
- const Autocomplete = InnerAutocomplete, Root$8 = styledComponents.styled.ol.withConfig({
5313
- displayName: "Root",
5307
+ const Autocomplete = InnerAutocomplete, StyledBreadcrumbs = styledComponents.styled.ol.withConfig({
5308
+ displayName: "StyledBreadcrumbs",
5314
5309
  componentId: "sc-1es8h8q-0"
5315
5310
  })`margin:0;padding:0;display:flex;list-style:none;align-items:center;white-space:nowrap;line-height:0;`, ExpandButton = styledComponents.styled(Button).withConfig({
5316
5311
  displayName: "ExpandButton",
@@ -5332,7 +5327,7 @@ const Autocomplete = InnerAutocomplete, Root$8 = styledComponents.styled.ol.with
5332
5327
  }
5333
5328
  return rawItems;
5334
5329
  }, [collapse, expand, maxLength, open, rawItems, space]);
5335
- return /* @__PURE__ */ jsxRuntime.jsx(Root$8, { "data-ui": "Breadcrumbs", ...restProps, ref, children: items.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(react.Fragment, { children: [
5330
+ return /* @__PURE__ */ jsxRuntime.jsx(StyledBreadcrumbs, { "data-ui": "Breadcrumbs", ...restProps, ref, children: items.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(react.Fragment, { children: [
5336
5331
  itemIndex > 0 && /* @__PURE__ */ jsxRuntime.jsx(Box, { "aria-hidden": !0, as: "li", paddingX: space, children: separator || /* @__PURE__ */ jsxRuntime.jsx(Text, { muted: !0, children: "/" }) }),
5337
5332
  /* @__PURE__ */ jsxRuntime.jsx(Box, { as: "li", children: item })
5338
5333
  ] }, itemIndex)) });
@@ -5405,8 +5400,8 @@ function useDialog() {
5405
5400
  function isTargetWithinScope(boundaryElement, portalElement, target) {
5406
5401
  return !boundaryElement || !portalElement ? !0 : containsOrEqualsElement(boundaryElement, target) || containsOrEqualsElement(portalElement, target);
5407
5402
  }
5408
- const Root$7 = /* @__PURE__ */ styledComponents.styled(Layer).withConfig({
5409
- displayName: "Root",
5403
+ const StyledDialog = /* @__PURE__ */ styledComponents.styled(Layer).withConfig({
5404
+ displayName: "StyledDialog",
5410
5405
  componentId: "sc-4n4xb3-0"
5411
5406
  })(responsivePaddingStyle, dialogStyle, responsiveDialogPositionStyle, animationDialogStyle), DialogContainer = styledComponents.styled(Container).withConfig({
5412
5407
  displayName: "DialogContainer",
@@ -5555,7 +5550,7 @@ const Dialog = react.forwardRef(function(props, ref) {
5555
5550
  let t11;
5556
5551
  $[43] === Symbol.for("react.memo_cache_sentinel") ? (t11 = /* @__PURE__ */ jsxRuntime.jsx("div", { ref: postDivRef, tabIndex: 0 }), $[43] = t11) : t11 = $[43];
5557
5552
  let t12;
5558
- $[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__ */ jsxRuntime.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: [
5553
+ $[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__ */ jsxRuntime.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: [
5559
5554
  t9,
5560
5555
  t10,
5561
5556
  t11
@@ -5581,8 +5576,8 @@ function DialogProvider(props) {
5581
5576
  return $[3] !== children || $[4] !== contextValue ? (t2 = /* @__PURE__ */ jsxRuntime.jsx(DialogContext.Provider, { value: contextValue, children }), $[3] = children, $[4] = contextValue, $[5] = t2) : t2 = $[5], t2;
5582
5577
  }
5583
5578
  DialogProvider.displayName = "DialogProvider";
5584
- const Root$6 = styledComponents.styled.kbd.withConfig({
5585
- displayName: "Root",
5579
+ const StyledHotkeys = styledComponents.styled.kbd.withConfig({
5580
+ displayName: "StyledHotkeys",
5586
5581
  componentId: "sc-b37mge-0"
5587
5582
  })`font:inherit;padding:1px;&:not([hidden]){display:block;}`, Key = styledComponents.styled(KBD).withConfig({
5588
5583
  displayName: "Key",
@@ -5612,7 +5607,7 @@ const Root$6 = styledComponents.styled.kbd.withConfig({
5612
5607
  let t2;
5613
5608
  $[17] !== space || $[18] !== t1 ? (t2 = /* @__PURE__ */ jsxRuntime.jsx(Inline, { as: "span", space, children: t1 }), $[17] = space, $[18] = t1, $[19] = t2) : t2 = $[19];
5614
5609
  let t3;
5615
- return $[20] !== ref || $[21] !== restProps || $[22] !== t2 ? (t3 = /* @__PURE__ */ jsxRuntime.jsx(Root$6, { "data-ui": "Hotkeys", ...restProps, ref, children: t2 }), $[20] = ref, $[21] = restProps, $[22] = t2, $[23] = t3) : t3 = $[23], t3;
5610
+ return $[20] !== ref || $[21] !== restProps || $[22] !== t2 ? (t3 = /* @__PURE__ */ jsxRuntime.jsx(StyledHotkeys, { "data-ui": "Hotkeys", ...restProps, ref, children: t2 }), $[20] = ref, $[21] = restProps, $[22] = t2, $[23] = t3) : t3 = $[23], t3;
5616
5611
  });
5617
5612
  Hotkeys.displayName = "ForwardRef(Hotkeys)";
5618
5613
  const MenuContext = createGlobalScopedContext("@sanity/ui/context/menu", null);
@@ -5753,8 +5748,8 @@ function useMenuController(props) {
5753
5748
  mount
5754
5749
  };
5755
5750
  }
5756
- const Root$5 = styledComponents.styled(Box).withConfig({
5757
- displayName: "Root",
5751
+ const StyledMenu = styledComponents.styled(Box).withConfig({
5752
+ displayName: "StyledMenu",
5758
5753
  componentId: "sc-xt0tnv-0"
5759
5754
  })`outline:none;overflow:auto;`, Menu = react.forwardRef(function(props, forwardedRef) {
5760
5755
  const $ = reactCompilerRuntime.c(50);
@@ -5834,7 +5829,7 @@ const Root$5 = styledComponents.styled(Box).withConfig({
5834
5829
  let t11;
5835
5830
  $[38] !== children || $[39] !== space ? (t11 = /* @__PURE__ */ jsxRuntime.jsx(Stack, { space, children }), $[38] = children, $[39] = space, $[40] = t11) : t11 = $[40];
5836
5831
  let t12;
5837
- $[41] !== handleKeyDown || $[42] !== handleRefChange || $[43] !== padding || $[44] !== restProps || $[45] !== t11 ? (t12 = /* @__PURE__ */ jsxRuntime.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];
5832
+ $[41] !== handleKeyDown || $[42] !== handleRefChange || $[43] !== padding || $[44] !== restProps || $[45] !== t11 ? (t12 = /* @__PURE__ */ jsxRuntime.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];
5838
5833
  let t13;
5839
5834
  return $[47] !== t12 || $[48] !== value ? (t13 = /* @__PURE__ */ jsxRuntime.jsx(MenuContext.Provider, { value, children: t12 }), $[47] = t12, $[48] = value, $[49] = t13) : t13 = $[49], t13;
5840
5835
  });
@@ -6096,13 +6091,14 @@ function useMenu() {
6096
6091
  return value;
6097
6092
  }
6098
6093
  function MenuGroup(props) {
6099
- const $ = reactCompilerRuntime.c(77);
6100
- let IconComponent, children, onClick, popover, restProps, t0, t1, t2, t3, t4, t5, text;
6094
+ const $ = reactCompilerRuntime.c(79);
6095
+ let IconComponent, children, menuProps, onClick, popover, restProps, t0, t1, t2, t3, t4, t5, text;
6101
6096
  $[0] !== props ? ({
6102
6097
  as: t0,
6103
6098
  children,
6104
6099
  fontSize: t1,
6105
6100
  icon: IconComponent,
6101
+ menu: menuProps,
6106
6102
  onClick,
6107
6103
  padding: t2,
6108
6104
  popover,
@@ -6111,7 +6107,7 @@ function MenuGroup(props) {
6111
6107
  text,
6112
6108
  tone: t5,
6113
6109
  ...restProps
6114
- } = props, $[0] = props, $[1] = IconComponent, $[2] = children, $[3] = onClick, $[4] = popover, $[5] = restProps, $[6] = t0, $[7] = t1, $[8] = t2, $[9] = t3, $[10] = t4, $[11] = t5, $[12] = text) : (IconComponent = $[1], children = $[2], onClick = $[3], popover = $[4], restProps = $[5], t0 = $[6], t1 = $[7], t2 = $[8], t3 = $[9], t4 = $[10], t5 = $[11], text = $[12]);
6110
+ } = 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]);
6115
6111
  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(), {
6116
6112
  scheme
6117
6113
  } = useRootTheme(), {
@@ -6124,80 +6120,80 @@ function MenuGroup(props) {
6124
6120
  registerElement
6125
6121
  } = menu, onItemMouseEnter = _onItemMouseEnter ?? menu.onMouseEnter, [rootElement, setRootElement] = react.useState(null), [open, setOpen] = react.useState(!1), [shouldFocus, setShouldFocus] = react.useState(null), active = !!activeElement && activeElement === rootElement, [withinMenu, setWithinMenu] = react.useState(!1);
6126
6122
  let t6;
6127
- $[13] !== onItemMouseEnter ? (t6 = (event) => {
6123
+ $[14] !== onItemMouseEnter ? (t6 = (event) => {
6128
6124
  setWithinMenu(!1), onItemMouseEnter(event), setOpen(!0);
6129
- }, $[13] = onItemMouseEnter, $[14] = t6) : t6 = $[14];
6125
+ }, $[14] = onItemMouseEnter, $[15] = t6) : t6 = $[15];
6130
6126
  const handleMouseEnter = t6;
6131
6127
  let t7;
6132
- $[15] !== rootElement ? (t7 = (event_0) => {
6128
+ $[16] !== rootElement ? (t7 = (event_0) => {
6133
6129
  event_0.key === "ArrowLeft" && (event_0.stopPropagation(), setOpen(!1), requestAnimationFrame(() => {
6134
6130
  rootElement?.focus();
6135
6131
  }));
6136
- }, $[15] = rootElement, $[16] = t7) : t7 = $[16];
6132
+ }, $[16] = rootElement, $[17] = t7) : t7 = $[17];
6137
6133
  const handleMenuKeyDown = t7;
6138
6134
  let t8;
6139
- $[17] !== onClick ? (t8 = (event_1) => {
6135
+ $[18] !== onClick ? (t8 = (event_1) => {
6140
6136
  onClick?.(event_1), setShouldFocus("first"), setOpen(!0);
6141
- }, $[17] = onClick, $[18] = t8) : t8 = $[18];
6137
+ }, $[18] = onClick, $[19] = t8) : t8 = $[19];
6142
6138
  const handleClick = t8;
6143
6139
  let t9;
6144
- $[19] !== onItemClick ? (t9 = () => {
6140
+ $[20] !== onItemClick ? (t9 = () => {
6145
6141
  setOpen(!1), onItemClick?.();
6146
- }, $[19] = onItemClick, $[20] = t9) : t9 = $[20];
6142
+ }, $[20] = onItemClick, $[21] = t9) : t9 = $[21];
6147
6143
  const handleChildItemClick = t9;
6148
6144
  let t10;
6149
- $[21] === Symbol.for("react.memo_cache_sentinel") ? (t10 = () => setWithinMenu(!0), $[21] = t10) : t10 = $[21];
6145
+ $[22] === Symbol.for("react.memo_cache_sentinel") ? (t10 = () => setWithinMenu(!0), $[22] = t10) : t10 = $[22];
6150
6146
  const handleMenuMouseEnter = t10;
6151
6147
  let t11, t12;
6152
- $[22] !== mount || $[23] !== rootElement ? (t11 = () => mount(rootElement), t12 = [mount, rootElement], $[22] = mount, $[23] = rootElement, $[24] = t11, $[25] = t12) : (t11 = $[24], t12 = $[25]), react.useEffect(t11, t12);
6148
+ $[23] !== mount || $[24] !== rootElement ? (t11 = () => mount(rootElement), t12 = [mount, rootElement], $[23] = mount, $[24] = rootElement, $[25] = t11, $[26] = t12) : (t11 = $[25], t12 = $[26]), react.useEffect(t11, t12);
6153
6149
  let t13, t14;
6154
- $[26] !== active ? (t13 = () => {
6150
+ $[27] !== active ? (t13 = () => {
6155
6151
  active || setOpen(!1);
6156
- }, t14 = [active], $[26] = active, $[27] = t13, $[28] = t14) : (t13 = $[27], t14 = $[28]), react.useEffect(t13, t14);
6152
+ }, t14 = [active], $[27] = active, $[28] = t13, $[29] = t14) : (t13 = $[28], t14 = $[29]), react.useEffect(t13, t14);
6157
6153
  let t15, t16;
6158
- $[29] !== open ? (t15 = () => {
6154
+ $[30] !== open ? (t15 = () => {
6159
6155
  open || setWithinMenu(!1);
6160
- }, t16 = [open], $[29] = open, $[30] = t15, $[31] = t16) : (t15 = $[30], t16 = $[31]), react.useEffect(t15, t16);
6156
+ }, t16 = [open], $[30] = open, $[31] = t15, $[32] = t16) : (t15 = $[31], t16 = $[32]), react.useEffect(t15, t16);
6161
6157
  let t17, t18;
6162
- $[32] !== shouldFocus ? (t17 = () => {
6158
+ $[33] !== shouldFocus ? (t17 = () => {
6163
6159
  if (!shouldFocus)
6164
6160
  return;
6165
6161
  const rafId = requestAnimationFrame(() => setShouldFocus(null));
6166
6162
  return () => cancelAnimationFrame(rafId);
6167
- }, t18 = [shouldFocus], $[32] = shouldFocus, $[33] = t17, $[34] = t18) : (t17 = $[33], t18 = $[34]), react.useEffect(t17, t18);
6163
+ }, t18 = [shouldFocus], $[33] = shouldFocus, $[34] = t17, $[35] = t18) : (t17 = $[34], t18 = $[35]), react.useEffect(t17, t18);
6168
6164
  let t19;
6169
- $[35] !== children || $[36] !== handleChildItemClick || $[37] !== handleMenuKeyDown || $[38] !== onClickOutside || $[39] !== onEscape || $[40] !== registerElement || $[41] !== shouldFocus ? (t19 = /* @__PURE__ */ jsxRuntime.jsx(Menu, { onClickOutside, onEscape, onItemClick: handleChildItemClick, onKeyDown: handleMenuKeyDown, onMouseEnter: handleMenuMouseEnter, registerElement, shouldFocus, children }), $[35] = children, $[36] = handleChildItemClick, $[37] = handleMenuKeyDown, $[38] = onClickOutside, $[39] = onEscape, $[40] = registerElement, $[41] = shouldFocus, $[42] = t19) : t19 = $[42];
6165
+ $[36] !== children || $[37] !== handleChildItemClick || $[38] !== handleMenuKeyDown || $[39] !== menuProps || $[40] !== onClickOutside || $[41] !== onEscape || $[42] !== registerElement || $[43] !== shouldFocus ? (t19 = /* @__PURE__ */ jsxRuntime.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];
6170
6166
  const childMenu = t19;
6171
6167
  let t20;
6172
- $[43] === Symbol.for("react.memo_cache_sentinel") ? (t20 = (event_2) => {
6168
+ $[45] === Symbol.for("react.memo_cache_sentinel") ? (t20 = (event_2) => {
6173
6169
  const target = event_2.currentTarget;
6174
6170
  if (document.activeElement === target && event_2.key === "ArrowRight") {
6175
6171
  setShouldFocus("first"), setOpen(!0), setWithinMenu(!0);
6176
6172
  return;
6177
6173
  }
6178
- }, $[43] = t20) : t20 = $[43];
6174
+ }, $[45] = t20) : t20 = $[45];
6179
6175
  const handleKeyDown = t20, t21 = as === "button" ? withinMenu : void 0, t22 = as !== "button" ? withinMenu : void 0, t23 = !withinMenu && active ? "" : void 0, t24 = useArrayProp(radius), t25 = as === "button" ? "button" : void 0;
6180
6176
  let t26;
6181
- $[44] !== IconComponent || $[45] !== fontSize2 ? (t26 = IconComponent && /* @__PURE__ */ jsxRuntime.jsxs(Text, { size: fontSize2, children: [
6177
+ $[46] !== IconComponent || $[47] !== fontSize2 ? (t26 = IconComponent && /* @__PURE__ */ jsxRuntime.jsxs(Text, { size: fontSize2, children: [
6182
6178
  react.isValidElement(IconComponent) && IconComponent,
6183
6179
  ReactIs.isValidElementType(IconComponent) && /* @__PURE__ */ jsxRuntime.jsx(IconComponent, {})
6184
- ] }), $[44] = IconComponent, $[45] = fontSize2, $[46] = t26) : t26 = $[46];
6180
+ ] }), $[46] = IconComponent, $[47] = fontSize2, $[48] = t26) : t26 = $[48];
6185
6181
  let t27;
6186
- $[47] !== fontSize2 || $[48] !== text ? (t27 = /* @__PURE__ */ jsxRuntime.jsx(Box, { flex: 1, children: /* @__PURE__ */ jsxRuntime.jsx(Text, { size: fontSize2, textOverflow: "ellipsis", weight: "medium", children: text }) }), $[47] = fontSize2, $[48] = text, $[49] = t27) : t27 = $[49];
6182
+ $[49] !== fontSize2 || $[50] !== text ? (t27 = /* @__PURE__ */ jsxRuntime.jsx(Box, { flex: 1, children: /* @__PURE__ */ jsxRuntime.jsx(Text, { size: fontSize2, textOverflow: "ellipsis", weight: "medium", children: text }) }), $[49] = fontSize2, $[50] = text, $[51] = t27) : t27 = $[51];
6187
6183
  let t28;
6188
- $[50] === Symbol.for("react.memo_cache_sentinel") ? (t28 = /* @__PURE__ */ jsxRuntime.jsx(icons.ChevronRightIcon, {}), $[50] = t28) : t28 = $[50];
6184
+ $[52] === Symbol.for("react.memo_cache_sentinel") ? (t28 = /* @__PURE__ */ jsxRuntime.jsx(icons.ChevronRightIcon, {}), $[52] = t28) : t28 = $[52];
6189
6185
  let t29;
6190
- $[51] !== fontSize2 ? (t29 = /* @__PURE__ */ jsxRuntime.jsx(Text, { size: fontSize2, children: t28 }), $[51] = fontSize2, $[52] = t29) : t29 = $[52];
6186
+ $[53] !== fontSize2 ? (t29 = /* @__PURE__ */ jsxRuntime.jsx(Text, { size: fontSize2, children: t28 }), $[53] = fontSize2, $[54] = t29) : t29 = $[54];
6191
6187
  let t30;
6192
- $[53] !== padding || $[54] !== space || $[55] !== t26 || $[56] !== t27 || $[57] !== t29 ? (t30 = /* @__PURE__ */ jsxRuntime.jsxs(Flex, { gap: space, padding, children: [
6188
+ $[55] !== padding || $[56] !== space || $[57] !== t26 || $[58] !== t27 || $[59] !== t29 ? (t30 = /* @__PURE__ */ jsxRuntime.jsxs(Flex, { gap: space, padding, children: [
6193
6189
  t26,
6194
6190
  t27,
6195
6191
  t29
6196
- ] }), $[53] = padding, $[54] = space, $[55] = t26, $[56] = t27, $[57] = t29, $[58] = t30) : t30 = $[58];
6192
+ ] }), $[55] = padding, $[56] = space, $[57] = t26, $[58] = t27, $[59] = t29, $[60] = t30) : t30 = $[60];
6197
6193
  let t31;
6198
- $[59] !== as || $[60] !== handleClick || $[61] !== handleMouseEnter || $[62] !== restProps || $[63] !== scheme || $[64] !== t21 || $[65] !== t22 || $[66] !== t23 || $[67] !== t24 || $[68] !== t25 || $[69] !== t30 || $[70] !== tone ? (t31 = /* @__PURE__ */ jsxRuntime.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 }), $[59] = as, $[60] = handleClick, $[61] = handleMouseEnter, $[62] = restProps, $[63] = scheme, $[64] = t21, $[65] = t22, $[66] = t23, $[67] = t24, $[68] = t25, $[69] = t30, $[70] = tone, $[71] = t31) : t31 = $[71];
6194
+ $[61] !== as || $[62] !== handleClick || $[63] !== handleMouseEnter || $[64] !== restProps || $[65] !== scheme || $[66] !== t21 || $[67] !== t22 || $[68] !== t23 || $[69] !== t24 || $[70] !== t25 || $[71] !== t30 || $[72] !== tone ? (t31 = /* @__PURE__ */ jsxRuntime.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 }), $[61] = as, $[62] = handleClick, $[63] = handleMouseEnter, $[64] = restProps, $[65] = scheme, $[66] = t21, $[67] = t22, $[68] = t23, $[69] = t24, $[70] = t25, $[71] = t30, $[72] = tone, $[73] = t31) : t31 = $[73];
6199
6195
  let t32;
6200
- return $[72] !== childMenu || $[73] !== open || $[74] !== popover || $[75] !== t31 ? (t32 = /* @__PURE__ */ jsxRuntime.jsx(Popover, { ...popover, content: childMenu, "data-ui": "MenuGroup__popover", open, children: t31 }), $[72] = childMenu, $[73] = open, $[74] = popover, $[75] = t31, $[76] = t32) : t32 = $[76], t32;
6196
+ return $[74] !== childMenu || $[75] !== open || $[76] !== popover || $[77] !== t31 ? (t32 = /* @__PURE__ */ jsxRuntime.jsx(Popover, { ...popover, content: childMenu, "data-ui": "MenuGroup__popover", open, children: t31 }), $[74] = childMenu, $[75] = open, $[76] = popover, $[77] = t31, $[78] = t32) : t32 = $[78], t32;
6201
6197
  }
6202
6198
  MenuGroup.displayName = "MenuGroup";
6203
6199
  const MenuItem = react.forwardRef(function(props, forwardedRef) {
@@ -6332,8 +6328,8 @@ const keyframe = styledComponents.keyframes`
6332
6328
  @media screen and (prefers-reduced-motion: reduce) {
6333
6329
  background-color: var(--card-skeleton-color-from);
6334
6330
  }
6335
- `, Root$4 = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
6336
- displayName: "Root",
6331
+ `, StyledSkeleton$1 = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
6332
+ displayName: "StyledSkeleton",
6337
6333
  componentId: "sc-ebtpni-0"
6338
6334
  })(responsiveRadiusStyle, skeletonStyle), Skeleton = react.forwardRef(function(props, ref) {
6339
6335
  const $ = reactCompilerRuntime.c(14);
@@ -6358,11 +6354,11 @@ const keyframe = styledComponents.keyframes`
6358
6354
  }, t2 = [delay], $[5] = delay, $[6] = t1, $[7] = t2) : (t1 = $[6], t2 = $[7]), react.useEffect(t1, t2);
6359
6355
  const t3 = useArrayProp(radius);
6360
6356
  let t4;
6361
- return $[8] !== animated || $[9] !== ref || $[10] !== restProps || $[11] !== t3 || $[12] !== visible ? (t4 = /* @__PURE__ */ jsxRuntime.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;
6357
+ return $[8] !== animated || $[9] !== ref || $[10] !== restProps || $[11] !== t3 || $[12] !== visible ? (t4 = /* @__PURE__ */ jsxRuntime.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;
6362
6358
  });
6363
6359
  Skeleton.displayName = "ForwardRef(Skeleton)";
6364
- const Root$3 = /* @__PURE__ */ styledComponents.styled(Skeleton).withConfig({
6365
- displayName: "Root",
6360
+ const StyledSkeleton = /* @__PURE__ */ styledComponents.styled(Skeleton).withConfig({
6361
+ displayName: "StyledSkeleton",
6366
6362
  componentId: "sc-2p7a1v-0"
6367
6363
  })((props) => {
6368
6364
  const {
@@ -6387,7 +6383,7 @@ const Root$3 = /* @__PURE__ */ styledComponents.styled(Skeleton).withConfig({
6387
6383
  } = props, $[0] = props, $[1] = restProps, $[2] = t0) : (restProps = $[1], t0 = $[2]);
6388
6384
  const $size = useArrayProp(t0 === void 0 ? 2 : t0);
6389
6385
  let t1;
6390
- return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsxRuntime.jsx(Root$3, { ...restProps, $size, ref, $style: "text" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6386
+ return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsxRuntime.jsx(StyledSkeleton, { ...restProps, $size, ref, $style: "text" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6391
6387
  });
6392
6388
  TextSkeleton.displayName = "ForwardRef(TextSkeleton)";
6393
6389
  const LabelSkeleton = react.forwardRef(function(props, ref) {
@@ -6399,7 +6395,7 @@ const LabelSkeleton = react.forwardRef(function(props, ref) {
6399
6395
  } = props, $[0] = props, $[1] = restProps, $[2] = t0) : (restProps = $[1], t0 = $[2]);
6400
6396
  const $size = useArrayProp(t0 === void 0 ? 2 : t0);
6401
6397
  let t1;
6402
- return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsxRuntime.jsx(Root$3, { ...restProps, $size, ref, $style: "label" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6398
+ return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsxRuntime.jsx(StyledSkeleton, { ...restProps, $size, ref, $style: "label" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6403
6399
  });
6404
6400
  LabelSkeleton.displayName = "ForwardRef(LabelSkeleton)";
6405
6401
  const HeadingSkeleton = react.forwardRef(function(props, ref) {
@@ -6411,7 +6407,7 @@ const HeadingSkeleton = react.forwardRef(function(props, ref) {
6411
6407
  } = props, $[0] = props, $[1] = restProps, $[2] = t0) : (restProps = $[1], t0 = $[2]);
6412
6408
  const $size = useArrayProp(t0 === void 0 ? 2 : t0);
6413
6409
  let t1;
6414
- return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsxRuntime.jsx(Root$3, { ...restProps, $size, ref, $style: "heading" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6410
+ return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsxRuntime.jsx(StyledSkeleton, { ...restProps, $size, ref, $style: "heading" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6415
6411
  });
6416
6412
  HeadingSkeleton.displayName = "ForwardRef(HeadingSkeleton)";
6417
6413
  const CodeSkeleton = react.forwardRef(function(props, ref) {
@@ -6423,7 +6419,7 @@ const CodeSkeleton = react.forwardRef(function(props, ref) {
6423
6419
  } = props, $[0] = props, $[1] = restProps, $[2] = t0) : (restProps = $[1], t0 = $[2]);
6424
6420
  const $size = useArrayProp(t0 === void 0 ? 2 : t0);
6425
6421
  let t1;
6426
- return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsxRuntime.jsx(Root$3, { ...restProps, $size, ref, $style: "code" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6422
+ return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsxRuntime.jsx(StyledSkeleton, { ...restProps, $size, ref, $style: "code" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6427
6423
  });
6428
6424
  CodeSkeleton.displayName = "ForwardRef(CodeSkeleton)";
6429
6425
  const CustomButton = styledComponents.styled(Button).withConfig({
@@ -6570,8 +6566,8 @@ const STATUS_CARD_TONE = {
6570
6566
  warning: "alert",
6571
6567
  success: "alert",
6572
6568
  info: "alert"
6573
- }, Root$2 = /* @__PURE__ */ styledComponents.styled(Card).withConfig({
6574
- displayName: "Root",
6569
+ }, StyledToast = /* @__PURE__ */ styledComponents.styled(Card).withConfig({
6570
+ displayName: "StyledToast",
6575
6571
  componentId: "sc-1icz8ea-0"
6576
6572
  })(rootStyles);
6577
6573
  function Toast(props) {
@@ -6607,7 +6603,7 @@ function Toast(props) {
6607
6603
  t4
6608
6604
  ] }), $[20] = t3, $[21] = t4, $[22] = t5) : t5 = $[22];
6609
6605
  let t6;
6610
- return $[23] !== cardTone || $[24] !== duration || $[25] !== radius || $[26] !== restProps || $[27] !== role || $[28] !== t5 ? (t6 = /* @__PURE__ */ jsxRuntime.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;
6606
+ return $[23] !== cardTone || $[24] !== duration || $[25] !== radius || $[26] !== restProps || $[27] !== role || $[28] !== t5 ? (t6 = /* @__PURE__ */ jsxRuntime.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;
6611
6607
  }
6612
6608
  Toast.displayName = "Toast";
6613
6609
  function useMounted() {
@@ -6625,8 +6621,8 @@ let toastId = 0;
6625
6621
  function generateToastId() {
6626
6622
  return String(toastId++);
6627
6623
  }
6628
- const Root$1 = styledComponents.styled(Layer).withConfig({
6629
- displayName: "Root",
6624
+ const StyledToastProvider = styledComponents.styled(Layer).withConfig({
6625
+ displayName: "StyledToastProvider",
6630
6626
  componentId: "sc-17mn6j-0"
6631
6627
  })`position:fixed;top:0;left:0;right:0;bottom:0;pointer-events:none;`, ToastContainer = styledComponents.styled.div.withConfig({
6632
6628
  displayName: "ToastContainer",
@@ -6715,7 +6711,7 @@ function ToastProvider(props) {
6715
6711
  toastsRef.current = {};
6716
6712
  }, t14 = [], $[10] = t13, $[11] = t14) : (t13 = $[10], t14 = $[11]), react.useEffect(t13, t14);
6717
6713
  let t15;
6718
- $[12] !== mounted || $[13] !== padding || $[14] !== paddingX || $[15] !== paddingY || $[16] !== prefersReducedMotion || $[17] !== state || $[18] !== variants || $[19] !== zOffset ? (t15 = mounted && /* @__PURE__ */ jsxRuntime.jsx(Root$1, { "data-ui": "ToastProvider", zOffset, children: /* @__PURE__ */ jsxRuntime.jsx(ToastContainer, { children: /* @__PURE__ */ jsxRuntime.jsx(Box, { padding, paddingX, paddingY, children: /* @__PURE__ */ jsxRuntime.jsx(framerMotion.AnimatePresence, { initial: !1, children: state.map((t162) => {
6714
+ $[12] !== mounted || $[13] !== padding || $[14] !== paddingX || $[15] !== paddingY || $[16] !== prefersReducedMotion || $[17] !== state || $[18] !== variants || $[19] !== zOffset ? (t15 = mounted && /* @__PURE__ */ jsxRuntime.jsx(StyledToastProvider, { "data-ui": "ToastProvider", zOffset, children: /* @__PURE__ */ jsxRuntime.jsx(ToastContainer, { children: /* @__PURE__ */ jsxRuntime.jsx(Box, { padding, paddingX, paddingY, children: /* @__PURE__ */ jsxRuntime.jsx(framerMotion.AnimatePresence, { initial: !1, children: state.map((t162) => {
6719
6715
  const {
6720
6716
  dismiss: dismiss_0,
6721
6717
  id: id_0,
@@ -7063,8 +7059,8 @@ const TreeGroup = react.memo(function(props) {
7063
7059
  const expanded = t0 === void 0 ? !1 : t0, tree = useTree(), t1 = !expanded;
7064
7060
  let t2;
7065
7061
  return $[4] !== children || $[5] !== restProps || $[6] !== t1 || $[7] !== tree.space ? (t2 = /* @__PURE__ */ jsxRuntime.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;
7066
- }), Root = react.memo(styledComponents.styled.li.withConfig({
7067
- displayName: "Root",
7062
+ }), StyledTreeItem = react.memo(styledComponents.styled.li.withConfig({
7063
+ displayName: "StyledTreeItem",
7068
7064
  componentId: "sc-iiskig-0"
7069
7065
  })(treeItemRootStyle, treeItemRootColorStyle)), TreeItemBox = /* @__PURE__ */ styledComponents.styled(Box).attrs({
7070
7066
  forwardedAs: "a"
@@ -7123,10 +7119,10 @@ const TreeGroup = react.memo(function(props) {
7123
7119
  ] }),
7124
7120
  /* @__PURE__ */ jsxRuntime.jsx(Box, { flex: 1, children: /* @__PURE__ */ jsxRuntime.jsx(Text, { muted, size: fontSize2, textOverflow: "ellipsis", weight, children: text }) })
7125
7121
  ] });
7126
- return href ? /* @__PURE__ */ jsxRuntime.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: [
7122
+ return href ? /* @__PURE__ */ jsxRuntime.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: [
7127
7123
  /* @__PURE__ */ jsxRuntime.jsx(TreeItemBox, { $level: tree.level, "aria-expanded": expanded, as: linkAs, "data-ui": "TreeItem__box", href, ref: treeitemRef, role: "treeitem", tabIndex, children: content }),
7128
7124
  /* @__PURE__ */ jsxRuntime.jsx(TreeContext.Provider, { value: contextValue, children: children && /* @__PURE__ */ jsxRuntime.jsx(TreeGroup, { hidden: !expanded, children }) })
7129
- ] }) : /* @__PURE__ */ jsxRuntime.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: [
7125
+ ] }) : /* @__PURE__ */ jsxRuntime.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: [
7130
7126
  /* @__PURE__ */ jsxRuntime.jsx(TreeItemBox, { $level: tree.level, as: "div", "data-ui": "TreeItem__box", children: content }),
7131
7127
  /* @__PURE__ */ jsxRuntime.jsx(TreeContext.Provider, { value: contextValue, children: children && /* @__PURE__ */ jsxRuntime.jsx(TreeGroup, { expanded, children }) })
7132
7128
  ] });