@tachui/core 0.8.17 → 0.8.18

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/common.js CHANGED
@@ -1,9 +1,9 @@
1
- import { c as s, b as r, C as n, S as i, T as o, k as c, q as d, u as l, p as m, g, d as p, e as f, f as C, j as u, h as S, l as M, n as h, i as x, a as E, v as b, m as v, w as y, x as G, o as R, r as O, s as A, t as I } from "./index-Bgna5tXS.js";
1
+ import { c as s, b as r, C as n, S as i, T as o, k as c, q as d, u as l, p as m, g, d as p, e as f, f as C, j as u, h as S, l as M, n as h, i as x, a as E, v as b, m as v, w as y, x as G, o as R, r as O, s as A, t as I } from "./index-DL9Cys3t.js";
2
2
  import { Assets as L, ColorAsset as T, FontAsset as D, FontWidth as w, ImageAsset as U, SystemFonts as B, createColorAsset as F, createFontAsset as j, createGoogleFont as V, createImageAsset as k, createSystemFont as z, createVariableFont as q, getAssetInfo as N, listAssetNames as W, registerAsset as H } from "./assets/index.js";
3
3
  import { a as K, w as J, A as Y, x as Q, B as X, u as Z, f as $, C as ee, v as ae, D as te, E as se, F as re, g as ne, h as ie, K as oe, H as ce, M as de, J as le, G as me, l as ge, e as pe, m as fe, I as Ce, L as ue, d as Se, N as Me, R as he, t as xe, p as Ee, s as be, r as ve, q as ye, b as Ge, c as Re, k as Oe, j as Ae, S as Ie, T as Pe, y as Le, z as Te, i as De, n as we, o as Ue, O as Be } from "./index-JQ1sW1SK.js";
4
4
  import { Layout as je, dimensionToCSS as Ve, infinity as ke, infinityToFlexCSS as ze, isInfinity as qe, shouldExpandForInfinity as Ne } from "./constants/layout.js";
5
- import { b as He, g as _e, f as Ke, c as Je, a as Ye, h as Qe, r as Xe, w as Ze, d as $e, e as ea } from "./factory-oMYyVSAY.js";
6
- import { C as ta, y as sa, y as ra, D as na, k as ia, E as oa, M as ca, S as da, q as la, V as ma, a as ga, b as pa, v as fa, l as Ca, o as ua, d as Sa, c as Ma, e as ha, n as xa, g as Ea, w as ba, i as va, h as ya, x as Ga, m as Ra, p as Oa, r as Aa, f as Ia, u as Pa, s as La, j as Ta, t as Da } from "./concatenated-component-BCrw_7cC.js";
5
+ import { b as He, g as _e, f as Ke, c as Je, a as Ye, h as Qe, r as Xe, w as Ze, d as $e, e as ea } from "./factory-gqfMcmOy.js";
6
+ import { C as ta, y as sa, y as ra, D as na, k as ia, E as oa, M as ca, S as da, q as la, V as ma, a as ga, b as pa, v as fa, l as Ca, o as ua, d as Sa, c as Ma, e as ha, n as xa, g as Ea, w as ba, i as va, h as ya, x as Ga, m as Ra, p as Oa, r as Aa, f as Ia, u as Pa, s as La, j as Ta, t as Da } from "./concatenated-component-2Gzy5e2c.js";
7
7
  import { OptimizedLazyPluginLoader as Ua, PluginDevUtils as Ba, PluginError as Fa, SimplifiedComponentRegistry as ja, SimplifiedPluginManager as Va, SimplifiedTachUIInstance as ka, adaptPlugin as za, compareSemver as qa, createLazyPlugin as Na, createLegacyPluginAdapter as Wa, globalTachUIInstance as Ha, installPlugin as _a, isLegacyPlugin as Ka, normalizePluginName as Ja, registerComponent as Ya, registerService as Qa, validatePluginName as Xa, validateSemver as Za } from "./plugins/index.js";
8
8
  import { DOMBridgeDebug as et, getComponentFromElement as at, mountComponentChildren as tt, mountComponentTree as st, mountRoot as rt, registerComponentWithLifecycleHooks as nt, unmountComponent as it, unmountComponentEnhanced as ot, updateComponent as ct } from "./runtime/dom-bridge.js";
9
9
  import { LifecycleValidationUtils as lt, ProductionUtils as mt, ValidationDevTools as gt, ValidationSetup as pt, getComponentValidator as ft } from "./validation/index.js";
@@ -11,7 +11,7 @@ import { TACHUI_PACKAGE as ut, TACHUI_PACKAGE_VERSION as St, VERSION as Mt } fro
11
11
  import { c as xt, g as Et, a as bt, p as vt, b as yt } from "./plugin-BCAdZXKq.js";
12
12
  import { AnimationModifier as Rt, AppearanceModifier as Ot, BaseModifier as At, InteractionModifier as It, LayoutModifier as Pt, LifecycleModifier as Lt, ResizableModifier as Tt } from "./modifiers/base.js";
13
13
  import { ModifierPriority as wt } from "@tachui/types/modifiers";
14
- import { a as Bt, c as Ft, g as jt, i as Vt, r as kt } from "./proxy-gO-vDCUZ.js";
14
+ import { a as Bt, c as Ft, g as jt, i as Vt, r as kt } from "./proxy-Cp0QUXME.js";
15
15
  import { a as qt, b as Nt, c as Wt, i as Ht, l as _t, p as Kt } from "./presets-B9x94uRn.js";
16
16
  import { g as Yt, e as Qt, f as Xt, c as Zt, a as $t, i as es, m as as, r as ts, s as ss, h as rs } from "./factories-B3-rmvkB.js";
