@douyinfe/semi-ui 2.99.0 → 2.99.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,6 +16,10 @@ Version:Major.Minor.Patch (follow the **Semver** specification)
16
16
 
17
17
  ---
18
18
 
19
+ #### 🎉 2.99.1 (2026-05-22)
20
+ - 【Fix】
21
+ - Fixed Modal component being unreachable when `centered` is true and content height exceeds the viewport — title / close button / footer buttons were clipped and could not be reached by scrolling. Switched to the safe-centering pattern (`align-items: flex-start` + `margin: auto`): the modal stays visually centered when content fits, and degrades to top-aligned + scrollable when content overflows [@Cody2333](https://github.com/Cody2333) [#3300](https://github.com/DouyinFE/semi-design/issues/3300) [#3301](https://github.com/DouyinFE/semi-design/pull/3301)
22
+
19
23
  #### 🎉 2.99.0 (2026-05-21)
20
24
  - 【Fix】
21
25
  - Fixed Cascader component not highlighting matched text when search keyword case differs from option label case with filterTreeNode enabled [#3296](https://github.com/DouyinFE/semi-design/issues/3296) [#3297](https://github.com/DouyinFE/semi-design/pull/3297)
@@ -14,6 +14,10 @@ Semi 版本号遵循 **Semver** 规范(主版本号 - 次版本号 - 修订版
14
14
  - 不同版本间的详细关系,可查阅 [FAQ](/zh-CN/start/faq)
15
15
 
16
16
 
17
+ #### 🎉 2.99.1 (2026-05-22)
18
+ - 【Fix】
19
+ - 修复 Modal 组件在 `centered` 为 true 且内容高度超过视口时,title、关闭按钮与底部按钮被裁切且无法通过滚动到达的问题。改用 `align-items: flex-start` + `margin: auto` 的安全居中方案:内容能放下时仍视觉居中,溢出时退化为顶部对齐并可正常滚动 [@Cody2333](https://github.com/Cody2333) [#3300](https://github.com/DouyinFE/semi-design/issues/3300) [#3301](https://github.com/DouyinFE/semi-design/pull/3301)
20
+
17
21
  #### 🎉 2.99.0 (2026-05-21)
18
22
  - 【Fix】
19
23
  - 修复 Cascader 组件在开启 filterTreeNode 时,搜索关键词与选项 label 大小写不一致导致匹配结果无法高亮的问题 [#3296](https://github.com/DouyinFE/semi-design/issues/3296) [#3297](https://github.com/DouyinFE/semi-design/pull/3297)
package/dist/css/semi.css CHANGED
@@ -15838,7 +15838,7 @@ img[src=""], img:not([src]) {
15838
15838
  }
15839
15839
  .semi-modal-wrap-center {
15840
15840
  display: flex;
15841
- align-items: center;
15841
+ align-items: flex-start;
15842
15842
  }
15843
15843
  .semi-modal-title {
15844
15844
  display: inline-flex;
@@ -15949,7 +15949,7 @@ img[src=""], img:not([src]) {
15949
15949
  }
15950
15950
 
15951
15951
  .semi-modal-centered {
15952
- margin: 0 auto;
15952
+ margin: auto;
15953
15953
  }
15954
15954
 
15955
15955
  .semi-modal-popup .semi-modal-mask,