Releases: DouyinFE/semi-design
Releases · DouyinFE/semi-design
v2.75.0
- 【Design Token】
- Select 新增 $color-select_prefix_suffix_text-default, Cascader 新增 $color-cascader_prefix_suffix_text-default, TreeSelect 新增 $color-treeSelect_prefix_text-default 用于控制控制前后缀颜色。另外,将前后缀的 font-size 和 font-weight 的设置和 insetLabal的设置保持统一(注意:修改前后样式有变化) #2721
- 【Fix】
- 修复 Chrome v133 版本无障碍渲染 aria 属性 Bug 导致的点击 DatePicker 月份选择器后 Chrome 崩溃问题 #2723
- 修复 Resizable 无法在触摸屏使用问题 #2697 #2712
- 去除 Typography 中过时 React 语法ReactDOM.render() 的使用,改为其他方式清空用于测试合适省略长度的容器 #2699
- 修复 Form 使用 formApi.scrollToField时,若页面存在多个 Form,且 Field 同名时,仅可滚动到首个同名 Field DOM 的问题 #2719
- 修复 Form.InputGroup 仅配置 extraText,未配置 extraPosition时,extraText未能正确显示的问题 #2719
- 【Chore】
- 修复 Form formApi.scrollToError TS 类型定义错误的问题 #2719
- 【Design Token】
- Select adds $color-select_prefix_suffix_text-default, Cascader adds $color-cascader_prefix_suffix_text-default, and TreeSelect adds $color-treeSelect_prefix_text-default to control the prefix and suffix colors. In addition, keep the font-size and font-weight settings of the prefix and suffix consistent with the settings of insetLabal (Note: There are changes in styles before and after modification) #2721
- 【Fix】
- Fixed the bug where the accessibility rendering of aria attributes in Chrome v133 caused Chrome to crash after clicking the month selector of the DatePicker #2723
- Fixed the issue that Resizable could not be used on touchscreens #2697 #2712
- Removed the use of the outdated React syntax ReactDOM.render() in Typography and replaced it with other methods to clear the container used for testing the appropriate ellipsis length #2699
- Fixed the problem that when using formApi.scrollToField in Form, if there are multiple Forms on the page and the fields have the same name, only the DOM of the first field with the same name can be scrolled to #2719
- Fixed the problem that when only extraText is configured in Form.InputGroup and extraPosition is not configured, extraText cannot be displayed correctly #2719
- 【Chore】
- Fix the problem of the TypeScript type definition error of Form formApi.scrollToError.#2719
2.75.0-beta.1
- 【Docs】
- List 组件拖拽 Demo 更新为用 dnd-kit 实现 #2717
- 【Feat】
- 【Fix】
- 修复 Pagination 的页容量切换器在多语言场景无法切换语言问题 #2696 #2698
- 修复 PinCode 组件 format='number' 情况下,iOS端输入被打断问题(输入一个数字后,自动从数字/字符键盘切换到字母键盘) @SaltyfishEd #2702
- 【Docs】
- List component drag demo updated to use dnd-kit
- 【Feat】
- add renderPicClose to custom close icon under listType picture
- Tree/TreeSelect supports expandIcon API for customizing the expand icon #2704
- 【Fix】
- Fixed the problem that Pagination's page capacity switcher cannot switch languages correctly in multi-language scenarios #2696
- fix iOS input interruption in PinCode component with format='number' (switches from number/character to letter keyboard after input a digit) @SaltyfishEd
v2.74.0
- 【Fix】
- 修复 List 组件 dataSource 为空时被 Spin 组件遮挡问题 @LonelySnowman #2693
- 修复 TreeSelect 在开启搜索并且 treeData 为 undefined 时,关闭面板时候的 TypeError #2694
- 修复类型为 basic 的 Steps icon 和 title 未与 line 居中对齐问题 #2688 #2689
- 修复单选,可搜索的 Select 在面板打开状态下失去焦点后,无法再次通过点击 trigger 聚焦问题 #2668
- 修复 AudioPlayer倍速弹出层样式白边问题 @anjiazhuyouxing #2685
- AudioPlay 组件内部 ref 使用修改,兼容其他框架@rashagu #2673
- 【Fix】
- Fix the issue where the List component's dataSource is empty and it is covered by the Spin component. @LonelySnowman
- Fix the TypeError when closing the panel of the TreeSelect component when search is enabled and treeData is undefined
- fixed the issue that the Steps icon and title of type basic were not centered with the line #2688
- Fixed the problem that after the single-select and searchable Select loses focus when the panel is open, it cannot be focused again by clicking the trigger.
- Fixed the white edge issue of the AudioPlayer speed pop-up box style @anjiazhuyouxing
- The internal ref usage of the AudioPlay component is modified to be compatible with other frameworks @rashagu
v2.74.0-beta.0
- 【Feat】
- 【Fix】
- 修复JsonViewer输入小写z无效的问题 @anjiazhuyouxing #2680
- 【Feat】
- The Chat component supports the markdownRenderProps API, which is used to set the MarkdownRender component for message rendering. #2640
- 【Fix】
- fixed the issue that the lowercase z input in JsonViewer is invalid @anjiazhuyouxing
v2.73.0
- 【Fix】
- 修复 JsonViewer 未配置默认参数问题 @anjiazhuyouxing #2670
- 修复 JsonViewer 是否重新init的判断条件 @rashagu #2667
- 【Fix】
- Fix the problem that JsonViewer is not configured with default parameters @anjiazhuyouxing
- Fix JsonViewer the judgment condition for whether to re-init. @rashagu
v2.73.0-beta.1
v2.72.0
- 【Fix】
v2.71.3
v2.72.0-beta.0
v2.71.2
- 【Fix】
- 【Fix】
- Remove redundant calculations to determine whether the properties have changed when the Collapsible component is updated. #2631
- Fixed the issue where in react18, regardless of whether animation is on or not, when the mouse is quickly moved over the tooltip trigger, the DOM would become transparent but not disappear, causing the page element to be unclickable #2605
- Fixed the problem that the dynamic mode change of the Chat component did not take effect #2625
- Set the max-width of the img node of the image preview to none to avoid enlargement display errors when using tailwind at the same time. #2624