Merge pull request #25847 from ant-design/master

chore: merge master into feature
This commit is contained in:
偏右 2020-07-28 11:40:30 +08:00 committed by GitHub
commit 3b6b410850
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 162 additions and 57 deletions

View File

@ -15,6 +15,51 @@ timeline: true
---
## 4.5.0
`2020-07-27`
- 🆕 Input and Input.TextArea support `bordered` prop. [#25617](https://github.com/ant-design/ant-design/pull/25617)
- 🆕 Add `useMessage` hook for Message to support `context` access. [#25422](https://github.com/ant-design/ant-design/pull/25422)
- 🆕 Tree support `titleRender` to customize all nodes' content. [#25624](https://github.com/ant-design/ant-design/pull/25624)
- 🆕 Descriptions add `extra` prop. [#25512](https://github.com/ant-design/ant-design/pull/25512) [@zzz111](https://github.com/zzz111)
- 🆕 Add `Modal.config` to set `rootPrefixCls` for Modal statis methods. [#25613](https://github.com/ant-design/ant-design/pull/25613)
- 🆕 Drawer support `push` prop for multi-Drawer linkage. [#25445](https://github.com/ant-design/ant-design/pull/25445) [@jinxin0112](https://github.com/jinxin0112)
- 🆕 Add Badge.Ribbon component. [#25456](https://github.com/ant-design/ant-design/pull/25456)
- 🆕 Steps support `percent` prop to show step icon progress. [#25839](https://github.com/ant-design/ant-design/pull/25839)
- 💄 **Menu.Item's blue indicator line and dropdown width are the same as its content's width in `horizontal` mode.** [#25622](https://github.com/ant-design/ant-design/pull/25622)
- Avatar
- 🆕 Add Avatar.Group for showing a set of avatars. [#25192](https://github.com/ant-design/ant-design/pull/25192)
- 🐞 Fix Avatar not fallback correctly when `src` is invalid. [#25806](https://github.com/ant-design/ant-design/pull/25806)
- DatePicker
- 🆕 DatePicker support [date-fns](https://date-fns.org/). [#25822](https://github.com/ant-design/ant-design/pull/25822) [@fireairforce](https://github.com/fireairforce)
- 🆕 Improve DatePicker hovering experience, the placeholder will change to format value of target-date when hovering a date cell. ([#25050](https://github.com/ant-design/ant-design/issues/25050)). [#25784](https://github.com/ant-design/ant-design/pull/25784) [@Kermit-Xuan](https://github.com/Kermit-Xuan)
- 🆕 RangePicker `onCalendarChange` add `range` param to indicate currently activated pane. [#25568](https://github.com/ant-design/ant-design/pull/25568) [@Kim-Wing-Fung](https://github.com/Kim-Wing-Fung)
- 🆕 DatePicker support `panelRender` to customize panel. [#25488](https://github.com/ant-design/ant-design/pull/25488)
- 🐞 Fix QuarterPicker not working, remove DatePicker.XxxPicker and recommend `picker='xxx'` usage instead. [#25768](https://github.com/ant-design/ant-design/pull/25768)
- Form
- 🆕 Form.List support array in `remove` method. [#25638](https://github.com/ant-design/ant-design/pull/25638) [@fireairforce](https://github.com/fireairforce)
- 🆕 Form.Item supports `dependencies` to control updating logic with render props `children`. [#25408](https://github.com/ant-design/ant-design/pull/25408)
- 🆕 Adjust Form.Item validateFist to validate in order. Origin logic use parallel to validate. [#25321](https://github.com/ant-design/ant-design/pull/25321)
- 🐞 Fix Form.Item sometime not clean up prev error message. [#25737](https://github.com/ant-design/ant-design/pull/25737)
- 🐞 Fix Form.Item not collect `validateStatus` when children Form.Item with `noStyle` has an error. [#25734](https://github.com/ant-design/ant-design/pull/25734)
- 🐞 Fix Form.Item setting `labelCol={{ offset: number }}` doesn't work if layout is vertical. [#25713](https://github.com/ant-design/ant-design/pull/25713) [@zhangchen915](https://github.com/zhangchen915)
- ⌨️ Form add `role="alert"` attribute on validation message node to import accessibility. [#25735](https://github.com/ant-design/ant-design/pull/25735) [@AlbertAZ1992](https://github.com/AlbertAZ1992)
- Calendar
- 🐞 Fix Calendar `validRange` prevents `disabledDate`. [#25626](https://github.com/ant-design/ant-design/pull/25626) [@zhangchen915](https://github.com/zhangchen915)
- 🐞 Fix Calendar `validRange` not working on month selection dropdown. [#25626](https://github.com/ant-design/ant-design/pull/25626) [@zhangchen915](https://github.com/zhangchen915)
- 🐞 Fix Table `indeterminate` returned by `getCheckboxProps` not working. [#25649](https://github.com/ant-design/ant-design/pull/25649)
- 🐞 Fix Select clear icon position in Form.Item. [#25728](https://github.com/ant-design/ant-design/pull/25728)
- 🐞 Fix Pagination mouse style of the page turning button. [#25772](https://github.com/ant-design/ant-design/pull/25772)
- 🐞 Fix TreeSelect `treeNodeLabelProp` affect tree node render result. [#25755](https://github.com/ant-design/ant-design/pull/25755)
- 🐞 Fix Carousel `findDOMNode` warning in strict mode. [#25744](https://github.com/ant-design/ant-design/pull/25744)
- 🐞 Fix Radio causing SSR build errors with `webpack@4.44.0`. [25821](https://github.com/ant-design/ant-design/pull/25821) [@Kermit-Xuan](https://github.com/Kermit-Xuan)
- 🐞 Fix Tabs focus & active state color when disabled. [25827](https://github.com/ant-design/ant-design/pull/25827) [hsuanxyz](https://github.com/hsuanxyz)
- 💄 Card action pane color is unified with body color. [#25722](https://github.com/ant-design/ant-design/pull/25722)
- ⌨️ Improve Alert/message/notification accessibility by adding role attribute. [#25774](https://github.com/ant-design/ant-design/pull/25774)
- 🇭🇰 Add zh_HK localization. [#25731](https://github.com/ant-design/ant-design/pull/25731) [@wuchu](https://github.com/wuchu)
- 🇩🇪 Improve de_DE localization. [#25823](https://github.com/ant-design/ant-design/pull/25823) [@LukeTimeWalker](https://github.com/LukeTimeWalker)
## 4.4.3
`2020-07-20`
@ -35,7 +80,7 @@ timeline: true
- 🛠 Adjust Alert animation to remove directly dom operation. [#dd8e9f8](https://github.com/ant-design/ant-design/commit/dd8e9f8) [@Yunfly](https://github.com/Yunfly)
- Select
- 🐞 Fix Select shifts vertically when searching. [#25536](https://github.com/ant-design/ant-design/pull/25536) [@07akioni](https://github.com/07akioni)
- 🐞 Fix Select shifts vertically when searching. [#25536](https://github.com/ant-design/ant-design/pull/25536)
- 💄 Add `@select-item-select-color` to control the color when Select item is selected. [#25476](https://github.com/ant-design/ant-design/pull/25476)
- 🐞 Fix Form.Item warning for `preserve` as invalidate dom prop. [#25518](https://github.com/ant-design/ant-design/pull/25518)
- 🐞 Fix Card cover margin bug when bordered is false. [#25515](https://github.com/ant-design/ant-design/pull/25515) [@yutingzhao1991](https://github.com/yutingzhao1991)

View File

@ -15,6 +15,51 @@ timeline: true
---
## 4.5.0
`2020-07-27`
- 🆕 Input 和 Input.TextArea 支持 `bordered` 属性。[#25617](https://github.com/ant-design/ant-design/pull/25617)
- 🆕 Message 新增 `useMessage` hook以支持 `context` 访问。[#25422](https://github.com/ant-design/ant-design/pull/25422)
- 🆕 Tree 添加 `titleRender` 以支持定制所有节点内容。[#25624](https://github.com/ant-design/ant-design/pull/25624)
- 🆕 Descriptions 新增 `extra` 属性。[#25512](https://github.com/ant-design/ant-design/pull/25512) [@zzz111](https://github.com/zzz111)
- 🆕 新增 `Modal.config` 用于全局配置 Modal 静态方法的 `rootPrefixCls`。[#25613](https://github.com/ant-design/ant-design/pull/25613)
- 🆕 Drawer 增加 `push` 属性用于自定义多层级 Drawer 之间的联动。[#25445](https://github.com/ant-design/ant-design/pull/25445) [@jinxin0112](https://github.com/jinxin0112)
- 🆕 新增 Badge.Ribbon 缎带组件。[#25456](https://github.com/ant-design/ant-design/pull/25456)
- 🆕 Steps 新增 `percent` 属性来展示步骤图标的进度。[#25839](https://github.com/ant-design/ant-design/pull/25839)
- 💄 **Menu.Item 水平模式的蓝色指示线和下拉菜单宽度现在和其文字内容宽度一致。**[#25622](https://github.com/ant-design/ant-design/pull/25622)
- Avatar
- 🆕 新增 Avatar.Group 用于展现一组头像集合。[#25192](https://github.com/ant-design/ant-design/pull/25192)
- 🐞 修复 Avatar `src` 图片地址失效时没有正确 fallback 的问题。[#25806](https://github.com/ant-design/ant-design/pull/25806)
- DatePicker
- 🆕 DatePicker 支持 [date-fns](https://date-fns.org/) 日期库。[#25822](https://github.com/ant-design/ant-design/pull/25822) [@fireairforce](https://github.com/fireairforce)
- 🆕 提升日期组件悬停体验,当悬停在某个日期上时占位符将变为对应的日期格式化后的值。([#25050](https://github.com/ant-design/ant-design/issues/25050))。[#25784](https://github.com/ant-design/ant-design/pull/25784) [@Kermit-Xuan](https://github.com/Kermit-Xuan)
- 🆕 RangePicker `onCalendarChange` 参数中增加 `range` 用于指示当前触发面板。[#25568](https://github.com/ant-design/ant-design/pull/25568) [@Kim-Wing-Fung](https://github.com/Kim-Wing-Fung)
- 🆕 DatePicker 支持 `panelRender` 以自定义渲染面板。[#25488](https://github.com/ant-design/ant-design/pull/25488)
- 🐞 修复 QuarterPicker 无法使用的问题,同时更新官网示例将 XxxPicker 调整为 `picker='xxx'`,这是 v4 更推荐的写法。[#25768](https://github.com/ant-design/ant-design/pull/25768)
- Form
- 🆕 Form.List 中的 `remove` 方法支持数组类型。[#25638](https://github.com/ant-design/ant-design/pull/25638) [@fireairforce](https://github.com/fireairforce)
- 🆕 Form.Item 在 `children` 形为 `render props` 时支持使用 `dependencies` 控制更新逻辑。[#25408](https://github.com/ant-design/ant-design/pull/25408)
- 🆕 调整 Form.Item `validateFirst` 属性为依次执行校验,原并行逻辑改由配置 `parallel` 开启。[#25321](https://github.com/ant-design/ant-design/pull/25321)
- 🐞 修复 Form.Item 有时候没有清理之前的错误信息的问题。[#25737](https://github.com/ant-design/ant-design/pull/25737)
- 🐞 修复 Form.Item 在子 Form.Item 设置 `noStyle` 并校验失败时没有更新 `validateStatus` 的问题。[#25734](https://github.com/ant-design/ant-design/pull/25734)
- 🐞 修复 Form 垂直布局时 Form.Item 设置 `labelCol={{ offset: number }}` 不生效的问题。[#25713](https://github.com/ant-design/ant-design/pull/25713) [@zhangchen915](https://github.com/zhangchen915)
- ⌨️ Form 错误信息节点增加属性 `role="alert"` 以增强可访问性。[#25735](https://github.com/ant-design/ant-design/pull/25735) [@AlbertAZ1992](https://github.com/AlbertAZ1992)
- Calendar
- 🐞 修复 Calendar 组件的 `validRange` 导致 `disabledDate` 不生效 。[#25626](https://github.com/ant-design/ant-design/pull/25626) [@zhangchen915](https://github.com/zhangchen915)
- 🐞 修复 Calendar `validRange` 对月份下拉菜单不生效的问题。[#25626](https://github.com/ant-design/ant-design/pull/25626) [@zhangchen915](https://github.com/zhangchen915)
- 🐞 修复 Table `getCheckboxProps` 返回的 `indeterminate` 不生效。[#25649](https://github.com/ant-design/ant-design/pull/25649)
- 🐞 修复 Select 清除按钮在 Form.Item 下位置不对的问题。[#25728](https://github.com/ant-design/ant-design/pull/25728)
- 🐞 修复 Pagination 翻页按钮的鼠标样式。[#25772](https://github.com/ant-design/ant-design/pull/25772)
- 🐞 修复 TreeSelect `treeNodeLabelProp` 会影响树节点展示内容的问题。[#25755](https://github.com/ant-design/ant-design/pull/25755)
- 🐞 修复 Carousel 在 React 严格模式下的 `findDOMNode` 废弃警告。[#25744](https://github.com/ant-design/ant-design/pull/25744)
- 🐞 修复 Radio 在 `webpack@4.44.0` SSR 构建出错的问题。[25821](https://github.com/ant-design/ant-design/pull/25821) [@Kermit-Xuan](https://github.com/Kermit-Xuan)
- 🐞 修复 Tabs 禁用时 focus & active 状态的颜色。[25827](https://github.com/ant-design/ant-design/pull/25827) [hsuanxyz](https://github.com/hsuanxyz)
- 💄 Card 操作面板颜色与主体颜色统一。[#25722](https://github.com/ant-design/ant-design/pull/25722)
- ⌨️ 提升 Alert/message/notification 组件的可访问性。[#25774](https://github.com/ant-design/ant-design/pull/25774)
- 🇭🇰 新增 zh_HK 本地化。[#25731](https://github.com/ant-design/ant-design/pull/25731) [@wuchu](https://github.com/wuchu)
- 🇩🇪 改进 de_DE 本地化。[#25823](https://github.com/ant-design/ant-design/pull/25823) [@LukeTimeWalker](https://github.com/LukeTimeWalker)
## 4.4.3
`2020-07-20`
@ -35,7 +80,7 @@ timeline: true
- 🛠 调整 Alert 组件关闭动画实现移除直接的 dom 操作。[#dd8e9f8](https://github.com/ant-design/ant-design/commit/dd8e9f8) [@Yunfly](https://github.com/Yunfly)
- Select
- 🐞 修正了 Select 在搜索时纵向位移的问题。[#25536](https://github.com/ant-design/ant-design/pull/25536) [@07akioni](https://github.com/07akioni)
- 🐞 修正了 Select 在搜索时纵向位移的问题。[#25536](https://github.com/ant-design/ant-design/pull/25536)
- 💄 增加 `@select-item-selected-color` 以控制 Select 选项选中时的颜色。[#25476](https://github.com/ant-design/ant-design/pull/25476)
- 🐞 修复 Form.Item 警告 `preserve` 是无效 dom 属性的问题。[#25518](https://github.com/ant-design/ant-design/pull/25518)
- 🐞 修复当 Card 组件无边框时封面图边距的问题。[#25515](https://github.com/ant-design/ant-design/pull/25515) [@yutingzhao1991](https://github.com/yutingzhao1991)

View File

@ -14969,7 +14969,7 @@ exports[`ConfigProvider components InputNumber configProvider 1`] = `
aria-label="Increase Value"
class="config-input-number-handler config-input-number-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -14996,7 +14996,7 @@ exports[`ConfigProvider components InputNumber configProvider 1`] = `
aria-label="Decrease Value"
class="config-input-number-handler config-input-number-handler-down"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"
@ -15049,7 +15049,7 @@ exports[`ConfigProvider components InputNumber configProvider componentSize larg
aria-label="Increase Value"
class="config-input-number-handler config-input-number-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -15076,7 +15076,7 @@ exports[`ConfigProvider components InputNumber configProvider componentSize larg
aria-label="Decrease Value"
class="config-input-number-handler config-input-number-handler-down"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"
@ -15129,7 +15129,7 @@ exports[`ConfigProvider components InputNumber configProvider componentSize midd
aria-label="Increase Value"
class="config-input-number-handler config-input-number-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -15156,7 +15156,7 @@ exports[`ConfigProvider components InputNumber configProvider componentSize midd
aria-label="Decrease Value"
class="config-input-number-handler config-input-number-handler-down"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"
@ -15209,7 +15209,7 @@ exports[`ConfigProvider components InputNumber configProvider virtual and dropdo
aria-label="Increase Value"
class="ant-input-number-handler ant-input-number-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -15236,7 +15236,7 @@ exports[`ConfigProvider components InputNumber configProvider virtual and dropdo
aria-label="Decrease Value"
class="ant-input-number-handler ant-input-number-handler-down"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"
@ -15289,7 +15289,7 @@ exports[`ConfigProvider components InputNumber normal 1`] = `
aria-label="Increase Value"
class="ant-input-number-handler ant-input-number-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -15316,7 +15316,7 @@ exports[`ConfigProvider components InputNumber normal 1`] = `
aria-label="Decrease Value"
class="ant-input-number-handler ant-input-number-handler-down"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"
@ -15369,7 +15369,7 @@ exports[`ConfigProvider components InputNumber prefixCls 1`] = `
aria-label="Increase Value"
class="prefix-InputNumber-handler prefix-InputNumber-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -15396,7 +15396,7 @@ exports[`ConfigProvider components InputNumber prefixCls 1`] = `
aria-label="Decrease Value"
class="prefix-InputNumber-handler prefix-InputNumber-handler-down"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"

View File

@ -91,6 +91,12 @@
opacity: 1;
}
}
&-placeholder {
> input {
color: @input-placeholder-color;
}
}
}
// Size

View File

@ -2458,7 +2458,7 @@ exports[`renders ./components/form/demo/nest-messages.md correctly 1`] = `
aria-label="Increase Value"
class="ant-input-number-handler ant-input-number-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -2485,7 +2485,7 @@ exports[`renders ./components/form/demo/nest-messages.md correctly 1`] = `
aria-label="Decrease Value"
class="ant-input-number-handler ant-input-number-handler-down"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"
@ -3937,7 +3937,7 @@ exports[`renders ./components/form/demo/size.md correctly 1`] = `
aria-label="Increase Value"
class="ant-input-number-handler ant-input-number-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -3964,7 +3964,7 @@ exports[`renders ./components/form/demo/size.md correctly 1`] = `
aria-label="Decrease Value"
class="ant-input-number-handler ant-input-number-handler-down"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"
@ -4833,7 +4833,7 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
aria-label="Increase Value"
class="ant-input-number-handler ant-input-number-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -4860,7 +4860,7 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = `
aria-label="Decrease Value"
class="ant-input-number-handler ant-input-number-handler-down"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"
@ -6885,7 +6885,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
aria-label="Increase Value"
class="ant-input-number-handler ant-input-number-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -6912,7 +6912,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
aria-label="Decrease Value"
class="ant-input-number-handler ant-input-number-handler-down"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"
@ -7303,7 +7303,7 @@ exports[`renders ./components/form/demo/without-form-create.md correctly 1`] = `
aria-label="Increase Value"
class="ant-input-number-handler ant-input-number-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -7330,7 +7330,7 @@ exports[`renders ./components/form/demo/without-form-create.md correctly 1`] = `
aria-label="Decrease Value"
class="ant-input-number-handler ant-input-number-handler-down"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"

View File

@ -11,7 +11,7 @@ exports[`renders ./components/input-number/demo/basic.md correctly 1`] = `
aria-label="Increase Value"
class="ant-input-number-handler ant-input-number-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -38,7 +38,7 @@ exports[`renders ./components/input-number/demo/basic.md correctly 1`] = `
aria-label="Decrease Value"
class="ant-input-number-handler ant-input-number-handler-down"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"
@ -92,7 +92,7 @@ exports[`renders ./components/input-number/demo/digit.md correctly 1`] = `
aria-label="Increase Value"
class="ant-input-number-handler ant-input-number-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -119,7 +119,7 @@ exports[`renders ./components/input-number/demo/digit.md correctly 1`] = `
aria-label="Decrease Value"
class="ant-input-number-handler ant-input-number-handler-down"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"
@ -174,7 +174,7 @@ Array [
aria-label="Increase Value"
class="ant-input-number-handler ant-input-number-handler-up ant-input-number-handler-up-disabled"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -202,7 +202,7 @@ Array [
aria-label="Decrease Value"
class="ant-input-number-handler ant-input-number-handler-down ant-input-number-handler-down-disabled"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"
@ -271,7 +271,7 @@ Array [
aria-label="Increase Value"
class="ant-input-number-handler ant-input-number-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -298,7 +298,7 @@ Array [
aria-label="Decrease Value"
class="ant-input-number-handler ant-input-number-handler-down"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"
@ -350,7 +350,7 @@ Array [
aria-label="Increase Value"
class="ant-input-number-handler ant-input-number-handler-up ant-input-number-handler-up-disabled"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -377,7 +377,7 @@ Array [
aria-label="Decrease Value"
class="ant-input-number-handler ant-input-number-handler-down"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"
@ -435,7 +435,7 @@ exports[`renders ./components/input-number/demo/size.md correctly 1`] = `
aria-label="Increase Value"
class="ant-input-number-handler ant-input-number-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -462,7 +462,7 @@ exports[`renders ./components/input-number/demo/size.md correctly 1`] = `
aria-label="Decrease Value"
class="ant-input-number-handler ant-input-number-handler-down"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"
@ -513,7 +513,7 @@ exports[`renders ./components/input-number/demo/size.md correctly 1`] = `
aria-label="Increase Value"
class="ant-input-number-handler ant-input-number-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -540,7 +540,7 @@ exports[`renders ./components/input-number/demo/size.md correctly 1`] = `
aria-label="Decrease Value"
class="ant-input-number-handler ant-input-number-handler-down"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"
@ -591,7 +591,7 @@ exports[`renders ./components/input-number/demo/size.md correctly 1`] = `
aria-label="Increase Value"
class="ant-input-number-handler ant-input-number-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -618,7 +618,7 @@ exports[`renders ./components/input-number/demo/size.md correctly 1`] = `
aria-label="Decrease Value"
class="ant-input-number-handler ant-input-number-handler-down"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"

View File

@ -11,7 +11,7 @@ exports[`InputNumber rtl render component should be rendered correctly in RTL di
aria-label="Increase Value"
class="ant-input-number-handler ant-input-number-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -38,7 +38,7 @@ exports[`InputNumber rtl render component should be rendered correctly in RTL di
aria-label="Decrease Value"
class="ant-input-number-handler ant-input-number-handler-down"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"

View File

@ -365,7 +365,7 @@ Array [
aria-label="Increase Value"
class="ant-input-number-handler ant-input-number-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -392,7 +392,7 @@ Array [
aria-label="Decrease Value"
class="ant-input-number-handler ant-input-number-handler-down"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"
@ -1443,7 +1443,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
aria-label="Increase Value"
class="ant-input-number-handler ant-input-number-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -1470,7 +1470,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
aria-label="Decrease Value"
class="ant-input-number-handler ant-input-number-handler-down"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"

View File

@ -276,7 +276,7 @@ exports[`renders ./components/slider/demo/input-number.md correctly 1`] = `
aria-label="Increase Value"
class="ant-input-number-handler ant-input-number-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -304,7 +304,7 @@ exports[`renders ./components/slider/demo/input-number.md correctly 1`] = `
aria-label="Decrease Value"
class="ant-input-number-handler ant-input-number-handler-down ant-input-number-handler-down-disabled"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"
@ -395,7 +395,7 @@ exports[`renders ./components/slider/demo/input-number.md correctly 1`] = `
aria-label="Increase Value"
class="ant-input-number-handler ant-input-number-handler-up"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="up"
@ -423,7 +423,7 @@ exports[`renders ./components/slider/demo/input-number.md correctly 1`] = `
aria-label="Decrease Value"
class="ant-input-number-handler ant-input-number-handler-down ant-input-number-handler-down-disabled"
role="button"
unselectable="unselectable"
unselectable="on"
>
<span
aria-label="down"

View File

@ -183,6 +183,14 @@
cursor: not-allowed;
}
&&-disabled &-btn,
&&-disabled &-remove {
&:focus,
&:active {
color: @disabled-color;
}
}
& &-remove .@{iconfont-css-prefix} {
margin: 0;
}

View File

@ -1,6 +1,6 @@
{
"name": "antd",
"version": "4.4.3",
"version": "4.5.0",
"description": "An enterprise-class UI design language and React components implementation",
"keywords": [
"ant",
@ -123,7 +123,7 @@
"rc-drawer": "~4.1.0",
"rc-dropdown": "~3.1.2",
"rc-field-form": "~1.8.0",
"rc-input-number": "~5.1.1",
"rc-input-number": "~6.0.0",
"rc-mentions": "~1.4.0",
"rc-menu": "~8.5.0",
"rc-notification": "~4.4.0",

View File

@ -13,10 +13,9 @@
& > .ant-menu-item,
& > .ant-menu-submenu {
min-width: 72px;
height: @header-height;
margin-right: 0;
margin-left: 0;
margin-right: 12px;
margin-left: 12px;
line-height: @header-height - @menu-item-border - 2px;
border-top: @menu-item-border solid transparent;

View File

@ -23,9 +23,11 @@
max-width: 1208px;
margin: 0 auto;
.ant-tabs-bar {
.ant-tabs-nav {
margin: 0;
&::before {
border-bottom-color: transparent;
}
.ant-tabs-tab {
padding: 21px 0;