@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.mjs CHANGED
@@ -1086,7 +1086,7 @@ const keyframe = keyframes`
1086
1086
  let t1, t2;
1087
1087
  $[5] !== delay ? (t1 = () => {
1088
1088
  if (!delay)
1089
- return setVisible(!0);
1089
+ return;
1090
1090
  const timeout = setTimeout(() => {
1091
1091
  setVisible(!0);
1092
1092
  }, delay);
@@ -1094,9 +1094,9 @@ const keyframe = keyframes`
1094
1094
  clearTimeout(timeout);
1095
1095
  };
1096
1096
  }, t2 = [delay], $[5] = delay, $[6] = t1, $[7] = t2) : (t1 = $[6], t2 = $[7]), useEffect(t1, t2);
1097
- const t3 = useArrayProp(radius);
1098
- let t4;
1099
- 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;
1097
+ const t3 = useArrayProp(radius), t4 = delay ? visible : !0;
1098
+ let t5;
1099
+ return $[8] !== animated || $[9] !== ref || $[10] !== restProps || $[11] !== t3 || $[12] !== t4 ? (t5 = /* @__PURE__ */ 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;
1100
1100
  });
1101
1101
  Skeleton.displayName = "ForwardRef(Skeleton)";
1102
1102
  const StyledSkeleton = /* @__PURE__ */ styled(Skeleton).withConfig({