@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/_chunks-cjs/_visual-editing.js.map +1 -1
- package/dist/_chunks-es/_visual-editing.mjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/core/components/menu/menuGroup.tsx +2 -0
- package/src/core/components/skeleton/skeleton.tsx +2 -2
- package/src/core/components/tree/tree.tsx +1 -0
- package/src/core/hooks/useClickOutside.ts +1 -0
- package/src/core/primitives/avatar/avatar.tsx +1 -0
- package/src/core/primitives/tooltip/tooltip.tsx +1 -0
- package/src/core/utils/virtualList/virtualList.tsx +2 -0
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
|
|
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
|
|
1099
|
-
return $[8] !== animated || $[9] !== ref || $[10] !== restProps || $[11] !== t3 || $[12] !==
|
|
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({
|