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

fix icon server side render #262

Merged
merged 2 commits into from
Jan 18, 2022
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 @@ -75,7 +75,7 @@
"dayjs": "^1.9.7",
"lodash": "^4.17.21",
"raf": "^3.4.1",
"tdesign-icons-vue": "~0.0.7",
"tdesign-icons-vue": "~0.0.8",
"validator": "^13.5.1"
},
"peerDependencies": {
Expand Down
208 changes: 104 additions & 104 deletions test/ssr/__snapshots__/ssr.test.js.snap

Large diffs are not rendered by default.

48 changes: 16 additions & 32 deletions test/unit/input-number/__snapshots__/demo.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ exports[`InputNumber center demo works fine 1`] = `
type="button"
>
<svg
class="t-icon t-icon-remove"
class="t-icon t-icon-remove t-size-m"
fill="none"
height="1em"
style="font-size: medium;"
viewBox="0 0 16 16"
width="1em"
>
Expand All @@ -39,10 +38,9 @@ exports[`InputNumber center demo works fine 1`] = `
type="button"
>
<svg
class="t-icon t-icon-add"
class="t-icon t-icon-add t-size-m"
fill="none"
height="1em"
style="font-size: medium;"
viewBox="0 0 16 16"
width="1em"
>
Expand All @@ -67,10 +65,9 @@ exports[`InputNumber defaultDemo demo works fine 1`] = `
type="button"
>
<svg
class="t-icon t-icon-remove"
class="t-icon t-icon-remove t-size-m"
fill="none"
height="1em"
style="font-size: medium;"
viewBox="0 0 16 16"
width="1em"
>
Expand All @@ -96,10 +93,9 @@ exports[`InputNumber defaultDemo demo works fine 1`] = `
type="button"
>
<svg
class="t-icon t-icon-add"
class="t-icon t-icon-add t-size-m"
fill="none"
height="1em"
style="font-size: medium;"
viewBox="0 0 16 16"
width="1em"
>
Expand All @@ -124,10 +120,9 @@ exports[`InputNumber disabled demo works fine 1`] = `
type="button"
>
<svg
class="t-icon t-icon-remove"
class="t-icon t-icon-remove t-size-m"
fill="none"
height="1em"
style="font-size: medium;"
viewBox="0 0 16 16"
width="1em"
>
Expand All @@ -154,10 +149,9 @@ exports[`InputNumber disabled demo works fine 1`] = `
type="button"
>
<svg
class="t-icon t-icon-add"
class="t-icon t-icon-add t-size-m"
fill="none"
height="1em"
style="font-size: medium;"
viewBox="0 0 16 16"
width="1em"
>
Expand All @@ -182,10 +176,9 @@ exports[`InputNumber format demo works fine 1`] = `
type="button"
>
<svg
class="t-icon t-icon-remove"
class="t-icon t-icon-remove t-size-m"
fill="none"
height="1em"
style="font-size: medium;"
viewBox="0 0 16 16"
width="1em"
>
Expand All @@ -211,10 +204,9 @@ exports[`InputNumber format demo works fine 1`] = `
type="button"
>
<svg
class="t-icon t-icon-add"
class="t-icon t-icon-add t-size-m"
fill="none"
height="1em"
style="font-size: medium;"
viewBox="0 0 16 16"
width="1em"
>
Expand All @@ -239,10 +231,9 @@ exports[`InputNumber left demo works fine 1`] = `
type="button"
>
<svg
class="t-icon t-icon-chevron-down"
class="t-icon t-icon-chevron-down t-size-m"
fill="none"
height="1em"
style="font-size: medium;"
viewBox="0 0 16 16"
width="1em"
>
Expand All @@ -268,10 +259,9 @@ exports[`InputNumber left demo works fine 1`] = `
type="button"
>
<svg
class="t-icon t-icon-chevron-up"
class="t-icon t-icon-chevron-up t-size-m"
fill="none"
height="1em"
style="font-size: medium;"
viewBox="0 0 16 16"
width="1em"
>
Expand Down Expand Up @@ -348,10 +338,9 @@ exports[`InputNumber size demo works fine 1`] = `
type="button"
>
<svg
class="t-icon t-icon-remove"
class="t-icon t-icon-remove t-size-m"
fill="none"
height="1em"
style="font-size: medium;"
viewBox="0 0 16 16"
width="1em"
>
Expand All @@ -377,10 +366,9 @@ exports[`InputNumber size demo works fine 1`] = `
type="button"
>
<svg
class="t-icon t-icon-add"
class="t-icon t-icon-add t-size-m"
fill="none"
height="1em"
style="font-size: medium;"
viewBox="0 0 16 16"
width="1em"
>
Expand Down Expand Up @@ -456,10 +444,9 @@ exports[`InputNumber step demo works fine 1`] = `
type="button"
>
<svg
class="t-icon t-icon-remove"
class="t-icon t-icon-remove t-size-m"
fill="none"
height="1em"
style="font-size: medium;"
viewBox="0 0 16 16"
width="1em"
>
Expand All @@ -485,10 +472,9 @@ exports[`InputNumber step demo works fine 1`] = `
type="button"
>
<svg
class="t-icon t-icon-add"
class="t-icon t-icon-add t-size-m"
fill="none"
height="1em"
style="font-size: medium;"
viewBox="0 0 16 16"
width="1em"
>
Expand All @@ -513,10 +499,9 @@ exports[`InputNumber undefined demo works fine 1`] = `
type="button"
>
<svg
class="t-icon t-icon-remove"
class="t-icon t-icon-remove t-size-m"
fill="none"
height="1em"
style="font-size: medium;"
viewBox="0 0 16 16"
width="1em"
>
Expand All @@ -542,10 +527,9 @@ exports[`InputNumber undefined demo works fine 1`] = `
type="button"
>
<svg
class="t-icon t-icon-add"
class="t-icon t-icon-add t-size-m"
fill="none"
height="1em"
style="font-size: medium;"
viewBox="0 0 16 16"
width="1em"
>
Expand Down
Loading