Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .yarn/offline-mirror/focus-trap-6.6.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/focus-trap-6.7.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/focus-trap-react-8.7.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/focus-trap-react-8.8.1.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"classnames": "^2.3.1",
"downshift": "^6.1.3",
"export-to-csv": "^0.2.1",
"focus-trap-react": "^8.7.0",
"focus-trap-react": "^8.8.1",
"invariant": "^2.2.3",
"numeral": "^2.0.6",
"prop-types": "^15.7.2",
Expand Down
1 change: 0 additions & 1 deletion src/components/Portal/Portal.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ Portal.defaultProps = {
focusTrap: true,
focusTrapOptions: FocusTrap.defaultProps.focusTrapOptions,
hasOverlay: true,
initialFocus: null,
onOverlayClick: undefined,
overlayOptions: {},
rootNode: isClient() && document.body,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ exports[`TearsheetSmall renders 1`] = `
focusTrap={true}
focusTrapOptions={Object {}}
hasOverlay={true}
initialFocus={null}
overlayOptions={Object {}}
rootNode={<body />}
stopPropagation={false}
Expand Down Expand Up @@ -121,7 +120,6 @@ exports[`TearsheetSmall renders disabled buttons 1`] = `
focusTrap={true}
focusTrapOptions={Object {}}
hasOverlay={true}
initialFocus={null}
overlayOptions={Object {}}
rootNode={<body />}
stopPropagation={false}
Expand Down Expand Up @@ -213,7 +211,6 @@ exports[`TearsheetSmall renders loading state 1`] = `
focusTrap={true}
focusTrapOptions={Object {}}
hasOverlay={true}
initialFocus={null}
overlayOptions={Object {}}
rootNode={<body />}
stopPropagation={false}
Expand Down Expand Up @@ -332,7 +329,6 @@ exports[`TearsheetSmall should override \`labels\` if button label property prov
focusTrap={true}
focusTrapOptions={Object {}}
hasOverlay={true}
initialFocus={null}
overlayOptions={Object {}}
rootNode={<body />}
stopPropagation={false}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1447,6 +1447,9 @@ Map {
],
"type": "oneOfType",
},
"document": Object {
"type": "object",
},
"escapeDeactivates": Object {
"args": Array [
Array [
Expand Down Expand Up @@ -7343,6 +7346,9 @@ Map {
],
"type": "oneOfType",
},
"document": Object {
"type": "object",
},
"escapeDeactivates": Object {
"args": Array [
Array [
Expand Down Expand Up @@ -7584,7 +7590,6 @@ Map {
"focusTrap": true,
"focusTrapOptions": Object {},
"hasOverlay": true,
"initialFocus": null,
"onOverlayClick": undefined,
"overlayOptions": Object {},
"rootNode": <body />,
Expand Down Expand Up @@ -7633,6 +7638,9 @@ Map {
],
"type": "oneOfType",
},
"document": Object {
"type": "object",
},
"escapeDeactivates": Object {
"args": Array [
Array [
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9410,17 +9410,17 @@ focus-lock@^0.9.1:
dependencies:
tslib "^2.0.3"

focus-trap-react@^8.7.0:
version "8.7.1"
resolved "https://registry.yarnpkg.com/focus-trap-react/-/focus-trap-react-8.7.1.tgz#a9e4dc866db5e6794bdb751cad9ddc8989598ec5"
integrity sha512-1bCCtdZXSzYVrMEcvHfHq+706OSM5r3iZsBFXy9zbnf3+5dyCFiEVWix7Sf6jUaOgshjpyDvZHiBhSlcsO9k3A==
focus-trap-react@^8.8.1:
version "8.8.1"
resolved "https://registry.yarnpkg.com/focus-trap-react/-/focus-trap-react-8.8.1.tgz#2c7043e748460a191a1c7e2552e7c964f3f9fd46"
integrity sha512-Uy7U/l3fozlwLYBSQHP91QjuRUUcAQ9FJ3glAGmwF/fXSiPa/4negTy02zWElLZdZDPIfebC8V14aI1Gzc5V3w==
dependencies:
focus-trap "^6.6.1"
focus-trap "^6.7.1"

focus-trap@^6.6.1:
version "6.6.1"
resolved "https://registry.yarnpkg.com/focus-trap/-/focus-trap-6.6.1.tgz#761ce2c82ddd72beeb049e968bc8414e25b704aa"
integrity sha512-x9BWuAeF5UrfWuYKJ3jYrjcVYSYptS9CqtxH5IH7lPlZrMsaugKeAa0HtoZSBZe5DmeTMx2m0qY464ZMzqarzw==
focus-trap@^6.7.1:
version "6.7.1"
resolved "https://registry.yarnpkg.com/focus-trap/-/focus-trap-6.7.1.tgz#d474f86dbaf3c7fbf0d53cf0b12295f4f4068d10"
integrity sha512-a6czHbT9twVpy2RpkWQA9vIgwQgB9Nx1PIxNNUxQT4nugG/3QibwxO+tWTh9i+zSY2SFiX4pnYhTaFaQF/6ZAg==
dependencies:
tabbable "^5.2.1"

Expand Down