Skip to content

Releases: DouyinFE/semi-design

v2.20.2

27 Sep 07:06
Compare
Choose a tag to compare

v2.20.1

27 Sep 06:46
Compare
Choose a tag to compare
  • 【Style】
    • Image 全局 sass 变量加上 !default 用于主题配置容错 #1151

  • 【Style】
    • Image global variable plus !default is used for theme configuration fault tolerance #1151

v2.20.0

23 Sep 12:35
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 Form.InputGroup 不支持 FormProps.wrapperCol 、 labelCol 布局的问题
    • 修复 Image 预览放大后拖拽问题
    • 修复 DataPicker 组件 foundation 中包含 React 相关类型定义问题 @rashagu
    • 修复 Navigation、Tree组件 foundation 在高版本typescript中报错问题 @rashagu
    • 修复受控 Tree 在远程加载数据时展开不成功 #1124
    • 修复 ButtonGroup 未支持 style API 问题
    • 修复虚拟化 Table 在有左边固定列时,首次渲染左边固定列会有多余的 box-shadow 问题 #1134

  • 【Fix】
    • fix the issue that Form.InputGroup does not support FormProps.wrapperCol , labelCol layout
    • fix the drag and drop problem after the Image preview is enlarged
    • fix DataPicker component foundation contains React related type definitions @rashagu
    • fix the problem that the foundation of Navigation and Tree components reports errors in high versions of typescript @rashagu
    • fix the expansion of the controlled tree when the data was loaded remotely unsuccessfully #1124
    • fix ButtonGroup does not support style API issue
    • fix the problem that when the virtualized Table has a fixed column on the left, the first rendering of the fixed column on the left will have an extra box-shadow #1134

v2.20.0-beta.1

20 Sep 03:46
Compare
Choose a tag to compare
v2.20.0-beta.1 Pre-release
Pre-release

v2.20.0-beta.0

19 Sep 12:14
Compare
Choose a tag to compare
v2.20.0-beta.0 Pre-release
Pre-release
  • 【New Component】
    • 新增 Image 组件 #344
  • 【Feat】
    • Tag 新增 shape 选择,可选 square、circle #89
    • Progress 支持根据进度自动填充渐变颜色,根据进度预设自动切换颜色 #1092 @uiuing
    • Toast 支持新增通过 ID 动态修改内容 #1035 @gwsbhqt
    • Skeleton.Avatar 支持 shape属性 #1117 @MuxinFeng
  • 【Chore】
    • 移除 @douyinfe/semi-ui 发包产物中的ts源码,仅保留 lib、dist目录
    • 修改部分组件 scss 的写法,将除法转换为乘法及math.div语法,避免 sass 高版本编译时重复抛出 warning 的问题

  • 【New Component】
    • Add Image Component #344
  • 【Feat】
    • Tag add shape property, supports squarecircle #89
    • Progress supports automatically filling gradient colors according to progress, and automatically switching colors according to progress presets #1092 @uiuing
    • Toast supports dynamic modification of content by ID #1035 @gwsbhqt
    • Skeleton.Avatar supports shape property #1117 @MuxinFeng
  • 【Chore】
    • Remove the ts source code in the package product of @douyinfe/semi-ui, leaving only the lib and dist directories
    • Modify the writing of some components scss, convert division into multiplication and math.div syntax, to avoid the problem of repeatedly throwing warnings when compiling higher versions of sass

v2.19.0

09 Sep 10:42
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 Anchor 间距可触发选中后,键盘聚焦样式被遮挡问题
    • 修复面板关闭时, Select onblur事件未被触发问题
    • 修复锚点组件的子节点单行文本前面的空白处,点击不能选中的问题 @edc-hui
    • 修复 Calendar weekStartsOn 改变后,事件渲染的位置没有跟着改变问题
    • 修复在 DropDown 中使用 Input,Input onEnterPress 事件不生效问题
    • 修复 tagGroup 污染传入 tagList 数据问题 #1107
    • 修复 当 datepicker 的 type 为 dateTime 时,切换年月会导致时间部分被重置为8点 @rojer95
  • 【Chore】
    • 移除 semi-foundation 、semi-ui中的 corejs 依赖

  • 【Fix】
    • fix the issue that the keyboard focus style is blocked after the Anchor spacing can trigger the selection
    • fixed the issue that the Select onblur event was not triggered when the panel was closed
    • fix Anchor spacing in front of anchor text cannot trigger selection @edc-hui
    • fix the problem that the location of event rendering did not change after Calendar weekStartsOn was changed
    • fix the problem that Input onEnterPress event does not take effect when using Input in DropDown
    • fix the problem that tagGroup pollutes incoming tagList data #1107
    • fix DatePicker time will be set 8:00 when switch month and type is dateTime @rojer95
  • 【Chore】
    • Remove corejs deps in semi-foundation semi-ui.

