Skip to content

Commit

Permalink
chore: upgrade rc-dialog to 9.6.0 (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 authored Sep 9, 2024
1 parent a393db2 commit 2b1b4f0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 22 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@babel/runtime": "^7.11.2",
"@rc-component/portal": "^1.0.2",
"classnames": "^2.2.6",
"rc-dialog": "~9.5.2",
"rc-dialog": "~9.6.0",
"rc-motion": "^2.6.2",
"rc-util": "^5.34.1"
},
Expand Down
8 changes: 1 addition & 7 deletions tests/__snapshots__/controlled.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,9 @@ exports[`Controlled With previewVisible 1`] = `
role="dialog"
style="display: none;"
>
<div
aria-hidden="true"
style="width: 0px; height: 0px; overflow: hidden; outline: none;"
tabindex="0"
/>
<div
style="outline: none;"
tabindex="-1"
tabindex="0"
>
<div
class="rc-image-preview-content"
Expand All @@ -35,7 +30,6 @@ exports[`Controlled With previewVisible 1`] = `
</div>
</div>
<div
aria-hidden="true"
style="width: 0px; height: 0px; overflow: hidden; outline: none;"
tabindex="0"
/>
Expand Down
8 changes: 1 addition & 7 deletions tests/__snapshots__/preview.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,9 @@ exports[`Preview add rootClassName should be correct when open preview 1`] = `
class="rc-image-preview zoom-appear zoom-appear-prepare zoom"
role="dialog"
>
<div
aria-hidden="true"
style="width: 0px; height: 0px; overflow: hidden; outline: none;"
tabindex="0"
/>
<div
style="outline: none;"
tabindex="-1"
tabindex="0"
>
<div
class="rc-image-preview-content"
Expand All @@ -67,7 +62,6 @@ exports[`Preview add rootClassName should be correct when open preview 1`] = `
</div>
</div>
<div
aria-hidden="true"
style="width: 0px; height: 0px; overflow: hidden; outline: none;"
tabindex="0"
/>
Expand Down
8 changes: 1 addition & 7 deletions tests/__snapshots__/previewGroup.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,9 @@ exports[`PreviewGroup With Controlled 1`] = `
role="dialog"
style="display: none;"
>
<div
aria-hidden="true"
style="width: 0px; height: 0px; overflow: hidden; outline: none;"
tabindex="0"
/>
<div
style="outline: none;"
tabindex="-1"
tabindex="0"
>
<div
class="rc-image-preview-content"
Expand All @@ -35,7 +30,6 @@ exports[`PreviewGroup With Controlled 1`] = `
</div>
</div>
<div
aria-hidden="true"
style="width: 0px; height: 0px; overflow: hidden; outline: none;"
tabindex="0"
/>
Expand Down

0 comments on commit 2b1b4f0

Please sign in to comment.