Skip to content

Commit 2b1b4f0

Browse files
authored
chore: upgrade rc-dialog to 9.6.0 (#370)
1 parent a393db2 commit 2b1b4f0

File tree

4 files changed

+4
-22
lines changed

4 files changed

+4
-22
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"@babel/runtime": "^7.11.2",
4242
"@rc-component/portal": "^1.0.2",
4343
"classnames": "^2.2.6",
44-
"rc-dialog": "~9.5.2",
44+
"rc-dialog": "~9.6.0",
4545
"rc-motion": "^2.6.2",
4646
"rc-util": "^5.34.1"
4747
},

tests/__snapshots__/controlled.test.tsx.snap

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,9 @@ exports[`Controlled With previewVisible 1`] = `
77
role="dialog"
88
style="display: none;"
99
>
10-
<div
11-
aria-hidden="true"
12-
style="width: 0px; height: 0px; overflow: hidden; outline: none;"
13-
tabindex="0"
14-
/>
1510
<div
1611
style="outline: none;"
17-
tabindex="-1"
12+
tabindex="0"
1813
>
1914
<div
2015
class="rc-image-preview-content"
@@ -35,7 +30,6 @@ exports[`Controlled With previewVisible 1`] = `
3530
</div>
3631
</div>
3732
<div
38-
aria-hidden="true"
3933
style="width: 0px; height: 0px; overflow: hidden; outline: none;"
4034
tabindex="0"
4135
/>

tests/__snapshots__/preview.test.tsx.snap

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,9 @@ exports[`Preview add rootClassName should be correct when open preview 1`] = `
3939
class="rc-image-preview zoom-appear zoom-appear-prepare zoom"
4040
role="dialog"
4141
>
42-
<div
43-
aria-hidden="true"
44-
style="width: 0px; height: 0px; overflow: hidden; outline: none;"
45-
tabindex="0"
46-
/>
4742
<div
4843
style="outline: none;"
49-
tabindex="-1"
44+
tabindex="0"
5045
>
5146
<div
5247
class="rc-image-preview-content"
@@ -67,7 +62,6 @@ exports[`Preview add rootClassName should be correct when open preview 1`] = `
6762
</div>
6863
</div>
6964
<div
70-
aria-hidden="true"
7165
style="width: 0px; height: 0px; overflow: hidden; outline: none;"
7266
tabindex="0"
7367
/>

tests/__snapshots__/previewGroup.test.tsx.snap

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,9 @@ exports[`PreviewGroup With Controlled 1`] = `
77
role="dialog"
88
style="display: none;"
99
>
10-
<div
11-
aria-hidden="true"
12-
style="width: 0px; height: 0px; overflow: hidden; outline: none;"
13-
tabindex="0"
14-
/>
1510
<div
1611
style="outline: none;"
17-
tabindex="-1"
12+
tabindex="0"
1813
>
1914
<div
2015
class="rc-image-preview-content"
@@ -35,7 +30,6 @@ exports[`PreviewGroup With Controlled 1`] = `
3530
</div>
3631
</div>
3732
<div
38-
aria-hidden="true"
3933
style="width: 0px; height: 0px; overflow: hidden; outline: none;"
4034
tabindex="0"
4135
/>

0 commit comments

Comments
 (0)