Releases: DouyinFE/semi-design
Releases · DouyinFE/semi-design
v2.53.3
- 【Fix】
- 修复 Avatar border 类型错误的问题
- 【Fix】
- Fix Avatar border type error
v2.54.0-beta.0
- 【Feat】
- Toast 组件支持 theme 全局配置 @LonelySnowman #2099
- Collapsible 组件新增 lazyRender 属性 @changlin2569 #2100
- Descriptions 组件支持横向布局 @LonelySnowman #1534
- Cascader 支持通过 ref 调用 search 方法 #2098
- ImagePreview 增加 onDownLoadError 回调 API #2093
- 【Fix】
- 【Feat】
- Toast component supports theme global configuration @LonelySnowman #2099
- Collapsible adds lazyRender API @changlin2569 #2100
- Descriptions component supports horizontal layout @LonelySnowman #1534
- Cascader supports calling the search method through ref #2098
- ImagePreview adds onDownLoadError callback API #2093
- 【Fix】
v2.53.2
v2.53.1
- 【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
- 【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
- 【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
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)