From 5300db06346f6e134c2a5c469bf8d21e8979e00c Mon Sep 17 00:00:00 2001 From: 07akioni <07akioni2@gmail.com> Date: Fri, 9 Jul 2021 00:55:55 +0800 Subject: [PATCH] docs(changelog): reorganize changelog --- CHANGELOG.en-US.md | 29 ++++++++++++++--------------- CHANGELOG.zh-CN.md | 29 ++++++++++++++--------------- 2 files changed, 28 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 30b52a53a..b7fb070f5 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -2,6 +2,20 @@ ## Pending +### Feats + +- `n-steps` add icon customization in `'finish'` and `'error'` status. +- `n-tree` exports `TreeDragInfo` & `TreeDropInfo` type. +- `n-empty` export `icon` slot. +- `useDialog` option add `maskClosable` prop, closes [#420](https://github.com/TuSimple/naive-ui/issues/420). + +### Fixes + +- Fix `n-data-table` fixed column box-shadow doesn't update when there is only on side fixed. +- Fix `n-data-table` fixed column box-shadow doesn't update when `props.scrollX` is not set but each column's width is set. +- Fix `n-result` image doesn't show on Safari and mobile phone. +- Fix `n-drawer-content`'s `header-style` style not applied to header. +- Fix `n-dialog` instance throws error when calling `destroy`. - Fix `n-image-group` initialize zoom scale when switching a picture [#423](https://github.com/TuSimple/naive-ui/issues/423). - Fix `n-select` bug in using custom label, closes [#352](https://github.com/TuSimple/naive-ui/issues/352). - Fix `n-carousel` when `autoplay` dot active status isn't displayed correctly, closes [#434](https://github.com/TuSimple/naive-ui/issues/434). @@ -12,18 +26,6 @@ - Fix `n-select` clear button is too big in `n-spin`, closes [#454](https://github.com/TuSimple/naive-ui/issues/454). - Fix `n-select` options are not updated properly, closes [#441](https://github.com/TuSimple/naive-ui/issues/441). -### Feats - -- `n-steps` add icon customization in `'finish'` and `'error'` status. -- `n-tree` exports `TreeDragInfo` & `TreeDropInfo` type. - -### Fixes - -- Fix `n-data-table` fixed column box-shadow doesn't update when there is only on side fixed. -- Fix `n-data-table` fixed column box-shadow doesn't update when `props.scrollX` is not set but each column's width is set. -- Fix `n-result` image doesn't show on Safari and mobile phone. -- Fix `n-drawer-content`'s `header-style` style not applied to header. - ## 2.15.3 (2021-07-05) ### Feats @@ -36,8 +38,6 @@ - `n-auto-complete` add `loading` prop, closes [#241](https://github.com/TuSimple/naive-ui/issues/241). - `n-slider` add `tooltip` prop, closes [#362](https://github.com/TuSimple/naive-ui/issues/362). - `n-input` add `loading` prop. -- `n-empty` export `icon` slot. -- `useDialog` option add `maskClosable` prop, closes [#420](https://github.com/TuSimple/naive-ui/issues/420). ### Fixes @@ -47,7 +47,6 @@ - Fix `n-carousel` doesn't work with `v-for` children. - Fix `n-form` `label-align` prop not working, closes [#213](https://github.com/TuSimple/naive-ui/issues/213) - Fix `n-data-table` fixed column shadow doesn't work when `max-height` is set, closes [#376](https://github.com/TuSimple/naive-ui/issues/376). -- Fix `n-dialog` instance use `destroy` error. ## 2.15.2 (2021-07-02) diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 89d9b8898..b3198ee5e 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -2,6 +2,20 @@ ## Pending +### Feats + +- `n-steps` 新增 `'finish'` 和 `'error'` 状态下的图标定制 +- `n-tree` 导出 `TreeDragInfo` & `TreeDropInfo` 类型 +- `n-empty` 导出 `icon` slot +- `useDialog` 选项增加 `maskClosable` 属性,关闭 [#420](https://github.com/TuSimple/naive-ui/issues/420) + +### Fixes + +- 修复 `n-data-table` 在只有一侧固定列时固定列阴影不更新 +- 修复 `n-data-table` 在未设定 `props.scrollX` 但为每个列设定宽度后固定列阴影不更新 +- 修复 `n-result` 图片在 Safari 和手机端不显示 +- 修复 `n-drawer-content` 的 `header-style` 样式未应用于头部 +- 修复 `n-dialog` 实例调用 `destroy` 函数错误 - 修复 `n-select` 自定义 label 的显示问题,关闭 [#352](https://github.com/TuSimple/naive-ui/issues/352) - 修复 `n-image-group` 当切换图片预览时,初始化缩放比例 [#423](https://github.com/TuSimple/naive-ui/issues/423) - 修复 `n-carousel` 设定 `autoplay` 点击后 dot active 状态不正常,关闭 [#434](https://github.com/TuSimple/naive-ui/issues/434) @@ -12,18 +26,6 @@ - 修复 `n-select` clear 按钮在 `n-spin` 内过大,关闭 [#454](https://github.com/TuSimple/naive-ui/issues/454) - 修复 `n-select` 选项没有被正常更新,关闭 [#441](https://github.com/TuSimple/naive-ui/issues/441) -### Feats - -- `n-steps` 新增 `'finish'` 和 `'error'` 状态下的图标定制 -- `n-tree` 导出 `TreeDragInfo` & `TreeDropInfo` 类型 - -### Fixes - -- 修复 `n-data-table` 在只有一侧固定列时固定列阴影不更新 -- 修复 `n-data-table` 在未设定 `props.scrollX` 但为每个列设定宽度后固定列阴影不更新 -- 修复 `n-result` 图片在 Safari 和手机端不显示 -- 修复 `n-drawer-content` 的 `header-style` 样式未应用于头部 - ## 2.15.3 (2021-07-05) ### Feats @@ -36,8 +38,6 @@ - `n-auto-complete` 新增 `loading` 属性,关闭 [#241](https://github.com/TuSimple/naive-ui/issues/241) - `n-slider` 增加 `tooltip` 属性,关闭 [#362](https://github.com/TuSimple/naive-ui/issues/362) - `n-input` 新增 `loading` 属性 -- `n-empty` 导出 `icon` slot -- `useDialog` 选项增加 `maskClosable` 属性,关闭 [#420](https://github.com/TuSimple/naive-ui/issues/420) ### Fixes @@ -47,7 +47,6 @@ - 修复 `n-carousel` 无法使用 `v-for` 的子元素 - 修复 `n-form` `label-align` 属性失效,关闭 [#213](https://github.com/TuSimple/naive-ui/issues/213) - 修复 `n-data-table` 在不设定 `max-height` 时固定列阴影失效,关闭 [#376](https://github.com/TuSimple/naive-ui/issues/376) -- 修复 `n-dialog` 实例调用 `destroy` 函数错误 ## 2.15.2 (2021-07-02)