@robert-stackflow/oneui 0.6.1 → 0.6.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.2 — 2026-10-29
4
+
5
+ - Text 与 Heading 的多行省略明确恢复正常换行,避免继承表格的 nowrap 后长文本撑开列宽。
6
+ - 增加浅色、深色及窄屏下表格内两行截断的回归验证。
7
+
3
8
  ## 0.6.1 — 2026-10-29
4
9
 
5
10
  - 在 0.5.2 基础上保留可创建多选、分组导航及可选页面标题;新增嵌套侧栏、资源卡片、登录布局和页面标题组合。
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robert-stackflow/oneui",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "OneUI React components, application shell and portable visual themes",
5
5
  "type": "module",
6
6
  "sideEffects": [