From 5b69eb0972d9bec2e674aa49aa93d45b1a67bde4 Mon Sep 17 00:00:00 2001 From: Stephen Haberman Date: Tue, 27 Apr 2021 11:05:20 -0500 Subject: [PATCH] fix: Bump react-aria/stately. (#56) --- package.json | 4 ++-- src/components/IconButton.tsx | 3 +-- yarn.lock | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 1df40c0a2..e7f63fde3 100644 --- a/package.json +++ b/package.json @@ -36,8 +36,8 @@ }, "dependencies": { "@react-types/shared": "^3.4.0", - "react-aria": "^3.4.0", - "react-stately": "^3.3.0" + "react-aria": "^3.5.0", + "react-stately": "^3.4.0" }, "devDependencies": { "@babel/core": "^7.13.1", diff --git a/src/components/IconButton.tsx b/src/components/IconButton.tsx index 6af79b02b..63378db27 100644 --- a/src/components/IconButton.tsx +++ b/src/components/IconButton.tsx @@ -1,6 +1,5 @@ -import { useButton } from "@react-aria/button"; import { useMemo, useRef } from "react"; -import { useFocusRing, useHover } from "react-aria"; +import { useButton, useFocusRing, useHover } from "react-aria"; import { Icon, IconProps } from "src"; import { Css, Palette } from "src/Css"; import { BeamButtonProps, BeamFocusableProps } from "src/interfaces"; diff --git a/yarn.lock b/yarn.lock index 1db9809c1..291e9b1a9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12370,7 +12370,7 @@ react-addons-create-fragment@^15.6.2: loose-envify "^1.3.1" object-assign "^4.1.0" -react-aria@^3.4.0: +react-aria@^3.5.0: version "3.5.0" resolved "https://registry.yarnpkg.com/react-aria/-/react-aria-3.5.0.tgz#52ba11feac30578c6c61a08137958fa2d32b8215" integrity sha512-V/qPcflOHTdt30BW9BV90nLwB9GsL6mbaMj2VORHUdJFw1VpqLUx91Cx4KDYmaWk5I+j5pjM1rO79VwTIJ3KHA== @@ -12625,7 +12625,7 @@ react-sizeme@^3.0.1: shallowequal "^1.1.0" throttle-debounce "^3.0.1" -react-stately@^3.3.0: +react-stately@^3.4.0: version "3.4.0" resolved "https://registry.yarnpkg.com/react-stately/-/react-stately-3.4.0.tgz#8a596e0544ae708be96614c1fd3e10f259cc6a95" integrity sha512-mlewf8B5xJbxCkjlJtLct1nLmsxTnXSSGFn1gFI46e9rTgmq2AzVQg7gWk4iGT9+QhN+8i/nWEqXXqNJ1pqJGA==