From dbd9f323c6bb193546d3cf7f69c84dab37d24d90 Mon Sep 17 00:00:00 2001 From: picodoth Date: Sun, 17 Mar 2019 10:51:12 +0800 Subject: [PATCH] address cr --- CHANGELOG.en-US.md | 37 +++++++++++++++++-------------------- CHANGELOG.zh-CN.md | 37 +++++++++++++++++-------------------- 2 files changed, 34 insertions(+), 40 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index aaa889f126e0..b02950ab0205 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -19,31 +19,28 @@ timeline: true `2019-03-17` -- 🌟 Add less variable `@pagination-item-bg-active`. [#14739](https://github.com/ant-design/ant-design/issues/14739) -- 🌟 Add less variable `@icon-color`. [#15343](https://github.com/ant-design/ant-design/issues/15343) -- 🌟 Add less variable `@btn-border-width` and `@btn-border-style` to control button style independently. [#15397](https://github.com/ant-design/ant-design/issues/15397) [@searleb](https://github.com/searleb) -- 🌟 Add deps lint. [#15407](https://github.com/ant-design/ant-design/issues/15407) -- 🌟 Modal support `Modal.confirm({ icon: null })` to hide default Icon. [#15319](https://github.com/ant-design/ant-design/pull/15319) +- 🌟 Add four less variables `@pagination-item-bg-active`, `@icon-color`, `@btn-border-width` and `@btn-border-style`. [#15302](https://github.com/ant-design/ant-design/pull/15302), [#15343](https://github.com/ant-design/ant-design/issues/15343), [#15397](https://github.com/ant-design/ant-design/issues/15397) [@searleb](https://github.com/searleb) +- 🌟 Fix tree shaking not working for PageHeader. [#15354](https://github.com/ant-design/ant-design/pull/15354) +- 🌟 Modal supports `Modal.confirm({ icon: null })` to hide default Icon. [#15319](https://github.com/ant-design/ant-design/pull/15319) - List - - 🐞 Keep same content color of List like previous version. [#15296](https://github.com/ant-design/ant-design/issues/15296) - - 🐞 Fix some List Item styling issues. [#15329](https://github.com/ant-design/ant-design/issues/15329) + - 🐞 Keep same content color of List like previous version. [#15301](https://github.com/ant-design/ant-design/pull/15301) + - 🐞 Fix some List Item styling issues. [#15328](https://github.com/ant-design/ant-design/pull/15328) - Badge - - 🐞 Fix Badge should support color style. [#15349](https://github.com/ant-design/ant-design/issues/15349) [@DiamondYuan](https://github.com/DiamondYuan) - - 🐞 Fix height problem of Badge with dot. [#15367](https://github.com/ant-design/ant-design/issues/15367) -- 🐞 Fix tabbar style of Tabs component in card mode. [#15297](https://github.com/ant-design/ant-design/issues/15297) [@rinick](https://github.com/rinick) -- 🐞 Fix Calendar can't switch type. [#15334](https://github.com/ant-design/ant-design/issues/15334) [@zy410419243](https://github.com/zy410419243) + - 🐞 Fix the issue that customized color is not supported in Badge. [#15356](https://github.com/ant-design/ant-design/pull/15356) [@DiamondYuan](https://github.com/DiamondYuan) + - 🐞 Fix height problem of Badge with dot. [#15395](https://github.com/ant-design/ant-design/pull/15395) +- 🐞 Fix tabbar style of Tabs component in card mode. [#15299](https://github.com/ant-design/ant-design/pull/15299) [@rinick](https://github.com/rinick) +- 🐞 Fix Calendar can't switch type. [#15338](https://github.com/ant-design/ant-design/pull/15338) [@zy410419243](https://github.com/zy410419243) - 🐞 Fix Avatar component cannot calculate the offset when `display: none` is set. [#15351](https://github.com/ant-design/ant-design/pull/15351) [@ppbl](https://github.com/ppbl) -- 🐞 Correct suffix icon in Input.Password. [#15369](https://github.com/ant-design/ant-design/issues/15369) [melchior-voidwolf](https://github.com/melchior-voidwolf) +- 🐞 Correct suffix icon in Input.Password. [#15381](https://github.com/ant-design/ant-design/pull/15381) [@melchior-voidwolf](https://github.com/melchior-voidwolf) - 🐞 Fix Layout has classname `ant-layout-has-sider` even if `hasFixer` is set to `false`. [#15396](https://github.com/ant-design/ant-design/pull/15396) [@SoraYama](https://github.com/SoraYama) -- 🐞 Fix Divider alignment issue in PageHeader. [#15336](https://github.com/ant-design/ant-design/issues/15336) -- 🐞 Fix Skeleton broken style. [#15413](https://github.com/ant-design/ant-design/issues/15413) [@Maktel](https://github.com/Maktel) -- 🐞 Fixed a warning caused by setTimeout. [#15434](https://github.com/ant-design/ant-design/pull/15434) [@chiaweilee](https://github.com/chiaweilee) -- Typescript +- 🐞 Fix Divider alignment issue in PageHeader. [#15400](https://github.com/ant-design/ant-design/pull/15400) +- 🐞 Fix a style issue of Skeleton. [#15421](https://github.com/ant-design/ant-design/pull/15421) [@Maktel](https://github.com/Maktel) +- 🌟 Adjust multiple TypeScript types - 🌟 FormComponentProps added a generic type of form values. [#15355](https://github.com/ant-design/ant-design/pull/15355) - - 🌟 Export ConfigProviderProps interface. [#15438](https://github.com/ant-design/ant-design/issues/15438) [@DiamondYuan](https://github.com/DiamondYuan) - - 🐞 Add `onClick` prop for BreadcrumbItem. [#15331](https://github.com/ant-design/ant-design/pull/15331) [@tgxpuisb](https://github.com/tgxpuisb) - - 🐞 Add `style` prop for Steps.Step component. [#15358](https://github.com/ant-design/ant-design/issues/15358) [@pavolgolias](https://github.com/pavolgolias) - - 🐞 Fixed `itemRender` definition of Pagination. [#15384](https://github.com/ant-design/ant-design/issues/15384) [@DiamondYuan](https://github.com/DiamondYuan) + - 🌟 Export ConfigProviderProps interface. [#15446](https://github.com/ant-design/ant-design/pull/15446) [@DiamondYuan](https://github.com/DiamondYuan) + - 🐞 Add `onClick` prop for Breadcrumb.Item. [#15331](https://github.com/ant-design/ant-design/pull/15331) [@tgxpuisb](https://github.com/tgxpuisb) + - 🐞 Add `style` prop for Steps.Step component. [#15393](https://github.com/ant-design/ant-design/pull/15393) [@pavolgolias](https://github.com/pavolgolias) + - 🐞 Fix `itemRender` definition of Pagination. [#15428](https://github.com/ant-design/ant-design/pull/15428) [@DiamondYuan](https://github.com/DiamondYuan) ## 3.15.0 diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index e160684eb17f..b26fa39ea875 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -19,32 +19,29 @@ timeline: true `2019-03-17` -- 🌟 添加 less 变量 `@pagination-item-bg-active`。 [#14739](https://github.com/ant-design/ant-design/issues/14739) -- 🌟 添加 less 变量 `@icon-color`。[#15343](https://github.com/ant-design/ant-design/issues/15343) -- 🌟 添加两个 less 变量 `@btn-border-width` 和 `@btn-border-style` 来独立控制 Button 的样式。[#15397](https://github.com/ant-design/ant-design/issues/15343) [@searleb](https://github.com/searleb) -- 🌟 添加 deps lint。[#15343](https://github.com/ant-design/ant-design/issues/15397) +- 🌟 添加了四个 less 变量 `@pagination-item-bg-active`、`@icon-color`、`@btn-border-width` 以及 `@btn-border-style`。 [#15302](https://github.com/ant-design/ant-design/pull/15302)、[#15345](https://github.com/ant-design/ant-design/pull/15345)、[#15397](https://github.com/ant-design/ant-design/pull/15397) [@searleb](https://github.com/searleb) +- 🌟 修复 PageHeader tree shaking 失效的问题。[#15354](https://github.com/ant-design/ant-design/pull/15354) - 🌟 Modal 组件添加 `Modal.confirm({ icon: null })` 来隐藏默认的 Icon。[#15319](https://github.com/ant-design/ant-design/pull/15319) - List - - 🐞 保持 List 组件内容颜色与之前的版本一致。[#15296](https://github.com/ant-design/ant-design/issues/15296) - - 🐞 修复 List 的一些央视问题。[#15329](https://github.com/ant-design/ant-design/issues/15329) + - 🐞 保持 List 组件内容颜色与之前的版本一致。[#15301](https://github.com/ant-design/ant-design/pull/15301) + - 🐞 修复 List 的一些样式问题。[#15328](https://github.com/ant-design/ant-design/pull/15328) - Badge - - 🐞 修复 Badge 组件应当支持自定义颜色。[#15349](https://github.com/ant-design/ant-design/issues/15349) [@DiamondYuan](https://github.com/DiamondYuan) - - 🐞 修复 Badge 组件内带小圆点时的高度问题。[#15367](https://github.com/ant-design/ant-design/issues/15367) -- 🐞 修复 Tabs 组件在卡片模式下 tabbar 的样式。[#15297](https://github.com/ant-design/ant-design/issues/15297) [@rinick](https://github.com/rinick) -- 🐞 修复 Calendar 无法切换类型的问题。[#15334](https://github.com/ant-design/ant-design/issues/15334) [@zy410419243](https://github.com/zy410419243) + - 🐞 修复 Badge 组件不支持自定义颜色的问题。[#15356](https://github.com/ant-design/ant-design/pull/15356) [@DiamondYuan](https://github.com/DiamondYuan) + - 🐞 修复 Badge 组件内带小圆点时的高度问题。[#15395](https://github.com/ant-design/ant-design/pull/15395) +- 🐞 修复 Tabs 组件在卡片模式下 tabbar 的样式。[#15299](https://github.com/ant-design/ant-design/pull/15299) [@rinick](https://github.com/rinick) +- 🐞 修复 Calendar 无法切换类型的问题。[#15338](https://github.com/ant-design/ant-design/pull/15338) [@zy410419243](https://github.com/zy410419243) - 🐞 修复 Avatar 组件设置了 `display: none` 的时候无法计算偏移量的问题。[#15351](https://github.com/ant-design/ant-design/pull/15351) [@ppbl](https://github.com/ppbl) -- 🐞 修复 Input.Password 组件的后置 Icon。[#15369](https://github.com/ant-design/ant-design/issues/15369) [melchior-voidwolf](https://github.com/melchior-voidwolf) -- 🐞 修复即使在指定 Layout 的 `hasSider` 属性为 `false` 的时候依然会加 `ant-layout-has-sider` 的 classname 的问题[#15396](https://github.com/ant-design/ant-design/pull/15396) [@SoraYama](https://github.com/SoraYama) -- 🐞 修复 Divider 在 PageHeader 组件中的对齐问题。[#15336](https://github.com/ant-design/ant-design/issues/15336) +- 🐞 修复 Input.Password 组件的后置 Icon。[#15381](https://github.com/ant-design/ant-design/pull/15381) [@melchior-voidwolf](https://github.com/melchior-voidwolf) +- 🐞 修复 Layout 即使在 `hasSider` 属性为 `false` 的时候依然会加 `ant-layout-has-sider` 的 classname 的问题[#15396](https://github.com/ant-design/ant-design/pull/15396) [@SoraYama](https://github.com/SoraYama) +- 🐞 修复 Divider 在 PageHeader 组件中的对齐问题。[#15400](https://github.com/ant-design/ant-design/pull/15400) - 🐞 修复 Menu 收缩后,SubMenu 异常渲染的问题。[#15409](https://github.com/ant-design/ant-design/pull/15409) [@zy410419243](https://github.com/zy410419243) -- 🐞 修复 Skeleton 组件的样式问题。[#15413](https://github.com/ant-design/ant-design/issues/15413) [@Maktel](https://github.com/Maktel) -- 🐞 修复一个 setTimeout 引起的 warning。[#15434](https://github.com/ant-design/ant-design/pull/15434) [@chiaweilee](https://github.com/chiaweilee) -- Typescript +- 🐞 修复 Skeleton 组件的样式问题。[#15421](https://github.com/ant-design/ant-design/pull/15421) [@Maktel](https://github.com/Maktel) +- 调整了多处 Typescript 类型 - 🌟 FormComponentProps 新增 Form 值的范型。[#15355](https://github.com/ant-design/ant-design/pull/15355) - - 🌟 导出 ConfigProviderProps 定义。[#15438](https://github.com/ant-design/ant-design/issues/15438) [@DiamondYuan](https://github.com/DiamondYuan) - - 🐞 添加 BreadcrumbItem 的 `onClick` 定义。[#15331](https://github.com/ant-design/ant-design/pull/15331) [tgxpuisb](https://github.com/tgxpuisb) - - 🐞 添加 Steps.Step 组件的 `style` 定义。[#15358](https://github.com/ant-design/ant-design/issues/15358) [@pavolgolias](https://github.com/pavolgolias) - - 🐞 修复 PaginationProps 组件 `itemRender` 函数的类型错误。[#15384](https://github.com/ant-design/ant-design/issues/15384) [@DiamondYuan](https://github.com/DiamondYuan) + - 🌟 导出 ConfigProviderProps 定义。[#15446](https://github.com/ant-design/ant-design/pull/15446) [@DiamondYuan](https://github.com/DiamondYuan) + - 🐞 添加 Breadcrumb.Item 的 `onClick` 定义。[#15331](https://github.com/ant-design/ant-design/pull/15331) [@tgxpuisb](https://github.com/tgxpuisb) + - 🐞 添加 Steps.Step 组件的 `style` 定义。[#15393](https://github.com/ant-design/ant-design/pull/15393) [@pavolgolias](https://github.com/pavolgolias) + - 🐞 修复 PaginationProps 组件 `itemRender` 函数的类型错误。[#15428](https://github.com/ant-design/ant-design/pull/15428) [@DiamondYuan](https://github.com/DiamondYuan) ## 3.15.0