bkui-vue 1.0.3-beta.53 → 1.0.3-beta.54

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.esm.js CHANGED
@@ -7919,11 +7919,11 @@ const g2 = /* @__PURE__ */ Le({
7919
7919
  let o;
7920
7920
  const u = () => {
7921
7921
  const c = Ns(() => {
7922
- const { height: d } = e.value.querySelector(`.${i("modal-header")}`).getBoundingClientRect(), { height: h } = e.value.querySelector(`.${i("modal-content")}`).getBoundingClientRect(), { height: g } = e.value.querySelector(`.${i("modal-footer")}`).getBoundingClientRect(), p = window.innerHeight;
7923
- s.value = p < d + h + g, s.value || n.fullscreen ? r.value = {
7922
+ const { height: d } = e.value.querySelector(`.${i("modal-header")}`).getBoundingClientRect(), { height: h } = e.value.querySelector(`.${i("modal-content")} div`).getBoundingClientRect(), { height: g } = e.value.querySelector(`.${i("modal-footer")}`).getBoundingClientRect(), p = window.innerHeight;
7923
+ s.value = p < d + h + g + 20, s.value || n.fullscreen ? (r.value = {
7924
7924
  height: `${p - d - g}px`
7925
- } : r.value = {};
7926
- }, 100);
7925
+ }, s.value = !0) : r.value = {};
7926
+ }, 30);
7927
7927
  o = new ResizeObserver(() => {
7928
7928
  c();
7929
7929
  }), o.observe(t.value), c();
@@ -8111,8 +8111,7 @@ const g2 = /* @__PURE__ */ Le({
8111
8111
  ref: "refRoot",
8112
8112
  class: {
8113
8113
  [this.resolveClassName("modal-ctx")]: !0,
8114
- "--show": this.visible,
8115
- "--hide": !this.visible
8114
+ "is-show": this.visible
8116
8115
  },
8117
8116
  style: {
8118
8117
  zIndex: this.zIndex
@@ -8146,7 +8145,7 @@ const g2 = /* @__PURE__ */ Le({
8146
8145
  class: this.resolveClassName("modal-content"),
8147
8146
  style: this.contentStyles
8148
8147
  }, [f("div", {
8149
- style: "position: relative; display: table-cell;"
8148
+ style: "position: relative; display: inline-block; width: 100%;"
8150
8149
  }, [(i = (n = this.$slots).default) == null ? void 0 : i.call(n), f("div", {
8151
8150
  ref: "resizeTargetRef",
8152
8151
  style: "position: absolute; top: 0; bottom: 0;"