Ant Design 5.8.6 is now released, the main changes are as follows:
- Optimized for CSSInJS loading styles size.
- The Notification and Message components will only insert the corresponding styles when they are displayed. #44488
- Stripped tag states and preset color styles, they are now generated only if used. #44512
- Stripped the Button compact mode style, now only generates the corresponding style when Space.Compact is used. #44475
- Remove dependencies to optimize bundle size. ant-design-icons#595
@ant-design/icons
lodash/camelCase
- Form
- Fix the problem that the Watermark component reports an error when it is an empty string. #44501
content
- Fix the problem that the selection window can still pop up when the ColorPicker is disabled. #44466
- Fixed the problem that when Transfer clicked the Checkbox, the selection behavior would sometimes be triggered twice. #44471
- Fix the problem that the scroll bar flickers when using Typography. #43058
ellipsis
- Slider
- Fix the problem that the range of the draggable area of the Slider slider is abnormal. #44503
- Optimized Slider accessibility properties. react-component/slider#859
aria-orientation
- Fix the problem that the arrow of the last item in the Steps vertical navigation step bar is not hidden. #44582
type="nav"
- TypeScript
- Fix Upload file state definition, remove unused state. #44468
success
- Fix Upload file state definition, remove unused state. #44468
Update instructions: https://github.com/ant-design/ant-design/releases/tag/5.8.6