@tachui/modifiers 0.8.26 → 0.8.27
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 +1 -1
- package/dist/base.d.ts +2 -0
- package/dist/base.d.ts.map +1 -1
- package/dist/base.js +4 -3
- package/dist/basic/base.d.ts +2 -0
- package/dist/basic/base.d.ts.map +1 -1
- package/dist/basic/index.js +1 -1
- package/dist/basic/margin.js +1 -1
- package/dist/basic/padding.js +1 -1
- package/dist/basic/size.js +1 -1
- package/dist/effects/backdrop/index.js +1 -1
- package/dist/effects/effects/index.d.ts +2 -0
- package/dist/effects/effects/index.d.ts.map +1 -1
- package/dist/effects/index.js +221 -210
- package/dist/index.js +1 -1
- package/dist/interaction/index.js +1 -1
- package/dist/layout/index.js +1 -1
- package/dist/{modifiers-basic-CYNrEDIN.js → modifiers-basic-BR-ELO6K.js} +1406 -1401
- package/dist/preload/basic.d.ts +0 -1
- package/dist/preload/basic.d.ts.map +1 -1
- package/dist/preload/basic.js +1 -1
- package/dist/preload/effects.d.ts +0 -1
- package/dist/preload/effects.d.ts.map +1 -1
- package/dist/types.d.ts +4 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/typography/index.js +1 -1
- package/dist/typography/text.js +1 -1
- package/dist/utility/index.js +1 -1
- package/package.json +4 -4
package/dist/effects/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var x = (t, o, e) => o in t ?
|
|
1
|
+
var C = Object.defineProperty;
|
|
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
|
-
import { globalModifierRegistry as
|
|
5
|
-
import { blur as
|
|
6
|
-
import { transform as
|
|
7
|
-
import { shadows as
|
|
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 Y, blackAndWhite as z, vibrant as F, warmTone as M, 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
|
+
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 Ye, textEngraved as ze, swiftUIShadow as Fe, reactiveShadow as Me, animatedShadow as Ve } from "./shadows/index.js";
|
|
8
8
|
import { BaseModifier as g } from "@tachui/core/modifiers/base";
|
|
9
|
-
import { backdropFilter as
|
|
10
|
-
class
|
|
9
|
+
import { backdropFilter as Xe, glassmorphism as Ze, customGlassmorphism as Ue } from "./backdrop/index.js";
|
|
10
|
+
class We extends g {
|
|
11
11
|
constructor(e) {
|
|
12
12
|
const r = { cursor: "auto" };
|
|
13
|
-
for (const [
|
|
14
|
-
typeof
|
|
13
|
+
for (const [n, s] of Object.entries(e))
|
|
14
|
+
typeof s == "function" && "peek" in s ? r[n] = s.peek() : r[n] = s;
|
|
15
15
|
super(r);
|
|
16
16
|
l(this, "type", "cursor");
|
|
17
17
|
l(this, "priority", 10);
|
|
@@ -41,47 +41,58 @@ class Ue extends g {
|
|
|
41
41
|
);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
const
|
|
44
|
+
const p = class p extends g {
|
|
45
45
|
constructor(e) {
|
|
46
46
|
const r = {};
|
|
47
|
-
for (const [
|
|
48
|
-
typeof
|
|
47
|
+
for (const [n, s] of Object.entries(e))
|
|
48
|
+
typeof s == "function" && "peek" in s ? r[n] = s.peek() : r[n] = s;
|
|
49
49
|
super(r);
|
|
50
50
|
l(this, "type", "hover");
|
|
51
51
|
l(this, "priority", 15);
|
|
52
52
|
}
|
|
53
53
|
apply(e, r) {
|
|
54
54
|
if (!r.element || !(this.properties.isEnabled !== !1)) return;
|
|
55
|
-
const
|
|
56
|
-
r.element.classList.add(
|
|
55
|
+
const s = `tachui-hover-${++p.hoverCount}`;
|
|
56
|
+
r.element.classList.add(s), this.addHoverStyles(s, this.properties);
|
|
57
|
+
}
|
|
58
|
+
getStaticCSS(e) {
|
|
59
|
+
if (!(this.properties.isEnabled !== !1)) return [];
|
|
60
|
+
const n = [], s = this.formatTransition(this.properties.transition);
|
|
61
|
+
s && n.push(`${e} { transition: ${s}; }`);
|
|
62
|
+
const c = this.computeHoverStyles(this.properties);
|
|
63
|
+
if (Object.keys(c).length > 0) {
|
|
64
|
+
const u = this.properties.pseudoClass ?? "hover", d = Object.entries(c).map(([m, h]) => `${this.toCSSProperty(m)}: ${h}`).join("; ");
|
|
65
|
+
n.push(`${e}:${u} { ${d} }`);
|
|
66
|
+
}
|
|
67
|
+
return n;
|
|
57
68
|
}
|
|
58
69
|
addHoverStyles(e, r) {
|
|
59
|
-
const
|
|
60
|
-
if (!
|
|
61
|
-
const
|
|
62
|
-
if (
|
|
63
|
-
const
|
|
70
|
+
const n = this.getOrCreateStyleSheet();
|
|
71
|
+
if (!n) return;
|
|
72
|
+
const s = this.formatTransition(r.transition);
|
|
73
|
+
if (s) {
|
|
74
|
+
const u = `.${e} { transition: ${s}; }`;
|
|
64
75
|
try {
|
|
65
|
-
|
|
66
|
-
} catch (
|
|
67
|
-
console.warn("Failed to add transition rule:",
|
|
76
|
+
n.insertRule(u);
|
|
77
|
+
} catch (d) {
|
|
78
|
+
console.warn("Failed to add transition rule:", d);
|
|
68
79
|
}
|
|
69
80
|
}
|
|
70
|
-
const
|
|
71
|
-
if (Object.keys(
|
|
72
|
-
const d = Object.entries(
|
|
73
|
-
const
|
|
81
|
+
const c = this.computeHoverStyles(r);
|
|
82
|
+
if (Object.keys(c).length > 0) {
|
|
83
|
+
const u = r.pseudoClass ?? "hover", d = Object.entries(c).map(([h, v]) => {
|
|
84
|
+
const y = this.toCSSProperty(h), b = [
|
|
74
85
|
"background-color",
|
|
75
86
|
"background",
|
|
76
87
|
"border-color",
|
|
77
88
|
"color"
|
|
78
|
-
].includes(
|
|
79
|
-
return `${
|
|
80
|
-
}).join("; "),
|
|
89
|
+
].includes(y);
|
|
90
|
+
return `${y}: ${v}${b ? " !important" : ""}`;
|
|
91
|
+
}).join("; "), m = `.${e}:${u} { ${d} }`;
|
|
81
92
|
try {
|
|
82
|
-
|
|
83
|
-
} catch (
|
|
84
|
-
console.warn("Failed to add hover rule:",
|
|
93
|
+
n.insertRule(m);
|
|
94
|
+
} catch (h) {
|
|
95
|
+
console.warn("Failed to add hover rule:", h);
|
|
85
96
|
}
|
|
86
97
|
}
|
|
87
98
|
}
|
|
@@ -126,255 +137,255 @@ const u = class u extends g {
|
|
|
126
137
|
return r.id = "tachui-hover-styles", document.head.appendChild(r), r.sheet;
|
|
127
138
|
}
|
|
128
139
|
};
|
|
129
|
-
l(
|
|
130
|
-
let a =
|
|
140
|
+
l(p, "hoverCount", 0);
|
|
141
|
+
let a = p;
|
|
131
142
|
function i(t) {
|
|
132
|
-
return new
|
|
143
|
+
return new We({ cursor: t });
|
|
133
144
|
}
|
|
134
|
-
function
|
|
145
|
+
function f(t, o) {
|
|
135
146
|
return new a({ effect: t, isEnabled: o });
|
|
136
147
|
}
|
|
137
|
-
function
|
|
148
|
+
function Be(t, o) {
|
|
138
149
|
return new a({ hoverStyles: t, transition: o });
|
|
139
150
|
}
|
|
140
|
-
function
|
|
151
|
+
function De(t, o = 200) {
|
|
141
152
|
return new a({ hoverStyles: t, transition: o });
|
|
142
153
|
}
|
|
143
|
-
function
|
|
154
|
+
function Ke(t, o) {
|
|
144
155
|
return new a({ effect: t, isEnabled: o });
|
|
145
156
|
}
|
|
146
|
-
function
|
|
157
|
+
function Ne() {
|
|
147
158
|
return i("pointer");
|
|
148
159
|
}
|
|
149
|
-
function
|
|
160
|
+
function Ae() {
|
|
150
161
|
return i("grab");
|
|
151
162
|
}
|
|
152
|
-
function
|
|
163
|
+
function Ge() {
|
|
153
164
|
return i("text");
|
|
154
165
|
}
|
|
155
|
-
function
|
|
166
|
+
function Le() {
|
|
156
167
|
return i("not-allowed");
|
|
157
168
|
}
|
|
158
|
-
function
|
|
169
|
+
function _e() {
|
|
159
170
|
return i("wait");
|
|
160
171
|
}
|
|
161
|
-
function
|
|
172
|
+
function qe() {
|
|
162
173
|
return i("help");
|
|
163
174
|
}
|
|
164
|
-
function
|
|
175
|
+
function Je(t = "in") {
|
|
165
176
|
return i(t === "in" ? "zoom-in" : "zoom-out");
|
|
166
177
|
}
|
|
167
|
-
function Je() {
|
|
168
|
-
return c("lift");
|
|
169
|
-
}
|
|
170
178
|
function Qe() {
|
|
171
|
-
return
|
|
179
|
+
return f("lift");
|
|
172
180
|
}
|
|
173
181
|
function et() {
|
|
174
|
-
return
|
|
182
|
+
return f("automatic");
|
|
175
183
|
}
|
|
176
184
|
function tt() {
|
|
177
|
-
return
|
|
185
|
+
return f("highlight");
|
|
178
186
|
}
|
|
179
|
-
function rt(
|
|
180
|
-
return
|
|
187
|
+
function rt() {
|
|
188
|
+
return f("scale");
|
|
181
189
|
}
|
|
182
190
|
function ot(t) {
|
|
183
|
-
return new a({ hoverStyles: t });
|
|
191
|
+
return new a({ hoverStyles: t, pseudoClass: "active" });
|
|
192
|
+
}
|
|
193
|
+
function st(t) {
|
|
194
|
+
return new a({ hoverStyles: t, pseudoClass: "focus" });
|
|
184
195
|
}
|
|
185
196
|
function nt(t) {
|
|
186
|
-
return new a({ hoverStyles: t });
|
|
197
|
+
return new a({ hoverStyles: t, pseudoClass: "active" });
|
|
187
198
|
}
|
|
188
199
|
const w = [
|
|
189
200
|
// Filter system
|
|
190
|
-
["blur",
|
|
201
|
+
["blur", E],
|
|
191
202
|
["brightness", k],
|
|
192
|
-
["contrast",
|
|
203
|
+
["contrast", $],
|
|
193
204
|
["filter", O],
|
|
194
205
|
["saturate", H],
|
|
195
|
-
["grayscale",
|
|
206
|
+
["grayscale", P],
|
|
196
207
|
["sepia", T],
|
|
197
|
-
["hueRotate",
|
|
198
|
-
["invert",
|
|
208
|
+
["hueRotate", I],
|
|
209
|
+
["invert", j],
|
|
199
210
|
["filterDropShadow", R],
|
|
200
|
-
["vintagePhoto",
|
|
201
|
-
["blackAndWhite",
|
|
202
|
-
["vibrant",
|
|
203
|
-
["warmTone",
|
|
204
|
-
["coolTone",
|
|
205
|
-
["faded",
|
|
206
|
-
["highKey",
|
|
207
|
-
["lowKey",
|
|
208
|
-
["softFocus",
|
|
209
|
-
["highContrastMode",
|
|
210
|
-
["subtleBlur",
|
|
211
|
-
["darkModeInvert",
|
|
212
|
-
["colorInvert",
|
|
213
|
-
["saturation",
|
|
214
|
-
["hueRotation",
|
|
211
|
+
["vintagePhoto", Y],
|
|
212
|
+
["blackAndWhite", z],
|
|
213
|
+
["vibrant", F],
|
|
214
|
+
["warmTone", M],
|
|
215
|
+
["coolTone", V],
|
|
216
|
+
["faded", X],
|
|
217
|
+
["highKey", Z],
|
|
218
|
+
["lowKey", U],
|
|
219
|
+
["softFocus", W],
|
|
220
|
+
["highContrastMode", B],
|
|
221
|
+
["subtleBlur", D],
|
|
222
|
+
["darkModeInvert", K],
|
|
223
|
+
["colorInvert", N],
|
|
224
|
+
["saturation", A],
|
|
225
|
+
["hueRotation", G],
|
|
215
226
|
// Transform utilities
|
|
216
|
-
["transform",
|
|
217
|
-
["scale",
|
|
218
|
-
["rotate",
|
|
219
|
-
["translate",
|
|
220
|
-
["skew",
|
|
221
|
-
["rotateX",
|
|
222
|
-
["rotateY",
|
|
223
|
-
["rotateZ",
|
|
224
|
-
["perspective",
|
|
225
|
-
["advancedTransform",
|
|
227
|
+
["transform", L],
|
|
228
|
+
["scale", _],
|
|
229
|
+
["rotate", q],
|
|
230
|
+
["translate", J],
|
|
231
|
+
["skew", Q],
|
|
232
|
+
["rotateX", ee],
|
|
233
|
+
["rotateY", te],
|
|
234
|
+
["rotateZ", re],
|
|
235
|
+
["perspective", oe],
|
|
236
|
+
["advancedTransform", se],
|
|
226
237
|
["matrix", ne],
|
|
227
|
-
["matrix3d",
|
|
228
|
-
["rotate3d",
|
|
229
|
-
["scale3d",
|
|
230
|
-
["translate3d",
|
|
231
|
-
["scaleX",
|
|
232
|
-
["scaleY",
|
|
233
|
-
["scaleZ",
|
|
234
|
-
["translateX",
|
|
235
|
-
["translateY",
|
|
238
|
+
["matrix3d", ae],
|
|
239
|
+
["rotate3d", ie],
|
|
240
|
+
["scale3d", le],
|
|
241
|
+
["translate3d", ce],
|
|
242
|
+
["scaleX", ue],
|
|
243
|
+
["scaleY", de],
|
|
244
|
+
["scaleZ", he],
|
|
245
|
+
["translateX", fe],
|
|
246
|
+
["translateY", pe],
|
|
236
247
|
["translateZ", me],
|
|
237
|
-
["perspectiveOrigin",
|
|
238
|
-
["transformStyle",
|
|
239
|
-
["backfaceVisibility",
|
|
248
|
+
["perspectiveOrigin", ve],
|
|
249
|
+
["transformStyle", ye],
|
|
250
|
+
["backfaceVisibility", Se],
|
|
240
251
|
// Shadows
|
|
241
|
-
["shadows",
|
|
242
|
-
["shadowPreset",
|
|
243
|
-
["shadow",
|
|
244
|
-
["textShadow",
|
|
252
|
+
["shadows", ge],
|
|
253
|
+
["shadowPreset", we],
|
|
254
|
+
["shadow", be],
|
|
255
|
+
["textShadow", Ce],
|
|
245
256
|
["dropShadow", xe],
|
|
246
|
-
["insetShadow",
|
|
257
|
+
["insetShadow", Ee],
|
|
247
258
|
["elevationShadow", ke],
|
|
248
|
-
["glowEffect",
|
|
259
|
+
["glowEffect", $e],
|
|
249
260
|
["neonEffect", Oe],
|
|
250
261
|
["neumorphism", He],
|
|
251
|
-
["neumorphismPressed",
|
|
262
|
+
["neumorphismPressed", Pe],
|
|
252
263
|
["layeredShadow", Te],
|
|
253
|
-
["textShadowSubtle",
|
|
254
|
-
["textShadowStrong",
|
|
264
|
+
["textShadowSubtle", Ie],
|
|
265
|
+
["textShadowStrong", je],
|
|
255
266
|
["textOutline", Re],
|
|
256
|
-
["textEmbossed",
|
|
257
|
-
["textEngraved",
|
|
258
|
-
["swiftUIShadow",
|
|
259
|
-
["reactiveShadow",
|
|
260
|
-
["animatedShadow",
|
|
267
|
+
["textEmbossed", Ye],
|
|
268
|
+
["textEngraved", ze],
|
|
269
|
+
["swiftUIShadow", Fe],
|
|
270
|
+
["reactiveShadow", Me],
|
|
271
|
+
["animatedShadow", Ve],
|
|
261
272
|
// Interactive effects
|
|
262
|
-
["hover",
|
|
263
|
-
["active",
|
|
264
|
-
["focus",
|
|
273
|
+
["hover", Be],
|
|
274
|
+
["active", ot],
|
|
275
|
+
["focus", st],
|
|
265
276
|
["pressed", nt],
|
|
266
|
-
["hoverEffect",
|
|
267
|
-
["hoverWithTransition",
|
|
268
|
-
["conditionalHover",
|
|
269
|
-
["interactiveCursor",
|
|
270
|
-
["draggableCursor",
|
|
271
|
-
["textCursor",
|
|
272
|
-
["disabledCursor",
|
|
273
|
-
["loadingCursor",
|
|
274
|
-
["helpCursor",
|
|
275
|
-
["zoomCursor",
|
|
276
|
-
["buttonHover",
|
|
277
|
-
["cardHover",
|
|
278
|
-
["linkHover",
|
|
279
|
-
["imageHover",
|
|
277
|
+
["hoverEffect", f],
|
|
278
|
+
["hoverWithTransition", De],
|
|
279
|
+
["conditionalHover", Ke],
|
|
280
|
+
["interactiveCursor", Ne],
|
|
281
|
+
["draggableCursor", Ae],
|
|
282
|
+
["textCursor", Ge],
|
|
283
|
+
["disabledCursor", Le],
|
|
284
|
+
["loadingCursor", _e],
|
|
285
|
+
["helpCursor", qe],
|
|
286
|
+
["zoomCursor", Je],
|
|
287
|
+
["buttonHover", Qe],
|
|
288
|
+
["cardHover", et],
|
|
289
|
+
["linkHover", tt],
|
|
290
|
+
["imageHover", rt],
|
|
280
291
|
// Backdrop / glassmorphism
|
|
281
|
-
["backdropFilter",
|
|
282
|
-
["glassmorphism",
|
|
283
|
-
["customGlassmorphism",
|
|
292
|
+
["backdropFilter", Xe],
|
|
293
|
+
["glassmorphism", Ze],
|
|
294
|
+
["customGlassmorphism", Ue]
|
|
284
295
|
];
|
|
285
296
|
w.forEach(([t, o]) => {
|
|
286
|
-
|
|
297
|
+
S.has(t) || S.register(t, o);
|
|
287
298
|
});
|
|
288
299
|
process.env.NODE_ENV === "development" && console.log(`@tachui/modifiers/effects: Preloaded and registered ${w.length} effects modifiers.`);
|
|
289
300
|
export {
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
301
|
+
ot as active,
|
|
302
|
+
se as advancedTransform,
|
|
303
|
+
Ve as animatedShadow,
|
|
304
|
+
Xe as backdropFilter,
|
|
305
|
+
Se as backfaceVisibility,
|
|
306
|
+
z as blackAndWhite,
|
|
307
|
+
E as blur,
|
|
297
308
|
k as brightness,
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
309
|
+
Qe as buttonHover,
|
|
310
|
+
et as cardHover,
|
|
311
|
+
N as colorInvert,
|
|
312
|
+
Ke as conditionalHover,
|
|
313
|
+
$ as contrast,
|
|
314
|
+
V as coolTone,
|
|
315
|
+
Ue as customGlassmorphism,
|
|
316
|
+
K as darkModeInvert,
|
|
317
|
+
Le as disabledCursor,
|
|
318
|
+
Ae as draggableCursor,
|
|
308
319
|
xe as dropShadow,
|
|
309
320
|
ke as elevationShadow,
|
|
310
|
-
|
|
321
|
+
X as faded,
|
|
311
322
|
O as filter,
|
|
312
323
|
R as filterDropShadow,
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
324
|
+
st as focus,
|
|
325
|
+
Ze as glassmorphism,
|
|
326
|
+
$e as glowEffect,
|
|
327
|
+
P as grayscale,
|
|
328
|
+
qe as helpCursor,
|
|
329
|
+
B as highContrastMode,
|
|
330
|
+
Z as highKey,
|
|
331
|
+
Be as hover,
|
|
332
|
+
f as hoverEffect,
|
|
333
|
+
De as hoverWithTransition,
|
|
334
|
+
I as hueRotate,
|
|
335
|
+
G as hueRotation,
|
|
336
|
+
rt as imageHover,
|
|
337
|
+
Ee as insetShadow,
|
|
338
|
+
Ne as interactiveCursor,
|
|
339
|
+
j as invert,
|
|
329
340
|
Te as layeredShadow,
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
341
|
+
tt as linkHover,
|
|
342
|
+
_e as loadingCursor,
|
|
343
|
+
U as lowKey,
|
|
333
344
|
ne as matrix,
|
|
334
|
-
|
|
345
|
+
ae as matrix3d,
|
|
335
346
|
Oe as neonEffect,
|
|
336
347
|
He as neumorphism,
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
348
|
+
Pe as neumorphismPressed,
|
|
349
|
+
oe as perspective,
|
|
350
|
+
ve as perspectiveOrigin,
|
|
340
351
|
nt as pressed,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
352
|
+
Me as reactiveShadow,
|
|
353
|
+
q as rotate,
|
|
354
|
+
ie as rotate3d,
|
|
355
|
+
ee as rotateX,
|
|
356
|
+
te as rotateY,
|
|
357
|
+
re as rotateZ,
|
|
347
358
|
H as saturate,
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
359
|
+
A as saturation,
|
|
360
|
+
_ as scale,
|
|
361
|
+
le as scale3d,
|
|
362
|
+
ue as scaleX,
|
|
363
|
+
de as scaleY,
|
|
364
|
+
he as scaleZ,
|
|
354
365
|
T as sepia,
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
366
|
+
be as shadow,
|
|
367
|
+
we as shadowPreset,
|
|
368
|
+
ge as shadows,
|
|
369
|
+
Q as skew,
|
|
370
|
+
W as softFocus,
|
|
371
|
+
D as subtleBlur,
|
|
372
|
+
Fe as swiftUIShadow,
|
|
373
|
+
Ge as textCursor,
|
|
374
|
+
Ye as textEmbossed,
|
|
375
|
+
ze as textEngraved,
|
|
365
376
|
Re as textOutline,
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
377
|
+
Ce as textShadow,
|
|
378
|
+
je as textShadowStrong,
|
|
379
|
+
Ie as textShadowSubtle,
|
|
380
|
+
L as transform,
|
|
381
|
+
ye as transformStyle,
|
|
382
|
+
J as translate,
|
|
383
|
+
ce as translate3d,
|
|
384
|
+
fe as translateX,
|
|
385
|
+
pe as translateY,
|
|
375
386
|
me as translateZ,
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
387
|
+
F as vibrant,
|
|
388
|
+
Y as vintagePhoto,
|
|
389
|
+
M as warmTone,
|
|
390
|
+
Je as zoomCursor
|
|
380
391
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { globalModifierRegistry as s } from "@tachui/registry";
|
|
2
|
-
import { bu as r, di as n, dg as d, cw as t, c9 as c, cb as l, A as f, am as b, aa as M, a9 as g, a8 as u, c7 as p, al as m, ar as h, c2 as y, aG as x, aI as C, ap as B, as as v, cD as T, cs as S, t as H, F as P, bm as w, bk as I, aD as O, a6 as k, cq as L, dh as G, bh as A, df as D, dj as R, a0 as z, cU as E, M as K, O as F, bc as V, a_ as W, bq as U, aZ as _, bb as N, aT as j, b5 as q, b7 as X, b6 as Y, bf as Z, aX as $, aV as J, aW as Q, aY as aa, a4 as sa, C as ea, cJ as ia, P as oa, cc as ra, S as na, aK as da, d3 as ta, dd as ca, de as la, cu as fa, db as ba, T as Ma, bW as ga, a2 as ua, Z as pa, x as ma, bo as ha, ce as ya, g as xa, h as Ca, bv as Ba, dp as va, cx as Ta, cB as Sa, cz as Ha, cA as Pa, cC as wa, ca as Ia, q as Oa, ac as ka, ao as La, ae as Ga, ab as Aa, ad as Da, cm as Ra, b as za, c8 as Ea, cd as Ka, an as Fa, ag as Va, at as Wa, aw as Ua, aA as _a, ay as Na, ax as ja, av as qa, au as Xa, az as Ya, aB as Za, aH as $a, aJ as Ja, l as Qa, aq as as, aC as ss, co as es, c3 as is, c4 as os, c5 as rs, cG as ns, c6 as ds, bY as ts, $ as cs, cE as ls, cF as fs, ct as bs, cI as Ms, bx as gs, bV as us, b$ as ps, bp as ms, bw as hs, u as ys, e as xs, d as Cs, m as Bs, a as vs, c as Ts, n as Ss, f as Hs, o as Ps, bn as ws, bl as Is, E as Os, Y as ks, K as Ls, L as Gs, aF as As, aE as Ds, v as Rs, i as zs, ak as Es, af as Ks, d6 as Fs, by as Vs, a7 as Ws, ch as Us, cg as _s, cr as Ns, j as js, bi as qs, bj as Xs, w as Ys, Q as Zs, cj as $s, ci as Js, a1 as Qs, N as ae, cV as se, cX as ee, d0 as ie, c_ as oe, cY as re, d2 as ne, cZ as de, cW as te, c$ as ce, d1 as le, d9 as fe, d7 as be, da as Me, d8 as ge, dl as ue, dm as pe, dk as me, aj as he, p as ye, be as xe, bC as Ce, bL as Be, b4 as ve, bI as Te, br as Se, bt as He, bs as Pe, bM as we, bN as Ie, b3 as Oe, bH as ke, bd as Le, bB as Ge, aU as Ae, bK as De, b8 as Re, bE as ze, ba as Ee, bF as Ke, b9 as Fe, bG as Ve, bg as We, b1 as Ue, a$ as _e, b0 as Ne, b2 as je, bO as qe, bD as Xe, bP as Ye, bT as Ze, bU as $e, bA as Je, bS as Qe, bR as ai, bQ as si, bJ as ei, c0 as ii, c1 as oi, W as ri, a5 as ni, b_ as di, bZ as ti, D as ci, aN as li, aO as fi, aP as bi, cK as Mi, cM as gi, cR as ui, cP as pi, cN as mi, cT as hi, cO as yi, cL as xi, cQ as Ci, cS as Bi, z as vi, cf as Ti, ck as Si, ah as Hi, r as Pi, r as wi, y as Ii, cy as Oi, k as ki, s as Li, aL as Gi, aM as Ai, aQ as Di, aR as Ri, aS as zi, bz as Ei, d4 as Ki, cp as Fi, ai as Vi, _ as Wi, cv as Ui, dr as _i, H as Ni, X as ji, J as qi, U as Xi, I as Yi, cH as Zi, cn as $i, dn as Ji, dc as Qi, dq as ao, G as so, cl as eo, bX as io, V as oo, d5 as ro, a3 as no, R as to, B as co } from "./modifiers-basic-
|
|
2
|
+
import { bu as r, di as n, dg as d, cw as t, c9 as c, cb as l, A as f, am as b, aa as M, a9 as g, a8 as u, c7 as p, al as m, ar as h, c2 as y, aG as x, aI as C, ap as B, as as v, cD as T, cs as S, t as H, F as P, bm as w, bk as I, aD as O, a6 as k, cq as L, dh as G, bh as A, df as D, dj as R, a0 as z, cU as E, M as K, O as F, bc as V, a_ as W, bq as U, aZ as _, bb as N, aT as j, b5 as q, b7 as X, b6 as Y, bf as Z, aX as $, aV as J, aW as Q, aY as aa, a4 as sa, C as ea, cJ as ia, P as oa, cc as ra, S as na, aK as da, d3 as ta, dd as ca, de as la, cu as fa, db as ba, T as Ma, bW as ga, a2 as ua, Z as pa, x as ma, bo as ha, ce as ya, g as xa, h as Ca, bv as Ba, dp as va, cx as Ta, cB as Sa, cz as Ha, cA as Pa, cC as wa, ca as Ia, q as Oa, ac as ka, ao as La, ae as Ga, ab as Aa, ad as Da, cm as Ra, b as za, c8 as Ea, cd as Ka, an as Fa, ag as Va, at as Wa, aw as Ua, aA as _a, ay as Na, ax as ja, av as qa, au as Xa, az as Ya, aB as Za, aH as $a, aJ as Ja, l as Qa, aq as as, aC as ss, co as es, c3 as is, c4 as os, c5 as rs, cG as ns, c6 as ds, bY as ts, $ as cs, cE as ls, cF as fs, ct as bs, cI as Ms, bx as gs, bV as us, b$ as ps, bp as ms, bw as hs, u as ys, e as xs, d as Cs, m as Bs, a as vs, c as Ts, n as Ss, f as Hs, o as Ps, bn as ws, bl as Is, E as Os, Y as ks, K as Ls, L as Gs, aF as As, aE as Ds, v as Rs, i as zs, ak as Es, af as Ks, d6 as Fs, by as Vs, a7 as Ws, ch as Us, cg as _s, cr as Ns, j as js, bi as qs, bj as Xs, w as Ys, Q as Zs, cj as $s, ci as Js, a1 as Qs, N as ae, cV as se, cX as ee, d0 as ie, c_ as oe, cY as re, d2 as ne, cZ as de, cW as te, c$ as ce, d1 as le, d9 as fe, d7 as be, da as Me, d8 as ge, dl as ue, dm as pe, dk as me, aj as he, p as ye, be as xe, bC as Ce, bL as Be, b4 as ve, bI as Te, br as Se, bt as He, bs as Pe, bM as we, bN as Ie, b3 as Oe, bH as ke, bd as Le, bB as Ge, aU as Ae, bK as De, b8 as Re, bE as ze, ba as Ee, bF as Ke, b9 as Fe, bG as Ve, bg as We, b1 as Ue, a$ as _e, b0 as Ne, b2 as je, bO as qe, bD as Xe, bP as Ye, bT as Ze, bU as $e, bA as Je, bS as Qe, bR as ai, bQ as si, bJ as ei, c0 as ii, c1 as oi, W as ri, a5 as ni, b_ as di, bZ as ti, D as ci, aN as li, aO as fi, aP as bi, cK as Mi, cM as gi, cR as ui, cP as pi, cN as mi, cT as hi, cO as yi, cL as xi, cQ as Ci, cS as Bi, z as vi, cf as Ti, ck as Si, ah as Hi, r as Pi, r as wi, y as Ii, cy as Oi, k as ki, s as Li, aL as Gi, aM as Ai, aQ as Di, aR as Ri, aS as zi, bz as Ei, d4 as Ki, cp as Fi, ai as Vi, _ as Wi, cv as Ui, dr as _i, H as Ni, X as ji, J as qi, U as Xi, I as Yi, cH as Zi, cn as $i, dn as Ji, dc as Qi, dq as ao, G as so, cl as eo, bX as io, V as oo, d5 as ro, a3 as no, R as to, B as co } from "./modifiers-basic-BR-ELO6K.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();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bu as s, bm as e, bk as n, bh as i, bc as r, a_ as b, bq as t, aZ as l, bb as u, aT as c, b5 as M, b7 as d, b6 as f, bf as v, aX as h, aV as O, aW as y, aY as C, aK as p, bo as g, bv as K, bx as S, bV as H, bp as w, bw as P, bn as T, bl as B, by as D, bi as I, bj as L, be as U, bC as k, bL as F, b4 as G, bI as x, br as E, bt as m, bs as R, bM as A, bN as N, b3 as Q, bH as V, bd as W, bB as X, aU as Y, bK as j, b8 as q, bE as z, ba as J, bF as Z, b9 as _, bG as $, bg as oo, b1 as ao, a$ as so, b0 as eo, b2 as no, bO as io, bD as ro, bP as bo, bT as to, bU as lo, bA as uo, bS as co, bR as Mo, bQ as fo, bJ as vo, aN as ho, aO as Oo, aP as yo, aL as Co, aM as po, aQ as go, aR as Ko, aS as So, bz as Ho } from "../modifiers-basic-
|
|
1
|
+
import { bu as s, bm as e, bk as n, bh as i, bc as r, a_ as b, bq as t, aZ as l, bb as u, aT as c, b5 as M, b7 as d, b6 as f, bf as v, aX as h, aV as O, aW as y, aY as C, aK as p, bo as g, bv as K, bx as S, bV as H, bp as w, bw as P, bn as T, bl as B, by as D, bi as I, bj as L, be as U, bC as k, bL as F, b4 as G, bI as x, br as E, bt as m, bs as R, bM as A, bN as N, b3 as Q, bH as V, bd as W, bB as X, aU as Y, bK as j, b8 as q, bE as z, ba as J, bF as Z, b9 as _, bG as $, bg as oo, b1 as ao, a$ as so, b0 as eo, b2 as no, bO as io, bD as ro, bP as bo, bT as to, bU as lo, bA as uo, bS as co, bR as Mo, bQ as fo, bJ as vo, aN as ho, aO as Oo, aP as yo, aL as Co, aM as po, aQ as go, aR as Ko, aS as So, bz as Ho } from "../modifiers-basic-BR-ELO6K.js";
|
|
2
2
|
export {
|
|
3
3
|
s as AllowsHitTestingModifier,
|
|
4
4
|
e as FocusableModifier,
|
package/dist/layout/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, t as i, F as o, O as f, C as r, P as t, S as l, Z as x, x as d, g as n, h as c, q as p, l as M, u as y, e as S, d as b, m, a as u, c as z, n as P, f as g, o as v, v as w, i as F, j as G, w as I, p as O, D as h, z as j, y as k, k as A, s as B, B as C } from "../modifiers-basic-
|
|
1
|
+
import { A as e, t as i, F as o, O as f, C as r, P as t, S as l, Z as x, x as d, g as n, h as c, q as p, l as M, u as y, e as S, d as b, m, a as u, c as z, n as P, f as g, o as v, v as w, i as F, j as G, w as I, p as O, D as h, z as j, y as k, k as A, s as B, B as C } from "../modifiers-basic-BR-ELO6K.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AspectRatioModifier,
|
|
4
4
|
i as FixedSizeModifier,
|