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

feat: add_info_slot #5577

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 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
9 changes: 7 additions & 2 deletions packages/button/test/__snapshots__/demo.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-star-o"
style="font-size:1.2em;line-height: inherit;"
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
<wx-view
class="van-button__text"
Expand Down Expand Up @@ -837,7 +839,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-star-o"
style="font-size:1.2em;line-height: inherit;"
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
<wx-view
class="van-button__text"
Expand Down Expand Up @@ -883,6 +887,7 @@ exports[`should render demo and match snapshot 1`] = `
style="font-size:1.2em;line-height: inherit;"
bind:tap="onClick"
>
<wx-view />
<wx-image
class="van-icon__image"
mode="aspectFit"
Expand Down
44 changes: 33 additions & 11 deletions packages/calendar/test/__snapshots__/demo.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-arrow"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down Expand Up @@ -73,7 +75,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-arrow"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down Expand Up @@ -106,7 +110,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-arrow"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down Expand Up @@ -150,7 +156,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-arrow"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down Expand Up @@ -183,7 +191,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-arrow"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down Expand Up @@ -227,7 +237,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-arrow"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down Expand Up @@ -260,7 +272,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-arrow"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down Expand Up @@ -293,7 +307,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-arrow"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down Expand Up @@ -326,7 +342,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-arrow"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down Expand Up @@ -359,7 +377,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-arrow"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down Expand Up @@ -392,7 +412,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-arrow"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down
16 changes: 12 additions & 4 deletions packages/cascader/test/__snapshots__/demo.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-arrow"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down Expand Up @@ -206,7 +208,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-arrow"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down Expand Up @@ -317,7 +321,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-arrow"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down Expand Up @@ -428,7 +434,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-arrow"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down
36 changes: 27 additions & 9 deletions packages/cell/test/__snapshots__/demo.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-location-o"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
<wx-view
class="van-cell__title title-class"
Expand Down Expand Up @@ -274,7 +276,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-arrow"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down Expand Up @@ -305,7 +309,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-arrow"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down Expand Up @@ -336,7 +342,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-arrow-down"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down Expand Up @@ -376,7 +384,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-arrow"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down Expand Up @@ -405,7 +415,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-arrow"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down Expand Up @@ -515,7 +527,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-shop-o"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
<wx-view
class="van-cell__title title-class"
Expand Down Expand Up @@ -552,7 +566,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-arrow"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down Expand Up @@ -580,7 +596,9 @@ exports[`should render demo and match snapshot 1`] = `
class="custom-class van-icon van-icon-search"
style=""
bind:tap="onClick"
/>
>
<wx-view />
</wx-view>
</van-icon>
</wx-view>
</van-cell>
Expand Down
Loading
Loading