Releases: DouyinFE/semi-design
Releases · DouyinFE/semi-design
v2.56.0-beta.0
- 【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】
- 【Style】
- 【Design token】
- Select 增加
$height-select_multiple_input_small
、$height-select_multiple_input_default
、$height-select_multiple_input_large
三个 token 可用于指定开启搜索时的 input 的高度 #2151
- Select 增加
- 【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】
- 【Style】
- 【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
- Select add
v2.55.5
- 【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
- 【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
🔧【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
v2.55.0-beta.0
- 【Fix】
- 【Chore】
- 升级 webpack、rspack构建插件,支持消费在 Semi DSM 中配置的自定义 css 配置,可用于将覆写的 CSS 或任意与 Semi 组件无关的 css 聚进主题包样式
- 【Fix】
- 【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
- 【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
v2.54.0
- 【Fix】
- 修复 js 截断计算中没有将展开按钮占据的宽度计算在内问题 (影响范围 v2.54.0-beta.0)
- 【Chore】
- Upload 增加 FileItemStatus TS interface 导出
- 【Fix】
- Fix the problem that the width occupied by the expand button is not taken into account in js truncation calculation, The scope of impact is 2.54.0-beta.0.
- 【Chore】
- Upload adds FileItemStatus TS interface export
v2.53.3
- 【Fix】
- 修复 Avatar border 类型错误的问题
- 【Fix】
- Fix Avatar border type error
v2.54.0-beta.0
- 【Feat】
- Toast 组件支持 theme 全局配置 @LonelySnowman #2099
- Collapsible 组件新增 lazyRender 属性 @changlin2569 #2100
- Descriptions 组件支持横向布局 @LonelySnowman #1534
- Cascader 支持通过 ref 调用 search 方法 #2098
- ImagePreview 增加 onDownLoadError 回调 API #2093
- 【Fix】
- 【Feat】
- Toast component supports theme global configuration @LonelySnowman #2099
- Collapsible adds lazyRender API @changlin2569 #2100
- Descriptions component supports horizontal layout @LonelySnowman #1534
- Cascader supports calling the search method through ref #2098
- ImagePreview adds onDownLoadError callback API #2093
- 【Fix】