@tachui/modifiers 0.8.0-alpha → 0.8.5-alpha

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 (197) hide show
  1. package/README.md +19 -9
  2. package/dist/animation/index.d.ts +11 -0
  3. package/dist/animation/index.d.ts.map +1 -0
  4. package/dist/appearance/background.d.ts +23 -6
  5. package/dist/appearance/background.d.ts.map +1 -1
  6. package/dist/appearance/border.d.ts +2 -2
  7. package/dist/appearance/border.d.ts.map +1 -1
  8. package/dist/appearance/clip-shape.d.ts +2 -2
  9. package/dist/appearance/clip-shape.d.ts.map +1 -1
  10. package/dist/appearance/clipped.d.ts +2 -2
  11. package/dist/appearance/clipped.d.ts.map +1 -1
  12. package/dist/appearance/foreground.d.ts +14 -5
  13. package/dist/appearance/foreground.d.ts.map +1 -1
  14. package/dist/appearance/index.js +11 -12
  15. package/dist/appearance/reactive-factories.d.ts +20 -0
  16. package/dist/appearance/reactive-factories.d.ts.map +1 -0
  17. package/dist/attributes/accessibility.d.ts +10 -0
  18. package/dist/attributes/accessibility.d.ts.map +1 -0
  19. package/dist/attributes/aria.d.ts +2 -2
  20. package/dist/attributes/aria.d.ts.map +1 -1
  21. package/dist/attributes/css-properties.d.ts +2 -2
  22. package/dist/attributes/css-properties.d.ts.map +1 -1
  23. package/dist/attributes/html.d.ts +2 -2
  24. package/dist/attributes/html.d.ts.map +1 -1
  25. package/dist/attributes/index.d.ts +1 -0
  26. package/dist/attributes/index.d.ts.map +1 -1
  27. package/dist/base.d.ts +6 -7
  28. package/dist/base.d.ts.map +1 -1
  29. package/dist/base.js +9 -840
  30. package/dist/basic/animation.d.ts +41 -0
  31. package/dist/basic/animation.d.ts.map +1 -0
  32. package/dist/basic/base.d.ts +7 -8
  33. package/dist/basic/base.d.ts.map +1 -1
  34. package/dist/basic/index.d.ts +19 -2
  35. package/dist/basic/index.d.ts.map +1 -1
  36. package/dist/basic/index.js +252 -0
  37. package/dist/basic/margin.d.ts +2 -2
  38. package/dist/basic/margin.d.ts.map +1 -1
  39. package/dist/basic/margin.js +13 -158
  40. package/dist/basic/padding.d.ts +2 -2
  41. package/dist/basic/padding.d.ts.map +1 -1
  42. package/dist/basic/padding.js +13 -153
  43. package/dist/basic/size.d.ts +2 -2
  44. package/dist/basic/size.d.ts.map +1 -1
  45. package/dist/basic/size.js +10 -76
  46. package/dist/effects/backdrop/index.d.ts +60 -0
  47. package/dist/effects/backdrop/index.d.ts.map +1 -0
  48. package/dist/effects/backdrop/index.js +118 -0
  49. package/dist/effects/effects/index.d.ts +190 -0
  50. package/dist/effects/effects/index.d.ts.map +1 -0
  51. package/dist/effects/filters/index.d.ts +297 -0
  52. package/dist/effects/filters/index.d.ts.map +1 -0
  53. package/dist/effects/filters/index.js +234 -0
  54. package/dist/effects/index.d.ts +14 -0
  55. package/dist/effects/index.d.ts.map +1 -0
  56. package/dist/effects/index.js +373 -0
  57. package/dist/effects/internal-exports.d.ts +9 -0
  58. package/dist/effects/internal-exports.d.ts.map +1 -0
  59. package/dist/effects/shadows/index.d.ts +316 -0
  60. package/dist/effects/shadows/index.d.ts.map +1 -0
  61. package/dist/effects/shadows/index.js +405 -0
  62. package/dist/effects/transforms/index.d.ts +316 -0
  63. package/dist/effects/transforms/index.d.ts.map +1 -0
  64. package/dist/effects/transforms/index.js +193 -0
  65. package/dist/elements/pseudo-elements.d.ts +2 -2
  66. package/dist/elements/pseudo-elements.d.ts.map +1 -1
  67. package/dist/essential-manifest.d.ts +5 -0
  68. package/dist/essential-manifest.d.ts.map +1 -0
  69. package/dist/index.d.ts +10 -3
  70. package/dist/index.d.ts.map +1 -1
  71. package/dist/index.js +273 -881
  72. package/dist/interaction/allows-hit-testing.d.ts +1 -1
  73. package/dist/interaction/allows-hit-testing.d.ts.map +1 -1
  74. package/dist/interaction/dom-events.d.ts +35 -0
  75. package/dist/interaction/dom-events.d.ts.map +1 -0
  76. package/dist/interaction/focus-events.d.ts +54 -0
  77. package/dist/interaction/focus-events.d.ts.map +1 -0
  78. package/dist/interaction/focusable.d.ts +1 -1
  79. package/dist/interaction/focusable.d.ts.map +1 -1
  80. package/dist/interaction/focused.d.ts +1 -1
  81. package/dist/interaction/focused.d.ts.map +1 -1
  82. package/dist/interaction/index.d.ts +5 -0
  83. package/dist/interaction/index.d.ts.map +1 -1
  84. package/dist/interaction/index.js +75 -28
  85. package/dist/interaction/keyboard-events.d.ts +69 -0
  86. package/dist/interaction/keyboard-events.d.ts.map +1 -0
  87. package/dist/interaction/keyboard-shortcut.d.ts +1 -1
  88. package/dist/interaction/keyboard-shortcut.d.ts.map +1 -1
  89. package/dist/interaction/mouse-events.d.ts +125 -0
  90. package/dist/interaction/mouse-events.d.ts.map +1 -0
  91. package/dist/interaction/on-continuous-hover.d.ts +1 -1
  92. package/dist/interaction/on-continuous-hover.d.ts.map +1 -1
  93. package/dist/interaction/on-hover.d.ts +30 -0
  94. package/dist/interaction/on-hover.d.ts.map +1 -0
  95. package/dist/interaction/on-long-press-gesture.d.ts +1 -1
  96. package/dist/interaction/on-long-press-gesture.d.ts.map +1 -1
  97. package/dist/interaction/scroll.d.ts +2 -2
  98. package/dist/interaction/scroll.d.ts.map +1 -1
  99. package/dist/layout/aspect-ratio.d.ts +2 -2
  100. package/dist/layout/aspect-ratio.d.ts.map +1 -1
  101. package/dist/layout/fixed-size.d.ts +2 -2
  102. package/dist/layout/fixed-size.d.ts.map +1 -1
  103. package/dist/layout/flexbox.d.ts +2 -2
  104. package/dist/layout/flexbox.d.ts.map +1 -1
  105. package/dist/layout/frame.d.ts +13 -0
  106. package/dist/layout/frame.d.ts.map +1 -0
  107. package/dist/layout/index.d.ts +2 -0
  108. package/dist/layout/index.d.ts.map +1 -1
  109. package/dist/layout/index.js +25 -22
  110. package/dist/layout/offset.d.ts +2 -2
  111. package/dist/layout/offset.d.ts.map +1 -1
  112. package/dist/layout/overlay.d.ts +1 -1
  113. package/dist/layout/overlay.d.ts.map +1 -1
  114. package/dist/layout/position.d.ts +2 -2
  115. package/dist/layout/position.d.ts.map +1 -1
  116. package/dist/layout/resizable.d.ts +6 -0
  117. package/dist/layout/resizable.d.ts.map +1 -0
  118. package/dist/layout/scale-effect.d.ts +6 -5
  119. package/dist/layout/scale-effect.d.ts.map +1 -1
  120. package/dist/layout/z-index.d.ts +2 -2
  121. package/dist/layout/z-index.d.ts.map +1 -1
  122. package/dist/lifecycle/index.d.ts +6 -0
  123. package/dist/lifecycle/index.d.ts.map +1 -0
  124. package/dist/modifiers-basic-DLmE749_.js +5604 -0
  125. package/dist/navigation/index.d.ts +12 -0
  126. package/dist/navigation/index.d.ts.map +1 -0
  127. package/dist/preload/backdrop.d.ts +5 -0
  128. package/dist/preload/backdrop.d.ts.map +1 -0
  129. package/dist/preload/backdrop.js +7 -0
  130. package/dist/preload/basic.d.ts +7 -0
  131. package/dist/preload/basic.d.ts.map +1 -0
  132. package/dist/preload/basic.js +251 -0
  133. package/dist/preload/effects.d.ts +6 -0
  134. package/dist/preload/effects.d.ts.map +1 -0
  135. package/dist/preload/effects.js +95 -0
  136. package/dist/preload/filters.d.ts +6 -0
  137. package/dist/preload/filters.d.ts.map +1 -0
  138. package/dist/preload/filters.js +31 -0
  139. package/dist/preload/shadows.d.ts +5 -0
  140. package/dist/preload/shadows.d.ts.map +1 -0
  141. package/dist/preload/shadows.js +27 -0
  142. package/dist/preload/transforms.d.ts +5 -0
  143. package/dist/preload/transforms.d.ts.map +1 -0
  144. package/dist/preload/transforms.js +30 -0
  145. package/dist/types.d.ts +7 -6
  146. package/dist/types.d.ts.map +1 -1
  147. package/dist/types.js +0 -1
  148. package/dist/typography/font.d.ts +5 -2
  149. package/dist/typography/font.d.ts.map +1 -1
  150. package/dist/typography/index.d.ts +1 -0
  151. package/dist/typography/index.d.ts.map +1 -1
  152. package/dist/typography/index.js +26 -28
  153. package/dist/typography/text.d.ts +2 -2
  154. package/dist/typography/text.d.ts.map +1 -1
  155. package/dist/typography/text.js +9 -127
  156. package/dist/typography/typography.d.ts +6 -4
  157. package/dist/typography/typography.d.ts.map +1 -1
  158. package/dist/utility/as-html-validator.d.ts +20 -0
  159. package/dist/utility/as-html-validator.d.ts.map +1 -0
  160. package/dist/utility/as-html.d.ts +65 -0
  161. package/dist/utility/as-html.d.ts.map +1 -0
  162. package/dist/utility/basic-sanitizer.d.ts +54 -0
  163. package/dist/utility/basic-sanitizer.d.ts.map +1 -0
  164. package/dist/utility/css.d.ts +2 -2
  165. package/dist/utility/css.d.ts.map +1 -1
  166. package/dist/utility/index.d.ts +3 -0
  167. package/dist/utility/index.d.ts.map +1 -1
  168. package/dist/utility/index.js +19 -15
  169. package/dist/utility/utility.d.ts +2 -2
  170. package/dist/utility/utility.d.ts.map +1 -1
  171. package/dist/version.d.ts +14 -0
  172. package/dist/version.d.ts.map +1 -0
  173. package/package.json +59 -4
  174. package/dist/allows-hit-testing-DscPrcOw.js +0 -464
  175. package/dist/allows-hit-testing-DscPrcOw.js.map +0 -1
  176. package/dist/appearance/index.js.map +0 -1
  177. package/dist/base-CkGf4b9G.js +0 -786
  178. package/dist/base-CkGf4b9G.js.map +0 -1
  179. package/dist/base.js.map +0 -1
  180. package/dist/basic/margin.js.map +0 -1
  181. package/dist/basic/padding.js.map +0 -1
  182. package/dist/basic/size.js.map +0 -1
  183. package/dist/clipped-CCW8gJqJ.js +0 -282
  184. package/dist/clipped-CCW8gJqJ.js.map +0 -1
  185. package/dist/css-CJEXRr6H.js +0 -124
  186. package/dist/css-CJEXRr6H.js.map +0 -1
  187. package/dist/font-3qM2Z97N.js +0 -135
  188. package/dist/font-3qM2Z97N.js.map +0 -1
  189. package/dist/index.js.map +0 -1
  190. package/dist/interaction/index.js.map +0 -1
  191. package/dist/layout/index.js.map +0 -1
  192. package/dist/overlay-DDiSLprp.js +0 -774
  193. package/dist/overlay-DDiSLprp.js.map +0 -1
  194. package/dist/types.js.map +0 -1
  195. package/dist/typography/index.js.map +0 -1
  196. package/dist/typography/text.js.map +0 -1
  197. package/dist/utility/index.js.map +0 -1
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Navigation helper factories used by the core builder and navigation package.
3
+ */
4
+ import type { Modifier } from '@tachui/types/modifiers';
5
+ import type { ComponentInstance } from '@tachui/core';
6
+ export declare function navigationTitle(title: string): Modifier;
7
+ export declare function navigationBarHidden(hidden?: boolean): Modifier;
8
+ export declare function navigationBarItems(options: {
9
+ leading?: ComponentInstance | ComponentInstance[];
10
+ trailing?: ComponentInstance | ComponentInstance[];
11
+ }): Modifier;
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/navigation/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAA;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAErD,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,QAAQ,CAKvD;AAED,wBAAgB,mBAAmB,CACjC,MAAM,GAAE,OAAc,GACrB,QAAQ,CAKV;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE;IAC1C,OAAO,CAAC,EAAE,iBAAiB,GAAG,iBAAiB,EAAE,CAAA;IACjD,QAAQ,CAAC,EAAE,iBAAiB,GAAG,iBAAiB,EAAE,CAAA;CACnD,GAAG,QAAQ,CAEX"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Preload entry for backdrop and glassmorphism utilities.
3
+ */
4
+ export * from '../effects/backdrop';
5
+ //# sourceMappingURL=backdrop.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../src/preload/backdrop.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,qBAAqB,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { BackdropFilterModifier as s, backdropFilter as i, customGlassmorphism as m, glassmorphism as p } from "../effects/backdrop/index.js";
2
+ export {
3
+ s as BackdropFilterModifier,
4
+ i as backdropFilter,
5
+ m as customGlassmorphism,
6
+ p as glassmorphism
7
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Segmented preload entry that eagerly registers every basic modifier family.
3
+ * Re-exporting the basic module ensures it is evaluated immediately while
4
+ * still exposing the public API for downstream imports.
5
+ */
6
+ export * from '../basic';
7
+ //# sourceMappingURL=basic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"basic.d.ts","sourceRoot":"","sources":["../../src/preload/basic.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,UAAU,CAAA"}
@@ -0,0 +1,251 @@
1
+ import { bi as e, ck as o, bZ as i, b$ as r, A as n, a5 as t, a4 as d, bX as c, af as l, bS as b, au as f, aw as u, ag as M, cr as g, cg as p, n as h, F as x, ba as m, b8 as y, ar as T, a2 as C, ce as v, b5 as S, X as B, cI as w, O as H, b0 as P, aO as O, be as L, aN as k, a$ as I, aH as z, aV as D, aX as G, aW as K, b3 as R, aL as F, aJ as A, aK as W, aM as E, a0 as V, x as U, cx as X, P as Y, c0 as j, S as q, ay as Z, cT as J, ci as N, c$ as Q, T as _, bK as $, _ as aa, Z as sa, u as ea, bc as oa, c2 as ia, e as ra, g as na, bj as ta, cl as da, cp as ca, cn as la, co as ba, cq as fa, b_ as ua, m as Ma, a7 as ga, a8 as pa, a6 as ha, ca as xa, b as ma, bY as ya, c1 as Ta, aa as Ca, ah as va, ak as Sa, ao as Ba, am as wa, al as Ha, aj as Pa, ai as Oa, an as La, ap as ka, av as Ia, ax as za, aq as Da, cc as Ga, bT as Ka, bU as Ra, bV as Fa, cu as Aa, bW as Wa, bM as Ea, W as Va, cs as Ua, ct as Xa, ch as Ya, cw as ja, bl as qa, bJ as Za, bP as Ja, bd as Na, bk as Qa, p as _a, d as $a, i as as, a as ss, c as es, k as os, f as is, l as rs, bb as ns, b9 as ts, B as ds, U as cs, H as ls, I as bs, at as fs, as as us, q as Ms, h as gs, ae as ps, a9 as hs, cW as xs, bm as ms, a3 as ys, c5 as Ts, c4 as Cs, cf as vs, j as Ss, b6 as Bs, b7 as ws, t as Hs, K as Ps, c7 as Os, c6 as Ls, Y as ks, J as Is, cJ as zs, cL as Ds, cQ as Gs, cO as Ks, cM as Rs, cS as Fs, cN as As, cK as Ws, cP as Es, cR as Vs, cZ as Us, cX as Xs, c_ as Ys, cY as js, ad as qs, o as Zs, b2 as Js, bq as Ns, bz as Qs, aU as _s, bw as $s, bf as ae, bh as se, bg as ee, bA as oe, bB as ie, aT as re, bv as ne, b1 as te, bp as de, aI as ce, by as le, aY as be, bs as fe, a_ as ue, bt as Me, aZ as ge, bu as pe, b4 as he, aR as xe, aP as me, aQ as ye, aS as Te, bC as Ce, br as ve, bD as Se, bH as Be, bI as we, bo as He, bG as Pe, bF as Oe, bE as Le, bx as ke, bQ as Ie, bR as ze, Q as De, a1 as Ge, bO as Ke, bN as Re, y as Fe, aB as Ae, aC as We, aD as Ee, cy as Ve, cA as Ue, cF as Xe, cD as Ye, cB as je, cH as qe, cC as Ze, cz as Je, cE as Ne, cG as Qe, w as _e, c3 as $e, c8 as ao, ab as so, r as eo, v as oo, cm as io, s as ro, az as no, aA as to, aE as co, aF as lo, aG as bo, bn as fo, cU as uo, cd as Mo, ac as go, V as po, cj as ho, D as xo, R as mo, G as yo, L as To, E as Co, cv as vo, cb as So, d0 as Bo, C as wo, c9 as Ho, bL as Po, N as Oo, cV as Lo, $ as ko, z as Io } from "../modifiers-basic-DLmE749_.js";
2
+ import { createModifierBuilder as Do } from "@tachui/core/modifiers";
3
+ export {
4
+ e as AllowsHitTestingModifier,
5
+ o as AriaModifier,
6
+ i as AsHTMLModifier,
7
+ r as AsHTMLValidator,
8
+ n as AspectRatioModifier,
9
+ t as BackgroundClipModifier,
10
+ d as BackgroundModifier,
11
+ c as BasicSanitizer,
12
+ l as BorderModifier,
13
+ b as CSSModifier,
14
+ f as ClipShapeModifier,
15
+ u as ClippedModifier,
16
+ M as CornerRadiusModifier,
17
+ g as CustomPropertiesModifier,
18
+ p as DataModifier,
19
+ h as FixedSizeModifier,
20
+ x as FlexboxModifier,
21
+ m as FocusableModifier,
22
+ y as FocusedModifier,
23
+ T as ForegroundModifier,
24
+ C as HyphensModifier,
25
+ v as IdModifier,
26
+ S as KeyboardShortcutModifier,
27
+ B as LineClampModifier,
28
+ w as MarginModifier,
29
+ H as OffsetModifier,
30
+ P as OnBlurModifier,
31
+ O as OnContextMenuModifier,
32
+ L as OnContinuousHoverModifier,
33
+ k as OnDoubleClickModifier,
34
+ I as OnFocusModifier,
35
+ z as OnHoverModifier,
36
+ D as OnKeyDownModifier,
37
+ G as OnKeyPressModifier,
38
+ K as OnKeyUpModifier,
39
+ R as OnLongPressGestureModifier,
40
+ F as OnMouseDownModifier,
41
+ A as OnMouseEnterModifier,
42
+ W as OnMouseLeaveModifier,
43
+ E as OnMouseUpModifier,
44
+ V as OverflowWrapModifier,
45
+ U as OverlayModifier,
46
+ X as PaddingModifier,
47
+ Y as PositionModifier,
48
+ j as PseudoElementModifier,
49
+ q as ScaleEffectModifier,
50
+ Z as ScrollModifier,
51
+ J as SizeModifier,
52
+ N as TabIndexModifier,
53
+ Q as TransitionModifier,
54
+ _ as TypographyModifier,
55
+ $ as UtilityModifier,
56
+ aa as WordBreakModifier,
57
+ sa as ZIndexModifier,
58
+ ea as absolutePosition,
59
+ oa as activatable,
60
+ ia as after,
61
+ ra as alignItems,
62
+ na as alignSelf,
63
+ ta as allowsHitTesting,
64
+ da as aria,
65
+ ca as ariaDescribedBy,
66
+ la as ariaLabel,
67
+ ba as ariaLive,
68
+ fa as ariaModal,
69
+ ua as asHTML,
70
+ Ma as aspectRatio,
71
+ ga as background,
72
+ pa as backgroundClip,
73
+ ha as backgroundColor,
74
+ xa as badge,
75
+ ma as basicModifierRegistrations,
76
+ ya as basicSanitize,
77
+ Ta as before,
78
+ Ca as blueGradientText,
79
+ va as border,
80
+ Sa as borderBottom,
81
+ Ba as borderHorizontal,
82
+ wa as borderLeading,
83
+ Ha as borderLeft,
84
+ Pa as borderRight,
85
+ Oa as borderTop,
86
+ La as borderTrailing,
87
+ ka as borderVertical,
88
+ Ia as clipShape,
89
+ za as clipped,
90
+ Da as cornerRadius,
91
+ Ga as cornerRibbon,
92
+ Do as createModifierBuilder,
93
+ Ka as css,
94
+ Ra as cssProperty,
95
+ Fa as cssVariable,
96
+ Aa as cssVariables,
97
+ Wa as cssVendor,
98
+ Ea as cursor,
99
+ Va as custom,
100
+ Ua as customProperties,
101
+ Xa as customProperty,
102
+ Ya as data,
103
+ ja as designTokens,
104
+ qa as disableHitTesting,
105
+ Za as disabled,
106
+ Ja as display,
107
+ Na as editable,
108
+ Qa as enableHitTesting,
109
+ _a as fixedSize,
110
+ $a as flexBasis,
111
+ as as flexDirection,
112
+ ss as flexGrow,
113
+ es as flexShrink,
114
+ os as flexWrap,
115
+ is as flexbox,
116
+ rs as flexboxPresets,
117
+ ns as focusable,
118
+ ts as focused,
119
+ ds as font,
120
+ cs as fontFamily,
121
+ ls as fontSize,
122
+ bs as fontWeight,
123
+ fs as foreground,
124
+ us as foregroundColor,
125
+ Ms as frame,
126
+ gs as gap,
127
+ ps as goldGradientText,
128
+ hs as gradientText,
129
+ xs as height,
130
+ ms as highPriorityGesture,
131
+ ys as hyphens,
132
+ Ts as iconAfter,
133
+ Cs as iconBefore,
134
+ vs as id,
135
+ Ss as justifyContent,
136
+ Bs as keyboardShortcut,
137
+ ws as keyboardShortcutBuilder,
138
+ Hs as layoutPriority,
139
+ Ps as letterSpacing,
140
+ Os as lineAfter,
141
+ Ls as lineBefore,
142
+ ks as lineClamp,
143
+ Is as lineHeight,
144
+ zs as margin,
145
+ Ds as marginBottom,
146
+ Gs as marginHorizontal,
147
+ Ks as marginLeading,
148
+ Rs as marginLeft,
149
+ Fs as marginPresets,
150
+ As as marginRight,
151
+ Ws as marginTop,
152
+ Es as marginTrailing,
153
+ Vs as marginVertical,
154
+ Us as maxHeight,
155
+ Xs as maxWidth,
156
+ Ys as minHeight,
157
+ js as minWidth,
158
+ qs as oceanGradientText,
159
+ Zs as offset,
160
+ Js as onBlur,
161
+ Ns as onBlurInteraction,
162
+ Qs as onChange,
163
+ _s as onContextMenu,
164
+ $s as onContextMenuInteraction,
165
+ ae as onContinuousHover,
166
+ se as onContinuousHoverGlobal,
167
+ ee as onContinuousHoverLocal,
168
+ oe as onCopy,
169
+ ie as onCut,
170
+ re as onDoubleClick,
171
+ ne as onDoubleClickInteraction,
172
+ te as onFocus,
173
+ de as onFocusInteraction,
174
+ ce as onHover,
175
+ le as onInput,
176
+ be as onKeyDown,
177
+ fe as onKeyDownInteraction,
178
+ ue as onKeyPress,
179
+ Me as onKeyPressInteraction,
180
+ ge as onKeyUp,
181
+ pe as onKeyUpInteraction,
182
+ he as onLongPressGesture,
183
+ xe as onMouseDown,
184
+ me as onMouseEnter,
185
+ ye as onMouseLeave,
186
+ Te as onMouseUp,
187
+ Ce as onPaste,
188
+ ve as onScroll,
189
+ Se as onSelect,
190
+ Be as onSwipeLeft,
191
+ we as onSwipeRight,
192
+ He as onTap,
193
+ Pe as onTouchEnd,
194
+ Oe as onTouchMove,
195
+ Le as onTouchStart,
196
+ ke as onWheel,
197
+ Ie as outline,
198
+ ze as outlineOffset,
199
+ De as overflow,
200
+ Ge as overflowWrap,
201
+ Ke as overflowX,
202
+ Re as overflowY,
203
+ Fe as overlay,
204
+ Ae as overscrollBehavior,
205
+ We as overscrollBehaviorX,
206
+ Ee as overscrollBehaviorY,
207
+ Ve as padding,
208
+ Ue as paddingBottom,
209
+ Xe as paddingHorizontal,
210
+ Ye as paddingLeading,
211
+ je as paddingLeft,
212
+ qe as paddingPresets,
213
+ Ze as paddingRight,
214
+ Je as paddingTop,
215
+ Ne as paddingTrailing,
216
+ Qe as paddingVertical,
217
+ _e as position,
218
+ $e as pseudoElements,
219
+ ao as quotes,
220
+ so as rainbowGradientText,
221
+ eo as registerBasicModifiers,
222
+ oo as resizable,
223
+ io as role,
224
+ ro as scaleEffect,
225
+ no as scroll,
226
+ to as scrollBehavior,
227
+ co as scrollMargin,
228
+ lo as scrollPadding,
229
+ bo as scrollSnap,
230
+ fo as simultaneousGesture,
231
+ uo as size,
232
+ Mo as spinner,
233
+ go as sunsetGradientText,
234
+ po as system,
235
+ ho as tabIndex,
236
+ xo as textAlign,
237
+ mo as textCase,
238
+ yo as textDecoration,
239
+ To as textOverflow,
240
+ Co as textTransform,
241
+ vo as themeColors,
242
+ So as tooltip,
243
+ Bo as transition,
244
+ wo as typography,
245
+ Ho as underline,
246
+ Po as utility,
247
+ Oo as whiteSpace,
248
+ Lo as width,
249
+ ko as wordBreak,
250
+ Io as zIndex
251
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Preload entry for all effects modifiers (shadows, filters, transforms, backdrop).
3
+ * Re-export keeps the module evaluated while surfacing its public API.
4
+ */
5
+ export * from '../effects';
6
+ //# sourceMappingURL=effects.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"effects.d.ts","sourceRoot":"","sources":["../../src/preload/effects.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,YAAY,CAAA"}
@@ -0,0 +1,95 @@
1
+ import { active as r, buttonHover as o, cardHover as a, conditionalHover as s, disabledCursor as i, draggableCursor as n, focus as d, helpCursor as l, hover as h, hoverEffect as c, hoverWithTransition as m, imageHover as u, interactiveCursor as f, linkHover as v, loadingCursor as p, pressed as w, textCursor as g, zoomCursor as x } from "../effects/index.js";
2
+ import { blackAndWhite as b, blur as C, brightness as k, colorInvert as y, contrast as E, coolTone as H, darkModeInvert as T, faded as I, filter as X, filterDropShadow as Y, grayscale as Z, highContrastMode as F, highKey as K, hueRotate as M, hueRotation as O, invert as P, lowKey as R, saturate as W, saturation as z, sepia as A, softFocus as B, subtleBlur as D, vibrant as G, vintagePhoto as U, warmTone as V } from "../effects/filters/index.js";
3
+ import { advancedTransform as q, backfaceVisibility as J, matrix as L, matrix3d as N, perspective as Q, perspectiveOrigin as _, rotate as $, rotate3d as ee, rotateX as te, rotateY as re, rotateZ as oe, scale as ae, scale3d as se, scaleX as ie, scaleY as ne, scaleZ as de, skew as le, transform as he, transformStyle as ce, translate as me, translate3d as ue, translateX as fe, translateY as ve, translateZ as pe } from "../effects/transforms/index.js";
4
+ import { animatedShadow as ge, dropShadow as xe, elevationShadow as Se, glowEffect as be, insetShadow as Ce, layeredShadow as ke, neonEffect as ye, neumorphism as Ee, neumorphismPressed as He, reactiveShadow as Te, shadow as Ie, swiftUIShadow as Xe, textEmbossed as Ye, textEngraved as Ze, textOutline as Fe, textShadow as Ke, textShadowStrong as Me, textShadowSubtle as Oe } from "../effects/shadows/index.js";
5
+ import { backdropFilter as Re, customGlassmorphism as We, glassmorphism as ze } from "../effects/backdrop/index.js";
6
+ export {
7
+ r as active,
8
+ q as advancedTransform,
9
+ ge as animatedShadow,
10
+ Re as backdropFilter,
11
+ J as backfaceVisibility,
12
+ b as blackAndWhite,
13
+ C as blur,
14
+ k as brightness,
15
+ o as buttonHover,
16
+ a as cardHover,
17
+ y as colorInvert,
18
+ s as conditionalHover,
19
+ E as contrast,
20
+ H as coolTone,
21
+ We as customGlassmorphism,
22
+ T as darkModeInvert,
23
+ i as disabledCursor,
24
+ n as draggableCursor,
25
+ xe as dropShadow,
26
+ Se as elevationShadow,
27
+ I as faded,
28
+ X as filter,
29
+ Y as filterDropShadow,
30
+ d as focus,
31
+ ze as glassmorphism,
32
+ be as glowEffect,
33
+ Z as grayscale,
34
+ l as helpCursor,
35
+ F as highContrastMode,
36
+ K as highKey,
37
+ h as hover,
38
+ c as hoverEffect,
39
+ m as hoverWithTransition,
40
+ M as hueRotate,
41
+ O as hueRotation,
42
+ u as imageHover,
43
+ Ce as insetShadow,
44
+ f as interactiveCursor,
45
+ P as invert,
46
+ ke as layeredShadow,
47
+ v as linkHover,
48
+ p as loadingCursor,
49
+ R as lowKey,
50
+ L as matrix,
51
+ N as matrix3d,
52
+ ye as neonEffect,
53
+ Ee as neumorphism,
54
+ He as neumorphismPressed,
55
+ Q as perspective,
56
+ _ as perspectiveOrigin,
57
+ w as pressed,
58
+ Te as reactiveShadow,
59
+ $ as rotate,
60
+ ee as rotate3d,
61
+ te as rotateX,
62
+ re as rotateY,
63
+ oe as rotateZ,
64
+ W as saturate,
65
+ z as saturation,
66
+ ae as scale,
67
+ se as scale3d,
68
+ ie as scaleX,
69
+ ne as scaleY,
70
+ de as scaleZ,
71
+ A as sepia,
72
+ Ie as shadow,
73
+ le as skew,
74
+ B as softFocus,
75
+ D as subtleBlur,
76
+ Xe as swiftUIShadow,
77
+ g as textCursor,
78
+ Ye as textEmbossed,
79
+ Ze as textEngraved,
80
+ Fe as textOutline,
81
+ Ke as textShadow,
82
+ Me as textShadowStrong,
83
+ Oe as textShadowSubtle,
84
+ he as transform,
85
+ ce as transformStyle,
86
+ me as translate,
87
+ ue as translate3d,
88
+ fe as translateX,
89
+ ve as translateY,
90
+ pe as translateZ,
91
+ G as vibrant,
92
+ U as vintagePhoto,
93
+ V as warmTone,
94
+ x as zoomCursor
95
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Preload entry for filter effects only. Keeps bundle size minimal when
3
+ * teams need a narrow portion of the effects suite.
4
+ */
5
+ export * from '../effects/filters';
6
+ //# sourceMappingURL=filters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../src/preload/filters.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,oBAAoB,CAAA"}
@@ -0,0 +1,31 @@
1
+ import { FilterModifier as o, backdropFilter as r, blackAndWhite as a, blur as i, brightness as n, colorInvert as l, contrast as s, coolTone as h, darkModeInvert as d, faded as c, filter as u, filterDropShadow as b, grayscale as f, highContrastMode as g, highKey as p, hueRotate as v, hueRotation as y, invert as k, lowKey as w, opacity as F, saturate as M, saturation as m, sepia as I, softFocus as K, subtleBlur as R, vibrant as T, vintagePhoto as x, warmTone as A } from "../effects/filters/index.js";
2
+ export {
3
+ o as FilterModifier,
4
+ r as backdropFilter,
5
+ a as blackAndWhite,
6
+ i as blur,
7
+ n as brightness,
8
+ l as colorInvert,
9
+ s as contrast,
10
+ h as coolTone,
11
+ d as darkModeInvert,
12
+ c as faded,
13
+ u as filter,
14
+ b as filterDropShadow,
15
+ f as grayscale,
16
+ g as highContrastMode,
17
+ p as highKey,
18
+ v as hueRotate,
19
+ y as hueRotation,
20
+ k as invert,
21
+ w as lowKey,
22
+ F as opacity,
23
+ M as saturate,
24
+ m as saturation,
25
+ I as sepia,
26
+ K as softFocus,
27
+ R as subtleBlur,
28
+ T as vibrant,
29
+ x as vintagePhoto,
30
+ A as warmTone
31
+ };
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Preload entry focused on shadow effects (drop shadows, text shadows, etc.).
3
+ */
4
+ export * from '../effects/shadows';
5
+ //# sourceMappingURL=shadows.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shadows.d.ts","sourceRoot":"","sources":["../../src/preload/shadows.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,oBAAoB,CAAA"}
@@ -0,0 +1,27 @@
1
+ import { DropShadowModifier as d, ShadowModifier as t, TextShadowModifier as a, animatedShadow as h, dropShadow as w, elevationShadow as i, glowEffect as r, insetShadow as s, layeredShadow as S, neonEffect as n, neumorphism as f, neumorphismPressed as x, reactiveShadow as m, shadow as l, shadowDirections as p, shadowPreset as c, shadows as u, swiftUIShadow as E, textEmbossed as g, textEngraved as v, textOutline as M, textShadow as b, textShadowStrong as D, textShadowSubtle as P } from "../effects/shadows/index.js";
2
+ export {
3
+ d as DropShadowModifier,
4
+ t as ShadowModifier,
5
+ a as TextShadowModifier,
6
+ h as animatedShadow,
7
+ w as dropShadow,
8
+ i as elevationShadow,
9
+ r as glowEffect,
10
+ s as insetShadow,
11
+ S as layeredShadow,
12
+ n as neonEffect,
13
+ f as neumorphism,
14
+ x as neumorphismPressed,
15
+ m as reactiveShadow,
16
+ l as shadow,
17
+ p as shadowDirections,
18
+ c as shadowPreset,
19
+ u as shadows,
20
+ E as swiftUIShadow,
21
+ g as textEmbossed,
22
+ v as textEngraved,
23
+ M as textOutline,
24
+ b as textShadow,
25
+ D as textShadowStrong,
26
+ P as textShadowSubtle
27
+ };
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Preload entry for transform-style effects (rotations, scaling, perspective).
3
+ */
4
+ export * from '../effects/transforms';
5
+ //# sourceMappingURL=transforms.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transforms.d.ts","sourceRoot":"","sources":["../../src/preload/transforms.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,uBAAuB,CAAA"}
@@ -0,0 +1,30 @@
1
+ import { AdvancedTransformModifier as t, TransformModifier as r, advancedTransform as s, backfaceVisibility as o, matrix as i, matrix3d as n, offset as l, perspective as c, perspectiveOrigin as f, rotate as d, rotate3d as m, rotateX as p, rotateY as v, rotateZ as x, scale as T, scale3d as X, scaleX as Y, scaleY as Z, scaleZ as b, skew as k, transform as y, transformStyle as M, translate as g, translate3d as w, translateX as A, translateY as O, translateZ as S } from "../effects/transforms/index.js";
2
+ export {
3
+ t as AdvancedTransformModifier,
4
+ r as TransformModifier,
5
+ s as advancedTransform,
6
+ o as backfaceVisibility,
7
+ i as matrix,
8
+ n as matrix3d,
9
+ l as offset,
10
+ c as perspective,
11
+ f as perspectiveOrigin,
12
+ d as rotate,
13
+ m as rotate3d,
14
+ p as rotateX,
15
+ v as rotateY,
16
+ x as rotateZ,
17
+ T as scale,
18
+ X as scale3d,
19
+ Y as scaleX,
20
+ Z as scaleY,
21
+ b as scaleZ,
22
+ k as skew,
23
+ y as transform,
24
+ M as transformStyle,
25
+ g as translate,
26
+ w as translate3d,
27
+ A as translateX,
28
+ O as translateY,
29
+ S as translateZ
30
+ };
package/dist/types.d.ts CHANGED
@@ -4,9 +4,9 @@
4
4
  * Core type definitions for the SwiftUI-inspired modifier system.
5
5
  * Enables chaining modifiers on components similar to SwiftUI.
6
6
  */
7
- import type { Signal } from '@tachui/core/reactive/types';
8
- import type { ComponentInstance, ComponentProps, DOMNode } from '@tachui/core/runtime/types';
9
- export type { DOMNode } from '@tachui/core/runtime/types';
7
+ import type { Signal } from '@tachui/types/reactive';
8
+ import type { ComponentInstance, ComponentProps, DOMNode } from '@tachui/types/runtime';
9
+ export type { DOMNode } from '@tachui/types/runtime';
10
10
  export type Dimension = number | string | 'infinity';
11
11
  export interface StatefulBackgroundValue {
12
12
  default: any;
@@ -500,13 +500,13 @@ export interface ModifierBuilder<T extends ComponentInstance = ComponentInstance
500
500
  * @example
501
501
  * ```typescript
502
502
  * // ✅ Allowed: Text components only
503
- * Text('<p>Hello <strong>world</strong></p>').modifier.asHTML().build()
503
+ * Text('<p>Hello <strong>world</strong></p>').asHTML().build()
504
504
  *
505
505
  * // ❌ Compile Error: Not a Text component
506
- * VStack({}).modifier.asHTML() // TypeScript error
506
+ * VStack({}).asHTML() // TypeScript error
507
507
  *
508
508
  * // ✅ Dangerous: Skip sanitization
509
- * Text(serverTemplate).modifier.asHTML({ skipSanitizer: true }).build()
509
+ * Text(serverTemplate).asHTML({ skipSanitizer: true }).build()
510
510
  * ```
511
511
  */
512
512
  asHTML(options?: {
@@ -538,6 +538,7 @@ export interface ModifierBuilder<T extends ComponentInstance = ComponentInstance
538
538
  export interface ModifiableComponent<P extends ComponentProps = ComponentProps> extends ComponentInstance<P> {
539
539
  modifiers: Modifier[];
540
540
  modifierBuilder?: ModifierBuilder<ModifiableComponent<P>>;
541
+ _originalComponent?: ComponentInstance<P>;
541
542
  }
542
543
  /**
543
544
  * CSS style properties that can be generated by modifiers