Skip to content

Commit

Permalink
Upgrade react-remove-scroll version (#2765)
Browse files Browse the repository at this point in the history
Fixes #1548
Fixes #2367
  • Loading branch information
benoitgrelard authored Mar 7, 2024
1 parent 82eebe9 commit 4736d55
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 14 deletions.
17 changes: 17 additions & 0 deletions .yarn/versions/efa9f1f5.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
releases:
"@radix-ui/react-alert-dialog": patch
"@radix-ui/react-context-menu": patch
"@radix-ui/react-dialog": patch
"@radix-ui/react-dismissable-layer": patch
"@radix-ui/react-dropdown-menu": patch
"@radix-ui/react-hover-card": patch
"@radix-ui/react-menu": patch
"@radix-ui/react-menubar": patch
"@radix-ui/react-navigation-menu": patch
"@radix-ui/react-popover": patch
"@radix-ui/react-select": patch
"@radix-ui/react-toast": patch
"@radix-ui/react-tooltip": patch

declined:
- primitives
2 changes: 1 addition & 1 deletion packages/react/dialog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@radix-ui/react-slot": "workspace:*",
"@radix-ui/react-use-controllable-state": "workspace:*",
"aria-hidden": "^1.1.1",
"react-remove-scroll": "2.5.5"
"react-remove-scroll": "2.5.7"
},
"peerDependencies": {
"@types/react": "*",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/dismissable-layer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@radix-ui/react-use-escape-keydown": "workspace:*"
},
"devDependencies": {
"react-remove-scroll": "2.5.5"
"react-remove-scroll": "2.5.7"
},
"peerDependencies": {
"@types/react": "*",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/menu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@radix-ui/react-slot": "workspace:*",
"@radix-ui/react-use-callback-ref": "workspace:*",
"aria-hidden": "^1.1.1",
"react-remove-scroll": "2.5.5"
"react-remove-scroll": "2.5.7"
},
"peerDependencies": {
"@types/react": "*",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/popover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@radix-ui/react-slot": "workspace:*",
"@radix-ui/react-use-controllable-state": "workspace:*",
"aria-hidden": "^1.1.1",
"react-remove-scroll": "2.5.5"
"react-remove-scroll": "2.5.7"
},
"peerDependencies": {
"@types/react": "*",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/select/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@radix-ui/react-use-previous": "workspace:*",
"@radix-ui/react-visually-hidden": "workspace:*",
"aria-hidden": "^1.1.1",
"react-remove-scroll": "2.5.5"
"react-remove-scroll": "2.5.7"
},
"peerDependencies": {
"@types/react": "*",
Expand Down
37 changes: 28 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4846,7 +4846,7 @@ __metadata:
"@radix-ui/react-slot": "workspace:*"
"@radix-ui/react-use-controllable-state": "workspace:*"
aria-hidden: "npm:^1.1.1"
react-remove-scroll: "npm:2.5.5"
react-remove-scroll: "npm:2.5.7"
peerDependencies:
"@types/react": "*"
"@types/react-dom": "*"
Expand Down Expand Up @@ -4908,7 +4908,7 @@ __metadata:
"@radix-ui/react-primitive": "workspace:*"
"@radix-ui/react-use-callback-ref": "workspace:*"
"@radix-ui/react-use-escape-keydown": "workspace:*"
react-remove-scroll: "npm:2.5.5"
react-remove-scroll: "npm:2.5.7"
peerDependencies:
"@types/react": "*"
"@types/react-dom": "*"
Expand Down Expand Up @@ -5111,7 +5111,7 @@ __metadata:
"@radix-ui/react-slot": "workspace:*"
"@radix-ui/react-use-callback-ref": "workspace:*"
aria-hidden: "npm:^1.1.1"
react-remove-scroll: "npm:2.5.5"
react-remove-scroll: "npm:2.5.7"
peerDependencies:
"@types/react": "*"
"@types/react-dom": "*"
Expand Down Expand Up @@ -5204,7 +5204,7 @@ __metadata:
"@radix-ui/react-slot": "workspace:*"
"@radix-ui/react-use-controllable-state": "workspace:*"
aria-hidden: "npm:^1.1.1"
react-remove-scroll: "npm:2.5.5"
react-remove-scroll: "npm:2.5.7"
peerDependencies:
"@types/react": "*"
"@types/react-dom": "*"
Expand Down Expand Up @@ -5550,7 +5550,7 @@ __metadata:
"@radix-ui/react-use-previous": "workspace:*"
"@radix-ui/react-visually-hidden": "workspace:*"
aria-hidden: "npm:^1.1.1"
react-remove-scroll: "npm:2.5.5"
react-remove-scroll: "npm:2.5.7"
peerDependencies:
"@types/react": "*"
"@types/react-dom": "*"
Expand Down Expand Up @@ -17075,9 +17075,9 @@ __metadata:
languageName: node
linkType: hard

"react-remove-scroll-bar@npm:^2.3.3":
version: 2.3.4
resolution: "react-remove-scroll-bar@npm:2.3.4"
"react-remove-scroll-bar@npm:^2.3.3, react-remove-scroll-bar@npm:^2.3.4":
version: 2.3.5
resolution: "react-remove-scroll-bar@npm:2.3.5"
dependencies:
react-style-singleton: "npm:^2.2.1"
tslib: "npm:^2.0.0"
Expand All @@ -17087,7 +17087,7 @@ __metadata:
peerDependenciesMeta:
"@types/react":
optional: true
checksum: 10/ac028b3ed12e66972cab8656747736729b219dff5a600178d1650300a2a750ace37f7ec82146147d37b092b19874f45cf7a45edceff68ac1f59607a828ca089f
checksum: 10/6d05e74ee8049b322ba0aeb398e092ae284a5b04013bc07f0c1f283824b088fd5c1b1f1514a0e0e501c063a9c3b5899373039329d0266a21121222c814052053
languageName: node
linkType: hard

Expand All @@ -17110,6 +17110,25 @@ __metadata:
languageName: node
linkType: hard

"react-remove-scroll@npm:2.5.7":
version: 2.5.7
resolution: "react-remove-scroll@npm:2.5.7"
dependencies:
react-remove-scroll-bar: "npm:^2.3.4"
react-style-singleton: "npm:^2.2.1"
tslib: "npm:^2.1.0"
use-callback-ref: "npm:^1.3.0"
use-sidecar: "npm:^1.1.2"
peerDependencies:
"@types/react": ^16.8.0 || ^17.0.0 || ^18.0.0
react: ^16.8.0 || ^17.0.0 || ^18.0.0
peerDependenciesMeta:
"@types/react":
optional: true
checksum: 10/a1285d118e734855be6a1cf6c83a2ee39d8c5a5c3c336a1e9b80ab571326669bf39a52607f1889337c559c18b9e5fd5a0772fa82f748de3fcfe114ee6f772cc6
languageName: node
linkType: hard

"react-shallow-renderer@npm:^16.13.1":
version: 16.15.0
resolution: "react-shallow-renderer@npm:16.15.0"
Expand Down

0 comments on commit 4736d55

Please sign in to comment.