Skip to content

Commit 46baf71

Browse files
Bump focus-trap from 5.1.0 to 6.0.1 (#1416)
1 parent c28b0b0 commit 46baf71

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

packages/components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"d3-hsv": "^0.1.0",
2525
"date-fns": "^2.16.1",
2626
"date-fns-tz": "^1.0.10",
27-
"focus-trap": "^5.1.0",
27+
"focus-trap": "^6.0.1",
2828
"hotkeys-js": "^3.8.1",
2929
"lodash": "^4.17.20",
3030
"polished": "^3.6.6",

packages/components/src/utils/useFocusTrap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
2525
*/
2626

27-
import createFocusTrap, { FocusTrap } from 'focus-trap'
27+
import { createFocusTrap, FocusTrap } from 'focus-trap'
2828
import { useContext, useEffect, useRef } from 'react'
2929
import { DialogContext } from '../Dialog/DialogContext'
3030
import { useToggle } from './useToggle'

yarn.lock

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10221,13 +10221,12 @@ focus-lock@^0.7.0:
1022110221
resolved "https://registry.yarnpkg.com/focus-lock/-/focus-lock-0.7.0.tgz#b2bfb0ca7beacc8710a1ff74275fe0dc60a1d88a"
1022210222
integrity sha512-LI7v2mH02R55SekHYdv9pRHR9RajVNyIJ2N5IEkWbg7FT5ZmJ9Hw4mWxHeEUcd+dJo0QmzztHvDvWcc7prVFsw==
1022310223

10224-
focus-trap@^5.1.0:
10225-
version "5.1.0"
10226-
resolved "https://registry.yarnpkg.com/focus-trap/-/focus-trap-5.1.0.tgz#64a0bfabd95c382103397dbc96bfef3a3cf8e5ad"
10227-
integrity sha512-CkB/nrO55069QAUjWFBpX6oc+9V90Qhgpe6fBWApzruMq5gnlh90Oo7iSSDK7pKiV5ugG6OY2AXM5mxcmL3lwQ==
10224+
focus-trap@^6.0.1:
10225+
version "6.0.1"
10226+
resolved "https://registry.yarnpkg.com/focus-trap/-/focus-trap-6.0.1.tgz#f90725e4bb62ddab16e685b02b43b823858a4c0a"
10227+
integrity sha512-BOksLMPK/jlXD389jYPlZHAqiDdy9W63EBQfVIouME8s3UZsCEmq3NA53qt30S4i72sRcDjc1FHtast0TmqhRA==
1022810228
dependencies:
10229-
tabbable "^4.0.0"
10230-
xtend "^4.0.1"
10229+
tabbable "^5.0.0"
1023110230

1023210231
1023310232
version "1.5.10"
@@ -20458,6 +20457,11 @@ tabbable@^4.0.0:
2045820457
resolved "https://registry.yarnpkg.com/tabbable/-/tabbable-4.0.0.tgz#5bff1d1135df1482cf0f0206434f15eadbeb9261"
2045920458
integrity sha512-H1XoH1URcBOa/rZZWxLxHCtOdVUEev+9vo5YdYhC9tCY4wnybX+VQrCYuy9ubkg69fCBxCONJOSLGfw0DWMffQ==
2046020459

20460+
tabbable@^5.0.0:
20461+
version "5.0.0"
20462+
resolved "https://registry.yarnpkg.com/tabbable/-/tabbable-5.0.0.tgz#862b6f33a625da45d7c648cff0262dab453d8b0c"
20463+
integrity sha512-+TJTMpkHRCWkMGczHHVEfzBYCsVOiBjd3vle55AT4H299BhdJDLFqcYmr7S6kt5EGhT8gAywSC5gPUBDNvtl7w==
20464+
2046120465
table@^5.2.3, table@^5.4.6:
2046220466
version "5.4.6"
2046320467
resolved "https://registry.yarnpkg.com/table/-/table-5.4.6.tgz#1292d19500ce3f86053b05f0e8e7e4a3bb21079e"

0 commit comments

Comments
 (0)