@manohub/ui 1.3.2 → 1.3.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.
@@ -16,6 +16,11 @@
16
16
  .mh-checkbox {
17
17
  display: inline-flex;
18
18
  align-items: center;
19
+ /* **行内基线固定 middle,别改回 baseline**:框内三态换的是「10px 勾」与「2px 横杠」,
20
+ inline-flex 的基线由第一个子元素决定 ⇒ 按 baseline 对齐时,表头全选从半选切到全选
21
+ 会让整块上下跳约 4px(框本身大小不变,跳的是行内盒的基线)。middle 只认盒子的垂直
22
+ 中线,与内容无关;顺带让勾选框与同级文字按控件中线对齐。 */
23
+ vertical-align: middle;
19
24
  gap: var(--ui-checkbox-label-gap);
20
25
  font-size: var(--ui-font-body);
21
26
  line-height: var(--ui-line-body);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manohub/ui",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "AIHub 自绘组件层:不依赖 farris 的手写 Vue TSX 组件 + 自带令牌层(Farris 规范视觉 · daisyUI 式语义令牌 · shadcn 式 API 词汇)。",
@@ -35,7 +35,7 @@
35
35
  "vue": "^3.5.0"
36
36
  },
37
37
  "dependencies": {
38
- "@manohub/icon": "^1.3.2"
38
+ "@manohub/icon": "^1.3.3"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/node": "^24.0.0",
@@ -49,7 +49,7 @@
49
49
  "vue-tsc": "^3.3.8"
50
50
  },
51
51
  "scripts": {
52
- "build": "node ../../scripts/clean-dist.mjs && vue-tsc -p tsconfig.build.json && vite build && node scripts/copy-styles.mjs",
52
+ "build": "vite build && vue-tsc -p tsconfig.build.json && node scripts/copy-styles.mjs",
53
53
  "type-check": "vue-tsc --noEmit -p tsconfig.json && vue-tsc --noEmit -p docs/tsconfig.json",
54
54
  "test:unit": "vitest run",
55
55
  "test:contract": "vitest run contract- popup-surface",