Skip to content

Releases: DouyinFE/semi-design

v2.51.4

31 Jan 12:28
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 Cascader 在 keyEntities 中的 key 生成规则变化后,triggerRender 的参数中的value 参数和原来不一致问题(影响范围 2.51.0~2.51.3)#2051

  • 【Fix】
    • Fixed the problem that after Cascader's key generation rules in keyEntities changed, the value parameter in triggerRender's parameters was inconsistent with the original one (Affected Scope 2.51.0~2.51.3) #2051

v2.51.3

19 Jan 10:11
Compare
Choose a tag to compare

v2.51.2

19 Jan 07:23
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 TextArea autosize 未监听文本域宽度变化 #2026
    • 修复受控 DatePicker dateTimeRange + needConfirm 时选择一个日期时输入框回显错误 #2024
    • 修复 ImagePreview 组件在预览时点击关闭按钮边缘时触发 onClose/onPreview 两次问题 #2027

  • 【Fix】
    • Fixed TextArea autoSize is not work when textarea resize #2026
    • Fixed controlled DatePicker input value is wrong when type is dateTimeRange and needConfirm is opened #2024
    • Fixed the problem of triggering onClose/onPreview twice when clicking the edge of the close button in the preview state in the ImagePreview component #2027

v2.51.1

18 Jan 06:26
Compare
Choose a tag to compare

v2.51.0

12 Jan 11:02
Compare
Choose a tag to compare
  • 【Fix】
    • 修复有 maxLength的 TextArea 在中文输入时,点击外部触发 blur,回显内容不符合 maxLength 设置问题 #2005
    • 修复 Cascader 中 autoMergeValue 为 false, value 为 [] 时的 typeError #2017
  • 【Style】
    • ImagePreview 预览层的默认 zIndex 从 1000 调整为 1070

  • 【Fix】
    • Fixed the problem that when a TextArea with maxLength is input in Chinese, clicking outside triggers blur, and the echoed content does not comply with the maxLength setting #2005
    • Fix typeError in Cascader when autoMergeValue is false and value is [] #2017
  • 【Style】
    • The default zIndex value of ImagePreview's preview layer is adjusted from 1000 to 1070

v2.51.0-beta.0

09 Jan 12:28
Compare
Choose a tag to compare
v2.51.0-beta.0 Pre-release
Pre-release
  • 【Feat】
    • Dropdown.Item 支持透传 data-* 属性到 dom
    • ImagePreview 增加 previewCls,previewStyle 用于设置预览的样式
    • Image 增加 onClick API
  • 【Perf】
    • 优化 Cascader 在多选,leafOnly,可搜索,受控情况下在千级叶子节点量级时被选中出现卡顿问题 #1999
  • 【Fix】
    • 修复 Table 所有行全选且禁用时表头选择未选中问题 #2001
    • 修复配置了 onSelectWithObject 的受控 AutoComplete 在点击 clear 清空按钮时报错的问题 #2013
    • 修复 Image 在未展示时也默认创建 portal DOM节点的问题 #2004
    • 修复 Image 的 closable 参数不生效问题

  • 【Feat】
    • Dropdown.Item supports transparent transmission of data-* attributes to dom
    • ImagePreview adds previewCls and previewStyle for setting the preview style
    • Image adds onClick API
  • 【Perf】
    • Optimize Cascader's stuck problem when thousand-level leaf nodes are selected under multi-selection, leafOnly, searchable, and controlled conditions #1999
  • 【Fix】
    • Fixed the problem that the table header is not selected when all rows of Table are selected and disabled #2001
    • Fixed the issue where the controlled AutoComplete configured with onSelectWithObject reported an error when clicking the clear button #2013
    • Fixed the problem of creating portal DOM node by default when Image is not displayed #2004
    • Fixed the problem that the closable parameter of Image does not take effect

v2.50.1

04 Jan 07:23
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 Tree 在支持 showLine 后, renderFullLabel 时缩进错误问题(影响范围:v2.50.0)#2007
    • 修复 Tree 在支持 showLine 后, rtl 模式下连接线和选项文字部分重合问题(影响范围:v2.50.0)#2007
  • 【Style】
    • 修复 BreadCrumb 中 active 项 font-weight 错误问题 (影响范围 v2.47-2.50)#2008

  • 【Fix】
    • Fix the indentation error problem when renderingFullLabel after Tree supports showLine(scope of impact: v2.50.0)#2007
    • After Tree supports showLine, the connection line and option text partially overlap in rtl mode (scope of impact: v2.50.0) #2007
  • 【Style】
    • Fix the font-weight error of the active item in BreadCrumb(scope of impact: v2.47-2.50) #2008

v2.50.0

02 Jan 07:40
Compare
Choose a tag to compare
  • 【Fix】
    • ImagePreview 中图片初次加载,zoom 改变不需要通过 onZoomIn/onZoomOut 回调透出 #2000
    • 修复在图片预览时切换图片触发意外的 onRotateLeft 回调

  • 【Fix】
    • When images in ImagePreview is loaded for the first time, Zoom changes do not need to be exposed through onZoomIn/onZoomOut
      callbacks #2000
    • Fixed the issue of unexpected onRotateLeft callback being triggered when switching images during image preview

v2.50.0-beta.0

26 Dec 13:26
Compare
Choose a tag to compare
v2.50.0-beta.0 Pre-release
Pre-release
  • 【Feat】
    • Tree, TreeSelect 新增 showLine api。 #1801 @Yan-XiaoMing
    • Table 列支持自定义排序 icon
  • 【Style】
    • 修改 Tree/TreeSelect 的选项每行缩进的 CSS 实现,对于缩进层级大于 20层的,不再有限制。 @Yan-XiaoMing
  • 【Fix】
    • 修复 Notification 的 Id 类型不正确的问题

  • 【Feat】
  • 【Style】
    • Modify the CSS implementation of the indentation of each line of the Tree/TreeSelect option. There is no limit to the indentation level greater than 20 levels. @Yan-XiaoMing
  • 【Fix】
    • fix the problem that types of Id in Notification is not correct.

v2.49.2

26 Dec 12:43
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 Select 在单选情况下,点击外部后再次选择选项失败问题(影响范围 v2.49.0)
    • 修复受控 expandedKeys 的 TreeSelect 中,showFilteredOnly 不生效问题 #1542
    • 修复 DatePicker 类型为 monthRange 时,限制日期范围不符合预期问题。
    • 修复在全局设置box-sizing 为 border-box后,vertical 的basic step 样式错误问题 #1985
    • 去除 TreeSelect/Select 的triggerRender的props 的可选类型设置 #532
    • Notification.addNotice() 现在使用通过 Notification.config() 设置的全局配置 @lideming

  • 【Fix】
    • fix the problem of Select failing to select option after clicking outside when the selection is radio (scope of impact v2.49.0)
    • Fixed the problem that showFilteredOnly does not take effect in TreeSelect controlled expandedKeys #1542
    • fixed the problem that when the DatePicker type is monthRange, the limited date range does not meet the expectations.
    • Fixed vertical basic step style error when setting box-sizing to border-box globally. #1985
    • Remove the optional type setting of props of triggerRender of TreeSelect/Select #532
    • Notification.addNotice() now uses the default config provided to Notification.config() @lideming