Skip to content

Releases: DouyinFE/semi-design

v2.53.2

26 Feb 07:40
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 React ResizeObserver 里访问空元素的错误 @nekocode

  • 【Fix】
    • fix the error accessing empty element in React ResizeObserver @nekocode

v2.53.1

26 Feb 04:02
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 TimePicker 中同时使用 timeZone 和 disabledHours 时显示值不符合预期问题

  • 【Fix】
    • the problem that when using timeZone and disabledHours at the same time in TimePicker, the displayed value does not meet the expectations

v2.53.0

23 Feb 09:55
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 Sidesheet Portal 在 visible 不显示的时候仍然挂载的问题
    • 修复 TagInput 的 onKeyDown 参数类型定义错误问题
    • 修复 Cascader 的 treeData 中 value 类型为 number 则面板未显示选中问题(影响范围 v2.51.0-v2.52.2)
    • 修复 ResizeObsever 在非浏览器环境不存在的问题。问题影响范围(2.52.1,2.53.0-beta.0)
    • 修复 vite 上使用主题报错的问题,问题影响范围 (2.52.0)
  • 【Docs】
    • 修复 Tabs 组件文档中的 tabPosition 参数类型错误 @miyuesc
  • 【Chore】
    • 去除 ResizeObserver polyfill

  • 【Fix】
    • Fixed the issue where Sidesheet Portal is still mounted when visible is not displayed
    • Fix the problem of incorrect definition of onKeyDown parameter type of TagInput
    • fix the problem that the panel does not display the selection if the value type is number in Cascader's treeData (Affected range v2.51.0-v2.53.2)
    • Fix the problem that ResizeObsever does not exist in non-browser environments. Problem impact scope (2.52.1,2.53.0-beta.0)
    • Fixed the problem of using themes on vite to report errors, the scope of the problem is (2.52.0)
  • 【Docs】
    • Fix tabPosition parameter type error in Tabs component documentation @miyuesc
  • 【Chore】
    • remove ResizeObserver polyfill

v2.52.3

22 Feb 07:54
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 Cascader 的 treeData 中 value 类型为 number 则面板未显示选中问题(影响范围 v2.51.0-v2.52.2)

  • 【Fix】
    • Fix the problem that the panel does not display the selection if the value type is number in Cascader's treeData (Affected range v2.51.0-v2.53.2)

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