@sanity/ui 3.0.0-static.46 → 3.0.0-static.47

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.cjs CHANGED
@@ -3701,19 +3701,18 @@ function Select(props) {
3701
3701
  }
3702
3702
  const DEFAULT_SKELETON_ELEMENT = "div";
3703
3703
  function Skeleton(props) {
3704
- const $ = compilerRuntime.c(19), t0 = props;
3705
- let className, delay, radius, rest, t1, t2;
3704
+ const $ = compilerRuntime.c(18), t0 = props;
3705
+ let className, delay, rest, t1, t2;
3706
3706
  $[0] !== t0 ? ({
3707
3707
  as: t1,
3708
3708
  animated: t2,
3709
3709
  className,
3710
3710
  delay,
3711
- radius,
3712
3711
  ...rest
3713
- } = t0, $[0] = t0, $[1] = className, $[2] = delay, $[3] = radius, $[4] = rest, $[5] = t1, $[6] = t2) : (className = $[1], delay = $[2], radius = $[3], rest = $[4], t1 = $[5], t2 = $[6]);
3712
+ } = t0, $[0] = t0, $[1] = className, $[2] = delay, $[3] = rest, $[4] = t1, $[5] = t2) : (className = $[1], delay = $[2], rest = $[3], t1 = $[4], t2 = $[5]);
3714
3713
  const As = t1 === void 0 ? DEFAULT_SKELETON_ELEMENT : t1, animated = t2 === void 0 ? !1 : t2, [visible, setVisible] = react.useState(!delay);
3715
3714
  let t3, t4;
3716
- $[7] !== delay ? (t3 = () => {
3715
+ $[6] !== delay ? (t3 = () => {
3717
3716
  if (!delay)
3718
3717
  return setVisible(!0);
3719
3718
  const timeout = setTimeout(() => {
@@ -3722,15 +3721,15 @@ function Skeleton(props) {
3722
3721
  return () => {
3723
3722
  clearTimeout(timeout);
3724
3723
  };
3725
- }, t4 = [delay], $[7] = delay, $[8] = t3, $[9] = t4) : (t3 = $[8], t4 = $[9]), react.useEffect(t3, t4);
3724
+ }, t4 = [delay], $[6] = delay, $[7] = t3, $[8] = t4) : (t3 = $[7], t4 = $[8]), react.useEffect(t3, t4);
3726
3725
  let t5;
3727
- $[10] !== className || $[11] !== radius ? (t5 = css.skeleton({
3726
+ $[9] !== className || $[10] !== rest ? (t5 = css.skeleton({
3728
3727
  className,
3729
- radius
3730
- }), $[10] = className, $[11] = radius, $[12] = t5) : t5 = $[12];
3728
+ ...rest
3729
+ }), $[9] = className, $[10] = rest, $[11] = t5) : t5 = $[11];
3731
3730
  const t6 = animated ? "" : void 0, t7 = visible ? "" : void 0;
3732
3731
  let t8;
3733
- return $[13] !== As || $[14] !== rest || $[15] !== t5 || $[16] !== t6 || $[17] !== t7 ? (t8 = /* @__PURE__ */ jsxRuntime.jsx(As, { "data-ui": "Skeleton", ...rest, className: t5, "data-animated": t6, "data-visible": t7 }), $[13] = As, $[14] = rest, $[15] = t5, $[16] = t6, $[17] = t7, $[18] = t8) : t8 = $[18], t8;
3732
+ return $[12] !== As || $[13] !== rest || $[14] !== t5 || $[15] !== t6 || $[16] !== t7 ? (t8 = /* @__PURE__ */ jsxRuntime.jsx(As, { "data-ui": "Skeleton", ...rest, className: t5, "data-animated": t6, "data-visible": t7 }), $[12] = As, $[13] = rest, $[14] = t5, $[15] = t6, $[16] = t7, $[17] = t8) : t8 = $[17], t8;
3734
3733
  }
3735
3734
  const DEFAULT_CODE_SKELETON_ELEMENT = "div";
3736
3735
  function CodeSkeleton(props) {