From e8b74dcb96b60dab9ce40312280b3fd2c391a03b Mon Sep 17 00:00:00 2001
From: Leopoldthecoder <Leopoldthecuber@gmail.com>
Date: Mon, 28 Nov 2016 17:54:15 +0800
Subject: [PATCH] update changelog for 1.0.3

---
 CHANGELOG.en-US.md                | 24 ++++++++++++++++++++++++
 CHANGELOG.zh-CN.md                | 23 +++++++++++++++++++++++
 examples/docs/en-US/pagination.md |  9 +++++----
 examples/docs/zh-CN/pagination.md |  4 ++--
 4 files changed, 54 insertions(+), 6 deletions(-)

diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md
index 988aa7e95..3f6ba568d 100644
--- a/CHANGELOG.en-US.md
+++ b/CHANGELOG.en-US.md
@@ -1,5 +1,29 @@
 ## Changelog
 
+### 1.0.3
+
+*2016-11-28*
+
+- Fixed `currentPage` of Pagination not working in some cases, #1336
+- Fixed `month` and `disabledDate` DatePicker's view not refreshing issue when switching year, #1158
+- Fixed `readonly` DatePicker clear button not disabled issue, #1238
+- Fixed Slider not working when binding value is `NaN` or `step` is smaller than 1, #1239 #1282
+- Added multi-header for Table, #1312
+- Added `rowStyle` for Table, #1348
+- Fixed some attributes of TableColumn can not dynamically assigned issue, #1314
+- Added `filter-node-method` attribute and `filter` method for Tree, #1257
+- Added `getCheckedKeys` and `setCheckedKeys` methods for Tree, #1254
+- Added deep nesting support for Checkbox/Radio inside Checkbox/Radio Group, #1152
+- Fixed Popper not triggering destroy issue when keep-alive, #1359
+- Added object deep validation for Form, #1363
+- Added `append` and `prepend` for Autocomplete, #1369
+- Added dynamic `pageSizes` support for Pagination, #1372
+- Added custom style API for checked buttons in Radio Button, #1380
+- Added assigning title via slot for Menu Group, #1382
+- Fixed DatePicker year switching bug, #1385
+- Added uploaded file list API for Upload, #1393
+- Added multi-type support for `label` attribute of Checkbox, #1400
+
 ### 1.0.2
 
 *2016-11-18*
diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md
index ec80a8c8c..eb2ab0de4 100644
--- a/CHANGELOG.zh-CN.md
+++ b/CHANGELOG.zh-CN.md
@@ -1,5 +1,28 @@
 ## 更新日志
 
+### 1.0.3
+*2016-11-28*
+
+- 修复 Pagination 的 `currentPage` 在某些情况下设置无效的情况,#1336
+- 修复 DatePicker 为 `month` 且设置了 `disabledDate` 的情况下切换年份时界面未更新的问题,#1158
+- 修复 DatePicker readonly 时未禁用清除按钮的问题,#1238
+- 修复 Slider 绑定值为 `NaN` 以及 `step` 小于 1 时无法正常工作的问题,#1239 #1282
+- 增加 Table 的多表头功能,#1312
+- 增加 Table 的 `rowStyle` 属性,#1348
+- 修复 TableColumn 的某些属性无法动态设置的问题,#1314
+- 增加 Tree 的 `filter-node-method` 属性和 `filter` 方法,#1257
+- 增加 Tree 的 `getCheckedKeys` 和 `setCheckedKeys` 方法,#1254
+- 重构 Checkbox/Radio 支持嵌套 Group 绑定值,#1152
+- 修复 Popper 在 keep-alive 下无法触发销毁的问题,#1359
+- 增加 Form 中深对象验证的支持,#1363
+- 增加 Autocomplete 里的 `append` 和 `prepend` API,#1369
+- 增加 Pagination `pageSizes` 属性的动态支持,#1372
+- 增加 Radio Button 自定义选中按钮样式的 API,#1380
+- 增加 Menu Group 支持通过 slot 来设置 title,#1382
+- 修复 DatePicker 选择年的 bug,#1385
+- 新增 Upload 默认已上传的文件列表 API,#1393
+- 增加 Checkbox `label` 属性绑定的多类型支持,#1400
+
 ### 1.0.2
 *2016-11-18*
 
diff --git a/examples/docs/en-US/pagination.md b/examples/docs/en-US/pagination.md
index f06cb8560..ab1e2d82e 100644
--- a/examples/docs/en-US/pagination.md
+++ b/examples/docs/en-US/pagination.md
@@ -109,7 +109,7 @@ Add more modules based on your scenario.
         currentPage1: 5,
         currentPage2: 5,
         currentPage3: 5,
-        currentPage4: 5
+        currentPage4: 4
       };
     }
   }
@@ -117,13 +117,14 @@ Add more modules based on your scenario.
 ```
 :::
 <script>
+  import { addClass } from 'wind-dom/src/class';
   export default {
     data() {
       return {
         currentPage1: 5,
         currentPage2: 5,
         currentPage3: 5,
-        currentPage4: 5
+        currentPage4: 4
       };
     },
     methods: {
@@ -140,8 +141,8 @@ Add more modules based on your scenario.
         let demos = document.querySelectorAll('.source');
         let firstDemo = demos[0];
         let lastDemo = demos[demos.length - 1];
-        firstDemo.classList.add('first');
-        lastDemo.classList.add('last');
+        addClass(firstDemo, 'first');
+        addClass(lastDemo, 'last');
       });
     }
   }
diff --git a/examples/docs/zh-CN/pagination.md b/examples/docs/zh-CN/pagination.md
index cfe29ce7a..b91b31df7 100644
--- a/examples/docs/zh-CN/pagination.md
+++ b/examples/docs/zh-CN/pagination.md
@@ -109,7 +109,7 @@
         currentPage1: 5,
         currentPage2: 5,
         currentPage3: 5,
-        currentPage4: 5
+        currentPage4: 4
       };
     }
   }
@@ -133,7 +133,7 @@
         currentPage1: 5,
         currentPage2: 5,
         currentPage3: 5,
-        currentPage4: 5
+        currentPage4: 4
       };
     },
     mounted() {