niuma-ui 1.2.3 → 1.2.4

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
@@ -6,6 +6,12 @@
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.2.4] - 2026-08-30
10
+
11
+ ### 变更
12
+
13
+ - `styles.css` 自己收口盒模型:`html { box-sizing: border-box }`,其余 `inherit`。Rs* 宽高不再赌宿主 Tailwind Preflight。
14
+
9
15
  ## [1.2.3] - 2026-08-30
10
16
 
11
17
  ### 修复
package/dist/styles.css CHANGED
@@ -645,6 +645,20 @@ to {
645
645
  }
646
646
 
647
647
 
648
+ /*
649
+ * 盒模型由本包收口,不依赖宿主 Tailwind Preflight 有没有进 @layer。
650
+ * 对齐 Ant Design reset / Arco:html 定 border-box,其余 inherit(弹出层挂 body 也一致)。
651
+ */
652
+ html {
653
+ box-sizing: border-box;
654
+ }
655
+
656
+ *,
657
+ *::before,
658
+ *::after {
659
+ box-sizing: inherit;
660
+ }
661
+
648
662
  /* ── 静态 token(不随明暗变化) ── */
649
663
  :root {
650
664
  --rs-radius-xs: 0.25rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "niuma-ui",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "description": "Vue 3 工作台设计系统(Rs* 组件、--rs-* token;含可选编辑器 / 终端)",