A collection of essential UI components written with React.
Alert
和 Input
组件图标按钮的图标大小为 20px
Full Changelog: https://github.com/youzan/zent/compare/v9.12.7...v9.12.9
Button
组件渲染为 <a>
标签,并且设置了 disabled
属性时,不再设置 href
属性withErrorBoundary
的 onError
类型问题Full Changelog: https://github.com/youzan/zent/compare/v10.0.3...v10.0.4
Full Changelog: https://github.com/youzan/zent/compare/v10.0.2...v10.0.3
Select
新增 renderCollapsedContent
自定义渲染收起内容AnimateHeight
修复当设置 appear
为 true
,height
为 auto
的时候没有动画的问题Full Changelog: https://github.com/youzan/zent/compare/v10.0.0...v10.0.2
Cascader
searchable
时,也支持了placeholderFull Changelog: https://github.com/youzan/zent/compare/v10.0.0...v10.0.1-rc.0
Cascader
searchable
时,也支持了placeholderFull Changelog: https://github.com/youzan/zent/compare/v9.12.7...v9.12.8-rc.0
详细更新内容参见 v10迁移指南。
Input
iconPosition
来确定 icon
的位置icon
,点击和 hover 时增加背景色Full Changelog: https://github.com/youzan/zent/compare/v10.0.0-rc.8...v10.0.0-rc.9
Tree
selectable
默认值修改为true
small
、large
尺寸下同层级节点位置未对齐的样式问题selectable
相关文档、demo更新Button
outline
模式下修复hover
背景色为#fffCascader
option
文字没有加粗Form
vertical
变更导致的demo样式布局错位Cascader
simplifySelectionMode
判断simplifySelection
时是否包含disabled
的路径Sortable
empty
的问题Notice
overflow-y: hidden
,解决下方阴影显示不完全的问题Placeholder
Grid
expandation
中新增 isExpandable
API,支持配置可展开图标显示 #1895tableLayout
API,支持设置 table 的 tableLayout
属性tableLayout
,但是配置了 scroll
或者 ellipsis
属性时,设置 tableLayout
为 fixed
,解决一些单元格对齐问题word-break
,解决一些单元格对齐问题Full Changelog: https://github.com/youzan/zent/compare/v10.0.0-rc.7...v10.0.0-rc.8
Cascader
simplifySelectionMode
判断simplifySelection
时是否包含disabled
的路径Sortable
empty
的问题Notice
overflow-y: hidden
,解决下方阴影显示不完全的问题Placeholder
Grid
expandation
中新增 isExpandable
API,支持配置可展开图标显示 #1895tableLayout
API,支持设置 table 的 tableLayout
属性tableLayout
,但是配置了 scroll
或者 ellipsis
属性时,设置 tableLayout
为 fixed
,解决一些单元格对齐问题word-break
,解决一些单元格对齐问题Full Changelog: https://github.com/youzan/zent/compare/v9.12.6...v9.12.7