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

refactor(image): sfc to tsx #1414

Merged
merged 4 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from 3 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
64 changes: 32 additions & 32 deletions src/avatar/__test__/__snapshots__/demo.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ exports[`Avatar > Avatar actionVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -125,7 +125,7 @@ exports[`Avatar > Avatar actionVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -192,7 +192,7 @@ exports[`Avatar > Avatar actionVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -259,7 +259,7 @@ exports[`Avatar > Avatar actionVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -326,7 +326,7 @@ exports[`Avatar > Avatar actionVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -445,7 +445,7 @@ exports[`Avatar > Avatar badgeAvatarVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -680,7 +680,7 @@ exports[`Avatar > Avatar exhibitionVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -748,7 +748,7 @@ exports[`Avatar > Avatar exhibitionVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -816,7 +816,7 @@ exports[`Avatar > Avatar exhibitionVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -884,7 +884,7 @@ exports[`Avatar > Avatar exhibitionVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -952,7 +952,7 @@ exports[`Avatar > Avatar exhibitionVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -1144,7 +1144,7 @@ exports[`Avatar > Avatar imageAvatarVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -1211,7 +1211,7 @@ exports[`Avatar > Avatar imageAvatarVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -1324,7 +1324,7 @@ exports[`Avatar > Avatar mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -1391,7 +1391,7 @@ exports[`Avatar > Avatar mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -1684,7 +1684,7 @@ exports[`Avatar > Avatar mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -1752,7 +1752,7 @@ exports[`Avatar > Avatar mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -1820,7 +1820,7 @@ exports[`Avatar > Avatar mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -1888,7 +1888,7 @@ exports[`Avatar > Avatar mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -1956,7 +1956,7 @@ exports[`Avatar > Avatar mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -2084,7 +2084,7 @@ exports[`Avatar > Avatar mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -2151,7 +2151,7 @@ exports[`Avatar > Avatar mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -2218,7 +2218,7 @@ exports[`Avatar > Avatar mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -2285,7 +2285,7 @@ exports[`Avatar > Avatar mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -2352,7 +2352,7 @@ exports[`Avatar > Avatar mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -2490,7 +2490,7 @@ exports[`Avatar > Avatar mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -2680,7 +2680,7 @@ exports[`Avatar > Avatar mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt="示例图片"
class="t-image__img"
Expand Down Expand Up @@ -2826,7 +2826,7 @@ exports[`Avatar > Avatar mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt="示例图片"
class="t-image__img"
Expand Down Expand Up @@ -2972,7 +2972,7 @@ exports[`Avatar > Avatar mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt="示例图片"
class="t-image__img"
Expand Down Expand Up @@ -3129,7 +3129,7 @@ exports[`Avatar > Avatar sizeVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt="示例图片"
class="t-image__img"
Expand Down Expand Up @@ -3275,7 +3275,7 @@ exports[`Avatar > Avatar sizeVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt="示例图片"
class="t-image__img"
Expand Down Expand Up @@ -3421,7 +3421,7 @@ exports[`Avatar > Avatar sizeVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt="示例图片"
class="t-image__img"
Expand Down
4 changes: 2 additions & 2 deletions src/cell/__test__/__snapshots__/demo.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ exports[`Cell > Cell mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -1621,7 +1621,7 @@ exports[`Cell > Cell multipleVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down
12 changes: 6 additions & 6 deletions src/config-provider/__test__/__snapshots__/demo.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ exports[`ConfigProvider > ConfigProvider mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -166,7 +166,7 @@ exports[`ConfigProvider > ConfigProvider mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -250,7 +250,7 @@ exports[`ConfigProvider > ConfigProvider mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -6865,7 +6865,7 @@ exports[`ConfigProvider > ConfigProvider uploadEnVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -6949,7 +6949,7 @@ exports[`ConfigProvider > ConfigProvider uploadEnVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -7033,7 +7033,7 @@ exports[`ConfigProvider > ConfigProvider uploadEnVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down
8 changes: 4 additions & 4 deletions src/dialog/__test__/__snapshots__/demo.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ exports[`Dialog > Dialog imageDialogVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -689,7 +689,7 @@ exports[`Dialog > Dialog imageDialogVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -1895,7 +1895,7 @@ exports[`Dialog > Dialog mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down Expand Up @@ -2059,7 +2059,7 @@ exports[`Dialog > Dialog mobileVue demo works fine 1`] = `
</div>
</div>
<picture>
<!--v-if-->
<!---->
<img
alt=""
class="t-image__img"
Expand Down
Loading
Loading