@sanity/ui 3.0.12 → 3.0.13

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.js CHANGED
@@ -1080,7 +1080,7 @@ const keyframe = styledComponents.keyframes`
1080
1080
  let t1, t2;
1081
1081
  $[5] !== delay ? (t1 = () => {
1082
1082
  if (!delay)
1083
- return setVisible(!0);
1083
+ return;
1084
1084
  const timeout = setTimeout(() => {
1085
1085
  setVisible(!0);
1086
1086
  }, delay);
@@ -1088,9 +1088,9 @@ const keyframe = styledComponents.keyframes`
1088
1088
  clearTimeout(timeout);
1089
1089
  };
1090
1090
  }, t2 = [delay], $[5] = delay, $[6] = t1, $[7] = t2) : (t1 = $[6], t2 = $[7]), react.useEffect(t1, t2);
1091
- const t3 = _visualEditing.useArrayProp(radius);
1092
- let t4;
1093
- return $[8] !== animated || $[9] !== ref || $[10] !== restProps || $[11] !== t3 || $[12] !== visible ? (t4 = /* @__PURE__ */ jsxRuntime.jsx(StyledSkeleton$1, { ...restProps, $animated: animated, $radius: t3, $visible: visible, ref }), $[8] = animated, $[9] = ref, $[10] = restProps, $[11] = t3, $[12] = visible, $[13] = t4) : t4 = $[13], t4;
1091
+ const t3 = _visualEditing.useArrayProp(radius), t4 = delay ? visible : !0;
1092
+ let t5;
1093
+ return $[8] !== animated || $[9] !== ref || $[10] !== restProps || $[11] !== t3 || $[12] !== t4 ? (t5 = /* @__PURE__ */ jsxRuntime.jsx(StyledSkeleton$1, { ...restProps, $animated: animated, $radius: t3, $visible: t4, ref }), $[8] = animated, $[9] = ref, $[10] = restProps, $[11] = t3, $[12] = t4, $[13] = t5) : t5 = $[13], t5;
1094
1094
  });
1095
1095
  Skeleton.displayName = "ForwardRef(Skeleton)";
1096
1096
  const StyledSkeleton = /* @__PURE__ */ styledComponents.styled(Skeleton).withConfig({