@sanity/ui 2.8.11 → 2.8.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -2069,7 +2069,7 @@ const Root$t = styled.button(responsiveRadiusStyle, buttonBaseStyles, buttonColo
2069
2069
  isValidElement(IconComponent) && IconComponent,
2070
2070
  isValidElementType(IconComponent) && /* @__PURE__ */ jsx(IconComponent, {})
2071
2071
  ] }),
2072
- text && /* @__PURE__ */ jsx(
2072
+ text && /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
2073
2073
  Text,
2074
2074
  {
2075
2075
  muted,
@@ -2079,7 +2079,7 @@ const Root$t = styled.button(responsiveRadiusStyle, buttonBaseStyles, buttonColo
2079
2079
  weight: button.textWeight,
2080
2080
  children: text
2081
2081
  }
2082
- ),
2082
+ ) }),
2083
2083
  IconRightComponent && /* @__PURE__ */ jsxs(Text, { size: fontSize2, children: [
2084
2084
  isValidElement(IconRightComponent) && IconRightComponent,
2085
2085
  isValidElementType(IconRightComponent) && /* @__PURE__ */ jsx(IconRightComponent, {})