@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.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
|
|
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
|
|
1093
|
-
return $[8] !== animated || $[9] !== ref || $[10] !== restProps || $[11] !== t3 || $[12] !==
|
|
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({
|