Skip to content

Releases: DouyinFE/semi-design

v2.8.2

19 Apr 08:27
Compare
Choose a tag to compare

v2.9.0-beta.0

18 Apr 13:59
Compare
Choose a tag to compare
v2.9.0-beta.0 Pre-release
Pre-release
  • 【Feat】
  • 【Fix】
    • 更新 Avatar 文本内容居中方式,由绝对定位改为由父级布局居中 #774
    • 修复Slider组件受控情况下点击滑轨部分仍然可以触发值变更的问题 #768
    • 修复 Badge 不能搭配 Tooltip使用的问题 #761
    • 修复validateStatus类型检查缺少success #746 @rojer95

  • 【Feat】
  • 【Fix】
    • Update the centering method of Avatar text content, from absolute positioning to centering by the parent layout #774
    • fix controlled slider component can still trigger value change by clicking track. #768
    • Fixed an issue where Badge could not be used with Tooltip #761
    • fix validateStatus type check lack success #746 @rojer95

v2.8.0

08 Apr 10:13
Compare
Choose a tag to compare
  • 【fix】
    • 升级 @douyinfe/semi-ui 依赖的react-sortable-hoc版本(v1.11.0 -> v2.0.0),解决 pnpm场景下使用react 17时,由于unmeet peerDependency 中 react版本未满足的报错问题, #747

  • 【fix】
    • Upgrade the react-sortable-hoc version (v1.11.0 -> v2.0.0) that @douyinfe/semi-ui depends on, to solve the problem of unmeet peerDependency when using react 17 in the pnpm scenario, the react version is not satisfie, #747

v2.8.0-beta.1

03 Apr 15:27
Compare
Choose a tag to compare
v2.8.0-beta.1 Pre-release
Pre-release
  • 【Fix】
    • 修复 Select 搜索时因为字符未转义导致报错的问题 #734 @boenfu

  • 【Fix】
    • Fixed error throw due to unescaped characters during Select search #734 @boenfu

v2.8.0-beta.0

02 Apr 10:45
Compare
Choose a tag to compare
v2.8.0-beta.0 Pre-release
Pre-release
  • 【Fix】
    • 修复 useNotification 每次获得ID都相同的问题
    • 修复当inputnumber初始值为空时,如果设置了precision,内容会被初始化为0且进行精度格式化的问题 @rojer95
    • 修复 DatePicker defaultPickerValue 传数字时面板渲染错误问题 #735
  • 【Feat】
    • Popover 新增 A11y 键盘和焦点适配 #205
  • 【Style】
    • Form Label的extra 元素CSS样式调整:display: block -> flex,修复 extra中放置 Icon时未居中对齐的问题 #324

  • 【Fix】
    • fix the problem that useNotification gets the same ID every time
    • fix InputNumber value be formated when precision is set and defaultvalue is empty @rojer95
    • Fixed the panel rendering error when DatePicker defaultPickerValue passes numbers #735
  • 【Feat】
    • Popover adds A11y keyboard and focus adaptation #205
  • 【Style】
    • Adjust the CSS style of the extra element of Form Label: display: block -> flex, fix the problem of not centering alignment when placing Icon in extra #324

v2.7.1

30 Mar 08:09
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 Button 点击后聚焦样式问题(影响2.5.0 ~ 2.7.0,Safari 兼容性有问题,其行为与 2.5.0 之前一致)#730
    • 修复 Tooltip 在组件卸载后仍然执行 setState 问题 #727

  • 【Fix】
    • Fixed focus style issue after Button is clicked (Affects 2.5.0 ~ 2.7.0, there is a problem with Safari compatibility, its behavior is the same as before 2.5.0) #730
    • Fixed Tooltip still execute setState after component unmounted #727

v2.7.0

25 Mar 09:07
Compare
Choose a tag to compare
  • 【Perf】
    • 优化 Select多选且配置了 maxTagCount时,renderSelectedItem的执行次数 #709
  • 【Chore】
    • useFormApi 增加泛型传入 @so2liu
  • 【Fix】
    • 修复 RadioGroup value 为 NaN 时,触发 Maximum update depth exceeded 的问题 #712 @oddguan
    • 修复 TreeSelect 展开节点后若垂直方向剩余空间不足,未自动调整展开方向的问题

  • 【Chore】
    • useFormApi add generic support @so2liu
  • 【Perf】
    • Optimized the number of executions of renderSelectedItem when multiple selection is selected and maxTagCount is configured #709
  • 【Fix】
    • Fixed the problem that when radio-group's value is NaN, "Maimum update depth exceeded" is triggered #712 @oddguan
    • Fixed the problem that if the remaining space in the vertical direction is insufficient after TreeSelect expands the node, the expansion direction is not automatically adjusted

v2.7.0-beta.0

18 Mar 10:26
Compare
Choose a tag to compare
v2.7.0-beta.0 Pre-release
Pre-release
  • 【Fix】
    • 修复 Cascader 在单选且非搜索模式下,label 为 ReactNode 时,trigger 异常显示 [object object] 的问题。 #592
    • ButtonGroup 支持 className #704 @yaogengzhu
    • 修复 Tree 组件 value 在初始时会影响节点的展开,而更新 treeData后,却不会再影响节点的展开 #257
    • 修复 TreeSelect 非完全受控问题 #328
  • 【Feat】
    • DatePicker 支持内嵌样式输入框 #294
    • TreeSelect onSearch 新增 filterExpandedKeys 参数 #328

  • 【Fix】
    • Fix the problem where the trigger unexpectedly display [object object] when Cascader was in single-select and non-search mode, and the label was ReactNode. #592
    • ButtonGroup support calssName props #704 @yaogengzhu
    • Fixed that the value of the Tree component will affect the expansion of the node at the beginning, but after updating the treeData, it will no longer affect the expansion of the node #257
    • fix expandedKeys of TreeSelect is not completely controlled #328
  • 【Feat】
    • DatePicker supports inset input in panel #294
    • TreeSelect add filterExpandedKeys parameter for onSearch #328

v2.6.0

11 Mar 09:56
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 Table 展开任意行时其他展开行会重复渲染问题 #686
    • 修复 Navigation limitIndent 为 false 时的缺失 key 的警告 #679
    • 修复 Tag 有父级包裹时,父元素存在 3px 留白问题 #518 @yangjiaxin1995

  • 【Fix】
    • Fixed the problem that when Table expands any row, other expanded rows will be rendered repeatedly #686
    • Fixed navigation lacking key warning, when limitIndent is false #679
    • Fixed the problem that the parent element has 3px blank space when the Tag has a parent package #518 @yangjiaxin1995

v2.5.1

08 Mar 08:23
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 Tooltip content 中组件无法 autoFocus 的问题 #675

  • 【Fix】
    • Fixed Tooltip content autoFocus unexpected behavior #675