diff --git a/docs/markdown/changelog.en-US.md b/docs/markdown/changelog.en-US.md index 99b753440..8269601e0 100644 --- a/docs/markdown/changelog.en-US.md +++ b/docs/markdown/changelog.en-US.md @@ -1,5 +1,29 @@ ## Changelog +### [1.1.8](https://github.com/youzan/vant/tree/v1.1.8) +`2018-06-14` + +**Improvements** + +- AddressEdit: support configure button text [\#1287](https://github.com/youzan/vant/pull/1287) +- AddressEdit: simplify struct [\#1274](https://github.com/youzan/vant/pull/1274) +- Area: optimize default option [\#1272](https://github.com/youzan/vant/pull/1272) +- Dialog: support isolated title [\#1270](https://github.com/youzan/vant/pull/1270) +- Field: add blur method [\#1264](https://github.com/youzan/vant/pull/1264) +- Field: update right icon color [\#1262](https://github.com/youzan/vant/pull/1262) +- Sku: message limit maxlength [\#1271](https://github.com/youzan/vant/pull/1271) +- Build: add stylelint [\#1280](https://github.com/youzan/vant/pull/1280) +- Document: add demo source file link [\#1266](https://github.com/youzan/vant/pull/1266) +- Document: add code style guide [\#1245](https://github.com/youzan/vant/pull/1245) + +**Bug Fixes** + +- fix Actionsheet title font size [\#1267](https://github.com/youzan/vant/pull/1267) +- fix CheckboxGroup v-model type check [\#1254](https://github.com/youzan/vant/pull/1254) +- fix Popup max height [\#1256](https://github.com/youzan/vant/pull/1256) +- fix Tab resize line when title changed [\#1260](https://github.com/youzan/vant/pull/1260) + + ### [1.1.7](https://github.com/youzan/vant/tree/v1.1.7) `2018-06-06` diff --git a/docs/markdown/changelog.generated.md b/docs/markdown/changelog.generated.md index 4d6a4cf66..123081266 100644 --- a/docs/markdown/changelog.generated.md +++ b/docs/markdown/changelog.generated.md @@ -1,5 +1,70 @@ ## 更新日志 +## [v1.1.8](https://github.com/youzan/vant/tree/v1.1.8) (2018-06-14) +[Full Changelog](https://github.com/youzan/vant/compare/v1.1.7...v1.1.8) + +**Breaking changes** + +- van-field type=“number”时 会报错 [\#1220](https://github.com/youzan/vant/issues/1220) +- van-swipe 没有提供自定义滑动到指定slider的方法,即常见的slideTo\(index\) [\#1214](https://github.com/youzan/vant/issues/1214) + +**Issue** + +- 功能需求 [\#1286](https://github.com/youzan/vant/issues/1286) +- AddressEdit组件addressInfo数据格式的key值自定义 [\#1284](https://github.com/youzan/vant/issues/1284) +- picker是否支持多选 [\#1283](https://github.com/youzan/vant/issues/1283) +- 动态绑定 field 的Error 属性不生效 [\#1279](https://github.com/youzan/vant/issues/1279) +- 这套强大的UI不知可否支持小程序呢 [\#1277](https://github.com/youzan/vant/issues/1277) +- Swipe 轮播 通过 ref 可以获取到 swipe 实例并调用实例方法无效 [\#1275](https://github.com/youzan/vant/issues/1275) +- npm run build:lib编译错误 [\#1273](https://github.com/youzan/vant/issues/1273) +- Badge 徽章达不到想要的效果 [\#1269](https://github.com/youzan/vant/issues/1269) +- 请求新增表单校验 [\#1268](https://github.com/youzan/vant/issues/1268) +- 使用AddressEdit的时,输入的 addressInfo 的数据无法获取。 [\#1265](https://github.com/youzan/vant/issues/1265) +- 紧急:优惠券列表超出一屏时,不能上下翻页划动! [\#1263](https://github.com/youzan/vant/issues/1263) +- 在vue-ssr(非nuxt)下组件使用出现问题 [\#1261](https://github.com/youzan/vant/issues/1261) +- 在vue-ssr(非nuxt)下组件使用出现bug [\#1259](https://github.com/youzan/vant/issues/1259) +- 能否增加如flex,transform等css属性的厂商前缀,以兼容如ios8等系统 [\#1257](https://github.com/youzan/vant/issues/1257) +- van-list loading 设为false还是显示加载中,如果数据为空直接finished=false还是继续显示加载中 [\#1253](https://github.com/youzan/vant/issues/1253) +- 在使用AddressEdit的时候,地址无法显示 [\#1252](https://github.com/youzan/vant/issues/1252) +- van-list 从其他页面返回时van-list页面,:immediate-check=“false”属性无效? [\#1248](https://github.com/youzan/vant/issues/1248) +- van-list 从其他页面返回时van-list页面,:immediate-check=“false”属性无效? [\#1247](https://github.com/youzan/vant/issues/1247) +- API文档页面嵌套手机模型怎么实现? [\#1246](https://github.com/youzan/vant/issues/1246) +- passwordinput的value值无法重置或清空 [\#1244](https://github.com/youzan/vant/issues/1244) +- 打包后,在安卓4.4系统打开空白 混合app+vant [\#1243](https://github.com/youzan/vant/issues/1243) +- checkbox 和cell一起使用 [\#1241](https://github.com/youzan/vant/issues/1241) +- 请问AddressEdit收件地区选择如何做到反选?因为我做的是编辑页面 [\#1240](https://github.com/youzan/vant/issues/1240) +- 文档radio组件,示例代码问题-与 Cell 组件一起使用 [\#1238](https://github.com/youzan/vant/issues/1238) +- Popup或Dialog弹出层显示的列表不能滚动 [\#1236](https://github.com/youzan/vant/issues/1236) +- 图片上传组件图片旋转问题 [\#1235](https://github.com/youzan/vant/issues/1235) +- 定制主题无法显示效果 [\#1234](https://github.com/youzan/vant/issues/1234) +- Popup弹出层配合日期选择使用,ios端日期选择窗不显示 [\#1229](https://github.com/youzan/vant/issues/1229) +- Slider 滑块 [\#1226](https://github.com/youzan/vant/issues/1226) +- 文档无法访问问题反馈 [\#1223](https://github.com/youzan/vant/issues/1223) + +**Improvements** + +- \[Improvement\] AddressEdit: configure button text [\#1287](https://github.com/youzan/vant/pull/1287) ([chenjiahan](https://github.com/chenjiahan)) +- \[bugfix\] build style entry failed [\#1282](https://github.com/youzan/vant/pull/1282) ([chenjiahan](https://github.com/chenjiahan)) +- \[Improvement\] stylelint [\#1280](https://github.com/youzan/vant/pull/1280) ([chenjiahan](https://github.com/chenjiahan)) +- \[Improvement\] AddressEdit: simplify [\#1274](https://github.com/youzan/vant/pull/1274) ([chenjiahan](https://github.com/chenjiahan)) +- \[Improvement\] Area: default option [\#1272](https://github.com/youzan/vant/pull/1272) ([chenjiahan](https://github.com/chenjiahan)) +- \[Improvement\] Sku: message maxlength [\#1271](https://github.com/youzan/vant/pull/1271) ([chenjiahan](https://github.com/chenjiahan)) +- \[Improvement\] Dialog: isolated title [\#1270](https://github.com/youzan/vant/pull/1270) ([chenjiahan](https://github.com/chenjiahan)) +- fix:actionsheet的标题div没有值设置具体值导致rem布局不自适应 [\#1267](https://github.com/youzan/vant/pull/1267) ([nmxiaowei](https://github.com/nmxiaowei)) +- \[Doc\] add demo link [\#1266](https://github.com/youzan/vant/pull/1266) ([chenjiahan](https://github.com/chenjiahan)) +- \[Improvement\] Field: add blur method [\#1264](https://github.com/youzan/vant/pull/1264) ([chenjiahan](https://github.com/chenjiahan)) +- \[Improvement\] Field: icon color [\#1262](https://github.com/youzan/vant/pull/1262) ([chenjiahan](https://github.com/chenjiahan)) +- \[bugfix\] Tab: resize line when title changed [\#1260](https://github.com/youzan/vant/pull/1260) ([chenjiahan](https://github.com/chenjiahan)) +- \[Improvement\] Popup: limit max height [\#1256](https://github.com/youzan/vant/pull/1256) ([chenjiahan](https://github.com/chenjiahan)) +- \[Doc\] fix radio doc [\#1255](https://github.com/youzan/vant/pull/1255) ([chenjiahan](https://github.com/chenjiahan)) +- \[bugfix\] CheckboxGroup: v-model type check [\#1254](https://github.com/youzan/vant/pull/1254) ([chenjiahan](https://github.com/chenjiahan)) +- \[Doc\] Update document format [\#1251](https://github.com/youzan/vant/pull/1251) ([tudoubang](https://github.com/tudoubang)) +- \[Doc\] update contribution guide [\#1250](https://github.com/youzan/vant/pull/1250) ([chenjiahan](https://github.com/chenjiahan)) +- \[Doc\] add style guide [\#1245](https://github.com/youzan/vant/pull/1245) ([chenjiahan](https://github.com/chenjiahan)) +- \[Build\] extract build iconfont [\#1242](https://github.com/youzan/vant/pull/1242) ([chenjiahan](https://github.com/chenjiahan)) +- docs\(doc\): postcss tips [\#1239](https://github.com/youzan/vant/pull/1239) ([tudoubang](https://github.com/tudoubang)) +- \[Improvement\] eslint: use vue-libs [\#1237](https://github.com/youzan/vant/pull/1237) ([chenjiahan](https://github.com/chenjiahan)) + ## [v1.1.7](https://github.com/youzan/vant/tree/v1.1.7) (2018-06-06) [Full Changelog](https://github.com/youzan/vant/compare/v1.1.6...v1.1.7) @@ -123,12 +188,6 @@ - progress进度条的颜色,可以设置成渐变色吗? [\#1094](https://github.com/youzan/vant/issues/1094) - van-field有计划出一个类似label位置的图标参数吗?登录框很常用,用户名密码输入框之前经常会有 [\#1084](https://github.com/youzan/vant/issues/1084) -- Cell value=0无法显示 [\#1055](https://github.com/youzan/vant/issues/1055) - -**Bug Fixes** - -- Icon图标组件使用本地字体文件无效,还是引用 yzcdn.cn 域名下的字体文件 [\#1077](https://github.com/youzan/vant/issues/1077) -- GoodsActionMiniBtn中info属性在数字过大时会被遮挡 [\#1068](https://github.com/youzan/vant/issues/1068) **Issue** @@ -181,16 +240,6 @@ ## [v1.1.4](https://github.com/youzan/vant/tree/v1.1.4) (2018-05-18) [Full Changelog](https://github.com/youzan/vant/compare/v1.1.3...v1.1.4) -**Breaking changes** - -- van-field 组件添加 label slot [\#1041](https://github.com/youzan/vant/issues/1041) -- AddressEdit组件 点击删除收货地址时弹出的Dialog.confirm只有confirm事件cancel貌似没有ww [\#1035](https://github.com/youzan/vant/issues/1035) - -**Bug Fixes** - -- 时间组件默认值初始化不正确 [\#1072](https://github.com/youzan/vant/issues/1072) -- ImagePreview 图片预览组件点击关闭不了bug [\#1043](https://github.com/youzan/vant/issues/1043) - **Issue** - toast找不到 [\#1096](https://github.com/youzan/vant/issues/1096) @@ -200,21 +249,6 @@ - \ 这里面的:class="b\('left-icon'\)"是什么用法?哪里有资料可以看 [\#1030](https://github.com/youzan/vant/issues/1030) -- area [\#1028](https://github.com/youzan/vant/issues/1028) -- \ [\#1026](https://github.com/youzan/vant/issues/1026) -- 官网文档中关于 “List 列表“ 例子引用缺失。 [\#1024](https://github.com/youzan/vant/issues/1024) - -**Improvements** - -- \[Doc\] fix demo page [\#1050](https://github.com/youzan/vant/pull/1050) ([chenjiahan](https://github.com/chenjiahan)) -- \[Improvement\] Toast: add loadingType option [\#1049](https://github.com/youzan/vant/pull/1049) ([chenjiahan](https://github.com/chenjiahan)) -- \[Improvement\] Field: add label slot [\#1048](https://github.com/youzan/vant/pull/1048) ([chenjiahan](https://github.com/chenjiahan)) -- \[Improvement\] AddressEdit: add cancel-delete event [\#1047](https://github.com/youzan/vant/pull/1047) ([chenjiahan](https://github.com/chenjiahan)) -- \[bugfix\] ImagePreview: can't be closed when contain single image [\#1046](https://github.com/youzan/vant/pull/1046) ([chenjiahan](https://github.com/chenjiahan)) -- \[Doc\] fix dialog document [\#1045](https://github.com/youzan/vant/pull/1045) ([chenjiahan](https://github.com/chenjiahan)) -- \[Improvement\] ImagePreview: optimize click detect [\#1042](https://github.com/youzan/vant/pull/1042) ([chenjiahan](https://github.com/chenjiahan)) -- \[Improvement\] NoticeBar: add ref check [\#1037](https://github.com/youzan/vant/pull/1037) ([chenjiahan](https://github.com/chenjiahan)) -- \[improvement\] Icon: support color property [\#1031](https://github.com/youzan/vant/pull/1031) ([realywithoutname](https://github.com/realywithoutname)) -- \[bugfix\] Cell: default width [\#1029](https://github.com/youzan/vant/pull/1029) ([chenjiahan](https://github.com/chenjiahan)) -- \[Improvement\] Search: update style [\#1027](https://github.com/youzan/vant/pull/1027) ([chenjiahan](https://github.com/chenjiahan)) -- \[Improvement\] Icon: update search icon [\#1025](https://github.com/youzan/vant/pull/1025) ([chenjiahan](https://github.com/chenjiahan)) - ## [v1.1.2](https://github.com/youzan/vant/tree/v1.1.2) (2018-05-08) [Full Changelog](https://github.com/youzan/vant/compare/v1.1.1...v1.1.2) diff --git a/docs/markdown/changelog.zh-CN.md b/docs/markdown/changelog.zh-CN.md index 26e825a57..7ae8d34e2 100644 --- a/docs/markdown/changelog.zh-CN.md +++ b/docs/markdown/changelog.zh-CN.md @@ -1,5 +1,29 @@ ## 更新日志 +### [1.1.8](https://github.com/youzan/vant/tree/v1.1.8) +`2018-06-14` + +**Improvements** + +- AddressEdit: 支持配置按钮文字 [\#1287](https://github.com/youzan/vant/pull/1287) +- AddressEdit: 简化内部代码结构 [\#1274](https://github.com/youzan/vant/pull/1274) +- Area: 优化默认选项 [\#1272](https://github.com/youzan/vant/pull/1272) +- Dialog: 支持单独传入 title 属性 [\#1270](https://github.com/youzan/vant/pull/1270) +- Field: 新增 blur 方法 [\#1264](https://github.com/youzan/vant/pull/1264) +- Field: 更新右侧按钮默认颜色 [\#1262](https://github.com/youzan/vant/pull/1262) +- Sku: 限制留言最大长度 [\#1271](https://github.com/youzan/vant/pull/1271) +- Build: 新增 stylelint 格式校验 [\#1280](https://github.com/youzan/vant/pull/1280) +- Document: 新增示例源码链接 [\#1266](https://github.com/youzan/vant/pull/1266) +- Document: 新增代码风格指引 [\#1245](https://github.com/youzan/vant/pull/1245) + +**Bug Fixes** + +- 修复 Actionsheet 在 rem 布局下标题文字大小错误的问题 [\#1267](https://github.com/youzan/vant/pull/1267) +- 修复 CheckboxGroup v-model 类型检查错误 [\#1254](https://github.com/youzan/vant/pull/1254) +- 修复 Tab 标题长度变化时底部条未重新渲染的问题 [\#1260](https://github.com/youzan/vant/pull/1260) +- 修复 Popup 内容过高时超出屏幕可视范围的问题 [\#1256](https://github.com/youzan/vant/pull/1256) + + ### [1.1.7](https://github.com/youzan/vant/tree/v1.1.7) `2018-06-06` diff --git a/packages/index.js b/packages/index.js index d47f9e2fe..2f072fe21 100644 --- a/packages/index.js +++ b/packages/index.js @@ -68,7 +68,7 @@ import TreeSelect from './tree-select'; import Uploader from './uploader'; import Waterfall from './waterfall'; -const version = '1.1.7'; +const version = '1.1.8'; const components = [ Actionsheet, AddressEdit,