Skip to content

Releases: DouyinFE/semi-design

v2.75.0

24 Feb 03:10
Compare
Choose a tag to compare
  • 【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

24 Feb 03:10
Compare
Choose a tag to compare
2.75.0-beta.1 Pre-release
Pre-release
  • 【Docs】
    • List 组件拖拽 Demo 更新为用 dnd-kit 实现 #2717
  • 【Feat】
    • Upload 在图片墙场景下添加 renderPicClose 用于自定义关闭图标 #2714
    • Tree/TreeSelect 支持 expandIcon API 用于自定义展开图标 #2704 #2709
  • 【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

07 Feb 09:57
Compare
Choose a tag to compare
  • 【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

20 Jan 10:11
Compare
Choose a tag to compare
v2.74.0-beta.0 Pre-release
Pre-release
  • 【Feat】
    • Chat 组件支持 markdownRenderProps API,用于设置对话渲染的 MarkdownRender 组件 #2640 #2679
  • 【Fix】

  • 【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

13 Jan 09:39
Compare
Choose a tag to compare

  • 【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

08 Jan 02:49
Compare
Choose a tag to compare
v2.73.0-beta.1 Pre-release
Pre-release

v2.72.0

20 Dec 10:37
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 JsonViewer使用中文输入法错误的问题 #2616
    • 修复 代码提示框点击无法隐藏的问题 #2616
    • 修复多次回车导致的渲染问题 #2616
    • 修复滚动条显示异常的问题 #2623

  • 【Fix】
    • Fix the problem of JsonViewer using Chinese input method incorrectly #2616
    • Fix The problem that the code prompt box cannot be hidden when clicked #2616
    • Fixed the rendering problem caused by multiple carriage returns #2616
    • Fixed the abnormal display of the scroll bar #2623

v2.71.3

17 Dec 08:05
Compare
Choose a tag to compare

v2.72.0-beta.0

16 Dec 09:45
Compare
Choose a tag to compare
v2.72.0-beta.0 Pre-release
Pre-release
  • 【Feat】
    • Table onChange 新增 extra.changeType API,用于表示 change 类型 #1238 #2617
  • 【Fix】
    • 修复 Carousel 在 children 中渲染 state 的值不更新问题 #2634

  • 【Feat】
    • Table onChange add extra.changeType API to idetify the type of changing #1238
  • 【Fix】
    • fix render state value in Carousel children always get the init one

v2.71.2

13 Dec 06:36
Compare
Choose a tag to compare
  • 【Fix】
    • 去除 Collapsible 组件更新时多余的属性前后是否变化对比 #2631
    • 修复在 React18 下无论是否动画开启,快速移动鼠标在 tooltip trigger 上时,概率性 dom 只透明但不消失,导致无法点击页面元素的问题 #2605
    • 修复 Chat 组件 mode 动态变化未生效问题 #2625
    • 设置图片预览的 img 节点的 max-width 为 none,避免同时使用 tailwind 时放大显示错误问题 #2624

  • 【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