Skip to content

v2.71.0-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 03 Dec 12:45
· 66 commits to main since this 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