@sanity/ui 2.10.17 → 2.10.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/index.esm.js +370 -310
  2. package/dist/index.esm.js.map +1 -1
  3. package/dist/index.js +370 -310
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +370 -310
  6. package/dist/index.mjs.map +1 -1
  7. package/package.json +3 -2
  8. package/src/core/components/autocomplete/autocomplete.styles.tsx +1 -1
  9. package/src/core/components/autocomplete/autocomplete.tsx +3 -3
  10. package/src/core/components/breadcrumbs/breadcrumbs.styles.ts +1 -1
  11. package/src/core/components/breadcrumbs/breadcrumbs.tsx +3 -3
  12. package/src/core/components/dialog/dialog.tsx +3 -3
  13. package/src/core/components/hotkeys/hotkeys.tsx +3 -3
  14. package/src/core/components/menu/menu.tsx +3 -3
  15. package/src/core/components/skeleton/skeleton.tsx +4 -5
  16. package/src/core/components/skeleton/textSkeleton.tsx +5 -5
  17. package/src/core/components/toast/toast.tsx +3 -3
  18. package/src/core/components/toast/toastProvider.tsx +3 -3
  19. package/src/core/components/tree/treeItem.tsx +5 -5
  20. package/src/core/primitives/avatar/avatar.tsx +6 -6
  21. package/src/core/primitives/avatar/avatarCounter.tsx +3 -3
  22. package/src/core/primitives/avatar/avatarStack.tsx +6 -3
  23. package/src/core/primitives/badge/badge.tsx +3 -3
  24. package/src/core/primitives/box/box.tsx +3 -3
  25. package/src/core/primitives/button/button.tsx +3 -3
  26. package/src/core/primitives/card/card.tsx +2 -2
  27. package/src/core/primitives/checkbox/checkbox.tsx +3 -3
  28. package/src/core/primitives/code/code.tsx +3 -3
  29. package/src/core/primitives/container/container.tsx +2 -2
  30. package/src/core/primitives/flex/flex.tsx +2 -2
  31. package/src/core/primitives/grid/grid.tsx +3 -3
  32. package/src/core/primitives/heading/heading.tsx +4 -11
  33. package/src/core/primitives/inline/inline.tsx +3 -3
  34. package/src/core/primitives/kbd/kbd.tsx +3 -3
  35. package/src/core/primitives/label/label.tsx +4 -11
  36. package/src/core/primitives/radio/radio.tsx +3 -3
  37. package/src/core/primitives/select/select.tsx +3 -3
  38. package/src/core/primitives/spinner/spinner.tsx +3 -3
  39. package/src/core/primitives/stack/stack.tsx +5 -2
  40. package/src/core/primitives/switch/switch.tsx +3 -3
  41. package/src/core/primitives/text/text.tsx +4 -11
  42. package/src/core/primitives/textArea/textArea.tsx +3 -3
  43. package/src/core/primitives/textInput/textInput.tsx +3 -3
  44. package/src/core/primitives/tooltip/tooltip.tsx +3 -3
  45. package/src/core/utils/arrow/arrow.tsx +3 -3
  46. package/src/core/utils/layer/layer.tsx +9 -3
  47. package/src/core/utils/spanWithTextOverflow.tsx +10 -0
  48. package/src/core/utils/srOnly/srOnly.tsx +3 -3
  49. package/src/core/utils/virtualList/virtualList.tsx +3 -3
package/dist/index.esm.js CHANGED
@@ -1426,6 +1426,10 @@ function responsiveShadowStyle(props) {
1426
1426
  } = getTheme_v2(props.theme);
1427
1427
  return _responsive(media, props.$shadow, (index) => shadowStyle(shadow[index], card.shadow.outline));
1428
1428
  }
