@jackuait/blok 0.10.0-beta.15 → 0.10.0-beta.16

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/blok.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { n as e, t } from "./chunks/blok-1213fGsk.mjs";
2
- import { $n as n } from "./chunks/constants-Cr7GEExc.mjs";
1
+ import { n as e, t } from "./chunks/blok-CEVrVqlx.mjs";
2
+ import { $n as n } from "./chunks/constants-BURnHRy_.mjs";
3
3
  export { t as Blok, n as DATA_ATTR, e as version };
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./chunk-D6kmoKXy.mjs";
2
- import { $n as t, $t as n, An as r, At as i, Bn as a, Bt as o, C as s, Dn as c, E as l, En as u, Fn as d, Gn as f, Gt as p, Hn as m, In as h, It as g, Jn as _, Jt as v, Kn as ee, Kt as y, Ln as te, Mn as ne, Nn as re, On as ie, Ot as ae, Pn as oe, Qn as se, Qt as ce, Rn as le, S as ue, Sn as de, T as fe, Tn as pe, Un as b, Vn as me, Wn as he, Wt as ge, Xn as _e, Xt as ve, Yn as ye, Yt as be, Zn as x, Zt as xe, _ as Se, _n as Ce, an as we, b as S, bn as Te, dn as Ee, en as De, er as C, fn as Oe, ft as ke, g as Ae, gn as je, gt as Me, h as Ne, hn as Pe, in as w, jn as Fe, k as Ie, kn as Le, ln as Re, m as ze, mn as Be, nn as Ve, p as He, pn as Ue, qn as T, qt as We, rn as E, sn as Ge, tn as Ke, u as qe, un as Je, v as Ye, vn as Xe, vt as Ze, w as Qe, wn as D, x as $e, xn as et, y as tt, yn as nt, zn as rt, zt as it } from "./constants-Cr7GEExc.mjs";
2
+ import { $n as t, $t as n, An as r, At as i, Bn as a, Bt as o, C as s, Dn as c, E as l, En as u, Fn as d, Gn as f, Gt as p, Hn as m, In as h, It as g, Jn as _, Jt as v, Kn as ee, Kt as y, Ln as te, Mn as ne, Nn as re, On as ie, Ot as ae, Pn as oe, Qn as se, Qt as ce, Rn as le, S as ue, Sn as de, T as fe, Tn as pe, Un as b, Vn as me, Wn as he, Wt as ge, Xn as _e, Xt as ve, Yn as ye, Yt as be, Zn as x, Zt as xe, _ as Se, _n as Ce, an as we, b as S, bn as Te, dn as Ee, en as De, er as C, fn as Oe, ft as ke, g as Ae, gn as je, gt as Me, h as Ne, hn as Pe, in as w, jn as Fe, k as Ie, kn as Le, ln as Re, m as ze, mn as Be, nn as Ve, p as He, pn as Ue, qn as T, qt as We, rn as E, sn as Ge, tn as Ke, u as qe, un as Je, v as Ye, vn as Xe, vt as Ze, w as Qe, wn as D, x as $e, xn as et, y as tt, yn as nt, zn as rt, zt as it } from "./constants-BURnHRy_.mjs";
3
3
  import { n as at, t as O } from "./objectSpread2-CWwMYL_U.mjs";
4
4
  import { n as k, t as ot } from "./tw-CqxBf-1Y.mjs";
5
5
  import { r as st, t as ct } from "./lightweight-i18n-Cvv8CWh4.mjs";
@@ -10799,9 +10799,8 @@ var Dd = {
10799
10799
  this.Blok.BlockManager.blocks.length === 1 && o.isEmpty && !v ? this.blockTunesToggler.hide() : this.blockTunesToggler.show(), this.open();
10800
10800
  let ee = o.name === "header" && o.holder.querySelector("[data-blok-toggle-arrow]") !== null;
10801
10801
  if ((o.name === "callout" || o.name === "toggle" || ee) && this.nodes.actions && (this.nodes.actions.style.pointerEvents = "none"), g && this.nodes.content) {
10802
- var y, te;
10803
- let e = parseFloat(getComputedStyle(g).marginLeft) || 0, t = (y = (te = this.nodes.actions) == null ? void 0 : te.offsetWidth) == null ? 0 : y;
10804
- this.nodes.content.style.marginLeft = `${Math.max(e, t)}px`;
10802
+ let e = parseFloat(getComputedStyle(g).marginLeft) || 0;
10803
+ this.nodes.content.style.marginLeft = `${e}px`;
10805
10804
  }
10806
10805
  }
10807
10806
  moveAndOpenForMultipleBlocks(e) {
@@ -10827,9 +10826,8 @@ var Dd = {
10827
10826
  this.positioner.moveToY(this.nodes, c), s.appendChild(i), o && !this.Blok.ReadOnly.isEnabled && r.setupDraggable(o, this.Blok.DragManager);
10828
10827
  let l = s.querySelector(`[${t.elementContent}]`);
10829
10828
  if (l && this.toolboxInstance.updateLeftAlignElement(l), this.positioner.applyContentOffset(this.nodes, r), this.blockTunesToggler.show(), this.open(), l && this.nodes.content) {
10830
- var u, d;
10831
- let e = parseFloat(getComputedStyle(l).marginLeft) || 0, t = (u = (d = this.nodes.actions) == null ? void 0 : d.offsetWidth) == null ? 0 : u;
10832
- this.nodes.content.style.marginLeft = `${Math.max(e, t)}px`;
10829
+ let e = parseFloat(getComputedStyle(l).marginLeft) || 0;
10830
+ this.nodes.content.style.marginLeft = `${e}px`;
10833
10831
  }
10834
10832
  }
10835
10833
  close(e) {
@@ -130,7 +130,7 @@ var a = {
130
130
  RIGHT: 2,
131
131
  BACKWARD: 3,
132
132
  FORWARD: 4
133
- }, l = () => "0.10.0-beta.15", u = /* @__PURE__ */ function(e) {
133
+ }, l = () => "0.10.0-beta.16", u = /* @__PURE__ */ function(e) {
134
134
  return e.VERBOSE = "VERBOSE", e.INFO = "INFO", e.WARN = "WARN", e.ERROR = "ERROR", e;
135
135
  }({}), d = (e, t, n = "log", r, i = "color: inherit") => {
136
136
  let a = typeof console > "u" ? void 0 : console;