Skip to content

Releases: DouyinFE/semi-design

v2.64.0

13 Aug 04:28
Compare
Choose a tag to compare
  • 【Feat】
    • 新增 颜色选择器 ColorPicker 组件,用户快速选择颜色,支持滴管屏幕取色 #2218
  • 【Fix】
    • 修复 Tooltip triggerDOM 特殊场景下未定义的问题 commit

  • 【Feat】
    • Added the ColorPicker component, which allows users to quickly select colors and supports eyedropper screen color selection. #2218
  • 【Fix】
    • Fix Tooltip triggerDOM not defined in some case commit

v2.63.1

29 Jul 04:05
Compare
Choose a tag to compare

v2.63.0

26 Jul 09:56
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 TimePicker 在 onChangeWithDateFirst false 情况下为先选后一个时间导致 invalid time value 问题 #2376
  • 【Style】
    • 修复 Cascader 在无选项情况下,emptyContent 在hover时,背景色会超出弹出层区域 #2377
    • 修复 Sass 版本大于等于 1.77.7,不推荐使用嵌套规则后的声明问题 #2366 #2370
    • 增加 Upload 组件中上传错误的 icon 的 font-size 设置的优先级,防止因为编译后 css 文件顺序导致生效的 font-size 不一致问题 #2372
  • 【Chore】
    • 修复 Form 中 formAPI 缺少 getFormProps 类型定义问题 #2367

  • 【Fix】
    • fix the issue that when TimePicker selects a later time first, the invalid time value will be caused when onChangeWithDateFirst is false #2376
  • 【Style】
    • Fixed the problem that when Cascader has no options and the emptyContent is hovering, the background color will exceed the popup layer area.
    • fixed the problem that the use of declarations after nested rules is currently deprecated in Sass(version >= 1.77.7) #2366
    • Increase the priority of the font-size settings of uploaded wrong icons in the Upload component to prevent font-size inconsistencies in effect due to the order of compiled css files.
  • 【Chore】
    • Fix the problem of missing getFormProps type definition in formAPI in Form#2367

v2.63.0-beta.0

22 Jul 09:16
Compare
Choose a tag to compare
v2.63.0-beta.0 Pre-release
Pre-release
  • 【New Component】
    • 新增 Chat 组件用于渲染对话列表 #2248
  • 【Fix】
    • 修复 Form ArrayField addWithInitValue 时未对入参 clone做作用域隔离的问题 #2351
    • 修复 Upload 使用 renderThumbnail 搭配 Image 组件使用时,宽高度恒定的问题 #2343
  • 【Feat】
    • Form 新增 stopPropagation 可用于阻止嵌套Form场景下,submit 、reset事件同时在多级容器触发的问题 #2355
    • Upload 支持 afterUpload 中 return url 修改预览链接 #2346

  • 【New Component】
    • Added Chat component for rendering conversation list #2248
  • 【Feat】
    • Form adds stopPropagation to prevent the issue of submit and reset events triggering in multiple levels of containers at the same time in nested Form scenarios #2355
    • Upload support afterUpload return url modification preview link #2346
  • 【Fix】
    • Fixed Form ArrayField addWithInitValue without scope isolation for imported parameter cloning #2351
    • Fixed the problem that the width and height are constant when using renderThumbnail with the Image component in Upload #2343

v2.62.1

16 Jul 12:10
Compare
Choose a tag to compare
  • 【Fix】
    • 修复 TreeSelect 启用 showFilteredOnly 并且搜索框在 trigger 中的 treeSelect 面板,在搜索后再次打开显示不正确问题 #2345
    • 修复 Upload 使用 renderThumbnail 搭配 Image 组件使用时,宽高度恒定的问题 #2343 #2344
    • 修复 Form 未透传 id 属性到 form 元素 DOM 的问题

  • 【Fix】
    • Fixed the issue that when TreeSelect enables showFilteredOnly and the search box is in the trigger, the treeSelect panel does not display correctly when it is opened again after searching #2345
    • Fixed the issue that when Upload uses renderThumbnail with the Image component, the width and height remain constant #2343
    • Fixed the issue that Form does not pass the id attribute to the form element DOM

v2.62.0

12 Jul 09:36
Compare
Choose a tag to compare
  • 【Fix】
    • Carousel 仅有一个 children 且 autoPlay 为 true 时不执行任何切换操作 #2334
    • 修复 Modal 在 getPopupContainer 中如果返回 document.body 异常的问题 #2335
    • 修复 Table 在 dataSource 为空时,存在非预期的 borderRadius 的问题 #2337
  • 【Chore】
    • Table Column jsx 写法支持传入 RecordType 泛型 #2314 #2320

  • 【Fix】
    • When the carousel has only one child and autoPlay is true, no switching operation is performed #2334
    • Fixed the issue that Modal returns document.body exception in getPopupContainer
    • Fix Table has unexpected borderRadius when dataSource is empty
  • 【Chore】
    • Table Column support RecordType #2314

v2.62.0-beta.0

