Skip to content

Releases: DouyinFE/semi-design

v2.52.2

19 Feb 03:53
Compare
Choose a tag to compare

Fix: 修复 ResizeObsever 在非浏览器环境不存在的问题。问题影响范围 (2.52.1, 2.53.0-beta.0)

Fix: Fix the problem that ResizeObsever does not exist in non-browser environments. Problem impact scope (2.52.1, 2.53.0-beta.0)

v2.52.1

18 Feb 09:19
Compare
Choose a tag to compare

【Fix】
修复 vite 上使用主题报错的问题,问题影响范围 (2.52.0)
🗃【Chore】
去除 ResizeObserver polyfill

🔧【Fix】
Fixed the problem of using themes on vite to report errors, the scope of the problem is (2.52.0)
🗃【Chore】
remove ResizeObserver polyfill

v2.53.0-beta.0

08 Feb 06:41
Compare
Choose a tag to compare
v2.53.0-beta.0 Pre-release
Pre-release
  • 【Perf】
    • 提升 Typography 开启 Ellipsis 下 性能,减少 render 和计算次数 #1970
    • 去除多余的 clone 操作;对于必要的克隆操作,使用 fast-copy 的 copy 调用替换 lodash 的 cloneDeep 调用。涉及组件:DatePicker,Table,OverflowList,Form,Tree,TreeSelect, Cascader #2002
  • 【Feat】
    • 支持全局设置部分组件的默认 Props #2029

  • 【Perf】
    • Improve the performance of Typography when Ellipsis is turned on, and reduce the number of renders and calculations #1970
    • Remove redundant clone operations; for necessary clone operations, use fast-copy's copy call to replace lodash's cloneDeep call. Involved components: DatePicker, Table, OverflowList, Form, Tree, TreeSelect, Cascader #2002
  • 【Feat】
    • Support global setting of default Props for some components #2029

v2.52.0

06 Feb 11:12
Compare
Choose a tag to compare
  • 【Fix】
    • Dropdown 添加 overflow-y:auto 防止设置 border-radius 时样式不正确的问题
    • 修复 Select 点击清除按钮以后,点击外部不触发 onBlur 问题 #1989
    • 修复 Image 在特殊情况下会向 undefined 地址请求的问题 #2063 @nekocode
    • 修复 timepicker value 传入 undefined 时类型错误的问题 #2066
    • 修复 Cascader 在搜索内容为英文逗号时选项面板显示全部选项问题
    • 修复多选,showClear 的 Cascader 在点击清除按钮后,选项面板没有从搜索状态切换到普通状态问题
    • 修复 Select 部分 border width token 不正确的问题
    • 修复当浮层组件的 popupCountainer 或其父级缩放后,定位不准确的问题
    • 修复 resizable Table 行选择隐藏时多出来一列 #2036
    • 修复 Datepicker 点击清除按钮后,面板年月值不会还原到初始状态问题
    • 修复 DatePicker prop value 传入非法值 NaN 触发无限更新问题 #1846
    • 修复 Select 的 renderOptionItem 入参中没有 Option 的 className 的问题
    • 修复 modal 在不打开直接卸载时候,会将 body 上原有的 overflow: hidden 删除的问题(影响范围 2.51.0~2.51.3)
  • 【Chore】
    • Form withField 引入 utility-types 的类型声明从import 改为 import type,对使用方无影响

  • 【Fix】
    • Add overflow-y:auto to Dropdown to prevent incorrect styling when setting border-radius
    • fix the problem that onBlur is not triggered when clicking outside the Select button after clicking the clear button. #1989
    • fix Image request undefined url in some case. #2063 @nekocode
    • fix timepicker value props give undefined cause type error. #2066
    • Fixed the issue where Cascader's options panel displays all options when search content is English commas
    • Fixed the problem of multi-selection and showClear's Cascader. After clicking the clear button, the options panel did not switch from the search state to the normal state.
    • Fix the issue of incorrect border width token in Select part
    • Fix the problem of inaccurate positioning when the popupCountainer of the floating layer component or its parent is scaled
    • fixed rowSelection hidden bug in resizable Table #2036
    • fix the problem that after clicking the clear button in Datepicker, the year and month values of the panel would not be restored to the initial state.
    • Fix infinite update bug triggered by passing illegal value NaN in DatePicker prop value #1846
    • Fix the problem that there is no className of Option in the renderOptionItem input parameter of Select
    • Fixed the issue where the original overflow: hidden on the body will be deleted when modal is uninstalled without opening it. (version range 2.51.0~2.51.3)
  • 【Chore】
    • Form withField introduces the type declaration of utility-types from import to import type (which has no impact)

v2.52.0-beta.0

31 Jan 08:56
Compare
Choose a tag to compare
v2.52.0-beta.0 Pre-release
Pre-release

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