@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 CHANGED
@@ -3760,7 +3760,7 @@ function calcMaxWidth(params) {
3760
3760
  if (!(currentWidth === void 0 && boundaryWidth === void 0))
3761
3761
  return Math.min(currentWidth ?? 1 / 0, (boundaryWidth || 1 / 0) - DEFAULT_POPOVER_PADDING * 2);
3762
3762
  }
3763
- const MotionCard$1 = styled(motion(Card))`
3763
+ const MotionCard$1 = styled(motion.create(Card))`
3764
3764
  &:not([hidden]) {
3765
3765
  display: flex;
3766
3766
  }
@@ -4720,7 +4720,7 @@ const DEFAULT_TOOLTIP_ARROW_WIDTH = 15, DEFAULT_TOOLTIP_ARROW_HEIGHT = 6, DEFAUL
4720
4720
  right: ["right-end", "right-start", "left", "top", "bottom"],
4721
4721
  "right-start": ["right", "right-end", "left-start", "top-start", "bottom-start"],
4722
4722
  "right-end": ["right", "right-start", "left-end", "top-end", "bottom-end"]
4723
- }, MotionCard = styled(motion(Card))`
4723
+ }, MotionCard = styled(motion.create(Card))`
4724
4724
  & > * {
4725
4725
  opacity: var(${POPOVER_MOTION_CONTENT_OPACITY_PROPERTY}, 1);
4726
4726
  will-change: opacity;