bge-ui 1.4.9 → 1.5.0

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/dist/index.js CHANGED
@@ -8736,11 +8736,10 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
8736
8736
  const children = DialogBody.value.children;
8737
8737
  for (let i = 0; i < children.length; i++) {
8738
8738
  const child = children[i];
8739
- console.log(child);
8740
8739
  offsetHeight += child.offsetHeight;
8741
8740
  }
8742
8741
  opacity.value = 1;
8743
- height.value = 48 + 64 + Number(offsetHeight);
8742
+ height.value = 48 + 64 + 16 + Number(offsetHeight);
8744
8743
  });
8745
8744
  }
8746
8745
  }, {
@@ -8753,7 +8752,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
8753
8752
  const child = children[i];
8754
8753
  offsetHeight += child.offsetHeight;
8755
8754
  }
8756
- height.value = 48 + 64 + Number(offsetHeight);
8755
+ height.value = 48 + 64 + 16 + Number(offsetHeight);
8757
8756
  }
8758
8757
  function close() {
8759
8758
  height.value = "160";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bge-ui",
3
- "version": "1.4.9",
3
+ "version": "1.5.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -65,11 +65,10 @@ watch(() => [props.visible, props.resetState], ([value]) => {
65
65
  const children = DialogBody.value.children
66
66
  for (let i = 0; i < children.length; i++) {
67
67
  const child = children[i]
68
- console.log(child)
69
68
  offsetHeight += child.offsetHeight
70
69
  }
71
70
  opacity.value = 1
72
- height.value = 48 + 64 + Number(offsetHeight)
71
+ height.value = 48 + 64 + 16 + Number(offsetHeight)
73
72
  })
74
73
  }
75
74
  }, {
@@ -83,7 +82,7 @@ function updateHeight() {
83
82
  const child = children[i]
84
83
  offsetHeight += child.offsetHeight
85
84
  }
86
- height.value = 48 + 64 + Number(offsetHeight)
85
+ height.value = 48 + 64 + 16 + Number(offsetHeight)
87
86
  }
88
87
 
89
88