@@ -7,7 +7,6 @@ exports[`renders ./components/image/demo/basic.vue correctly 1`] = `
7
7
<div class = " ant-image-mask-info" ><span role = " img" aria-label = " eye" class = " anticon anticon-eye" ><svg focusable = " false" class = " " data-icon = " eye" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" viewBox = " 64 64 896 896" ><path d = " M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" ></path ></svg ></span >Preview</div >
8
8
</div >
9
9
</div >
10
- <!---->
11
10
`;
12
11
13
12
exports[`renders ./components/image/demo/controlled-preview.vue correctly 1`] = `
@@ -31,7 +30,6 @@ exports[`renders ./components/image/demo/fallback.vue correctly 1`] = `
31
30
<div class = " ant-image-mask-info" ><span role = " img" aria-label = " eye" class = " anticon anticon-eye" ><svg focusable = " false" class = " " data-icon = " eye" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" viewBox = " 64 64 896 896" ><path d = " M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" ></path ></svg ></span >Preview</div >
32
31
</div >
33
32
</div >
34
- <!---->
35
33
`;
36
34
37
35
exports[`renders ./components/image/demo/placeholder.vue correctly 1`] = `
@@ -66,15 +64,12 @@ exports[`renders ./components/image/demo/preview-group.vue correctly 1`] = `
66
64
<div class = " ant-image-mask-info" ><span role = " img" aria-label = " eye" class = " anticon anticon-eye" ><svg focusable = " false" class = " " data-icon = " eye" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" viewBox = " 64 64 896 896" ><path d = " M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" ></path ></svg ></span >Preview</div >
67
65
</div >
68
66
</div >
69
- <!---->
70
67
<div class = " ant-image" style = " width: 200px;" ><img class = " ant-image-img" src = " https://aliyuncdn.antdv.com/logo.png" >
71
68
<!---->
72
69
<div class = " ant-image-mask" >
73
70
<div class = " ant-image-mask-info" ><span role = " img" aria-label = " eye" class = " anticon anticon-eye" ><svg focusable = " false" class = " " data-icon = " eye" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" viewBox = " 64 64 896 896" ><path d = " M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" ></path ></svg ></span >Preview</div >
74
71
</div >
75
72
</div >
76
- <!---->
77
- <!---->
78
73
`;
79
74
80
75
exports[`renders ./components/image/demo/preview-group-visible.vue correctly 1`] = `
@@ -84,7 +79,6 @@ exports[`renders ./components/image/demo/preview-group-visible.vue correctly 1`]
84
79
<div class = " ant-image-mask-info" ><span role = " img" aria-label = " eye" class = " anticon anticon-eye" ><svg focusable = " false" class = " " data-icon = " eye" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" viewBox = " 64 64 896 896" ><path d = " M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" ></path ></svg ></span >Preview</div >
85
80
</div >
86
81
</div >
87
- <!---->
88
82
<div style = " display: none;" >
89
83
<div class = " ant-image" ><img class = " ant-image-img" src = " https://gw.alipayobjects.com/zos/antfincdn/LlvErxo8H9/photo-1503185912284-5271ff81b9a8.webp" >
90
84
<!---->
@@ -118,5 +112,4 @@ exports[`renders ./components/image/demo/preview-src.vue correctly 1`] = `
118
112
<div class = " ant-image-mask-info" ><span role = " img" aria-label = " eye" class = " anticon anticon-eye" ><svg focusable = " false" class = " " data-icon = " eye" width = " 1em" height = " 1em" fill = " currentColor" aria-hidden = " true" viewBox = " 64 64 896 896" ><path d = " M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" ></path ></svg ></span >Preview</div >
119
113
</div >
120
114
</div >
121
- <!---->
122
115
`;
0 commit comments