Skip to content

v2.2.0-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 17 Dec 12:01
· 3429 commits to main since this release
  • 【Feat】
    • Timeline.Item 支持 onClick #402
    • Cascader
      • 支持仅回显叶子节点,提供 leafOnly API #256
      • 支持多选时点击叶子节点即可选中,提供 enableLeafClick API #302 @btea
      • 支持自定义分隔符,提供 separator API #408
    • 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
  • 【Docs】

  • 【Feat】
    • Timeline.Item supports onClick #402
    • Cascader
      • Support only echoing leaf nodes with leafOnly API #256
      • Support click the leaf node to select it in multiple selection with enableLeafClick API #302 @btea
      • Support custom separator with separator API #408
    • Upload #342
      • Support ref.current.insert method
      • Support props showPicInfo
      • Use gap to control FileCard interval
    • Icon #260
      • Add double_chevron_left, double_chevron_right icons
      • Icon supports following the current context font size
    • 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, incoming onCompositionEnd, 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
  • 【Fix】
    • Select
      • Fixed the issue of key warning when isRenderInTag returned by Select renderSelectedItem is false #320
      • Fixed the problem that the mark tag key is missing when the warning prompts the mark when searching for the highlighted keyword in Select
    • 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 and showSizeChanger at the same time, when the total number of pages is only 1, the sizeChanger 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 to number
    • Fixed the horizontal alignment of Timeline custom dot #395 @chenc041
  • 【Docs】