v2.2.0-beta.0
Pre-release
Pre-release
github-actions
released this
17 Dec 12:01
·
3429 commits
to main
since this release
- 【Feat】
- Timeline.Item 支持 onClick #402
- Cascader
- Upload #342
- 支持通过 ref 调用 insert 方法
- 支持 props showPicInfo
- 使用 gap 控制 FileCard 间隔
- Icon #260
- 添加 double_chevron_left,double_chevron_right 图标
- Icon 支持跟随当前上下文字体大小
- LocaleProvider 新增西班牙语语言包 @chenjunxyf
- Select 新增 inputProps ,便于用户在 filter 为 true 时可实现一些特殊功能。例如传入 onCompositionEnd,onKeyDown 事件监听等
- DatePicker #260
- 新增年份切换按钮
- 优化范围选择交互逻辑,避免出现两个面板是相同月份场景
- 【Fix】
- Select
- 修复 Select renderSelectedItem 返回的 isRenderInTag 为 false 时会报 key 的 warning 的问题 #320
- 修复 Select 搜索高亮关键字时 warning 提示 mark 标签 key 缺失的问题
- 修复 Cascader multiple+disabled 时标签样式与设计稿不符 #400
- 修复 Description type='plain' 时,key 或 itemKey 为 node 时渲染不正确的问题 #406
- 修复 Pagination 同时使用 hideOnSingePage 与 showSizeChanger 时,总页数只有1时,sizeChanger 会消失无法再切换的问题 #252
- 修复 通过 webpack plugin variables 方式定义 Select 组件 Design Token 时不生效的问题 #375 @summerstream
- 修复 Rating 组件设置 size 为 number 后 UI 错误
- 修复 Timeline 自定义 dot 水平对齐的问题 #395 @chenc041
- Select
- 【Docs】
- 完善 semi-ui package.json @chenc041
- 【Feat】
- Timeline.Item supports
onClick
#402 - Cascader
- Upload #342
- Support
ref.current.insert
method - Support props
showPicInfo
- Use
gap
to control FileCard interval
- Support
- Icon #260
- Add
double_chevron_left
,double_chevron_right
icons - Icon supports following the current context font size
- Add
- LocaleProvider added
Spanish
language pack @chenjunxyf - Select added
inputProps
, which is convenient for users to realize some special functions when filter is true. For example, incomingonCompositionEnd
,onKeyDown
event monitoring, etc. - DatePicker #260
- Add year switch buttons
- Optimize the scope selection interaction logic to avoid scenes where the two panels are the same month
- Timeline.Item supports
- 【Fix】
- Select
- Fixed the issue of key warning when
isRenderInTag
returned by SelectrenderSelectedItem
isfalse
#320 - Fixed the problem that the
mark
tagkey
is missing when the warning prompts the mark when searching for the highlighted keyword in Select
- Fixed the issue of key warning when
- Fixed that the label style does not match the design draft when Cascader is
multiple
+disabled
#400 - Fixed the problem of incorrect rendering when the key or itemKey is node when Description
type='plain'
#406 - Fixed the issue that when Pagination uses
hideOnSingePage
andshowSizeChanger
at the same time, when the total number of pages is only 1, thesizeChanger
will disappear and can no longer be switched #252 - Fixed the issue that the design token of the Select component does not take effect when defining the Select component through Webpack plugin variables #375 @summerstream
- Fixed the UI error after setting the
size
of the Rating component tonumber
- Fixed the horizontal alignment of Timeline custom dot #395 @chenc041
- Select
- 【Docs】
- Improve
semi-ui
package.json @chenc041
- Improve