From 0b47d8846a511d71bd1f7309b497d128a7aaa927 Mon Sep 17 00:00:00 2001 From: Jordan Phillips Date: Wed, 19 Jun 2024 20:34:38 +1000 Subject: [PATCH] chore: remove unnecessary @react-aria/utils package --- packages/react/package.json | 1 - packages/react/src/hooks/use-design-system.tsx | 2 +- pnpm-lock.yaml | 3 --- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/react/package.json b/packages/react/package.json index ccc5cd6..dc6c2ce 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -30,7 +30,6 @@ }, "dependencies": { "@giantnodes/theme": "workspace:*", - "@react-aria/utils": "^3.24.1", "class-variance-authority": "^0.7.0", "next-themes": "^0.3.0", "react-aria": "^3.33.1", diff --git a/packages/react/src/hooks/use-design-system.tsx b/packages/react/src/hooks/use-design-system.tsx index 41c822a..aff9261 100644 --- a/packages/react/src/hooks/use-design-system.tsx +++ b/packages/react/src/hooks/use-design-system.tsx @@ -1,8 +1,8 @@ 'use client' import type { ThemeProviderProps } from 'next-themes/dist/types' -import { RouterProvider } from '@react-aria/utils' import { ThemeProvider } from 'next-themes' +import { RouterProvider } from 'react-aria-components' export type UseDesignSystemProps = Omit & { /** diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e646ba9..edbc6e9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -38,9 +38,6 @@ importers: '@giantnodes/theme': specifier: workspace:* version: link:../theme - '@react-aria/utils': - specifier: ^3.24.1 - version: 3.24.1(react@18.3.1) class-variance-authority: specifier: ^0.7.0 version: 0.7.0