diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 3025063c4..172edb213 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -11,6 +11,8 @@ - Fix `n-cascader` click tag to delete the sub option in multi selection mode, and the tree option is not updated. - Fix `n-input` chinese input method not correct while mouse leave the input in `clearable` is true, closes [#905](https://github.com/TuSimple/naive-ui/issues/905). - Fix `n-description`'s warning caused by `v-if` that should not appear, closes [#1083](https://github.com/TuSimple/naive-ui/issues/1083). +- Fix `n-layout`'s `sider-placement` doesn't work after build, closes [#978](https://github.com/TuSimple/naive-ui/issues/978). +- Fix `n-input-number`'s `step` calculate error when the value is decimal, closes [#1007](https://github.com/TuSimple/naive-ui/issues/1007). ### Feats @@ -32,11 +34,7 @@ - `n-pagination` export `PaginationInfo` type. - `n-data-table` export `DataTableCreateSummary` type. - `n-code` add `inline` prop, closes [#834](https://github.com/TuSimple/naive-ui/issues/834) - -### Fixes - -- Fix `n-layout`'s `sider-placement` doesn't work after build, closes [#978](https://github.com/TuSimple/naive-ui/issues/978). -- Fix `n-input-number`'s `step` calculate error when the value is decimal, closes [#1007](https://github.com/TuSimple/naive-ui/issues/1007). +- `n-collapse` add 'header-extra' slot, closes [#1046](https://github.com/TuSimple/naive-ui/issues/1046). ## 2.16.7 (2021-08-27) diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 5860a7441..f069b61af 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -11,6 +11,8 @@ - 修复 `n-cascader` 多选模式下点击 tag 删除子选项未更新选中项 - 修复 `n-input` 在 `clearable` 为 `true` 时鼠标离开输入框时中文输入法不正确,关闭 [#905](https://github.com/TuSimple/naive-ui/issues/905) - 修复 `n-description` 中因 `v-if` 导致的不该出现的警告,关闭 [#1083](https://github.com/TuSimple/naive-ui/issues/1083) +- 修复 `n-layout` 的 `sider-placement` 属性在打包之后不生效,关闭 [#978](https://github.com/TuSimple/naive-ui/issues/978) +- 修复 `n-input-number` 的 `step` 值为小数时计算错误,关闭 [#1007](https://github.com/TuSimple/naive-ui/issues/1007) ### Feats @@ -32,11 +34,7 @@ - `n-pagination` 导出 `PaginationInfo` 类型 - `n-data-table` 导出 `DataTableCreateSummary` 类型 - `n-code` 新增 `inline` 属性, 关闭 [#834](https://github.com/TuSimple/naive-ui/issues/834) - -### Fixes - -- 修复 `n-layout` 的 `sider-placement` 属性在打包之后不生效,关闭 [#978](https://github.com/TuSimple/naive-ui/issues/978) -- 修复 `n-input-number` 的 `step` 值为小数时计算错误,关闭 [#1007](https://github.com/TuSimple/naive-ui/issues/1007) +- `n-collapse` 新增 slot: 'header-extra',关闭 [#1046](https://github.com/TuSimple/naive-ui/issues/1046) ## 2.16.7 (2021-08-27) diff --git a/src/collapse/demos/enUS/customize-icon.demo.md b/src/collapse/demos/enUS/customize-icon.demo.md index 7eaddad65..b7f36c084 100644 --- a/src/collapse/demos/enUS/customize-icon.demo.md +++ b/src/collapse/demos/enUS/customize-icon.demo.md @@ -2,6 +2,9 @@ ```html +