diff --git a/packages/store-ui/package.json b/packages/store-ui/package.json index a58e8e81e9..82a8bffbaa 100644 --- a/packages/store-ui/package.json +++ b/packages/store-ui/package.json @@ -52,7 +52,6 @@ ], "dependencies": { "@reach/popover": "^0.16.0", - "ally.js": "^1.4.1", "react-swipeable": "^6.1.2", "tabbable": "^5.2.1" }, diff --git a/packages/store-ui/src/molecules/Modal/useTrapFocus.ts b/packages/store-ui/src/molecules/Modal/useTrapFocus.ts index 40b2a83da6..e9c7355ba6 100644 --- a/packages/store-ui/src/molecules/Modal/useTrapFocus.ts +++ b/packages/store-ui/src/molecules/Modal/useTrapFocus.ts @@ -1,6 +1,7 @@ import { useEffect, useRef } from 'react' import type { RefObject } from 'react' -import { FocusableElement, tabbable } from 'tabbable' +import type { FocusableElement } from 'tabbable' +import { tabbable } from 'tabbable' interface TrapFocusParams { sentinelStartRef: RefObject diff --git a/yarn.lock b/yarn.lock index 86bdcac4c7..9f83dfa509 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5338,14 +5338,6 @@ ajv@^8.0.1: require-from-string "^2.0.2" uri-js "^4.2.2" -ally.js@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/ally.js/-/ally.js-1.4.1.tgz#9fb7e6ba58efac4ee9131cb29aa9ee3b540bcf1e" - integrity sha1-n7fmuljvrE7pExyymqnuO1QLzx4= - dependencies: - css.escape "^1.5.0" - platform "1.3.3" - alphanum-sort@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3" @@ -7914,7 +7906,7 @@ css-what@^5.0.0: resolved "https://registry.yarnpkg.com/css-what/-/css-what-5.0.1.tgz#3efa820131f4669a8ac2408f9c32e7c7de9f4cad" integrity sha512-FYDTSHb/7KXsWICVsxdmiExPjCfRC4qRFBdVwv7Ax9hMnvMmEjP9RfxTEZ3qPZGmADDn2vAKSo9UcN1jKVYscg== -css.escape@^1.5.0, css.escape@^1.5.1: +css.escape@^1.5.1: version "1.5.1" resolved "https://registry.yarnpkg.com/css.escape/-/css.escape-1.5.1.tgz#42e27d4fa04ae32f931a4b4d4191fa9cddee97cb" integrity sha1-QuJ9T6BK4y+TGktNQZH6nN3ul8s= @@ -16155,11 +16147,6 @@ pkg-up@^2.0.0: dependencies: find-up "^2.1.0" -platform@1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/platform/-/platform-1.3.3.tgz#646c77011899870b6a0903e75e997e8e51da7461" - integrity sha1-ZGx3ARiZhwtqCQPnXpl+jlHadGE= - platform@^1.3.6: version "1.3.6" resolved "https://registry.yarnpkg.com/platform/-/platform-1.3.6.tgz#48b4ce983164b209c2d45a107adb31f473a6e7a7"