1429
+ const SpanWithTextOverflow = styled.span.withConfig({
1430
+ displayName: "SpanWithTextOverflow",
1431
+ componentId: "sc-ol2i3b-0"
1432
+ })`display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow:clip;`;
1429
1433
  function labelBaseStyle(props) {
1430
1434
  const {
1431
1435
  $accent,
@@ -1465,13 +1469,10 @@ function labelBaseStyle(props) {
1465
1469
  }
1466
1470
  `;
1467
1471
  }
1468
- const Root$C = styled.div(responsiveLabelFont, responsiveTextAlignStyle, labelBaseStyle), SpanWithTextOverflow$2 = styled.span`
1469
- display: block;
1470
- white-space: nowrap;
1471
- text-overflow: ellipsis;
1472
- overflow: hidden;
1473
- overflow: clip;
1474
- `, Label = forwardRef(function(props, ref) {
1472
+ const StyledLabel = /* @__PURE__ */ styled.div.withConfig({
1473
+ displayName: "StyledLabel",
1474
+ componentId: "sc-1luap7z-0"
1475
+ })(responsiveLabelFont, responsiveTextAlignStyle, labelBaseStyle), Label = forwardRef(function(props, ref) {
1475
1476
  const $ = c(22);
1476
1477
  let accent, align, childrenProp, restProps, t0, t1, textOverflow, weight;
1477
1478
  $[0] !== props ? ({
@@ -1488,14 +1489,14 @@ const Root$C = styled.div(responsiveLabelFont, responsiveTextAlignStyle, labelBa
1488
1489
  let children = childrenProp;
1489
1490
  if (textOverflow === "ellipsis") {
1490
1491
  let t22;
1491
- $[9] !== children ? (t22 = /* @__PURE__ */ jsx(SpanWithTextOverflow$2, { children }), $[9] = children, $[10] = t22) : t22 = $[10], children = t22;
1492
+ $[9] !== children ? (t22 = /* @__PURE__ */ jsx(SpanWithTextOverflow, { children }), $[9] = children, $[10] = t22) : t22 = $[10], children = t22;
1492
1493
  } else {
1493
1494
  let t22;
1494
1495
  $[11] !== children ? (t22 = /* @__PURE__ */ jsx("span", { children }), $[11] = children, $[12] = t22) : t22 = $[12], children = t22;
1495
1496
  }
1496
1497
  const t2 = useArrayProp(align), t3 = useArrayProp(size2);
1497
1498
  let t4;
1498
- return $[13] !== accent || $[14] !== children || $[15] !== muted || $[16] !== ref || $[17] !== restProps || $[18] !== t2 || $[19] !== t3 || $[20] !== weight ? (t4 = /* @__PURE__ */ jsx(Root$C, { "data-ui": "Label", ...restProps, $accent: accent, $align: t2, $muted: muted, $size: t3, $weight: weight, ref, children }), $[13] = accent, $[14] = children, $[15] = muted, $[16] = ref, $[17] = restProps, $[18] = t2, $[19] = t3, $[20] = weight, $[21] = t4) : t4 = $[21], t4;
1499
+ return $[13] !== accent || $[14] !== children || $[15] !== muted || $[16] !== ref || $[17] !== restProps || $[18] !== t2 || $[19] !== t3 || $[20] !== weight ? (t4 = /* @__PURE__ */ jsx(StyledLabel, { "data-ui": "Label", ...restProps, $accent: accent, $align: t2, $muted: muted, $size: t3, $weight: weight, ref, children }), $[13] = accent, $[14] = children, $[15] = muted, $[16] = ref, $[17] = restProps, $[18] = t2, $[19] = t3, $[20] = weight, $[21] = t4) : t4 = $[21], t4;
1499
1500
  });
1500
1501
  Label.displayName = "ForwardRef(Label)";
1501
1502
  const avatarStyle = {
@@ -1641,9 +1642,30 @@ function avatarStrokeStyle() {
1641
1642
  }
1642
1643
  };
1643
1644
  }
1644
- const Root$B = styled.div(responsiveAvatarSizeStyle, avatarStyle.root), Arrow$1 = styled.div(avatarStyle.arrow), BgStroke = styled.ellipse(avatarStyle.bgStroke), Stroke = styled.ellipse(avatarStyle.stroke), Initials = styled.div(avatarStyle.initials), InitialsLabel = styled(Label)({
1645
+ const StyledAvatar = /* @__PURE__ */ styled.div.withConfig({
1646
+ displayName: "StyledAvatar",
1647
+ componentId: "sc-1rj7kl0-0"
1648
+ })(responsiveAvatarSizeStyle, avatarStyle.root), Arrow$1 = /* @__PURE__ */ styled.div.withConfig({
1649
+ displayName: "Arrow",
1650
+ componentId: "sc-1rj7kl0-1"
1651
+ })(avatarStyle.arrow), BgStroke = /* @__PURE__ */ styled.ellipse.withConfig({
1652
+ displayName: "BgStroke",
1653
+ componentId: "sc-1rj7kl0-2"
1654
+ })(avatarStyle.bgStroke), Stroke = /* @__PURE__ */ styled.ellipse.withConfig({
1655
+ displayName: "Stroke",
1656
+ componentId: "sc-1rj7kl0-3"
1657
+ })(avatarStyle.stroke), Initials = /* @__PURE__ */ styled.div.withConfig({
1658
+ displayName: "Initials",
1659
+ componentId: "sc-1rj7kl0-4"
1660
+ })(avatarStyle.initials), InitialsLabel = /* @__PURE__ */ styled(Label).withConfig({
1661
+ displayName: "InitialsLabel",
1662
+ componentId: "sc-1rj7kl0-5"
1663
+ })({
1645
1664
  color: "inherit"
1646
- }), Image = styled.svg(avatarStyle.image), Avatar = forwardRef(function(props, ref) {
1665
+ }), AvatarImage = /* @__PURE__ */ styled.svg.withConfig({
1666
+ displayName: "AvatarImage",
1667
+ componentId: "sc-1rj7kl0-6"
1668
+ })(avatarStyle.image), Avatar = forwardRef(function(props, ref) {
1647
1669
  const $ = c(52);
1648
1670
  let __unstable_hideInnerStroke, animateArrowFrom, arrowPositionProp, asProp, initials, onImageLoadError, restProps, src, t0, t1, t2, title;
1649
1671
  $[0] !== props ? ({
@@ -1685,7 +1707,7 @@ const Root$B = styled.div(responsiveAvatarSizeStyle, avatarStyle.root), Arrow$1
1685
1707
  let t11;
1686
1708
  $[24] !== color ? (t11 = /* @__PURE__ */ jsx(Arrow$1, { children: /* @__PURE__ */ jsx("svg", { width: "11", height: "7", viewBox: "0 0 11 7", fill: "none", children: /* @__PURE__ */ jsx("path", { d: "M6.67948 1.50115L11 7L0 7L4.32052 1.50115C4.92109 0.736796 6.07891 0.736795 6.67948 1.50115Z", fill: color }) }) }), $[24] = color, $[25] = t11) : t11 = $[25];
1687
1709
  let t12;
1688
- $[26] !== __unstable_hideInnerStroke || $[27] !== _radius || $[28] !== _sizeRem || $[29] !== handleImageError || $[30] !== imageFailed || $[31] !== imageId || $[32] !== src ? (t12 = !imageFailed && src && /* @__PURE__ */ jsxs(Image, { viewBox: `0 0 ${_sizeRem} ${_sizeRem}`, fill: "none", children: [
1710
+ $[26] !== __unstable_hideInnerStroke || $[27] !== _radius || $[28] !== _sizeRem || $[29] !== handleImageError || $[30] !== imageFailed || $[31] !== imageId || $[32] !== src ? (t12 = !imageFailed && src && /* @__PURE__ */ jsxs(AvatarImage, { viewBox: `0 0 ${_sizeRem} ${_sizeRem}`, fill: "none", children: [
1689
1711
  /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("pattern", { id: imageId, patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ jsx("image", { href: src, width: "1", height: "1", onError: handleImageError }) }) }),
1690
1712
  /* @__PURE__ */ jsx("circle", { cx: _radius, cy: _radius, r: _radius, fill: `url(#${imageId})` }),
1691
1713
  !__unstable_hideInnerStroke && /* @__PURE__ */ jsx(BgStroke, { cx: _radius, cy: _radius, rx: _radius, ry: _radius, vectorEffect: "non-scaling-stroke" }),
@@ -1694,7 +1716,7 @@ const Root$B = styled.div(responsiveAvatarSizeStyle, avatarStyle.root), Arrow$1
1694
1716
  let t13;
1695
1717
  $[34] !== imageFailed || $[35] !== initials || $[36] !== initialsSize || $[37] !== src ? (t13 = (imageFailed || !src) && initials && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(Initials, { children: /* @__PURE__ */ jsx(InitialsLabel, { forwardedAs: "span", size: initialsSize, weight: "medium", children: initials }) }) }), $[34] = imageFailed, $[35] = initials, $[36] = initialsSize, $[37] = src, $[38] = t13) : t13 = $[38];
1696
1718
  let t14;
1697
- return $[39] !== arrowPosition || $[40] !== as || $[41] !== color || $[42] !== ref || $[43] !== restProps || $[44] !== size2 || $[45] !== status || $[46] !== t10 || $[47] !== t11 || $[48] !== t12 || $[49] !== t13 || $[50] !== title ? (t14 = /* @__PURE__ */ jsxs(Root$B, { as, "data-as": t10, "data-ui": "Avatar", ...restProps, $color: color, $size: size2, "aria-label": title, "data-arrow-position": arrowPosition, "data-status": status, ref, title, children: [
1719
+ return $[39] !== arrowPosition || $[40] !== as || $[41] !== color || $[42] !== ref || $[43] !== restProps || $[44] !== size2 || $[45] !== status || $[46] !== t10 || $[47] !== t11 || $[48] !== t12 || $[49] !== t13 || $[50] !== title ? (t14 = /* @__PURE__ */ jsxs(StyledAvatar, { as, "data-as": t10, "data-ui": "Avatar", ...restProps, $color: color, $size: size2, "aria-label": title, "data-arrow-position": arrowPosition, "data-status": status, ref, title, children: [
1698
1720
  t11,
1699
1721
  t12,
1700
1722
  t13
@@ -1740,7 +1762,10 @@ function _avatarCounterBaseStyle(props) {
1740
1762
  }
1741
1763
  `;
1742
1764
  }
1743
- const Root$A = styled.div(_responsiveAvatarCounterSizeStyle, _avatarCounterBaseStyle), AvatarCounter = forwardRef(function(props, ref) {
1765
+ const StyledAvatarCounter = /* @__PURE__ */ styled.div.withConfig({
1766
+ displayName: "StyledAvatarCounter",
1767
+ componentId: "sc-1ydx86y-0"
1768
+ })(_responsiveAvatarCounterSizeStyle, _avatarCounterBaseStyle), AvatarCounter = forwardRef(function(props, ref) {
1744
1769
  const $ = c(9), {
1745
1770
  count,
1746
1771
  size: t0
@@ -1751,7 +1776,7 @@ const Root$A = styled.div(_responsiveAvatarCounterSizeStyle, _avatarCounterBaseS
1751
1776
  let t3;
1752
1777
  $[2] !== count || $[3] !== fontSize2 ? (t3 = /* @__PURE__ */ jsx(Label, { as: "span", size: fontSize2, weight: "medium", children: count }), $[2] = count, $[3] = fontSize2, $[4] = t3) : t3 = $[4];
1753
1778
  let t4;
1754
- return $[5] !== ref || $[6] !== size2 || $[7] !== t3 ? (t4 = /* @__PURE__ */ jsx(Root$A, { $size: size2, "data-ui": "AvatarCounter", ref, children: t3 }), $[5] = ref, $[6] = size2, $[7] = t3, $[8] = t4) : t4 = $[8], t4;
1779
+ return $[5] !== ref || $[6] !== size2 || $[7] !== t3 ? (t4 = /* @__PURE__ */ jsx(StyledAvatarCounter, { $size: size2, "data-ui": "AvatarCounter", ref, children: t3 }), $[5] = ref, $[6] = size2, $[7] = t3, $[8] = t4) : t4 = $[8], t4;
1755
1780
  });
1756
1781
  AvatarCounter.displayName = "ForwardRef(AvatarCounter)";
1757
1782
  function _temp$7(s) {
@@ -1785,7 +1810,10 @@ function responsiveAvatarStackSizeStyle(props) {
1785
1810
  } : EMPTY_RECORD;
1786
1811
  });
1787
1812
  }
1788
- const Root$z = styled.div(responsiveAvatarStackSizeStyle, avatarStackStyle), AvatarStack = forwardRef(function(props, ref) {
1813
+ const StyledAvatarStack = /* @__PURE__ */ styled.div.withConfig({
1814
+ displayName: "StyledAvatarStack",
1815
+ componentId: "sc-cysmbb-0"
1816
+ })(responsiveAvatarStackSizeStyle, avatarStackStyle), AvatarStack = forwardRef(function(props, ref) {
1789
1817
  const $ = c(15);
1790
1818
  let childrenProp, restProps, t0, t1;
1791
1819
  $[0] !== props ? ({
@@ -1794,7 +1822,7 @@ const Root$z = styled.div(responsiveAvatarStackSizeStyle, avatarStackStyle), Ava
1794
1822
  size: t1,
1795
1823
  ...restProps
1796
1824
  } = props, $[0] = props, $[1] = childrenProp, $[2] = restProps, $[3] = t0, $[4] = t1) : (childrenProp = $[1], restProps = $[2], t0 = $[3], t1 = $[4]);
1797
- const maxLengthProp = t0 === void 0 ? 4 : t0, sizeProp = t1 === void 0 ? 1 : t1, children = Children.toArray(childrenProp).filter(isValidElement), maxLength = Math.max(maxLengthProp, 0), size2 = useArrayProp(sizeProp), len = children.length, visibleCount = maxLength - 1, extraCount = len - visibleCount, visibleChildren = extraCount > 1 ? children.slice(extraCount, len) : children, T0 = Root$z, t2 = "AvatarStack", t3 = len === 0 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(AvatarCounter, { count: len, size: size2 }) }), t4 = len !== 0 && extraCount > 1 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(AvatarCounter, { count: extraCount, size: size2 }) });
1825
+ const maxLengthProp = t0 === void 0 ? 4 : t0, sizeProp = t1 === void 0 ? 1 : t1, children = Children.toArray(childrenProp).filter(isValidElement), maxLength = Math.max(maxLengthProp, 0), size2 = useArrayProp(sizeProp), len = children.length, visibleCount = maxLength - 1, extraCount = len - visibleCount, visibleChildren = extraCount > 1 ? children.slice(extraCount, len) : children, T0 = StyledAvatarStack, t2 = "AvatarStack", t3 = len === 0 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(AvatarCounter, { count: len, size: size2 }) }), t4 = len !== 0 && extraCount > 1 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(AvatarCounter, { count: extraCount, size: size2 }) });
1798
1826
  let t5;
1799
1827
  $[5] !== size2 ? (t5 = (child, childIndex) => /* @__PURE__ */ jsx("div", { children: cloneElement(child, {
1800
1828
  size: size2
@@ -1808,7 +1836,10 @@ const Root$z = styled.div(responsiveAvatarStackSizeStyle, avatarStackStyle), Ava
1808
1836
  ] }), $[7] = T0, $[8] = ref, $[9] = restProps, $[10] = size2, $[11] = t3, $[12] = t4, $[13] = t6, $[14] = t7) : t7 = $[14], t7;
1809
1837
  });
1810
1838
  AvatarStack.displayName = "ForwardRef(AvatarStack)";
1811
- const Root$y = styled.div(boxStyle, flexItemStyle, responsiveBoxStyle, responsiveGridItemStyle, responsiveMarginStyle, responsivePaddingStyle), Box = forwardRef(function(props, ref) {
1839
+ const StyledBox = /* @__PURE__ */ styled.div.withConfig({
1840
+ displayName: "StyledBox",
1841
+ componentId: "sc-1hhky9f-0"
1842
+ })(boxStyle, flexItemStyle, responsiveBoxStyle, responsiveGridItemStyle, responsiveMarginStyle, responsivePaddingStyle), Box = forwardRef(function(props, ref) {
1812
1843
  const $ = c(59);
1813
1844
  let column, columnEnd, columnStart, flex, height, marginBottom, marginLeft, marginRight, marginTop, marginX, marginY, overflow, paddingBottom, paddingLeft, paddingRight, paddingTop, paddingX, paddingY, restProps, row, rowEnd, rowStart, sizing, t0, t1, t2, t3;
1814
1845
  $[0] !== props ? ({
@@ -1842,7 +1873,7 @@ const Root$y = styled.div(boxStyle, flexItemStyle, responsiveBoxStyle, responsiv
1842
1873
  } = props, $[0] = props, $[1] = column, $[2] = columnEnd, $[3] = columnStart, $[4] = flex, $[5] = height, $[6] = marginBottom, $[7] = marginLeft, $[8] = marginRight, $[9] = marginTop, $[10] = marginX, $[11] = marginY, $[12] = overflow, $[13] = paddingBottom, $[14] = paddingLeft, $[15] = paddingRight, $[16] = paddingTop, $[17] = paddingX, $[18] = paddingY, $[19] = restProps, $[20] = row, $[21] = rowEnd, $[22] = rowStart, $[23] = sizing, $[24] = t0, $[25] = t1, $[26] = t2, $[27] = t3) : (column = $[1], columnEnd = $[2], columnStart = $[3], flex = $[4], height = $[5], marginBottom = $[6], marginLeft = $[7], marginRight = $[8], marginTop = $[9], marginX = $[10], marginY = $[11], overflow = $[12], paddingBottom = $[13], paddingLeft = $[14], paddingRight = $[15], paddingTop = $[16], paddingX = $[17], paddingY = $[18], restProps = $[19], row = $[20], rowEnd = $[21], rowStart = $[22], sizing = $[23], t0 = $[24], t1 = $[25], t2 = $[26], t3 = $[27]);
1843
1874
  const asProp = t0 === void 0 ? "div" : t0, display = t1 === void 0 ? "block" : t1, margin = t2 === void 0 ? 0 : t2, padding = t3 === void 0 ? 0 : t3, t4 = typeof asProp == "string" ? asProp : void 0, t5 = useArrayProp(column), t6 = useArrayProp(columnStart), t7 = useArrayProp(columnEnd), t8 = useArrayProp(display), t9 = useArrayProp(flex), t10 = useArrayProp(height), t11 = useArrayProp(margin), t12 = useArrayProp(marginX), t13 = useArrayProp(marginY), t14 = useArrayProp(marginTop), t15 = useArrayProp(marginRight), t16 = useArrayProp(marginBottom), t17 = useArrayProp(marginLeft), t18 = useArrayProp(overflow), t19 = useArrayProp(padding), t20 = useArrayProp(paddingX), t21 = useArrayProp(paddingY), t22 = useArrayProp(paddingTop), t23 = useArrayProp(paddingRight), t24 = useArrayProp(paddingBottom), t25 = useArrayProp(paddingLeft), t26 = useArrayProp(row), t27 = useArrayProp(rowStart), t28 = useArrayProp(rowEnd), t29 = useArrayProp(sizing);
1844
1875
  let t30;
1845
- return $[28] !== asProp || $[29] !== props.children || $[30] !== ref || $[31] !== restProps || $[32] !== t10 || $[33] !== t11 || $[34] !== t12 || $[35] !== t13 || $[36] !== t14 || $[37] !== t15 || $[38] !== t16 || $[39] !== t17 || $[40] !== t18 || $[41] !== t19 || $[42] !== t20 || $[43] !== t21 || $[44] !== t22 || $[45] !== t23 || $[46] !== t24 || $[47] !== t25 || $[48] !== t26 || $[49] !== t27 || $[50] !== t28 || $[51] !== t29 || $[52] !== t4 || $[53] !== t5 || $[54] !== t6 || $[55] !== t7 || $[56] !== t8 || $[57] !== t9 ? (t30 = /* @__PURE__ */ jsx(Root$y, { "data-as": t4, "data-ui": "Box", ...restProps, $column: t5, $columnStart: t6, $columnEnd: t7, $display: t8, $flex: t9, $height: t10, $margin: t11, $marginX: t12, $marginY: t13, $marginTop: t14, $marginRight: t15, $marginBottom: t16, $marginLeft: t17, $overflow: t18, $padding: t19, $paddingX: t20, $paddingY: t21, $paddingTop: t22, $paddingRight: t23, $paddingBottom: t24, $paddingLeft: t25, $row: t26, $rowStart: t27, $rowEnd: t28, $sizing: t29, as: asProp, ref, children: props.children }), $[28] = asProp, $[29] = props.children, $[30] = ref, $[31] = restProps, $[32] = t10, $[33] = t11, $[34] = t12, $[35] = t13, $[36] = t14, $[37] = t15, $[38] = t16, $[39] = t17, $[40] = t18, $[41] = t19, $[42] = t20, $[43] = t21, $[44] = t22, $[45] = t23, $[46] = t24, $[47] = t25, $[48] = t26, $[49] = t27, $[50] = t28, $[51] = t29, $[52] = t4, $[53] = t5, $[54] = t6, $[55] = t7, $[56] = t8, $[57] = t9, $[58] = t30) : t30 = $[58], t30;
1876
+ return $[28] !== asProp || $[29] !== props.children || $[30] !== ref || $[31] !== restProps || $[32] !== t10 || $[33] !== t11 || $[34] !== t12 || $[35] !== t13 || $[36] !== t14 || $[37] !== t15 || $[38] !== t16 || $[39] !== t17 || $[40] !== t18 || $[41] !== t19 || $[42] !== t20 || $[43] !== t21 || $[44] !== t22 || $[45] !== t23 || $[46] !== t24 || $[47] !== t25 || $[48] !== t26 || $[49] !== t27 || $[50] !== t28 || $[51] !== t29 || $[52] !== t4 || $[53] !== t5 || $[54] !== t6 || $[55] !== t7 || $[56] !== t8 || $[57] !== t9 ? (t30 = /* @__PURE__ */ jsx(StyledBox, { "data-as": t4, "data-ui": "Box", ...restProps, $column: t5, $columnStart: t6, $columnEnd: t7, $display: t8, $flex: t9, $height: t10, $margin: t11, $marginX: t12, $marginY: t13, $marginTop: t14, $marginRight: t15, $marginBottom: t16, $marginLeft: t17, $overflow: t18, $padding: t19, $paddingX: t20, $paddingY: t21, $paddingTop: t22, $paddingRight: t23, $paddingBottom: t24, $paddingLeft: t25, $row: t26, $rowStart: t27, $rowEnd: t28, $sizing: t29, as: asProp, ref, children: props.children }), $[28] = asProp, $[29] = props.children, $[30] = ref, $[31] = restProps, $[32] = t10, $[33] = t11, $[34] = t12, $[35] = t13, $[36] = t14, $[37] = t15, $[38] = t16, $[39] = t17, $[40] = t18, $[41] = t19, $[42] = t20, $[43] = t21, $[44] = t22, $[45] = t23, $[46] = t24, $[47] = t25, $[48] = t26, $[49] = t27, $[50] = t28, $[51] = t29, $[52] = t4, $[53] = t5, $[54] = t6, $[55] = t7, $[56] = t8, $[57] = t9, $[58] = t30) : t30 = $[58], t30;
1846
1877
  });
1847
1878
  Box.displayName = "ForwardRef(Box)";
1848
1879
  function textBaseStyle(props) {
@@ -1913,13 +1944,10 @@ function textBaseStyle(props) {
1913
1944
  }
1914
1945
  `;
1915
1946
  }
1916
- const Root$x = styled.div(responsiveTextFont, responsiveTextAlignStyle, textBaseStyle), SpanWithTextOverflow$1 = styled.span`
1917
- display: block;
1918
- white-space: nowrap;
1919
- text-overflow: ellipsis;
1920
- overflow: hidden;
1921
- overflow: clip;
1922
- `, Text = forwardRef(function(props, ref) {
1947
+ const StyledText = /* @__PURE__ */ styled.div.withConfig({
1948
+ displayName: "StyledText",
1949
+ componentId: "sc-11ov82j-0"
1950
+ })(responsiveTextFont, responsiveTextAlignStyle, textBaseStyle), Text = forwardRef(function(props, ref) {
1923
1951
  const $ = c(22);
1924
1952
  let align, childrenProp, restProps, t0, t1, t2, textOverflow, weight;
1925
1953
  $[0] !== props ? ({
@@ -1936,13 +1964,13 @@ const Root$x = styled.div(responsiveTextFont, responsiveTextAlignStyle, textBase
1936
1964
  let children = childrenProp;
1937
1965
  if (textOverflow === "ellipsis") {
1938
1966
  let t32;
1939
- $[9] !== children ? (t32 = /* @__PURE__ */ jsx(SpanWithTextOverflow$1, { children }), $[9] = children, $[10] = t32) : t32 = $[10], children = t32;
1967
+ $[9] !== children ? (t32 = /* @__PURE__ */ jsx(SpanWithTextOverflow, { children }), $[9] = children, $[10] = t32) : t32 = $[10], children = t32;
1940
1968
  }
1941
1969
  const t3 = useArrayProp(align), t4 = useArrayProp(size2);
1942
1970
  let t5;
1943
1971
  $[11] !== children ? (t5 = /* @__PURE__ */ jsx("span", { children }), $[11] = children, $[12] = t5) : t5 = $[12];
1944
1972
  let t6;
1945
- return $[13] !== accent || $[14] !== muted || $[15] !== ref || $[16] !== restProps || $[17] !== t3 || $[18] !== t4 || $[19] !== t5 || $[20] !== weight ? (t6 = /* @__PURE__ */ jsx(Root$x, { "data-ui": "Text", ...restProps, $accent: accent, $align: t3, $muted: muted, ref, $size: t4, $weight: weight, children: t5 }), $[13] = accent, $[14] = muted, $[15] = ref, $[16] = restProps, $[17] = t3, $[18] = t4, $[19] = t5, $[20] = weight, $[21] = t6) : t6 = $[21], t6;
1973
+ return $[13] !== accent || $[14] !== muted || $[15] !== ref || $[16] !== restProps || $[17] !== t3 || $[18] !== t4 || $[19] !== t5 || $[20] !== weight ? (t6 = /* @__PURE__ */ jsx(StyledText, { "data-ui": "Text", ...restProps, $accent: accent, $align: t3, $muted: muted, ref, $size: t4, $weight: weight, children: t5 }), $[13] = accent, $[14] = muted, $[15] = ref, $[16] = restProps, $[17] = t3, $[18] = t4, $[19] = t5, $[20] = weight, $[21] = t6) : t6 = $[21], t6;
1946
1974
  });
1947
1975
  Text.displayName = "ForwardRef(Text)";
1948
1976
  function badgeStyle(props) {
@@ -1960,7 +1988,10 @@ function badgeStyle(props) {
1960
1988
  }
1961
1989
  };
1962
1990
  }
1963
- const Root$w = styled(Box)(responsiveRadiusStyle, badgeStyle), Badge = forwardRef(function(props, ref) {
1991
+ const StyledBadge = /* @__PURE__ */ styled(Box).withConfig({
1992
+ displayName: "StyledBadge",
1993
+ componentId: "sc-5u140l-0"
1994
+ })(responsiveRadiusStyle, badgeStyle), Badge = forwardRef(function(props, ref) {
1964
1995
  const $ = c(17);
1965
1996
  let children, restProps, t0, t1, t2, t3;
1966
1997
  if ($[0] !== props) {
@@ -1980,10 +2011,13 @@ const Root$w = styled(Box)(responsiveRadiusStyle, badgeStyle), Badge = forwardRe
1980
2011
  let t6;
1981
2012
  $[7] !== children || $[8] !== fontSize2 ? (t6 = /* @__PURE__ */ jsx(Text, { size: fontSize2, children }), $[7] = children, $[8] = fontSize2, $[9] = t6) : t6 = $[9];
1982
2013
  let t7;
1983
- return $[10] !== ref || $[11] !== restProps || $[12] !== t4 || $[13] !== t5 || $[14] !== t6 || $[15] !== tone ? (t7 = /* @__PURE__ */ jsx(Root$w, { "data-ui": "Badge", ...restProps, $tone: tone, $radius: t4, padding: t5, ref, children: t6 }), $[10] = ref, $[11] = restProps, $[12] = t4, $[13] = t5, $[14] = t6, $[15] = tone, $[16] = t7) : t7 = $[16], t7;
2014
+ return $[10] !== ref || $[11] !== restProps || $[12] !== t4 || $[13] !== t5 || $[14] !== t6 || $[15] !== tone ? (t7 = /* @__PURE__ */ jsx(StyledBadge, { "data-ui": "Badge", ...restProps, $tone: tone, $radius: t4, padding: t5, ref, children: t6 }), $[10] = ref, $[11] = restProps, $[12] = t4, $[13] = t5, $[14] = t6, $[15] = tone, $[16] = t7) : t7 = $[16], t7;
1984
2015
  });
1985
2016
  Badge.displayName = "ForwardRef(Badge)";
1986
- const Root$v = styled(Box)(flexItemStyle, responsiveFlexStyle), Flex = forwardRef(function(props, ref) {
2017
+ const StyledFlex = /* @__PURE__ */ styled(Box).withConfig({
2018
+ displayName: "StyledFlex",
2019
+ componentId: "sc-oxesg3-0"
2020
+ })(flexItemStyle, responsiveFlexStyle), Flex = forwardRef(function(props, ref) {
1987
2021
  const $ = c(17);
1988
2022
  let align, as, gap, justify, restProps, t0, wrap;
1989
2023
  $[0] !== props ? ({
@@ -1997,7 +2031,7 @@ const Root$v = styled(Box)(flexItemStyle, responsiveFlexStyle), Flex = forwardRe
1997
2031
  } = props, $[0] = props, $[1] = align, $[2] = as, $[3] = gap, $[4] = justify, $[5] = restProps, $[6] = t0, $[7] = wrap) : (align = $[1], as = $[2], gap = $[3], justify = $[4], restProps = $[5], t0 = $[6], wrap = $[7]);
1998
2032
  const direction = t0 === void 0 ? "row" : t0, t1 = useArrayProp(align), t2 = useArrayProp(direction), t3 = useArrayProp(gap), t4 = useArrayProp(justify), t5 = useArrayProp(wrap);
1999
2033
  let t6;
2000
- return $[8] !== as || $[9] !== ref || $[10] !== restProps || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4 || $[15] !== t5 ? (t6 = /* @__PURE__ */ jsx(Root$v, { "data-ui": "Flex", ...restProps, $align: t1, $direction: t2, $gap: t3, $justify: t4, $wrap: t5, forwardedAs: as, ref }), $[8] = as, $[9] = ref, $[10] = restProps, $[11] = t1, $[12] = t2, $[13] = t3, $[14] = t4, $[15] = t5, $[16] = t6) : t6 = $[16], t6;
2034
+ return $[8] !== as || $[9] !== ref || $[10] !== restProps || $[11] !== t1 || $[12] !== t2 || $[13] !== t3 || $[14] !== t4 || $[15] !== t5 ? (t6 = /* @__PURE__ */ jsx(StyledFlex, { "data-ui": "Flex", ...restProps, $align: t1, $direction: t2, $gap: t3, $justify: t4, $wrap: t5, forwardedAs: as, ref }), $[8] = as, $[9] = ref, $[10] = restProps, $[11] = t1, $[12] = t2, $[13] = t3, $[14] = t4, $[15] = t5, $[16] = t6) : t6 = $[16], t6;
2001
2035
  });
2002
2036
  Flex.displayName = "ForwardRef(Flex)";
2003
2037
  const rotate$1 = keyframes`
@@ -2008,16 +2042,15 @@ const rotate$1 = keyframes`
2008
2042
  to {
2009
2043
  transform: rotate(360deg);
2010
2044
  }
2011
- `, Root$u = styled(Text)`
2012
- & > span > svg {
2013
- animation: ${rotate$1} 500ms linear infinite;
2014
- }
2015
- `, Spinner = forwardRef(function(props, ref) {
2045
+ `, StyledSpinner = styled(Text).withConfig({
2046
+ displayName: "StyledSpinner",
2047
+ componentId: "sc-124hnd0-0"
2048
+ })`& > span > svg{animation:${rotate$1} 500ms linear infinite;}`, Spinner = forwardRef(function(props, ref) {
2016
2049
  const $ = c(4);
2017
2050
  let t0;
2018
2051
  $[0] === Symbol.for("react.memo_cache_sentinel") ? (t0 = /* @__PURE__ */ jsx(SpinnerIcon, {}), $[0] = t0) : t0 = $[0];
2019
2052
  let t1;
2020
- return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(Root$u, { "data-ui": "Spinner", ...props, ref, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;
2053
+ return $[1] !== props || $[2] !== ref ? (t1 = /* @__PURE__ */ jsx(StyledSpinner, { "data-ui": "Spinner", ...props, ref, children: t0 }), $[1] = props, $[2] = ref, $[3] = t1) : t1 = $[3], t1;
2021
2054
  });
2022
2055
  Spinner.displayName = "ForwardRef(Spinner)";
2023
2056
  function _cardColorStyle(base, color, checkered = !1) {
@@ -2188,20 +2221,13 @@ function buttonColorStyles(props) {
2188
2221
  }
2189
2222
  }, style?.button?.root].filter(Boolean);
2190
2223
  }
2191
- const Root$t = styled.button(responsiveRadiusStyle, buttonBaseStyles, buttonColorStyles), LoadingBox = styled.div`
2192
- position: absolute;
2193
- top: 0;
2194
- left: 0;
2195
- right: 0;
2196
- bottom: 0;
2197
- display: flex;
2198
- align-items: center;
2199
- justify-content: center;
2200
- background-color: var(--card-bg-color);
2201
- border-radius: inherit;
2202
- z-index: 1;
2203
- box-shadow: inherit;
2204
- `, Button = forwardRef(function(props, ref) {
2224
+ const StyledButton = /* @__PURE__ */ styled.button.withConfig({
2225
+ displayName: "StyledButton",
2226
+ componentId: "sc-aaekt4-0"
2227
+ })(responsiveRadiusStyle, buttonBaseStyles, buttonColorStyles), LoadingBox = styled.div.withConfig({
2228
+ displayName: "LoadingBox",
2229
+ componentId: "sc-aaekt4-1"
2230
+ })`position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background-color:var(--card-bg-color);border-radius:inherit;z-index:1;box-shadow:inherit;`, Button = forwardRef(function(props, ref) {
2205
2231
  const $ = c(64);
2206
2232
  let IconComponent, IconRightComponent, children, disabled, loading, paddingBottomProp, paddingLeftProp, paddingRightProp, paddingTopProp, paddingXProp, paddingYProp, restProps, selected, t0, t1, t2, t3, t4, t5, t6, t7, t8, text, textAlign, width;
2207
2233
  $[0] !== props ? ({
@@ -2262,7 +2288,7 @@ const Root$t = styled.button(responsiveRadiusStyle, buttonBaseStyles, buttonColo
2262
2288
  let t16;
2263
2289
  $[47] !== boxProps || $[48] !== children ? (t16 = children && /* @__PURE__ */ jsx(Box, { as: "span", ...boxProps, children }), $[47] = boxProps, $[48] = children, $[49] = t16) : t16 = $[49];
2264
2290
  let t17;
2265
- return $[50] !== mode || $[51] !== radius || $[52] !== ref || $[53] !== restProps || $[54] !== t11 || $[55] !== t12 || $[56] !== t13 || $[57] !== t14 || $[58] !== t15 || $[59] !== t16 || $[60] !== tone || $[61] !== type || $[62] !== width ? (t17 = /* @__PURE__ */ jsxs(Root$t, { "data-ui": "Button", ...restProps, $mode: mode, $radius: radius, $tone: tone, "data-disabled": t11, "data-selected": t12, disabled: t13, ref, type, $width: width, children: [
2291
+ return $[50] !== mode || $[51] !== radius || $[52] !== ref || $[53] !== restProps || $[54] !== t11 || $[55] !== t12 || $[56] !== t13 || $[57] !== t14 || $[58] !== t15 || $[59] !== t16 || $[60] !== tone || $[61] !== type || $[62] !== width ? (t17 = /* @__PURE__ */ jsxs(StyledButton, { "data-ui": "Button", ...restProps, $mode: mode, $radius: radius, $tone: tone, "data-disabled": t11, "data-selected": t12, disabled: t13, ref, type, $width: width, children: [
2266
2292
  t14,
2267
2293
  t15,
2268
2294
  t16
@@ -2417,7 +2443,10 @@ function cardColorStyle(props) {
2417
2443
  ${style?.card?.root}
2418
2444
  `;
2419
2445
  }
2420
- const Root$s = styled(Box)(responsiveBorderStyle, responsiveRadiusStyle, responsiveShadowStyle, cardStyle), Card = forwardRef(function(props, ref) {
2446
+ const StyledCard = /* @__PURE__ */ styled(Box).withConfig({
2447
+ displayName: "StyledCard",
2448
+ componentId: "sc-osnro2-0"
2449
+ })(responsiveBorderStyle, responsiveRadiusStyle, responsiveShadowStyle, cardStyle), Card = forwardRef(function(props, ref) {
2421
2450
  const $ = c(42);
2422
2451
  let asProp, border2, borderBottom2, borderLeft2, borderRight2, borderTop2, muted, pressed, restProps, scheme, selected, shadow, t0, t1, t2, t3;
2423
2452
  $[0] !== props ? ({
@@ -2440,7 +2469,7 @@ const Root$s = styled(Box)(responsiveBorderStyle, responsiveRadiusStyle, respons
2440
2469
  } = props, $[0] = props, $[1] = asProp, $[2] = border2, $[3] = borderBottom2, $[4] = borderLeft2, $[5] = borderRight2, $[6] = borderTop2, $[7] = muted, $[8] = pressed, $[9] = restProps, $[10] = scheme, $[11] = selected, $[12] = shadow, $[13] = t0, $[14] = t1, $[15] = t2, $[16] = t3) : (asProp = $[1], border2 = $[2], borderBottom2 = $[3], borderLeft2 = $[4], borderRight2 = $[5], borderTop2 = $[6], muted = $[7], pressed = $[8], restProps = $[9], scheme = $[10], selected = $[11], shadow = $[12], t0 = $[13], t1 = $[14], t2 = $[15], t3 = $[16]);
2441
2470
  const checkered = t0 === void 0 ? !1 : t0, focusRing = t1 === void 0 ? !1 : t1, radius = t2 === void 0 ? 0 : t2, toneProp = t3 === void 0 ? "default" : t3, as = isValidElementType(asProp) ? asProp : "div", rootTheme = useRootTheme(), tone = toneProp === "inherit" ? rootTheme.tone : toneProp, t4 = typeof as == "string" ? as : void 0, t5 = rootTheme.scheme, t6 = useArrayProp(border2), t7 = useArrayProp(borderTop2), t8 = useArrayProp(borderRight2), t9 = useArrayProp(borderBottom2), t10 = useArrayProp(borderLeft2), t11 = useArrayProp(radius), t12 = useArrayProp(shadow), t13 = checkered ? "" : void 0, t14 = pressed ? "" : void 0, t15 = selected ? "" : void 0;
2442
2471
  let t16;
2443
- $[17] !== as || $[18] !== checkered || $[19] !== focusRing || $[20] !== muted || $[21] !== ref || $[22] !== restProps || $[23] !== rootTheme.scheme || $[24] !== selected || $[25] !== t10 || $[26] !== t11 || $[27] !== t12 || $[28] !== t13 || $[29] !== t14 || $[30] !== t15 || $[31] !== t4 || $[32] !== t6 || $[33] !== t7 || $[34] !== t8 || $[35] !== t9 || $[36] !== tone ? (t16 = /* @__PURE__ */ jsx(Root$s, { "data-as": t4, "data-scheme": t5, "data-ui": "Card", "data-tone": tone, ...restProps, $border: t6, $borderTop: t7, $borderRight: t8, $borderBottom: t9, $borderLeft: t10, $checkered: checkered, $focusRing: focusRing, $muted: muted, $radius: t11, $shadow: t12, $tone: tone, "data-checkered": t13, "data-pressed": t14, "data-selected": t15, forwardedAs: as, ref, selected }), $[17] = as, $[18] = checkered, $[19] = focusRing, $[20] = muted, $[21] = ref, $[22] = restProps, $[23] = rootTheme.scheme, $[24] = selected, $[25] = t10, $[26] = t11, $[27] = t12, $[28] = t13, $[29] = t14, $[30] = t15, $[31] = t4, $[32] = t6, $[33] = t7, $[34] = t8, $[35] = t9, $[36] = tone, $[37] = t16) : t16 = $[37];
2472
+ $[17] !== as || $[18] !== checkered || $[19] !== focusRing || $[20] !== muted || $[21] !== ref || $[22] !== restProps || $[23] !== rootTheme.scheme || $[24] !== selected || $[25] !== t10 || $[26] !== t11 || $[27] !== t12 || $[28] !== t13 || $[29] !== t14 || $[30] !== t15 || $[31] !== t4 || $[32] !== t6 || $[33] !== t7 || $[34] !== t8 || $[35] !== t9 || $[36] !== tone ? (t16 = /* @__PURE__ */ jsx(StyledCard, { "data-as": t4, "data-scheme": t5, "data-ui": "Card", "data-tone": tone, ...restProps, $border: t6, $borderTop: t7, $borderRight: t8, $borderBottom: t9, $borderLeft: t10, $checkered: checkered, $focusRing: focusRing, $muted: muted, $radius: t11, $shadow: t12, $tone: tone, "data-checkered": t13, "data-pressed": t14, "data-selected": t15, forwardedAs: as, ref, selected }), $[17] = as, $[18] = checkered, $[19] = focusRing, $[20] = muted, $[21] = ref, $[22] = restProps, $[23] = rootTheme.scheme, $[24] = selected, $[25] = t10, $[26] = t11, $[27] = t12, $[28] = t13, $[29] = t14, $[30] = t15, $[31] = t4, $[32] = t6, $[33] = t7, $[34] = t8, $[35] = t9, $[36] = tone, $[37] = t16) : t16 = $[37];
2444
2473
  let t17;
2445
2474
  return $[38] !== scheme || $[39] !== t16 || $[40] !== tone ? (t17 = /* @__PURE__ */ jsx(ThemeColorProvider, { scheme, tone, children: t16 }), $[38] = scheme, $[39] = t16, $[40] = tone, $[41] = t17) : t17 = $[41], t17;
2446
2475
  });
@@ -2583,7 +2612,13 @@ function inputElementStyles(props) {
2583
2612
  }
2584
2613
  `;
2585
2614
  }
2586
- const Root$r = styled.div(checkboxBaseStyles), Input$5 = styled.input(inputElementStyles), Checkbox = forwardRef(function(props, forwardedRef) {
2615
+ const StyledCheckbox = /* @__PURE__ */ styled.div.withConfig({
2616
+ displayName: "StyledCheckbox",
2617
+ componentId: "sc-1l5mt2l-0"
2618
+ })(checkboxBaseStyles), Input$5 = /* @__PURE__ */ styled.input.withConfig({
2619
+ displayName: "Input",
2620
+ componentId: "sc-1l5mt2l-1"
2621
+ })(inputElementStyles), Checkbox = forwardRef(function(props, forwardedRef) {
2587
2622
  const $ = c(25);
2588
2623
  let checked, className, customValidity, disabled, indeterminate, readOnly, restProps, style;
2589
2624
  $[0] !== props ? ({
@@ -2612,7 +2647,7 @@ const Root$r = styled.div(checkboxBaseStyles), Input$5 = styled.input(inputEleme
2612
2647
  /* @__PURE__ */ jsx(RemoveIcon, {})
2613
2648
  ] }), $[20] = t7) : t7 = $[20];
2614
2649
  let t8;
2615
- return $[21] !== className || $[22] !== style || $[23] !== t6 ? (t8 = /* @__PURE__ */ jsxs(Root$r, { className, "data-ui": "Checkbox", style, children: [
2650
+ return $[21] !== className || $[22] !== style || $[23] !== t6 ? (t8 = /* @__PURE__ */ jsxs(StyledCheckbox, { className, "data-ui": "Checkbox", style, children: [
2616
2651
  t6,
2617
2652
  t7
2618
2653
  ] }), $[21] = className, $[22] = style, $[23] = t6, $[24] = t8) : t8 = $[24], t8;
@@ -2766,7 +2801,10 @@ function codeBaseStyle() {
2766
2801
  }
2767
2802
  `;
2768
2803
  }
2769
- const Root$q = styled.pre(codeBaseStyle, responsiveCodeFontStyle), Code = forwardRef(function(props, ref) {
2804
+ const StyledCode = /* @__PURE__ */ styled.pre.withConfig({
2805
+ displayName: "StyledCode",
2806
+ componentId: "sc-4dymyn-0"
2807
+ })(codeBaseStyle, responsiveCodeFontStyle), Code = forwardRef(function(props, ref) {
2770
2808
  const $ = c(23);
2771
2809
  let children, languageProp, restProps, t0, weight;
2772
2810
  $[0] !== props ? ({
@@ -2785,7 +2823,7 @@ const Root$q = styled.pre(codeBaseStyle, responsiveCodeFontStyle), Code = forwar
2785
2823
  let t4;
2786
2824
  $[12] !== children || $[13] !== language || $[14] !== registered ? (t4 = language && registered && /* @__PURE__ */ jsx(Refractor, { inline: !0, language, value: String(children) }), $[12] = children, $[13] = language, $[14] = registered, $[15] = t4) : t4 = $[15];
2787
2825
  let t5;
2788
- return $[16] !== ref || $[17] !== restProps || $[18] !== t2 || $[19] !== t3 || $[20] !== t4 || $[21] !== weight ? (t5 = /* @__PURE__ */ jsxs(Root$q, { "data-ui": "Code", ...restProps, $size: t2, $weight: weight, ref, children: [
2826
+ return $[16] !== ref || $[17] !== restProps || $[18] !== t2 || $[19] !== t3 || $[20] !== t4 || $[21] !== weight ? (t5 = /* @__PURE__ */ jsxs(StyledCode, { "data-ui": "Code", ...restProps, $size: t2, $weight: weight, ref, children: [
2789
2827
  t3,
2790
2828
  t4
2791
2829
  ] }), $[16] = ref, $[17] = restProps, $[18] = t2, $[19] = t3, $[20] = t4, $[21] = weight, $[22] = t5) : t5 = $[22], t5;
@@ -2807,7 +2845,10 @@ function responsiveContainerWidthStyle(props) {
2807
2845
  maxWidth: val === "auto" ? "none" : rem(container[val])
2808
2846
  }));
2809
2847
  }
2810
- const Root$p = styled(Box)(containerBaseStyle, responsiveContainerWidthStyle), Container = forwardRef(function(props, ref) {
2848
+ const StyledContainer = /* @__PURE__ */ styled(Box).withConfig({
2849
+ displayName: "StyledContainer",
2850
+ componentId: "sc-wyroop-0"
2851
+ })(containerBaseStyle, responsiveContainerWidthStyle), Container = forwardRef(function(props, ref) {
2811
2852
  const $ = c(9);
2812
2853
  let as, restProps, t0;
2813
2854
  $[0] !== props ? ({
@@ -2817,10 +2858,13 @@ const Root$p = styled(Box)(containerBaseStyle, responsiveContainerWidthStyle), C
2817
2858
  } = props, $[0] = props, $[1] = as, $[2] = restProps, $[3] = t0) : (as = $[1], restProps = $[2], t0 = $[3]);
2818
2859
  const t1 = useArrayProp(t0 === void 0 ? 2 : t0);
2819
2860
  let t2;
2820
- return $[4] !== as || $[5] !== ref || $[6] !== restProps || $[7] !== t1 ? (t2 = /* @__PURE__ */ jsx(Root$p, { "data-ui": "Container", ...restProps, $width: t1, forwardedAs: as, ref }), $[4] = as, $[5] = ref, $[6] = restProps, $[7] = t1, $[8] = t2) : t2 = $[8], t2;
2861
+ return $[4] !== as || $[5] !== ref || $[6] !== restProps || $[7] !== t1 ? (t2 = /* @__PURE__ */ jsx(StyledContainer, { "data-ui": "Container", ...restProps, $width: t1, forwardedAs: as, ref }), $[4] = as, $[5] = ref, $[6] = restProps, $[7] = t1, $[8] = t2) : t2 = $[8], t2;
2821
2862
  });
2822
2863
  Container.displayName = "ForwardRef(Container)";
2823
- const Root$o = styled(Box)(responsiveGridStyle), Grid = forwardRef(function(props, ref) {
2864
+ const StyledGrid = /* @__PURE__ */ styled(Box).withConfig({
2865
+ displayName: "StyledGrid",
2866
+ componentId: "sc-v8t8oz-0"
2867
+ })(responsiveGridStyle), Grid = forwardRef(function(props, ref) {
2824
2868
  const $ = c(26);
2825
2869
  let as, autoCols, autoFlow, autoRows, children, columns, gap, gapX, gapY, restProps, rows;
2826
2870
  $[0] !== props ? ({
@@ -2838,7 +2882,7 @@ const Root$o = styled(Box)(responsiveGridStyle), Grid = forwardRef(function(prop
2838
2882
  } = props, $[0] = props, $[1] = as, $[2] = autoCols, $[3] = autoFlow, $[4] = autoRows, $[5] = children, $[6] = columns, $[7] = gap, $[8] = gapX, $[9] = gapY, $[10] = restProps, $[11] = rows) : (as = $[1], autoCols = $[2], autoFlow = $[3], autoRows = $[4], children = $[5], columns = $[6], gap = $[7], gapX = $[8], gapY = $[9], restProps = $[10], rows = $[11]);
2839
2883
  const t0 = typeof as == "string" ? as : void 0, t1 = useArrayProp(autoRows), t2 = useArrayProp(autoCols), t3 = useArrayProp(autoFlow), t4 = useArrayProp(columns), t5 = useArrayProp(gap), t6 = useArrayProp(gapX), t7 = useArrayProp(gapY), t8 = useArrayProp(rows);
2840
2884
  let t9;
2841
- return $[12] !== as || $[13] !== children || $[14] !== ref || $[15] !== restProps || $[16] !== t0 || $[17] !== t1 || $[18] !== t2 || $[19] !== t3 || $[20] !== t4 || $[21] !== t5 || $[22] !== t6 || $[23] !== t7 || $[24] !== t8 ? (t9 = /* @__PURE__ */ jsx(Root$o, { "data-as": t0, "data-ui": "Grid", ...restProps, $autoRows: t1, $autoCols: t2, $autoFlow: t3, $columns: t4, $gap: t5, $gapX: t6, $gapY: t7, $rows: t8, forwardedAs: as, ref, children }), $[12] = as, $[13] = children, $[14] = ref, $[15] = restProps, $[16] = t0, $[17] = t1, $[18] = t2, $[19] = t3, $[20] = t4, $[21] = t5, $[22] = t6, $[23] = t7, $[24] = t8, $[25] = t9) : t9 = $[25], t9;
2885
+ return $[12] !== as || $[13] !== children || $[14] !== ref || $[15] !== restProps || $[16] !== t0 || $[17] !== t1 || $[18] !== t2 || $[19] !== t3 || $[20] !== t4 || $[21] !== t5 || $[22] !== t6 || $[23] !== t7 || $[24] !== t8 ? (t9 = /* @__PURE__ */ jsx(StyledGrid, { "data-as": t0, "data-ui": "Grid", ...restProps, $autoRows: t1, $autoCols: t2, $autoFlow: t3, $columns: t4, $gap: t5, $gapX: t6, $gapY: t7, $rows: t8, forwardedAs: as, ref, children }), $[12] = as, $[13] = children, $[14] = ref, $[15] = restProps, $[16] = t0, $[17] = t1, $[18] = t2, $[19] = t3, $[20] = t4, $[21] = t5, $[22] = t6, $[23] = t7, $[24] = t8, $[25] = t9) : t9 = $[25], t9;
2842
2886
  });
2843
2887
  Grid.displayName = "ForwardRef(Grid)";
2844
2888
  function headingBaseStyle(props) {
@@ -2900,13 +2944,10 @@ function headingBaseStyle(props) {
2900
2944
  }
2901
2945
  `;
2902
2946
  }
2903
- const Root$n = styled.div(headingBaseStyle, responsiveTextAlignStyle, responsiveHeadingFont), SpanWithTextOverflow = styled.span`
2904
- display: block;
2905
- white-space: nowrap;
2906
- text-overflow: ellipsis;
2907
- overflow: hidden;
2908
- overflow: clip;
2909
- `, Heading = forwardRef(function(props, ref) {
2947
+ const StyledHeading = /* @__PURE__ */ styled.div.withConfig({
2948
+ displayName: "StyledHeading",
2949
+ componentId: "sc-137lwim-0"
2950
+ })(headingBaseStyle, responsiveTextAlignStyle, responsiveHeadingFont), Heading = forwardRef(function(props, ref) {
2910
2951
  const $ = c(22);
2911
2952
  let align, childrenProp, restProps, t0, t1, t2, textOverflow, weight;
2912
2953
  $[0] !== props ? ({
@@ -2929,7 +2970,7 @@ const Root$n = styled.div(headingBaseStyle, responsiveTextAlignStyle, responsive
2929
2970
  let t5;
2930
2971
  $[11] !== children ? (t5 = /* @__PURE__ */ jsx("span", { children }), $[11] = children, $[12] = t5) : t5 = $[12];
2931
2972
  let t6;
2932
- return $[13] !== accent || $[14] !== muted || $[15] !== ref || $[16] !== restProps || $[17] !== t3 || $[18] !== t4 || $[19] !== t5 || $[20] !== weight ? (t6 = /* @__PURE__ */ jsx(Root$n, { "data-ui": "Heading", ...restProps, $accent: accent, $align: t3, $muted: muted, $size: t4, $weight: weight, ref, children: t5 }), $[13] = accent, $[14] = muted, $[15] = ref, $[16] = restProps, $[17] = t3, $[18] = t4, $[19] = t5, $[20] = weight, $[21] = t6) : t6 = $[21], t6;
2973
+ return $[13] !== accent || $[14] !== muted || $[15] !== ref || $[16] !== restProps || $[17] !== t3 || $[18] !== t4 || $[19] !== t5 || $[20] !== weight ? (t6 = /* @__PURE__ */ jsx(StyledHeading, { "data-ui": "Heading", ...restProps, $accent: accent, $align: t3, $muted: muted, $size: t4, $weight: weight, ref, children: t5 }), $[13] = accent, $[14] = muted, $[15] = ref, $[16] = restProps, $[17] = t3, $[18] = t4, $[19] = t5, $[20] = weight, $[21] = t6) : t6 = $[21], t6;
2933
2974
  });
2934
2975
  Heading.displayName = "ForwardRef(Heading)";
2935
2976
  function inlineBaseStyle() {
@@ -2959,7 +3000,10 @@ function inlineSpaceStyle(props) {
2959
3000
  };
2960
3001
  });
2961
3002
  }
2962
- const Root$m = styled(Box)(inlineBaseStyle, inlineSpaceStyle), Inline = forwardRef(function(props, ref) {
3003
+ const StyledInline = /* @__PURE__ */ styled(Box).withConfig({
3004
+ displayName: "StyledInline",
3005
+ componentId: "sc-1pkiy6j-0"
3006
+ })(inlineBaseStyle, inlineSpaceStyle), Inline = forwardRef(function(props, ref) {
2963
3007
  const $ = c(12);
2964
3008
  let as, childrenProp, restProps, space;
2965
3009
  $[0] !== props ? ({
@@ -2972,7 +3016,7 @@ const Root$m = styled(Box)(inlineBaseStyle, inlineSpaceStyle), Inline = forwardR
2972
3016
  $[5] !== childrenProp ? (t1 = Children.map(childrenProp, _temp$6), $[5] = childrenProp, $[6] = t1) : t1 = $[6], t0 = t1;
2973
3017
  const children = t0, t2 = useArrayProp(space);
2974
3018
  let t3;
2975
- return $[7] !== as || $[8] !== children || $[9] !== restProps || $[10] !== t2 ? (t3 = /* @__PURE__ */ jsx(Root$m, { "data-ui": "Inline", ...restProps, $space: t2, forwardedAs: as, ref, children }), $[7] = as, $[8] = children, $[9] = restProps, $[10] = t2, $[11] = t3) : t3 = $[11], t3;
3019
+ return $[7] !== as || $[8] !== children || $[9] !== restProps || $[10] !== t2 ? (t3 = /* @__PURE__ */ jsx(StyledInline, { "data-ui": "Inline", ...restProps, $space: t2, forwardedAs: as, ref, children }), $[7] = as, $[8] = children, $[9] = restProps, $[10] = t2, $[11] = t3) : t3 = $[11], t3;
2976
3020
  });
2977
3021
  Inline.displayName = "ForwardRef(Inline)";
2978
3022
  function _temp$6(child) {
@@ -2995,7 +3039,10 @@ function kbdStyle() {
2995
3039
  }
2996
3040
  `;
2997
3041
  }
2998
- const Root$l = styled.kbd(responsiveRadiusStyle, kbdStyle), KBD = forwardRef(function(props, ref) {
3042
+ const StyledKBD = /* @__PURE__ */ styled.kbd.withConfig({
3043
+ displayName: "StyledKBD",
3044
+ componentId: "sc-1w7yd8w-0"
3045
+ })(responsiveRadiusStyle, kbdStyle), KBD = forwardRef(function(props, ref) {
2999
3046
  const $ = c(17);
3000
3047
  let children, restProps, t0, t1, t2;
3001
3048
  $[0] !== props ? ({
@@ -3011,7 +3058,7 @@ const Root$l = styled.kbd(responsiveRadiusStyle, kbdStyle), KBD = forwardRef(fun
3011
3058
  let t5;
3012
3059
  $[9] !== padding || $[10] !== t4 ? (t5 = /* @__PURE__ */ jsx(Box, { as: "span", padding, children: t4 }), $[9] = padding, $[10] = t4, $[11] = t5) : t5 = $[11];
3013
3060
  let t6;
3014
- return $[12] !== ref || $[13] !== restProps || $[14] !== t3 || $[15] !== t5 ? (t6 = /* @__PURE__ */ jsx(Root$l, { "data-ui": "KBD", ...restProps, $radius: t3, ref, children: t5 }), $[12] = ref, $[13] = restProps, $[14] = t3, $[15] = t5, $[16] = t6) : t6 = $[16], t6;
3061
+ return $[12] !== ref || $[13] !== restProps || $[14] !== t3 || $[15] !== t5 ? (t6 = /* @__PURE__ */ jsx(StyledKBD, { "data-ui": "KBD", ...restProps, $radius: t3, ref, children: t5 }), $[12] = ref, $[13] = restProps, $[14] = t3, $[15] = t5, $[16] = t6) : t6 = $[16], t6;
3015
3062
  });
3016
3063
  KBD.displayName = "ForwardRef(KBD)";
3017
3064
  const origin = {
@@ -3081,7 +3128,10 @@ function getRoundedCommands(points) {
3081
3128
  function compileCommands(cmds) {
3082
3129
  return cmds.map((n, idx) => n.type === "point" ? `${idx === 0 ? "M" : "L"} ${n.x} ${n.y}` : n.type === "curve" ? `C ${n.startControl.x} ${n.startControl.y} ${n.endControl.x} ${n.endControl.y} ${n.curveEnd.x} ${n.curveEnd.y}` : "").join(" ");
3083
3130
  }
3084
- const Root$k = styled.div(({
3131
+ const StyledArrow = /* @__PURE__ */ styled.div.withConfig({
3132
+ displayName: "StyledArrow",
3133
+ componentId: "sc-12vzy6c-0"
3134
+ })(({
3085
3135
  $w: w
3086
3136
  }) => css`
3087
3137
  position: absolute;
@@ -3129,11 +3179,13 @@ const Root$k = styled.div(({
3129
3179
  transform: rotate(180deg);
3130
3180
  }
3131
3181
  }
3132
- `), StrokePath = styled.path`
3133
- stroke: var(--card-shadow-outline-color);
3134
- `, ShapePath = styled.path`
3135
- fill: var(--card-bg-color);
3136
- `, Arrow = forwardRef(function(props, ref) {
3182
+ `), StrokePath = styled.path.withConfig({
3183
+ displayName: "StrokePath",
3184
+ componentId: "sc-12vzy6c-1"
3185
+ })`stroke:var(--card-shadow-outline-color);`, ShapePath = styled.path.withConfig({
3186
+ displayName: "ShapePath",
3187
+ componentId: "sc-12vzy6c-2"
3188
+ })`fill:var(--card-bg-color);`, Arrow = forwardRef(function(props, ref) {
3137
3189
  const $ = c(24);
3138
3190
  let h, restProps, t0, w;
3139
3191
  $[0] !== props ? ({
@@ -3177,7 +3229,7 @@ const Root$k = styled.div(({
3177
3229
  t5
3178
3230
  ] }), $[13] = t1, $[14] = t2, $[15] = t4, $[16] = t5, $[17] = w, $[18] = t6) : t6 = $[18];
3179
3231
  let t7;
3180
- return $[19] !== ref || $[20] !== restProps || $[21] !== t6 || $[22] !== w ? (t7 = /* @__PURE__ */ jsx(Root$k, { ...restProps, $w: w, ref, children: t6 }), $[19] = ref, $[20] = restProps, $[21] = t6, $[22] = w, $[23] = t7) : t7 = $[23], t7;
3232
+ return $[19] !== ref || $[20] !== restProps || $[21] !== t6 || $[22] !== w ? (t7 = /* @__PURE__ */ jsx(StyledArrow, { ...restProps, $w: w, ref, children: t6 }), $[19] = ref, $[20] = restProps, $[21] = t6, $[22] = w, $[23] = t7) : t7 = $[23], t7;
3181
3233
  });
3182
3234
  Arrow.displayName = "ForwardRef(Arrow)";
3183
3235
  const BoundaryElementContext = createGlobalScopedContext("@sanity/ui/context/boundaryElement", null);
@@ -3438,7 +3490,10 @@ function _temp$5(v) {
3438
3490
  return v + 1;
3439
3491
  }
3440
3492
  LayerProvider.displayName = "LayerProvider";
3441
- const Root$j = styled.div({
3493
+ const StyledLayer = /* @__PURE__ */ styled.div.withConfig({
3494
+ displayName: "StyledLayer",
3495
+ componentId: "sc-16kojrv-0"
3496
+ })({
3442
3497
  position: "relative"
3443
3498
  }), LayerChildren = forwardRef(function(props, forwardedRef) {
3444
3499
  const $ = c(22);
@@ -3475,7 +3530,7 @@ const Root$j = styled.div({
3475
3530
  zIndex
3476
3531
  }, $[14] = style, $[15] = zIndex, $[16] = t5) : t5 = $[16];
3477
3532
  let t6;
3478
- return $[17] !== children || $[18] !== handleFocus || $[19] !== restProps || $[20] !== t5 ? (t6 = /* @__PURE__ */ jsx(Root$j, { ...restProps, "data-ui": "Layer", onFocus: handleFocus, ref, style: t5, children }), $[17] = children, $[18] = handleFocus, $[19] = restProps, $[20] = t5, $[21] = t6) : t6 = $[21], t6;
3533
+ return $[17] !== children || $[18] !== handleFocus || $[19] !== restProps || $[20] !== t5 ? (t6 = /* @__PURE__ */ jsx(StyledLayer, { ...restProps, "data-ui": "Layer", onFocus: handleFocus, ref, style: t5, children }), $[17] = children, $[18] = handleFocus, $[19] = restProps, $[20] = t5, $[21] = t6) : t6 = $[21], t6;
3479
3534
  }), Layer = forwardRef(function(props, ref) {
3480
3535
  const $ = c(11);
3481
3536
  let children, restProps, t0;
@@ -3558,29 +3613,25 @@ function _isEqual(objA, objB) {
3558
3613
  const keysA = Object.keys(objA), keysB = Object.keys(objB);
3559
3614
  return keysA.length !== keysB.length ? !1 : keysA.every((key2) => objA[key2] === objB[key2]);
3560
3615
  }
3561
- const Root$i = styled.div`
3562
- display: block;
3563
- width: 0;
3564
- height: 0;
3565
- position: absolute;
3566
- overflow: hidden;
3567
- overflow: clip;
3568
- `, SrOnly = forwardRef(function(props, ref) {
3616
+ const StyledSrOnly = styled.div.withConfig({
3617
+ displayName: "StyledSrOnly",
3618
+ componentId: "sc-mubr0c-0"
3619
+ })`display:block;width:0;height:0;position:absolute;overflow:hidden;overflow:clip;`, SrOnly = forwardRef(function(props, ref) {
3569
3620
  const $ = c(4), {
3570
3621
  as,
3571
3622
  children
3572
3623
  } = props;
3573
3624
  let t0;
3574
- return $[0] !== as || $[1] !== children || $[2] !== ref ? (t0 = /* @__PURE__ */ jsx(Root$i, { "aria-hidden": !0, as, "data-ui": "SrOnly", ref, children }), $[0] = as, $[1] = children, $[2] = ref, $[3] = t0) : t0 = $[3], t0;
3625
+ return $[0] !== as || $[1] !== children || $[2] !== ref ? (t0 = /* @__PURE__ */ jsx(StyledSrOnly, { "aria-hidden": !0, as, "data-ui": "SrOnly", ref, children }), $[0] = as, $[1] = children, $[2] = ref, $[3] = t0) : t0 = $[3], t0;
3575
3626
  });
3576
3627
  SrOnly.displayName = "ForwardRef(SrOnly)";
3577
- const Root$h = styled.div`
3578
- position: relative;
3579
- `, ItemWrapper = styled.div`
3580
- position: absolute;
3581
- left: 0;
3582
- right: 0;
3583
- `, VirtualList = forwardRef(function(props, forwardedRef) {
3628
+ const StyledVirtualList = styled.div.withConfig({
3629
+ displayName: "StyledVirtualList",
3630
+ componentId: "sc-dlqsj4-0"
3631
+ })`position:relative;`, ItemWrapper = styled.div.withConfig({
3632
+ displayName: "ItemWrapper",
3633
+ componentId: "sc-dlqsj4-1"
3634
+ })`position:absolute;left:0;right:0;`, VirtualList = forwardRef(function(props, forwardedRef) {
3584
3635
  const $ = c(56);
3585
3636
  let getItemKey, onChange, renderItem, restProps, t0, t1, t2;
3586
3637
  $[0] !== props ? ({
@@ -3692,7 +3743,7 @@ const Root$h = styled.div`
3692
3743
  let t14;
3693
3744
  $[49] !== children || $[50] !== wrapperStyle ? (t14 = /* @__PURE__ */ jsx("div", { ref: wrapperRef, style: wrapperStyle, children }), $[49] = children, $[50] = wrapperStyle, $[51] = t14) : t14 = $[51];
3694
3745
  let t15;
3695
- return $[52] !== as || $[53] !== restProps || $[54] !== t14 ? (t15 = /* @__PURE__ */ jsx(Root$h, { as, "data-ui": "VirtualList", ...restProps, ref, children: t14 }), $[52] = as, $[53] = restProps, $[54] = t14, $[55] = t15) : t15 = $[55], t15;
3746
+ return $[52] !== as || $[53] !== restProps || $[54] !== t14 ? (t15 = /* @__PURE__ */ jsx(StyledVirtualList, { as, "data-ui": "VirtualList", ...restProps, ref, children: t14 }), $[52] = as, $[53] = restProps, $[54] = t14, $[55] = t15) : t15 = $[55], t15;
3696
3747
  });
3697
3748
  VirtualList.displayName = "ForwardRef(VirtualList)";
3698
3749
  const DEFAULT_POPOVER_DISTANCE = 4, DEFAULT_POPOVER_PADDING = 4, DEFAULT_POPOVER_ARROW_WIDTH = 19, DEFAULT_POPOVER_ARROW_HEIGHT = 8, DEFAULT_POPOVER_ARROW_RADIUS = 2, DEFAULT_POPOVER_MARGINS = [0, 0, 0, 0], DEFAULT_FALLBACK_PLACEMENTS$1 = {
@@ -3766,18 +3817,10 @@ function calcMaxWidth(params) {
3766
3817
  if (!(currentWidth === void 0 && boundaryWidth === void 0))
3767
3818
  return Math.min(currentWidth ?? 1 / 0, (boundaryWidth || 1 / 0) - DEFAULT_POPOVER_PADDING * 2);
3768
3819
  }
3769
- const MotionCard$1 = styled(motion.create(Card))`
3770
- &:not([hidden]) {
3771
- display: flex;
3772
- }
3773
- flex-direction: column;
3774
- width: max-content;
3775
- min-width: min-content;
3776
- & > * {
3777
- opacity: var(${POPOVER_MOTION_CONTENT_OPACITY_PROPERTY}, 1);
3778
- will-change: opacity;
3779
- }
3780
- `, PopoverCard = memo(forwardRef(function(props, ref) {
3820
+ const MotionCard$1 = styled(motion.create(Card)).withConfig({
3821
+ displayName: "MotionCard",
3822
+ componentId: "sc-ihg31s-0"
3823
+ })`&:not([hidden]){display:flex;}flex-direction:column;width:max-content;min-width:min-content;& > *{opacity:var(${POPOVER_MOTION_CONTENT_OPACITY_PROPERTY},1);will-change:opacity;}`, PopoverCard = memo(forwardRef(function(props, ref) {
3781
3824
  const $ = c(60);
3782
3825
  let animate, arrow2, arrowRef, arrowX, arrowY, children, marginsProp, originX, originY, overflow, padding, placement, radius, restProps, scheme, shadow, strategy, style, tone, width, xProp, yProp;
3783
3826
  $[0] !== props ? ({
@@ -4100,7 +4143,13 @@ function inputElementStyle(props) {
4100
4143
  }
4101
4144
  `;
4102
4145
  }
4103
- const Root$g = styled.div(radioBaseStyle), Input$4 = styled.input(inputElementStyle), Radio = forwardRef(function(props, forwardedRef) {
4146
+ const StyledRadio = /* @__PURE__ */ styled.div.withConfig({
4147
+ displayName: "StyledRadio",
4148
+ componentId: "sc-ccrwkf-0"
4149
+ })(radioBaseStyle), Input$4 = /* @__PURE__ */ styled.input.withConfig({
4150
+ displayName: "Input",
4151
+ componentId: "sc-ccrwkf-1"
4152
+ })(inputElementStyle), Radio = forwardRef(function(props, forwardedRef) {
4104
4153
  const $ = c(19);
4105
4154
  let className, customValidity, disabled, readOnly, restProps, style;
4106
4155
  $[0] !== props ? ({
@@ -4120,7 +4169,7 @@ const Root$g = styled.div(radioBaseStyle), Input$4 = styled.input(inputElementSt
4120
4169
  let t5;
4121
4170
  $[14] === Symbol.for("react.memo_cache_sentinel") ? (t5 = /* @__PURE__ */ jsx("span", {}), $[14] = t5) : t5 = $[14];
4122
4171
  let t6;
4123
- return $[15] !== className || $[16] !== style || $[17] !== t4 ? (t6 = /* @__PURE__ */ jsxs(Root$g, { className, "data-ui": "Radio", style, children: [
4172
+ return $[15] !== className || $[16] !== style || $[17] !== t4 ? (t6 = /* @__PURE__ */ jsxs(StyledRadio, { className, "data-ui": "Radio", style, children: [
4124
4173
  t4,
4125
4174
  t5
4126
4175
  ] }), $[15] = className, $[16] = style, $[17] = t4, $[18] = t6) : t6 = $[18], t6;
@@ -4268,7 +4317,16 @@ const selectStyle = {
4268
4317
  root: rootStyle,
4269
4318
  input: inputStyle,
4270
4319
  iconBox: iconBoxStyle
4271
- }, Root$f = styled.div(selectStyle.root), Input$3 = styled.select(selectStyle.input), IconBox = styled(Box)(selectStyle.iconBox), Select = forwardRef(function(props, forwardedRef) {
4320
+ }, StyledSelect = /* @__PURE__ */ styled.div.withConfig({
4321
+ displayName: "StyledSelect",
4322
+ componentId: "sc-5mxno7-0"
4323
+ })(selectStyle.root), Input$3 = /* @__PURE__ */ styled.select.withConfig({
4324
+ displayName: "Input",
4325
+ componentId: "sc-5mxno7-1"
4326
+ })(selectStyle.input), IconBox = /* @__PURE__ */ styled(Box).withConfig({
4327
+ displayName: "IconBox",
4328
+ componentId: "sc-5mxno7-2"
4329
+ })(selectStyle.iconBox), Select = forwardRef(function(props, forwardedRef) {
4272
4330
  const $ = c(29);
4273
4331
  let children, customValidity, disabled, readOnly, restProps, t0, t1, t2, t3;
4274
4332
  $[0] !== props ? ({
@@ -4295,7 +4353,7 @@ const selectStyle = {
4295
4353
  let t14;
4296
4354
  $[23] !== padding || $[24] !== t13 ? (t14 = /* @__PURE__ */ jsx(IconBox, { padding, children: t13 }), $[23] = padding, $[24] = t13, $[25] = t14) : t14 = $[25];
4297
4355
  let t15;
4298
- return $[26] !== t11 || $[27] !== t14 ? (t15 = /* @__PURE__ */ jsxs(Root$f, { "data-ui": "Select", children: [
4356
+ return $[26] !== t11 || $[27] !== t14 ? (t15 = /* @__PURE__ */ jsxs(StyledSelect, { "data-ui": "Select", children: [
4299
4357
  t11,
4300
4358
  t14
4301
4359
  ] }), $[26] = t11, $[27] = t14, $[28] = t15) : t15 = $[28], t15;
@@ -4323,7 +4381,10 @@ function responsiveStackSpaceStyle(props) {
4323
4381
  gridGap: rem(space[spaceIndex])
4324
4382
  }));
4325
4383
  }
4326
- const Root$e = styled(Box)(stackBaseStyle, responsiveStackSpaceStyle), Stack = forwardRef(function(props, ref) {
4384
+ const StyledStack = /* @__PURE__ */ styled(Box).withConfig({
4385
+ displayName: "StyledStack",
4386
+ componentId: "sc-8dpfq2-0"
4387
+ })(stackBaseStyle, responsiveStackSpaceStyle), Stack = forwardRef(function(props, ref) {
4327
4388
  const $ = c(10);
4328
4389
  let as, restProps, space;
4329
4390
  $[0] !== props ? ({
@@ -4333,7 +4394,7 @@ const Root$e = styled(Box)(stackBaseStyle, responsiveStackSpaceStyle), Stack = f
4333
4394
  } = props, $[0] = props, $[1] = as, $[2] = restProps, $[3] = space) : (as = $[1], restProps = $[2], space = $[3]);
4334
4395
  const t0 = typeof as == "string" ? as : void 0, t1 = useArrayProp(space);
4335
4396
  let t2;
4336
- return $[4] !== as || $[5] !== ref || $[6] !== restProps || $[7] !== t0 || $[8] !== t1 ? (t2 = /* @__PURE__ */ jsx(Root$e, { "data-as": t0, "data-ui": "Stack", ...restProps, $space: t1, forwardedAs: as, ref }), $[4] = as, $[5] = ref, $[6] = restProps, $[7] = t0, $[8] = t1, $[9] = t2) : t2 = $[9], t2;
4397
+ return $[4] !== as || $[5] !== ref || $[6] !== restProps || $[7] !== t0 || $[8] !== t1 ? (t2 = /* @__PURE__ */ jsx(StyledStack, { "data-as": t0, "data-ui": "Stack", ...restProps, $space: t1, forwardedAs: as, ref }), $[4] = as, $[5] = ref, $[6] = restProps, $[7] = t0, $[8] = t1, $[9] = t2) : t2 = $[9], t2;
4337
4398
  });
4338
4399
  Stack.displayName = "ForwardRef(Stack)";
4339
4400
  function switchBaseStyles() {
@@ -4489,7 +4550,22 @@ function switchThumbStyles(props) {
4489
4550
  `}
4490
4551
  `;
4491
4552
  }
4492
- const Root$d = styled.span(switchBaseStyles), Input$2 = styled.input(switchInputStyles), Representation = styled.span(switchRepresentationStyles), Track = styled.span(switchTrackStyles), Thumb = styled.span(switchThumbStyles), Switch = forwardRef(function(props, forwardedRef) {
4553
+ const StyledSwitch = /* @__PURE__ */ styled.span.withConfig({
4554
+ displayName: "StyledSwitch",
4555
+ componentId: "sc-dw1foe-0"
4556
+ })(switchBaseStyles), Input$2 = /* @__PURE__ */ styled.input.withConfig({
4557
+ displayName: "Input",
4558
+ componentId: "sc-dw1foe-1"
4559
+ })(switchInputStyles), Representation = /* @__PURE__ */ styled.span.withConfig({
4560
+ displayName: "Representation",
4561
+ componentId: "sc-dw1foe-2"
4562
+ })(switchRepresentationStyles), Track = /* @__PURE__ */ styled.span.withConfig({
4563
+ displayName: "Track",
4564
+ componentId: "sc-dw1foe-3"
4565
+ })(switchTrackStyles), Thumb = /* @__PURE__ */ styled.span.withConfig({
4566
+ displayName: "Thumb",
4567
+ componentId: "sc-dw1foe-4"
4568
+ })(switchThumbStyles), Switch = forwardRef(function(props, forwardedRef) {
4493
4569
  const $ = c(26);
4494
4570
  let checked, className, disabled, indeterminate, readOnly, restProps, style;
4495
4571
  $[0] !== props ? ({
@@ -4519,18 +4595,25 @@ const Root$d = styled.span(switchBaseStyles), Input$2 = styled.input(switchInput
4519
4595
  /* @__PURE__ */ jsx(Thumb, { $checked: checked, $indeterminate: indeterminate })
4520
4596
  ] }), $[18] = checked, $[19] = indeterminate, $[20] = t8) : t8 = $[20];
4521
4597
  let t9;
4522
- return $[21] !== className || $[22] !== style || $[23] !== t6 || $[24] !== t8 ? (t9 = /* @__PURE__ */ jsxs(Root$d, { className, "data-ui": "Switch", style, children: [
4598
+ return $[21] !== className || $[22] !== style || $[23] !== t6 || $[24] !== t8 ? (t9 = /* @__PURE__ */ jsxs(StyledSwitch, { className, "data-ui": "Switch", style, children: [
4523
4599
  t6,
4524
4600
  t8
4525
4601
  ] }), $[21] = className, $[22] = style, $[23] = t6, $[24] = t8, $[25] = t9) : t9 = $[25], t9;
4526
4602
  });
4527
4603
  Switch.displayName = "ForwardRef(Switch)";
4528
- const Root$c = styled.span(textInputRootStyle), InputRoot$1 = styled.span`
4529
- flex: 1;
4530
- min-width: 0;
4531
- display: block;
4532
- position: relative;
4533
- `, Input$1 = styled.textarea(responsiveInputPaddingStyle, textInputBaseStyle, textInputFontSizeStyle), Presentation$1 = styled.div(responsiveRadiusStyle, textInputRepresentationStyle), TextArea = forwardRef(function(props, forwardedRef) {
4604
+ const StyledTextArea = /* @__PURE__ */ styled.span.withConfig({
4605
+ displayName: "StyledTextArea",
4606
+ componentId: "sc-1d6h1o8-0"
4607
+ })(textInputRootStyle), InputRoot$1 = styled.span.withConfig({
4608
+ displayName: "InputRoot",
4609
+ componentId: "sc-1d6h1o8-1"
4610
+ })`flex:1;min-width:0;display:block;position:relative;`, Input$1 = /* @__PURE__ */ styled.textarea.withConfig({
4611
+ displayName: "Input",
4612
+ componentId: "sc-1d6h1o8-2"
4613
+ })(responsiveInputPaddingStyle, textInputBaseStyle, textInputFontSizeStyle), Presentation$1 = /* @__PURE__ */ styled.div.withConfig({
4614
+ displayName: "Presentation",
4615
+ componentId: "sc-1d6h1o8-3"
4616
+ })(responsiveRadiusStyle, textInputRepresentationStyle), TextArea = forwardRef(function(props, forwardedRef) {
4534
4617
  const $ = c(29);
4535
4618
  let __unstable_disableFocusRing, customValidity, restProps, t0, t1, t2, t3, t4, weight;
4536
4619
  $[0] !== props ? ({
@@ -4554,7 +4637,7 @@ const Root$c = styled.span(textInputRootStyle), InputRoot$1 = styled.span`
4554
4637
  let t15;
4555
4638
  $[20] !== __unstable_disableFocusRing || $[21] !== rootTheme.scheme || $[22] !== rootTheme.tone || $[23] !== t13 || $[24] !== t14 ? (t15 = /* @__PURE__ */ jsx(Presentation$1, { $radius: t13, $unstableDisableFocusRing: __unstable_disableFocusRing, $scheme: rootTheme.scheme, $tone: rootTheme.tone, "data-border": t14, "data-scheme": rootTheme.scheme, "data-tone": rootTheme.tone }), $[20] = __unstable_disableFocusRing, $[21] = rootTheme.scheme, $[22] = rootTheme.tone, $[23] = t13, $[24] = t14, $[25] = t15) : t15 = $[25];
4556
4639
  let t16;
4557
- return $[26] !== t12 || $[27] !== t15 ? (t16 = /* @__PURE__ */ jsx(Root$c, { "data-ui": "TextArea", children: /* @__PURE__ */ jsxs(InputRoot$1, { children: [
4640
+ return $[26] !== t12 || $[27] !== t15 ? (t16 = /* @__PURE__ */ jsx(StyledTextArea, { "data-ui": "TextArea", children: /* @__PURE__ */ jsxs(InputRoot$1, { children: [
4558
4641
  t12,
4559
4642
  t15
4560
4643
  ] }) }), $[26] = t12, $[27] = t15, $[28] = t16) : t16 = $[28], t16;
@@ -4562,47 +4645,43 @@ const Root$c = styled.span(textInputRootStyle), InputRoot$1 = styled.span`
4562
4645
  TextArea.displayName = "ForwardRef(TextArea)";
4563
4646
  const CLEAR_BUTTON_BOX_STYLE = {
4564
4647
  zIndex: 2
4565
- }, Root$b = styled(Card).attrs({
4648
+ }, StyledTextInput = /* @__PURE__ */ styled(Card).attrs({
4566
4649
  forwardedAs: "span"
4567
- })(textInputRootStyle), InputRoot = styled.span`
4568
- flex: 1;
4569
- min-width: 0;
4570
- display: block;
4571
- position: relative;
4572
- `, Prefix = styled(Card).attrs({
4650
+ }).withConfig({
4651
+ displayName: "StyledTextInput",
4652
+ componentId: "sc-h62wco-0"
4653
+ })(textInputRootStyle), InputRoot = styled.span.withConfig({
4654
+ displayName: "InputRoot",
4655
+ componentId: "sc-h62wco-1"
4656
+ })`flex:1;min-width:0;display:block;position:relative;`, Prefix = styled(Card).attrs({
4573
4657
  forwardedAs: "span"
4574
- })`
4575
- border-top-right-radius: 0;
4576
- border-bottom-right-radius: 0;
4577
-
4578
- & > span {
4579
- display: block;
4580
- margin: -1px;
4581
- }
4582
- `, Suffix = styled(Card).attrs({
4658
+ }).withConfig({
4659
+ displayName: "Prefix",
4660
+ componentId: "sc-h62wco-2"
4661
+ })`border-top-right-radius:0;border-bottom-right-radius:0;& > span{display:block;margin:-1px;}`, Suffix = styled(Card).attrs({
4583
4662
  forwardedAs: "span"
4584
- })`
4585
- border-top-left-radius: 0;
4586
- border-bottom-left-radius: 0;
4587
-
4588
- & > span {
4589
- display: block;
4590
- margin: -1px;
4591
- }
4592
- `, Input = styled.input(responsiveInputPaddingStyle, textInputBaseStyle, textInputFontSizeStyle), Presentation = styled.span(responsiveRadiusStyle, textInputRepresentationStyle), LeftBox = styled(Box)`
4593
- position: absolute;
4594
- top: 0;
4595
- left: 0;
4596
- `, RightBox = styled(Box)`
4597
- position: absolute;
4598
- top: 0;
4599
- right: 0;
4600
- `, RightCard = styled(Card)`
4601
- background-color: transparent;
4602
- position: absolute;
4603
- top: 0;
4604
- right: 0;
4605
- `, TextInputClearButton = styled(Button)({
4663
+ }).withConfig({
4664
+ displayName: "Suffix",
4665
+ componentId: "sc-h62wco-3"
4666
+ })`border-top-left-radius:0;border-bottom-left-radius:0;& > span{display:block;margin:-1px;}`, Input = /* @__PURE__ */ styled.input.withConfig({
4667
+ displayName: "Input",
4668
+ componentId: "sc-h62wco-4"
4669
+ })(responsiveInputPaddingStyle, textInputBaseStyle, textInputFontSizeStyle), Presentation = /* @__PURE__ */ styled.span.withConfig({
4670
+ displayName: "Presentation",
4671
+ componentId: "sc-h62wco-5"
4672
+ })(responsiveRadiusStyle, textInputRepresentationStyle), LeftBox = styled(Box).withConfig({
4673
+ displayName: "LeftBox",
4674
+ componentId: "sc-h62wco-6"
4675
+ })`position:absolute;top:0;left:0;`, RightBox = styled(Box).withConfig({
4676
+ displayName: "RightBox",
4677
+ componentId: "sc-h62wco-7"
4678
+ })`position:absolute;top:0;right:0;`, RightCard = styled(Card).withConfig({
4679
+ displayName: "RightCard",
4680
+ componentId: "sc-h62wco-8"
4681
+ })`background-color:transparent;position:absolute;top:0;right:0;`, TextInputClearButton = /* @__PURE__ */ styled(Button).withConfig({
4682
+ displayName: "TextInputClearButton",
4683
+ componentId: "sc-h62wco-9"
4684
+ })({
4606
4685
  "&:not([hidden])": {
4607
4686
  display: "block"
4608
4687
  }
@@ -4683,7 +4762,7 @@ const CLEAR_BUTTON_BOX_STYLE = {
4683
4762
  clearButtonNode
4684
4763
  ] }), $[75] = clearButtonNode, $[76] = presentationNode, $[77] = t26, $[78] = t27) : t27 = $[78];
4685
4764
  let t28;
4686
- return $[79] !== prefixNode || $[80] !== rootTheme.tone || $[81] !== suffixNode || $[82] !== t27 ? (t28 = /* @__PURE__ */ jsxs(Root$b, { "data-ui": "TextInput", tone: rootTheme.tone, children: [
4765
+ return $[79] !== prefixNode || $[80] !== rootTheme.tone || $[81] !== suffixNode || $[82] !== t27 ? (t28 = /* @__PURE__ */ jsxs(StyledTextInput, { "data-ui": "TextInput", tone: rootTheme.tone, children: [
4687
4766
  prefixNode,
4688
4767
  t27,
4689
4768
  suffixNode
@@ -4727,12 +4806,10 @@ const DEFAULT_TOOLTIP_ARROW_WIDTH = 15, DEFAULT_TOOLTIP_ARROW_HEIGHT = 6, DEFAUL
4727
4806
  right: ["right-end", "right-start", "left", "top", "bottom"],
4728
4807
  "right-start": ["right", "right-end", "left-start", "top-start", "bottom-start"],
4729
4808
  "right-end": ["right", "right-start", "left-end", "top-end", "bottom-end"]
4730
- }, MotionCard = styled(motion.create(Card))`
4731
- & > * {
4732
- opacity: var(${POPOVER_MOTION_CONTENT_OPACITY_PROPERTY}, 1);
4733
- will-change: opacity;
4734
- }
4735
- `, TooltipCard = memo(forwardRef(function(props, ref) {
4809
+ }, MotionCard = styled(motion.create(Card)).withConfig({
4810
+ displayName: "MotionCard",
4811
+ componentId: "sc-1xn138w-0"
4812
+ })`& > *{opacity:var(${POPOVER_MOTION_CONTENT_OPACITY_PROPERTY},1);will-change:opacity;}`, TooltipCard = memo(forwardRef(function(props, ref) {
4736
4813
  const $ = c(42);
4737
4814
  let animate, arrow2, arrowRef, arrowX, arrowY, children, originX, originY, padding, placement, radius, restProps, scheme, shadow, style;
4738
4815
  $[0] !== props ? ({
@@ -4808,9 +4885,10 @@ function TooltipDelayGroupProvider(props) {
4808
4885
  return $[7] !== children || $[8] !== value ? (t3 = /* @__PURE__ */ jsx(TooltipDelayGroupContext.Provider, { value, children }), $[7] = children, $[8] = value, $[9] = t3) : t3 = $[9], t3;
4809
4886
  }
4810
4887
  TooltipDelayGroupProvider.displayName = "TooltipDelayGroupProvider";
4811
- const Root$a = styled(Layer)`
4812
- pointer-events: none;
4813
- `, Tooltip = forwardRef(function(props, forwardedRef) {
4888
+ const StyledTooltip = styled(Layer).withConfig({
4889
+ displayName: "StyledTooltip",
4890
+ componentId: "sc-13f2zvh-0"
4891
+ })`pointer-events:none;`, Tooltip = forwardRef(function(props, forwardedRef) {
4814
4892
  const boundaryElementContext = useBoundaryElement(), {
4815
4893
  layer
4816
4894
  } = useTheme_v2(), {
@@ -4926,7 +5004,7 @@ const Root$a = styled(Layer)`
4926
5004
  return setReferenceElement(childRef.current), () => setReferenceElement(null);
4927
5005
  }, [child]), !child) return /* @__PURE__ */ jsx(Fragment, {});
4928
5006
  if (disabled) return child;
4929
- const tooltip = /* @__PURE__ */ jsx(Root$a, { "data-ui": "Tooltip", ...restProps, ref: setFloating, style: {
5007
+ const tooltip = /* @__PURE__ */ jsx(StyledTooltip, { "data-ui": "Tooltip", ...restProps, ref: setFloating, style: {
4930
5008
  ...floatingStyles,
4931
5009
  maxWidth: tooltipMaxWidth > 0 ? `${tooltipMaxWidth}px` : void 0
4932
5010
  }, zOffset, children: /* @__PURE__ */ jsx(TooltipCard, { ...restProps, animate, arrow: arrowProp, arrowRef: setArrow, arrowX, arrowY, originX, originY, padding, placement, radius, ref: setFloating, scheme, shadow, children: content }) }), children = showTooltip && (portalProp ? /* @__PURE__ */ jsx(Portal, { __unstable_name: typeof portalProp == "string" ? portalProp : void 0, children: tooltip }) : tooltip);
@@ -4957,15 +5035,13 @@ function useCloseOnMouseLeave(t0) {
4957
5035
  return window.addEventListener("mousemove", handleMouseMove), () => window.removeEventListener("mousemove", handleMouseMove);
4958
5036
  }, t3 = [onMouseMove, showTooltip], $[3] = onMouseMove, $[4] = showTooltip, $[5] = t2, $[6] = t3) : (t2 = $[5], t3 = $[6]), useEffect(t2, t3);
4959
5037
  }
4960
- const Root$9 = styled.div`
4961
- line-height: 0;
4962
- `, ListBox = styled(Box)`
4963
- & > ul {
4964
- list-style: none;
4965
- padding: 0;
4966
- margin: 0;
4967
- }
4968
- `, rotate = keyframes`
5038
+ const StyledAutocomplete = styled.div.withConfig({
5039
+ displayName: "StyledAutocomplete",
5040
+ componentId: "sc-1igauft-0"
5041
+ })`line-height:0;`, ListBox = styled(Box).withConfig({
5042
+ displayName: "ListBox",
5043
+ componentId: "sc-1igauft-1"
5044
+ })`& > ul{list-style:none;padding:0;margin:0;}`, rotate = keyframes`
4969
5045
  from {
4970
5046
  transform: rotate(0deg);
4971
5047
  }
@@ -4973,9 +5049,10 @@ const Root$9 = styled.div`
4973
5049
  to {
4974
5050
  transform: rotate(360deg);
4975
5051
  }
4976
- `, AnimatedSpinnerIcon = styled(SpinnerIcon)`
4977
- animation: ${rotate} 500ms linear infinite;
4978
- `;
5052
+ `, AnimatedSpinnerIcon = styled(SpinnerIcon).withConfig({
5053
+ displayName: "AnimatedSpinnerIcon",
5054
+ componentId: "sc-1igauft-2"
5055
+ })`animation:${rotate} 500ms linear infinite;`;
4979
5056
  function AutocompleteOption(props) {
4980
5057
  const $ = c(11), {
4981
5058
  children,
@@ -5227,24 +5304,19 @@ const AUTOCOMPLETE_LISTBOX_IGNORE_KEYS = ["Control", "Shift", "Alt", "Enter", "H
5227
5304
  onMouseEnter: handlePopoverMouseEnter,
5228
5305
  onMouseLeave: handlePopoverMouseLeave
5229
5306
  }, resultsPopoverElementRef) : filteredOptionsLen === 0 ? null : /* @__PURE__ */ jsx(Popover, { arrow: !1, constrainSize: !0, content, fallbackPlacements: AUTOCOMPLETE_POPOVER_FALLBACK_PLACEMENTS, matchReferenceWidth: !0, onMouseEnter: handlePopoverMouseEnter, onMouseLeave: handlePopoverMouseLeave, open: expanded, overflow: "auto", placement: AUTOCOMPLETE_POPOVER_PLACEMENT, portal: !0, radius, ref: resultsPopoverElementRef, referenceElement: inputElementRef.current, ...popover }), [content, expanded, filteredOptionsLen, handlePopoverMouseEnter, handlePopoverMouseLeave, popover, radius, renderPopover]);
5230
- return /* @__PURE__ */ jsxs(Root$9, { "data-ui": "Autocomplete", onBlur: handleRootBlur, onFocus: handleRootFocus, onKeyDown: handleRootKeyDown, ref: rootElementRef, children: [
5307
+ return /* @__PURE__ */ jsxs(StyledAutocomplete, { "data-ui": "Autocomplete", onBlur: handleRootBlur, onFocus: handleRootFocus, onKeyDown: handleRootKeyDown, ref: rootElementRef, children: [
5231
5308
  input,
5232
5309
  results
5233
5310
  ] });
5234
5311
  });
5235
5312
  InnerAutocomplete.displayName = "ForwardRef(Autocomplete)";
5236
- const Autocomplete = InnerAutocomplete, Root$8 = styled.ol`
5237
- margin: 0;
5238
- padding: 0;
5239
- display: flex;
5240
- list-style: none;
5241
- align-items: center;
5242
- white-space: nowrap;
5243
- line-height: 0;
5244
- `, ExpandButton = styled(Button)`
5245
- appearance: none;
5246
- margin: -4px;
5247
- `, Breadcrumbs = forwardRef(function(props, ref) {
5313
+ const Autocomplete = InnerAutocomplete, StyledBreadcrumbs = styled.ol.withConfig({
5314
+ displayName: "StyledBreadcrumbs",
5315
+ componentId: "sc-1es8h8q-0"
5316
+ })`margin:0;padding:0;display:flex;list-style:none;align-items:center;white-space:nowrap;line-height:0;`, ExpandButton = styled(Button).withConfig({
5317
+ displayName: "ExpandButton",
5318
+ componentId: "sc-1es8h8q-1"
5319
+ })`appearance:none;margin:-4px;`, Breadcrumbs = forwardRef(function(props, ref) {
5248
5320
  const {
5249
5321
  children,
5250
5322
  maxLength,
@@ -5261,7 +5333,7 @@ const Autocomplete = InnerAutocomplete, Root$8 = styled.ol`
5261
5333
  }
5262
5334
  return rawItems;
5263
5335
  }, [collapse, expand, maxLength, open, rawItems, space]);
5264
- return /* @__PURE__ */ jsx(Root$8, { "data-ui": "Breadcrumbs", ...restProps, ref, children: items.map((item, itemIndex) => /* @__PURE__ */ jsxs(Fragment$1, { children: [
5336
+ return /* @__PURE__ */ jsx(StyledBreadcrumbs, { "data-ui": "Breadcrumbs", ...restProps, ref, children: items.map((item, itemIndex) => /* @__PURE__ */ jsxs(Fragment$1, { children: [
5265
5337
  itemIndex > 0 && /* @__PURE__ */ jsx(Box, { "aria-hidden": !0, as: "li", paddingX: space, children: separator || /* @__PURE__ */ jsx(Text, { muted: !0, children: "/" }) }),
5266
5338
  /* @__PURE__ */ jsx(Box, { as: "li", children: item })
5267
5339
  ] }, itemIndex)) });
@@ -5334,40 +5406,28 @@ function useDialog() {
5334
5406
  function isTargetWithinScope(boundaryElement, portalElement, target) {
5335
5407
  return !boundaryElement || !portalElement ? !0 : containsOrEqualsElement(boundaryElement, target) || containsOrEqualsElement(portalElement, target);
5336
5408
  }
5337
- const Root$7 = styled(Layer)(responsivePaddingStyle, dialogStyle, responsiveDialogPositionStyle, animationDialogStyle), DialogContainer = styled(Container)`
5338
- &:not([hidden]) {
5339
- display: flex;
5340
- }
5341
- width: 100%;
5342
- height: 100%;
5343
- flex-direction: column;
5344
- align-items: center;
5345
- justify-content: center;
5346
- `, DialogCardRoot = styled(Card)`
5347
- &:not([hidden]) {
5348
- display: flex;
5349
- }
5350
- width: 100%;
5351
- min-height: 0;
5352
- max-height: 100%;
5353
- overflow: hidden;
5354
- overflow: clip;
5355
- `, DialogLayout = styled(Flex)`
5356
- flex: 1;
5357
- min-height: 0;
5358
- width: 100%;
5359
- `, DialogHeader = styled(Box)`
5360
- position: relative;
5361
- z-index: 2;
5362
- `, DialogContent = styled(Box)`
5363
- position: relative;
5364
- z-index: 1;
5365
- overflow: auto;
5366
- outline: none;
5367
- `, DialogFooter = styled(Box)`
5368
- position: relative;
5369
- z-index: 3;
5370
- `, DialogCard = forwardRef(function(props, forwardedRef) {
5409
+ const StyledDialog = /* @__PURE__ */ styled(Layer).withConfig({
5410
+ displayName: "StyledDialog",
5411
+ componentId: "sc-4n4xb3-0"
5412
+ })(responsivePaddingStyle, dialogStyle, responsiveDialogPositionStyle, animationDialogStyle), DialogContainer = styled(Container).withConfig({
5413
+ displayName: "DialogContainer",
5414
+ componentId: "sc-4n4xb3-1"
5415
+ })`&:not([hidden]){display:flex;}width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;`, DialogCardRoot = styled(Card).withConfig({
5416
+ displayName: "DialogCardRoot",
5417
+ componentId: "sc-4n4xb3-2"
5418
+ })`&:not([hidden]){display:flex;}width:100%;min-height:0;max-height:100%;overflow:hidden;overflow:clip;`, DialogLayout = styled(Flex).withConfig({
5419
+ displayName: "DialogLayout",
5420
+ componentId: "sc-4n4xb3-3"
5421
+ })`flex:1;min-height:0;width:100%;`, DialogHeader = styled(Box).withConfig({
5422
+ displayName: "DialogHeader",
5423
+ componentId: "sc-4n4xb3-4"
5424
+ })`position:relative;z-index:2;`, DialogContent = styled(Box).withConfig({
5425
+ displayName: "DialogContent",
5426
+ componentId: "sc-4n4xb3-5"
5427
+ })`position:relative;z-index:1;overflow:auto;outline:none;`, DialogFooter = styled(Box).withConfig({
5428
+ displayName: "DialogFooter",
5429
+ componentId: "sc-4n4xb3-6"
5430
+ })`position:relative;z-index:3;`, DialogCard = forwardRef(function(props, forwardedRef) {
5371
5431
  const $ = c(38), {
5372
5432
  __unstable_autoFocus: autoFocus,
5373
5433
  __unstable_hideCloseButton: hideCloseButton,
@@ -5496,7 +5556,7 @@ const Dialog = forwardRef(function(props, ref) {
5496
5556
  let t11;
5497
5557
  $[43] === Symbol.for("react.memo_cache_sentinel") ? (t11 = /* @__PURE__ */ jsx("div", { ref: postDivRef, tabIndex: 0 }), $[43] = t11) : t11 = $[43];
5498
5558
  let t12;
5499
- $[44] !== animate || $[45] !== handleFocus || $[46] !== handleRootClick || $[47] !== id || $[48] !== labelId || $[49] !== onActivate || $[50] !== padding || $[51] !== position || $[52] !== ref || $[53] !== restProps || $[54] !== t10 || $[55] !== zOffset ? (t12 = /* @__PURE__ */ jsxs(Root$7, { ...restProps, $animate: animate, $padding: padding, $position: position, "aria-labelledby": labelId, "aria-modal": !0, "data-ui": "Dialog", id, onActivate, onClick: handleRootClick, onFocus: handleFocus, ref, role: "dialog", zOffset, children: [
5559
+ $[44] !== animate || $[45] !== handleFocus || $[46] !== handleRootClick || $[47] !== id || $[48] !== labelId || $[49] !== onActivate || $[50] !== padding || $[51] !== position || $[52] !== ref || $[53] !== restProps || $[54] !== t10 || $[55] !== zOffset ? (t12 = /* @__PURE__ */ jsxs(StyledDialog, { ...restProps, $animate: animate, $padding: padding, $position: position, "aria-labelledby": labelId, "aria-modal": !0, "data-ui": "Dialog", id, onActivate, onClick: handleRootClick, onFocus: handleFocus, ref, role: "dialog", zOffset, children: [
5500
5560
  t9,
5501
5561
  t10,
5502
5562
  t11
@@ -5522,18 +5582,13 @@ function DialogProvider(props) {
5522
5582
  return $[3] !== children || $[4] !== contextValue ? (t2 = /* @__PURE__ */ jsx(DialogContext.Provider, { value: contextValue, children }), $[3] = children, $[4] = contextValue, $[5] = t2) : t2 = $[5], t2;
5523
5583
  }
5524
5584
  DialogProvider.displayName = "DialogProvider";
5525
- const Root$6 = styled.kbd`
5526
- font: inherit;
5527
- padding: 1px;
5528
-
5529
- &:not([hidden]) {
5530
- display: block;
5531
- }
5532
- `, Key = styled(KBD)`
5533
- &:not([hidden]) {
5534
- display: block;
5535
- }
5536
- `, Hotkeys = forwardRef(function(props, ref) {
5585
+ const StyledHotkeys = styled.kbd.withConfig({
5586
+ displayName: "StyledHotkeys",
5587
+ componentId: "sc-b37mge-0"
5588
+ })`font:inherit;padding:1px;&:not([hidden]){display:block;}`, Key = styled(KBD).withConfig({
5589
+ displayName: "Key",
5590
+ componentId: "sc-b37mge-1"
5591
+ })`&:not([hidden]){display:block;}`, Hotkeys = forwardRef(function(props, ref) {
5537
5592
  const $ = c(24);
5538
5593
  let fontSize2, keys, padding, radius, restProps, t0;
5539
5594
  $[0] !== props ? ({
@@ -5558,7 +5613,7 @@ const Root$6 = styled.kbd`
5558
5613
  let t2;
5559
5614
  $[17] !== space || $[18] !== t1 ? (t2 = /* @__PURE__ */ jsx(Inline, { as: "span", space, children: t1 }), $[17] = space, $[18] = t1, $[19] = t2) : t2 = $[19];
5560
5615
  let t3;
5561
- return $[20] !== ref || $[21] !== restProps || $[22] !== t2 ? (t3 = /* @__PURE__ */ jsx(Root$6, { "data-ui": "Hotkeys", ...restProps, ref, children: t2 }), $[20] = ref, $[21] = restProps, $[22] = t2, $[23] = t3) : t3 = $[23], t3;
5616
+ return $[20] !== ref || $[21] !== restProps || $[22] !== t2 ? (t3 = /* @__PURE__ */ jsx(StyledHotkeys, { "data-ui": "Hotkeys", ...restProps, ref, children: t2 }), $[20] = ref, $[21] = restProps, $[22] = t2, $[23] = t3) : t3 = $[23], t3;
5562
5617
  });
5563
5618
  Hotkeys.displayName = "ForwardRef(Hotkeys)";
5564
5619
  const MenuContext = createGlobalScopedContext("@sanity/ui/context/menu", null);
@@ -5699,10 +5754,10 @@ function useMenuController(props) {
5699
5754
  mount
5700
5755
  };
5701
5756
  }
5702
- const Root$5 = styled(Box)`
5703
- outline: none;
5704
- overflow: auto;
5705
- `, Menu = forwardRef(function(props, forwardedRef) {
5757
+ const StyledMenu = styled(Box).withConfig({
5758
+ displayName: "StyledMenu",
5759
+ componentId: "sc-xt0tnv-0"
5760
+ })`outline:none;overflow:auto;`, Menu = forwardRef(function(props, forwardedRef) {
5706
5761
  const $ = c(50);
5707
5762
  let _shouldFocus, children, onClickOutside, onEscape, onItemClick, onItemSelect, onKeyDown, originElement, registerElement, restProps, t0, t1;
5708
5763
  if ($[0] !== props) {
@@ -5780,7 +5835,7 @@ const Root$5 = styled(Box)`
5780
5835
  let t11;
5781
5836
  $[38] !== children || $[39] !== space ? (t11 = /* @__PURE__ */ jsx(Stack, { space, children }), $[38] = children, $[39] = space, $[40] = t11) : t11 = $[40];
5782
5837
  let t12;
5783
- $[41] !== handleKeyDown || $[42] !== handleRefChange || $[43] !== padding || $[44] !== restProps || $[45] !== t11 ? (t12 = /* @__PURE__ */ jsx(Root$5, { "data-ui": "Menu", ...restProps, onKeyDown: handleKeyDown, padding, ref: handleRefChange, role: "menu", tabIndex: -1, children: t11 }), $[41] = handleKeyDown, $[42] = handleRefChange, $[43] = padding, $[44] = restProps, $[45] = t11, $[46] = t12) : t12 = $[46];
5838
+ $[41] !== handleKeyDown || $[42] !== handleRefChange || $[43] !== padding || $[44] !== restProps || $[45] !== t11 ? (t12 = /* @__PURE__ */ jsx(StyledMenu, { "data-ui": "Menu", ...restProps, onKeyDown: handleKeyDown, padding, ref: handleRefChange, role: "menu", tabIndex: -1, children: t11 }), $[41] = handleKeyDown, $[42] = handleRefChange, $[43] = padding, $[44] = restProps, $[45] = t11, $[46] = t12) : t12 = $[46];
5784
5839
  let t13;
5785
5840
  return $[47] !== t12 || $[48] !== value ? (t13 = /* @__PURE__ */ jsx(MenuContext.Provider, { value, children: t12 }), $[47] = t12, $[48] = value, $[49] = t13) : t13 = $[49], t13;
5786
5841
  });
@@ -5923,12 +5978,10 @@ MenuButton.displayName = "ForwardRef(MenuButton)";
5923
5978
  function _temp$2(v) {
5924
5979
  return !v;
5925
5980
  }
5926
- const MenuDivider = styled.hr`
5927
- height: 1px;
5928
- border: 0;
5929
- background: var(--card-hairline-soft-color);
5930
- margin: 0;
5931
- `;
5981
+ const MenuDivider = styled.hr.withConfig({
5982
+ displayName: "MenuDivider",
5983
+ componentId: "sc-uhoxwu-0"
5984
+ })`height:1px;border:0;background:var(--card-hairline-soft-color);margin:0;`;
5932
5985
  MenuDivider.displayName = "MenuDivider";
5933
5986
  function selectableBaseStyle() {
5934
5987
  return css`
@@ -6030,7 +6083,10 @@ function selectableColorStyle(props) {
6030
6083
  ${style?.card?.root}
6031
6084
  `;
6032
6085
  }
6033
- const Selectable = styled(Box)(responsiveRadiusStyle, selectableBaseStyle, selectableColorStyle);
6086
+ const Selectable = /* @__PURE__ */ styled(Box).withConfig({
6087
+ displayName: "Selectable",
6088
+ componentId: "sc-1w01ang-0"
6089
+ })(responsiveRadiusStyle, selectableBaseStyle, selectableColorStyle);
6034
6090
  Selectable.displayName = "Selectable";
6035
6091
  function useMenu() {
6036
6092
  const value = useContext(MenuContext);
@@ -6277,7 +6333,10 @@ const keyframe = keyframes`
6277
6333
  @media screen and (prefers-reduced-motion: reduce) {
6278
6334
  background-color: var(--card-skeleton-color-from);
6279
6335
  }
6280
- `, Root$4 = styled(Box)(responsiveRadiusStyle, skeletonStyle), Skeleton = forwardRef(function(props, ref) {
6336
+ `, StyledSkeleton$1 = /* @__PURE__ */ styled(Box).withConfig({
6337
+ displayName: "StyledSkeleton",
6338
+ componentId: "sc-ebtpni-0"
6339
+ })(responsiveRadiusStyle, skeletonStyle), Skeleton = forwardRef(function(props, ref) {
6281
6340
  const $ = c(14);
6282
6341
  let delay, radius, restProps, t0;
6283
6342
  $[0] !== props ? ({
@@ -6300,10 +6359,13 @@ const keyframe = keyframes`
6300
6359
  }, t2 = [delay], $[5] = delay, $[6] = t1, $[7] = t2) : (t1 = $[6], t2 = $[7]), useEffect(t1, t2);
6301
6360
  const t3 = useArrayProp(radius);
6302
6361
  let t4;
6303
- return $[8] !== animated || $[9] !== ref || $[10] !== restProps || $[11] !== t3 || $[12] !== visible ? (t4 = /* @__PURE__ */ jsx(Root$4, { ...restProps, $animated: animated, $radius: t3, $visible: visible, ref }), $[8] = animated, $[9] = ref, $[10] = restProps, $[11] = t3, $[12] = visible, $[13] = t4) : t4 = $[13], t4;
6362
+ return $[8] !== animated || $[9] !== ref || $[10] !== restProps || $[11] !== t3 || $[12] !== visible ? (t4 = /* @__PURE__ */ jsx(StyledSkeleton$1, { ...restProps, $animated: animated, $radius: t3, $visible: visible, ref }), $[8] = animated, $[9] = ref, $[10] = restProps, $[11] = t3, $[12] = visible, $[13] = t4) : t4 = $[13], t4;
6304
6363
  });
6305
6364
  Skeleton.displayName = "ForwardRef(Skeleton)";
6306
- const Root$3 = styled(Skeleton)((props) => {
6365
+ const StyledSkeleton = /* @__PURE__ */ styled(Skeleton).withConfig({
6366
+ displayName: "StyledSkeleton",
6367
+ componentId: "sc-2p7a1v-0"
6368
+ })((props) => {
6307
6369
  const {
6308
6370
  $size,
6309
6371
  $style
@@ -6326,7 +6388,7 @@ const Root$3 = styled(Skeleton)((props) => {
6326
6388
  } = props, $[0] = props, $[1] = restProps, $[2] = t0) : (restProps = $[1], t0 = $[2]);
6327
6389
  const $size = useArrayProp(t0 === void 0 ? 2 : t0);
6328
6390
  let t1;
6329
- return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsx(Root$3, { ...restProps, $size, ref, $style: "text" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6391
+ return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsx(StyledSkeleton, { ...restProps, $size, ref, $style: "text" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6330
6392
  });
6331
6393
  TextSkeleton.displayName = "ForwardRef(TextSkeleton)";
6332
6394
  const LabelSkeleton = forwardRef(function(props, ref) {
@@ -6338,7 +6400,7 @@ const LabelSkeleton = forwardRef(function(props, ref) {
6338
6400
  } = props, $[0] = props, $[1] = restProps, $[2] = t0) : (restProps = $[1], t0 = $[2]);
6339
6401
  const $size = useArrayProp(t0 === void 0 ? 2 : t0);
6340
6402
  let t1;
6341
- return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsx(Root$3, { ...restProps, $size, ref, $style: "label" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6403
+ return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsx(StyledSkeleton, { ...restProps, $size, ref, $style: "label" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6342
6404
  });
6343
6405
  LabelSkeleton.displayName = "ForwardRef(LabelSkeleton)";
6344
6406
  const HeadingSkeleton = forwardRef(function(props, ref) {
@@ -6350,7 +6412,7 @@ const HeadingSkeleton = forwardRef(function(props, ref) {
6350
6412
  } = props, $[0] = props, $[1] = restProps, $[2] = t0) : (restProps = $[1], t0 = $[2]);
6351
6413
  const $size = useArrayProp(t0 === void 0 ? 2 : t0);
6352
6414
  let t1;
6353
- return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsx(Root$3, { ...restProps, $size, ref, $style: "heading" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6415
+ return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsx(StyledSkeleton, { ...restProps, $size, ref, $style: "heading" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6354
6416
  });
6355
6417
  HeadingSkeleton.displayName = "ForwardRef(HeadingSkeleton)";
6356
6418
  const CodeSkeleton = forwardRef(function(props, ref) {
@@ -6362,12 +6424,13 @@ const CodeSkeleton = forwardRef(function(props, ref) {
6362
6424
  } = props, $[0] = props, $[1] = restProps, $[2] = t0) : (restProps = $[1], t0 = $[2]);
6363
6425
  const $size = useArrayProp(t0 === void 0 ? 2 : t0);
6364
6426
  let t1;
6365
- return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsx(Root$3, { ...restProps, $size, ref, $style: "code" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6427
+ return $[3] !== $size || $[4] !== ref || $[5] !== restProps ? (t1 = /* @__PURE__ */ jsx(StyledSkeleton, { ...restProps, $size, ref, $style: "code" }), $[3] = $size, $[4] = ref, $[5] = restProps, $[6] = t1) : t1 = $[6], t1;
6366
6428
  });
6367
6429
  CodeSkeleton.displayName = "ForwardRef(CodeSkeleton)";
6368
- const CustomButton = styled(Button)`
6369
- max-width: 100%;
6370
- `, Tab = forwardRef(function(props, forwardedRef) {
6430
+ const CustomButton = styled(Button).withConfig({
6431
+ displayName: "CustomButton",
6432
+ componentId: "sc-1kns779-0"
6433
+ })`max-width:100%;`, Tab = forwardRef(function(props, forwardedRef) {
6371
6434
  const $ = c(30);
6372
6435
  let focused, icon, id, label, onClick, onFocus, restProps, selected, t0, t1;
6373
6436
  $[0] !== props ? ({
@@ -6404,14 +6467,10 @@ const CustomButton = styled(Button)`
6404
6467
  return $[18] !== fontSize2 || $[19] !== handleFocus || $[20] !== icon || $[21] !== id || $[22] !== label || $[23] !== onClick || $[24] !== padding || $[25] !== restProps || $[26] !== selected || $[27] !== t7 || $[28] !== t8 ? (t9 = /* @__PURE__ */ jsx(CustomButton, { "data-ui": "Tab", ...restProps, "aria-selected": t7, fontSize: fontSize2, icon, id, mode: "bleed", onClick, onBlur: handleBlur, onFocus: handleFocus, padding, ref, role: "tab", selected, tabIndex: t8, text: label, type: "button" }), $[18] = fontSize2, $[19] = handleFocus, $[20] = icon, $[21] = id, $[22] = label, $[23] = onClick, $[24] = padding, $[25] = restProps, $[26] = selected, $[27] = t7, $[28] = t8, $[29] = t9) : t9 = $[29], t9;
6405
6468
  });
6406
6469
  Tab.displayName = "ForwardRef(Tab)";
6407
- const CustomInline = styled(Inline)`
6408
- & > div {
6409
- display: inline-block;
6410
- vertical-align: middle;
6411
- max-width: 100%;
6412
- box-sizing: border-box;
6413
- }
6414
- `, TabList = forwardRef(function(props, ref) {
6470
+ const CustomInline = styled(Inline).withConfig({
6471
+ displayName: "CustomInline",
6472
+ componentId: "sc-5cm04m-0"
6473
+ })`& > div{display:inline-block;vertical-align:middle;max-width:100%;box-sizing:border-box;}`, TabList = forwardRef(function(props, ref) {
6415
6474
  const $ = c(15);
6416
6475
  let childrenProp, restProps;
6417
6476
  $[0] !== props ? ({
@@ -6452,9 +6511,10 @@ const TabPanel = forwardRef(function(props, ref) {
6452
6511
  return $[3] !== flex || $[4] !== props.children || $[5] !== ref || $[6] !== restProps || $[7] !== t0 ? (t1 = /* @__PURE__ */ jsx(Box, { "data-ui": "TabPanel", ...restProps, flex, ref, role: "tabpanel", tabIndex: t0, children: props.children }), $[3] = flex, $[4] = props.children, $[5] = ref, $[6] = restProps, $[7] = t0, $[8] = t1) : t1 = $[8], t1;
6453
6512
  });
6454
6513
  TabPanel.displayName = "ForwardRef(TabPanel)";
6455
- const TextBox = styled(Flex)`
6456
- overflow-x: auto;
6457
- `, loadingAnimation = keyframes`
6514
+ const TextBox = styled(Flex).withConfig({
6515
+ displayName: "TextBox",
6516
+ componentId: "sc-1rr7rxo-0"
6517
+ })`overflow-x:auto;`, loadingAnimation = keyframes`
6458
6518
  0% {
6459
6519
  width: 0;
6460
6520
  }
@@ -6511,7 +6571,10 @@ const STATUS_CARD_TONE = {
6511
6571
  warning: "alert",
6512
6572
  success: "alert",
6513
6573
  info: "alert"
6514
- }, Root$2 = styled(Card)(rootStyles);
6574
+ }, StyledToast = /* @__PURE__ */ styled(Card).withConfig({
6575
+ displayName: "StyledToast",
6576
+ componentId: "sc-1icz8ea-0"
6577
+ })(rootStyles);
6515
6578
  function Toast(props) {
6516
6579
  const $ = c(30);
6517
6580
  let closable, description, duration, onClose, restProps, status, t0, title;
@@ -6545,7 +6608,7 @@ function Toast(props) {
6545
6608
  t4
6546
6609
  ] }), $[20] = t3, $[21] = t4, $[22] = t5) : t5 = $[22];
6547
6610
  let t6;
6548
- return $[23] !== cardTone || $[24] !== duration || $[25] !== radius || $[26] !== restProps || $[27] !== role || $[28] !== t5 ? (t6 = /* @__PURE__ */ jsx(Root$2, { "data-ui": "Toast", role, ...restProps, marginTop: 3, radius, shadow: 2, tone: cardTone, $duration: duration, children: t5 }), $[23] = cardTone, $[24] = duration, $[25] = radius, $[26] = restProps, $[27] = role, $[28] = t5, $[29] = t6) : t6 = $[29], t6;
6611
+ return $[23] !== cardTone || $[24] !== duration || $[25] !== radius || $[26] !== restProps || $[27] !== role || $[28] !== t5 ? (t6 = /* @__PURE__ */ jsx(StyledToast, { "data-ui": "Toast", role, ...restProps, marginTop: 3, radius, shadow: 2, tone: cardTone, $duration: duration, children: t5 }), $[23] = cardTone, $[24] = duration, $[25] = radius, $[26] = restProps, $[27] = role, $[28] = t5, $[29] = t6) : t6 = $[29], t6;
6549
6612
  }
6550
6613
  Toast.displayName = "Toast";
6551
6614
  function useMounted() {
@@ -6563,21 +6626,13 @@ let toastId = 0;
6563
6626
  function generateToastId() {
6564
6627
  return String(toastId++);
6565
6628
  }
6566
- const Root$1 = styled(Layer)`
6567
- position: fixed;
6568
- top: 0;
6569
- left: 0;
6570
- right: 0;
6571
- bottom: 0;
6572
- pointer-events: none;
6573
- `, ToastContainer = styled.div`
6574
- box-sizing: border-box;
6575
- position: absolute;
6576
- right: 0;
6577
- bottom: 0;
6578
- max-width: 420px;
6579
- width: 100%;
6580
- `;
6629
+ const StyledToastProvider = styled(Layer).withConfig({
6630
+ displayName: "StyledToastProvider",
6631
+ componentId: "sc-17mn6j-0"
6632
+ })`position:fixed;top:0;left:0;right:0;bottom:0;pointer-events:none;`, ToastContainer = styled.div.withConfig({
6633
+ displayName: "ToastContainer",
6634
+ componentId: "sc-17mn6j-1"
6635
+ })`box-sizing:border-box;position:absolute;right:0;bottom:0;max-width:420px;width:100%;`;
6581
6636
  function ToastProvider(props) {
6582
6637
  const $ = c(24), {
6583
6638
  children,
@@ -6661,7 +6716,7 @@ function ToastProvider(props) {
6661
6716
  toastsRef.current = {};
6662
6717
  }, t14 = [], $[10] = t13, $[11] = t14) : (t13 = $[10], t14 = $[11]), useEffect(t13, t14);
6663
6718
  let t15;
6664
- $[12] !== mounted || $[13] !== padding || $[14] !== paddingX || $[15] !== paddingY || $[16] !== prefersReducedMotion || $[17] !== state || $[18] !== variants || $[19] !== zOffset ? (t15 = mounted && /* @__PURE__ */ jsx(Root$1, { "data-ui": "ToastProvider", zOffset, children: /* @__PURE__ */ jsx(ToastContainer, { children: /* @__PURE__ */ jsx(Box, { padding, paddingX, paddingY, children: /* @__PURE__ */ jsx(AnimatePresence, { initial: !1, children: state.map((t162) => {
6719
+ $[12] !== mounted || $[13] !== padding || $[14] !== paddingX || $[15] !== paddingY || $[16] !== prefersReducedMotion || $[17] !== state || $[18] !== variants || $[19] !== zOffset ? (t15 = mounted && /* @__PURE__ */ jsx(StyledToastProvider, { "data-ui": "ToastProvider", zOffset, children: /* @__PURE__ */ jsx(ToastContainer, { children: /* @__PURE__ */ jsx(Box, { padding, paddingX, paddingY, children: /* @__PURE__ */ jsx(AnimatePresence, { initial: !1, children: state.map((t162) => {
6665
6720
  const {
6666
6721
  dismiss: dismiss_0,
6667
6722
  id: id_0,
@@ -7009,13 +7064,18 @@ const TreeGroup = memo(function(props) {
7009
7064
  const expanded = t0 === void 0 ? !1 : t0, tree = useTree(), t1 = !expanded;
7010
7065
  let t2;
7011
7066
  return $[4] !== children || $[5] !== restProps || $[6] !== t1 || $[7] !== tree.space ? (t2 = /* @__PURE__ */ jsx(Stack, { as: "ul", "data-ui": "TreeGroup", ...restProps, hidden: t1, marginTop: tree.space, role: "group", space: tree.space, children }), $[4] = children, $[5] = restProps, $[6] = t1, $[7] = tree.space, $[8] = t2) : t2 = $[8], t2;
7012
- }), Root = memo(styled.li(treeItemRootStyle, treeItemRootColorStyle)), TreeItemBox = styled(Box).attrs({
7067
+ }), StyledTreeItem = memo(styled.li.withConfig({
7068
+ displayName: "StyledTreeItem",
7069
+ componentId: "sc-iiskig-0"
7070
+ })(treeItemRootStyle, treeItemRootColorStyle)), TreeItemBox = /* @__PURE__ */ styled(Box).attrs({
7013
7071
  forwardedAs: "a"
7014
- })(treeItemBoxStyle), ToggleArrowText = styled(Text)`
7015
- & > svg {
7016
- transition: transform 100ms;
7017
- }
7018
- `, TreeItem = memo(function(props) {
7072
+ }).withConfig({
7073
+ displayName: "TreeItemBox",
7074
+ componentId: "sc-iiskig-1"
7075
+ })(treeItemBoxStyle), ToggleArrowText = styled(Text).withConfig({
7076
+ displayName: "ToggleArrowText",
7077
+ componentId: "sc-iiskig-2"
7078
+ })`& > svg{transition:transform 100ms;}`, TreeItem = memo(function(props) {
7019
7079
  const {
7020
7080
  children,
7021
7081
  expanded: expandedProp = !1,
@@ -7064,10 +7124,10 @@ const TreeGroup = memo(function(props) {
7064
7124
  ] }),
7065
7125
  /* @__PURE__ */ jsx(Box, { flex: 1, children: /* @__PURE__ */ jsx(Text, { muted, size: fontSize2, textOverflow: "ellipsis", weight, children: text }) })
7066
7126
  ] });
7067
- return href ? /* @__PURE__ */ jsxs(Root, { "data-selected": selected ? "" : void 0, "data-tree-id": id, "data-tree-key": itemKey, "data-ui": "TreeItem", ...restProps, onClick: handleClick, ref: rootRef, role: "none", children: [
7127
+ return href ? /* @__PURE__ */ jsxs(StyledTreeItem, { "data-selected": selected ? "" : void 0, "data-tree-id": id, "data-tree-key": itemKey, "data-ui": "TreeItem", ...restProps, onClick: handleClick, ref: rootRef, role: "none", children: [
7068
7128
  /* @__PURE__ */ jsx(TreeItemBox, { $level: tree.level, "aria-expanded": expanded, as: linkAs, "data-ui": "TreeItem__box", href, ref: treeitemRef, role: "treeitem", tabIndex, children: content }),
7069
7129
  /* @__PURE__ */ jsx(TreeContext.Provider, { value: contextValue, children: children && /* @__PURE__ */ jsx(TreeGroup, { hidden: !expanded, children }) })
7070
- ] }) : /* @__PURE__ */ jsxs(Root, { "data-selected": selected ? "" : void 0, "data-ui": "TreeItem", "data-tree-id": id, "data-tree-key": itemKey, ...restProps, "aria-expanded": expanded, onClick: handleClick, onKeyDown: handleKeyDown, ref: rootRef, role: "treeitem", tabIndex, children: [
7130
+ ] }) : /* @__PURE__ */ jsxs(StyledTreeItem, { "data-selected": selected ? "" : void 0, "data-ui": "TreeItem", "data-tree-id": id, "data-tree-key": itemKey, ...restProps, "aria-expanded": expanded, onClick: handleClick, onKeyDown: handleKeyDown, ref: rootRef, role: "treeitem", tabIndex, children: [
7071
7131
  /* @__PURE__ */ jsx(TreeItemBox, { $level: tree.level, as: "div", "data-ui": "TreeItem__box", children: content }),
7072
7132
  /* @__PURE__ */ jsx(TreeContext.Provider, { value: contextValue, children: children && /* @__PURE__ */ jsx(TreeGroup, { expanded, children }) })
7073
7133
  ] });