@tachui/modifiers 0.8.30 → 0.8.32
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.
- package/dist/appearance/index.js +27 -27
- package/dist/base.js +1 -1
- package/dist/basic/index.js +39 -39
- package/dist/basic/margin.js +3 -3
- package/dist/basic/padding.js +1 -1
- package/dist/basic/size.js +7 -7
- package/dist/effects/backdrop/index.js +1 -1
- package/dist/effects/index.d.ts +11 -0
- package/dist/effects/index.d.ts.map +1 -1
- package/dist/effects/index.js +25 -21
- package/dist/index.js +31 -31
- package/dist/interaction/index.js +43 -43
- package/dist/layout/index.js +20 -20
- package/dist/{modifiers-basic-BpDjg0Rp.js → modifiers-basic-7HZ7ereG.js} +264 -264
- package/dist/preload/basic.d.ts +11 -2
- package/dist/preload/basic.d.ts.map +1 -1
- package/dist/preload/basic.js +254 -252
- package/dist/preload/effects.d.ts +5 -2
- package/dist/preload/effects.d.ts.map +1 -1
- package/dist/preload/effects.js +98 -95
- package/dist/typography/index.js +18 -18
- package/dist/typography/text.js +4 -4
- package/dist/utility/index.js +12 -12
- package/package.json +4 -4
package/dist/appearance/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as o, e,
|
|
1
|
+
import { B as o, g as e, h as d, i, k as s, l as n, m as t, n as b, o as g, p as u, u as l, aq as p, ar as c, as as f, at as M, au as k, az as B, aA as C, aB as T, aC as G, aD as m, aE as x, aF as h, aG as I, aH as L, aI as R, aJ as z, aK as F, aL as H, aN as S, aO as V, bj as j, bk as q, bn as w, bo as A, bV as D, cT as E, d5 as J } from "../modifiers-basic-7HZ7ereG.js";
|
|
2
2
|
export {
|
|
3
3
|
o as BackgroundBlendModeModifier,
|
|
4
4
|
e as BackgroundClipModifier,
|
|
@@ -6,36 +6,36 @@ export {
|
|
|
6
6
|
i as BackgroundModifier,
|
|
7
7
|
s as BlendModeModifier,
|
|
8
8
|
n as BorderModifier,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
t as ClipShapeModifier,
|
|
10
|
+
b as ClippedModifier,
|
|
11
|
+
g as CompositingGroupModifier,
|
|
12
|
+
u as CornerRadiusModifier,
|
|
13
|
+
l as ForegroundModifier,
|
|
14
|
+
p as background,
|
|
15
|
+
c as backgroundBlendMode,
|
|
16
|
+
f as backgroundClip,
|
|
17
17
|
M as backgroundColor,
|
|
18
18
|
k as backgroundImage,
|
|
19
19
|
B as blendMode,
|
|
20
20
|
C as blueGradientText,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
T as border,
|
|
22
|
+
G as borderBottom,
|
|
23
|
+
m as borderHorizontal,
|
|
24
|
+
x as borderLeading,
|
|
25
25
|
h as borderLeft,
|
|
26
26
|
I as borderRight,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
27
|
+
L as borderTop,
|
|
28
|
+
R as borderTrailing,
|
|
29
|
+
z as borderVertical,
|
|
30
|
+
F as clipShape,
|
|
31
|
+
H as clipped,
|
|
32
|
+
S as compositingGroup,
|
|
33
|
+
V as cornerRadius,
|
|
34
|
+
j as foreground,
|
|
35
|
+
q as foregroundColor,
|
|
36
|
+
w as goldGradientText,
|
|
37
|
+
A as gradientText,
|
|
38
|
+
D as oceanGradientText,
|
|
39
|
+
E as rainbowGradientText,
|
|
40
|
+
J as sunsetGradientText
|
|
41
41
|
};
|
package/dist/base.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@tachui/core/reactive";
|
|
2
2
|
import "@tachui/core/modifiers/base";
|
|
3
|
-
import { ds as d, dt as t, du as f, dv as s, dw as p, dx as M } from "./modifiers-basic-
|
|
3
|
+
import { ds as d, dt as t, du as f, dv as s, dw as p, dx as M } from "./modifiers-basic-7HZ7ereG.js";
|
|
4
4
|
import "@tachui/core/constants/layout";
|
|
5
5
|
export {
|
|
6
6
|
d as AnimationModifier,
|
package/dist/basic/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "@tachui/registry";
|
|
2
|
-
import { A as o,
|
|
3
|
-
import { createModifierBuilder as
|
|
2
|
+
import { A as o, c as i, d as r, e as n, f as d, B as t, g as c, h as l, i as b, j as f, k as u, l as M, C as g, m as p, n as m, o as h, p as x, q as y, D as B, F as C, r as T, s as v, t as S, u as w, H, I as P, K as k, x as O, y as L, O as I, z as G, E as z, G as D, J as K, N as R, P as F, Q as A, R as W, S as E, T as V, U, V as j, W as q, X, Y, Z, _ as J, $ as N, a0 as Q, a1 as _, a2 as $, a3 as aa, a6 as sa, a7 as ea, a8 as oa, a9 as ia, aa as ra, ab as na, ac as da, ad as ta, ae as ca, af as la, ag as ba, ah as fa, aj as ua, ak as Ma, al as ga, am as pa, an as ma, ao as ha, ap as xa, aq as ya, ar as Ba, as as Ca, at as Ta, au as va, av as Sa, aw as wa, ax as Ha, ay as Pa, az as ka, aA as Oa, aB as La, aC as Ia, aD as Ga, aE as za, aF as Da, aG as Ka, aH as Ra, aI as Fa, aJ as Aa, aK as Wa, aL as Ea, aM as Va, aN as Ua, aO as ja, aP as qa, aQ as Xa, aR as Ya, aS as Za, aT as Ja, aU as Na, aV as Qa, aW as _a, aX as $a, aY as as, aZ as ss, a_ as es, a$ as os, b0 as is, b1 as rs, b2 as ns, b3 as ds, b4 as ts, b5 as cs, b6 as ls, b7 as bs, b8 as fs, b9 as us, ba as Ms, bb as gs, bc as ps, bd as ms, be as hs, bf as xs, bg as ys, bh as Bs, bi as Cs, bj as Ts, bk as vs, bl as Ss, bm as ws, bn as Hs, bo as Ps, bp as ks, bq as Os, br as Ls, bs as Is, bt as Gs, bu as zs, bv as Ds, bw as Ks, bx as Rs, by as Fs, bz as As, bA as Ws, bB as Es, bC as Vs, bD as Us, bE as js, bF as qs, bG as Xs, bH as Ys, bI as Zs, bJ as Js, bK as Ns, bL as Qs, bM as _s, bN as $s, bO as ae, bP as se, bQ as ee, bR as oe, bV as ie, bW as re, bX as ne, bY as de, bZ as te, b_ as ce, b$ as le, c0 as be, c1 as fe, c2 as ue, c3 as Me, c4 as ge, c5 as pe, c6 as me, c7 as he, c8 as xe, c9 as ye, ca as Be, cb as Ce, cc as Te, cd as ve, ce as Se, cf as we, cg as He, ch as Pe, ci as ke, cj as Oe, ck as Le, cl as Ie, cm as Ge, cn as ze, co as De, cp as Ke, cq as Re, cr as Fe, cs as Ae, ct as We, cu as Ee, cv as Ve, cw as Ue, cx as je, cy as qe, cz as Xe, cA as Ye, cB as Ze, cC as Je, cD as Ne, cE as Qe, cF as _e, cG as $e, cH as ao, cI as so, cJ as eo, cK as oo, cL as io, cM as ro, cN as no, cO as to, cP as co, cQ as lo, cR as bo, cS as fo, cT as uo, cU as Mo, cV as go, cW as po, cX as mo, cY as ho, cZ as xo, c_ as yo, c$ as Bo, d0 as Co, d1 as To, d2 as vo, d3 as So, d4 as wo, d5 as Ho, d6 as Po, d7 as ko, d9 as Oo, da as Lo, db as Io, dc as Go, dd as zo, de as Do, df as Ko, dh as Ro, dj as Fo, dk as Ao, dl as Wo, dm as Eo, dn as Vo, dp as Uo, dq as jo, dr as qo } from "../modifiers-basic-7HZ7ereG.js";
|
|
3
|
+
import { createModifierBuilder as Yo } from "@tachui/core/modifiers";
|
|
4
4
|
export {
|
|
5
5
|
o as AllowsHitTestingModifier,
|
|
6
6
|
i as AriaModifier,
|
|
7
7
|
r as AsHTMLModifier,
|
|
8
8
|
n as AsHTMLValidator,
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
d as AspectRatioModifier,
|
|
10
|
+
t as BackgroundBlendModeModifier,
|
|
11
11
|
c as BackgroundClipModifier,
|
|
12
12
|
l as BackgroundImageModifier,
|
|
13
13
|
b as BackgroundModifier,
|
|
@@ -28,8 +28,8 @@ export {
|
|
|
28
28
|
w as ForegroundModifier,
|
|
29
29
|
H as HyphensModifier,
|
|
30
30
|
P as IdModifier,
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
k as KeyboardShortcutModifier,
|
|
32
|
+
O as LineClampModifier,
|
|
33
33
|
L as MarginModifier,
|
|
34
34
|
I as OffsetModifier,
|
|
35
35
|
G as OnBlurModifier,
|
|
@@ -43,10 +43,10 @@ export {
|
|
|
43
43
|
E as OnKeyUpModifier,
|
|
44
44
|
V as OnLongPressGestureModifier,
|
|
45
45
|
U as OnMouseDownModifier,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
j as OnMouseEnterModifier,
|
|
47
|
+
q as OnMouseLeaveModifier,
|
|
48
|
+
X as OnMouseUpModifier,
|
|
49
|
+
Y as OverflowWrapModifier,
|
|
50
50
|
Z as OverlayModifier,
|
|
51
51
|
J as PaddingModifier,
|
|
52
52
|
N as PositionModifier,
|
|
@@ -60,8 +60,8 @@ export {
|
|
|
60
60
|
ia as UtilityModifier,
|
|
61
61
|
ra as WordBreakModifier,
|
|
62
62
|
na as ZIndexModifier,
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
da as absolutePosition,
|
|
64
|
+
ta as activatable,
|
|
65
65
|
ca as after,
|
|
66
66
|
la as alignItems,
|
|
67
67
|
ba as alignSelf,
|
|
@@ -82,8 +82,8 @@ export {
|
|
|
82
82
|
wa as basicModifierRegistrations,
|
|
83
83
|
Ha as basicSanitize,
|
|
84
84
|
Pa as before,
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
ka as blendMode,
|
|
86
|
+
Oa as blueGradientText,
|
|
87
87
|
La as border,
|
|
88
88
|
Ia as borderBottom,
|
|
89
89
|
Ga as borderHorizontal,
|
|
@@ -97,11 +97,11 @@ export {
|
|
|
97
97
|
Ea as clipped,
|
|
98
98
|
Va as columnGap,
|
|
99
99
|
Ua as compositingGroup,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
100
|
+
ja as cornerRadius,
|
|
101
|
+
qa as cornerRibbon,
|
|
102
|
+
Yo as createModifierBuilder,
|
|
103
|
+
Xa as css,
|
|
104
|
+
Ya as cssProperty,
|
|
105
105
|
Za as cssVariable,
|
|
106
106
|
Ja as cssVariables,
|
|
107
107
|
Na as cssVendor,
|
|
@@ -115,8 +115,8 @@ export {
|
|
|
115
115
|
is as disabled,
|
|
116
116
|
rs as display,
|
|
117
117
|
ns as editable,
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
ds as enableHitTesting,
|
|
119
|
+
ts as fixedSize,
|
|
120
120
|
cs as flex,
|
|
121
121
|
ls as flexBasis,
|
|
122
122
|
bs as flexDirection,
|
|
@@ -137,8 +137,8 @@ export {
|
|
|
137
137
|
ws as gap,
|
|
138
138
|
Hs as goldGradientText,
|
|
139
139
|
Ps as gradientText,
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
ks as height,
|
|
141
|
+
Os as highPriorityGesture,
|
|
142
142
|
Ls as hyphens,
|
|
143
143
|
Is as iconAfter,
|
|
144
144
|
Gs as iconBefore,
|
|
@@ -152,10 +152,10 @@ export {
|
|
|
152
152
|
Es as lineBefore,
|
|
153
153
|
Vs as lineClamp,
|
|
154
154
|
Us as lineHeight,
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
155
|
+
js as margin,
|
|
156
|
+
qs as marginBottom,
|
|
157
|
+
Xs as marginHorizontal,
|
|
158
|
+
Ys as marginLeading,
|
|
159
159
|
Zs as marginLeft,
|
|
160
160
|
Js as marginPresets,
|
|
161
161
|
Ns as marginRight,
|
|
@@ -169,8 +169,8 @@ export {
|
|
|
169
169
|
ie as oceanGradientText,
|
|
170
170
|
re as offset,
|
|
171
171
|
ne as onBlur,
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
de as onBlurInteraction,
|
|
173
|
+
te as onChange,
|
|
174
174
|
ce as onContextMenu,
|
|
175
175
|
le as onContextMenuInteraction,
|
|
176
176
|
be as onContinuousHover,
|
|
@@ -191,8 +191,8 @@ export {
|
|
|
191
191
|
we as onKeyUp,
|
|
192
192
|
He as onKeyUpInteraction,
|
|
193
193
|
Pe as onLongPressGesture,
|
|
194
|
-
|
|
195
|
-
|
|
194
|
+
ke as onMouseDown,
|
|
195
|
+
Oe as onMouseEnter,
|
|
196
196
|
Le as onMouseLeave,
|
|
197
197
|
Ie as onMouseUp,
|
|
198
198
|
Ge as onPaste,
|
|
@@ -206,10 +206,10 @@ export {
|
|
|
206
206
|
Ee as onTouchStart,
|
|
207
207
|
Ve as onWheel,
|
|
208
208
|
Ue as outline,
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
209
|
+
je as outlineOffset,
|
|
210
|
+
qe as overflow,
|
|
211
|
+
Xe as overflowWrap,
|
|
212
|
+
Ye as overflowX,
|
|
213
213
|
Ze as overflowY,
|
|
214
214
|
Je as overlay,
|
|
215
215
|
Ne as overscrollBehavior,
|
|
@@ -244,8 +244,8 @@ export {
|
|
|
244
244
|
wo as spinner,
|
|
245
245
|
Ho as sunsetGradientText,
|
|
246
246
|
Po as system,
|
|
247
|
-
|
|
248
|
-
|
|
247
|
+
ko as tabIndex,
|
|
248
|
+
Oo as textAlign,
|
|
249
249
|
Lo as textCase,
|
|
250
250
|
Io as textDecoration,
|
|
251
251
|
Go as textOverflow,
|
|
@@ -259,6 +259,6 @@ export {
|
|
|
259
259
|
Eo as whiteSpace,
|
|
260
260
|
Vo as width,
|
|
261
261
|
Uo as wordBreak,
|
|
262
|
-
|
|
263
|
-
|
|
262
|
+
jo as wordSpacing,
|
|
263
|
+
qo as zIndex
|
|
264
264
|
};
|
package/dist/basic/margin.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { y as g, bE as n, bF as m, bG as s, bH as b, bI as o, bJ as t, bK as e, bL as f, bM as l, bN as p } from "../modifiers-basic-7HZ7ereG.js";
|
|
2
2
|
import "@tachui/core/reactive";
|
|
3
3
|
export {
|
|
4
4
|
g as MarginModifier,
|
|
@@ -6,8 +6,8 @@ export {
|
|
|
6
6
|
m as marginBottom,
|
|
7
7
|
s as marginHorizontal,
|
|
8
8
|
b as marginLeading,
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
o as marginLeft,
|
|
10
|
+
t as marginPresets,
|
|
11
11
|
e as marginRight,
|
|
12
12
|
f as marginTop,
|
|
13
13
|
l as marginTrailing,
|
package/dist/basic/padding.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as g, cG as n, cH as p, cI as s, cJ as c, cK as o, cL as t, cM as r, cN as e, cO as f, cP as l } from "../modifiers-basic-7HZ7ereG.js";
|
|
2
2
|
import "@tachui/core/reactive";
|
|
3
3
|
export {
|
|
4
4
|
g as PaddingModifier,
|
package/dist/basic/size.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "@tachui/core/constants/layout";
|
|
2
|
-
import {
|
|
2
|
+
import { a3 as t, bp as e, bO as h, bP as d, bQ as m, bR as b, d3 as o, dn as r } from "../modifiers-basic-7HZ7ereG.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
t as SizeModifier,
|
|
5
|
+
e as height,
|
|
6
|
+
h as maxHeight,
|
|
7
|
+
d as maxWidth,
|
|
8
|
+
m as minHeight,
|
|
9
|
+
b as minWidth,
|
|
10
10
|
o as size,
|
|
11
11
|
r as width
|
|
12
12
|
};
|
|
@@ -2,7 +2,7 @@ var u = Object.defineProperty;
|
|
|
2
2
|
var c = (o, t, e) => t in o ? u(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e;
|
|
3
3
|
var i = (o, t, e) => c(o, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
import { BaseModifier as d } from "@tachui/core/modifiers/base";
|
|
5
|
-
import { M as f } from "../../modifiers-basic-
|
|
5
|
+
import { M as f } from "../../modifiers-basic-7HZ7ereG.js";
|
|
6
6
|
class s extends d {
|
|
7
7
|
constructor(e) {
|
|
8
8
|
let r = "blur(10px)";
|
package/dist/effects/index.d.ts
CHANGED
|
@@ -6,6 +6,17 @@
|
|
|
6
6
|
*
|
|
7
7
|
* Segmented preload: Synchronously imports and registers all effects.
|
|
8
8
|
*/
|
|
9
|
+
/**
|
|
10
|
+
* Register every effect modifier on the global registry.
|
|
11
|
+
*
|
|
12
|
+
* Exported so `preload/effects` can call it explicitly. The module-scope call
|
|
13
|
+
* below covers barrel imports, but it cannot be relied on by the preload
|
|
14
|
+
* entry: the build forces this module into the hashed `modifiers-effects`
|
|
15
|
+
* chunk, which matches none of the package's `sideEffects` globs, so a
|
|
16
|
+
* bundler is free to drop it (#260). Idempotent — registration is guarded on
|
|
17
|
+
* `has()`.
|
|
18
|
+
*/
|
|
19
|
+
export declare function registerEffectModifiers(): void;
|
|
9
20
|
export { blur, brightness, contrast, filter, saturate, grayscale, sepia, hueRotate, invert, filterDropShadow, vintagePhoto, blackAndWhite, vibrant, warmTone, coolTone, faded, highKey, lowKey, softFocus, highContrastMode, subtleBlur, darkModeInvert, colorInvert, saturation, hueRotation, } from './filters';
|
|
10
21
|
export { transform, rotate, scale, translate, skew, rotateX, rotateY, rotateZ, perspective, advancedTransform, matrix, matrix3d, rotate3d, scale3d, translate3d, scaleX, scaleY, scaleZ, translateX, translateY, translateZ, perspectiveOrigin, transformStyle, backfaceVisibility, } from './transforms';
|
|
11
22
|
export { shadows, shadowPreset, shadow, textShadow, dropShadow, insetShadow, elevationShadow, glowEffect, neonEffect, neumorphism, neumorphismPressed, layeredShadow, textShadowSubtle, textShadowStrong, textOutline, textEmbossed, textEngraved, swiftUIShadow, reactiveShadow, animatedShadow, } from './shadows';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/effects/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/effects/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AA8MH;;;;;;;;;GASG;AACH,wBAAgB,uBAAuB,IAAI,IAAI,CAM9C;AAOD,OAAO,EACL,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,SAAS,EACT,KAAK,EACL,SAAS,EACT,MAAM,EACN,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,OAAO,EACP,MAAM,EACN,SAAS,EACT,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,WAAW,EACX,UAAU,EACV,WAAW,GACZ,MAAM,WAAW,CAAA;AAClB,OAAO,EACL,SAAS,EACT,MAAM,EACN,KAAK,EACL,SAAS,EACT,IAAI,EACJ,OAAO,EACP,OAAO,EACP,OAAO,EACP,WAAW,EACX,iBAAiB,EACjB,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,WAAW,EACX,MAAM,EACN,MAAM,EACN,MAAM,EACN,UAAU,EACV,UAAU,EACV,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,kBAAkB,GACnB,MAAM,cAAc,CAAA;AACrB,OAAO,EACL,OAAO,EACP,YAAY,EACZ,MAAM,EACN,UAAU,EACV,UAAU,EACV,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,cAAc,EACd,cAAc,GACf,MAAM,WAAW,CAAA;AAClB,OAAO,EACL,KAAK,EACL,MAAM,EACN,KAAK,EACL,OAAO,EACP,WAAW,EACX,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,UAAU,EACV,cAAc,EACd,aAAa,EACb,UAAU,EACV,UAAU,EACV,WAAW,EACX,SAAS,EACT,SAAS,EACT,UAAU,GACX,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA"}
|
package/dist/effects/index.js
CHANGED
|
@@ -2,9 +2,9 @@ var C = Object.defineProperty;
|
|
|
2
2
|
var x = (t, o, e) => o in t ? C(t, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[o] = e;
|
|
3
3
|
var l = (t, o, e) => x(t, typeof o != "symbol" ? o + "" : o, e);
|
|
4
4
|
import { globalModifierRegistry as S } from "@tachui/registry";
|
|
5
|
-
import { blur as E, brightness as k, contrast as $, filter as O, saturate as H, grayscale as P, sepia as T, hueRotate as I, invert as j, filterDropShadow as R, vintagePhoto as
|
|
5
|
+
import { blur as E, brightness as k, contrast as $, filter as O, saturate as H, grayscale as P, sepia as T, hueRotate as I, invert as j, filterDropShadow as R, vintagePhoto as M, blackAndWhite as Y, vibrant as z, warmTone as F, coolTone as V, faded as X, highKey as Z, lowKey as U, softFocus as W, highContrastMode as B, subtleBlur as D, darkModeInvert as K, colorInvert as N, saturation as A, hueRotation as G } from "./filters/index.js";
|
|
6
6
|
import { transform as L, scale as _, rotate as q, translate as J, skew as Q, rotateX as ee, rotateY as te, rotateZ as re, perspective as oe, advancedTransform as se, matrix as ne, matrix3d as ae, rotate3d as ie, scale3d as le, translate3d as ce, scaleX as ue, scaleY as de, scaleZ as he, translateX as fe, translateY as pe, translateZ as me, perspectiveOrigin as ve, transformStyle as ye, backfaceVisibility as Se } from "./transforms/index.js";
|
|
7
|
-
import { shadows as ge, shadowPreset as we, shadow as be, textShadow as Ce, dropShadow as xe, insetShadow as Ee, elevationShadow as ke, glowEffect as $e, neonEffect as Oe, neumorphism as He, neumorphismPressed as Pe, layeredShadow as Te, textShadowSubtle as Ie, textShadowStrong as je, textOutline as Re, textEmbossed as
|
|
7
|
+
import { shadows as ge, shadowPreset as we, shadow as be, textShadow as Ce, dropShadow as xe, insetShadow as Ee, elevationShadow as ke, glowEffect as $e, neonEffect as Oe, neumorphism as He, neumorphismPressed as Pe, layeredShadow as Te, textShadowSubtle as Ie, textShadowStrong as je, textOutline as Re, textEmbossed as Me, textEngraved as Ye, swiftUIShadow as ze, reactiveShadow as Fe, animatedShadow as Ve } from "./shadows/index.js";
|
|
8
8
|
import { BaseModifier as g } from "@tachui/core/modifiers/base";
|
|
9
9
|
import { backdropFilter as Xe, glassmorphism as Ze, customGlassmorphism as Ue } from "./backdrop/index.js";
|
|
10
10
|
class We extends g {
|
|
@@ -208,10 +208,10 @@ const w = [
|
|
|
208
208
|
["hueRotate", I],
|
|
209
209
|
["invert", j],
|
|
210
210
|
["filterDropShadow", R],
|
|
211
|
-
["vintagePhoto",
|
|
212
|
-
["blackAndWhite",
|
|
213
|
-
["vibrant",
|
|
214
|
-
["warmTone",
|
|
211
|
+
["vintagePhoto", M],
|
|
212
|
+
["blackAndWhite", Y],
|
|
213
|
+
["vibrant", z],
|
|
214
|
+
["warmTone", F],
|
|
215
215
|
["coolTone", V],
|
|
216
216
|
["faded", X],
|
|
217
217
|
["highKey", Z],
|
|
@@ -264,10 +264,10 @@ const w = [
|
|
|
264
264
|
["textShadowSubtle", Ie],
|
|
265
265
|
["textShadowStrong", je],
|
|
266
266
|
["textOutline", Re],
|
|
267
|
-
["textEmbossed",
|
|
268
|
-
["textEngraved",
|
|
269
|
-
["swiftUIShadow",
|
|
270
|
-
["reactiveShadow",
|
|
267
|
+
["textEmbossed", Me],
|
|
268
|
+
["textEngraved", Ye],
|
|
269
|
+
["swiftUIShadow", ze],
|
|
270
|
+
["reactiveShadow", Fe],
|
|
271
271
|
["animatedShadow", Ve],
|
|
272
272
|
// Interactive effects
|
|
273
273
|
["hover", Be],
|
|
@@ -293,9 +293,12 @@ const w = [
|
|
|
293
293
|
["glassmorphism", Ze],
|
|
294
294
|
["customGlassmorphism", Ue]
|
|
295
295
|
];
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
296
|
+
function at() {
|
|
297
|
+
w.forEach(([t, o]) => {
|
|
298
|
+
S.has(t) || S.register(t, o);
|
|
299
|
+
});
|
|
300
|
+
}
|
|
301
|
+
at();
|
|
299
302
|
process.env.NODE_ENV === "development" && console.log(`@tachui/modifiers/effects: Preloaded and registered ${w.length} effects modifiers.`);
|
|
300
303
|
export {
|
|
301
304
|
ot as active,
|
|
@@ -303,7 +306,7 @@ export {
|
|
|
303
306
|
Ve as animatedShadow,
|
|
304
307
|
Xe as backdropFilter,
|
|
305
308
|
Se as backfaceVisibility,
|
|
306
|
-
|
|
309
|
+
Y as blackAndWhite,
|
|
307
310
|
E as blur,
|
|
308
311
|
k as brightness,
|
|
309
312
|
Qe as buttonHover,
|
|
@@ -349,7 +352,8 @@ export {
|
|
|
349
352
|
oe as perspective,
|
|
350
353
|
ve as perspectiveOrigin,
|
|
351
354
|
nt as pressed,
|
|
352
|
-
|
|
355
|
+
Fe as reactiveShadow,
|
|
356
|
+
at as registerEffectModifiers,
|
|
353
357
|
q as rotate,
|
|
354
358
|
ie as rotate3d,
|
|
355
359
|
ee as rotateX,
|
|
@@ -369,10 +373,10 @@ export {
|
|
|
369
373
|
Q as skew,
|
|
370
374
|
W as softFocus,
|
|
371
375
|
D as subtleBlur,
|
|
372
|
-
|
|
376
|
+
ze as swiftUIShadow,
|
|
373
377
|
Ge as textCursor,
|
|
374
|
-
|
|
375
|
-
|
|
378
|
+
Me as textEmbossed,
|
|
379
|
+
Ye as textEngraved,
|
|
376
380
|
Re as textOutline,
|
|
377
381
|
Ce as textShadow,
|
|
378
382
|
je as textShadowStrong,
|
|
@@ -384,8 +388,8 @@ export {
|
|
|
384
388
|
fe as translateX,
|
|
385
389
|
pe as translateY,
|
|
386
390
|
me as translateZ,
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
391
|
+
z as vibrant,
|
|
392
|
+
M as vintagePhoto,
|
|
393
|
+
F as warmTone,
|
|
390
394
|
Je as zoomCursor
|
|
391
395
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { globalModifierRegistry as s } from "@tachui/registry";
|
|
2
|
-
import { A as r,
|
|
2
|
+
import { A as r, a as n, b as d, c as t, d as c, e as l, f, B as b, g as M, h as g, i as u, j as p, k as m, l as h, C as y, m as x, n as C, o as B, p as v, q as T, D as S, F as H, r as P, s as w, t as I, u as O, H as k, I as L, v as G, K as A, L as D, w as R, x as z, y as E, M as K, O as F, z as U, E as V, G as W, J as _, N, P as j, Q as q, R as X, S as Y, T as Z, U as $, V as J, W as Q, X as aa, Y as sa, Z as ea, _ as ia, $ as oa, a0 as ra, a1 as na, a2 as da, a3 as ta, a4 as ca, a5 as la, a6 as fa, a7 as ba, a8 as Ma, a9 as ga, aa as ua, ab as pa, ac as ma, ad as ha, ae as ya, af as xa, ag as Ca, ah as Ba, ai as va, aj as Ta, ak as Sa, al as Ha, am as Pa, an as wa, ao as Ia, ap as Oa, aq as ka, ar as La, as as Ga, at as Aa, au as Da, av as Ra, aw as za, ax as Ea, ay as Ka, az as Fa, aA as Ua, aB as Va, aC as Wa, aD as _a, aE as Na, aF as ja, aG as qa, aH as Xa, aI as Ya, aJ as Za, aK as $a, aL as Ja, aM as Qa, aN as as, aO as ss, aP as es, aQ as is, aR as os, aS as rs, aT as ns, aU as ds, aV as ts, aW as cs, aX as ls, aY as fs, aZ as bs, a_ as Ms, a$ as gs, b0 as us, b1 as ps, b2 as ms, b3 as hs, b4 as ys, b5 as xs, b6 as Cs, b7 as Bs, b8 as vs, b9 as Ts, ba as Ss, bb as Hs, bc as Ps, bd as ws, be as Is, bf as Os, bg as ks, bh as Ls, bi as Gs, bj as As, bk as Ds, bl as Rs, bm as zs, bn as Es, bo as Ks, bp as Fs, bq as Us, br as Vs, bs as Ws, bt as _s, bu as Ns, bv as js, bw as qs, bx as Xs, by as Ys, bz as Zs, bA as $s, bB as Js, bC as Qs, bD as ae, bE as se, bF as ee, bG as ie, bH as oe, bI as re, bJ as ne, bK as de, bL as te, bM as ce, bN as le, bO as fe, bP as be, bQ as Me, bR as ge, bS as ue, bT as pe, bU as me, bV as he, bW as ye, bX as xe, bY as Ce, bZ as Be, b_ as ve, b$ as Te, c0 as Se, c1 as He, c2 as Pe, c3 as we, c4 as Ie, c5 as Oe, c6 as ke, c7 as Le, c8 as Ge, c9 as Ae, ca as De, cb as Re, cc as ze, cd as Ee, ce as Ke, cf as Fe, cg as Ue, ch as Ve, ci as We, cj as _e, ck as Ne, cl as je, cm as qe, cn as Xe, co as Ye, cp as Ze, cq as $e, cr as Je, cs as Qe, ct as ai, cu as si, cv as ei, cw as ii, cx as oi, cy as ri, cz as ni, cA as di, cB as ti, cC as ci, cD as li, cE as fi, cF as bi, cG as Mi, cH as gi, cI as ui, cJ as pi, cK as mi, cL as hi, cM as yi, cN as xi, cO as Ci, cP as Bi, cQ as vi, cR as Ti, cS as Si, cT as Hi, cU as Pi, cU as wi, cV as Ii, cW as Oi, cX as ki, cY as Li, cZ as Gi, c_ as Ai, c$ as Di, d0 as Ri, d1 as zi, d2 as Ei, d3 as Ki, d4 as Fi, d5 as Ui, d6 as Vi, d7 as Wi, d8 as _i, d9 as Ni, da as ji, db as qi, dc as Xi, dd as Yi, de as Zi, df as $i, dg as Ji, dh as Qi, di as ao, dj as so, dk as eo, dl as io, dm as oo, dn as ro, dp as no, dq as to, dr as co } from "./modifiers-basic-7HZ7ereG.js";
|
|
3
3
|
import { BaseModifier as fo, createModifiableComponent as bo, createModifierBuilder as Mo, registerModifierWithMetadata as go } from "@tachui/core/modifiers";
|
|
4
4
|
if (process.env.NODE_ENV === "development") {
|
|
5
5
|
const a = s.list();
|
|
@@ -45,18 +45,18 @@ export {
|
|
|
45
45
|
E as MarginModifier,
|
|
46
46
|
K as ModifierPriority,
|
|
47
47
|
F as OffsetModifier,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
U as OnBlurModifier,
|
|
49
|
+
V as OnContextMenuModifier,
|
|
50
|
+
W as OnContinuousHoverModifier,
|
|
51
51
|
_ as OnDoubleClickModifier,
|
|
52
52
|
N as OnFocusModifier,
|
|
53
53
|
j as OnHoverModifier,
|
|
54
54
|
q as OnKeyDownModifier,
|
|
55
55
|
X as OnKeyPressModifier,
|
|
56
56
|
Y as OnKeyUpModifier,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
Z as OnLongPressGestureModifier,
|
|
58
|
+
$ as OnMouseDownModifier,
|
|
59
|
+
J as OnMouseEnterModifier,
|
|
60
60
|
Q as OnMouseLeaveModifier,
|
|
61
61
|
aa as OnMouseUpModifier,
|
|
62
62
|
sa as OverflowWrapModifier,
|
|
@@ -99,18 +99,18 @@ export {
|
|
|
99
99
|
Ea as basicSanitize,
|
|
100
100
|
Ka as before,
|
|
101
101
|
Fa as blendMode,
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
102
|
+
Ua as blueGradientText,
|
|
103
|
+
Va as border,
|
|
104
|
+
Wa as borderBottom,
|
|
105
105
|
_a as borderHorizontal,
|
|
106
106
|
Na as borderLeading,
|
|
107
107
|
ja as borderLeft,
|
|
108
108
|
qa as borderRight,
|
|
109
109
|
Xa as borderTop,
|
|
110
110
|
Ya as borderTrailing,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
Za as borderVertical,
|
|
112
|
+
$a as clipShape,
|
|
113
|
+
Ja as clipped,
|
|
114
114
|
Qa as columnGap,
|
|
115
115
|
as as compositingGroup,
|
|
116
116
|
ss as cornerRadius,
|
|
@@ -155,18 +155,18 @@ export {
|
|
|
155
155
|
Es as goldGradientText,
|
|
156
156
|
Ks as gradientText,
|
|
157
157
|
Fs as height,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
158
|
+
Us as highPriorityGesture,
|
|
159
|
+
Vs as hyphens,
|
|
160
|
+
Ws as iconAfter,
|
|
161
161
|
_s as iconBefore,
|
|
162
162
|
Ns as id,
|
|
163
163
|
js as justifyContent,
|
|
164
164
|
qs as keyboardShortcut,
|
|
165
165
|
Xs as keyboardShortcutBuilder,
|
|
166
166
|
Ys as layoutPriority,
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
167
|
+
Zs as letterSpacing,
|
|
168
|
+
$s as lineAfter,
|
|
169
|
+
Js as lineBefore,
|
|
170
170
|
Qs as lineClamp,
|
|
171
171
|
ae as lineHeight,
|
|
172
172
|
se as margin,
|
|
@@ -209,18 +209,18 @@ export {
|
|
|
209
209
|
Ee as onKeyPress,
|
|
210
210
|
Ke as onKeyPressInteraction,
|
|
211
211
|
Fe as onKeyUp,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
212
|
+
Ue as onKeyUpInteraction,
|
|
213
|
+
Ve as onLongPressGesture,
|
|
214
|
+
We as onMouseDown,
|
|
215
215
|
_e as onMouseEnter,
|
|
216
216
|
Ne as onMouseLeave,
|
|
217
217
|
je as onMouseUp,
|
|
218
218
|
qe as onPaste,
|
|
219
219
|
Xe as onScroll,
|
|
220
220
|
Ye as onSelect,
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
221
|
+
Ze as onSwipeLeft,
|
|
222
|
+
$e as onSwipeRight,
|
|
223
|
+
Je as onTap,
|
|
224
224
|
Qe as onTouchEnd,
|
|
225
225
|
ai as onTouchMove,
|
|
226
226
|
si as onTouchStart,
|
|
@@ -264,18 +264,18 @@ export {
|
|
|
264
264
|
Ei as simultaneousGesture,
|
|
265
265
|
Ki as size,
|
|
266
266
|
Fi as spinner,
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
267
|
+
Ui as sunsetGradientText,
|
|
268
|
+
Vi as system,
|
|
269
|
+
Wi as tabIndex,
|
|
270
270
|
_i as task,
|
|
271
271
|
Ni as textAlign,
|
|
272
272
|
ji as textCase,
|
|
273
273
|
qi as textDecoration,
|
|
274
274
|
Xi as textOverflow,
|
|
275
275
|
Yi as textTransform,
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
276
|
+
Zi as themeColors,
|
|
277
|
+
$i as tooltip,
|
|
278
|
+
Ji as transform,
|
|
279
279
|
Qi as transition,
|
|
280
280
|
ao as transitions,
|
|
281
281
|
so as typography,
|