@sanity/ui 2.10.2 → 2.10.3
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.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
- package/src/core/constants.ts +1 -1
- package/src/core/primitives/popover/popoverCard.tsx +2 -2
- package/src/core/primitives/tooltip/tooltipCard.tsx +2 -2
package/dist/index.js
CHANGED
|
@@ -3754,7 +3754,7 @@ function calcMaxWidth(params) {
|
|
|
3754
3754
|
if (!(currentWidth === void 0 && boundaryWidth === void 0))
|
|
3755
3755
|
return Math.min(currentWidth ?? 1 / 0, (boundaryWidth || 1 / 0) - DEFAULT_POPOVER_PADDING * 2);
|
|
3756
3756
|
}
|
|
3757
|
-
const MotionCard$1 = styledComponents.styled(framerMotion.motion(Card))`
|
|
3757
|
+
const MotionCard$1 = styledComponents.styled(framerMotion.motion.create(Card))`
|
|
3758
3758
|
&:not([hidden]) {
|
|
3759
3759
|
display: flex;
|
|
3760
3760
|
}
|
|
@@ -4714,7 +4714,7 @@ const DEFAULT_TOOLTIP_ARROW_WIDTH = 15, DEFAULT_TOOLTIP_ARROW_HEIGHT = 6, DEFAUL
|
|
|
4714
4714
|
right: ["right-end", "right-start", "left", "top", "bottom"],
|
|
4715
4715
|
"right-start": ["right", "right-end", "left-start", "top-start", "bottom-start"],
|
|
4716
4716
|
"right-end": ["right", "right-start", "left-end", "top-end", "bottom-end"]
|
|
4717
|
-
}, MotionCard = styledComponents.styled(framerMotion.motion(Card))`
|
|
4717
|
+
}, MotionCard = styledComponents.styled(framerMotion.motion.create(Card))`
|
|
4718
4718
|
& > * {
|
|
4719
4719
|
opacity: var(${POPOVER_MOTION_CONTENT_OPACITY_PROPERTY}, 1);
|
|
4720
4720
|
will-change: opacity;
|