@adstore/templates 2.11.6 → 2.12.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.
@@ -1848,7 +1848,7 @@ const Ku = Ot(({
1848
1848
  targetRef: s,
1849
1849
  id: t
1850
1850
  }), i = K(), _ = Lt(i, c);
1851
- wt(_), Yt(_, "button.percent_width", (w = _ == null ? void 0 : _.button) == null ? void 0 : w.width), Yt(_, "legal.percent_width", (T = _ == null ? void 0 : _.legal) == null ? void 0 : T.width);
1851
+ wt(_), _ && (Yt(_, "button.percent_width", (w = _ == null ? void 0 : _.button) == null ? void 0 : w.width), Yt(_, "legal.percent_width", (T = _ == null ? void 0 : _.legal) == null ? void 0 : T.width));
1852
1852
  const d = G(_), p = g(d, "root.delay", 0), {
1853
1853
  isOpen: u,
1854
1854
  isReady: h,
@@ -3217,7 +3217,7 @@ const Of = (t) => {
3217
3217
  targetRef: l,
3218
3218
  id: t
3219
3219
  }), i = K(), _ = Lt(i, c);
3220
- Yt(_, "buttonWrapper.percent_width", (lt = _ == null ? void 0 : _.buttonWrapper) == null ? void 0 : lt.width), Yt(_, "legal.percent_width", (st = _ == null ? void 0 : _.legal) == null ? void 0 : st.width);
3220
+ _ && (Yt(_, "buttonWrapper.percent_width", (lt = _ == null ? void 0 : _.buttonWrapper) == null ? void 0 : lt.width), Yt(_, "legal.percent_width", (st = _ == null ? void 0 : _.legal) == null ? void 0 : st.width));
3221
3221
  const d = G(_);
3222
3222
  wt(_);
3223
3223
  const p = g(d, "root.delay", 0), h = g(d, "children", []).find((Te) => Te.name === "auto"), {
@@ -4232,7 +4232,7 @@ const Of = (t) => {
4232
4232
  id: t,
4233
4233
  breakpoints: Qn
4234
4234
  }), c = Lt(s, l, Qn);
4235
- Yt(c, "button.percent_width", (_ = c == null ? void 0 : c.button) == null ? void 0 : _.width), Yt(c, "artifact.percent_right", (d = c == null ? void 0 : c.artifact) == null ? void 0 : d.right);
4235
+ c && (Yt(c, "button.percent_width", (_ = c == null ? void 0 : c.button) == null ? void 0 : _.width), Yt(c, "artifact.percent_right", (d = c == null ? void 0 : c.artifact) == null ? void 0 : d.right));
4236
4236
  const i = G(c);
4237
4237
  return wt(c), U(() => {
4238
4238
  n && n(s);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adstore/templates",
3
3
  "private": false,
4
- "version": "2.11.6",
4
+ "version": "2.12.0",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"