@sanity/ui 2.15.16 → 2.15.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.
- package/dist/_chunks-cjs/_visual-editing.js +4 -4
- package/dist/_chunks-cjs/_visual-editing.js.map +1 -1
- package/dist/_chunks-es/_visual-editing.mjs +4 -4
- package/dist/_chunks-es/_visual-editing.mjs.map +1 -1
- package/dist/theme.js +2 -2
- package/dist/theme.js.map +1 -1
- package/dist/theme.mjs +2 -2
- package/dist/theme.mjs.map +1 -1
- package/package.json +4 -4
- package/src/theme/defaults/colorTokens.ts +2 -2
|
@@ -2698,7 +2698,7 @@ const StyledInline = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
|
|
|
2698
2698
|
displayName: "StyledInline",
|
|
2699
2699
|
componentId: "sc-1pkiy6j-0"
|
|
2700
2700
|
})(inlineBaseStyle, inlineSpaceStyle), Inline = react.forwardRef(function(props, ref) {
|
|
2701
|
-
const $ = reactCompilerRuntime.c(
|
|
2701
|
+
const $ = reactCompilerRuntime.c(13);
|
|
2702
2702
|
let as, childrenProp, restProps, space;
|
|
2703
2703
|
$[0] !== props ? ({
|
|
2704
2704
|
as,
|
|
@@ -2708,9 +2708,9 @@ const StyledInline = /* @__PURE__ */ styledComponents.styled(Box).withConfig({
|
|
|
2708
2708
|
} = props, $[0] = props, $[1] = as, $[2] = childrenProp, $[3] = restProps, $[4] = space) : (as = $[1], childrenProp = $[2], restProps = $[3], space = $[4]);
|
|
2709
2709
|
let t0, t1;
|
|
2710
2710
|
$[5] !== childrenProp ? (t1 = react.Children.map(childrenProp, _temp$4), $[5] = childrenProp, $[6] = t1) : t1 = $[6], t0 = t1;
|
|
2711
|
-
const children = t0, t2 = useArrayProp(space);
|
|
2712
|
-
let
|
|
2713
|
-
return $[7] !== as || $[8] !== children || $[9] !== restProps || $[10] !== t2 ? (
|
|
2711
|
+
const children = t0, t2 = useArrayProp(space), t3 = ref;
|
|
2712
|
+
let t4;
|
|
2713
|
+
return $[7] !== as || $[8] !== children || $[9] !== restProps || $[10] !== t2 || $[11] !== t3 ? (t4 = /* @__PURE__ */ jsxRuntime.jsx(StyledInline, { "data-ui": "Inline", ...restProps, $space: t2, forwardedAs: as, ref: t3, children }), $[7] = as, $[8] = children, $[9] = restProps, $[10] = t2, $[11] = t3, $[12] = t4) : t4 = $[12], t4;
|
|
2714
2714
|
});
|
|
2715
2715
|
Inline.displayName = "ForwardRef(Inline)";
|
|
2716
2716
|
function _temp$4(child) {
|