mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
2082 lines
88 KiB
Markdown
2082 lines
88 KiB
Markdown
# Changelog
|
||
|
||
### [v1.6.18](https://github.com/youzan/vant/tree/v1.6.18)
|
||
`2019-05-10`
|
||
|
||
**Bug Fixes**
|
||
|
||
- remote some outdated css in AddressEdit
|
||
- fix Radio click event not bubble
|
||
- fix Checkbox click event not bubble
|
||
- fix PullRefresh transform style [\#3258](https://github.com/youzan/vant/pull/3258)
|
||
- fix Progress incorrect width when update pivoit-text
|
||
- fix Swipe map cause warning when prevent touchmove event
|
||
|
||
|
||
### [v1.6.17](https://github.com/youzan/vant/tree/v1.6.17)
|
||
`2019-05-05`
|
||
|
||
**Improvements**
|
||
|
||
- List: add direction prop [\#3223](https://github.com/youzan/vant/pull/3223)
|
||
- Cell: add title-style prop [\#3233](https://github.com/youzan/vant/pull/3233)
|
||
- Field: add label-width prop [\#3235](https://github.com/youzan/vant/pull/3235)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Card thumb image align center [\#3229](https://github.com/youzan/vant/pull/3229)
|
||
- fix Icon new and question icon incomplete render
|
||
- fix Step text display overlapping in small screen devices
|
||
- fix Step incorrect active step when insert step asynchronously
|
||
- fix Popup click-overlay event triggered twice when show multiple popup
|
||
|
||
|
||
### [v1.6.16](https://github.com/youzan/vant/tree/v1.6.16)
|
||
`2019-04-26`
|
||
|
||
**Improvements**
|
||
|
||
- Step: add active-icon slot [\#3193](https://github.com/youzan/vant/pull/3193)
|
||
- NumberKeyboard: add title-left slot [\#3194](https://github.com/youzan/vant/pull/3194)
|
||
- Icon: update new icon & hot icon [\#3203](https://github.com/youzan/vant/pull/3203)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Row align bottom not work [\#3209](https://github.com/youzan/vant/pull/3209)
|
||
- fix Area change event values incorrect [\#3219](https://github.com/youzan/vant/pull/3219)
|
||
- fix Field add hack for iOS 12 scroll position [\#3204](https://github.com/youzan/vant/pull/3204)
|
||
- fix AddressList not trigger select event when click radio icon [\#3214](https://github.com/youzan/vant/pull/3214)
|
||
- fix ContactList not trigger select event when click radio icon [\#3218](https://github.com/youzan/vant/pull/3218)
|
||
- fix Slider drag and `value` props change at the same time can not drag success [\#3206](https://github.com/youzan/vant/pull/3206)
|
||
|
||
|
||
### [v1.6.15](https://github.com/youzan/vant/tree/v1.6.15)
|
||
`2019-04-19`
|
||
|
||
**Improvements**
|
||
|
||
- Card: add less vars [\#3167](https://github.com/youzan/vant/pull/3167)
|
||
- Swipe: add less vars [\#3169](https://github.com/youzan/vant/pull/3169)
|
||
- Field: add less vars [\#3168](https://github.com/youzan/vant/pull/3168)
|
||
- ImagePreview: add index slot [\#3157](https://github.com/youzan/vant/pull/3157)
|
||
- ImagePreview: add change event [\#3155](https://github.com/youzan/vant/pull/3155)
|
||
- ImagePreview: support component call [\#3154](https://github.com/youzan/vant/pull/3154)
|
||
- SubmitBar: add decimal-length prop [\#3151](https://github.com/youzan/vant/pull/3151)
|
||
- Tabbar: add safe-area-inset-bottom prop [\#3149](https://github.com/youzan/vant/pull/3149)
|
||
- SubmitBar: add safe-area-inset-bottom prop [\#3172](https://github.com/youzan/vant/pull/3172)
|
||
- GoodsAction: add safe-area-inset-bottom prop [\#3174](https://github.com/youzan/vant/pull/3174)
|
||
- ActionSheet: add safe-area-inset-bottom prop [\#3171](https://github.com/youzan/vant/pull/3171)
|
||
- NumberKeyboard: add safe-area-inset-bottom prop [\#3173](https://github.com/youzan/vant/pull/3173)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Card should not render empty bottom div [\#3152](https://github.com/youzan/vant/pull/3152)
|
||
- fix Popup may cause event uncancelable warning [\#3150](https://github.com/youzan/vant/pull/3150)
|
||
- fix Toast should add z-index if previous toast has not disappeared [\#3153](https://github.com/youzan/vant/pull/3153)
|
||
|
||
|
||
### [v1.6.14](https://github.com/youzan/vant/tree/v1.6.14)
|
||
`2019-04-13`
|
||
|
||
**Improvements**
|
||
|
||
- Rate: add allow-half prop [\#3134](https://github.com/youzan/vant/pull/3134)
|
||
- ImagePreview: add max-zoom、min-zoom prop [\#3133](https://github.com/youzan/vant/pull/3133)
|
||
- Dialog: add confirm-button-color、cancel-button-color prop [\#3107](https://github.com/youzan/vant/pull/3107)
|
||
- Cell: add less vars [\#3122](https://github.com/youzan/vant/pull/3122)
|
||
- Rate: add less vars [\#3135](https://github.com/youzan/vant/pull/3135)
|
||
- Panel: add less vars [\#3136](https://github.com/youzan/vant/pull/3136)
|
||
- Sidebar: add less vars [\#3131](https://github.com/youzan/vant/pull/3131)
|
||
- Dialog: add less vars [\#3123](https://github.com/youzan/vant/pull/3123)
|
||
- Slider: add less vars [\#3125](https://github.com/youzan/vant/pull/3125)
|
||
- Tabbar: add less vars [\#3124](https://github.com/youzan/vant/pull/3124)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Step incorrect active step when destory step [\#3140](https://github.com/youzan/vant/pull/3140)
|
||
- fix Toast may render error when use getContainer [\#3115](https://github.com/youzan/vant/pull/3115)
|
||
- fix Dialog may render error when use getContainer [\#3111](https://github.com/youzan/vant/pull/3111)
|
||
|
||
|
||
### [v1.6.13](https://github.com/youzan/vant/tree/v1.6.13)
|
||
`2019-04-06`
|
||
|
||
**Improvements**
|
||
|
||
- Uploader: add name prop [\#3096](https://github.com/youzan/vant/pull/3096)
|
||
- Slider: add vertical prop [\#3078](https://github.com/youzan/vant/pull/3078)
|
||
- Stepper: add input-width prop [\#3076](https://github.com/youzan/vant/pull/3076)
|
||
- Tag: add less vars [\#3087](https://github.com/youzan/vant/pull/3087)
|
||
- Button: add less vars [\#3093](https://github.com/youzan/vant/pull/3093)
|
||
- CellGroup: add less vars [\#3094](https://github.com/youzan/vant/pull/3094)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Tab should set line position when activated [\#3097](https://github.com/youzan/vant/pull/3097)
|
||
|
||
|
||
### [v1.6.12](https://github.com/youzan/vant/tree/v1.6.12)
|
||
`2019-03-28`
|
||
|
||
**Improvements**
|
||
|
||
- ActionSheet: add less vars [\#3049](https://github.com/youzan/vant/pull/3049)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix SwipeCell unable to scroll page when opened [\#3056](https://github.com/youzan/vant/pull/3056)
|
||
- fix Picker render error when set data async [\#3064](https://github.com/youzan/vant/pull/3064)
|
||
- fix Button square prop not work when use hairline [\#3058](https://github.com/youzan/vant/pull/3058)
|
||
|
||
|
||
### [v1.6.11](https://github.com/youzan/vant/tree/v1.6.11)
|
||
`2019-03-22`
|
||
|
||
**Improvements**
|
||
|
||
- Icon: update shop icons [\#3044](https://github.com/youzan/vant/pull/3044)
|
||
- Button: add hairline prop [\#3031](https://github.com/youzan/vant/pull/3031)
|
||
- Button: add touchstart event [\#3039](https://github.com/youzan/vant/pull/3039)
|
||
- Dialog: add getContainer option [\#3040](https://github.com/youzan/vant/pull/3040)
|
||
- Radio: add click event [\#2990](https://github.com/youzan/vant/pull/2990)
|
||
- Checkbox: add click event [\#2990](https://github.com/youzan/vant/pull/2990)
|
||
- NoticeBar: add wrapable prop [\#2992](https://github.com/youzan/vant/pull/2992)
|
||
- Field: add error-message-align prop [\#3016](https://github.com/youzan/vant/pull/3016)
|
||
- Sku: support set selectedNum when inited [\#3045](https://github.com/youzan/vant/pull/3045)
|
||
- ActionSheet: support use slot and cancel-text at same time [\#3021](https://github.com/youzan/vant/pull/3021)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Dialog overlay incorrect locate when use getContainer [\#3041](https://github.com/youzan/vant/pull/3041)
|
||
- fix Swipe text blur in some browsers [\#3030](https://github.com/youzan/vant/pull/3030)
|
||
- fix Toast should not render overlay when cleared [\#3025](https://github.com/youzan/vant/pull/3025)
|
||
- fix Steps active-icon prop style error when vertical [\#3007](https://github.com/youzan/vant/pull/3007)
|
||
- fix Collapse can not expand when clientHeight equals zero [\#2993](https://github.com/youzan/vant/pull/2993)
|
||
|
||
|
||
### [v1.6.10](https://github.com/youzan/vant/tree/v1.6.10)
|
||
`2019-03-17`
|
||
|
||
**Improvements**
|
||
|
||
- Icon: add tag prop [\#2986](https://github.com/youzan/vant/pull/2986)
|
||
- Cell: add label slot [\#2956](https://github.com/youzan/vant/pull/2956)
|
||
- Toast: add onClose prop [\#2964](https://github.com/youzan/vant/pull/2964)
|
||
- AddressEdit: add setAddressDetail method [\#2984](https://github.com/youzan/vant/pull/2984)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix List render error by adding a loading key [\#2983](https://github.com/youzan/vant/pull/2983)
|
||
- fix Steps incorrect active style in vertical direction [\#2981](https://github.com/youzan/vant/pull/2981)
|
||
- fix Coupon value-desc display condition [\#2980](https://github.com/youzan/vant/pull/2980)
|
||
- fix Uploader can not upload same file when before-read [\#2971](https://github.com/youzan/vant/pull/2971)
|
||
|
||
|
||
### [v1.6.9](https://github.com/youzan/vant/tree/v1.6.9)
|
||
`2019-03-11`
|
||
|
||
**Improvements**
|
||
|
||
- Field: add size prop [\#2936](https://github.com/youzan/vant/pull/2936)
|
||
- Collapse: add size prop [\#2946](https://github.com/youzan/vant/pull/2946)
|
||
- Collapse: add border prop [\#2933](https://github.com/youzan/vant/pull/2933)
|
||
- CellGroup: add title prop [\#2928](https://github.com/youzan/vant/pull/2928)
|
||
- Steps: add active-icon prop [\#2934](https://github.com/youzan/vant/pull/2934)
|
||
- Picker: add default-index prop [\#2935](https://github.com/youzan/vant/pull/2935)
|
||
- ActionSheet: add index param for select event [\#2917](https://github.com/youzan/vant/pull/2917)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Card origin-price slot not work [\#2927](https://github.com/youzan/vant/pull/2927)
|
||
- fix Swipe emit change event in correct time [\#2909](https://github.com/youzan/vant/pull/2909)
|
||
|
||
|
||
### [v1.6.8](https://github.com/youzan/vant/tree/v1.6.8)
|
||
`2019-03-02`
|
||
|
||
**Improvements**
|
||
|
||
- CouponList: optimize style of empty tip [\#2878](https://github.com/youzan/vant/pull/2878)
|
||
- allow use ref in functional components [\#2863](https://github.com/youzan/vant/pull/2863)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Field label slot not work [\#2872](https://github.com/youzan/vant/pull/2872)
|
||
- fix Icon missing new icon [\#2887](https://github.com/youzan/vant/pull/2887)
|
||
- fix AddressList should hide radio when unswitchable [\#2886](https://github.com/youzan/vant/pull/2886)
|
||
- fix Tab scroll to correct position when use offset-top [\#2873](https://github.com/youzan/vant/pull/2873)
|
||
|
||
|
||
### [v1.6.7](https://github.com/youzan/vant/tree/v1.6.7)
|
||
`2019-02-26`
|
||
|
||
**Improvements**
|
||
|
||
- Button: add loading-size prop [\#2854](https://github.com/youzan/vant/pull/2854)
|
||
- Icon: optimzie round corner of some icons [\#2856](https://github.com/youzan/vant/pull/2856)
|
||
- Sku: Add custom settings in stepper stock [\#2839](https://github.com/youzan/vant/pull/2839)
|
||
- Stepper: add focus event [\#2841](https://github.com/youzan/vant/pull/2841)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix ActionSheet lazy-render not work [\#2840](https://github.com/youzan/vant/pull/2840)
|
||
- fix ActionSheet get-container not work [\#2853](https://github.com/youzan/vant/pull/2853)
|
||
- fix Tab should scroll to active tab when inited [\#2857](https://github.com/youzan/vant/pull/2857)
|
||
- fix Checkbox uncheckable when inside cell [\#2855](https://github.com/youzan/vant/pull/2855)
|
||
- fix CouponList incorrectly render when disabled list empty [\#2845](https://github.com/youzan/vant/pull/2845)
|
||
|
||
|
||
### [v1.6.6](https://github.com/youzan/vant/tree/v1.6.6)
|
||
`2019-02-24`
|
||
|
||
**Improvements**
|
||
|
||
- Button: add info type [\#2831](https://github.com/youzan/vant/pull/2831)
|
||
- Picker: add title slot [\#2811](https://github.com/youzan/vant/pull/2811)
|
||
- Tab: add lazy-render props [\#2800](https://github.com/youzan/vant/pull/2800)
|
||
- Tab: add nav-left、nav-right slots [\#2828](https://github.com/youzan/vant/pull/2828)
|
||
- PasswordInput: add mask prop [\#2796](https://github.com/youzan/vant/pull/2796)
|
||
- Stepper: update style [\#2790](https://github.com/youzan/vant/pull/2790)
|
||
- Search: update style, add shape、label props [\#2788](https://github.com/youzan/vant/pull/2788)
|
||
- Dialog: allow use newline charactor in message [\#2799](https://github.com/youzan/vant/pull/2799)
|
||
- Notify: allow use newline charactor in message [\#2798](https://github.com/youzan/vant/pull/2798)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Cell title-class wrong type [\#2780](https://github.com/youzan/vant/pull/2780)
|
||
- fix Tab wrong height when use line style tab inside card style tab [\#2825](https://github.com/youzan/vant/pull/2825)
|
||
|
||
|
||
### [v1.6.5](https://github.com/youzan/vant/tree/v1.6.5)
|
||
`2019-02-17`
|
||
|
||
**Improvements**
|
||
|
||
- Button: add url、to、replace props [\#2754](https://github.com/youzan/vant/pull/2754)
|
||
- Tabs: add background prop [\#2772](https://github.com/youzan/vant/pull/2772)
|
||
- Tabs: add title-active-color、title-inactive-color prop [\#2773](https://github.com/youzan/vant/pull/2773)
|
||
- CouponCell: refactored into functional component [\#2759](https://github.com/youzan/vant/pull/2759)
|
||
- AddressList: refactored into functional component [\#2757](https://github.com/youzan/vant/pull/2757)
|
||
- Sku: partial refactored into functional component [\#2756](https://github.com/youzan/vant/pull/2756)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Collapse title slot not work [\#2753](https://github.com/youzan/vant/pull/2753)
|
||
- fix Panel v-slot now work [\#2752](https://github.com/youzan/vant/pull/2752)
|
||
|
||
|
||
### [v1.6.4](https://github.com/youzan/vant/tree/v1.6.4)
|
||
`2019-02-14`
|
||
|
||
**Bug Fixes**
|
||
|
||
- Sku: buy event incorrect triggered [\#2741](https://github.com/youzan/vant/pull/2741)
|
||
|
||
|
||
### [v1.6.3](https://github.com/youzan/vant/tree/v1.6.3)
|
||
`2019-02-14`
|
||
|
||
**Improvements**
|
||
|
||
- Toast: add getContainer prop [\#2724](https://github.com/youzan/vant/pull/2724)
|
||
- Button: add loading-text prop [\#2732](https://github.com/youzan/vant/pull/2732)
|
||
- Coupon: add value-desc、unit-desc prop [\#2710](https://github.com/youzan/vant/pull/2710)
|
||
- Card: refactored into functional component [\#2740](https://github.com/youzan/vant/pull/2740)
|
||
- Cell: refactored into functional component [\#2729](https://github.com/youzan/vant/pull/2729)
|
||
- Switch: refactored into functional component [\#2736](https://github.com/youzan/vant/pull/2736)
|
||
- GoodsAction: refactored into functional component [\#2730](https://github.com/youzan/vant/pull/2730)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Field right icon flex shrink [\#2713](https://github.com/youzan/vant/pull/2713)
|
||
- fix Field wrong height in datetime-local type [\#2720](https://github.com/youzan/vant/pull/2720)
|
||
- fix Sku click area dislocation in iOS 12 [\#2722](https://github.com/youzan/vant/pull/2722)
|
||
- fix SwipeCell incorrect render when left-width equals zero [\#2737](https://github.com/youzan/vant/pull/2737)
|
||
- fix functional component multi listeners [\#2717](https://github.com/youzan/vant/pull/2717)
|
||
|
||
|
||
### [v1.6.2](https://github.com/youzan/vant/tree/v1.6.2)
|
||
`2019-02-10`
|
||
|
||
**Improvements**
|
||
|
||
- Tag: add click event [\#2693](https://github.com/youzan/vant/pull/2693)
|
||
- Swipe: add click event [\#2690](https://github.com/youzan/vant/pull/2690)
|
||
- NoticeBar: add close event [\#2692](https://github.com/youzan/vant/pull/2692)
|
||
- PullRefresh: add success-text、success-duration props [\#2709](https://github.com/youzan/vant/pull/2709)
|
||
- Use scoped-slots in Vue 2.6 [\#2688](https://github.com/youzan/vant/pull/2688)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Swipe lazy-image not appeared [\#2708](https://github.com/youzan/vant/pull/2708)
|
||
- fix Dialog beforeClose not work for click overlay [\#2707](https://github.com/youzan/vant/pull/2707)
|
||
- fix Collpase height calc error when set user-select none [\#2702](https://github.com/youzan/vant/pull/2702)
|
||
- fix functional component should inherit attrs [\#2706](https://github.com/youzan/vant/pull/2706)
|
||
- fix AddressEdit select search not work in Vue 2.6 [\#2689](https://github.com/youzan/vant/pull/2689)
|
||
- fix AddressList should hide radio of disabled item [\#2687](https://github.com/youzan/vant/pull/2687)
|
||
|
||
|
||
### [v1.6.1](https://github.com/youzan/vant/tree/v1.6.1)
|
||
`2019-02-05`
|
||
|
||
**Improvements**
|
||
|
||
- fix functional component can not inherit directives and native events. [\#2686](https://github.com/youzan/vant/pull/2686)
|
||
|
||
|
||
### [v1.6.0](https://github.com/youzan/vant/tree/v1.6.0)
|
||
`2019-02-04`
|
||
|
||
**Breaking changes**
|
||
|
||
- Radio: refactored, now has the same stuct as Checkbox [\#2651](https://github.com/youzan/vant/pull/2651)
|
||
|
||
**Improvements**
|
||
|
||
- Use JSX to rewrite all components
|
||
- Transform part components to functional for better performance
|
||
- Card: add tag slot [\#2636](https://github.com/youzan/vant/pull/2636)
|
||
- Icon: add weapp-nav icon [\#2682](https://github.com/youzan/vant/pull/2682)
|
||
- Radio: add icon slot [\#2651](https://github.com/youzan/vant/pull/2651)
|
||
- Radio: add shape prop [\#2651](https://github.com/youzan/vant/pull/2651)
|
||
- Toast: add className prop [\#2680](https://github.com/youzan/vant/pull/2680)
|
||
- Notify: add className prop [\#2681](https://github.com/youzan/vant/pull/2681)
|
||
- Popup: add open/close event [\#2649](https://github.com/youzan/vant/pull/2649)
|
||
- Popup: add opened/closed event [\#2650](https://github.com/youzan/vant/pull/2650)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix ContactList button position [\#2634](https://github.com/youzan/vant/pull/2634)
|
||
- fix Toast clear in multiple mode [\#2635](https://github.com/youzan/vant/pull/2635)
|
||
- fix SwipeCell maximum left offset [\#2633](https://github.com/youzan/vant/pull/2633)
|
||
- fix Popup get-container error when destoryed [\#2679](https://github.com/youzan/vant/pull/2679)
|
||
|
||
|
||
### [v1.5.7](https://github.com/youzan/vant/tree/v1.5.7)
|
||
`2019-01-24`
|
||
|
||
**Improvements**
|
||
|
||
- add live icon
|
||
- add lock icon
|
||
- add audio icon
|
||
- add column icon
|
||
- add replay icon
|
||
- add shrink icon
|
||
- add graphic icon
|
||
- add invition icon
|
||
- add ascending icon
|
||
- add descending icon
|
||
- add play-circle icon
|
||
- add stop-circle icon
|
||
- add pause-circle icon
|
||
- add play-circle-o icon
|
||
- add stop-circle-o icon
|
||
- add pause-circle-o icon
|
||
- Field: add click-left-icon event [\#2605](https://github.com/youzan/vant/pull/2605)
|
||
|
||
### [v1.5.6](https://github.com/youzan/vant/tree/v1.5.6)
|
||
`2019-01-22`
|
||
|
||
**Improvements**
|
||
|
||
- Card: add origin-price slot [\#2588](https://github.com/youzan/vant/pull/2588)
|
||
- Switch: add active-value & inactive-value prop [\#2590](https://github.com/youzan/vant/pull/2590)
|
||
- SwitchCell: add active-value & inactive-value prop [\#2591](https://github.com/youzan/vant/pull/2591)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Card: centered prop not work [\#2589](https://github.com/youzan/vant/pull/2589)
|
||
- fix Icon name not work when passing url [\#2585](https://github.com/youzan/vant/pull/2585)
|
||
|
||
|
||
### [v1.5.5](https://github.com/youzan/vant/tree/v1.5.5)
|
||
`2019-01-21`
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Field type prop not work [\#2579](https://github.com/youzan/vant/pull/2579)
|
||
|
||
|
||
### [v1.5.4](https://github.com/youzan/vant/tree/v1.5.4)
|
||
`2019-01-20`
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix missing dependencie @vue/babel-helper-vue-jsx-merge-props [\#2474](https://github.com/youzan/vant/issues/2474)
|
||
|
||
|
||
### [v1.5.3](https://github.com/youzan/vant/tree/v1.5.3)
|
||
`2019-01-20`
|
||
|
||
**Improvements**
|
||
|
||
- List: add error-text prop [\#2568](https://github.com/youzan/vant/pull/2568)
|
||
- Toast: allow newline charactor [\#2496](https://github.com/youzan/vant/pull/2496)
|
||
- Coupon: add condition prop [\#2551](https://github.com/youzan/vant/pull/2551)
|
||
- Dialog: enable lazy-render [\#2495](https://github.com/youzan/vant/pull/2495)
|
||
- NavBar: support custom theme [\#2570](https://github.com/youzan/vant/pull/2570)
|
||
- ImagePreview: add lazyLoad prop [\#2569](https://github.com/youzan/vant/pull/2569)
|
||
- Area: add confirm-button-text、cancel-button-text prop [\#2556](https://github.com/youzan/vant/pull/2556)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Card price style [\#2549](https://github.com/youzan/vant/pull/2549)
|
||
- fix Radio unchecked icon color [\#2484](https://github.com/youzan/vant/pull/2484)
|
||
- fix Radio label-position type [\#2485](https://github.com/youzan/vant/pull/2485)
|
||
- fix Dialog action event [\#2571](https://github.com/youzan/vant/pull/2571)
|
||
|
||
|
||
### [v1.5.2](https://github.com/youzan/vant/tree/v1.5.2)
|
||
`2019-01-10`
|
||
|
||
**Improvements**
|
||
|
||
- Icon: add cart-circle icon [\#2480](https://github.com/youzan/vant/pull/2480)
|
||
- Color: update base green to wechat green [\#2479](https://github.com/youzan/vant/pull/2479)
|
||
- Coupon: add description prop [\#2458](https://github.com/youzan/vant/pull/2458)
|
||
- ImagePreview: add className prop [\#2433](https://github.com/youzan/vant/pull/2433)
|
||
- Sku: support hide soldout sku [\#2472](https://github.com/youzan/vant/pull/2472)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix DatetimePicker value observable [\#2427](https://github.com/youzan/vant/pull/2427)
|
||
- fix Icon rounded lines [\#2437](https://github.com/youzan/vant/pull/2437)
|
||
- fix SubmitBar can not hide price [\#2469](https://github.com/youzan/vant/pull/2469)
|
||
- fix Swipe position wrong when use swipeTo [\#2471](https://github.com/youzan/vant/pull/2471)
|
||
- fix Stepper wrong value when input is empty and min is zero [\#2470](https://github.com/youzan/vant/pull/2470)
|
||
- fix Tab should not have line animation when inited [\#2459](https://github.com/youzan/vant/pull/2459)
|
||
|
||
|
||
### [v1.5.1](https://github.com/youzan/vant/tree/v1.5.1)
|
||
`2019-01-01`
|
||
|
||
**Improvements**
|
||
|
||
- Card: add price、num slot [\#2416](https://github.com/youzan/vant/pull/2416)
|
||
- Slider: add button slot [\#2373](https://github.com/youzan/vant/pull/2373)
|
||
- Slider: add active-color、inactive-color prop [\#2374](https://github.com/youzan/vant/pull/2374)
|
||
- Tabbar: add active-color prop [\#2372](https://github.com/youzan/vant/pull/2372)
|
||
- Sku: add sku-selected event [\#2386](https://github.com/youzan/vant/pull/2386)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Card desc ellipsis [\#2414](https://github.com/youzan/vant/pull/2414)
|
||
- fix ContactList missing dependencies [\#2415](https://github.com/youzan/vant/pull/2415)
|
||
- fix Icon missing protocol [\#2385](https://github.com/youzan/vant/pull/2385)
|
||
|
||
|
||
### [v1.5.0](https://github.com/youzan/vant/tree/v1.5.0)
|
||
`2018-12-22`
|
||
|
||
**Breaking changes**
|
||
|
||
In version 1.5.0, we unified the icon specification and redrawed all the icons, adding about 100 new icons. For the same icon, we will provide two styles of `outlined` and `filled`.
|
||
|
||
<img width="375" height="124" src="//img.yzcdn.cn/vant/icon-style-1222.png">
|
||
|
||
At the same time, we also made some adjustments to the original icons:
|
||
|
||
- remove edit-data
|
||
- remove pending-deliver
|
||
- remove pending-evaluate
|
||
- remove points-mall
|
||
- remove exchange-record
|
||
- rename warn to info
|
||
- rename check to circle
|
||
- rename add2 to add-square
|
||
- rename question2 to question
|
||
- rename password-view to eye
|
||
- rename password-not-view to closed-eye
|
||
- rename value-card to balance-o
|
||
- rename receive-gift to gift
|
||
- rename pending-orders to orders-o
|
||
- rename gift-card-pay to gift-card
|
||
|
||
Also we have optimized the UI of the following components::
|
||
|
||
- Cell
|
||
- Card
|
||
- Checkbox
|
||
- Collapse
|
||
- Tab
|
||
- Toast
|
||
- Switch
|
||
- Swipe
|
||
- TreeSelect
|
||
|
||
**Improvements**
|
||
|
||
- support tag/attribute auto-completion via the vetur plugin [\#2261](https://github.com/youzan/vant/pull/2261)
|
||
- support use component by PascalCase tag name [\#2296](https://github.com/youzan/vant/pull/2296)
|
||
- Tab: add ellipsis prop [\#2299](https://github.com/youzan/vant/pull/2299)
|
||
- Tab: add line-height prop [\#2357](https://github.com/youzan/vant/pull/2357)
|
||
- Tag: add text-color prop [\#2277](https://github.com/youzan/vant/pull/2277)
|
||
- Card: add lazy-load prop [\#2301](https://github.com/youzan/vant/pull/2301)
|
||
- Coupon: add currency prop [\#2274](https://github.com/youzan/vant/pull/2274) [\#2256](https://github.com/youzan/vant/pull/2256)
|
||
- Dialog: add message-align prop [\#2259](https://github.com/youzan/vant/pull/2259)
|
||
- Stepper: add async-change prop [\#2318](https://github.com/youzan/vant/pull/2318)
|
||
- SwitchCell: add active-color、inactive-color prop [\#2273](https://github.com/youzan/vant/pull/2273)
|
||
- NoticeBar: support use built-in icon [\#2305](https://github.com/youzan/vant/pull/2305)
|
||
- TreeSelect: support disable nav item [\#2308](https://github.com/youzan/vant/pull/2308)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Dialog blurry text after scale animation [\#2300](https://github.com/youzan/vant/pull/2300)
|
||
- fix Checkbox default label height [\#2293](https://github.com/youzan/vant/pull/2293)
|
||
- fix Field cut off charactor input when use maxlength [\#2295](https://github.com/youzan/vant/pull/2295)
|
||
- fix Swipe not re-initialize when inside keep-alive component [\#2297](https://github.com/youzan/vant/pull/2297)
|
||
- fix Swipe cause error in some cases [\#2253](https://github.com/youzan/vant/pull/2253)
|
||
- fix Swipe transitionend event bubble [\#2355](https://github.com/youzan/vant/pull/2355)
|
||
- fix Tab display error when use animated prop [\#2238](https://github.com/youzan/vant/pull/2238)
|
||
- fix Tab incorrect initial line color when use color prop [\#2344](https://github.com/youzan/vant/pull/2344)
|
||
- fix Tab log error when all tab disabled [\#2356](https://github.com/youzan/vant/pull/2356)
|
||
- fix Tabbar update info position [\#2257](https://github.com/youzan/vant/pull/2257)
|
||
- fix Toast missing clear method type definition [\#2354](https://github.com/youzan/vant/pull/2354)
|
||
- fix compile failure in node 10 [\#2251](https://github.com/youzan/vant/pull/2251)
|
||
- fix compile failure in windows [\#2229](https://github.com/youzan/vant/pull/2229)
|
||
|
||
|
||
### [v1.4.8](https://github.com/youzan/vant/tree/v1.4.8)
|
||
`2018-12-05`
|
||
|
||
**Improvements**
|
||
|
||
- Sku: add hide-quota-text prop [\#2216](https://github.com/youzan/vant/pull/2216)
|
||
- ImagePreview: add asyncClose prop [\#2198](https://github.com/youzan/vant/pull/2198)
|
||
- ImagePreview: add onClose params [\#2197](https://github.com/youzan/vant/pull/2197)
|
||
- ImagePreview: add fade transition [\#2196](https://github.com/youzan/vant/pull/2196)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Notify type definition [\#2210](https://github.com/youzan/vant/pull/2210)
|
||
- fix Dialog default options [\#2208](https://github.com/youzan/vant/pull/2208)
|
||
- fix ImagePreview indicator color [\#2187](https://github.com/youzan/vant/pull/2187)
|
||
|
||
|
||
### [v1.4.7](https://github.com/youzan/vant/tree/v1.4.7)
|
||
`2018-11-27`
|
||
|
||
**Improvements**
|
||
|
||
- add Notify component [\#2135](https://github.com/youzan/vant/pull/2135)
|
||
- Cell: add title-class、value-class、label-class prop [\#2138](https://github.com/youzan/vant/pull/2138)
|
||
- Icon: add more basic icons [\#2159](https://github.com/youzan/vant/pull/2159) [\#2169](https://github.com/youzan/vant/pull/2169)
|
||
- Icon: name can be URL [\#2149](https://github.com/youzan/vant/pull/2149)
|
||
- List: add finished-text prop [\#2131](https://github.com/youzan/vant/pull/2131)
|
||
- Rate: add icon、void-icon prop [\#2148](https://github.com/youzan/vant/pull/2148)
|
||
- NavBar: add border prop [\#2143](https://github.com/youzan/vant/pull/2143)
|
||
- CouponCell: remove wrapper [\#2145](https://github.com/youzan/vant/pull/2145)
|
||
- Style: add more transition class [\#2163](https://github.com/youzan/vant/pull/2163)
|
||
- update CDN provider to jsdelivr [\#2167](https://github.com/youzan/vant/pull/2167)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix ImagePreview index NaN [\#2146](https://github.com/youzan/vant/pull/2146)
|
||
- fix Toast line wrap in iOS [\#2142](https://github.com/youzan/vant/pull/2142)
|
||
- fix GoodsAction duplicate style [\#2140](https://github.com/youzan/vant/pull/2140)
|
||
- fix DatetimePicker get wrong value when set minDate [\#2137](https://github.com/youzan/vant/pull/2137)
|
||
|
||
|
||
### [v1.4.5](https://github.com/youzan/vant/tree/v1.4.5)
|
||
`2018-11-23`
|
||
|
||
**Improvements**
|
||
|
||
- Tab: add animated props [\#2126](https://github.com/youzan/vant/pull/2126)
|
||
- Tab: update title style [\#2120](https://github.com/youzan/vant/pull/2120)
|
||
- Sidebar: update info style [\#2122](https://github.com/youzan/vant/pull/2122)
|
||
- Radio: add checked-color prop [\#2129](https://github.com/youzan/vant/pull/2129)
|
||
- Swipe: add indicator-color prop [\#2110](https://github.com/youzan/vant/pull/2110)
|
||
- TreeSelect: support disable option [\#2107](https://github.com/youzan/vant/pull/2107)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Tab swipe-threshold not work when less than 4 [\#2128](https://github.com/youzan/vant/pull/2128)
|
||
|
||
|
||
### [v1.4.4](https://github.com/youzan/vant/tree/v1.4.4)
|
||
`2018-11-18`
|
||
|
||
**Improvements**
|
||
|
||
- Cell: add size prop [\#2086](https://github.com/youzan/vant/pull/2086)
|
||
- Icon: add star、star-o icon [\#2092](https://github.com/youzan/vant/pull/2092)
|
||
- ImagePreview: add loop prop [\#2103](https://github.com/youzan/vant/pull/2103)
|
||
- Rate: update star icon [\#2093](https://github.com/youzan/vant/pull/2093)
|
||
- Dialog: add message max-height [\#2104](https://github.com/youzan/vant/pull/2104)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Sku placeholder of mobile type message [\#2098](https://github.com/youzan/vant/pull/2098)
|
||
- fix Tab line-width can be zero [\#2081](https://github.com/youzan/vant/pull/2081)
|
||
- fix Tab auto scroll top when switched in sticky mode [\#2105](https://github.com/youzan/vant/pull/2105)
|
||
- fix Toast max width of text type [\#2074](https://github.com/youzan/vant/pull/2074)
|
||
- fix Steps css selector priority [\#2072](https://github.com/youzan/vant/pull/2072)
|
||
|
||
|
||
### [v1.4.3](https://github.com/youzan/vant/tree/v1.4.3)
|
||
`2018-11-10`
|
||
|
||
**Improvements**
|
||
|
||
- Checkbox: add checked-color prop [\#2057](https://github.com/youzan/vant/pull/2057)
|
||
- NumberKeyboard: add close-button-text prop [\#2051](https://github.com/youzan/vant/pull/2051)
|
||
- Swipe: optimize swipe gesture [\#2039](https://github.com/youzan/vant/pull/2039)
|
||
- Document:reorgnize components [\#2032](https://github.com/youzan/vant/pull/2032)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Circle incorrect style in android devices [\#2062](https://github.com/youzan/vant/pull/2062)
|
||
- fix DatetimePicker incorrect value when use formatter [\#2059](https://github.com/youzan/vant/pull/2059)
|
||
- fix Tab can swipe to disabled tab [\#2064](https://github.com/youzan/vant/pull/2064)
|
||
|
||
|
||
### [v1.4.2](https://github.com/youzan/vant/tree/v1.4.2)
|
||
`2018-11-04`
|
||
|
||
**Breaking changes**
|
||
|
||
- New path to manually import component style, see more in [quickstart](#/en-US/quickstart). [\#2021](https://github.com/youzan/vant/pull/2021)
|
||
- New ways to customize the theme,see more in [custom theme](#/en-US/theme). [\#2027](https://github.com/youzan/vant/pull/2027)
|
||
|
||
|
||
**Improvements**
|
||
|
||
- Sidebar: add change event [\#2017](https://github.com/youzan/vant/pull/2017)
|
||
- Radio: update color [\#2018](https://github.com/youzan/vant/pull/2018)
|
||
- Checkbox: update color [\#2018](https://github.com/youzan/vant/pull/2018)
|
||
- Sku: support image preview [\#2019](https://github.com/youzan/vant/pull/2019)
|
||
- i18n: support zh-TW [\#1999](https://github.com/youzan/vant/pull/1999)
|
||
- i18n: support turkish [\#1998](https://github.com/youzan/vant/pull/1998)
|
||
- Icon: add new icon question2 [\#2005](https://github.com/youzan/vant/pull/2005)
|
||
- Switch: add active-color prop [\#2013](https://github.com/youzan/vant/pull/2013)
|
||
- Switch: add inactive-color prop [\#2013](https://github.com/youzan/vant/pull/2013)
|
||
|
||
|
||
### [v1.3.10](https://github.com/youzan/vant/tree/v1.3.10)
|
||
`2018-10-29`
|
||
|
||
**Improvements**
|
||
|
||
- Field: add focus method [\#1987](https://github.com/youzan/vant/pull/1987)
|
||
- Search: add left-icon slot [\#1974](https://github.com/youzan/vant/pull/1974)
|
||
- CouponCell: add border prop [\#1993](https://github.com/youzan/vant/pull/1993)
|
||
- CouponCell: update value display rule [\#1976](https://github.com/youzan/vant/pull/1976)
|
||
- ImagePreview: add showIndicators prop [\#1992](https://github.com/youzan/vant/pull/1992)
|
||
- GoodsAction: add loading、disabled prop [\#1994](https://github.com/youzan/vant/pull/1994)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Swipe height prop not work [\#1982](https://github.com/youzan/vant/pull/1982)
|
||
- fix Toast remove unclickable when destroyed [\#1991](https://github.com/youzan/vant/pull/1991)
|
||
|
||
|
||
### [v1.3.9](https://github.com/youzan/vant/tree/v1.3.9)
|
||
`2018-10-24`
|
||
|
||
**Improvements**
|
||
|
||
- Field: add left-icon slot [\#1973](https://github.com/youzan/vant/pull/1973)
|
||
- Toast: destroy instance in multiple mode [\#1959](https://github.com/youzan/vant/pull/1959)
|
||
- AddressEdit: add validator prop [\#1971](https://github.com/youzan/vant/pull/1971)
|
||
- AddressEdit: add change-default event [\#1972](https://github.com/youzan/vant/pull/1972)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix ImagePreview wrong index [\#1961](https://github.com/youzan/vant/pull/1961)
|
||
- fix Sku popup max-height [\#1965](https://github.com/youzan/vant/pull/1965)
|
||
|
||
|
||
### [v1.3.8](https://github.com/youzan/vant/tree/v1.3.8)
|
||
`2018-10-17`
|
||
|
||
**Improvements**
|
||
|
||
- Tag: add size prop [\#1949](https://github.com/youzan/vant/pull/1949)
|
||
- Tag: add color prop [\#1946](https://github.com/youzan/vant/pull/1946)
|
||
- Tag: add round prop [\#1947](https://github.com/youzan/vant/pull/1947)
|
||
- Panel: add icon prop [\#1942](https://github.com/youzan/vant/pull/1942)
|
||
- Icon: add cart-o icon [\#1932](https://github.com/youzan/vant/pull/1932)
|
||
- Field: add clear event [\#1944](https://github.com/youzan/vant/pull/1944)
|
||
- Rate: support touch move select [\#1951](https://github.com/youzan/vant/pull/1951)
|
||
- AddressList: add switchable prop [\#1938](https://github.com/youzan/vant/pull/1938)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Card desc ellipsis [\#1935](https://github.com/youzan/vant/pull/1935)
|
||
- fix SubmitBar incomplete button text display [\#1940](https://github.com/youzan/vant/pull/1940)
|
||
|
||
|
||
### [v1.3.7](https://github.com/youzan/vant/tree/v1.3.7)
|
||
`2018-10-12`
|
||
|
||
**Improvements**
|
||
|
||
- Swipe: add indicator slot [\#1923](https://github.com/youzan/vant/pull/1923)
|
||
- AddressEdit: update clear icon color [\#1919](https://github.com/youzan/vant/pull/1919)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Toast instance when SSR [\#1927](https://github.com/youzan/vant/pull/1927)
|
||
- fix Tab default active when all tabs disabled [\#1926](https://github.com/youzan/vant/pull/1926)
|
||
- fix SubmitBar tip color
|
||
|
||
|
||
### [v1.3.6](https://github.com/youzan/vant/tree/v1.3.6)
|
||
`2018-10-11`
|
||
|
||
**Improvements**
|
||
|
||
- Card: add origin-price prop [\#1916](https://github.com/youzan/vant/pull/1916)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Toast tap highlight color when unclickable [\#1914](https://github.com/youzan/vant/pull/1914)
|
||
|
||
|
||
### [v1.3.5](https://github.com/youzan/vant/tree/v1.3.5)
|
||
`2018-10-10`
|
||
|
||
**Improvements**
|
||
|
||
- Tab: upgrade style [\#1908](https://github.com/youzan/vant/pull/1908)
|
||
- Sidebar: upgrade style [\#1907](https://github.com/youzan/vant/pull/1907)
|
||
- Dialog: upgrade style [\#1906](https://github.com/youzan/vant/pull/1906)
|
||
- NoticeBar: upgrade style [\#1893](https://github.com/youzan/vant/pull/1893)
|
||
- Collapse: add disabled prop [\#1892](https://github.com/youzan/vant/pull/1892)
|
||
- TreeSelect: add height prop [\#1905](https://github.com/youzan/vant/pull/1905)
|
||
- ImagePreview: support finger zooming [\#1895](https://github.com/youzan/vant/pull/1895)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Toast SSR error [\#1910](https://github.com/youzan/vant/pull/1910)
|
||
- fix Swipe multi finger [\#1890](https://github.com/youzan/vant/pull/1890)
|
||
|
||
|
||
### [v1.3.4](https://github.com/youzan/vant/tree/v1.3.4)
|
||
`2018-10-02`
|
||
|
||
**Improvements**
|
||
|
||
- Button: add round prop [\#1885](https://github.com/youzan/vant/pull/1885)
|
||
- Button: update disabled style [\#1886](https://github.com/youzan/vant/pull/1886)
|
||
- Card: add tag prop [\#1878](https://github.com/youzan/vant/pull/1878)
|
||
- Card: add thumb-link prop [\#1879](https://github.com/youzan/vant/pull/1879)
|
||
- ImagePreview: add show-index prop [\#1889](https://github.com/youzan/vant/pull/1889)
|
||
- Picker: update style [\#1887](https://github.com/youzan/vant/pull/1887)
|
||
- SwipeCell: add disabled prop [\#1884](https://github.com/youzan/vant/pull/1884)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Toast type definition [\#1859](https://github.com/youzan/vant/pull/1859)
|
||
|
||
|
||
### [v1.3.3](https://github.com/youzan/vant/tree/v1.3.3)
|
||
`2018-09-23`
|
||
|
||
**Improvements**
|
||
|
||
- SwipeCell: add click event [\#1848](https://github.com/youzan/vant/pull/1848)
|
||
- Locale: optimize error handling [\#1835](https://github.com/youzan/vant/pull/1835)
|
||
- Document: add Component changelog [\#1816](https://github.com/youzan/vant/pull/1816)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix DatetimePicker should update value when range changed [\#1825](https://github.com/youzan/vant/pull/1825)
|
||
- fix Field maxlength not work when type = number [\#1839](https://github.com/youzan/vant/pull/1839)
|
||
- fix PullRefresh preventDefault warning [\#1819](https://github.com/youzan/vant/pull/1819)
|
||
- fix Tag white border [\#1834](https://github.com/youzan/vant/pull/1834)
|
||
|
||
|
||
### [v1.3.2](https://github.com/youzan/vant/tree/v1.3.2)
|
||
`2018-09-14`
|
||
|
||
**Improvements**
|
||
|
||
- AddressEdit: optimize area label [\#1785](https://github.com/youzan/vant/pull/1785)
|
||
- Dialog: update button color [\#1774](https://github.com/youzan/vant/pull/1774)
|
||
- List: add loading slot [\#1804](https://github.com/youzan/vant/pull/1804)
|
||
- Tab: optimize active color [\#1775](https://github.com/youzan/vant/pull/1775)
|
||
- update border-color [\#1773](https://github.com/youzan/vant/pull/1773)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix hairline in Chrome 69 [\#1776](https://github.com/youzan/vant/pull/1776) [\#1805](https://github.com/youzan/vant/pull/1805)
|
||
- fix AddressEdit missing border [\#1800](https://github.com/youzan/vant/pull/1800)
|
||
- fix AddressList address not fully displayed [\#1786](https://github.com/youzan/vant/pull/1786)
|
||
- fix Dialog type definition [\#1799](https://github.com/youzan/vant/pull/1799)
|
||
|
||
|
||
### [v1.3.1](https://github.com/youzan/vant/tree/v1.3.1)
|
||
`2018-09-07`
|
||
|
||
**Improvements**
|
||
|
||
- Document: add vue-cli 3 guide [\#1754](https://github.com/youzan/vant/pull/1754)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Button loading color [\#1768](https://github.com/youzan/vant/pull/1768)
|
||
- fix ImagePreview type definition [\#1767](https://github.com/youzan/vant/pull/1767)
|
||
- fix Tab color not work in card type [\#1763](https://github.com/youzan/vant/pull/1763)
|
||
- fix lib dir babel runtime module [\#1753](https://github.com/youzan/vant/pull/1753)
|
||
|
||
|
||
### [v1.3.0](https://github.com/youzan/vant/tree/v1.3.0)
|
||
`2018-08-31`
|
||
|
||
**Breaking changes**
|
||
|
||
- upgrade to babel 7, remove promise polyfill [\#1712](https://github.com/youzan/vant/pull/1712)
|
||
- Sku: no longer support i18n [\#1734](https://github.com/youzan/vant/pull/1734)
|
||
|
||
**Improvements**
|
||
|
||
- upgrade to precss 3.0 [\#1696](https://github.com/youzan/vant/pull/1696)
|
||
- AddressList: support disabled list [\#1729](https://github.com/youzan/vant/pull/1729)
|
||
- Contact: upgrade style [\#1693](https://github.com/youzan/vant/pull/1693)
|
||
- Popup: get-container support selector [\#1699](https://github.com/youzan/vant/pull/1699)
|
||
- Popup: optimize animation duration [\#1694](https://github.com/youzan/vant/pull/1694)
|
||
- Rate: add readonly prop [\#1731](https://github.com/youzan/vant/pull/1731)
|
||
- Sku: support custom validator [\#1732](https://github.com/youzan/vant/pull/1732)
|
||
- Tab: add scroll event [\#1730](https://github.com/youzan/vant/pull/1730)
|
||
- Loading: support any color [\#1717](https://github.com/youzan/vant/pull/1717)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix bundle version wrong [\#1703](https://github.com/youzan/vant/pull/1703)
|
||
- fix DatetimePicker incorrect value when use minMinute [\#1724](https://github.com/youzan/vant/pull/1724)
|
||
- fix Swipe wrong position [\#1723](https://github.com/youzan/vant/pull/1723)
|
||
- fix Tab should not swipe to disabled tab [\#1704](https://github.com/youzan/vant/pull/1704)
|
||
- fix Tabbar: info not work when use icon slot [\#1705](https://github.com/youzan/vant/pull/1705)
|
||
|
||
|
||
### [v1.2.1](https://github.com/youzan/vant/tree/v1.2.1)
|
||
`2018-08-24`
|
||
|
||
**Improvements**
|
||
|
||
- AddressEdit: optimize style [\#1676](https://github.com/youzan/vant/pull/1676)
|
||
- ContactEdit: optimize style [\#1677](https://github.com/youzan/vant/pull/1677)
|
||
- Collapse: add more props and slots [\#1671](https://github.com/youzan/vant/pull/1671)
|
||
- Field: update clear icon color [\#1678](https://github.com/youzan/vant/pull/1678)
|
||
- Icon: add class-prefix prop [\#1688](https://github.com/youzan/vant/pull/1688)
|
||
- Swipe: support custom item width & height [\#1664](https://github.com/youzan/vant/pull/1664)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Stepper value can not be zero [\#1687](https://github.com/youzan/vant/pull/1687)
|
||
- fix Tab custom line color [\#1686](https://github.com/youzan/vant/pull/1686)
|
||
- fix share icon font-weight [\#1670](https://github.com/youzan/vant/pull/1670)
|
||
- fix Popup can not be destoryed when use get-container [\#1665](https://github.com/youzan/vant/pull/1665)
|
||
|
||
|
||
### [v1.2.0](https://github.com/youzan/vant/tree/v1.2.0)
|
||
`2018-08-20`
|
||
|
||
**Breaking changes**
|
||
|
||
- AddressEdit: use camelcase data [\#1644](https://github.com/youzan/vant/pull/1644)
|
||
- Coupon: use camelcase data [\#1643](https://github.com/youzan/vant/pull/1643)
|
||
- CellSwipe: rename to SwipeCell [\#1652](https://github.com/youzan/vant/pull/1652)
|
||
|
||
**Improvements**
|
||
|
||
- Area: update province data [\#1653](https://github.com/youzan/vant/pull/1653)
|
||
- AddressList: upgrade style, add slot [\#1628](https://github.com/youzan/vant/pull/1628)
|
||
- Button: add square prop [\#1627](https://github.com/youzan/vant/pull/1627)
|
||
- Coupon: upgrade style [\#1636](https://github.com/youzan/vant/pull/1636)
|
||
- Icon: add aim icon [\#1655](https://github.com/youzan/vant/pull/1655)
|
||
- Icon: update edit icon [\#1635](https://github.com/youzan/vant/pull/1635)
|
||
- Radio: optimize style [\#1626](https://github.com/youzan/vant/pull/1626)
|
||
- SubmitBar: upgrade style [\#1631](https://github.com/youzan/vant/pull/1631)
|
||
- Tab : support custom color [\#1622](https://github.com/youzan/vant/pull/1622)
|
||
- Tabbar: optimize DOM [\#1640](https://github.com/youzan/vant/pull/1640)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix AddressEdit show delete [\#1648](https://github.com/youzan/vant/pull/1648)
|
||
- fix Icon size prop not work [\#1634](https://github.com/youzan/vant/pull/1634)
|
||
|
||
### [v1.1.16](https://github.com/youzan/vant/tree/v1.1.16)
|
||
`2018-08-10`
|
||
|
||
**Improvements**
|
||
|
||
- ActionSheet: add select event [\#1594](https://github.com/youzan/vant/pull/1594)
|
||
- ImagePreview: suppot onClose callback [\#1589](https://github.com/youzan/vant/pull/1589)
|
||
- List: add check method [\#1590](https://github.com/youzan/vant/pull/1590)
|
||
- Search: update style [\#1603](https://github.com/youzan/vant/pull/1603)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix ActionSheet item unclickable when loading [\#1587](https://github.com/youzan/vant/pull/1587)
|
||
- fix DatetimePicker value uncorrect when use formatter [\#1591](https://github.com/youzan/vant/pull/1591)
|
||
|
||
|
||
### [v1.1.15](https://github.com/youzan/vant/tree/v1.1.15)
|
||
`2018-08-03`
|
||
|
||
**Improvements**
|
||
|
||
- Button: add warning type [\#1558](https://github.com/youzan/vant/pull/1558)
|
||
- SwipeCell: add open method [\#1546](https://github.com/youzan/vant/pull/1546)
|
||
- DatetimePicker: support minute range [\#1583](https://github.com/youzan/vant/pull/1583)
|
||
- Icon: add size prop [\#1555](https://github.com/youzan/vant/pull/1555)
|
||
- Stepper: update disabled color [\#1560](https://github.com/youzan/vant/pull/1560)
|
||
- Stepper: optimize input strategy [\#1534](https://github.com/youzan/vant/pull/1534)
|
||
- Tab: support custom sticky offset top [\#1519](https://github.com/youzan/vant/pull/1519)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Button text-size-adjust [\#1545](https://github.com/youzan/vant/pull/1545)
|
||
- fix Field date type not work in iOS [\#1586](https://github.com/youzan/vant/pull/1586)
|
||
- fix van-clearfix not work [\#1559](https://github.com/youzan/vant/pull/1559)
|
||
- fix Tabbar should not trigger change event when active not change [\#1571](https://github.com/youzan/vant/pull/1571)
|
||
|
||
|
||
### [v1.1.14](https://github.com/youzan/vant/tree/v1.1.14)
|
||
`2018-07-19`
|
||
|
||
**Improvements**
|
||
|
||
- Collapse: add transition animation [\#1500](https://github.com/youzan/vant/pull/1500)
|
||
- CouponCell: optimize text [\#1499](https://github.com/youzan/vant/pull/1499)
|
||
- Stepper: improve input experience [\#1484](https://github.com/youzan/vant/pull/1484)
|
||
- Tab: add change event [\#1503](https://github.com/youzan/vant/pull/1503)
|
||
- DatetimePicker: support text formatter [\#1497](https://github.com/youzan/vant/pull/1497)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Field inline-height [\#1486](https://github.com/youzan/vant/pull/1486)
|
||
- fix AddressEdit string trim [\#1487](https://github.com/youzan/vant/pull/1487)
|
||
- fix Progress nesting in Collapse [\#1513](https://github.com/youzan/vant/pull/1513)
|
||
- fix Stepper integer in android [\#1482](https://github.com/youzan/vant/pull/1482)
|
||
- fix Tab scroll position after activated [\#1512](https://github.com/youzan/vant/pull/1512)
|
||
- fix Tab sticky in scroll element [\#1496](https://github.com/youzan/vant/pull/1496)
|
||
|
||
|
||
### [v1.1.13](https://github.com/youzan/vant/tree/v1.1.13)
|
||
`2018-07-13`
|
||
|
||
**Improvements**
|
||
|
||
- Button: add plain prop [\#1444](https://github.com/youzan/vant/pull/1444)
|
||
- Toast: improve type definition [\#1468](https://github.com/youzan/vant/pull/1468)
|
||
- Dialog: improve type definition [\#1467](https://github.com/youzan/vant/pull/1467)
|
||
- Radio: add label-position prop [\#1446](https://github.com/youzan/vant/pull/1446)
|
||
- Radio: add label-disabled prop [\#1445](https://github.com/youzan/vant/pull/1445)
|
||
- Search: should trigger blur after click search button [\#1448](https://github.com/youzan/vant/pull/1448)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Swipe multi finger touch [\#1478](https://github.com/youzan/vant/pull/1478)
|
||
- fix ImagePreview start position [\#1456](https://github.com/youzan/vant/pull/1456)
|
||
- fix Picker incorrect option height in some android devices [\#1449](https://github.com/youzan/vant/pull/1449)
|
||
- fix vue-lazyload version [\#1481](https://github.com/youzan/vant/pull/1481)
|
||
|
||
|
||
### [v1.1.12](https://github.com/youzan/vant/tree/v1.1.12)
|
||
`2018-07-06`
|
||
|
||
**Improvements**
|
||
|
||
- Area: add reset method [\#1427](https://github.com/youzan/vant/pull/1427)
|
||
- Checkbox: support custom icon [\#1414](https://github.com/youzan/vant/pull/1414)
|
||
- Checkbox: with cell [\#1430](https://github.com/youzan/vant/pull/1430)
|
||
- Swipe: not swipeable when page scrolling [\#1425](https://github.com/youzan/vant/pull/1425)
|
||
- Swipe: window resize [\#1413](https://github.com/youzan/vant/pull/1413)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Progress text empty [\#1411](https://github.com/youzan/vant/pull/1411)
|
||
- fix Tab random insert order [\#1429](https://github.com/youzan/vant/pull/1429)
|
||
- fix error when use Vue.use in typescript [\#1410](https://github.com/youzan/vant/pull/1410)
|
||
- fix style missing dependencies [\#1426](https://github.com/youzan/vant/pull/1426)
|
||
|
||
|
||
### [v1.1.11](https://github.com/youzan/vant/tree/v1.1.11)
|
||
`2018-07-04`
|
||
|
||
**Improvements**
|
||
|
||
- ActionSheet: support lazy render [\#1365](https://github.com/youzan/vant/pull/1365)
|
||
- AddressEdit: adjust event order [\#1402](https://github.com/youzan/vant/pull/1402)
|
||
- SwitchCell: add size prop [\#1371](https://github.com/youzan/vant/pull/1371)
|
||
- Checkbox: add label-position prop [\#1394](https://github.com/youzan/vant/pull/1394)
|
||
- Picker: optimize render performance [\#1391](https://github.com/youzan/vant/pull/1391)
|
||
- Tab: update card style [\#1364](https://github.com/youzan/vant/pull/1364)
|
||
- Document: dialog before-close usage [\#1383](https://github.com/youzan/vant/pull/1383)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Area error when city list empty [\#1374](https://github.com/youzan/vant/pull/1374)
|
||
- fix DatetimePicker change event params [\#1370](https://github.com/youzan/vant/pull/1370)
|
||
- fix Field readonly in safari [\#1399](https://github.com/youzan/vant/pull/1399)
|
||
- fix Field should hide clear icon when readonly [\#1395](https://github.com/youzan/vant/pull/1395)
|
||
- fix Tab insert order [\#1372](https://github.com/youzan/vant/pull/1372)
|
||
|
||
|
||
### [v1.1.10](https://github.com/youzan/vant/tree/v1.1.10)
|
||
`2018-06-28`
|
||
|
||
**Breaking changes**
|
||
|
||
- Icon: remove birthday-privilege、member-day-privilege、balance-details [\#1331](https://github.com/youzan/vant/pull/1331)
|
||
|
||
**Improvements**
|
||
|
||
- Cell: add arrow-direction prop [\#1323](https://github.com/youzan/vant/pull/1323)
|
||
- Field: add is-link prop [\#1347](https://github.com/youzan/vant/pull/1347)
|
||
- Field: add input-align prop [\#1352](https://github.com/youzan/vant/pull/1352)
|
||
- Field: add label-align prop [\#1353](https://github.com/youzan/vant/pull/1353)
|
||
- Icon: add idcard icon [\#1331](https://github.com/youzan/vant/pull/1331)
|
||
- Sku: add stepper-change event [\#1349](https://github.com/youzan/vant/pull/1349)
|
||
- PullRefresh: add disabled prop [\#1336](https://github.com/youzan/vant/pull/1336)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix List visibility check [\#1345](https://github.com/youzan/vant/pull/1345)
|
||
- fix Sku image clip [\#1334](https://github.com/youzan/vant/pull/1334)
|
||
|
||
|
||
### [v1.1.9](https://github.com/youzan/vant/tree/v1.1.9)
|
||
`2018-06-22`
|
||
|
||
**Improvements**
|
||
|
||
- ActionSheet: support disable option [\#1293](https://github.com/youzan/vant/pull/1293)
|
||
- Field: support clearable [\#1309](https://github.com/youzan/vant/pull/1309)
|
||
- Layout: support flex layout [\#1305](https://github.com/youzan/vant/pull/1305)
|
||
- Locale: add type definition [\#1294](https://github.com/youzan/vant/pull/1294)
|
||
- Tabbar: add z-index prop [\#1310](https://github.com/youzan/vant/pull/1310)
|
||
- Stepper: improve blur behavior [\#1316](https://github.com/youzan/vant/pull/1316)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix DatetimePicker visible-item-count prop [\#1312](https://github.com/youzan/vant/pull/1312)
|
||
- fix Tab line resize [\#1304](https://github.com/youzan/vant/pull/1304)
|
||
|
||
|
||
### [v1.1.8](https://github.com/youzan/vant/tree/v1.1.8)
|
||
`2018-06-14`
|
||
|
||
**Improvements**
|
||
|
||
- AddressEdit: support configure button text [\#1287](https://github.com/youzan/vant/pull/1287)
|
||
- AddressEdit: simplify struct [\#1274](https://github.com/youzan/vant/pull/1274)
|
||
- Area: optimize default option [\#1272](https://github.com/youzan/vant/pull/1272)
|
||
- Dialog: support isolated title [\#1270](https://github.com/youzan/vant/pull/1270)
|
||
- Field: add blur method [\#1264](https://github.com/youzan/vant/pull/1264)
|
||
- Field: update right icon color [\#1262](https://github.com/youzan/vant/pull/1262)
|
||
- Sku: message limit maxlength [\#1271](https://github.com/youzan/vant/pull/1271)
|
||
- Build: add stylelint [\#1280](https://github.com/youzan/vant/pull/1280)
|
||
- Document: add demo source file link [\#1266](https://github.com/youzan/vant/pull/1266)
|
||
- Document: add code style guide [\#1245](https://github.com/youzan/vant/pull/1245)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix ActionSheet title font size [\#1267](https://github.com/youzan/vant/pull/1267)
|
||
- fix CheckboxGroup v-model type check [\#1254](https://github.com/youzan/vant/pull/1254)
|
||
- fix Popup max height [\#1256](https://github.com/youzan/vant/pull/1256)
|
||
- fix Tab resize line when title changed [\#1260](https://github.com/youzan/vant/pull/1260)
|
||
|
||
|
||
### [v1.1.7](https://github.com/youzan/vant/tree/v1.1.7)
|
||
`2018-06-06`
|
||
|
||
**Improvements**
|
||
|
||
- Dialog: support custom className [\#1224](https://github.com/youzan/vant/pull/1224)
|
||
- Dialog: optimize style without content [\#1233](https://github.com/youzan/vant/pull/1233)
|
||
- Field: support v-model.number [\#1221](https://github.com/youzan/vant/pull/1221)
|
||
- Swipe: add swipeTo method [\#1222](https://github.com/youzan/vant/pull/1222)
|
||
- Document: add ts-import-plugin guide [\#1230](https://github.com/youzan/vant/pull/1230)
|
||
|
||
|
||
### [v1.1.6](https://github.com/youzan/vant/tree/v1.1.6)
|
||
`2018-06-01`
|
||
|
||
**Improvements**
|
||
|
||
- Dialog: add get-container prop [\#1176](https://github.com/youzan/vant/pull/1176)
|
||
- Dialog: beforeClose add callback parameters [\#1166](https://github.com/youzan/vant/pull/1166)
|
||
- Icon: update wechat icon [\#1156](https://github.com/youzan/vant/pull/1156)
|
||
- Picker: support html option [\#1213](https://github.com/youzan/vant/pull/1213)
|
||
- SubmitBar: optimize render [\#1184](https://github.com/youzan/vant/pull/1184)
|
||
- Test: add more test cases [\#1202](https://github.com/youzan/vant/pull/1202)
|
||
- Doc: improve quickstart [\#1187](https://github.com/youzan/vant/pull/1187)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Tab title slot render [\#1212](https://github.com/youzan/vant/pull/1212)
|
||
- fix AddressEdit area popup should mount in document root [\#1211](https://github.com/youzan/vant/pull/1211)
|
||
|
||
|
||
## Changelog
|
||
|
||
### [v1.1.5](https://github.com/youzan/vant/tree/v1.1.5)
|
||
`2018-05-24`
|
||
|
||
**Improvements**
|
||
|
||
- AddressEdit: trim empty value [\#1150](https://github.com/youzan/vant/pull/1150)
|
||
- Dialog: prevent button text select [\#1148](https://github.com/youzan/vant/pull/1148)
|
||
- NumberKeyboard: add close event [\#1127](https://github.com/youzan/vant/pull/1127)
|
||
- Rate: add change event [\#1102](https://github.com/youzan/vant/pull/1102)
|
||
- Picker: update unselected option color [\#1142](https://github.com/youzan/vant/pull/1142)
|
||
- Popup: support lazy render [\#1138](https://github.com/youzan/vant/pull/1138)
|
||
- Sku: update error info [\#1100](https://github.com/youzan/vantpull/1100)
|
||
- TreeSelect: support string type id [\#1126](https://github.com/youzan/vant/pull/1126)
|
||
- Utils: remove unused scroll utils [\#1112](https://github.com/youzan/vant/pull/1112)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Toast mask render uncorrectly when forbidClick [\#1154](https://github.com/youzan/vant/pull/1154)
|
||
- fix Field input margin in safari [\#1147](https://github.com/youzan/vant/pull/1147)
|
||
- fix Progress pivot cross border [\#1135](https://github.com/youzan/vant/pull/1135)
|
||
|
||
|
||
### [v1.1.4](https://github.com/youzan/vant/tree/v1.1.4)
|
||
`2018-05-18`
|
||
|
||
**Improvements**
|
||
|
||
- AddressEdit: fit in small screen [\#1082](https://github.com/youzan/vant/pull/1082)
|
||
- Cell: support number type title & value [\#1073](https://github.com/youzan/vant/pull/1073)
|
||
- Field: add left-icon prop [\#1092](https://github.com/youzan/vant/pull/1092)
|
||
- Progress: support gradient color [\#1098](https://github.com/youzan/vant/pull/1098)
|
||
- Build: upgrade to webpack-serve [\#1056](https://github.com/youzan/vant/pull/1056)
|
||
- Reorganize demos [\#1052](https://github.com/youzan/vant/pull/1052)
|
||
- Reorganize document [\#1066](https://github.com/youzan/vant/pull/1066)
|
||
- Rebuild test system [\#1051](https://github.com/youzan/vant/pull/1051)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix DatetimePicker initial value error [\#1093](https://github.com/youzan/vant/pull/1093)
|
||
- fix GoodsAction info position [\#1074](https://github.com/youzan/vant/pull/1074)
|
||
- fix icon style template [\#1091](https://github.com/youzan/vant/pull/1091)
|
||
|
||
|
||
### [v1.1.3](https://github.com/youzan/vant/tree/v1.1.3)
|
||
`2018-05-12`
|
||
|
||
**Improvements**
|
||
|
||
- AddressEdit: add cancel-delete event [\#1047](https://github.com/youzan/vant/pull/1047)
|
||
- Field: add label slot [\#1048](https://github.com/youzan/vant/pull/1048)
|
||
- Icon: update search icon [\#1025](https://github.com/youzan/vant/pull/1025)
|
||
- Icon: support color property [\#1031](https://github.com/youzan/vant/pull/1031)
|
||
- ImagePreview: optimize click detect [\#1042](https://github.com/youzan/vant/pull/1042)
|
||
- NoticeBar: add ref check [\#1037](https://github.com/youzan/vant/pull/1037)
|
||
- Search: update style [\#1027](https://github.com/youzan/vant/pull/1027)
|
||
- Toast: add loadingType option [\#1049](https://github.com/youzan/vant/pull/1049)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Cell default width [\#1029](https://github.com/youzan/vant/pull/1029)
|
||
- fix ImagePreview can't be closed when contain single image [\#1046](https://github.com/youzan/vant/pull/1046)
|
||
|
||
|
||
### [v1.1.2](https://github.com/youzan/vant/tree/v1.1.2)
|
||
`2018-05-08`
|
||
|
||
**Improvements**
|
||
|
||
- add Rate component [\#901](https://github.com/youzan/vant/pull/901) [\#1002](https://github.com/youzan/vant/pull/1002) [\#1010](https://github.com/youzan/vant/pull/1010) [\#1011](https://github.com/youzan/vant/pull/1011)
|
||
- Area: add change event [\#1019](https://github.com/youzan/vant/pull/1019)
|
||
- Button: update border color [\#998](https://github.com/youzan/vant/pull/998)
|
||
- Locale: add warning when not correctly registered [\#1012](https://github.com/youzan/vant/pull/1012)
|
||
- Stepper: update disabled style [\#997](https://github.com/youzan/vant/pull/997)
|
||
- optimize component watcher [\#1001](https://github.com/youzan/vant/pull/1001)
|
||
- Document: optimize API table [\#990](https://github.com/youzan/vant/pull/990) [\#991](https://github.com/youzan/vant/pull/991)
|
||
|
||
**Bug Fixes**
|
||
|
||
- fix Search should not have cell border [\#1000](https://github.com/youzan/vant/pull/1000)
|
||
- fix Tab should lazy render tab-pane [\#978](https://github.com/youzan/vant/pull/978)
|
||
- fix Stepper integer wrong spelling [\#992](https://github.com/youzan/vant/pull/992)
|
||
|
||
|
||
### [v1.1.1](https://github.com/youzan/vant/tree/v1.1.1)
|
||
`2018-05-04`
|
||
|
||
**Improvements**
|
||
|
||
* Contact: optimize background image [\#972](https://github.com/youzan/vant/pull/972)
|
||
* List: add loading-text prop [\#948](https://github.com/youzan/vant/pull/948)
|
||
* Swipe: optimzie performance [\#985](https://github.com/youzan/vant/pull/985)
|
||
* Swipe: add touchable prop [\#975](https://github.com/youzan/vant/pull/975)
|
||
* Swipe: support vertical mode [\#938](https://github.com/youzan/vant/pull/938)
|
||
* Slider: expand touch area [\#977](https://github.com/youzan/vant/pull/977)
|
||
* Stepper: add interger prop [\#951](https://github.com/youzan/vant/pull/951)
|
||
* Tab: add line-width prop [\#988](https://github.com/youzan/vant/pull/988)
|
||
|
||
**Bug Fixes**
|
||
* fix ImagePreview offset calc error [\#980](https://github.com/youzan/vant/pull/980)
|
||
* fix Search incomplete text display in iOS [\#974](https://github.com/youzan/vant/pull/974)
|
||
|
||
|
||
### [v1.1.0](https://github.com/youzan/vant/tree/v1.1.0)
|
||
`2018-04-25`
|
||
|
||
**Improvements**
|
||
|
||
* add Slider component [\#897](https://github.com/youzan/vant/pull/897) [\#915](https://github.com/youzan/vant/pull/915) [jerryni](https://github.com/jerryni)
|
||
* add bem mixin and format bem style [\#921](https://github.com/youzan/vant/pull/921) [\#924](https://github.com/youzan/vant/pull/924) [\#932](https://github.com/youzan/vant/pull/932) [\#934](https://github.com/youzan/vant/pull/934)
|
||
* Panel: use cell instead of extra style [\#927](https://github.com/youzan/vant/pull/927)
|
||
* Cell: optimize flex layout [\#919](https://github.com/youzan/vant/pull/919)
|
||
* Slider: add step & bar-height prop [\#915](https://github.com/youzan/vant/pull/915)
|
||
* Build: upgrade vue-loader 15 [\#937](https://github.com/youzan/vant/pull/937)
|
||
* Build: use ChromeHeadless instead of PhantomJS to run test cases [\#913](https://github.com/youzan/vant/pull/913)
|
||
* Build: use MiniCssExtractPlugin instead of ExtractTextPlugin [\#936](https://github.com/youzan/vant/pull/936)
|
||
* Build: add sideEffects config for webpack 4 [\#926](https://github.com/youzan/vant/pull/926)
|
||
* Document: add rem guide [\#928](https://github.com/youzan/vant/pull/928)
|
||
* Document: remove Loading circle type [\#941](https://github.com/youzan/vant/pull/941)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Uploader can not upload pic in android [\#929](https://github.com/youzan/vant/pull/929)
|
||
* fix Checkbox should not render label when label is empty [\#920](https://github.com/youzan/vant/pull/920)
|
||
* fix Dialog type define error [\#918](https://github.com/youzan/vant/pull/918)
|
||
* fix Popup should remove touch event listener when distroyed [\#912](https://github.com/youzan/vant/pull/912)
|
||
* fix Picker text adjust may cause option wrong offset [\#916](https://github.com/youzan/vant/pull/916)
|
||
|
||
|
||
### [v1.0.8](https://github.com/youzan/vant/tree/v1.0.8)
|
||
`2018-04-20`
|
||
|
||
**Improvements**
|
||
* add git hook, optimize dev process [\#883](https://github.com/youzan/vant/pull/883)
|
||
|
||
**Bug Fixes**
|
||
* Cell: optimize left icon [\#893](https://github.com/youzan/vant/pull/893)
|
||
* Build: should use babel sync compile [\#885](https://github.com/youzan/vant/pull/885)
|
||
* Field: allow negative number when type is number [\#889](https://github.com/youzan/vant/pull/889)
|
||
* Popup: fix lock scroll [\#891](https://github.com/youzan/vant/pull/891)
|
||
|
||
|
||
### [v1.0.7](https://github.com/youzan/vant/tree/v1.0.7)
|
||
`2018-04-17`
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix missing style entry in build result
|
||
|
||
### [v1.0.6](https://github.com/youzan/vant/tree/v1.0.6)
|
||
`2018-04-17`
|
||
|
||
**Improvements**
|
||
|
||
* support es module [\#875](https://github.com/youzan/vant/pull/875)
|
||
* Dialog: add before-close prop, support async close [\#854](https://github.com/youzan/vant/pull/854) [\#881](https://github.com/youzan/vant/pull/881)
|
||
* SubmitBar: support custom currency symbol [\#876](https://github.com/youzan/vant/pull/876)
|
||
* Tab: support v-model bind active tab [\#879](https://github.com/youzan/vant/pull/879)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix DatetimePicker change event params not correct [\#878](https://github.com/youzan/vant/pull/878)
|
||
|
||
|
||
### [v1.0.5](https://github.com/youzan/vant/tree/v1.0.5)
|
||
`2018-04-13`
|
||
|
||
**Improvements**
|
||
|
||
* add touch mixin [\#869](https://github.com/youzan/vant/pull/869)
|
||
* Tabbar: support Number type info [\#845](https://github.com/youzan/vant/pull/845)
|
||
* Radio: name support any types [\#863](https://github.com/youzan/vant/pull/863)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix NavBar title max width limitation [\#867](https://github.com/youzan/vant/pull/867)
|
||
* fix Button vertical align incorrect when loading [\#858](https://github.com/youzan/vant/pull/858)
|
||
* fix SwipeCell should only trigger swipe when drag horizontally [\#866](https://github.com/youzan/vant/pull/866)
|
||
* fix ImagePreview manually close not work [\#864](https://github.com/youzan/vant/pull/864)
|
||
* fix SubmitBar inherit wrong font size [\#857](https://github.com/youzan/vant/pull/857)
|
||
* fix SwitchCell text vertical align [\#852](https://github.com/youzan/vant/pull/852)
|
||
* fix Swipe not stop touch event propagation [\#846](https://github.com/youzan/vant/pull/846)
|
||
|
||
|
||
### [v1.0.4](https://github.com/youzan/vant/tree/v1.0.4)
|
||
`2018-04-10`
|
||
|
||
**Improvements**
|
||
|
||
* ActionSheet: add cancel event [\#796](https://github.com/youzan/vant/pull/796)
|
||
* ActionSheet: support maxHeight [\#777](https://github.com/youzan/vant/pull/777)
|
||
* DatetimePicker: support all picker props [\#788](https://github.com/youzan/vant/pull/788)
|
||
* SubmitBar: unite font-size [\#774](https://github.com/youzan/vant/pull/774)
|
||
* i18n: support zh-HK language [\#812](https://github.com/youzan/vant/pull/812)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Button should be unclickable when loading [\#779](https://github.com/youzan/vant/pull/779)
|
||
* fix Dialog close method may cause error [\#841](https://github.com/youzan/vant/pull/841)
|
||
* fix Popup lock-scroll not work when open multi popup [\#842](https://github.com/youzan/vant/pull/842)
|
||
* fix SubmitBar price decimal rounding [\#820](https://github.com/youzan/vant/pull/820)
|
||
* fix Sku row font-size [\#840](https://github.com/youzan/vant/pull/840)
|
||
|
||
|
||
### [v1.0.3](https://github.com/youzan/vant/tree/v1.0.3)
|
||
`2018-03-26`
|
||
|
||
**Improvements**
|
||
|
||
* Cell: add center prop [\#771](https://github.com/youzan/vant/pull/771)
|
||
* Cell: update to flex-box [\#770](https://github.com/youzan/vant/pull/770)
|
||
* Field: add button slot [\#772](https://github.com/youzan/vant/pull/772)
|
||
* Tab: click event add title param [\#761](https://github.com/youzan/vant/pull/761)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Tag text line height in android browser [\#773](https://github.com/youzan/vant/pull/773)
|
||
* fix Toast mask not remove when hidden [\#762](https://github.com/youzan/vant/pull/762)
|
||
|
||
|
||
### [v1.0.2](https://github.com/youzan/vant/tree/v1.0.2)
|
||
`2018-03-22`
|
||
|
||
**Improvements**
|
||
|
||
* DatetimePicker: add show-toolbar prop & month-year type [\#736](https://github.com/youzan/vant/pull/736)
|
||
* NavBar: remove top border [\#744](https://github.com/youzan/vant/pull/744)
|
||
* NoticeBar: adjust padding [\#737](https://github.com/youzan/vant/pull/737)
|
||
* Doc: add guide of custom iconfont [\#754](https://github.com/youzan/vant/pull/754)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix AddressEdit not auto select area when created [\#748](https://github.com/youzan/vant/pull/748)
|
||
* fix List trigger load event when hidden [\#751](https://github.com/youzan/vant/pull/751)
|
||
* fix Sku default selection not work [\#752](https://github.com/youzan/vant/pull/752)
|
||
* fix Toast overlay blocked by other element [\#740](https://github.com/youzan/vant/pull/740)
|
||
* fix Tab content not clickable [\#749](https://github.com/youzan/vant/pull/749)
|
||
|
||
|
||
### [v1.0.1](https://github.com/youzan/vant/tree/v1.0.1)
|
||
`2018-03-19`
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix module circular dependency [\#728](https://github.com/youzan/vant/pull/728)
|
||
|
||
|
||
### [v1.0.0](https://github.com/youzan/vant/tree/v1.0.0)
|
||
`2018-03-19`
|
||
|
||
**Breaking changes**
|
||
|
||
* add List component [\#682](https://github.com/youzan/vant/pull/682)
|
||
* add Collapse component [\#674](https://github.com/youzan/vant/pull/674)
|
||
* Build: upgrade to webpack 4 [\#693](https://github.com/youzan/vant/pull/693)
|
||
* Popup: add lock-scroll instead of lock-on-scroll & prevent-scroll [\#688](https://github.com/youzan/vant/pull/688)
|
||
* Deprecate Waterfall component and add deprecate tips [\#683](https://github.com/youzan/vant/pull/683)
|
||
|
||
**Improvements**
|
||
|
||
* AddressEdit: add show-delete prop [\#716](https://github.com/youzan/vant/pull/716)
|
||
* SwipeCell: optimzie animation fluency [\#685](https://github.com/youzan/vant/pull/685)
|
||
* Field: support autosize maxHeight & minHeight [\#718](https://github.com/youzan/vant/pull/718)
|
||
* Locale: optimize i18n config [\#701](https://github.com/youzan/vant/pull/701)
|
||
* PullRefresh: support trigger loading animation [\#684](https://github.com/youzan/vant/pull/684)
|
||
* Switch: support custom size [\#723](https://github.com/youzan/vant/pull/723)
|
||
* Sku: add header price slot [\#705](https://github.com/youzan/vant/pull/705)
|
||
* Sku: optimize DOM [\#704](https://github.com/youzan/vant/pull/704)
|
||
* Tab: support switch tabs with swipe gestrue in the content [\#694](https://github.com/youzan/vant/pull/694) [\#695](https://github.com/youzan/vant/pull/695)
|
||
* Tag: adjust style [\#689](https://github.com/youzan/vant/pull/689)
|
||
* Toast: support Vue.use to register [\#690](https://github.com/youzan/vant/pull/690)
|
||
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix ActionSheet bottom border missing [\#686](https://github.com/youzan/vant/pull/686)
|
||
* fix AddressEdit area not selected when area_code changed [\#680](https://github.com/youzan/vant/pull/680)
|
||
* fix Stepper value overlimit [\#691](https://github.com/youzan/vant/issues/691)
|
||
* fix Sidebar info font weight when selected [\#687](https://github.com/youzan/vant/pull/687)
|
||
|
||
|
||
### [v0.12.14](https://github.com/youzan/vant/tree/v0.12.14)
|
||
`2018-03-09`
|
||
|
||
**Bug Fixes**
|
||
* Area: should reset index when area list changed [\#678](https://github.com/youzan/vant/pull/678)
|
||
|
||
|
||
### [v0.12.13](https://github.com/youzan/vant/tree/v0.12.13)
|
||
`2018-03-09`
|
||
|
||
**Improvements**
|
||
|
||
* AddressEdit: support custom tel validator [\#673](https://github.com/youzan/vant/pull/673)
|
||
* Sku: add close-on-click-overlay config for sku popup [\#676](https://github.com/youzan/vant/pull/676)
|
||
|
||
**Bug Fixes**
|
||
* fix CouponList text max-width [\#675](https://github.com/youzan/vant/pull/675)
|
||
|
||
|
||
### [v0.12.12](https://github.com/youzan/vant/tree/v0.12.12)
|
||
`2018-03-06`
|
||
|
||
**Improvements**
|
||
|
||
* Swipe: support disable loop [\#670](https://github.com/youzan/vant/pull/670)
|
||
* Document: add swipe change event demo [\#666](https://github.com/youzan/vant/pull/666)
|
||
* update static source CDN domain [\#652](https://github.com/youzan/vant/pull/652)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Field disabled color in safari [\#669](https://github.com/youzan/vant/pull/669)
|
||
* fix Swipe autoplay not stop when value set to 0 [\#660](https://github.com/youzan/vant/pull/660)
|
||
|
||
|
||
### [v0.12.11](https://github.com/youzan/vant/tree/v0.12.11)
|
||
`2018-02-27`
|
||
|
||
**Improvements**
|
||
|
||
* Checkbox: add label-disabled prop [\#644](https://github.com/youzan/vant/pull/644)
|
||
* Popup: add click-overlay event [\#647](https://github.com/youzan/vant/pull/647)
|
||
* Icon: add warn icon [\#651](https://github.com/youzan/vant/pull/651)
|
||
* Icon: add info-o icon, optimize checked & underway icon [\#648](https://github.com/youzan/vant/pull/648)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Button loading horizontal align [\#645](https://github.com/youzan/vant/pull/645)
|
||
|
||
|
||
### [v0.12.10](https://github.com/youzan/vant/tree/v0.12.10)
|
||
`2018-02-12`
|
||
|
||
**Improvements**
|
||
|
||
* add build-in style document [\#633](https://github.com/youzan/vant/pull/633)
|
||
* Checkbox: optimzie DOM struct [\#636](https://github.com/youzan/vant/pull/636)
|
||
* Checkbox: support config the maximum amount of checked options [\#631](https://github.com/youzan/vant/pull/631)
|
||
|
||
**Bug Fixes**
|
||
|
||
* Stepper: change event error when clear input [\#635](https://github.com/youzan/vant/pull/635)
|
||
|
||
|
||
### [v0.12.9](https://github.com/youzan/vant/tree/v0.12.9)
|
||
`2018-02-08`
|
||
|
||
**Improvements**
|
||
|
||
* PullRefresh: add refersh event [\#625](https://github.com/youzan/vant/pull/625)
|
||
* Circle: optimzie linecap [\#624](https://github.com/youzan/vant/pull/624)
|
||
* Picker: add loading prop [\#619](https://github.com/youzan/vant/pull/619)
|
||
* Loading: add size prop [\#620](https://github.com/youzan/vant/pull/620)
|
||
* Loading: add circular type [\#618](https://github.com/youzan/vant/pull/618)
|
||
* Loading: change default type to circular [\#623](https://github.com/youzan/vant/pull/623)
|
||
|
||
**Bug Fixes**
|
||
* fix Sku message observation [\#627](https://github.com/youzan/vant/pull/627)
|
||
|
||
|
||
### [v0.12.8](https://github.com/youzan/vant/tree/v0.12.8)
|
||
`2018-02-07`
|
||
|
||
**Improvements**
|
||
* add Circle component [\#608](https://github.com/youzan/vant/pull/608)
|
||
* Tab: add title slot [\#603](https://github.com/youzan/vant/pull/603)
|
||
* Toast: adjust background color [\#601](https://github.com/youzan/vant/pull/601)
|
||
* Popup: support getContaienr [\#611](https://github.com/youzan/vant/pull/611)
|
||
* Sku: support imgage upload [\#612](https://github.com/youzan/vant/pull/612)
|
||
* Sku: support custom stepper [\#600](https://github.com/youzan/vant/pull/600)
|
||
|
||
**Bug Fixes**
|
||
* fix Picker style error in some andriod devices [\#609](https://github.com/youzan/vant/pull/609)
|
||
* fix TreeSelect arrow position error [\#605](https://github.com/youzan/vant/pull/605)
|
||
|
||
|
||
### [v0.12.7](https://github.com/youzan/vant/tree/v0.12.7)
|
||
`2018-01-31`
|
||
|
||
**Improvements**
|
||
* Area: add item-height & visible-item-count props [\#591](https://github.com/youzan/vant/pull/591)
|
||
* Dialog: support component call [\#593](https://github.com/youzan/vant/pull/593)
|
||
* Toast: support multiple instance [\#586](https://github.com/youzan/vant/pull/586)
|
||
* Sku: add getSkuData method [\#585](https://github.com/youzan/vant/pull/585)
|
||
|
||
**Bug Fixes**
|
||
* fix Field multi line label style error [\#583](https://github.com/youzan/vant/pull/583)
|
||
|
||
### [v0.12.6](https://github.com/youzan/vant/tree/v0.12.6)
|
||
`2018-01-25`
|
||
|
||
**Improvements**
|
||
|
||
* AddressEdit: add default slot [\#573](https://github.com/youzan/vant/pull/573)
|
||
* Uploader: support maxSize prop [\#575](https://github.com/youzan/vant/pull/575)
|
||
* Sku: add sku-body-top slot and resetSelectedSkuOnHide prop [\#568](https://github.com/youzan/vant/pull/568)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Sku message error when overlimit [\#568](https://github.com/youzan/vant/pull/568)
|
||
* fix Toast work break [\#567](https://github.com/youzan/vant/pull/567)
|
||
* fix Tab active not work [\#572](https://github.com/youzan/vant/pull/572)
|
||
|
||
### [v0.12.5](https://github.com/youzan/vant/tree/v0.12.5)
|
||
`2018-01-23`
|
||
|
||
**Improvements**
|
||
|
||
* Button: add text prop [\#563](https://github.com/youzan/vant/pull/563)
|
||
* CouponList: support v-model、exchangeButtonLoading、exchangeMinLength [\#556](https://github.com/youzan/vant/pull/556) [\#566](https://github.com/youzan/vant/pull/566)
|
||
* Icon: update share icon [\#562](https://github.com/youzan/vant/pull/562)
|
||
* Sku: improve render performance [\#550](https://github.com/youzan/vant/pull/550)
|
||
|
||
**Bug Fixes**
|
||
* Area: should not display city & county list when not select province [\#560](https://github.com/youzan/vant/pull/560)
|
||
* Cell: fix required style [\#553](https://github.com/youzan/vant/pull/553)
|
||
|
||
|
||
### [v0.12.4](https://github.com/youzan/vant/tree/v0.12.4)
|
||
`2018-01-18`
|
||
|
||
**Improvements**
|
||
|
||
* Picker: add props to custom button text [\#548](https://github.com/youzan/vant/pull/548)
|
||
* Toast: add setDefaultOptions method [\#541](https://github.com/youzan/vant/pull/541)
|
||
* Dialog: add setDefaultOptions method [\#539](https://github.com/youzan/vant/pull/539)
|
||
|
||
**Bug Fixes**
|
||
|
||
* Stepper: not fire event on changing the value prop [\#546](https://github.com/youzan/vant/pull/546)
|
||
* Picker: fix misspelling of visibleItemCount prop [\#549](https://github.com/youzan/vant/pull/549)
|
||
|
||
### [v0.12.3](https://github.com/youzan/vant/tree/v0.12.3)
|
||
|
||
`2018-01-12`
|
||
|
||
**Improvements**
|
||
|
||
* NavBar: add zIndex prop [\#525](https://github.com/youzan/vant/pull/525)
|
||
* Cell: adjust right padding of arrow [\#531](https://github.com/youzan/vant/pull/531)
|
||
|
||
**Bug Fixes**
|
||
|
||
* Area: should valid data before get area list [\#520](https://github.com/youzan/vant/pull/520)
|
||
* AddressEdit: setAreaCode now work [\#524](https://github.com/youzan/vant/pull/524)
|
||
* Picker: change event not triggered when click option [\#532](https://github.com/youzan/vant/pull/532)
|
||
* PullRefresh: only triggered when drag in vertical direction [\#521](https://github.com/youzan/vant/pull/521)
|
||
|
||
### [v0.12.2](https://github.com/youzan/vant/tree/v0.12.2)
|
||
|
||
`2018-01-08`
|
||
|
||
**Bug Fixes**
|
||
|
||
* Swipe: use translate2d to aviod iOS11 crash bug [\#518](https://github.com/youzan/vant/pull/518)
|
||
* Picker: should not emit change event after init [\#517](https://github.com/youzan/vant/pull/517)
|
||
* NoticeBar: should reinitialize when text changed [\#515](https://github.com/youzan/vant/pull/515)
|
||
* AddressEdit: fix search result style error [\#514](https://github.com/youzan/vant/pull/514)
|
||
|
||
### [v0.12.1](https://github.com/youzan/vant/tree/v0.12.1)
|
||
|
||
`2018-01-05`
|
||
|
||
**Improvements**
|
||
|
||
* Button: adjust padding of small button [\#511](https://github.com/youzan/vant/pull/511)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Cell icon can't render when no title [\#508](https://github.com/youzan/vant/pull/508)
|
||
* fix Cell inner border width [\#506](https://github.com/youzan/vant/pull/506)
|
||
* fix CouponList line height [\#507](https://github.com/youzan/vant/pull/507)
|
||
* fix CouponList input style [\#502](https://github.com/youzan/vant/pull/502)
|
||
* fix Radio icon not clickable [\#505](https://github.com/youzan/vant/pull/505)
|
||
|
||
### [v0.12.0](https://github.com/youzan/vant/tree/v0.12.0)
|
||
|
||
`2017-12-29`
|
||
|
||
**Breaking changes**
|
||
|
||
* Cell: move left padding from CellGroup to Cell, add 'border'、'clickable' props [\#497](https://github.com/youzan/vant/pull/497)
|
||
* follow eslint-plugin-vue strongly-recommended code style, use kebab-case props [\#482](https://github.com/youzan/vant/pull/482)
|
||
|
||
**Improvements**
|
||
|
||
* Field: add error-message prop [\#492](https://github.com/youzan/vant/pull/492)
|
||
* Document: update site UI [\#490](https://github.com/youzan/vant/pull/490)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Tab height calc error when use sticky [\#493](https://github.com/youzan/vant/pull/493)
|
||
* fix Component should not inheritAttrs when use $attrs [\#488](https://github.com/youzan/vant/pull/488)
|
||
|
||
### [v0.11.15](https://github.com/youzan/vant/tree/v0.11.15)
|
||
|
||
`2017-12-25`
|
||
|
||
**Improvements**
|
||
|
||
* Uploader: support multiple files [\#480](https://github.com/youzan/vant/pull/480)
|
||
* NumberKeyboard: add new theme [\#472](https://github.com/youzan/vant/pull/472)
|
||
* Icon: update search icon [\#474](https://github.com/youzan/vant/pull/474)
|
||
* Support passive events [\#478](https://github.com/youzan/vant/pull/478)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix popup should remove event handler when destroyed [\#477](https://github.com/youzan/vant/pull/477)
|
||
* fix popup mixin should treat empty string as true for boolean props [\#468](https://github.com/youzan/vant/pull/468)
|
||
* fix package.json should include 'types' in 'files' field [\#462](https://github.com/youzan/vant/pull/462)
|
||
|
||
### [v0.11.14](https://github.com/youzan/vant/tree/v0.11.14)
|
||
|
||
`2017-12-21`
|
||
|
||
**Improvements**
|
||
|
||
* NumberKeyboard: add hideOnClickOutside & closeButtonText props [\#458](https://github.com/youzan/vant/pull/458)
|
||
* Area: optimize performance [\#457](https://github.com/youzan/vant/pull/457)
|
||
* auto run eslint before build dist [\#455](https://github.com/youzan/vant/pull/455) [\#453](https://github.com/youzan/vant/pull/453)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix cell arrow style error
|
||
|
||
### [v0.11.13](https://github.com/youzan/vant/tree/v0.11.13)
|
||
|
||
`2017-12-19`
|
||
|
||
**Improvements**
|
||
|
||
* Area: add 'title' prop [\#450](https://github.com/youzan/vant/pull/450)
|
||
* Icon: add 'info' prop [\#447](https://github.com/youzan/vant/pull/447)
|
||
* Picker: optimzie performance [\#450](https://github.com/youzan/vant/pull/450)
|
||
* Search: support input native events [\#451](https://github.com/youzan/vant/pull/451)
|
||
* GoodsAction: add 'info' prop, support router link [\#448](https://github.com/youzan/vant/pull/448)
|
||
* Area & Sku: support i18n [\#439](https://github.com/youzan/vant/pull/439) [\#440](https://github.com/youzan/vant/pull/440)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix GoodsAction display error in small screen [\#446](https://github.com/youzan/vant/pull/446)
|
||
|
||
### [v0.11.12](https://github.com/youzan/vant/tree/v0.11.12)
|
||
|
||
`2017-12-15`
|
||
|
||
**Improvements**
|
||
|
||
* ContactCard: add 'editable' prop [\#435](https://github.com/youzan/vant/pull/435)
|
||
* Coupon: support i18n [\#431](https://github.com/youzan/vant/pull/431)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Popup preventScroll not work in some cases [\#429](https://github.com/youzan/vant/pull/429)
|
||
* fix Picker should prevent default touchmove [\#432](https://github.com/youzan/vant/pull/432)
|
||
* fix Picker bottom area not dragable [\#433](https://github.com/youzan/vant/pull/433)
|
||
* fix PullRefresh head display error [\#436](https://github.com/youzan/vant/pull/436)
|
||
|
||
### [v0.11.11](https://github.com/youzan/vant/tree/v0.11.11)
|
||
|
||
`2017-12-13`
|
||
|
||
**Improvements**
|
||
|
||
* Field: support native events [\#421](https://github.com/youzan/vant/pull/421)
|
||
* Search: support native input attrs [\#418](https://github.com/youzan/vant/pull/418)
|
||
* CellGroup: add 'border' prop [\#420](https://github.com/youzan/vant/pull/420)
|
||
* AddressEdit: add focus、change-area、select-search events [\#426](https://github.com/youzan/vant/pull/426)
|
||
* Sidebar、CouponList、ContactCard: add active color [\#419](https://github.com/youzan/vant/pull/419)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Checkbox disabled not work when inside CheckboxGroup [\#425](https://github.com/youzan/vant/pull/425)
|
||
* fix AddressEdit searchResult type validate [\#417](https://github.com/youzan/vant/pull/417)
|
||
|
||
### [v0.11.10](https://github.com/youzan/vant/tree/v0.11.10)
|
||
|
||
`2017-12-12`
|
||
|
||
**Improvements**
|
||
|
||
* Support Vue.use to register a component [\#401](https://github.com/youzan/vant/pull/401)
|
||
* Uniform fade animation [\#410](https://github.com/youzan/vant/pull/410)
|
||
|
||
**Bug Fixes**
|
||
|
||
* Icon: fix 'shopping-cart' icon not align center [\#415](https://github.com/youzan/vant/pull/415)
|
||
|
||
### [v0.11.9](https://github.com/youzan/vant/tree/v0.11.9)
|
||
|
||
`2017-12-11`
|
||
|
||
**Improvements**
|
||
|
||
* Icon: add share & arrow-left icons [\#407](https://github.com/youzan/vant/pull/407)
|
||
* Icon: support local font file [\#408](https://github.com/youzan/vant/pull/408)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix raf error in SSR [\#405](https://github.com/youzan/vant/pull/405)
|
||
* fix NoticeBar animationend event in old browser [\#402](https://github.com/youzan/vant/pull/402)
|
||
|
||
### [v0.11.8](https://github.com/youzan/vant/tree/v0.11.8)
|
||
|
||
`2017-12-08`
|
||
|
||
**Improvements**
|
||
|
||
* Icon: add two new icon [\#396](https://github.com/youzan/vant/pull/396)
|
||
* Button: adjust default button border color [\#392](https://github.com/youzan/vant/pull/392)
|
||
|
||
**Bug Fixes**
|
||
|
||
* Tab: hide scrollbar in mobile safari [\#390](https://github.com/youzan/vant/pull/390)
|
||
* Tab: active tab should keep center when scrollable [\#394](https://github.com/youzan/vant/pull/394)
|
||
|
||
### [v0.11.7](https://github.com/youzan/vant/tree/v0.11.7)
|
||
|
||
`2017-12-07`
|
||
|
||
**Improvements**
|
||
|
||
* Tab: scroll to top when change tab & sticky [\#389](https://github.com/youzan/vant/pull/389) [chenjiahan](https://github.com/chenjiahan)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Tab initail tab position [\#389](https://github.com/youzan/vant/pull/389) [chenjiahan](https://github.com/chenjiahan)
|
||
|
||
### [v0.11.6](https://github.com/youzan/vant/tree/v0.11.6)
|
||
|
||
`2017-12-07`
|
||
|
||
**Improvements**
|
||
|
||
* Picker: support click to select and disabled option [\#370](https://github.com/youzan/vant/pull/370)
|
||
* Tab: support sticky prop [\#382](https://github.com/youzan/vant/pull/382)
|
||
* Tab: improve animation fluency [\#379](https://github.com/youzan/vant/pull/379)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Popup overlayClass type [\#374](https://github.com/youzan/vant/pull/374)
|
||
* fix Field number type value filter [\#386](https://github.com/youzan/vant/pull/386)
|
||
* fix Icon 'new' display [\#381](https://github.com/youzan/vant/pull/381)
|
||
* fix Sku button border radius [\#378](https://github.com/youzan/vant/pull/378)
|
||
* fix Radio & Checkbox disabled color [\#383](https://github.com/youzan/vant/pull/383)
|
||
|
||
### [v0.11.5](https://github.com/youzan/vant/tree/v0.11.5)
|
||
|
||
`2017-12-04`
|
||
|
||
**Improvements**
|
||
|
||
* Coupon: adjust cell text [\#371](https://github.com/youzan/vant/pull/371)
|
||
* GoodsAction: support i18n [\#367](https://github.com/youzan/vant/pull/367)
|
||
* Document: add props name style guide [\#366](https://github.com/youzan/vant/pull/366)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Tab active block disappeared when delete tab [\#372](https://github.com/youzan/vant/pull/372)
|
||
|
||
### [v0.11.4](https://github.com/youzan/vant/tree/v0.11.4)
|
||
|
||
`2017-11-30`
|
||
|
||
**Improvements**
|
||
|
||
* add type definition files [\#361](https://github.com/youzan/vant/pull/361)
|
||
* support use this.$toast/$dialog to call Toast/Dialog [\#363](https://github.com/youzan/vant/pull/363)
|
||
|
||
### [v0.11.3](https://github.com/youzan/vant/tree/v0.11.3)
|
||
|
||
`2017-11-28`
|
||
|
||
**Breaking changes**
|
||
|
||
* NavBar: rename click event, change 'clickLeft' to 'click-left' [\#354](https://github.com/youzan/vant/pull/354)
|
||
|
||
**Improvements**
|
||
|
||
* SwipeCell: add onClose prop, support async controll [\#356](https://github.com/youzan/vant/pull/356)
|
||
* Uploader: support inherit attrs [\#357](https://github.com/youzan/vant/pull/357)
|
||
* optimize local compile speed [\#355](https://github.com/youzan/vant/pull/355)
|
||
|
||
### [v0.11.2](https://github.com/youzan/vant/tree/v0.11.2)
|
||
|
||
`2017-11-24`
|
||
|
||
**Improvements**
|
||
|
||
* Icon: add seven new icons [\#351](https://github.com/youzan/vant/pull/351)
|
||
|
||
### [v0.11.1](https://github.com/youzan/vant/tree/v0.11.1)
|
||
|
||
`2017-11-24`
|
||
|
||
**Improvements**
|
||
|
||
* ActionSheet: update close icon style [\#340](https://github.com/youzan/vant/pull/340)
|
||
* Popup: add overlayClass and overlayStyle props [\#349](https://github.com/youzan/vant/pull/349) [\#343](https://github.com/youzan/vant/pull/343)
|
||
* Icon: adjust unicode for better display [\#330](https://github.com/youzan/vant/pull/330)
|
||
* ImagePreview: support manually close [\#346](https://github.com/youzan/vant/pull/346)
|
||
* Tabbar: add slot-scope to avoid check by index [\#347](https://github.com/youzan/vant/pull/347)
|
||
* SubmitBar: add left slot [\#345](https://github.com/youzan/vant/pull/345)
|
||
* optimize component static classnames [\#337](https://github.com/youzan/vant/pull/337)
|
||
* optimize single line text ellipsis [\#334](https://github.com/youzan/vant/pull/334)
|
||
* optimize button css layer and GPU cost [\#336](https://github.com/youzan/vant/pull/336)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix some bugs in SSR [\#344](https://github.com/youzan/vant/pull/344)
|
||
* fix DateTimePicker crashed when pass invalid props [\#333](https://github.com/youzan/vant/pull/333)
|
||
|
||
### [v0.11.0](https://github.com/youzan/vant/tree/v0.11.0)
|
||
|
||
`2017-11-17`
|
||
|
||
**Breaking changes**
|
||
|
||
* add i18n support [\#310](https://github.com/youzan/vant/pull/310)
|
||
* remove some unnecessary props [\#323](https://github.com/youzan/vant/pull/323)
|
||
|
||
**Improvements**
|
||
|
||
* add Pagination component [\#327](https://github.com/youzan/vant/pull/327) [\#328](https://github.com/youzan/vant/pull/328)
|
||
* add Locale component [\#310](https://github.com/youzan/vant/pull/310)
|
||
* add Internationalization document [\#321](https://github.com/youzan/vant/pull/321)
|
||
* Icon: add-o icon add radius [\#326](https://github.com/youzan/vant/pull/326)
|
||
|
||
### [v0.10.9](https://github.com/youzan/vant/tree/v0.10.9)
|
||
|
||
`2017-11-15`
|
||
|
||
**Improvements**
|
||
|
||
* Icon: add new icons [\#315](https://github.com/youzan/vant/pull/315)
|
||
|
||
**Bug Fixes**
|
||
|
||
* Search: fix box-sizing [\#312](https://github.com/youzan/vant/pull/312)
|
||
|
||
### [v0.10.8](https://github.com/youzan/vant/tree/v0.10.8)
|
||
|
||
`2017-11-11`
|
||
|
||
**Improvements**
|
||
|
||
* Tabbar: support vue-router [\#305](https://github.com/youzan/vant/pull/305)
|
||
* Stepper: add plus & minus event [\#294](https://github.com/youzan/vant/pull/294)
|
||
* Progress: add showPivot prop [\#300](https://github.com/youzan/vant/pull/300)
|
||
* Loading: add spinner type [\#297](https://github.com/youzan/vant/pull/297)
|
||
* Toast: add mask option [\#296](https://github.com/youzan/vant/pull/296)
|
||
* add Tab english document [\#308](https://github.com/youzan/vant/pull/308)
|
||
* add Toast english document [\#307](https://github.com/youzan/vant/pull/307)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix npm run dist errors in windows [\#301](https://github.com/youzan/vant/pull/301)
|
||
|
||
### [v0.10.7](https://github.com/youzan/vant/tree/v0.10.7)
|
||
|
||
`2017-11-08`
|
||
|
||
**Improvements**
|
||
|
||
* Normalize size of all icons [\#292](https://github.com/youzan/vant/pull/292)
|
||
* ImagePreview support custom startPosition [\#286](https://github.com/youzan/vant/pull/286)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Sku scroll lock [\#291](https://github.com/youzan/vant/pull/291)
|
||
* fix Steps style error when has more than 4 items [\#287](https://github.com/youzan/vant/pull/287)
|
||
|
||
### [v0.10.6](https://github.com/youzan/vant/tree/v0.10.6)
|
||
|
||
`2017-11-06`
|
||
|
||
**Improvements**
|
||
|
||
* add Swipe initialSwipe prop [\#279](https://github.com/youzan/vant/pull/279)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Dialog button text not reset when showed [\#278](https://github.com/youzan/vant/pull/278)
|
||
* fix Tab dynamic generate bug [\#284](https://github.com/youzan/vant/pull/284)
|
||
* fix NoticeBar text disappeared when page back [\#280](https://github.com/youzan/vant/pull/280)
|
||
|
||
### [v0.10.5](https://github.com/youzan/vant/tree/v0.10.5)
|
||
|
||
`2017-10-30`
|
||
|
||
**Improvements**
|
||
|
||
* Cell support vue-router target route [\#268](https://github.com/youzan/vant/pull/268)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Tabbar info display when use icon slot [\#269](https://github.com/youzan/vant/pull/269)
|
||
* fix Uploader input type [\#265](https://github.com/youzan/vant/pull/265)
|
||
|
||
### [v0.10.4](https://github.com/youzan/vant/tree/v0.10.4)
|
||
|
||
`2017-10-26`
|
||
|
||
**Improvements**
|
||
|
||
* add more icons [\#253](https://github.com/youzan/vant/pull/253)
|
||
* add document of custom theme [\#251](https://github.com/youzan/vant/pull/251)
|
||
* add click feedback of buttons in components [\#248](https://github.com/youzan/vant/pull/248)
|
||
* add more props of NoticeBar [\#254](https://github.com/youzan/vant/pull/254)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Swipe width calc error [\#258](https://github.com/youzan/vant/pull/258)
|
||
* fix PullRefreash scroll bug when parent is scrollable [\#247](https://github.com/youzan/vant/pull/247)
|
||
* fix CouponList empty info display bug [\#246](https://github.com/youzan/vant/pull/246)
|
||
|
||
### [v0.10.3](https://github.com/youzan/vant/tree/v0.10.3)
|
||
|
||
`2017-10-25`
|
||
|
||
**Improvements**
|
||
|
||
* add Tabbar info prop [\#245](https://github.com/youzan/vant/pull/245)
|
||
* add Toast position prop [\#244](https://github.com/youzan/vant/pull/244)
|
||
* add Coupon showExchangeBar prop [\#243](https://github.com/youzan/vant/pull/243)
|
||
* add Advanced components english document [\#236](https://github.com/youzan/vant/pull/236)
|
||
* add demo pages in document [\#237](https://github.com/youzan/vant/pull/237)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Address & Contact list style error [\#230](https://github.com/youzan/vant/pull/230)
|
||
* fix popup style missing when build style entry [\#231](https://github.com/youzan/vant/pull/231)
|
||
* fix PullRefresh touchcancel event [\#239](https://github.com/youzan/vant/pull/239)
|
||
|
||
### [v0.10.2](https://github.com/youzan/vant/tree/v0.10.2)
|
||
|
||
`2017-10-20`
|
||
|
||
**Improvements**
|
||
|
||
* Sku: sku-group slot add event bus [\#226](https://github.com/youzan/vant/pull/226)
|
||
* add English documents [\#220](https://github.com/youzan/vant/pull/220)
|
||
|
||
**Bug Fixes**
|
||
|
||
* Optimize component dependency analyze when build style entry [\#224](https://github.com/youzan/vant/pull/224)
|
||
|
||
### [v0.10.1](https://github.com/youzan/vant/tree/v0.10.1)
|
||
|
||
`2017-10-18`
|
||
|
||
**Improvements**
|
||
|
||
* upgrade Vue version to 2.5.0
|
||
* add Tabs swipeThreshold prop [\#206](https://github.com/youzan/vant/pull/206)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Swipe not clear autoplay timer when destroyed [\#218](https://github.com/youzan/vant/pull/218)
|
||
* fix Tab slot text ellipsis [\#217](https://github.com/youzan/vant/pull/217)
|
||
* fix TreeSelect denpendency path error [\#216](https://github.com/youzan/vant/pull/216)
|
||
* fix Checkbox border render error in Weixin browser [\#214](https://github.com/youzan/vant/pull/214)
|
||
* fix Popup modal can not display in some cases [\#211](https://github.com/youzan/vant/pull/211)
|
||
* fix Waterfall repeated event bind
|
||
|
||
### [v0.10.0](https://github.com/youzan/vant/tree/v0.10.0)
|
||
|
||
`2017-10-13`
|
||
|
||
**Breaking changes**
|
||
|
||
* remove reset.css in style [\#192](https://github.com/youzan/vant/issues/192) [\#196](https://github.com/youzan/vant/pull/196)
|
||
* reconstruct Swipe component, adjust some API [#174](https://github.com/youzan/vant/issues/174) [#180](https://github.com/youzan/vant/issues/180) [\#194](https://github.com/youzan/vant/pull/194) [\#200](https://github.com/youzan/vant/pull/200)
|
||
* optimize Search component,adjust struct [\#198](https://github.com/youzan/vant/pull/198)
|
||
|
||
**Improvements**
|
||
|
||
* add Tabbar componnet [#157](https://github.com/youzan/vant/issues/157) [\#204](https://github.com/youzan/vant/pull/204)
|
||
* add english document of Form components [\#199](https://github.com/youzan/vant/pull/199)
|
||
* optimize Sku style [\#205](https://github.com/youzan/vant/pull/205)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix ImagePreview beating bug when loading image [\#201](https://github.com/youzan/vant/pull/201)
|
||
* fix Field height error when type is textarea and display none [\#181](https://github.com/youzan/vant/issues/181)
|
||
|
||
### [v0.9.12](https://github.com/youzan/vant/tree/v0.9.12)
|
||
|
||
`2017-10-11`
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Search style bug [\#191](https://github.com/youzan/vant/pull/191)
|
||
|
||
### [v0.9.11](https://github.com/youzan/vant/tree/v0.9.11)
|
||
|
||
`2017-10-11`
|
||
|
||
**Improvements**
|
||
|
||
* add Contribute document [\#182](https://github.com/youzan/vant/pull/182)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix AddressEdit name key [\#187](https://github.com/youzan/vant/pull/187)
|
||
* fix Field textarea wrong height when display none [\#188](https://github.com/youzan/vant/pull/188)
|
||
* fix compile error in windows [\#185](https://github.com/youzan/vant/pull/182)
|
||
|
||
### [v0.9.10](https://github.com/youzan/vant/tree/v0.9.10)
|
||
|
||
`2017-10-09`
|
||
|
||
**Improvements**
|
||
|
||
* add Contact component [\#160](https://github.com/youzan/vant/pull/160)
|
||
* add AddressEdit component [\#147](https://github.com/youzan/vant/pull/147)
|
||
* add english document support [\#170](https://github.com/youzan/vant/pull/170)
|
||
* remove dependency of zan-utils [\#168](https://github.com/youzan/vant/pull/168)
|
||
* remove unnecessary codes in transition.js [\#162](https://github.com/youzan/vant/pull/162)
|
||
* use clean-css instead of gulp-cssmin to minify css
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Tab props not observable [\#148](https://github.com/youzan/vant/pull/148)
|
||
* fix Button active border color [\#150](https://github.com/youzan/vant/issues/150)
|
||
* fix Stepper input style [\#159](https://github.com/youzan/vant/pull/159)
|
||
* fix Waterfall disable props not work when display none [\#166](https://github.com/youzan/vant/pull/166)
|
||
* fix style not compile calc property after build
|
||
* fix npm run dev error in MacOS [\#152](https://github.com/youzan/vant/issues/152)
|
||
* fix document router not work in some browsers [\#158](https://github.com/youzan/vant/pull/158)
|
||
|
||
### [v0.9.9](https://github.com/youzan/vant/tree/v0.9.9)
|
||
|
||
`2017-09-26`
|
||
|
||
**Improvements**
|
||
|
||
* Sku:support Stepper [\#146](https://github.com/youzan/vant/pull/146)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix license error in packages.json [\#144](https://github.com/youzan/vant/pull/144)
|
||
* fix Waterfall scroll bug [\#145](https://github.com/youzan/vant/pull/145)
|
||
|
||
### [v0.9.8](https://github.com/youzan/vant/tree/v0.9.8)
|
||
|
||
`2017-09-24`
|
||
|
||
**Improvements**
|
||
|
||
* add AddressList component [\#138](https://github.com/youzan/vant/pull/138)
|
||
* modify changelog [\#140](https://github.com/youzan/vant/pull/140)
|
||
|
||
**Bug Fixes**
|
||
|
||
* fix Sku message render bug [\#142](https://github.com/youzan/vant/pull/142)
|
||
|
||
### [v0.9.7](https://github.com/youzan/vant/tree/v0.9.7)
|
||
|
||
`2017-09-21`
|
||
|
||
**Improvements**
|
||
|
||
* Checkbox: support shape prop [\#137](https://github.com/youzan/vant/pull/137)
|