v2.19.0-beta.0

05 Sep 13:49
Compare
Choose a tag to compare
v2.19.0-beta.0 Pre-release
Pre-release
  • 【Feat】
    • Popconfirm onOk、onCancel支持 Promise 类型返回值,异步关闭 #1056
  • 【Fix】
    • 修复 Popconfirm 多行内容样式错误 #868
    • 修复 DefaultTabBar 类型有误 #1077
    • 修复 Form 级别设置 autoComplete 为 false 出现 TS 报错问题
    • 修复 Slider 在传入部分 steps 值时定位显示不正确的问题, #1043
    • 修复 Tag tagKey 类型定义错误问题 #1081
    • 修复 RadioGroup 第一次渲染时 value 不正确问题 #1060
  • 【Style】
    • Sidesheet body 添加 overflow: auto 默认样式,内容超出时不再需要自行通过 props.bodyStyle 添加 overflow相关样式 #1098
  • 【Refactor】
    • 使用 flex 布局和 gap 替换 Checkbox 中的 margin 布局 #1073
    • ButtonGroup 中的分割线使用 span 标签代替 border-right #1065
    • 重构了 Radio 的布局,去掉了一些绝对定位,使用 flex 布局代替 #1060
  • 【Breaking Change】
    • 使用 CheckboxGroup 时,如果给子级 Checkbox 嵌套一层 div 或者 span 等元素,这时 Checkbox 将不带 margin-bottom。单独给每个 Checkbox 嵌套元素样式上不受影响 #1073

  • 【Feat】
    • Popconfirm's onOk and onCancel support Promise type return value and close asynchronously #1056
  • 【Fix】
    • Fix Popconfirm multiline content style bug #868
    • Fix DefaultTabBar type error #1077
    • Fix the TS error when the Form level is set to autoComplete to false
    • Fix an issue where Slider was incorrectly positioned when passing in partial steps values #1043
    • Fix Tag tagKey type definition error problem #1081
    • Fix incorrect value when RadioGroup was first rendered #1060
  • 【Style】
    • Add overflow: auto default style to Sidesheet body, you no longer need to add overflow related styles through props.bodyStyle when the content exceeds #1098
  • 【Refactor】
    • Replace margin layout in Checkbox with flex layout and gap #1073
    • Dividers in ButtonGroup use span tags instead of border-right #1065
    • Refactored Radio's layout, removed some absolute positioning, and used flex layout instead #1060
  • 【Breaking Change】
    • When using CheckboxGroup, if the child Checkbox is nested with a layer of elements such as div or span, then the Checkbox will not have margin-bottom. Styling each Checkbox nested element individually is unaffected #1073

v2.18.2

29 Aug 09:22
Compare
Choose a tag to compare

v2.18.1

29 Aug 06:46
Compare
Choose a tag to compare

v2.18.0

26 Aug 12:26
Compare
Choose a tag to compare
  • 【Feat】
    • Checkbox & Radio 增加 type API
  • 【Chore】
    • 移除semi-animation-react 的 peerDependences : react-dom、react、prop-type
  • 【Fix】
    • 修复 Tabs collapse模式在某些宽度下会反复横跳,导致闪烁不停的问题 #1039
    • 修复Transfer的emptyContent参数的left不生效 #1068
    • 修复 React 18 createRoot + strictMode 严格模式下, 使用 useFormApi 得到空值问题 #1063
  • 【Docs】
    • Popover / Popconfirm / Dropdown 新增 FAQ

  • 【Feat】
    • Add type API for Checkbox & Radio
  • 【Chore】
    • Remove semi-animation-react's peerDependences : react-dom, react, prop-type
  • 【Fix】
    • Fix tabs collapse mode will flush in some screen #1039
    • Fix the left of the emptyContent parameter of Transfer does not take effect #1068
    • Fix use useFormApi to get null value problem under React 18 createRoot + strictMode #1063
  • 【Docs】
    • Popover / Popconfirm / Dropdown added FAQ