- ๐ฅ Refactored the DatePicker component, details are follows. #46982
- ๐ DatePicker adds
multiple
to support multiple selection capabilities. - ๐ DatePicker supports
showWeek
attribute. - ๐ DatePicker.RangePicker supports
order
attribute. - ๐ DatePicker
id
attribute under RangePicker supports setting theid
of thestart
andend
input boxes separately. - ๐ DatePicker
onFocus
andonBlur
events of RangePicker will additionally provide aninfo.range
to inform which input box the current focus comes from. - ๐ DatePicker add matching
pickerValue
anddefaultPickerValue
attributes to control the date where the expanded panel is located. - ๐ DatePicker add the
preserveInvalidOnBlur
attribute to keep the input content when losing focus in the case of accessibility. - ๐ DatePicker
format
supports thealign
attribute, allowing input content through the mask mode. - ๐ DatePicker Support
required
attribute. - ๐ DatePicker time panel supports
scrollOnChange
to automatically select the corresponding time when scrolling. - ๐ DatePicker add the
needConfirm
attribute to allow setting the confirmation or non-confirmation submission mode. - ๐ DatePicker add the
components
attribute to allow customizing some panels. - ๐ DatePicker all date-related information in the panel will allow configuration through
locale
. - ๐ DatePicker
format
supportsLT
andLTS
date formats. - ๐ DatePicker add
minDate
andmaxDate
to set the panel switching range. - ๐ DatePicker
defaultPickerValue
will now be reset each time the panel is expanded. - ๐ DatePicker fix the problem that the input box function key will trigger the pop-up box, now it will only be triggered when the interactive key and the input content change.
- ๐ DatePicker Losing focus after entering the date through the input box will submit the change instead of losing the input content (that is, it is no longer necessary to press Enter to submit).
- ๐ DatePicker fix the problem that the
hour
obtained bydisabledTime
underuse12Hours
will also be clipped to 0~12. - ๐ DatePicker fix the problem that the disabled date is not effective and can still be submitted under some interactions.
- โก๏ธ DatePicker Optimize
disabledDate
check logic, now it will provideinfo.type
to inform the current panel information. - ๐ DatePicker
allowClear
trigger event fromonMouseDown
toonClick
. - ๐ DatePicker Deprecate the
preventDefault
parameter ofonKeyDown
, please call it directly throughevent.preventDefault
. - ๐ DatePicker Remove the keyboard interaction with the panel, it needs to be redesigned based on accessibility.
- ๐ DatePicker Remove the dotted line style of RangePicker to reduce visual interference.
- ๐ DatePicker Remove the disabled range of RangePicker when selecting start or end time to optimize the interaction experience.
- ๐ DatePicker adds
- ๐ฅ Added support for stacked fixed columns in the Table component. #47245
- ๐ Added support for
components.body
in the Table component under thevirtual
mode. #47098 by @linxianxi - ๐ Added support for generics in the Segmented
value
type. #47091 by @madocto - ๐ Added the
changeOnWheel
property to the InputNumber component to enable mouse wheel control. #47158 by @MadCcc - ๐ Added six tokens (
defaultHoverBg
,defaultHoverColor
,defaultHoverBorderColor
,defaultActiveBg
,defaultActiveColor
, anddefaultActiveBorderColor
) to the Button component. #47075 by @madocto - ๐ Added
duration
configuration support to theuseNotification
function in the Notification component. This update also applies to thenotification
configuration of the App component. #47141 - ๐ Added support for configuring
flex
property in responsive layouts of the Grid component. #47124 - ๐ Improved the Transfer internal padding of the Pagination component. #47231 by @qmhc
- ๐ Fixed the alignment issue in the Avatar component when the height is less than 16px. #47236 by @lcgash
- ๐ Fixed the incorrect mouse pointer when the Input component is disabled. #47280 by @MadCcc
- ๐ Fixed the issue where the
hoverBorderColor
andactiveBorderColor
token customization didn't work in the Input component. #47243 by @MadCcc - ๐ Fixed the issue where the hover style of submenus in the Menu component disappears at the edges. #47227 by @MadCcc
- ๐ Menu fixed component styling issues in non-hash mode. #46609 by @MadCcc
- ๐ Added
classNames
andstyles
properties to the Card component. #46811 by @zh-lx - ConfigProvider
- ๐ Added support for
selectionsIcon
in the Transfer component to ConfigProvide. #47301 by @li-jia-nan - ๐ Added support for
addIcon
andmoreIcon
in the Tabs component to ConfigProvide. #47274 by @li-jia-nan - ๐ Added support for
closeIcon
in the Image component to ConfigProvide. #47252 by @li-jia-nan - ๐ Added support for
closeIcon
in the Tag component to ConfigProvide. #47250 by @li-jia-nan - ๐ Added support for
closeIcon
in the Notification component to ConfigProvide. #47244 by @li-jia-nan - ๐ Added support for
closeIcon
in the Modal component to ConfigProvide. #47226 by @li-jia-nan - ๐ Added support for
expandIcon
in the Table component to ConfigProvide. #47225 by @li-jia-nan - ๐ Added support for
closeIcon
in the Tour component to ConfigProvide. #47200 by @li-jia-nan - ๐ Added support for
icons
in the Drawer component to ConfigProvide. #46894 by @li-jia-nan - ๐ Added support for
closeIcon
in the Alert component to ConfigProvide. #47235 by @li-jia-nan
- ๐ Added support for
- ๐ฅ ้ๆไบ DatePicker ็ปไปถ๏ผ่ฏฆ็ปๆนๅจๅฆไธใ#46982
- ๐ DatePicker ๆฐๅข
multiple
ๆฏๆๅค้่ฝๅใ - ๐ DatePicker ๆฏๆ
showWeek
ๅฑๆงใ - ๐ DatePicker.RangePicker ไธ็
id
ๅฑๆงๆฏๆๅๅซ่ฎพ็ฝฎstart
ๅend
่พๅ ฅๆก็id
ใ - ๐ DatePicker.RangePicker ็
onFocus
ๅonBlur
ไบไปถไผ้ขๅคๆไพไธไธชinfo.range
ๅ็ฅๅฝๅ็็ฆ็นๆฅ่ชไบๅชไธช่พๅ ฅๆกใ - ๐ DatePicker.RangePicker ๆฏๆ
order
ๅฑๆงใ - ๐ DatePicker ๆฐๅข้
ๅฅ
pickerValue
ใdefaultPickerValue
ๅฑๆง็จไบๅๆง็ฎก็ๅฑๅผ้ขๆฟๆๅจๆฅๆใ - ๐ DatePicker ๆฐๅข
preserveInvalidOnBlur
ๅฑๆง็จไบๆ ้็ขๆถๅคฑๅป็ฆ็น้่ฆไฟ็่พๅ ฅๅ ๅฎน็ๅบๆฏใ - ๐ DatePicker
format
ๆฏๆalign
ๅฑๆง๏ผๅ ่ฎธ้่ฟๆฉ็ ๆจกๅผ่พๅ ฅๅ ๅฎนใ - ๐ DatePicker ๆฏๆ
required
ๅฑๆงใ - ๐ DatePicker ๆถ้ด้ขๆฟๆฏๆ
scrollOnChange
่ฎพ็ฝฎๆปๅจๆถ้ดๆถ่ชๅจ้ๆฉๅฏนๅบ็ๆถ้ดใ - ๐ DatePicker ๆทปๅ
needConfirm
ๅฑๆง๏ผๅ ่ฎธ่ฎพ็ฝฎ้่ฆ็กฎ่ฎคใๆ่ ไธ็กฎ่ฎค็ๆไบคๆจกๅผใ - ๐ DatePicker ๆทปๅ
components
ๅฑๆง๏ผๅ ่ฎธ่ชๅฎไน้จๅ้ขๆฟใ - ๐ DatePicker ้ขๆฟไธญๆๆ็ๆฅๆ็ธๅ
ณไฟกๆฏ้ฝไผๅ
่ฎธ้่ฟ
locale
่ฟ่ก้ ็ฝฎใ - ๐ DatePicker
format
ๆฏๆLT
ใLTS
ๆฅๆๆ ผๅผใ - ๐ DatePicker ๆฐๅข
minDate
ๅmaxDate
็จไบ่ฎพ็ฝฎ้ขๆฟๅๆข่ๅดใ - ๐ DatePicker ็
defaultPickerValue
็ฐๅจไผๅจๆฏๆฌก้ขๆฟๅฑๅผๆถ้ฝ่ฟ่ก้็ฝฎใ - ๐ DatePicker ไฟฎๅค่พๅ ฅๆกๅ่ฝๆ้ฎไผๅค่ตทๅผนๅบๆก็้ฎ้ข๏ผ็ฐๅจๅชๆๅจไบคไบๆ้ฎใไปฅๅ่พๅ ฅๅ ๅฎนๅๅๆถๅค่ตทใ
- ๐ DatePicker ้่ฟ่พๅ ฅๆก่พๅ ฅๆฅๆๅๅคฑๅป็ฆ็นไผๆไบคๅๆด๏ผ่ไธๆฏไธขๅคฑ่พๅ ฅๅ ๅฎน๏ผๅณไธๅๅผบๅถ้่ฆๆไธๅ่ฝฆๆไบค๏ผใ
- ๐ DatePicker ไฟฎๅค
use12Hours
ไธ๏ผdisabledTime
่ทๅ็hour
ไนไผ่ขซ่ฃๅชๆ 0~12 ็้ฎ้ขใ - ๐ DatePicker ไฟฎๅคๆไบไบคไบไธ๏ผ็ฆ็จๆฅๆๆฒกๆ็ๆไพ็ถๅฏไปฅๆไบค็้ฎ้ขใ
- โก๏ธ DatePicker ไผๅ
disabledDate
ๆฃๆฅ้ป่พ๏ผ็ฐๅจไผๆไพinfo.type
ๅ็ฅๅฝๅ้ขๆฟไฟกๆฏใ - ๐ DatePicker ็
allowClear
่งฆๅไบไปถไปonMouseDown
ๅๆขไธบonClick
ใ - ๐ ็งป้ค DatePicker ็้ฎ็ๅฏน้ขๆฟไบคไบ๏ผๅฎ้่ฆๅบไบๆ ้็ข้ๆฐ่ฎพ่ฎกใ
- ๐ DatePicker ๅบๅผ
onKeyDown
็preventDefault
ๅๆฐ๏ผ่ฏท็ดๆฅ้่ฟevent.preventDefault
่ฟ่ก่ฐ็จใ - ๐ DatePicker.RangePicker ็งป้ค่็บฟๆ ทๅผ๏ผๅๅฐ่ง่งๅนฒๆฐใ
- ๐ DatePicker.RangePicker ็งป้คๅจ้ๆฉๅผๅงๆ่ ็ปๆๆถ้ดๆถ็็ฆ็จ่ๅด๏ผไผๅไบคไบไฝ้ชใ
- ๐ DatePicker ๆฐๅข
- ๐ฅ Table ๆฏๆๅ ๅ ๅบๅฎๅใ#47245
- ๐ Table ๆฏๆ
virtual
ไธ็components.body
ใ#47098 @linxianxi - ๐ Segmented
value
็ฑปๅๆฏๆๆณๅใ#47091 @madocto - ๐ InputNumber ็ปไปถๆฏๆ
changeOnWheel
ๅฑๆง๏ผไปฅๅฏ็จ้ผ ๆ ๆป่ฝฎๆงๅถใ#47158 @MadCcc - ๐ Button ๆทปๅ
defaultHoverBg
ใdefaultHoverColor
ใdefaultHoverBorderColor
ใdefaultActiveBg
ใdefaultActiveColor
ๅdefaultActiveBorderColor
ๅ ญไธช tokenใ#47075 @madocto - ๐ Notification
useNotification
ๆฏๆduration
้ ็ฝฎ๏ผ่ฏฅๆดๆฐๅๆ ท้็จไบ App ็ปไปถ็notification
้ ็ฝฎใ#47141 - ๐ Grid ๆฏๆไธบๅๅบๅผๅธๅฑ้
็ฝฎ
flex
ๅฑๆงใ#47124 - ๐ ๆน่ฟ Transfer ็ปไปถๅ้กตๅจ็ๅ ่พน่ทใ#47231 @qmhc
- ๐ ไฟฎๅค Avatar ็ปไปถๅฝ้ซๅบฆๅฐไบ 16px ๅ ๅฎนไธๅฑ ไธญ็้ฎ้ขใ#47236 @lcgash
- ๐ ไฟฎๅค Input ็ปไปถ็ฆ็จๆถ้ผ ๆ ๆ้ไธๆญฃ็กฎ็้ฎ้ขใ#47280 @MadCcc
- ๐ ไฟฎๅค Input ็ปไปถ
hoverBorderColor
ๅactiveBorderColor
token ๅฎๅถๆ ๆ็้ฎ้ขใ#47243 @MadCcc - ๐ ไฟฎๅค Menu ็ปไปถๅญ่ๅ hover ๆ ทๅผๅจ่พน็ผๆถๅคฑ็้ฎ้ขใ#47227 @MadCcc
- ๐ ไฟฎๅค Menu ๅจๆ hash ๆจกๅผไธ็็ปไปถๆ ทๅผ้ฎ้ขใ#46609 @MadCcc
- ๐ Card ็ปไปถๅขๅ
classNames
ๅstyles
ๅฑๆงใ#46811 @zh-lx - ConfigProvider
- ๐ ConfigProvide ๆฏๆ Transfer ็
selectionsIcon
ใ#47301 @li-jia-nan - ๐ ConfigProvide ๆฏๆ Tabs ็
addIcon
ๅmoreIcon
ใ#47274 @li-jia-nan - ๐ ConfigProvide ๆฏๆ Image ็
closeIcon
ใ#47252 @li-jia-nan - ๐ ConfigProvide ๆฏๆ Tag ็
closeIcon
ใ#47250 @li-jia-nan - ๐ ConfigProvide ๆฏๆ Notification ็
closeIcon
ใ#47244 @li-jia-nan - ๐ ConfigProvide ๆฏๆ Modal ็
closeIcon
ใ#47226 @li-jia-nan - ๐ ConfigProvide ๆฏๆ Table ็
expandIcon
ใ#47225 @li-jia-nan - ๐ ConfigProvide ๆฏๆ Tour ็
closeIcon
ใ#47200 @li-jia-nan - ๐ ConfigProvide ๆฏๆ Drawer ็
icons
ใ#46894 @li-jia-nan - ๐ ConfigProvide ๆฏๆ Alert ็
closeIcon
ใ#47235 @li-jia-nan
- ๐ ConfigProvide ๆฏๆ Transfer ็