From cad2693e973254c18bc7997156fee7b6b760fb3c Mon Sep 17 00:00:00 2001 From: 07akioni <07akioni2@gmail.com> Date: Mon, 11 Mar 2024 14:23:41 +0800 Subject: [PATCH] docs(changelog): fix --- CHANGELOG.en-US.md | 2 +- CHANGELOG.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index e91da6d8c..9e606fb24 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -13,6 +13,7 @@ - Fix `n-dialog` / `n-modal` calling `destroy` method may throw error. - Fix `useModal` setting `card` preset without corresponding props in `n-card` slots, closes [#5746](https://github.com/tusen-ai/naive-ui/issues/5746). - Fix `Submenu` component's wai-aria role setting error of `n-menu`,closes [#5729](https://github.com/tusen-ai/naive-ui/issues/5729). +- Fix the `common` type error in the `theme-overrides` prop when modifying components' themes. ### Features @@ -36,7 +37,6 @@ - Fix `n-tabs`'s capsule wrong width and position after resize within `n-modal`, closes [#5569](https://github.com/tusen-ai/naive-ui/issues/5569). - Fix `n-split` doesn't work with `inline-theme-disabled` prop. - Fix `n-float-button` doesn't work with `inline-theme-disabled` prop. -- Fix the `common` type error in the `theme-overrides` prop when modifying components' themes. ### Features diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index f4d9a6a07..f38d517c9 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -13,6 +13,7 @@ - 修复 get\*String() 方法中 UTC/区域设置不匹配的问题,关闭 [#5702](https://github.com/tusen-ai/naive-ui/issues/5702) - 修复 `n-dialog` / `n-modal` 调用 `destroy` 方法时可能会报错 - 修复 `useModal` 设置 `card` 预设时 `n-card` 插槽缺少相应属性,关闭 [#5746](https://github.com/tusen-ai/naive-ui/issues/5746) +- 修复组件调整主题时 `theme-overrides` 属性中的 `common` 类型报错 ### Features @@ -36,7 +37,6 @@ - 修复 `n-tabs` 在 `n-modal` 内部时,胶囊在 tabs 大小改变后有错误的位置和宽度,关闭 [#5569](https://github.com/tusen-ai/naive-ui/issues/5569) - 修复 `n-split` 不支持 `inline-theme-disabled` 属性 - 修复 `n-float-button` 不支持 `inline-theme-disabled` 属性 -- 修复组件调整主题时 `theme-overrides` 属性中的 `common` 类型报错 ### Features