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

@@ -5,7 +5,7 @@ import React, { useCallback } from 'react';
import type { Placement } from 'react-aria';
import { Dialog, Popover } from 'react-aria-components';
import classNames from 'classnames';
import * as Tooltip from '@radix-ui/react-tooltip';
import { Tooltip } from 'radix-ui';
import { ThemeType } from '../../../types/Util.std.js';
export type FunPopoverProps = Readonly<{

View File

@@ -1,8 +1,8 @@
// Copyright 2025 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import classNames from 'classnames';
import type { Transition } from 'framer-motion';
import { motion } from 'framer-motion';
import type { Transition } from 'motion/react';
import { motion } from 'motion/react';
import type { ReactNode, Ref } from 'react';
import React, {
createContext,

View File

@@ -1,7 +1,7 @@
// Copyright 2025 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import type { Transition } from 'framer-motion';
import { AnimatePresence, motion } from 'framer-motion';
import type { Transition } from 'motion/react';
import { AnimatePresence, motion } from 'motion/react';
import type { ReactNode } from 'react';
import React, { useCallback, useId } from 'react';
import type { Key } from 'react-aria';

View File

@@ -1,9 +1,13 @@
// Copyright 2025 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import React, { useRef, useState, type ReactNode } from 'react';
import * as Tooltip from '@radix-ui/react-tooltip';
import { useLayoutEffect } from '@react-aria/utils';
import React, {
useRef,
useState,
useLayoutEffect,
type ReactNode,
} from 'react';
import { Tooltip } from 'radix-ui';
import { strictAssert } from '../../../util/assert.std.js';
export type FunTooltipProps = Readonly<{