Skip to content

Releases: DouyinFE/semi-design

v2.56.2

17 Apr 09:37
Compare
Choose a tag to compare
  • 【Design Token】
    • Button 修改 splitButton radius token 名称为 $radius-button_splitButtonGroup_first_topLeft$radius-button_splitButtonGroup_first_bottomLeft$radius-button_splitButtonGroup_last_topRight$radius-button_splitButtonGroup_last_bottomRight Token

  • 【Design Token】
    • Button change splitButton radius token name to $radius-button_splitButtonGroup_first_topLeft$radius-button_splitButtonGroup_first_bottomLeft$radius-button_splitButtonGroup_last_topRight$radius-button_splitButtonGroup_last_bottomRight Token

v2.56.1

16 Apr 07:01
Compare
Choose a tag to compare
  • 【Design Token】
    • Button 增加 $radius-splitButtonGroup_first_topLeft$radius-splitButtonGroup_first_bottomLeft$radius-splitButtonGroup_last_topRight$radius-splitButtonGroup_last_bottomRight Token

  • 【Design Token】
    • Button Add $radius-splitButtonGroup_first_topLeft$radius-splitButtonGroup_first_bottomLeft$radius-splitButtonGroup_last_topRight$radius-splitButtonGroup_last_bottomRight Token

v2.56.0

12 Apr 09:47
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 Locale ro 语言类型定义与其他语言不一致问题 #2157
    • 修复使用 js 省略的 Typography 组件,children 为 模版字符串时的显示异常及省略异常 #2167 #2169
    • 修复 Select filter 在未选中任何项时,高度不正确的问题。(影响版本 v2.56.0-beta.0) #2159
    • 修复 Typography 单行 css 省略的精确性问题 #1731 #2089
  • 【Docs】
    • 数据可视化文档更新 #2165

  • 【Fix】
    • fix the problem of inconsistency between Locale ro language type definition and other languages
    • Fix the display exception and omission exception when the Typography component is omitted by js and children is a template string #2167
    • Fixed Select filter height not as expected when empty. (Affected version v2.56.0-beta.0)
    • fix Typography single-line css omission accuracy issue #1731
  • 【Docs】
    • Data visualization documentation updates

v2.56.0-beta.0

03 Apr 07:42
Compare
Choose a tag to compare
v2.56.0-beta.0 Pre-release
Pre-release
  • 【Feat】
    • WebComponent 场景支持:clickOutSide 增加对 Shadow DOM 场景的支持,涉及组件包括 AutoComplete、Calendar、Cascader、DatePicker、Select、TagInput、TimePicker、Tooltip、TreeSelect @changlin2569 #1381
    • WebComponent 场景支持:通过 :host, :host-context 伪类选择器将 css variable 注入 shadow dom,保障 Shadow DOM 下的 Semi 组件样式正确 #2142
    • Backtop 点击增加 throttle,防止duration内重复触发 @OnlyWick #2125
  • 【Fix】
    • 修复 Typography 单行 css 省略的精确性问题 #1731
    • 修复 Select 多选且 filter 开启的情况下,选择多行后,最后一行的标签垂直间隔于其他行不同的问题 #1667
  • 【Style】
    • 修复 Form.RadioGroup 在 type=button/card 时与普通 RadioGroup的高度不一致的样式问题 @nekocode #1954
    • 修复 RadioGroup 在父级若有 overflow:hidden 的情况下选中后样式不对的问题 @nekocode #2126
  • 【Design token】
    • Select 增加 $height-select_multiple_input_small$height-select_multiple_input_default$height-select_multiple_input_large 三个 token 可用于指定开启搜索时的 input 的高度 #2151

  • 【Feat】
    • WebComponent Support:clickOutSide add support for Shadow DOM scenarios,involving components: AutoComplete、Calendar、Cascader、DatePicker、Select、TagInput、TimePicker、Tooltip、TreeSelect @changlin2569 #1381
    • WebComponent Support:Inject the css variable into the shadow dom through the :host, :host-context pseudo-class selectors to ensure that the Semi component style under the shadow dom is correct. #2142
    • Backtop click to increase throttle to prevent repeated triggering within duration. @OnlyWick
  • 【Fix】
    • Fixed Typography single-line css omission accuracy issue #1731
    • Fixed the issue where the label of the last row is vertically spaced differently from other rows after selecting multiple rows when Select is multi-selected and filter is turned on. #1667
  • 【Style】
    • Fixed the style issue where the height of Form.RadioGroup is inconsistent with that of the normal RadioGroup when type=button/card @nekocode #1954
    • Fixed the style issue where the style of RadioGroup is incorrect after being selected if the parent has overflow:hidden @nekocode #2126
  • 【Design token】
    • Select add $height-select_multiple_input_small$height-select_multiple_input_default$height-select_multiple_input_large used to specify the height of the input when searching is enabled #2151

