@douyinfe/semi-ui 2.99.1 → 2.99.2
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.2 (2026-05-22)
|
|
20
|
+
- 【Fix】
|
|
21
|
+
- Fixed Table header right border being broken on Sass 1.55+. The original `box-shadow: inset -$width-table_base_border 0 0 0 ...` was parsed as a binary subtraction under the strict-unary rule and compiled to `inset-1px 0 0 0 ...` (no space between `inset` and the offset), making the whole box-shadow invalid and the header's right border invisible in horizontal-scroll scenarios. Rewrote it as `$width-table_base_border * -1` to avoid the ambiguity
|
|
22
|
+
|
|
19
23
|
#### 🎉 2.99.1 (2026-05-22)
|
|
20
24
|
- 【Fix】
|
|
21
25
|
- 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)
|
|
@@ -14,6 +14,10 @@ Semi 版本号遵循 **Semver** 规范(主版本号 - 次版本号 - 修订版
|
|
|
14
14
|
- 不同版本间的详细关系,可查阅 [FAQ](/zh-CN/start/faq)
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
#### 🎉 2.99.2 (2026-05-22)
|
|
18
|
+
- 【Fix】
|
|
19
|
+
- 修复 Table 组件 header 右侧边框样式 `box-shadow: inset -$width-table_base_border 0 0 0 ...` 在 Sass 1.55+ 下因 strict-unary 解析规则被编译为 `inset-1px 0 0 0 ...`(中间无空格、box-shadow 失效)的问题,导致水平滚动场景下 header 右侧边框丢失。改用 `$width-table_base_border * -1` 写法规避歧义
|
|
20
|
+
|
|
17
21
|
#### 🎉 2.99.1 (2026-05-22)
|
|
18
22
|
- 【Fix】
|
|
19
23
|
- 修复 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)
|
package/dist/css/semi.css
CHANGED
|
@@ -21627,7 +21627,7 @@ img[src=""], img:not([src]) {
|
|
|
21627
21627
|
pointer-events: none;
|
|
21628
21628
|
}
|
|
21629
21629
|
.semi-table-bordered:not(.semi-table-scroll-position-right) > .semi-table-container > .semi-table-header {
|
|
21630
|
-
box-shadow: inset-1px 0 0 0 var(--semi-color-border);
|
|
21630
|
+
box-shadow: inset -1px 0 0 0 var(--semi-color-border);
|
|
21631
21631
|
}
|
|
21632
21632
|
:where(.semi-table-bordered > .semi-table-container) > .semi-table-body > .semi-table-placeholder {
|
|
21633
21633
|
border-right: 1px solid var(--semi-color-border);
|