@5even7/dlc-ui 0.2.9 → 0.2.10

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
@@ -2,6 +2,10 @@
2
2
 
3
3
  > **发版规则**:默认每次发布只递增补丁号(0.x.y → 0.x.(y+1),即 +0.01);除非手动明确指定新版本号,否则不升次版本。
4
4
 
5
+ ## 0.2.10 - 2026-08-09
6
+
7
+ - 修复:Vue wrapper 的插槽中转容器(`.hj-vue-slot-text` / `.hj-vue-slot-color`)此前带 `height: 100%`,插槽内容被搬进文字区/颜色区后,空壳仍会以宿主高度各撑出一个空块,把 Capsule / Progress 组件根整体往下推约 2×组件高度;改为 `display: none`,彻底脱离布局(对插槽搬运无影响)。
8
+
5
9
  ## 0.2.9 - 2026-08-09
6
10
 
7
11
  - 修复:`/vue2`、`/vue3` 的 CJS 构建丢失默认导出(`require(...).default` 为 undefined,webpack/CommonJS 下 `import X from` 会拿到命名空间对象而不是组件);legacy 入口现在转发默认导出,并带 `__esModule` 标记。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5even7/dlc-ui",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/styles/base.css CHANGED
@@ -47,10 +47,11 @@
47
47
  pointer-events: none;
48
48
  }
49
49
 
50
- /* Vue wrapper 的插槽容器会被搬到文字区/颜色区里,撑满区域以便内容正常布局。 */
50
+ /* Vue wrapper 的插槽中转容器:内容会在挂载时被搬进文字区/颜色区,
51
+ 搬完后只是空壳。绝不能参与布局——height:100% 会让它们以宿主高度各撑出
52
+ 一个空块,把组件根往下推(Capsule 推 2×组件高、Progress 推 2×组件高)。
53
+ display:none 让它们彻底脱离布局,搬运前的瞬间内容也不会闪现。 */
51
54
  .hj-vue-slot-text,
52
55
  .hj-vue-slot-color {
53
- display: block;
54
- width: 100%;
55
- height: 100%;
56
+ display: none;
56
57
  }