Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade rc-dialog to 9.6.0 #370

Merged
merged 2 commits into from
Sep 9, 2024
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
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