瀏覽代碼

docs(changelog): v2.22.0-bete.0 update

zhangyumei.0319 3 年之前
父節點
當前提交
7a38aa2de3
共有 2 個文件被更改,包括 54 次插入1 次删除
  1. 26 0
      content/start/changelog/index-en-US.md
  2. 28 1
      content/start/changelog/index.md

+ 26 - 0
content/start/changelog/index-en-US.md

@@ -16,6 +16,32 @@ Version:Major.Minor.Patch (follow the **Semver** specification)
 
 ---
 
+#### 🎉 2.22.0-beta.0 (2022-10-25)
+- 【Feat】
+  - Typography adds a new Numeral component, based on the Text component, and adds attributes: rule, precision, truncate, parser, to provide the ability to process numerical values ​​in text separately [@uiuing](https://github.com/uiuing)
+  - TreeSelect adds showRestTagsPopover and restTagsPopoverProps parameters to support displaying redundant tags through popover
+  - Select added showRestTagsPopover and restTagsPopoverProps to support displaying redundant tags through popover
+  - Navigation add a11y support
+  - Modal SideSheet Tabs and Popover Tooltip and other pop-up layer components animation effects are changed from javascript to css. Added animation Token, which can support custom animation in DSM in the form of themes
+  - Optimize the animation effect of ScrollList in wheel mode
+  - The yearAndMonthOpts API has been added to DatePicker, which can be used to control the ScrollListItem of the year-month picker
+  - The second parameter of DatePicker disabledDate API adds the rangeInputFocus parameter to dynamically disable the date based on the current selection state
+  - Export LocaleConsumer Component [@Hokori23](https://github.com/Hokori23)
+- 【Style】
+  - Fixed the issue that the padding of NavItem in Dropdown is not as expected due to some packaging strategies
+- 【Fix】
+  - Fix hooks Modal motion=false not take effect bug
+  - Update the type of render of the Columns property of the Table component [@Assone](https://github.com/Assone)
+  - Fix when motion is false, after searching for the selected value, the panel display is still the searched option after the panel is collapsed and then opened  [#1199 ](https://github.com/DouyinFE/semi-design/issues/1199) 
+  - Fix Table defaultFiltertedValue and defaultSortOrder not included in onChange  [#1188](https://github.com/DouyinFE/semi-design/issues/1188)
+  - Fixed the issue that Childern display would be triggered twice when popover, ToolTip, Dropdown and other popup components were set to true
+  - Change the component that implements the expand/collapse animation in NodeList from the Collapse component in the Tree to the public Collapsible component
+- 【Docs】
+  - Update the documentation of the Columns property of the Table component [@Assone](https://github.com/Assone)
+- 【Breaking Change】
+  - Changed the ScrollListItem used in TimePicker and DatePicker from mode wheel to mode normal to make it more suitable for PC
+
+
 #### 🎉 2.21.0 (2022-10-12)
 - 【Fix】
   - Fix the problem that the timer is not updated when carousel switches the index through the left and right buttons or methods

+ 28 - 1
content/start/changelog/index.md

@@ -16,6 +16,33 @@ Semi 版本号遵循 **Semver** 规范(主版本号-次版本号-修订版本
 
 ---
 
+#### 🎉 2.22.0-beta.0 (2022-10-25)
+- 【Feat】
+  - Typography 新增 Numeral 组件,基于 Text 组件,添加了属性: rule, precision, truncate, parser, 以提供需要单独处理文本中数值的能力 [@uiuing](https://github.com/uiuing)
+  - TreeSelect 增加 showRestTagsPopover 和 restTagsPopoverProps 参数,支持通过 popover 展示多余 tag
+  - Select 中增加 showRestTagsPopover 和 restTagsPopoverProps,支持通过 popover 展示多余 tag
+  - Navigation 新增 A11y 键盘和焦点适配 
+  - Modal SideSheet Tabs 和 Popover Tooltip 等弹层组件动画效果从 js 改为 css 实现,新增动画 Token,可支持在 DSM 中以主题形式自定义动画
+  - 优化 ScrollList 在 wheel 模式下的动画效果
+  - DatePicker 中新增 yearAndMonthOpts API,可用于控制年月选择器的 ScrollListItem
+  - DatePicker disabledDate API 第二个参数新增 rangeInputFocus 参数,用于根据当前选择状态动态禁用日期
+  - 导出 LocaleConsumer 组件 [@Hokori23](https://github.com/Hokori23)
+- 【Fix】
+  - 修复 hook 方式使用 Modal  motion=false 不生效的问题
+  - 更新 Table 组件 Columns 属性的 render 的类型 [@Assone](https://github.com/Assone)
+  - 修复当 motion 为 false 时,搜索选中值后,在面板收起后再打开面板显示仍然是搜索后的选项  [#1199 ](https://github.com/DouyinFE/semi-design/issues/1199)
+  - 修复 Foundation 代码中含有 React 特有 API 调用的问题
+  - 修复 Table defaultFiltertedValue 和 defaultSortOrder 未包含在 onChange 中问题  [#1188](https://github.com/DouyinFE/semi-design/issues/1188)
+  - 修复 Popover、ToolTip、Dropdown 等弹层组件在 motion 为 true 时,Childern 展示会触发两次的问题
+  - 将 NodeList 中实现展开/收起动画的组件由 Tree 中的 Collapse 组件改为公共的 Collapsible 组件
+- 【Style】
+  - 修复某些打包策略导致 Dropdown 中的 NavItem 的 padding 不符合预期问题
+- 【Docs】
+  - 更新 Table 组件 Columns 属性的文档 [@Assone](https://github.com/Assone)
+- 【Breaking Change】
+  - 将 TimePicker 和 DatePicker 中用到的 ScrollListItem 由 mode wheel 改为 mode normal,使其更好适配 PC 端
+
+
 #### 🎉 2.21.0 (2022-10-12)
 - 【Fix】
   - 修复 Carousel 通过左右按钮或者方法切换 index 时没有更新计时器问题
@@ -31,7 +58,7 @@ Semi 版本号遵循 **Semver** 规范(主版本号-次版本号-修订版本
 - 【Feat】
   - Table 新增表头 sticky API
   - AutoComplete 新增 onKeyDown API
-  - Upload 组件对外暴露 openFileDialog 方法,使用户可以手动打开文件选择窗口
+  - Upload 组件对外暴露 openFileDialog 方法,使用户可以手动打开文件选择窗口
   - LocaleProvider 新增罗马尼亚语(ro) [@jacob-lcs](https://github.com/jacob-lcs)
 - 【Fix】
   - 修复 Dropdown 下 children onKeydown 拿不到事件问题