Releases: DouyinFE/semi-design
Releases · DouyinFE/semi-design
v2.59.0
v2.58.1
- 【Design Token】
- Tabs 新增
$font-tabs_bar_large-fontSize
$font-tabs_bar_medium-fontSize
$font-tabs_bar_small-fontSize
- Tabs 新增
- 【Design Token】
- Tabs add
$font-tabs_bar_large-fontSize
$font-tabs_bar_medium-fontSize
$font-tabs_bar_small-fontSize
- Tabs add
v2.59.0-beta.0
- 【Feat】
- 【Fix】
- 【Chore】
- WebpackPlugin 增加 cssLayer 配置项,允许用户自定义样式优先级顺序 #2235
- 【Feat】
- Typography's size API supports inherit attribute
- Tree's icon API supports function types #2236
- Implement webpack & rspack plugins for style insertion of semi components in web components
- Provide best practices when mixing TailwindCSS to solve a series of style problems.
- 【Fix】
- 【Chore】
- WebpackPlugin add cssLayer config
v2.58.0
- 【Feat】
- 【Fix】
- 【Feat】
- Tabs has added more API, which is used to collapse some tabs into drop-down menus.
- Button adds outline border mode theme
- 【Fix】
- Fixed the problem that after adding the scale style to Slider, dragging is not normal and clicking on the track jumps abnormally.
- Fix the style error in dark mode in safari/firefox browser (affected versions: 2.56.0-2.57.0) #2225
v2.58.0-beta.0
- 【Feat】
- 【Style】
- 修复 TagIput 在 Form 表单中使用 insetLabel时,样式与其他组件未对齐的问题 #2216
- 【Design token】
- TagInput 增加 $color-tagInput_prefix-text-default、$spacing-tagInput_insetLabel-marginRight、$font-tagInput_insetLabel-fontWeight 三个 Token
#2216
- TagInput 增加 $color-tagInput_prefix-text-default、$spacing-tagInput_insetLabel-marginRight、$font-tagInput_insetLabel-fontWeight 三个 Token
- 【Fix】
v2.57.0
- 【Fix】
- 修复 Field卸载后,异步校验的结果仍然会写至formState的问题 @sylingd #2206
- 修复 TreeSelect 受控 value,设置了 defaultExpandedKeys,远程加载 treeData时,defaultExpandedKeys 未生效问题(影响版本 2.49.2-2.56.3) #2191
- 修复 TreeSelect 在多选,自定义 trigger,checkRelation 为 unRelated情况下,选中项未通过 triggerRender 透出问题 #2188
- 修复 Tooltip 在挂载时,如果 Cursor 已经在 trigger 的 dom 上,且 React 复用了 trigger dom 作为 tooltip 的 children,tooltip 不会展示的问题 #2199
- 修复 Input 和 TextArea 设置 defaultValue 在长文本情况下,autoFocus 光标未滚动到末尾的问题 #2193
- 移除 Banner .semi-banner-content 中无效的css规则 #2204
- 【Design Token】
- Checkbox 新增 $color-checkbox_cardType-border-default #2208
v2.57.0-beta.0
- 【Fix】
- 修复 Select 单选时,受控且filter开启模式下,选择Option后文本会闪烁一次后更正的问题 #2170
- 【Feat】
- Modal 支持 modalContentClass to set content 的 props #2162 @18852819321
- 给树形选择器TreeSelect的onSearch方法添加了
filteredNodes
入参,用来获取筛选后的节点列表 @Hokori23 #2155 - Form 组件 FormApi 增加 getFormProps,可在 formApi中读取组件的 props如 disabled、trigger 等属性 #2184
- 【Fix】
- Fixed the issue where the text would flash once after selecting Option in the controlled and filter-enabled mode during Select radio selection and then corrected.
- 【Feat】
- Modal support modalContentClass to set content 的 props #2162 @18852819321
- TreeSelect's onSearch method add
filteredNodes
which represents the list of nodes displayed after the search @Hokori23 - Form's formApi add getFormProps function
v2.56.3
- 【Fix】
- 【Docs】
- 数据可视化文档更新 #2182
- 【Fix】
- Fixed the issue where the Cancel button has a left margin after Modal footerFill is opened.#2177
- Fix abnormal expansion status of TreeSelect which is single selection, searchable, loaded data from remote #2178
- Fixed the problem that after Upload switches addOnPasting to false, paste upload is still triggered.#2176
- Fixed the problem that TreeSelect options changed after searching and the panel position was not automatically adjusted.#2181
- Modify inaccurate expressions in locale vi-VN translation @ruaruababa#2154
- 【Docs】
- Data visualization documentation updates
v2.56.2
- 【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
- Button 修改 splitButton radius 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
- Button change splitButton radius token name to
v2.56.1
- 【Design Token】
- Button 增加
$radius-splitButtonGroup_first_topLeft
、$radius-splitButtonGroup_first_bottomLeft
、$radius-splitButtonGroup_last_topRight
、$radius-splitButtonGroup_last_bottomRight
Token
- Button 增加
- 【Design Token】
- Button Add
$radius-splitButtonGroup_first_topLeft
、$radius-splitButtonGroup_first_bottomLeft
、$radius-splitButtonGroup_last_topRight
、$radius-splitButtonGroup_last_bottomRight
Token
- Button Add