@tachui/core 0.8.22 → 0.8.24

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.
Files changed (56) hide show
  1. package/dist/assets/FontAsset.d.ts.map +1 -1
  2. package/dist/assets/index.js +42 -41
  3. package/dist/{binding-DCV5PKkK.js → binding-DCr-JHsC.js} +9 -9
  4. package/dist/build-tools/typegen-runner.d.ts +4 -0
  5. package/dist/build-tools/typegen-runner.d.ts.map +1 -1
  6. package/dist/cleanup-BR8UpYPX.js +61 -0
  7. package/dist/common.js +272 -277
  8. package/dist/{component-D-O9yq0P.js → component-BzvSm8rM.js} +19 -19
  9. package/dist/{component-base-C41K3NTe.js → component-base-Do2EdQkr.js} +32 -33
  10. package/dist/{component-context-B9HI2nZH.js → component-context-C7Y6Xu6h.js} +1 -1
  11. package/dist/components/index.js +1 -1
  12. package/dist/computed-CA4Cgtoe.js +407 -0
  13. package/dist/{concatenated-component-2Gzy5e2c.js → concatenated-component-CA54ng_j.js} +43 -44
  14. package/dist/css-classes/index.js +2 -2
  15. package/dist/{effect-BsW3fy1q.js → effect-DgNm6jk9.js} +3 -3
  16. package/dist/{enhanced-renderer-t9Ni2EEG.js → enhanced-renderer-D05CCloF.js} +26 -28
  17. package/dist/essential.js +276 -281
  18. package/dist/factories-B05hE6kc.js +644 -0
  19. package/dist/{factory-gqfMcmOy.js → factory-B1YXfgU1.js} +23 -29
  20. package/dist/full.d.ts +12 -0
  21. package/dist/full.d.ts.map +1 -0
  22. package/dist/full.js +436 -0
  23. package/dist/gradients/index.js +53 -53
  24. package/dist/hooks-w_FYPLjI.js +158 -0
  25. package/dist/{index-DL9Cys3t.js → index-CmQmIgPK.js} +220 -233
  26. package/dist/index.d.ts +0 -1
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +295 -300
  29. package/dist/minimal-prod.js +106 -108
  30. package/dist/minimal.js +97 -98
  31. package/dist/modifiers/base.d.ts.map +1 -1
  32. package/dist/modifiers/base.js +121 -120
  33. package/dist/modifiers/builder.js +1 -1
  34. package/dist/modifiers/index.js +22 -23
  35. package/dist/modifiers/registry.js +1 -1
  36. package/dist/{observed-object-p1CLdrFm.js → observed-object-DCoyucmV.js} +3 -3
  37. package/dist/optimization-D9t53vNJ.js +308 -0
  38. package/dist/{proxy-Cp0QUXME.js → proxy-B7ZIqGd0.js} +3 -3
  39. package/dist/reactive/index.js +87 -85
  40. package/dist/runtime/dom-bridge.js +15 -17
  41. package/dist/runtime/index.js +71 -71
  42. package/dist/runtime/renderer.js +10 -11
  43. package/dist/signal-BRoiFOO7.js +262 -0
  44. package/dist/{signal-list-07gNXGiW.js → signal-list-_Eid-N7_.js} +285 -176
  45. package/dist/state/index.js +43 -44
  46. package/dist/theme-D5-09a8N.js +26 -0
  47. package/dist/validation/index.js +24 -26
  48. package/dist/version.js +1 -1
  49. package/package.json +16 -3
  50. package/dist/factories-B3-rmvkB.js +0 -268
  51. package/dist/hooks-WGmpzYgD.js +0 -446
  52. package/dist/optimization-CbKNA9w4.js +0 -21
  53. package/dist/presets-B9x94uRn.js +0 -381
  54. package/dist/scheduler-DppMK9mR.js +0 -169
  55. package/dist/theme-CRLPHryV.js +0 -687
  56. package/dist/{index-JQ1sW1SK.js → index-7vhCZc7g.js} +1 -1
