Releases: DouyinFE/semi-design
Releases · DouyinFE/semi-design
v2.52.2
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
【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
- 【Perf】
- 【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
- 【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
v2.51.4
- 【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
v2.51.2
- 【Fix】
- 【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
v2.51.0
- 【Fix】
- 【Style】
- ImagePreview 预览层的默认 zIndex 从 1000 调整为 1070
- 【Fix】
- 【Style】
- The default zIndex value of ImagePreview's preview layer is adjusted from 1000 to 1070