Upgrade other react dependencies

This commit is contained in:
Jamie
2026-03-17 13:42:29 -07:00
committed by GitHub
parent fcafec550e
commit 3851a3905a
19 changed files with 1668 additions and 1938 deletions

View File

@@ -3,8 +3,8 @@
import React, { type ReactNode } from 'react';
import lodash from 'lodash';
import type { Transition } from 'framer-motion';
import { motion } from 'framer-motion';
import type { Transition } from 'motion/react';
import { motion } from 'motion/react';
import type { ReadonlyDeep } from 'type-fest';
import { tw } from '../../../axo/tw.dom.js';

View File

@@ -3,7 +3,7 @@
import type { ForwardedRef, ReactNode } from 'react';
import React, { forwardRef, memo, useCallback, useMemo, useState } from 'react';
import { Tabs } from 'radix-ui';
import { AnimatePresence, motion } from 'framer-motion';
import { AnimatePresence, motion } from 'motion/react';
import type { LocalizerType } from '../../../types/I18N.std.js';
import { tw } from '../../../axo/tw.dom.js';
import { AxoIconButton } from '../../../axo/AxoIconButton.dom.js';

View File

@@ -3,7 +3,7 @@
import React, { memo, useState, useEffect, useRef } from 'react';
import { Checkbox } from 'radix-ui';
import { AnimatePresence, motion } from 'framer-motion';
import { AnimatePresence, motion } from 'motion/react';
import { type TailwindStyles, tw } from '../../../axo/tw.dom.js';
import { AxoButton } from '../../../axo/AxoButton.dom.js';
import { AxoSymbol } from '../../../axo/AxoSymbol.dom.js';
@@ -356,7 +356,7 @@ export function PollMessageContents({
</div>
<div className={tw('mt-4 flex h-10 items-center justify-center')}>
<AnimatePresence exitBeforeEnter initial={false}>
<AnimatePresence mode="wait" initial={false}>
{totalVotes > 0 ? (
<motion.div
key="view-votes"