@@ -1,86 +1,87 @@
1
- import { o as R } from "../scheduler-DppMK9mR.js";
2
- import { p as O, d as m, r as D, i as v, K as B } from "../theme-CRLPHryV.js";
3
- import { c as b } from "../effect-BsW3fy1q.js";
4
- import "@tachui/types/reactive";
5
- import { ModifierPriority as S } from "@tachui/types/modifiers";
6
- import { shouldExpandForInfinity as _, dimensionToCSS as h, isInfinity as g } from "../constants/layout.js";
7
- const w = /* @__PURE__ */ new WeakMap();
8
- let p = null;
9
- function ee(s) {
1
+ import { i as m, r as R } from "../computed-CA4Cgtoe.js";
2
+ import { c as b } from "../effect-DgNm6jk9.js";
3
+ import { g as O, i as S } from "../signal-BRoiFOO7.js";
4
+ import { a as D } from "../theme-D5-09a8N.js";
5
+ import { ModifierPriority as C } from "@tachui/types/modifiers";
6
+ import { shouldExpandForInfinity as B, dimensionToCSS as g, isInfinity as p } from "../constants/layout.js";
7
+ import { o as _ } from "../cleanup-BR8UpYPX.js";
8
+ const L = /* @__PURE__ */ new WeakMap();
9
+ let y = null;
10
+ function te(s) {
10
11
  if (s === null)
11
- return p = null, () => {
12
+ return y = null, () => {
12
13
  };
13
- const i = p;
14
- return p = (t, e) => {
14
+ const i = y;
15
+ return y = (t, e) => {
15
16
  i?.(t, e), s(t, e);
16
17
  }, () => {
17
- p = i;
18
+ y = i;
18
19
  };
19
20
  }
20
21
  function k(s, i, t) {
21
22
  try {
22
23
  s(i);
23
24
  } catch (e) {
24
- if (p) {
25
- p(e, { updaterId: t, value: i });
25
+ if (y) {
26
+ y(e, { updaterId: t, value: i });
26
27
  return;
27
28
  }
28
29
  console.error(`Reactive style updater failed (${t}):`, e);
29
30
  }
30
31
  }
31
- const M = 200, u = /* @__PURE__ */ new WeakMap(), A = /* @__PURE__ */ new WeakMap(), y = /* @__PURE__ */ new Set();
32
- let P = !1, T = !1;
32
+ const A = 200, u = /* @__PURE__ */ new WeakMap(), T = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new Set();
33
+ let P = !1, M = !1;
33
34
  function z(s) {
34
- u.get(s)?.forEach((t) => t()), u.delete(s), A.delete(s);
35
+ u.get(s)?.forEach((t) => t()), u.delete(s), T.delete(s);
35
36
  }
36
- function H() {
37
+ function $() {
37
38
  const s = Date.now();
38
- for (const i of Array.from(y)) {
39
+ for (const i of Array.from(v)) {
39
40
  const t = i.deref();
40
41
  if (!t) {
41
- y.delete(i);
42
+ v.delete(i);
42
43
  continue;
43
44
  }
44
- const e = A.get(t), n = u.get(t);
45
+ const e = T.get(t), n = u.get(t);
45
46
  if (!e || !n || n.size === 0) {
46
- y.delete(i);
47
+ v.delete(i);
47
48
  continue;
48
49
  }
49
50
  if (t.isConnected) {
50
51
  e.wasConnected = !0;
51
52
  continue;
52
53
  }
53
- (e.wasConnected || s - e.trackedAt >= M) && (z(t), y.delete(i));
54
+ (e.wasConnected || s - e.trackedAt >= A) && (z(t), v.delete(i));
54
55
  }
55
56
  }
56
57
  function F() {
57
- if (T || typeof setTimeout != "function") return;
58
- T = !0;
58
+ if (M || typeof setTimeout != "function") return;
59
+ M = !0;
59
60
  const s = () => {
60
- if (H(), y.size === 0) {
61
- T = !1;
61
+ if ($(), v.size === 0) {
62
+ M = !1;
62
63
  return;
63
64
  }
64
- setTimeout(s, M);
65
+ setTimeout(s, A);
65
66
  };
66
- setTimeout(s, M);
67
+ setTimeout(s, A);
67
68
  }
68
69
  function W() {
69
70
  if (P || typeof document > "u" || !document.documentElement || typeof MutationObserver > "u")
70
71
  return;
71
72
  new MutationObserver(() => {
72
- H();
73
+ $();
73
74
  }).observe(document.documentElement, { childList: !0, subtree: !0 }), P = !0;
74
75
  }
75
76
  function U(s, i) {
76
77
  W(), F();
77
78
  const t = u.get(s) ?? /* @__PURE__ */ new Set(), e = t.size > 0;
78
- return t.add(i), u.set(s, t), e || (A.set(s, {
79
+ return t.add(i), u.set(s, t), e || (T.set(s, {
79
80
  trackedAt: Date.now(),
80
81
  wasConnected: s.isConnected
81
- }), y.add(new WeakRef(s))), () => {
82
+ }), v.add(new WeakRef(s))), () => {
82
83
  const n = u.get(s);
83
- n && (n.delete(i), n.size === 0 && (u.delete(s), A.delete(s)));
84
+ n && (n.delete(i), n.size === 0 && (u.delete(s), T.delete(s)));
84
85
  };
85
86
  }
86
87
  function N({
@@ -89,15 +90,15 @@ function N({
89
90
  updater: t,
90
91
  updaterId: e
91
92
  }) {
92
- const n = w.get(s) ?? /* @__PURE__ */ new Map();
93
- w.has(s) || w.set(s, n);
93
+ const n = L.get(s) ?? /* @__PURE__ */ new Map();
94
+ L.has(s) || L.set(s, n);
94
95
  let r = n.get(i);
95
96
  if (!r) {
96
97
  const a = /* @__PURE__ */ new Map();
97
98
  r = { effect: b(() => {
98
99
  const c = i();
99
100
  a.forEach(
100
- (E, L) => k(E, c, L)
101
+ (w, h) => k(w, c, h)
101
102
  );
102
103
  }), updaters: a }, n.set(i, r);
103
104
  }
@@ -105,19 +106,19 @@ function N({
105
106
  let o = null;
106
107
  const l = () => {
107
108
  o && (o(), o = null);
108
- const a = w.get(s), d = a?.get(i);
109
- d && (d.updaters.delete(e), d.updaters.size === 0 && (d.effect.dispose(), a?.delete(i), m(i) && D(i)), a && a.size === 0 && w.delete(s));
109
+ const a = L.get(s), d = a?.get(i);
110
+ d && (d.updaters.delete(e), d.updaters.size === 0 && (d.effect.dispose(), a?.delete(i), m(i) && R(i)), a && a.size === 0 && L.delete(s));
110
111
  };
111
- O() ? R(l) : o = U(s, l);
112
+ O() ? _(l) : o = U(s, l);
112
113
  }
113
114
  var j = Object.defineProperty, K = (s, i, t) => i in s ? j(s, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[i] = t, f = (s, i, t) => K(s, typeof i != "symbol" ? i + "" : i, t);
114
115
  const I = Symbol.for("tachui.modifier.instanceId"), x = "core";
115
- let $ = 0;
116
+ let H = 0;
116
117
  function Y(s) {
117
118
  const i = s[I];
118
119
  if (typeof i == "number") return i;
119
- $ += 1;
120
- const t = $;
120
+ H += 1;
121
+ const t = H;
121
122
  return Object.defineProperty(s, I, {
122
123
  value: t,
123
124
  enumerable: !1,
@@ -125,7 +126,7 @@ function Y(s) {
125
126
  writable: !1
126
127
  }), t;
127
128
  }
128
- class C {
129
+ class E {
129
130
  constructor(i) {
130
131
  this.properties = i;
131
132
  }
@@ -135,33 +136,32 @@ class C {
135
136
  resolveReactiveProps(i, t) {
136
137
  const e = {};
137
138
  for (const [n, r] of Object.entries(i))
138
- v(r) || m(r), e[n] = r;
139
+ S(r) || m(r), e[n] = r;
139
140
  return e;
140
141
  }
141
142
  /**
142
143
  * Apply a single style change to an element with reactive support
143
144
  */
144
145
  applyStyleChange(i, t, e) {
145
- if (i instanceof HTMLElement) {
146
- const n = this.toCSSProperty(t);
147
- if (v(e) || m(e))
148
- b(() => {
149
- const r = e(), o = String(r);
150
- if (o.includes("!important")) {
151
- const l = o.replace(/\s*!important\s*$/, "").trim();
152
- i.style.setProperty(n, l, "important");
153
- } else
154
- i.style.setProperty(n, o);
155
- });
156
- else {
157
- const r = String(e);
158
- if (r.includes("!important")) {
159
- const o = r.replace(/\s*!important\s*$/, "").trim();
160
- i.style.setProperty(n, o, "important");
161
- } else
162
- i.style.setProperty(n, r);
146
+ const n = typeof HTMLElement < "u" && i instanceof HTMLElement;
147
+ if (!n && !i.style)
148
+ return;
149
+ const r = this.toCSSProperty(t), o = i.style, l = (a) => {
150
+ if (a.includes("!important")) {
151
+ const d = a.replace(/\s*!important\s*$/, "").trim();
152
+ o.setProperty(r, d, "important");
153
+ return;
163
154
  }
155
+ o.setProperty(r, a);
156
+ };
157
+ if (S(e) || m(e)) {
158
+ b(() => {
159
+ const a = e();
160
+ l(String(a));
161
+ });
162
+ return;
164
163
  }
164
+ l(String(e));
165
165
  }
166
166
  /**
167
167
  * Convert camelCase property to CSS kebab-case
@@ -207,34 +207,35 @@ class C {
207
207
  * Apply multiple CSS properties to an element with reactive support
208
208
  */
209
209
  applyStyles(i, t) {
210
- if (i instanceof HTMLElement || i.style) {
211
- const e = (i instanceof HTMLElement, i.style), n = (r, o) => {
212
- if (e.setProperty)
213
- if (typeof o == "string" && o.includes("!important")) {
214
- const l = o.replace(/\s*!important\s*$/, "").trim();
215
- e.setProperty(r, l, "important");
210
+ const e = typeof HTMLElement < "u" && i instanceof HTMLElement;
211
+ if (e || i.style) {
212
+ const n = i.style, r = (o, l) => {
213
+ if (n.setProperty)
214
+ if (typeof l == "string" && l.includes("!important")) {
215
+ const a = l.replace(/\s*!important\s*$/, "").trim();
216
+ n.setProperty(o, a, "important");
216
217
  } else
217
- e.setProperty(r, o);
218
+ n.setProperty(o, l);
218
219
  else
219
- e[r] = o;
220
+ n[o] = l;
220
221
  };
221
- for (const [r, o] of Object.entries(t))
222
- if (o !== void 0) {
223
- const l = this.toCSSProperty(r);
224
- if (v(o) || m(o)) {
225
- const a = o, d = Y(this);
222
+ for (const [o, l] of Object.entries(t))
223
+ if (l !== void 0) {
224
+ const a = this.toCSSProperty(o);
225
+ if (S(l) || m(l)) {
226
+ const d = l, c = Y(this);
226
227
  N({
227
228
  element: i,
228
- accessor: a,
229
- updaterId: `${x}:${d}:${l}`,
230
- updater: (c) => {
231
- const E = this.toCSSValueForProperty(l, c);
232
- n(l, E);
229
+ accessor: d,
230
+ updaterId: `${x}:${c}:${a}`,
231
+ updater: (w) => {
232
+ const h = this.toCSSValueForProperty(a, w);
233
+ r(a, h);
233
234
  }
234
235
  });
235
236
  } else {
236
- const a = this.toCSSValueForProperty(l, o);
237
- n(l, a);
237
+ const d = this.toCSSValueForProperty(a, l);
238
+ r(a, d);
238
239
  }
239
240
  }
240
241
  }
@@ -264,9 +265,9 @@ class C {
264
265
  };
265
266
  }
266
267
  }
267
- class te extends C {
268
+ class ie extends E {
268
269
  constructor() {
269
- super(...arguments), f(this, "type", "layout"), f(this, "priority", S.LAYOUT);
270
+ super(...arguments), f(this, "type", "layout"), f(this, "priority", C.LAYOUT);
270
271
  }
271
272
  apply(i, t) {
272
273
  if (!i.element || !t.element) return;
@@ -290,31 +291,31 @@ class te extends C {
290
291
  computeLayoutStyles(i, t) {
291
292
  const e = {};
292
293
  if (i.frame) {
293
- const n = i.frame, r = _(n);
294
+ const n = i.frame, r = B(n);
294
295
  if (Object.assign(e, r.cssProps), n.width !== void 0) {
295
- const o = h(n.width);
296
- o !== void 0 && !g(n.width) && !r.expandWidth && (e.width = o);
296
+ const o = g(n.width);
297
+ o !== void 0 && !p(n.width) && !r.expandWidth && (e.width = o);
297
298
  }
298
299
  if (n.height !== void 0) {
299
- const o = h(n.height);
300
- o !== void 0 && !g(n.height) && !r.expandHeight && (e.height = o);
300
+ const o = g(n.height);
301
+ o !== void 0 && !p(n.height) && !r.expandHeight && (e.height = o);
301
302
  }
302
303
  if (n.minWidth !== void 0) {
303
- const o = h(n.minWidth);
304
+ const o = g(n.minWidth);
304
305
  o !== void 0 && (e.minWidth = o);
305
306
  }
306
- if (n.maxWidth !== void 0 && !g(n.maxWidth)) {
307
- const o = h(n.maxWidth);
307
+ if (n.maxWidth !== void 0 && !p(n.maxWidth)) {
308
+ const o = g(n.maxWidth);
308
309
  o !== void 0 && (e.maxWidth = o);
309
- } else g(n.maxWidth) && (e.maxWidth = "none", e.flexGrow = "1 !important", e.flexShrink = "1 !important", e.flexBasis = "0% !important", e.alignSelf = "stretch !important");
310
+ } else p(n.maxWidth) && (e.maxWidth = "none", e.flexGrow = "1 !important", e.flexShrink = "1 !important", e.flexBasis = "0% !important", e.alignSelf = "stretch !important");
310
311
  if (n.minHeight !== void 0) {
311
- const o = h(n.minHeight);
312
+ const o = g(n.minHeight);
312
313
  o !== void 0 && (e.minHeight = o);
313
314
  }
314
- if (n.maxHeight !== void 0 && !g(n.maxHeight)) {
315
- const o = h(n.maxHeight);
315
+ if (n.maxHeight !== void 0 && !p(n.maxHeight)) {
316
+ const o = g(n.maxHeight);
316
317
  o !== void 0 && (e.maxHeight = o);
317
- } else g(n.maxHeight) && (e.maxHeight = "none", e.flexGrow = "1 !important", e.flexShrink = "1 !important", e.flexBasis = "0% !important", e.alignSelf = "stretch !important");
318
+ } else p(n.maxHeight) && (e.maxHeight = "none", e.flexGrow = "1 !important", e.flexShrink = "1 !important", e.flexBasis = "0% !important", e.alignSelf = "stretch !important");
318
319
  }
319
320
  if (i.padding !== void 0)
320
321
  if (typeof i.padding == "number")
@@ -363,9 +364,9 @@ class te extends C {
363
364
  return e;
364
365
  }
365
366
  }
366
- class ie extends C {
367
+ class ne extends E {
367
368
  constructor() {
368
- super(...arguments), f(this, "type", "appearance"), f(this, "priority", S.APPEARANCE);
369
+ super(...arguments), f(this, "type", "appearance"), f(this, "priority", C.APPEARANCE);
369
370
  }
370
371
  apply(i, t) {
371
372
  if (!i.element || !t.element)
@@ -386,7 +387,7 @@ class ie extends C {
386
387
  * Apply Asset-based styles with theme reactivity
387
388
  */
388
389
  applyAssetBasedStyles(i, t) {
389
- const e = B();
390
+ const e = D();
390
391
  t.foregroundColor && this.isAsset(t.foregroundColor) && b(() => {
391
392
  e();
392
393
  const n = t.foregroundColor.resolve();
@@ -417,7 +418,7 @@ class ie extends C {
417
418
  t.fontFamily = r;
418
419
  } else
419
420
  t.fontFamily = n.family;
420
- n.size !== void 0 && (t.fontSize = v(n.size) || m(n.size) ? n.size : this.toCSSValue(n.size)), n.weight !== void 0 && (t.fontWeight = v(n.weight) || m(n.weight) ? n.weight : String(n.weight)), n.style && (t.fontStyle = n.style);
421
+ n.size !== void 0 && (t.fontSize = S(n.size) || m(n.size) ? n.size : this.toCSSValue(n.size)), n.weight !== void 0 && (t.fontWeight = S(n.weight) || m(n.weight) ? n.weight : String(n.weight)), n.style && (t.fontStyle = n.style);
421
422
  }
422
423
  if (i.cornerRadius !== void 0 && (t.borderRadius = this.toCSSValue(i.cornerRadius)), i.border) {
423
424
  const n = i.border;
@@ -450,9 +451,9 @@ class ie extends C {
450
451
  return i._tachui_component || null;
451
452
  }
452
453
  }
453
- class ne extends C {
454
+ class re extends E {
454
455
  constructor() {
455
- super(...arguments), f(this, "type", "interaction"), f(this, "priority", S.INTERACTION);
456
+ super(...arguments), f(this, "type", "interaction"), f(this, "priority", C.INTERACTION);
456
457
  }
457
458
  apply(i, t) {
458
459
  if (!t.element) return;
@@ -493,9 +494,9 @@ class ne extends C {
493
494
  }), e.onCopy && t.element.addEventListener("copy", e.onCopy), e.onCut && t.element.addEventListener("cut", e.onCut), e.onPaste && t.element.addEventListener("paste", e.onPaste), e.onSelect && t.element.addEventListener("select", e.onSelect), e.disabled !== void 0 && t.element instanceof HTMLElement && (e.disabled ? (t.element.setAttribute("disabled", "true"), t.element.style.pointerEvents = "none", t.element.style.opacity = "0.6") : (t.element.removeAttribute("disabled"), t.element.style.pointerEvents = "", t.element.style.opacity = "")), e.draggable !== void 0 && t.element instanceof HTMLElement && (t.element.draggable = e.draggable), e.accessibilityLabel && t.element.setAttribute("aria-label", e.accessibilityLabel), e.accessibilityHint && t.element.setAttribute("aria-describedby", e.accessibilityHint);
494
495
  }
495
496
  }
496
- class re extends C {
497
+ class oe extends E {
497
498
  constructor() {
498
- super(...arguments), f(this, "type", "animation"), f(this, "priority", S.ANIMATION);
499
+ super(...arguments), f(this, "type", "animation"), f(this, "priority", C.ANIMATION);
499
500
  }
500
501
  apply(i, t) {
501
502
  if (!t.element) return;
@@ -516,7 +517,7 @@ class re extends C {
516
517
  t.element.style.animation = `${r} ${l}ms ${a} ${d} ${c}`;
517
518
  }
518
519
  }
519
- if (e.transform && t.element instanceof HTMLElement && (v(e.transform) || m(e.transform) ? b(() => {
520
+ if (e.transform && t.element instanceof HTMLElement && (S(e.transform) || m(e.transform) ? b(() => {
520
521
  const n = e.transform();
521
522
  t.element instanceof HTMLElement && (t.element.style.transform = n);
522
523
  }) : t.element.style.transform = e.transform), e.scaleEffect && t.element instanceof HTMLElement) {
@@ -532,7 +533,7 @@ class re extends C {
532
533
  trailing: "100% 50%"
533
534
  }[o || "center"] || "50% 50%";
534
535
  t.element.style.transformOrigin = d;
535
- const c = `scale(${n}, ${l})`, L = (t.element.style.transform || "").replace(/\s*scale[XYZ3d]*\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), V = L ? `${L} ${c}`.trim() : c;
536
+ const c = `scale(${n}, ${l})`, h = (t.element.style.transform || "").replace(/\s*scale[XYZ3d]*\([^)]*\)\s*/g, " ").replace(/\s+/g, " ").trim(), V = h ? `${h} ${c}`.trim() : c;
536
537
  t.element.style.transform = V;
537
538
  }
538
539
  }
@@ -559,9 +560,9 @@ class re extends C {
559
560
  t || (t = document.createElement("style"), t.id = "tachui-animations", document.head.appendChild(t)), t.appendChild(document.createTextNode(i));
560
561
  }
561
562
  }
562
- class oe extends C {
563
+ class se extends E {
563
564
  constructor() {
564
- super(...arguments), f(this, "type", "lifecycle"), f(this, "priority", S.CUSTOM), f(this, "activeAbortController");
565
+ super(...arguments), f(this, "type", "lifecycle"), f(this, "priority", C.CUSTOM), f(this, "activeAbortController");
565
566
  }
566
567
  apply(i, t) {
567
568
  if (!t.element) return;
@@ -600,22 +601,22 @@ class oe extends C {
600
601
  this.properties._cleanupFunctions || (this.properties._cleanupFunctions = []), this.properties._cleanupFunctions.push(i);
601
602
  }
602
603
  }
603
- class se extends C {
604
+ class ae extends E {
604
605
  constructor() {
605
- super(...arguments), f(this, "type", "resizable"), f(this, "priority", S.APPEARANCE);
606
+ super(...arguments), f(this, "type", "resizable"), f(this, "priority", C.APPEARANCE);
606
607
  }
607
608
  apply(i, t) {
608
609
  t.element && t.element instanceof HTMLImageElement && (t.element.style.objectFit = "fill");
609
610
  }
610
611
  }
611
612
  export {
612
- re as AnimationModifier,
613
- ie as AppearanceModifier,
614
- C as BaseModifier,
615
- ne as InteractionModifier,
616
- te as LayoutModifier,
617
- oe as LifecycleModifier,
618
- se as ResizableModifier,
613
+ oe as AnimationModifier,
614
+ ne as AppearanceModifier,
615
+ E as BaseModifier,
616
+ re as InteractionModifier,
617
+ ie as LayoutModifier,
618
+ se as LifecycleModifier,
619
+ ae as ResizableModifier,
619
620
  N as bindReactiveStyle,
620
- ee as setReactiveStyleUpdaterErrorHandler
621
+ te as setReactiveStyleUpdaterErrorHandler
621
622
  };
@@ -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-2Gzy5e2c.js";
2
+ import { M as s, a, c as o, m as d, s as t } from "../concatenated-component-CA54ng_j.js";
3
3
  export {
4
4
  s as ModifierBuilderImpl,
5
5
  a as applyModifiers,
@@ -1,10 +1,9 @@
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-2Gzy5e2c.js";
4
- import { c as h, r as B } from "../proxy-Cp0QUXME.js";
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
- 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
- import { r as F } from "../registration-utils-CNsN4eoU.js";
3
+ import { M as c, a as l, b as m, d as y, c as x, e as b, m as u, s as g } from "../concatenated-component-CA54ng_j.js";
4
+ import { a as h, r as B } from "../proxy-B7ZIqGd0.js";
5
+ import { a as R, b as v, d as A, e as I, f as L, c as j, g as k, h as z, j as E, i as H, l as N, m as S, p as T, r as U, s as W, k as q } from "../factories-B05hE6kc.js";
6
+ import { r as D } from "../registration-utils-CNsN4eoU.js";
8
7
  export {
9
8
  r as AnimationModifier,
10
9
  o as AppearanceModifier,
@@ -12,33 +11,33 @@ export {
12
11
  s as InteractionModifier,
13
12
  f as LayoutModifier,
14
13
  t as LifecycleModifier,
15
- n as ModifierBuilderImpl,
14
+ c as ModifierBuilderImpl,
16
15
  p as ModifierPriority,
17
16
  d as ResizableModifier,
18
17
  R as animationModifiers,
19
18
  v as appearanceModifiers,
20
- m as applyModifiers,
21
- l as applyModifiersToNode,
22
- H as classModifier,
23
- N as combineModifiers,
24
- S as conditionalModifier,
25
- A as coreModifiers,
19
+ l as applyModifiers,
20
+ m as applyModifiersToNode,
21
+ A as classModifier,
22
+ I as combineModifiers,
23
+ L as conditionalModifier,
24
+ j as coreModifiers,
26
25
  h as createComponentProxy,
27
- T as createCustomModifier,
26
+ k as createCustomModifier,
28
27
  y as createModifiableComponent,
29
28
  x as createModifierBuilder,
30
29
  b as createModifierRegistry,
31
- U as createStyleModifier,
32
- W as eventModifier,
33
- I as interactionModifiers,
34
- L as layoutModifiers,
35
- j as modifierHelpers,
30
+ z as createStyleModifier,
31
+ E as eventModifier,
32
+ H as interactionModifiers,
33
+ N as layoutModifiers,
34
+ S as modifierHelpers,
36
35
  u as modifierUtils,
37
- z as presetModifiers,
38
- F as registerModifierWithMetadata,
36
+ T as presetModifiers,
37
+ D as registerModifierWithMetadata,
39
38
  B as resetProxyCache,
40
- k as responsiveModifier,
39
+ U as responsiveModifier,
41
40
  g as setExternalModifierRegistry,
42
- q as stateModifier,
43
- w as styleModifier
41
+ W as stateModifier,
42
+ q as styleModifier
44
43
  };
@@ -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-2Gzy5e2c.js";
1
+ import { b as a, d as r, e as s, z as t, B as d, A as p } from "../concatenated-component-CA54ng_j.js";
2
2
  import "@tachui/registry";
3
3
  export {
4
4
  a as applyModifiersToNode,
@@ -1,6 +1,6 @@
1
- import { c as l } from "./effect-BsW3fy1q.js";
2
- import { c as f, l as p } from "./theme-CRLPHryV.js";
3
- import { d as a, g as d, p as g, c as y } from "./component-context-B9HI2nZH.js";
1
+ import { c as l } from "./effect-DgNm6jk9.js";
2
+ import { d as f, j as p } from "./signal-BRoiFOO7.js";
3
+ import { d as a, g as d, p as g, c as y } from "./component-context-C7Y6Xu6h.js";
4
4
  var j = Object.defineProperty, O = (e, t, n) => t in e ? j(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, s = (e, t, n) => O(e, typeof t != "symbol" ? t + "" : t, n);
5
5
  class v {
6
6
  constructor(t) {