From f44e788ae8914727220854a0acec141ec59b2fb6 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 29 May 2018 21:06:41 +0800 Subject: [PATCH] [Doc] improve quickstart (#1187) --- README.md | 31 +- README.zh-CN.md | 39 +- docs/markdown/changelog.en-US.md | 740 ++++++++++++------------ docs/markdown/changelog.zh-CN.md | 926 +++++++++++++++--------------- docs/markdown/intro.zh-CN.md | 10 +- docs/markdown/quickstart.en-US.md | 61 +- docs/markdown/quickstart.zh-CN.md | 80 ++- docs/src/DocsApp.vue | 2 +- docs/src/doc.config.js | 18 +- package.json | 12 +- yarn.lock | 553 +++++++++--------- 11 files changed, 1287 insertions(+), 1185 deletions(-) diff --git a/README.md b/README.md index 00de823fa..21fb7d7b9 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,27 @@ ## Install +#### NPM + ```shell -npm i -S vant +npm i vant -S +``` + +#### YARN + +```shell +yarn add vant +``` + +#### CDN + +```html + + + + + + ``` ## Quickstart @@ -80,15 +99,7 @@ import 'vant/lib/vant-css/index.css'; Vue.use(Vant); ``` -### CDN - -```html - - - - - -``` +> If you configured babel-plugin-import, you won't be allowed to import all components. See more in [Quickstart](https://youzan.github.io/vant#/en-US/quickstart). diff --git a/README.zh-CN.md b/README.zh-CN.md index df1de79ba..102b45089 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -23,17 +23,40 @@ * 支持 [babel-plugin-import](https://github.com/ant-design/babel-plugin-import) * 支持 TypeScript * 支持 SSR - + ## 安装 +#### NPM + ```shell -npm i -S vant +npm i vant -S +``` + +#### YARN + +```shell +yarn add vant +``` + +#### CDN + +访问下面的文件 URL,会自动重定向至最新版本的 CDN 链接,建议使用固定版本的 CDN 链接,避免升级时受到非兼容性更新的影响。 + +```html + + + + + + ``` ## 快速上手 #### 方式一. 使用  [babel-plugin-import](https://github.com/ant-design/babel-plugin-import) (推荐) +`babel-plugin-import` 是一款 babel 插件,它会在编译过程中将 import 的写法自动转换为按需引入的方式 + ```bash # 安装 babel-plugin-import 插件 npm i babel-plugin-import -D @@ -61,6 +84,8 @@ import { Button } from 'vant'; #### 方式二. 按需引入组件 +在不使用插件的情况下,可以手动引入需要的组件 + ```js import Button from 'vant/lib/button'; import 'vant/lib/vant-css/base.css'; @@ -77,15 +102,7 @@ import 'vant/lib/vant-css/index.css'; Vue.use(Vant); ``` -### CDN - -```html - - - - - -``` +> 注意:配置 babel-plugin-import 插件后将不允许导入所有组件 更多内容请参考 [快速上手](https://youzan.github.io/vant#/zh-CN/quickstart). diff --git a/docs/markdown/changelog.en-US.md b/docs/markdown/changelog.en-US.md index 647680b3f..793cb5113 100644 --- a/docs/markdown/changelog.en-US.md +++ b/docs/markdown/changelog.en-US.md @@ -5,21 +5,21 @@ **Improvements** -- AddressEdit: trim empty value [\#1150](https://github.com/youzan/vant/pull/1150) [@chenjiahan](https://github.com/chenjiahan) -- Dialog: prevent button text select [\#1148](https://github.com/youzan/vant/pull/1148) [@chenjiahan](https://github.com/chenjiahan) -- NumberKeyboard: add close event [\#1127](https://github.com/youzan/vant/pull/1127) [@chenjiahan](https://github.com/chenjiahan) -- Rate: add change event [\#1102](https://github.com/youzan/vant/pull/1102) [@chenjiahan](https://github.com/chenjiahan) -- Picker: update unselected option color [\#1142](https://github.com/youzan/vant/pull/1142) [@chenjiahan](https://github.com/chenjiahan) -- Popup: support lazy render [\#1138](https://github.com/youzan/vant/pull/1138) [@chenjiahan](https://github.com/chenjiahan) -- Sku: update error info [\#1100](https://github.com/youzan/vantpull/1100) [@w91](https://github.com/w91) -- TreeSelect: support string type id [\#1126](https://github.com/youzan/vant/pull/1126) [@chenjiahan](https://github.com/chenjiahan) -- Utils: remove unused scroll utils [\#1112](https://github.com/youzan/vant/pull/1112) [@chenjiahan](https://github.com/chenjiahan) +- AddressEdit: trim empty value [\#1150](https://github.com/youzan/vant/pull/1150) +- Dialog: prevent button text select [\#1148](https://github.com/youzan/vant/pull/1148) +- NumberKeyboard: add close event [\#1127](https://github.com/youzan/vant/pull/1127) +- Rate: add change event [\#1102](https://github.com/youzan/vant/pull/1102) +- Picker: update unselected option color [\#1142](https://github.com/youzan/vant/pull/1142) +- Popup: support lazy render [\#1138](https://github.com/youzan/vant/pull/1138) +- Sku: update error info [\#1100](https://github.com/youzan/vantpull/1100) +- TreeSelect: support string type id [\#1126](https://github.com/youzan/vant/pull/1126) +- Utils: remove unused scroll utils [\#1112](https://github.com/youzan/vant/pull/1112) **Bug Fixes** -- fix Toast mask render uncorrectly when forbidClick [\#1154](https://github.com/youzan/vant/pull/1154) [@chenjiahan](https://github.com/chenjiahan) -- fix Field input margin in safari [\#1147](https://github.com/youzan/vant/pull/1147) [@chenjiahan](https://github.com/chenjiahan) -- fix Progress pivot cross border [\#1135](https://github.com/youzan/vant/pull/1135) [@chenjiahan](https://github.com/chenjiahan) +- fix Toast mask render uncorrectly when forbidClick [\#1154](https://github.com/youzan/vant/pull/1154) +- fix Field input margin in safari [\#1147](https://github.com/youzan/vant/pull/1147) +- fix Progress pivot cross border [\#1135](https://github.com/youzan/vant/pull/1135) ### [1.1.4](https://github.com/youzan/vant/tree/v1.1.4) @@ -27,20 +27,20 @@ **Improvements** -- AddressEdit: fit in small screen [\#1082](https://github.com/youzan/vant/pull/1082) [@chenjiahan](https://github.com/chenjiahan) -- Cell: support number type title & value [\#1073](https://github.com/youzan/vant/pull/1073) [@chenjiahan](https://github.com/chenjiahan) -- Field: add left-icon prop [\#1092](https://github.com/youzan/vant/pull/1092) [@chenjiahan](https://github.com/chenjiahan) -- Progress: support gradient color [\#1098](https://github.com/youzan/vant/pull/1098) [@chenjiahan](https://github.com/chenjiahan) -- Build: upgrade to webpack-serve [\#1056](https://github.com/youzan/vant/pull/1056) [@chenjiahan](https://github.com/chenjiahan) -- Reorganize demos [\#1052](https://github.com/youzan/vant/pull/1052) [@chenjiahan](https://github.com/chenjiahan) -- Reorganize document [\#1066](https://github.com/youzan/vant/pull/1066) [@chenjiahan](https://github.com/chenjiahan) -- Rebuild test system [\#1051](https://github.com/youzan/vant/pull/1051) [@chenjiahan](https://github.com/chenjiahan) +- AddressEdit: fit in small screen [\#1082](https://github.com/youzan/vant/pull/1082) +- Cell: support number type title & value [\#1073](https://github.com/youzan/vant/pull/1073) +- Field: add left-icon prop [\#1092](https://github.com/youzan/vant/pull/1092) +- Progress: support gradient color [\#1098](https://github.com/youzan/vant/pull/1098) +- Build: upgrade to webpack-serve [\#1056](https://github.com/youzan/vant/pull/1056) +- Reorganize demos [\#1052](https://github.com/youzan/vant/pull/1052) +- Reorganize document [\#1066](https://github.com/youzan/vant/pull/1066) +- Rebuild test system [\#1051](https://github.com/youzan/vant/pull/1051) **Bug Fixes** -- fix DatetimePicker initial value error [\#1093](https://github.com/youzan/vant/pull/1093) [@rex-zsd](https://github.com/rex-zsd) -- fix GoodsAction info position [\#1074](https://github.com/youzan/vant/pull/1074) [@chenjiahan](https://github.com/chenjiahan) -- fix icon style template [\#1091](https://github.com/youzan/vant/pull/1091) [@chenjiahan](https://github.com/chenjiahan) +- fix DatetimePicker initial value error [\#1093](https://github.com/youzan/vant/pull/1093) +- fix GoodsAction info position [\#1074](https://github.com/youzan/vant/pull/1074) +- fix icon style template [\#1091](https://github.com/youzan/vant/pull/1091) ### [1.1.3](https://github.com/youzan/vant/tree/v1.1.3) @@ -48,19 +48,19 @@ **Improvements** -- AddressEdit: add cancel-delete event [\#1047](https://github.com/youzan/vant/pull/1047) [@chenjiahan](https://github.com/chenjiahan) -- Field: add label slot [\#1048](https://github.com/youzan/vant/pull/1048) [@chenjiahan](https://github.com/chenjiahan) -- Icon: update search icon [\#1025](https://github.com/youzan/vant/pull/1025) [@chenjiahan](https://github.com/chenjiahan) -- Icon: support color property [\#1031](https://github.com/youzan/vant/pull/1031) [@realywithoutname](https://github.com/realywithoutname) -- ImagePreview: optimize click detect [\#1042](https://github.com/youzan/vant/pull/1042) [@chenjiahan](https://github.com/chenjiahan) -- NoticeBar: add ref check [\#1037](https://github.com/youzan/vant/pull/1037) [@chenjiahan](https://github.com/chenjiahan) -- Search: update style [\#1027](https://github.com/youzan/vant/pull/1027) [@chenjiahan](https://github.com/chenjiahan) -- Toast: add loadingType option [\#1049](https://github.com/youzan/vant/pull/1049) [@chenjiahan](https://github.com/chenjiahan) +- AddressEdit: add cancel-delete event [\#1047](https://github.com/youzan/vant/pull/1047) +- Field: add label slot [\#1048](https://github.com/youzan/vant/pull/1048) +- Icon: update search icon [\#1025](https://github.com/youzan/vant/pull/1025) +- Icon: support color property [\#1031](https://github.com/youzan/vant/pull/1031) +- ImagePreview: optimize click detect [\#1042](https://github.com/youzan/vant/pull/1042) +- NoticeBar: add ref check [\#1037](https://github.com/youzan/vant/pull/1037) +- Search: update style [\#1027](https://github.com/youzan/vant/pull/1027) +- Toast: add loadingType option [\#1049](https://github.com/youzan/vant/pull/1049) **Bug Fixes** -- fix Cell default width [\#1029](https://github.com/youzan/vant/pull/1029) [@chenjiahan](https://github.com/chenjiahan) -- fix ImagePreview can't be closed when contain single image [\#1046](https://github.com/youzan/vant/pull/1046) [@chenjiahan](https://github.com/chenjiahan) +- fix Cell default width [\#1029](https://github.com/youzan/vant/pull/1029) +- fix ImagePreview can't be closed when contain single image [\#1046](https://github.com/youzan/vant/pull/1046) ### [1.1.2](https://github.com/youzan/vant/tree/v1.1.2) @@ -68,19 +68,19 @@ **Improvements** -- add Rate component [\#901](https://github.com/youzan/vant/pull/901) [\#1002](https://github.com/youzan/vant/pull/1002) [\#1010](https://github.com/youzan/vant/pull/1010) [\#1011](https://github.com/youzan/vant/pull/1011) [@Tinysymphony](https://github.com/Tinysymphony) [@chenjiahan](https://github.com/chenjiahan) -- Area: add change event [\#1019](https://github.com/youzan/vant/pull/1019) [@chenjiahan](https://github.com/chenjiahan) -- Button: update border color [\#998](https://github.com/youzan/vant/pull/998) [@chenjiahan](https://github.com/chenjiahan) -- Locale: add warning when not correctly registered [\#1012](https://github.com/youzan/vant/pull/1012) [@chenjiahan](https://github.com/chenjiahan) -- Stepper: update disabled style [\#997](https://github.com/youzan/vant/pull/997) [@chenjiahan](https://github.com/chenjiahan) -- optimize component watcher [\#1001](https://github.com/youzan/vant/pull/1001) [@chenjiahan](https://github.com/chenjiahan) -- Document: optimize API table [\#990](https://github.com/youzan/vant/pull/990) [\#991](https://github.com/youzan/vant/pull/991) [@chenjiahan](https://github.com/chenjiahan) +- add Rate component [\#901](https://github.com/youzan/vant/pull/901) [\#1002](https://github.com/youzan/vant/pull/1002) [\#1010](https://github.com/youzan/vant/pull/1010) [\#1011](https://github.com/youzan/vant/pull/1011) +- Area: add change event [\#1019](https://github.com/youzan/vant/pull/1019) +- Button: update border color [\#998](https://github.com/youzan/vant/pull/998) +- Locale: add warning when not correctly registered [\#1012](https://github.com/youzan/vant/pull/1012) +- Stepper: update disabled style [\#997](https://github.com/youzan/vant/pull/997) +- optimize component watcher [\#1001](https://github.com/youzan/vant/pull/1001) +- Document: optimize API table [\#990](https://github.com/youzan/vant/pull/990) [\#991](https://github.com/youzan/vant/pull/991) **Bug Fixes** -- fix Search should not have cell border [\#1000](https://github.com/youzan/vant/pull/1000) [@chenjiahan](https://github.com/chenjiahan) -- fix Tab should lazy render tab-pane [\#978](https://github.com/youzan/vant/pull/978) ([jerryni](https://github.com/jerryni)) -- fix Stepper integer wrong spelling [\#992](https://github.com/youzan/vant/pull/992) [@chenjiahan](https://github.com/chenjiahan) +- fix Search should not have cell border [\#1000](https://github.com/youzan/vant/pull/1000) +- fix Tab should lazy render tab-pane [\#978](https://github.com/youzan/vant/pull/978) +- fix Stepper integer wrong spelling [\#992](https://github.com/youzan/vant/pull/992) ### [1.1.1](https://github.com/youzan/vant/tree/v1.1.1) @@ -88,18 +88,18 @@ **Improvements** -* Contact: optimize background image [\#972](https://github.com/youzan/vant/pull/972) [@chenjiahan](https://github.com/chenjiahan) -* List: add loading-text prop [\#948](https://github.com/youzan/vant/pull/948) [@rex-zsd](https://github.com/rex-zsd) -* Swipe: optimzie performance [\#985](https://github.com/youzan/vant/pull/985) [@chenjiahan](https://github.com/chenjiahan) -* Swipe: add touchable prop [\#975](https://github.com/youzan/vant/pull/975) [@chenjiahan](https://github.com/chenjiahan) -* Swipe: support vertical mode [\#938](https://github.com/youzan/vant/pull/938) [@jerryni](https://github.com/jerryni) -* Slider: expand touch area [\#977](https://github.com/youzan/vant/pull/977) [@chenjiahan](https://github.com/chenjiahan) -* Stepper: add interger prop [\#951](https://github.com/youzan/vant/pull/951) [@chenjiahan](https://github.com/chenjiahan) -* Tab: add line-width prop [\#988](https://github.com/youzan/vant/pull/988) [@chenjiahan](https://github.com/chenjiahan) +* Contact: optimize background image [\#972](https://github.com/youzan/vant/pull/972) +* List: add loading-text prop [\#948](https://github.com/youzan/vant/pull/948) +* Swipe: optimzie performance [\#985](https://github.com/youzan/vant/pull/985) +* Swipe: add touchable prop [\#975](https://github.com/youzan/vant/pull/975) +* Swipe: support vertical mode [\#938](https://github.com/youzan/vant/pull/938) +* Slider: expand touch area [\#977](https://github.com/youzan/vant/pull/977) +* Stepper: add interger prop [\#951](https://github.com/youzan/vant/pull/951) +* Tab: add line-width prop [\#988](https://github.com/youzan/vant/pull/988) **Bug Fixes** -* fix ImagePreview offset calc error [\#980](https://github.com/youzan/vant/pull/980) [@jerryni](https://github.com/jerryni) -* fix Search incomplete text display in iOS [\#974](https://github.com/youzan/vant/pull/974) [@chenjiahan](https://github.com/chenjiahan) +* fix ImagePreview offset calc error [\#980](https://github.com/youzan/vant/pull/980) +* fix Search incomplete text display in iOS [\#974](https://github.com/youzan/vant/pull/974) ### [1.1.0](https://github.com/youzan/vant/tree/v1.1.0) @@ -107,38 +107,38 @@ **Improvements** -* add Slider component [\#897](https://github.com/youzan/vant/pull/897) [\#915](https://github.com/youzan/vant/pull/915) [jerryni](https://github.com/jerryni) [@chenjiahan](https://github.com/chenjiahan) -* add bem mixin and format bem style [\#921](https://github.com/youzan/vant/pull/921) [\#924](https://github.com/youzan/vant/pull/924) [\#932](https://github.com/youzan/vant/pull/932) [\#934](https://github.com/youzan/vant/pull/934) [@chenjiahan](https://github.com/chenjiahan) -* Panel: use cell instead of extra style [\#927](https://github.com/youzan/vant/pull/927) [@chenjiahan](https://github.com/chenjiahan) -* Cell: optimize flex layout [\#919](https://github.com/youzan/vant/pull/919) [@chenjiahan](https://github.com/chenjiahan) -* Slider: add step & bar-height prop [\#915](https://github.com/youzan/vant/pull/915) [@chenjiahan](https://github.com/chenjiahan) -* Build: upgrade vue-loader@15 [\#937](https://github.com/youzan/vant/pull/937) [@chenjiahan](https://github.com/chenjiahan) -* Build: use ChromeHeadless instead of PhantomJS to run test cases [\#913](https://github.com/youzan/vant/pull/913) [@chenjiahan](https://github.com/chenjiahan) -* Build: use MiniCssExtractPlugin instead of ExtractTextPlugin [\#936](https://github.com/youzan/vant/pull/936) [@chenjiahan](https://github.com/chenjiahan) -* Build: add sideEffects config for webpack 4 [\#926](https://github.com/youzan/vant/pull/926) [@chenjiahan](https://github.com/chenjiahan) -* Document: add rem guide [\#928](https://github.com/youzan/vant/pull/928) [@chenjiahan](https://github.com/chenjiahan) -* Document: remove Loading circle type [\#941](https://github.com/youzan/vant/pull/941) [@chenjiahan](https://github.com/chenjiahan) +* add Slider component [\#897](https://github.com/youzan/vant/pull/897) [\#915](https://github.com/youzan/vant/pull/915) [jerryni](https://github.com/jerryni) +* add bem mixin and format bem style [\#921](https://github.com/youzan/vant/pull/921) [\#924](https://github.com/youzan/vant/pull/924) [\#932](https://github.com/youzan/vant/pull/932) [\#934](https://github.com/youzan/vant/pull/934) +* Panel: use cell instead of extra style [\#927](https://github.com/youzan/vant/pull/927) +* Cell: optimize flex layout [\#919](https://github.com/youzan/vant/pull/919) +* Slider: add step & bar-height prop [\#915](https://github.com/youzan/vant/pull/915) +* Build: upgrade vue-loader 15 [\#937](https://github.com/youzan/vant/pull/937) +* Build: use ChromeHeadless instead of PhantomJS to run test cases [\#913](https://github.com/youzan/vant/pull/913) +* Build: use MiniCssExtractPlugin instead of ExtractTextPlugin [\#936](https://github.com/youzan/vant/pull/936) +* Build: add sideEffects config for webpack 4 [\#926](https://github.com/youzan/vant/pull/926) +* Document: add rem guide [\#928](https://github.com/youzan/vant/pull/928) +* Document: remove Loading circle type [\#941](https://github.com/youzan/vant/pull/941) **Bug Fixes** -* fix Uploader can not upload pic in android [\#929](https://github.com/youzan/vant/pull/929) [@chenjiahan](https://github.com/chenjiahan) -* fix Checkbox should not render label when label is empty [\#920](https://github.com/youzan/vant/pull/920) [@chenjiahan](https://github.com/chenjiahan) -* fix Dialog type define error [\#918](https://github.com/youzan/vant/pull/918) [@chenjiahan](https://github.com/chenjiahan) -* fix Popup should remove touch event listener when distroyed [\#912](https://github.com/youzan/vant/pull/912) [@chenjiahan](https://github.com/chenjiahan) -* fix Picker text adjust may cause option wrong offset [\#916](https://github.com/youzan/vant/pull/916) [@chenjiahan](https://github.com/chenjiahan) +* fix Uploader can not upload pic in android [\#929](https://github.com/youzan/vant/pull/929) +* fix Checkbox should not render label when label is empty [\#920](https://github.com/youzan/vant/pull/920) +* fix Dialog type define error [\#918](https://github.com/youzan/vant/pull/918) +* fix Popup should remove touch event listener when distroyed [\#912](https://github.com/youzan/vant/pull/912) +* fix Picker text adjust may cause option wrong offset [\#916](https://github.com/youzan/vant/pull/916) ### [1.0.8](https://github.com/youzan/vant/tree/v1.0.8) `2018-04-20` **Improvements** -* add git hook, optimize dev process [\#883](https://github.com/youzan/vant/pull/883) [@jerryni](https://github.com/jerryni) +* add git hook, optimize dev process [\#883](https://github.com/youzan/vant/pull/883) **Bug Fixes** -* Cell: optimize left icon [\#893](https://github.com/youzan/vant/pull/893) [@chenjiahan](https://github.com/chenjiahan) -* Build: should use babel sync compile [\#885](https://github.com/youzan/vant/pull/885) [@chenjiahan](https://github.com/chenjiahan) -* Field: allow negative number when type is number [\#889](https://github.com/youzan/vant/pull/889) [@chenjiahan](https://github.com/chenjiahan) -* Popup: fix lock scroll [\#891](https://github.com/youzan/vant/pull/891) [@Tinysymphony](https://github.com/Tinysymphony) +* Cell: optimize left icon [\#893](https://github.com/youzan/vant/pull/893) +* Build: should use babel sync compile [\#885](https://github.com/youzan/vant/pull/885) +* Field: allow negative number when type is number [\#889](https://github.com/youzan/vant/pull/889) +* Popup: fix lock scroll [\#891](https://github.com/youzan/vant/pull/891) ### [1.0.7](https://github.com/youzan/vant/tree/v1.0.7) @@ -146,21 +146,21 @@ **Bug Fixes** -* fix missing style entry in build result [@chenjiahan](https://github.com/chenjiahan) +* fix missing style entry in build result ### [1.0.6](https://github.com/youzan/vant/tree/v1.0.6) `2018-04-17` **Improvements** -* support es module [\#875](https://github.com/youzan/vant/pull/875) [@chenjiahan](https://github.com/chenjiahan) -* Dialog: add before-close prop, support async close [\#854](https://github.com/youzan/vant/pull/854) [\#881](https://github.com/youzan/vant/pull/881) [@chenjiahan](https://github.com/chenjiahan) [@qianzhaoy](https://github.com/qianzhaoy) -* SubmitBar: support custom currency symbol [\#876](https://github.com/youzan/vant/pull/876) [@chenjiahan](https://github.com/chenjiahan) -* Tab: support v-model bind active tab [\#879](https://github.com/youzan/vant/pull/879) [@chenjiahan](https://github.com/chenjiahan) +* support es module [\#875](https://github.com/youzan/vant/pull/875) +* Dialog: add before-close prop, support async close [\#854](https://github.com/youzan/vant/pull/854) [\#881](https://github.com/youzan/vant/pull/881) +* SubmitBar: support custom currency symbol [\#876](https://github.com/youzan/vant/pull/876) +* Tab: support v-model bind active tab [\#879](https://github.com/youzan/vant/pull/879) **Bug Fixes** -* fix DatetimePicker change event params not correct [\#878](https://github.com/youzan/vant/pull/878) [@jerryni](https://github.com/jerryni) +* fix DatetimePicker change event params not correct [\#878](https://github.com/youzan/vant/pull/878) ### [1.0.5](https://github.com/youzan/vant/tree/v1.0.5) @@ -168,19 +168,19 @@ **Improvements** -* add touch mixin [\#869](https://github.com/youzan/vant/pull/869) [@chenjiahan](https://github.com/chenjiahan) -* Tabbar: support Number type info [\#845](https://github.com/youzan/vant/pull/845) [@chenjiahan](https://github.com/chenjiahan) -* Radio: name support any types [\#863](https://github.com/youzan/vant/pull/863) [@chenjiahan](https://github.com/chenjiahan) +* add touch mixin [\#869](https://github.com/youzan/vant/pull/869) +* Tabbar: support Number type info [\#845](https://github.com/youzan/vant/pull/845) +* Radio: name support any types [\#863](https://github.com/youzan/vant/pull/863) **Bug Fixes** -* fix NavBar title max width limitation [\#867](https://github.com/youzan/vant/pull/867) [@chenjiahan](https://github.com/chenjiahan) -* fix Button vertical align incorrect when loading [\#858](https://github.com/youzan/vant/pull/858) [@chenjiahan](https://github.com/chenjiahan) -* fix CellSwipe should only trigger swipe when drag horizontally [\#866](https://github.com/youzan/vant/pull/866) [@chenjiahan](https://github.com/chenjiahan) -* fix ImagePreview manually close not work [\#864](https://github.com/youzan/vant/pull/864) [@chenjiahan](https://github.com/chenjiahan) -* fix SubmitBar inherit wrong font size [\#857](https://github.com/youzan/vant/pull/857) [@chenjiahan](https://github.com/chenjiahan) -* fix SwitchCell text vertical align [\#852](https://github.com/youzan/vant/pull/852) [@chenjiahan](https://github.com/chenjiahan) -* fix Swipe not stop touch event propagation [\#846](https://github.com/youzan/vant/pull/846) [@chenjiahan](https://github.com/chenjiahan) +* fix NavBar title max width limitation [\#867](https://github.com/youzan/vant/pull/867) +* fix Button vertical align incorrect when loading [\#858](https://github.com/youzan/vant/pull/858) +* fix CellSwipe should only trigger swipe when drag horizontally [\#866](https://github.com/youzan/vant/pull/866) +* fix ImagePreview manually close not work [\#864](https://github.com/youzan/vant/pull/864) +* fix SubmitBar inherit wrong font size [\#857](https://github.com/youzan/vant/pull/857) +* fix SwitchCell text vertical align [\#852](https://github.com/youzan/vant/pull/852) +* fix Swipe not stop touch event propagation [\#846](https://github.com/youzan/vant/pull/846) ### [1.0.4](https://github.com/youzan/vant/tree/v1.0.4) @@ -188,19 +188,19 @@ **Improvements** -* Actionsheet: add cancel event [\#796](https://github.com/youzan/vant/pull/796) [@cookfront](https://github.com/cookfront) -* Actionsheet: support maxHeight [\#777](https://github.com/youzan/vant/pull/777) [@iscarecrow](https://github.com/iscarecrow) -* DatetimePicker: support all picker props [\#788](https://github.com/youzan/vant/pull/788) [@chenjiahan](https://github.com/chenjiahan) -* SubmitBar: unite font-size [\#774](https://github.com/youzan/vant/pull/774) [@chenjiahan](https://github.com/chenjiahan) -* i18n: support zh-HK language [\#812](https://github.com/youzan/vant/pull/812) [@jasonc08](https://github.com/jasonc08) +* Actionsheet: add cancel event [\#796](https://github.com/youzan/vant/pull/796) +* Actionsheet: support maxHeight [\#777](https://github.com/youzan/vant/pull/777) +* DatetimePicker: support all picker props [\#788](https://github.com/youzan/vant/pull/788) +* SubmitBar: unite font-size [\#774](https://github.com/youzan/vant/pull/774) +* i18n: support zh-HK language [\#812](https://github.com/youzan/vant/pull/812) **Bug Fixes** -* fix Button should be unclickable when loading [\#779](https://github.com/youzan/vant/pull/779) [@chenjiahan](https://github.com/chenjiahan) -* fix Dialog close method may cause error [\#841](https://github.com/youzan/vant/pull/841) [@chenjiahan](https://github.com/chenjiahan) -* fix Popup lock-scroll not work when open multi popup [\#842](https://github.com/youzan/vant/pull/842) [@chenjiahan](https://github.com/chenjiahan) -* fix SubmitBar price decimal rounding [\#820](https://github.com/youzan/vant/pull/820) [@ddchef](https://github.com/ddchef) -* fix Sku row font-size [\#840](https://github.com/youzan/vant/pull/840) [@chenjiahan](https://github.com/chenjiahan) +* fix Button should be unclickable when loading [\#779](https://github.com/youzan/vant/pull/779) +* fix Dialog close method may cause error [\#841](https://github.com/youzan/vant/pull/841) +* fix Popup lock-scroll not work when open multi popup [\#842](https://github.com/youzan/vant/pull/842) +* fix SubmitBar price decimal rounding [\#820](https://github.com/youzan/vant/pull/820) +* fix Sku row font-size [\#840](https://github.com/youzan/vant/pull/840) ### [1.0.3](https://github.com/youzan/vant/tree/v1.0.3) @@ -208,15 +208,15 @@ **Improvements** -* Cell: add center prop [\#771](https://github.com/youzan/vant/pull/771) [@chenjiahan](https://github.com/chenjiahan) -* Cell: update to flex-box [\#770](https://github.com/youzan/vant/pull/770) [@chenjiahan](https://github.com/chenjiahan) -* Field: add button slot [\#772](https://github.com/youzan/vant/pull/772) [@chenjiahan](https://github.com/chenjiahan) -* Tab: click event add title param [\#761](https://github.com/youzan/vant/pull/761) [@chenjiahan](https://github.com/chenjiahan) +* Cell: add center prop [\#771](https://github.com/youzan/vant/pull/771) +* Cell: update to flex-box [\#770](https://github.com/youzan/vant/pull/770) +* Field: add button slot [\#772](https://github.com/youzan/vant/pull/772) +* Tab: click event add title param [\#761](https://github.com/youzan/vant/pull/761) **Bug Fixes** -* fix Tag text line height in android browser [\#773](https://github.com/youzan/vant/pull/773) [@chenjiahan](https://github.com/chenjiahan) -* fix Toast mask not remove when hidden [\#762](https://github.com/youzan/vant/pull/762) [@chenjiahan](https://github.com/chenjiahan) +* fix Tag text line height in android browser [\#773](https://github.com/youzan/vant/pull/773) +* fix Toast mask not remove when hidden [\#762](https://github.com/youzan/vant/pull/762) ### [1.0.2](https://github.com/youzan/vant/tree/v1.0.2) @@ -224,18 +224,18 @@ **Improvements** -* DatetimePicker: add show-toolbar prop & month-year type [\#736](https://github.com/youzan/vant/pull/736) [@zz1211](https://github.com/zz1211) -* NavBar: remove top border [\#744](https://github.com/youzan/vant/pull/744) [@chenjiahan](https://github.com/chenjiahan) -* NoticeBar: adjust padding [\#737](https://github.com/youzan/vant/pull/737) [@skylinety](https://github.com/skylinety) -* Doc: add guide of custom iconfont [\#754](https://github.com/youzan/vant/pull/754) [@qianzhaoy](https://github.com/qianzhaoy) +* DatetimePicker: add show-toolbar prop & month-year type [\#736](https://github.com/youzan/vant/pull/736) +* NavBar: remove top border [\#744](https://github.com/youzan/vant/pull/744) +* NoticeBar: adjust padding [\#737](https://github.com/youzan/vant/pull/737) +* Doc: add guide of custom iconfont [\#754](https://github.com/youzan/vant/pull/754) **Bug Fixes** -* fix AddressEdit not auto select area when created [\#748](https://github.com/youzan/vant/pull/748) [@chenjiahan](https://github.com/chenjiahan) -* fix List trigger load event when hidden [\#751](https://github.com/youzan/vant/pull/751) [@chenjiahan](https://github.com/chenjiahan) -* fix Sku default selection not work [\#752](https://github.com/youzan/vant/pull/752) [@w91](https://github.com/w91) -* fix Toast overlay blocked by other element [\#740](https://github.com/youzan/vant/pull/740) [@chenjiahan](https://github.com/chenjiahan) -* fix Tab content not clickable [\#749](https://github.com/youzan/vant/pull/749) [@cookfront](https://github.com/cookfront) +* fix AddressEdit not auto select area when created [\#748](https://github.com/youzan/vant/pull/748) +* fix List trigger load event when hidden [\#751](https://github.com/youzan/vant/pull/751) +* fix Sku default selection not work [\#752](https://github.com/youzan/vant/pull/752) +* fix Toast overlay blocked by other element [\#740](https://github.com/youzan/vant/pull/740) +* fix Tab content not clickable [\#749](https://github.com/youzan/vant/pull/749) ### [1.0.1](https://github.com/youzan/vant/tree/v1.0.1) @@ -243,7 +243,7 @@ **Bug Fixes** -* fix module circular dependency [\#728](https://github.com/youzan/vant/pull/728) [@chenjiahan](https://github.com/chenjiahan) +* fix module circular dependency [\#728](https://github.com/youzan/vant/pull/728) ### [1.0.0](https://github.com/youzan/vant/tree/v1.0.0) @@ -251,40 +251,40 @@ **Breaking changes** -* add List component [\#682](https://github.com/youzan/vant/pull/682) [@chenjiahan](https://github.com/chenjiahan) -* add Collapse component [\#674](https://github.com/youzan/vant/pull/674) [@chenjiahan](https://github.com/chenjiahan) -* Build: upgrade to webpack 4 [\#693](https://github.com/youzan/vant/pull/693) [@chenjiahan](https://github.com/chenjiahan) -* Popup: add lock-scroll instead of lock-on-scroll & prevent-scroll [\#688](https://github.com/youzan/vant/pull/688) [@chenjiahan](https://github.com/chenjiahan) -* Deprecate Waterfall component and add deprecate tips [\#683](https://github.com/youzan/vant/pull/683) [@chenjiahan](https://github.com/chenjiahan) +* add List component [\#682](https://github.com/youzan/vant/pull/682) +* add Collapse component [\#674](https://github.com/youzan/vant/pull/674) +* Build: upgrade to webpack 4 [\#693](https://github.com/youzan/vant/pull/693) +* Popup: add lock-scroll instead of lock-on-scroll & prevent-scroll [\#688](https://github.com/youzan/vant/pull/688) +* Deprecate Waterfall component and add deprecate tips [\#683](https://github.com/youzan/vant/pull/683) **Improvements** -* AddressEdit: add show-delete prop [\#716](https://github.com/youzan/vant/pull/716) [@chenjiahan](https://github.com/chenjiahan) -* CellSwipe: optimzie animation fluency [\#685](https://github.com/youzan/vant/pull/685) [@chenjiahan](https://github.com/chenjiahan) -* Field: support autosize maxHeight & minHeight [\#718](https://github.com/youzan/vant/pull/718) [@chenjiahan](https://github.com/chenjiahan) -* Locale: optimize i18n config [\#701](https://github.com/youzan/vant/pull/701) [@chenjiahan](https://github.com/chenjiahan) -* PullRefresh: support trigger loading animation [\#684](https://github.com/youzan/vant/pull/684) [@chenjiahan](https://github.com/chenjiahan) -* Switch: support custom size [\#723](https://github.com/youzan/vant/pull/723) [@chenjiahan](https://github.com/chenjiahan) -* Sku: add header price slot [\#705](https://github.com/youzan/vant/pull/705) [@w91](https://github.com/w91) -* Sku: optimize DOM [\#704](https://github.com/youzan/vant/pull/704) [@chenjiahan](https://github.com/chenjiahan) -* Tab: support switch tabs with swipe gestrue in the content [\#694](https://github.com/youzan/vant/pull/694) [\#695](https://github.com/youzan/vant/pull/695) [@cookfront](https://github.com/cookfront) -* Tag: adjust style [\#689](https://github.com/youzan/vant/pull/689) [@chenjiahan](https://github.com/chenjiahan) -* Toast: support Vue.use to register [\#690](https://github.com/youzan/vant/pull/690) [@chenjiahan](https://github.com/chenjiahan) +* AddressEdit: add show-delete prop [\#716](https://github.com/youzan/vant/pull/716) +* CellSwipe: optimzie animation fluency [\#685](https://github.com/youzan/vant/pull/685) +* Field: support autosize maxHeight & minHeight [\#718](https://github.com/youzan/vant/pull/718) +* Locale: optimize i18n config [\#701](https://github.com/youzan/vant/pull/701) +* PullRefresh: support trigger loading animation [\#684](https://github.com/youzan/vant/pull/684) +* Switch: support custom size [\#723](https://github.com/youzan/vant/pull/723) +* Sku: add header price slot [\#705](https://github.com/youzan/vant/pull/705) +* Sku: optimize DOM [\#704](https://github.com/youzan/vant/pull/704) +* Tab: support switch tabs with swipe gestrue in the content [\#694](https://github.com/youzan/vant/pull/694) [\#695](https://github.com/youzan/vant/pull/695) +* Tag: adjust style [\#689](https://github.com/youzan/vant/pull/689) +* Toast: support Vue.use to register [\#690](https://github.com/youzan/vant/pull/690) **Bug Fixes** -* fix Actionsheet bottom border missing [\#686](https://github.com/youzan/vant/pull/686) [@chenjiahan](https://github.com/chenjiahan) -* fix AddressEdit area not selected when area_code changed [\#680](https://github.com/youzan/vant/pull/680) [@chenjiahan](https://github.com/chenjiahan) +* fix Actionsheet bottom border missing [\#686](https://github.com/youzan/vant/pull/686) +* fix AddressEdit area not selected when area_code changed [\#680](https://github.com/youzan/vant/pull/680) * fix Stepper value overlimit [\#691](https://github.com/youzan/vant/issues/691) -* fix Badge info font weight when selected [\#687](https://github.com/youzan/vant/pull/687) [@chenjiahan](https://github.com/chenjiahan) +* fix Badge info font weight when selected [\#687](https://github.com/youzan/vant/pull/687) ### [0.12.14](https://github.com/youzan/vant/tree/v0.12.14) `2018-03-09` **Bug Fixes** -* Area: should reset index when area list changed [\#678](https://github.com/youzan/vant/pull/678) [@chenjiahan](https://github.com/chenjiahan) +* Area: should reset index when area list changed [\#678](https://github.com/youzan/vant/pull/678) ### [0.12.13](https://github.com/youzan/vant/tree/v0.12.13) @@ -292,11 +292,11 @@ **Improvements** -* AddressEdit: support custom tel validator [\#673](https://github.com/youzan/vant/pull/673) [@chenjiahan](https://github.com/chenjiahan) -* Sku: add close-on-click-overlay config for sku popup [\#676](https://github.com/youzan/vant/pull/676) [@w91](https://github.com/w91) +* AddressEdit: support custom tel validator [\#673](https://github.com/youzan/vant/pull/673) +* Sku: add close-on-click-overlay config for sku popup [\#676](https://github.com/youzan/vant/pull/676) **Bug Fixes** -* fix CouponList text max-width [\#675](https://github.com/youzan/vant/pull/675) [@chenjiahan](https://github.com/chenjiahan) +* fix CouponList text max-width [\#675](https://github.com/youzan/vant/pull/675) ### [0.12.12](https://github.com/youzan/vant/tree/v0.12.12) @@ -304,14 +304,14 @@ **Improvements** -* Swipe: support disable loop [\#670](https://github.com/youzan/vant/pull/670) [@chenjiahan](https://github.com/chenjiahan) -* Document: add swipe change event demo [\#666](https://github.com/youzan/vant/pull/666) [@chenjiahan](https://github.com/chenjiahan) -* update static source CDN domain [\#652](https://github.com/youzan/vant/pull/652) [@chenjiahan](https://github.com/chenjiahan) +* Swipe: support disable loop [\#670](https://github.com/youzan/vant/pull/670) +* Document: add swipe change event demo [\#666](https://github.com/youzan/vant/pull/666) +* update static source CDN domain [\#652](https://github.com/youzan/vant/pull/652) **Bug Fixes** -* fix Field disabled color in safari [\#669](https://github.com/youzan/vant/pull/669) [@chenjiahan](https://github.com/chenjiahan) -* fix Swipe autoplay not stop when value set to 0 [\#660](https://github.com/youzan/vant/pull/660) [@chenjiahan](https://github.com/chenjiahan) +* fix Field disabled color in safari [\#669](https://github.com/youzan/vant/pull/669) +* fix Swipe autoplay not stop when value set to 0 [\#660](https://github.com/youzan/vant/pull/660) ### [0.12.11](https://github.com/youzan/vant/tree/v0.12.11) @@ -319,14 +319,14 @@ **Improvements** -* Checkbox: add label-disabled prop [\#644](https://github.com/youzan/vant/pull/644) [@ddchef](https://github.com/ddchef) -* Popup: add click-overlay event [\#647](https://github.com/youzan/vant/pull/647) [@chenjiahan](https://github.com/chenjiahan) -* Icon: add warn icon [\#651](https://github.com/youzan/vant/pull/651) [@chenjiahan](https://github.com/chenjiahan) -* Icon: add info-o icon, optimize checked & underway icon [\#648](https://github.com/youzan/vant/pull/648) [@chenjiahan](https://github.com/chenjiahan) +* Checkbox: add label-disabled prop [\#644](https://github.com/youzan/vant/pull/644) +* Popup: add click-overlay event [\#647](https://github.com/youzan/vant/pull/647) +* Icon: add warn icon [\#651](https://github.com/youzan/vant/pull/651) +* Icon: add info-o icon, optimize checked & underway icon [\#648](https://github.com/youzan/vant/pull/648) **Bug Fixes** -* fix Button loading horizontal align [\#645](https://github.com/youzan/vant/pull/645) [@chenjiahan](https://github.com/chenjiahan) +* fix Button loading horizontal align [\#645](https://github.com/youzan/vant/pull/645) ### [0.12.10](https://github.com/youzan/vant/tree/v0.12.10) @@ -334,13 +334,13 @@ **Improvements** -* add build-in style document [\#633](https://github.com/youzan/vant/pull/633) [@chenjiahan](https://github.com/chenjiahan) -* Checkbox: optimzie DOM struct [\#636](https://github.com/youzan/vant/pull/636) [@chenjiahan](https://github.com/chenjiahan) -* Checkbox: support config the maximum amount of checked options [\#631](https://github.com/youzan/vant/pull/631) [@mpandar](https://github.com/mpandar) +* add build-in style document [\#633](https://github.com/youzan/vant/pull/633) +* Checkbox: optimzie DOM struct [\#636](https://github.com/youzan/vant/pull/636) +* Checkbox: support config the maximum amount of checked options [\#631](https://github.com/youzan/vant/pull/631) **Bug Fixes** -* Stepper: change event error when clear input [\#635](https://github.com/youzan/vant/pull/635) [@chenjiahan](https://github.com/chenjiahan) +* Stepper: change event error when clear input [\#635](https://github.com/youzan/vant/pull/635) ### [0.12.9](https://github.com/youzan/vant/tree/v0.12.9) @@ -348,73 +348,73 @@ **Improvements** -* PullRefresh: add refersh event [\#625](https://github.com/youzan/vant/pull/625) [@chenjiahan](https://github.com/chenjiahan) -* Circle: optimzie linecap [\#624](https://github.com/youzan/vant/pull/624) [@chenjiahan](https://github.com/chenjiahan) -* Picker: add loading prop [\#619](https://github.com/youzan/vant/pull/619) [@chenjiahan](https://github.com/chenjiahan) -* Loading: add size prop [\#620](https://github.com/youzan/vant/pull/620) [@chenjiahan](https://github.com/chenjiahan) -* Loading: add circular type [\#618](https://github.com/youzan/vant/pull/618) [@chenjiahan](https://github.com/chenjiahan) -* Loading: change default type to circular [\#623](https://github.com/youzan/vant/pull/623) [@chenjiahan](https://github.com/chenjiahan) +* PullRefresh: add refersh event [\#625](https://github.com/youzan/vant/pull/625) +* Circle: optimzie linecap [\#624](https://github.com/youzan/vant/pull/624) +* Picker: add loading prop [\#619](https://github.com/youzan/vant/pull/619) +* Loading: add size prop [\#620](https://github.com/youzan/vant/pull/620) +* Loading: add circular type [\#618](https://github.com/youzan/vant/pull/618) +* Loading: change default type to circular [\#623](https://github.com/youzan/vant/pull/623) **Bug Fixes** -* fix Sku message observation [\#627](https://github.com/youzan/vant/pull/627) [@w91](https://github.com/w91) +* fix Sku message observation [\#627](https://github.com/youzan/vant/pull/627) ### [0.12.8](https://github.com/youzan/vant/tree/v0.12.8) `2018-02-07` **Improvements** -* add Circle component [\#608](https://github.com/youzan/vant/pull/608) [@chenjiahan](https://github.com/chenjiahan) -* Tab: add title slot [\#603](https://github.com/youzan/vant/pull/603) [@chenjiahan](https://github.com/chenjiahan) -* Toast: adjust background color [\#601](https://github.com/youzan/vant/pull/601) [@chenjiahan](https://github.com/chenjiahan) -* Popup: support getContaienr [\#611](https://github.com/youzan/vant/pull/611) [@chenjiahan](https://github.com/chenjiahan) -* Sku: support imgage upload [\#612](https://github.com/youzan/vant/pull/612) [@w91](https://github.com/w91) -* Sku: support custom stepper [\#600](https://github.com/youzan/vant/pull/600) [@w91](https://github.com/w91) +* add Circle component [\#608](https://github.com/youzan/vant/pull/608) +* Tab: add title slot [\#603](https://github.com/youzan/vant/pull/603) +* Toast: adjust background color [\#601](https://github.com/youzan/vant/pull/601) +* Popup: support getContaienr [\#611](https://github.com/youzan/vant/pull/611) +* Sku: support imgage upload [\#612](https://github.com/youzan/vant/pull/612) +* Sku: support custom stepper [\#600](https://github.com/youzan/vant/pull/600) **Bug Fixes** -* fix Picker style error in some andriod devices [\#609](https://github.com/youzan/vant/pull/609) [@chenjiahan](https://github.com/chenjiahan) -* fix TreeSelect arrow position error [\#605](https://github.com/youzan/vant/pull/605) [@chenjiahan](https://github.com/chenjiahan) +* fix Picker style error in some andriod devices [\#609](https://github.com/youzan/vant/pull/609) +* fix TreeSelect arrow position error [\#605](https://github.com/youzan/vant/pull/605) ### [0.12.7](https://github.com/youzan/vant/tree/v0.12.7) `2018-01-31` **Improvements** -* Area: add item-height & visible-item-count props [\#591](https://github.com/youzan/vant/pull/591) [@chenjiahan](https://github.com/chenjiahan) -* Dialog: support component call [\#593](https://github.com/youzan/vant/pull/593) [@chenjiahan](https://github.com/chenjiahan) -* Toast: support multiple instance [\#586](https://github.com/youzan/vant/pull/586) [@chenjiahan](https://github.com/chenjiahan) -* Sku: add getSkuData method [\#585](https://github.com/youzan/vant/pull/585) [@chenjiahan](https://github.com/chenjiahan) +* Area: add item-height & visible-item-count props [\#591](https://github.com/youzan/vant/pull/591) +* Dialog: support component call [\#593](https://github.com/youzan/vant/pull/593) +* Toast: support multiple instance [\#586](https://github.com/youzan/vant/pull/586) +* Sku: add getSkuData method [\#585](https://github.com/youzan/vant/pull/585) **Bug Fixes** -* fix Field multi line label style error [\#583](https://github.com/youzan/vant/pull/583) [@chenjiahan](https://github.com/chenjiahan) +* fix Field multi line label style error [\#583](https://github.com/youzan/vant/pull/583) ### [0.12.6](https://github.com/youzan/vant/tree/v0.12.6) `2018-01-25` **Improvements** -* AddressEdit: add default slot [\#573](https://github.com/youzan/vant/pull/573) [@chenjiahan](https://github.com/chenjiahan) -* Uploader: support maxSize prop [\#575](https://github.com/youzan/vant/pull/575) [@chenjiahan](https://github.com/chenjiahan) -* Sku: add sku-body-top slot and resetSelectedSkuOnHide prop [\#568](https://github.com/youzan/vant/pull/568) [@w91](https://github.com/w91) +* AddressEdit: add default slot [\#573](https://github.com/youzan/vant/pull/573) +* Uploader: support maxSize prop [\#575](https://github.com/youzan/vant/pull/575) +* Sku: add sku-body-top slot and resetSelectedSkuOnHide prop [\#568](https://github.com/youzan/vant/pull/568) **Bug Fixes** -* fix Sku message error when overlimit [\#568](https://github.com/youzan/vant/pull/568) [@w91](https://github.com/w91) -* fix Toast work break [\#567](https://github.com/youzan/vant/pull/567) [@chenjiahan](https://github.com/chenjiahan) -* fix Tab active not work [\#572](https://github.com/youzan/vant/pull/572) [@chenjiahan](https://github.com/chenjiahan) +* fix Sku message error when overlimit [\#568](https://github.com/youzan/vant/pull/568) +* fix Toast work break [\#567](https://github.com/youzan/vant/pull/567) +* fix Tab active not work [\#572](https://github.com/youzan/vant/pull/572) ### [0.12.5](https://github.com/youzan/vant/tree/v0.12.5) `2018-01-23` **Improvements** -* Button: add text prop [\#563](https://github.com/youzan/vant/pull/563) [@chenjiahan](https://github.com/chenjiahan) -* CouponList: support v-model、exchangeButtonLoading、exchangeMinLength [\#556](https://github.com/youzan/vant/pull/556) [\#566](https://github.com/youzan/vant/pull/566) [@chenjiahan](https://github.com/chenjiahan) -* Icon: update share icon [\#562](https://github.com/youzan/vant/pull/562) [@chenjiahan](https://github.com/chenjiahan) -* Sku: improve render performance [\#550](https://github.com/youzan/vant/pull/550) [@chenjiahan](https://github.com/chenjiahan) +* Button: add text prop [\#563](https://github.com/youzan/vant/pull/563) +* CouponList: support v-model、exchangeButtonLoading、exchangeMinLength [\#556](https://github.com/youzan/vant/pull/556) [\#566](https://github.com/youzan/vant/pull/566) +* Icon: update share icon [\#562](https://github.com/youzan/vant/pull/562) +* Sku: improve render performance [\#550](https://github.com/youzan/vant/pull/550) **Bug Fixes** -* Area: should not display city & county list when not select province [\#560](https://github.com/youzan/vant/pull/560) [@chenjiahan](https://github.com/chenjiahan) -* Cell: fix required style [\#553](https://github.com/youzan/vant/pull/553) [@qianzhaoy](https://github.com/qianzhaoy) +* Area: should not display city & county list when not select province [\#560](https://github.com/youzan/vant/pull/560) +* Cell: fix required style [\#553](https://github.com/youzan/vant/pull/553) ### [0.12.4](https://github.com/youzan/vant/tree/v0.12.4) @@ -422,14 +422,14 @@ **Improvements** -* Picker: add props to custom button text [\#548](https://github.com/youzan/vant/pull/548) [@chenjiahan](https://github.com/chenjiahan) -* Toast: add setDefaultOptions method [\#541](https://github.com/youzan/vant/pull/541) [@chenjiahan](https://github.com/chenjiahan) -* Dialog: add setDefaultOptions method [\#539](https://github.com/youzan/vant/pull/539) [@chenjiahan](https://github.com/chenjiahan) +* Picker: add props to custom button text [\#548](https://github.com/youzan/vant/pull/548) +* Toast: add setDefaultOptions method [\#541](https://github.com/youzan/vant/pull/541) +* Dialog: add setDefaultOptions method [\#539](https://github.com/youzan/vant/pull/539) **Bug Fixes** -* Stepper: not fire event on changing the value prop [\#546](https://github.com/youzan/vant/pull/546) [@chuangbo](https://github.com/chuangbo) -* Picker: fix misspelling of visibleItemCount prop [\#549](https://github.com/youzan/vant/pull/549) [@chenjiahan](https://github.com/chenjiahan) +* Stepper: not fire event on changing the value prop [\#546](https://github.com/youzan/vant/pull/546) +* Picker: fix misspelling of visibleItemCount prop [\#549](https://github.com/youzan/vant/pull/549) ### [0.12.3](https://github.com/youzan/vant/tree/v0.12.3) @@ -437,15 +437,15 @@ **Improvements** -* NavBar: add zIndex prop [\#525](https://github.com/youzan/vant/pull/525) [@chenjiahan](https://github.com/chenjiahan) -* Cell: adjust right padding of arrow [\#531](https://github.com/youzan/vant/pull/531) [@chenjiahan](https://github.com/chenjiahan) +* NavBar: add zIndex prop [\#525](https://github.com/youzan/vant/pull/525) +* Cell: adjust right padding of arrow [\#531](https://github.com/youzan/vant/pull/531) **Bug Fixes** -* Area: should valid data before get area list [\#520](https://github.com/youzan/vant/pull/520) [@chenjiahan](https://github.com/chenjiahan) -* AddressEdit: setAreaCode now work [\#524](https://github.com/youzan/vant/pull/524) [@chenjiahan](https://github.com/chenjiahan) -* Picker: change event not triggered when click option [\#532](https://github.com/youzan/vant/pull/532) [@chenjiahan](https://github.com/chenjiahan) -* PullRefresh: only triggered when drag in vertical direction [\#521](https://github.com/youzan/vant/pull/521) [@ZhiRuYan](https://github.com/ZhiRuYan) +* Area: should valid data before get area list [\#520](https://github.com/youzan/vant/pull/520) +* AddressEdit: setAreaCode now work [\#524](https://github.com/youzan/vant/pull/524) +* Picker: change event not triggered when click option [\#532](https://github.com/youzan/vant/pull/532) +* PullRefresh: only triggered when drag in vertical direction [\#521](https://github.com/youzan/vant/pull/521) ### [0.12.2](https://github.com/youzan/vant/tree/v0.12.2) @@ -453,10 +453,10 @@ **Bug Fixes** -* Swipe: use translate2d to aviod iOS11 crash bug [\#518](https://github.com/youzan/vant/pull/518) [@chenjiahan](https://github.com/chenjiahan) -* Picker: should not emit change event after init [\#517](https://github.com/youzan/vant/pull/517) [@chenjiahan](https://github.com/chenjiahan) -* NoticeBar: should reinitialize when text changed [\#515](https://github.com/youzan/vant/pull/515) [@xliez](https://github.com/xliez) -* AddressEdit: fix search result style error [\#514](https://github.com/youzan/vant/pull/514) [@chenjiahan](https://github.com/chenjiahan) +* Swipe: use translate2d to aviod iOS11 crash bug [\#518](https://github.com/youzan/vant/pull/518) +* Picker: should not emit change event after init [\#517](https://github.com/youzan/vant/pull/517) +* NoticeBar: should reinitialize when text changed [\#515](https://github.com/youzan/vant/pull/515) +* AddressEdit: fix search result style error [\#514](https://github.com/youzan/vant/pull/514) ### [0.12.1](https://github.com/youzan/vant/tree/v0.12.1) @@ -464,15 +464,15 @@ **Improvements** -* Button: adjust padding of small button [\#511](https://github.com/youzan/vant/pull/511) [@chenjiahan](https://github.com/chenjiahan) +* Button: adjust padding of small button [\#511](https://github.com/youzan/vant/pull/511) **Bug Fixes** -* fix Cell icon can't render when no title [\#508](https://github.com/youzan/vant/pull/508) [@chenjiahan](https://github.com/chenjiahan) -* fix Cell inner border width [\#506](https://github.com/youzan/vant/pull/506) [@chenjiahan](https://github.com/chenjiahan) -* fix CouponList line height [\#507](https://github.com/youzan/vant/pull/507) [@chenjiahan](https://github.com/chenjiahan) -* fix CouponList input style [\#502](https://github.com/youzan/vant/pull/502) [@chenjiahan](https://github.com/chenjiahan) -* fix Radio icon not clickable [\#505](https://github.com/youzan/vant/pull/505) [@chenjiahan](https://github.com/chenjiahan) +* fix Cell icon can't render when no title [\#508](https://github.com/youzan/vant/pull/508) +* fix Cell inner border width [\#506](https://github.com/youzan/vant/pull/506) +* fix CouponList line height [\#507](https://github.com/youzan/vant/pull/507) +* fix CouponList input style [\#502](https://github.com/youzan/vant/pull/502) +* fix Radio icon not clickable [\#505](https://github.com/youzan/vant/pull/505) ### [0.12.0](https://github.com/youzan/vant/tree/v0.12.0) @@ -480,18 +480,18 @@ **Breaking changes** -* Cell: move left padding from CellGroup to Cell, add 'border'、'clickable' props [\#497](https://github.com/youzan/vant/pull/497) [@chenjiahan](https://github.com/chenjiahan) -* follow eslint-plugin-vue strongly-recommended code style, use kebab-case props [\#482](https://github.com/youzan/vant/pull/482) [@chenjiahan](https://github.com/chenjiahan) +* Cell: move left padding from CellGroup to Cell, add 'border'、'clickable' props [\#497](https://github.com/youzan/vant/pull/497) +* follow eslint-plugin-vue strongly-recommended code style, use kebab-case props [\#482](https://github.com/youzan/vant/pull/482) **Improvements** -* Field: add error-message prop [\#492](https://github.com/youzan/vant/pull/492) [@chenjiahan](https://github.com/chenjiahan) -* Document: update site UI [\#490](https://github.com/youzan/vant/pull/490) [@chenjiahan](https://github.com/chenjiahan) +* Field: add error-message prop [\#492](https://github.com/youzan/vant/pull/492) +* Document: update site UI [\#490](https://github.com/youzan/vant/pull/490) **Bug Fixes** -* fix Tab height calc error when use sticky [\#493](https://github.com/youzan/vant/pull/493) [@chenjiahan](https://github.com/chenjiahan) -* fix Component should not inheritAttrs when use $attrs [\#488](https://github.com/youzan/vant/pull/488) [@chenjiahan](https://github.com/chenjiahan) +* fix Tab height calc error when use sticky [\#493](https://github.com/youzan/vant/pull/493) +* fix Component should not inheritAttrs when use $attrs [\#488](https://github.com/youzan/vant/pull/488) ### [0.11.15](https://github.com/youzan/vant/tree/v0.11.15) @@ -499,16 +499,16 @@ **Improvements** -* Uploader: support multiple files [\#480](https://github.com/youzan/vant/pull/480) [@chenjiahan](https://github.com/chenjiahan) -* NumberKeyboard: add new theme [\#472](https://github.com/youzan/vant/pull/472) [@chenjiahan](https://github.com/chenjiahan) -* Icon: update search icon [\#474](https://github.com/youzan/vant/pull/474) [@chenjiahan](https://github.com/chenjiahan) -* Support passive events [\#478](https://github.com/youzan/vant/pull/478) [@chenjiahan](https://github.com/chenjiahan) +* Uploader: support multiple files [\#480](https://github.com/youzan/vant/pull/480) +* NumberKeyboard: add new theme [\#472](https://github.com/youzan/vant/pull/472) +* Icon: update search icon [\#474](https://github.com/youzan/vant/pull/474) +* Support passive events [\#478](https://github.com/youzan/vant/pull/478) **Bug Fixes** -* fix popup should remove event handler when destroyed [\#477](https://github.com/youzan/vant/pull/477) [@chenjiahan](https://github.com/chenjiahan) -* fix popup mixin should treat empty string as true for boolean props [\#468](https://github.com/youzan/vant/pull/468) [@chuangbo](https://github.com/chuangbo) -* fix package.json should include 'types' in 'files' field [\#462](https://github.com/youzan/vant/pull/462) [@wuyiw](https://github.com/wuyiw) +* fix popup should remove event handler when destroyed [\#477](https://github.com/youzan/vant/pull/477) +* fix popup mixin should treat empty string as true for boolean props [\#468](https://github.com/youzan/vant/pull/468) +* fix package.json should include 'types' in 'files' field [\#462](https://github.com/youzan/vant/pull/462) ### [0.11.14](https://github.com/youzan/vant/tree/v0.11.14) @@ -516,13 +516,13 @@ **Improvements** -* NumberKeyboard: add hideOnClickOutside & closeButtonText props [\#458](https://github.com/youzan/vant/pull/458) [@chenjiahan](https://github.com/chenjiahan) -* Area: optimize performance [\#457](https://github.com/youzan/vant/pull/457) [@chenjiahan](https://github.com/chenjiahan) -* auto run eslint before build dist [\#455](https://github.com/youzan/vant/pull/455) [\#453](https://github.com/youzan/vant/pull/453) [@chenjiahan](https://github.com/chenjiahan) +* NumberKeyboard: add hideOnClickOutside & closeButtonText props [\#458](https://github.com/youzan/vant/pull/458) +* Area: optimize performance [\#457](https://github.com/youzan/vant/pull/457) +* auto run eslint before build dist [\#455](https://github.com/youzan/vant/pull/455) [\#453](https://github.com/youzan/vant/pull/453) **Bug Fixes** -* fix cell arrow style error [@chenjiahan](https://github.com/chenjiahan) +* fix cell arrow style error ### [0.11.13](https://github.com/youzan/vant/tree/v0.11.13) @@ -530,16 +530,16 @@ **Improvements** -* Area: add 'title' prop [\#450](https://github.com/youzan/vant/pull/450) [@chenjiahan](https://github.com/chenjiahan) -* Icon: add 'info' prop [\#447](https://github.com/youzan/vant/pull/447) [@chenjiahan](https://github.com/chenjiahan) -* Picker: optimzie performance [\#450](https://github.com/youzan/vant/pull/450) [@chenjiahan](https://github.com/chenjiahan) -* Search: support input native events [\#451](https://github.com/youzan/vant/pull/451) [@chenjiahan](https://github.com/chenjiahan) -* GoodsAction: add 'info' prop, support router link [\#448](https://github.com/youzan/vant/pull/448) [@chenjiahan](https://github.com/chenjiahan) -* Area & Sku: support i18n [\#439](https://github.com/youzan/vant/pull/439) [\#440](https://github.com/youzan/vant/pull/440) [@chenjiahan](https://github.com/chenjiahan) [@Tinysymphony](https://github.com/Tinysymphony) +* Area: add 'title' prop [\#450](https://github.com/youzan/vant/pull/450) +* Icon: add 'info' prop [\#447](https://github.com/youzan/vant/pull/447) +* Picker: optimzie performance [\#450](https://github.com/youzan/vant/pull/450) +* Search: support input native events [\#451](https://github.com/youzan/vant/pull/451) +* GoodsAction: add 'info' prop, support router link [\#448](https://github.com/youzan/vant/pull/448) +* Area & Sku: support i18n [\#439](https://github.com/youzan/vant/pull/439) [\#440](https://github.com/youzan/vant/pull/440) **Bug Fixes** -* fix GoodsAction display error in small screen [\#446](https://github.com/youzan/vant/pull/446) [@chenjiahan](https://github.com/chenjiahan) +* fix GoodsAction display error in small screen [\#446](https://github.com/youzan/vant/pull/446) ### [0.11.12](https://github.com/youzan/vant/tree/v0.11.12) @@ -547,15 +547,15 @@ **Improvements** -* ContactCard: add 'editable' prop [\#435](https://github.com/youzan/vant/pull/435) [@chenjiahan](https://github.com/chenjiahan) -* Coupon: support i18n [\#431](https://github.com/youzan/vant/pull/431) [@chenjiahan](https://github.com/chenjiahan) +* ContactCard: add 'editable' prop [\#435](https://github.com/youzan/vant/pull/435) +* Coupon: support i18n [\#431](https://github.com/youzan/vant/pull/431) **Bug Fixes** -* fix Popup preventScroll not work in some cases [\#429](https://github.com/youzan/vant/pull/429) [@Tinysymphony](https://github.com/Tinysymphony) -* fix Picker should prevent default touchmove [\#432](https://github.com/youzan/vant/pull/432) [@chenjiahan](https://github.com/chenjiahan) -* fix Picker bottom area not dragable [\#433](https://github.com/youzan/vant/pull/433) [@chenjiahan](https://github.com/chenjiahan) -* fix PullRefresh head display error [\#436](https://github.com/youzan/vant/pull/436) [@chenjiahan](https://github.com/chenjiahan) +* fix Popup preventScroll not work in some cases [\#429](https://github.com/youzan/vant/pull/429) +* fix Picker should prevent default touchmove [\#432](https://github.com/youzan/vant/pull/432) +* fix Picker bottom area not dragable [\#433](https://github.com/youzan/vant/pull/433) +* fix PullRefresh head display error [\#436](https://github.com/youzan/vant/pull/436) ### [0.11.11](https://github.com/youzan/vant/tree/v0.11.11) @@ -563,16 +563,16 @@ **Improvements** -* Field: support native events [\#421](https://github.com/youzan/vant/pull/421) [@chenjiahan](https://github.com/chenjiahan) -* Search: support native input attrs [\#418](https://github.com/youzan/vant/pull/418) [@chenjiahan](https://github.com/chenjiahan) -* CellGroup: add 'border' prop [\#420](https://github.com/youzan/vant/pull/420) [@chenjiahan](https://github.com/chenjiahan) -* AddressEdit: add focus、change-area、select-search events [\#426](https://github.com/youzan/vant/pull/426) [@chenjiahan](https://github.com/chenjiahan) -* Badge、CouponList、ContactCard: add active color [\#419](https://github.com/youzan/vant/pull/419) [@chenjiahan](https://github.com/chenjiahan) +* Field: support native events [\#421](https://github.com/youzan/vant/pull/421) +* Search: support native input attrs [\#418](https://github.com/youzan/vant/pull/418) +* CellGroup: add 'border' prop [\#420](https://github.com/youzan/vant/pull/420) +* AddressEdit: add focus、change-area、select-search events [\#426](https://github.com/youzan/vant/pull/426) +* Badge、CouponList、ContactCard: add active color [\#419](https://github.com/youzan/vant/pull/419) **Bug Fixes** -* fix Checkbox disabled not work when inside CheckboxGroup [\#425](https://github.com/youzan/vant/pull/425) [@Tinysymphony](https://github.com/Tinysymphony) -* fix AddressEdit searchResult type validate [\#417](https://github.com/youzan/vant/pull/417) [@chenjiahan](https://github.com/chenjiahan) +* fix Checkbox disabled not work when inside CheckboxGroup [\#425](https://github.com/youzan/vant/pull/425) +* fix AddressEdit searchResult type validate [\#417](https://github.com/youzan/vant/pull/417) ### [0.11.10](https://github.com/youzan/vant/tree/v0.11.10) @@ -580,12 +580,12 @@ **Improvements** -* Support Vue.use to register a component [\#401](https://github.com/youzan/vant/pull/401) [@chenjiahan](https://github.com/chenjiahan) -* Uniform fade animation [\#410](https://github.com/youzan/vant/pull/410) [@chenjiahan](https://github.com/chenjiahan) +* Support Vue.use to register a component [\#401](https://github.com/youzan/vant/pull/401) +* Uniform fade animation [\#410](https://github.com/youzan/vant/pull/410) **Bug Fixes** -* Icon: fix 'shopping-cart' icon not align center [\#415](https://github.com/youzan/vant/pull/415) [@cookfront](https://github.com/cookfront) +* Icon: fix 'shopping-cart' icon not align center [\#415](https://github.com/youzan/vant/pull/415) ### [0.11.9](https://github.com/youzan/vant/tree/v0.11.9) @@ -593,13 +593,13 @@ **Improvements** -* Icon: add share & arrow-left icons [\#407](https://github.com/youzan/vant/pull/407) [@chenjiahan](https://github.com/chenjiahan) -* Icon: support local font file [\#408](https://github.com/youzan/vant/pull/408) [@chenjiahan](https://github.com/chenjiahan) +* Icon: add share & arrow-left icons [\#407](https://github.com/youzan/vant/pull/407) +* Icon: support local font file [\#408](https://github.com/youzan/vant/pull/408) **Bug Fixes** -* fix raf error in SSR [\#405](https://github.com/youzan/vant/pull/405) [@chenjiahan](https://github.com/chenjiahan) -* fix NoticeBar animationend event in old browser [\#402](https://github.com/youzan/vant/pull/402) [@chenjiahan](https://github.com/chenjiahan) +* fix raf error in SSR [\#405](https://github.com/youzan/vant/pull/405) +* fix NoticeBar animationend event in old browser [\#402](https://github.com/youzan/vant/pull/402) ### [0.11.8](https://github.com/youzan/vant/tree/v0.11.8) @@ -607,13 +607,13 @@ **Improvements** -* Icon: add two new icon [\#396](https://github.com/youzan/vant/pull/396) [@chenjiahan](https://github.com/chenjiahan) -* Button: adjust default button border color [\#392](https://github.com/youzan/vant/pull/392) [@chenjiahan](https://github.com/chenjiahan) +* Icon: add two new icon [\#396](https://github.com/youzan/vant/pull/396) +* Button: adjust default button border color [\#392](https://github.com/youzan/vant/pull/392) **Bug Fixes** -* Tab: hide scrollbar in mobile safari [\#390](https://github.com/youzan/vant/pull/390) [@chenjiahan](https://github.com/chenjiahan) -* Tab: active tab should keep center when scrollable [\#394](https://github.com/youzan/vant/pull/394) [@chenjiahan](https://github.com/chenjiahan) +* Tab: hide scrollbar in mobile safari [\#390](https://github.com/youzan/vant/pull/390) +* Tab: active tab should keep center when scrollable [\#394](https://github.com/youzan/vant/pull/394) ### [0.11.7](https://github.com/youzan/vant/tree/v0.11.7) @@ -633,17 +633,17 @@ **Improvements** -* Picker: support click to select and disabled option [\#370](https://github.com/youzan/vant/pull/370) [@chenjiahan](https://github.com/chenjiahan) -* Tab: support sticky prop [\#382](https://github.com/youzan/vant/pull/382) [@chenjiahan](https://github.com/chenjiahan) -* Tab: improve animation fluency [\#379](https://github.com/youzan/vant/pull/379) [@chenjiahan](https://github.com/chenjiahan) +* Picker: support click to select and disabled option [\#370](https://github.com/youzan/vant/pull/370) +* Tab: support sticky prop [\#382](https://github.com/youzan/vant/pull/382) +* Tab: improve animation fluency [\#379](https://github.com/youzan/vant/pull/379) **Bug Fixes** -* fix Popup overlayClass type [\#374](https://github.com/youzan/vant/pull/374) [@chenjiahan](https://github.com/chenjiahan) -* fix Field number type value filter [\#386](https://github.com/youzan/vant/pull/386) [@chenjiahan](https://github.com/chenjiahan) -* fix Icon 'new' display [\#381](https://github.com/youzan/vant/pull/381) ([@pangxie1991](https://github.com/pangxie1991)) -* fix Sku button border radius [\#378](https://github.com/youzan/vant/pull/378) [@chenjiahan](https://github.com/chenjiahan) -* fix Radio & Checkbox disabled color [\#383](https://github.com/youzan/vant/pull/383) [@chenjiahan](https://github.com/chenjiahan) +* fix Popup overlayClass type [\#374](https://github.com/youzan/vant/pull/374) +* fix Field number type value filter [\#386](https://github.com/youzan/vant/pull/386) +* fix Icon 'new' display [\#381](https://github.com/youzan/vant/pull/381) +* fix Sku button border radius [\#378](https://github.com/youzan/vant/pull/378) +* fix Radio & Checkbox disabled color [\#383](https://github.com/youzan/vant/pull/383) ### [0.11.5](https://github.com/youzan/vant/tree/v0.11.5) @@ -651,13 +651,13 @@ **Improvements** -* Coupon: adjust cell text [\#371](https://github.com/youzan/vant/pull/371) [@chenjiahan](https://github.com/chenjiahan) -* GoodsAction: support i18n [\#367](https://github.com/youzan/vant/pull/367) [@chenjiahan](https://github.com/chenjiahan) -* Document: add props name style guide [\#366](https://github.com/youzan/vant/pull/366) [@chenjiahan](https://github.com/chenjiahan) +* Coupon: adjust cell text [\#371](https://github.com/youzan/vant/pull/371) +* GoodsAction: support i18n [\#367](https://github.com/youzan/vant/pull/367) +* Document: add props name style guide [\#366](https://github.com/youzan/vant/pull/366) **Bug Fixes** -* fix Tab active block disappeared when delete tab [\#372](https://github.com/youzan/vant/pull/372) [@chenjiahan](https://github.com/chenjiahan) +* fix Tab active block disappeared when delete tab [\#372](https://github.com/youzan/vant/pull/372) ### [0.11.4](https://github.com/youzan/vant/tree/v0.11.4) @@ -665,8 +665,8 @@ **Improvements** -* add type definition files [\#361](https://github.com/youzan/vant/pull/361) [@chenjiahan](https://github.com/chenjiahan) -* support use this.$toast/$dialog to call Toast/Dialog [\#363](https://github.com/youzan/vant/pull/363) [@chenjiahan](https://github.com/chenjiahan) +* add type definition files [\#361](https://github.com/youzan/vant/pull/361) +* support use this.$toast/$dialog to call Toast/Dialog [\#363](https://github.com/youzan/vant/pull/363) ### [0.11.3](https://github.com/youzan/vant/tree/v0.11.3) @@ -674,13 +674,13 @@ **Breaking changes** -* NavBar: rename click event, change 'clickLeft' to 'click-left' [\#354](https://github.com/youzan/vant/pull/354) [@chenjiahan](https://github.com/chenjiahan) +* NavBar: rename click event, change 'clickLeft' to 'click-left' [\#354](https://github.com/youzan/vant/pull/354) **Improvements** -* CellSwipe: add onClose prop, support async controll [\#356](https://github.com/youzan/vant/pull/356) [@chenjiahan](https://github.com/chenjiahan) -* Uploader: support inherit attrs [\#357](https://github.com/youzan/vant/pull/357) [@chenjiahan](https://github.com/chenjiahan) -* optimize local compile speed [\#355](https://github.com/youzan/vant/pull/355) [@chenjiahan](https://github.com/chenjiahan) +* CellSwipe: add onClose prop, support async controll [\#356](https://github.com/youzan/vant/pull/356) +* Uploader: support inherit attrs [\#357](https://github.com/youzan/vant/pull/357) +* optimize local compile speed [\#355](https://github.com/youzan/vant/pull/355) ### [0.11.2](https://github.com/youzan/vant/tree/v0.11.2) @@ -688,7 +688,7 @@ **Improvements** -* Icon: add seven new icons [\#351](https://github.com/youzan/vant/pull/351) [@w91](https://github.com/w91) +* Icon: add seven new icons [\#351](https://github.com/youzan/vant/pull/351) ### [0.11.1](https://github.com/youzan/vant/tree/v0.11.1) @@ -696,20 +696,20 @@ **Improvements** -* Actionsheet: update close icon style [\#340](https://github.com/youzan/vant/pull/340) [@chenjiahan](https://github.com/chenjiahan) -* Popup: add overlayClass and overlayStyle props [\#349](https://github.com/youzan/vant/pull/349) [\#343](https://github.com/youzan/vant/pull/343) [@mickeyinfoshan](https://github.com/mickeyinfoshan) [@chenjiahan](https://github.com/chenjiahan) -* Icon: adjust unicode for better display [\#330](https://github.com/youzan/vant/pull/330) [@chenjiahan](https://github.com/chenjiahan) -* ImagePreview: support manually close [\#346](https://github.com/youzan/vant/pull/346) [@chenjiahan](https://github.com/chenjiahan) -* Tabbar: add slot-scope to avoid check by index [\#347](https://github.com/youzan/vant/pull/347) [@chuangbo](https://github.com/chuangbo) -* SubmitBar: add left slot [\#345](https://github.com/youzan/vant/pull/345) [@chenjiahan](https://github.com/chenjiahan) -* optimize component static classnames [\#337](https://github.com/youzan/vant/pull/337) [@chenjiahan](https://github.com/chenjiahan) -* optimize single line text ellipsis [\#334](https://github.com/youzan/vant/pull/334) [@chenjiahan](https://github.com/chenjiahan) -* optimize button css layer and GPU cost [\#336](https://github.com/youzan/vant/pull/336) [@deepkolos](https://github.com/deepkolos) +* Actionsheet: update close icon style [\#340](https://github.com/youzan/vant/pull/340) +* Popup: add overlayClass and overlayStyle props [\#349](https://github.com/youzan/vant/pull/349) [\#343](https://github.com/youzan/vant/pull/343) +* Icon: adjust unicode for better display [\#330](https://github.com/youzan/vant/pull/330) +* ImagePreview: support manually close [\#346](https://github.com/youzan/vant/pull/346) +* Tabbar: add slot-scope to avoid check by index [\#347](https://github.com/youzan/vant/pull/347) +* SubmitBar: add left slot [\#345](https://github.com/youzan/vant/pull/345) +* optimize component static classnames [\#337](https://github.com/youzan/vant/pull/337) +* optimize single line text ellipsis [\#334](https://github.com/youzan/vant/pull/334) +* optimize button css layer and GPU cost [\#336](https://github.com/youzan/vant/pull/336) **Bug Fixes** -* fix some bugs in SSR [\#344](https://github.com/youzan/vant/pull/344) [@chenjiahan](https://github.com/chenjiahan) -* fix DateTimePicker crashed when pass invalid props [\#333](https://github.com/youzan/vant/pull/333) [@chenjiahan](https://github.com/chenjiahan) +* fix some bugs in SSR [\#344](https://github.com/youzan/vant/pull/344) +* fix DateTimePicker crashed when pass invalid props [\#333](https://github.com/youzan/vant/pull/333) ### [0.11.0](https://github.com/youzan/vant/tree/v0.11.0) @@ -717,15 +717,15 @@ **Breaking changes** -* add i18n support [\#310](https://github.com/youzan/vant/pull/310) [@chenjiahan](https://github.com/chenjiahan) -* remove some unnecessary props [\#323](https://github.com/youzan/vant/pull/323) [@chenjiahan](https://github.com/chenjiahan) +* add i18n support [\#310](https://github.com/youzan/vant/pull/310) +* remove some unnecessary props [\#323](https://github.com/youzan/vant/pull/323) **Improvements** -* add Pagination component [\#327](https://github.com/youzan/vant/pull/327) [\#328](https://github.com/youzan/vant/pull/328) [@zgrong](https://github.com/zgrong) [@chenjiahan](https://github.com/chenjiahan) -* add Locale component [\#310](https://github.com/youzan/vant/pull/310) [@chenjiahan](https://github.com/chenjiahan) -* add Internationalization document [\#321](https://github.com/youzan/vant/pull/321) [@chenjiahan](https://github.com/chenjiahan) -* Icon: add-o icon add radius [\#326](https://github.com/youzan/vant/pull/326) [@cookfront](https://github.com/cookfront) +* add Pagination component [\#327](https://github.com/youzan/vant/pull/327) [\#328](https://github.com/youzan/vant/pull/328) +* add Locale component [\#310](https://github.com/youzan/vant/pull/310) +* add Internationalization document [\#321](https://github.com/youzan/vant/pull/321) +* Icon: add-o icon add radius [\#326](https://github.com/youzan/vant/pull/326) ### [0.10.9](https://github.com/youzan/vant/tree/v0.10.9) @@ -733,11 +733,11 @@ **Improvements** -* Icon: add new icons [\#315](https://github.com/youzan/vant/pull/315) [@cookfront](https://github.com/cookfront) +* Icon: add new icons [\#315](https://github.com/youzan/vant/pull/315) **Bug Fixes** -* Search: fix box-sizing [\#312](https://github.com/youzan/vant/pull/312) [@chenjiahan](https://github.com/chenjiahan) +* Search: fix box-sizing [\#312](https://github.com/youzan/vant/pull/312) ### [0.10.8](https://github.com/youzan/vant/tree/v0.10.8) @@ -745,17 +745,17 @@ **Improvements** -* Tabbar: support vue-router [\#305](https://github.com/youzan/vant/pull/305) [@chenjiahan](https://github.com/chenjiahan) -* Stepper: add plus & minus event [\#294](https://github.com/youzan/vant/pull/294) [@chenjiahan](https://github.com/chenjiahan) -* Progress: add showPivot prop [\#300](https://github.com/youzan/vant/pull/300) [@chenjiahan](https://github.com/chenjiahan) -* Loading: add spinner type [\#297](https://github.com/youzan/vant/pull/297) [@chenjiahan](https://github.com/chenjiahan) -* Toast: add mask option [\#296](https://github.com/youzan/vant/pull/296) [@chenjiahan](https://github.com/chenjiahan) -* add Tab english document [\#308](https://github.com/youzan/vant/pull/308) [@cookfront](https://github.com/cookfront) -* add Toast english document [\#307](https://github.com/youzan/vant/pull/307) [@chenjiahan](https://github.com/chenjiahan) +* Tabbar: support vue-router [\#305](https://github.com/youzan/vant/pull/305) +* Stepper: add plus & minus event [\#294](https://github.com/youzan/vant/pull/294) +* Progress: add showPivot prop [\#300](https://github.com/youzan/vant/pull/300) +* Loading: add spinner type [\#297](https://github.com/youzan/vant/pull/297) +* Toast: add mask option [\#296](https://github.com/youzan/vant/pull/296) +* add Tab english document [\#308](https://github.com/youzan/vant/pull/308) +* add Toast english document [\#307](https://github.com/youzan/vant/pull/307) **Bug Fixes** -* fix npm run dist errors in windows [\#301](https://github.com/youzan/vant/pull/301) [@zlkiarest](https://github.com/lkiarest) +* fix npm run dist errors in windows [\#301](https://github.com/youzan/vant/pull/301) ### [0.10.7](https://github.com/youzan/vant/tree/v0.10.7) @@ -763,13 +763,13 @@ **Improvements** -* Normalize size of all icons [\#292](https://github.com/youzan/vant/pull/292) [@chenjiahan](https://github.com/chenjiahan) -* ImagePreview support custom startPosition [\#286](https://github.com/youzan/vant/pull/286) [@chenjiahan](https://github.com/chenjiahan) +* Normalize size of all icons [\#292](https://github.com/youzan/vant/pull/292) +* ImagePreview support custom startPosition [\#286](https://github.com/youzan/vant/pull/286) **Bug Fixes** -* fix Sku scroll lock [\#291](https://github.com/youzan/vant/pull/291) [@w91](https://github.com/w91) -* fix Steps style error when has more than 4 items [\#287](https://github.com/youzan/vant/pull/287) [@chenjiahan](https://github.com/chenjiahan) +* fix Sku scroll lock [\#291](https://github.com/youzan/vant/pull/291) +* fix Steps style error when has more than 4 items [\#287](https://github.com/youzan/vant/pull/287) ### [0.10.6](https://github.com/youzan/vant/tree/v0.10.6) @@ -777,13 +777,13 @@ **Improvements** -* add Swipe initialSwipe prop [\#279](https://github.com/youzan/vant/pull/279) [@chenjiahan](https://github.com/chenjiahan) +* add Swipe initialSwipe prop [\#279](https://github.com/youzan/vant/pull/279) **Bug Fixes** -* fix Dialog button text not reset when showed [\#278](https://github.com/youzan/vant/pull/278) [@chenjiahan](https://github.com/chenjiahan) -* fix Tab dynamic generate bug [\#284](https://github.com/youzan/vant/pull/284) [@cookfront](https://github.com/cookfront) -* fix NoticeBar text disappeared when page back [\#280](https://github.com/youzan/vant/pull/280) [@chenjiahan](https://github.com/chenjiahan) +* fix Dialog button text not reset when showed [\#278](https://github.com/youzan/vant/pull/278) +* fix Tab dynamic generate bug [\#284](https://github.com/youzan/vant/pull/284) +* fix NoticeBar text disappeared when page back [\#280](https://github.com/youzan/vant/pull/280) ### [0.10.5](https://github.com/youzan/vant/tree/v0.10.5) @@ -791,12 +791,12 @@ **Improvements** -* Cell support vue-router target route [\#268](https://github.com/youzan/vant/pull/268) [@chenjiahan](https://github.com/chenjiahan) +* Cell support vue-router target route [\#268](https://github.com/youzan/vant/pull/268) **Bug Fixes** -* fix Tabbar info display when use icon slot [\#269](https://github.com/youzan/vant/pull/269) [@chenjiahan](https://github.com/chenjiahan) -* fix Uploader input type [\#265](https://github.com/youzan/vant/pull/265) [@chenjiahan](https://github.com/chenjiahan) +* fix Tabbar info display when use icon slot [\#269](https://github.com/youzan/vant/pull/269) +* fix Uploader input type [\#265](https://github.com/youzan/vant/pull/265) ### [0.10.4](https://github.com/youzan/vant/tree/v0.10.4) @@ -804,16 +804,16 @@ **Improvements** -* add more icons [\#253](https://github.com/youzan/vant/pull/253) [@pangxie1991](https://github.com/pangxie1991) -* add document of custom theme [\#251](https://github.com/youzan/vant/pull/251) [@chenjiahan](https://github.com/chenjiahan) -* add click feedback of buttons in components [\#248](https://github.com/youzan/vant/pull/248) [@chenjiahan](https://github.com/chenjiahan) -* add more props of NoticeBar [\#254](https://github.com/youzan/vant/pull/254) [@chenjiahan](https://github.com/chenjiahan) +* add more icons [\#253](https://github.com/youzan/vant/pull/253) +* add document of custom theme [\#251](https://github.com/youzan/vant/pull/251) +* add click feedback of buttons in components [\#248](https://github.com/youzan/vant/pull/248) +* add more props of NoticeBar [\#254](https://github.com/youzan/vant/pull/254) **Bug Fixes** -* fix Swipe width calc error [\#258](https://github.com/youzan/vant/pull/258) [@chenjiahan](https://github.com/chenjiahan) -* fix PullRefreash scroll bug when parent is scrollable [\#247](https://github.com/youzan/vant/pull/247) [@GeoffZhu](https://github.com/GeoffZhu) -* fix CouponList empty info display bug [\#246](https://github.com/youzan/vant/pull/246) [@chenjiahan](https://github.com/chenjiahan) +* fix Swipe width calc error [\#258](https://github.com/youzan/vant/pull/258) +* fix PullRefreash scroll bug when parent is scrollable [\#247](https://github.com/youzan/vant/pull/247) +* fix CouponList empty info display bug [\#246](https://github.com/youzan/vant/pull/246) ### [0.10.3](https://github.com/youzan/vant/tree/v0.10.3) @@ -821,17 +821,17 @@ **Improvements** -* add Tabbar info prop [\#245](https://github.com/youzan/vant/pull/245) [@chenjiahan](https://github.com/chenjiahan) -* add Toast position prop [\#244](https://github.com/youzan/vant/pull/244) [@chenjiahan](https://github.com/chenjiahan) -* add Coupon showExchangeBar prop [\#243](https://github.com/youzan/vant/pull/243) [@chenjiahan](https://github.com/chenjiahan) -* add Advanced components english document [\#236](https://github.com/youzan/vant/pull/236) [@Tinysymphony](https://github.com/Tinysymphony) -* add demo pages in document [\#237](https://github.com/youzan/vant/pull/237) [@chenjiahan](https://github.com/chenjiahan) +* add Tabbar info prop [\#245](https://github.com/youzan/vant/pull/245) +* add Toast position prop [\#244](https://github.com/youzan/vant/pull/244) +* add Coupon showExchangeBar prop [\#243](https://github.com/youzan/vant/pull/243) +* add Advanced components english document [\#236](https://github.com/youzan/vant/pull/236) +* add demo pages in document [\#237](https://github.com/youzan/vant/pull/237) **Bug Fixes** -* fix Address & Contact list style error [\#230](https://github.com/youzan/vant/pull/230) [@chenjiahan](https://github.com/chenjiahan) -* fix popup style missing when build style entry [\#231](https://github.com/youzan/vant/pull/231) [@chenjiahan](https://github.com/chenjiahan) -* fix PullRefresh touchcancel event [\#239](https://github.com/youzan/vant/pull/239) [@GeoffZhu](https://github.com/GeoffZhu) +* fix Address & Contact list style error [\#230](https://github.com/youzan/vant/pull/230) +* fix popup style missing when build style entry [\#231](https://github.com/youzan/vant/pull/231) +* fix PullRefresh touchcancel event [\#239](https://github.com/youzan/vant/pull/239) ### [0.10.2](https://github.com/youzan/vant/tree/v0.10.2) @@ -839,12 +839,12 @@ **Improvements** -* Sku: sku-group slot add event bus [\#226](https://github.com/youzan/vant/pull/226) [@w91](https://github.com/w91) -* add English documents [\#220](https://github.com/youzan/vant/pull/220) [@chenjiahan](https://github.com/chenjiahan) +* Sku: sku-group slot add event bus [\#226](https://github.com/youzan/vant/pull/226) +* add English documents [\#220](https://github.com/youzan/vant/pull/220) **Bug Fixes** -* Optimize component dependency analyze when build style entry [\#224](https://github.com/youzan/vant/pull/224) [@chenjiahan](https://github.com/chenjiahan) +* Optimize component dependency analyze when build style entry [\#224](https://github.com/youzan/vant/pull/224) ### [0.10.1](https://github.com/youzan/vant/tree/v0.10.1) @@ -852,17 +852,17 @@ **Improvements** -* upgrade Vue version to 2.5.0 [@chenjiahan](https://github.com/chenjiahan) -* add Tabs swipeThreshold prop [\#206](https://github.com/youzan/vant/pull/206) [@cookfront](https://github.com/cookfront) +* upgrade Vue version to 2.5.0 +* add Tabs swipeThreshold prop [\#206](https://github.com/youzan/vant/pull/206) **Bug Fixes** -* fix Swipe not clear autoplay timer when destroyed [\#218](https://github.com/youzan/vant/pull/218) [@chenjiahan](https://github.com/chenjiahan) -* fix Tab slot text ellipsis [\#217](https://github.com/youzan/vant/pull/217) [@cookfront](https://github.com/cookfront) -* fix TreeSelect denpendency path error [\#216](https://github.com/youzan/vant/pull/216) [@chenjiahan](https://github.com/chenjiahan) -* fix Checkbox border render error in Weixin browser [\#214](https://github.com/youzan/vant/pull/214) [@chenjiahan](https://github.com/chenjiahan) -* fix Popup modal can not display in some cases [\#211](https://github.com/youzan/vant/pull/211) [@chenjiahan](https://github.com/chenjiahan) -* fix Waterfall repeated event bind [@chenjiahan](https://github.com/chenjiahan) +* fix Swipe not clear autoplay timer when destroyed [\#218](https://github.com/youzan/vant/pull/218) +* fix Tab slot text ellipsis [\#217](https://github.com/youzan/vant/pull/217) +* fix TreeSelect denpendency path error [\#216](https://github.com/youzan/vant/pull/216) +* fix Checkbox border render error in Weixin browser [\#214](https://github.com/youzan/vant/pull/214) +* fix Popup modal can not display in some cases [\#211](https://github.com/youzan/vant/pull/211) +* fix Waterfall repeated event bind ### [0.10.0](https://github.com/youzan/vant/tree/v0.10.0) @@ -870,20 +870,20 @@ **Breaking changes** -* remove reset.css in vant-css [\#192](https://github.com/youzan/vant/issues/192) [\#196](https://github.com/youzan/vant/pull/196) [@chenjiahan](https://github.com/chenjiahan) -* reconstruct Swipe component, adjust some API [#174](https://github.com/youzan/vant/issues/174) [#180](https://github.com/youzan/vant/issues/180) [\#194](https://github.com/youzan/vant/pull/194) [\#200](https://github.com/youzan/vant/pull/200) [@chenjiahan](https://github.com/chenjiahan) -* optimize Search component,adjust struct [\#198](https://github.com/youzan/vant/pull/198) [@pangxie1991](https://github.com/pangxie1991) +* remove reset.css in vant-css [\#192](https://github.com/youzan/vant/issues/192) [\#196](https://github.com/youzan/vant/pull/196) +* reconstruct Swipe component, adjust some API [#174](https://github.com/youzan/vant/issues/174) [#180](https://github.com/youzan/vant/issues/180) [\#194](https://github.com/youzan/vant/pull/194) [\#200](https://github.com/youzan/vant/pull/200) +* optimize Search component,adjust struct [\#198](https://github.com/youzan/vant/pull/198) **Improvements** -* add Tabbar componnet [#157](https://github.com/youzan/vant/issues/157) [\#204](https://github.com/youzan/vant/pull/204) [@chenjiahan](https://github.com/chenjiahan) -* add english document of Form components [\#199](https://github.com/youzan/vant/pull/199) [@chenjiahan](https://github.com/chenjiahan) -* optimize Sku style [\#205](https://github.com/youzan/vant/pull/205) [@chenjiahan](https://github.com/chenjiahan) +* add Tabbar componnet [#157](https://github.com/youzan/vant/issues/157) [\#204](https://github.com/youzan/vant/pull/204) +* add english document of Form components [\#199](https://github.com/youzan/vant/pull/199) +* optimize Sku style [\#205](https://github.com/youzan/vant/pull/205) **Bug Fixes** -* fix ImagePreview beating bug when loading image [\#201](https://github.com/youzan/vant/pull/201) [@chenjiahan](https://github.com/chenjiahan) -* fix Field height error when type is textarea and display none [\#181](https://github.com/youzan/vant/issues/181) [@chenjiahan](https://github.com/chenjiahan) +* fix ImagePreview beating bug when loading image [\#201](https://github.com/youzan/vant/pull/201) +* fix Field height error when type is textarea and display none [\#181](https://github.com/youzan/vant/issues/181) ### [0.9.12](https://github.com/youzan/vant/tree/v0.9.12) @@ -891,7 +891,7 @@ **Bug Fixes** -* fix Search style bug [\#191](https://github.com/youzan/vant/pull/191) ([pangxie1991](https://github.com/pangxie1991)) +* fix Search style bug [\#191](https://github.com/youzan/vant/pull/191) ### [0.9.11](https://github.com/youzan/vant/tree/v0.9.11) @@ -899,13 +899,13 @@ **Improvements** -* add Contribute document [\#182](https://github.com/youzan/vant/pull/182) [@pangxie1991](https://github.com/pangxie1991) +* add Contribute document [\#182](https://github.com/youzan/vant/pull/182) **Bug Fixes** -* fix AddressEdit name key [\#187](https://github.com/youzan/vant/pull/187) [@chenjiahan](https://github.com/chenjiahan) -* fix Field textarea wrong height when display none [\#188](https://github.com/youzan/vant/pull/188) [@chenjiahan](https://github.com/chenjiahan) -* fix compile error in windows [\#185](https://github.com/youzan/vant/pull/182) [@pangxie1991](https://github.com/pangxie1991) +* fix AddressEdit name key [\#187](https://github.com/youzan/vant/pull/187) +* fix Field textarea wrong height when display none [\#188](https://github.com/youzan/vant/pull/188) +* fix compile error in windows [\#185](https://github.com/youzan/vant/pull/182) ### [0.9.10](https://github.com/youzan/vant/tree/v0.9.10) @@ -913,22 +913,22 @@ **Improvements** -* add Contact component [\#160](https://github.com/youzan/vant/pull/160) [@chenjiahan](https://github.com/chenjiahan) -* add AddressEdit component [\#147](https://github.com/youzan/vant/pull/147) [@chenjiahan](https://github.com/chenjiahan) -* add english document support [\#170](https://github.com/youzan/vant/pull/170) [@pangxie1991](https://github.com/pangxie1991) -* remove dependency of zan-utils [\#168](https://github.com/youzan/vant/pull/168) [@w91](https://github.com/w91) [@chenjiahan](https://github.com/chenjiahan) -* remove unnecessary codes in transition.js [\#162](https://github.com/youzan/vant/pull/162) [@chenjiahan](https://github.com/chenjiahan) -* use clean-css instead of gulp-cssmin to minify css [@chenjiahan](https://github.com/chenjiahan) +* add Contact component [\#160](https://github.com/youzan/vant/pull/160) +* add AddressEdit component [\#147](https://github.com/youzan/vant/pull/147) +* add english document support [\#170](https://github.com/youzan/vant/pull/170) +* remove dependency of zan-utils [\#168](https://github.com/youzan/vant/pull/168) +* remove unnecessary codes in transition.js [\#162](https://github.com/youzan/vant/pull/162) +* use clean-css instead of gulp-cssmin to minify css **Bug Fixes** -* fix Tab props not observable [\#148](https://github.com/youzan/vant/pull/148) [@chenjiahan](https://github.com/chenjiahan) -* fix Button active border color [\#150](https://github.com/youzan/vant/issues/150) [@ZWkang](https://github.com/ZWkang) -* fix Stepper input style [\#159](https://github.com/youzan/vant/pull/159) [@w91](https://github.com/w91) -* fix Waterfall disable props not work when display none [\#166](https://github.com/youzan/vant/pull/166) [@pangxie1991](https://github.com/pangxie1991) -* fix vant-css not compile calc property after build [@chenjiahan](https://github.com/chenjiahan) -* fix npm run dev error in MacOS [\#152](https://github.com/youzan/vant/issues/152) [@chenjiahan](https://github.com/chenjiahan) -* fix document router not work in some browsers [\#158](https://github.com/youzan/vant/pull/158) [@pangxie1991](https://github.com/pangxie1991) +* fix Tab props not observable [\#148](https://github.com/youzan/vant/pull/148) +* fix Button active border color [\#150](https://github.com/youzan/vant/issues/150) +* fix Stepper input style [\#159](https://github.com/youzan/vant/pull/159) +* fix Waterfall disable props not work when display none [\#166](https://github.com/youzan/vant/pull/166) +* fix vant-css not compile calc property after build +* fix npm run dev error in MacOS [\#152](https://github.com/youzan/vant/issues/152) +* fix document router not work in some browsers [\#158](https://github.com/youzan/vant/pull/158) ### [0.9.9](https://github.com/youzan/vant/tree/v0.9.9) @@ -936,12 +936,12 @@ **Improvements** -* Sku:support Stepper [\#146](https://github.com/youzan/vant/pull/146) [@w91](https://github.com/w91) +* Sku:support Stepper [\#146](https://github.com/youzan/vant/pull/146) **Bug Fixes** -* fix license error in packages.json [\#144](https://github.com/youzan/vant/pull/144) [@airyland](https://github.com/airyland) -* fix Waterfall scroll bug [\#145](https://github.com/youzan/vant/pull/145) [@pangxie1991](https://github.com/pangxie1991) +* fix license error in packages.json [\#144](https://github.com/youzan/vant/pull/144) +* fix Waterfall scroll bug [\#145](https://github.com/youzan/vant/pull/145) ### [0.9.8](https://github.com/youzan/vant/tree/v0.9.8) @@ -949,12 +949,12 @@ **Improvements** -* add AddressList component [\#138](https://github.com/youzan/vant/pull/138) [@chenjiahan](https://github.com/chenjiahan) -* modify changelog [\#140](https://github.com/youzan/vant/pull/140) [@chenjiahan](https://github.com/chenjiahan) +* add AddressList component [\#138](https://github.com/youzan/vant/pull/138) +* modify changelog [\#140](https://github.com/youzan/vant/pull/140) **Bug Fixes** -* fix Sku message render bug [\#142](https://github.com/youzan/vant/pull/142) [@w91](https://github.com/w91) +* fix Sku message render bug [\#142](https://github.com/youzan/vant/pull/142) ### [0.9.7](https://github.com/youzan/vant/tree/v0.9.7) @@ -962,4 +962,4 @@ **Improvements** -* Checkbox: support shape prop [\#137](https://github.com/youzan/vant/pull/137) [@chenjiahan](https://github.com/chenjiahan) +* Checkbox: support shape prop [\#137](https://github.com/youzan/vant/pull/137) diff --git a/docs/markdown/changelog.zh-CN.md b/docs/markdown/changelog.zh-CN.md index 35541aa6e..9b5234a49 100644 --- a/docs/markdown/changelog.zh-CN.md +++ b/docs/markdown/changelog.zh-CN.md @@ -5,21 +5,21 @@ **Improvements** -- Rate: 新增 change 事件 [\#1102](https://github.com/youzan/vant/pull/1102) [@chenjiahan](https://github.com/chenjiahan) -- Popup: 新增 lazyRender 属性 [\#1138](https://github.com/youzan/vant/pull/1138) [@chenjiahan](https://github.com/chenjiahan) -- NumberKeyboard: 新增 close 事件 [\#1127](https://github.com/youzan/vant/pull/1127) [@chenjiahan](https://github.com/chenjiahan) -- Sku: 优化错误提示 [\#1100](https://github.com/youzan/vantpull/1100) [@w91](https://github.com/w91) -- Dialog: 优化按钮文字选中 [\#1148](https://github.com/youzan/vant/pull/1148) [@chenjiahan](https://github.com/chenjiahan) -- Picker: 优化未选中项的颜色 [\#1142](https://github.com/youzan/vant/pull/1142) [@chenjiahan](https://github.com/chenjiahan) -- AddressEdit: 优化空值校验 [\#1150](https://github.com/youzan/vant/pull/1150) [@chenjiahan](https://github.com/chenjiahan) -- TreeSelect: 支持 string 类型 id [\#1126](https://github.com/youzan/vant/pull/1126) [@chenjiahan](https://github.com/chenjiahan) -- Utils: 移除未使用的 scroll 方法 [\#1112](https://github.com/youzan/vant/pull/1112) [@chenjiahan](https://github.com/chenjiahan) +- Rate: 新增 change 事件 [\#1102](https://github.com/youzan/vant/pull/1102) +- Popup: 新增 lazyRender 属性 [\#1138](https://github.com/youzan/vant/pull/1138) +- NumberKeyboard: 新增 close 事件 [\#1127](https://github.com/youzan/vant/pull/1127) +- Sku: 优化错误提示 [\#1100](https://github.com/youzan/vantpull/1100) +- Dialog: 优化按钮文字选中 [\#1148](https://github.com/youzan/vant/pull/1148) +- Picker: 优化未选中项的颜色 [\#1142](https://github.com/youzan/vant/pull/1142) +- AddressEdit: 优化空值校验 [\#1150](https://github.com/youzan/vant/pull/1150) +- TreeSelect: 支持 string 类型 id [\#1126](https://github.com/youzan/vant/pull/1126) +- Utils: 移除未使用的 scroll 方法 [\#1112](https://github.com/youzan/vant/pull/1112) **Bug Fixes** -- 修复 Toast 使用 forbidClick 属性时导致其他弹层的蒙层失效的问题 [\#1154](https://github.com/youzan/vant/pull/1154) [@chenjiahan](https://github.com/chenjiahan) -- 修复 Field 在 safari 上不正确的 margin [\#1147](https://github.com/youzan/vant/pull/1147) [@chenjiahan](https://github.com/chenjiahan) -- 修复 Progress 文字超出边界的问题 [\#1135](https://github.com/youzan/vant/pull/1135) [@chenjiahan](https://github.com/chenjiahan) +- 修复 Toast 使用 forbidClick 属性时导致其他弹层的蒙层失效的问题 [\#1154](https://github.com/youzan/vant/pull/1154) +- 修复 Field 在 safari 上不正确的 margin [\#1147](https://github.com/youzan/vant/pull/1147) +- 修复 Progress 文字超出边界的问题 [\#1135](https://github.com/youzan/vant/pull/1135) ### [1.1.4](https://github.com/youzan/vant/tree/v1.1.4) @@ -27,20 +27,20 @@ **Improvements** -- AddressEdit: 适配小屏手机 [\#1082](https://github.com/youzan/vant/pull/1082) [@chenjiahan](https://github.com/chenjiahan) -- Cell: 支持 number 类型的 title、value [\#1073](https://github.com/youzan/vant/pull/1073) [@chenjiahan](https://github.com/chenjiahan) -- Field: 新增 left-icon 属性 [\#1092](https://github.com/youzan/vant/pull/1092) [@chenjiahan](https://github.com/chenjiahan) -- Progress: 支持渐变色 [\#1098](https://github.com/youzan/vant/pull/1098) [@chenjiahan](https://github.com/chenjiahan) -- Build: 升级 webpack-serve [\#1056](https://github.com/youzan/vant/pull/1056) [@chenjiahan](https://github.com/chenjiahan) -- 调整示例的目录结构 [\#1052](https://github.com/youzan/vant/pull/1052) [@chenjiahan](https://github.com/chenjiahan) -- 调整文档的目录结构 [\#1066](https://github.com/youzan/vant/pull/1066) [@chenjiahan](https://github.com/chenjiahan) -- 使用 Jest 重构单元测试 [\#1051](https://github.com/youzan/vant/pull/1051) [@chenjiahan](https://github.com/chenjiahan) +- AddressEdit: 适配小屏手机 [\#1082](https://github.com/youzan/vant/pull/1082) +- Cell: 支持 number 类型的 title、value [\#1073](https://github.com/youzan/vant/pull/1073) +- Field: 新增 left-icon 属性 [\#1092](https://github.com/youzan/vant/pull/1092) +- Progress: 支持渐变色 [\#1098](https://github.com/youzan/vant/pull/1098) +- Build: 升级 webpack-serve [\#1056](https://github.com/youzan/vant/pull/1056) +- 调整示例的目录结构 [\#1052](https://github.com/youzan/vant/pull/1052) +- 调整文档的目录结构 [\#1066](https://github.com/youzan/vant/pull/1066) +- 使用 Jest 重构单元测试 [\#1051](https://github.com/youzan/vant/pull/1051) **Bug Fixes** -- 修复 DatetimePicker 初始值错误的问题 [\#1093](https://github.com/youzan/vant/pull/1093) [@rex-zsd](https://github.com/rex-zsd) -- 修复 GoodsAction info 长度超过三位数时显示错误 [\#1074](https://github.com/youzan/vant/pull/1074) [@chenjiahan](https://github.com/chenjiahan) -- 修复 icon 样式模板错误 [\#1091](https://github.com/youzan/vant/pull/1091) [@chenjiahan](https://github.com/chenjiahan) +- 修复 DatetimePicker 初始值错误的问题 [\#1093](https://github.com/youzan/vant/pull/1093) +- 修复 GoodsAction info 长度超过三位数时显示错误 [\#1074](https://github.com/youzan/vant/pull/1074) +- 修复 icon 样式模板错误 [\#1091](https://github.com/youzan/vant/pull/1091) ### [1.1.3](https://github.com/youzan/vant/tree/v1.1.3) @@ -48,19 +48,19 @@ **Improvements** -- AddressEdit: 新增 cancel-delete 事件 [\#1047](https://github.com/youzan/vant/pull/1047) [@chenjiahan](https://github.com/chenjiahan) -- Field: 新增 label slot [\#1048](https://github.com/youzan/vant/pull/1048) [@chenjiahan](https://github.com/chenjiahan) -- Icon: 更新 search 图标 [\#1025](https://github.com/youzan/vant/pull/1025) [@chenjiahan](https://github.com/chenjiahan) -- Icon: 新增 color 属性 [\#1031](https://github.com/youzan/vant/pull/1031) [@realywithoutname](https://github.com/realywithoutname) -- ImagePreview: 优化点击检测 [\#1042](https://github.com/youzan/vant/pull/1042) [@chenjiahan](https://github.com/chenjiahan) -- NoticeBar: 优化 ref 检测 [\#1037](https://github.com/youzan/vant/pull/1037) [@chenjiahan](https://github.com/chenjiahan) -- Search: 样式更新 [\#1027](https://github.com/youzan/vant/pull/1027) [@chenjiahan](https://github.com/chenjiahan) -- Toast: 新增 loadingType 选项 [\#1049](https://github.com/youzan/vant/pull/1049) [@chenjiahan](https://github.com/chenjiahan) +- AddressEdit: 新增 cancel-delete 事件 [\#1047](https://github.com/youzan/vant/pull/1047) +- Field: 新增 label slot [\#1048](https://github.com/youzan/vant/pull/1048) +- Icon: 更新 search 图标 [\#1025](https://github.com/youzan/vant/pull/1025) +- Icon: 新增 color 属性 [\#1031](https://github.com/youzan/vant/pull/1031) +- ImagePreview: 优化点击检测 [\#1042](https://github.com/youzan/vant/pull/1042) +- NoticeBar: 优化 ref 检测 [\#1037](https://github.com/youzan/vant/pull/1037) +- Search: 样式更新 [\#1027](https://github.com/youzan/vant/pull/1027) +- Toast: 新增 loadingType 选项 [\#1049](https://github.com/youzan/vant/pull/1049) **Bug Fixes** -- 修复 Cell 默认宽度 [\#1029](https://github.com/youzan/vant/pull/1029) [@chenjiahan](https://github.com/chenjiahan) -- 修复 ImagePreview 只有一张图片时无法关闭的问题 [\#1046](https://github.com/youzan/vant/pull/1046) [@chenjiahan](https://github.com/chenjiahan) +- 修复 Cell 默认宽度 [\#1029](https://github.com/youzan/vant/pull/1029) +- 修复 ImagePreview 只有一张图片时无法关闭的问题 [\#1046](https://github.com/youzan/vant/pull/1046) ### [1.1.2](https://github.com/youzan/vant/tree/v1.1.2) @@ -68,19 +68,19 @@ **Improvements** -- 新增 Rate 评分组件 [\#901](https://github.com/youzan/vant/pull/901) [\#1002](https://github.com/youzan/vant/pull/1002) [\#1010](https://github.com/youzan/vant/pull/1010) [\#1011](https://github.com/youzan/vant/pull/1011) [@Tinysymphony](https://github.com/Tinysymphony) [@chenjiahan](https://github.com/chenjiahan) -- Area: 新增 change 事件 [\#1019](https://github.com/youzan/vant/pull/1019) [@chenjiahan](https://github.com/chenjiahan) -- Button: 更新边框样式 [\#998](https://github.com/youzan/vant/pull/998) [@chenjiahan](https://github.com/chenjiahan) -- Locale: 新增错误提示 [\#1012](https://github.com/youzan/vant/pull/1012) [@chenjiahan](https://github.com/chenjiahan) -- Stepper: 更新禁用状态样式 [\#997](https://github.com/youzan/vant/pull/997) [@chenjiahan](https://github.com/chenjiahan) -- 优化组件 watch 写法 [\#1001](https://github.com/youzan/vant/pull/1001) [@chenjiahan](https://github.com/chenjiahan) -- 优化文档 API 展示 [\#990](https://github.com/youzan/vant/pull/990) [\#991](https://github.com/youzan/vant/pull/991) [@chenjiahan](https://github.com/chenjiahan) +- 新增 Rate 评分组件 [\#901](https://github.com/youzan/vant/pull/901) [\#1002](https://github.com/youzan/vant/pull/1002) [\#1010](https://github.com/youzan/vant/pull/1010) [\#1011](https://github.com/youzan/vant/pull/1011) +- Area: 新增 change 事件 [\#1019](https://github.com/youzan/vant/pull/1019) +- Button: 更新边框样式 [\#998](https://github.com/youzan/vant/pull/998) +- Locale: 新增错误提示 [\#1012](https://github.com/youzan/vant/pull/1012) +- Stepper: 更新禁用状态样式 [\#997](https://github.com/youzan/vant/pull/997) +- 优化组件 watch 写法 [\#1001](https://github.com/youzan/vant/pull/1001) +- 优化文档 API 展示 [\#990](https://github.com/youzan/vant/pull/990) [\#991](https://github.com/youzan/vant/pull/991) **Bug Fixes** -- 修复 Search 错误展示边框的问题 [\#1000](https://github.com/youzan/vant/pull/1000) [@chenjiahan](https://github.com/chenjiahan) +- 修复 Search 错误展示边框的问题 [\#1000](https://github.com/youzan/vant/pull/1000) - 修复 Tab 初始化时的渲染问题 [\#978](https://github.com/youzan/vant/pull/978) ([jerryni](https://github.com/jerryni)) -- 修复 Stepper integer 属性拼写错误 [\#992](https://github.com/youzan/vant/pull/992) [@chenjiahan](https://github.com/chenjiahan) +- 修复 Stepper integer 属性拼写错误 [\#992](https://github.com/youzan/vant/pull/992) ### [1.1.1](https://github.com/youzan/vant/tree/v1.1.1) @@ -88,18 +88,18 @@ **Improvements** -* Contact: 优化背景图 [\#972](https://github.com/youzan/vant/pull/972) [@chenjiahan](https://github.com/chenjiahan) -* List: 新增 loading-text 属性 [\#948](https://github.com/youzan/vant/pull/948) [@rex-zsd](https://github.com/rex-zsd) -* Swipe: 优化轮播性能 [\#985](https://github.com/youzan/vant/pull/985) [@chenjiahan](https://github.com/chenjiahan) -* Swipe: 新增 touchable 属性 [\#975](https://github.com/youzan/vant/pull/975) [@chenjiahan](https://github.com/chenjiahan) -* Swipe: 新增 vertical 属性,支持垂直布局 [\#938](https://github.com/youzan/vant/pull/938) [@jerryni](https://github.com/jerryni) -* Slider: 增加滑动触摸区域 [\#977](https://github.com/youzan/vant/pull/977) [@chenjiahan](https://github.com/chenjiahan) -* Stepper: 新增 interger 属性 [\#951](https://github.com/youzan/vant/pull/951) [@chenjiahan](https://github.com/chenjiahan) -* Tab: 新增 line-width 属性 [\#988](https://github.com/youzan/vant/pull/988) [@chenjiahan](https://github.com/chenjiahan) +* Contact: 优化背景图 [\#972](https://github.com/youzan/vant/pull/972) +* List: 新增 loading-text 属性 [\#948](https://github.com/youzan/vant/pull/948) +* Swipe: 优化轮播性能 [\#985](https://github.com/youzan/vant/pull/985) +* Swipe: 新增 touchable 属性 [\#975](https://github.com/youzan/vant/pull/975) +* Swipe: 新增 vertical 属性,支持垂直布局 [\#938](https://github.com/youzan/vant/pull/938) +* Slider: 增加滑动触摸区域 [\#977](https://github.com/youzan/vant/pull/977) +* Stepper: 新增 interger 属性 [\#951](https://github.com/youzan/vant/pull/951) +* Tab: 新增 line-width 属性 [\#988](https://github.com/youzan/vant/pull/988) **Bug Fixes** -* 修复 ImagePreview offset 计算错误[\#980](https://github.com/youzan/vant/pull/980) [@jerryni](https://github.com/jerryni) -* 修复 Search 在 iOS 下文字被遮挡的问题 [\#974](https://github.com/youzan/vant/pull/974) [@chenjiahan](https://github.com/chenjiahan) +* 修复 ImagePreview offset 计算错误[\#980](https://github.com/youzan/vant/pull/980) +* 修复 Search 在 iOS 下文字被遮挡的问题 [\#974](https://github.com/youzan/vant/pull/974) ### [1.1.0](https://github.com/youzan/vant/tree/v1.1.0) @@ -107,37 +107,37 @@ **Improvements** -* 新增 Slider 滑块组件 [\#897](https://github.com/youzan/vant/pull/897) [\#915](https://github.com/youzan/vant/pull/915) [jerryni](https://github.com/jerryni) [@chenjiahan](https://github.com/chenjiahan) -* 新增 BEM mixin,规范 BEM 命名格式 [\#921](https://github.com/youzan/vant/pull/921) [\#924](https://github.com/youzan/vant/pull/924) [\#932](https://github.com/youzan/vant/pull/932) [\#934](https://github.com/youzan/vant/pull/934) [@chenjiahan](https://github.com/chenjiahan) -* Cell: 优化 flex 结构 [\#919](https://github.com/youzan/vant/pull/919) [@chenjiahan](https://github.com/chenjiahan) -* Panel: 优化结构,使用 Cell 代替部分样式 [\#927](https://github.com/youzan/vant/pull/927) [@chenjiahan](https://github.com/chenjiahan) -* Build: 升级至 vue-loader@15 [\#937](https://github.com/youzan/vant/pull/937) [@chenjiahan](https://github.com/chenjiahan) -* Build: 使用 ChromeHeadless 代替 PhantomJS 作为测试运行环境 [\#913](https://github.com/youzan/vant/pull/913) [@chenjiahan](https://github.com/chenjiahan) -* Build: 使用 MiniCssExtractPlugin 代替 ExtractTextPlugin [\#936](https://github.com/youzan/vant/pull/936) [@chenjiahan](https://github.com/chenjiahan) -* Build: 增加针对 webpack4 优化的 sideEffects 配置 [\#926](https://github.com/youzan/vant/pull/926) [@chenjiahan](https://github.com/chenjiahan) -* 文档: 新增 rem 指引 [\#928](https://github.com/youzan/vant/pull/928) [@chenjiahan](https://github.com/chenjiahan) -* 文档: 移除 Loading circle 类型,不推荐使用 [\#941](https://github.com/youzan/vant/pull/941) [@chenjiahan](https://github.com/chenjiahan) +* 新增 Slider 滑块组件 [\#897](https://github.com/youzan/vant/pull/897) [\#915](https://github.com/youzan/vant/pull/915) +* 新增 BEM mixin,规范 BEM 命名格式 [\#921](https://github.com/youzan/vant/pull/921) [\#924](https://github.com/youzan/vant/pull/924) [\#932](https://github.com/youzan/vant/pull/932) [\#934](https://github.com/youzan/vant/pull/934) +* Cell: 优化 flex 结构 [\#919](https://github.com/youzan/vant/pull/919) +* Panel: 优化结构,使用 Cell 代替部分样式 [\#927](https://github.com/youzan/vant/pull/927) +* Build: 升级至 vue-loader 15 [\#937](https://github.com/youzan/vant/pull/937) +* Build: 使用 ChromeHeadless 代替 PhantomJS 作为测试运行环境 [\#913](https://github.com/youzan/vant/pull/913) +* Build: 使用 MiniCssExtractPlugin 代替 ExtractTextPlugin [\#936](https://github.com/youzan/vant/pull/936) +* Build: 增加针对 webpack4 优化的 sideEffects 配置 [\#926](https://github.com/youzan/vant/pull/926) +* 文档: 新增 rem 指引 [\#928](https://github.com/youzan/vant/pull/928) +* 文档: 移除 Loading circle 类型,不推荐使用 [\#941](https://github.com/youzan/vant/pull/941) **Bug Fixes** -* 修复 Uploader 在安卓下无法上传图片的问题 [\#929](https://github.com/youzan/vant/pull/929) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Checkbox 内容为空时渲染了空 label 元素的问题 [\#920](https://github.com/youzan/vant/pull/920) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Dialog TS 类型定义错误 [\#918](https://github.com/youzan/vant/pull/918) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Popup 多层级关闭时未正确移除 lock-scroll 导致无法滚动的问题 [\#912](https://github.com/youzan/vant/pull/912) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Picker 在系统字体大小缩放时布局错乱的问题 [\#916](https://github.com/youzan/vant/pull/916) [@chenjiahan](https://github.com/chenjiahan) +* 修复 Uploader 在安卓下无法上传图片的问题 [\#929](https://github.com/youzan/vant/pull/929) +* 修复 Checkbox 内容为空时渲染了空 label 元素的问题 [\#920](https://github.com/youzan/vant/pull/920) +* 修复 Dialog TS 类型定义错误 [\#918](https://github.com/youzan/vant/pull/918) +* 修复 Popup 多层级关闭时未正确移除 lock-scroll 导致无法滚动的问题 [\#912](https://github.com/youzan/vant/pull/912) +* 修复 Picker 在系统字体大小缩放时布局错乱的问题 [\#916](https://github.com/youzan/vant/pull/916) ### [1.0.8](https://github.com/youzan/vant/tree/v1.0.8) `2018-04-20` **Improvements** -- 新增 git hook, 提交代码时进行格式校验 [\#883](https://github.com/youzan/vant/pull/883) [@jerryni](https://github.com/jerryni) +- 新增 git hook, 提交代码时进行格式校验 [\#883](https://github.com/youzan/vant/pull/883) **Bug Fixes** -- 修复构建结果中未完全使用 es module 的问题 [\#885](https://github.com/youzan/vant/pull/885) [@chenjiahan](https://github.com/chenjiahan) -- 修复 Cell 文字垂直不对齐的问题 [\#893](https://github.com/youzan/vant/pull/893) [@chenjiahan](https://github.com/chenjiahan) -- 修复 Field number 类型无法输入负数的问题 [\#889](https://github.com/youzan/vant/pull/889) [@chenjiahan](https://github.com/chenjiahan) -- 修复 Popup lock-scroll 属性在 iOS 下无效的问题 [\#891](https://github.com/youzan/vant/pull/891) [@Tinysymphony](https://github.com/Tinysymphony) +- 修复构建结果中未完全使用 es module 的问题 [\#885](https://github.com/youzan/vant/pull/885) +- 修复 Cell 文字垂直不对齐的问题 [\#893](https://github.com/youzan/vant/pull/893) +- 修复 Field number 类型无法输入负数的问题 [\#889](https://github.com/youzan/vant/pull/889) +- 修复 Popup lock-scroll 属性在 iOS 下无效的问题 [\#891](https://github.com/youzan/vant/pull/891) ### [1.0.7](https://github.com/youzan/vant/tree/v1.0.7) @@ -145,40 +145,40 @@ **Bug Fixes** -* 修复构建结果 lib 目录下样式丢失的问题 [@chenjiahan](https://github.com/chenjiahan) +* 修复构建结果 lib 目录下样式丢失的问题 ### [1.0.6](https://github.com/youzan/vant/tree/v1.0.6) `2018-04-17` **Improvements** -* 支持 ES module 引入 [\#875](https://github.com/youzan/vant/pull/875) [@chenjiahan](https://github.com/chenjiahan) -* Dialog: 新增 before-close 属性, 支持异步关闭 [\#854](https://github.com/youzan/vant/pull/854) [\#881](https://github.com/youzan/vant/pull/881) [@chenjiahan](https://github.com/chenjiahan) [@qianzhaoy](https://github.com/qianzhaoy) -* SubmitBar: 支持自定义金额符号 [\#876](https://github.com/youzan/vant/pull/876) [@chenjiahan](https://github.com/chenjiahan) -* Tab: 支持 v-model 绑定当前 active 标签 [\#879](https://github.com/youzan/vant/pull/879) [@chenjiahan](https://github.com/chenjiahan) +* 支持 ES module 引入 [\#875](https://github.com/youzan/vant/pull/875) +* Dialog: 新增 before-close 属性, 支持异步关闭 [\#854](https://github.com/youzan/vant/pull/854) [\#881](https://github.com/youzan/vant/pull/881) +* SubmitBar: 支持自定义金额符号 [\#876](https://github.com/youzan/vant/pull/876) +* Tab: 支持 v-model 绑定当前 active 标签 [\#879](https://github.com/youzan/vant/pull/879) **Bug Fixes** -* 修复 DatetimePicker change 事件参数错误 [\#878](https://github.com/youzan/vant/pull/878) [@jerryni](https://github.com/jerryni) +* 修复 DatetimePicker change 事件参数错误 [\#878](https://github.com/youzan/vant/pull/878) ### [1.0.5](https://github.com/youzan/vant/tree/v1.0.5) `2018-04-13` **Improvements** -- 抽象 touch 通用 mixin [\#869](https://github.com/youzan/vant/pull/869) [@chenjiahan](https://github.com/chenjiahan) -- Tabbar: 支持 Number 类型的 info [\#845](https://github.com/youzan/vant/pull/845) [@chenjiahan](https://github.com/chenjiahan) -- Radio: name 属性支持任意类型 [\#863](https://github.com/youzan/vant/pull/863) [@chenjiahan](https://github.com/chenjiahan) +- 抽象 touch 通用 mixin [\#869](https://github.com/youzan/vant/pull/869) +- Tabbar: 支持 Number 类型的 info [\#845](https://github.com/youzan/vant/pull/845) +- Radio: name 属性支持任意类型 [\#863](https://github.com/youzan/vant/pull/863) **Bug Fixes** -- 修复 NavBar 标题长度未限制的问题 [\#867](https://github.com/youzan/vant/pull/867) [@chenjiahan](https://github.com/chenjiahan) -- 修复 Button loading 状态下无法水平对齐的问题 [\#858](https://github.com/youzan/vant/pull/858) [@chenjiahan](https://github.com/chenjiahan) -- 修复 CellSwipe 在垂直滑动时也会触发 Swipe 的问题 [\#866](https://github.com/youzan/vant/pull/866) [@chenjiahan](https://github.com/chenjiahan) -- 修复 ImagePreview close 方法失效的问题 [\#864](https://github.com/youzan/vant/pull/864) [@chenjiahan](https://github.com/chenjiahan) -- 修复 SubmitBar 字体大小继承错误的问题 [\#857](https://github.com/youzan/vant/pull/857) [@chenjiahan](https://github.com/chenjiahan) -- 修复 SwitchCell 文字未垂直居中的问题 [\#852](https://github.com/youzan/vant/pull/852) [@chenjiahan](https://github.com/chenjiahan) -- 修复 Swipe touch 事件冒泡问题 [\#846](https://github.com/youzan/vant/pull/846) [@chenjiahan](https://github.com/chenjiahan) +- 修复 NavBar 标题长度未限制的问题 [\#867](https://github.com/youzan/vant/pull/867) +- 修复 Button loading 状态下无法水平对齐的问题 [\#858](https://github.com/youzan/vant/pull/858) +- 修复 CellSwipe 在垂直滑动时也会触发 Swipe 的问题 [\#866](https://github.com/youzan/vant/pull/866) +- 修复 ImagePreview close 方法失效的问题 [\#864](https://github.com/youzan/vant/pull/864) +- 修复 SubmitBar 字体大小继承错误的问题 [\#857](https://github.com/youzan/vant/pull/857) +- 修复 SwitchCell 文字未垂直居中的问题 [\#852](https://github.com/youzan/vant/pull/852) +- 修复 Swipe touch 事件冒泡问题 [\#846](https://github.com/youzan/vant/pull/846) ### [1.0.4](https://github.com/youzan/vant/tree/v1.0.4) @@ -186,19 +186,19 @@ **Improvements** -- Actionsheet: 新增 cancel 事件 [\#796](https://github.com/youzan/vant/pull/796) [@cookfront](https://github.com/cookfront) -- Actionsheet: 增加最大高度限制 [\#777](https://github.com/youzan/vant/pull/777) [@iscarecrow](https://github.com/iscarecrow) -- DatetimePicker: 支持所有 picker 组件配置 [\#788](https://github.com/youzan/vant/pull/788) [@chenjiahan](https://github.com/chenjiahan) -- SubmitBar: 统一文字大小 [\#774](https://github.com/youzan/vant/pull/774) [@chenjiahan](https://github.com/chenjiahan) -- i18n: 支持 zh-HK 语言 [\#812](https://github.com/youzan/vant/pull/812) [@jasonc08](https://github.com/jasonc08) +- Actionsheet: 新增 cancel 事件 [\#796](https://github.com/youzan/vant/pull/796) +- Actionsheet: 增加最大高度限制 [\#777](https://github.com/youzan/vant/pull/777) +- DatetimePicker: 支持所有 picker 组件配置 [\#788](https://github.com/youzan/vant/pull/788) +- SubmitBar: 统一文字大小 [\#774](https://github.com/youzan/vant/pull/774) +- i18n: 支持 zh-HK 语言 [\#812](https://github.com/youzan/vant/pull/812) **Bug Fixes** -- 修复 Button 加载状态下可点击的问题 [\#779](https://github.com/youzan/vant/pull/779) [@chenjiahan](https://github.com/chenjiahan) -- 修复 Dialog 未初始化时 close 方法报错的问题 [\#841](https://github.com/youzan/vant/pull/841) [@chenjiahan](https://github.com/chenjiahan) -- 修复 Popup 多层弹出时 lockScroll 失效的问题 [\#842](https://github.com/youzan/vant/pull/842) [@chenjiahan](https://github.com/chenjiahan) -- 修复 SubmitBar 金额保留位数错误的问题 [\#820](https://github.com/youzan/vant/pull/820) [@ddchef](https://github.com/ddchef) -- 修复 Sku row 行高错误 [\#840](https://github.com/youzan/vant/pull/840) [@chenjiahan](https://github.com/chenjiahan) +- 修复 Button 加载状态下可点击的问题 [\#779](https://github.com/youzan/vant/pull/779) +- 修复 Dialog 未初始化时 close 方法报错的问题 [\#841](https://github.com/youzan/vant/pull/841) +- 修复 Popup 多层弹出时 lockScroll 失效的问题 [\#842](https://github.com/youzan/vant/pull/842) +- 修复 SubmitBar 金额保留位数错误的问题 [\#820](https://github.com/youzan/vant/pull/820) +- 修复 Sku row 行高错误 [\#840](https://github.com/youzan/vant/pull/840) ### [1.0.3](https://github.com/youzan/vant/tree/v1.0.3) @@ -206,32 +206,32 @@ **Improvements** -- Cell: 新增 center 属性 [\#771](https://github.com/youzan/vant/pull/771) [@chenjiahan](https://github.com/chenjiahan) -- Cell: 布局方式由 table 升级为 flex-box [\#770](https://github.com/youzan/vant/pull/770) [@chenjiahan](https://github.com/chenjiahan) -- Field: 新增 button slot,支持插入按钮 [\#772](https://github.com/youzan/vant/pull/772) [@chenjiahan](https://github.com/chenjiahan) -- Tab: click 事件回调新增 title 参数 [\#761](https://github.com/youzan/vant/pull/761) [@chenjiahan](https://github.com/chenjiahan) +- Cell: 新增 center 属性 [\#771](https://github.com/youzan/vant/pull/771) +- Cell: 布局方式由 table 升级为 flex-box [\#770](https://github.com/youzan/vant/pull/770) +- Field: 新增 button slot,支持插入按钮 [\#772](https://github.com/youzan/vant/pull/772) +- Tab: click 事件回调新增 title 参数 [\#761](https://github.com/youzan/vant/pull/761) **Bug Fixes** -- 修复 Tag 文字在部分安卓手机上未垂直居中的问题 [\#773](https://github.com/youzan/vant/pull/773) [@chenjiahan](https://github.com/chenjiahan) -- 修复 Toast 蒙层在某些情况下无法收起的问题 [\#762](https://github.com/youzan/vant/pull/762) [@chenjiahan](https://github.com/chenjiahan) +- 修复 Tag 文字在部分安卓手机上未垂直居中的问题 [\#773](https://github.com/youzan/vant/pull/773) +- 修复 Toast 蒙层在某些情况下无法收起的问题 [\#762](https://github.com/youzan/vant/pull/762) ### [1.0.2](https://github.com/youzan/vant/tree/v1.0.2) `2018-03-22` **Improvements** -* DatetimePicker: 新增 show-toolbar 属性以及 month-year 类型 [\#736](https://github.com/youzan/vant/pull/736) [@zz1211](https://github.com/zz1211) -* NavBar: 移除顶部 border [\#744](https://github.com/youzan/vant/pull/744) [@chenjiahan](https://github.com/chenjiahan) -* NoticeBar: 修正内边距 [\#737](https://github.com/youzan/vant/pull/737) [@skylinety](https://github.com/skylinety) -* Doc: 新增自定义图标指引 [\#754](https://github.com/youzan/vant/pull/754) [@qianzhaoy](https://github.com/qianzhaoy) +* DatetimePicker: 新增 show-toolbar 属性以及 month-year 类型 [\#736](https://github.com/youzan/vant/pull/736) +* NavBar: 移除顶部 border [\#744](https://github.com/youzan/vant/pull/744) +* NoticeBar: 修正内边距 [\#737](https://github.com/youzan/vant/pull/737) +* Doc: 新增自定义图标指引 [\#754](https://github.com/youzan/vant/pull/754) **Bug Fixes** -* 修复 AddressEdit 初始化时省市区未正确选中的问题 [\#748](https://github.com/youzan/vant/pull/748) [@chenjiahan](https://github.com/chenjiahan) -* 修复 List 隐藏时依然会触发 load 事件的问题 [\#751](https://github.com/youzan/vant/pull/751) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Sku 默认选中不生效的问题 [\#752](https://github.com/youzan/vant/pull/752) [@w91](https://github.com/w91) -* 修复 Toast 蒙层被其他元素遮挡的问题 [\#740](https://github.com/youzan/vant/pull/740) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Tab 内容无法点击的问题 [\#749](https://github.com/youzan/vant/pull/749) [@cookfront](https://github.com/cookfront) +* 修复 AddressEdit 初始化时省市区未正确选中的问题 [\#748](https://github.com/youzan/vant/pull/748) +* 修复 List 隐藏时依然会触发 load 事件的问题 [\#751](https://github.com/youzan/vant/pull/751) +* 修复 Sku 默认选中不生效的问题 [\#752](https://github.com/youzan/vant/pull/752) +* 修复 Toast 蒙层被其他元素遮挡的问题 [\#740](https://github.com/youzan/vant/pull/740) +* 修复 Tab 内容无法点击的问题 [\#749](https://github.com/youzan/vant/pull/749) ### [1.0.1](https://github.com/youzan/vant/tree/v1.0.1) @@ -239,7 +239,7 @@ **Bug Fixes** -* 修复 create 模块循环引用导致某些情况下编译错误的问题 [\#728](https://github.com/youzan/vant/pull/728) [@chenjiahan](https://github.com/chenjiahan) +* 修复 create 模块循环引用导致某些情况下编译错误的问题 [\#728](https://github.com/youzan/vant/pull/728) ### [1.0.0](https://github.com/youzan/vant/tree/v1.0.0) @@ -247,39 +247,39 @@ **Breaking changes** -* 新增 List 组件 [\#682](https://github.com/youzan/vant/pull/682) [@chenjiahan](https://github.com/chenjiahan) -* 新增 Collapse 组件 [\#674](https://github.com/youzan/vant/pull/674) [@chenjiahan](https://github.com/chenjiahan) -* 构建: 升级至 webpack 4,优化构建配置 [\#693](https://github.com/youzan/vant/pull/693) [@chenjiahan](https://github.com/chenjiahan) -* Popup: 新增 lock-scroll 属性,废弃 lock-on-scroll、prevent-scroll 属性 [\#688](https://github.com/youzan/vant/pull/688) [@chenjiahan](https://github.com/chenjiahan) -* Waterfall 组件不再维护,推荐使用 List 组件代替 [\#683](https://github.com/youzan/vant/pull/683) [@chenjiahan](https://github.com/chenjiahan) +* 新增 List 组件 [\#682](https://github.com/youzan/vant/pull/682) +* 新增 Collapse 组件 [\#674](https://github.com/youzan/vant/pull/674) +* 构建: 升级至 webpack 4,优化构建配置 [\#693](https://github.com/youzan/vant/pull/693) +* Popup: 新增 lock-scroll 属性,废弃 lock-on-scroll、prevent-scroll 属性 [\#688](https://github.com/youzan/vant/pull/688) +* Waterfall 组件不再维护,推荐使用 List 组件代替 [\#683](https://github.com/youzan/vant/pull/683) **Improvements** -* AddressEdit: 新增 show-delete 属性 [\#716](https://github.com/youzan/vant/pull/716) [@chenjiahan](https://github.com/chenjiahan) -* CellSwipe: 优化 Swipe 动画流畅度 [\#685](https://github.com/youzan/vant/pull/685) [@chenjiahan](https://github.com/chenjiahan) -* Field: 支持配置 autosize 最大/最小高度 [\#718](https://github.com/youzan/vant/pull/718) [@chenjiahan](https://github.com/chenjiahan) -* Locale: 精简 i18n 配置文档 [\#701](https://github.com/youzan/vant/pull/701) [@chenjiahan](https://github.com/chenjiahan) -* PullRefresh: 支持手动触发 loading 动画 [\#684](https://github.com/youzan/vant/pull/684) [@chenjiahan](https://github.com/chenjiahan) -* Switch: 新增 size 数组,支持自定义尺寸 [\#723](https://github.com/youzan/vant/pull/723) [@chenjiahan](https://github.com/chenjiahan) -* Sku: 新增头部金额 slot [\#705](https://github.com/youzan/vant/pull/705) [@w91](https://github.com/w91) -* Sku: 优化 DOM 结构 [\#704](https://github.com/youzan/vant/pull/704) [@chenjiahan](https://github.com/chenjiahan) -* Tab: 支持通过滑动手势进行切换 [\#694](https://github.com/youzan/vant/pull/694) [\#695](https://github.com/youzan/vant/pull/695) [@cookfront](https://github.com/cookfront) -* Tag: 调整标签样式 [\#689](https://github.com/youzan/vant/pull/689) [@chenjiahan](https://github.com/chenjiahan) -* Toast: 支持通过 Vue.use 注册 [\#690](https://github.com/youzan/vant/pull/690) [@chenjiahan](https://github.com/chenjiahan) +* AddressEdit: 新增 show-delete 属性 [\#716](https://github.com/youzan/vant/pull/716) +* CellSwipe: 优化 Swipe 动画流畅度 [\#685](https://github.com/youzan/vant/pull/685) +* Field: 支持配置 autosize 最大/最小高度 [\#718](https://github.com/youzan/vant/pull/718) +* Locale: 精简 i18n 配置文档 [\#701](https://github.com/youzan/vant/pull/701) +* PullRefresh: 支持手动触发 loading 动画 [\#684](https://github.com/youzan/vant/pull/684) +* Switch: 新增 size 数组,支持自定义尺寸 [\#723](https://github.com/youzan/vant/pull/723) +* Sku: 新增头部金额 slot [\#705](https://github.com/youzan/vant/pull/705) +* Sku: 优化 DOM 结构 [\#704](https://github.com/youzan/vant/pull/704) +* Tab: 支持通过滑动手势进行切换 [\#694](https://github.com/youzan/vant/pull/694) [\#695](https://github.com/youzan/vant/pull/695) +* Tag: 调整标签样式 [\#689](https://github.com/youzan/vant/pull/689) +* Toast: 支持通过 Vue.use 注册 [\#690](https://github.com/youzan/vant/pull/690) **Bug Fixes** -* 修复 Actionsheet 下边框未展示的问题 [\#686](https://github.com/youzan/vant/pull/686) [@chenjiahan](https://github.com/chenjiahan) -* 修复 AddressEdit 在数据变更时未正确选中省市区的问题 [\#680](https://github.com/youzan/vant/pull/680) [@chenjiahan](https://github.com/chenjiahan) +* 修复 Actionsheet 下边框未展示的问题 [\#686](https://github.com/youzan/vant/pull/686) +* 修复 AddressEdit 在数据变更时未正确选中省市区的问题 [\#680](https://github.com/youzan/vant/pull/680) * 修复 Stepper value 溢出的问题 [\#691](https://github.com/youzan/vant/issues/691) -* 修复 Badge 选中时字体粗细 [\#687](https://github.com/youzan/vant/pull/687) [@chenjiahan](https://github.com/chenjiahan) +* 修复 Badge 选中时字体粗细 [\#687](https://github.com/youzan/vant/pull/687) ### [0.12.14](https://github.com/youzan/vant/tree/v0.12.14) `2018-03-09` **Bug Fixes** -* Area: 修复 area-list 更新时未正确选中省市区的问题 [\#678](https://github.com/youzan/vant/pull/678) [@chenjiahan](https://github.com/chenjiahan) +* Area: 修复 area-list 更新时未正确选中省市区的问题 [\#678](https://github.com/youzan/vant/pull/678) ### [0.12.13](https://github.com/youzan/vant/tree/v0.12.13) @@ -287,11 +287,11 @@ **Improvements** -* AddressEdit: 支持自定义手机号校验函数 [\#673](https://github.com/youzan/vant/pull/673) [@chenjiahan](https://github.com/chenjiahan) -* Sku: 新增 close-on-click-overlay 属性 [\#676](https://github.com/youzan/vant/pull/676) [@w91](https://github.com/w91) +* AddressEdit: 支持自定义手机号校验函数 [\#673](https://github.com/youzan/vant/pull/673) +* Sku: 新增 close-on-click-overlay 属性 [\#676](https://github.com/youzan/vant/pull/676) **Bug Fixes** -* 修复 CouponList 文字截断的问题 [\#675](https://github.com/youzan/vant/pull/675) [@chenjiahan](https://github.com/chenjiahan) +* 修复 CouponList 文字截断的问题 [\#675](https://github.com/youzan/vant/pull/675) ### [0.12.12](https://github.com/youzan/vant/tree/v0.12.12) @@ -299,85 +299,85 @@ **Improvements** -* Swipe: 新增 loop 属性,支持禁用循环滚动 [\#670](https://github.com/youzan/vant/pull/670) [@chenjiahan](https://github.com/chenjiahan) -* Document: 新增 change 事件示例 [\#666](https://github.com/youzan/vant/pull/666) [@chenjiahan](https://github.com/chenjiahan) -* 更新静态资源 CDN 域名 [\#652](https://github.com/youzan/vant/pull/652) [@chenjiahan](https://github.com/chenjiahan) +* Swipe: 新增 loop 属性,支持禁用循环滚动 [\#670](https://github.com/youzan/vant/pull/670) +* Document: 新增 change 事件示例 [\#666](https://github.com/youzan/vant/pull/666) +* 更新静态资源 CDN 域名 [\#652](https://github.com/youzan/vant/pull/652) **Bug Fixes** -* 修复 Field 在 safari 下禁用态颜色过浅的问题 [\#669](https://github.com/youzan/vant/pull/669) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Swipe autoplay 设置为 0 时不会立刻取消的问题 [\#660](https://github.com/youzan/vant/pull/660) [@chenjiahan](https://github.com/chenjiahan) +* 修复 Field 在 safari 下禁用态颜色过浅的问题 [\#669](https://github.com/youzan/vant/pull/669) +* 修复 Swipe autoplay 设置为 0 时不会立刻取消的问题 [\#660](https://github.com/youzan/vant/pull/660) ### [0.12.11](https://github.com/youzan/vant/tree/v0.12.11) `2018-02-27` **Improvements** -* Checkbox: 新增 label-disabled 属性,支持禁用 label 点击 [\#644](https://github.com/youzan/vant/pull/644) [@ddchef](https://github.com/ddchef) -* Popup: 新增 click-overlay 事件 [\#647](https://github.com/youzan/vant/pull/647) [@chenjiahan](https://github.com/chenjiahan) -* Icon: 新增 warn 图标 [\#651](https://github.com/youzan/vant/pull/651) [@chenjiahan](https://github.com/chenjiahan) -* Icon: 新增 info-o 图标, 优化 checked & underway 图标 [\#648](https://github.com/youzan/vant/pull/648) [@chenjiahan](https://github.com/chenjiahan) +* Checkbox: 新增 label-disabled 属性,支持禁用 label 点击 [\#644](https://github.com/youzan/vant/pull/644) +* Popup: 新增 click-overlay 事件 [\#647](https://github.com/youzan/vant/pull/647) +* Icon: 新增 warn 图标 [\#651](https://github.com/youzan/vant/pull/651) +* Icon: 新增 info-o 图标, 优化 checked & underway 图标 [\#648](https://github.com/youzan/vant/pull/648) **Bug Fixes** -* 修复 Button loading 样式未居中的问题 [\#645](https://github.com/youzan/vant/pull/645) [@chenjiahan](https://github.com/chenjiahan) +* 修复 Button loading 样式未居中的问题 [\#645](https://github.com/youzan/vant/pull/645) ### [0.12.10](https://github.com/youzan/vant/tree/v0.12.10) `2018-02-12` **Improvements** -* 新增内置样式文档 [\#633](https://github.com/youzan/vant/pull/633) [@chenjiahan](https://github.com/chenjiahan) -* Checkbox: 优化 DOM 结构 [\#636](https://github.com/youzan/vant/pull/636) [@chenjiahan](https://github.com/chenjiahan) -* Checkbox: 支持设置最大可选数 [\#631](https://github.com/youzan/vant/pull/631) [@mpandar](https://github.com/mpandar) +* 新增内置样式文档 [\#633](https://github.com/youzan/vant/pull/633) +* Checkbox: 优化 DOM 结构 [\#636](https://github.com/youzan/vant/pull/636) +* Checkbox: 支持设置最大可选数 [\#631](https://github.com/youzan/vant/pull/631) **Bug Fixes** -* Stepper: 修复清空输入框时 change 事件未正确触发的问题 [\#635](https://github.com/youzan/vant/pull/635) [@chenjiahan](https://github.com/chenjiahan) +* Stepper: 修复清空输入框时 change 事件未正确触发的问题 [\#635](https://github.com/youzan/vant/pull/635) ### [0.12.9](https://github.com/youzan/vant/tree/v0.12.9) `2018-02-08` **Improvements** -* PullRefresh: 新增 refersh 事件 [\#625](https://github.com/youzan/vant/pull/625) [@chenjiahan](https://github.com/chenjiahan) -* Circle: 优化线条圆角 [\#624](https://github.com/youzan/vant/pull/624) [@chenjiahan](https://github.com/chenjiahan) -* Picker: 新增 loading 属性 [\#619](https://github.com/youzan/vant/pull/619) [@chenjiahan](https://github.com/chenjiahan) -* Loading: 新增 size 属性 [\#620](https://github.com/youzan/vant/pull/620) [@chenjiahan](https://github.com/chenjiahan) -* Loading: 新增 circular 类型 [\#618](https://github.com/youzan/vant/pull/618) [@chenjiahan](https://github.com/chenjiahan) -* Loading: 默认类型调整为 circular [\#623](https://github.com/youzan/vant/pull/623) [@chenjiahan](https://github.com/chenjiahan) +* PullRefresh: 新增 refersh 事件 [\#625](https://github.com/youzan/vant/pull/625) +* Circle: 优化线条圆角 [\#624](https://github.com/youzan/vant/pull/624) +* Picker: 新增 loading 属性 [\#619](https://github.com/youzan/vant/pull/619) +* Loading: 新增 size 属性 [\#620](https://github.com/youzan/vant/pull/620) +* Loading: 新增 circular 类型 [\#618](https://github.com/youzan/vant/pull/618) +* Loading: 默认类型调整为 circular [\#623](https://github.com/youzan/vant/pull/623) **Bug Fixes** -* 修复 Sku message 更新时未重新渲染的问题 [\#627](https://github.com/youzan/vant/pull/627) [@w91](https://github.com/w91) +* 修复 Sku message 更新时未重新渲染的问题 [\#627](https://github.com/youzan/vant/pull/627) ### [0.12.8](https://github.com/youzan/vant/tree/v0.12.8) `2018-02-07` **Improvements** -* 新增 Circle 组件 [\#608](https://github.com/youzan/vant/pull/608) [@chenjiahan](https://github.com/chenjiahan) -* Tab: 新增 title slot [\#603](https://github.com/youzan/vant/pull/603) [@chenjiahan](https://github.com/chenjiahan) -* Toast: 加深背景色 [\#601](https://github.com/youzan/vant/pull/601) [@chenjiahan](https://github.com/chenjiahan) -* Popup: 新增 getContaienr 属性 [\#611](https://github.com/youzan/vant/pull/611) [@chenjiahan](https://github.com/chenjiahan) -* Sku: 支持图片上传 [\#612](https://github.com/youzan/vant/pull/612) [@w91](https://github.com/w91) -* Sku: 支持自定义 Stepper [\#600](https://github.com/youzan/vant/pull/600) [@w91](https://github.com/w91) +* 新增 Circle 组件 [\#608](https://github.com/youzan/vant/pull/608) +* Tab: 新增 title slot [\#603](https://github.com/youzan/vant/pull/603) +* Toast: 加深背景色 [\#601](https://github.com/youzan/vant/pull/601) +* Popup: 新增 getContaienr 属性 [\#611](https://github.com/youzan/vant/pull/611) +* Sku: 支持图片上传 [\#612](https://github.com/youzan/vant/pull/612) +* Sku: 支持自定义 Stepper [\#600](https://github.com/youzan/vant/pull/600) **Bug Fixes** -* 修复 Picker 在部分设备下的样式问题 [\#609](https://github.com/youzan/vant/pull/609) [@chenjiahan](https://github.com/chenjiahan) -* 修复 TreeSelect 箭头位置错误 [\#605](https://github.com/youzan/vant/pull/605) [@chenjiahan](https://github.com/chenjiahan) +* 修复 Picker 在部分设备下的样式问题 [\#609](https://github.com/youzan/vant/pull/609) +* 修复 TreeSelect 箭头位置错误 [\#605](https://github.com/youzan/vant/pull/605) ### [0.12.7](https://github.com/youzan/vant/tree/v0.12.7) `2018-01-31` **Improvements** -* Area: 新增 item-height、visible-item-count 属性 [\#591](https://github.com/youzan/vant/pull/591) [@chenjiahan](https://github.com/chenjiahan) -* Dialog: 支持以组件形式调用 [\#593](https://github.com/youzan/vant/pull/593) [@chenjiahan](https://github.com/chenjiahan) -* Toast: 支持同时弹出多个 Toast [\#586](https://github.com/youzan/vant/pull/586) [@chenjiahan](https://github.com/chenjiahan) -* Sku: 新增 getSkuData 方法 [\#585](https://github.com/youzan/vant/pull/585) [@chenjiahan](https://github.com/chenjiahan) +* Area: 新增 item-height、visible-item-count 属性 [\#591](https://github.com/youzan/vant/pull/591) +* Dialog: 支持以组件形式调用 [\#593](https://github.com/youzan/vant/pull/593) +* Toast: 支持同时弹出多个 Toast [\#586](https://github.com/youzan/vant/pull/586) +* Sku: 新增 getSkuData 方法 [\#585](https://github.com/youzan/vant/pull/585) **Bug Fixes** -* 修复 Field label 多行时样式错误的问题 [\#583](https://github.com/youzan/vant/pull/583) [@chenjiahan](https://github.com/chenjiahan) +* 修复 Field label 多行时样式错误的问题 [\#583](https://github.com/youzan/vant/pull/583) ### [0.12.6](https://github.com/youzan/vant/tree/v0.12.6) @@ -385,15 +385,15 @@ **Improvements** -- AddressEdit: 增加默认 slot [\#573](https://github.com/youzan/vant/pull/573) [@chenjiahan](https://github.com/chenjiahan) -- Uploader: 新增 maxSize 属性 [\#575](https://github.com/youzan/vant/pull/575) [@chenjiahan](https://github.com/chenjiahan) -- Sku: 新增 sku-body-top slot、resetSelectedSkuOnHide 属性 [\#568](https://github.com/youzan/vant/pull/568) [@w91](https://github.com/w91) +- AddressEdit: 增加默认 slot [\#573](https://github.com/youzan/vant/pull/573) +- Uploader: 新增 maxSize 属性 [\#575](https://github.com/youzan/vant/pull/575) +- Sku: 新增 sku-body-top slot、resetSelectedSkuOnHide 属性 [\#568](https://github.com/youzan/vant/pull/568) **Bug Fixes** -- 修复 Toast 文案换行 [\#567](https://github.com/youzan/vant/pull/567) [@chenjiahan](https://github.com/chenjiahan) -- 修复 Sku 限购情况下,未超出限购数时的错误文案显示 [\#568](https://github.com/youzan/vant/pull/568) [@w91](https://github.com/w91) -- 修复 Tab active 在初始化时未生效的问题 [\#572](https://github.com/youzan/vant/pull/572) [@chenjiahan](https://github.com/chenjiahan) +- 修复 Toast 文案换行 [\#567](https://github.com/youzan/vant/pull/567) +- 修复 Sku 限购情况下,未超出限购数时的错误文案显示 [\#568](https://github.com/youzan/vant/pull/568) +- 修复 Tab active 在初始化时未生效的问题 [\#572](https://github.com/youzan/vant/pull/572) ### [0.12.5](https://github.com/youzan/vant/tree/v0.12.5) @@ -401,14 +401,14 @@ **Improvements** -* Button: 新增 text 属性 [\#563](https://github.com/youzan/vant/pull/563) [@chenjiahan](https://github.com/chenjiahan) -* CouponList: 支持 v-model、exchangeButtonLoading、exchangeMinLength [\#556](https://github.com/youzan/vant/pull/556) [\#566](https://github.com/youzan/vant/pull/566) [@chenjiahan](https://github.com/chenjiahan) -* Icon: 更新 share 图标 [\#562](https://github.com/youzan/vant/pull/562) [@chenjiahan](https://github.com/chenjiahan) -* Sku: 优化渲染性能 [\#550](https://github.com/youzan/vant/pull/550) [@chenjiahan](https://github.com/chenjiahan) +* Button: 新增 text 属性 [\#563](https://github.com/youzan/vant/pull/563) +* CouponList: 支持 v-model、exchangeButtonLoading、exchangeMinLength [\#556](https://github.com/youzan/vant/pull/556) [\#566](https://github.com/youzan/vant/pull/566) +* Icon: 更新 share 图标 [\#562](https://github.com/youzan/vant/pull/562) +* Sku: 优化渲染性能 [\#550](https://github.com/youzan/vant/pull/550) **Bug Fixes** -* Area: 修复未选中省份时市区展示错误的问题 [\#560](https://github.com/youzan/vant/pull/560) [@chenjiahan](https://github.com/chenjiahan) -* Cell: 修复 required 样式错误的问题 [\#553](https://github.com/youzan/vant/pull/553) [@qianzhaoy](https://github.com/qianzhaoy) +* Area: 修复未选中省份时市区展示错误的问题 [\#560](https://github.com/youzan/vant/pull/560) +* Cell: 修复 required 样式错误的问题 [\#553](https://github.com/youzan/vant/pull/553) ### [0.12.4](https://github.com/youzan/vant/tree/v0.12.4) @@ -416,14 +416,14 @@ **Improvements** -* Picker: 新增 confirmButtonText、cancelButtonText 属性 [\#548](https://github.com/youzan/vant/pull/548) [@chenjiahan](https://github.com/chenjiahan) -* Toast: 新增 setDefaultOptions 方法 [\#541](https://github.com/youzan/vant/pull/541) [@chenjiahan](https://github.com/chenjiahan) -* Dialog: 新增 setDefaultOptions 方法 [\#539](https://github.com/youzan/vant/pull/539) [@chenjiahan](https://github.com/chenjiahan) +* Picker: 新增 confirmButtonText、cancelButtonText 属性 [\#548](https://github.com/youzan/vant/pull/548) +* Toast: 新增 setDefaultOptions 方法 [\#541](https://github.com/youzan/vant/pull/541) +* Dialog: 新增 setDefaultOptions 方法 [\#539](https://github.com/youzan/vant/pull/539) **Bug Fixes** -* Stepper: 修改 value 值时不触发 change 事件 [\#546](https://github.com/youzan/vant/pull/546) [@chuangbo](https://github.com/chuangbo) -* Picker: 修复 visibleItemCount 属性拼写错误 [\#549](https://github.com/youzan/vant/pull/549) [@chenjiahan](https://github.com/chenjiahan) +* Stepper: 修改 value 值时不触发 change 事件 [\#546](https://github.com/youzan/vant/pull/546) +* Picker: 修复 visibleItemCount 属性拼写错误 [\#549](https://github.com/youzan/vant/pull/549) ### [0.12.3](https://github.com/youzan/vant/tree/v0.12.3) @@ -431,15 +431,15 @@ **Improvements** -* NavBar: 新增 zIndex 属性 [\#525](https://github.com/youzan/vant/pull/525) [@chenjiahan](https://github.com/chenjiahan) -* Cell: 调整右侧箭头位置 [\#531](https://github.com/youzan/vant/pull/531) [@chenjiahan](https://github.com/chenjiahan) +* NavBar: 新增 zIndex 属性 [\#525](https://github.com/youzan/vant/pull/525) +* Cell: 调整右侧箭头位置 [\#531](https://github.com/youzan/vant/pull/531) **Bug Fixes** -* 修复 Area 传空 AreaList 时报错的问题 [\#520](https://github.com/youzan/vant/pull/520) [@chenjiahan](https://github.com/chenjiahan) -* 修复 AddressEdit 的 setAreaCode 方法失效的问题 [\#524](https://github.com/youzan/vant/pull/524) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Picker 点击选项时无法触发 change 事件的问题 [\#532](https://github.com/youzan/vant/pull/532) [@chenjiahan](https://github.com/chenjiahan) -* 修复 PullRefresh 在横向滑动时也会触发的问题 [\#521](https://github.com/youzan/vant/pull/521) [@ZhiRuYan](https://github.com/ZhiRuYan) +* 修复 Area 传空 AreaList 时报错的问题 [\#520](https://github.com/youzan/vant/pull/520) +* 修复 AddressEdit 的 setAreaCode 方法失效的问题 [\#524](https://github.com/youzan/vant/pull/524) +* 修复 Picker 点击选项时无法触发 change 事件的问题 [\#532](https://github.com/youzan/vant/pull/532) +* 修复 PullRefresh 在横向滑动时也会触发的问题 [\#521](https://github.com/youzan/vant/pull/521) ### [0.12.2](https://github.com/youzan/vant/tree/v0.12.2) @@ -447,10 +447,10 @@ **Bug Fixes** -* Swipe: 使用 translate2d 代替 translate3d, 避免 iOS11 下的 crash 问题 [\#518](https://github.com/youzan/vant/pull/518) [@chenjiahan](https://github.com/chenjiahan) -* Picker: change 事件只在用户操作后触发 [\#517](https://github.com/youzan/vant/pull/517) [@chenjiahan](https://github.com/chenjiahan) -* NoticeBar: 修复 text 属性变化时未重新计算的问题 [\#515](https://github.com/youzan/vant/pull/515) [@xliez](https://github.com/xliez) -* AddressEdit: 修复搜索结果样式错误 [\#514](https://github.com/youzan/vant/pull/514) [@chenjiahan](https://github.com/chenjiahan) +* Swipe: 使用 translate2d 代替 translate3d, 避免 iOS11 下的 crash 问题 [\#518](https://github.com/youzan/vant/pull/518) +* Picker: change 事件只在用户操作后触发 [\#517](https://github.com/youzan/vant/pull/517) +* NoticeBar: 修复 text 属性变化时未重新计算的问题 [\#515](https://github.com/youzan/vant/pull/515) +* AddressEdit: 修复搜索结果样式错误 [\#514](https://github.com/youzan/vant/pull/514) ### [0.12.1](https://github.com/youzan/vant/tree/v0.12.1) @@ -458,15 +458,15 @@ **Improvements** -* Button: 调整 small 按钮内边距 [\#511](https://github.com/youzan/vant/pull/511) [@chenjiahan](https://github.com/chenjiahan) +* Button: 调整 small 按钮内边距 [\#511](https://github.com/youzan/vant/pull/511) **Bug Fixes** -* 修复 Cell 标题为空时 icon 属性无法生效的问题 [\#508](https://github.com/youzan/vant/pull/508) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Cell 内边框宽度错误的问题 [\#506](https://github.com/youzan/vant/pull/506) [@chenjiahan](https://github.com/chenjiahan) -* 修复 CouponList 行高错误的问题 [\#507](https://github.com/youzan/vant/pull/507) [@chenjiahan](https://github.com/chenjiahan) -* 修复 CouponList 输入框样式错误 [\#502](https://github.com/youzan/vant/pull/502) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Radio 图标无法点击的问题 [\#505](https://github.com/youzan/vant/pull/505) [@chenjiahan](https://github.com/chenjiahan) +* 修复 Cell 标题为空时 icon 属性无法生效的问题 [\#508](https://github.com/youzan/vant/pull/508) +* 修复 Cell 内边框宽度错误的问题 [\#506](https://github.com/youzan/vant/pull/506) +* 修复 CouponList 行高错误的问题 [\#507](https://github.com/youzan/vant/pull/507) +* 修复 CouponList 输入框样式错误 [\#502](https://github.com/youzan/vant/pull/502) +* 修复 Radio 图标无法点击的问题 [\#505](https://github.com/youzan/vant/pull/505) ### [0.12.0](https://github.com/youzan/vant/tree/v0.12.0) @@ -474,18 +474,18 @@ **Breaking changes** -* Cell: CellGroup 左内边距移至 Cell 内, 新增 'border'、'clickable' 属性 [\#497](https://github.com/youzan/vant/pull/497) [@chenjiahan](https://github.com/chenjiahan) -* 调整编码规范, 使用官方推荐的 kebab-case 属性命名 [\#482](https://github.com/youzan/vant/pull/482) [@chenjiahan](https://github.com/chenjiahan) +* Cell: CellGroup 左内边距移至 Cell 内, 新增 'border'、'clickable' 属性 [\#497](https://github.com/youzan/vant/pull/497) +* 调整编码规范, 使用官方推荐的 kebab-case 属性命名 [\#482](https://github.com/youzan/vant/pull/482) **Improvements** -* Field: 新增 error-message 属性 [\#492](https://github.com/youzan/vant/pull/492) [@chenjiahan](https://github.com/chenjiahan) -* Document: 更新到新版文档样式 [\#490](https://github.com/youzan/vant/pull/490) [@chenjiahan](https://github.com/chenjiahan) +* Field: 新增 error-message 属性 [\#492](https://github.com/youzan/vant/pull/492) +* Document: 更新到新版文档样式 [\#490](https://github.com/youzan/vant/pull/490) **Bug Fixes** -* 修复 Tab 使用 sticky 时高度计算错误的问题 [\#493](https://github.com/youzan/vant/pull/493) [@chenjiahan](https://github.com/chenjiahan) -* 修复组件使用 $attrs 时继承的问题 [\#488](https://github.com/youzan/vant/pull/488) [@chenjiahan](https://github.com/chenjiahan) +* 修复 Tab 使用 sticky 时高度计算错误的问题 [\#493](https://github.com/youzan/vant/pull/493) +* 修复组件使用 $attrs 时继承的问题 [\#488](https://github.com/youzan/vant/pull/488) ### [0.11.15](https://github.com/youzan/vant/tree/v0.11.15) @@ -493,16 +493,16 @@ **Improvements** -* Uploader: 支持多文件上传 [\#480](https://github.com/youzan/vant/pull/480) [@chenjiahan](https://github.com/chenjiahan) -* NumberKeyboard: 增加一种键盘样式 [\#472](https://github.com/youzan/vant/pull/472) [@chenjiahan](https://github.com/chenjiahan) -* Icon: 更新 search 图标样式 [\#474](https://github.com/youzan/vant/pull/474) [@chenjiahan](https://github.com/chenjiahan) -* 支持 passive 事件 [\#478](https://github.com/youzan/vant/pull/478) [@chenjiahan](https://github.com/chenjiahan) +* Uploader: 支持多文件上传 [\#480](https://github.com/youzan/vant/pull/480) +* NumberKeyboard: 增加一种键盘样式 [\#472](https://github.com/youzan/vant/pull/472) +* Icon: 更新 search 图标样式 [\#474](https://github.com/youzan/vant/pull/474) +* 支持 passive 事件 [\#478](https://github.com/youzan/vant/pull/478) **Bug Fixes** -* 修复 popup 销毁时未解绑事件的问题 [\#477](https://github.com/youzan/vant/pull/477) [@chenjiahan](https://github.com/chenjiahan) -* 修复使用 popup mixin 的组件未设定 props 类型的问题 [\#468](https://github.com/youzan/vant/pull/468) [@chuangbo](https://github.com/chuangbo) -* 修复 package.json 配置中未包含 types 目录的问题 [\#462](https://github.com/youzan/vant/pull/462) [@wuyiw](https://github.com/wuyiw) +* 修复 popup 销毁时未解绑事件的问题 [\#477](https://github.com/youzan/vant/pull/477) +* 修复使用 popup mixin 的组件未设定 props 类型的问题 [\#468](https://github.com/youzan/vant/pull/468) +* 修复 package.json 配置中未包含 types 目录的问题 [\#462](https://github.com/youzan/vant/pull/462) ### [0.11.14](https://github.com/youzan/vant/tree/v0.11.14) @@ -510,13 +510,13 @@ **Improvements** -* NumberKeyboard: 新增 hideOnClickOutside & closeButtonText 属性 [\#458](https://github.com/youzan/vant/pull/458) [@chenjiahan](https://github.com/chenjiahan) -* Area: 优化性能 [\#457](https://github.com/youzan/vant/pull/457) [@chenjiahan](https://github.com/chenjiahan) -* 优化代码格式检查命令 [\#455](https://github.com/youzan/vant/pull/455) [\#453](https://github.com/youzan/vant/pull/453) [@chenjiahan](https://github.com/chenjiahan) +* NumberKeyboard: 新增 hideOnClickOutside & closeButtonText 属性 [\#458](https://github.com/youzan/vant/pull/458) +* Area: 优化性能 [\#457](https://github.com/youzan/vant/pull/457) +* 优化代码格式检查命令 [\#455](https://github.com/youzan/vant/pull/455) [\#453](https://github.com/youzan/vant/pull/453) **Bug Fixes** -* 修复全局引入样式时 Cell 箭头错位的问题 [@chenjiahan](https://github.com/chenjiahan) +* 修复全局引入样式时 Cell 箭头错位的问题 ### [0.11.13](https://github.com/youzan/vant/tree/v0.11.13) @@ -524,16 +524,16 @@ **Improvements** -* Area: 新增 'title' prop [\#450](https://github.com/youzan/vant/pull/450) [@chenjiahan](https://github.com/chenjiahan) -* Icon: 新增 'info' prop [\#447](https://github.com/youzan/vant/pull/447) [@chenjiahan](https://github.com/chenjiahan) -* Picker: 优化性能 [\#450](https://github.com/youzan/vant/pull/450) [@chenjiahan](https://github.com/chenjiahan) -* Search: 支持 input 原生事件 [\#451](https://github.com/youzan/vant/pull/451) [@chenjiahan](https://github.com/chenjiahan) -* GoodsAction: 新增 'info' 属性,支持路由跳转 [\#448](https://github.com/youzan/vant/pull/448) [@chenjiahan](https://github.com/chenjiahan) -* Area & Sku: 支持多语言切换 [\#439](https://github.com/youzan/vant/pull/439) [\#440](https://github.com/youzan/vant/pull/440) [@chenjiahan](https://github.com/chenjiahan) [@Tinysymphony](https://github.com/Tinysymphony) +* Area: 新增 'title' prop [\#450](https://github.com/youzan/vant/pull/450) +* Icon: 新增 'info' prop [\#447](https://github.com/youzan/vant/pull/447) +* Picker: 优化性能 [\#450](https://github.com/youzan/vant/pull/450) +* Search: 支持 input 原生事件 [\#451](https://github.com/youzan/vant/pull/451) +* GoodsAction: 新增 'info' 属性,支持路由跳转 [\#448](https://github.com/youzan/vant/pull/448) +* Area & Sku: 支持多语言切换 [\#439](https://github.com/youzan/vant/pull/439) [\#440](https://github.com/youzan/vant/pull/440) **Bug Fixes** -* 修复 GoodsAction 在小屏下文字显示不全的问题 [\#446](https://github.com/youzan/vant/pull/446) [@chenjiahan](https://github.com/chenjiahan) +* 修复 GoodsAction 在小屏下文字显示不全的问题 [\#446](https://github.com/youzan/vant/pull/446) ### [0.11.12](https://github.com/youzan/vant/tree/v0.11.12) @@ -541,15 +541,15 @@ **Improvements** -* ContactCard: 新增 'editable' 属性 [\#435](https://github.com/youzan/vant/pull/435) [@chenjiahan](https://github.com/chenjiahan) -* Coupon: 支持英文语言 [\#431](https://github.com/youzan/vant/pull/431) [@chenjiahan](https://github.com/chenjiahan) +* ContactCard: 新增 'editable' 属性 [\#435](https://github.com/youzan/vant/pull/435) +* Coupon: 支持英文语言 [\#431](https://github.com/youzan/vant/pull/431) **Bug Fixes** -* 修复 Popup preventScroll 属性失效的问题 [\#429](https://github.com/youzan/vant/pull/429) [@Tinysymphony](https://github.com/Tinysymphony) -* 修复 Picker 滑动时未禁止页面滚动的问题 [\#432](https://github.com/youzan/vant/pull/432) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Picker 底部区域无法滑动的问题 [\#433](https://github.com/youzan/vant/pull/433) [@chenjiahan](https://github.com/chenjiahan) -* 修复 PullRefresh 顶部内容遮挡的问题 [\#436](https://github.com/youzan/vant/pull/436) [@chenjiahan](https://github.com/chenjiahan) +* 修复 Popup preventScroll 属性失效的问题 [\#429](https://github.com/youzan/vant/pull/429) +* 修复 Picker 滑动时未禁止页面滚动的问题 [\#432](https://github.com/youzan/vant/pull/432) +* 修复 Picker 底部区域无法滑动的问题 [\#433](https://github.com/youzan/vant/pull/433) +* 修复 PullRefresh 顶部内容遮挡的问题 [\#436](https://github.com/youzan/vant/pull/436) ### [0.11.11](https://github.com/youzan/vant/tree/v0.11.11) @@ -557,16 +557,16 @@ **Improvements** -* Field: 支持 input 标签原生事件 [\#421](https://github.com/youzan/vant/pull/421) [@chenjiahan](https://github.com/chenjiahan) -* Search: 支持 input 标签原生属性 [\#418](https://github.com/youzan/vant/pull/418) [@chenjiahan](https://github.com/chenjiahan) -* CellGroup: 新增 'border' 属性 [\#420](https://github.com/youzan/vant/pull/420) [@chenjiahan](https://github.com/chenjiahan) -* AddressEdit: 新增 focus、change-area、select-search 事件 [\#426](https://github.com/youzan/vant/pull/426) [@chenjiahan](https://github.com/chenjiahan) -* Badge、CouponList、ContactCard: 增加点击反馈 [\#419](https://github.com/youzan/vant/pull/419) [@chenjiahan](https://github.com/chenjiahan) +* Field: 支持 input 标签原生事件 [\#421](https://github.com/youzan/vant/pull/421) +* Search: 支持 input 标签原生属性 [\#418](https://github.com/youzan/vant/pull/418) +* CellGroup: 新增 'border' 属性 [\#420](https://github.com/youzan/vant/pull/420) +* AddressEdit: 新增 focus、change-area、select-search 事件 [\#426](https://github.com/youzan/vant/pull/426) +* Badge、CouponList、ContactCard: 增加点击反馈 [\#419](https://github.com/youzan/vant/pull/419) **Bug Fixes** -* 修复 Checkbox 在 CheckboxGroup 内时 disabled 属性无法生效的问题 [\#425](https://github.com/youzan/vant/pull/425) [@Tinysymphony](https://github.com/Tinysymphony) -* 修复 AddressEdit 搜索结果展示错误 [\#417](https://github.com/youzan/vant/pull/417) [@chenjiahan](https://github.com/chenjiahan) +* 修复 Checkbox 在 CheckboxGroup 内时 disabled 属性无法生效的问题 [\#425](https://github.com/youzan/vant/pull/425) +* 修复 AddressEdit 搜索结果展示错误 [\#417](https://github.com/youzan/vant/pull/417) ### [0.11.10](https://github.com/youzan/vant/tree/v0.11.10) @@ -574,12 +574,12 @@ **Improvements** -* 支持通过 Vue.use 来全局注册组件 [\#401](https://github.com/youzan/vant/pull/401) [@chenjiahan](https://github.com/chenjiahan) -* 统一组件间的 fade 动画,优化过渡效果 [\#410](https://github.com/youzan/vant/pull/410) [@chenjiahan](https://github.com/chenjiahan) +* 支持通过 Vue.use 来全局注册组件 [\#401](https://github.com/youzan/vant/pull/401) +* 统一组件间的 fade 动画,优化过渡效果 [\#410](https://github.com/youzan/vant/pull/410) **Bug Fixes** -* Icon: 修复 'shopping-cart' 图标高度不居中的问题 [\#415](https://github.com/youzan/vant/pull/415) [@cookfront](https://github.com/cookfront) +* Icon: 修复 'shopping-cart' 图标高度不居中的问题 [\#415](https://github.com/youzan/vant/pull/415) ### [0.11.9](https://github.com/youzan/vant/tree/v0.11.9) @@ -587,13 +587,13 @@ **Improvements** -* Icon: 新增 share & arrow-left 图标 [\#407](https://github.com/youzan/vant/pull/407) [@chenjiahan](https://github.com/chenjiahan) -* Icon: 支持使用本地字体文件 [\#408](https://github.com/youzan/vant/pull/408) [@chenjiahan](https://github.com/chenjiahan) +* Icon: 新增 share & arrow-left 图标 [\#407](https://github.com/youzan/vant/pull/407) +* Icon: 支持使用本地字体文件 [\#408](https://github.com/youzan/vant/pull/408) **Bug Fixes** -* 修复 raf SSR 报错的问题 [\#405](https://github.com/youzan/vant/pull/405) [@chenjiahan](https://github.com/chenjiahan) -* 修复 NoticeBar animationend 事件兼容问题 [\#402](https://github.com/youzan/vant/pull/402) [@chenjiahan](https://github.com/chenjiahan) +* 修复 raf SSR 报错的问题 [\#405](https://github.com/youzan/vant/pull/405) +* 修复 NoticeBar animationend 事件兼容问题 [\#402](https://github.com/youzan/vant/pull/402) ### [0.11.8](https://github.com/youzan/vant/tree/v0.11.8) @@ -601,13 +601,13 @@ **Improvements** -* Icon: 新增两个图标 [\#396](https://github.com/youzan/vant/pull/396) [@chenjiahan](https://github.com/chenjiahan) -* Button: 调整默认按钮边框颜色 [\#392](https://github.com/youzan/vant/pull/392) [@chenjiahan](https://github.com/chenjiahan) +* Icon: 新增两个图标 [\#396](https://github.com/youzan/vant/pull/396) +* Button: 调整默认按钮边框颜色 [\#392](https://github.com/youzan/vant/pull/392) **Bug Fixes** -* Tab: 修复 safari 下的滚动条问题 [\#390](https://github.com/youzan/vant/pull/390) [@chenjiahan](https://github.com/chenjiahan) -* Tab: 修复 active 标签不能自动居中的问题 [\#394](https://github.com/youzan/vant/pull/394) [@chenjiahan](https://github.com/chenjiahan) +* Tab: 修复 safari 下的滚动条问题 [\#390](https://github.com/youzan/vant/pull/390) +* Tab: 修复 active 标签不能自动居中的问题 [\#394](https://github.com/youzan/vant/pull/394) ### [0.11.7](https://github.com/youzan/vant/tree/v0.11.7) @@ -627,18 +627,18 @@ **Improvements** -* Picker: 支持点击切换选项、禁用选项 [\#370](https://github.com/youzan/vant/pull/370) [@chenjiahan](https://github.com/chenjiahan) -* Tab: 新增 sticky 属性 [\#382](https://github.com/youzan/vant/pull/382) [@chenjiahan](https://github.com/chenjiahan) -* Tab: 优化动画流畅度 [\#379](https://github.com/youzan/vant/pull/379) [@chenjiahan](https://github.com/chenjiahan) +* Picker: 支持点击切换选项、禁用选项 [\#370](https://github.com/youzan/vant/pull/370) +* Tab: 新增 sticky 属性 [\#382](https://github.com/youzan/vant/pull/382) +* Tab: 优化动画流畅度 [\#379](https://github.com/youzan/vant/pull/379) **Bug Fixes** -* 修复 Popup overlayClass 类型错误 [\#374](https://github.com/youzan/vant/pull/374) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Field number 类型输入值过滤 [\#386](https://github.com/youzan/vant/pull/386) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Icon 'new' 显示问题 [\#381](https://github.com/youzan/vant/pull/381) [@pangxie1991](https://github.com/pangxie1991) -* 修复 Sku 按钮圆角问题 [\#378](https://github.com/youzan/vant/pull/378) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Radio & Checkbox 禁用态样式 [\#383](https://github.com/youzan/vant/pull/383) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Field disabled 在安卓下的显示问题 [\#388](https://github.com/youzan/vant/pull/388) [@chenjiahan](https://github.com/chenjiahan) +* 修复 Popup overlayClass 类型错误 [\#374](https://github.com/youzan/vant/pull/374) +* 修复 Field number 类型输入值过滤 [\#386](https://github.com/youzan/vant/pull/386) +* 修复 Icon 'new' 显示问题 [\#381](https://github.com/youzan/vant/pull/381) +* 修复 Sku 按钮圆角问题 [\#378](https://github.com/youzan/vant/pull/378) +* 修复 Radio & Checkbox 禁用态样式 [\#383](https://github.com/youzan/vant/pull/383) +* 修复 Field disabled 在安卓下的显示问题 [\#388](https://github.com/youzan/vant/pull/388) ### [0.11.5](https://github.com/youzan/vant/tree/v0.11.5) @@ -646,13 +646,13 @@ **Improvements** -* Coupon:调整 Cell 右侧文案 [\#371](https://github.com/youzan/vant/pull/371) [@chenjiahan](https://github.com/chenjiahan) -* GoodsAction: 支持国际化 [\#367](https://github.com/youzan/vant/pull/367) [@chenjiahan](https://github.com/chenjiahan) -* 增加 Props 命名规范相关文档 [\#366](https://github.com/youzan/vant/pull/366) [@chenjiahan](https://github.com/chenjiahan) +* Coupon:调整 Cell 右侧文案 [\#371](https://github.com/youzan/vant/pull/371) +* GoodsAction: 支持国际化 [\#367](https://github.com/youzan/vant/pull/367) +* 增加 Props 命名规范相关文档 [\#366](https://github.com/youzan/vant/pull/366) **Bug Fixes** -* 修复 Tab 删除时未自动切换 active 值的问题 [\#372](https://github.com/youzan/vant/pull/372) [@chenjiahan](https://github.com/chenjiahan) +* 修复 Tab 删除时未自动切换 active 值的问题 [\#372](https://github.com/youzan/vant/pull/372) ### [0.11.4](https://github.com/youzan/vant/tree/v0.11.4) @@ -660,8 +660,8 @@ **Improvements** -* 新增类型定义文件,增强对 TypeScript 支持 [\#361](https://github.com/youzan/vant/pull/361) [@chenjiahan](https://github.com/chenjiahan) -* Toast/Dialog 自动挂载至 Vue.prototype, 支持 this.$toast 等方式调用 [\#363](https://github.com/youzan/vant/pull/363) [@chenjiahan](https://github.com/chenjiahan) +* 新增类型定义文件,增强对 TypeScript 支持 [\#361](https://github.com/youzan/vant/pull/361) +* Toast/Dialog 自动挂载至 Vue.prototype, 支持 this.$toast 等方式调用 [\#363](https://github.com/youzan/vant/pull/363) ### [0.11.3](https://github.com/youzan/vant/tree/v0.11.3) @@ -669,13 +669,13 @@ **Breaking changes** -* NavBar: 规范事件命名, 由 'clickLeft' 改为 'click-left' [\#354](https://github.com/youzan/vant/pull/354) [@chenjiahan](https://github.com/chenjiahan) +* NavBar: 规范事件命名, 由 'clickLeft' 改为 'click-left' [\#354](https://github.com/youzan/vant/pull/354) **Improvements** -* CellSwipe: 新增 onClose 属性,支持异步控制 [\#356](https://github.com/youzan/vant/pull/356) [@chenjiahan](https://github.com/chenjiahan) -* Uploader: 支持继承原生属性 [\#357](https://github.com/youzan/vant/pull/357) [@chenjiahan](https://github.com/chenjiahan) -* 优化本地构建速度 [\#355](https://github.com/youzan/vant/pull/355) [@chenjiahan](https://github.com/chenjiahan) +* CellSwipe: 新增 onClose 属性,支持异步控制 [\#356](https://github.com/youzan/vant/pull/356) +* Uploader: 支持继承原生属性 [\#357](https://github.com/youzan/vant/pull/357) +* 优化本地构建速度 [\#355](https://github.com/youzan/vant/pull/355) ### [0.11.2](https://github.com/youzan/vant/tree/v0.11.2) @@ -683,7 +683,7 @@ **Improvements** -* Icon: 增加 7 个新图标 [\#351](https://github.com/youzan/vant/pull/351) [@w91](https://github.com/w91) +* Icon: 增加 7 个新图标 [\#351](https://github.com/youzan/vant/pull/351) ### [0.11.1](https://github.com/youzan/vant/tree/v0.11.1) @@ -691,20 +691,20 @@ **Improvements** -* Actionsheet: 更新关闭按钮样式 [\#340](https://github.com/youzan/vant/pull/340) [@chenjiahan](https://github.com/chenjiahan) -* Popup: 新增 overlayClass、overlayStyle 属性 [\#349](https://github.com/youzan/vant/pull/349) [\#343](https://github.com/youzan/vant/pull/343) [@mickeyinfoshan](https://github.com/mickeyinfoshan) [@chenjiahan](https://github.com/chenjiahan) -* Icon: 调整 unicode,避免展示特殊字符 [\#330](https://github.com/youzan/vant/pull/330) [@chenjiahan](https://github.com/chenjiahan) -* ImagePreview: 支持手动关闭 [\#346](https://github.com/youzan/vant/pull/346) [@chenjiahan](https://github.com/chenjiahan) -* Tabbar: 支持通过 slot-scope 判断 active 状态 [\#347](https://github.com/youzan/vant/pull/347) [@chuangbo](https://github.com/chuangbo) -* SubmitBar: 新增左侧内容 slot [\#345](https://github.com/youzan/vant/pull/345) [@chenjiahan](https://github.com/chenjiahan) -* 优化组件 staticClass 渲染效率 [\#337](https://github.com/youzan/vant/pull/337) [@chenjiahan](https://github.com/chenjiahan) -* 优化文字截取相关样式 [\#334](https://github.com/youzan/vant/pull/334) [@chenjiahan](https://github.com/chenjiahan) -* 优化按钮 css layer 及 GPU 开销 [\#336](https://github.com/youzan/vant/pull/336) [@deepkolos](https://github.com/deepkolos) +* Actionsheet: 更新关闭按钮样式 [\#340](https://github.com/youzan/vant/pull/340) +* Popup: 新增 overlayClass、overlayStyle 属性 [\#349](https://github.com/youzan/vant/pull/349) [\#343](https://github.com/youzan/vant/pull/343) +* Icon: 调整 unicode,避免展示特殊字符 [\#330](https://github.com/youzan/vant/pull/330) +* ImagePreview: 支持手动关闭 [\#346](https://github.com/youzan/vant/pull/346) +* Tabbar: 支持通过 slot-scope 判断 active 状态 [\#347](https://github.com/youzan/vant/pull/347) +* SubmitBar: 新增左侧内容 slot [\#345](https://github.com/youzan/vant/pull/345) +* 优化组件 staticClass 渲染效率 [\#337](https://github.com/youzan/vant/pull/337) +* 优化文字截取相关样式 [\#334](https://github.com/youzan/vant/pull/334) +* 优化按钮 css layer 及 GPU 开销 [\#336](https://github.com/youzan/vant/pull/336) **Bug Fixes** -* 修复 SSR 过程中报错的问题 [\#344](https://github.com/youzan/vant/pull/344) [@chenjiahan](https://github.com/chenjiahan) -* 修复 DateTimePicker 接受非法参数时卡死的问题 [\#333](https://github.com/youzan/vant/pull/333) [@chenjiahan](https://github.com/chenjiahan) +* 修复 SSR 过程中报错的问题 [\#344](https://github.com/youzan/vant/pull/344) +* 修复 DateTimePicker 接受非法参数时卡死的问题 [\#333](https://github.com/youzan/vant/pull/333) ### [0.11.0](https://github.com/youzan/vant/tree/v0.11.0) @@ -712,15 +712,15 @@ **Breaking changes** -* 组件支持国际化 [\#310](https://github.com/youzan/vant/pull/310) [@chenjiahan](https://github.com/chenjiahan) -* 移除部分无用的 props 及有效性检测 [\#323](https://github.com/youzan/vant/pull/323) [@chenjiahan](https://github.com/chenjiahan) +* 组件支持国际化 [\#310](https://github.com/youzan/vant/pull/310) +* 移除部分无用的 props 及有效性检测 [\#323](https://github.com/youzan/vant/pull/323) **Improvements** -* 新增 Pagination 组件 [\#327](https://github.com/youzan/vant/pull/327) [\#328](https://github.com/youzan/vant/pull/328) [@zgrong](https://github.com/zgrong) [@chenjiahan](https://github.com/chenjiahan) -* 新增 Locale 组件 [\#310](https://github.com/youzan/vant/pull/310) [@chenjiahan](https://github.com/chenjiahan) -* 新增国际化文档 [\#321](https://github.com/youzan/vant/pull/321) [@chenjiahan](https://github.com/chenjiahan) -* Icon: add-o 图标更正为圆角 [\#326](https://github.com/youzan/vant/pull/326) [@cookfront](https://github.com/cookfront) +* 新增 Pagination 组件 [\#327](https://github.com/youzan/vant/pull/327) [\#328](https://github.com/youzan/vant/pull/328) +* 新增 Locale 组件 [\#310](https://github.com/youzan/vant/pull/310) +* 新增国际化文档 [\#321](https://github.com/youzan/vant/pull/321) +* Icon: add-o 图标更正为圆角 [\#326](https://github.com/youzan/vant/pull/326) ### [0.10.9](https://github.com/youzan/vant/tree/v0.10.9) @@ -728,11 +728,11 @@ **Improvements** -* Icon: 增加几个新 icons [\#315](https://github.com/youzan/vant/pull/315) [@cookfront](https://github.com/cookfront) +* Icon: 增加几个新 icons [\#315](https://github.com/youzan/vant/pull/315) **Bug Fixes** -* Search: 修复 box-sizing 错误 [\#312](https://github.com/youzan/vant/pull/312) [@chenjiahan](https://github.com/chenjiahan) +* Search: 修复 box-sizing 错误 [\#312](https://github.com/youzan/vant/pull/312) ### [0.10.8](https://github.com/youzan/vant/tree/v0.10.8) @@ -740,17 +740,17 @@ **Improvements** -* Tabbar: 支持 vue-router [\#305](https://github.com/youzan/vant/pull/305) [@chenjiahan](https://github.com/chenjiahan) -* Stepper: 新增 plus & minus 事件 [\#294](https://github.com/youzan/vant/pull/294) [@chenjiahan](https://github.com/chenjiahan) -* Progress: 新增 showPivot 属性 [\#300](https://github.com/youzan/vant/pull/300) [@chenjiahan](https://github.com/chenjiahan) -* Loading: 新增 spinner 类型 [\#297](https://github.com/youzan/vant/pull/297) [@chenjiahan](https://github.com/chenjiahan) -* Toast: 新增 mask 选项 [\#296](https://github.com/youzan/vant/pull/296) [@chenjiahan](https://github.com/chenjiahan) -* 新增 Tab 英文文档 [\#308](https://github.com/youzan/vant/pull/308) [@cookfront](https://github.com/cookfront) -* 新增 Toast 英文文档 [\#307](https://github.com/youzan/vant/pull/307) [@chenjiahan](https://github.com/chenjiahan) +* Tabbar: 支持 vue-router [\#305](https://github.com/youzan/vant/pull/305) +* Stepper: 新增 plus & minus 事件 [\#294](https://github.com/youzan/vant/pull/294) +* Progress: 新增 showPivot 属性 [\#300](https://github.com/youzan/vant/pull/300) +* Loading: 新增 spinner 类型 [\#297](https://github.com/youzan/vant/pull/297) +* Toast: 新增 mask 选项 [\#296](https://github.com/youzan/vant/pull/296) +* 新增 Tab 英文文档 [\#308](https://github.com/youzan/vant/pull/308) +* 新增 Toast 英文文档 [\#307](https://github.com/youzan/vant/pull/307) **Bug Fixes** -* 修复 npm run dist 在 windows 下报错的问题 [\#301](https://github.com/youzan/vant/pull/301) [@zlkiarest](https://github.com/lkiarest) +* 修复 npm run dist 在 windows 下报错的问题 [\#301](https://github.com/youzan/vant/pull/301) ### [0.10.7](https://github.com/youzan/vant/tree/v0.10.7) @@ -758,13 +758,13 @@ **Improvements** -* 修正了所有图标尺寸,保持大小统一 [\#292](https://github.com/youzan/vant/pull/292) [@chenjiahan](https://github.com/chenjiahan) -* ImagePreview 支持自定义初始位置 [\#286](https://github.com/youzan/vant/pull/286) [@chenjiahan](https://github.com/chenjiahan) +* 修正了所有图标尺寸,保持大小统一 [\#292](https://github.com/youzan/vant/pull/292) +* ImagePreview 支持自定义初始位置 [\#286](https://github.com/youzan/vant/pull/286) **Bug Fixes** -* 修复 Sku 滚动锁定问题 [\#291](https://github.com/youzan/vant/pull/291) [@w91](https://github.com/w91) -* 修复 Steps 超过四项时样式错误 [\#287](https://github.com/youzan/vant/pull/287) [@chenjiahan](https://github.com/chenjiahan) +* 修复 Sku 滚动锁定问题 [\#291](https://github.com/youzan/vant/pull/291) +* 修复 Steps 超过四项时样式错误 [\#287](https://github.com/youzan/vant/pull/287) ### [0.10.6](https://github.com/youzan/vant/tree/v0.10.6) @@ -772,13 +772,13 @@ **Improvements** -* 新增 Swipe initialSwipe 属性 [\#279](https://github.com/youzan/vant/pull/279) [@chenjiahan](https://github.com/chenjiahan) +* 新增 Swipe initialSwipe 属性 [\#279](https://github.com/youzan/vant/pull/279) **Bug Fixes** -* 修复 Dialog 按钮文字未重置的问题 [\#278](https://github.com/youzan/vant/pull/278) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Tab 动态生成问题 [\#284](https://github.com/youzan/vant/pull/284) [@cookfront](https://github.com/cookfront) -* 修复 NoticeBar 在页面返回时文字消失的问题 [\#280](https://github.com/youzan/vant/pull/280) [@chenjiahan](https://github.com/chenjiahan) +* 修复 Dialog 按钮文字未重置的问题 [\#278](https://github.com/youzan/vant/pull/278) +* 修复 Tab 动态生成问题 [\#284](https://github.com/youzan/vant/pull/284) +* 修复 NoticeBar 在页面返回时文字消失的问题 [\#280](https://github.com/youzan/vant/pull/280) ### [0.10.5](https://github.com/youzan/vant/tree/v0.10.5) @@ -786,12 +786,12 @@ **Improvements** -* Cell 支持 vue-router 路由跳转 [\#268](https://github.com/youzan/vant/pull/268) [@chenjiahan](https://github.com/chenjiahan) +* Cell 支持 vue-router 路由跳转 [\#268](https://github.com/youzan/vant/pull/268) **Bug Fixes** -* 修复 Tabbar 使用 icon slot 时 info prop 失效的问题 [\#269](https://github.com/youzan/vant/pull/269) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Uploader input 类型错误 [\#265](https://github.com/youzan/vant/pull/265) [@chenjiahan](https://github.com/chenjiahan) +* 修复 Tabbar 使用 icon slot 时 info prop 失效的问题 [\#269](https://github.com/youzan/vant/pull/269) +* 修复 Uploader input 类型错误 [\#265](https://github.com/youzan/vant/pull/265) ### [0.10.4](https://github.com/youzan/vant/tree/v0.10.4) @@ -799,16 +799,16 @@ **Improvements** -* 新增多个图标 [\#253](https://github.com/youzan/vant/pull/253) [@pangxie1991](https://github.com/pangxie1991) -* 新增定制主题文档 [\#251](https://github.com/youzan/vant/pull/251) [@chenjiahan](https://github.com/chenjiahan) -* 新增多个组件的按钮点击态提示 [\#248](https://github.com/youzan/vant/pull/248) [@chenjiahan](https://github.com/chenjiahan) -* NoticeBar:增加多个 props [\#254](https://github.com/youzan/vant/pull/254) [@chenjiahan](https://github.com/chenjiahan) +* 新增多个图标 [\#253](https://github.com/youzan/vant/pull/253) +* 新增定制主题文档 [\#251](https://github.com/youzan/vant/pull/251) +* 新增多个组件的按钮点击态提示 [\#248](https://github.com/youzan/vant/pull/248) +* NoticeBar:增加多个 props [\#254](https://github.com/youzan/vant/pull/254) **Bug Fixes** -* 修复 Swipe 在某些情况下宽度计算错误的问题 [\#258](https://github.com/youzan/vant/pull/258) [@chenjiahan](https://github.com/chenjiahan) -* 修复 PullRefreash 父元素可滚动时无法正常运行的问题 [\#247](https://github.com/youzan/vant/pull/247) [@GeoffZhu](https://github.com/GeoffZhu) -* 修复 CouponList 空列表样式一直存在的问题 [\#246](https://github.com/youzan/vant/pull/246) [@chenjiahan](https://github.com/chenjiahan) +* 修复 Swipe 在某些情况下宽度计算错误的问题 [\#258](https://github.com/youzan/vant/pull/258) +* 修复 PullRefreash 父元素可滚动时无法正常运行的问题 [\#247](https://github.com/youzan/vant/pull/247) +* 修复 CouponList 空列表样式一直存在的问题 [\#246](https://github.com/youzan/vant/pull/246) ### [0.10.3](https://github.com/youzan/vant/tree/v0.10.3) @@ -816,17 +816,17 @@ **Improvements** -* 新增 Tabbar info 属性 [\#245](https://github.com/youzan/vant/pull/245) [@chenjiahan](https://github.com/chenjiahan) -* 新增 Toast position 属性 [\#244](https://github.com/youzan/vant/pull/244) [@chenjiahan](https://github.com/chenjiahan) -* 新增 Coupon showExchangeBar 属性 [\#243](https://github.com/youzan/vant/pull/243) [@chenjiahan](https://github.com/chenjiahan) -* 新增高阶组件英文文档 [\#236](https://github.com/youzan/vant/pull/236) [@Tinysymphony](https://github.com/Tinysymphony) -* 新增示例页面文档 [\#237](https://github.com/youzan/vant/pull/237) [@chenjiahan](https://github.com/chenjiahan) +* 新增 Tabbar info 属性 [\#245](https://github.com/youzan/vant/pull/245) +* 新增 Toast position 属性 [\#244](https://github.com/youzan/vant/pull/244) +* 新增 Coupon showExchangeBar 属性 [\#243](https://github.com/youzan/vant/pull/243) +* 新增高阶组件英文文档 [\#236](https://github.com/youzan/vant/pull/236) +* 新增示例页面文档 [\#237](https://github.com/youzan/vant/pull/237) **Bug Fixes** -* 修复 Address & Contact 列表底部遮挡问题 [\#230](https://github.com/youzan/vant/pull/230) [@chenjiahan](https://github.com/chenjiahan) -* 修复 popup 被依赖时未自动引入样式的问题 [\#231](https://github.com/youzan/vant/pull/231) [@chenjiahan](https://github.com/chenjiahan) -* 修复 PullRefresh touchcancel 事件名拼写错误 [\#239](https://github.com/youzan/vant/pull/239) [@GeoffZhu](https://github.com/GeoffZhu) +* 修复 Address & Contact 列表底部遮挡问题 [\#230](https://github.com/youzan/vant/pull/230) +* 修复 popup 被依赖时未自动引入样式的问题 [\#231](https://github.com/youzan/vant/pull/231) +* 修复 PullRefresh touchcancel 事件名拼写错误 [\#239](https://github.com/youzan/vant/pull/239) ### [0.10.2](https://github.com/youzan/vant/tree/v0.10.2) @@ -834,12 +834,12 @@ **Improvements** -* Sku: sku-group slot 增加 event bus [\#226](https://github.com/youzan/vant/pull/226) [@w91](https://github.com/w91) -* 新增基础英文文档 [\#220](https://github.com/youzan/vant/pull/220) [@chenjiahan](https://github.com/chenjiahan) +* Sku: sku-group slot 增加 event bus [\#226](https://github.com/youzan/vant/pull/226) +* 新增基础英文文档 [\#220](https://github.com/youzan/vant/pull/220) **Bug Fixes** -* 修复组件间样式依赖分析遗漏的问题 [\#224](https://github.com/youzan/vant/pull/224) [@chenjiahan](https://github.com/chenjiahan) +* 修复组件间样式依赖分析遗漏的问题 [\#224](https://github.com/youzan/vant/pull/224) ### [0.10.1](https://github.com/youzan/vant/tree/v0.10.1) @@ -847,17 +847,17 @@ **Improvements** -* 升级 Vue 依赖至 2.5.0 版本 [@chenjiahan](https://github.com/chenjiahan) -* 新增 Tabs swipeThreshold 属性 [\#206](https://github.com/youzan/vant/pull/206) [@cookfront](https://github.com/cookfront) +* 升级 Vue 依赖至 2.5.0 版本 +* 新增 Tabs swipeThreshold 属性 [\#206](https://github.com/youzan/vant/pull/206) **Bug Fixes** -* 修复 Swipe 组件 destroyed 时未清除 autoplay timer 的问题 [\#218](https://github.com/youzan/vant/pull/218) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Tab 组件 slot text 文本换行问题 [\#217](https://github.com/youzan/vant/pull/217) [@cookfront](https://github.com/cookfront) -* 修复 TreeSelect 依赖路径错误 [\#216](https://github.com/youzan/vant/pull/216) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Checkbox 在微信浏览器下的边框渲染错误 [\#214](https://github.com/youzan/vant/pull/214) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Popup modal 层在某些情况下无法展示的问题 [\#211](https://github.com/youzan/vant/pull/211) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Waterfall 重复绑定事件的问题 [@chenjiahan](https://github.com/chenjiahan) +* 修复 Swipe 组件 destroyed 时未清除 autoplay timer 的问题 [\#218](https://github.com/youzan/vant/pull/218) +* 修复 Tab 组件 slot text 文本换行问题 [\#217](https://github.com/youzan/vant/pull/217) +* 修复 TreeSelect 依赖路径错误 [\#216](https://github.com/youzan/vant/pull/216) +* 修复 Checkbox 在微信浏览器下的边框渲染错误 [\#214](https://github.com/youzan/vant/pull/214) +* 修复 Popup modal 层在某些情况下无法展示的问题 [\#211](https://github.com/youzan/vant/pull/211) +* 修复 Waterfall 重复绑定事件的问题 ### [0.10.0](https://github.com/youzan/vant/tree/v0.10.0) @@ -865,20 +865,20 @@ **Breaking changes** -* 移除 vant-css 中对 reset.css 的默认引用 [\#192](https://github.com/youzan/vant/issues/192) [\#196](https://github.com/youzan/vant/pull/196) [@chenjiahan](https://github.com/chenjiahan) -* 重写 Swipe 组件,调整部分 API [#174](https://github.com/youzan/vant/issues/174) [#180](https://github.com/youzan/vant/issues/180) [\#194](https://github.com/youzan/vant/pull/194) [\#200](https://github.com/youzan/vant/pull/200) [@chenjiahan](https://github.com/chenjiahan) -* 优化 Search 组件,修改原有结构 [\#198](https://github.com/youzan/vant/pull/198) [@pangxie1991](https://github.com/pangxie1991) +* 移除 vant-css 中对 reset.css 的默认引用 [\#192](https://github.com/youzan/vant/issues/192) [\#196](https://github.com/youzan/vant/pull/196) +* 重写 Swipe 组件,调整部分 API [#174](https://github.com/youzan/vant/issues/174) [#180](https://github.com/youzan/vant/issues/180) [\#194](https://github.com/youzan/vant/pull/194) [\#200](https://github.com/youzan/vant/pull/200) +* 优化 Search 组件,修改原有结构 [\#198](https://github.com/youzan/vant/pull/198) **Improvements** -* 新增 Tabbar 组件 [#157](https://github.com/youzan/vant/issues/157) [\#204](https://github.com/youzan/vant/pull/204) [@chenjiahan](https://github.com/chenjiahan) -* 新增表单相关组件英文文档 [\#199](https://github.com/youzan/vant/pull/199) [@chenjiahan](https://github.com/chenjiahan) -* 优化 Sku 样式 [\#205](https://github.com/youzan/vant/pull/205) [@chenjiahan](https://github.com/chenjiahan) +* 新增 Tabbar 组件 [#157](https://github.com/youzan/vant/issues/157) [\#204](https://github.com/youzan/vant/pull/204) +* 新增表单相关组件英文文档 [\#199](https://github.com/youzan/vant/pull/199) +* 优化 Sku 样式 [\#205](https://github.com/youzan/vant/pull/205) **Bug Fixes** -* 修复 ImagePreview 图片加载过程中跳动的问题 [\#201](https://github.com/youzan/vant/pull/201) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Field 组件 type 为 textarea 且 display none 时高度计算错误的问题 [\#181](https://github.com/youzan/vant/issues/181) [@chenjiahan](https://github.com/chenjiahan) +* 修复 ImagePreview 图片加载过程中跳动的问题 [\#201](https://github.com/youzan/vant/pull/201) +* 修复 Field 组件 type 为 textarea 且 display none 时高度计算错误的问题 [\#181](https://github.com/youzan/vant/issues/181) ### [0.9.12](https://github.com/youzan/vant/tree/v0.9.12) @@ -886,7 +886,7 @@ **Bug Fixes** -* 修复 Search 样式问题 [\#191](https://github.com/youzan/vant/pull/191) ([pangxie1991](https://github.com/pangxie1991)) +* 修复 Search 样式问题 [\#191](https://github.com/youzan/vant/pull/191) ### [0.9.11](https://github.com/youzan/vant/tree/v0.9.11) @@ -894,13 +894,13 @@ **Improvements** -* 新增 Contribute 相关文档 [\#182](https://github.com/youzan/vant/pull/182) [@pangxie1991](https://github.com/pangxie1991) +* 新增 Contribute 相关文档 [\#182](https://github.com/youzan/vant/pull/182) **Bug Fixes** -* 修正 AddressEdit 组件姓名字段的键名为 name [\#187](https://github.com/youzan/vant/pull/187) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Field type 为 textarea 且 display none 时高度计算错误的问题 [\#188](https://github.com/youzan/vant/pull/188) [@chenjiahan](https://github.com/chenjiahan) -* 修复 windows 下项目编译失败的问题 [\#185](https://github.com/youzan/vant/pull/182) [@pangxie1991](https://github.com/pangxie1991) +* 修正 AddressEdit 组件姓名字段的键名为 name [\#187](https://github.com/youzan/vant/pull/187) +* 修复 Field type 为 textarea 且 display none 时高度计算错误的问题 [\#188](https://github.com/youzan/vant/pull/188) +* 修复 windows 下项目编译失败的问题 [\#185](https://github.com/youzan/vant/pull/182) ### [0.9.10](https://github.com/youzan/vant/tree/v0.9.10) @@ -908,23 +908,23 @@ **Improvements** -* 新增 Contact 组件 [\#160](https://github.com/youzan/vant/pull/160) [@chenjiahan](https://github.com/chenjiahan) -* 新增 AddressEdit 组件 [\#147](https://github.com/youzan/vant/pull/147) [@chenjiahan](https://github.com/chenjiahan) -* 新增英文文档支持 [\#170](https://github.com/youzan/vant/pull/170) [@pangxie1991](https://github.com/pangxie1991) -* 去除 zan-utils 依赖 [\#168](https://github.com/youzan/vant/pull/168) [@w91](https://github.com/w91) [@chenjiahan](https://github.com/chenjiahan) -* 去除 transition 中冗余的兼容代码 [\#162](https://github.com/youzan/vant/pull/162) [@chenjiahan](https://github.com/chenjiahan) -* 使用 clean-css 代替 gulp-cssmin [@chenjiahan](https://github.com/chenjiahan) +* 新增 Contact 组件 [\#160](https://github.com/youzan/vant/pull/160) +* 新增 AddressEdit 组件 [\#147](https://github.com/youzan/vant/pull/147) +* 新增英文文档支持 [\#170](https://github.com/youzan/vant/pull/170) +* 去除 zan-utils 依赖 [\#168](https://github.com/youzan/vant/pull/168) +* 去除 transition 中冗余的兼容代码 [\#162](https://github.com/youzan/vant/pull/162) +* 使用 clean-css 代替 gulp-cssmin **Bug Fixes** -* 修复 Tab props 修改后未同步至父组件的问题 [\#148](https://github.com/youzan/vant/pull/148) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Button active 状态下边框样式问题 [\#150](https://github.com/youzan/vant/issues/150) [@ZWkang](https://github.com/ZWkang) -* 修复 Stepper 组件输入框样式错误 [\#159](https://github.com/youzan/vant/pull/159) [@w91](https://github.com/w91) -* 修复 Waterfall 未显示时 disable 属性无法生效的问题 [\#166](https://github.com/youzan/vant/pull/166) [@pangxie1991](https://github.com/pangxie1991) -* 修复 vant-css 构建过程中未编译 calc 属性的问题 [@chenjiahan](https://github.com/chenjiahan) -* 修复 MacOS 下 npm run dev 报错的问题 [\#152](https://github.com/youzan/vant/issues/152) [@chenjiahan](https://github.com/chenjiahan) -* 修复文档在部分低版本浏览器路由失效的问题 [\#158](https://github.com/youzan/vant/pull/158) [@pangxie1991](https://github.com/pangxie1991) -* 修复文档中遗漏 SwipeItem 组件引入方式的问题 [\#167](https://github.com/youzan/vant/pull/167) [@OlafCheng](https://github.com/OlafCheng) +* 修复 Tab props 修改后未同步至父组件的问题 [\#148](https://github.com/youzan/vant/pull/148) +* 修复 Button active 状态下边框样式问题 [\#150](https://github.com/youzan/vant/issues/150) +* 修复 Stepper 组件输入框样式错误 [\#159](https://github.com/youzan/vant/pull/159) +* 修复 Waterfall 未显示时 disable 属性无法生效的问题 [\#166](https://github.com/youzan/vant/pull/166) +* 修复 vant-css 构建过程中未编译 calc 属性的问题 +* 修复 MacOS 下 npm run dev 报错的问题 [\#152](https://github.com/youzan/vant/issues/152) +* 修复文档在部分低版本浏览器路由失效的问题 [\#158](https://github.com/youzan/vant/pull/158) +* 修复文档中遗漏 SwipeItem 组件引入方式的问题 [\#167](https://github.com/youzan/vant/pull/167) ### [0.9.9](https://github.com/youzan/vant/tree/v0.9.9) @@ -932,12 +932,12 @@ **Improvements** -* Sku:支持禁用 Stepper [\#146](https://github.com/youzan/vant/pull/146) [@w91](https://github.com/w91) +* Sku:支持禁用 Stepper [\#146](https://github.com/youzan/vant/pull/146) **Bug Fixes** -* 修复 packages.json 中 license 标注错误 [\#144](https://github.com/youzan/vant/pull/144) [@airyland](https://github.com/airyland) -* 修复 Waterfall 滚动计算错误的问题 [\#145](https://github.com/youzan/vant/pull/145) [@pangxie1991](https://github.com/pangxie1991) +* 修复 packages.json 中 license 标注错误 [\#144](https://github.com/youzan/vant/pull/144) +* 修复 Waterfall 滚动计算错误的问题 [\#145](https://github.com/youzan/vant/pull/145) ### [0.9.8](https://github.com/youzan/vant/tree/v0.9.8) @@ -945,12 +945,12 @@ **Improvements** -* 新增 AddressList 组件 [\#138](https://github.com/youzan/vant/pull/138) [@chenjiahan](https://github.com/chenjiahan) -* 优化 changelog 结构 [\#140](https://github.com/youzan/vant/pull/140) [@chenjiahan](https://github.com/chenjiahan) +* 新增 AddressList 组件 [\#138](https://github.com/youzan/vant/pull/138) +* 优化 changelog 结构 [\#140](https://github.com/youzan/vant/pull/140) **Bug Fixes** -* 修复 Sku 留言渲染错误 [\#142](https://github.com/youzan/vant/pull/142) [@w91](https://github.com/w91) +* 修复 Sku 留言渲染错误 [\#142](https://github.com/youzan/vant/pull/142) ### [0.9.7](https://github.com/youzan/vant/tree/v0.9.7) @@ -958,7 +958,7 @@ **Improvements** -* Checkbox: 支持 shape 属性 [\#137](https://github.com/youzan/vant/pull/137) [@chenjiahan](https://github.com/chenjiahan) +* Checkbox: 支持 shape 属性 [\#137](https://github.com/youzan/vant/pull/137) ### [0.9.6](https://github.com/youzan/vant/tree/v0.9.6) @@ -966,13 +966,13 @@ **Improvements** -* Sku:移除大部分 Lodash 函数 [\#135](https://github.com/youzan/vant/pull/135) [@w91](https://github.com/w91) -* Icon:增加会员余额图标 [\#133](https://github.com/youzan/vant/pull/133) [@pangxie1991](https://github.com/pangxie1991) +* Sku:移除大部分 Lodash 函数 [\#135](https://github.com/youzan/vant/pull/135) +* Icon:增加会员余额图标 [\#133](https://github.com/youzan/vant/pull/133) **Bug Fixes** -* 修复 ImagePreview 滑动后无法展示图片的问题 [\#126](https://github.com/youzan/vant/issues/126) [@pangxie1991](https://github.com/pangxie1991) -* 修复 reset.css 编译失败的问题 [\#136](https://github.com/youzan/vant/pull/136) [@chenjiahan](https://github.com/chenjiahan) +* 修复 ImagePreview 滑动后无法展示图片的问题 [\#126](https://github.com/youzan/vant/issues/126) +* 修复 reset.css 编译失败的问题 [\#136](https://github.com/youzan/vant/pull/136) ### [0.9.4](https://github.com/youzan/vant/tree/v0.9.4) @@ -980,12 +980,12 @@ **Improvements** -* Icon: 增加已完成图标 [\#129](https://github.com/youzan/vant/pull/129) [@cookfront](https://github.com/cookfront) +* Icon: 增加已完成图标 [\#129](https://github.com/youzan/vant/pull/129) **Bug Fixes** -* 修复 Button 同时使用 disabled 和 bottomAction 属性时颜色错误的问题 [\#131](https://github.com/youzan/vant/pull/131) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Button 不可用状态下 acitive 背景色错误的问题 [\#132](https://github.com/youzan/vant/pull/132) [@chenjiahan](https://github.com/chenjiahan) +* 修复 Button 同时使用 disabled 和 bottomAction 属性时颜色错误的问题 [\#131](https://github.com/youzan/vant/pull/131) +* 修复 Button 不可用状态下 acitive 背景色错误的问题 [\#132](https://github.com/youzan/vant/pull/132) ### [0.9.3](https://github.com/youzan/vant/tree/v0.9.3) @@ -993,13 +993,13 @@ **Improvements** -* 新增 PasswordInput 组件 [\#124](https://github.com/youzan/vant/pull/124) [@chenjiahan](https://github.com/chenjiahan) -* 新增 NumberKeyboard 组件 [\#122](https://github.com/youzan/vant/pull/122) [@chenjiahan](https://github.com/chenjiahan) -* 新增文档底部 issue 入口 [\#127](https://github.com/youzan/vant/issues/127) [@chenjiahan](https://github.com/chenjiahan) +* 新增 PasswordInput 组件 [\#124](https://github.com/youzan/vant/pull/124) +* 新增 NumberKeyboard 组件 [\#122](https://github.com/youzan/vant/pull/122) +* 新增文档底部 issue 入口 [\#127](https://github.com/youzan/vant/issues/127) **Bug Fixes** -* 修复部分组件样式依赖 reset.css 的问题 [\#128](https://github.com/youzan/vant/pull/128) [@chenjiahan](https://github.com/chenjiahan) +* 修复部分组件样式依赖 reset.css 的问题 [\#128](https://github.com/youzan/vant/pull/128) ### [0.9.2](https://github.com/youzan/vant/tree/v0.9.2) @@ -1007,31 +1007,31 @@ **Breaking changes** -* 内置 van-hairline 类,用于添加 0.5px 边框 [\#110](https://github.com/youzan/vant/pull/110) [@chenjiahan](https://github.com/chenjiahan) -* Quantity:重命名为 Stepper [\#120](https://github.com/youzan/vant/pull/120) [@chenjiahan](https://github.com/chenjiahan) -* PayOrder 重命名为 SubmitBar [\#120](https://github.com/youzan/vant/pull/120) [@chenjiahan](https://github.com/chenjiahan) -* DeepSelect: 重命名为 TreeSelect [\#120](https://github.com/youzan/vant/pull/120) [@chenjiahan](https://github.com/chenjiahan) -* OrderCoupon: 拆分为 CouponList 和 CouponCell 组件 [\#120](https://github.com/youzan/vant/pull/120) [@chenjiahan](https://github.com/chenjiahan) +* 内置 van-hairline 类,用于添加 0.5px 边框 [\#110](https://github.com/youzan/vant/pull/110) +* Quantity:重命名为 Stepper [\#120](https://github.com/youzan/vant/pull/120) +* PayOrder 重命名为 SubmitBar [\#120](https://github.com/youzan/vant/pull/120) +* DeepSelect: 重命名为 TreeSelect [\#120](https://github.com/youzan/vant/pull/120) +* OrderCoupon: 拆分为 CouponList 和 CouponCell 组件 [\#120](https://github.com/youzan/vant/pull/120) **Bug Fixes** -* 修复 Tabs 动画过渡效果 [\#111](https://github.com/youzan/vant/pull/111) [@cookfront](https://github.com/cookfront) -* 修复 Swipe 页数为一时指示器未隐藏的问题 [\#106](https://github.com/youzan/vant/pull/106) [@Raistlin916](https://github.com/Raistlin916) -* 修复 Toast 背景色值错误的问题 [\#118](https://github.com/youzan/vant/pull/118) [@chenjiahan](https://github.com/chenjiahan) -* 修复自动引入组件样式时未引入内部依赖组件样式的问题 [\#115](https://github.com/youzan/vant/pull/115) [@chenjiahan](https://github.com/chenjiahan) +* 修复 Tabs 动画过渡效果 [\#111](https://github.com/youzan/vant/pull/111) +* 修复 Swipe 页数为一时指示器未隐藏的问题 [\#106](https://github.com/youzan/vant/pull/106) +* 修复 Toast 背景色值错误的问题 [\#118](https://github.com/youzan/vant/pull/118) +* 修复自动引入组件样式时未引入内部依赖组件样式的问题 [\#115](https://github.com/youzan/vant/pull/115) **Improvements** -* 新增 Sku 组件 [\#123](https://github.com/youzan/vant/pull/123) [@w91](https://github.com/w91) -* 新增 Area 组件 [\#113](https://github.com/youzan/vant/pull/113) [@cookfront](https://github.com/cookfront) -* 新增 NavBar 组件 [\#121](https://github.com/youzan/vant/pull/121) [@chenjiahan](https://github.com/chenjiahan) -* 新增 PullRefresh 组件 [\#117](https://github.com/youzan/vant/pull/117) [@chenjiahan](https://github.com/chenjiahan) -* 新增 OrderCoupon 组件 [\#108](https://github.com/youzan/vant/pull/108) [@chenjiahan](https://github.com/chenjiahan) -* 优化文档加载速度 [\#107](https://github.com/youzan/vant/pull/107) [@chenjiahan](https://github.com/chenjiahan) -* 优化 Popup 文档 [\#109](https://github.com/youzan/vant/pull/109) [@cookfront](https://github.com/cookfront) -* Card:支持 num 和 price 属性 [\#112](https://github.com/youzan/vant/pull/112) [@chenjiahan](https://github.com/chenjiahan) -* Toast: 支持 loading 和 text 属性同时使用,优化渲染性能 [\#114](https://github.com/youzan/vant/pull/114) [@chenjiahan](https://github.com/chenjiahan) -* Toast:布局方式改为 Flex 布局 [\#114](https://github.com/youzan/vant/pull/114) [@chenjiahan](https://github.com/chenjiahan) +* 新增 Sku 组件 [\#123](https://github.com/youzan/vant/pull/123) +* 新增 Area 组件 [\#113](https://github.com/youzan/vant/pull/113) +* 新增 NavBar 组件 [\#121](https://github.com/youzan/vant/pull/121) +* 新增 PullRefresh 组件 [\#117](https://github.com/youzan/vant/pull/117) +* 新增 OrderCoupon 组件 [\#108](https://github.com/youzan/vant/pull/108) +* 优化文档加载速度 [\#107](https://github.com/youzan/vant/pull/107) +* 优化 Popup 文档 [\#109](https://github.com/youzan/vant/pull/109) +* Card:支持 num 和 price 属性 [\#112](https://github.com/youzan/vant/pull/112) +* Toast: 支持 loading 和 text 属性同时使用,优化渲染性能 [\#114](https://github.com/youzan/vant/pull/114) +* Toast:布局方式改为 Flex 布局 [\#114](https://github.com/youzan/vant/pull/114) ### [0.8.8](https://github.com/youzan/vant/tree/v0.8.8) @@ -1039,16 +1039,16 @@ **Improvements** -* 新增 DeepSelect 组件 [\#103](https://github.com/youzan/vant/pull/103) [@Tinysymphony](https://github.com/Tinysymphony) -* 新增 GoodsAction 组件 [\#102](https://github.com/youzan/vant/pull/102) [@chenjiahan](https://github.com/chenjiahan) -* 新增 OrderGoods 组件 [\#99](https://github.com/youzan/vant/pull/99) [@chenjiahan](https://github.com/chenjiahan) -* 新增 PayOrder 组件 [\#98](https://github.com/youzan/vant/pull/98) [@chenjiahan](https://github.com/chenjiahan) -* 优化 Step、Loading、Tag、Badge 文档 [\#101](https://github.com/youzan/vant/pull/101) [@chenjiahan](https://github.com/chenjiahan) -* Checkbox: 支持 change 事件 [\#104](https://github.com/youzan/vant/pull/104) [@chenjiahan](https://github.com/chenjiahan) +* 新增 DeepSelect 组件 [\#103](https://github.com/youzan/vant/pull/103) +* 新增 GoodsAction 组件 [\#102](https://github.com/youzan/vant/pull/102) +* 新增 OrderGoods 组件 [\#99](https://github.com/youzan/vant/pull/99) +* 新增 PayOrder 组件 [\#98](https://github.com/youzan/vant/pull/98) +* 优化 Step、Loading、Tag、Badge 文档 [\#101](https://github.com/youzan/vant/pull/101) +* Checkbox: 支持 change 事件 [\#104](https://github.com/youzan/vant/pull/104) **Bug Fixes** -* 修复 make init 命令报错的问题 [\#97](https://github.com/youzan/vant/pull/97) [@pangxie1991](https://github.com/pangxie1991) +* 修复 make init 命令报错的问题 [\#97](https://github.com/youzan/vant/pull/97) ### [0.8.7](https://github.com/youzan/vant/tree/v0.8.7) @@ -1056,11 +1056,11 @@ **Improvements** -* 新增 NoticeBar 组件 [\#94](https://github.com/youzan/vant/pull/94) [@chenjiahan](https://github.com/chenjiahan) -* 新增 CellSwitch 组件 [\#95](https://github.com/youzan/vant/pull/95) [@chenjiahan](https://github.com/chenjiahan) -* Dialog: 支持通过组件的方式进行调用 [\#93](https://github.com/youzan/vant/pull/93) [@chenjiahan](https://github.com/chenjiahan) -* Progress: 简化 DOM 结构 [\#90](https://github.com/youzan/vant/pull/90) [@chenjiahan](https://github.com/chenjiahan) -* CellSwipe: 性能优化,补充单元测试 [\#91](https://github.com/youzan/vant/pull/91) [@chenjiahan](https://github.com/chenjiahan) +* 新增 NoticeBar 组件 [\#94](https://github.com/youzan/vant/pull/94) +* 新增 CellSwitch 组件 [\#95](https://github.com/youzan/vant/pull/95) +* Dialog: 支持通过组件的方式进行调用 [\#93](https://github.com/youzan/vant/pull/93) +* Progress: 简化 DOM 结构 [\#90](https://github.com/youzan/vant/pull/90) +* CellSwipe: 性能优化,补充单元测试 [\#91](https://github.com/youzan/vant/pull/91) ### [0.8.6](https://github.com/youzan/vant/tree/v0.8.6) @@ -1068,14 +1068,14 @@ **Improvements** -* 去除对 merge 和 class 操作方法的依赖 [\#88](https://github.com/youzan/vant/pull/88) [@chenjiahan](https://github.com/chenjiahan) -* 目录结构简化,去除 index.js 文件 [\#87](https://github.com/youzan/vant/pull/87) [@chenjiahan](https://github.com/chenjiahan) -* Button: 精简部分样式 [\#86](https://github.com/youzan/vant/pull/86) [@chenjiahan](https://github.com/chenjiahan) -* Layout: 文档优化 [\#85](https://github.com/youzan/vant/pull/85) [@chenjiahan](https://github.com/chenjiahan) +* 去除对 merge 和 class 操作方法的依赖 [\#88](https://github.com/youzan/vant/pull/88) +* 目录结构简化,去除 index.js 文件 [\#87](https://github.com/youzan/vant/pull/87) +* Button: 精简部分样式 [\#86](https://github.com/youzan/vant/pull/86) +* Layout: 文档优化 [\#85](https://github.com/youzan/vant/pull/85) **Bug Fixes** -* 修复 DatetimePicker 初始值错误的问题 [\#89](https://github.com/youzan/vant/pull/89) [@w91](https://github.com/w91) +* 修复 DatetimePicker 初始值错误的问题 [\#89](https://github.com/youzan/vant/pull/89) ### [0.8.5](https://github.com/youzan/vant/tree/v0.8.5) @@ -1083,19 +1083,19 @@ **Breaking changes** -* 优化单个组件构建方式, 减少文件体积 [\#74](https://github.com/youzan/vant/pull/74) [@chenjiahan](https://github.com/chenjiahan) +* 优化单个组件构建方式, 减少文件体积 [\#74](https://github.com/youzan/vant/pull/74) **Improvements** -* 新增文档组件使用指南 [\#83](https://github.com/youzan/vant/pull/83) [@chenjiahan](https://github.com/chenjiahan) -* 新增文档加载动效 [\#83](https://github.com/youzan/vant/pull/83) [@chenjiahan](https://github.com/chenjiahan) -* Field:新增 icon slot [\#76](https://github.com/youzan/vant/pull/76) [@pangxie1991](https://github.com/pangxie1991) +* 新增文档组件使用指南 [\#83](https://github.com/youzan/vant/pull/83) +* 新增文档加载动效 [\#83](https://github.com/youzan/vant/pull/83) +* Field:新增 icon slot [\#76](https://github.com/youzan/vant/pull/76) **Bug Fixes** -* 修复 Popup 默认开启 preventScroll 导致无法局部滚动的问题 [\#84](https://github.com/youzan/vant/pull/84) [@chenjiahan](https://github.com/chenjiahan) -* 修复 Field autosize 高度错误的问题 [\#78](https://github.com/youzan/vant/pull/78) [@pangxie1991](https://github.com/pangxie1991) -* 修复 Dialog z-index 错误的问题 [\#77](https://github.com/youzan/vant/pull/77) [@chenjiahan](https://github.com/chenjiahan) +* 修复 Popup 默认开启 preventScroll 导致无法局部滚动的问题 [\#84](https://github.com/youzan/vant/pull/84) +* 修复 Field autosize 高度错误的问题 [\#78](https://github.com/youzan/vant/pull/78) +* 修复 Dialog z-index 错误的问题 [\#77](https://github.com/youzan/vant/pull/77) ### [0.7.8](https://github.com/youzan/vant/tree/v0.7.8) @@ -1103,15 +1103,15 @@ **Improvements** -* 新增 README 英文文档 [\#66](https://github.com/youzan/vant/pull/66) [@cookfront](https://github.com/cookfront) -* 新增 babel-plugin-import 使用教程 [\#71](https://github.com/youzan/vant/pull/71) [@chenjiahan](https://github.com/chenjiahan) -* 新增多个 Icon 类型 [\#69](https://github.com/youzan/vant/pull/69) [@cookfront](https://github.com/cookfront) +* 新增 README 英文文档 [\#66](https://github.com/youzan/vant/pull/66) +* 新增 babel-plugin-import 使用教程 [\#71](https://github.com/youzan/vant/pull/71) +* 新增多个 Icon 类型 [\#69](https://github.com/youzan/vant/pull/69) **Bug Fixes** -* 修复 Swipe 组件报错的问题 [\#70](https://github.com/youzan/vant/pull/70) [@Raistlin916](https://github.com/Raistlin916) -* 修复 DatetimePicker cancel 事件无法触发的问题 [\#45](https://github.com/youzan/vant/issues/45) [@chenjiahan](https://github.com/chenjiahan) -* 修复 utils 编译时未转成 ES5 的问题 [\#67](https://github.com/youzan/vant/pull/67) [@pangxie1991](https://github.com/pangxie1991) +* 修复 Swipe 组件报错的问题 [\#70](https://github.com/youzan/vant/pull/70) +* 修复 DatetimePicker cancel 事件无法触发的问题 [\#45](https://github.com/youzan/vant/issues/45) +* 修复 utils 编译时未转成 ES5 的问题 [\#67](https://github.com/youzan/vant/pull/67) ### [0.7.2](https://github.com/youzan/vant/tree/v0.7.2) @@ -1119,18 +1119,18 @@ **Breaking changes** -* 文档站点样式改版 [\#55](https://github.com/youzan/vant/pull/55) [@chenjiahan](https://github.com/chenjiahan) -* 支持 babel-plugin-import [\#62](https://github.com/youzan/vant/pull/62) [@chenjiahan](https://github.com/chenjiahan) +* 文档站点样式改版 [\#55](https://github.com/youzan/vant/pull/55) +* 支持 babel-plugin-import [\#62](https://github.com/youzan/vant/pull/62) **Bug Fixes** -* 修复 Popup 多层级 modal 未插入到正确的位置的问题 [\#63](https://github.com/youzan/vant/pull/63) [@cookfront](https://github.com/cookfront) -* 修复 Tabs 组件为空报错的问题 [\#61](https://github.com/youzan/vant/pull/61) [@cookfront](https://github.com/cookfront) +* 修复 Popup 多层级 modal 未插入到正确的位置的问题 [\#63](https://github.com/youzan/vant/pull/63) +* 修复 Tabs 组件为空报错的问题 [\#61](https://github.com/youzan/vant/pull/61) **Improvements** -* Switch:增加过渡动画效果 [\#59](https://github.com/youzan/vant/pull/59) [@BosenY](https://github.com/BosenY) -* Card:支持 centered 属性 [\#54](https://github.com/youzan/vant/pull/54) [@chenjiahan](https://github.com/chenjiahan) +* Switch:增加过渡动画效果 [\#59](https://github.com/youzan/vant/pull/59) [BosenY](https://github.com/BosenY) +* Card:支持 centered 属性 [\#54](https://github.com/youzan/vant/pull/54) ### [0.6.6](https://github.com/youzan/vant/tree/v0.6.6) @@ -1138,10 +1138,10 @@ **Improvements** -* Tabs:支持滑动 [\#52](https://github.com/youzan/vant/pull/52) [@cookfront](https://github.com/cookfront) -* Steps:新增 direction 和 activeColor 属性,支持竖向展示 [\#49](https://github.com/youzan/vant/pull/49) [@cookfront](https://github.com/cookfront) -* Card:支持 thumb slot [\#48](https://github.com/youzan/vant/pull/48) [@chenjiahan](https://github.com/chenjiahan) -* Field:支持 blur 事件,新增 icon slot [\#53](https://github.com/youzan/vant/pull/53) [@pangxie1991](https://github.com/pangxie1991) +* Tabs:支持滑动 [\#52](https://github.com/youzan/vant/pull/52) +* Steps:新增 direction 和 activeColor 属性,支持竖向展示 [\#49](https://github.com/youzan/vant/pull/49) +* Card:支持 thumb slot [\#48](https://github.com/youzan/vant/pull/48) +* Field:支持 blur 事件,新增 icon slot [\#53](https://github.com/youzan/vant/pull/53) ### [0.6.2](https://github.com/youzan/vant/tree/v0.6.2) @@ -1149,12 +1149,12 @@ **Improvements** -* Field 组件:支持 time 类型 [\#43](https://github.com/youzan/vant/pull/43) [@cookfront](https://github.com/cookfront) +* Field 组件:支持 time 类型 [\#43](https://github.com/youzan/vant/pull/43) **Bug Fixes** -* 修复 Toast 样式问题 [\#42](https://github.com/youzan/vant/pull/42) [@cookfront](https://github.com/cookfront) -* 修复人民币符号在 iOS 下显示问题 [\#44](https://github.com/youzan/vant/pull/44) [@w91](https://github.com/w91) +* 修复 Toast 样式问题 [\#42](https://github.com/youzan/vant/pull/42) +* 修复人民币符号在 iOS 下显示问题 [\#44](https://github.com/youzan/vant/pull/44) ### [0.6.0](https://github.com/youzan/vant/tree/v0.6.0) @@ -1162,10 +1162,10 @@ **Improvements** -* 支持 SSR [\#40](https://github.com/youzan/vant/pull/40) [@cookfront](https://github.com/cookfront) -* 新增多个 Icon 类型 [\#40](https://github.com/youzan/vant/pull/40) [@cookfront](https://github.com/cookfront) -* 新增 CellSwipe 组件 [\#39](https://github.com/youzan/vant/pull/39) [@tsxuehu](https://github.com/tsxuehu) -* 新增 Search 组件微杂志样式 [\#38](https://github.com/youzan/vant/pull/38) [@cookfront](https://github.com/cookfront) +* 支持 SSR [\#40](https://github.com/youzan/vant/pull/40) +* 新增多个 Icon 类型 [\#40](https://github.com/youzan/vant/pull/40) +* 新增 CellSwipe 组件 [\#39](https://github.com/youzan/vant/pull/39) +* 新增 Search 组件微杂志样式 [\#38](https://github.com/youzan/vant/pull/38) ### [0.5.8](https://github.com/youzan/vant/tree/v0.5.8) @@ -1173,14 +1173,14 @@ **Improvements** -* 新增多个 Icon 类型 [\#29](https://github.com/youzan/vant/pull/29) [@cookfront](https://github.com/cookfront) -* 新增打包后的 amd 模块名称 [\#28](https://github.com/youzan/vant/pull/28) [@pangxie1991](https://github.com/pangxie1991) -* 移除 postcss-reset 插件 [\#35](https://github.com/youzan/vant/pull/35) [@cookfront](https://github.com/cookfront) -* Picker:支持 title 属性 [\#30](https://github.com/youzan/vant/pull/30) [@pangxie1991](https://github.com/pangxie1991) +* 新增多个 Icon 类型 [\#29](https://github.com/youzan/vant/pull/29) +* 新增打包后的 amd 模块名称 [\#28](https://github.com/youzan/vant/pull/28) +* 移除 postcss-reset 插件 [\#35](https://github.com/youzan/vant/pull/35) +* Picker:支持 title 属性 [\#30](https://github.com/youzan/vant/pull/30) **Bug Fixes** -* 修复长按图片后隐藏的问题 [\#32](https://github.com/youzan/vant/pull/32) [@w91](https://github.com/w91) +* 修复长按图片后隐藏的问题 [\#32](https://github.com/youzan/vant/pull/32) ### [0.5.4](https://github.com/youzan/vant/tree/v0.5.4) @@ -1188,14 +1188,14 @@ **Bug Fixes** -* 修复 Cell 同时设置 title 和 label 时 value 不居中的问题 [\#26](https://github.com/youzan/vant/pull/26) [@cookfront](https://github.com/cookfront) -* 修复 Popup zIndex 类型错误 [\#24](https://github.com/youzan/vant/pull/24) [@cookfront](https://github.com/cookfront) -* 修复 Picker 状态更新错误 [\#23](https://github.com/youzan/vant/pull/23) [@cookfront](https://github.com/cookfront) +* 修复 Cell 同时设置 title 和 label 时 value 不居中的问题 [\#26](https://github.com/youzan/vant/pull/26) +* 修复 Popup zIndex 类型错误 [\#24](https://github.com/youzan/vant/pull/24) +* 修复 Picker 状态更新错误 [\#23](https://github.com/youzan/vant/pull/23) **Improvements** -* 新增 reset.css [\#27](https://github.com/youzan/vant/pull/27) [@cookfront](https://github.com/cookfront) -* Cell: 新增 right-icon slot [\#27](https://github.com/youzan/vant/pull/27) [@cookfront](https://github.com/cookfront) +* 新增 reset.css [\#27](https://github.com/youzan/vant/pull/27) +* Cell: 新增 right-icon slot [\#27](https://github.com/youzan/vant/pull/27) ### [0.5.2](https://github.com/youzan/vant/tree/v0.5.2) @@ -1203,12 +1203,12 @@ **Improvements** -* 新增 Picker 组件测试用例 [\#20](https://github.com/youzan/vant/pull/20) [@cookfront](https://github.com/cookfront) -* 新增 Col & Row 组件测试用例 [\#16](https://github.com/youzan/vant/pull/16) [@w91](https://github.com/w91) -* 新增 Uploader 单元测试 [\#9](https://github.com/youzan/vant/pull/9) [@tsxuehu](https://github.com/tsxuehu) +* 新增 Picker 组件测试用例 [\#20](https://github.com/youzan/vant/pull/20) +* 新增 Col & Row 组件测试用例 [\#16](https://github.com/youzan/vant/pull/16) +* 新增 Uploader 单元测试 [\#9](https://github.com/youzan/vant/pull/9) **Bug Fixes** -* 修复 Webpack 打包错误 [\#21](https://github.com/youzan/vant/pull/21) [@cookfront](https://github.com/cookfront) -* 修复 Toast 关闭时未移除 Dom 节点的问题 [\#19](https://github.com/youzan/vant/pull/19) [@cookfront](https://github.com/cookfront) -* 修复组件样式问题 [\#5](https://github.com/youzan/vant/pull/5) [@cookfront](https://github.com/cookfront) +* 修复 Webpack 打包错误 [\#21](https://github.com/youzan/vant/pull/21) +* 修复 Toast 关闭时未移除 Dom 节点的问题 [\#19](https://github.com/youzan/vant/pull/19) +* 修复组件样式问题 [\#5](https://github.com/youzan/vant/pull/5) diff --git a/docs/markdown/intro.zh-CN.md b/docs/markdown/intro.zh-CN.md index 4160ef76b..bb4bfd8cf 100644 --- a/docs/markdown/intro.zh-CN.md +++ b/docs/markdown/intro.zh-CN.md @@ -16,17 +16,17 @@ ### 快速上手 -请参考 [快速上手](#/zh-CN/quickstart). +请参考 [快速上手](#/zh-CN/quickstart) ### 贡献代码 -修改代码请阅读我们的 [开发指南](https://github.com/youzan/vant/blob/dev/.github/CONTRIBUTING.zh-CN.md)。 +修改代码请阅读我们的 [开发指南](https://github.com/youzan/vant/blob/dev/.github/CONTRIBUTING.zh-CN.md) -使用过程中发现任何问题都可以提 [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 6+. +现代浏览器以及 Android 4.0+, iOS 6+ ### 链接 @@ -40,4 +40,4 @@ ### 开源协议 -本项目基于 [MIT](https://zh.wikipedia.org/wiki/MIT%E8%A8%B1%E5%8F%AF%E8%AD%89) 协议,请自由地享受和参与开源。 +本项目基于 [MIT](https://zh.wikipedia.org/wiki/MIT%E8%A8%B1%E5%8F%AF%E8%AD%89) 协议,请自由地享受和参与开源 diff --git a/docs/markdown/quickstart.en-US.md b/docs/markdown/quickstart.en-US.md index 9d42dd01b..0f1cdcea5 100644 --- a/docs/markdown/quickstart.en-US.md +++ b/docs/markdown/quickstart.en-US.md @@ -1,14 +1,42 @@ ## Quickstart +### Starter kit + +Use [vue-cli](https://github.com/vuejs/vue-cli) to create a vant project. + +```shell +vue init youzan/vue-cli-template-vant projectName +``` + ### Install +#### NPM + ```shell npm i vant -S ``` +#### YARN + +```shell +yarn add vant +``` + +#### CDN + +```html + + + + + + +``` + ### Usage #### 1. Use [babel-plugin-import](https://github.com/ant-design/babel-plugin-import) (Recommended) + ```bash # Install babel-plugin-import npm i babel-plugin-import -D @@ -43,7 +71,6 @@ import 'vant/lib/vant-css/button.css'; ``` #### 3. Import all components -If you configured babel-plugin-import, you won't be allowed to import all components. ```js import Vue from 'vue'; @@ -53,24 +80,28 @@ import 'vant/lib/vant-css/index.css'; Vue.use(Vant); ``` -### CDN +> If you configured babel-plugin-import, you won't be allowed to import all components. -```html - - - - -``` +### Rem units -### vue-cli template - -```shell -vue init youzan/vue-cli-template-vant projectName -``` - -### rem units Vant use `px` as size units by default,you can use tools such as `postcss-pxtorem` to transform units to `rem`. - [postcss-pxtorem](https://github.com/cuth/postcss-pxtorem) - [lib-flexible](https://github.com/amfe/lib-flexible) + +postcss config example: + +```js +module.exports = { + plugins: { + 'autoprefixer': { + browsers: ['Android >= 4.0', 'iOS >= 7'] + } + 'postcss-pxtorem': { + rootValue: 37.5, + propList: ['*'] + } + } +} +``` \ No newline at end of file diff --git a/docs/markdown/quickstart.zh-CN.md b/docs/markdown/quickstart.zh-CN.md index ece9fb576..f1cb29457 100644 --- a/docs/markdown/quickstart.zh-CN.md +++ b/docs/markdown/quickstart.zh-CN.md @@ -1,14 +1,46 @@ ## 快速上手 +### 脚手架 + +我们提供了开箱即用的开发脚手架,通过 [vue-cli](https://github.com/vuejs/vue-cli) 即可快速创建一个基于 `Vant` 的项目。 + +```shell +vue init youzan/vue-cli-template-vant my-project +``` + ### 安装 +#### NPM + ```shell npm i vant -S ``` +#### YARN + +```shell +yarn add vant +``` + +#### CDN + +访问下面的文件 URL,会自动重定向至最新版本的 CDN 链接,建议使用固定版本的 CDN 链接,避免升级时受到非兼容性更新的影响。 + +```html + + + + + + +``` + ### 引入组件 #### 方式一. 使用 [babel-plugin-import](https://github.com/ant-design/babel-plugin-import) (推荐) + +`babel-plugin-import` 是一款 babel 插件,它会在编译过程中将 import 的写法自动转换为按需引入的方式 + ```bash # 安装 babel-plugin-import 插件 npm i babel-plugin-import -D @@ -16,7 +48,7 @@ npm i babel-plugin-import -D ```js // 在 .babelrc 或 babel-loader 中添加插件配置 -// 注意:webpack 1 无需设置 libraryDirectory。 +// 注意:webpack 1 无需设置 libraryDirectory { "plugins": [ ["import", { @@ -28,14 +60,16 @@ npm i babel-plugin-import -D } ``` -接着你可以在代码中直接引入 Vant 组件,插件会自动将代码转化为方式二中的按需引入形式。 +接着你可以在代码中直接引入 Vant 组件,插件会自动将代码转化为方式二中的按需引入形式 ```js -import { Button } from 'vant'; +import { Button, Cell } from 'vant'; ``` #### 方式二. 按需引入组件 +在不使用插件的情况下,可以手动引入需要的组件 + ```js import Button from 'vant/lib/button'; import 'vant/lib/vant-css/base.css'; @@ -43,7 +77,6 @@ import 'vant/lib/vant-css/button.css'; ``` #### 方式三. 导入所有组件 -配置 babel-plugin-import 插件后将不允许导入所有组件的方式 ```js import Vue from 'vue'; @@ -53,25 +86,30 @@ import 'vant/lib/vant-css/index.css'; Vue.use(Vant); ``` -### CDN +>注意:配置 babel-plugin-import 插件后将不允许导入所有组件 -```html - - - - -``` +### Rem 适配 -### vue-cli 模板 -可以使用`vue-cli`来初始化`Vant`的通用模板: +Vant 中的样式默认使用`px`作为单位,如果需要使用`rem`单位,推荐使用以下两个工具 -```shell -vue init youzan/vue-cli-template-vant projectName -``` - -### rem 适配 -Vant 中的组件样式默认使用`px`作为单位,如果需要使用`rem`作为单位,推荐使用以下两个工具 - -- [postcss-pxtorem](https://github.com/cuth/postcss-pxtorem) 用于将单位转化为 rem +- [postcss-pxtorem](https://github.com/cuth/postcss-pxtorem) 是一款 postcss 插件,用于将单位转化为 rem - [lib-flexible](https://github.com/amfe/lib-flexible) 用于设置 rem 基准值 + +下面提供了一份基本的 postcss 配置,可以在此配置的基础上根据项目需求进行修改 + +```js +module.exports = { + plugins: { + 'autoprefixer': { + browsers: ['Android >= 4.0', 'iOS >= 7'] + } + 'postcss-pxtorem': { + rootValue: 37.5, + propList: ['*'] + } + } +} +``` + +> 注意:在配置 postcss-loader 时,应避免 ignore node_modules 目录,这会导致 Vant 的样式无法被编译 diff --git a/docs/src/DocsApp.vue b/docs/src/DocsApp.vue index e5619a3a9..d9565960e 100644 --- a/docs/src/DocsApp.vue +++ b/docs/src/DocsApp.vue @@ -58,7 +58,7 @@ export default { } h2 { - font-size: 32px; + font-size: 36px; line-height: 60px; font-weight: normal; } diff --git a/docs/src/doc.config.js b/docs/src/doc.config.js index 73498f39a..bdaec271a 100644 --- a/docs/src/doc.config.js +++ b/docs/src/doc.config.js @@ -89,10 +89,6 @@ module.exports = { path: '/icon', title: 'Icon - 图标' }, - { - path: '/image-preview', - title: 'ImagePreview - 图片预览' - }, { path: '/lazyload', title: 'Lazyload - 图片懒加载' @@ -168,7 +164,7 @@ module.exports = { ] }, { - groupName: '表单', + groupName: '表单组件', list: [ { path: '/checkbox', @@ -240,6 +236,10 @@ module.exports = { path: '/cell-swipe', title: 'CellSwipe - 滑动单元格' }, + { + path: '/image-preview', + title: 'ImagePreview - 图片预览' + }, { path: '/switch-cell', title: 'SwitchCell - 开关单元格' @@ -384,10 +384,6 @@ module.exports = { path: '/icon', title: 'Icon' }, - { - path: '/image-preview', - title: 'ImagePreview' - }, { path: '/lazyload', title: 'Lazyload' @@ -535,6 +531,10 @@ module.exports = { path: '/cell-swipe', title: 'CellSwipe' }, + { + path: '/image-preview', + title: 'ImagePreview' + }, { path: '/switch-cell', title: 'SwitchCell' diff --git a/package.json b/package.json index d9ebf65aa..0bd265420 100644 --- a/package.json +++ b/package.json @@ -57,10 +57,10 @@ "devDependencies": { "@vue/server-test-utils": "^1.0.0-beta.16", "@vue/test-utils": "^1.0.0-beta.16", - "autoprefixer": "^8.5.0", + "autoprefixer": "^8.5.1", "babel-cli": "^6.26.0", "babel-core": "^6.26.3", - "babel-jest": "^23.0.0", + "babel-jest": "^23.0.1", "babel-loader": "^7.1.4", "babel-plugin-transform-runtime": "^6.15.0", "babel-preset-env": "^1.7.0", @@ -75,7 +75,7 @@ "gh-pages": "^1.0.0", "html-webpack-plugin": "3.2.0", "husky": "^0.14.3", - "jest": "^23.0.0", + "jest": "^23.0.1", "jest-serializer-vue": "^1.0.0", "lint-staged": "^7.1.2", "postcss": "^6.0.22", @@ -90,16 +90,16 @@ "style-loader": "^0.21.0", "uppercamelcase": "^3.0.0", "url-loader": "^1.0.1", - "vant-doc": "1.0.4", + "vant-doc": "1.0.6", "vue": "2.5.16", "vue-jest": "^2.6.0", - "vue-loader": "^15.2.0", + "vue-loader": "^15.2.2", "vue-router": "^3.0.1", "vue-server-renderer": "^2.5.16", "vue-sfc-compiler": "^0.0.8", "vue-template-compiler": "2.5.16", "vue-template-es2015-compiler": "^1.6.0", - "webpack": "^4.8.3", + "webpack": "^4.10.0", "webpack-cli": "^2.1.4", "webpack-serve": "^1.0.2" }, diff --git a/yarn.lock b/yarn.lock index 5342889bc..217400256 100644 --- a/yarn.lock +++ b/yarn.lock @@ -87,120 +87,131 @@ dependencies: lodash "^4.17.4" -"@webassemblyjs/ast@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.4.3.tgz#3b3f6fced944d8660273347533e6d4d315b5934a" +"@webassemblyjs/ast@1.5.8": + version "1.5.8" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.5.8.tgz#f75ac7e7602b7833abd5d53951baae8a07ebb5df" dependencies: - "@webassemblyjs/helper-wasm-bytecode" "1.4.3" - "@webassemblyjs/wast-parser" "1.4.3" + "@webassemblyjs/helper-module-context" "1.5.8" + "@webassemblyjs/helper-wasm-bytecode" "1.5.8" + "@webassemblyjs/wast-parser" "1.5.8" debug "^3.1.0" - webassemblyjs "1.4.3" + mamacro "^0.0.3" -"@webassemblyjs/floating-point-hex-parser@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.4.3.tgz#f5aee4c376a717c74264d7bacada981e7e44faad" +"@webassemblyjs/floating-point-hex-parser@1.5.8": + version "1.5.8" + resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.5.8.tgz#e0604d34fab0c910e16113720a5a3c01f558fa54" -"@webassemblyjs/helper-buffer@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.4.3.tgz#0434b55958519bf503697d3824857b1dea80b729" +"@webassemblyjs/helper-api-error@1.5.8": + version "1.5.8" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.5.8.tgz#f5570aff60090fae1b78a690a95d04cb021da9ca" + +"@webassemblyjs/helper-buffer@1.5.8": + version "1.5.8" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.5.8.tgz#b1405e819a2c537964682fb70551796ab9602632" dependencies: debug "^3.1.0" -"@webassemblyjs/helper-code-frame@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.4.3.tgz#f1349ca3e01a8e29ee2098c770773ef97af43641" +"@webassemblyjs/helper-code-frame@1.5.8": + version "1.5.8" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.5.8.tgz#6439de475720198a48fa8b4c38e41987798f73cc" dependencies: - "@webassemblyjs/wast-printer" "1.4.3" + "@webassemblyjs/wast-printer" "1.5.8" -"@webassemblyjs/helper-fsm@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.4.3.tgz#65a921db48fb43e868f17b27497870bdcae22b79" +"@webassemblyjs/helper-fsm@1.5.8": + version "1.5.8" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.5.8.tgz#6169af3c9530cf9e89a8f3cf2970ed70e650ae4f" -"@webassemblyjs/helper-wasm-bytecode@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.4.3.tgz#0e5b4b5418e33f8a26e940b7809862828c3721a5" +"@webassemblyjs/helper-module-context@1.5.8": + version "1.5.8" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.5.8.tgz#73d0de45cebb774d465b5a66fef061f834d6c23c" -"@webassemblyjs/helper-wasm-section@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.4.3.tgz#9ceedd53a3f152c3412e072887ade668d0b1acbf" +"@webassemblyjs/helper-wasm-bytecode@1.5.8": + version "1.5.8" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.5.8.tgz#60df17f72d12b07e1398756e6ebfe59c03ab2e1a" + +"@webassemblyjs/helper-wasm-section@1.5.8": + version "1.5.8" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.5.8.tgz#cda7fdb6f3b7b0d215c8f92b7435d47726822f49" dependencies: - "@webassemblyjs/ast" "1.4.3" - "@webassemblyjs/helper-buffer" "1.4.3" - "@webassemblyjs/helper-wasm-bytecode" "1.4.3" - "@webassemblyjs/wasm-gen" "1.4.3" + "@webassemblyjs/ast" "1.5.8" + "@webassemblyjs/helper-buffer" "1.5.8" + "@webassemblyjs/helper-wasm-bytecode" "1.5.8" + "@webassemblyjs/wasm-gen" "1.5.8" debug "^3.1.0" -"@webassemblyjs/leb128@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.4.3.tgz#5a5e5949dbb5adfe3ae95664d0439927ac557fb8" +"@webassemblyjs/ieee754@1.5.8": + version "1.5.8" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.5.8.tgz#29383c7172e90121613d5614d532f22c19255c3b" + dependencies: + ieee754 "^1.1.11" + +"@webassemblyjs/leb128@1.5.8": + version "1.5.8" + resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.5.8.tgz#657c48ef2537ea2921e897a50157be700bf24eac" dependencies: leb "^0.3.0" -"@webassemblyjs/validation@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/validation/-/validation-1.4.3.tgz#9e66c9b3079d7bbcf2070c1bf52a54af2a09aac9" +"@webassemblyjs/wasm-edit@1.5.8": + version "1.5.8" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.5.8.tgz#592d3678894eaa2ee7e7c2c6a13c2a697db1aa7e" dependencies: - "@webassemblyjs/ast" "1.4.3" - -"@webassemblyjs/wasm-edit@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.4.3.tgz#87febd565e0ffb5ae25f6495bb3958d17aa0a779" - dependencies: - "@webassemblyjs/ast" "1.4.3" - "@webassemblyjs/helper-buffer" "1.4.3" - "@webassemblyjs/helper-wasm-bytecode" "1.4.3" - "@webassemblyjs/helper-wasm-section" "1.4.3" - "@webassemblyjs/wasm-gen" "1.4.3" - "@webassemblyjs/wasm-opt" "1.4.3" - "@webassemblyjs/wasm-parser" "1.4.3" - "@webassemblyjs/wast-printer" "1.4.3" + "@webassemblyjs/ast" "1.5.8" + "@webassemblyjs/helper-buffer" "1.5.8" + "@webassemblyjs/helper-wasm-bytecode" "1.5.8" + "@webassemblyjs/helper-wasm-section" "1.5.8" + "@webassemblyjs/wasm-gen" "1.5.8" + "@webassemblyjs/wasm-opt" "1.5.8" + "@webassemblyjs/wasm-parser" "1.5.8" + "@webassemblyjs/wast-printer" "1.5.8" debug "^3.1.0" -"@webassemblyjs/wasm-gen@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.4.3.tgz#8553164d0154a6be8f74d653d7ab355f73240aa4" +"@webassemblyjs/wasm-gen@1.5.8": + version "1.5.8" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.5.8.tgz#e94e034a45227aaa7c481b25c1aa9a0a00ab9488" dependencies: - "@webassemblyjs/ast" "1.4.3" - "@webassemblyjs/helper-wasm-bytecode" "1.4.3" - "@webassemblyjs/leb128" "1.4.3" + "@webassemblyjs/ast" "1.5.8" + "@webassemblyjs/helper-wasm-bytecode" "1.5.8" + "@webassemblyjs/ieee754" "1.5.8" + "@webassemblyjs/leb128" "1.5.8" -"@webassemblyjs/wasm-opt@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.4.3.tgz#26c7a23bfb136aa405b1d3410e63408ec60894b8" +"@webassemblyjs/wasm-opt@1.5.8": + version "1.5.8" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.5.8.tgz#a3a0d00d98dee0f3cf2ae41084eb62715a39242c" dependencies: - "@webassemblyjs/ast" "1.4.3" - "@webassemblyjs/helper-buffer" "1.4.3" - "@webassemblyjs/wasm-gen" "1.4.3" - "@webassemblyjs/wasm-parser" "1.4.3" + "@webassemblyjs/ast" "1.5.8" + "@webassemblyjs/helper-buffer" "1.5.8" + "@webassemblyjs/wasm-gen" "1.5.8" + "@webassemblyjs/wasm-parser" "1.5.8" debug "^3.1.0" -"@webassemblyjs/wasm-parser@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.4.3.tgz#7ddd3e408f8542647ed612019cfb780830993698" +"@webassemblyjs/wasm-parser@1.5.8": + version "1.5.8" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.5.8.tgz#a258a7fd15bd57597e4211d9068639807546555b" dependencies: - "@webassemblyjs/ast" "1.4.3" - "@webassemblyjs/helper-wasm-bytecode" "1.4.3" - "@webassemblyjs/leb128" "1.4.3" - "@webassemblyjs/wasm-parser" "1.4.3" - webassemblyjs "1.4.3" + "@webassemblyjs/ast" "1.5.8" + "@webassemblyjs/helper-api-error" "1.5.8" + "@webassemblyjs/helper-wasm-bytecode" "1.5.8" + "@webassemblyjs/leb128" "1.5.8" + "@webassemblyjs/wasm-parser" "1.5.8" -"@webassemblyjs/wast-parser@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.4.3.tgz#3250402e2c5ed53dbe2233c9de1fe1f9f0d51745" +"@webassemblyjs/wast-parser@1.5.8": + version "1.5.8" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-parser/-/wast-parser-1.5.8.tgz#85705659e15d19b89af38a8d6803d720bb0493cf" dependencies: - "@webassemblyjs/ast" "1.4.3" - "@webassemblyjs/floating-point-hex-parser" "1.4.3" - "@webassemblyjs/helper-code-frame" "1.4.3" - "@webassemblyjs/helper-fsm" "1.4.3" + "@webassemblyjs/ast" "1.5.8" + "@webassemblyjs/floating-point-hex-parser" "1.5.8" + "@webassemblyjs/helper-api-error" "1.5.8" + "@webassemblyjs/helper-code-frame" "1.5.8" + "@webassemblyjs/helper-fsm" "1.5.8" long "^3.2.0" - webassemblyjs "1.4.3" + mamacro "^0.0.3" -"@webassemblyjs/wast-printer@1.4.3": - version "1.4.3" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.4.3.tgz#3d59aa8d0252d6814a3ef4e6d2a34c9ded3904e0" +"@webassemblyjs/wast-printer@1.5.8": + version "1.5.8" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.5.8.tgz#0f83aa67eddf377dd1d6205d4a4ac976db60e1f6" dependencies: - "@webassemblyjs/ast" "1.4.3" - "@webassemblyjs/wast-parser" "1.4.3" + "@webassemblyjs/ast" "1.5.8" + "@webassemblyjs/wast-parser" "1.5.8" long "^3.2.0" "@webpack-contrib/config-loader@^1.1.1": @@ -540,12 +551,12 @@ autoprefixer@^6.3.1: postcss "^5.2.16" postcss-value-parser "^3.2.3" -autoprefixer@^8.5.0: - version "8.5.0" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-8.5.0.tgz#89a39b1316fbe7bc2b4997a0c7dad0149d99511c" +autoprefixer@^8.5.1: + version "8.5.1" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-8.5.1.tgz#45b0271b0e634af66613d5a4f99d96f3dcd94474" dependencies: - browserslist "^3.2.7" - caniuse-lite "^1.0.30000839" + browserslist "^3.2.8" + caniuse-lite "^1.0.30000846" normalize-range "^0.1.2" num2fraction "^1.2.2" postcss "^6.0.22" @@ -791,12 +802,12 @@ babel-helpers@^6.24.1: babel-runtime "^6.22.0" babel-template "^6.24.1" -babel-jest@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-23.0.0.tgz#0e383a2aa6b3535e197db2929570a2182bd084e8" +babel-jest@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-23.0.1.tgz#bbad3bf523fb202da05ed0a6540b48c84eed13a6" dependencies: babel-plugin-istanbul "^4.1.6" - babel-preset-jest "^23.0.0" + babel-preset-jest "^23.0.1" babel-loader@^7.1.4: version "7.1.4" @@ -827,9 +838,9 @@ babel-plugin-istanbul@^4.1.6: istanbul-lib-instrument "^1.10.1" test-exclude "^4.2.1" -babel-plugin-jest-hoist@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-23.0.0.tgz#e61e68799f743391a1e6306ee270477aacf946c8" +babel-plugin-jest-hoist@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-23.0.1.tgz#eaa11c964563aea9c21becef2bdf7853f7f3c148" babel-plugin-syntax-async-functions@^6.8.0: version "6.13.0" @@ -1237,11 +1248,11 @@ babel-preset-es2015@^6.9.0: babel-plugin-transform-es2015-unicode-regex "^6.24.1" babel-plugin-transform-regenerator "^6.24.1" -babel-preset-jest@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-23.0.0.tgz#49de0303f1b6875dcad6163eaa7eb8330d54824d" +babel-preset-jest@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-23.0.1.tgz#631cc545c6cf021943013bcaf22f45d87fe62198" dependencies: - babel-plugin-jest-hoist "^23.0.0" + babel-plugin-jest-hoist "^23.0.1" babel-plugin-syntax-object-rest-spread "^6.13.0" babel-preset-stage-0@^6.24.1: @@ -1541,12 +1552,12 @@ browserslist@^3.2.6: caniuse-lite "^1.0.30000830" electron-to-chromium "^1.3.42" -browserslist@^3.2.7: - version "3.2.7" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-3.2.7.tgz#aa488634d320b55e88bab0256184dbbcca1e6de9" +browserslist@^3.2.8: + version "3.2.8" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-3.2.8.tgz#b0005361d6471f0f5952797a76fc985f1f978fc6" dependencies: - caniuse-lite "^1.0.30000835" - electron-to-chromium "^1.3.45" + caniuse-lite "^1.0.30000844" + electron-to-chromium "^1.3.47" bser@^2.0.0: version "2.0.0" @@ -1684,9 +1695,9 @@ caniuse-lite@^1.0.30000830: version "1.0.30000830" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000830.tgz#cb96b8a2dd3cbfe04acea2af3c4e894249095328" -caniuse-lite@^1.0.30000835, caniuse-lite@^1.0.30000839: - version "1.0.30000840" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000840.tgz#344513f8f843536cf99694964c09811277eee395" +caniuse-lite@^1.0.30000844, caniuse-lite@^1.0.30000846: + version "1.0.30000846" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000846.tgz#2092911eecad71a89dae1faa62bcc202fde7f959" capture-stack-trace@^1.0.0: version "1.0.0" @@ -2798,9 +2809,9 @@ electron-to-chromium@^1.3.42: version "1.3.45" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.45.tgz#458ac1b1c5c760ce8811a16d2bfbd97ec30bafb8" -electron-to-chromium@^1.3.45: - version "1.3.46" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.46.tgz#00e85e22275415a887505e4ab49737194f18b9b0" +electron-to-chromium@^1.3.47: + version "1.3.48" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.48.tgz#d3b0d8593814044e092ece2108fc3ac9aea4b900" elegant-spinner@^1.0.1: version "1.0.1" @@ -3137,14 +3148,14 @@ expect@^22.4.3: jest-message-util "^22.4.3" jest-regex-util "^22.4.3" -expect@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/expect/-/expect-23.0.0.tgz#2c3ab0a44dae319e00a73e3561762768d03a2b27" +expect@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/expect/-/expect-23.0.1.tgz#99131f2fd9115595f8cc3697401e7f0734d45fef" dependencies: ansi-styles "^3.2.0" - jest-diff "^23.0.0" + jest-diff "^23.0.1" jest-get-type "^22.1.0" - jest-matcher-utils "^23.0.0" + jest-matcher-utils "^23.0.1" jest-message-util "^23.0.0" jest-regex-util "^23.0.0" @@ -4015,7 +4026,7 @@ icss-utils@^2.1.0: dependencies: postcss "^6.0.1" -ieee754@^1.1.4: +ieee754@^1.1.11, ieee754@^1.1.4: version "1.1.11" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.11.tgz#c16384ffe00f5b7835824e67b6f2bd44a5229455" @@ -4563,15 +4574,15 @@ isurl@^1.0.0-alpha5: has-to-string-tag-x "^1.2.0" is-object "^1.0.1" -jest-changed-files@^22.2.0: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-22.4.3.tgz#8882181e022c38bd46a2e4d18d44d19d90a90fb2" +jest-changed-files@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-23.0.1.tgz#f79572d0720844ea5df84c2a448e862c2254f60c" dependencies: throat "^4.0.0" -jest-cli@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-23.0.0.tgz#29287498c9d844dcda5aaf011a4c82f9a888836e" +jest-cli@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-23.0.1.tgz#351a5ba51cf28ecf20336d97a30b970d1f530a56" dependencies: ansi-escapes "^3.0.0" chalk "^2.0.1" @@ -4584,20 +4595,20 @@ jest-cli@^23.0.0: istanbul-lib-coverage "^1.2.0" istanbul-lib-instrument "^1.10.1" istanbul-lib-source-maps "^1.2.4" - jest-changed-files "^22.2.0" - jest-config "^23.0.0" - jest-environment-jsdom "^23.0.0" + jest-changed-files "^23.0.1" + jest-config "^23.0.1" + jest-environment-jsdom "^23.0.1" jest-get-type "^22.1.0" - jest-haste-map "^23.0.0" + jest-haste-map "^23.0.1" jest-message-util "^23.0.0" jest-regex-util "^23.0.0" - jest-resolve-dependencies "^23.0.0" - jest-runner "^23.0.0" - jest-runtime "^23.0.0" - jest-snapshot "^23.0.0" - jest-util "^23.0.0" - jest-validate "^23.0.0" - jest-worker "^23.0.0" + jest-resolve-dependencies "^23.0.1" + jest-runner "^23.0.1" + jest-runtime "^23.0.1" + jest-snapshot "^23.0.1" + jest-util "^23.0.1" + jest-validate "^23.0.1" + jest-worker "^23.0.1" micromatch "^2.3.11" node-notifier "^5.2.1" realpath-native "^1.0.0" @@ -4624,23 +4635,23 @@ jest-config@^22.4.3: jest-validate "^22.4.3" pretty-format "^22.4.3" -jest-config@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-23.0.0.tgz#9444d858873ad567376f8cfe139fd8828e8d494b" +jest-config@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-23.0.1.tgz#6798bff1247c7a390b1327193305001582fc58fa" dependencies: babel-core "^6.0.0" - babel-jest "^23.0.0" + babel-jest "^23.0.1" chalk "^2.0.1" glob "^7.1.1" - jest-environment-jsdom "^23.0.0" - jest-environment-node "^23.0.0" + jest-environment-jsdom "^23.0.1" + jest-environment-node "^23.0.1" jest-get-type "^22.1.0" - jest-jasmine2 "^23.0.0" + jest-jasmine2 "^23.0.1" jest-regex-util "^23.0.0" - jest-resolve "^23.0.0" - jest-util "^23.0.0" - jest-validate "^23.0.0" - pretty-format "^23.0.0" + jest-resolve "^23.0.1" + jest-util "^23.0.1" + jest-validate "^23.0.1" + pretty-format "^23.0.1" jest-diff@^22.4.3: version "22.4.3" @@ -4651,21 +4662,28 @@ jest-diff@^22.4.3: jest-get-type "^22.4.3" pretty-format "^22.4.3" -jest-diff@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-23.0.0.tgz#0a00b2157f518eec338121ccf8879c529269a88e" +jest-diff@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-23.0.1.tgz#3d49137cee12c320a4b4d2b4a6fa6e82d491a16a" dependencies: chalk "^2.0.1" diff "^3.2.0" jest-get-type "^22.1.0" - pretty-format "^23.0.0" + pretty-format "^23.0.1" -jest-docblock@^22.4.0: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-22.4.3.tgz#50886f132b42b280c903c592373bb6e93bb68b19" +jest-docblock@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-23.0.1.tgz#deddd18333be5dc2415260a04ef3fce9276b5725" dependencies: detect-newline "^2.1.0" +jest-each@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-23.0.1.tgz#a6e5dbf530afc6bf9d74792dde69d8db70f84706" + dependencies: + chalk "^2.0.1" + pretty-format "^23.0.1" + jest-environment-jsdom@^22.4.3: version "22.4.3" resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-22.4.3.tgz#d67daa4155e33516aecdd35afd82d4abf0fa8a1e" @@ -4674,12 +4692,12 @@ jest-environment-jsdom@^22.4.3: jest-util "^22.4.3" jsdom "^11.5.1" -jest-environment-jsdom@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-23.0.0.tgz#57b0f0dd263359a86d7952a4b712b3fabca1a625" +jest-environment-jsdom@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-23.0.1.tgz#da689eb9358dc16e5708abb208f4eb26a439575c" dependencies: - jest-mock "^23.0.0" - jest-util "^23.0.0" + jest-mock "^23.0.1" + jest-util "^23.0.1" jsdom "^11.5.1" jest-environment-node@^22.4.3: @@ -4689,26 +4707,26 @@ jest-environment-node@^22.4.3: jest-mock "^22.4.3" jest-util "^22.4.3" -jest-environment-node@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-23.0.0.tgz#ef93a414a612484cf585c8b32ccc5ae30ce6095c" +jest-environment-node@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-23.0.1.tgz#676b740e205f1f2be77241969e7812be824ee795" dependencies: - jest-mock "^23.0.0" - jest-util "^23.0.0" + jest-mock "^23.0.1" + jest-util "^23.0.1" jest-get-type@^22.1.0, jest-get-type@^22.4.3: version "22.4.3" resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-22.4.3.tgz#e3a8504d8479342dd4420236b322869f18900ce4" -jest-haste-map@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-23.0.0.tgz#09be1c9a37c16b2e2f25398864eb2806d309ca96" +jest-haste-map@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-23.0.1.tgz#cd89052abfc8cba01f560bbec09d4f36aec25d4f" dependencies: fb-watchman "^2.0.0" graceful-fs "^4.1.11" - jest-docblock "^22.4.0" - jest-serializer "^23.0.0" - jest-worker "^23.0.0" + jest-docblock "^23.0.1" + jest-serializer "^23.0.1" + jest-worker "^23.0.1" micromatch "^2.3.11" sane "^2.0.0" @@ -4728,26 +4746,27 @@ jest-jasmine2@^22.4.3: jest-util "^22.4.3" source-map-support "^0.5.0" -jest-jasmine2@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-23.0.0.tgz#ea26f87b5c223e1a70985032f0727d8f855e59df" +jest-jasmine2@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-23.0.1.tgz#16d875356e6360872bba48426f7d31fdc1b0bcea" dependencies: chalk "^2.0.1" co "^4.6.0" - expect "^23.0.0" + expect "^23.0.1" is-generator-fn "^1.0.0" - jest-diff "^23.0.0" - jest-matcher-utils "^23.0.0" + jest-diff "^23.0.1" + jest-each "^23.0.1" + jest-matcher-utils "^23.0.1" jest-message-util "^23.0.0" - jest-snapshot "^23.0.0" - jest-util "^23.0.0" - pretty-format "^23.0.0" + jest-snapshot "^23.0.1" + jest-util "^23.0.1" + pretty-format "^23.0.1" -jest-leak-detector@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-23.0.0.tgz#ec93d755b21e8b2c4c4e59b8cccab1805a704ab3" +jest-leak-detector@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-23.0.1.tgz#9dba07505ac3495c39d3ec09ac1e564599e861a0" dependencies: - pretty-format "^23.0.0" + pretty-format "^23.0.1" jest-matcher-utils@^22.4.3: version "22.4.3" @@ -4757,13 +4776,13 @@ jest-matcher-utils@^22.4.3: jest-get-type "^22.4.3" pretty-format "^22.4.3" -jest-matcher-utils@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-23.0.0.tgz#ca2168fe5a7a416c0d7f2916e969e89dcce9d92a" +jest-matcher-utils@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-23.0.1.tgz#0c6c0daedf9833c2a7f36236069efecb4c3f6e5f" dependencies: chalk "^2.0.1" jest-get-type "^22.1.0" - pretty-format "^23.0.0" + pretty-format "^23.0.1" jest-message-util@^22.4.3: version "22.4.3" @@ -4789,9 +4808,9 @@ jest-mock@^22.4.3: version "22.4.3" resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-22.4.3.tgz#f63ba2f07a1511772cdc7979733397df770aabc7" -jest-mock@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-23.0.0.tgz#d9d897a1b74dc05c66a737213931496215897dd8" +jest-mock@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-23.0.1.tgz#1569f477968c668fc728273a17c3767773b46357" jest-regex-util@^22.4.3: version "22.4.3" @@ -4801,12 +4820,12 @@ jest-regex-util@^23.0.0: version "23.0.0" resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-23.0.0.tgz#dd5c1fde0c46f4371314cf10f7a751a23f4e8f76" -jest-resolve-dependencies@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-23.0.0.tgz#c3e1cfee0e543dee10e6ec0628df69cd239244c9" +jest-resolve-dependencies@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-23.0.1.tgz#d01a10ddad9152c4cecdf5eac2b88571c4b6a64d" dependencies: jest-regex-util "^23.0.0" - jest-snapshot "^23.0.0" + jest-snapshot "^23.0.1" jest-resolve@^22.4.3: version "22.4.3" @@ -4815,51 +4834,51 @@ jest-resolve@^22.4.3: browser-resolve "^1.11.2" chalk "^2.0.1" -jest-resolve@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-23.0.0.tgz#f04362fd0531b4546399df76c55c3214a9f45e02" +jest-resolve@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-23.0.1.tgz#3f8403462b10a34c2df1d47aab5574c4935bcd24" dependencies: browser-resolve "^1.11.2" chalk "^2.0.1" realpath-native "^1.0.0" -jest-runner@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-23.0.0.tgz#b198a2dd78d57a2c0f3f8d7c7f97b62673922020" +jest-runner@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-23.0.1.tgz#b176ae3ecf9e194aa4b84a7fcf70d1b8db231aa7" dependencies: exit "^0.1.2" graceful-fs "^4.1.11" - jest-config "^23.0.0" - jest-docblock "^22.4.0" - jest-haste-map "^23.0.0" - jest-jasmine2 "^23.0.0" - jest-leak-detector "^23.0.0" + jest-config "^23.0.1" + jest-docblock "^23.0.1" + jest-haste-map "^23.0.1" + jest-jasmine2 "^23.0.1" + jest-leak-detector "^23.0.1" jest-message-util "^23.0.0" - jest-runtime "^23.0.0" - jest-util "^23.0.0" - jest-worker "^23.0.0" + jest-runtime "^23.0.1" + jest-util "^23.0.1" + jest-worker "^23.0.1" source-map-support "^0.5.6" throat "^4.0.0" -jest-runtime@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-23.0.0.tgz#8619227fe2e01603d542b9101dd3e64ef4593f66" +jest-runtime@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-23.0.1.tgz#b1d765fb03fb6d4043805af270676a693f504d57" dependencies: babel-core "^6.0.0" babel-plugin-istanbul "^4.1.6" chalk "^2.0.1" convert-source-map "^1.4.0" exit "^0.1.2" + fast-json-stable-stringify "^2.0.0" graceful-fs "^4.1.11" - jest-config "^23.0.0" - jest-haste-map "^23.0.0" + jest-config "^23.0.1" + jest-haste-map "^23.0.1" jest-message-util "^23.0.0" jest-regex-util "^23.0.0" - jest-resolve "^23.0.0" - jest-snapshot "^23.0.0" - jest-util "^23.0.0" - jest-validate "^23.0.0" - json-stable-stringify "^1.0.1" + jest-resolve "^23.0.1" + jest-snapshot "^23.0.1" + jest-util "^23.0.1" + jest-validate "^23.0.1" micromatch "^2.3.11" realpath-native "^1.0.0" slash "^1.0.0" @@ -4873,9 +4892,9 @@ jest-serializer-vue@^1.0.0: dependencies: pretty "2.0.0" -jest-serializer@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-23.0.0.tgz#263411ac92e1e3dde243858642bb04e8a986e8ca" +jest-serializer@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-23.0.1.tgz#a3776aeb311e90fe83fab9e533e85102bd164165" jest-snapshot@^22.4.3: version "22.4.3" @@ -4888,16 +4907,16 @@ jest-snapshot@^22.4.3: natural-compare "^1.4.0" pretty-format "^22.4.3" -jest-snapshot@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-23.0.0.tgz#49cdb92a69b9999dbf92e0634d5ba1e8a8586803" +jest-snapshot@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-23.0.1.tgz#6674fa19b9eb69a99cabecd415bddc42d6af3e7e" dependencies: chalk "^2.0.1" - jest-diff "^23.0.0" - jest-matcher-utils "^23.0.0" + jest-diff "^23.0.1" + jest-matcher-utils "^23.0.1" mkdirp "^0.5.1" natural-compare "^1.4.0" - pretty-format "^23.0.0" + pretty-format "^23.0.1" jest-util@^22.4.3: version "22.4.3" @@ -4911,9 +4930,9 @@ jest-util@^22.4.3: mkdirp "^0.5.1" source-map "^0.6.0" -jest-util@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-23.0.0.tgz#86386800ffbe3fe17a06320e0cf9ca9b7868263b" +jest-util@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-23.0.1.tgz#68ea5bd7edb177d3059f9797259f8e0dacce2f99" dependencies: callsites "^2.0.0" chalk "^2.0.1" @@ -4933,27 +4952,27 @@ jest-validate@^22.4.0, jest-validate@^22.4.3: leven "^2.1.0" pretty-format "^22.4.3" -jest-validate@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-23.0.0.tgz#f88bc897b6cc376979aff0262d1025df1302d520" +jest-validate@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-23.0.1.tgz#cd9f01a89d26bb885f12a8667715e9c865a5754f" dependencies: chalk "^2.0.1" jest-get-type "^22.1.0" leven "^2.1.0" - pretty-format "^23.0.0" + pretty-format "^23.0.1" -jest-worker@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-23.0.0.tgz#e6b1378b81f8e6a108f3be33a1faa830c22ea450" +jest-worker@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-23.0.1.tgz#9e649dd963ff4046026f91c4017f039a6aa4a7bc" dependencies: merge-stream "^1.0.1" -jest@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/jest/-/jest-23.0.0.tgz#9282980309f5cde27aadc59ae583f1117c0e4430" +jest@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/jest/-/jest-23.0.1.tgz#0d083290ee4112cecfb780df6ff81332ed373201" dependencies: import-local "^1.0.0" - jest-cli "^23.0.0" + jest-cli "^23.0.1" js-base64@^2.1.9: version "2.4.3" @@ -5073,7 +5092,7 @@ json-buffer@3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898" -json-parse-better-errors@^1.0.1: +json-parse-better-errors@^1.0.1, json-parse-better-errors@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" @@ -5089,12 +5108,6 @@ json-stable-stringify-without-jsonify@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" -json-stable-stringify@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af" - dependencies: - jsonify "~0.0.0" - json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" @@ -5109,10 +5122,6 @@ jsonfile@^4.0.0: optionalDependencies: graceful-fs "^4.1.6" -jsonify@~0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" - jsprim@^1.2.2: version "1.4.1" resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" @@ -5560,6 +5569,10 @@ makeerror@1.0.x: dependencies: tmpl "1.0.x" +mamacro@^0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/mamacro/-/mamacro-0.0.3.tgz#ad2c9576197c9f1abf308d0787865bd975a3f3e4" + map-cache@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" @@ -7105,9 +7118,9 @@ pretty-format@^22.4.3: ansi-regex "^3.0.0" ansi-styles "^3.2.0" -pretty-format@^23.0.0: - version "23.0.0" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-23.0.0.tgz#b66dc584a0907b1969783c4c20e4d1180b18ac75" +pretty-format@^23.0.1: + version "23.0.1" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-23.0.1.tgz#d61d065268e4c759083bccbca27a01ad7c7601f4" dependencies: ansi-regex "^3.0.0" ansi-styles "^3.2.0" @@ -8770,9 +8783,9 @@ validate-npm-package-license@^3.0.1: spdx-correct "^3.0.0" spdx-expression-parse "^3.0.0" -vant-doc@1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/vant-doc/-/vant-doc-1.0.4.tgz#518182a4f0cb52b90e430474d4b4432d95306d31" +vant-doc@1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/vant-doc/-/vant-doc-1.0.6.tgz#419f21d2384dcbf41fea1c2dfdd1fd4d453931ba" dependencies: cheerio "0.22.0" decamelize "^1.2.0" @@ -8868,9 +8881,9 @@ vue-lazyload@^1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/vue-lazyload/-/vue-lazyload-1.2.3.tgz#901f9ec15c7e6ca78781a2bae4a343686bdedb2c" -vue-loader@^15.2.0: - version "15.2.0" - resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-15.2.0.tgz#5a8138e490a1040942d2f10ae68fa72b5a923364" +vue-loader@^15.2.2: + version "15.2.2" + resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-15.2.2.tgz#d845fef2eca64e91042e66315119536e17f1538d" dependencies: "@vue/component-compiler-utils" "^1.2.1" hash-sum "^1.0.2" @@ -8950,16 +8963,6 @@ watchpack@^1.5.0: graceful-fs "^4.1.2" neo-async "^2.5.0" -webassemblyjs@1.4.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/webassemblyjs/-/webassemblyjs-1.4.3.tgz#0591893efb8fbde74498251cbe4b2d83df9239cb" - dependencies: - "@webassemblyjs/ast" "1.4.3" - "@webassemblyjs/validation" "1.4.3" - "@webassemblyjs/wasm-parser" "1.4.3" - "@webassemblyjs/wast-parser" "1.4.3" - long "^3.2.0" - webidl-conversions@^4.0.1, webidl-conversions@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" @@ -9069,13 +9072,14 @@ webpack-sources@^1.0.1, webpack-sources@^1.1.0: source-list-map "^2.0.0" source-map "~0.6.1" -webpack@^4.8.3: - version "4.8.3" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.8.3.tgz#957c8e80000f9e5cc03d775e78b472d8954f4eeb" +webpack@^4.10.0: + version "4.10.0" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.10.0.tgz#bc7a274afdb5556f9cbe836778abbca283c52938" dependencies: - "@webassemblyjs/ast" "1.4.3" - "@webassemblyjs/wasm-edit" "1.4.3" - "@webassemblyjs/wasm-parser" "1.4.3" + "@webassemblyjs/ast" "1.5.8" + "@webassemblyjs/wasm-edit" "1.5.8" + "@webassemblyjs/wasm-opt" "1.5.8" + "@webassemblyjs/wasm-parser" "1.5.8" acorn "^5.0.0" acorn-dynamic-import "^3.0.0" ajv "^6.1.0" @@ -9083,6 +9087,7 @@ webpack@^4.8.3: chrome-trace-event "^0.1.1" enhanced-resolve "^4.0.0" eslint-scope "^3.7.1" + json-parse-better-errors "^1.0.2" loader-runner "^2.3.0" loader-utils "^1.1.0" memory-fs "~0.4.1"