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(input): sfc to tsx #1342

Merged
merged 3 commits into from
Apr 28, 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
64 changes: 24 additions & 40 deletions src/dialog/__test__/__snapshots__/demo.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -855,17 +855,13 @@ exports[`Dialog > Dialog inputVue demo works fine 1`] = `
>

<div
class="t-input t-input--layout-horizontal t-input--size-small t-input--border"
class="t-input t-input--layout-horizontal t-input--border"
data-v-4a76bf3d=""
>
<div
class="t-input__wrap--prefix"
>
<div
class="t-input__icon--prefix"
>
<!--v-if-->
</div>
<!---->
<div
class="t-input__label"
>
Expand All @@ -886,11 +882,11 @@ exports[`Dialog > Dialog inputVue demo works fine 1`] = `
placeholder="请输入文字"
type="text"
/>
<!--v-if-->
<!--v-if-->
<!--v-if-->
<!---->
<!---->
<!---->
</div>
<!--v-if-->
<!---->
</div>
</div>

Expand Down Expand Up @@ -1007,17 +1003,13 @@ exports[`Dialog > Dialog inputVue demo works fine 1`] = `
告知当前状态、信息和解决方法等,描述文案尽可能控制在三行内
</p>
<div
class="t-input t-input--layout-horizontal t-input--size-small t-input--border"
class="t-input t-input--layout-horizontal t-input--border"
data-v-4a76bf3d=""
>
<div
class="t-input__wrap--prefix"
>
<div
class="t-input__icon--prefix"
>
<!--v-if-->
</div>
<!---->
<div
class="t-input__label"
>
Expand All @@ -1038,11 +1030,11 @@ exports[`Dialog > Dialog inputVue demo works fine 1`] = `
placeholder="请输入文字"
type="text"
/>
<!--v-if-->
<!--v-if-->
<!--v-if-->
<!---->
<!---->
<!---->
</div>
<!--v-if-->
<!---->
</div>
</div>

Expand Down Expand Up @@ -1703,17 +1695,13 @@ exports[`Dialog > Dialog mobileVue demo works fine 1`] = `
>

<div
class="t-input t-input--layout-horizontal t-input--size-small t-input--border"
class="t-input t-input--layout-horizontal t-input--border"
data-v-4a76bf3d=""
>
<div
class="t-input__wrap--prefix"
>
<div
class="t-input__icon--prefix"
>
<!--v-if-->
</div>
<!---->
<div
class="t-input__label"
>
Expand All @@ -1734,11 +1722,11 @@ exports[`Dialog > Dialog mobileVue demo works fine 1`] = `
placeholder="请输入文字"
type="text"
/>
<!--v-if-->
<!--v-if-->
<!--v-if-->
<!---->
<!---->
<!---->
</div>
<!--v-if-->
<!---->
</div>
</div>

Expand Down Expand Up @@ -1855,17 +1843,13 @@ exports[`Dialog > Dialog mobileVue demo works fine 1`] = `
告知当前状态、信息和解决方法等,描述文案尽可能控制在三行内
</p>
<div
class="t-input t-input--layout-horizontal t-input--size-small t-input--border"
class="t-input t-input--layout-horizontal t-input--border"
data-v-4a76bf3d=""
>
<div
class="t-input__wrap--prefix"
>
<div
class="t-input__icon--prefix"
>
<!--v-if-->
</div>
<!---->
<div
class="t-input__label"
>
Expand All @@ -1886,11 +1870,11 @@ exports[`Dialog > Dialog mobileVue demo works fine 1`] = `
placeholder="请输入文字"
type="text"
/>
<!--v-if-->
<!--v-if-->
<!--v-if-->
<!---->
<!---->
<!---->
</div>
<!--v-if-->
<!---->
</div>
</div>

Expand Down
Loading
Loading