05 Jul 09:50
Compare
Choose a tag to compare
v2.62.0-beta.0 Pre-release
Pre-release
  • 【Feat】
    • TreeSelect, Cascader 支持通过 esc 按键关闭弹出层 #2329
    • 新增验证码输入组件 pinCode 用于快速便捷输入验证码 #2130 #2209
    • 新增 Lottie 组件用于便捷渲染 Lottie 动画 #2297
    • 新增 CodeHighlight 代码高亮组件,用于高亮网页中显示代码 #2203
  • 【Style】
    • 修复 theme 为 outline 的 ButtonGroup 样式错误问题 #2328
  • 【Fix】
    • 修复 Select在 value受控时,若多个label text相同,使用reactNode写法时无法正确选中的问题 #2284 #2311
  • 【Chore】
    • 更新 Table getCheckboxProps 和 rowSelection 类型定义 #2234 #2321

  • 【Feat】
    • TreeSelect, Cascader supports closing the popup layer through the esc key
    • Added new verification code input component pinCode for quickly and conveniently entering verification codes #2130
    • Added Lottie component for convenient rendering of Lottie animations
    • Added CodeHighlight code highlighting component, used to highlight code displayed in web pages
  • 【Style】
    • Fix the problem of wrong style of ButtonGroup with theme as outline
  • 【Fix】
    • Fixed the issue that when Select value is controlled, if multiple label texts are the same, it cannot be selected correctly when using reactNode writing #2284
  • 【Chore】
    • update Table getCheckboxProps and rowSelection typings #2234

v2.61.0

24 Jun 10:35
Compare
Choose a tag to compare

🎉 2.61.0 (2024-06-24)

  • 【Docs】
    • 新增 web components 适配文档 #2313

🎉 2.61.0 (2024-06-24)

  • 【Docs】
    • Add web components adaptation docs #2313

v2.60.1

19 Jun 03:17
Compare
Choose a tag to compare

v2.61.0-beta.0

18 Jun 12:15
Compare
Choose a tag to compare
v2.61.0-beta.0 Pre-release
Pre-release
  • 【Feat】
    • Breadcrumb 支持通过 activeIndex 受控当前高亮导航项 #2301
    • Select 支持 searchPosition 配置 #2298
    • Form 组件 formApi 增加 scrollToError ,支持手动滚动至校验错误处 #2294
    • Tree、TreeSelect 增加 autoMergeValue API @LuyangFE #2233
    • Tabs 添加 arrowPosition 设置滚动折叠模式下,箭头切换器的渲染位置 #2288
    • Tabs 添加 renderArrow 用于自定义滚动折叠模式下,箭头左右切换器的渲染 #2288
    • Tabs 添加 visibleTabsStyle 用于设置滚动区域样式 #2288
    • Tabs 添加 onVisibleTabsChange 用于在 tabs 溢出时获取未隐藏的项目 #2288
    • Tabs 增加 showRestInDropdown 用于控制可折叠 Tabs Dropdown 面板的显隐 #2289
    • OverflowList 在 scroll 模式下添加 onVisibleStateChange 用于在溢出时获取未隐藏的项目 #2288
    • Avatar size 支持传入合法的 width 属性值例如 "10px" #2290
  • 【Fix】
    • 修复 Pagination 因位置变化下拉菜单位置没有跟随变化的问题 2307
    • 修复 Tooltip 在快速移动下,可能由于 React 未正确触发 onMouseLeave 导致的未消失的问题 #2306
    • Table 组件配置 virtualized 虚拟化后 align 失效的问题。 @icwoker #2300
    • 修复单选,可搜索,搜索框在 trigger 的 TreeSelect,当 trigger 中的选中项想要展示 Tooltip 时(比如 label 为 ReactNode,并且有 Tooltip,或者使用 renderSelectedItem 自定义渲染已选项目, 其中有 Tooltip), tooltip 无法被触发问题 #2291 #2292

  • 【Feat】
    • Breadcrumb supports controlling the current highlighted navigation item through activeIndex #2301
    • Select supports searchPosition configuration #2298
    • Form component formApi adds scrollToError to support manual scrolling to the validation error #2294
    • Tree, TreeSelect add autoMergeValue API @LuyangFE #2233
    • Tabs adds arrowPosition to set the rendering position of the arrow switch in scroll collapse mode #2288
    • Tabs adds renderArrow to customize the rendering of the arrow left and right switch in scroll collapse mode #2288
    • Tabs adds visibleTabsStyle to set the scroll area style #2288
    • Tabs adds onVisibleTabsChange to get unhidden items when tabs overflow #2288
    • Tabs adds showRestInDropdown is used to control the visibility of the collapsible Tabs Dropdown panel #2289
    • OverflowList adds onVisibleStateChange in scroll mode to get non-hidden items when overflowing #2288
    • Avatar size supports passing in legal width attribute values ​​such as "10px" #2290
  • 【Fix】
    • Fix the problem of Tooltip not hide when cursor quickly moving #2306
    • Fixed the issue where the position of the drop-down menu in Pagination did not change due to position changes 2307
    • Fixed ths issue that align not work when Table is virtualized @icwoker #2300
    • Fixed the issue that the tooltip cannot be triggered when the selected item in the trigger wants to display the tooltip (for example, the label is ReactNode and there is a tooltip, or renderSelectedItem is used to customize the rendering of the selected item, which has a tooltip) in the single-select, searchable, search box in the trigger TreeSelect #2291 #2292