@robert-stackflow/oneui 0.6.1 → 0.6.3
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.
- package/CHANGELOG.md +10 -0
- package/components/Divider.module.css +3 -1
- package/components/Layout.js +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.3 — 2026-10-29
|
|
4
|
+
|
|
5
|
+
- 横向 Divider 在居中网格中与文字保持垂直居中,同时保留普通块、纵向弹性布局及 inset 的宽度行为。
|
|
6
|
+
- 包消费验证覆盖两套主题、深浅色和桌面/手机宽度下的分割线几何对齐。
|
|
7
|
+
|
|
8
|
+
## 0.6.2 — 2026-10-29
|
|
9
|
+
|
|
10
|
+
- Text 与 Heading 的多行省略明确恢复正常换行,避免继承表格的 nowrap 后长文本撑开列宽。
|
|
11
|
+
- 增加浅色、深色及窄屏下表格内两行截断的回归验证。
|
|
12
|
+
|
|
3
13
|
## 0.6.1 — 2026-10-29
|
|
4
14
|
|
|
5
15
|
- 在 0.5.2 基础上保留可创建多选、分组导航及可选页面标题;新增嵌套侧栏、资源卡片、登录布局和页面标题组合。
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
border-radius: 0;
|
|
5
5
|
}
|
|
6
6
|
.divider[data-orientation="horizontal"] {
|
|
7
|
-
align-self:
|
|
7
|
+
align-self: center;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
width: calc(100% - 2 * var(--divider-inset));
|
|
8
10
|
height: 0;
|
|
9
11
|
border-top: var(--separator-width) var(--separator-style)
|
|
10
12
|
var(--separator-color);
|
package/components/Layout.js
CHANGED
|
@@ -171,6 +171,7 @@ function Text({
|
|
|
171
171
|
display: "-webkit-box",
|
|
172
172
|
WebkitLineClamp: lineClamp,
|
|
173
173
|
WebkitBoxOrient: "vertical",
|
|
174
|
+
whiteSpace: "normal",
|
|
174
175
|
overflow: "hidden"
|
|
175
176
|
} : {},
|
|
176
177
|
...props.style
|
|
@@ -196,6 +197,7 @@ function Heading({
|
|
|
196
197
|
display: "-webkit-box",
|
|
197
198
|
WebkitLineClamp: lineClamp,
|
|
198
199
|
WebkitBoxOrient: "vertical",
|
|
200
|
+
whiteSpace: "normal",
|
|
199
201
|
overflow: "hidden"
|
|
200
202
|
} : {},
|
|
201
203
|
...props.style
|