From d8d20f0da11b626d06ae95ecf5cc50f832cc6062 Mon Sep 17 00:00:00 2001 From: Leopoldthecoder Date: Thu, 29 Dec 2016 22:07:50 +0800 Subject: [PATCH] Changelog: update for 1.1.0 --- CHANGELOG.en-US.md | 27 +++++++++++++++++++++++++++ CHANGELOG.zh-CN.md | 26 ++++++++++++++++++++++++++ examples/docs/en-US/carousel.md | 6 +++--- examples/docs/zh-CN/carousel.md | 2 +- examples/docs/zh-CN/upload.md | 2 +- 5 files changed, 58 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 086fcf37..5a93b450 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -1,5 +1,32 @@ ## Changelog +### 1.1.0 Helium + +*2016-12-29* + +New features: +- Two brand new components: Carousel and Collapse +- SSR supported +- Scrollbars' style inside components is upgraded +- Table now supports custom templates via [scoped slots](http://vuejs.org/v2/guide/components.html#Scoped-Slots); the good old `inline-template` is still compatible, but it's no longer recommended and is likely to be removed in the future +- Table now supports expandable rows +- DatePicker now supports specifying the first day of week +- TimeSelect now supports `maxTime` +- Autocomplete now supports `popper-class` +- To customize template of Tab-Pane, now you can use the `slot` named `label` + +Fixes: +- `change` event of DatePicker incorrectly triggering multiple times, #2070 +- Width shaking of tab-pane while initializing, #1883 + +Breaking changes: +- Only compatible with Vue 2.1.6 and beyond +- Parameters of Form validateField() methods are updated +- Alert's render-content attribute is removed, and now you can pass your custom template via default slot +- The box models of Input and Select are updated from `block` to `inline-block` +- The box model of Tabs is updated from `inline-block` to `block`, and Tab-Pane's `label-content` attribute is removed +- The dropdown of Autocomplete now inserts directly to ``, not `` any more + ### 1.0.9 *2016-12-27* diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 06aeee05..31a21564 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -1,5 +1,31 @@ ## 更新日志 +### 1.1.0 Helium +*2016-12-29* + +新特性: +- 新增 Carousel、Collapse 组件 +- 支持 SSR +- 组件内的滚动条样式优化 +- Table 支持通过 [Scoped Slots](http://vuejs.org/v2/guide/components.html#Scoped-Slots) 传入模板;原来的 `inline-template` 仍然兼容,但是不再推荐使用,未来可能会被移除 +- Table 支持展开行功能(Expandable rows) +- DatePicker 支持指定周起始日(first day of week) +- TimeSelect 支持设置 `maxTime` +- Autocomplete 新增 `popper-class`属性 +- Tab-Pane 新增 name 为 label 的具名 `slot`,用于实现自定义标签内容 + +修复: +- DatePicker 的 `change` 事件错误地触发多次的问题,#2070 +- Tabs 组件内 tab-pane 初始化时宽度抖动的问题,#1883 + +非兼容性更新: +- 最低兼容 Vue 2.1.6 +- Form validateField() 方法回调的参数更新 +- Alert 取消了 render-content 属性,现在自定义模板需要通过默认 slot 传入 +- Input 和 Select 盒模型从 `block` 修改为 `inline-block` +- Tabs 盒模型从 `inline-block` 修改为 `block`,Tab-Pane 移除 `label-content` 属性 +- Autocomplete 下拉列表现在直接插入到 `` 标签下,而不是 `` 下 + ### 1.0.9 *2016-12-27* diff --git a/examples/docs/en-US/carousel.md b/examples/docs/en-US/carousel.md index bd83a76d..ddedf9ed 100644 --- a/examples/docs/en-US/carousel.md +++ b/examples/docs/en-US/carousel.md @@ -171,14 +171,14 @@ When a page is wide enough but has limited height, you can activate card mode fo | arrow | when arrows are shown | string | always/hover/never | hover | | type | type of the Carousel | string | card | — | -### Events +### Carousel Events | Event Name | Description | Parameters | |---------|---------|---------| | change | triggers when the active slide switches | index of the new active slide, index of the old active slide | -### Methods +### Carousel Methods | Method | Description | Parameters | -|---------- |-------------- | — | +|---------- |-------------- | -- | | setActiveItem | manually switch slide | index of the slide to be switched to, starting from 0; or the `name` of corresponding `el-carousel-item` | | prev | switch to the previous slide | — | | next | switch to the next slide | — | diff --git a/examples/docs/zh-CN/carousel.md b/examples/docs/zh-CN/carousel.md index a9ff6923..cbf8f22b 100644 --- a/examples/docs/zh-CN/carousel.md +++ b/examples/docs/zh-CN/carousel.md @@ -227,7 +227,7 @@ ### Carousel Methods | 方法名 | 说明 | 参数 | -|---------- |-------------- | — | +|---------- |-------------- | -- | | setActiveItem | 手动切换幻灯片 | 需要切换的幻灯片的索引,从 0 开始;或相应 `el-carousel-item` 的 `name` 属性值 | | prev | 切换至上一张幻灯片 | — | | next | 切换至下一张幻灯片 | — | diff --git a/examples/docs/zh-CN/upload.md b/examples/docs/zh-CN/upload.md index fd6f61f4..76929656 100644 --- a/examples/docs/zh-CN/upload.md +++ b/examples/docs/zh-CN/upload.md @@ -179,5 +179,5 @@ ### Methods | 方法名 | 说明 | 参数 | -|---------- |-------------- | — | +|---------- |-------------- | -- | | clearFiles | 清空已上传的文件列表 | — |