@tachui/modifiers 0.8.24 → 0.8.26

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 (40) hide show
  1. package/dist/appearance/index.js +1 -1
  2. package/dist/attributes/css-properties.d.ts.map +1 -1
  3. package/dist/base.d.ts.map +1 -1
  4. package/dist/base.js +1 -1
  5. package/dist/basic/base.d.ts.map +1 -1
  6. package/dist/basic/index.js +1 -1
  7. package/dist/basic/margin.js +1 -1
  8. package/dist/basic/padding.js +1 -1
  9. package/dist/basic/size.js +1 -1
  10. package/dist/effects/backdrop/index.js +1 -1
  11. package/dist/effects/effects/index.d.ts.map +1 -1
  12. package/dist/effects/index.d.ts +1 -1
  13. package/dist/effects/index.d.ts.map +1 -1
  14. package/dist/effects/index.js +116 -109
  15. package/dist/effects/transforms/index.js +5 -5
  16. package/dist/index.js +1 -1
  17. package/dist/interaction/index.js +1 -1
  18. package/dist/layout/fixed-size.d.ts.map +1 -1
  19. package/dist/layout/index.js +1 -1
  20. package/dist/layout/position.d.ts.map +1 -1
  21. package/dist/layout/z-index.d.ts.map +1 -1
  22. package/dist/{modifiers-basic-BEmXc_DS.js → modifiers-basic-CYNrEDIN.js} +1356 -1296
  23. package/dist/preload/backdrop.d.ts.map +1 -1
  24. package/dist/preload/backdrop.js +14 -4
  25. package/dist/preload/basic.d.ts +1 -0
  26. package/dist/preload/basic.d.ts.map +1 -1
  27. package/dist/preload/basic.js +1 -1
  28. package/dist/preload/effects.d.ts +1 -0
  29. package/dist/preload/effects.d.ts.map +1 -1
  30. package/dist/preload/effects.js +23 -21
  31. package/dist/preload/filters.d.ts.map +1 -1
  32. package/dist/preload/filters.js +60 -28
  33. package/dist/preload/shadows.d.ts.map +1 -1
  34. package/dist/preload/shadows.js +49 -22
  35. package/dist/preload/transforms.d.ts.map +1 -1
  36. package/dist/preload/transforms.js +56 -25
  37. package/dist/typography/index.js +1 -1
  38. package/dist/typography/text.js +1 -1
  39. package/dist/utility/index.js +1 -1
  40. package/package.json +9 -4
@@ -1 +1 @@
1
- {"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../src/preload/backdrop.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,qBAAqB,CAAA"}
1
+ {"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../src/preload/backdrop.ts"],"names":[],"mappings":"AAAA;;GAEG;AAqBH,cAAc,qBAAqB,CAAA"}
@@ -1,7 +1,17 @@
1
- import { BackdropFilterModifier as s, backdropFilter as i, customGlassmorphism as m, glassmorphism as p } from "../effects/backdrop/index.js";
1
+ import { globalModifierRegistry as o } from "@tachui/registry";
2
+ import { backdropFilter as i, glassmorphism as m, customGlassmorphism as t } from "../effects/backdrop/index.js";
3
+ import { BackdropFilterModifier as f } from "../effects/backdrop/index.js";
4
+ const p = [
5
+ ["backdropFilter", i],
6
+ ["glassmorphism", m],
7
+ ["customGlassmorphism", t]
8
+ ];
9
+ p.forEach(([r, s]) => {
10
+ o.has(r) || o.register(r, s);
11
+ });
2
12
  export {
3
- s as BackdropFilterModifier,
13
+ f as BackdropFilterModifier,
4
14
  i as backdropFilter,
5
- m as customGlassmorphism,
6
- p as glassmorphism
15
+ t as customGlassmorphism,
16
+ m as glassmorphism
7
17
  };
@@ -3,5 +3,6 @@
3
3
  * Re-exporting the basic module ensures it is evaluated immediately while
4
4
  * still exposing the public API for downstream imports.
5
5
  */
6
+ import '../basic';
6
7
  export * from '../basic';
