Skip to content

Releases: DouyinFE/semi-design

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

v2.71.1

11 Dec 09:41
Compare
Choose a tag to compare

v2.71.0

06 Dec 10:13
Compare
Choose a tag to compare
  • 【Fix】
    • 对于非展示状态的 Tooltip,页面尺寸变化时不做位置计算 #2606

  • 【Fix】
    • For invisible Tooltips, position calculation is not performed when resizing #2606

v2.70.2

04 Dec 07:22
Compare
Choose a tag to compare

v2.71.0-beta.0

03 Dec 12:45
Compare
Choose a tag to compare
v2.71.0-beta.0 Pre-release
Pre-release
  • 【New Component】
    • 新增 DragMove 组件,通过拖拽改变定位 #2595
    • 新增 JsonViewer 组件,支持百万行级 JSON 数据的展示与编辑 #2561
  • 【Feat】
    • Table 新增 shouldCellUpdate API,用于自定义单元格的是否需重新渲染 #2584
    • Cascader 支持 checkRelation API 用于设置选项关联性 #2582
    • Highlight Highlight 支持针对不同关键字使用不同高亮样式 #2600
    • @douyinfe/semi-icons-lab 增加新图标: IconChart、IconChat、IconCodeHighlight、IconLottie、IconMarkdown、IconPincode、IconVersionOne、IconWebComponents、IconJsonViewer #2583
  • 【Chore】
    • 修改 @douyinfe/semi-icons 中 SVG Path 数字精度,保留两位小数,全量图标 min 包体积 450 kb -> 278kb #2583
    • 修改 @douyinfe/semi-illustrations SVG Path 数字精度,保留两位小数,减少构建体积,全量插画 min 包体积 283k -> 165k #2602
    • 修复 Lottie 组件类型报错问题 #2593
  • 【Perf】
    • Select renderOption 相关的逻辑推迟在候选项展示后再执行, 减少不必要的渲染 #2598
  • 【Fix】
    • 修复 js 省略 的Typography 未设置宽度时,省略计算错误问题 #2591
    • 修复 MarkdownRender 的 table 在一些 markdown 内容语法不正确时候的报错, 增加兜底尝试 #2590

  • 【New Component】
    • Add DragMove Component,Change the positioning by dragging. #2595
    • Add JsonViewer Component,support the display and editing of JSON data at the million-line level. #2561
  • 【Feat】
    • Table added shouldCellUpdate API, which is used to customize whether cells need to be re-rendered or not. #2584
    • Cascader supports the checkRelation API for setting the relevance of options #2582
    • Highlight supports using different highlight styles for different keywords #2600
    • @douyinfe/semi-icons-lab add new color icons: IconChart、IconChat、IconCodeHighlight、IconLottie、IconMarkdown、IconPincode、IconVersionOne、IconWebComponents、IconJsonViewer #2583
  • 【Chore】
    • The digital precision of the SVG path in @douyinfe/semi-icons has been modified, keeping two decimal places. The volume of the minimized package for all icons has been reduced from 450 kb to 278 kb #2583
    • The digital precision of the SVG path in @douyinfe/semi-illustrations has been modified, keeping two decimal places. The volume of the minimized package for all icons has been reduced from 283k -> 165k #2602
    • Fixed type error reporting for the Lottie component #2593
  • 【Perf】
    • The logic related to Select's renderOption will be postponed until after the candidate options are displayed. Reduce unnecessary rendering. #2598
  • 【Fix】
    • Fixed the problem of incorrect ellipsis calculation when the width of Typography with ellipsis in JavaScript is not set. #2591
    • Fix the error reporting of the table in MarkdownRender when the syntax of some markdown content is incorrect, and add a fallback attempt. #2590

v2.70.1

25 Nov 03:26
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 Chat 组件对话框中的文件 url 错误导致点击文件无法正确打开文件问题 #2589

  • 【Fix】
    • Fixed the problem that the URL of the file attachment in the Chat component's dialog box was incorrect, causing the file to fail to open when clicking on the file #2589

v2.70.0

22 Nov 10:14
Compare
Choose a tag to compare