Update framer-motion

This commit is contained in:
Anton Gunnarsson
2025-05-06 18:13:17 +02:00
parent c3205d9561
commit 9af93fecda
9 changed files with 68 additions and 9 deletions
@@ -1,6 +1,6 @@
"use client"
import { motion } from "framer-motion"
import { motion } from "motion/react"
import { useIntl } from "react-intl"
import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon"
@@ -1,6 +1,6 @@
"use client"
import { motion } from "framer-motion"
import { motion } from "motion/react"
import { useState } from "react"
import {
Dialog,
@@ -1,6 +1,6 @@
"use client"
import { AnimatePresence, motion } from "framer-motion"
import { AnimatePresence, motion } from "motion/react"
import { useState } from "react"
import { useIntl } from "react-intl"
@@ -1,5 +1,5 @@
"use client"
import { AnimatePresence, motion } from "framer-motion"
import { AnimatePresence, motion } from "motion/react"
import { useState } from "react"
import { Button as ButtonRAC } from "react-aria-components"
import { useIntl } from "react-intl"
@@ -1,5 +1,5 @@
"use client"
import { AnimatePresence, motion } from "framer-motion"
import { AnimatePresence, motion } from "motion/react"
import { useEffect, useState } from "react"
import { Dialog, Modal, ModalOverlay } from "react-aria-components"
+1 -1
View File
@@ -1,7 +1,7 @@
"use client"
import { cx } from "class-variance-authority"
import { AnimatePresence, motion } from "framer-motion"
import { AnimatePresence, motion } from "motion/react"
import { type PropsWithChildren, useEffect, useState } from "react"
import {
Dialog,
@@ -1,6 +1,6 @@
"use client"
import { AnimatePresence, motion } from "framer-motion"
import { AnimatePresence, motion } from "motion/react"
import { usePathname } from "next/navigation"
import React, { useState } from "react"
import { Dialog, Modal, ModalOverlay } from "react-aria-components"