v2.55.5

02 Apr 07:27
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 Tree 组件中 checkRelation 为 unRelated 时,由于 value 不在 treeData 中导致的类型错误
    • 修复受控 Cascader 中 value 不在 TreeData 内时的类型错误
    • 修复 slider 在一些场景下 tooltip 在 鼠标移走时不自动隐藏的问题 (影响范围 2.49.0 ~ 2.55.4 )

  • 【Fix】
    • Fixed a type error caused by value not being in treeData when checkRelation in the Tree component is unRelated.
    • Fix type error in controlled Cascader where value is not in TreeData
    • Fixed the problem of slider tooltip not automatically hiding when the mouse is moved in some scenarios (Affected version 2.49.0 ~ 2.55.4)

v2.55.3

01 Apr 04:12
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 Select 多选开启 onChangWithObject 且 value 受控,当前value 并不存在于 optionList 中,更新了 value中的其他属性后渲染未重新执行的问题

  • 【Fix】
    • Fixed the problem that when onChangWithObject is turned on for Select multi-selection and value is controlled, the current value does not exist in the optionList, and the rendering is not re-executed after updating other properties in the value.

v2.55.1

25 Mar 12:15
Compare
Choose a tag to compare

🔧【Fix】
Fix: 修复 collapse & collapsible keepDOM 失效的问题 (影响版本 2.54.0-beta.0 ~ 2.55.0)
Fix:修正 collapse 的 lazyRender 默认值,由 2.54.0 设置的 true 改为更合适的 false,保持未设置 lazyRender的用例与 2.54前行为的一致性 (影响版本 2.54.0-beta.0 ~ 2.55.0)

v2.55.0

22 Mar 10:24
Compare
Choose a tag to compare

【Fix】

  • 修复 Table 表头选择状态在数据为空时错误被选中问题(影响 v2.51 ~ v2.54版本) #2128
  • 修复 Split Button 在 children Button className 变化时丢失样式的问题

v2.55.0-beta.0

18 Mar 12:37
Compare
Choose a tag to compare
v2.55.0-beta.0 Pre-release
Pre-release
  • 【Fix】
    • 修复 TabBar 在 SSR 时渲染为空 @nekocode
    • 修复由于 Sortable 的默认拖拽感应延迟时间过长导致 Transfer 在快速拖动时拖拽不成功问题
    • 修复 Nav 在 selectedKeys 变化后 openKeys 未保存上一次状态问题(影响 v2.54.1)#2115
  • 【Chore】
    • 升级 webpack、rspack构建插件,支持消费在 Semi DSM 中配置的自定义 css 配置,可用于将覆写的 CSS 或任意与 Semi 组件无关的 css 聚进主题包样式

  • 【Fix】
    • fix TabBar rendering as empty in SSR @nekocode
    • Fixed the problem that Transfer failed to drag during fast drag due to Sortable's default drag sensing delay time being too long.
    • Fixed the problem of openKeys not saving the last state after Nav changed selectedKeys (Affects v2.54.1) #2115
  • 【Chore】
    • Upgraded webpack and rspack build plug-ins to support consuming custom css configuration configured in Semi DSM, which can be used to aggregate overridden CSS or any css unrelated to Semi components into theme package styles

v2.54.1

11 Mar 08:54
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 Navigation 组件在 react 17 下 selectedKeys 未生效问题
    • 修复 Navigation 组件 openKeys 在 selectedKeys 更新后未生效问题

  • 【Fix】
    • fixed Navigation component selectedKeys bug in react 17
    • fixed Navigation component openKeys does not work after selectedKeys is updated