17
17
  import { r as is } from "./registration-utils-CNsN4eoU.js";
@@ -1,4 +1,4 @@
1
- import { L as o, b as t, f as r, c as n, a as p, w as s, d as i, e as c } from "../factory-oMYyVSAY.js";
1
+ import { L as o, b as t, f as r, c as n, a as p, w as s, d as i, e as c } from "../factory-gqfMcmOy.js";
2
2
  export {
3
3
  o as Layout,
4
4
  t as LayoutComponent,
@@ -1 +1 @@
1
- {"version":3,"file":"wrapper.d.ts","sourceRoot":"","sources":["../../src/components/wrapper.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EACV,mBAAmB,EACnB,eAAe,EACf,gCAAgC,EACjC,MAAM,oBAAoB,CAAA;AAE3B,OAAO,KAAK,EACV,iBAAiB,EACjB,cAAc,EACd,OAAO,EACP,kBAAkB,EAClB,YAAY,EACb,MAAM,kBAAkB,CAAA;AAGzB,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,uBAAuB,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAO9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAS5D;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,yBAA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CAAC,CAAC;;;;;;;;;;;;;;;;EAgB1D;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,CAAC,SAAS,cAAc,EACvE,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,OAAO,GAAG,OAAO,EAAE,IAEnC,OAAO,CAAC;;EAejB"}
@@ -1763,7 +1763,7 @@ class be {
1763
1763
  */
1764
1764
  adoptNode(e, t) {
1765
1765
  const i = this.nodeMap.get(e);
1766
- i && (this.nodeMap.set(t, i), this.nodeMap.delete(e), this.renderedNodes.delete(e), this.renderedNodes.add(t), t.element = i, e.dispose && (t.dispose = e.dispose), e.__renderedChildren && (t.__renderedChildren = e.__renderedChildren), e.__appliedProps && (t.__appliedProps = e.__appliedProps), this.metrics.adopted++);
1766
+ i && (this.nodeMap.set(t, i), this.nodeMap.delete(e), this.renderedNodes.delete(e), this.renderedNodes.add(t), t.element = i, e.dispose && (t.dispose = e.dispose), e.__renderedChildren && (t.__renderedChildren = e.__renderedChildren), e.__appliedProps && (t.__appliedProps = { ...e.__appliedProps }), this.metrics.adopted++);
1767
1767
  }
1768
1768
  /**
1769
1769
  * Cleanup all tracked elements
@@ -1841,7 +1841,7 @@ function We(n, e) {
1841
1841
  const i = /* @__PURE__ */ new Map(), s = (o) => {
1842
1842
  if (o.key != null) {
1843
1843
  const a = i.get(o.key);
1844
- a && a.type === o.type && a.tag === o.tag && a.element ? (o.element = a.element, a.__appliedProps && (o.__appliedProps = a.__appliedProps), a.__renderedChildren && (o.__renderedChildren = a.__renderedChildren), h.recordCacheHit()) : h.recordCacheMiss();
1844
+ a && a.type === o.type && a.tag === o.tag && a.element ? (o.element = a.element, a.__appliedProps && (o.__appliedProps = { ...a.__appliedProps }), a.__renderedChildren && (o.__renderedChildren = a.__renderedChildren), h.recordCacheHit()) : h.recordCacheMiss();
1845
1845
  }
1846
1846
  o.children && o.children.forEach(s);
1847
1847
  }, r = E(() => {
package/dist/essential.js CHANGED
@@ -1,9 +1,9 @@
1
- import { c as s, b as r, C as n, S as i, T as o, k as c, q as d, u as l, p as m, g, d as p, e as f, f as C, j as u, h as S, l as M, n as h, i as E, a as x, v, m as b, w as y, x as G, o as R, r as O, s as A, t as I } from "./index-Bgna5tXS.js";
1
+ import { c as s, b as r, C as n, S as i, T as o, k as c, q as d, u as l, p as m, g, d as p, e as f, f as C, j as u, h as S, l as M, n as h, i as E, a as x, v, m as b, w as y, x as G, o as R, r as O, s as A, t as I } from "./index-DL9Cys3t.js";
2
2
  import { Assets as L, ColorAsset as T, FontAsset as D, FontWidth as U, ImageAsset as w, SystemFonts as B, createColorAsset as F, createFontAsset as j, createGoogleFont as V, createImageAsset as z, createSystemFont as q, createVariableFont as k, getAssetInfo as N, listAssetNames as W, registerAsset as H } from "./assets/index.js";
3
3
  import { a as K, w as J, A as Y, x as Q, B as X, u as Z, f as $, C as ee, v as ae, D as te, E as se, F as re, g as ne, h as ie, K as oe, H as ce, M as de, J as le, G as me, l as ge, e as pe, m as fe, I as Ce, L as ue, d as Se, N as Me, R as he, t as Ee, p as xe, s as ve, r as be, q as ye, b as Ge, c as Re, k as Oe, j as Ae, S as Ie, T as Pe, y as Le, z as Te, i as De, n as Ue, o as we, O as Be } from "./index-JQ1sW1SK.js";
4
4
  import { Layout as je, dimensionToCSS as Ve, infinity as ze, infinityToFlexCSS as qe, isInfinity as ke, shouldExpandForInfinity as Ne } from "./constants/layout.js";
5
- import { b as He, g as _e, f as Ke, c as Je, a as Ye, h as Qe, r as Xe, w as Ze, d as $e, e as ea } from "./factory-oMYyVSAY.js";
6
- import { C as ta, y as sa, y as ra, D as na, k as ia, E as oa, M as ca, S as da, q as la, V as ma, a as ga, b as pa, v as fa, l as Ca, o as ua, d as Sa, c as Ma, e as ha, n as Ea, g as xa, w as va, i as ba, h as ya, x as Ga, m as Ra, p as Oa, r as Aa, f as Ia, u as Pa, s as La, j as Ta, t as Da } from "./concatenated-component-BCrw_7cC.js";
5
+ import { b as He, g as _e, f as Ke, c as Je, a as Ye, h as Qe, r as Xe, w as Ze, d as $e, e as ea } from "./factory-gqfMcmOy.js";
6
+ import { C as ta, y as sa, y as ra, D as na, k as ia, E as oa, M as ca, S as da, q as la, V as ma, a as ga, b as pa, v as fa, l as Ca, o as ua, d as Sa, c as Ma, e as ha, n as Ea, g as xa, w as va, i as ba, h as ya, x as Ga, m as Ra, p as Oa, r as Aa, f as Ia, u as Pa, s as La, j as Ta, t as Da } from "./concatenated-component-2Gzy5e2c.js";
7
7
  import { OptimizedLazyPluginLoader as wa, PluginDevUtils as Ba, PluginError as Fa, SimplifiedComponentRegistry as ja, SimplifiedPluginManager as Va, SimplifiedTachUIInstance as za, adaptPlugin as qa, compareSemver as ka, createLazyPlugin as Na, createLegacyPluginAdapter as Wa, globalTachUIInstance as Ha, installPlugin as _a, isLegacyPlugin as Ka, normalizePluginName as Ja, registerComponent as Ya, registerService as Qa, validatePluginName as Xa, validateSemver as Za } from "./plugins/index.js";
8
8
  import { DOMBridgeDebug as et, getComponentFromElement as at, mountComponentChildren as tt, mountComponentTree as st, mountRoot as rt, registerComponentWithLifecycleHooks as nt, unmountComponent as it, unmountComponentEnhanced as ot, updateComponent as ct } from "./runtime/dom-bridge.js";
9
9
  import { LifecycleValidationUtils as lt, ProductionUtils as mt, ValidationDevTools as gt, ValidationSetup as pt, getComponentValidator as ft } from "./validation/index.js";
@@ -11,7 +11,7 @@ import { TACHUI_PACKAGE as ut, TACHUI_PACKAGE_VERSION as St, VERSION as Mt } fro
11
11
  import { c as Et, g as xt, a as vt, p as bt, b as yt } from "./plugin-BCAdZXKq.js";
12
12
  import { AnimationModifier as Rt, AppearanceModifier as Ot, BaseModifier as At, InteractionModifier as It, LayoutModifier as Pt, LifecycleModifier as Lt, ResizableModifier as Tt } from "./modifiers/base.js";
13
13
  import { ModifierPriority as Ut } from "@tachui/types/modifiers";
14
- import { a as Bt, c as Ft, g as jt, i as Vt, r as zt } from "./proxy-gO-vDCUZ.js";
14
+ import { a as Bt, c as Ft, g as jt, i as Vt, r as zt } from "./proxy-Cp0QUXME.js";
15
15
  import { a as kt, b as Nt, c as Wt, i as Ht, l as _t, p as Kt } from "./presets-B9x94uRn.js";
16
16
  import { g as Yt, e as Qt, f as Xt, c as Zt, a as $t, i as es, m as as, r as ts, s as ss, h as rs } from "./factories-B3-rmvkB.js";
17
17
  import { r as is } from "./registration-utils-CNsN4eoU.js";
@@ -2,8 +2,8 @@ import "./scheduler-DppMK9mR.js";
2
2
  import "./theme-CRLPHryV.js";
3
3
  import "@tachui/types/reactive";
4
4
  import "@tachui/types/modifiers";
5
- import { p as z, h as _, d as M, c as L } from "./concatenated-component-BCrw_7cC.js";
6
- import { i as x, c as A } from "./proxy-gO-vDCUZ.js";
5
+ import { p as z, h as _, d as M, c as L } from "./concatenated-component-2Gzy5e2c.js";
6
+ import { i as T, c as x } from "./proxy-Cp0QUXME.js";
7
7
  import "./presets-B9x94uRn.js";
8
8
  import "@tachui/registry";
9
9
  import "./component-D-O9yq0P.js";
@@ -19,7 +19,7 @@ function j(e) {
19
19
  function I(e) {
20
20
  return e !== null && typeof e == "object" && e.type === "component" && typeof e.render == "function";
21
21
  }
22
- function S(e, t = {}) {
22
+ function A(e, t = {}) {
23
23
  if (e == null)
24
24
  return e;
25
25
  const i = {};
@@ -56,15 +56,15 @@ function E(e) {
56
56
  const t = W();
57
57
  e.mounted = t.mounted, e.cleanup = t.cleanup, e.domElements = t.domElements, e.primaryElement = t.primaryElement, e.domReady = t.domReady;
58
58
  }
59
- var F = Object.defineProperty, H = (e, t, i) => t in e ? F(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, C = (e, t, i) => H(e, typeof t != "symbol" ? t + "" : t, i);
60
- const T = {
59
+ var q = Object.defineProperty, F = (e, t, i) => t in e ? q(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, C = (e, t, i) => F(e, typeof t != "symbol" ? t + "" : t, i);
60
+ const S = {
61
61
  isEnabled: () => !1,
62
62
  logComponent: (...e) => {
63
63
  },
64
64
  addDebugAttributes: (...e) => {
65
65
  }
66
66
  };
67
- function q(e) {
67
+ function H(e) {
68
68
  return e && typeof e.concat == "function" && typeof e.toSegment == "function" && typeof e.isConcatenatable == "function";
69
69
  }
70
70
  function h(e) {
@@ -73,8 +73,8 @@ function h(e) {
73
73
  configurable: !0,
74
74
  enumerable: !1,
75
75
  get: () => i
76
- }), x())
77
- return A(
76
+ }), T())
77
+ return x(
78
78
  e
79
79
  );
80
80
  const n = {
@@ -82,7 +82,7 @@ function h(e) {
82
82
  modifier: i,
83
83
  modifierBuilder: i
84
84
  };
85
- return typeof i.build == "function" && (n.build = i.build.bind(i)), q(e) && (n.concat = function(r) {
85
+ return typeof i.build == "function" && (n.build = i.build.bind(i)), H(e) && (n.concat = function(r) {
86
86
  return e.concat(r);
87
87
  }, n.toSegment = function() {
88
88
  return e.toSegment();
@@ -110,12 +110,12 @@ function ie(e, t = {}) {
110
110
  class v extends $ {
111
111
  constructor(t, i, n = [], r = {}) {
112
112
  super(), this.props = t, this.layoutType = i, this.children = n, this.layoutProps = r, C(this, "type", "component"), C(this, "id"), C(this, "mounted", !1), C(this, "cleanup", []), C(this, "effectiveTag"), C(this, "validationResult"), this.id = t?.id?.toString() || `layout-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
113
- const o = this.layoutType === "hstack" ? "HStack" : this.layoutType === "vstack" ? "VStack" : "ZStack", u = z(
113
+ const o = this.layoutType === "hstack" ? "HStack" : this.layoutType === "vstack" ? "VStack" : "ZStack", a = z(
114
114
  o,
115
115
  "div",
116
116
  this.props.element
117
117
  );
118
- if (this.effectiveTag = u.tag, this.validationResult = u.validation, process.env.NODE_ENV === "test" && this.effectiveTag !== "div" && !this.props.role) {
118
+ if (this.effectiveTag = a.tag, this.validationResult = a.validation, process.env.NODE_ENV === "test" && this.effectiveTag !== "div" && !this.props.role) {
119
119
  const d = {
120
120
  nav: "navigation",
121
121
  header: "banner",
@@ -128,8 +128,8 @@ class v extends $ {
128
128
  O(this, {
129
129
  onDOMReady: (b, d) => {
130
130
  this.children.forEach((s, m) => {
131
- const a = s._enhancedLifecycle;
132
- if (a && a.onDOMReady && !s.domReady)
131
+ const l = s._enhancedLifecycle;
132
+ if (l && l.onDOMReady && !s.domReady)
133
133
  try {
134
134
  if (d) {
135
135
  const y = this.findChildDOMElements(
@@ -138,17 +138,17 @@ class v extends $ {
138
138
  m
139
139
  );
140
140
  if (y.length > 0) {
141
- s.domElements = /* @__PURE__ */ new Map(), y.forEach((c, p) => {
142
- const f = c.id || `element-${p}`;
143
- s.domElements.set(f, c), s.primaryElement || (s.primaryElement = c);
141
+ s.domElements = /* @__PURE__ */ new Map(), y.forEach((f, p) => {
142
+ const u = f.id || `element-${p}`;
143
+ s.domElements.set(u, f), s.primaryElement || (s.primaryElement = f);
144
144
  }), s.domReady = !0;
145
- const l = a.onDOMReady(
145
+ const c = l.onDOMReady(
146
146
  s.domElements,
147
147
  s.primaryElement
148
148
  );
149
- if (typeof l == "function" && (s.cleanup = s.cleanup || [], s.cleanup.push(l)), a.onMount) {
150
- const c = a.onMount();
151
- typeof c == "function" && (s.cleanup = s.cleanup || [], s.cleanup.push(c));
149
+ if (typeof c == "function" && (s.cleanup = s.cleanup || [], s.cleanup.push(c)), l.onMount) {
150
+ const f = l.onMount();
151
+ typeof f == "function" && (s.cleanup = s.cleanup || [], s.cleanup.push(f));
152
152
  }
153
153
  }
154
154
  }
@@ -166,26 +166,33 @@ class v extends $ {
166
166
  * Find DOM elements for a specific child component within the layout container
167
167
  */
168
168
  findChildDOMElements(t, i, n) {
169
+ const r = i.querySelectorAll(
170
+ `[data-component-id="${t.id}"]`
171
+ );
172
+ if (r.length > 0)
173
+ return Array.from(r);
169
174
  if (t.id.startsWith("image-")) {
170
- const o = i.querySelectorAll("img.tachui-image");
171
- return o[n] ? [o[n]] : Array.from(o);
175
+ const a = i.querySelectorAll(
176
+ "img.tachui-image, span.tachui-image-template"
177
+ );
178
+ return a[n] ? [a[n]] : Array.from(a);
172
179
  }
173
180
  if (t.id.startsWith("button-")) {
174
- const o = i.querySelectorAll("button.tachui-button");
175
- return o[n] ? [o[n]] : Array.from(o);
181
+ const a = i.querySelectorAll("button.tachui-button");
182
+ return a[n] ? [a[n]] : Array.from(a);
176
183
  }
177
184
  if (t.id.startsWith("text-")) {
178
- const o = i.querySelectorAll(
185
+ const a = i.querySelectorAll(
179
186
  "span.tachui-text, .tachui-text"
180
187
  );
181
- return o[n] ? [o[n]] : Array.from(o);
188
+ return a[n] ? [a[n]] : Array.from(a);
182
189
  }
183
- const r = Array.from(i.children);
184
- return r[n] ? [r[n]] : r;
190
+ const o = Array.from(i.children);
191
+ return o[n] ? [o[n]] : o;
185
192
  }
186
193
  render() {
187
194
  const { spacing: t = 0, debugLabel: i } = this.layoutProps, n = this.layoutProps.alignment !== void 0 ? this.layoutProps.alignment : "center";
188
- T.logComponent(this.layoutType.toUpperCase(), i);
195
+ S.logComponent(this.layoutType.toUpperCase(), i);
189
196
  const r = [
190
197
  `tachui-${this.layoutType}`
191
198
  ], o = this.createClassString(this.props, r);
@@ -194,8 +201,8 @@ class v extends $ {
194
201
  const b = this.children.map((s) => {
195
202
  let m = s;
196
203
  "build" in s && typeof s.build == "function" && (m = s.build());
197
- const a = m.render();
198
- return Array.isArray(a) ? a : [a];
204
+ const l = m.render();
205
+ return Array.isArray(l) ? l : [l];
199
206
  }).flat();
200
207
  return [{
201
208
  type: "element",
@@ -209,7 +216,7 @@ class v extends $ {
209
216
  alignItems: n === "leading" ? "flex-start" : n === "trailing" ? "flex-end" : "center"
210
217
  },
211
218
  // Add debug attributes
212
- ...T.isEnabled()
219
+ ...S.isEnabled()
213
220
  },
214
221
  children: b,
215
222
  // Add component metadata for semantic role processing
@@ -221,11 +228,11 @@ class v extends $ {
221
228
  }];
222
229
  }
223
230
  case "hstack": {
224
- const b = this.children.map((a) => {
225
- let y = a;
226
- "build" in a && typeof a.build == "function" && (y = a.build());
227
- const l = y.render();
228
- return Array.isArray(l) ? l : [l];
231
+ const b = this.children.map((l) => {
232
+ let y = l;
233
+ "build" in l && typeof l.build == "function" && (y = l.build());
234
+ const c = y.render();
235
+ return Array.isArray(c) ? c : [c];
229
236
  }).flat(), d = n === "leading" || n === "left" ? "flex-start" : n === "trailing" || n === "right" ? "flex-end" : void 0, s = n === "top" ? "flex-start" : n === "bottom" ? "flex-end" : "center";
230
237
  return [{
231
238
  type: "element",
@@ -240,7 +247,7 @@ class v extends $ {
240
247
  ...d ? { justifyContent: d } : {}
241
248
  },
242
249
  // Add debug attributes
243
- ...T.isEnabled()
250
+ ...S.isEnabled()
244
251
  },
245
252
  children: b,
246
253
  // Add component metadata for semantic role processing
@@ -252,21 +259,21 @@ class v extends $ {
252
259
  }];
253
260
  }
254
261
  case "zstack": {
255
- const u = this.layoutProps.sizing && ["content", "priority", "explicit"].includes(this.layoutProps.sizing) ? this.layoutProps.sizing : "content", b = typeof this.layoutProps.sizingChildIndex == "number" && Number.isInteger(this.layoutProps.sizingChildIndex) ? this.layoutProps.sizingChildIndex : 0, d = this.children.length > 0 ? Math.min(Math.max(b, 0), this.children.length - 1) : -1;
262
+ const a = this.layoutProps.sizing && ["content", "priority", "explicit"].includes(this.layoutProps.sizing) ? this.layoutProps.sizing : "content", b = typeof this.layoutProps.sizingChildIndex == "number" && Number.isInteger(this.layoutProps.sizingChildIndex) ? this.layoutProps.sizingChildIndex : 0, d = this.children.length > 0 ? Math.min(Math.max(b, 0), this.children.length - 1) : -1;
256
263
  let s = -1 / 0, m = null;
257
- u === "priority" && this.children.forEach((l) => {
258
- let c = l;
259
- if ("build" in l && typeof l.build == "function" && (c = l.build()), "modifiers" in c && Array.isArray(c.modifiers)) {
260
- const p = c.modifiers.find(
261
- (f) => f.type === "layout" && f.properties && "layoutPriority" in f.properties && typeof f.properties.layoutPriority == "number"
264
+ a === "priority" && this.children.forEach((c) => {
265
+ let f = c;
266
+ if ("build" in c && typeof c.build == "function" && (f = c.build()), "modifiers" in f && Array.isArray(f.modifiers)) {
267
+ const p = f.modifiers.find(
268
+ (u) => u.type === "layout" && u.properties && "layoutPriority" in u.properties && typeof u.properties.layoutPriority == "number"
262
269
  );
263
270
  if (p) {
264
- const f = p.properties.layoutPriority;
265
- f > s && (s = f, m = c);
271
+ const u = p.properties.layoutPriority;
272
+ u > s && (s = u, m = f);
266
273
  }
267
274
  }
268
275
  });
269
- const a = _("div", {
276
+ const l = _("div", {
270
277
  className: o,
271
278
  style: {
272
279
  position: "relative",
@@ -274,18 +281,18 @@ class v extends $ {
274
281
  justifyContent: n.includes("Leading") ? "flex-start" : n.includes("Trailing") ? "flex-end" : "center",
275
282
  alignItems: n.includes("top") ? "flex-start" : n.includes("bottom") ? "flex-end" : "center",
276
283
  // Legacy priority mode sizes to the highest-priority child.
277
- ...u === "priority" && m ? {
284
+ ...a === "priority" && m ? {
278
285
  minWidth: "fit-content",
279
286
  minHeight: "fit-content"
280
287
  } : {}
281
288
  },
282
289
  // Add debug attributes
283
- ...T.isEnabled()
284
- }), y = this.children.flatMap((l, c) => {
285
- let p = l;
286
- "build" in l && typeof l.build == "function" && (p = l.build());
287
- const f = p.render(), w = Array.isArray(f) ? f : [f];
288
- let R = c;
290
+ ...S.isEnabled()
291
+ }), y = this.children.flatMap((c, f) => {
292
+ let p = c;
293
+ "build" in c && typeof c.build == "function" && (p = c.build());
294
+ const u = p.render(), w = Array.isArray(u) ? u : [u];
295
+ let R = f;
289
296
  if ("modifiers" in p && Array.isArray(p.modifiers)) {
290
297
  const g = p.modifiers.find(
291
298
  (P) => P.type === "layout" && P.properties && "layoutPriority" in P.properties
@@ -294,7 +301,7 @@ class v extends $ {
294
301
  }
295
302
  return w.map((g) => {
296
303
  if (g.type === "element") {
297
- const k = u === "content" ? c === d : u === "priority" ? u === "priority" && m !== null && p === m : !1;
304
+ const k = a === "content" ? f === d : a === "priority" ? a === "priority" && m !== null && p === m : !1;
298
305
  return {
299
306
  ...g,
300
307
  props: {
@@ -324,7 +331,7 @@ class v extends $ {
324
331
  type: "element",
325
332
  tag: this.effectiveTag,
326
333
  props: {
327
- ...a.props,
334
+ ...l.props,
328
335
  className: o
329
336
  },
330
337
  children: y,
@@ -352,7 +359,7 @@ class v extends $ {
352
359
  return t.deep ? this.deepClone() : this.shallowClone();
353
360
  }
354
361
  shallowClone() {
355
- const t = S(this.props), i = S(this.layoutProps), n = (this.children ?? []).slice(), r = new v(
362
+ const t = A(this.props), i = A(this.layoutProps), n = (this.children ?? []).slice(), r = new v(
356
363
  t,
357
364
  this.layoutType,
358
365
  n,
@@ -361,9 +368,9 @@ class v extends $ {
361
368
  return E(r), r;
362
369
  }
363
370
  deepClone() {
364
- const t = S(this.props, {
371
+ const t = A(this.props, {
365
372
  deep: !0
366
- }), i = S(this.layoutProps, {
373
+ }), i = A(this.layoutProps, {
367
374
  deep: !0
368
375
  }), n = (this.children ?? []).map((o) => typeof o?.clone == "function" ? o.clone({ deep: !0 }) : o), r = new v(
369
376
  t,
@@ -417,13 +424,13 @@ const re = {
417
424
  sizing: n = "content",
418
425
  sizingChildIndex: r = 0,
419
426
  debugLabel: o
420
- } = e, u = new v(e, "zstack", t, {
427
+ } = e, a = new v(e, "zstack", t, {
421
428
  alignment: i,
422
429
  sizing: n,
423
430
  sizingChildIndex: r,
424
431
  debugLabel: o
425
432
  });
426
- return h(u);
433
+ return h(a);
427
434
  }
428
435
  };
429
436
  function oe(e) {
@@ -434,7 +441,7 @@ function se(e) {
434
441
  constructor(t) {
435
442
  super(t), C(this, "_modifiableComponent");
436
443
  const i = h(this);
437
- x() ? (this._modifiableComponent = M(this), A(this)) : (this._modifiableComponent = i, Object.defineProperty(this, "modifier", {
444
+ T() ? (this._modifiableComponent = M(this), x(this)) : (this._modifiableComponent = i, Object.defineProperty(this, "modifier", {
438
445
  configurable: !0,
439
446
  enumerable: !1,
440
447
  value: i.modifier,
@@ -447,8 +454,8 @@ function se(e) {
447
454
  }));
448
455
  }
449
456
  get modifier() {
450
- if (x())
451
- return A(this).modifier;
457
+ if (T())
458
+ return x(this).modifier;
452
459
  const t = this._modifiableComponent ?? h(this);
453
460
  return this._modifiableComponent = t, t.modifier;
454
461
  }
@@ -476,7 +483,7 @@ function ae(e) {
476
483
  }
477
484
  function le(e, t, i = {}, ...n) {
478
485
  const r = new e(t, ...n);
479
- return x() && i.prewarmProxy !== !1 && A(r), r;
486
+ return T() && i.prewarmProxy !== !1 && x(r), r;
480
487
  }
481
488
  export {
482
489
  re as L,
@@ -486,7 +493,7 @@ export {
486
493
  h as d,
487
494
  oe as e,
488
495
  le as f,
489
- S as g,
496
+ A as g,
490
497
  W as h,
491
498
  E as r,
492
499
  se as w
@@ -1,7 +1,7 @@
1
1
  import { infinity as c } from "./constants/layout.js";
2
2
  import { LayoutModifier as m } from "./modifiers/base.js";
3
- import { y as h, t as z, h as M } from "./concatenated-component-BCrw_7cC.js";
4
- import { g as O, a as N } from "./proxy-gO-vDCUZ.js";
3
+ import { y as h, t as z, h as M } from "./concatenated-component-2Gzy5e2c.js";
4
+ import { g as O, a as N } from "./proxy-Cp0QUXME.js";
5
5
  import "./assets/index.js";
6
6
  import "./scheduler-DppMK9mR.js";
7
7
  import "./theme-CRLPHryV.js";
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
- import { c as s, b as r, C as n, S as i, T as o, k as c, q as d, u as l, p as m, g, d as p, e as f, f as C, j as u, h as S, l as M, n as h, i as E, a as x, v as b, m as v, w as y, x as G, o as R, r as O, s as A, t as I } from "./index-Bgna5tXS.js";
1
+ import { c as s, b as r, C as n, S as i, T as o, k as c, q as d, u as l, p as m, g, d as p, e as f, f as C, j as u, h as S, l as M, n as h, i as E, a as x, v as b, m as v, w as y, x as G, o as R, r as O, s as A, t as I } from "./index-DL9Cys3t.js";
2
2
  import { Assets as L, ColorAsset as T, FontAsset as D, FontWidth as w, ImageAsset as U, SystemFonts as B, createColorAsset as F, createFontAsset as j, createGoogleFont as V, createImageAsset as z, createSystemFont as N, createVariableFont as k, getAssetInfo as q, listAssetNames as W, registerAsset as _ } from "./assets/index.js";
3
3
  import { a as K, w as J, A as Y, x as Q, B as X, u as Z, f as $, C as ee, v as ae, D as te, E as se, F as re, g as ne, h as ie, K as oe, H as ce, M as de, J as le, G as me, l as ge, e as pe, m as fe, I as Ce, L as ue, d as Se, N as Me, R as he, t as Ee, p as xe, s as be, r as ve, q as ye, b as Ge, c as Re, k as Oe, j as Ae, S as Ie, T as Pe, y as Le, z as Te, i as De, n as we, o as Ue, O as Be } from "./index-JQ1sW1SK.js";
4
4
  import { Layout as je, dimensionToCSS as Ve, infinity as ze, infinityToFlexCSS as Ne, isInfinity as ke, shouldExpandForInfinity as qe } from "./constants/layout.js";
5
- import { b as _e, g as He, f as Ke, c as Je, a as Ye, h as Qe, r as Xe, w as Ze, d as $e, e as ea } from "./factory-oMYyVSAY.js";
6
- import { C as ta, y as sa, y as ra, D as na, k as ia, E as oa, M as ca, S as da, q as la, V as ma, a as ga, b as pa, v as fa, l as Ca, o as ua, d as Sa, c as Ma, e as ha, n as Ea, g as xa, w as ba, i as va, h as ya, x as Ga, m as Ra, p as Oa, r as Aa, f as Ia, u as Pa, s as La, j as Ta, t as Da } from "./concatenated-component-BCrw_7cC.js";
5
+ import { b as _e, g as He, f as Ke, c as Je, a as Ye, h as Qe, r as Xe, w as Ze, d as $e, e as ea } from "./factory-gqfMcmOy.js";
6
+ import { C as ta, y as sa, y as ra, D as na, k as ia, E as oa, M as ca, S as da, q as la, V as ma, a as ga, b as pa, v as fa, l as Ca, o as ua, d as Sa, c as Ma, e as ha, n as Ea, g as xa, w as ba, i as va, h as ya, x as Ga, m as Ra, p as Oa, r as Aa, f as Ia, u as Pa, s as La, j as Ta, t as Da } from "./concatenated-component-2Gzy5e2c.js";
7
7
  import { OptimizedLazyPluginLoader as Ua, PluginDevUtils as Ba, PluginError as Fa, SimplifiedComponentRegistry as ja, SimplifiedPluginManager as Va, SimplifiedTachUIInstance as za, adaptPlugin as Na, compareSemver as ka, createLazyPlugin as qa, createLegacyPluginAdapter as Wa, globalTachUIInstance as _a, installPlugin as Ha, isLegacyPlugin as Ka, normalizePluginName as Ja, registerComponent as Ya, registerService as Qa, validatePluginName as Xa, validateSemver as Za } from "./plugins/index.js";
8
8
  import { DOMBridgeDebug as et, getComponentFromElement as at, mountComponentChildren as tt, mountComponentTree as st, mountRoot as rt, registerComponentWithLifecycleHooks as nt, unmountComponent as it, unmountComponentEnhanced as ot, updateComponent as ct } from "./runtime/dom-bridge.js";
9
9
  import { LifecycleValidationUtils as lt, ProductionUtils as mt, ValidationDevTools as gt, ValidationSetup as pt, getComponentValidator as ft } from "./validation/index.js";
@@ -11,7 +11,7 @@ import { TACHUI_PACKAGE as ut, TACHUI_PACKAGE_VERSION as St, VERSION as Mt } fro
11
11
  import { c as Et, g as xt, a as bt, p as vt, b as yt } from "./plugin-BCAdZXKq.js";
12
12
  import { AnimationModifier as Rt, AppearanceModifier as Ot, BaseModifier as At, InteractionModifier as It, LayoutModifier as Pt, LifecycleModifier as Lt, ResizableModifier as Tt } from "./modifiers/base.js";
13
13
  import { ModifierPriority as wt } from "@tachui/types/modifiers";
14
- import { a as Bt, c as Ft, g as jt, i as Vt, r as zt } from "./proxy-gO-vDCUZ.js";
14
+ import { a as Bt, c as Ft, g as jt, i as Vt, r as zt } from "./proxy-Cp0QUXME.js";
15
15
  import { a as kt, b as qt, c as Wt, i as _t, l as Ht, p as Kt } from "./presets-B9x94uRn.js";
16
16
  import { g as Yt, e as Qt, f as Xt, c as Zt, a as $t, i as es, m as as, r as ts, s as ss, h as rs } from "./factories-B3-rmvkB.js";
17
17
  import { r as is } from "./registration-utils-CNsN4eoU.js";
@@ -1,5 +1,5 @@
1
1
  import "@tachui/registry";
2
- import { M as s, a, c as o, m as d, s as t } from "../concatenated-component-BCrw_7cC.js";
2
+ import { M as s, a, c as o, m as d, s as t } from "../concatenated-component-2Gzy5e2c.js";
3
3
  export {
4
4
  s as ModifierBuilderImpl,
5
5
  a as applyModifiers,
@@ -1,7 +1,7 @@
1
1
  import { AnimationModifier as r, AppearanceModifier as o, BaseModifier as a, InteractionModifier as s, LayoutModifier as f, LifecycleModifier as t, ResizableModifier as d } from "./base.js";
2
2
  import { ModifierPriority as p } from "@tachui/types/modifiers";
3
- import { M as n, a as m, b as l, d as y, c as x, e as b, m as u, s as g } from "../concatenated-component-BCrw_7cC.js";
4
- import { c as h, r as B } from "../proxy-gO-vDCUZ.js";
3
+ import { M as n, a as m, b as l, d as y, c as x, e as b, m as u, s as g } from "../concatenated-component-2Gzy5e2c.js";
4
+ import { c as h, r as B } from "../proxy-Cp0QUXME.js";
5
5
  import { a as R, b as v, c as A, i as I, l as L, p as z } from "../presets-B9x94uRn.js";
6
6
  import { g as H, e as N, f as S, c as T, a as U, i as W, m as j, r as k, s as q, h as w } from "../factories-B3-rmvkB.js";
7
7
  import { r as F } from "../registration-utils-CNsN4eoU.js";
@@ -1,4 +1,4 @@
1
- import { b as a, d as r, e as s, z as t, B as d, A as p } from "../concatenated-component-BCrw_7cC.js";
1
+ import { b as a, d as r, e as s, z as t, B as d, A as p } from "../concatenated-component-2Gzy5e2c.js";
2
2
  import "@tachui/registry";
3
3
  export {
4
4
  a as applyModifiersToNode,
@@ -1,4 +1,4 @@
1
- import { z as h, d as R } from "./concatenated-component-BCrw_7cC.js";
1
+ import { z as h, d as R } from "./concatenated-component-2Gzy5e2c.js";
2
2
  const k = {
3
3
  proxyModifiers: !0
4
4
  };
@@ -2,7 +2,7 @@ import "../scheduler-DppMK9mR.js";
2
2
  import { n as C, p as M } from "../theme-CRLPHryV.js";
3
3
  import "@tachui/types/reactive";
4
4
  import { b as g, s as m, a as p } from "../component-context-B9HI2nZH.js";
5
- import { D as L } from "../concatenated-component-BCrw_7cC.js";
5
+ import { D as L } from "../concatenated-component-2Gzy5e2c.js";
6
6
  const v = new L(), u = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Set();
7
7
  function N(e) {
8
8
  e._enhancedLifecycle && h.add(e);
@@ -3,7 +3,7 @@ import { C as x, a as R, E as h, c as v, b as D, d as O, g as A, p as b, r as w,
3
3
  import { A as L, C as T, D as P, F as V, I as j, c as F, a as _, b as k, d as B, g as G, i as N, m as U, o as q, e as W, f as z, h as H, j as K, s as Y, k as J, u as Q, l as X, n as Z, p as $, w as ee, q as ae } from "../hooks-WGmpzYgD.js";
4
4
  import { DOMBridgeDebug as ne, getComponentFromElement as oe, mountComponentChildren as re, mountComponentTree as se, mountRoot as me, unmountComponent as ie, unmountComponentEnhanced as Ce, updateComponent as ce } from "./dom-bridge.js";
5
5
  import { L as pe, l as ue, b as ge, m as de, u as Me, a as Ee } from "../optimization-CbKNA9w4.js";
6
- import { C as xe, D as Re, k as he, E as ve, S as De, q as Oe, V as Ae, v as be, l as we, o as Ie, n as ye, g as Se, w as Le, i as Te, h as Pe, x as Ve, p as je, r as Fe, f as _e, u as ke, j as Be, t as Ge } from "../concatenated-component-BCrw_7cC.js";
6
+ import { C as xe, D as Re, k as he, E as ve, S as De, q as Oe, V as Ae, v as be, l as we, o as Ie, n as ye, g as Se, w as Le, i as Te, h as Pe, x as Ve, p as je, r as Fe, f as _e, u as ke, j as Be, t as Ge } from "../concatenated-component-2Gzy5e2c.js";
7
7
  export {
8
8
  L as AnimationManager,
9
9
  xe as COMPONENT_ELIGIBILITY,
@@ -1,4 +1,4 @@
1
- import { D as m, g as n, h as p, r as a, f as d, t as M } from "../concatenated-component-BCrw_7cC.js";
1
+ import { D as m, g as n, h as p, r as a, f as d, t as M } from "../concatenated-component-2Gzy5e2c.js";
2
2
  import "../scheduler-DppMK9mR.js";
3
3
  import "../theme-CRLPHryV.js";
4
4
  import "../effect-BsW3fy1q.js";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
- const c = "@tachui/core", o = "0.8.17", n = c, t = o, s = o;
1
+ const c = "@tachui/core", o = "0.8.18", n = c, t = o, s = o;
2
2
  export {
3
3
  n as TACHUI_PACKAGE,
4
4
  t as TACHUI_PACKAGE_VERSION,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tachui/core",
3
- "version": "0.8.17",
3
+ "version": "0.8.18",
4
4
  "description": "tachUI core framework with reactive system and compiler",
5
5
  "homepage": "https://tachui.dev/",
6
6
  "type": "module",
@@ -141,8 +141,8 @@
141
141
  "dist"
142
142
  ],
143
143
  "dependencies": {
144
- "@tachui/types": "0.8.17",
145
- "@tachui/registry": "0.8.17"
144
+ "@tachui/types": "0.8.18",
145
+ "@tachui/registry": "0.8.18"
146
146
  },
147
147
  "devDependencies": {
148
148
  "@types/jsdom": "^21.1.6",