From 3de0acabd1ce9b781bc2dfaabb1c3a5d6e8f819f Mon Sep 17 00:00:00 2001 From: HeskeyBaozi Date: Sun, 2 Sep 2018 18:39:35 +0800 Subject: [PATCH] use rc-calendar@~9.7.0 --- components/date-picker/RangePicker.tsx | 1 + components/date-picker/WeekPicker.tsx | 1 + components/date-picker/createPicker.tsx | 1 + package.json | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/components/date-picker/RangePicker.tsx b/components/date-picker/RangePicker.tsx index 904d602054..8af5f52c40 100644 --- a/components/date-picker/RangePicker.tsx +++ b/components/date-picker/RangePicker.tsx @@ -320,6 +320,7 @@ class RangePicker extends React.Component { type="close-circle" className={`${prefixCls}-picker-clear`} onClick={this.clearSelection} + theme={'filled'} /> ) : null; diff --git a/components/date-picker/WeekPicker.tsx b/components/date-picker/WeekPicker.tsx index 9c71faacb9..f3b5c78ff4 100644 --- a/components/date-picker/WeekPicker.tsx +++ b/components/date-picker/WeekPicker.tsx @@ -115,6 +115,7 @@ class WeekPicker extends React.Component { type="close-circle" className={`${prefixCls}-picker-clear`} onClick={this.clearSelection} + theme={'filled'} /> ) : null; const input = ({ value }: { value: moment.Moment | undefined }) => { diff --git a/components/date-picker/createPicker.tsx b/components/date-picker/createPicker.tsx index 6d61c4c539..a27201519e 100644 --- a/components/date-picker/createPicker.tsx +++ b/components/date-picker/createPicker.tsx @@ -162,6 +162,7 @@ export default function createPicker(TheCalendar: React.ComponentClass): any { type="close-circle" className={`${prefixCls}-picker-clear`} onClick={this.clearSelection} + theme={'filled'} /> ) : null; diff --git a/package.json b/package.json index 0d362052ef..affc3ce8f6 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "prop-types": "^15.5.7", "raf": "^3.4.0", "rc-animate": "^2.4.1", - "rc-calendar": "~9.6.0", + "rc-calendar": "~9.7.0", "rc-cascader": "~0.16.0", "rc-checkbox": "~2.1.5", "rc-collapse": "~1.10.0",