@sanity/ui 2.14.0 → 2.14.2

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.
@@ -2484,13 +2484,12 @@ const LazyRefractor = react.lazy(() => Promise.resolve().then(function() {
2484
2484
  const t1 = useArrayProp(t0 === void 0 ? 2 : t0);
2485
2485
  let t2;
2486
2486
  $[6] !== children ? (t2 = /* @__PURE__ */ jsxRuntime.jsx("code", { children }), $[6] = children, $[7] = t2) : t2 = $[7];
2487
- const t3 = String(children);
2487
+ let t3;
2488
+ $[8] !== children || $[9] !== language ? (t3 = /* @__PURE__ */ jsxRuntime.jsx(LazyRefractor, { language, value: children }), $[8] = children, $[9] = language, $[10] = t3) : t3 = $[10];
2488
2489
  let t4;
2489
- $[8] !== language || $[9] !== t3 ? (t4 = /* @__PURE__ */ jsxRuntime.jsx(LazyRefractor, { language, value: t3 }), $[8] = language, $[9] = t3, $[10] = t4) : t4 = $[10];
2490
+ $[11] !== t2 || $[12] !== t3 ? (t4 = /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: t2, children: t3 }), $[11] = t2, $[12] = t3, $[13] = t4) : t4 = $[13];
2490
2491
  let t5;
2491
- $[11] !== t2 || $[12] !== t4 ? (t5 = /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: t2, children: t4 }), $[11] = t2, $[12] = t4, $[13] = t5) : t5 = $[13];
2492
- let t6;
2493
- return $[14] !== ref || $[15] !== restProps || $[16] !== t1 || $[17] !== t5 || $[18] !== weight ? (t6 = /* @__PURE__ */ jsxRuntime.jsx(StyledCode, { "data-ui": "Code", ...restProps, $size: t1, $weight: weight, ref, children: t5 }), $[14] = ref, $[15] = restProps, $[16] = t1, $[17] = t5, $[18] = weight, $[19] = t6) : t6 = $[19], t6;
2492
+ return $[14] !== ref || $[15] !== restProps || $[16] !== t1 || $[17] !== t4 || $[18] !== weight ? (t5 = /* @__PURE__ */ jsxRuntime.jsx(StyledCode, { "data-ui": "Code", ...restProps, $size: t1, $weight: weight, ref, children: t4 }), $[14] = ref, $[15] = restProps, $[16] = t1, $[17] = t4, $[18] = weight, $[19] = t5) : t5 = $[19], t5;
2494
2493
  });
2495
2494
  Code.displayName = "ForwardRef(Code)";
2496
2495
  const BASE_STYLE$1 = {
@@ -3303,11 +3302,10 @@ const StyledVirtualList = styledComponents.styled.div.withConfig({
3303
3302
  break bb0;
3304
3303
  }
3305
3304
  if (itemHeight === -1) {
3306
- const t123 = items[0];
3305
+ let t123;
3306
+ $[26] !== items[0] || $[27] !== renderItem ? (t123 = renderItem(items[0]), $[26] = items[0], $[27] = renderItem, $[28] = t123) : t123 = $[28];
3307
3307
  let t132;
3308
- $[26] !== renderItem || $[27] !== t123 ? (t132 = renderItem(t123), $[26] = renderItem, $[27] = t123, $[28] = t132) : t132 = $[28];
3309
- let t142;
3310
- $[29] !== t132 ? (t142 = [/* @__PURE__ */ jsxRuntime.jsx(ItemWrapper, { children: t132 }, 0)], $[29] = t132, $[30] = t142) : t142 = $[30], t11 = t142;
3308
+ $[29] !== t123 ? (t132 = [/* @__PURE__ */ jsxRuntime.jsx(ItemWrapper, { children: t123 }, 0)], $[29] = t123, $[30] = t132) : t132 = $[30], t11 = t132;
3311
3309
  break bb0;
3312
3310
  }
3313
3311
  let t122;