@tachui/primitives 0.8.8 → 0.8.10-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { withModifiers as f, ComponentWithCSSClasses as M, processElementOverride as _, createSignal as E, useLifecycle as $, registerComponentWithLifecycleHooks as F, h as S, createEffect as w, ConcatenatedComponent as O, text as W, isSignal as v } from "@tachui/core";
1
+ import { withModifiers as h, ComponentWithCSSClasses as M, processElementOverride as _, createSignal as w, useLifecycle as $, registerComponentWithLifecycleHooks as F, h as S, createEffect as E, ConcatenatedComponent as O, text as W, isSignal as v } from "@tachui/core";
2
2
  import { aspectRatio as z } from "@tachui/modifiers";
3
3
  var Y = Object.defineProperty, V = (e, t, s) => t in e ? Y(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, g = (e, t, s) => V(e, typeof t != "symbol" ? t + "" : t, s);
4
4
  function A(e) {
@@ -12,7 +12,7 @@ class I extends M {
12
12
  super(), this.props = t, g(this, "type", "component"), g(this, "id"), g(this, "mounted", !1), g(this, "cleanup", []), g(this, "effectiveTag"), g(this, "validationResult"), g(this, "loadingStateSignal"), g(this, "setLoadingState"), this.id = `image-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
13
13
  const s = _("Image", "img", this.props.element);
14
14
  this.effectiveTag = s.tag, this.validationResult = s.validation;
15
- const o = this.props.src ? "idle" : "error", [n, i] = E(o);
15
+ const o = this.props.src ? "idle" : "error", [n, i] = w(o);
16
16
  this.loadingStateSignal = n, this.setLoadingState = i, $(this, {
17
17
  onDOMReady: (l, u) => {
18
18
  A(this.props.src) && u instanceof HTMLImageElement && this.setupImageAssetReactivityForDOMElement(
@@ -76,7 +76,7 @@ class I extends M {
76
76
  * Set up ImageAsset reactivity for a real DOM element (called from onDOMReady)
77
77
  */
78
78
  setupImageAssetReactivityForDOMElement(t, s) {
79
- const o = w(() => {
79
+ const o = E(() => {
80
80
  const n = t.resolve();
81
81
  s.src = n, this.setLoadingStateWithCallback("loading");
82
82
  });
@@ -148,20 +148,20 @@ class I extends M {
148
148
  }
149
149
  }
150
150
  function x(e, t = {}) {
151
- const s = { ...t, src: e }, o = new I(s), n = f(o);
151
+ const s = { ...t, src: e }, o = new I(s), n = h(o);
152
152
  return n.scaledToFit = function() {
153
153
  const i = new I({
154
154
  ...s,
155
155
  aspectRatio: void 0,
156
156
  contentMode: "fit"
157
- }), l = f(i);
157
+ }), l = h(i);
158
158
  return l.scaledToFit = n.scaledToFit, l.scaledToFill = n.scaledToFill, l.modifiers.push(z(void 0, "fit")), l;
159
159
  }, n.scaledToFill = function() {
160
160
  const i = new I({
161
161
  ...s,
162
162
  aspectRatio: void 0,
163
163
  contentMode: "fill"
164
- }), l = f(i);
164
+ }), l = h(i);
165
165
  return l.scaledToFit = n.scaledToFit, l.scaledToFill = n.scaledToFill, l.modifiers.push(z(void 0, "fill")), l;
166
166
  }, n;
167
167
  }
@@ -228,7 +228,7 @@ const y = {
228
228
  "div",
229
229
  e.children ? String(e.children) : void 0
230
230
  );
231
- return f(t);
231
+ return h(t);
232
232
  },
233
233
  /**
234
234
  * Create a span element with modifier support
@@ -239,7 +239,22 @@ const y = {
239
239
  "span",
240
240
  e.children ? String(e.children) : void 0
241
241
  );
242
- return f(t);
242
+ return h(t);
243
+ },
244
+ /**
245
+ * Create an anchor element with modifier support
246
+ */
247
+ a: (e = {}) => {
248
+ const t = new m(
249
+ e,
250
+ "a",
251
+ e.children ? String(e.children) : void 0,
252
+ {
253
+ href: e.href,
254
+ onclick: e.onClick
255
+ }
256
+ );
257
+ return h(t);
243
258
  },
244
259
  /**
245
260
  * Create a paragraph element with modifier support
@@ -250,7 +265,7 @@ const y = {
250
265
  "p",
251
266
  e.children ? String(e.children) : void 0
252
267
  );
253
- return f(t);
268
+ return h(t);
254
269
  },
255
270
  /**
256
271
  * Create a button element with modifier support
@@ -267,7 +282,7 @@ const y = {
267
282
  onclick: e.onClick
268
283
  }
269
284
  );
270
- return process.env.NODE_ENV === "test" && (t.props || (t.props = {}), t.props.tabIndex = 0), f(t);
285
+ return process.env.NODE_ENV === "test" && (t.props || (t.props = {}), t.props.tabIndex = 0), h(t);
271
286
  },
272
287
  /**
273
288
  * Create an input element with modifier support
@@ -282,7 +297,7 @@ const y = {
282
297
  e.onChange?.(o.value);
283
298
  }
284
299
  });
285
- return f(t);
300
+ return h(t);
286
301
  },
287
302
  /**
288
303
  * Create an image element with modifier support
@@ -297,7 +312,7 @@ const y = {
297
312
  width: e.width,
298
313
  height: e.height
299
314
  });
300
- return f(t);
315
+ return h(t);
301
316
  },
302
317
  /**
303
318
  * Create a heading element with modifier support
@@ -308,26 +323,26 @@ const y = {
308
323
  `h${e}`,
309
324
  t.children ? String(t.children) : void 0
310
325
  );
311
- return f(s);
326
+ return h(s);
312
327
  }
313
328
  }, Q = y.heading(1), tt = y.heading(2), et = y.heading(3), st = y.heading(4), ot = y.heading(5), nt = y.heading(6);
314
- var X = Object.defineProperty, j = (e, t, s) => t in e ? X(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, r = (e, t, s) => j(e, typeof t != "symbol" ? t + "" : t, s);
315
- class k {
329
+ var X = Object.defineProperty, k = (e, t, s) => t in e ? X(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, r = (e, t, s) => k(e, typeof t != "symbol" ? t + "" : t, s);
330
+ class j {
316
331
  constructor(t) {
317
- this.props = t, r(this, "type", "component"), r(this, "id"), r(this, "mounted", !1), r(this, "cleanup", []), r(this, "scrollElement", null), r(this, "contentOffsetSignal"), r(this, "setContentOffset"), r(this, "contentSizeSignal"), r(this, "setContentSize"), r(this, "setIsScrolling"), r(this, "pullToRefreshStateSignal"), r(this, "setPullToRefreshState"), r(this, "scrollEventThrottle"), r(this, "lastScrollTime", 0), r(this, "scrollVelocity", { x: 0, y: 0 }), r(this, "lastScrollOffset", { x: 0, y: 0 }), r(this, "pullStartY", 0), r(this, "isPulling", !1), r(this, "handleScroll", (h) => {
332
+ this.props = t, r(this, "type", "component"), r(this, "id"), r(this, "mounted", !1), r(this, "cleanup", []), r(this, "scrollElement", null), r(this, "contentOffsetSignal"), r(this, "setContentOffset"), r(this, "contentSizeSignal"), r(this, "setContentSize"), r(this, "setIsScrolling"), r(this, "pullToRefreshStateSignal"), r(this, "setPullToRefreshState"), r(this, "scrollEventThrottle"), r(this, "lastScrollTime", 0), r(this, "scrollVelocity", { x: 0, y: 0 }), r(this, "lastScrollOffset", { x: 0, y: 0 }), r(this, "pullStartY", 0), r(this, "isPulling", !1), r(this, "handleScroll", (d) => {
318
333
  if (!this.scrollElement) return;
319
334
  const p = performance.now(), c = p - this.lastScrollTime;
320
335
  if (c < this.scrollEventThrottle) return;
321
- const d = {
336
+ const f = {
322
337
  x: this.scrollElement.scrollLeft,
323
338
  y: this.scrollElement.scrollTop
324
339
  };
325
- this.scrollVelocity = this.calculateVelocity(d, c), this.setContentOffset(d), this.setContentSize({
340
+ this.scrollVelocity = this.calculateVelocity(f, c), this.setContentOffset(f), this.setContentSize({
326
341
  width: this.scrollElement.scrollWidth,
327
342
  height: this.scrollElement.scrollHeight
328
343
  });
329
344
  const a = this.detectScrollEdges(), T = {
330
- offset: d,
345
+ offset: f,
331
346
  velocity: this.scrollVelocity,
332
347
  contentSize: {
333
348
  width: this.scrollElement.scrollWidth,
@@ -339,17 +354,17 @@ class k {
339
354
  },
340
355
  edges: a
341
356
  };
342
- this.props.onScroll && this.props.onScroll(T), a.top && this.props.onReachTop && this.props.onReachTop(), a.bottom && this.props.onReachBottom && this.props.onReachBottom(), a.left && this.props.onReachLeft && this.props.onReachLeft(), a.right && this.props.onReachRight && this.props.onReachRight(), this.lastScrollOffset = d, this.lastScrollTime = p;
357
+ this.props.onScroll && this.props.onScroll(T), a.top && this.props.onReachTop && this.props.onReachTop(), a.bottom && this.props.onReachBottom && this.props.onReachBottom(), a.left && this.props.onReachLeft && this.props.onReachLeft(), a.right && this.props.onReachRight && this.props.onReachRight(), this.lastScrollOffset = f, this.lastScrollTime = p;
343
358
  }), r(this, "handleScrollStart", () => {
344
359
  this.setIsScrolling(!0), this.props.onScrollBegin && this.props.onScrollBegin();
345
360
  }), r(this, "handleScrollEnd", () => {
346
361
  this.setIsScrolling(!1), this.props.onScrollEnd && this.props.onScrollEnd();
347
- }), r(this, "handleTouchStart", (h) => {
348
- this.props.refreshControl?.enabled && (this.pullStartY = h.touches[0].clientY, this.isPulling = !1);
349
- }), r(this, "handleTouchMove", (h) => {
362
+ }), r(this, "handleTouchStart", (d) => {
363
+ this.props.refreshControl?.enabled && (this.pullStartY = d.touches[0].clientY, this.isPulling = !1);
364
+ }), r(this, "handleTouchMove", (d) => {
350
365
  if (!this.props.refreshControl?.enabled || !this.scrollElement) return;
351
- const c = h.touches[0].clientY - this.pullStartY, d = this.props.refreshControl.threshold || 80;
352
- this.scrollElement.scrollTop <= 0 && c > 0 && (this.isPulling = !0, c > d ? this.setPullToRefreshState("ready") : this.setPullToRefreshState("pulling"));
366
+ const c = d.touches[0].clientY - this.pullStartY, f = this.props.refreshControl.threshold || 80;
367
+ this.scrollElement.scrollTop <= 0 && c > 0 && (this.isPulling = !0, c > f ? this.setPullToRefreshState("ready") : this.setPullToRefreshState("pulling"));
353
368
  }), r(this, "handleTouchEnd", async () => {
354
369
  if (!this.props.refreshControl?.enabled || !this.isPulling) return;
355
370
  if (this.pullToRefreshStateSignal() === "ready") {
@@ -365,31 +380,31 @@ class k {
365
380
  this.setPullToRefreshState("idle");
366
381
  this.isPulling = !1;
367
382
  }), this.id = `scrollview-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`, this.scrollEventThrottle = t.scrollEventThrottle || 16;
368
- const [s, o] = E(
383
+ const [s, o] = w(
369
384
  { x: 0, y: 0 }
370
385
  );
371
386
  this.contentOffsetSignal = s, this.setContentOffset = o;
372
- const [n, i] = E({
387
+ const [n, i] = w({
373
388
  width: 0,
374
389
  height: 0
375
390
  });
376
391
  this.contentSizeSignal = n, this.setContentSize = i;
377
- const [, l] = E(!1);
392
+ const [, l] = w(!1);
378
393
  this.setIsScrolling = l;
379
- const [u, R] = E("idle");
394
+ const [u, R] = w("idle");
380
395
  if (this.pullToRefreshStateSignal = u, this.setPullToRefreshState = R, t.contentOffset && v(t.contentOffset)) {
381
396
  this.setContentOffset(t.contentOffset());
382
- const h = w(() => {
397
+ const d = E(() => {
383
398
  t.contentOffset && v(t.contentOffset) && this.setContentOffset(t.contentOffset());
384
399
  });
385
- this.cleanup.push(() => h.dispose());
400
+ this.cleanup.push(() => d.dispose());
386
401
  }
387
402
  if (t.contentSize && v(t.contentSize)) {
388
403
  this.setContentSize(t.contentSize());
389
- const h = w(() => {
404
+ const d = E(() => {
390
405
  t.contentSize && v(t.contentSize) && this.setContentSize(t.contentSize());
391
406
  });
392
- this.cleanup.push(() => h.dispose());
407
+ this.cleanup.push(() => d.dispose());
393
408
  }
394
409
  }
395
410
  /**
@@ -600,11 +615,11 @@ class k {
600
615
  ...o.flatMap((c) => c.render())
601
616
  ), l = this.createPullToRefreshIndicator(), u = [];
602
617
  if (l) {
603
- const c = l.render(), d = Array.isArray(c) ? c : [c];
604
- u.push(...d.filter((a) => a));
618
+ const c = l.render(), f = Array.isArray(c) ? c : [c];
619
+ u.push(...f.filter((a) => a));
605
620
  }
606
621
  u.push(i);
607
- const { direction: R = "vertical" } = this.props, h = this.getOverflowStyles(R), p = S(
622
+ const { direction: R = "vertical" } = this.props, d = this.getOverflowStyles(R), p = S(
608
623
  "div",
609
624
  {
610
625
  id: this.id,
@@ -613,7 +628,7 @@ class k {
613
628
  height: "100%",
614
629
  width: "100%",
615
630
  position: "relative",
616
- ...h
631
+ ...d
617
632
  }
618
633
  },
619
634
  ...u
@@ -621,17 +636,17 @@ class k {
621
636
  if (p.element) {
622
637
  const c = p.element;
623
638
  this.scrollElement = c, this.applyScrollViewStyles(c), this.setupScrollHandlers(c), i.element && this.applyContentInsets(i.element);
624
- const d = () => {
639
+ const f = () => {
625
640
  const a = v(s) ? s() : s;
626
641
  c.style.overflow = a ? "auto" : "hidden", c.style.pointerEvents = a ? "auto" : "none";
627
642
  };
628
643
  if (v(s)) {
629
- const a = w(d);
644
+ const a = E(f);
630
645
  this.cleanup.push(() => a.dispose());
631
646
  } else
632
- d();
647
+ f();
633
648
  if (typeof n == "function") {
634
- const a = w(() => {
649
+ const a = E(() => {
635
650
  const T = n(), H = (Array.isArray(T) ? T : []).flatMap((b) => b.render());
636
651
  if (i.element) {
637
652
  const b = i.element;
@@ -647,8 +662,8 @@ class k {
647
662
  }
648
663
  }
649
664
  function L(e = {}) {
650
- const t = new k(e);
651
- return f(t);
665
+ const t = new j(e);
666
+ return h(t);
652
667
  }
653
668
  const it = {
654
669
  /**
@@ -699,6 +714,6 @@ export {
699
714
  st as g,
700
715
  ot as h,
701
716
  nt as i,
702
- k as j,
717
+ j,
703
718
  it as k
704
719
  };
@@ -1,7 +1,7 @@
1
- import { withModifiers as h, ComponentWithCSSClasses as p, processElementOverride as f, h as d, text as u, clonePropsPreservingReactivity as r, resetLifecycleState as c } from "@tachui/core";
2
- import { createComponentInstance as g } from "@tachui/core/components";
3
- var b = Object.defineProperty, m = (t, e, i) => e in t ? b(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, l = (t, e, i) => m(t, typeof e != "symbol" ? e + "" : e, i);
4
- const n = {
1
+ import { withModifiers as d, ComponentWithCSSClasses as f, processElementOverride as u, h as g, text as b, clonePropsPreservingReactivity as c, resetLifecycleState as h } from "@tachui/core";
2
+ import { createComponentInstance as m } from "@tachui/core/components";
3
+ var v = Object.defineProperty, y = (t, e, i) => e in t ? v(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, a = (t, e, i) => y(t, typeof e != "symbol" ? e + "" : e, i);
4
+ const s = {
5
5
  largeTitle: { size: 34, weight: "400", lineHeight: 1.2 },
6
6
  title: { size: 28, weight: "400", lineHeight: 1.3 },
7
7
  title2: { size: 22, weight: "400", lineHeight: 1.3 },
@@ -14,18 +14,25 @@ const n = {
14
14
  caption: { size: 12, weight: "400", lineHeight: 1.2 },
15
15
  caption2: { size: 11, weight: "400", lineHeight: 1.1 }
16
16
  };
17
- class a extends p {
17
+ class r extends f {
18
18
  constructor(e) {
19
- super(), this.props = e, l(this, "type", "component"), l(this, "id"), l(this, "mounted", !1), l(this, "cleanup", []), l(this, "effectiveTag"), l(this, "validationResult"), this.id = `text-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
20
- const i = f("Text", "span", this.props.element);
21
- this.effectiveTag = i.tag, this.validationResult = i.validation;
19
+ super(), this.props = e, a(this, "type", "component"), a(this, "id"), a(this, "mounted", !1), a(this, "cleanup", []), a(this, "effectiveTag"), a(this, "validationResult"), this.id = `text-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
20
+ const i = this.resolveDefaultTag(), o = u(
21
+ "Text",
22
+ i,
23
+ this.props.element
24
+ );
25
+ this.effectiveTag = o.tag, this.validationResult = o.validation;
26
+ }
27
+ resolveDefaultTag() {
28
+ return this.props.accessibilityRole === "heading" ? `h${this.props.accessibilityLevel ?? 2}` : "span";
22
29
  }
23
30
  /**
24
31
  * Render the text component with reactive content handling, element override support, and CSS classes
25
32
  */
26
33
  render() {
27
34
  const e = ["tachui-text"], i = this.createClassString(this.props, e);
28
- return [d(
35
+ return [g(
29
36
  this.effectiveTag,
30
37
  {
31
38
  className: i,
@@ -40,7 +47,7 @@ class a extends p {
40
47
  // Add reference to the Text component instance
41
48
  }
42
49
  },
43
- u(this.props.content || "")
50
+ b(this.props.content || "")
44
51
  )];
45
52
  }
46
53
  // Concatenation support - simplified for now
@@ -69,36 +76,58 @@ class a extends p {
69
76
  return e.deep ? this.deepClone() : this.shallowClone();
70
77
  }
71
78
  shallowClone() {
72
- const e = r(this.props), i = new a(e);
73
- return c(i), i;
79
+ const e = c(this.props), i = new r(e);
80
+ return h(i), i;
74
81
  }
75
82
  deepClone() {
76
- const e = r(this.props, {
83
+ const e = c(this.props, {
77
84
  deep: !0
78
- }), i = new a(e);
79
- return c(i), i;
85
+ }), i = new r(e);
86
+ return h(i), i;
80
87
  }
81
88
  }
82
- function o(t, e) {
89
+ function p(t, e) {
83
90
  const i = {
84
91
  content: t,
85
92
  ...e
86
- }, s = g(a, i);
87
- return h(s);
93
+ }, o = m(r, i);
94
+ return d(o);
95
+ }
96
+ function l(t) {
97
+ return (e, i) => p(e, {
98
+ ...i,
99
+ accessibilityRole: "heading",
100
+ accessibilityLevel: t
101
+ });
102
+ }
103
+ const n = Object.assign(p, {
104
+ H1: l(1),
105
+ H2: l(2),
106
+ H3: l(3),
107
+ H4: l(4),
108
+ H5: l(5),
109
+ H6: l(6)
110
+ });
111
+ function w(t, e = {}) {
112
+ e.level === void 0 && process.env.NODE_ENV !== "production" && console.warn(
113
+ "Heading: no level provided, defaulting to level 2. Pass { level: 1 } for primary page headings."
114
+ );
115
+ const { level: i = 2, ...o } = e;
116
+ return l(i)(t, o);
88
117
  }
89
- const y = {
118
+ const x = {
90
119
  /**
91
120
  * Create formatted text with multiple styling options
92
121
  */
93
122
  formatted(t, e, i) {
94
- const s = { ...i };
95
- return e.bold && (s.font = { ...s.font, weight: "bold" }), e.italic && (s.font = { ...s.font, style: "italic" }), e.underline && (s.textDecoration = "underline"), e.strikethrough && (s.textDecoration = "line-through"), e.monospace && (s.font = { ...s.font, family: "monospace" }), e.smallCaps && (s.font = { ...s.font, variant: "small-caps" }), o(t, s);
123
+ const o = { ...i };
124
+ return e.bold && (o.font = { ...o.font, weight: "bold" }), e.italic && (o.font = { ...o.font, style: "italic" }), e.underline && (o.textDecoration = "underline"), e.strikethrough && (o.textDecoration = "line-through"), e.monospace && (o.font = { ...o.font, family: "monospace" }), e.smallCaps && (o.font = { ...o.font, variant: "small-caps" }), n(t, o);
96
125
  },
97
126
  /**
98
127
  * Create bold text
99
128
  */
100
129
  bold(t, e) {
101
- return o(t, {
130
+ return n(t, {
102
131
  font: { weight: "bold" },
103
132
  ...e
104
133
  });
@@ -107,7 +136,7 @@ const y = {
107
136
  * Create italic text
108
137
  */
109
138
  italic(t, e) {
110
- return o(t, {
139
+ return n(t, {
111
140
  font: { style: "italic" },
112
141
  ...e
113
142
  });
@@ -116,7 +145,7 @@ const y = {
116
145
  * Create underlined text
117
146
  */
118
147
  underline(t, e) {
119
- return o(t, {
148
+ return n(t, {
120
149
  textDecoration: "underline",
121
150
  ...e
122
151
  });
@@ -125,46 +154,47 @@ const y = {
125
154
  * Create monospace text
126
155
  */
127
156
  monospace(t, e) {
128
- return o(t, {
157
+ return n(t, {
129
158
  font: { family: "monospace" },
130
159
  ...e
131
160
  });
132
161
  }
133
- }, v = {
162
+ }, C = {
134
163
  heading: (t = 1) => ({
135
- font: n[t === 1 ? "largeTitle" : t === 2 ? "title" : t === 3 ? "title2" : t === 4 ? "title3" : t === 5 ? "headline" : "body"],
164
+ font: s[t === 1 ? "largeTitle" : t === 2 ? "title" : t === 3 ? "title2" : t === 4 ? "title3" : t === 5 ? "headline" : "body"],
136
165
  accessibilityRole: "heading",
137
166
  accessibilityLevel: t
138
167
  }),
139
168
  body: () => ({
140
- font: n.body,
169
+ font: s.body,
141
170
  accessibilityRole: "text"
142
171
  }),
143
172
  caption: () => ({
144
- font: n.caption,
173
+ font: s.caption,
145
174
  color: "#666666"
146
175
  }),
147
176
  footnote: () => ({
148
- font: n.footnote,
177
+ font: s.footnote,
149
178
  color: "#888888"
150
179
  }),
151
180
  // Typography preset functions
152
- LargeTitle: (t, e) => o(t, { font: n.largeTitle, ...e }),
153
- Title: (t, e) => o(t, { font: n.title, ...e }),
154
- Title2: (t, e) => o(t, { font: n.title2, ...e }),
155
- Title3: (t, e) => o(t, { font: n.title3, ...e }),
156
- Headline: (t, e) => o(t, { font: n.headline, ...e }),
157
- Body: (t, e) => o(t, { font: n.body, ...e }),
158
- Callout: (t, e) => o(t, { font: n.callout, ...e }),
159
- Subheadline: (t, e) => o(t, { font: n.subheadline, ...e }),
160
- Footnote: (t, e) => o(t, { font: n.footnote, ...e }),
161
- Caption: (t, e) => o(t, { font: n.caption, ...e }),
162
- Caption2: (t, e) => o(t, { font: n.caption2, ...e })
181
+ LargeTitle: (t, e) => n(t, { font: s.largeTitle, ...e }),
182
+ Title: (t, e) => n(t, { font: s.title, ...e }),
183
+ Title2: (t, e) => n(t, { font: s.title2, ...e }),
184
+ Title3: (t, e) => n(t, { font: s.title3, ...e }),
185
+ Headline: (t, e) => n(t, { font: s.headline, ...e }),
186
+ Body: (t, e) => n(t, { font: s.body, ...e }),
187
+ Callout: (t, e) => n(t, { font: s.callout, ...e }),
188
+ Subheadline: (t, e) => n(t, { font: s.subheadline, ...e }),
189
+ Footnote: (t, e) => n(t, { font: s.footnote, ...e }),
190
+ Caption: (t, e) => n(t, { font: s.caption, ...e }),
191
+ Caption2: (t, e) => n(t, { font: s.caption2, ...e })
163
192
  };
164
193
  export {
165
- a as E,
166
- o as T,
167
- y as a,
168
- v as b,
169
- n as c
194
+ r as E,
195
+ w as H,
196
+ n as T,
197
+ x as a,
198
+ C as b,
199
+ s as c
170
200
  };
@@ -50,6 +50,9 @@ export declare class EnhancedToggle implements ComponentInstance<ToggleProps> {
50
50
  * Resolve label content
51
51
  */
52
52
  private resolveLabel;
53
+ private getInputId;
54
+ private getLabelId;
55
+ private getInputAccessibilityProps;
53
56
  /**
54
57
  * Helper to render component content safely
55
58
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../src/controls/Toggle.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAExE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAE1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAG9E;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,cAAc;IAEjD,IAAI,EA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,GAAG,MAAM,CAAC,OAAO,CAAC,CAAA;YAC/B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;SACnC,CAAC,YACQ,OAAO;QASnB;;WAEG;2BACgB,KAAK,CAAC;YAAE,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,CAAA;SAAE,CAAC,GAAG,OAAO,EAAE;QASzE;;WAEG;uBACY,KAAK,CAAC;YAAE,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,CAAA;SAAE,CAAC,GAAG,OAAO;QAInE;;WAEG;uBACY,KAAK,CAAC;YAAE,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,CAAA;SAAE,CAAC,GAAG,OAAO;;CAItE,CAAA"}
@@ -1,4 +1,4 @@
1
- import { B as s, a as t, E as l, h as n, c as g, L as i, b as o, P as c, i as T, j as h, T as k, e as r, f as d, g as u, d as B } from "../Picker-DKphYduj.js";
1
+ import { B as s, a as t, E as l, h as n, c as g, L as i, b as o, P as c, i as T, j as h, T as k, e as r, f as d, g as u, d as B } from "../Picker-CpERkpVp.js";
2
2
  export {
3
3
  s as Button,
4
4
  t as ButtonStyles,
@@ -30,6 +30,16 @@ export declare const HTML: {
30
30
  }) => import("@tachui/core").ModifiableComponent<ComponentProps> & import("@tachui/core").ModifierBuilder<import("@tachui/core").ModifiableComponent<ComponentProps>> & {
31
31
  modifier: import("@tachui/core").ModifierBuilder<import("@tachui/core").ModifiableComponent<ComponentProps>>;
32
32
  };
33
+ /**
34
+ * Create an anchor element with modifier support
35
+ */
36
+ a: (props?: {
37
+ children?: any;
38
+ href?: string;
39
+ onClick?: (event: MouseEvent) => void;
40
+ }) => import("@tachui/core").ModifiableComponent<ComponentProps> & import("@tachui/core").ModifierBuilder<import("@tachui/core").ModifiableComponent<ComponentProps>> & {
41
+ modifier: import("@tachui/core").ModifierBuilder<import("@tachui/core").ModifiableComponent<ComponentProps>>;
42
+ };
33
43
  /**
34
44
  * Create a paragraph element with modifier support
35
45
  */
@@ -1 +1 @@
1
- {"version":3,"file":"HTML.d.ts","sourceRoot":"","sources":["../../src/display/HTML.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAqB,cAAc,EAAE,MAAM,cAAc,CAAA;AA4BrE;;;;;;GAMG;AACH,eAAO,MAAM,IAAI;IACf;;OAEG;kBACU;QAAE,QAAQ,CAAC,EAAE,GAAG,CAAA;KAAE;;;IAS/B;;OAEG;mBACW;QAAE,QAAQ,CAAC,EAAE,GAAG,CAAA;KAAE;;;IAShC;;OAEG;gBACQ;QAAE,QAAQ,CAAC,EAAE,GAAG,CAAA;KAAE;;;IAS7B;;;;;OAKG;qBACa;QAAE,QAAQ,CAAC,EAAE,GAAG,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;KAAE;;;IAsBxD;;OAEG;oBAEM;QACL,IAAI,CAAC,EAAE,MAAM,CAAA;QACb,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;KACnC;;;IAcH;;;;;OAKG;iBACU;QACX,GAAG,EAAE,MAAM,CAAA;QACX,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;QACvB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KACzB;;;IAUD;;OAEG;qBAEO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,MAC5B,QAAO;QAAE,QAAQ,CAAC,EAAE,GAAG,CAAA;KAAO;;;CAQlC,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,EAAE,WAbH;IAAE,QAAQ,CAAC,EAAE,GAAG,CAAA;CAAE;;CAaG,CAAA;AACjC,eAAO,MAAM,EAAE,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