diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index d7b63c986a..91dcce5b33 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -14,6 +14,26 @@ timeline: true * Major version release is not included in this schedule for breaking change and new features. --- + +## 3.8.3 + +`2018-08-26` + +- 📖 Rewrite the documentation of [Customize Theme](https://ant.design/docs/react/customize-theme) and provider instruction for major `Less` variables. [6fd5e9](https://github.com/ant-design/ant-design/commit/6fd5e95cec2f1c936dcf857a72446ec956a5c7ad) [53dd82](https://github.com/ant-design/ant-design/commit/53dd82e4e3dd39d7ccc4f752901cb182b5b90555) +- 🐞 Fix the zoom animation style for Badge. [#11870](https://github.com/ant-design/ant-design/issues/11870) +- 🐞 Fix the abnormal width in IE and Edge for Cascader. [#11857](https://github.com/ant-design/ant-design/issues/11857) +- 🐞 Fix the blurry style in Windows Chrome for Checkbox. [#11797](https://github.com/ant-design/ant-design/issues/11797) +- 🐞 Fix that `style` prop is not effective for DatePicker.WeekPicker. [#11738](https://github.com/ant-design/ant-design/issues/11738) +- 🐞 Fix the flash style for Drawer. [#11813](https://github.com/ant-design/ant-design/issues/11813) +- 🐞 Fix the border style for compact Input.Group with `prefix` or `suffix`. [#11863](https://github.com/ant-design/ant-design/issues/11863) +- Menu + - 🐞 Fix the gap style between SubMenu and that Menu disappears when hovering over the tap. [#11725](https://github.com/ant-design/ant-design/issues/11725) + - 🐞 Fix the displayed error when ItemGroup wraps the first SubMenu and the Menu is collapsed. [a52370](https://github.com/ant-design/ant-design/commit/a523706625bd695f44401579d980089292089dda) [@ohhoney1](https://github.com/ohhoney1) +- 🐞 Fix that overlong `description` is cut off for Steps. [#11864](https://github.com/ant-design/ant-design/issues/11864) +- 🐞 Fix that the word maybe break in overlong `title` for Tooltip. [#11722](https://github.com/ant-design/ant-design/issues/11722) +- 🐞 Fix that `custom prop` of TreeNode cannot be accepted for Tree. [#11423](https://github.com/ant-design/ant-design/issues/11423) +- 🐞 Fix the effective area for Upload.Dragger. [#11869](https://github.com/ant-design/ant-design/issues/11869) + ## 3.8.2 `2018-8-18` diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 44b45cb94c..4f0da85441 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -15,6 +15,25 @@ timeline: true --- +## 3.8.3 + +`2018-08-26` + +- 📖 重新编写了 [定制主题](https://ant.design/docs/react/customize-theme-cn) 文档,并提供了主要的 `Less` 变量说明。 +- 🐞 修复 Badge 组件动画出现位置不正确的问题。[#11870](https://github.com/ant-design/ant-design/issues/11870) +- 🐞 修复 Cascader 组件在 IE 和 Edge 浏览器中浮层与数据列宽度不一致的问题。[#11857](https://github.com/ant-design/ant-design/issues/11857) +- 🐞 修复 Checkbox 组件在 Windows Chrome 下样式模糊的问题。[#11797](https://github.com/ant-design/ant-design/issues/11797) +- 🐞 修复 DatePicker.WeekPicker 组件的 `style` 属性无法生效的问题。[#11738](https://github.com/ant-design/ant-design/issues/11738) +- 🐞 修复 Drawer 组件在多层状态下切换出现的背景闪烁的问题。[#11813](https://github.com/ant-design/ant-design/issues/11813) +- 🐞 修复带有前缀或后缀的 Input.Group 组件在紧凑模式下右边框宽度过宽的问题。[#11863](https://github.com/ant-design/ant-design/issues/11863) +- Menu + - 🐞 修复子菜单之间存在间隙导致鼠标 hover 时菜单消失的问题。[#11725](https://github.com/ant-design/ant-design/issues/11725) + - 🐞 修复当分组菜单包含了第一个菜单项,并且在菜单收起时出现错误的问题。[a52370](https://github.com/ant-design/ant-design/commit/a523706625bd695f44401579d980089292089dda) [@ohhoney1](https://github.com/ohhoney1) +- 🐞 修复 Steps 组件中过长的 `description` 会被截断,无法完整展示的问题。[#11864](https://github.com/ant-design/ant-design/issues/11864) +- 🐞 修复 Tooltip 组件在 `title` 过长时会将单词拆分到两行的问题。[#11722](https://github.com/ant-design/ant-design/issues/11722) +- 🐞 修复 Tree 组件中的树节点无法接收自定义属性的问题。[#11423](https://github.com/ant-design/ant-design/issues/11423) +- 🐞 修复 Upload.Dragger 组件的有效拖拽区域不匹配的问题。[#11869](https://github.com/ant-design/ant-design/issues/11869) + ## 3.8.2 `2018-8-18` diff --git a/components/card/style/index.less b/components/card/style/index.less index 284af50523..1b675d4dab 100644 --- a/components/card/style/index.less +++ b/components/card/style/index.less @@ -4,11 +4,12 @@ @card-prefix-cls: ~"@{ant-prefix}-card"; @card-head-height: 48px; @card-hover-border: rgba(0, 0, 0, 0.09); +@card-radius: @border-radius-sm; .@{card-prefix-cls} { .reset-component; background: @component-background; - border-radius: @border-radius-sm; + border-radius: @card-radius; position: relative; transition: all .3s; @@ -28,7 +29,7 @@ background: @card-head-background; border-bottom: @border-width-base @border-style-base @border-color-split; padding: 0 @card-padding-base; - border-radius: @border-radius-sm @border-radius-sm 0 0; + border-radius: @card-radius @card-radius 0 0; .clearfix; margin-bottom: -1px; // Fix card grid overflow bug: https://gw.alipayobjects.com/zos/rmsportal/XonYxBikwpgbqIQBeuhk.png min-height: @card-head-height; @@ -101,9 +102,14 @@ padding-bottom: 0; } - &-cover > * { - width: 100%; - display: block; + &-cover { + > * { + width: 100%; + display: block; + } + img { + border-radius: @card-radius @card-radius 0 0; + } } &-actions { @@ -232,7 +238,7 @@ &-loading-block { height: 14px; margin: 4px 0; - border-radius: @border-radius-sm; + border-radius: @card-radius; background: linear-gradient(90deg, rgba(207, 216, 220, .2), rgba(207, 216, 220, .4), rgba(207, 216, 220, .2)); animation: card-loading 1.4s ease infinite; background-size: 600% 600%; diff --git a/components/input-number/style/index.less b/components/input-number/style/index.less index b70b78478b..bae0880171 100644 --- a/components/input-number/style/index.less +++ b/components/input-number/style/index.less @@ -123,8 +123,11 @@ cursor: pointer; &-inner { top: 50%; - margin-top: -6px; - text-align: center; + margin-top: -5px; + &:before { + text-align: center; + content: "\e61e"; + } } &:hover { height: 60% !important; @@ -133,7 +136,7 @@ &-handler-down { border-top: @border-width-base @border-style-base @border-color-base; - top: -1px; + top: 0; cursor: pointer; &-inner { top: 50%; diff --git a/package.json b/package.json index d490f71bd8..14fac7c32b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "antd", - "version": "3.8.2", + "version": "3.8.3", "title": "Ant Design", "description": "An enterprise-class UI design language and React-based implementation", "homepage": "http://ant.design/",