@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.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +30 -30
- package/src/core/primitives/button/button.tsx +11 -9
package/dist/index.js
CHANGED
|
@@ -2064,7 +2064,7 @@ const Root$t = styledComponents.styled.button(responsiveRadiusStyle, buttonBaseS
|
|
|
2064
2064
|
react.isValidElement(IconComponent) && IconComponent,
|
|
2065
2065
|
ReactIs.isValidElementType(IconComponent) && /* @__PURE__ */ jsxRuntime.jsx(IconComponent, {})
|
|
2066
2066
|
] }),
|
|
2067
|
-
text && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2067
|
+
text && /* @__PURE__ */ jsxRuntime.jsx(Box, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2068
2068
|
Text,
|
|
2069
2069
|
{
|
|
2070
2070
|
muted,
|
|
@@ -2074,7 +2074,7 @@ const Root$t = styledComponents.styled.button(responsiveRadiusStyle, buttonBaseS
|
|
|
2074
2074
|
weight: button.textWeight,
|
|
2075
2075
|
children: text
|
|
2076
2076
|
}
|
|
2077
|
-
),
|
|
2077
|
+
) }),
|
|
2078
2078
|
IconRightComponent && /* @__PURE__ */ jsxRuntime.jsxs(Text, { size: fontSize2, children: [
|
|
2079
2079
|
react.isValidElement(IconRightComponent) && IconRightComponent,
|
|
2080
2080
|
ReactIs.isValidElementType(IconRightComponent) && /* @__PURE__ */ jsxRuntime.jsx(IconRightComponent, {})
|