@tachui/core 0.8.13 → 0.8.15

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
@@ -2,7 +2,7 @@ import { c as s, b as r, C as n, S as i, T as o, k as c, q as d, s as l, p as m,
2
2
  import { Assets as P, ColorAsset as L, FontAsset as T, FontWidth as D, ImageAsset as w, SystemFonts as U, createColorAsset as B, createFontAsset as F, createGoogleFont as j, createImageAsset as k, createSystemFont as V, createVariableFont as q, getAssetInfo as z, listAssetNames as N, registerAsset as W } from "./assets/index.js";
3
3
  import { a as _, w as K, A as J, x as Y, B as Q, u as X, f as Z, C as $, v as ee, D as ae, E as te, F as se, g as re, h as ne, K as ie, H as oe, M as ce, J as de, G as le, l as me, e as ge, m as pe, I as fe, L as Ce, d as ue, N as Se, R as Me, t as he, p as Ee, s as xe, r as be, q as ve, b as ye, c as Ge, k as Re, j as Oe, S as Ae, T as Ie, y as Pe, z as Le, i as Te, n as De, o as we, O as Ue } from "./index-JQ1sW1SK.js";
4
4
  import { Layout as Fe, dimensionToCSS as je, infinity as ke, infinityToFlexCSS as Ve, isInfinity as qe, shouldExpandForInfinity as ze } from "./constants/layout.js";
5
- import { b as We, g as He, f as _e, c as Ke, a as Je, h as Ye, r as Qe, w as Xe, d as Ze, e as $e } from "./factory-wYm7L3JT.js";
5
+ import { b as We, g as He, f as _e, c as Ke, a as Je, h as Ye, r as Qe, w as Xe, d as Ze, e as $e } from "./factory-oMYyVSAY.js";
6
6
  import { C as aa, y as ta, y as sa, D as ra, k as na, E as ia, M as oa, S as ca, q as da, V as la, a as ma, b as ga, v as pa, l as fa, o as Ca, d as ua, c as Sa, e as Ma, n as ha, g as Ea, w as xa, i as ba, h as va, x as ya, m as Ga, p as Ra, r as Oa, f as Aa, u as Ia, s as Pa, j as La, t as Ta } from "./concatenated-component-BCrw_7cC.js";
7
7
  import { OptimizedLazyPluginLoader as wa, PluginDevUtils as Ua, PluginError as Ba, SimplifiedComponentRegistry as Fa, SimplifiedPluginManager as ja, SimplifiedTachUIInstance as ka, adaptPlugin as Va, compareSemver as qa, createLazyPlugin as za, createLegacyPluginAdapter as Na, globalTachUIInstance as Wa, installPlugin as Ha, isLegacyPlugin as _a, normalizePluginName as Ka, registerComponent as Ja, registerService as Ya, validatePluginName as Qa, validateSemver as Xa } from "./plugins/index.js";
8
8
  import { DOMBridgeDebug as $a, getComponentFromElement as et, mountComponentChildren as at, mountComponentTree as tt, mountRoot as st, registerComponentWithLifecycleHooks as rt, unmountComponent as nt, unmountComponentEnhanced as it, updateComponent as ot } from "./runtime/dom-bridge.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-wYm7L3JT.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-oMYyVSAY.js";
2
2
  export {
3
3
  o as Layout,
4
4
  t as LayoutComponent,
@@ -32,6 +32,8 @@ export interface HStackLayoutProps extends BaseLayoutProps {
32
32
  alignment?: 'top' | 'center' | 'bottom' | 'leading' | 'trailing' | 'left' | 'right';
33
33
  }
34
34
  export interface ZStackLayoutProps extends BaseLayoutProps {
35
+ sizing?: 'content' | 'priority' | 'explicit';
36
+ sizingChildIndex?: number;
35
37
  alignment?: 'topLeading' | 'top' | 'topTrailing' | 'leading' | 'center' | 'trailing' | 'bottomLeading' | 'bottom' | 'bottomTrailing';
36
38
  }
37
39
  /**
@@ -98,7 +100,7 @@ export declare const Layout: {
98
100
  modifier: ModifierBuilder<ModifiableComponent<ComponentProps & ElementOverrideProps & CSSClassesProps>>;
99
101
  };
100
102
  /**
101
- * Z-index stack container (absolute positioning)
103
+ * Z-index stack container (content sizing by default)
102
104
  */
103
105
  ZStack: (props?: ZStackLayoutProps) => ModifiableComponent<ComponentProps & ElementOverrideProps & CSSClassesProps> & ModifierBuilder<ModifiableComponent<ComponentProps & ElementOverrideProps & CSSClassesProps>> & {
104
106
  modifier: ModifierBuilder<ModifiableComponent<ComponentProps & ElementOverrideProps & CSSClassesProps>>;
@@ -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,yBAAyB,CAAC,EAAE,OAAO,CAAA;CACpC;AAED,MAAM,WAAW,eACf,SAAQ,cAAc,EACpB,oBAAoB,EACpB,eAAe;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,iBAAiB,EAAE,CAAA;CAC/B;AAED,MAAM,WAAW,iBAAkB,SAAQ,eAAe;IACxD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAA;CAC9C;AAED,MAAM,WAAW,iBAAkB,SAAQ,eAAe;IACxD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM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I,IAAI;CAyBlB;AAED;;GAEG;AACH,eAAO,MAAM,MAAM;IACjB;;OAEG;qBACa,iBAAiB;;;IAejC;;OAEG;qBACa,iBAAiB;;;IAejC;;OAEG;qBACa,iBAAiB;;;CAgBlC,CAAA;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,cAAc,EACpD,SAAS,EAAE,iBAAiB,CAAC,CAAC,CAAC,GAC9B,mBAAmB,CAAC,CAAC,CAAC,GAAG;IAC1B,QAAQ,EAAE,eAAe,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAA;CAClD,CAEA;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,cAAc,EAC1D,cAAc,EAAE,KAAK,KAAK,EAAE,CAAC,KAAK,iBAAiB,CAAC,CAAC,CAAC;gBAKjC,CAAC;+BAFU,mBAAmB,CAAC,CAAC,CAAC;wBAyBpC,eAAe,CAAC,mBAAmB,CAAC,CAAC,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"}
package/dist/essential.js CHANGED
@@ -2,7 +2,7 @@ import { c as s, b as r, C as n, S as i, T as o, k as c, q as d, s as l, p as m,
2
2
  import { Assets as P, ColorAsset as L, FontAsset as T, FontWidth as D, ImageAsset as U, SystemFonts as w, createColorAsset as B, createFontAsset as F, createGoogleFont as j, createImageAsset as V, createSystemFont as q, createVariableFont as z, getAssetInfo as k, listAssetNames as N, registerAsset as W } from "./assets/index.js";
3
3
  import { a as _, w as K, A as J, x as Y, B as Q, u as X, f as Z, C as $, v as ee, D as ae, E as te, F as se, g as re, h as ne, K as ie, H as oe, M as ce, J as de, G as le, l as me, e as ge, m as pe, I as fe, L as Ce, d as ue, N as Se, R as Me, t as he, p as Ee, s as xe, r as ve, q as be, b as ye, c as Ge, k as Re, j as Oe, S as Ae, T as Ie, y as Pe, z as Le, i as Te, n as De, o as Ue, O as we } from "./index-JQ1sW1SK.js";
4
4
  import { Layout as Fe, dimensionToCSS as je, infinity as Ve, infinityToFlexCSS as qe, isInfinity as ze, shouldExpandForInfinity as ke } from "./constants/layout.js";
5
- import { b as We, g as He, f as _e, c as Ke, a as Je, h as Ye, r as Qe, w as Xe, d as Ze, e as $e } from "./factory-wYm7L3JT.js";
5
+ import { b as We, g as He, f as _e, c as Ke, a as Je, h as Ye, r as Qe, w as Xe, d as Ze, e as $e } from "./factory-oMYyVSAY.js";
6
6
  import { C as aa, y as ta, y as sa, D as ra, k as na, E as ia, M as oa, S as ca, q as da, V as la, a as ma, b as ga, v as pa, l as fa, o as Ca, d as ua, c as Sa, e as Ma, n as ha, g as Ea, w as xa, i as va, h as ba, x as ya, m as Ga, p as Ra, r as Oa, f as Aa, u as Ia, s as Pa, j as La, t as Ta } from "./concatenated-component-BCrw_7cC.js";
7
7
  import { OptimizedLazyPluginLoader as Ua, PluginDevUtils as wa, PluginError as Ba, SimplifiedComponentRegistry as Fa, SimplifiedPluginManager as ja, SimplifiedTachUIInstance as Va, adaptPlugin as qa, compareSemver as za, createLazyPlugin as ka, createLegacyPluginAdapter as Na, globalTachUIInstance as Wa, installPlugin as Ha, isLegacyPlugin as _a, normalizePluginName as Ka, registerComponent as Ja, registerService as Ya, validatePluginName as Qa, validateSemver as Xa } from "./plugins/index.js";
8
8
  import { DOMBridgeDebug as $a, getComponentFromElement as et, mountComponentChildren as at, mountComponentTree as tt, mountRoot as st, registerComponentWithLifecycleHooks as rt, unmountComponent as nt, unmountComponentEnhanced as it, updateComponent as ot } from "./runtime/dom-bridge.js";
@@ -2,48 +2,48 @@ 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 x, h as w, d as S, c as M } from "./concatenated-component-BCrw_7cC.js";
6
- import { i as P, c as R } from "./proxy-gO-vDCUZ.js";
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";
7
7
  import "./presets-B9x94uRn.js";
8
8
  import "@tachui/registry";
9
9
  import "./component-D-O9yq0P.js";
10
- import { l as k } from "./hooks-WGmpzYgD.js";
11
- import { registerComponentWithLifecycleHooks as _ } from "./runtime/dom-bridge.js";
12
- import { b as L } from "./component-base-C41K3NTe.js";
13
- function O(e) {
10
+ import { l as O } from "./hooks-WGmpzYgD.js";
11
+ import { registerComponentWithLifecycleHooks as D } from "./runtime/dom-bridge.js";
12
+ import { b as $ } from "./component-base-C41K3NTe.js";
13
+ function N(e) {
14
14
  return typeof e == "function" && e !== null && typeof e.set == "function";
15
15
  }
16
- function D(e) {
16
+ function j(e) {
17
17
  return e !== null && typeof e == "object" && "resolve" in e && typeof e.resolve == "function";
18
18
  }
19
- function $(e) {
19
+ function I(e) {
20
20
  return e !== null && typeof e == "object" && e.type === "component" && typeof e.render == "function";
21
21
  }
22
- function T(e, t = {}) {
22
+ function S(e, t = {}) {
23
23
  if (e == null)
24
24
  return e;
25
- const r = {};
26
- return Object.entries(e).forEach(([n, i]) => {
27
- if (O(i) || D(i)) {
28
- r[n] = i;
25
+ const i = {};
26
+ return Object.entries(e).forEach(([n, r]) => {
27
+ if (N(r) || j(r)) {
28
+ i[n] = r;
29
29
  return;
30
30
  }
31
- if (Array.isArray(i)) {
32
- t.deep ? r[n] = i.map((o) => $(o) && typeof o.clone == "function" ? o.clone(t) : o) : r[n] = [...i];
31
+ if (Array.isArray(r)) {
32
+ t.deep ? i[n] = r.map((o) => I(o) && typeof o.clone == "function" ? o.clone(t) : o) : i[n] = [...r];
33
33
  return;
34
34
  }
35
- if (i && typeof i == "object") {
36
- if (i instanceof Element || i instanceof Node) {
37
- r[n] = void 0;
35
+ if (r && typeof r == "object") {
36
+ if (r instanceof Element || r instanceof Node) {
37
+ i[n] = void 0;
38
38
  return;
39
39
  }
40
- r[n] = { ...i };
40
+ i[n] = { ...r };
41
41
  return;
42
42
  }
43
- r[n] = i;
44
- }), r;
43
+ i[n] = r;
44
+ }), i;
45
45
  }
46
- function j() {
46
+ function W() {
47
47
  return {
48
48
  mounted: !1,
49
49
  cleanup: [],
@@ -53,47 +53,47 @@ function j() {
53
53
  };
54
54
  }
55
55
  function E(e) {
56
- const t = j();
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 N = Object.defineProperty, W = (e, t, r) => t in e ? N(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, b = (e, t, r) => W(e, typeof t != "symbol" ? t + "" : t, r);
60
- const A = {
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 = {
61
61
  isEnabled: () => !1,
62
62
  logComponent: (...e) => {
63
63
  },
64
64
  addDebugAttributes: (...e) => {
65
65
  }
66
66
  };
67
- function H(e) {
67
+ function q(e) {
68
68
  return e && typeof e.concat == "function" && typeof e.toSegment == "function" && typeof e.isConcatenatable == "function";
69
69
  }
70
- function d(e) {
71
- const t = S(e), r = M(t);
70
+ function h(e) {
71
+ const t = M(e), i = L(t);
72
72
  if (Object.prototype.hasOwnProperty.call(e, "modifier") || Object.defineProperty(e, "modifier", {
73
73
  configurable: !0,
74
74
  enumerable: !1,
75
- get: () => r
76
- }), P())
77
- return R(
75
+ get: () => i
76
+ }), x())
77
+ return A(
78
78
  e
79
79
  );
80
80
  const n = {
81
81
  ...t,
82
- modifier: r,
83
- modifierBuilder: r
82
+ modifier: i,
83
+ modifierBuilder: i
84
84
  };
85
- return typeof r.build == "function" && (n.build = r.build.bind(r)), H(e) && (n.concat = function(i) {
86
- return e.concat(i);
85
+ return typeof i.build == "function" && (n.build = i.build.bind(i)), q(e) && (n.concat = function(r) {
86
+ return e.concat(r);
87
87
  }, n.toSegment = function() {
88
88
  return e.toSegment();
89
89
  }, n.isConcatenatable = function() {
90
90
  return e.isConcatenatable();
91
91
  }), n;
92
92
  }
93
- function X(e, t = {}) {
94
- const { enableModifiers: r = !0 } = t;
93
+ function ie(e, t = {}) {
94
+ const { enableModifiers: i = !0 } = t;
95
95
  return (n) => {
96
- const i = {
96
+ const r = {
97
97
  type: "component",
98
98
  id: `wrapper-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`,
99
99
  props: n,
@@ -104,97 +104,97 @@ function X(e, t = {}) {
104
104
  return Array.isArray(o) ? o : [o];
105
105
  }
106
106
  };
107
- return d(i);
107
+ return h(r);
108
108
  };
109
109
  }
110
- class g extends L {
111
- constructor(t, r, n = [], i = {}) {
112
- super(), this.props = t, this.layoutType = r, this.children = n, this.layoutProps = i, b(this, "type", "component"), b(this, "id"), b(this, "mounted", !1), b(this, "cleanup", []), b(this, "effectiveTag"), b(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", h = x(
110
+ class v extends $ {
111
+ constructor(t, i, n = [], r = {}) {
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(
114
114
  o,
115
115
  "div",
116
116
  this.props.element
117
117
  );
118
- if (this.effectiveTag = h.tag, this.validationResult = h.validation, process.env.NODE_ENV === "test" && this.effectiveTag !== "div" && !this.props.role) {
119
- const u = {
118
+ if (this.effectiveTag = u.tag, this.validationResult = u.validation, process.env.NODE_ENV === "test" && this.effectiveTag !== "div" && !this.props.role) {
119
+ const d = {
120
120
  nav: "navigation",
121
121
  header: "banner",
122
122
  footer: "contentinfo",
123
123
  main: "main",
124
124
  aside: "complementary"
125
125
  }[this.effectiveTag];
126
- u && (this.props.role = u);
126
+ d && (this.props.role = d);
127
127
  }
128
- k(this, {
129
- onDOMReady: (m, u) => {
130
- this.children.forEach((s, f) => {
128
+ O(this, {
129
+ onDOMReady: (b, d) => {
130
+ this.children.forEach((s, m) => {
131
131
  const a = s._enhancedLifecycle;
132
132
  if (a && a.onDOMReady && !s.domReady)
133
133
  try {
134
- if (u) {
135
- const l = this.findChildDOMElements(
134
+ if (d) {
135
+ const y = this.findChildDOMElements(
136
136
  s,
137
- u,
138
- f
137
+ d,
138
+ m
139
139
  );
140
- if (l.length > 0) {
141
- s.domElements = /* @__PURE__ */ new Map(), l.forEach((y, C) => {
142
- const p = y.id || `element-${C}`;
143
- s.domElements.set(p, y), s.primaryElement || (s.primaryElement = y);
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);
144
144
  }), s.domReady = !0;
145
- const c = a.onDOMReady(
145
+ const l = a.onDOMReady(
146
146
  s.domElements,
147
147
  s.primaryElement
148
148
  );
149
- if (typeof c == "function" && (s.cleanup = s.cleanup || [], s.cleanup.push(c)), a.onMount) {
150
- const y = a.onMount();
151
- typeof y == "function" && (s.cleanup = s.cleanup || [], s.cleanup.push(y));
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));
152
152
  }
153
153
  }
154
154
  }
155
- } catch (l) {
155
+ } catch (y) {
156
156
  console.error(
157
157
  `Error processing lifecycle hooks for child ${s.id}:`,
158
- l
158
+ y
159
159
  );
160
160
  }
161
161
  });
162
162
  }
163
- }), _(this);
163
+ }), D(this);
164
164
  }
165
165
  /**
166
166
  * Find DOM elements for a specific child component within the layout container
167
167
  */
168
- findChildDOMElements(t, r, n) {
168
+ findChildDOMElements(t, i, n) {
169
169
  if (t.id.startsWith("image-")) {
170
- const o = r.querySelectorAll("img.tachui-image");
170
+ const o = i.querySelectorAll("img.tachui-image");
171
171
  return o[n] ? [o[n]] : Array.from(o);
172
172
  }
173
173
  if (t.id.startsWith("button-")) {
174
- const o = r.querySelectorAll("button.tachui-button");
174
+ const o = i.querySelectorAll("button.tachui-button");
175
175
  return o[n] ? [o[n]] : Array.from(o);
176
176
  }
177
177
  if (t.id.startsWith("text-")) {
178
- const o = r.querySelectorAll(
178
+ const o = i.querySelectorAll(
179
179
  "span.tachui-text, .tachui-text"
180
180
  );
181
181
  return o[n] ? [o[n]] : Array.from(o);
182
182
  }
183
- const i = Array.from(r.children);
184
- return i[n] ? [i[n]] : i;
183
+ const r = Array.from(i.children);
184
+ return r[n] ? [r[n]] : r;
185
185
  }
186
186
  render() {
187
- const { spacing: t = 0, debugLabel: r } = this.layoutProps, n = this.layoutProps.alignment !== void 0 ? this.layoutProps.alignment : "center";
188
- A.logComponent(this.layoutType.toUpperCase(), r);
189
- const i = [
187
+ 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);
189
+ const r = [
190
190
  `tachui-${this.layoutType}`
191
- ], o = this.createClassString(this.props, i);
191
+ ], o = this.createClassString(this.props, r);
192
192
  switch (this.layoutType) {
193
193
  case "vstack": {
194
- const m = this.children.map((s) => {
195
- let f = s;
196
- "build" in s && typeof s.build == "function" && (f = s.build());
197
- const a = f.render();
194
+ const b = this.children.map((s) => {
195
+ let m = s;
196
+ "build" in s && typeof s.build == "function" && (m = s.build());
197
+ const a = m.render();
198
198
  return Array.isArray(a) ? a : [a];
199
199
  }).flat();
200
200
  return [{
@@ -209,9 +209,9 @@ class g extends L {
209
209
  alignItems: n === "leading" ? "flex-start" : n === "trailing" ? "flex-end" : "center"
210
210
  },
211
211
  // Add debug attributes
212
- ...A.isEnabled()
212
+ ...T.isEnabled()
213
213
  },
214
- children: m,
214
+ children: b,
215
215
  // Add component metadata for semantic role processing
216
216
  componentMetadata: {
217
217
  originalType: "VStack",
@@ -221,12 +221,12 @@ class g extends L {
221
221
  }];
222
222
  }
223
223
  case "hstack": {
224
- const m = this.children.map((a) => {
225
- let l = a;
226
- "build" in a && typeof a.build == "function" && (l = a.build());
227
- const c = l.render();
228
- return Array.isArray(c) ? c : [c];
229
- }).flat(), u = n === "leading" || n === "left" ? "flex-start" : n === "trailing" || n === "right" ? "flex-end" : void 0, s = n === "top" ? "flex-start" : n === "bottom" ? "flex-end" : "center";
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];
229
+ }).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
230
  return [{
231
231
  type: "element",
232
232
  tag: this.effectiveTag,
@@ -237,12 +237,12 @@ class g extends L {
237
237
  flexDirection: "row",
238
238
  gap: t ? `${t}px` : "0",
239
239
  alignItems: s,
240
- ...u ? { justifyContent: u } : {}
240
+ ...d ? { justifyContent: d } : {}
241
241
  },
242
242
  // Add debug attributes
243
- ...A.isEnabled()
243
+ ...T.isEnabled()
244
244
  },
245
- children: m,
245
+ children: b,
246
246
  // Add component metadata for semantic role processing
247
247
  componentMetadata: {
248
248
  originalType: "HStack",
@@ -252,71 +252,71 @@ class g extends L {
252
252
  }];
253
253
  }
254
254
  case "zstack": {
255
- let h = -1 / 0, m = null;
256
- this.children.forEach((f) => {
257
- let a = f;
258
- if ("build" in f && typeof f.build == "function" && (a = f.build()), "modifiers" in a && Array.isArray(a.modifiers)) {
259
- const l = a.modifiers.find(
260
- (c) => c.type === "layout" && c.properties && "layoutPriority" in c.properties && typeof c.properties.layoutPriority == "number"
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;
256
+ 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"
261
262
  );
262
- if (l) {
263
- const c = l.properties.layoutPriority;
264
- c > h && (h = c, m = a);
263
+ if (p) {
264
+ const f = p.properties.layoutPriority;
265
+ f > s && (s = f, m = c);
265
266
  }
266
267
  }
267
268
  });
268
- const u = w("div", {
269
+ const a = _("div", {
269
270
  className: o,
270
271
  style: {
271
272
  position: "relative",
272
273
  display: "flex",
273
274
  justifyContent: n.includes("Leading") ? "flex-start" : n.includes("Trailing") ? "flex-end" : "center",
274
275
  alignItems: n.includes("top") ? "flex-start" : n.includes("bottom") ? "flex-end" : "center",
275
- // Container sizes to the highest priority child
276
- ...m ? {
276
+ // Legacy priority mode sizes to the highest-priority child.
277
+ ...u === "priority" && m ? {
277
278
  minWidth: "fit-content",
278
279
  minHeight: "fit-content"
279
280
  } : {}
280
281
  },
281
282
  // Add debug attributes
282
- ...A.isEnabled()
283
- }), s = this.children.flatMap((f, a) => {
284
- let l = f;
285
- "build" in f && typeof f.build == "function" && (l = f.build());
286
- const c = l.render(), y = Array.isArray(c) ? c : [c];
287
- let C = a;
288
- if ("modifiers" in l && Array.isArray(l.modifiers)) {
289
- const p = l.modifiers.find(
290
- (v) => v.type === "layout" && v.properties && "layoutPriority" in v.properties
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;
289
+ if ("modifiers" in p && Array.isArray(p.modifiers)) {
290
+ const g = p.modifiers.find(
291
+ (P) => P.type === "layout" && P.properties && "layoutPriority" in P.properties
291
292
  );
292
- p && typeof p.properties.layoutPriority == "number" && (C = p.properties.layoutPriority);
293
+ g && typeof g.properties.layoutPriority == "number" && (R = g.properties.layoutPriority);
293
294
  }
294
- return y.map((p) => {
295
- if (p.type === "element") {
296
- const v = l === m;
295
+ return w.map((g) => {
296
+ if (g.type === "element") {
297
+ const k = u === "content" ? c === d : u === "priority" ? u === "priority" && m !== null && p === m : !1;
297
298
  return {
298
- ...p,
299
+ ...g,
299
300
  props: {
300
- ...p.props,
301
+ ...g.props,
301
302
  style: {
302
- ...p.props?.style,
303
- // Highest priority child determines container size
304
- ...v ? {
303
+ ...g.props?.style,
304
+ ...k ? {
305
305
  position: "relative",
306
- zIndex: C
306
+ zIndex: R
307
307
  } : {
308
308
  position: "absolute",
309
309
  top: 0,
310
310
  left: 0,
311
311
  right: 0,
312
312
  bottom: 0,
313
- zIndex: C
313
+ zIndex: R
314
314
  }
315
315
  }
316
316
  }
317
317
  };
318
318
  }
319
- return p;
319
+ return g;
320
320
  });
321
321
  });
322
322
  return [
@@ -324,10 +324,10 @@ class g extends L {
324
324
  type: "element",
325
325
  tag: this.effectiveTag,
326
326
  props: {
327
- ...u.props,
327
+ ...a.props,
328
328
  className: o
329
329
  },
330
- children: s,
330
+ children: y,
331
331
  // Add component metadata for semantic role processing
332
332
  componentMetadata: {
333
333
  originalType: "ZStack",
@@ -352,44 +352,44 @@ class g extends L {
352
352
  return t.deep ? this.deepClone() : this.shallowClone();
353
353
  }
354
354
  shallowClone() {
355
- const t = T(this.props), r = T(this.layoutProps), n = (this.children ?? []).slice(), i = new g(
355
+ const t = S(this.props), i = S(this.layoutProps), n = (this.children ?? []).slice(), r = new v(
356
356
  t,
357
357
  this.layoutType,
358
358
  n,
359
- r
359
+ i
360
360
  );
361
- return E(i), i;
361
+ return E(r), r;
362
362
  }
363
363
  deepClone() {
364
- const t = T(this.props, {
364
+ const t = S(this.props, {
365
365
  deep: !0
366
- }), r = T(this.layoutProps, {
366
+ }), i = S(this.layoutProps, {
367
367
  deep: !0
368
- }), n = (this.children ?? []).map((o) => typeof o?.clone == "function" ? o.clone({ deep: !0 }) : o), i = new g(
368
+ }), n = (this.children ?? []).map((o) => typeof o?.clone == "function" ? o.clone({ deep: !0 }) : o), r = new v(
369
369
  t,
370
370
  this.layoutType,
371
371
  n,
372
- r
372
+ i
373
373
  );
374
- return E(i), i;
374
+ return E(r), r;
375
375
  }
376
376
  }
377
- const Y = {
377
+ const re = {
378
378
  /**
379
379
  * Vertical stack container (flexbox column)
380
380
  */
381
381
  VStack: (e = {}) => {
382
382
  const {
383
383
  children: t = [],
384
- spacing: r = 0,
384
+ spacing: i = 0,
385
385
  alignment: n = "center",
386
- debugLabel: i
387
- } = e, o = new g(e, "vstack", t, {
388
- spacing: r,
386
+ debugLabel: r
387
+ } = e, o = new v(e, "vstack", t, {
388
+ spacing: i,
389
389
  alignment: n,
390
- debugLabel: i
390
+ debugLabel: r
391
391
  });
392
- return d(o);
392
+ return h(o);
393
393
  },
394
394
  /**
395
395
  * Horizontal stack container (flexbox row)
@@ -397,62 +397,70 @@ const Y = {
397
397
  HStack: (e = {}) => {
398
398
  const {
399
399
  children: t = [],
400
- spacing: r = 0,
400
+ spacing: i = 0,
401
401
  alignment: n = "center",
402
- debugLabel: i
403
- } = e, o = new g(e, "hstack", t, {
404
- spacing: r,
402
+ debugLabel: r
403
+ } = e, o = new v(e, "hstack", t, {
404
+ spacing: i,
405
405
  alignment: n,
406
- debugLabel: i
406
+ debugLabel: r
407
407
  });
408
- return d(o);
408
+ return h(o);
409
409
  },
410
410
  /**
411
- * Z-index stack container (absolute positioning)
411
+ * Z-index stack container (content sizing by default)
412
412
  */
413
413
  ZStack: (e = {}) => {
414
- const { children: t = [], alignment: r = "center", debugLabel: n } = e, i = new g(e, "zstack", t, {
415
- alignment: r,
416
- debugLabel: n
414
+ const {
415
+ children: t = [],
416
+ alignment: i = "center",
417
+ sizing: n = "content",
418
+ sizingChildIndex: r = 0,
419
+ debugLabel: o
420
+ } = e, u = new v(e, "zstack", t, {
421
+ alignment: i,
422
+ sizing: n,
423
+ sizingChildIndex: r,
424
+ debugLabel: o
417
425
  });
418
- return d(i);
426
+ return h(u);
419
427
  }
420
428
  };
421
- function ee(e) {
422
- return d(e);
429
+ function oe(e) {
430
+ return h(e);
423
431
  }
424
- function te(e) {
432
+ function se(e) {
425
433
  return class extends e {
426
434
  constructor(t) {
427
- super(t), b(this, "_modifiableComponent");
428
- const r = d(this);
429
- P() ? (this._modifiableComponent = S(this), R(this)) : (this._modifiableComponent = r, Object.defineProperty(this, "modifier", {
435
+ super(t), C(this, "_modifiableComponent");
436
+ const i = h(this);
437
+ x() ? (this._modifiableComponent = M(this), A(this)) : (this._modifiableComponent = i, Object.defineProperty(this, "modifier", {
430
438
  configurable: !0,
431
439
  enumerable: !1,
432
- value: r.modifier,
440
+ value: i.modifier,
433
441
  writable: !1
434
442
  }), Object.defineProperty(this, "modifiers", {
435
443
  configurable: !0,
436
444
  enumerable: !1,
437
- value: r.modifiers,
445
+ value: i.modifiers,
438
446
  writable: !1
439
447
  }));
440
448
  }
441
449
  get modifier() {
442
- if (P())
443
- return R(this).modifier;
444
- const t = this._modifiableComponent ?? d(this);
450
+ if (x())
451
+ return A(this).modifier;
452
+ const t = this._modifiableComponent ?? h(this);
445
453
  return this._modifiableComponent = t, t.modifier;
446
454
  }
447
455
  get modifiers() {
448
- const t = this._modifiableComponent ?? d(this);
456
+ const t = this._modifiableComponent ?? h(this);
449
457
  return this._modifiableComponent = t, t.modifiers;
450
458
  }
451
459
  };
452
460
  }
453
- function ne(e) {
461
+ function ae(e) {
454
462
  return (t) => {
455
- const r = {
463
+ const i = {
456
464
  type: "component",
457
465
  id: `factory-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`,
458
466
  props: t,
@@ -463,23 +471,23 @@ function ne(e) {
463
471
  return Array.isArray(n) ? n : [n];
464
472
  }
465
473
  };
466
- return d(r);
474
+ return h(i);
467
475
  };
468
476
  }
469
- function re(e, t, r = {}, ...n) {
470
- const i = new e(t, ...n);
471
- return P() && r.prewarmProxy !== !1 && R(i), i;
477
+ function le(e, t, i = {}, ...n) {
478
+ const r = new e(t, ...n);
479
+ return x() && i.prewarmProxy !== !1 && A(r), r;
472
480
  }
473
481
  export {
474
- Y as L,
475
- X as a,
476
- g as b,
477
- ne as c,
478
- d,
479
- ee as e,
480
- re as f,
481
- T as g,
482
- j as h,
482
+ re as L,
483
+ ie as a,
484
+ v as b,
485
+ ae as c,
486
+ h as d,
487
+ oe as e,
488
+ le as f,
489
+ S as g,
490
+ W as h,
483
491
  E as r,
484
- te as w
492
+ se as w
485
493
  };
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import { c as s, b as r, C as n, S as i, T as o, k as c, q as d, s as l, p as m,
2
2
  import { Assets as P, ColorAsset as L, FontAsset as T, FontWidth as D, ImageAsset as w, SystemFonts as U, createColorAsset as B, createFontAsset as F, createGoogleFont as j, createImageAsset as V, createSystemFont as N, createVariableFont as k, getAssetInfo as q, listAssetNames as z, registerAsset as W } from "./assets/index.js";
3
3
  import { a as H, w as K, A as J, x as Y, B as Q, u as X, f as Z, C as $, v as ee, D as ae, E as te, F as se, g as re, h as ne, K as ie, H as oe, M as ce, J as de, G as le, l as me, e as ge, m as pe, I as fe, L as Ce, d as ue, N as Se, R as Me, t as he, p as Ee, s as xe, r as be, q as ve, b as ye, c as Re, k as Ge, j as Oe, S as Ae, T as Ie, y as Pe, z as Le, i as Te, n as De, o as we, O as Ue } from "./index-JQ1sW1SK.js";
4
4
  import { Layout as Fe, dimensionToCSS as je, infinity as Ve, infinityToFlexCSS as Ne, isInfinity as ke, shouldExpandForInfinity as qe } from "./constants/layout.js";
5
- import { b as We, g as _e, f as He, c as Ke, a as Je, h as Ye, r as Qe, w as Xe, d as Ze, e as $e } from "./factory-wYm7L3JT.js";
5
+ import { b as We, g as _e, f as He, c as Ke, a as Je, h as Ye, r as Qe, w as Xe, d as Ze, e as $e } from "./factory-oMYyVSAY.js";
6
6
  import { C as aa, y as ta, y as sa, D as ra, k as na, E as ia, M as oa, S as ca, q as da, V as la, a as ma, b as ga, v as pa, l as fa, o as Ca, d as ua, c as Sa, e as Ma, n as ha, g as Ea, w as xa, i as ba, h as va, x as ya, m as Ra, p as Ga, r as Oa, f as Aa, u as Ia, s as Pa, j as La, t as Ta } from "./concatenated-component-BCrw_7cC.js";
7
7
  import { OptimizedLazyPluginLoader as wa, PluginDevUtils as Ua, PluginError as Ba, SimplifiedComponentRegistry as Fa, SimplifiedPluginManager as ja, SimplifiedTachUIInstance as Va, adaptPlugin as Na, compareSemver as ka, createLazyPlugin as qa, createLegacyPluginAdapter as za, globalTachUIInstance as Wa, installPlugin as _a, isLegacyPlugin as Ha, normalizePluginName as Ka, registerComponent as Ja, registerService as Ya, validatePluginName as Qa, validateSemver as Xa } from "./plugins/index.js";
8
8
  import { DOMBridgeDebug as $a, getComponentFromElement as et, mountComponentChildren as at, mountComponentTree as tt, mountRoot as st, registerComponentWithLifecycleHooks as rt, unmountComponent as nt, unmountComponentEnhanced as it, updateComponent as ot } from "./runtime/dom-bridge.js";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
- const c = "@tachui/core", o = "0.8.13", n = c, t = o, s = o;
1
+ const c = "@tachui/core", o = "0.8.15", 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.13",
3
+ "version": "0.8.15",
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.13",
145
- "@tachui/registry": "0.8.13"
144
+ "@tachui/types": "0.8.15",
145
+ "@tachui/registry": "0.8.15"
146
146
  },
147
147
  "devDependencies": {
148
148
  "@types/jsdom": "^21.1.6",