7
8
  //# sourceMappingURL=basic.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"basic.d.ts","sourceRoot":"","sources":["../../src/preload/basic.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,UAAU,CAAA"}
1
+ {"version":3,"file":"basic.d.ts","sourceRoot":"","sources":["../../src/preload/basic.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,UAAU,CAAA;AAEjB,cAAc,UAAU,CAAA"}
@@ -1,4 +1,4 @@
1
- import { bu as e, cw as o, c9 as i, cb as r, A as n, am as t, aa as d, a9 as c, a8 as l, c7 as b, al as f, ar as u, c2 as M, aG as g, aI as p, ap as m, as as h, cD as x, cs as y, t as B, F as C, bm as T, bk as v, aD as S, a6 as w, cq as H, bh as P, a0 as O, cU as k, O as L, bc as I, a_ as G, bq as z, aZ as D, bb as K, aT as R, b5 as F, b7 as A, b6 as W, bf as E, aX as V, aV as U, aW as X, aY as Y, a4 as j, C as q, cJ as Z, P as J, cc as N, S as Q, aK as _, d3 as $, cu as aa, db as sa, T as ea, bW as oa, a2 as ia, Z as ra, x as na, bo as ta, ce as da, g as ca, h as la, bv as ba, cx as fa, cB as ua, cz as Ma, cA as ga, cC as pa, ca as ma, q as ha, ac as xa, ao as ya, ae as Ba, ab as Ca, ad as Ta, cm as va, b as Sa, c8 as wa, cd as Ha, an as Pa, ag as Oa, at as ka, aw as La, aA as Ia, ay as Ga, ax as za, av as Da, au as Ka, az as Ra, aB as Fa, aH as Aa, aJ as Wa, l as Ea, aq as Va, aC as Ua, co as Xa, c3 as Ya, c4 as ja, c5 as qa, cG as Za, c6 as Ja, bY as Na, $ as Qa, cE as _a, cF as $a, ct as as, cI as ss, bx as es, bV as os, b$ as is, bp as rs, bw as ns, u as ts, e as ds, d as cs, m as ls, a as bs, c as fs, n as us, f as Ms, o as gs, bn as ps, bl as ms, E as hs, Y as xs, K as ys, L as Bs, aF as Cs, aE as Ts, v as vs, i as Ss, ak as ws, af as Hs, d6 as Ps, by as Os, a7 as ks, ch as Ls, cg as Is, cr as Gs, j as zs, bi as Ds, bj as Ks, w as Rs, Q as Fs, cj as As, ci as Ws, a1 as Es, N as Vs, cV as Us, cX as Xs, d0 as Ys, c_ as js, cY as qs, d2 as Zs, cZ as Js, cW as Ns, c$ as Qs, d1 as _s, d9 as $s, d7 as ae, da as se, d8 as ee, aj as oe, p as ie, be as re, bC as ne, bL as te, b4 as de, bI as ce, br as le, bt as be, bs as fe, bM as ue, bN as Me, b3 as ge, bH as pe, bd as me, bB as he, aU as xe, bK as ye, b8 as Be, bE as Ce, ba as Te, bF as ve, b9 as Se, bG as we, bg as He, b1 as Pe, a$ as Oe, b0 as ke, b2 as Le, bO as Ie, bD as Ge, bP as ze, bT as De, bU as Ke, bA as Re, bS as Fe, bR as Ae, bQ as We, bJ as Ee, c0 as Ve, c1 as Ue, W as Xe, a5 as Ye, b_ as je, bZ as qe, D as Ze, aN as Je, aO as Ne, aP as Qe, cK as _e, cM as $e, cR as ao, cP as so, cN as eo, cT as oo, cO as io, cL as ro, cQ as no, cS as to, z as co, cf as lo, ck as bo, ah as fo, r as uo, y as Mo, cy as go, k as po, s as mo, aL as ho, aM as xo, aQ as yo, aR as Bo, aS as Co, bz as To, d4 as vo, cp as So, ai as wo, _ as Ho, cv as Po, H as Oo, X as ko, J as Lo, U as Io, I as Go, cH as zo, cn as Do, dc as Ko, G as Ro, cl as Fo, bX as Ao, V as Wo, d5 as Eo, a3 as Vo, R as Uo, B as Xo } from "../modifiers-basic-BEmXc_DS.js";
1
+ import { bu as e, cw as o, c9 as i, cb as r, A as n, am as t, aa as d, a9 as c, a8 as l, c7 as b, al as f, ar as u, c2 as M, aG as g, aI as p, ap as m, as as h, cD as x, cs as y, t as B, F as C, bm as T, bk as v, aD as S, a6 as w, cq as H, bh as P, a0 as O, cU as k, O as L, bc as I, a_ as G, bq as z, aZ as D, bb as K, aT as R, b5 as F, b7 as A, b6 as W, bf as E, aX as V, aV as U, aW as X, aY as Y, a4 as j, C as q, cJ as Z, P as J, cc as N, S as Q, aK as _, d3 as $, cu as aa, db as sa, T as ea, bW as oa, a2 as ia, Z as ra, x as na, bo as ta, ce as da, g as ca, h as la, bv as ba, cx as fa, cB as ua, cz as Ma, cA as ga, cC as pa, ca as ma, q as ha, ac as xa, ao as ya, ae as Ba, ab as Ca, ad as Ta, cm as va, b as Sa, c8 as wa, cd as Ha, an as Pa, ag as Oa, at as ka, aw as La, aA as Ia, ay as Ga, ax as za, av as Da, au as Ka, az as Ra, aB as Fa, aH as Aa, aJ as Wa, l as Ea, aq as Va, aC as Ua, co as Xa, c3 as Ya, c4 as ja, c5 as qa, cG as Za, c6 as Ja, bY as Na, $ as Qa, cE as _a, cF as $a, ct as as, cI as ss, bx as es, bV as os, b$ as is, bp as rs, bw as ns, u as ts, e as ds, d as cs, m as ls, a as bs, c as fs, n as us, f as Ms, o as gs, bn as ps, bl as ms, E as hs, Y as xs, K as ys, L as Bs, aF as Cs, aE as Ts, v as vs, i as Ss, ak as ws, af as Hs, d6 as Ps, by as Os, a7 as ks, ch as Ls, cg as Is, cr as Gs, j as zs, bi as Ds, bj as Ks, w as Rs, Q as Fs, cj as As, ci as Ws, a1 as Es, N as Vs, cV as Us, cX as Xs, d0 as Ys, c_ as js, cY as qs, d2 as Zs, cZ as Js, cW as Ns, c$ as Qs, d1 as _s, d9 as $s, d7 as ae, da as se, d8 as ee, aj as oe, p as ie, be as re, bC as ne, bL as te, b4 as de, bI as ce, br as le, bt as be, bs as fe, bM as ue, bN as Me, b3 as ge, bH as pe, bd as me, bB as he, aU as xe, bK as ye, b8 as Be, bE as Ce, ba as Te, bF as ve, b9 as Se, bG as we, bg as He, b1 as Pe, a$ as Oe, b0 as ke, b2 as Le, bO as Ie, bD as Ge, bP as ze, bT as De, bU as Ke, bA as Re, bS as Fe, bR as Ae, bQ as We, bJ as Ee, c0 as Ve, c1 as Ue, W as Xe, a5 as Ye, b_ as je, bZ as qe, D as Ze, aN as Je, aO as Ne, aP as Qe, cK as _e, cM as $e, cR as ao, cP as so, cN as eo, cT as oo, cO as io, cL as ro, cQ as no, cS as to, z as co, cf as lo, ck as bo, ah as fo, r as uo, y as Mo, cy as go, k as po, s as mo, aL as ho, aM as xo, aQ as yo, aR as Bo, aS as Co, bz as To, d4 as vo, cp as So, ai as wo, _ as Ho, cv as Po, H as Oo, X as ko, J as Lo, U as Io, I as Go, cH as zo, cn as Do, dc as Ko, G as Ro, cl as Fo, bX as Ao, V as Wo, d5 as Eo, a3 as Vo, R as Uo, B as Xo } from "../modifiers-basic-CYNrEDIN.js";
2
2
  import { createModifierBuilder as jo } from "@tachui/core/modifiers";
3
3
  export {
4
4
  e as AllowsHitTestingModifier,
@@ -2,5 +2,6 @@
2
2
  * Preload entry for all effects modifiers (shadows, filters, transforms, backdrop).
3
3
  * Re-export keeps the module evaluated while surfacing its public API.
4
4
  */
5
+ import '../effects';
5
6
  export * from '../effects';
6
7
  //# sourceMappingURL=effects.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"effects.d.ts","sourceRoot":"","sources":["../../src/preload/effects.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"effects.d.ts","sourceRoot":"","sources":["../../src/preload/effects.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,YAAY,CAAA;AAEnB,cAAc,YAAY,CAAA"}
@@ -1,13 +1,13 @@
1
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";
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 P, filterDropShadow as X, grayscale as Y, highContrastMode as Z, highKey as F, hueRotate as K, hueRotation as M, invert as O, 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
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";
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, shadowPreset as Pe, shadows as Xe, swiftUIShadow as Ye, textEmbossed as Ze, textEngraved as Fe, textOutline as Ke, textShadow as Me, textShadowStrong as Oe, textShadowSubtle as Re } from "../effects/shadows/index.js";
5
+ import { backdropFilter as ze, customGlassmorphism as Ae, glassmorphism as Be } from "../effects/backdrop/index.js";
6
6
  export {
7
7
  r as active,
8
8
  q as advancedTransform,
9
9
  ge as animatedShadow,
10
- Re as backdropFilter,
10
+ ze as backdropFilter,
11
11
  J as backfaceVisibility,
12
12
  b as blackAndWhite,
13
13
  C as blur,
@@ -18,31 +18,31 @@ export {
18
18
  s as conditionalHover,
19
19
  E as contrast,
20
20
  H as coolTone,
21
- We as customGlassmorphism,
21
+ Ae as customGlassmorphism,
22
22
  T as darkModeInvert,
23
23
  i as disabledCursor,
24
24
  n as draggableCursor,
25
25
  xe as dropShadow,
26
26
  Se as elevationShadow,
27
27
  I as faded,
28
- X as filter,
29
- Y as filterDropShadow,
28
+ P as filter,
29
+ X as filterDropShadow,
30
30
  d as focus,
31
- ze as glassmorphism,
31
+ Be as glassmorphism,
32
32
  be as glowEffect,
33
- Z as grayscale,
33
+ Y as grayscale,
34
34
  l as helpCursor,
35
- F as highContrastMode,
36
- K as highKey,
35
+ Z as highContrastMode,
36
+ F as highKey,
37
37
  h as hover,
38
38
  c as hoverEffect,
39
39
  m as hoverWithTransition,
40
- M as hueRotate,
41
- O as hueRotation,
40
+ K as hueRotate,
41
+ M as hueRotation,
42
42
  u as imageHover,
43
43
  Ce as insetShadow,
44
44
  f as interactiveCursor,
45
- P as invert,
45
+ O as invert,
46
46
  ke as layeredShadow,
47
47
  v as linkHover,
48
48
  p as loadingCursor,
@@ -70,17 +70,19 @@ export {
70
70
  de as scaleZ,
71
71
  A as sepia,
72
72
  Ie as shadow,
73
+ Pe as shadowPreset,
74
+ Xe as shadows,
73
75
  le as skew,
74
76
  B as softFocus,
75
77
  D as subtleBlur,
76
- Xe as swiftUIShadow,
78
+ Ye as swiftUIShadow,
77
79
  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,
80
+ Ze as textEmbossed,
81
+ Fe as textEngraved,
82
+ Ke as textOutline,
83
+ Me as textShadow,
84
+ Oe as textShadowStrong,
85
+ Re as textShadowSubtle,
84
86
  he as transform,
85
87
  ce as transformStyle,
86
88
  me as translate,
@@ -1 +1 @@
1
- {"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../src/preload/filters.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,oBAAoB,CAAA"}
1
+ {"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../src/preload/filters.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAiEH,cAAc,oBAAoB,CAAA"}
@@ -1,31 +1,63 @@
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";
1
+ import { globalModifierRegistry as o } from "@tachui/registry";
2
+ import { blur as r, brightness as a, contrast as i, filter as s, saturate as n, grayscale as l, sepia as h, hueRotate as d, invert as c, filterDropShadow as f, vintagePhoto as u, blackAndWhite as g, vibrant as b, warmTone as p, coolTone as v, faded as y, highKey as m, lowKey as w, softFocus as M, highContrastMode as R, subtleBlur as k, darkModeInvert as F, colorInvert as I, saturation as K, hueRotation as T } from "../effects/filters/index.js";
3
+ import { FilterModifier as P, backdropFilter as S, opacity as W } from "../effects/filters/index.js";
4
+ const x = [
5
+ ["blur", r],
6
+ ["brightness", a],
7
+ ["contrast", i],
8
+ ["filter", s],
9
+ ["saturate", n],
10
+ ["grayscale", l],
11
+ ["sepia", h],
12
+ ["hueRotate", d],
13
+ ["invert", c],
14
+ ["filterDropShadow", f],
15
+ ["vintagePhoto", u],
16
+ ["blackAndWhite", g],
17
+ ["vibrant", b],
18
+ ["warmTone", p],
19
+ ["coolTone", v],
20
+ ["faded", y],
21
+ ["highKey", m],
22
+ ["lowKey", w],
23
+ ["softFocus", M],
24
+ ["highContrastMode", R],
25
+ ["subtleBlur", k],
26
+ ["darkModeInvert", F],
27
+ ["colorInvert", I],
28
+ ["saturation", K],
29
+ ["hueRotation", T]
30
+ ];
31
+ x.forEach(([t, e]) => {
32
+ o.has(t) || o.register(t, e);
33
+ });
2
34
  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,
35
+ P as FilterModifier,
36
+ S as backdropFilter,
37
+ g as blackAndWhite,
38
+ r as blur,
39
+ a as brightness,
40
+ I as colorInvert,
41
+ i as contrast,
42
+ v as coolTone,
43
+ F as darkModeInvert,
44
+ y as faded,
45
+ s as filter,
46
+ f as filterDropShadow,
47
+ l as grayscale,
48
+ R as highContrastMode,
49
+ m as highKey,
50
+ d as hueRotate,
51
+ T as hueRotation,
52
+ c as invert,
21
53
  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
54
+ W as opacity,
55
+ n as saturate,
56
+ K as saturation,
57
+ h as sepia,
58
+ M as softFocus,
59
+ k as subtleBlur,
60
+ b as vibrant,
61
+ u as vintagePhoto,
62
+ p as warmTone
31
63
  };
@@ -1 +1 @@
1
- {"version":3,"file":"shadows.d.ts","sourceRoot":"","sources":["../../src/preload/shadows.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,oBAAoB,CAAA"}
1
+ {"version":3,"file":"shadows.d.ts","sourceRoot":"","sources":["../../src/preload/shadows.ts"],"names":[],"mappings":"AAAA;;GAEG;AAuDH,cAAc,oBAAoB,CAAA"}
@@ -1,27 +1,54 @@
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";
1
+ import { globalModifierRegistry as o } from "@tachui/registry";
2
+ import { shadows as d, shadowPreset as a, shadow as h, textShadow as r, dropShadow as s, insetShadow as w, elevationShadow as i, glowEffect as S, neonEffect as n, neumorphism as f, neumorphismPressed as m, layeredShadow as x, textShadowSubtle as l, textShadowStrong as p, textOutline as g, textEmbossed as c, textEngraved as E, swiftUIShadow as u, reactiveShadow as v, animatedShadow as b } from "../effects/shadows/index.js";
3
+ import { DropShadowModifier as O, ShadowModifier as R, TextShadowModifier as U, shadowDirections as T } from "../effects/shadows/index.js";
4
+ const M = [
5
+ ["shadows", d],
6
+ ["shadowPreset", a],
7
+ ["shadow", h],
8
+ ["textShadow", r],
9
+ ["dropShadow", s],
10
+ ["insetShadow", w],
11
+ ["elevationShadow", i],
12
+ ["glowEffect", S],
13
+ ["neonEffect", n],
14
+ ["neumorphism", f],
15
+ ["neumorphismPressed", m],
16
+ ["layeredShadow", x],
17
+ ["textShadowSubtle", l],
18
+ ["textShadowStrong", p],
19
+ ["textOutline", g],
20
+ ["textEmbossed", c],
21
+ ["textEngraved", E],
22
+ ["swiftUIShadow", u],
23
+ ["reactiveShadow", v],
24
+ ["animatedShadow", b]
25
+ ];
26
+ M.forEach(([e, t]) => {
27
+ o.has(e) || o.register(e, t);
28
+ });
2
29
  export {
3
- d as DropShadowModifier,
4
- t as ShadowModifier,
5
- a as TextShadowModifier,
6
- h as animatedShadow,
7
- w as dropShadow,
30
+ O as DropShadowModifier,
31
+ R as ShadowModifier,
32
+ U as TextShadowModifier,
33
+ b as animatedShadow,
34
+ s as dropShadow,
8
35
  i as elevationShadow,
9
- r as glowEffect,
10
- s as insetShadow,
11
- S as layeredShadow,
36
+ S as glowEffect,
37
+ w as insetShadow,
38
+ x as layeredShadow,
12
39
  n as neonEffect,
13
40
  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
41
+ m as neumorphismPressed,
42
+ v as reactiveShadow,
43
+ h as shadow,
44
+ T as shadowDirections,
45
+ a as shadowPreset,
46
+ d as shadows,
47
+ u as swiftUIShadow,
48
+ c as textEmbossed,
49
+ E as textEngraved,
50
+ g as textOutline,
51
+ r as textShadow,
52
+ p as textShadowStrong,
53
+ l as textShadowSubtle
27
54
  };
@@ -1 +1 @@
1
- {"version":3,"file":"transforms.d.ts","sourceRoot":"","sources":["../../src/preload/transforms.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,uBAAuB,CAAA"}
1
+ {"version":3,"file":"transforms.d.ts","sourceRoot":"","sources":["../../src/preload/transforms.ts"],"names":[],"mappings":"AAAA;;GAEG;AA+DH,cAAc,uBAAuB,CAAA"}
@@ -1,30 +1,61 @@
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";
1
+ import { globalModifierRegistry as a } from "@tachui/registry";
2
+ import { transform as e, scale as s, rotate as o, translate as i, skew as l, rotateX as n, rotateY as c, rotateZ as f, perspective as d, advancedTransform as m, matrix as p, matrix3d as v, rotate3d as g, scale3d as x, translate3d as X, scaleX as Y, scaleY as Z, scaleZ as b, translateX as y, translateY as k, translateZ as T, perspectiveOrigin as M, transformStyle as h, backfaceVisibility as w } from "../effects/transforms/index.js";
3
+ import { AdvancedTransformModifier as E, TransformModifier as j, offset as q } from "../effects/transforms/index.js";
4
+ const O = [
5
+ ["transform", e],
6
+ ["scale", s],
7
+ ["rotate", o],
8
+ ["translate", i],
9
+ ["skew", l],
10
+ ["rotateX", n],
11
+ ["rotateY", c],
12
+ ["rotateZ", f],
13
+ ["perspective", d],
14
+ ["advancedTransform", m],
15
+ ["matrix", p],
16
+ ["matrix3d", v],
17
+ ["rotate3d", g],
18
+ ["scale3d", x],
19
+ ["translate3d", X],
20
+ ["scaleX", Y],
21
+ ["scaleY", Z],
22
+ ["scaleZ", b],
23
+ ["translateX", y],
24
+ ["translateY", k],
25
+ ["translateZ", T],
26
+ ["perspectiveOrigin", M],
27
+ ["transformStyle", h],
28
+ ["backfaceVisibility", w]
29
+ ];
30
+ O.forEach(([t, r]) => {
31
+ a.has(t) || a.register(t, r);
32
+ });
2
33
  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,
34
+ E as AdvancedTransformModifier,
35
+ j as TransformModifier,
36
+ m as advancedTransform,
37
+ w as backfaceVisibility,
38
+ p as matrix,
39
+ v as matrix3d,
40
+ q as offset,
41
+ d as perspective,
42
+ M as perspectiveOrigin,
43
+ o as rotate,
44
+ g as rotate3d,
45
+ n as rotateX,
46
+ c as rotateY,
47
+ f as rotateZ,
48
+ s as scale,
49
+ x as scale3d,
19
50
  Y as scaleX,
20
51
  Z as scaleY,
21
52
  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
53
+ l as skew,
54
+ e as transform,
55
+ h as transformStyle,
56
+ i as translate,
57
+ X as translate3d,
58
+ y as translateX,
59
+ k as translateY,
60
+ T as translateZ
30
61
  };
@@ -1,4 +1,4 @@
1
- import { a6 as e, a0 as o, a4 as r, T as t, a2 as i, $ as f, E as n, Y as p, K as l, L as d, a7 as h, Q as y, a1 as g, N as m, W as w, a5 as x, _ as c, H as M, X as W, J as v, U as S, I as C, G as H, V as T, a3 as k, R as B } from "../modifiers-basic-BEmXc_DS.js";
1
+ import { a6 as e, a0 as o, a4 as r, T as t, a2 as i, $ as f, E as n, Y as p, K as l, L as d, a7 as h, Q as y, a1 as g, N as m, W as w, a5 as x, _ as c, H as M, X as W, J as v, U as S, I as C, G as H, V as T, a3 as k, R as B } from "../modifiers-basic-CYNrEDIN.js";
2
2
  export {
3
3
  e as HyphensModifier,
4
4
  o as LineClampModifier,
@@ -1,4 +1,4 @@
1
- import { a6 as e, a0 as o, a4 as i, a2 as s, a7 as f, a1 as p, a5 as d, a3 as l } from "../modifiers-basic-BEmXc_DS.js";
1
+ import { a6 as e, a0 as o, a4 as i, a2 as s, a7 as f, a1 as p, a5 as d, a3 as l } from "../modifiers-basic-CYNrEDIN.js";
2
2
  export {
3
3
  e as HyphensModifier,
4
4
  o as LineClampModifier,
@@ -1,4 +1,4 @@
1
- import { c9 as i, cb as c, c7 as o, c2 as r, bW as e, ca as t, c8 as b, c3 as l, c4 as f, c5 as d, c6 as M, bY as n, b$ as u, c0 as y, c1 as S, b_ as p, bZ as H, bX as L } from "../modifiers-basic-BEmXc_DS.js";
1
+ import { c9 as i, cb as c, c7 as o, c2 as r, bW as e, ca as t, c8 as b, c3 as l, c4 as f, c5 as d, c6 as M, bY as n, b$ as u, c0 as y, c1 as S, b_ as p, bZ as H, bX as L } from "../modifiers-basic-CYNrEDIN.js";
2
2
  export {
3
3
  i as AsHTMLModifier,
4
4
  c as AsHTMLValidator,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tachui/modifiers",
3
- "version": "0.8.24",
3
+ "version": "0.8.26",
4
4
  "description": "Essential styling modifiers for tachUI framework",
5
5
  "homepage": "https://tachui.dev/",
6
6
  "type": "module",
@@ -109,9 +109,9 @@
109
109
  "dist"
110
110
  ],
111
111
  "dependencies": {
112
- "@tachui/types": "0.8.24",
113
- "@tachui/core": "0.8.24",
114
- "@tachui/registry": "0.8.24"
112
+ "@tachui/types": "0.8.25",
113
+ "@tachui/core": "0.8.25",
114
+ "@tachui/registry": "0.8.25"
115
115
  },
116
116
  "devDependencies": {
117
117
  "@types/node": "^20.0.0",
@@ -149,6 +149,11 @@
149
149
  "node": ">=20.0.0"
150
150
  },
151
151
  "sideEffects": [
152
+ "./src/basic/index.ts",
153
+ "./src/effects/index.ts",
154
+ "./src/preload/*.ts",
155
+ "./dist/basic/index.js",
156
+ "./dist/effects/index.js",
152
157
  "./dist/preload/*.js"
153
158
  ],
154
159
  "publishConfig": {