@tachui/primitives 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.
@@ -1,6 +1,6 @@
1
1
  import { withModifiers as A, ComponentWithCSSClasses as q, createSignal as R, useLifecycle as J, createEffect as Y, isSignal as l, ColorAsset as E, h as a, text as d, ConcatenatedComponent as P, clonePropsPreservingReactivity as N, resetLifecycleState as U, createComputed as Q } from "@tachui/core";
2
2
  import { createComponentInstance as ee } from "@tachui/core/components";
3
- import { T as W } from "./Text-WpP4H9se.js";
3
+ import { T as W } from "./Text-B8LIkq2h.js";
4
4
  var te = Object.defineProperty, ie = (s, e, t) => e in s ? te(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t, y = (s, e, t) => ie(s, typeof e != "symbol" ? e + "" : e, t);
5
5
  const se = {
6
6
  colors: {
@@ -1,4 +1,4 @@
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";
1
+ import { ComponentWithCSSClasses as d, processElementOverride as f, h as u, text as g, clonePropsPreservingReactivity as c, resetLifecycleState as h, withModifiers as b } from "@tachui/core";
2
2
  import { createComponentInstance as m } from "@tachui/core/components";
3
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
4
  const s = {
@@ -14,10 +14,10 @@ const s = {
14
14
  caption: { size: 12, weight: "400", lineHeight: 1.2 },
15
15
  caption2: { size: 11, weight: "400", lineHeight: 1.1 }
16
16
  };
17
- class r extends f {
17
+ class r extends d {
18
18
  constructor(e) {
19
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(
20
+ const i = this.resolveDefaultTag(), o = f(
21
21
  "Text",
22
22
  i,
23
23
  this.props.element
@@ -32,7 +32,7 @@ class r extends f {
32
32
  */
33
33
  render() {
34
34
  const e = ["tachui-text"], i = this.createClassString(this.props, e);
35
- return [g(
35
+ return [u(
36
36
  this.effectiveTag,
37
37
  {
38
38
  className: i,
@@ -47,7 +47,7 @@ class r extends f {
47
47
  // Add reference to the Text component instance
48
48
  }
49
49
  },
50
- b(this.props.content || "")
50
+ g(this.props.content || "")
51
51
  )];
52
52
  }
53
53
  // Concatenation support - simplified for now
@@ -91,7 +91,7 @@ function p(t, e) {
91
91
  content: t,
92
92
  ...e
93
93
  }, o = m(r, i);
94
- return d(o);
94
+ return b(o);
95
95
  }
96
96
  function l(t) {
97
97
  return (e, i) => p(e, {
@@ -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-CpERkpVp.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-Cjf9fmKK.js";
2
2
  export {
3
3
  s as Button,
4
4
  t as ButtonStyles,
@@ -1,4 +1,4 @@
1
- import { E as e, H as t, T as o, a as H, b as l, c as n } from "../Text-WpP4H9se.js";
1
+ import { E as e, H as t, T as o, a as H, b as l, c as n } from "../Text-B8LIkq2h.js";
2
2
  import { E as c, j as g, d as m, e as i, f as T, g as d, h as x, i as I, H as S, I as h, b as E, a as p, c as f, S as w, k as y } from "../ScrollView-4WhOoZol.js";
3
3
  export {
4
4
  c as EnhancedImage,
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Divider as b, DividerComponent as P, DividerStyles as I, DividerUtils as y, HStack as j, Spacer as S, SpacerComponent as A, VStack as L, ZStack as C, defaultDividerTheme as V } from "./layout/index.js";
2
- import { E as O, H as E, T as $, a as F, b as q, c as U } from "./Text-WpP4H9se.js";
2
+ import { E as O, H as E, T as $, a as F, b as q, c as U } from "./Text-B8LIkq2h.js";
3
3
  import { E as N, j as _, d as W, e as R, f as M, g as G, h as K, i as Z, H as z, I as J, b as Q, a as X, c as Y, S as ee, k as te } from "./ScrollView-4WhOoZol.js";
4
- import { B as ne, a as ie, E as re, h as ae, c as se, L as ce, b as le, P as pe, i as de, j as ge, T as ue, e as me, f as he, g as fe, d as ve } from "./Picker-CpERkpVp.js";
4
+ import { B as ne, a as ie, E as re, h as ae, c as se, L as ce, b as le, P as pe, i as de, j as ge, T as ue, e as me, f as he, g as fe, d as ve } from "./Picker-Cjf9fmKK.js";
5
5
  import { B as xe, a as ke, b as Be, c as Te, d as be, e as Pe, f as Ie } from "./BasicInput-BHfrSdoi.js";
6
6
  import { withModifiers as je } from "@tachui/core";
7
7
  import { LayoutComponent as Ae } from "@tachui/core/components";
@@ -425,7 +425,7 @@ const w = {
425
425
  }
426
426
  console.groupEnd();
427
427
  }
428
- }, h = "@tachui/primitives", f = "0.8.22", x = h, k = f;
428
+ }, h = "@tachui/primitives", f = "0.8.24", x = h, k = f;
429
429
  export {
430
430
  xe as BasicForm,
431
431
  ke as BasicFormImplementation,
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@tachui/primitives",
3
- "version": "0.8.22",
3
+ "version": "0.8.24",
4
4
  "description": "Basic UI components for tachUI framework",
5
5
  "homepage": "https://tachui.dev/",
6
6
  "type": "module",
7
+ "sideEffects": false,
7
8
  "main": "./dist/index.js",
8
9
  "module": "./dist/index.js",
9
10
  "types": "./dist/index.d.ts",
@@ -33,8 +34,8 @@
33
34
  "dist"
34
35
  ],
35
36
  "dependencies": {
36
- "@tachui/core": "0.8.22",
37
- "@tachui/modifiers": "0.8.22"
37
+ "@tachui/core": "0.8.24",
38
+ "@tachui/modifiers": "0.8.24"
38
39
  },
39
40
  "devDependencies": {
40
41
  "@types/node": "^20.0.0",