Skip to content

Commit

Permalink
feat: add button open type
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonwong666 committed Aug 21, 2023
1 parent 4b84577 commit ac7a94f
Show file tree
Hide file tree
Showing 17 changed files with 90 additions and 90 deletions.
12 changes: 6 additions & 6 deletions packages/action-sheet/test/__snapshots__/demo.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -98,7 +98,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -165,7 +165,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -232,7 +232,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -299,7 +299,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -366,7 +366,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down
2 changes: 1 addition & 1 deletion packages/button/index.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
bindcontact="onContact"
bindgetphonenumber="onGetPhoneNumber"
bindgetrealtimephonenumber="onGetRealTimePhoneNumber"
bindagreeprivacyauthorization="onAgreeprivacyauthorization"
bindagreeprivacyauthorization="onAgreePrivacyAuthorization"
binderror="onError"
bindlaunchapp="onLaunchApp"
bindopensetting="onOpenSetting"
Expand Down
56 changes: 28 additions & 28 deletions packages/button/test/__snapshots__/demo.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -72,7 +72,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -110,7 +110,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -149,7 +149,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -185,7 +185,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -234,7 +234,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -270,7 +270,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -319,7 +319,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -355,7 +355,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -404,7 +404,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -440,7 +440,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -489,7 +489,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -538,7 +538,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -622,7 +622,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -689,7 +689,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -725,7 +725,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -774,7 +774,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -819,7 +819,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -864,7 +864,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -928,7 +928,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -966,7 +966,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -1004,7 +1004,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -1040,7 +1040,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -1089,7 +1089,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -1125,7 +1125,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -1174,7 +1174,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style="color:#fff;background:#7232dd;border-color:#7232dd"
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -1212,7 +1212,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style="color:#7232dd;border-color:#7232dd"
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -1248,7 +1248,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style="color:#fff;background:linear-gradient(to right, #4bb0ff, #6149f6);border:0"
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down
4 changes: 2 additions & 2 deletions packages/card/test/__snapshots__/demo.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -254,7 +254,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down
4 changes: 2 additions & 2 deletions packages/config-provider/test/__snapshots__/demo.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down Expand Up @@ -698,7 +698,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down
2 changes: 1 addition & 1 deletion packages/empty/test/__snapshots__/demo.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down
2 changes: 1 addition & 1 deletion packages/field/test/__snapshots__/demo.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
bind:agreeprivacyauthorization="onAgreeprivacyauthorization"
bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
Expand Down
Loading

0 comments on commit ac7a94f

Please sign in to comment.