diff --git a/README.md b/README.md index 0939dcd5a..2f9ab08a5 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,11 @@
-
-
-
-
-
-
-
+
+
+
+
+
diff --git a/README.zh-CN.md b/README.zh-CN.md index 432d51eba..e0a8e121e 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -4,13 +4,11 @@
-
-
-
-
-
-
-
+
+
+
+
+
diff --git a/docs/markdown/changelog.en-US.md b/docs/markdown/changelog.en-US.md
index a542e69e7..3198209f9 100644
--- a/docs/markdown/changelog.en-US.md
+++ b/docs/markdown/changelog.en-US.md
@@ -1,210 +1,328 @@
# Changelog
+### [v2.5.3](https://github.com/youzan/vant/compare/v2.5.2...v2.5.3)
+
+`2020-02-28`
+
+**Feature**
+
+- ActionSheet: add close-on-popstate prop [#5716](https://github.com/youzan/vant/issues/5716)
+- Area: add columns-top、columns-bottom prop [#5719](https://github.com/youzan/vant/issues/5719)
+- Area: add title slot [#5719](https://github.com/youzan/vant/issues/5719)
+- Button: add icon-prefix prop [#5666](https://github.com/youzan/vant/issues/5666)
+- Cell: add icon-prefix prop [#5666](https://github.com/youzan/vant/issues/5666)
+- Field: add icon-prefix prop [#5666](https://github.com/youzan/vant/issues/5666)
+- Form: rule message can be function [#5704](https://github.com/youzan/vant/issues/5704)
+- Form: rule validator add rule param [#5704](https://github.com/youzan/vant/issues/5704)
+- Form: support pattern rule [#5700](https://github.com/youzan/vant/issues/5700)
+- Form: support rule formatter [d87835](https://github.com/youzan/vant/commit/d878354ebf8eedf849764480c11a90c4cdd2fbe3)
+- GridItem: add icon-prefix prop [#5666](https://github.com/youzan/vant/issues/5666)
+- Rate: add icon-prefix prop [#5666](https://github.com/youzan/vant/issues/5666)
+- TabbarItem: add icon-prefix prop [#5666](https://github.com/youzan/vant/issues/5666)
+
+**Bug Fixes**
+
+- Calendar: scrollIntoView error when hidden [#5708](https://github.com/youzan/vant/issues/5708)
+- DatetimePicker: getPicker method not work [#5710](https://github.com/youzan/vant/issues/5710)
+- Popup: close-on-popstate not work when deactivated [f07077](https://github.com/youzan/vant/commit/f070773b42b86dd98d1f3989651e735895db78ee)
+
+### [v2.5.2](https://github.com/youzan/vant/compare/v2.5.1...v2.5.2)
+
+`2020-02-21`
+
+**Feature**
+
+- Calendar: add close、closed event [556f33](https://github.com/youzan/vant/commit/556f335cc224a40ab27bda863a67601c36339ea9)
+- Calendar: add open、opened event [a83082](https://github.com/youzan/vant/commit/a83082f599362456d85864904cb5f47b44138e43)
+- Form: add scroll-to-error prop [#5680](https://github.com/youzan/vant/issues/5680)
+- Form: add validate-trigger prop [c08db7](https://github.com/youzan/vant/commit/c08db724a3ed6440da5d5faebfa08561312f4d3a)
+- Form: add scrollToField method [#5680](https://github.com/youzan/vant/issues/5680)
+- Sku: add preview-on-click-image prop [#5684](https://github.com/youzan/vant/issues/5684)
+- Sku: add sku-header-image-extra slot [#5696](https://github.com/youzan/vant/issues/5696)
+
+**Bug Fixes**
+
+- Swipe: fix wrap problems caused by decimal width in some android devices [02afe7](https://github.com/youzan/vant/commit/02afe720c6aaeeb58036cde3072b6373e3b9254f)
+
+### [v2.5.1](https://github.com/youzan/vant/compare/v2.5.1-beta.0...v2.5.1)
+
+`2020-02-18`
+
+**Feature**
+
+- Sku: support define initialMessages
+- Calendar: scroll to current month after reset [407b7d](https://github.com/youzan/vant/commit/407b7ded43bc87c98605444dbbb829f5f05744b6)
+- Calendar: scroll to currecnt month when default-date changed [#5664](https://github.com/youzan/vant/issues/5664)
+
+**Bug Fixes**
+
+- Calendar: add Math.floor to avoid decimal height issues [#5640](https://github.com/youzan/vant/issues/5640)
+- Calendar: should not check range in single mode [79d2c3](https://github.com/youzan/vant/commit/79d2c344f9ee9945b09434b35cbe63a3816410ad)
+- Form: error-message-align prop type [#5674](https://github.com/youzan/vant/issues/5674)
+- Swipe: incorrect width when resize in invisible state [#5678](https://github.com/youzan/vant/issues/5678)
+
+### [v2.5.0](https://github.com/youzan/vant/compare/v2.4.7...v2.5.0)
+
+`2020-02-15`
+
+**New Component**
+
+- add Form component
+
+**Feature**
+
+- Field: add name prop [f3398d](https://github.com/youzan/vant/commit/f3398dc2cdd1191613b97454b4725275458bde1b)
+- Field: add rules prop [0ed7aa](https://github.com/youzan/vant/commit/0ed7aaac88f769549b688259b8e6e1050a10cb99)
+- AddressEdit: add disable-area prop [#5630](https://github.com/youzan/vant/issues/5630)
+- AddressList: add item-bottom slot [#5629](https://github.com/youzan/vant/issues/5629)
+- RadioGroup: add direction prop [4dd41b](https://github.com/youzan/vant/commit/4dd41b23decbaf86c8812e0afcc1d72773f223f6)
+- CheckboxGroup: add direction prop [153902](https://github.com/youzan/vant/commit/15390241d8d4252a828aa0e9d8c61377ba07512a)
+- ImagePreview: add scale event [#5658](https://github.com/youzan/vant/issues/5658)
+- ImagePreview: add closeable prop [#5654](https://github.com/youzan/vant/issues/5654)
+
+**Style**
+
+- Field: input slot vertical align center [03c826](https://github.com/youzan/vant/commit/03c826c4d44efd95a5ee509b5f183d8ded574fd7)
+- Field: improve label right padding [2d6445](https://github.com/youzan/vant/commit/2d64458776df87625db9e8b07d83a7044a2bcf53)
+- Uploader: add uploader disabled style [#5628](https://github.com/youzan/vant/issues/5628)
+
+**Bug Fixes**
+
+- Calendar: fix render issues in some devices [#5640](https://github.com/youzan/vant/issues/5640)
+- Dialog: fix Dialog.Component typing [#5646](https://github.com/youzan/vant/issues/5646)
+- Field: text-fill-color may affect child element [e17a4a](https://github.com/youzan/vant/commit/e17a4a24993822b0f35114dacbbb3bebc5b51a60)
+- Picker: change event untriggered without a transition [#5662](https://github.com/youzan/vant/issues/5662)
+- Tabs: scrollspy not work when custom scroller [#5637](https://github.com/youzan/vant/issues/5637)
+- Calendar: should not submit form when click button [e93fcb](https://github.com/youzan/vant/commit/e93fcb0603b988a2ffb5b1651588f7e4ad8aa92d)
+
+### [v2.4.7](https://github.com/youzan/vant/compare/v2.4.7-beta.0...v2.4.7)
+
+`2020-02-06`
+
+**Feature**
+
+- Calendar: improve accessibility [2124cc](https://github.com/youzan/vant/commit/2124cc5261be4a7d666cf6f70d4295309f3705d9)
+- Field: highlight word num when reaching maxlength [61093e](https://github.com/youzan/vant/commit/61093ef00f2dc421eb94ec7690093c1d565a296c)
+- Sku: add sku-actions-top slot [#5617](https://github.com/youzan/vant/issues/5617)
+- Uploader: support failed status [#5624](https://github.com/youzan/vant/issues/5624)
+- Uploader: support uploading status [#5625](https://github.com/youzan/vant/issues/5625)
+
+**Style**
+
+- ActionSheet: add @action-sheet-close-icon-active-color less var [265bfe](https://github.com/youzan/vant/commit/265bfeaac756e05803858062ab1ece2092a08e17)
+- Popup: add @popup-close-icon-active-color less var [660b03](https://github.com/youzan/vant/commit/660b0399512d3deddcdfb99af5cff1674617c515)
+
+**Bug Fixes**
+
+- Calendar: missing className when selected [0b7c56](https://github.com/youzan/vant/commit/0b7c567a78c85fbf1c3d59fcd3ce76c691040ff1)
+- Popup: may throw error when using get-container and destroyed
+
### [v2.4.6](https://github.com/youzan/vant/compare/v2.4.5...v2.4.6)
+
`2020-02-01`
**Bug Fixes**
-* Picker: should watch columns change [#5614](https://github.com/youzan/vant/issues/5614)
-
+- Picker: should watch columns change [#5614](https://github.com/youzan/vant/issues/5614)
### [v2.4.5](https://github.com/youzan/vant/compare/v2.4.4...v2.4.5)
+
`2020-02-01`
**Feature**
-* Picker: support cascade columns [#4247](https://github.com/youzan/vant/issues/4247)
-* Slider: add button-size prop [1e9b8c](https://github.com/youzan/vant/commit/1e9b8c846674562d56ab638a0982baab4bb6870e)
-* Optimize the props type. The original number type props now support string.
+- Picker: support cascade columns [#4247](https://github.com/youzan/vant/issues/4247)
+- Slider: add button-size prop [1e9b8c](https://github.com/youzan/vant/commit/1e9b8c846674562d56ab638a0982baab4bb6870e)
+- Optimize the props type. The original number type props now support string.
**Style**
-* DropdownItem: add @dropdown-item-z-index less var [6f4c6f](https://github.com/youzan/vant/commit/6f4c6f5aa6614559cfc24bc361e68c9c938bbb61)
-* IndexBar: add @index-anchor-z-index less var [89ee8e](https://github.com/youzan/vant/commit/89ee8e38723dadb2daa6ee31c325cdd2ad03ba99)
-* IndexBar: add @index-bar-sidebar-z-index less var [89ee8e](https://github.com/youzan/vant/commit/89ee8e38723dadb2daa6ee31c325cdd2ad03ba99)
-* IndexBar: add @index-bar-index-active-color less var [0011db](https://github.com/youzan/vant/commit/0011db75365b60699ae140d85e54b9e477f46a22)
-* Notify: add @notify-text-color less var [9dcf57](https://github.com/youzan/vant/commit/9dcf57c65f5e046318e953f2e8ce87918b1cb312)
-* Overlay: add @overlay-z-index less var [95d19f](https://github.com/youzan/vant/commit/95d19f70d1c90efc752074ff764b07787d89cf1e)
-* Rate: add @rate-icon-disabled-color less var [8b8471](https://github.com/youzan/vant/commit/8b8471945c4313735a5fe59402212f37a31acfea)
-* Rate: add @rate-icon-full-color less var [5c804c](https://github.com/youzan/vant/commit/5c804cf920b75c5bdf962fa49eae31363783f32f)
-* Rate: add @rate-icon-void-color less var [f90015](https://github.com/youzan/vant/commit/f90015efe7619af055b9ebd4c8be7da1f17b8da0)
-* Slider: add @slider-bar-height less var [a5819c](https://github.com/youzan/vant/commit/a5819c286e06469bc41e8aa9e0ed44cc21625dad)
-* Search: add @search-content-background-color less var [ea7419](https://github.com/youzan/vant/commit/ea74194990314bd1ff1e8237c221be92fdb8ae37)
-* Step: add @step-active-color less var [9e7a68](https://github.com/youzan/vant/commit/9e7a6874141fa05f0158ca8006c268d0a3d92679)
-* Tabbar: add @tabbar-z-index less var [0441f7](https://github.com/youzan/vant/commit/0441f7ba098aca24b797de29d10af8f47cf32d15)
-* NavBar: add @nav-bar-z-index less var [a2d870](https://github.com/youzan/vant/commit/a2d870ad8ee4912226ec8871cc4c2d56ef870902)
-* NumberKeyboard: add @number-keyboard-z-index less var [760938](https://github.com/youzan/vant/commit/760938962399e0589b4a258ff29e7fe2f3ba90f1)
+- DropdownItem: add @dropdown-item-z-index less var [6f4c6f](https://github.com/youzan/vant/commit/6f4c6f5aa6614559cfc24bc361e68c9c938bbb61)
+- IndexBar: add @index-anchor-z-index less var [89ee8e](https://github.com/youzan/vant/commit/89ee8e38723dadb2daa6ee31c325cdd2ad03ba99)
+- IndexBar: add @index-bar-sidebar-z-index less var [89ee8e](https://github.com/youzan/vant/commit/89ee8e38723dadb2daa6ee31c325cdd2ad03ba99)
+- IndexBar: add @index-bar-index-active-color less var [0011db](https://github.com/youzan/vant/commit/0011db75365b60699ae140d85e54b9e477f46a22)
+- Notify: add @notify-text-color less var [9dcf57](https://github.com/youzan/vant/commit/9dcf57c65f5e046318e953f2e8ce87918b1cb312)
+- Overlay: add @overlay-z-index less var [95d19f](https://github.com/youzan/vant/commit/95d19f70d1c90efc752074ff764b07787d89cf1e)
+- Rate: add @rate-icon-disabled-color less var [8b8471](https://github.com/youzan/vant/commit/8b8471945c4313735a5fe59402212f37a31acfea)
+- Rate: add @rate-icon-full-color less var [5c804c](https://github.com/youzan/vant/commit/5c804cf920b75c5bdf962fa49eae31363783f32f)
+- Rate: add @rate-icon-void-color less var [f90015](https://github.com/youzan/vant/commit/f90015efe7619af055b9ebd4c8be7da1f17b8da0)
+- Slider: add @slider-bar-height less var [a5819c](https://github.com/youzan/vant/commit/a5819c286e06469bc41e8aa9e0ed44cc21625dad)
+- Search: add @search-content-background-color less var [ea7419](https://github.com/youzan/vant/commit/ea74194990314bd1ff1e8237c221be92fdb8ae37)
+- Step: add @step-active-color less var [9e7a68](https://github.com/youzan/vant/commit/9e7a6874141fa05f0158ca8006c268d0a3d92679)
+- Tabbar: add @tabbar-z-index less var [0441f7](https://github.com/youzan/vant/commit/0441f7ba098aca24b797de29d10af8f47cf32d15)
+- NavBar: add @nav-bar-z-index less var [a2d870](https://github.com/youzan/vant/commit/a2d870ad8ee4912226ec8871cc4c2d56ef870902)
+- NumberKeyboard: add @number-keyboard-z-index less var [760938](https://github.com/youzan/vant/commit/760938962399e0589b4a258ff29e7fe2f3ba90f1)
**Bug Fixes**
-* ImagePreview: limit max-zoom when double clicking [1baa60](https://github.com/youzan/vant/commit/1baa60f2244b4605dc82f6dcf564671f5c623023)
-* Popup: duration prop not work when position is center [44072e](https://github.com/youzan/vant/commit/44072e8c3f548cff78401780213ab7ef213372c3)
-* Step: active-color should be effective for line [cfadce](https://github.com/youzan/vant/commit/cfadcefb0a1c29dfb1d940fbb7add746595158bd)
-
+- ImagePreview: limit max-zoom when double clicking [1baa60](https://github.com/youzan/vant/commit/1baa60f2244b4605dc82f6dcf564671f5c623023)
+- Popup: duration prop not work when position is center [44072e](https://github.com/youzan/vant/commit/44072e8c3f548cff78401780213ab7ef213372c3)
+- Step: active-color should be effective for line [cfadce](https://github.com/youzan/vant/commit/cfadcefb0a1c29dfb1d940fbb7add746595158bd)
### [v2.4.4](https://github.com/youzan/vant/compare/v2.4.3...v2.4.4)
+
`2020-01-24`
**Feature**
-* Card: change thumb fit mode to cover [e766d5](https://github.com/youzan/vant/commit/e766d5d5743e7f492b3601ce4010b8524fb2b016)
-* Calendar: add get-contaienr prop [#5609](https://github.com/youzan/vant/issues/5609)
-* Calendar: add close-on-popstate prop [2b82dc](https://github.com/youzan/vant/commit/2b82dcc3dd2dba678aba5e0533e0ff6af7c55b11)
-* CountDown: add change event [#5599](https://github.com/youzan/vant/issues/5599)
-* GoodsActionButton: add icon prop [b83bed](https://github.com/youzan/vant/commit/b83bed3b6c41d0896386b3c4b6380c9568bd3ef2)
+- Card: change thumb fit mode to cover [e766d5](https://github.com/youzan/vant/commit/e766d5d5743e7f492b3601ce4010b8524fb2b016)
+- Calendar: add get-contaienr prop [#5609](https://github.com/youzan/vant/issues/5609)
+- Calendar: add close-on-popstate prop [2b82dc](https://github.com/youzan/vant/commit/2b82dcc3dd2dba678aba5e0533e0ff6af7c55b11)
+- CountDown: add change event [#5599](https://github.com/youzan/vant/issues/5599)
+- GoodsActionButton: add icon prop [b83bed](https://github.com/youzan/vant/commit/b83bed3b6c41d0896386b3c4b6380c9568bd3ef2)
**Bug Fixes**
-* Sku: get-container can be string type [#5608](https://github.com/youzan/vant/issues/5608)
-
+- Sku: get-container can be string type [#5608](https://github.com/youzan/vant/issues/5608)
### [v2.4.3](https://github.com/youzan/vant/compare/v2.4.3-beta.0...v2.4.3)
+
`2020-01-19`
**Feature**
-* Calendar: add max-range、range-prompt prop [#5583](https://github.com/youzan/vant/issues/5583)
-* ImagePreview: add @image-preview-index-text-shadow var [e2f302](https://github.com/youzan/vant/commit/e2f30242eaaebd36d9816e2746fe6c44323e6aca)
-* Stepper: add long-press prop [2f3ec6](https://github.com/youzan/vant/commit/2f3ec6a3d48a9d56f8127d27d51c3337f6e72cab)
-* Swipe: pause autoplay when page hidden [113157](https://github.com/youzan/vant/commit/11315787ec980767973a3fded50fb5858e51e298)
+- Calendar: add max-range、range-prompt prop [#5583](https://github.com/youzan/vant/issues/5583)
+- ImagePreview: add @image-preview-index-text-shadow var [e2f302](https://github.com/youzan/vant/commit/e2f30242eaaebd36d9816e2746fe6c44323e6aca)
+- Stepper: add long-press prop [2f3ec6](https://github.com/youzan/vant/commit/2f3ec6a3d48a9d56f8127d27d51c3337f6e72cab)
+- Swipe: pause autoplay when page hidden [113157](https://github.com/youzan/vant/commit/11315787ec980767973a3fded50fb5858e51e298)
**Improvement**
-* Icon: update share icon [2f77ac](https://github.com/youzan/vant/commit/2f77acfc6cef23ea664defc38c4cd806ceca1ee4)
-* Field: imporve readonly cursor [60173d](https://github.com/youzan/vant/commit/60173dd6bc004339333c50218d7c6b2f6c1bc07b)
-* Stepper: improve disable-input behavior [959eca](https://github.com/youzan/vant/commit/959eca136c4ca6a39e22d36512db74b93ad100c6)
+- Icon: update share icon [2f77ac](https://github.com/youzan/vant/commit/2f77acfc6cef23ea664defc38c4cd806ceca1ee4)
+- Field: imporve readonly cursor [60173d](https://github.com/youzan/vant/commit/60173dd6bc004339333c50218d7c6b2f6c1bc07b)
+- Stepper: improve disable-input behavior [959eca](https://github.com/youzan/vant/commit/959eca136c4ca6a39e22d36512db74b93ad100c6)
**Bug Fixes**
-* Calendar: should show range prompt after select [ff0901](https://github.com/youzan/vant/commit/ff09011e0ef18ab29dd70b51f412625dd10bb4cb)
-* GoodsAction: should set wrapper height [#5593](https://github.com/youzan/vant/issues/5593)
+- Calendar: should show range prompt after select [ff0901](https://github.com/youzan/vant/commit/ff09011e0ef18ab29dd70b51f412625dd10bb4cb)
+- GoodsAction: should set wrapper height [#5593](https://github.com/youzan/vant/issues/5593)
**Types**
-* Calendar: fix missing type definition [#5588](https://github.com/youzan/vant/issues/5588)
-* Toast: incorrect definition of setDefaultOptions method [#5582](https://github.com/youzan/vant/issues/5582)
-
+- Calendar: fix missing type definition [#5588](https://github.com/youzan/vant/issues/5588)
+- Toast: incorrect definition of setDefaultOptions method [#5582](https://github.com/youzan/vant/issues/5582)
### [v2.4.2](https://github.com/youzan/vant/compare/v2.4.2-beta.1...v2.4.2)
+
`2020-01-14`
**Feature**
-* Sku: add properties prop [#5525](https://github.com/youzan/vant/issues/5525)
-* Field: add digit type [#5524](https://github.com/youzan/vant/issues/5524)
-* Image: add error-icon prop [#5470](https://github.com/youzan/vant/issues/5470)
-* Image: add loading-icon prop [#5469](https://github.com/youzan/vant/issues/5469)
-* Field: add formatter prop [#5534](https://github.com/youzan/vant/issues/5534)
-* Swipe: add prev、next method [#5548](https://github.com/youzan/vant/issues/5548)
-* GoodsAcitonIcon: add color prop [#5576](https://github.com/youzan/vant/issues/5576)
+- Sku: add properties prop [#5525](https://github.com/youzan/vant/issues/5525)
+- Field: add digit type [#5524](https://github.com/youzan/vant/issues/5524)
+- Image: add error-icon prop [#5470](https://github.com/youzan/vant/issues/5470)
+- Image: add loading-icon prop [#5469](https://github.com/youzan/vant/issues/5469)
+- Field: add formatter prop [#5534](https://github.com/youzan/vant/issues/5534)
+- Swipe: add prev、next method [#5548](https://github.com/youzan/vant/issues/5548)
+- GoodsAcitonIcon: add color prop [#5576](https://github.com/youzan/vant/issues/5576)
**Improvement**
-* AddressEdit: show error message in field [#5479](https://github.com/youzan/vant/issues/5479)
-* ActionSheet: update close icon style [#5574](https://github.com/youzan/vant/issues/5574)
-* AddressList: update style [#5507](https://github.com/youzan/vant/issues/5507)
-* CouponList: update style [#5501](https://github.com/youzan/vant/issues/5501)
-* Calendar: scroll to current month when show [#5526](https://github.com/youzan/vant/issues/5526)
-* ImagePreview: improve error image style [#5570](https://github.com/youzan/vant/issues/5570)
-* improve cursor of all components [c1a535](https://github.com/youzan/vant/commit/c1a535b0dd9470f8eb526e86aa59cf6dec022f3a)
+- AddressEdit: show error message in field [#5479](https://github.com/youzan/vant/issues/5479)
+- ActionSheet: update close icon style [#5574](https://github.com/youzan/vant/issues/5574)
+- AddressList: update style [#5507](https://github.com/youzan/vant/issues/5507)
+- CouponList: update style [#5501](https://github.com/youzan/vant/issues/5501)
+- Calendar: scroll to current month when show [#5526](https://github.com/youzan/vant/issues/5526)
+- ImagePreview: improve error image style [#5570](https://github.com/youzan/vant/issues/5570)
+- improve cursor of all components [c1a535](https://github.com/youzan/vant/commit/c1a535b0dd9470f8eb526e86aa59cf6dec022f3a)
**Bug Fixes**
-* Button: should not have click feedback when loading [0a70d3](https://github.com/youzan/vant/commit/0a70d344124ef756a73ea9edfee07303f394d880)
-* Card: thumb image border-radius become effective [#5480](https://github.com/youzan/vant/issues/5480)
-* Calendar: incorrect month title after auto scroll [#5569](https://github.com/youzan/vant/issues/5569)
-* Calendar: missing info when selected [#5536](https://github.com/youzan/vant/issues/5536)
-* Checkbox: only the icon is clickable when label-disabled [3d10d4](https://github.com/youzan/vant/commit/3d10d42fccadd1b9df46860d758a91f7825073e9)
-* CouponList: incorrect click feedback [#5521](https://github.com/youzan/vant/issues/5521)
-* Field: should limit number input in iOS [#5520](https://github.com/youzan/vant/issues/5520)
-* ImagePreview: disable desktop browser image drag [#4487](https://github.com/youzan/vant/issues/4487)
-* Picker: optimize the click experience [5cbb9e](https://github.com/youzan/vant/commit/5cbb9e29989ac58d44a4ec503cbb984269c8f18e)
-* PullRefresh: should set height when using head-height [028747](https://github.com/youzan/vant/commit/028747c35471f33e8c2b0baa6fb8915510daac22)
-* Tabs: can not render line when wrapper is fixed [#5496](https://github.com/youzan/vant/issues/5496)
-
+- Button: should not have click feedback when loading [0a70d3](https://github.com/youzan/vant/commit/0a70d344124ef756a73ea9edfee07303f394d880)
+- Card: thumb image border-radius become effective [#5480](https://github.com/youzan/vant/issues/5480)
+- Calendar: incorrect month title after auto scroll [#5569](https://github.com/youzan/vant/issues/5569)
+- Calendar: missing info when selected [#5536](https://github.com/youzan/vant/issues/5536)
+- Checkbox: only the icon is clickable when label-disabled [3d10d4](https://github.com/youzan/vant/commit/3d10d42fccadd1b9df46860d758a91f7825073e9)
+- CouponList: incorrect click feedback [#5521](https://github.com/youzan/vant/issues/5521)
+- Field: should limit number input in iOS [#5520](https://github.com/youzan/vant/issues/5520)
+- ImagePreview: disable desktop browser image drag [#4487](https://github.com/youzan/vant/issues/4487)
+- Picker: optimize the click experience [5cbb9e](https://github.com/youzan/vant/commit/5cbb9e29989ac58d44a4ec503cbb984269c8f18e)
+- PullRefresh: should set height when using head-height [028747](https://github.com/youzan/vant/commit/028747c35471f33e8c2b0baa6fb8915510daac22)
+- Tabs: can not render line when wrapper is fixed [#5496](https://github.com/youzan/vant/issues/5496)
### [v2.4.1](https://github.com/youzan/vant/compare/v2.4.0...v2.4.1)
+
`2020-01-02`
**Feature**
-* ContactEdit: show error message in field [#5437](https://github.com/youzan/vant/issues/5437)
-* CouponCell: prefer to use value over denominations [#5438](https://github.com/youzan/vant/issues/5438)
+- ContactEdit: show error message in field [#5437](https://github.com/youzan/vant/issues/5437)
+- CouponCell: prefer to use value over denominations [#5438](https://github.com/youzan/vant/issues/5438)
**Bug Fixes**
-* Calendar: fix incorrect day offset [#5452](https://github.com/youzan/vant/issues/5452)
-* List: fix incorrect reaching edge condition when direction is up [#5439](https://github.com/youzan/vant/issues/5439)
-
+- Calendar: fix incorrect day offset [#5452](https://github.com/youzan/vant/issues/5452)
+- List: fix incorrect reaching edge condition when direction is up [#5439](https://github.com/youzan/vant/issues/5439)
### [v2.4.0](https://github.com/youzan/vant/compare/v2.3.3...v2.4.0)
+
`2020-01-01`
**New Component**
-* add Calendar component
+- add Calendar component

**Feature**
-* List: add error slot [e9a938](https://github.com/youzan/vant/commit/e9a938820232194ad5f62b2b6588fa5d604016ae)
-* List: add finished slot [8a0705](https://github.com/youzan/vant/commit/8a0705d7610890c0da47e9e7eb0ef5665a3dca0d)
-* PullRefresh: add success slot [56e450](https://github.com/youzan/vant/commit/56e450f29e67a5e66b26cf9937c458270f462bdc)
-* CouponList: update button style [#5368](https://github.com/youzan/vant/issues/5368)
-* DatetimePicker: add getPicker method [1dc1fe](https://github.com/youzan/vant/commit/1dc1feae40b8ca11df980aa1d5ecf108151938e4)
-* Image: add @image-loading-icon-size、@image-error-icon-size var [d7ae8c](https://github.com/youzan/vant/commit/d7ae8c5a26dcb6b7b79b4ca7a2ed3842673c2ea0)
-* Picker: add confirm method [5eb2a4](https://github.com/youzan/vant/commit/5eb2a4012ae3e9d90a29a924ae454e54408b1235)
-* TreeSelect: add @tree-select-item-selected-size var [373159](https://github.com/youzan/vant/commit/37315975203f28d36634d9ad8388a7f4dc8a44ea)
+- List: add error slot [e9a938](https://github.com/youzan/vant/commit/e9a938820232194ad5f62b2b6588fa5d604016ae)
+- List: add finished slot [8a0705](https://github.com/youzan/vant/commit/8a0705d7610890c0da47e9e7eb0ef5665a3dca0d)
+- PullRefresh: add success slot [56e450](https://github.com/youzan/vant/commit/56e450f29e67a5e66b26cf9937c458270f462bdc)
+- CouponList: update button style [#5368](https://github.com/youzan/vant/issues/5368)
+- DatetimePicker: add getPicker method [1dc1fe](https://github.com/youzan/vant/commit/1dc1feae40b8ca11df980aa1d5ecf108151938e4)
+- Image: add @image-loading-icon-size、@image-error-icon-size var [d7ae8c](https://github.com/youzan/vant/commit/d7ae8c5a26dcb6b7b79b4ca7a2ed3842673c2ea0)
+- Picker: add confirm method [5eb2a4](https://github.com/youzan/vant/commit/5eb2a4012ae3e9d90a29a924ae454e54408b1235)
+- TreeSelect: add @tree-select-item-selected-size var [373159](https://github.com/youzan/vant/commit/37315975203f28d36634d9ad8388a7f4dc8a44ea)
**Compatibility**
-* NumberKeyboard: avoid Vue 2.6 event bubble issues [#5349](https://github.com/youzan/vant/issues/5349)
-* Picker: avoid Vue 2.6 event bubble issues by manually binding events [#5345](https://github.com/youzan/vant/issues/5345)
-* PullRefresh: avoid Vue 2.6 event bubble issues [#5347](https://github.com/youzan/vant/issues/5347)
-* Rate、Slider: avoid Vue 2.6 event bubble issues [#5350](https://github.com/youzan/vant/issues/5350)
-* Swipe: avoid Vue 2.6 event bubble issues [#5346](https://github.com/youzan/vant/issues/5346)
-* SwipeCell: avoid Vue 2.6 event bubble issues [#5348](https://github.com/youzan/vant/issues/5348)
+- NumberKeyboard: avoid Vue 2.6 event bubble issues [#5349](https://github.com/youzan/vant/issues/5349)
+- Picker: avoid Vue 2.6 event bubble issues by manually binding events [#5345](https://github.com/youzan/vant/issues/5345)
+- PullRefresh: avoid Vue 2.6 event bubble issues [#5347](https://github.com/youzan/vant/issues/5347)
+- Rate、Slider: avoid Vue 2.6 event bubble issues [#5350](https://github.com/youzan/vant/issues/5350)
+- Swipe: avoid Vue 2.6 event bubble issues [#5346](https://github.com/youzan/vant/issues/5346)
+- SwipeCell: avoid Vue 2.6 event bubble issues [#5348](https://github.com/youzan/vant/issues/5348)
**Bug Fixes**
-* ImagePreview: close event triggered twice [#5411](https://github.com/youzan/vant/issues/5411)
-* ImagePreview: should not emit close event after tapped when using async-close [#5410](https://github.com/youzan/vant/issues/5410)
-* PullRefresh: failed to trigger pull refresh when scrolling [e00058](https://github.com/youzan/vant/commit/e00058b681d8796feaaaa4a9f2c4083a18b61fe9)
-* Tag: incorrect transition when set closeable dynamically [fe6e2f](https://github.com/youzan/vant/commit/fe6e2f29ba289206138fe17df046a55000b218ad)
-* Tag: should not trigger click event when close [#5351](https://github.com/youzan/vant/issues/5351)
-* Toast: may lose forbid click when has multiple toasts [#5398](https://github.com/youzan/vant/issues/5398)
-* Icon: should compatible with medel-o [7b905a](https://github.com/youzan/vant/commit/7b905a6de85b895e2226c35875ee3633c2ae7e79)
-* IndexBar: incorrect anchor position when anchor doesn't have a parent node [#5429](https://github.com/youzan/vant/issues/5429)
-* Picker: compatible with desktop scenario [#5430](https://github.com/youzan/vant/issues/5430)
-* Stepper: input disabled text color in safari [#5428](https://github.com/youzan/vant/issues/5428)
+- ImagePreview: close event triggered twice [#5411](https://github.com/youzan/vant/issues/5411)
+- ImagePreview: should not emit close event after tapped when using async-close [#5410](https://github.com/youzan/vant/issues/5410)
+- PullRefresh: failed to trigger pull refresh when scrolling [e00058](https://github.com/youzan/vant/commit/e00058b681d8796feaaaa4a9f2c4083a18b61fe9)
+- Tag: incorrect transition when set closeable dynamically [fe6e2f](https://github.com/youzan/vant/commit/fe6e2f29ba289206138fe17df046a55000b218ad)
+- Tag: should not trigger click event when close [#5351](https://github.com/youzan/vant/issues/5351)
+- Toast: may lose forbid click when has multiple toasts [#5398](https://github.com/youzan/vant/issues/5398)
+- Icon: should compatible with medel-o [7b905a](https://github.com/youzan/vant/commit/7b905a6de85b895e2226c35875ee3633c2ae7e79)
+- IndexBar: incorrect anchor position when anchor doesn't have a parent node [#5429](https://github.com/youzan/vant/issues/5429)
+- Picker: compatible with desktop scenario [#5430](https://github.com/youzan/vant/issues/5430)
+- Stepper: input disabled text color in safari [#5428](https://github.com/youzan/vant/issues/5428)
**Types**
-* AddressEdit: add setAddressDetail method type [#5352](https://github.com/youzan/vant/issues/5352)
-* Area: add reset method type [#5353](https://github.com/youzan/vant/issues/5353)
-* Checkbox: add toggle method type [#5354](https://github.com/youzan/vant/issues/5354)
-* CountDown: add methods types [0438bd](https://github.com/youzan/vant/commit/0438bdbc97a81ad8b7de18ef8784d9907ce641c6)
-* DropdownItem: add toggle method type [5c1883](https://github.com/youzan/vant/commit/5c1883f77c36d5026c60c873197dab98d4ca42f5)
-* Field: add focus、blur method type [0b5c8e](https://github.com/youzan/vant/commit/0b5c8e5f3df570292e8599e7c2ff997fbee120ce)
-* List: add check method type [285bce](https://github.com/youzan/vant/commit/285bce677c8997d55515a760f4d12b05349ebd3f)
-* Picker: add method types [46d2b0](https://github.com/youzan/vant/commit/46d2b094477b52a96e85d18ec6fc42051a832e10)
-* Sku: add methods types [d2bb9f](https://github.com/youzan/vant/commit/d2bb9fa81b401e429296003e4c2ec8c0e544d2af)
-* Swipe: add swipeTo、resize method types [a1831b](https://github.com/youzan/vant/commit/a1831b86387f1127325b9952d2d18349d41dc5c7)
-* SwipeCell: add open、close method type [9a9676](https://github.com/youzan/vant/commit/9a9676d6af7d29ac2221761ad680cecd4e929a39)
-* Tabs: add resize method type [3c526e](https://github.com/youzan/vant/commit/3c526ec1a26b5a38bc6a6ba2ded7a3db94bbcced)
-* Uploader: add closeImagePreview method type [cf191e](https://github.com/youzan/vant/commit/cf191e09cbc8093bb72f5d1e9381b263cdf9f0d2)
-
+- AddressEdit: add setAddressDetail method type [#5352](https://github.com/youzan/vant/issues/5352)
+- Area: add reset method type [#5353](https://github.com/youzan/vant/issues/5353)
+- Checkbox: add toggle method type [#5354](https://github.com/youzan/vant/issues/5354)
+- CountDown: add methods types [0438bd](https://github.com/youzan/vant/commit/0438bdbc97a81ad8b7de18ef8784d9907ce641c6)
+- DropdownItem: add toggle method type [5c1883](https://github.com/youzan/vant/commit/5c1883f77c36d5026c60c873197dab98d4ca42f5)
+- Field: add focus、blur method type [0b5c8e](https://github.com/youzan/vant/commit/0b5c8e5f3df570292e8599e7c2ff997fbee120ce)
+- List: add check method type [285bce](https://github.com/youzan/vant/commit/285bce677c8997d55515a760f4d12b05349ebd3f)
+- Picker: add method types [46d2b0](https://github.com/youzan/vant/commit/46d2b094477b52a96e85d18ec6fc42051a832e10)
+- Sku: add methods types [d2bb9f](https://github.com/youzan/vant/commit/d2bb9fa81b401e429296003e4c2ec8c0e544d2af)
+- Swipe: add swipeTo、resize method types [a1831b](https://github.com/youzan/vant/commit/a1831b86387f1127325b9952d2d18349d41dc5c7)
+- SwipeCell: add open、close method type [9a9676](https://github.com/youzan/vant/commit/9a9676d6af7d29ac2221761ad680cecd4e929a39)
+- Tabs: add resize method type [3c526e](https://github.com/youzan/vant/commit/3c526ec1a26b5a38bc6a6ba2ded7a3db94bbcced)
+- Uploader: add closeImagePreview method type [cf191e](https://github.com/youzan/vant/commit/cf191e09cbc8093bb72f5d1e9381b263cdf9f0d2)
### [v2.3.3](https://github.com/youzan/vant/tree/v2.3.3)
+
`2019-12-21`
**Bug Fixes**
- fix compile error when using babel-plugin-import
-
### [v2.3.2](https://github.com/youzan/vant/tree/v2.3.2)
+
`2019-12-20`
**Bug Fixes**
@@ -214,16 +332,16 @@
- fix CountDown infinite tick if call reset after finish [\#5340](https://github.com/youzan/vant/pull/5340)
- fix ImagePreview onClose should only trigger once [\#5341](https://github.com/youzan/vant/pull/5341)
-
### [v2.3.1](https://github.com/youzan/vant/tree/v2.3.1)
+
`2019-12-20`
**Bug Fixes**
- Fix uncompiled ES6 code in the entry file
-
### [v2.3.0](https://github.com/youzan/vant/tree/v2.3.0)
+
`2019-12-20`
**Style**
@@ -285,8 +403,8 @@ Upgrading the style of business components:
- fix Uploader not trigger oversize event when upload same file [\#5177](https://github.com/youzan/vant/pull/5177)
- fix less import issue [\#5157](https://github.com/youzan/vant/pull/5157)
-
### [v2.2.16](https://github.com/youzan/vant/tree/v2.2.16)
+
`2019-12-03`
**Features**
@@ -294,16 +412,16 @@ Upgrading the style of business components:
- Stepper: add disable-plus props [\#5180](https://github.com/youzan/vant/pull/5180)
- Stepper: add disable-minus props [\#5180](https://github.com/youzan/vant/pull/5180)
-
### [v2.2.15](https://github.com/youzan/vant/tree/v2.2.15)
+
`2019-11-28`
**Bug Fixes**
- fix List incorrect list status in some cases
-
### [v2.2.14](https://github.com/youzan/vant/tree/v2.2.14)
+
`2019-11-22`
**Features**
@@ -320,8 +438,8 @@ Upgrading the style of business components:
- fix SwipeCell compatible with desktop scenario [\#5077](https://github.com/youzan/vant/pull/5077)
- fix DropdownMenu should't close when custom container and get clicked [\#5047](https://github.com/youzan/vant/pull/5047)
-
### [v2.2.13](https://github.com/youzan/vant/tree/v2.2.13)
+
`2019-11-14`
**Features**
@@ -344,8 +462,8 @@ Upgrading the style of business components:
- fix DateTimePicker incorrect value when set max-hour or max-minute [\#5006](https://github.com/youzan/vant/pull/5006)
- fix ImagePreview missing swipeDuration type definition [\#4968](https://github.com/youzan/vant/pull/4968)
-
### [v2.2.12](https://github.com/youzan/vant/tree/v2.2.12)
+
`2019-11-07`
**Features**
@@ -359,8 +477,8 @@ Upgrading the style of business components:
- fix List may trigger load event repeatedly [\#4953](https://github.com/youzan/vant/pull/4953)
- fix can't custom hairline border color [\#4939](https://github.com/youzan/vant/pull/4939)
-
### [v2.2.11](https://github.com/youzan/vant/tree/v2.2.11)
+
`2019-11-04`
**Features**
@@ -377,8 +495,8 @@ Upgrading the style of business components:
- fix CountDown should pause timer when deactivated [\#4919](https://github.com/youzan/vant/pull/4919)
- fix Grid info、dot prop not work when use icon slot [\#4902](https://github.com/youzan/vant/pull/4902)
-
### [v2.2.10](https://github.com/youzan/vant/tree/v2.2.10)
+
`2019-10-27`
**Features**
@@ -393,8 +511,8 @@ Upgrading the style of business components:
- fix Uploader file preview border radius [\#4846](https://github.com/youzan/vant/pull/4846)
- fix DatetimePicker incorrecrt initial value when use min-date and filter [\#4837](https://github.com/youzan/vant/pull/4837)
-
### [v2.2.9](https://github.com/youzan/vant/tree/v2.2.9)
+
`2019-10-20`
**Features**
@@ -414,8 +532,8 @@ Upgrading the style of business components:
- fix ImagePreview should not close when click index [\#4764](https://github.com/youzan/vant/pull/4764)
- fix AddressEdit choose overseas failure when configuring placeholer [\#4769](https://github.com/youzan/vant/pull/4769)
-
### [v2.2.8](https://github.com/youzan/vant/tree/v2.2.8)
+
`2019-10-17`
**Features**
@@ -436,8 +554,8 @@ Upgrading the style of business components:
- fix Rate incorrect height caused by inline-block [\#4693](https://github.com/youzan/vant/pull/4693)
- fix Slider pseudo element may casue body overflow-x [\#4699](https://github.com/youzan/vant/pull/4699)
-
### [v2.2.7](https://github.com/youzan/vant/tree/v2.2.7)
+
`2019-10-11`
**Features**
@@ -455,8 +573,8 @@ Upgrading the style of business components:
- fix DatetimePicker should update value when range changed [\#4676](https://github.com/youzan/vant/pull/4676)
- fix Field incorrect placeholder color when error and disabled [\#4666](https://github.com/youzan/vant/pull/4666)
-
### [v2.2.6](https://github.com/youzan/vant/tree/v2.2.6)
+
`2019-10-08`
**Features**
@@ -476,8 +594,8 @@ Upgrading the style of business components:
- fix GoodsAction incorrect border radius [\#4653](https://github.com/youzan/vant/pull/4653)
- fix NumberKeyboard compatible with Vue 2.6 event bubble bug [\#4632](https://github.com/youzan/vant/pull/4632)
-
### [v2.2.5](https://github.com/youzan/vant/tree/v2.2.5)
+
`2019-09-28`
**Features**
@@ -497,16 +615,16 @@ Upgrading the style of business components:
- fix Swipe incorrect swipeTo animation [\#4570](https://github.com/youzan/vant/pull/4570)
- fix Uploader incorrect preview index when upload same images [\#4577](https://github.com/youzan/vant/pull/4577)
-
### [v2.2.4](https://github.com/youzan/vant/tree/v2.2.4) [Deprecated]
+
`2019-09-28` 🇨🇳
**Tips**
- There is a style loss issue in this version, please use version 2.2.5
-
### [v2.2.3](https://github.com/youzan/vant/tree/v2.2.3)
+
`2019-09-24`
**Features**
@@ -526,8 +644,8 @@ Upgrading the style of business components:
- ActionSheet: enable safe-area-inset-bottom by default [\#4524](https://github.com/youzan/vant/pull/4524)
- NumberKeyboard: enable safe-area-inset-bottom by default [\#4544](https://github.com/youzan/vant/pull/4544)
-
### [v2.2.2](https://github.com/youzan/vant/tree/v2.2.2)
+
`2019-09-19`
**Features**
@@ -545,8 +663,8 @@ Upgrading the style of business components:
- fix ImagePreview incorrect scale [\#4477](https://github.com/youzan/vant/pull/4477)
- fix DatetimePicker infinite loop when use formatted text is unnumeric [\#4485](https://github.com/youzan/vant/pull/4485)
-
### [v2.2.1](https://github.com/youzan/vant/tree/v2.2.1)
+
`2019-09-12`
**Features**
@@ -572,8 +690,8 @@ Upgrading the style of business components:
- fix Uploader should't emit click-preview when delete [\#4407](https://github.com/youzan/vant/pull/4407)
- fix Progress incorrect pivot position [\#4396](https://github.com/youzan/vant/pull/4396)
-
### [v2.2.0](https://github.com/youzan/vant/tree/v2.2.0)
+
`2019-09-06`
**Features**
@@ -603,8 +721,8 @@ Upgrading the style of business components:
- fix ImagePreview should reset scale after toggle [\#4319](https://github.com/youzan/vant/pull/4319)
- fix ImagePreview should emit change event when reset to start position [\#4320](https://github.com/youzan/vant/pull/4320)
-
### [v2.1.8](https://github.com/youzan/vant/tree/v2.1.8)
+
`2019-08-29`
**Features**
@@ -620,8 +738,8 @@ Upgrading the style of business components:
- fix Picker should avoid click event when moving [\#4273](https://github.com/youzan/vant/pull/4273)
- fix Picker incorrect position when pause momentum [\#4277](https://github.com/youzan/vant/pull/4277)
-
### [v2.1.7](https://github.com/youzan/vant/tree/v2.1.7)
+
`2019-08-26`
**Bug Fixes**
@@ -629,8 +747,8 @@ Upgrading the style of business components:
- fix RadioGroup disabled prop not work [\#4242](https://github.com/youzan/vant/pull/4242)
- fix CheckboxGroup disabled prop not work [\#4242](https://github.com/youzan/vant/pull/4242)
-
### [v2.1.6](https://github.com/youzan/vant/tree/v2.1.6)
+
`2019-08-26`
**Features**
@@ -643,13 +761,12 @@ Upgrading the style of business components:
- Sku: can preview images of non-first level sku [\#4236](https://github.com/youzan/vant/pull/4236)
- Locale: add Spanish translation [\#4235](https://github.com/youzan/vant/pull/4235)
-
-- fix Tabbar incorrect active style in route mode [\#4229](https://github.com/youzan/vant/pull/4229)
-- fix NumberKeyboard incorrect sidebar position when has title [\#4228](https://github.com/youzan/vant/pull/4228)
-- fix IndexBar the problem of rolling out parent boundaries when sticky bottom [\#4218](https://github.com/youzan/vant/pull/4218)
-
+* fix Tabbar incorrect active style in route mode [\#4229](https://github.com/youzan/vant/pull/4229)
+* fix NumberKeyboard incorrect sidebar position when has title [\#4228](https://github.com/youzan/vant/pull/4228)
+* fix IndexBar the problem of rolling out parent boundaries when sticky bottom [\#4218](https://github.com/youzan/vant/pull/4218)
### [v2.1.5](https://github.com/youzan/vant/tree/v2.1.5)
+
`2019-08-23`
**Features**
@@ -666,9 +783,8 @@ Upgrading the style of business components:
- fix NumberKeyboard border color [\#4183](https://github.com/youzan/vant/pull/4183)
- fix Area can't select some oversea countries [\#4195](https://github.com/youzan/vant/pull/4195)
-
-
### [v2.1.4](https://github.com/youzan/vant/tree/v2.1.4)
+
`2019-08-21`
**Features**
@@ -693,8 +809,8 @@ Upgrading the style of business components:
- fix Field button width shrinked in firefox [\#4144](https://github.com/youzan/vant/pull/4144)
- fix Picker prevent style be override by base.css [\#4136](https://github.com/youzan/vant/pull/4136)
-
### [v2.1.3](https://github.com/youzan/vant/tree/v2.1.3)
+
`2019-08-15`
**Features**
@@ -715,8 +831,8 @@ Upgrading the style of business components:
- fix Icon gift-o、refund-o icon incomplete [\#4089](https://github.com/youzan/vant/pull/4089)
- fix Slider should not emit change event when value not changed [\#4087](https://github.com/youzan/vant/pull/4087)
-
### [v2.1.2](https://github.com/youzan/vant/tree/v2.1.2)
+
`2019-08-10`
**Features**
@@ -739,8 +855,8 @@ Upgrading the style of business components:
- fix Sticky incorrect position when inside scroll container [\#4055](https://github.com/youzan/vant/pull/4055)
-
### [v2.1.1](https://github.com/youzan/vant/tree/v2.1.1)
+
`2019-08-02`
**Bug Fixes**
@@ -748,8 +864,8 @@ Upgrading the style of business components:
- fix DatetimePicker event not work [\#4027](https://github.com/youzan/vant/pull/4027)
- fix Popup ensure z-index setting order [\#4026](https://github.com/youzan/vant/pull/4026)
-
### [v2.1.0](https://github.com/youzan/vant/tree/v2.1.0) [deprecated]
+
`2019-08-01`
**Features**
@@ -780,8 +896,8 @@ Upgrading the style of business components:
- fix Radio: can't select when click gap [\#4007](https://github.com/youzan/vant/pull/4007)
- fix SwipeCell should not prevent touchmove when opened [\#3982](https://github.com/youzan/vant/pull/3982)
-
### [v2.0.9](https://github.com/youzan/vant/tree/v2.0.9)
+
`2019-07-19`
**Features**
@@ -803,8 +919,8 @@ Upgrading the style of business components:
- fix DropdownMenu cann't use toggle to open item [\#3876](https://github.com/youzan/vant/pull/3876)
- fix SwipeCell should stop event propagation [\#3898](https://github.com/youzan/vant/pull/3898)
-
### [v2.0.8](https://github.com/youzan/vant/tree/v2.0.8)
+
`2019-07-16`
**Features**
@@ -820,8 +936,8 @@ Upgrading the style of business components:
- fix List not work when body is the scrolling container [\#3844](https://github.com/youzan/vant/pull/3844)
- fix IndexBar incorrect active anchor in some cases [\#3832](https://github.com/youzan/vant/pull/3832)
-
### [v2.0.7](https://github.com/youzan/vant/tree/v2.0.7)
+
`2019-07-11`
**Features**
@@ -841,8 +957,8 @@ Upgrading the style of business components:
- fix Dialog missing closeOnPopstate in type definition [\#3789](https://github.com/youzan/vant/pull/3789)
- fix DatetimePicker confirm event param incorrect when use filter [\#3816](https://github.com/youzan/vant/pull/3816)
-
### [v2.0.6](https://github.com/youzan/vant/tree/v2.0.6)
+
`2019-07-05`
**Features**
@@ -858,8 +974,8 @@ Upgrading the style of business components:
- fix Collapse use double raf to ensure animation can start [\#3723](https://github.com/youzan/vant/pull/3723)
- fix PullRefresh ensure value change can be watched [\#3719](https://github.com/youzan/vant/pull/3719)
-
### [v2.0.5](https://github.com/youzan/vant/tree/v2.0.5)
+
`2019-07-02`
**Features**
@@ -872,8 +988,8 @@ Upgrading the style of business components:
- fix postcss config overwritten issue
-
### [v2.0.4](https://github.com/youzan/vant/tree/v2.0.4)
+
`2019-07-01`
**Features**
@@ -893,8 +1009,8 @@ Upgrading the style of business components:
- fix Collapse flick in safari [\#3686](https://github.com/youzan/vant/pull/3686)
- fix Picker compatibility issues on lower versions of Android [\#3688](https://github.com/youzan/vant/pull/3688)
-
### [v2.0.3](https://github.com/youzan/vant/tree/v2.0.3)
+
`2019-06-27`
**Features**
@@ -916,8 +1032,8 @@ Upgrading the style of business components:
- fix Tab may cause error when render title slot [\#3631](https://github.com/youzan/vant/pull/3631)
- fix vetur auto-complete [\#3617](https://github.com/youzan/vant/pull/3617)
-
### [v2.0.2](https://github.com/youzan/vant/tree/v2.0.2)
+
`2019-06-21`
**Features**
@@ -937,8 +1053,8 @@ Upgrading the style of business components:
- fix Sku can not preview image when only have goods picture [\#3569](https://github.com/youzan/vant/pull/3569)
- fix Toast missing type definition of clear method [\#3542](https://github.com/youzan/vant/pull/3542)
-
### [v2.0.1](https://github.com/youzan/vant/tree/v2.0.1)
+
`2019-06-15`
**Features**
@@ -956,8 +1072,8 @@ Upgrading the style of business components:
- fix Toast missing fade-out transition in multiple mode [\#3504](https://github.com/youzan/vant/pull/3504)
- fix Locale can not modify functional message [\#3498](https://github.com/youzan/vant/pull/3498)
-
### [v2.0.0](https://github.com/youzan/vant/tree/v2.0.0)
+
`2019-06-12`
#### Overview
diff --git a/docs/markdown/changelog.zh-CN.md b/docs/markdown/changelog.zh-CN.md
index 12f363b2b..ad5b13287 100644
--- a/docs/markdown/changelog.zh-CN.md
+++ b/docs/markdown/changelog.zh-CN.md
@@ -10,161 +10,278 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 次版本号:每隔一至二个月发布,包含新特性和较大的功能更新,向下兼容。
- 主版本号:发布时间不定,包含不兼容更新,预计下一个主版本会与 Vue 3.0 同期发布。
+### [v2.5.3](https://github.com/youzan/vant/compare/v2.5.2...v2.5.3)
+
+`2020-02-28`
+
+**Feature**
+
+- ActionSheet: 新增 close-on-popstate 属性 [#5716](https://github.com/youzan/vant/issues/5716)
+- Area: 新增 columns-top、columns-bottom 属性 [#5719](https://github.com/youzan/vant/issues/5719)
+- Area: 新增 title 插槽 [#5719](https://github.com/youzan/vant/issues/5719)
+- Button: 新增 icon-prefix 属性 [#5666](https://github.com/youzan/vant/issues/5666)
+- Cell: 新增 icon-prefix 属性 [#5666](https://github.com/youzan/vant/issues/5666)
+- Field: 新增 icon-prefix 属性 [#5666](https://github.com/youzan/vant/issues/5666)
+- Form: validator 新增 rule 参数 [#5704](https://github.com/youzan/vant/issues/5704)
+- Form: 支持将 message 定义为函数 [#5704](https://github.com/youzan/vant/issues/5704)
+- Form: 支持在 rule 中定义 pattern [#5700](https://github.com/youzan/vant/issues/5700)
+- Form: 支持在 rule 中定义 formatter [d87835](https://github.com/youzan/vant/commit/d878354ebf8eedf849764480c11a90c4cdd2fbe3)
+- GridItem: 新增 icon-prefix 属性 [#5666](https://github.com/youzan/vant/issues/5666)
+- Rate: 新增 icon-prefix 属性 [#5666](https://github.com/youzan/vant/issues/5666)
+- TabbarItem: 新增 icon-prefix 属性 [#5666](https://github.com/youzan/vant/issues/5666)
+
+**Bug Fixes**
+
+- Calendar: 修复隐藏状态下 scrollIntoView 函数报错的问题 [#5708](https://github.com/youzan/vant/issues/5708)
+- DatetimePicker: 修复 getPicker 方法无法调用的问题 [#5710](https://github.com/youzan/vant/issues/5710)
+- Popup: 修复 close-on-popstate 在 keep-alive 下无效的问题 [f07077](https://github.com/youzan/vant/commit/f070773b42b86dd98d1f3989651e735895db78ee)
+
+### [v2.5.2](https://github.com/youzan/vant/compare/v2.5.1...v2.5.2)
+
+`2020-02-21`
+
+**Feature**
+
+- Calendar: 新增 close、closed 事件 [556f33](https://github.com/youzan/vant/commit/556f335cc224a40ab27bda863a67601c36339ea9)
+- Calendar: 新增 open、opened 事件 [a83082](https://github.com/youzan/vant/commit/a83082f599362456d85864904cb5f47b44138e43)
+- Form: 新增 scroll-to-error 属性 [#5680](https://github.com/youzan/vant/issues/5680)
+- Form: 新增 validate-trigger 属性 [c08db7](https://github.com/youzan/vant/commit/c08db724a3ed6440da5d5faebfa08561312f4d3a)
+- Form: 新增 scrollToField 方法 [#5680](https://github.com/youzan/vant/issues/5680)
+- Sku: 新增 preview-on-click-image 属性 [#5684](https://github.com/youzan/vant/issues/5684)
+- Sku: 新增 sku-header-image-extra 插槽 [#5696](https://github.com/youzan/vant/issues/5696)
+
+**Bug Fixes**
+
+- Swipe: 修复容器宽度为小数时在部分安卓设备上出现换行的问题 [02afe7](https://github.com/youzan/vant/commit/02afe720c6aaeeb58036cde3072b6373e3b9254f)
+
+### [v2.5.1](https://github.com/youzan/vant/compare/v2.5.1-beta.0...v2.5.1)
+
+`2020-02-18`
+
+**Feature**
+
+- Sku: 新增 initialMessages 字段
+- Calendar: 在调用 reset 方法后自动定位到当前月份 [407b7d](https://github.com/youzan/vant/commit/407b7ded43bc87c98605444dbbb829f5f05744b6)
+- Calendar: 在修改 default-date 属性后自动定位到当前月份 [#5664](https://github.com/youzan/vant/issues/5664)
+
+**Bug Fixes**
+
+- Calendar: 修复在个别情况下日历渲染为空白的问题 [#5640](https://github.com/youzan/vant/issues/5640)
+- Calendar: 修复在单选情况下使用 max-range 属性导致报错的问题 [79d2c3](https://github.com/youzan/vant/commit/79d2c344f9ee9945b09434b35cbe63a3816410ad)
+- Form: 修复 error-message-align 属性类型定义报错的问题 [#5674](https://github.com/youzan/vant/issues/5674)
+- Swipe: 修复在隐藏状态下触发浏览器缩放时元素宽度错误的问题 [#5678](https://github.com/youzan/vant/issues/5678)
+
+### [v2.5.0](https://github.com/youzan/vant/compare/v2.4.7...v2.5.0)
+
+`2020-02-15`
+
+**New Component**
+
+- 新增 [Form 表单](#/zh-CN/form)组件
+
+**Feature**
+
+- Field: 新增 name 属性 [f3398d](https://github.com/youzan/vant/commit/f3398dc2cdd1191613b97454b4725275458bde1b)
+- Field: 新增 rules 属性 [0ed7aa](https://github.com/youzan/vant/commit/0ed7aaac88f769549b688259b8e6e1050a10cb99)
+- AddressEdit: 新增 disable-area 属性 [#5630](https://github.com/youzan/vant/issues/5630)
+- AddressList: 新增 item-bottom 插槽 [#5629](https://github.com/youzan/vant/issues/5629)
+- RadioGroup: 新增 direction 属性 [4dd41b](https://github.com/youzan/vant/commit/4dd41b23decbaf86c8812e0afcc1d72773f223f6)
+- CheckboxGroup: 新增 direction 属性 [153902](https://github.com/youzan/vant/commit/15390241d8d4252a828aa0e9d8c61377ba07512a)
+- ImagePreview: 新增 scale 事件 [#5658](https://github.com/youzan/vant/issues/5658)
+- ImagePreview: 新增 closeable 属性 [#5654](https://github.com/youzan/vant/issues/5654)
+
+**Style**
+
+- Field: input 插槽的内容默认在垂直方向居中 [03c826](https://github.com/youzan/vant/commit/03c826c4d44efd95a5ee509b5f183d8ded574fd7)
+- Field: 优化 label-position 为 right 时的右边距 [2d6445](https://github.com/youzan/vant/commit/2d64458776df87625db9e8b07d83a7044a2bcf53)
+- Uploader: 优化禁用态上传区域颜色 [#5628](https://github.com/youzan/vant/issues/5628)
+
+**Bug Fixes**
+
+- Calendar: 修复特定情况下未正确渲染日历内容的问题 [#5640](https://github.com/youzan/vant/issues/5640)
+- Dialog: 修复 Dialog.Component 类型定义错误的问题 [#5646](https://github.com/youzan/vant/issues/5646)
+- Field: 修复子元素文字颜色错误的问题 [e17a4a](https://github.com/youzan/vant/commit/e17a4a24993822b0f35114dacbbb3bebc5b51a60)
+- Picker: 修复未触发弹性滚动时 change 事件不生效的问题 [#5662](https://github.com/youzan/vant/issues/5662)
+- Tabs: 修复自定义滚动容器时 scrollspy 属性无效的问题 [#5637](https://github.com/youzan/vant/issues/5637)
+- Calendar: 修复底部按钮会触发表单提交的问题 [e93fcb](https://github.com/youzan/vant/commit/e93fcb0603b988a2ffb5b1651588f7e4ad8aa92d)
+
+### [v2.4.7](https://github.com/youzan/vant/compare/v2.4.7-beta.0...v2.4.7)
+
+`2020-02-06`
+
+**Feature**
+
+- Calendar: 优化无障碍访问 [2124cc](https://github.com/youzan/vant/commit/2124cc5261be4a7d666cf6f70d4295309f3705d9)
+- Field: 字数统计达到上限时高亮展示 [61093e](https://github.com/youzan/vant/commit/61093ef00f2dc421eb94ec7690093c1d565a296c)
+- Sku: 新增 sku-actions-top 插槽 [#5617](https://github.com/youzan/vant/issues/5617)
+- Uploader: 支持展示上传中状态 [#5625](https://github.com/youzan/vant/issues/5625)
+- Uploader: 支持展示上传失败状态 [#5624](https://github.com/youzan/vant/issues/5624)
+
+**Style**
+
+- ActionSheet: 新增 @action-sheet-close-icon-active-color 变量 [265bfe](https://github.com/youzan/vant/commit/265bfeaac756e05803858062ab1ece2092a08e17)
+- Popup: 新增 @popup-close-icon-active-color 变量 [660b03](https://github.com/youzan/vant/commit/660b0399512d3deddcdfb99af5cff1674617c515)
+
+**Bug Fixes**
+
+- Calendar: 修复选中日期 className 属性未生效的问题 [0b7c56](https://github.com/youzan/vant/commit/0b7c567a78c85fbf1c3d59fcd3ce76c691040ff1)
+- Popup: 修复使用 get-container 属性后 destroy 时抛出错误的问题
### [v2.4.6](https://github.com/youzan/vant/compare/v2.4.5...v2.4.6)
+
`2020-02-01`
**Bug Fixes**
-* Picker: 修复更新 columns 数据不生效的问题 [#5614](https://github.com/youzan/vant/issues/5614)
-
+- Picker: 修复更新 columns 数据不生效的问题 [#5614](https://github.com/youzan/vant/issues/5614)
### [v2.4.5](https://github.com/youzan/vant/compare/v2.4.4...v2.4.5)
+
`2020-02-01`
**Feature**
-* Picker: 支持级联选择 [#4247](https://github.com/youzan/vant/issues/4247)
-* Slider: 新增 button-size 属性 [1e9b8c](https://github.com/youzan/vant/commit/1e9b8c846674562d56ab638a0982baab4bb6870e)
-* 优化 props 类型,原有 number 类型的 props 现在支持传入 string
+- Picker: 支持级联选择 [#4247](https://github.com/youzan/vant/issues/4247)
+- Slider: 新增 button-size 属性 [1e9b8c](https://github.com/youzan/vant/commit/1e9b8c846674562d56ab638a0982baab4bb6870e)
+- 优化 props 类型,原有 number 类型的 props 现在支持传入 string
**Style**
-* DropdownItem: 新增 @dropdown-item-z-index 变量 [6f4c6f](https://github.com/youzan/vant/commit/6f4c6f5aa6614559cfc24bc361e68c9c938bbb61)
-* IndexBar: 新增 @index-anchor-z-index 变量 [89ee8e](https://github.com/youzan/vant/commit/89ee8e38723dadb2daa6ee31c325cdd2ad03ba99)
-* IndexBar: 新增 @index-bar-sidebar-z-index 变量 [89ee8e](https://github.com/youzan/vant/commit/89ee8e38723dadb2daa6ee31c325cdd2ad03ba99)
-* IndexBar: 新增 @index-bar-index-active-color 变量 [0011db](https://github.com/youzan/vant/commit/0011db75365b60699ae140d85e54b9e477f46a22)
-* Notify: 新增 @notify-text-color 变量 [9dcf57](https://github.com/youzan/vant/commit/9dcf57c65f5e046318e953f2e8ce87918b1cb312)
-* Overlay: 新增 @overlay-z-index 变量 [95d19f](https://github.com/youzan/vant/commit/95d19f70d1c90efc752074ff764b07787d89cf1e)
-* Rate: 新增 @rate-icon-disabled-color 变量 [8b8471](https://github.com/youzan/vant/commit/8b8471945c4313735a5fe59402212f37a31acfea)
-* Rate: 新增 @rate-icon-full-color 变量 [5c804c](https://github.com/youzan/vant/commit/5c804cf920b75c5bdf962fa49eae31363783f32f)
-* Rate: 新增 @rate-icon-void-color 变量 [f90015](https://github.com/youzan/vant/commit/f90015efe7619af055b9ebd4c8be7da1f17b8da0)
-* Slider: 新增 @slider-bar-height 变量 [a5819c](https://github.com/youzan/vant/commit/a5819c286e06469bc41e8aa9e0ed44cc21625dad)
-* Search: 新增 @search-content-background-color 变量 [ea7419](https://github.com/youzan/vant/commit/ea74194990314bd1ff1e8237c221be92fdb8ae37)
-* Step: 新增 @step-active-color 变量 [9e7a68](https://github.com/youzan/vant/commit/9e7a6874141fa05f0158ca8006c268d0a3d92679)
-* Tabbar: 新增 @tabbar-z-index 变量 [0441f7](https://github.com/youzan/vant/commit/0441f7ba098aca24b797de29d10af8f47cf32d15)
-* NavBar: 新增 @nav-bar-z-index 变量 [a2d870](https://github.com/youzan/vant/commit/a2d870ad8ee4912226ec8871cc4c2d56ef870902)
-* NumberKeyboard: 新增 @number-keyboard-z-index 变量 [760938](https://github.com/youzan/vant/commit/760938962399e0589b4a258ff29e7fe2f3ba90f1)
+- DropdownItem: 新增 @dropdown-item-z-index 变量 [6f4c6f](https://github.com/youzan/vant/commit/6f4c6f5aa6614559cfc24bc361e68c9c938bbb61)
+- IndexBar: 新增 @index-anchor-z-index 变量 [89ee8e](https://github.com/youzan/vant/commit/89ee8e38723dadb2daa6ee31c325cdd2ad03ba99)
+- IndexBar: 新增 @index-bar-sidebar-z-index 变量 [89ee8e](https://github.com/youzan/vant/commit/89ee8e38723dadb2daa6ee31c325cdd2ad03ba99)
+- IndexBar: 新增 @index-bar-index-active-color 变量 [0011db](https://github.com/youzan/vant/commit/0011db75365b60699ae140d85e54b9e477f46a22)
+- Notify: 新增 @notify-text-color 变量 [9dcf57](https://github.com/youzan/vant/commit/9dcf57c65f5e046318e953f2e8ce87918b1cb312)
+- Overlay: 新增 @overlay-z-index 变量 [95d19f](https://github.com/youzan/vant/commit/95d19f70d1c90efc752074ff764b07787d89cf1e)
+- Rate: 新增 @rate-icon-disabled-color 变量 [8b8471](https://github.com/youzan/vant/commit/8b8471945c4313735a5fe59402212f37a31acfea)
+- Rate: 新增 @rate-icon-full-color 变量 [5c804c](https://github.com/youzan/vant/commit/5c804cf920b75c5bdf962fa49eae31363783f32f)
+- Rate: 新增 @rate-icon-void-color 变量 [f90015](https://github.com/youzan/vant/commit/f90015efe7619af055b9ebd4c8be7da1f17b8da0)
+- Slider: 新增 @slider-bar-height 变量 [a5819c](https://github.com/youzan/vant/commit/a5819c286e06469bc41e8aa9e0ed44cc21625dad)
+- Search: 新增 @search-content-background-color 变量 [ea7419](https://github.com/youzan/vant/commit/ea74194990314bd1ff1e8237c221be92fdb8ae37)
+- Step: 新增 @step-active-color 变量 [9e7a68](https://github.com/youzan/vant/commit/9e7a6874141fa05f0158ca8006c268d0a3d92679)
+- Tabbar: 新增 @tabbar-z-index 变量 [0441f7](https://github.com/youzan/vant/commit/0441f7ba098aca24b797de29d10af8f47cf32d15)
+- NavBar: 新增 @nav-bar-z-index 变量 [a2d870](https://github.com/youzan/vant/commit/a2d870ad8ee4912226ec8871cc4c2d56ef870902)
+- NumberKeyboard: 新增 @number-keyboard-z-index 变量 [760938](https://github.com/youzan/vant/commit/760938962399e0589b4a258ff29e7fe2f3ba90f1)
**Bug Fixes**
-* ImagePreview: 修复双击缩放时 max-zoom 属性不生效的问题 [1baa60](https://github.com/youzan/vant/commit/1baa60f2244b4605dc82f6dcf564671f5c623023)
-* Popup: 修复 position 为 center 时 duration 属性不生效的问题 [44072e](https://github.com/youzan/vant/commit/44072e8c3f548cff78401780213ab7ef213372c3)
-* Step: 修复 active-color 未改变分隔线颜色的问题 [cfadce](https://github.com/youzan/vant/commit/cfadcefb0a1c29dfb1d940fbb7add746595158bd)
-
+- ImagePreview: 修复双击缩放时 max-zoom 属性不生效的问题 [1baa60](https://github.com/youzan/vant/commit/1baa60f2244b4605dc82f6dcf564671f5c623023)
+- Popup: 修复 position 为 center 时 duration 属性不生效的问题 [44072e](https://github.com/youzan/vant/commit/44072e8c3f548cff78401780213ab7ef213372c3)
+- Step: 修复 active-color 未改变分隔线颜色的问题 [cfadce](https://github.com/youzan/vant/commit/cfadcefb0a1c29dfb1d940fbb7add746595158bd)
### [v2.4.4](https://github.com/youzan/vant/compare/v2.4.3...v2.4.4) 🐭
+
`2020-01-24`
**Feature**
-* Card: 优化图片拉伸模式 [e766d5](https://github.com/youzan/vant/commit/e766d5d5743e7f492b3601ce4010b8524fb2b016)
-* Calendar: 新增 get-contaienr 属性 [#5609](https://github.com/youzan/vant/issues/5609)
-* Calendar: 新增 close-on-popstate 属性 [2b82dc](https://github.com/youzan/vant/commit/2b82dcc3dd2dba678aba5e0533e0ff6af7c55b11)
-* CountDown: 新增 change 事件 [#5599](https://github.com/youzan/vant/issues/5599)
-* GoodsActionButton: 新增 icon 属性 [b83bed](https://github.com/youzan/vant/commit/b83bed3b6c41d0896386b3c4b6380c9568bd3ef2)
+- Card: 优化图片拉伸模式 [e766d5](https://github.com/youzan/vant/commit/e766d5d5743e7f492b3601ce4010b8524fb2b016)
+- Calendar: 新增 get-contaienr 属性 [#5609](https://github.com/youzan/vant/issues/5609)
+- Calendar: 新增 close-on-popstate 属性 [2b82dc](https://github.com/youzan/vant/commit/2b82dcc3dd2dba678aba5e0533e0ff6af7c55b11)
+- CountDown: 新增 change 事件 [#5599](https://github.com/youzan/vant/issues/5599)
+- GoodsActionButton: 新增 icon 属性 [b83bed](https://github.com/youzan/vant/commit/b83bed3b6c41d0896386b3c4b6380c9568bd3ef2)
**Bug Fixes**
-* Sku: 修复 get-container 属性不能为 string 类型的问题 [#5608](https://github.com/youzan/vant/issues/5608)
-
+- Sku: 修复 get-container 属性不能为 string 类型的问题 [#5608](https://github.com/youzan/vant/issues/5608)
### [v2.4.3](https://github.com/youzan/vant/compare/v2.4.3-beta.0...v2.4.3)
+
`2020-01-19`
**Feature**
-* Swipe: 页面隐藏时暂停自动轮播 [113157](https://github.com/youzan/vant/commit/11315787ec980767973a3fded50fb5858e51e298)
-* Stepper: 新增 long-press 属性 [2f3ec6](https://github.com/youzan/vant/commit/2f3ec6a3d48a9d56f8127d27d51c3337f6e72cab)
-* Calendar: 新增 max-range、range-prompt 属性 [#5583](https://github.com/youzan/vant/issues/5583)
-* ImagePreview: 新增 @image-preview-index-text-shadow 变量 [e2f302](https://github.com/youzan/vant/commit/e2f30242eaaebd36d9816e2746fe6c44323e6aca)
+- Swipe: 页面隐藏时暂停自动轮播 [113157](https://github.com/youzan/vant/commit/11315787ec980767973a3fded50fb5858e51e298)
+- Stepper: 新增 long-press 属性 [2f3ec6](https://github.com/youzan/vant/commit/2f3ec6a3d48a9d56f8127d27d51c3337f6e72cab)
+- Calendar: 新增 max-range、range-prompt 属性 [#5583](https://github.com/youzan/vant/issues/5583)
+- ImagePreview: 新增 @image-preview-index-text-shadow 变量 [e2f302](https://github.com/youzan/vant/commit/e2f30242eaaebd36d9816e2746fe6c44323e6aca)
**Improvement**
-* Icon: 更新 share 图标 [2f77ac](https://github.com/youzan/vant/commit/2f77acfc6cef23ea664defc38c4cd806ceca1ee4)
-* Field: 优化 readonly 状态下的光标类型 [60173d](https://github.com/youzan/vant/commit/60173dd6bc004339333c50218d7c6b2f6c1bc07b)
-* Stepper: 优化 disable-input 状态下的输入框颜色 [959eca](https://github.com/youzan/vant/commit/959eca136c4ca6a39e22d36512db74b93ad100c6)
+- Icon: 更新 share 图标 [2f77ac](https://github.com/youzan/vant/commit/2f77acfc6cef23ea664defc38c4cd806ceca1ee4)
+- Field: 优化 readonly 状态下的光标类型 [60173d](https://github.com/youzan/vant/commit/60173dd6bc004339333c50218d7c6b2f6c1bc07b)
+- Stepper: 优化 disable-input 状态下的输入框颜色 [959eca](https://github.com/youzan/vant/commit/959eca136c4ca6a39e22d36512db74b93ad100c6)
**Bug Fixes**
-* GoodsAction: 修复未设置容器高度的问题 [#5593](https://github.com/youzan/vant/issues/5593)
+- GoodsAction: 修复未设置容器高度的问题 [#5593](https://github.com/youzan/vant/issues/5593)
**Types**
-* Calendar: 新增类型定义 [dac60c](https://github.com/youzan/vant/commit/dac60c8a37d3b2b3686dc25c1c34b4029a963d1b)
-* Toast: 修复 setDefaultOptions 方法参数定义错误 [#5582](https://github.com/youzan/vant/issues/5582)
-
+- Calendar: 新增类型定义 [dac60c](https://github.com/youzan/vant/commit/dac60c8a37d3b2b3686dc25c1c34b4029a963d1b)
+- Toast: 修复 setDefaultOptions 方法参数定义错误 [#5582](https://github.com/youzan/vant/issues/5582)
### [v2.4.2](https://github.com/youzan/vant/compare/v2.4.2-beta.1...v2.4.2)
+
`2020-01-14`
**Feature**
-* Sku: 新增 properties 属性 [#5525](https://github.com/youzan/vant/issues/5525)
-* Field: 新增 digit 类型 [#5524](https://github.com/youzan/vant/issues/5524)
-* Field: 新增 formatter 属性 [#5534](https://github.com/youzan/vant/issues/5534)
-* Image: 新增 error-icon 属性 [#5470](https://github.com/youzan/vant/issues/5470)
-* Image: 新增 loading-icon 属性 [#5469](https://github.com/youzan/vant/issues/5469)
-* Swipe: 新增 prev、next 方法 [#5548](https://github.com/youzan/vant/issues/5548)
-* GoodsAcitonIcon: 新增 color 属性 [#5576](https://github.com/youzan/vant/issues/5576)
+- Sku: 新增 properties 属性 [#5525](https://github.com/youzan/vant/issues/5525)
+- Field: 新增 digit 类型 [#5524](https://github.com/youzan/vant/issues/5524)
+- Field: 新增 formatter 属性 [#5534](https://github.com/youzan/vant/issues/5534)
+- Image: 新增 error-icon 属性 [#5470](https://github.com/youzan/vant/issues/5470)
+- Image: 新增 loading-icon 属性 [#5469](https://github.com/youzan/vant/issues/5469)
+- Swipe: 新增 prev、next 方法 [#5548](https://github.com/youzan/vant/issues/5548)
+- GoodsAcitonIcon: 新增 color 属性 [#5576](https://github.com/youzan/vant/issues/5576)
**Improvement**
-* AddressList: 优化样式细节 [#5507](https://github.com/youzan/vant/issues/5507)
-* AddressEdit: 优化错误提示展示方式 [#5479](https://github.com/youzan/vant/issues/5479)
-* ActionSheet: 优化关闭按钮样式 [#5574](https://github.com/youzan/vant/issues/5574)
-* CouponList: 优化样式细节 [#5501](https://github.com/youzan/vant/issues/5501)
-* Calendar: 弹出时自动滚动到当前选中的日期 [#5526](https://github.com/youzan/vant/issues/5526)
-* ImagePreview: 优化图片加载失败提示样式 [#5570](https://github.com/youzan/vant/issues/5570)
-* 优化所有组件的光标类型 [c1a535](https://github.com/youzan/vant/commit/c1a535b0dd9470f8eb526e86aa59cf6dec022f3a)
+- AddressList: 优化样式细节 [#5507](https://github.com/youzan/vant/issues/5507)
+- AddressEdit: 优化错误提示展示方式 [#5479](https://github.com/youzan/vant/issues/5479)
+- ActionSheet: 优化关闭按钮样式 [#5574](https://github.com/youzan/vant/issues/5574)
+- CouponList: 优化样式细节 [#5501](https://github.com/youzan/vant/issues/5501)
+- Calendar: 弹出时自动滚动到当前选中的日期 [#5526](https://github.com/youzan/vant/issues/5526)
+- ImagePreview: 优化图片加载失败提示样式 [#5570](https://github.com/youzan/vant/issues/5570)
+- 优化所有组件的光标类型 [c1a535](https://github.com/youzan/vant/commit/c1a535b0dd9470f8eb526e86aa59cf6dec022f3a)
**Bug Fixes**
-* Button: 修复加载状态下仍会有点击反馈的问题 [0a70d3](https://github.com/youzan/vant/commit/0a70d344124ef756a73ea9edfee07303f394d880)
-* Card: 修复图片圆角样式未生效的问题 [#5480](https://github.com/youzan/vant/issues/5480)
-* Calendar: 修复选中的日期无法展示提示信息的问题 [#5536](https://github.com/youzan/vant/issues/5536)
-* Checkbox: 修复设置 label-disabled 后空白区域仍然可以点击的问题 [3d10d4](https://github.com/youzan/vant/commit/3d10d42fccadd1b9df46860d758a91f7825073e9)
-* CouponList: 修复点击反馈区域错误的问题 [#5521](https://github.com/youzan/vant/issues/5521)
-* Field: 修复 type 为 number 时在 iOS 上仍然能输入非数字字符的问题 [#5520](https://github.com/youzan/vant/issues/5520)
-* ImagePreview: 修复在桌面端使用时无法拖拽的问题 [#4487](https://github.com/youzan/vant/issues/4487)
-* Picker: 修复点击事件偶尔会丢失的问题 [5cbb9e](https://github.com/youzan/vant/commit/5cbb9e29989ac58d44a4ec503cbb984269c8f18e)
-* PullRefresh:修复 head-height 属性未正确设置高度的问题 [028747](https://github.com/youzan/vant/commit/028747c35471f33e8c2b0baa6fb8915510daac22)
-* Tabs: 修复容器设置 fixed 布局时无法渲染底部条的问题 [#5496](https://github.com/youzan/vant/issues/5496)
-
+- Button: 修复加载状态下仍会有点击反馈的问题 [0a70d3](https://github.com/youzan/vant/commit/0a70d344124ef756a73ea9edfee07303f394d880)
+- Card: 修复图片圆角样式未生效的问题 [#5480](https://github.com/youzan/vant/issues/5480)
+- Calendar: 修复选中的日期无法展示提示信息的问题 [#5536](https://github.com/youzan/vant/issues/5536)
+- Checkbox: 修复设置 label-disabled 后空白区域仍然可以点击的问题 [3d10d4](https://github.com/youzan/vant/commit/3d10d42fccadd1b9df46860d758a91f7825073e9)
+- CouponList: 修复点击反馈区域错误的问题 [#5521](https://github.com/youzan/vant/issues/5521)
+- Field: 修复 type 为 number 时在 iOS 上仍然能输入非数字字符的问题 [#5520](https://github.com/youzan/vant/issues/5520)
+- ImagePreview: 修复在桌面端使用时无法拖拽的问题 [#4487](https://github.com/youzan/vant/issues/4487)
+- Picker: 修复点击事件偶尔会丢失的问题 [5cbb9e](https://github.com/youzan/vant/commit/5cbb9e29989ac58d44a4ec503cbb984269c8f18e)
+- PullRefresh:修复 head-height 属性未正确设置高度的问题 [028747](https://github.com/youzan/vant/commit/028747c35471f33e8c2b0baa6fb8915510daac22)
+- Tabs: 修复容器设置 fixed 布局时无法渲染底部条的问题 [#5496](https://github.com/youzan/vant/issues/5496)
### [v2.4.1](https://github.com/youzan/vant/compare/v2.4.0...v2.4.1)
+
`2020-01-02`
**Feature**
-* ContactEdit: 优化错误提示展示方式 [#5437](https://github.com/youzan/vant/issues/5437)
-* CouponCell: 优先展示 value 字段的数值 [#5438](https://github.com/youzan/vant/issues/5438)
+- ContactEdit: 优化错误提示展示方式 [#5437](https://github.com/youzan/vant/issues/5437)
+- CouponCell: 优先展示 value 字段的数值 [#5438](https://github.com/youzan/vant/issues/5438)
**Bug Fixes**
-* Calendar: 修复日期对应的星期数展示错误的问题 [#5452](https://github.com/youzan/vant/issues/5452)
-* List: 修复 direction 为 up 时加载事件触发时机错误的问题 [#5439](https://github.com/youzan/vant/issues/5439)
-
+- Calendar: 修复日期对应的星期数展示错误的问题 [#5452](https://github.com/youzan/vant/issues/5452)
+- List: 修复 direction 为 up 时加载事件触发时机错误的问题 [#5439](https://github.com/youzan/vant/issues/5439)
### [v2.4.0](https://github.com/youzan/vant/compare/v2.3.3...v2.4.0)
+
`2020-01-01`
**New Component**
-* 新增 Calendar 日历组件
+- 新增 Calendar 日历组件

**Feature**
-* List: 新增 error 插槽 [e9a938](https://github.com/youzan/vant/commit/e9a938820232194ad5f62b2b6588fa5d604016ae)
-* List: 新增 finished 插槽 [8a0705](https://github.com/youzan/vant/commit/8a0705d7610890c0da47e9e7eb0ef5665a3dca0d)
-* Picker: 新增 confirm 方法 [5eb2a4](https://github.com/youzan/vant/commit/5eb2a4012ae3e9d90a29a924ae454e54408b1235)
-* PullRefresh: 新增 success 插槽 [56e450](https://github.com/youzan/vant/commit/56e450f29e67a5e66b26cf9937c458270f462bdc)
-* CouponList: 更新底部按钮样式 [#5368](https://github.com/youzan/vant/issues/5368)
-* DatetimePicker: 新增 getPicker 方法 [1dc1fe](https://github.com/youzan/vant/commit/1dc1feae40b8ca11df980aa1d5ecf108151938e4)
-* TreeSelect: 新增 @tree-select-item-selected-size 变量 [373159](https://github.com/youzan/vant/commit/37315975203f28d36634d9ad8388a7f4dc8a44ea)
-* Image: 新增 @image-loading-icon-size、@image-error-icon-size 变量 [d7ae8c](https://github.com/youzan/vant/commit/d7ae8c5a26dcb6b7b79b4ca7a2ed3842673c2ea0)
+- List: 新增 error 插槽 [e9a938](https://github.com/youzan/vant/commit/e9a938820232194ad5f62b2b6588fa5d604016ae)
+- List: 新增 finished 插槽 [8a0705](https://github.com/youzan/vant/commit/8a0705d7610890c0da47e9e7eb0ef5665a3dca0d)
+- Picker: 新增 confirm 方法 [5eb2a4](https://github.com/youzan/vant/commit/5eb2a4012ae3e9d90a29a924ae454e54408b1235)
+- PullRefresh: 新增 success 插槽 [56e450](https://github.com/youzan/vant/commit/56e450f29e67a5e66b26cf9937c458270f462bdc)
+- CouponList: 更新底部按钮样式 [#5368](https://github.com/youzan/vant/issues/5368)
+- DatetimePicker: 新增 getPicker 方法 [1dc1fe](https://github.com/youzan/vant/commit/1dc1feae40b8ca11df980aa1d5ecf108151938e4)
+- TreeSelect: 新增 @tree-select-item-selected-size 变量 [373159](https://github.com/youzan/vant/commit/37315975203f28d36634d9ad8388a7f4dc8a44ea)
+- Image: 新增 @image-loading-icon-size、@image-error-icon-size 变量 [d7ae8c](https://github.com/youzan/vant/commit/d7ae8c5a26dcb6b7b79b4ca7a2ed3842673c2ea0)
**Compatibility**
@@ -172,55 +289,55 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
从 2.4 版本开始,我们通过手动绑定事件的方式来规避这个问题,涉及以下组件:
-* Area
-* DatetimePicker
-* ImagePreview
-* Rate
-* Slider
-* Swipe
-* SwipeCell
-* NumberKeyboard
-* Picker
-* PullRefresh
+- Area
+- DatetimePicker
+- ImagePreview
+- Rate
+- Slider
+- Swipe
+- SwipeCell
+- NumberKeyboard
+- Picker
+- PullRefresh
**Bug Fixes**
-* Icon: 修复 medel-o 图标不展示的问题 [7b905a](https://github.com/youzan/vant/commit/7b905a6de85b895e2226c35875ee3633c2ae7e79)
-* ImagePreview: 修复 close 事件重复触发的问题 [#5410](https://github.com/youzan/vant/issues/5410)
-* PullRefresh: 修复下拉到顶部时可能不触发下拉刷新的问题 [e00058](https://github.com/youzan/vant/commit/e00058b681d8796feaaaa4a9f2c4083a18b61fe9)
-* Tag: 修复动态设置 closeable 时动画错误的问题 [fe6e2f](https://github.com/youzan/vant/commit/fe6e2f29ba289206138fe17df046a55000b218ad)
-* Tag: 修复 close 时会触发 click 事件的问题 [#5351](https://github.com/youzan/vant/issues/5351)
-* Toast: 修复同时存在多个 Toast 时 forbidClick 可能失效的问题 [#5398](https://github.com/youzan/vant/issues/5398)
-* Picker: 修复在桌面端使用时拖动后回弹的问题 [#5430](https://github.com/youzan/vant/issues/5430)
-* Stepper: 修复在 safari 上禁用时文字颜色不正确的问题 [#5428](https://github.com/youzan/vant/issues/5428)
-* IndexBar: 修复 IndexAnchor 没有父容器时定位错误的问题 [#5429](https://github.com/youzan/vant/issues/5429)
+- Icon: 修复 medel-o 图标不展示的问题 [7b905a](https://github.com/youzan/vant/commit/7b905a6de85b895e2226c35875ee3633c2ae7e79)
+- ImagePreview: 修复 close 事件重复触发的问题 [#5410](https://github.com/youzan/vant/issues/5410)
+- PullRefresh: 修复下拉到顶部时可能不触发下拉刷新的问题 [e00058](https://github.com/youzan/vant/commit/e00058b681d8796feaaaa4a9f2c4083a18b61fe9)
+- Tag: 修复动态设置 closeable 时动画错误的问题 [fe6e2f](https://github.com/youzan/vant/commit/fe6e2f29ba289206138fe17df046a55000b218ad)
+- Tag: 修复 close 时会触发 click 事件的问题 [#5351](https://github.com/youzan/vant/issues/5351)
+- Toast: 修复同时存在多个 Toast 时 forbidClick 可能失效的问题 [#5398](https://github.com/youzan/vant/issues/5398)
+- Picker: 修复在桌面端使用时拖动后回弹的问题 [#5430](https://github.com/youzan/vant/issues/5430)
+- Stepper: 修复在 safari 上禁用时文字颜色不正确的问题 [#5428](https://github.com/youzan/vant/issues/5428)
+- IndexBar: 修复 IndexAnchor 没有父容器时定位错误的问题 [#5429](https://github.com/youzan/vant/issues/5429)
**Types**
-* AddressEdit: 新增 setAddressDetail 方法的类型定义 [#5352](https://github.com/youzan/vant/issues/5352)
-* Area: 新增 reset 方法的类型定义 [#5353](https://github.com/youzan/vant/issues/5353)
-* Checkbox: 新增 toggle 方法的类型定义 [#5354](https://github.com/youzan/vant/issues/5354)
-* CountDown: 新增 start、end、reset 方法的类型定义 [0438bd](https://github.com/youzan/vant/commit/0438bdbc97a81ad8b7de18ef8784d9907ce641c6)
-* DropdownItem: 新增 toggle 方法的类型定义 [5c1883](https://github.com/youzan/vant/commit/5c1883f77c36d5026c60c873197dab98d4ca42f5)
-* Field: 新增 focus、blur 方法的类型定义 [0b5c8e](https://github.com/youzan/vant/commit/0b5c8e5f3df570292e8599e7c2ff997fbee120ce)
-* List: 新增 check 方法的类型定义 [285bce](https://github.com/youzan/vant/commit/285bce677c8997d55515a760f4d12b05349ebd3f)
-* Picker: 新增 getValues 等方法的类型定义 [46d2b0](https://github.com/youzan/vant/commit/46d2b094477b52a96e85d18ec6fc42051a832e10)
-* Sku: 新增 methods types [d2bb9f](https://github.com/youzan/vant/commit/d2bb9fa81b401e429296003e4c2ec8c0e544d2af)
-* Swipe: 新增 swipeTo、resize 方法的类型定义 [a1831b](https://github.com/youzan/vant/commit/a1831b86387f1127325b9952d2d18349d41dc5c7)
-* SwipeCell: 新增 open、close 方法的类型定义 [9a9676](https://github.com/youzan/vant/commit/9a9676d6af7d29ac2221761ad680cecd4e929a39)
-* Tabs: 新增 resize 方法的类型定义 [3c526e](https://github.com/youzan/vant/commit/3c526ec1a26b5a38bc6a6ba2ded7a3db94bbcced)
-* Uploader: 新增 closeImagePreview 方法的类型定义 [cf191e](https://github.com/youzan/vant/commit/cf191e09cbc8093bb72f5d1e9381b263cdf9f0d2)
-
+- AddressEdit: 新增 setAddressDetail 方法的类型定义 [#5352](https://github.com/youzan/vant/issues/5352)
+- Area: 新增 reset 方法的类型定义 [#5353](https://github.com/youzan/vant/issues/5353)
+- Checkbox: 新增 toggle 方法的类型定义 [#5354](https://github.com/youzan/vant/issues/5354)
+- CountDown: 新增 start、end、reset 方法的类型定义 [0438bd](https://github.com/youzan/vant/commit/0438bdbc97a81ad8b7de18ef8784d9907ce641c6)
+- DropdownItem: 新增 toggle 方法的类型定义 [5c1883](https://github.com/youzan/vant/commit/5c1883f77c36d5026c60c873197dab98d4ca42f5)
+- Field: 新增 focus、blur 方法的类型定义 [0b5c8e](https://github.com/youzan/vant/commit/0b5c8e5f3df570292e8599e7c2ff997fbee120ce)
+- List: 新增 check 方法的类型定义 [285bce](https://github.com/youzan/vant/commit/285bce677c8997d55515a760f4d12b05349ebd3f)
+- Picker: 新增 getValues 等方法的类型定义 [46d2b0](https://github.com/youzan/vant/commit/46d2b094477b52a96e85d18ec6fc42051a832e10)
+- Sku: 新增 methods types [d2bb9f](https://github.com/youzan/vant/commit/d2bb9fa81b401e429296003e4c2ec8c0e544d2af)
+- Swipe: 新增 swipeTo、resize 方法的类型定义 [a1831b](https://github.com/youzan/vant/commit/a1831b86387f1127325b9952d2d18349d41dc5c7)
+- SwipeCell: 新增 open、close 方法的类型定义 [9a9676](https://github.com/youzan/vant/commit/9a9676d6af7d29ac2221761ad680cecd4e929a39)
+- Tabs: 新增 resize 方法的类型定义 [3c526e](https://github.com/youzan/vant/commit/3c526ec1a26b5a38bc6a6ba2ded7a3db94bbcced)
+- Uploader: 新增 closeImagePreview 方法的类型定义 [cf191e](https://github.com/youzan/vant/commit/cf191e09cbc8093bb72f5d1e9381b263cdf9f0d2)
### [v2.3.3](https://github.com/youzan/vant/tree/v2.3.3)
+
`2019-12-21`
**Bug Fixes**
- 修复 babel-plugin-import 按需引入部分组件时编译报错的问题
-
### [v2.3.2](https://github.com/youzan/vant/tree/v2.3.2)
+
`2019-12-20`
**Bug Fixes**
@@ -230,16 +347,16 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 CountDown 在特定情况下内部计时器未清除的问题 [\#5340](https://github.com/youzan/vant/pull/5340)
- 修复 ImagePreview 在特定情况下会重复 onClose 回调的问题 [\#5341](https://github.com/youzan/vant/pull/5341)
-
### [v2.3.1](https://github.com/youzan/vant/tree/v2.3.1)
+
`2019-12-20`
**Bug Fixes**
- 修复全量引入组件时,入口文件中存在未编译的 ES6 代码的问题
-
### [v2.3.0](https://github.com/youzan/vant/tree/v2.3.0)
+
`2019-12-20`
**Style**
@@ -301,8 +418,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 Uploader 重复上传同张图片时不会触发 oversize 事件的问题 [\#5177](https://github.com/youzan/vant/pull/5177)
- 修复主题定制时使用低版本 Less 会报错的问题 [\#5157](https://github.com/youzan/vant/pull/5157)
-
### [v2.2.16](https://github.com/youzan/vant/tree/v2.2.16)
+
`2019-12-03`
**Features**
@@ -310,16 +427,16 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- Stepper: 新增 disable-plus 属性 [\#5180](https://github.com/youzan/vant/pull/5180)
- Stepper: 新增 disable-minus 属性 [\#5180](https://github.com/youzan/vant/pull/5180)
-
### [v2.2.15](https://github.com/youzan/vant/tree/v2.2.15)
+
`2019-11-28`
**Bug Fixes**
- 修复 List 组件在部分情况下加载状态未重置的问题
-
### [v2.2.14](https://github.com/youzan/vant/tree/v2.2.14)
+
`2019-11-22`
**Features**
@@ -336,8 +453,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 Tabbar 设置 safe-area-inset-bottom 后可能出现样式错位的问题 [\#5079](https://github.com/youzan/vant/pull/5079)
- 修复 DropdownMenu 使用 get-container 属性时点击后会立即关闭的问题 [\#5047](https://github.com/youzan/vant/pull/5047)
-
### [v2.2.13](https://github.com/youzan/vant/tree/v2.2.13)
+
`2019-11-14`
**Features**
@@ -360,8 +477,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 DateTimePicker 动态设置 max-hour 并小于 v-model 绑定的时间时出现错误的问题 [\#5006](https://github.com/youzan/vant/pull/5006)
- 修复 ImagePreview 类型中定义缺少 swipeDuration 选项的问题 [\#4968](https://github.com/youzan/vant/pull/4968)
-
### [v2.2.12](https://github.com/youzan/vant/tree/v2.2.12)
+
`2019-11-07`
**Features**
@@ -375,8 +492,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 List 在初始化时可能同时触发两次 load 事件的问题 [\#4953](https://github.com/youzan/vant/pull/4953)
- 修复 @border-color 变量无法定制某些组件边框颜色的问题 [\#4939](https://github.com/youzan/vant/pull/4939)
-
### [v2.2.11](https://github.com/youzan/vant/tree/v2.2.11)
+
`2019-11-04`
**Features**
@@ -393,8 +510,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 CountDown 在 keep-alive 状态下未暂停定时器的问题 [\#4919](https://github.com/youzan/vant/pull/4919)
- 修复 Grid 使用 icon 插槽时 info、dot 属性不生效的问题 [\#4902](https://github.com/youzan/vant/pull/4902)
-
### [v2.2.10](https://github.com/youzan/vant/tree/v2.2.10)
+
`2019-10-27`
**Features**
@@ -409,8 +526,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 Uploader 文件预览圆角样式错误的问题 [\#4846](https://github.com/youzan/vant/pull/4846)
- 修复 DatetimePicker 同时使用 min-date 和 filter 时初始值错误的问题 [\#4837](https://github.com/youzan/vant/pull/4837)
-
### [v2.2.9](https://github.com/youzan/vant/tree/v2.2.9)
+
`2019-10-20`
**Features**
@@ -430,8 +547,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 ImagePreview 点击索引时会关闭预览的问题 [\#4764](https://github.com/youzan/vant/pull/4764)
- 修复 AddressEdit 设置 area-placeholder 后无法选择海外地址的问题 [\#4769](https://github.com/youzan/vant/pull/4769)
-
### [v2.2.8](https://github.com/youzan/vant/tree/v2.2.8)
+
`2019-10-17`
**Features**
@@ -452,8 +569,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 Rate 由于 inline-block 导致的错误高度 [\#4693](https://github.com/youzan/vant/pull/4693)
- 修复 AddressEdit 省市区未选择完全时能够保存的问题 [\#4724](https://github.com/youzan/vant/pull/4724)
-
### [v2.2.7](https://github.com/youzan/vant/tree/v2.2.7)
+
`2019-10-11`
**Features**
@@ -471,8 +588,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 DatetimePicker 动态修改时间范围时, confirm 事件无法获取到正确结果的问题 [\#4676](https://github.com/youzan/vant/pull/4676)
- 修复 Field 同时设置 error 和 disabled 属性时文字颜色错误的问题 [\#4666](https://github.com/youzan/vant/pull/4666)
-
### [v2.2.6](https://github.com/youzan/vant/tree/v2.2.6)
+
`2019-10-08`
**Features**
@@ -492,8 +609,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 AddressList input 事件重复触发的问题 [\#4659](https://github.com/youzan/vant/pull/4659)
- 修复 NumberKeyboard 在 Vue 2.6 下的兼容问题 [\#4632](https://github.com/youzan/vant/pull/4632)
-
### [v2.2.5](https://github.com/youzan/vant/tree/v2.2.5)
+
`2019-09-28`
**Features**
@@ -513,16 +630,16 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 Swipe swipeTo 方法在某些边界情况下过渡动画不正确的问题 [\#4570](https://github.com/youzan/vant/pull/4570)
- 修复 Uploader 预览 URL 相同的图片时索引错误的问题 [\#4577](https://github.com/youzan/vant/pull/4577)
-
### [v2.2.4](https://github.com/youzan/vant/tree/v2.2.4) [已废弃]
+
`2019-09-28` 🇨🇳
**Tips**
- 本版本存在样式丢失问题,请使用 2.2.5 版本
-
### [v2.2.3](https://github.com/youzan/vant/tree/v2.2.3)
+
`2019-09-24`
**Features**
@@ -542,8 +659,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- ActionSheet: 默认开启 safe-area-inset-bottom 属性 [\#4524](https://github.com/youzan/vant/pull/4524)
- NumberKeyboard: 默认开启 safe-area-inset-bottom 属性 [\#4544](https://github.com/youzan/vant/pull/4544)
-
### [v2.2.2](https://github.com/youzan/vant/tree/v2.2.2)
+
`2019-09-19`
**Features**
@@ -561,8 +678,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 DatetimePicker 选项为纯文字时陷入死循环的问题 [\#4485](https://github.com/youzan/vant/pull/4485)
- 修复 ImagePreview 手势缩放时可能出现缩放比例异常的问题 [\#4477](https://github.com/youzan/vant/pull/4477)
-
### [v2.2.1](https://github.com/youzan/vant/tree/v2.2.1)
+
`2019-09-12`
**Features**
@@ -588,8 +705,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 Uploader 删除时会触发 click-preview 事件的问题 [\#4407](https://github.com/youzan/vant/pull/4407)
- 修复 Progress 文字位置不准确的问题 [\#4396](https://github.com/youzan/vant/pull/4396)
-
### [v2.2.0](https://github.com/youzan/vant/tree/v2.2.0)
+
`2019-09-06`
**Features**
@@ -619,8 +736,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 ImagePreview 在关闭后未重置图片缩放状态的问题 [\#4319](https://github.com/youzan/vant/pull/4319)
- 修复 ImagePreview 在某些情况下页码不正确的问题 [\#4320](https://github.com/youzan/vant/pull/4320)
-
### [v2.1.8](https://github.com/youzan/vant/tree/v2.1.8)
+
`2019-08-29`
**Features**
@@ -636,8 +753,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 Picker 滑动暂停时位置错误的问题 [\#4277](https://github.com/youzan/vant/pull/4277)
- 修复 Picker 滑动结束时触发点击会跳动的问题 [\#4273](https://github.com/youzan/vant/pull/4273)
-
### [v2.1.7](https://github.com/youzan/vant/tree/v2.1.7)
+
`2019-08-26`
**Bug Fixes**
@@ -645,8 +762,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 RadioGroup 设置 disabled 属性后仍能切换的问题 [\#4242](https://github.com/youzan/vant/pull/4242)
- 修复 CheckboxGroup 设置 disabled 属性后仍能切换的问题 [\#4242](https://github.com/youzan/vant/pull/4242)
-
### [v2.1.6](https://github.com/youzan/vant/tree/v2.1.6)
+
`2019-08-26`
**Features**
@@ -665,8 +782,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 NumberKeyboard 使用 title 属性时按钮位置错误的问题 [\#4228](https://github.com/youzan/vant/pull/4228)
- 修复 IndexBar 在 sticky 模式下锚点位置可能超出元素边界的问题 [\#4218](https://github.com/youzan/vant/pull/4218)
-
### [v2.1.5](https://github.com/youzan/vant/tree/v2.1.5)
+
`2019-08-23`
**Features**
@@ -683,8 +800,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 IndexBar 在局部滚动容器内计算错误的问题 [\#4184](https://github.com/youzan/vant/pull/4184)
- 修复 NumberKeyboard 按键边框颜色错误的问题 [\#4183](https://github.com/youzan/vant/pull/4183)
-
### [v2.1.4](https://github.com/youzan/vant/tree/v2.1.4)
+
`2019-08-21`
**Features**
@@ -709,8 +826,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 Tabbar 触发 vue-router 路由重复跳转提示的问题 [\#4147](https://github.com/youzan/vant/pull/4147)
- 修复 Picker 样式可能被重复引入的 base 样式覆盖的问题 [\#4136](https://github.com/youzan/vant/pull/4136)
-
### [v2.1.3](https://github.com/youzan/vant/tree/v2.1.3)
+
`2019-08-15`
**Features**
@@ -731,8 +848,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 Icon gift-o、refund-o 图标不完整的问题 [\#4089](https://github.com/youzan/vant/pull/4089)
- 修复 Slider 位置未改变时也会触发 change 事件的问题 [\#4087](https://github.com/youzan/vant/pull/4087)
-
### [v2.1.2](https://github.com/youzan/vant/tree/v2.1.2)
+
`2019-08-10`
**Features**
@@ -755,8 +872,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 Sticky 在局部滚动容器内位置错误的问题 [\#4055](https://github.com/youzan/vant/pull/4055)
-
### [v2.1.1](https://github.com/youzan/vant/tree/v2.1.1)
+
`2019-08-02`
**Bug Fixes**
@@ -764,8 +881,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 DatetimePicker 事件无法触发的问题 [\#4027](https://github.com/youzan/vant/pull/4027)
- 修复 Popup 设置 z-index 顺序错误的问题 [\#4026](https://github.com/youzan/vant/pull/4026)
-
### [v2.1.0](https://github.com/youzan/vant/tree/v2.1.0)
+
`2019-08-01` 🇨🇳
**Features**
@@ -796,8 +913,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 Tabs 在 sticky 模式下滚动回到顶部时存在 1 像素偏差的问题 [\#3949](https://github.com/youzan/vant/pull/3949)
- 修复 DatetimePicker 使用 formatter 且为 time 类型时 confirm 事件参数错误的问题 [\#3969](https://github.com/youzan/vant/pull/3969)
-
### [v2.0.9](https://github.com/youzan/vant/tree/v2.0.9)
+
`2019-07-19`
**Features**
@@ -819,8 +936,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 Dialog closeOnPopstate 无法被禁用的问题 [\#3868](https://github.com/youzan/vant/pull/3868)
- 修复 DropdownMenu toggle 方法无法打开菜单的问题 [\#3876](https://github.com/youzan/vant/pull/3876)
-
### [v2.0.8](https://github.com/youzan/vant/tree/v2.0.8)
+
`2019-07-16`
**Features**
@@ -836,8 +953,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 List 在 body 标签添加滚动样式时异常的问题 [\#3844](https://github.com/youzan/vant/pull/3844)
- 修复 IndexBar 在某些情况下 active 锚点失效的问题 [\#3832](https://github.com/youzan/vant/pull/3832)
-
### [v2.0.7](https://github.com/youzan/vant/tree/v2.0.7)
+
`2019-07-11`
**Features**
@@ -857,8 +974,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 Dialog closeOnPopstate 方法缺少类型定义的问题 [\#3789](https://github.com/youzan/vant/pull/3789)
- 修复 DatetimePicker 使用 filter 属性且为 time 类型时 confirm 事件参数错误的问题 [\#3816](https://github.com/youzan/vant/pull/3816)
-
### [v2.0.6](https://github.com/youzan/vant/tree/v2.0.6)
+
`2019-07-05`
**Features**
@@ -874,8 +991,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 PullRefresh 同步修改 loading 时状态错误的问题 [\#3719](https://github.com/youzan/vant/pull/3719)
- 修复 Collapse 在 safari 浏览器上渲染内容较多时高度错误的问题 [\#3723](https://github.com/youzan/vant/pull/3723)
-
### [v2.0.5](https://github.com/youzan/vant/tree/v2.0.5)
+
`2019-07-02`
**Features**
@@ -888,8 +1005,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 postcss 配置对 vant 不生效的问题
-
### [v2.0.4](https://github.com/youzan/vant/tree/v2.0.4) 🇨🇳
+
`2019-07-01`
**Features**
@@ -909,8 +1026,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 Collapse 在 safari 浏览器上动画可能闪烁的问题 [\#3686](https://github.com/youzan/vant/pull/3686)
- 修复 Picker 在低版本 Android 机器上的兼容性问题 [\#3688](https://github.com/youzan/vant/pull/3688)
-
### [v2.0.3](https://github.com/youzan/vant/tree/v2.0.3)
+
`2019-06-27`
**Features**
@@ -932,8 +1049,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 Tab 使用 title slot 时可能报错的问题 [\#3631](https://github.com/youzan/vant/pull/3631)
- 修复 vetur 插件自动补全组件属性不生效的问题 [\#3617](https://github.com/youzan/vant/pull/3617)
-
### [v2.0.2](https://github.com/youzan/vant/tree/v2.0.2)
+
`2019-06-21`
**Features**
@@ -941,7 +1058,7 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- Picker: 优化滚动速率 [\#3556](https://github.com/youzan/vant/pull/3556)
- Card: 新增 click-thumb 事件 [\#3586](https://github.com/youzan/vant/pull/3586)
- CouponList: 新增 enabled-title、disabled-title 属性 [\#3578](https://github.com/youzan/vant/pull/3578)
-- Slider: 支持传入任意范围的 min、max 值 [\#3566](https://github.com/youzan/vant/pull/3566)
+- Slider: 支持传入任意范围的 min、max 值 [\#3566](https://github.com/youzan/vant/pull/3566)
- Uploader: 支持 before-read 属性返回 Promise [\#3572](https://github.com/youzan/vant/pull/3572)
- NumberKeyboard: 支持 v-model 绑定输入值 [\#3531](https://github.com/youzan/vant/pull/3531)
- NumberKeyboard: 新增 maxlength 属性 [\#3532](https://github.com/youzan/vant/pull/3532)
@@ -953,8 +1070,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 Button 在 safari 浏览器上存在外边距的问题 [\#3577](https://github.com/youzan/vant/pull/3577)
- 修复 Toast clear 方法类型定义缺少参数的问题 [\#3542](https://github.com/youzan/vant/pull/3542)
-
### [v2.0.1](https://github.com/youzan/vant/tree/v2.0.1)
+
`2019-06-15`
**Features**
@@ -972,8 +1089,8 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
- 修复 Locale 函数类型文案无法修改的问题 [\#3498](https://github.com/youzan/vant/pull/3498)
- 修复 Toast 在 multiple 模式下没有淡出动画的问题 [\#3504](https://github.com/youzan/vant/pull/3504)
-
### [v2.0.0](https://github.com/youzan/vant/tree/v2.0.0)
+
`2019-06-12`
#### 主要变动
diff --git a/docs/markdown/home.zh-CN.md b/docs/markdown/home.zh-CN.md
index 6d6b9d9b6..5b161f26c 100644
--- a/docs/markdown/home.zh-CN.md
+++ b/docs/markdown/home.zh-CN.md
@@ -19,17 +19,17 @@
### 快速上手
-请参考 [快速上手](#/zh-CN/quickstart) 章节
+请参考[快速上手](#/zh-CN/quickstart)章节。
### 贡献代码
-修改代码请阅读我们的 [开发指南](#/zh-CN/contribution)
+修改代码请阅读我们的[开发指南](#/zh-CN/contribution)。
-使用过程中发现任何问题都可以提 [Issue](https://github.com/youzan/vant/issues) 给我们,当然,我们也非常欢迎你给我们发 [PR](https://github.com/youzan/vant/pulls)
+使用过程中发现任何问题都可以提 [Issue](https://github.com/youzan/vant/issues) 给我们,当然,我们也非常欢迎你给我们发 [PR](https://github.com/youzan/vant/pulls)。
### 浏览器支持
-现代浏览器以及 Android 4.0+, iOS 8.0+
+现代浏览器以及 Android 4.0+, iOS 8.0+。
### 加入我们
diff --git a/package.json b/package.json
index 2ef6d918e..e1a29ee63 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "vant",
- "version": "2.4.7-beta.0",
+ "version": "2.5.3",
"description": "Mobile UI Components built on Vue",
"main": "lib/index.js",
"module": "es/index.js",
@@ -63,7 +63,7 @@
"vue": ">= 2.5.22"
},
"devDependencies": {
- "@vant/cli": "^2.2.2",
+ "@vant/cli": "^2.2.4",
"vue": "^2.6.11",
"vue-template-compiler": "^2.6.11"
},
diff --git a/packages/vant-cli/changelog.md b/packages/vant-cli/changelog.md
index 4255e3c0c..fa52d725b 100644
--- a/packages/vant-cli/changelog.md
+++ b/packages/vant-cli/changelog.md
@@ -1,5 +1,17 @@
# 更新日志
+### [v2.2.4]
+`2020-02-14`
+
+- 修复在 windows 上构建出的样式入口文件路径错误的问题 ([#5655](https://github.com/youzan/vant/pull/5655)
+
+
+### [v2.2.3]
+`2020-02-13`
+
+- 链接颜色调整为蓝色
+
+
### [v2.2.2]
`2020-02-05`
diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json
index e56d5a7aa..c0d84a957 100644
--- a/packages/vant-cli/package.json
+++ b/packages/vant-cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@vant/cli",
- "version": "2.2.2",
+ "version": "2.2.4",
"description": "",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
@@ -33,13 +33,13 @@
"vue-template-compiler": "^2.5.22"
},
"devDependencies": {
- "@types/fs-extra": "^8.0.1",
+ "@types/fs-extra": "^8.1.0",
"@types/html-webpack-plugin": "^3.2.2",
"@types/lodash": "^4.14.149",
"@types/postcss-load-config": "^2.0.1",
"@types/sass": "^1.16.0",
"@types/shelljs": "^0.8.6",
- "@types/webpack": "^4.41.4",
+ "@types/webpack": "^4.41.6",
"@types/webpack-dev-server": "^3.10.0",
"@types/webpack-merge": "^4.1.5"
},
@@ -51,7 +51,7 @@
"@babel/preset-env": "^7.8.4",
"@babel/preset-typescript": "^7.8.3",
"@nuxt/friendly-errors-webpack-plugin": "^2.5.0",
- "@types/jest": "^25.1.1",
+ "@types/jest": "^25.1.3",
"@vant/eslint-config": "^2.0.0",
"@vant/markdown-loader": "^2.3.0",
"@vant/markdown-vetur": "^1.1.0",
@@ -68,40 +68,40 @@
"cache-loader": "^4.1.0",
"chokidar": "^3.3.1",
"clean-css": "^4.2.3",
- "codecov": "^3.6.4",
+ "codecov": "^3.6.5",
"commander": "^4.1.1",
"consola": "^2.11.3",
"conventional-changelog": "^3.1.18",
"cross-env": "^7.0.0",
"css-loader": "^3.4.2",
"eslint": "^6.8.0",
- "fast-glob": "^3.1.1",
+ "fast-glob": "^3.2.1",
"gh-pages": "2.0.1",
"html-webpack-plugin": "3.2.0",
- "husky": "^4.2.1",
+ "husky": "^4.2.3",
"jest": "^25.1.0",
"jest-canvas-mock": "^2.2.0",
"jest-serializer-vue": "^2.0.2",
- "less": "^3.10.3",
+ "less": "^3.11.1",
"less-loader": "^5.0.0",
"lint-staged": "^10.0.7",
"lodash": "^4.17.15",
"ora": "^4.0.3",
"portfinder": "^1.0.25",
- "postcss": "^7.0.26",
+ "postcss": "^7.0.27",
"postcss-loader": "^3.0.0",
- "release-it": "^12.4.3",
+ "release-it": "^12.6.0",
"sass": "^1.25.0",
"sass-loader": "^8.0.2",
"shelljs": "^0.8.3",
"style-loader": "^1.1.3",
- "stylelint": "^13.0.0",
- "typescript": "^3.7.5",
+ "stylelint": "^13.2.0",
+ "typescript": "^3.8.2",
"vue-jest": "4.0.0-beta.2",
- "vue-loader": "^15.8.3",
+ "vue-loader": "^15.9.0",
"vue-router": "^3.1.5",
- "webpack": "^4.41.5",
- "webpack-dev-server": "3.10.2",
+ "webpack": "^4.41.6",
+ "webpack-dev-server": "3.10.3",
"webpack-merge": "^4.2.2",
"webpackbar": "^4.0.0"
},
diff --git a/packages/vant-cli/site/desktop/components/Content.vue b/packages/vant-cli/site/desktop/components/Content.vue
index 9ddbc2ad0..bc5248400 100644
--- a/packages/vant-cli/site/desktop/components/Content.vue
+++ b/packages/vant-cli/site/desktop/components/Content.vue
@@ -37,8 +37,17 @@ export default {
}
a {
- color: @van-doc-green;
+ margin: 0 1px;
+ color: @van-doc-blue;
-webkit-font-smoothing: auto;
+
+ &:hover {
+ color: darken(@van-doc-blue, 10%);
+ }
+
+ &:active {
+ color: darken(@van-doc-blue, 20%);
+ }
}
h1,
@@ -162,7 +171,7 @@ export default {
box-sizing: border-box;
width: 6px;
height: 6px;
- margin-top: 8px;
+ margin-top: 10px;
border: 1px solid @van-doc-dark-grey;
border-radius: 50%;
content: '';
diff --git a/packages/vant-cli/src/common/index.ts b/packages/vant-cli/src/common/index.ts
index 0d01f02ae..a10b3bb4c 100644
--- a/packages/vant-cli/src/common/index.ts
+++ b/packages/vant-cli/src/common/index.ts
@@ -1,4 +1,4 @@
-import { join } from 'path';
+import { sep, join } from 'path';
import {
lstatSync,
existsSync,
@@ -15,8 +15,8 @@ import {
export const EXT_REGEXP = /\.\w+$/;
export const SFC_REGEXP = /\.(vue)$/;
-export const DEMO_REGEXP = /\/demo$/;
-export const TEST_REGEXP = /\/test$/;
+export const DEMO_REGEXP = new RegExp('\\' + sep + 'demo$');
+export const TEST_REGEXP = new RegExp('\\' + sep + 'test$');
export const STYLE_REGEXP = /\.(css|less|scss)$/;
export const SCRIPT_REGEXP = /\.(js|ts|jsx|tsx)$/;
export const ENTRY_EXTS = ['js', 'ts', 'tsx', 'jsx', 'vue'];
diff --git a/packages/vant-cli/src/compiler/gen-component-style.ts b/packages/vant-cli/src/compiler/gen-component-style.ts
index e557d329b..94781646b 100644
--- a/packages/vant-cli/src/compiler/gen-component-style.ts
+++ b/packages/vant-cli/src/compiler/gen-component-style.ts
@@ -2,7 +2,7 @@
* Build style entry of all components
*/
-import { join, relative } from 'path';
+import { sep, join, relative } from 'path';
import { outputFileSync } from 'fs-extra';
import { getComponents, replaceExt } from '../common';
import { CSS_LANG, getCssBaseFile } from '../common/css';
@@ -72,7 +72,7 @@ function genEntry(params: {
}
content += depsPath.map(template).join('\n');
-
+ content = content.replace(new RegExp('\\' + sep, 'g'), '/');
outputFileSync(outputFile, content);
});
}
diff --git a/packages/vant-cli/src/compiler/gen-style-deps-map.ts b/packages/vant-cli/src/compiler/gen-style-deps-map.ts
index 815bd69ef..102d130ad 100644
--- a/packages/vant-cli/src/compiler/gen-style-deps-map.ts
+++ b/packages/vant-cli/src/compiler/gen-style-deps-map.ts
@@ -1,4 +1,4 @@
-import { join } from 'path';
+import { relative, sep, join } from 'path';
import { CSS_LANG } from '../common/css';
import { existsSync } from 'fs-extra';
import { getDeps, clearDepsCache, fillExt } from './get-deps';
@@ -6,10 +6,9 @@ import { getComponents, smartOutputFile } from '../common';
import { SRC_DIR, STYPE_DEPS_JSON_FILE } from '../common/constant';
function matchPath(path: string, component: string): boolean {
- return path
- .replace(SRC_DIR, '')
- .split('/')
- .includes(component);
+ const p = relative(SRC_DIR, path);
+ const arr = p.split(sep);
+ return arr.includes(component);
}
function getStylePath(component: string) {
diff --git a/packages/vant-cli/yarn.lock b/packages/vant-cli/yarn.lock
index 713e2e91e..d25c3677b 100644
--- a/packages/vant-cli/yarn.lock
+++ b/packages/vant-cli/yarn.lock
@@ -1268,6 +1268,13 @@
error-stack-parser "^2.0.0"
string-width "^2.0.0"
+"@octokit/auth-token@^2.4.0":
+ version "2.4.0"
+ resolved "https://registry.npm.taobao.org/@octokit/auth-token/download/@octokit/auth-token-2.4.0.tgz#b64178975218b99e4dfe948253f0673cbbb59d9f"
+ integrity sha1-tkF4l1IYuZ5N/pSCU/BnPLu1nZ8=
+ dependencies:
+ "@octokit/types" "^2.0.0"
+
"@octokit/endpoint@^5.5.0":
version "5.5.1"
resolved "https://registry.npm.taobao.org/@octokit/endpoint/download/@octokit/endpoint-5.5.1.tgz?cache=0&sync_timestamp=1572751977515&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40octokit%2Fendpoint%2Fdownload%2F%40octokit%2Fendpoint-5.5.1.tgz#2eea81e110ca754ff2de11c79154ccab4ae16b3f"
@@ -1277,6 +1284,26 @@
is-plain-object "^3.0.0"
universal-user-agent "^4.0.0"
+"@octokit/plugin-paginate-rest@^1.1.1":
+ version "1.1.2"
+ resolved "https://registry.npm.taobao.org/@octokit/plugin-paginate-rest/download/@octokit/plugin-paginate-rest-1.1.2.tgz#004170acf8c2be535aba26727867d692f7b488fc"
+ integrity sha1-AEFwrPjCvlNauiZyeGfWkve0iPw=
+ dependencies:
+ "@octokit/types" "^2.0.1"
+
+"@octokit/plugin-request-log@^1.0.0":
+ version "1.0.0"
+ resolved "https://registry.npm.taobao.org/@octokit/plugin-request-log/download/@octokit/plugin-request-log-1.0.0.tgz#eef87a431300f6148c39a7f75f8cfeb218b2547e"
+ integrity sha1-7vh6QxMA9hSMOaf3X4z+shiyVH4=
+
+"@octokit/plugin-rest-endpoint-methods@2.4.0":
+ version "2.4.0"
+ resolved "https://registry.npm.taobao.org/@octokit/plugin-rest-endpoint-methods/download/@octokit/plugin-rest-endpoint-methods-2.4.0.tgz#3288ecf5481f68c494dd0602fc15407a59faf61e"
+ integrity sha1-Mojs9UgfaMSU3QYC/BVAeln69h4=
+ dependencies:
+ "@octokit/types" "^2.0.1"
+ deprecation "^2.3.1"
+
"@octokit/request-error@^1.0.1", "@octokit/request-error@^1.0.2":
version "1.2.0"
resolved "https://registry.npm.taobao.org/@octokit/request-error/download/@octokit/request-error-1.2.0.tgz#a64d2a9d7a13555570cd79722de4a4d76371baaa"
@@ -1286,9 +1313,9 @@
deprecation "^2.0.0"
once "^1.4.0"
-"@octokit/request@^5.0.0":
+"@octokit/request@^5.2.0":
version "5.3.1"
- resolved "https://registry.npm.taobao.org/@octokit/request/download/@octokit/request-5.3.1.tgz?cache=0&sync_timestamp=1572751373746&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40octokit%2Frequest%2Fdownload%2F%40octokit%2Frequest-5.3.1.tgz#3a1ace45e6f88b1be4749c5da963b3a3b4a2f120"
+ resolved "https://registry.npm.taobao.org/@octokit/request/download/@octokit/request-5.3.1.tgz#3a1ace45e6f88b1be4749c5da963b3a3b4a2f120"
integrity sha1-OhrOReb4ixvkdJxdqWOzo7Si8SA=
dependencies:
"@octokit/endpoint" "^5.5.0"
@@ -1300,12 +1327,16 @@
once "^1.4.0"
universal-user-agent "^4.0.0"
-"@octokit/rest@16.33.0":
- version "16.33.0"
- resolved "https://registry.npm.taobao.org/@octokit/rest/download/@octokit/rest-16.33.0.tgz#13c1404b24c9871419eb31029de177e82f3eb851"
- integrity sha1-E8FASyTJhxQZ6zECneF36C8+uFE=
+"@octokit/rest@16.43.1":
+ version "16.43.1"
+ resolved "https://registry.npm.taobao.org/@octokit/rest/download/@octokit/rest-16.43.1.tgz#3b11e7d1b1ac2bbeeb23b08a17df0b20947eda6b"
+ integrity sha1-OxHn0bGsK77rI7CKF98LIJR+2ms=
dependencies:
- "@octokit/request" "^5.0.0"
+ "@octokit/auth-token" "^2.4.0"
+ "@octokit/plugin-paginate-rest" "^1.1.1"
+ "@octokit/plugin-request-log" "^1.0.0"
+ "@octokit/plugin-rest-endpoint-methods" "2.4.0"
+ "@octokit/request" "^5.2.0"
"@octokit/request-error" "^1.0.2"
atob-lite "^2.0.0"
before-after-hook "^2.0.0"
@@ -1325,6 +1356,13 @@
dependencies:
"@types/node" ">= 8"
+"@octokit/types@^2.0.1":
+ version "2.1.1"
+ resolved "https://registry.npm.taobao.org/@octokit/types/download/@octokit/types-2.1.1.tgz#77e80d1b663c5f1f829e5377b728fa3c4fe5a97d"
+ integrity sha1-d+gNG2Y8Xx+CnlN3tyj6PE/lqX0=
+ dependencies:
+ "@types/node" ">= 8"
+
"@samverschueren/stream-to-observable@^0.3.0":
version "0.3.0"
resolved "https://registry.npm.taobao.org/@samverschueren/stream-to-observable/download/@samverschueren/stream-to-observable-0.3.0.tgz#ecdf48d532c58ea477acfcab80348424f8d0662f"
@@ -1451,10 +1489,10 @@
"@types/express-serve-static-core" "*"
"@types/serve-static" "*"
-"@types/fs-extra@^8.0.1":
- version "8.0.1"
- resolved "https://registry.npm.taobao.org/@types/fs-extra/download/@types/fs-extra-8.0.1.tgz?cache=0&sync_timestamp=1572462261213&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Ffs-extra%2Fdownload%2F%40types%2Ffs-extra-8.0.1.tgz#a2378d6e7e8afea1564e44aafa2e207dadf77686"
- integrity sha1-ojeNbn6K/qFWTkSq+i4gfa33doY=
+"@types/fs-extra@^8.1.0":
+ version "8.1.0"
+ resolved "https://registry.npm.taobao.org/@types/fs-extra/download/@types/fs-extra-8.1.0.tgz#1114834b53c3914806cd03b3304b37b3bd221a4d"
+ integrity sha1-ERSDS1PDkUgGzQOzMEs3s70iGk0=
dependencies:
"@types/node" "*"
@@ -1521,10 +1559,10 @@
"@types/istanbul-lib-coverage" "*"
"@types/istanbul-lib-report" "*"
-"@types/jest@^25.1.1":
- version "25.1.1"
- resolved "https://registry.npm.taobao.org/@types/jest/download/@types/jest-25.1.1.tgz?cache=0&sync_timestamp=1580336346744&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fjest%2Fdownload%2F%40types%2Fjest-25.1.1.tgz#dcf65a8ee315b91ad39c0d358ae0ddc5602ab0e9"
- integrity sha1-3PZajuMVuRrTnA01iuDdxWAqsOk=
+"@types/jest@^25.1.3":
+ version "25.1.3"
+ resolved "https://registry.npm.taobao.org/@types/jest/download/@types/jest-25.1.3.tgz?cache=0&sync_timestamp=1582140089004&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fjest%2Fdownload%2F%40types%2Fjest-25.1.3.tgz#9b0b5addebccfb631175870be8ba62182f1bc35a"
+ integrity sha1-mwta3evM+2MRdYcL6LpiGC8bw1o=
dependencies:
jest-diff "^25.1.0"
pretty-format "^25.1.0"
@@ -1680,7 +1718,7 @@
"@types/source-list-map" "*"
source-map "^0.6.1"
-"@types/webpack@*", "@types/webpack@^4.41.4":
+"@types/webpack@*":
version "4.41.4"
resolved "https://registry.npm.taobao.org/@types/webpack/download/@types/webpack-4.41.4.tgz#6cd2d651d214c344640cbab1c82037289b0154cd"
integrity sha1-bNLWUdIUw0RkDLqxyCA3KJsBVM0=
@@ -1692,6 +1730,18 @@
"@types/webpack-sources" "*"
source-map "^0.6.0"
+"@types/webpack@^4.41.6":
+ version "4.41.6"
+ resolved "https://registry.npm.taobao.org/@types/webpack/download/@types/webpack-4.41.6.tgz#c76afbdef59159d12e3e1332dc264b75574722a2"
+ integrity sha1-x2r73vWRWdEuPhMy3CZLdVdHIqI=
+ dependencies:
+ "@types/anymatch" "*"
+ "@types/node" "*"
+ "@types/tapable" "*"
+ "@types/uglify-js" "*"
+ "@types/webpack-sources" "*"
+ source-map "^0.6.0"
+
"@types/yargs-parser@*":
version "13.1.0"
resolved "https://registry.npm.taobao.org/@types/yargs-parser/download/@types/yargs-parser-13.1.0.tgz#c563aa192f39350a1d18da36c5a8da382bbd8228"
@@ -2410,10 +2460,10 @@ async-limiter@~1.0.0:
resolved "https://registry.npm.taobao.org/async-limiter/download/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd"
integrity sha1-3TeelPDbgxCwgpH51kwyCXZmF/0=
-async-retry@1.2.3:
- version "1.2.3"
- resolved "https://registry.npm.taobao.org/async-retry/download/async-retry-1.2.3.tgz#a6521f338358d322b1a0012b79030c6f411d1ce0"
- integrity sha1-plIfM4NY0yKxoAEreQMMb0EdHOA=
+async-retry@1.3.1:
+ version "1.3.1"
+ resolved "https://registry.npm.taobao.org/async-retry/download/async-retry-1.3.1.tgz#139f31f8ddce50c0870b0ba558a6079684aaed55"
+ integrity sha1-E58x+N3OUMCHCwulWKYHloSq7VU=
dependencies:
retry "0.12.0"
@@ -2452,19 +2502,6 @@ autoprefixer@^9.0.0:
postcss "^7.0.21"
postcss-value-parser "^4.0.2"
-autoprefixer@^9.7.3:
- version "9.7.3"
- resolved "https://registry.npm.taobao.org/autoprefixer/download/autoprefixer-9.7.3.tgz#fd42ed03f53de9beb4ca0d61fb4f7268a9bb50b4"
- integrity sha1-/ULtA/U96b60yg1h+09yaKm7ULQ=
- dependencies:
- browserslist "^4.8.0"
- caniuse-lite "^1.0.30001012"
- chalk "^2.4.2"
- normalize-range "^0.1.2"
- num2fraction "^1.2.2"
- postcss "^7.0.23"
- postcss-value-parser "^4.0.2"
-
autoprefixer@^9.7.4:
version "9.7.4"
resolved "https://registry.npm.taobao.org/autoprefixer/download/autoprefixer-9.7.4.tgz?cache=0&sync_timestamp=1579071523214&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fautoprefixer%2Fdownload%2Fautoprefixer-9.7.4.tgz#f8bf3e06707d047f0641d87aee8cfb174b2a5378"
@@ -2661,19 +2698,19 @@ boolbase@~1.0.0:
resolved "https://registry.npm.taobao.org/boolbase/download/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24=
-boxen@^3.0.0:
- version "3.2.0"
- resolved "https://registry.npm.taobao.org/boxen/download/boxen-3.2.0.tgz#fbdff0de93636ab4450886b6ff45b92d098f45eb"
- integrity sha1-+9/w3pNjarRFCIa2/0W5LQmPRes=
+boxen@^4.2.0:
+ version "4.2.0"
+ resolved "https://registry.npm.taobao.org/boxen/download/boxen-4.2.0.tgz#e411b62357d6d6d36587c8ac3d5d974daa070e64"
+ integrity sha1-5BG2I1fW1tNlh8isPV2XTaoHDmQ=
dependencies:
ansi-align "^3.0.0"
camelcase "^5.3.1"
- chalk "^2.4.2"
+ chalk "^3.0.0"
cli-boxes "^2.2.0"
- string-width "^3.0.0"
- term-size "^1.2.0"
- type-fest "^0.3.0"
- widest-line "^2.0.0"
+ string-width "^4.1.0"
+ term-size "^2.1.0"
+ type-fest "^0.8.1"
+ widest-line "^3.1.0"
brace-expansion@^1.1.7:
version "1.1.11"
@@ -2791,15 +2828,6 @@ browserslist@^4.7.2:
electron-to-chromium "^1.3.295"
node-releases "^1.1.38"
-browserslist@^4.8.0:
- version "4.8.2"
- resolved "https://registry.npm.taobao.org/browserslist/download/browserslist-4.8.2.tgz?cache=0&sync_timestamp=1575559073248&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbrowserslist%2Fdownload%2Fbrowserslist-4.8.2.tgz#b45720ad5fbc8713b7253c20766f701c9a694289"
- integrity sha1-tFcgrV+8hxO3JTwgdm9wHJppQok=
- dependencies:
- caniuse-lite "^1.0.30001015"
- electron-to-chromium "^1.3.322"
- node-releases "^1.1.42"
-
browserslist@^4.8.3, browserslist@^4.8.5:
version "4.8.6"
resolved "https://registry.npm.taobao.org/browserslist/download/browserslist-4.8.6.tgz?cache=0&sync_timestamp=1580344947770&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbrowserslist%2Fdownload%2Fbrowserslist-4.8.6.tgz#96406f3f5f0755d272e27a66f4163ca821590a7e"
@@ -3016,11 +3044,6 @@ caniuse-lite@^1.0.30001004, caniuse-lite@^1.0.30001006:
resolved "https://registry.npm.taobao.org/caniuse-lite/download/caniuse-lite-1.0.30001010.tgz#397a14034d384260453cc81994f494626d34b938"
integrity sha1-OXoUA004QmBFPMgZlPSUYm00uTg=
-caniuse-lite@^1.0.30001012, caniuse-lite@^1.0.30001015:
- version "1.0.30001016"
- resolved "https://registry.npm.taobao.org/caniuse-lite/download/caniuse-lite-1.0.30001016.tgz?cache=0&sync_timestamp=1576477999349&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcaniuse-lite%2Fdownload%2Fcaniuse-lite-1.0.30001016.tgz#16ea48d7d6e8caf3cad3295c2d746fe38c4e7f66"
- integrity sha1-FupI19boyvPK0ylcLXRv44xOf2Y=
-
caniuse-lite@^1.0.30001020, caniuse-lite@^1.0.30001023:
version "1.0.30001025"
resolved "https://registry.npm.taobao.org/caniuse-lite/download/caniuse-lite-1.0.30001025.tgz#30336a8aca7f98618eb3cf38e35184e13d4e5fe6"
@@ -3043,14 +3066,13 @@ ccount@^1.0.0:
resolved "https://registry.npm.taobao.org/ccount/download/ccount-1.0.4.tgz#9cf2de494ca84060a2a8d2854edd6dfb0445f386"
integrity sha1-nPLeSUyoQGCiqNKFTt1t+wRF84Y=
-chalk@2.4.2, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.2, chalk@^2.4.1, chalk@^2.4.2:
- version "2.4.2"
- resolved "https://registry.npm.taobao.org/chalk/download/chalk-2.4.2.tgz?cache=0&sync_timestamp=1573282918610&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fchalk%2Fdownload%2Fchalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
- integrity sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=
+chalk@3.0.0, chalk@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.npm.taobao.org/chalk/download/chalk-3.0.0.tgz?cache=0&sync_timestamp=1573282918610&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fchalk%2Fdownload%2Fchalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4"
+ integrity sha1-P3PCv1JlkfV0zEksUeJFY0n4ROQ=
dependencies:
- ansi-styles "^3.2.1"
- escape-string-regexp "^1.0.5"
- supports-color "^5.3.0"
+ ansi-styles "^4.1.0"
+ supports-color "^7.1.0"
chalk@^1.0.0, chalk@^1.1.3:
version "1.1.3"
@@ -3063,13 +3085,14 @@ chalk@^1.0.0, chalk@^1.1.3:
strip-ansi "^3.0.0"
supports-color "^2.0.0"
-chalk@^3.0.0:
- version "3.0.0"
- resolved "https://registry.npm.taobao.org/chalk/download/chalk-3.0.0.tgz?cache=0&sync_timestamp=1573282918610&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fchalk%2Fdownload%2Fchalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4"
- integrity sha1-P3PCv1JlkfV0zEksUeJFY0n4ROQ=
+chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.2, chalk@^2.4.1, chalk@^2.4.2:
+ version "2.4.2"
+ resolved "https://registry.npm.taobao.org/chalk/download/chalk-2.4.2.tgz?cache=0&sync_timestamp=1573282918610&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fchalk%2Fdownload%2Fchalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
+ integrity sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=
dependencies:
- ansi-styles "^4.1.0"
- supports-color "^7.1.0"
+ ansi-styles "^3.2.1"
+ escape-string-regexp "^1.0.5"
+ supports-color "^5.3.0"
changelog-filename-regex@^1.1.0:
version "1.1.2"
@@ -3319,17 +3342,16 @@ code-point-at@^1.0.0:
resolved "https://registry.npm.taobao.org/code-point-at/download/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=
-codecov@^3.6.4:
- version "3.6.4"
- resolved "https://registry.npm.taobao.org/codecov/download/codecov-3.6.4.tgz#c993a58704ad5f15dcdd6aa3c3af22070c69eb18"
- integrity sha1-yZOlhwStXxXc3Wqjw68iBwxp6xg=
+codecov@^3.6.5:
+ version "3.6.5"
+ resolved "https://registry.npm.taobao.org/codecov/download/codecov-3.6.5.tgz#d73ce62e8a021f5249f54b073e6f2d6a513f172a"
+ integrity sha1-1zzmLooCH1JJ9UsHPm8talE/Fyo=
dependencies:
argv "0.0.2"
ignore-walk "3.0.3"
js-yaml "3.13.1"
teeny-request "6.0.1"
urlgrey "0.4.4"
- validator "12.2.0"
collapse-white-space@^1.0.2:
version "1.0.5"
@@ -3378,7 +3400,7 @@ color-name@~1.1.4:
resolved "https://registry.npm.taobao.org/color-name/download/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
integrity sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=
-combined-stream@^1.0.6, combined-stream@~1.0.6:
+combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6:
version "1.0.8"
resolved "https://registry.npm.taobao.org/combined-stream/download/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
integrity sha1-w9RaizT9cwYxoRCoolIGgrMdWn8=
@@ -3480,17 +3502,17 @@ config-chain@^1.1.12:
ini "^1.3.4"
proto-list "~1.2.1"
-configstore@^4.0.0:
- version "4.0.0"
- resolved "https://registry.npm.taobao.org/configstore/download/configstore-4.0.0.tgz#5933311e95d3687efb592c528b922d9262d227e7"
- integrity sha1-WTMxHpXTaH77WSxSi5ItkmLSJ+c=
+configstore@^5.0.1:
+ version "5.0.1"
+ resolved "https://registry.npm.taobao.org/configstore/download/configstore-5.0.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fconfigstore%2Fdownload%2Fconfigstore-5.0.1.tgz#d365021b5df4b98cdd187d6a3b0e3f6a7cc5ed96"
+ integrity sha1-02UCG130uYzdGH1qOw4/anzF7ZY=
dependencies:
- dot-prop "^4.1.0"
+ dot-prop "^5.2.0"
graceful-fs "^4.1.2"
- make-dir "^1.0.0"
- unique-string "^1.0.0"
- write-file-atomic "^2.0.0"
- xdg-basedir "^3.0.0"
+ make-dir "^3.0.0"
+ unique-string "^2.0.0"
+ write-file-atomic "^3.0.0"
+ xdg-basedir "^4.0.0"
confusing-browser-globals@^1.0.7:
version "1.0.9"
@@ -3808,15 +3830,6 @@ cross-env@^7.0.0:
dependencies:
cross-spawn "^7.0.1"
-cross-spawn@^5.0.1:
- version "5.1.0"
- resolved "https://registry.npm.taobao.org/cross-spawn/download/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449"
- integrity sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=
- dependencies:
- lru-cache "^4.0.1"
- shebang-command "^1.2.0"
- which "^1.2.9"
-
cross-spawn@^6.0.0, cross-spawn@^6.0.5:
version "6.0.5"
resolved "https://registry.npm.taobao.org/cross-spawn/download/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
@@ -3854,10 +3867,10 @@ crypto-browserify@^3.11.0:
randombytes "^2.0.0"
randomfill "^1.0.3"
-crypto-random-string@^1.0.0:
- version "1.0.0"
- resolved "https://registry.npm.taobao.org/crypto-random-string/download/crypto-random-string-1.0.0.tgz#a230f64f568310e1498009940790ec99545bca7e"
- integrity sha1-ojD2T1aDEOFJgAmUB5DsmVRbyn4=
+crypto-random-string@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.npm.taobao.org/crypto-random-string/download/crypto-random-string-2.0.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcrypto-random-string%2Fdownload%2Fcrypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5"
+ integrity sha1-7yp6lm7BEIM4g2m6oC6+rSKbMNU=
css-loader@^3.4.2:
version "3.4.2"
@@ -4137,7 +4150,7 @@ deprecated-obj@1.0.1:
flat "^4.1.0"
lodash "^4.17.11"
-deprecation@^2.0.0:
+deprecation@^2.0.0, deprecation@^2.3.1:
version "2.3.1"
resolved "https://registry.npm.taobao.org/deprecation/download/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919"
integrity sha1-Y2jL20Cr8zc7UlrIfkomDDpwCRk=
@@ -4315,13 +4328,20 @@ dot-prop@^3.0.0:
dependencies:
is-obj "^1.0.0"
-dot-prop@^4.1.0, dot-prop@^4.1.1:
+dot-prop@^4.1.1:
version "4.2.0"
resolved "https://registry.npm.taobao.org/dot-prop/download/dot-prop-4.2.0.tgz?cache=0&sync_timestamp=1572620767955&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdot-prop%2Fdownload%2Fdot-prop-4.2.0.tgz#1f19e0c2e1aa0e32797c49799f2837ac6af69c57"
integrity sha1-HxngwuGqDjJ5fEl5nyg3rGr2nFc=
dependencies:
is-obj "^1.0.0"
+dot-prop@^5.2.0:
+ version "5.2.0"
+ resolved "https://registry.npm.taobao.org/dot-prop/download/dot-prop-5.2.0.tgz#c34ecc29556dc45f1f4c22697b6f4904e0cc4fcb"
+ integrity sha1-w07MKVVtxF8fTCJpe29JBODMT8s=
+ dependencies:
+ is-obj "^2.0.0"
+
duplexer3@^0.1.4:
version "0.1.4"
resolved "https://registry.npm.taobao.org/duplexer3/download/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2"
@@ -4365,11 +4385,6 @@ electron-to-chromium@^1.3.295:
resolved "https://registry.npm.taobao.org/electron-to-chromium/download/electron-to-chromium-1.3.306.tgz?cache=0&sync_timestamp=1573175063483&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Felectron-to-chromium%2Fdownload%2Felectron-to-chromium-1.3.306.tgz#e8265301d053d5f74e36cb876486830261fbe946"
integrity sha1-6CZTAdBT1fdONsuHZIaDAmH76UY=
-electron-to-chromium@^1.3.322:
- version "1.3.322"
- resolved "https://registry.npm.taobao.org/electron-to-chromium/download/electron-to-chromium-1.3.322.tgz#a6f7e1c79025c2b05838e8e344f6e89eb83213a8"
- integrity sha1-pvfhx5AlwrBYOOjjRPbonrgyE6g=
-
electron-to-chromium@^1.3.341:
version "1.3.345"
resolved "https://registry.npm.taobao.org/electron-to-chromium/download/electron-to-chromium-1.3.345.tgz?cache=0&sync_timestamp=1580778211483&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Felectron-to-chromium%2Fdownload%2Felectron-to-chromium-1.3.345.tgz#2569d0d54a64ef0f32a4b7e8c80afa5fe57c5d98"
@@ -4507,6 +4522,11 @@ es-to-primitive@^1.2.0, es-to-primitive@^1.2.1:
is-date-object "^1.0.1"
is-symbol "^1.0.2"
+escape-goat@^2.0.0:
+ version "2.1.1"
+ resolved "https://registry.npm.taobao.org/escape-goat/download/escape-goat-2.1.1.tgz#1b2dc77003676c457ec760b2dc68edb648188675"
+ integrity sha1-Gy3HcANnbEV+x2Cy3GjttkgYhnU=
+
escape-html@~1.0.3:
version "1.0.3"
resolved "https://registry.npm.taobao.org/escape-html/download/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
@@ -4724,19 +4744,6 @@ exec-sh@^0.3.2:
resolved "https://registry.npm.taobao.org/exec-sh/download/exec-sh-0.3.4.tgz#3a018ceb526cc6f6df2bb504b2bfe8e3a4934ec5"
integrity sha1-OgGM61JsxvbfK7UEsr/o46STTsU=
-execa@^0.7.0:
- version "0.7.0"
- resolved "https://registry.npm.taobao.org/execa/download/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777"
- integrity sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=
- dependencies:
- cross-spawn "^5.0.1"
- get-stream "^3.0.0"
- is-stream "^1.1.0"
- npm-run-path "^2.0.0"
- p-finally "^1.0.0"
- signal-exit "^3.0.0"
- strip-eof "^1.0.0"
-
execa@^1.0.0:
version "1.0.0"
resolved "https://registry.npm.taobao.org/execa/download/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8"
@@ -4934,6 +4941,18 @@ fast-glob@^3.0.3, fast-glob@^3.1.1:
merge2 "^1.3.0"
micromatch "^4.0.2"
+fast-glob@^3.2.1:
+ version "3.2.1"
+ resolved "https://registry.npm.taobao.org/fast-glob/download/fast-glob-3.2.1.tgz#c5aaea632f92543b744bdcb19f11efd49e56c7b3"
+ integrity sha1-xarqYy+SVDt0S9yxnxHv1J5Wx7M=
+ dependencies:
+ "@nodelib/fs.stat" "^2.0.2"
+ "@nodelib/fs.walk" "^1.2.3"
+ glob-parent "^5.1.0"
+ merge2 "^1.3.0"
+ micromatch "^4.0.2"
+ picomatch "^2.2.1"
+
fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0:
version "2.0.0"
resolved "https://registry.npm.taobao.org/fast-json-stable-stringify/download/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2"
@@ -5166,13 +5185,13 @@ forever-agent@~0.6.1:
resolved "https://registry.npm.taobao.org/forever-agent/download/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91"
integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=
-form-data@2.5.1:
- version "2.5.1"
- resolved "https://registry.npm.taobao.org/form-data/download/form-data-2.5.1.tgz?cache=0&sync_timestamp=1573027118125&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fform-data%2Fdownload%2Fform-data-2.5.1.tgz#f2cbec57b5e59e23716e128fe44d4e5dd23895f4"
- integrity sha1-8svsV7XlniNxbhKP5E1OXdI4lfQ=
+form-data@3.0.0:
+ version "3.0.0"
+ resolved "https://registry.npm.taobao.org/form-data/download/form-data-3.0.0.tgz#31b7e39c85f1355b7139ee0c647cf0de7f83c682"
+ integrity sha1-MbfjnIXxNVtxOe4MZHzw3n+DxoI=
dependencies:
asynckit "^0.4.0"
- combined-stream "^1.0.6"
+ combined-stream "^1.0.8"
mime-types "^2.1.12"
form-data@~2.3.2:
@@ -5330,11 +5349,6 @@ get-stdin@^7.0.0:
resolved "https://registry.npm.taobao.org/get-stdin/download/get-stdin-7.0.0.tgz#8d5de98f15171a125c5e516643c7a6d0ea8a96f6"
integrity sha1-jV3pjxUXGhJcXlFmQ8em0OqKlvY=
-get-stream@^3.0.0:
- version "3.0.0"
- resolved "https://registry.npm.taobao.org/get-stream/download/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14"
- integrity sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=
-
get-stream@^4.0.0, get-stream@^4.1.0:
version "4.1.0"
resolved "https://registry.npm.taobao.org/get-stream/download/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5"
@@ -5456,12 +5470,12 @@ glob@^7.0.0, glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, gl
once "^1.3.0"
path-is-absolute "^1.0.0"
-global-dirs@^0.1.0:
- version "0.1.1"
- resolved "https://registry.npm.taobao.org/global-dirs/download/global-dirs-0.1.1.tgz?cache=0&sync_timestamp=1573230916593&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fglobal-dirs%2Fdownload%2Fglobal-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445"
- integrity sha1-sxnA3UYH81PzvpzKTHL8FIxJ9EU=
+global-dirs@^2.0.1:
+ version "2.0.1"
+ resolved "https://registry.npm.taobao.org/global-dirs/download/global-dirs-2.0.1.tgz#acdf3bb6685bcd55cb35e8a052266569e9469201"
+ integrity sha1-rN87tmhbzVXLNeigUiZlaelGkgE=
dependencies:
- ini "^1.3.4"
+ ini "^1.3.5"
global-modules@^2.0.0:
version "2.0.0"
@@ -5491,10 +5505,10 @@ globals@^12.1.0:
dependencies:
type-fest "^0.8.1"
-globby@10.0.1:
- version "10.0.1"
- resolved "https://registry.npm.taobao.org/globby/download/globby-10.0.1.tgz#4782c34cb75dd683351335c5829cc3420e606b22"
- integrity sha1-R4LDTLdd1oM1EzXFgpzDQg5gayI=
+globby@10.0.2:
+ version "10.0.2"
+ resolved "https://registry.npm.taobao.org/globby/download/globby-10.0.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fglobby%2Fdownload%2Fglobby-10.0.2.tgz#277593e745acaa4646c3ab411289ec47a0392543"
+ integrity sha1-J3WT50WsqkZGw6tBEonsR6A5JUM=
dependencies:
"@types/glob" "^7.1.1"
array-union "^2.1.0"
@@ -5914,10 +5928,10 @@ humanize-url@^1.0.0:
normalize-url "^1.0.0"
strip-url-auth "^1.0.0"
-husky@^4.2.1:
- version "4.2.1"
- resolved "https://registry.npm.taobao.org/husky/download/husky-4.2.1.tgz?cache=0&sync_timestamp=1579809661929&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fhusky%2Fdownload%2Fhusky-4.2.1.tgz#b09f1bd9129e6c323cc515dc17081d0615e2d7c1"
- integrity sha1-sJ8b2RKebDI8xRXcFwgdBhXi18E=
+husky@^4.2.3:
+ version "4.2.3"
+ resolved "https://registry.npm.taobao.org/husky/download/husky-4.2.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fhusky%2Fdownload%2Fhusky-4.2.3.tgz#3b18d2ee5febe99e27f2983500202daffbc3151e"
+ integrity sha1-OxjS7l/r6Z4n8pg1ACAtr/vDFR4=
dependencies:
chalk "^3.0.0"
ci-info "^2.0.0"
@@ -6111,7 +6125,26 @@ ini@^1.3.2, ini@^1.3.4, ini@^1.3.5, ini@~1.3.0:
resolved "https://registry.npm.taobao.org/ini/download/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927"
integrity sha1-7uJfVtscnsYIXgwid4CD9Zar+Sc=
-inquirer@7.0.0, inquirer@^7.0.0:
+inquirer@7.0.4:
+ version "7.0.4"
+ resolved "https://registry.npm.taobao.org/inquirer/download/inquirer-7.0.4.tgz#99af5bde47153abca23f5c7fc30db247f39da703"
+ integrity sha1-ma9b3kcVOryiP1x/ww2yR/OdpwM=
+ dependencies:
+ ansi-escapes "^4.2.1"
+ chalk "^2.4.2"
+ cli-cursor "^3.1.0"
+ cli-width "^2.0.0"
+ external-editor "^3.0.3"
+ figures "^3.0.0"
+ lodash "^4.17.15"
+ mute-stream "0.0.8"
+ run-async "^2.2.0"
+ rxjs "^6.5.3"
+ string-width "^4.1.0"
+ strip-ansi "^5.1.0"
+ through "^2.3.6"
+
+inquirer@^7.0.0:
version "7.0.0"
resolved "https://registry.npm.taobao.org/inquirer/download/inquirer-7.0.0.tgz#9e2b032dde77da1db5db804758b8fea3a970519a"
integrity sha1-nisDLd532h2124BHWLj+o6lwUZo=
@@ -6370,23 +6403,23 @@ is-hexadecimal@^1.0.0:
resolved "https://registry.npm.taobao.org/is-hexadecimal/download/is-hexadecimal-1.0.3.tgz#e8a426a69b6d31470d3a33a47bb825cda02506ee"
integrity sha1-6KQmppttMUcNOjOke7glzaAlBu4=
-is-installed-globally@^0.1.0:
- version "0.1.0"
- resolved "https://registry.npm.taobao.org/is-installed-globally/download/is-installed-globally-0.1.0.tgz#0dfd98f5a9111716dd535dda6492f67bf3d25a80"
- integrity sha1-Df2Y9akRFxbdU13aZJL2e/PSWoA=
+is-installed-globally@^0.3.1:
+ version "0.3.1"
+ resolved "https://registry.npm.taobao.org/is-installed-globally/download/is-installed-globally-0.3.1.tgz#679afef819347a72584617fd19497f010b8ed35f"
+ integrity sha1-Z5r++Bk0enJYRhf9GUl/AQuO018=
dependencies:
- global-dirs "^0.1.0"
- is-path-inside "^1.0.0"
+ global-dirs "^2.0.1"
+ is-path-inside "^3.0.1"
is-interactive@^1.0.0:
version "1.0.0"
resolved "https://registry.npm.taobao.org/is-interactive/download/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e"
integrity sha1-zqbmrlyHCnsKAAQHC3tYfgJSkS4=
-is-npm@^3.0.0:
- version "3.0.0"
- resolved "https://registry.npm.taobao.org/is-npm/download/is-npm-3.0.0.tgz?cache=0&sync_timestamp=1571056897638&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fis-npm%2Fdownload%2Fis-npm-3.0.0.tgz#ec9147bfb629c43f494cf67936a961edec7e8053"
- integrity sha1-7JFHv7YpxD9JTPZ5Nqlh7ex+gFM=
+is-npm@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.npm.taobao.org/is-npm/download/is-npm-4.0.0.tgz#c90dd8380696df87a7a6d823c20d0b12bbe3c84d"
+ integrity sha1-yQ3YOAaW34enptgjwg0LErvjyE0=
is-number@^3.0.0:
version "3.0.0"
@@ -6405,6 +6438,11 @@ is-obj@^1.0.0, is-obj@^1.0.1:
resolved "https://registry.npm.taobao.org/is-obj/download/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f"
integrity sha1-PkcprB9f3gJc19g6iW2rn09n2w8=
+is-obj@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.npm.taobao.org/is-obj/download/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982"
+ integrity sha1-Rz+wXZc3BeP9liBUUBjKjiLvSYI=
+
is-observable@^1.1.0:
version "1.1.0"
resolved "https://registry.npm.taobao.org/is-observable/download/is-observable-1.1.0.tgz#b3e986c8f44de950867cab5403f5a3465005975e"
@@ -6424,13 +6462,6 @@ is-path-in-cwd@^2.0.0:
dependencies:
is-path-inside "^2.1.0"
-is-path-inside@^1.0.0:
- version "1.0.1"
- resolved "https://registry.npm.taobao.org/is-path-inside/download/is-path-inside-1.0.1.tgz?cache=0&sync_timestamp=1569836695493&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fis-path-inside%2Fdownload%2Fis-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036"
- integrity sha1-jvW33lBDej/cprToZe96pVy0gDY=
- dependencies:
- path-is-inside "^1.0.1"
-
is-path-inside@^2.1.0:
version "2.1.0"
resolved "https://registry.npm.taobao.org/is-path-inside/download/is-path-inside-2.1.0.tgz?cache=0&sync_timestamp=1569836695493&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fis-path-inside%2Fdownload%2Fis-path-inside-2.1.0.tgz#7c9810587d659a40d27bcdb4d5616eab059494b2"
@@ -6438,6 +6469,11 @@ is-path-inside@^2.1.0:
dependencies:
path-is-inside "^1.0.2"
+is-path-inside@^3.0.1:
+ version "3.0.2"
+ resolved "https://registry.npm.taobao.org/is-path-inside/download/is-path-inside-3.0.2.tgz#f5220fc82a3e233757291dddc9c5877f2a1f3017"
+ integrity sha1-9SIPyCo+IzdXKR3dycWHfyofMBc=
+
is-plain-obj@^1.0.0, is-plain-obj@^1.1.0:
version "1.1.0"
resolved "https://registry.npm.taobao.org/is-plain-obj/download/is-plain-obj-1.1.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fis-plain-obj%2Fdownload%2Fis-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e"
@@ -7197,10 +7233,10 @@ known-css-properties@^0.11.0:
resolved "https://registry.npm.taobao.org/known-css-properties/download/known-css-properties-0.11.0.tgz#0da784f115ea77c76b81536d7052e90ee6c86a8a"
integrity sha1-DaeE8RXqd8drgVNtcFLpDubIaoo=
-known-css-properties@^0.17.0:
- version "0.17.0"
- resolved "https://registry.npm.taobao.org/known-css-properties/download/known-css-properties-0.17.0.tgz?cache=0&sync_timestamp=1572197095496&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fknown-css-properties%2Fdownload%2Fknown-css-properties-0.17.0.tgz#1c535f530ee8e9e3e27bb6a718285780e1d07326"
- integrity sha1-HFNfUw7o6ePie7anGChXgOHQcyY=
+known-css-properties@^0.18.0:
+ version "0.18.0"
+ resolved "https://registry.npm.taobao.org/known-css-properties/download/known-css-properties-0.18.0.tgz#d6e00b56ee1d5b0d171fd86df1583cfb012c521f"
+ integrity sha1-1uALVu4dWw0XH9ht8Vg8+wEsUh8=
latest-version@^5.0.0:
version "5.1.0"
@@ -7225,12 +7261,13 @@ less-loader@^5.0.0:
loader-utils "^1.1.0"
pify "^4.0.1"
-less@^3.10.3:
- version "3.10.3"
- resolved "https://registry.npm.taobao.org/less/download/less-3.10.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fless%2Fdownload%2Fless-3.10.3.tgz#417a0975d5eeecc52cff4bcfa3c09d35781e6792"
- integrity sha1-QXoJddXu7MUs/0vPo8CdNXgeZ5I=
+less@^3.11.1:
+ version "3.11.1"
+ resolved "https://registry.npm.taobao.org/less/download/less-3.11.1.tgz?cache=0&sync_timestamp=1581400805472&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fless%2Fdownload%2Fless-3.11.1.tgz#c6bf08e39e02404fe6b307a3dfffafdc55bd36e2"
+ integrity sha1-xr8I454CQE/mswej3/+v3FW9NuI=
dependencies:
clone "^2.1.2"
+ tslib "^1.10.0"
optionalDependencies:
errno "^0.1.1"
graceful-fs "^4.1.2"
@@ -7556,7 +7593,7 @@ lowercase-keys@^2.0.0:
resolved "https://registry.npm.taobao.org/lowercase-keys/download/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479"
integrity sha1-JgPni3tLAAbLyi+8yKMgJVislHk=
-lru-cache@^4.0.1, lru-cache@^4.1.2, lru-cache@^4.1.5:
+lru-cache@^4.1.2, lru-cache@^4.1.5:
version "4.1.5"
resolved "https://registry.npm.taobao.org/lru-cache/download/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd"
integrity sha1-i75Q6oW+1ZvJ4z3KuCNe6bz0Q80=
@@ -7576,13 +7613,6 @@ macos-release@^2.2.0:
resolved "https://registry.npm.taobao.org/macos-release/download/macos-release-2.3.0.tgz#eb1930b036c0800adebccd5f17bc4c12de8bb71f"
integrity sha1-6xkwsDbAgArevM1fF7xMEt6Ltx8=
-make-dir@^1.0.0:
- version "1.3.0"
- resolved "https://registry.npm.taobao.org/make-dir/download/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c"
- integrity sha1-ecEDO4BRW9bSTsmTPoYMp17ifww=
- dependencies:
- pify "^3.0.0"
-
make-dir@^2.0.0:
version "2.1.0"
resolved "https://registry.npm.taobao.org/make-dir/download/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5"
@@ -7675,11 +7705,16 @@ markdown-table@^1.1.0:
resolved "https://registry.npm.taobao.org/markdown-table/download/markdown-table-1.1.3.tgz#9fcb69bcfdb8717bfd0398c6ec2d93036ef8de60"
integrity sha1-n8tpvP24cXv9A5jG7C2TA2743mA=
-mathml-tag-names@^2.0.1, mathml-tag-names@^2.1.1:
+mathml-tag-names@^2.0.1:
version "2.1.1"
resolved "https://registry.npm.taobao.org/mathml-tag-names/download/mathml-tag-names-2.1.1.tgz#6dff66c99d55ecf739ca53c492e626f1d12a33cc"
integrity sha1-bf9myZ1V7Pc5ylPEkuYm8dEqM8w=
+mathml-tag-names@^2.1.3:
+ version "2.1.3"
+ resolved "https://registry.npm.taobao.org/mathml-tag-names/download/mathml-tag-names-2.1.3.tgz#4ddadd67308e780cf16a47685878ee27b736a0a3"
+ integrity sha1-TdrdZzCOeAzxakdoWHjuJ7c2oKM=
+
md5.js@^1.3.4:
version "1.3.5"
resolved "https://registry.npm.taobao.org/md5.js/download/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f"
@@ -7856,22 +7891,22 @@ miller-rabin@^4.0.0:
bn.js "^4.0.0"
brorand "^1.0.1"
-mime-db@1.40.0:
- version "1.40.0"
- resolved "https://registry.npm.taobao.org/mime-db/download/mime-db-1.40.0.tgz#a65057e998db090f732a68f6c276d387d4126c32"
- integrity sha1-plBX6ZjbCQ9zKmj2wnbTh9QSbDI=
-
mime-db@1.42.0, "mime-db@>= 1.40.0 < 2":
version "1.42.0"
resolved "https://registry.npm.taobao.org/mime-db/download/mime-db-1.42.0.tgz#3e252907b4c7adb906597b4b65636272cf9e7bac"
integrity sha1-PiUpB7THrbkGWXtLZWNics+ee6w=
-mime-types@2.1.24:
- version "2.1.24"
- resolved "https://registry.npm.taobao.org/mime-types/download/mime-types-2.1.24.tgz#b6f8d0b3e951efb77dedeca194cff6d16f676f81"
- integrity sha1-tvjQs+lR77d97eyhlM/20W9nb4E=
+mime-db@1.43.0:
+ version "1.43.0"
+ resolved "https://registry.npm.taobao.org/mime-db/download/mime-db-1.43.0.tgz?cache=0&sync_timestamp=1578281104943&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmime-db%2Fdownload%2Fmime-db-1.43.0.tgz#0a12e0502650e473d735535050e7c8f4eb4fae58"
+ integrity sha1-ChLgUCZQ5HPXNVNQUOfI9OtPrlg=
+
+mime-types@2.1.26:
+ version "2.1.26"
+ resolved "https://registry.npm.taobao.org/mime-types/download/mime-types-2.1.26.tgz?cache=0&sync_timestamp=1578282585871&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmime-types%2Fdownload%2Fmime-types-2.1.26.tgz#9c921fc09b7e149a65dfdc0da4d20997200b0a06"
+ integrity sha1-nJIfwJt+FJpl39wNpNIJlyALCgY=
dependencies:
- mime-db "1.40.0"
+ mime-db "1.43.0"
mime-types@^2.1.12, mime-types@~2.1.17, mime-types@~2.1.19, mime-types@~2.1.24:
version "2.1.25"
@@ -8200,13 +8235,6 @@ node-releases@^1.1.38:
dependencies:
semver "^6.3.0"
-node-releases@^1.1.42:
- version "1.1.43"
- resolved "https://registry.npm.taobao.org/node-releases/download/node-releases-1.1.43.tgz#2c6ca237f88ce11d49631f11190bb01f8d0549f2"
- integrity sha1-LGyiN/iM4R1JYx8RGQuwH40FSfI=
- dependencies:
- semver "^6.3.0"
-
node-releases@^1.1.47:
version "1.1.47"
resolved "https://registry.npm.taobao.org/node-releases/download/node-releases-1.1.47.tgz#c59ef739a1fd7ecbd9f0b7cf5b7871e8a8b591e4"
@@ -8494,20 +8522,7 @@ optionator@^0.8.1, optionator@^0.8.3:
type-check "~0.3.2"
word-wrap "~1.2.3"
-ora@4.0.2:
- version "4.0.2"
- resolved "https://registry.npm.taobao.org/ora/download/ora-4.0.2.tgz?cache=0&sync_timestamp=1573640943103&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fora%2Fdownload%2Fora-4.0.2.tgz#0e1e68fd45b135d28648b27cf08081fa6e8a297d"
- integrity sha1-Dh5o/UWxNdKGSLJ88ICB+m6KKX0=
- dependencies:
- chalk "^2.4.2"
- cli-cursor "^3.1.0"
- cli-spinners "^2.2.0"
- is-interactive "^1.0.0"
- log-symbols "^3.0.0"
- strip-ansi "^5.2.0"
- wcwidth "^1.0.1"
-
-ora@^4.0.3:
+ora@4.0.3, ora@^4.0.3:
version "4.0.3"
resolved "https://registry.npm.taobao.org/ora/download/ora-4.0.3.tgz#752a1b7b4be4825546a7a3d59256fa523b6b6d05"
integrity sha1-dSobe0vkglVGp6PVklb6UjtrbQU=
@@ -8819,7 +8834,7 @@ path-is-absolute@^1.0.0:
resolved "https://registry.npm.taobao.org/path-is-absolute/download/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
-path-is-inside@^1.0.1, path-is-inside@^1.0.2:
+path-is-inside@^1.0.2:
version "1.0.2"
resolved "https://registry.npm.taobao.org/path-is-inside/download/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53"
integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=
@@ -8893,6 +8908,11 @@ picomatch@^2.0.4, picomatch@^2.0.5, picomatch@^2.0.7:
resolved "https://registry.npm.taobao.org/picomatch/download/picomatch-2.1.1.tgz#ecdfbea7704adb5fe6fb47f9866c4c0e15e905c5"
integrity sha1-7N++p3BK21/m+0f5hmxMDhXpBcU=
+picomatch@^2.2.1:
+ version "2.2.1"
+ resolved "https://registry.npm.taobao.org/picomatch/download/picomatch-2.2.1.tgz#21bac888b6ed8601f831ce7816e335bc779f0a4a"
+ integrity sha1-IbrIiLbthgH4Mc54FuM1vHefCko=
+
pify@^2.0.0, pify@^2.3.0:
version "2.3.0"
resolved "https://registry.npm.taobao.org/pify/download/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
@@ -8981,13 +9001,20 @@ postcss-html@^0.36.0:
dependencies:
htmlparser2 "^3.10.0"
-postcss-jsx@^0.36.0, postcss-jsx@^0.36.3:
+postcss-jsx@^0.36.0:
version "0.36.3"
resolved "https://registry.npm.taobao.org/postcss-jsx/download/postcss-jsx-0.36.3.tgz#c91113eae2935a1c94f00353b788ece9acae3f46"
integrity sha1-yRET6uKTWhyU8ANTt4js6ayuP0Y=
dependencies:
"@babel/core" ">=7.2.2"
+postcss-jsx@^0.36.4:
+ version "0.36.4"
+ resolved "https://registry.npm.taobao.org/postcss-jsx/download/postcss-jsx-0.36.4.tgz#37a68f300a39e5748d547f19a747b3257240bd50"
+ integrity sha1-N6aPMAo55XSNVH8Zp0ezJXJAvVA=
+ dependencies:
+ "@babel/core" ">=7.2.2"
+
postcss-less@^3.1.0, postcss-less@^3.1.4:
version "3.1.4"
resolved "https://registry.npm.taobao.org/postcss-less/download/postcss-less-3.1.4.tgz#369f58642b5928ef898ffbc1a6e93c958304c5ad"
@@ -9189,6 +9216,15 @@ postcss@^7.0.26:
source-map "^0.6.1"
supports-color "^6.1.0"
+postcss@^7.0.27:
+ version "7.0.27"
+ resolved "https://registry.npm.taobao.org/postcss/download/postcss-7.0.27.tgz?cache=0&sync_timestamp=1581994853208&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss%2Fdownload%2Fpostcss-7.0.27.tgz#cc67cdc6b0daa375105b7c424a85567345fc54d9"
+ integrity sha1-zGfNxrDao3UQW3xCSoVWc0X8VNk=
+ dependencies:
+ chalk "^2.4.2"
+ source-map "^0.6.1"
+ supports-color "^6.1.0"
+
prelude-ls@~1.1.2:
version "1.1.2"
resolved "https://registry.npm.taobao.org/prelude-ls/download/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
@@ -9371,6 +9407,13 @@ punycode@^2.1.0, punycode@^2.1.1:
resolved "https://registry.npm.taobao.org/punycode/download/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
integrity sha1-tYsBCsQMIsVldhbI0sLALHv0eew=
+pupa@^2.0.1:
+ version "2.0.1"
+ resolved "https://registry.npm.taobao.org/pupa/download/pupa-2.0.1.tgz#dbdc9ff48ffbea4a26a069b6f9f7abb051008726"
+ integrity sha1-29yf9I/76komoGm2+fersFEAhyY=
+ dependencies:
+ escape-goat "^2.0.0"
+
q@^1.5.1:
version "1.5.1"
resolved "https://registry.npm.taobao.org/q/download/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7"
@@ -9710,39 +9753,40 @@ relateurl@0.2.x:
resolved "https://registry.npm.taobao.org/relateurl/download/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9"
integrity sha1-VNvzd+UUQKypCkzSdGANP/LYiKk=
-release-it@^12.4.3:
- version "12.4.3"
- resolved "https://registry.npm.taobao.org/release-it/download/release-it-12.4.3.tgz#c99a72cd1c812bcde3b532ecfee8b22c652b36f8"
- integrity sha1-yZpyzRyBK83jtTLs/uiyLGUrNvg=
+release-it@^12.6.0:
+ version "12.6.0"
+ resolved "https://registry.npm.taobao.org/release-it/download/release-it-12.6.0.tgz#5b86870e84badb4b5992a54ba0f821719c2c66e2"
+ integrity sha1-W4aHDoS620tZkqVLoPghcZwsZuI=
dependencies:
"@iarna/toml" "2.2.3"
- "@octokit/rest" "16.33.0"
- async-retry "1.2.3"
- chalk "2.4.2"
+ "@octokit/rest" "16.43.1"
+ async-retry "1.3.1"
+ chalk "3.0.0"
cosmiconfig "5.2.1"
debug "4.1.1"
deprecated-obj "1.0.1"
detect-repo-changelog "1.0.1"
find-up "4.1.0"
- form-data "2.5.1"
+ form-data "3.0.0"
git-url-parse "11.1.2"
- globby "10.0.1"
+ globby "10.0.2"
got "9.6.0"
import-cwd "3.0.0"
- inquirer "7.0.0"
+ inquirer "7.0.4"
is-ci "2.0.0"
lodash "4.17.15"
- mime-types "2.1.24"
- ora "4.0.2"
+ mime-types "2.1.26"
+ ora "4.0.3"
os-name "3.1.0"
- semver "6.3.0"
+ semver "7.1.3"
+ shell-quote "1.7.2"
shelljs "0.8.3"
supports-color "7.1.0"
- update-notifier "3.0.1"
+ update-notifier "4.1.0"
url-join "4.0.1"
- uuid "3.3.3"
+ uuid "3.4.0"
window-size "1.1.1"
- yargs-parser "15.0.0"
+ yargs-parser "17.0.0"
remark-parse@^6.0.0:
version "6.0.3"
@@ -10038,6 +10082,13 @@ rxjs@^6.3.3, rxjs@^6.4.0:
dependencies:
tslib "^1.9.0"
+rxjs@^6.5.3:
+ version "6.5.4"
+ resolved "https://registry.npm.taobao.org/rxjs/download/rxjs-6.5.4.tgz#e0777fe0d184cec7872df147f303572d414e211c"
+ integrity sha1-4Hd/4NGEzseHLfFH8wNXLUFOIRw=
+ dependencies:
+ tslib "^1.9.0"
+
safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1:
version "5.1.2"
resolved "https://registry.npm.taobao.org/safe-buffer/download/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
@@ -10147,33 +10198,38 @@ semver-compare@^1.0.0:
resolved "https://registry.npm.taobao.org/semver-compare/download/semver-compare-1.0.0.tgz#0dee216a1c941ab37e9efb1788f6afc5ff5537fc"
integrity sha1-De4hahyUGrN+nvsXiPavxf9VN/w=
-semver-diff@^2.0.0:
- version "2.1.0"
- resolved "https://registry.npm.taobao.org/semver-diff/download/semver-diff-2.1.0.tgz#4bbb8437c8d37e4b0cf1a68fd726ec6d645d6d36"
- integrity sha1-S7uEN8jTfksM8aaP1ybsbWRdbTY=
+semver-diff@^3.1.1:
+ version "3.1.1"
+ resolved "https://registry.npm.taobao.org/semver-diff/download/semver-diff-3.1.1.tgz#05f77ce59f325e00e2706afd67bb506ddb1ca32b"
+ integrity sha1-Bfd85Z8yXgDicGr9Z7tQbdscoys=
dependencies:
- semver "^5.0.3"
+ semver "^6.3.0"
semver-regex@^2.0.0:
version "2.0.0"
resolved "https://registry.npm.taobao.org/semver-regex/download/semver-regex-2.0.0.tgz#a93c2c5844539a770233379107b38c7b4ac9d338"
integrity sha1-qTwsWERTmncCMzeRB7OMe0rJ0zg=
-"semver@2 || 3 || 4 || 5", semver@^5.0.3, semver@^5.3.0, semver@^5.4.1, semver@^5.5, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0:
+"semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.4.1, semver@^5.5, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0:
version "5.7.1"
resolved "https://registry.npm.taobao.org/semver/download/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
integrity sha1-qVT5Ma66UI0we78Gnv8MAclhFvc=
-semver@6.3.0, semver@^6.0.0, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0:
- version "6.3.0"
- resolved "https://registry.npm.taobao.org/semver/download/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
- integrity sha1-7gpkyK9ejO6mdoexM3YeG+y9HT0=
-
semver@7.0.0:
version "7.0.0"
resolved "https://registry.npm.taobao.org/semver/download/semver-7.0.0.tgz?cache=0&sync_timestamp=1576601945958&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsemver%2Fdownload%2Fsemver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e"
integrity sha1-XzyjV2HkfgWyBsba/yz4FPAxa44=
+semver@7.1.3:
+ version "7.1.3"
+ resolved "https://registry.npm.taobao.org/semver/download/semver-7.1.3.tgz?cache=0&sync_timestamp=1581458063470&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsemver%2Fdownload%2Fsemver-7.1.3.tgz#e4345ce73071c53f336445cfc19efb1c311df2a6"
+ integrity sha1-5DRc5zBxxT8zZEXPwZ77HDEd8qY=
+
+semver@^6.0.0, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0:
+ version "6.3.0"
+ resolved "https://registry.npm.taobao.org/semver/download/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
+ integrity sha1-7gpkyK9ejO6mdoexM3YeG+y9HT0=
+
semver@^7.1.1:
version "7.1.2"
resolved "https://registry.npm.taobao.org/semver/download/semver-7.1.2.tgz?cache=0&sync_timestamp=1580434127470&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsemver%2Fdownload%2Fsemver-7.1.2.tgz#847bae5bce68c5d08889824f02667199b70e3d87"
@@ -10295,6 +10351,11 @@ shebang-regex@^3.0.0:
resolved "https://registry.npm.taobao.org/shebang-regex/download/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"
integrity sha1-rhbxZE2HPsrYQ7AwexQzYtTEIXI=
+shell-quote@1.7.2:
+ version "1.7.2"
+ resolved "https://registry.npm.taobao.org/shell-quote/download/shell-quote-1.7.2.tgz#67a7d02c76c9da24f99d20808fcaded0e0e04be2"
+ integrity sha1-Z6fQLHbJ2iT5nSCAj8re0ODgS+I=
+
shelljs@0.8.3, shelljs@^0.8.3:
version "0.8.3"
resolved "https://registry.npm.taobao.org/shelljs/download/shelljs-0.8.3.tgz#a7f3319520ebf09ee81275b2368adb286659b097"
@@ -10674,7 +10735,7 @@ string-width@^3.0.0, string-width@^3.1.0:
is-fullwidth-code-point "^2.0.0"
strip-ansi "^5.1.0"
-string-width@^4.1.0, string-width@^4.2.0:
+string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0:
version "4.2.0"
resolved "https://registry.npm.taobao.org/string-width/download/string-width-4.2.0.tgz?cache=0&sync_timestamp=1573488535785&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstring-width%2Fdownload%2Fstring-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5"
integrity sha1-lSGCxGzHssMT0VluYjmSvRY7crU=
@@ -10884,12 +10945,12 @@ stylelint-order@^3.1.1:
postcss "^7.0.17"
postcss-sorting "^5.0.1"
-stylelint@^13.0.0:
- version "13.0.0"
- resolved "https://registry.npm.taobao.org/stylelint/download/stylelint-13.0.0.tgz#532007f7154c1a5ed14245d857a5884316f5111f"
- integrity sha1-UyAH9xVMGl7RQkXYV6WIQxb1ER8=
+stylelint@^13.2.0:
+ version "13.2.0"
+ resolved "https://registry.npm.taobao.org/stylelint/download/stylelint-13.2.0.tgz?cache=0&sync_timestamp=1581648959285&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstylelint%2Fdownload%2Fstylelint-13.2.0.tgz#b6f5b67b9a9a51f1fd105ab916952456d93826b4"
+ integrity sha1-tvW2e5qaUfH9EFq5FpUkVtk4JrQ=
dependencies:
- autoprefixer "^9.7.3"
+ autoprefixer "^9.7.4"
balanced-match "^1.0.0"
chalk "^3.0.0"
cosmiconfig "^6.0.0"
@@ -10904,17 +10965,17 @@ stylelint@^13.0.0:
ignore "^5.1.4"
import-lazy "^4.0.0"
imurmurhash "^0.1.4"
- known-css-properties "^0.17.0"
+ known-css-properties "^0.18.0"
leven "^3.1.0"
lodash "^4.17.15"
log-symbols "^3.0.0"
- mathml-tag-names "^2.1.1"
+ mathml-tag-names "^2.1.3"
meow "^6.0.0"
micromatch "^4.0.2"
normalize-selector "^0.2.0"
postcss "^7.0.26"
postcss-html "^0.36.0"
- postcss-jsx "^0.36.3"
+ postcss-jsx "^0.36.4"
postcss-less "^3.1.4"
postcss-markdown "^0.36.0"
postcss-media-query-parser "^0.2.3"
@@ -10923,7 +10984,7 @@ stylelint@^13.0.0:
postcss-safe-parser "^4.0.1"
postcss-sass "^0.4.2"
postcss-scss "^2.0.0"
- postcss-selector-parser "^3.1.0"
+ postcss-selector-parser "^6.0.2"
postcss-syntax "^0.36.2"
postcss-value-parser "^4.0.2"
resolve-from "^5.0.0"
@@ -11086,12 +11147,10 @@ teeny-request@6.0.1:
stream-events "^1.0.5"
uuid "^3.3.2"
-term-size@^1.2.0:
- version "1.2.0"
- resolved "https://registry.npm.taobao.org/term-size/download/term-size-1.2.0.tgz#458b83887f288fc56d6fffbfad262e26638efa69"
- integrity sha1-RYuDiH8oj8Vtb/+/rSYuJmOO+mk=
- dependencies:
- execa "^0.7.0"
+term-size@^2.1.0:
+ version "2.2.0"
+ resolved "https://registry.npm.taobao.org/term-size/download/term-size-2.2.0.tgz#1f16adedfe9bdc18800e1776821734086fcc6753"
+ integrity sha1-Hxat7f6b3BiADhd2ghc0CG/MZ1M=
terminal-link@^2.0.0:
version "2.1.1"
@@ -11346,6 +11405,11 @@ ts-jest@^23.10.5:
semver "^5.5"
yargs-parser "10.x"
+tslib@^1.10.0:
+ version "1.11.0"
+ resolved "https://registry.npm.taobao.org/tslib/download/tslib-1.11.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ftslib%2Fdownload%2Ftslib-1.11.0.tgz#f1f3528301621a53220d58373ae510ff747a66bc"
+ integrity sha1-8fNSgwFiGlMiDVg3OuUQ/3R6Zrw=
+
tslib@^1.8.1, tslib@^1.9.0:
version "1.10.0"
resolved "https://registry.npm.taobao.org/tslib/download/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"
@@ -11387,11 +11451,6 @@ type-detect@4.0.8:
resolved "https://registry.npm.taobao.org/type-detect/download/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c"
integrity sha1-dkb7XxiHHPu3dJ5pvTmmOI63RQw=
-type-fest@^0.3.0:
- version "0.3.1"
- resolved "https://registry.npm.taobao.org/type-fest/download/type-fest-0.3.1.tgz#63d00d204e059474fe5e1b7c011112bbd1dc29e1"
- integrity sha1-Y9ANIE4FlHT+Xht8ARESu9HcKeE=
-
type-fest@^0.6.0:
version "0.6.0"
resolved "https://registry.npm.taobao.org/type-fest/download/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b"
@@ -11422,10 +11481,10 @@ typedarray@^0.0.6:
resolved "https://registry.npm.taobao.org/typedarray/download/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
-typescript@^3.7.5:
- version "3.7.5"
- resolved "https://registry.npm.taobao.org/typescript/download/typescript-3.7.5.tgz#0692e21f65fd4108b9330238aac11dd2e177a1ae"
- integrity sha1-BpLiH2X9QQi5MwI4qsEd0uF3oa4=
+typescript@^3.8.2:
+ version "3.8.2"
+ resolved "https://registry.npm.taobao.org/typescript/download/typescript-3.8.2.tgz#91d6868aaead7da74f493c553aeff76c0c0b1d5a"
+ integrity sha1-kdaGiq6tfadPSTxVOu/3bAwLHVo=
uc.micro@^1.0.1, uc.micro@^1.0.5:
version "1.0.6"
@@ -11522,12 +11581,12 @@ unique-slug@^2.0.0:
dependencies:
imurmurhash "^0.1.4"
-unique-string@^1.0.0:
- version "1.0.0"
- resolved "https://registry.npm.taobao.org/unique-string/download/unique-string-1.0.0.tgz#9e1057cca851abb93398f8b33ae187b99caec11a"
- integrity sha1-nhBXzKhRq7kzmPizOuGHuZyuwRo=
+unique-string@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.npm.taobao.org/unique-string/download/unique-string-2.0.0.tgz#39c6451f81afb2749de2b233e3f7c5e8843bd89d"
+ integrity sha1-OcZFH4GvsnSd4rIz4/fF6IQ72J0=
dependencies:
- crypto-random-string "^1.0.0"
+ crypto-random-string "^2.0.0"
unist-util-find-all-after@^1.0.2:
version "1.0.5"
@@ -11604,23 +11663,24 @@ upath@^1.1.1:
resolved "https://registry.npm.taobao.org/upath/download/upath-1.2.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fupath%2Fdownload%2Fupath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894"
integrity sha1-j2bbzVWog6za5ECK+LA1pQRMGJQ=
-update-notifier@3.0.1:
- version "3.0.1"
- resolved "https://registry.npm.taobao.org/update-notifier/download/update-notifier-3.0.1.tgz#78ecb68b915e2fd1be9f767f6e298ce87b736250"
- integrity sha1-eOy2i5FeL9G+n3Z/bimM6HtzYlA=
+update-notifier@4.1.0:
+ version "4.1.0"
+ resolved "https://registry.npm.taobao.org/update-notifier/download/update-notifier-4.1.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fupdate-notifier%2Fdownload%2Fupdate-notifier-4.1.0.tgz#4866b98c3bc5b5473c020b1250583628f9a328f3"
+ integrity sha1-SGa5jDvFtUc8AgsSUFg2KPmjKPM=
dependencies:
- boxen "^3.0.0"
- chalk "^2.0.1"
- configstore "^4.0.0"
+ boxen "^4.2.0"
+ chalk "^3.0.0"
+ configstore "^5.0.1"
has-yarn "^2.1.0"
import-lazy "^2.1.0"
is-ci "^2.0.0"
- is-installed-globally "^0.1.0"
- is-npm "^3.0.0"
+ is-installed-globally "^0.3.1"
+ is-npm "^4.0.0"
is-yarn-global "^0.3.0"
latest-version "^5.0.0"
- semver-diff "^2.0.0"
- xdg-basedir "^3.0.0"
+ pupa "^2.0.1"
+ semver-diff "^3.1.1"
+ xdg-basedir "^4.0.0"
upper-case@^1.1.1:
version "1.1.3"
@@ -11714,7 +11774,12 @@ utils-merge@1.0.1:
resolved "https://registry.npm.taobao.org/utils-merge/download/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"
integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=
-uuid@3.3.3, uuid@^3.0.1, uuid@^3.3.2:
+uuid@3.4.0:
+ version "3.4.0"
+ resolved "https://registry.npm.taobao.org/uuid/download/uuid-3.4.0.tgz?cache=0&sync_timestamp=1581938847708&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fuuid%2Fdownload%2Fuuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
+ integrity sha1-sj5DWK+oogL+ehAK8fX4g/AgB+4=
+
+uuid@^3.0.1, uuid@^3.3.2:
version "3.3.3"
resolved "https://registry.npm.taobao.org/uuid/download/uuid-3.3.3.tgz#4568f0216e78760ee1dbf3a4d2cf53e224112866"
integrity sha1-RWjwIW54dg7h2/Ok0s9T4iQRKGY=
@@ -11741,11 +11806,6 @@ validate-npm-package-license@^3.0.1:
spdx-correct "^3.0.0"
spdx-expression-parse "^3.0.0"
-validator@12.2.0:
- version "12.2.0"
- resolved "https://registry.npm.taobao.org/validator/download/validator-12.2.0.tgz?cache=0&sync_timestamp=1579921471151&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvalidator%2Fdownload%2Fvalidator-12.2.0.tgz#660d47e96267033fd070096c3b1a6f2db4380a0a"
- integrity sha1-Zg1H6WJnAz/QcAlsOxpvLbQ4Cgo=
-
vary@~1.1.2:
version "1.1.2"
resolved "https://registry.npm.taobao.org/vary/download/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"
@@ -11824,10 +11884,10 @@ vue-jest@4.0.0-beta.2:
source-map "^0.5.6"
ts-jest "^23.10.5"
-vue-loader@^15.8.3:
- version "15.8.3"
- resolved "https://registry.npm.taobao.org/vue-loader/download/vue-loader-15.8.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-loader%2Fdownload%2Fvue-loader-15.8.3.tgz#857cb9e30eb5fc25e66db48dce7e4f768602a23c"
- integrity sha1-hXy54w61/CXmbbSNzn5PdoYCojw=
+vue-loader@^15.9.0:
+ version "15.9.0"
+ resolved "https://registry.npm.taobao.org/vue-loader/download/vue-loader-15.9.0.tgz#5d4b0378a4606188fc83e587ed23c94bc3a10998"
+ integrity sha1-XUsDeKRgYYj8g+WH7SPJS8OhCZg=
dependencies:
"@vue/component-compiler-utils" "^3.1.0"
hash-sum "^1.0.2"
@@ -11915,10 +11975,10 @@ webpack-dev-middleware@^3.7.2:
range-parser "^1.2.1"
webpack-log "^2.0.0"
-webpack-dev-server@3.10.2:
- version "3.10.2"
- resolved "https://registry.npm.taobao.org/webpack-dev-server/download/webpack-dev-server-3.10.2.tgz?cache=0&sync_timestamp=1580485125458&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fwebpack-dev-server%2Fdownload%2Fwebpack-dev-server-3.10.2.tgz#3403287d674c7407aab6d9b3f72259ecd0aa0874"
- integrity sha1-NAMofWdMdAeqttmz9yJZ7NCqCHQ=
+webpack-dev-server@3.10.3:
+ version "3.10.3"
+ resolved "https://registry.npm.taobao.org/webpack-dev-server/download/webpack-dev-server-3.10.3.tgz#f35945036813e57ef582c2420ef7b470e14d3af0"
+ integrity sha1-81lFA2gT5X71gsJCDve0cOFNOvA=
dependencies:
ansi-html "0.0.7"
bonjour "^3.5.0"
@@ -11977,10 +12037,10 @@ webpack-sources@^1.4.0, webpack-sources@^1.4.1:
source-list-map "^2.0.0"
source-map "~0.6.1"
-webpack@^4.41.5:
- version "4.41.5"
- resolved "https://registry.npm.taobao.org/webpack/download/webpack-4.41.5.tgz?cache=0&sync_timestamp=1577481983622&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fwebpack%2Fdownload%2Fwebpack-4.41.5.tgz#3210f1886bce5310e62bb97204d18c263341b77c"
- integrity sha1-MhDxiGvOUxDmK7lyBNGMJjNBt3w=
+webpack@^4.41.6:
+ version "4.41.6"
+ resolved "https://registry.npm.taobao.org/webpack/download/webpack-4.41.6.tgz?cache=0&sync_timestamp=1581419747206&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fwebpack%2Fdownload%2Fwebpack-4.41.6.tgz#12f2f804bf6542ef166755050d4afbc8f66ba7e1"
+ integrity sha1-EvL4BL9lQu8WZ1UFDUr7yPZrp+E=
dependencies:
"@webassemblyjs/ast" "1.8.5"
"@webassemblyjs/helper-module-context" "1.8.5"
@@ -12086,12 +12146,12 @@ wide-align@^1.1.0:
dependencies:
string-width "^1.0.2 || 2"
-widest-line@^2.0.0:
- version "2.0.1"
- resolved "https://registry.npm.taobao.org/widest-line/download/widest-line-2.0.1.tgz#7438764730ec7ef4381ce4df82fb98a53142a3fc"
- integrity sha1-dDh2RzDsfvQ4HOTfgvuYpTFCo/w=
+widest-line@^3.1.0:
+ version "3.1.0"
+ resolved "https://registry.npm.taobao.org/widest-line/download/widest-line-3.1.0.tgz#8292333bbf66cb45ff0de1603b136b7ae1496eca"
+ integrity sha1-gpIzO79my0X/DeFgOxNreuFJbso=
dependencies:
- string-width "^2.1.1"
+ string-width "^4.0.0"
window-size@1.1.1:
version "1.1.1"
@@ -12164,15 +12224,6 @@ wrappy@1:
resolved "https://registry.npm.taobao.org/wrappy/download/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=
-write-file-atomic@^2.0.0:
- version "2.4.3"
- resolved "https://registry.npm.taobao.org/write-file-atomic/download/write-file-atomic-2.4.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fwrite-file-atomic%2Fdownload%2Fwrite-file-atomic-2.4.3.tgz#1fd2e9ae1df3e75b8d8c367443c692d4ca81f481"
- integrity sha1-H9Lprh3z51uNjDZ0Q8aS1MqB9IE=
- dependencies:
- graceful-fs "^4.1.11"
- imurmurhash "^0.1.4"
- signal-exit "^3.0.2"
-
write-file-atomic@^3.0.0, write-file-atomic@^3.0.1:
version "3.0.1"
resolved "https://registry.npm.taobao.org/write-file-atomic/download/write-file-atomic-3.0.1.tgz?cache=0&sync_timestamp=1571199890743&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fwrite-file-atomic%2Fdownload%2Fwrite-file-atomic-3.0.1.tgz#558328352e673b5bb192cf86500d60b230667d4b"
@@ -12207,10 +12258,10 @@ x-is-string@^0.1.0:
resolved "https://registry.npm.taobao.org/x-is-string/download/x-is-string-0.1.0.tgz#474b50865af3a49a9c4657f05acd145458f77d82"
integrity sha1-R0tQhlrzpJqcRlfwWs0UVFj3fYI=
-xdg-basedir@^3.0.0:
- version "3.0.0"
- resolved "https://registry.npm.taobao.org/xdg-basedir/download/xdg-basedir-3.0.0.tgz#496b2cc109eca8dbacfe2dc72b603c17c5870ad4"
- integrity sha1-SWsswQnsqNus/i3HK2A8F8WHCtQ=
+xdg-basedir@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.npm.taobao.org/xdg-basedir/download/xdg-basedir-4.0.0.tgz#4bc8d9984403696225ef83a1573cbbcb4e79db13"
+ integrity sha1-S8jZmEQDaWIl74OhVzy7y0552xM=
xml-name-validator@^3.0.0:
version "3.0.0"
@@ -12256,10 +12307,10 @@ yargs-parser@10.x, yargs-parser@^10.0.0:
dependencies:
camelcase "^4.1.0"
-yargs-parser@15.0.0, yargs-parser@^15.0.0:
- version "15.0.0"
- resolved "https://registry.npm.taobao.org/yargs-parser/download/yargs-parser-15.0.0.tgz?cache=0&sync_timestamp=1572648776744&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fyargs-parser%2Fdownload%2Fyargs-parser-15.0.0.tgz#cdd7a97490ec836195f59f3f4dbe5ea9e8f75f08"
- integrity sha1-zdepdJDsg2GV9Z8/Tb5eqej3Xwg=
+yargs-parser@17.0.0:
+ version "17.0.0"
+ resolved "https://registry.npm.taobao.org/yargs-parser/download/yargs-parser-17.0.0.tgz#cb2586e6fd445b17ced264dd4a38c60bdb35b7ec"
+ integrity sha1-yyWG5v1EWxfO0mTdSjjGC9s1t+w=
dependencies:
camelcase "^5.0.0"
decamelize "^1.2.0"
@@ -12272,6 +12323,14 @@ yargs-parser@^11.1.1:
camelcase "^5.0.0"
decamelize "^1.2.0"
+yargs-parser@^15.0.0:
+ version "15.0.0"
+ resolved "https://registry.npm.taobao.org/yargs-parser/download/yargs-parser-15.0.0.tgz?cache=0&sync_timestamp=1572648776744&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fyargs-parser%2Fdownload%2Fyargs-parser-15.0.0.tgz#cdd7a97490ec836195f59f3f4dbe5ea9e8f75f08"
+ integrity sha1-zdepdJDsg2GV9Z8/Tb5eqej3Xwg=
+ dependencies:
+ camelcase "^5.0.0"
+ decamelize "^1.2.0"
+
yargs-parser@^16.1.0:
version "16.1.0"
resolved "https://registry.npm.taobao.org/yargs-parser/download/yargs-parser-16.1.0.tgz#73747d53ae187e7b8dbe333f95714c76ea00ecf1"
diff --git a/src/action-sheet/README.md b/src/action-sheet/README.md
index 13e0f19ba..4fe07bb59 100644
--- a/src/action-sheet/README.md
+++ b/src/action-sheet/README.md
@@ -133,6 +133,7 @@ export default {
| overlay | Whether to show overlay | *boolean* | `true` |
| lock-scroll | Whether to lock background scroll | *boolean* | `true` |
| lazy-render | Whether to lazy render util appeared | *boolean* | `true` |
+| close-on-popstate `v2.5.3` | Whether to close when popstate | *boolean* | `false` |
| close-on-click-action | Whether to close when click action | *boolean* | `false` |
| close-on-click-overlay | Whether to close when click overlay | *boolean* | `true` |
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation | *boolean* | `true` |
@@ -153,10 +154,10 @@ export default {
| Event | Description | Arguments |
|------|------|------|
-| select | Triggered when click option | item, index |
+| select | Triggered when click option | *action: Action, index: number* |
| cancel | Triggered when cancel click | - |
-| click-overlay | Triggered when click overlay | - |
| open | Triggered when open ActionSheet | - |
-| opened | Triggered when opened ActionSheet | - |
| close | Triggered when close ActionSheet | - |
+| opened | Triggered when opened ActionSheet | - |
| closed | Triggered when closed ActionSheet | - |
+| click-overlay | Triggered when click overlay | - |
diff --git a/src/action-sheet/README.zh-CN.md b/src/action-sheet/README.zh-CN.md
index d959eea46..d22ea5778 100644
--- a/src/action-sheet/README.zh-CN.md
+++ b/src/action-sheet/README.zh-CN.md
@@ -141,15 +141,16 @@ export default {
| title | 顶部标题 | *string* | - |
| cancel-text | 取消按钮文字 | *string* | - |
| description `v2.2.8` | 选项上方的描述信息 | *string* | - |
-| close-icon `v2.2.13` | 关闭 [图标名称](#/zh-CN/icon) 或图片链接 | *string* | `cross` |
+| close-icon `v2.2.13` | 关闭[图标名称](#/zh-CN/icon)或图片链接 | *string* | `cross` |
| duration `v2.0.3` | 动画时长,单位秒 | *number \| string* | `0.3` |
| round `v2.0.9` | 是否显示圆角 | *boolean* | `true` |
| overlay | 是否显示遮罩层 | *boolean* | `true` |
| lock-scroll | 是否锁定背景滚动 | *boolean* | `true` |
| lazy-render | 是否在显示弹层时才渲染节点 | *boolean* | `true` |
+| close-on-popstate `v2.5.3` | 是否在页面回退时自动关闭 | *boolean* | `false` |
| close-on-click-action | 是否在点击选项后关闭 | *boolean* | `false` |
| close-on-click-overlay | 是否在点击遮罩层后关闭 | *boolean* | `true` |
-| safe-area-inset-bottom | 是否开启 [底部安全区适配](#/zh-CN/quickstart#di-bu-an-quan-qu-gua-pei) | *boolean* | `true` |
+| safe-area-inset-bottom | 是否开启[底部安全区适配](#/zh-CN/quickstart#di-bu-an-quan-qu-gua-pei) | *boolean* | `true` |
| get-container | 指定挂载的节点,[用法示例](#/zh-CN/popup#zhi-ding-gua-zai-wei-zhi) | *string \| () => Element* | - |
### Action 数据结构
@@ -169,13 +170,13 @@ export default {
| 事件名 | 说明 | 回调参数 |
|------|------|------|
-| select | 选中选项时触发,禁用或加载状态下不会触发 | item: 选项对应的对象, index: 选择对应的索引 |
+| select | 选中选项时触发,禁用或加载状态下不会触发 | *action: Action, index: number* |
| cancel | 取消按钮点击时触发 | - |
-| click-overlay | 点击遮罩层时触发 | - |
| open | 打开菜单时触发 | - |
-| opened | 打开菜单且动画结束后触发 | - |
| close | 关闭菜单时触发 | - |
+| opened | 打开菜单且动画结束后触发 | - |
| closed | 关闭菜单且动画结束后触发 | - |
+| click-overlay | 点击遮罩层时触发 | - |
## 常见问题
diff --git a/src/action-sheet/index.less b/src/action-sheet/index.less
index 9d3c0ef63..4e7081ad3 100644
--- a/src/action-sheet/index.less
+++ b/src/action-sheet/index.less
@@ -78,5 +78,9 @@
color: @action-sheet-close-icon-color;
font-size: @action-sheet-close-icon-size;
line-height: inherit;
+
+ &:active {
+ color: @action-sheet-close-icon-active-color;
+ }
}
}
diff --git a/src/action-sheet/index.tsx b/src/action-sheet/index.tsx
index 4e967011d..3bd38b011 100644
--- a/src/action-sheet/index.tsx
+++ b/src/action-sheet/index.tsx
@@ -34,6 +34,7 @@ export type ActionSheetProps = PopupMixinProps & {
closeIcon: string;
cancelText?: string;
description?: string;
+ closeOnPopstate?: boolean;
closeOnClickAction?: boolean;
safeAreaInsetBottom?: boolean;
};
@@ -143,6 +144,7 @@ function ActionSheet(
lazyRender={props.lazyRender}
lockScroll={props.lockScroll}
getContainer={props.getContainer}
+ closeOnPopstate={props.closeOnPopstate}
closeOnClickOverlay={props.closeOnClickOverlay}
safeAreaInsetBottom={props.safeAreaInsetBottom}
{...inherit(ctx, true)}
@@ -164,6 +166,7 @@ ActionSheet.props = {
cancelText: String,
description: String,
getContainer: [String, Function],
+ closeOnPopstate: Boolean,
closeOnClickAction: Boolean,
round: {
type: Boolean,
diff --git a/src/address-edit/README.md b/src/address-edit/README.md
index fafcf28e2..2f38436c7 100644
--- a/src/address-edit/README.md
+++ b/src/address-edit/README.md
@@ -73,6 +73,9 @@ export default {
| show-delete | Whether to show delete button | *boolean* | `false` |
| show-set-default | Whether to show default address switch | *boolean* | `false` |
| show-search-result | Whether to show address search result | *boolean* | `false` |
+| show-area | Whether to show area cell | *boolean* | `true` |
+| show-detail | Whether to show detail field | *boolean* | `true` |
+| disable-area `v2.5.0` | Whether to disable area select | *boolean* | `false` |
| save-button-text | Save button text | *string* | `Save` |
| delete-button-text | Delete button text | *string* | `Delete` |
| detail-rows | Detail input rows | *number \| string* | `1` |
diff --git a/src/address-edit/README.zh-CN.md b/src/address-edit/README.zh-CN.md
index ac93c6d30..b0a3ee78c 100644
--- a/src/address-edit/README.zh-CN.md
+++ b/src/address-edit/README.zh-CN.md
@@ -73,6 +73,9 @@ export default {
| show-delete | 是否显示删除按钮 | *boolean* | `false` |
| show-set-default | 是否显示默认地址栏 | *boolean* | `false` |
| show-search-result | 是否显示搜索结果 | *boolean* | `false` |
+| show-area | 是否显示地区 | *boolean* | `true` |
+| show-detail | 是否显示详细地址 | *boolean* | `true` |
+| disable-area `v2.5.0` | 是否禁用地区选择 | *boolean* | `false` |
| save-button-text | 保存按钮文字 | *string* | `保存` |
| delete-button-text | 删除按钮文字 | *string* | `删除` |
| detail-rows | 详细地址输入框行数 | *number \| string* | `1` |
@@ -104,7 +107,7 @@ export default {
### 方法
-通过 ref 可以获取到 AddressEdit 实例并调用实例方法,详见 [组件实例方法](#/zh-CN/quickstart#zu-jian-shi-li-fang-fa)
+通过 ref 可以获取到 AddressEdit 实例并调用实例方法,详见[组件实例方法](#/zh-CN/quickstart#zu-jian-shi-li-fang-fa)
| 方法名 | 说明 | 参数 | 返回值 |
|------|------|------|------|
diff --git a/src/address-edit/index.js b/src/address-edit/index.js
index e24164db3..3e9d42179 100644
--- a/src/address-edit/index.js
+++ b/src/address-edit/index.js
@@ -52,6 +52,7 @@ export default createComponent({
type: Boolean,
default: true,
},
+ disableArea: Boolean,
detailRows: {
type: [Number, String],
default: 1,
@@ -250,7 +251,7 @@ export default createComponent({
},
render() {
- const { data, errorInfo, searchResult } = this;
+ const { data, errorInfo, searchResult, disableArea } = this;
const onFocus = name => () => this.onFocus(name);
// hide bottom field when use search && detail get focused
@@ -280,15 +281,15 @@ export default createComponent({
+
+
+
+
+
+