@lgsm/modules 1.1.0 → 1.3.0

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/README.md +8 -4
  2. package/dist/assets/main.css +1 -0
  3. package/dist/components/ui/sonner.d.ts +4 -0
  4. package/dist/main.d.ts +12 -8
  5. package/dist/main.js +5083 -1115
  6. package/dist/shared-function/jwtDecodeFunc.d.ts +1 -0
  7. package/dist/shared-function/loginRedirect.d.ts +1 -0
  8. package/dist/shared-service/apiService.d.ts +8 -0
  9. package/dist/shared-ui/Sonner/index.d.ts +1 -0
  10. package/dist/shared-ui/ThreeDotsLoader/index.d.ts +1 -0
  11. package/dist/shared-ui/ui/sonner.d.ts +4 -0
  12. package/dist/utils/sonnerHelper.d.ts +3 -0
  13. package/package.json +4 -1
  14. package/dist/api/apiService.d.ts +0 -11
  15. package/dist/assets/index.css +0 -1
  16. package/dist/assets/index2.css +0 -1
  17. package/dist/assets/utils.css +0 -1
  18. package/dist/clsx-OuTLNxxd.js +0 -16
  19. package/dist/components/Button/index.js +0 -129
  20. package/dist/components/MyCounter/index.js +0 -56
  21. package/dist/components/MyTitle/index.js +0 -22
  22. package/dist/components/Notification/index.js +0 -190
  23. package/dist/fonts/LG_Smart/LG Smart Bold Italic.ttf +0 -0
  24. package/dist/fonts/LG_Smart/LG Smart Bold.ttf +0 -0
  25. package/dist/fonts/LG_Smart/LG Smart Light.ttf +0 -0
  26. package/dist/fonts/LG_Smart/LG Smart Regular Italic.ttf +0 -0
  27. package/dist/fonts/LG_Smart/LG Smart SemiBold.ttf +0 -0
  28. package/dist/fonts/LG_Smart/LGSmart-Regular.ttf +0 -0
  29. package/dist/store/notificationStore.d.ts +0 -10
  30. package/dist/usage-example/example-apiService.d.ts +0 -1
  31. package/dist/usage-example/example-components.d.ts +0 -1
  32. package/dist/utils-DGFEERe-.js +0 -2761
  33. /package/dist/{api → shared-service}/axiosInstance.d.ts +0 -0
  34. /package/dist/{components → shared-ui}/Button/index.d.ts +0 -0
  35. /package/dist/{components → shared-ui}/MyCounter/index.d.ts +0 -0
  36. /package/dist/{components → shared-ui}/MyTitle/index.d.ts +0 -0
  37. /package/dist/{components → shared-ui}/Notification/NotificationContainer.d.ts +0 -0
  38. /package/dist/{components → shared-ui}/Notification/index.d.ts +0 -0
  39. /package/dist/{components → shared-ui}/ui/alert.d.ts +0 -0
  40. /package/dist/{components → shared-ui}/ui/button.d.ts +0 -0
@@ -1,2761 +0,0 @@
1
- import { c as ke } from "./clsx-OuTLNxxd.js";
2
- import './assets/utils.css';const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ke, po = (e, n) => (o) => {
3
- var s;
4
- if ((n == null ? void 0 : n.variants) == null) return be(e, o == null ? void 0 : o.class, o == null ? void 0 : o.className);
5
- const { variants: l, defaultVariants: c } = n, i = Object.keys(l).map((f) => {
6
- const b = o == null ? void 0 : o[f], w = c == null ? void 0 : c[f];
7
- if (b === null) return null;
8
- const z = fe(b) || fe(w);
9
- return l[f][z];
10
- }), p = o && Object.entries(o).reduce((f, b) => {
11
- let [w, z] = b;
12
- return z === void 0 || (f[w] = z), f;
13
- }, {}), u = n == null || (s = n.compoundVariants) === null || s === void 0 ? void 0 : s.reduce((f, b) => {
14
- let { class: w, className: z, ...P } = b;
15
- return Object.entries(P).every((k) => {
16
- let [y, C] = k;
17
- return Array.isArray(C) ? C.includes({
18
- ...c,
19
- ...p
20
- }[y]) : {
21
- ...c,
22
- ...p
23
- }[y] === C;
24
- }) ? [
25
- ...f,
26
- w,
27
- z
28
- ] : f;
29
- }, []);
30
- return be(e, i, u, o == null ? void 0 : o.class, o == null ? void 0 : o.className);
31
- }, ne = "-", Ge = (e) => {
32
- const n = Ne(e), {
33
- conflictingClassGroups: o,
34
- conflictingClassGroupModifiers: s
35
- } = e;
36
- return {
37
- getClassGroupId: (i) => {
38
- const p = i.split(ne);
39
- return p[0] === "" && p.length !== 1 && p.shift(), ye(p, n) || Te(i);
40
- },
41
- getConflictingClassGroupIds: (i, p) => {
42
- const u = o[i] || [];
43
- return p && s[i] ? [...u, ...s[i]] : u;
44
- }
45
- };
46
- }, ye = (e, n) => {
47
- var i;
48
- if (e.length === 0)
49
- return n.classGroupId;
50
- const o = e[0], s = n.nextPart.get(o), l = s ? ye(e.slice(1), s) : void 0;
51
- if (l)
52
- return l;
53
- if (n.validators.length === 0)
54
- return;
55
- const c = e.join(ne);
56
- return (i = n.validators.find(({
57
- validator: p
58
- }) => p(c))) == null ? void 0 : i.classGroupId;
59
- }, ge = /^\[(.+)\]$/, Te = (e) => {
60
- if (ge.test(e)) {
61
- const n = ge.exec(e)[1], o = n == null ? void 0 : n.substring(0, n.indexOf(":"));
62
- if (o)
63
- return "arbitrary.." + o;
64
- }
65
- }, Ne = (e) => {
66
- const {
67
- theme: n,
68
- classGroups: o
69
- } = e, s = {
70
- nextPart: /* @__PURE__ */ new Map(),
71
- validators: []
72
- };
73
- for (const l in o)
74
- re(o[l], s, l, n);
75
- return s;
76
- }, re = (e, n, o, s) => {
77
- e.forEach((l) => {
78
- if (typeof l == "string") {
79
- const c = l === "" ? n : he(n, l);
80
- c.classGroupId = o;
81
- return;
82
- }
83
- if (typeof l == "function") {
84
- if (Ve(l)) {
85
- re(l(s), n, o, s);
86
- return;
87
- }
88
- n.validators.push({
89
- validator: l,
90
- classGroupId: o
91
- });
92
- return;
93
- }
94
- Object.entries(l).forEach(([c, i]) => {
95
- re(i, he(n, c), o, s);
96
- });
97
- });
98
- }, he = (e, n) => {
99
- let o = e;
100
- return n.split(ne).forEach((s) => {
101
- o.nextPart.has(s) || o.nextPart.set(s, {
102
- nextPart: /* @__PURE__ */ new Map(),
103
- validators: []
104
- }), o = o.nextPart.get(s);
105
- }), o;
106
- }, Ve = (e) => e.isThemeGetter, Ee = (e) => {
107
- if (e < 1)
108
- return {
109
- get: () => {
110
- },
111
- set: () => {
112
- }
113
- };
114
- let n = 0, o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map();
115
- const l = (c, i) => {
116
- o.set(c, i), n++, n > e && (n = 0, s = o, o = /* @__PURE__ */ new Map());
117
- };
118
- return {
119
- get(c) {
120
- let i = o.get(c);
121
- if (i !== void 0)
122
- return i;
123
- if ((i = s.get(c)) !== void 0)
124
- return l(c, i), i;
125
- },
126
- set(c, i) {
127
- o.has(c) ? o.set(c, i) : l(c, i);
128
- }
129
- };
130
- }, te = "!", se = ":", Le = se.length, je = (e) => {
131
- const {
132
- prefix: n,
133
- experimentalParseClassName: o
134
- } = e;
135
- let s = (l) => {
136
- const c = [];
137
- let i = 0, p = 0, u = 0, f;
138
- for (let k = 0; k < l.length; k++) {
139
- let y = l[k];
140
- if (i === 0 && p === 0) {
141
- if (y === se) {
142
- c.push(l.slice(u, k)), u = k + Le;
143
- continue;
144
- }
145
- if (y === "/") {
146
- f = k;
147
- continue;
148
- }
149
- }
150
- y === "[" ? i++ : y === "]" ? i-- : y === "(" ? p++ : y === ")" && p--;
151
- }
152
- const b = c.length === 0 ? l : l.substring(u), w = Oe(b), z = w !== b, P = f && f > u ? f - u : void 0;
153
- return {
154
- modifiers: c,
155
- hasImportantModifier: z,
156
- baseClassName: w,
157
- maybePostfixModifierPosition: P
158
- };
159
- };
160
- if (n) {
161
- const l = n + se, c = s;
162
- s = (i) => i.startsWith(l) ? c(i.substring(l.length)) : {
163
- isExternal: !0,
164
- modifiers: [],
165
- hasImportantModifier: !1,
166
- baseClassName: i,
167
- maybePostfixModifierPosition: void 0
168
- };
169
- }
170
- if (o) {
171
- const l = s;
172
- s = (c) => o({
173
- className: c,
174
- parseClassName: l
175
- });
176
- }
177
- return s;
178
- }, Oe = (e) => e.endsWith(te) ? e.substring(0, e.length - 1) : e.startsWith(te) ? e.substring(1) : e, _e = (e) => {
179
- const n = Object.fromEntries(e.orderSensitiveModifiers.map((s) => [s, !0]));
180
- return (s) => {
181
- if (s.length <= 1)
182
- return s;
183
- const l = [];
184
- let c = [];
185
- return s.forEach((i) => {
186
- i[0] === "[" || n[i] ? (l.push(...c.sort(), i), c = []) : c.push(i);
187
- }), l.push(...c.sort()), l;
188
- };
189
- }, Fe = (e) => ({
190
- cache: Ee(e.cacheSize),
191
- parseClassName: je(e),
192
- sortModifiers: _e(e),
193
- ...Ge(e)
194
- }), Be = /\s+/, We = (e, n) => {
195
- const {
196
- parseClassName: o,
197
- getClassGroupId: s,
198
- getConflictingClassGroupIds: l,
199
- sortModifiers: c
200
- } = n, i = [], p = e.trim().split(Be);
201
- let u = "";
202
- for (let f = p.length - 1; f >= 0; f -= 1) {
203
- const b = p[f], {
204
- isExternal: w,
205
- modifiers: z,
206
- hasImportantModifier: P,
207
- baseClassName: k,
208
- maybePostfixModifierPosition: y
209
- } = o(b);
210
- if (w) {
211
- u = b + (u.length > 0 ? " " + u : u);
212
- continue;
213
- }
214
- let C = !!y, R = s(C ? k.substring(0, y) : k);
215
- if (!R) {
216
- if (!C) {
217
- u = b + (u.length > 0 ? " " + u : u);
218
- continue;
219
- }
220
- if (R = s(k), !R) {
221
- u = b + (u.length > 0 ? " " + u : u);
222
- continue;
223
- }
224
- C = !1;
225
- }
226
- const $ = c(z).join(":"), F = P ? $ + te : $, V = F + R;
227
- if (i.includes(V))
228
- continue;
229
- i.push(V);
230
- const E = l(R, C);
231
- for (let G = 0; G < E.length; ++G) {
232
- const B = E[G];
233
- i.push(F + B);
234
- }
235
- u = b + (u.length > 0 ? " " + u : u);
236
- }
237
- return u;
238
- };
239
- function $e() {
240
- let e = 0, n, o, s = "";
241
- for (; e < arguments.length; )
242
- (n = arguments[e++]) && (o = ve(n)) && (s && (s += " "), s += o);
243
- return s;
244
- }
245
- const ve = (e) => {
246
- if (typeof e == "string")
247
- return e;
248
- let n, o = "";
249
- for (let s = 0; s < e.length; s++)
250
- e[s] && (n = ve(e[s])) && (o && (o += " "), o += n);
251
- return o;
252
- };
253
- function Ue(e, ...n) {
254
- let o, s, l, c = i;
255
- function i(u) {
256
- const f = n.reduce((b, w) => w(b), e());
257
- return o = Fe(f), s = o.cache.get, l = o.cache.set, c = p, p(u);
258
- }
259
- function p(u) {
260
- const f = s(u);
261
- if (f)
262
- return f;
263
- const b = We(u, o);
264
- return l(u, b), b;
265
- }
266
- return function() {
267
- return c($e.apply(null, arguments));
268
- };
269
- }
270
- const g = (e) => {
271
- const n = (o) => o[e] || [];
272
- return n.isThemeGetter = !0, n;
273
- }, ze = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ce = /^\((?:(\w[\w-]*):)?(.+)\)$/i, qe = /^\d+\/\d+$/, He = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Je = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ke = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Xe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, De = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, j = (e) => qe.test(e), m = (e) => !!e && !Number.isNaN(Number(e)), I = (e) => !!e && Number.isInteger(Number(e)), ee = (e) => e.endsWith("%") && m(e.slice(0, -1)), A = (e) => He.test(e), Qe = () => !0, Ye = (e) => (
274
- // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
275
- // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
276
- // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
277
- Je.test(e) && !Ke.test(e)
278
- ), Me = () => !1, Ze = (e) => Xe.test(e), eo = (e) => De.test(e), oo = (e) => !r(e) && !t(e), ro = (e) => O(e, Ie, Me), r = (e) => ze.test(e), N = (e) => O(e, Pe, Ye), oe = (e) => O(e, io, m), xe = (e) => O(e, Se, Me), to = (e) => O(e, Ae, eo), X = (e) => O(e, Re, Ze), t = (e) => Ce.test(e), W = (e) => _(e, Pe), so = (e) => _(e, lo), we = (e) => _(e, Se), no = (e) => _(e, Ie), ao = (e) => _(e, Ae), D = (e) => _(e, Re, !0), O = (e, n, o) => {
279
- const s = ze.exec(e);
280
- return s ? s[1] ? n(s[1]) : o(s[2]) : !1;
281
- }, _ = (e, n, o = !1) => {
282
- const s = Ce.exec(e);
283
- return s ? s[1] ? n(s[1]) : o : !1;
284
- }, Se = (e) => e === "position" || e === "percentage", Ae = (e) => e === "image" || e === "url", Ie = (e) => e === "length" || e === "size" || e === "bg-size", Pe = (e) => e === "length", io = (e) => e === "number", lo = (e) => e === "family-name", Re = (e) => e === "shadow", co = () => {
285
- const e = g("color"), n = g("font"), o = g("text"), s = g("font-weight"), l = g("tracking"), c = g("leading"), i = g("breakpoint"), p = g("container"), u = g("spacing"), f = g("radius"), b = g("shadow"), w = g("inset-shadow"), z = g("text-shadow"), P = g("drop-shadow"), k = g("blur"), y = g("perspective"), C = g("aspect"), R = g("ease"), $ = g("animate"), F = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], V = () => [
286
- "center",
287
- "top",
288
- "bottom",
289
- "left",
290
- "right",
291
- "top-left",
292
- // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
293
- "left-top",
294
- "top-right",
295
- // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
296
- "right-top",
297
- "bottom-right",
298
- // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
299
- "right-bottom",
300
- "bottom-left",
301
- // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
302
- "left-bottom"
303
- ], E = () => [...V(), t, r], G = () => ["auto", "hidden", "clip", "visible", "scroll"], B = () => ["auto", "contain", "none"], d = () => [t, r, u], M = () => [j, "full", "auto", ...d()], ae = () => [I, "none", "subgrid", t, r], ie = () => ["auto", {
304
- span: ["full", I, t, r]
305
- }, I, t, r], U = () => [I, "auto", t, r], le = () => ["auto", "min", "max", "fr", t, r], Q = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], L = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], S = () => ["auto", ...d()], T = () => [j, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...d()], a = () => [e, t, r], ce = () => [...V(), we, xe, {
306
- position: [t, r]
307
- }], de = () => ["no-repeat", {
308
- repeat: ["", "x", "y", "space", "round"]
309
- }], me = () => ["auto", "cover", "contain", no, ro, {
310
- size: [t, r]
311
- }], Y = () => [ee, W, N], x = () => [
312
- // Deprecated since Tailwind CSS v4.0.0
313
- "",
314
- "none",
315
- "full",
316
- f,
317
- t,
318
- r
319
- ], v = () => ["", m, W, N], q = () => ["solid", "dashed", "dotted", "double"], ue = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], h = () => [m, ee, we, xe], pe = () => [
320
- // Deprecated since Tailwind CSS v4.0.0
321
- "",
322
- "none",
323
- k,
324
- t,
325
- r
326
- ], H = () => ["none", m, t, r], J = () => ["none", m, t, r], Z = () => [m, t, r], K = () => [j, "full", ...d()];
327
- return {
328
- cacheSize: 500,
329
- theme: {
330
- animate: ["spin", "ping", "pulse", "bounce"],
331
- aspect: ["video"],
332
- blur: [A],
333
- breakpoint: [A],
334
- color: [Qe],
335
- container: [A],
336
- "drop-shadow": [A],
337
- ease: ["in", "out", "in-out"],
338
- font: [oo],
339
- "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
340
- "inset-shadow": [A],
341
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
342
- perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
343
- radius: [A],
344
- shadow: [A],
345
- spacing: ["px", m],
346
- text: [A],
347
- "text-shadow": [A],
348
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
349
- },
350
- classGroups: {
351
- // --------------
352
- // --- Layout ---
353
- // --------------
354
- /**
355
- * Aspect Ratio
356
- * @see https://tailwindcss.com/docs/aspect-ratio
357
- */
358
- aspect: [{
359
- aspect: ["auto", "square", j, r, t, C]
360
- }],
361
- /**
362
- * Container
363
- * @see https://tailwindcss.com/docs/container
364
- * @deprecated since Tailwind CSS v4.0.0
365
- */
366
- container: ["container"],
367
- /**
368
- * Columns
369
- * @see https://tailwindcss.com/docs/columns
370
- */
371
- columns: [{
372
- columns: [m, r, t, p]
373
- }],
374
- /**
375
- * Break After
376
- * @see https://tailwindcss.com/docs/break-after
377
- */
378
- "break-after": [{
379
- "break-after": F()
380
- }],
381
- /**
382
- * Break Before
383
- * @see https://tailwindcss.com/docs/break-before
384
- */
385
- "break-before": [{
386
- "break-before": F()
387
- }],
388
- /**
389
- * Break Inside
390
- * @see https://tailwindcss.com/docs/break-inside
391
- */
392
- "break-inside": [{
393
- "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
394
- }],
395
- /**
396
- * Box Decoration Break
397
- * @see https://tailwindcss.com/docs/box-decoration-break
398
- */
399
- "box-decoration": [{
400
- "box-decoration": ["slice", "clone"]
401
- }],
402
- /**
403
- * Box Sizing
404
- * @see https://tailwindcss.com/docs/box-sizing
405
- */
406
- box: [{
407
- box: ["border", "content"]
408
- }],
409
- /**
410
- * Display
411
- * @see https://tailwindcss.com/docs/display
412
- */
413
- display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
414
- /**
415
- * Screen Reader Only
416
- * @see https://tailwindcss.com/docs/display#screen-reader-only
417
- */
418
- sr: ["sr-only", "not-sr-only"],
419
- /**
420
- * Floats
421
- * @see https://tailwindcss.com/docs/float
422
- */
423
- float: [{
424
- float: ["right", "left", "none", "start", "end"]
425
- }],
426
- /**
427
- * Clear
428
- * @see https://tailwindcss.com/docs/clear
429
- */
430
- clear: [{
431
- clear: ["left", "right", "both", "none", "start", "end"]
432
- }],
433
- /**
434
- * Isolation
435
- * @see https://tailwindcss.com/docs/isolation
436
- */
437
- isolation: ["isolate", "isolation-auto"],
438
- /**
439
- * Object Fit
440
- * @see https://tailwindcss.com/docs/object-fit
441
- */
442
- "object-fit": [{
443
- object: ["contain", "cover", "fill", "none", "scale-down"]
444
- }],
445
- /**
446
- * Object Position
447
- * @see https://tailwindcss.com/docs/object-position
448
- */
449
- "object-position": [{
450
- object: E()
451
- }],
452
- /**
453
- * Overflow
454
- * @see https://tailwindcss.com/docs/overflow
455
- */
456
- overflow: [{
457
- overflow: G()
458
- }],
459
- /**
460
- * Overflow X
461
- * @see https://tailwindcss.com/docs/overflow
462
- */
463
- "overflow-x": [{
464
- "overflow-x": G()
465
- }],
466
- /**
467
- * Overflow Y
468
- * @see https://tailwindcss.com/docs/overflow
469
- */
470
- "overflow-y": [{
471
- "overflow-y": G()
472
- }],
473
- /**
474
- * Overscroll Behavior
475
- * @see https://tailwindcss.com/docs/overscroll-behavior
476
- */
477
- overscroll: [{
478
- overscroll: B()
479
- }],
480
- /**
481
- * Overscroll Behavior X
482
- * @see https://tailwindcss.com/docs/overscroll-behavior
483
- */
484
- "overscroll-x": [{
485
- "overscroll-x": B()
486
- }],
487
- /**
488
- * Overscroll Behavior Y
489
- * @see https://tailwindcss.com/docs/overscroll-behavior
490
- */
491
- "overscroll-y": [{
492
- "overscroll-y": B()
493
- }],
494
- /**
495
- * Position
496
- * @see https://tailwindcss.com/docs/position
497
- */
498
- position: ["static", "fixed", "absolute", "relative", "sticky"],
499
- /**
500
- * Top / Right / Bottom / Left
501
- * @see https://tailwindcss.com/docs/top-right-bottom-left
502
- */
503
- inset: [{
504
- inset: M()
505
- }],
506
- /**
507
- * Right / Left
508
- * @see https://tailwindcss.com/docs/top-right-bottom-left
509
- */
510
- "inset-x": [{
511
- "inset-x": M()
512
- }],
513
- /**
514
- * Top / Bottom
515
- * @see https://tailwindcss.com/docs/top-right-bottom-left
516
- */
517
- "inset-y": [{
518
- "inset-y": M()
519
- }],
520
- /**
521
- * Start
522
- * @see https://tailwindcss.com/docs/top-right-bottom-left
523
- */
524
- start: [{
525
- start: M()
526
- }],
527
- /**
528
- * End
529
- * @see https://tailwindcss.com/docs/top-right-bottom-left
530
- */
531
- end: [{
532
- end: M()
533
- }],
534
- /**
535
- * Top
536
- * @see https://tailwindcss.com/docs/top-right-bottom-left
537
- */
538
- top: [{
539
- top: M()
540
- }],
541
- /**
542
- * Right
543
- * @see https://tailwindcss.com/docs/top-right-bottom-left
544
- */
545
- right: [{
546
- right: M()
547
- }],
548
- /**
549
- * Bottom
550
- * @see https://tailwindcss.com/docs/top-right-bottom-left
551
- */
552
- bottom: [{
553
- bottom: M()
554
- }],
555
- /**
556
- * Left
557
- * @see https://tailwindcss.com/docs/top-right-bottom-left
558
- */
559
- left: [{
560
- left: M()
561
- }],
562
- /**
563
- * Visibility
564
- * @see https://tailwindcss.com/docs/visibility
565
- */
566
- visibility: ["visible", "invisible", "collapse"],
567
- /**
568
- * Z-Index
569
- * @see https://tailwindcss.com/docs/z-index
570
- */
571
- z: [{
572
- z: [I, "auto", t, r]
573
- }],
574
- // ------------------------
575
- // --- Flexbox and Grid ---
576
- // ------------------------
577
- /**
578
- * Flex Basis
579
- * @see https://tailwindcss.com/docs/flex-basis
580
- */
581
- basis: [{
582
- basis: [j, "full", "auto", p, ...d()]
583
- }],
584
- /**
585
- * Flex Direction
586
- * @see https://tailwindcss.com/docs/flex-direction
587
- */
588
- "flex-direction": [{
589
- flex: ["row", "row-reverse", "col", "col-reverse"]
590
- }],
591
- /**
592
- * Flex Wrap
593
- * @see https://tailwindcss.com/docs/flex-wrap
594
- */
595
- "flex-wrap": [{
596
- flex: ["nowrap", "wrap", "wrap-reverse"]
597
- }],
598
- /**
599
- * Flex
600
- * @see https://tailwindcss.com/docs/flex
601
- */
602
- flex: [{
603
- flex: [m, j, "auto", "initial", "none", r]
604
- }],
605
- /**
606
- * Flex Grow
607
- * @see https://tailwindcss.com/docs/flex-grow
608
- */
609
- grow: [{
610
- grow: ["", m, t, r]
611
- }],
612
- /**
613
- * Flex Shrink
614
- * @see https://tailwindcss.com/docs/flex-shrink
615
- */
616
- shrink: [{
617
- shrink: ["", m, t, r]
618
- }],
619
- /**
620
- * Order
621
- * @see https://tailwindcss.com/docs/order
622
- */
623
- order: [{
624
- order: [I, "first", "last", "none", t, r]
625
- }],
626
- /**
627
- * Grid Template Columns
628
- * @see https://tailwindcss.com/docs/grid-template-columns
629
- */
630
- "grid-cols": [{
631
- "grid-cols": ae()
632
- }],
633
- /**
634
- * Grid Column Start / End
635
- * @see https://tailwindcss.com/docs/grid-column
636
- */
637
- "col-start-end": [{
638
- col: ie()
639
- }],
640
- /**
641
- * Grid Column Start
642
- * @see https://tailwindcss.com/docs/grid-column
643
- */
644
- "col-start": [{
645
- "col-start": U()
646
- }],
647
- /**
648
- * Grid Column End
649
- * @see https://tailwindcss.com/docs/grid-column
650
- */
651
- "col-end": [{
652
- "col-end": U()
653
- }],
654
- /**
655
- * Grid Template Rows
656
- * @see https://tailwindcss.com/docs/grid-template-rows
657
- */
658
- "grid-rows": [{
659
- "grid-rows": ae()
660
- }],
661
- /**
662
- * Grid Row Start / End
663
- * @see https://tailwindcss.com/docs/grid-row
664
- */
665
- "row-start-end": [{
666
- row: ie()
667
- }],
668
- /**
669
- * Grid Row Start
670
- * @see https://tailwindcss.com/docs/grid-row
671
- */
672
- "row-start": [{
673
- "row-start": U()
674
- }],
675
- /**
676
- * Grid Row End
677
- * @see https://tailwindcss.com/docs/grid-row
678
- */
679
- "row-end": [{
680
- "row-end": U()
681
- }],
682
- /**
683
- * Grid Auto Flow
684
- * @see https://tailwindcss.com/docs/grid-auto-flow
685
- */
686
- "grid-flow": [{
687
- "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
688
- }],
689
- /**
690
- * Grid Auto Columns
691
- * @see https://tailwindcss.com/docs/grid-auto-columns
692
- */
693
- "auto-cols": [{
694
- "auto-cols": le()
695
- }],
696
- /**
697
- * Grid Auto Rows
698
- * @see https://tailwindcss.com/docs/grid-auto-rows
699
- */
700
- "auto-rows": [{
701
- "auto-rows": le()
702
- }],
703
- /**
704
- * Gap
705
- * @see https://tailwindcss.com/docs/gap
706
- */
707
- gap: [{
708
- gap: d()
709
- }],
710
- /**
711
- * Gap X
712
- * @see https://tailwindcss.com/docs/gap
713
- */
714
- "gap-x": [{
715
- "gap-x": d()
716
- }],
717
- /**
718
- * Gap Y
719
- * @see https://tailwindcss.com/docs/gap
720
- */
721
- "gap-y": [{
722
- "gap-y": d()
723
- }],
724
- /**
725
- * Justify Content
726
- * @see https://tailwindcss.com/docs/justify-content
727
- */
728
- "justify-content": [{
729
- justify: [...Q(), "normal"]
730
- }],
731
- /**
732
- * Justify Items
733
- * @see https://tailwindcss.com/docs/justify-items
734
- */
735
- "justify-items": [{
736
- "justify-items": [...L(), "normal"]
737
- }],
738
- /**
739
- * Justify Self
740
- * @see https://tailwindcss.com/docs/justify-self
741
- */
742
- "justify-self": [{
743
- "justify-self": ["auto", ...L()]
744
- }],
745
- /**
746
- * Align Content
747
- * @see https://tailwindcss.com/docs/align-content
748
- */
749
- "align-content": [{
750
- content: ["normal", ...Q()]
751
- }],
752
- /**
753
- * Align Items
754
- * @see https://tailwindcss.com/docs/align-items
755
- */
756
- "align-items": [{
757
- items: [...L(), {
758
- baseline: ["", "last"]
759
- }]
760
- }],
761
- /**
762
- * Align Self
763
- * @see https://tailwindcss.com/docs/align-self
764
- */
765
- "align-self": [{
766
- self: ["auto", ...L(), {
767
- baseline: ["", "last"]
768
- }]
769
- }],
770
- /**
771
- * Place Content
772
- * @see https://tailwindcss.com/docs/place-content
773
- */
774
- "place-content": [{
775
- "place-content": Q()
776
- }],
777
- /**
778
- * Place Items
779
- * @see https://tailwindcss.com/docs/place-items
780
- */
781
- "place-items": [{
782
- "place-items": [...L(), "baseline"]
783
- }],
784
- /**
785
- * Place Self
786
- * @see https://tailwindcss.com/docs/place-self
787
- */
788
- "place-self": [{
789
- "place-self": ["auto", ...L()]
790
- }],
791
- // Spacing
792
- /**
793
- * Padding
794
- * @see https://tailwindcss.com/docs/padding
795
- */
796
- p: [{
797
- p: d()
798
- }],
799
- /**
800
- * Padding X
801
- * @see https://tailwindcss.com/docs/padding
802
- */
803
- px: [{
804
- px: d()
805
- }],
806
- /**
807
- * Padding Y
808
- * @see https://tailwindcss.com/docs/padding
809
- */
810
- py: [{
811
- py: d()
812
- }],
813
- /**
814
- * Padding Start
815
- * @see https://tailwindcss.com/docs/padding
816
- */
817
- ps: [{
818
- ps: d()
819
- }],
820
- /**
821
- * Padding End
822
- * @see https://tailwindcss.com/docs/padding
823
- */
824
- pe: [{
825
- pe: d()
826
- }],
827
- /**
828
- * Padding Top
829
- * @see https://tailwindcss.com/docs/padding
830
- */
831
- pt: [{
832
- pt: d()
833
- }],
834
- /**
835
- * Padding Right
836
- * @see https://tailwindcss.com/docs/padding
837
- */
838
- pr: [{
839
- pr: d()
840
- }],
841
- /**
842
- * Padding Bottom
843
- * @see https://tailwindcss.com/docs/padding
844
- */
845
- pb: [{
846
- pb: d()
847
- }],
848
- /**
849
- * Padding Left
850
- * @see https://tailwindcss.com/docs/padding
851
- */
852
- pl: [{
853
- pl: d()
854
- }],
855
- /**
856
- * Margin
857
- * @see https://tailwindcss.com/docs/margin
858
- */
859
- m: [{
860
- m: S()
861
- }],
862
- /**
863
- * Margin X
864
- * @see https://tailwindcss.com/docs/margin
865
- */
866
- mx: [{
867
- mx: S()
868
- }],
869
- /**
870
- * Margin Y
871
- * @see https://tailwindcss.com/docs/margin
872
- */
873
- my: [{
874
- my: S()
875
- }],
876
- /**
877
- * Margin Start
878
- * @see https://tailwindcss.com/docs/margin
879
- */
880
- ms: [{
881
- ms: S()
882
- }],
883
- /**
884
- * Margin End
885
- * @see https://tailwindcss.com/docs/margin
886
- */
887
- me: [{
888
- me: S()
889
- }],
890
- /**
891
- * Margin Top
892
- * @see https://tailwindcss.com/docs/margin
893
- */
894
- mt: [{
895
- mt: S()
896
- }],
897
- /**
898
- * Margin Right
899
- * @see https://tailwindcss.com/docs/margin
900
- */
901
- mr: [{
902
- mr: S()
903
- }],
904
- /**
905
- * Margin Bottom
906
- * @see https://tailwindcss.com/docs/margin
907
- */
908
- mb: [{
909
- mb: S()
910
- }],
911
- /**
912
- * Margin Left
913
- * @see https://tailwindcss.com/docs/margin
914
- */
915
- ml: [{
916
- ml: S()
917
- }],
918
- /**
919
- * Space Between X
920
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
921
- */
922
- "space-x": [{
923
- "space-x": d()
924
- }],
925
- /**
926
- * Space Between X Reverse
927
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
928
- */
929
- "space-x-reverse": ["space-x-reverse"],
930
- /**
931
- * Space Between Y
932
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
933
- */
934
- "space-y": [{
935
- "space-y": d()
936
- }],
937
- /**
938
- * Space Between Y Reverse
939
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
940
- */
941
- "space-y-reverse": ["space-y-reverse"],
942
- // --------------
943
- // --- Sizing ---
944
- // --------------
945
- /**
946
- * Size
947
- * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
948
- */
949
- size: [{
950
- size: T()
951
- }],
952
- /**
953
- * Width
954
- * @see https://tailwindcss.com/docs/width
955
- */
956
- w: [{
957
- w: [p, "screen", ...T()]
958
- }],
959
- /**
960
- * Min-Width
961
- * @see https://tailwindcss.com/docs/min-width
962
- */
963
- "min-w": [{
964
- "min-w": [
965
- p,
966
- "screen",
967
- /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
968
- "none",
969
- ...T()
970
- ]
971
- }],
972
- /**
973
- * Max-Width
974
- * @see https://tailwindcss.com/docs/max-width
975
- */
976
- "max-w": [{
977
- "max-w": [
978
- p,
979
- "screen",
980
- "none",
981
- /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
982
- "prose",
983
- /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
984
- {
985
- screen: [i]
986
- },
987
- ...T()
988
- ]
989
- }],
990
- /**
991
- * Height
992
- * @see https://tailwindcss.com/docs/height
993
- */
994
- h: [{
995
- h: ["screen", "lh", ...T()]
996
- }],
997
- /**
998
- * Min-Height
999
- * @see https://tailwindcss.com/docs/min-height
1000
- */
1001
- "min-h": [{
1002
- "min-h": ["screen", "lh", "none", ...T()]
1003
- }],
1004
- /**
1005
- * Max-Height
1006
- * @see https://tailwindcss.com/docs/max-height
1007
- */
1008
- "max-h": [{
1009
- "max-h": ["screen", "lh", ...T()]
1010
- }],
1011
- // ------------------
1012
- // --- Typography ---
1013
- // ------------------
1014
- /**
1015
- * Font Size
1016
- * @see https://tailwindcss.com/docs/font-size
1017
- */
1018
- "font-size": [{
1019
- text: ["base", o, W, N]
1020
- }],
1021
- /**
1022
- * Font Smoothing
1023
- * @see https://tailwindcss.com/docs/font-smoothing
1024
- */
1025
- "font-smoothing": ["antialiased", "subpixel-antialiased"],
1026
- /**
1027
- * Font Style
1028
- * @see https://tailwindcss.com/docs/font-style
1029
- */
1030
- "font-style": ["italic", "not-italic"],
1031
- /**
1032
- * Font Weight
1033
- * @see https://tailwindcss.com/docs/font-weight
1034
- */
1035
- "font-weight": [{
1036
- font: [s, t, oe]
1037
- }],
1038
- /**
1039
- * Font Stretch
1040
- * @see https://tailwindcss.com/docs/font-stretch
1041
- */
1042
- "font-stretch": [{
1043
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ee, r]
1044
- }],
1045
- /**
1046
- * Font Family
1047
- * @see https://tailwindcss.com/docs/font-family
1048
- */
1049
- "font-family": [{
1050
- font: [so, r, n]
1051
- }],
1052
- /**
1053
- * Font Variant Numeric
1054
- * @see https://tailwindcss.com/docs/font-variant-numeric
1055
- */
1056
- "fvn-normal": ["normal-nums"],
1057
- /**
1058
- * Font Variant Numeric
1059
- * @see https://tailwindcss.com/docs/font-variant-numeric
1060
- */
1061
- "fvn-ordinal": ["ordinal"],
1062
- /**
1063
- * Font Variant Numeric
1064
- * @see https://tailwindcss.com/docs/font-variant-numeric
1065
- */
1066
- "fvn-slashed-zero": ["slashed-zero"],
1067
- /**
1068
- * Font Variant Numeric
1069
- * @see https://tailwindcss.com/docs/font-variant-numeric
1070
- */
1071
- "fvn-figure": ["lining-nums", "oldstyle-nums"],
1072
- /**
1073
- * Font Variant Numeric
1074
- * @see https://tailwindcss.com/docs/font-variant-numeric
1075
- */
1076
- "fvn-spacing": ["proportional-nums", "tabular-nums"],
1077
- /**
1078
- * Font Variant Numeric
1079
- * @see https://tailwindcss.com/docs/font-variant-numeric
1080
- */
1081
- "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1082
- /**
1083
- * Letter Spacing
1084
- * @see https://tailwindcss.com/docs/letter-spacing
1085
- */
1086
- tracking: [{
1087
- tracking: [l, t, r]
1088
- }],
1089
- /**
1090
- * Line Clamp
1091
- * @see https://tailwindcss.com/docs/line-clamp
1092
- */
1093
- "line-clamp": [{
1094
- "line-clamp": [m, "none", t, oe]
1095
- }],
1096
- /**
1097
- * Line Height
1098
- * @see https://tailwindcss.com/docs/line-height
1099
- */
1100
- leading: [{
1101
- leading: [
1102
- /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1103
- c,
1104
- ...d()
1105
- ]
1106
- }],
1107
- /**
1108
- * List Style Image
1109
- * @see https://tailwindcss.com/docs/list-style-image
1110
- */
1111
- "list-image": [{
1112
- "list-image": ["none", t, r]
1113
- }],
1114
- /**
1115
- * List Style Position
1116
- * @see https://tailwindcss.com/docs/list-style-position
1117
- */
1118
- "list-style-position": [{
1119
- list: ["inside", "outside"]
1120
- }],
1121
- /**
1122
- * List Style Type
1123
- * @see https://tailwindcss.com/docs/list-style-type
1124
- */
1125
- "list-style-type": [{
1126
- list: ["disc", "decimal", "none", t, r]
1127
- }],
1128
- /**
1129
- * Text Alignment
1130
- * @see https://tailwindcss.com/docs/text-align
1131
- */
1132
- "text-alignment": [{
1133
- text: ["left", "center", "right", "justify", "start", "end"]
1134
- }],
1135
- /**
1136
- * Placeholder Color
1137
- * @deprecated since Tailwind CSS v3.0.0
1138
- * @see https://v3.tailwindcss.com/docs/placeholder-color
1139
- */
1140
- "placeholder-color": [{
1141
- placeholder: a()
1142
- }],
1143
- /**
1144
- * Text Color
1145
- * @see https://tailwindcss.com/docs/text-color
1146
- */
1147
- "text-color": [{
1148
- text: a()
1149
- }],
1150
- /**
1151
- * Text Decoration
1152
- * @see https://tailwindcss.com/docs/text-decoration
1153
- */
1154
- "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1155
- /**
1156
- * Text Decoration Style
1157
- * @see https://tailwindcss.com/docs/text-decoration-style
1158
- */
1159
- "text-decoration-style": [{
1160
- decoration: [...q(), "wavy"]
1161
- }],
1162
- /**
1163
- * Text Decoration Thickness
1164
- * @see https://tailwindcss.com/docs/text-decoration-thickness
1165
- */
1166
- "text-decoration-thickness": [{
1167
- decoration: [m, "from-font", "auto", t, N]
1168
- }],
1169
- /**
1170
- * Text Decoration Color
1171
- * @see https://tailwindcss.com/docs/text-decoration-color
1172
- */
1173
- "text-decoration-color": [{
1174
- decoration: a()
1175
- }],
1176
- /**
1177
- * Text Underline Offset
1178
- * @see https://tailwindcss.com/docs/text-underline-offset
1179
- */
1180
- "underline-offset": [{
1181
- "underline-offset": [m, "auto", t, r]
1182
- }],
1183
- /**
1184
- * Text Transform
1185
- * @see https://tailwindcss.com/docs/text-transform
1186
- */
1187
- "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1188
- /**
1189
- * Text Overflow
1190
- * @see https://tailwindcss.com/docs/text-overflow
1191
- */
1192
- "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1193
- /**
1194
- * Text Wrap
1195
- * @see https://tailwindcss.com/docs/text-wrap
1196
- */
1197
- "text-wrap": [{
1198
- text: ["wrap", "nowrap", "balance", "pretty"]
1199
- }],
1200
- /**
1201
- * Text Indent
1202
- * @see https://tailwindcss.com/docs/text-indent
1203
- */
1204
- indent: [{
1205
- indent: d()
1206
- }],
1207
- /**
1208
- * Vertical Alignment
1209
- * @see https://tailwindcss.com/docs/vertical-align
1210
- */
1211
- "vertical-align": [{
1212
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", t, r]
1213
- }],
1214
- /**
1215
- * Whitespace
1216
- * @see https://tailwindcss.com/docs/whitespace
1217
- */
1218
- whitespace: [{
1219
- whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1220
- }],
1221
- /**
1222
- * Word Break
1223
- * @see https://tailwindcss.com/docs/word-break
1224
- */
1225
- break: [{
1226
- break: ["normal", "words", "all", "keep"]
1227
- }],
1228
- /**
1229
- * Overflow Wrap
1230
- * @see https://tailwindcss.com/docs/overflow-wrap
1231
- */
1232
- wrap: [{
1233
- wrap: ["break-word", "anywhere", "normal"]
1234
- }],
1235
- /**
1236
- * Hyphens
1237
- * @see https://tailwindcss.com/docs/hyphens
1238
- */
1239
- hyphens: [{
1240
- hyphens: ["none", "manual", "auto"]
1241
- }],
1242
- /**
1243
- * Content
1244
- * @see https://tailwindcss.com/docs/content
1245
- */
1246
- content: [{
1247
- content: ["none", t, r]
1248
- }],
1249
- // -------------------
1250
- // --- Backgrounds ---
1251
- // -------------------
1252
- /**
1253
- * Background Attachment
1254
- * @see https://tailwindcss.com/docs/background-attachment
1255
- */
1256
- "bg-attachment": [{
1257
- bg: ["fixed", "local", "scroll"]
1258
- }],
1259
- /**
1260
- * Background Clip
1261
- * @see https://tailwindcss.com/docs/background-clip
1262
- */
1263
- "bg-clip": [{
1264
- "bg-clip": ["border", "padding", "content", "text"]
1265
- }],
1266
- /**
1267
- * Background Origin
1268
- * @see https://tailwindcss.com/docs/background-origin
1269
- */
1270
- "bg-origin": [{
1271
- "bg-origin": ["border", "padding", "content"]
1272
- }],
1273
- /**
1274
- * Background Position
1275
- * @see https://tailwindcss.com/docs/background-position
1276
- */
1277
- "bg-position": [{
1278
- bg: ce()
1279
- }],
1280
- /**
1281
- * Background Repeat
1282
- * @see https://tailwindcss.com/docs/background-repeat
1283
- */
1284
- "bg-repeat": [{
1285
- bg: de()
1286
- }],
1287
- /**
1288
- * Background Size
1289
- * @see https://tailwindcss.com/docs/background-size
1290
- */
1291
- "bg-size": [{
1292
- bg: me()
1293
- }],
1294
- /**
1295
- * Background Image
1296
- * @see https://tailwindcss.com/docs/background-image
1297
- */
1298
- "bg-image": [{
1299
- bg: ["none", {
1300
- linear: [{
1301
- to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1302
- }, I, t, r],
1303
- radial: ["", t, r],
1304
- conic: [I, t, r]
1305
- }, ao, to]
1306
- }],
1307
- /**
1308
- * Background Color
1309
- * @see https://tailwindcss.com/docs/background-color
1310
- */
1311
- "bg-color": [{
1312
- bg: a()
1313
- }],
1314
- /**
1315
- * Gradient Color Stops From Position
1316
- * @see https://tailwindcss.com/docs/gradient-color-stops
1317
- */
1318
- "gradient-from-pos": [{
1319
- from: Y()
1320
- }],
1321
- /**
1322
- * Gradient Color Stops Via Position
1323
- * @see https://tailwindcss.com/docs/gradient-color-stops
1324
- */
1325
- "gradient-via-pos": [{
1326
- via: Y()
1327
- }],
1328
- /**
1329
- * Gradient Color Stops To Position
1330
- * @see https://tailwindcss.com/docs/gradient-color-stops
1331
- */
1332
- "gradient-to-pos": [{
1333
- to: Y()
1334
- }],
1335
- /**
1336
- * Gradient Color Stops From
1337
- * @see https://tailwindcss.com/docs/gradient-color-stops
1338
- */
1339
- "gradient-from": [{
1340
- from: a()
1341
- }],
1342
- /**
1343
- * Gradient Color Stops Via
1344
- * @see https://tailwindcss.com/docs/gradient-color-stops
1345
- */
1346
- "gradient-via": [{
1347
- via: a()
1348
- }],
1349
- /**
1350
- * Gradient Color Stops To
1351
- * @see https://tailwindcss.com/docs/gradient-color-stops
1352
- */
1353
- "gradient-to": [{
1354
- to: a()
1355
- }],
1356
- // ---------------
1357
- // --- Borders ---
1358
- // ---------------
1359
- /**
1360
- * Border Radius
1361
- * @see https://tailwindcss.com/docs/border-radius
1362
- */
1363
- rounded: [{
1364
- rounded: x()
1365
- }],
1366
- /**
1367
- * Border Radius Start
1368
- * @see https://tailwindcss.com/docs/border-radius
1369
- */
1370
- "rounded-s": [{
1371
- "rounded-s": x()
1372
- }],
1373
- /**
1374
- * Border Radius End
1375
- * @see https://tailwindcss.com/docs/border-radius
1376
- */
1377
- "rounded-e": [{
1378
- "rounded-e": x()
1379
- }],
1380
- /**
1381
- * Border Radius Top
1382
- * @see https://tailwindcss.com/docs/border-radius
1383
- */
1384
- "rounded-t": [{
1385
- "rounded-t": x()
1386
- }],
1387
- /**
1388
- * Border Radius Right
1389
- * @see https://tailwindcss.com/docs/border-radius
1390
- */
1391
- "rounded-r": [{
1392
- "rounded-r": x()
1393
- }],
1394
- /**
1395
- * Border Radius Bottom
1396
- * @see https://tailwindcss.com/docs/border-radius
1397
- */
1398
- "rounded-b": [{
1399
- "rounded-b": x()
1400
- }],
1401
- /**
1402
- * Border Radius Left
1403
- * @see https://tailwindcss.com/docs/border-radius
1404
- */
1405
- "rounded-l": [{
1406
- "rounded-l": x()
1407
- }],
1408
- /**
1409
- * Border Radius Start Start
1410
- * @see https://tailwindcss.com/docs/border-radius
1411
- */
1412
- "rounded-ss": [{
1413
- "rounded-ss": x()
1414
- }],
1415
- /**
1416
- * Border Radius Start End
1417
- * @see https://tailwindcss.com/docs/border-radius
1418
- */
1419
- "rounded-se": [{
1420
- "rounded-se": x()
1421
- }],
1422
- /**
1423
- * Border Radius End End
1424
- * @see https://tailwindcss.com/docs/border-radius
1425
- */
1426
- "rounded-ee": [{
1427
- "rounded-ee": x()
1428
- }],
1429
- /**
1430
- * Border Radius End Start
1431
- * @see https://tailwindcss.com/docs/border-radius
1432
- */
1433
- "rounded-es": [{
1434
- "rounded-es": x()
1435
- }],
1436
- /**
1437
- * Border Radius Top Left
1438
- * @see https://tailwindcss.com/docs/border-radius
1439
- */
1440
- "rounded-tl": [{
1441
- "rounded-tl": x()
1442
- }],
1443
- /**
1444
- * Border Radius Top Right
1445
- * @see https://tailwindcss.com/docs/border-radius
1446
- */
1447
- "rounded-tr": [{
1448
- "rounded-tr": x()
1449
- }],
1450
- /**
1451
- * Border Radius Bottom Right
1452
- * @see https://tailwindcss.com/docs/border-radius
1453
- */
1454
- "rounded-br": [{
1455
- "rounded-br": x()
1456
- }],
1457
- /**
1458
- * Border Radius Bottom Left
1459
- * @see https://tailwindcss.com/docs/border-radius
1460
- */
1461
- "rounded-bl": [{
1462
- "rounded-bl": x()
1463
- }],
1464
- /**
1465
- * Border Width
1466
- * @see https://tailwindcss.com/docs/border-width
1467
- */
1468
- "border-w": [{
1469
- border: v()
1470
- }],
1471
- /**
1472
- * Border Width X
1473
- * @see https://tailwindcss.com/docs/border-width
1474
- */
1475
- "border-w-x": [{
1476
- "border-x": v()
1477
- }],
1478
- /**
1479
- * Border Width Y
1480
- * @see https://tailwindcss.com/docs/border-width
1481
- */
1482
- "border-w-y": [{
1483
- "border-y": v()
1484
- }],
1485
- /**
1486
- * Border Width Start
1487
- * @see https://tailwindcss.com/docs/border-width
1488
- */
1489
- "border-w-s": [{
1490
- "border-s": v()
1491
- }],
1492
- /**
1493
- * Border Width End
1494
- * @see https://tailwindcss.com/docs/border-width
1495
- */
1496
- "border-w-e": [{
1497
- "border-e": v()
1498
- }],
1499
- /**
1500
- * Border Width Top
1501
- * @see https://tailwindcss.com/docs/border-width
1502
- */
1503
- "border-w-t": [{
1504
- "border-t": v()
1505
- }],
1506
- /**
1507
- * Border Width Right
1508
- * @see https://tailwindcss.com/docs/border-width
1509
- */
1510
- "border-w-r": [{
1511
- "border-r": v()
1512
- }],
1513
- /**
1514
- * Border Width Bottom
1515
- * @see https://tailwindcss.com/docs/border-width
1516
- */
1517
- "border-w-b": [{
1518
- "border-b": v()
1519
- }],
1520
- /**
1521
- * Border Width Left
1522
- * @see https://tailwindcss.com/docs/border-width
1523
- */
1524
- "border-w-l": [{
1525
- "border-l": v()
1526
- }],
1527
- /**
1528
- * Divide Width X
1529
- * @see https://tailwindcss.com/docs/border-width#between-children
1530
- */
1531
- "divide-x": [{
1532
- "divide-x": v()
1533
- }],
1534
- /**
1535
- * Divide Width X Reverse
1536
- * @see https://tailwindcss.com/docs/border-width#between-children
1537
- */
1538
- "divide-x-reverse": ["divide-x-reverse"],
1539
- /**
1540
- * Divide Width Y
1541
- * @see https://tailwindcss.com/docs/border-width#between-children
1542
- */
1543
- "divide-y": [{
1544
- "divide-y": v()
1545
- }],
1546
- /**
1547
- * Divide Width Y Reverse
1548
- * @see https://tailwindcss.com/docs/border-width#between-children
1549
- */
1550
- "divide-y-reverse": ["divide-y-reverse"],
1551
- /**
1552
- * Border Style
1553
- * @see https://tailwindcss.com/docs/border-style
1554
- */
1555
- "border-style": [{
1556
- border: [...q(), "hidden", "none"]
1557
- }],
1558
- /**
1559
- * Divide Style
1560
- * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1561
- */
1562
- "divide-style": [{
1563
- divide: [...q(), "hidden", "none"]
1564
- }],
1565
- /**
1566
- * Border Color
1567
- * @see https://tailwindcss.com/docs/border-color
1568
- */
1569
- "border-color": [{
1570
- border: a()
1571
- }],
1572
- /**
1573
- * Border Color X
1574
- * @see https://tailwindcss.com/docs/border-color
1575
- */
1576
- "border-color-x": [{
1577
- "border-x": a()
1578
- }],
1579
- /**
1580
- * Border Color Y
1581
- * @see https://tailwindcss.com/docs/border-color
1582
- */
1583
- "border-color-y": [{
1584
- "border-y": a()
1585
- }],
1586
- /**
1587
- * Border Color S
1588
- * @see https://tailwindcss.com/docs/border-color
1589
- */
1590
- "border-color-s": [{
1591
- "border-s": a()
1592
- }],
1593
- /**
1594
- * Border Color E
1595
- * @see https://tailwindcss.com/docs/border-color
1596
- */
1597
- "border-color-e": [{
1598
- "border-e": a()
1599
- }],
1600
- /**
1601
- * Border Color Top
1602
- * @see https://tailwindcss.com/docs/border-color
1603
- */
1604
- "border-color-t": [{
1605
- "border-t": a()
1606
- }],
1607
- /**
1608
- * Border Color Right
1609
- * @see https://tailwindcss.com/docs/border-color
1610
- */
1611
- "border-color-r": [{
1612
- "border-r": a()
1613
- }],
1614
- /**
1615
- * Border Color Bottom
1616
- * @see https://tailwindcss.com/docs/border-color
1617
- */
1618
- "border-color-b": [{
1619
- "border-b": a()
1620
- }],
1621
- /**
1622
- * Border Color Left
1623
- * @see https://tailwindcss.com/docs/border-color
1624
- */
1625
- "border-color-l": [{
1626
- "border-l": a()
1627
- }],
1628
- /**
1629
- * Divide Color
1630
- * @see https://tailwindcss.com/docs/divide-color
1631
- */
1632
- "divide-color": [{
1633
- divide: a()
1634
- }],
1635
- /**
1636
- * Outline Style
1637
- * @see https://tailwindcss.com/docs/outline-style
1638
- */
1639
- "outline-style": [{
1640
- outline: [...q(), "none", "hidden"]
1641
- }],
1642
- /**
1643
- * Outline Offset
1644
- * @see https://tailwindcss.com/docs/outline-offset
1645
- */
1646
- "outline-offset": [{
1647
- "outline-offset": [m, t, r]
1648
- }],
1649
- /**
1650
- * Outline Width
1651
- * @see https://tailwindcss.com/docs/outline-width
1652
- */
1653
- "outline-w": [{
1654
- outline: ["", m, W, N]
1655
- }],
1656
- /**
1657
- * Outline Color
1658
- * @see https://tailwindcss.com/docs/outline-color
1659
- */
1660
- "outline-color": [{
1661
- outline: a()
1662
- }],
1663
- // ---------------
1664
- // --- Effects ---
1665
- // ---------------
1666
- /**
1667
- * Box Shadow
1668
- * @see https://tailwindcss.com/docs/box-shadow
1669
- */
1670
- shadow: [{
1671
- shadow: [
1672
- // Deprecated since Tailwind CSS v4.0.0
1673
- "",
1674
- "none",
1675
- b,
1676
- D,
1677
- X
1678
- ]
1679
- }],
1680
- /**
1681
- * Box Shadow Color
1682
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
1683
- */
1684
- "shadow-color": [{
1685
- shadow: a()
1686
- }],
1687
- /**
1688
- * Inset Box Shadow
1689
- * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1690
- */
1691
- "inset-shadow": [{
1692
- "inset-shadow": ["none", w, D, X]
1693
- }],
1694
- /**
1695
- * Inset Box Shadow Color
1696
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
1697
- */
1698
- "inset-shadow-color": [{
1699
- "inset-shadow": a()
1700
- }],
1701
- /**
1702
- * Ring Width
1703
- * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1704
- */
1705
- "ring-w": [{
1706
- ring: v()
1707
- }],
1708
- /**
1709
- * Ring Width Inset
1710
- * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
1711
- * @deprecated since Tailwind CSS v4.0.0
1712
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1713
- */
1714
- "ring-w-inset": ["ring-inset"],
1715
- /**
1716
- * Ring Color
1717
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
1718
- */
1719
- "ring-color": [{
1720
- ring: a()
1721
- }],
1722
- /**
1723
- * Ring Offset Width
1724
- * @see https://v3.tailwindcss.com/docs/ring-offset-width
1725
- * @deprecated since Tailwind CSS v4.0.0
1726
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1727
- */
1728
- "ring-offset-w": [{
1729
- "ring-offset": [m, N]
1730
- }],
1731
- /**
1732
- * Ring Offset Color
1733
- * @see https://v3.tailwindcss.com/docs/ring-offset-color
1734
- * @deprecated since Tailwind CSS v4.0.0
1735
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1736
- */
1737
- "ring-offset-color": [{
1738
- "ring-offset": a()
1739
- }],
1740
- /**
1741
- * Inset Ring Width
1742
- * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
1743
- */
1744
- "inset-ring-w": [{
1745
- "inset-ring": v()
1746
- }],
1747
- /**
1748
- * Inset Ring Color
1749
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
1750
- */
1751
- "inset-ring-color": [{
1752
- "inset-ring": a()
1753
- }],
1754
- /**
1755
- * Text Shadow
1756
- * @see https://tailwindcss.com/docs/text-shadow
1757
- */
1758
- "text-shadow": [{
1759
- "text-shadow": ["none", z, D, X]
1760
- }],
1761
- /**
1762
- * Text Shadow Color
1763
- * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
1764
- */
1765
- "text-shadow-color": [{
1766
- "text-shadow": a()
1767
- }],
1768
- /**
1769
- * Opacity
1770
- * @see https://tailwindcss.com/docs/opacity
1771
- */
1772
- opacity: [{
1773
- opacity: [m, t, r]
1774
- }],
1775
- /**
1776
- * Mix Blend Mode
1777
- * @see https://tailwindcss.com/docs/mix-blend-mode
1778
- */
1779
- "mix-blend": [{
1780
- "mix-blend": [...ue(), "plus-darker", "plus-lighter"]
1781
- }],
1782
- /**
1783
- * Background Blend Mode
1784
- * @see https://tailwindcss.com/docs/background-blend-mode
1785
- */
1786
- "bg-blend": [{
1787
- "bg-blend": ue()
1788
- }],
1789
- /**
1790
- * Mask Clip
1791
- * @see https://tailwindcss.com/docs/mask-clip
1792
- */
1793
- "mask-clip": [{
1794
- "mask-clip": ["border", "padding", "content", "fill", "stroke", "view"]
1795
- }, "mask-no-clip"],
1796
- /**
1797
- * Mask Composite
1798
- * @see https://tailwindcss.com/docs/mask-composite
1799
- */
1800
- "mask-composite": [{
1801
- mask: ["add", "subtract", "intersect", "exclude"]
1802
- }],
1803
- /**
1804
- * Mask Image
1805
- * @see https://tailwindcss.com/docs/mask-image
1806
- */
1807
- "mask-image-linear-pos": [{
1808
- "mask-linear": [m]
1809
- }],
1810
- "mask-image-linear-from-pos": [{
1811
- "mask-linear-from": h()
1812
- }],
1813
- "mask-image-linear-to-pos": [{
1814
- "mask-linear-to": h()
1815
- }],
1816
- "mask-image-linear-from-color": [{
1817
- "mask-linear-from": a()
1818
- }],
1819
- "mask-image-linear-to-color": [{
1820
- "mask-linear-to": a()
1821
- }],
1822
- "mask-image-t-from-pos": [{
1823
- "mask-t-from": h()
1824
- }],
1825
- "mask-image-t-to-pos": [{
1826
- "mask-t-to": h()
1827
- }],
1828
- "mask-image-t-from-color": [{
1829
- "mask-t-from": a()
1830
- }],
1831
- "mask-image-t-to-color": [{
1832
- "mask-t-to": a()
1833
- }],
1834
- "mask-image-r-from-pos": [{
1835
- "mask-r-from": h()
1836
- }],
1837
- "mask-image-r-to-pos": [{
1838
- "mask-r-to": h()
1839
- }],
1840
- "mask-image-r-from-color": [{
1841
- "mask-r-from": a()
1842
- }],
1843
- "mask-image-r-to-color": [{
1844
- "mask-r-to": a()
1845
- }],
1846
- "mask-image-b-from-pos": [{
1847
- "mask-b-from": h()
1848
- }],
1849
- "mask-image-b-to-pos": [{
1850
- "mask-b-to": h()
1851
- }],
1852
- "mask-image-b-from-color": [{
1853
- "mask-b-from": a()
1854
- }],
1855
- "mask-image-b-to-color": [{
1856
- "mask-b-to": a()
1857
- }],
1858
- "mask-image-l-from-pos": [{
1859
- "mask-l-from": h()
1860
- }],
1861
- "mask-image-l-to-pos": [{
1862
- "mask-l-to": h()
1863
- }],
1864
- "mask-image-l-from-color": [{
1865
- "mask-l-from": a()
1866
- }],
1867
- "mask-image-l-to-color": [{
1868
- "mask-l-to": a()
1869
- }],
1870
- "mask-image-x-from-pos": [{
1871
- "mask-x-from": h()
1872
- }],
1873
- "mask-image-x-to-pos": [{
1874
- "mask-x-to": h()
1875
- }],
1876
- "mask-image-x-from-color": [{
1877
- "mask-x-from": a()
1878
- }],
1879
- "mask-image-x-to-color": [{
1880
- "mask-x-to": a()
1881
- }],
1882
- "mask-image-y-from-pos": [{
1883
- "mask-y-from": h()
1884
- }],
1885
- "mask-image-y-to-pos": [{
1886
- "mask-y-to": h()
1887
- }],
1888
- "mask-image-y-from-color": [{
1889
- "mask-y-from": a()
1890
- }],
1891
- "mask-image-y-to-color": [{
1892
- "mask-y-to": a()
1893
- }],
1894
- "mask-image-radial": [{
1895
- "mask-radial": [t, r]
1896
- }],
1897
- "mask-image-radial-from-pos": [{
1898
- "mask-radial-from": h()
1899
- }],
1900
- "mask-image-radial-to-pos": [{
1901
- "mask-radial-to": h()
1902
- }],
1903
- "mask-image-radial-from-color": [{
1904
- "mask-radial-from": a()
1905
- }],
1906
- "mask-image-radial-to-color": [{
1907
- "mask-radial-to": a()
1908
- }],
1909
- "mask-image-radial-shape": [{
1910
- "mask-radial": ["circle", "ellipse"]
1911
- }],
1912
- "mask-image-radial-size": [{
1913
- "mask-radial": [{
1914
- closest: ["side", "corner"],
1915
- farthest: ["side", "corner"]
1916
- }]
1917
- }],
1918
- "mask-image-radial-pos": [{
1919
- "mask-radial-at": V()
1920
- }],
1921
- "mask-image-conic-pos": [{
1922
- "mask-conic": [m]
1923
- }],
1924
- "mask-image-conic-from-pos": [{
1925
- "mask-conic-from": h()
1926
- }],
1927
- "mask-image-conic-to-pos": [{
1928
- "mask-conic-to": h()
1929
- }],
1930
- "mask-image-conic-from-color": [{
1931
- "mask-conic-from": a()
1932
- }],
1933
- "mask-image-conic-to-color": [{
1934
- "mask-conic-to": a()
1935
- }],
1936
- /**
1937
- * Mask Mode
1938
- * @see https://tailwindcss.com/docs/mask-mode
1939
- */
1940
- "mask-mode": [{
1941
- mask: ["alpha", "luminance", "match"]
1942
- }],
1943
- /**
1944
- * Mask Origin
1945
- * @see https://tailwindcss.com/docs/mask-origin
1946
- */
1947
- "mask-origin": [{
1948
- "mask-origin": ["border", "padding", "content", "fill", "stroke", "view"]
1949
- }],
1950
- /**
1951
- * Mask Position
1952
- * @see https://tailwindcss.com/docs/mask-position
1953
- */
1954
- "mask-position": [{
1955
- mask: ce()
1956
- }],
1957
- /**
1958
- * Mask Repeat
1959
- * @see https://tailwindcss.com/docs/mask-repeat
1960
- */
1961
- "mask-repeat": [{
1962
- mask: de()
1963
- }],
1964
- /**
1965
- * Mask Size
1966
- * @see https://tailwindcss.com/docs/mask-size
1967
- */
1968
- "mask-size": [{
1969
- mask: me()
1970
- }],
1971
- /**
1972
- * Mask Type
1973
- * @see https://tailwindcss.com/docs/mask-type
1974
- */
1975
- "mask-type": [{
1976
- "mask-type": ["alpha", "luminance"]
1977
- }],
1978
- /**
1979
- * Mask Image
1980
- * @see https://tailwindcss.com/docs/mask-image
1981
- */
1982
- "mask-image": [{
1983
- mask: ["none", t, r]
1984
- }],
1985
- // ---------------
1986
- // --- Filters ---
1987
- // ---------------
1988
- /**
1989
- * Filter
1990
- * @see https://tailwindcss.com/docs/filter
1991
- */
1992
- filter: [{
1993
- filter: [
1994
- // Deprecated since Tailwind CSS v3.0.0
1995
- "",
1996
- "none",
1997
- t,
1998
- r
1999
- ]
2000
- }],
2001
- /**
2002
- * Blur
2003
- * @see https://tailwindcss.com/docs/blur
2004
- */
2005
- blur: [{
2006
- blur: pe()
2007
- }],
2008
- /**
2009
- * Brightness
2010
- * @see https://tailwindcss.com/docs/brightness
2011
- */
2012
- brightness: [{
2013
- brightness: [m, t, r]
2014
- }],
2015
- /**
2016
- * Contrast
2017
- * @see https://tailwindcss.com/docs/contrast
2018
- */
2019
- contrast: [{
2020
- contrast: [m, t, r]
2021
- }],
2022
- /**
2023
- * Drop Shadow
2024
- * @see https://tailwindcss.com/docs/drop-shadow
2025
- */
2026
- "drop-shadow": [{
2027
- "drop-shadow": [
2028
- // Deprecated since Tailwind CSS v4.0.0
2029
- "",
2030
- "none",
2031
- P,
2032
- D,
2033
- X
2034
- ]
2035
- }],
2036
- /**
2037
- * Drop Shadow Color
2038
- * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2039
- */
2040
- "drop-shadow-color": [{
2041
- "drop-shadow": a()
2042
- }],
2043
- /**
2044
- * Grayscale
2045
- * @see https://tailwindcss.com/docs/grayscale
2046
- */
2047
- grayscale: [{
2048
- grayscale: ["", m, t, r]
2049
- }],
2050
- /**
2051
- * Hue Rotate
2052
- * @see https://tailwindcss.com/docs/hue-rotate
2053
- */
2054
- "hue-rotate": [{
2055
- "hue-rotate": [m, t, r]
2056
- }],
2057
- /**
2058
- * Invert
2059
- * @see https://tailwindcss.com/docs/invert
2060
- */
2061
- invert: [{
2062
- invert: ["", m, t, r]
2063
- }],
2064
- /**
2065
- * Saturate
2066
- * @see https://tailwindcss.com/docs/saturate
2067
- */
2068
- saturate: [{
2069
- saturate: [m, t, r]
2070
- }],
2071
- /**
2072
- * Sepia
2073
- * @see https://tailwindcss.com/docs/sepia
2074
- */
2075
- sepia: [{
2076
- sepia: ["", m, t, r]
2077
- }],
2078
- /**
2079
- * Backdrop Filter
2080
- * @see https://tailwindcss.com/docs/backdrop-filter
2081
- */
2082
- "backdrop-filter": [{
2083
- "backdrop-filter": [
2084
- // Deprecated since Tailwind CSS v3.0.0
2085
- "",
2086
- "none",
2087
- t,
2088
- r
2089
- ]
2090
- }],
2091
- /**
2092
- * Backdrop Blur
2093
- * @see https://tailwindcss.com/docs/backdrop-blur
2094
- */
2095
- "backdrop-blur": [{
2096
- "backdrop-blur": pe()
2097
- }],
2098
- /**
2099
- * Backdrop Brightness
2100
- * @see https://tailwindcss.com/docs/backdrop-brightness
2101
- */
2102
- "backdrop-brightness": [{
2103
- "backdrop-brightness": [m, t, r]
2104
- }],
2105
- /**
2106
- * Backdrop Contrast
2107
- * @see https://tailwindcss.com/docs/backdrop-contrast
2108
- */
2109
- "backdrop-contrast": [{
2110
- "backdrop-contrast": [m, t, r]
2111
- }],
2112
- /**
2113
- * Backdrop Grayscale
2114
- * @see https://tailwindcss.com/docs/backdrop-grayscale
2115
- */
2116
- "backdrop-grayscale": [{
2117
- "backdrop-grayscale": ["", m, t, r]
2118
- }],
2119
- /**
2120
- * Backdrop Hue Rotate
2121
- * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2122
- */
2123
- "backdrop-hue-rotate": [{
2124
- "backdrop-hue-rotate": [m, t, r]
2125
- }],
2126
- /**
2127
- * Backdrop Invert
2128
- * @see https://tailwindcss.com/docs/backdrop-invert
2129
- */
2130
- "backdrop-invert": [{
2131
- "backdrop-invert": ["", m, t, r]
2132
- }],
2133
- /**
2134
- * Backdrop Opacity
2135
- * @see https://tailwindcss.com/docs/backdrop-opacity
2136
- */
2137
- "backdrop-opacity": [{
2138
- "backdrop-opacity": [m, t, r]
2139
- }],
2140
- /**
2141
- * Backdrop Saturate
2142
- * @see https://tailwindcss.com/docs/backdrop-saturate
2143
- */
2144
- "backdrop-saturate": [{
2145
- "backdrop-saturate": [m, t, r]
2146
- }],
2147
- /**
2148
- * Backdrop Sepia
2149
- * @see https://tailwindcss.com/docs/backdrop-sepia
2150
- */
2151
- "backdrop-sepia": [{
2152
- "backdrop-sepia": ["", m, t, r]
2153
- }],
2154
- // --------------
2155
- // --- Tables ---
2156
- // --------------
2157
- /**
2158
- * Border Collapse
2159
- * @see https://tailwindcss.com/docs/border-collapse
2160
- */
2161
- "border-collapse": [{
2162
- border: ["collapse", "separate"]
2163
- }],
2164
- /**
2165
- * Border Spacing
2166
- * @see https://tailwindcss.com/docs/border-spacing
2167
- */
2168
- "border-spacing": [{
2169
- "border-spacing": d()
2170
- }],
2171
- /**
2172
- * Border Spacing X
2173
- * @see https://tailwindcss.com/docs/border-spacing
2174
- */
2175
- "border-spacing-x": [{
2176
- "border-spacing-x": d()
2177
- }],
2178
- /**
2179
- * Border Spacing Y
2180
- * @see https://tailwindcss.com/docs/border-spacing
2181
- */
2182
- "border-spacing-y": [{
2183
- "border-spacing-y": d()
2184
- }],
2185
- /**
2186
- * Table Layout
2187
- * @see https://tailwindcss.com/docs/table-layout
2188
- */
2189
- "table-layout": [{
2190
- table: ["auto", "fixed"]
2191
- }],
2192
- /**
2193
- * Caption Side
2194
- * @see https://tailwindcss.com/docs/caption-side
2195
- */
2196
- caption: [{
2197
- caption: ["top", "bottom"]
2198
- }],
2199
- // ---------------------------------
2200
- // --- Transitions and Animation ---
2201
- // ---------------------------------
2202
- /**
2203
- * Transition Property
2204
- * @see https://tailwindcss.com/docs/transition-property
2205
- */
2206
- transition: [{
2207
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", t, r]
2208
- }],
2209
- /**
2210
- * Transition Behavior
2211
- * @see https://tailwindcss.com/docs/transition-behavior
2212
- */
2213
- "transition-behavior": [{
2214
- transition: ["normal", "discrete"]
2215
- }],
2216
- /**
2217
- * Transition Duration
2218
- * @see https://tailwindcss.com/docs/transition-duration
2219
- */
2220
- duration: [{
2221
- duration: [m, "initial", t, r]
2222
- }],
2223
- /**
2224
- * Transition Timing Function
2225
- * @see https://tailwindcss.com/docs/transition-timing-function
2226
- */
2227
- ease: [{
2228
- ease: ["linear", "initial", R, t, r]
2229
- }],
2230
- /**
2231
- * Transition Delay
2232
- * @see https://tailwindcss.com/docs/transition-delay
2233
- */
2234
- delay: [{
2235
- delay: [m, t, r]
2236
- }],
2237
- /**
2238
- * Animation
2239
- * @see https://tailwindcss.com/docs/animation
2240
- */
2241
- animate: [{
2242
- animate: ["none", $, t, r]
2243
- }],
2244
- // ------------------
2245
- // --- Transforms ---
2246
- // ------------------
2247
- /**
2248
- * Backface Visibility
2249
- * @see https://tailwindcss.com/docs/backface-visibility
2250
- */
2251
- backface: [{
2252
- backface: ["hidden", "visible"]
2253
- }],
2254
- /**
2255
- * Perspective
2256
- * @see https://tailwindcss.com/docs/perspective
2257
- */
2258
- perspective: [{
2259
- perspective: [y, t, r]
2260
- }],
2261
- /**
2262
- * Perspective Origin
2263
- * @see https://tailwindcss.com/docs/perspective-origin
2264
- */
2265
- "perspective-origin": [{
2266
- "perspective-origin": E()
2267
- }],
2268
- /**
2269
- * Rotate
2270
- * @see https://tailwindcss.com/docs/rotate
2271
- */
2272
- rotate: [{
2273
- rotate: H()
2274
- }],
2275
- /**
2276
- * Rotate X
2277
- * @see https://tailwindcss.com/docs/rotate
2278
- */
2279
- "rotate-x": [{
2280
- "rotate-x": H()
2281
- }],
2282
- /**
2283
- * Rotate Y
2284
- * @see https://tailwindcss.com/docs/rotate
2285
- */
2286
- "rotate-y": [{
2287
- "rotate-y": H()
2288
- }],
2289
- /**
2290
- * Rotate Z
2291
- * @see https://tailwindcss.com/docs/rotate
2292
- */
2293
- "rotate-z": [{
2294
- "rotate-z": H()
2295
- }],
2296
- /**
2297
- * Scale
2298
- * @see https://tailwindcss.com/docs/scale
2299
- */
2300
- scale: [{
2301
- scale: J()
2302
- }],
2303
- /**
2304
- * Scale X
2305
- * @see https://tailwindcss.com/docs/scale
2306
- */
2307
- "scale-x": [{
2308
- "scale-x": J()
2309
- }],
2310
- /**
2311
- * Scale Y
2312
- * @see https://tailwindcss.com/docs/scale
2313
- */
2314
- "scale-y": [{
2315
- "scale-y": J()
2316
- }],
2317
- /**
2318
- * Scale Z
2319
- * @see https://tailwindcss.com/docs/scale
2320
- */
2321
- "scale-z": [{
2322
- "scale-z": J()
2323
- }],
2324
- /**
2325
- * Scale 3D
2326
- * @see https://tailwindcss.com/docs/scale
2327
- */
2328
- "scale-3d": ["scale-3d"],
2329
- /**
2330
- * Skew
2331
- * @see https://tailwindcss.com/docs/skew
2332
- */
2333
- skew: [{
2334
- skew: Z()
2335
- }],
2336
- /**
2337
- * Skew X
2338
- * @see https://tailwindcss.com/docs/skew
2339
- */
2340
- "skew-x": [{
2341
- "skew-x": Z()
2342
- }],
2343
- /**
2344
- * Skew Y
2345
- * @see https://tailwindcss.com/docs/skew
2346
- */
2347
- "skew-y": [{
2348
- "skew-y": Z()
2349
- }],
2350
- /**
2351
- * Transform
2352
- * @see https://tailwindcss.com/docs/transform
2353
- */
2354
- transform: [{
2355
- transform: [t, r, "", "none", "gpu", "cpu"]
2356
- }],
2357
- /**
2358
- * Transform Origin
2359
- * @see https://tailwindcss.com/docs/transform-origin
2360
- */
2361
- "transform-origin": [{
2362
- origin: E()
2363
- }],
2364
- /**
2365
- * Transform Style
2366
- * @see https://tailwindcss.com/docs/transform-style
2367
- */
2368
- "transform-style": [{
2369
- transform: ["3d", "flat"]
2370
- }],
2371
- /**
2372
- * Translate
2373
- * @see https://tailwindcss.com/docs/translate
2374
- */
2375
- translate: [{
2376
- translate: K()
2377
- }],
2378
- /**
2379
- * Translate X
2380
- * @see https://tailwindcss.com/docs/translate
2381
- */
2382
- "translate-x": [{
2383
- "translate-x": K()
2384
- }],
2385
- /**
2386
- * Translate Y
2387
- * @see https://tailwindcss.com/docs/translate
2388
- */
2389
- "translate-y": [{
2390
- "translate-y": K()
2391
- }],
2392
- /**
2393
- * Translate Z
2394
- * @see https://tailwindcss.com/docs/translate
2395
- */
2396
- "translate-z": [{
2397
- "translate-z": K()
2398
- }],
2399
- /**
2400
- * Translate None
2401
- * @see https://tailwindcss.com/docs/translate
2402
- */
2403
- "translate-none": ["translate-none"],
2404
- // ---------------------
2405
- // --- Interactivity ---
2406
- // ---------------------
2407
- /**
2408
- * Accent Color
2409
- * @see https://tailwindcss.com/docs/accent-color
2410
- */
2411
- accent: [{
2412
- accent: a()
2413
- }],
2414
- /**
2415
- * Appearance
2416
- * @see https://tailwindcss.com/docs/appearance
2417
- */
2418
- appearance: [{
2419
- appearance: ["none", "auto"]
2420
- }],
2421
- /**
2422
- * Caret Color
2423
- * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2424
- */
2425
- "caret-color": [{
2426
- caret: a()
2427
- }],
2428
- /**
2429
- * Color Scheme
2430
- * @see https://tailwindcss.com/docs/color-scheme
2431
- */
2432
- "color-scheme": [{
2433
- scheme: ["normal", "dark", "light", "light-dark", "only-dark", "only-light"]
2434
- }],
2435
- /**
2436
- * Cursor
2437
- * @see https://tailwindcss.com/docs/cursor
2438
- */
2439
- cursor: [{
2440
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", t, r]
2441
- }],
2442
- /**
2443
- * Field Sizing
2444
- * @see https://tailwindcss.com/docs/field-sizing
2445
- */
2446
- "field-sizing": [{
2447
- "field-sizing": ["fixed", "content"]
2448
- }],
2449
- /**
2450
- * Pointer Events
2451
- * @see https://tailwindcss.com/docs/pointer-events
2452
- */
2453
- "pointer-events": [{
2454
- "pointer-events": ["auto", "none"]
2455
- }],
2456
- /**
2457
- * Resize
2458
- * @see https://tailwindcss.com/docs/resize
2459
- */
2460
- resize: [{
2461
- resize: ["none", "", "y", "x"]
2462
- }],
2463
- /**
2464
- * Scroll Behavior
2465
- * @see https://tailwindcss.com/docs/scroll-behavior
2466
- */
2467
- "scroll-behavior": [{
2468
- scroll: ["auto", "smooth"]
2469
- }],
2470
- /**
2471
- * Scroll Margin
2472
- * @see https://tailwindcss.com/docs/scroll-margin
2473
- */
2474
- "scroll-m": [{
2475
- "scroll-m": d()
2476
- }],
2477
- /**
2478
- * Scroll Margin X
2479
- * @see https://tailwindcss.com/docs/scroll-margin
2480
- */
2481
- "scroll-mx": [{
2482
- "scroll-mx": d()
2483
- }],
2484
- /**
2485
- * Scroll Margin Y
2486
- * @see https://tailwindcss.com/docs/scroll-margin
2487
- */
2488
- "scroll-my": [{
2489
- "scroll-my": d()
2490
- }],
2491
- /**
2492
- * Scroll Margin Start
2493
- * @see https://tailwindcss.com/docs/scroll-margin
2494
- */
2495
- "scroll-ms": [{
2496
- "scroll-ms": d()
2497
- }],
2498
- /**
2499
- * Scroll Margin End
2500
- * @see https://tailwindcss.com/docs/scroll-margin
2501
- */
2502
- "scroll-me": [{
2503
- "scroll-me": d()
2504
- }],
2505
- /**
2506
- * Scroll Margin Top
2507
- * @see https://tailwindcss.com/docs/scroll-margin
2508
- */
2509
- "scroll-mt": [{
2510
- "scroll-mt": d()
2511
- }],
2512
- /**
2513
- * Scroll Margin Right
2514
- * @see https://tailwindcss.com/docs/scroll-margin
2515
- */
2516
- "scroll-mr": [{
2517
- "scroll-mr": d()
2518
- }],
2519
- /**
2520
- * Scroll Margin Bottom
2521
- * @see https://tailwindcss.com/docs/scroll-margin
2522
- */
2523
- "scroll-mb": [{
2524
- "scroll-mb": d()
2525
- }],
2526
- /**
2527
- * Scroll Margin Left
2528
- * @see https://tailwindcss.com/docs/scroll-margin
2529
- */
2530
- "scroll-ml": [{
2531
- "scroll-ml": d()
2532
- }],
2533
- /**
2534
- * Scroll Padding
2535
- * @see https://tailwindcss.com/docs/scroll-padding
2536
- */
2537
- "scroll-p": [{
2538
- "scroll-p": d()
2539
- }],
2540
- /**
2541
- * Scroll Padding X
2542
- * @see https://tailwindcss.com/docs/scroll-padding
2543
- */
2544
- "scroll-px": [{
2545
- "scroll-px": d()
2546
- }],
2547
- /**
2548
- * Scroll Padding Y
2549
- * @see https://tailwindcss.com/docs/scroll-padding
2550
- */
2551
- "scroll-py": [{
2552
- "scroll-py": d()
2553
- }],
2554
- /**
2555
- * Scroll Padding Start
2556
- * @see https://tailwindcss.com/docs/scroll-padding
2557
- */
2558
- "scroll-ps": [{
2559
- "scroll-ps": d()
2560
- }],
2561
- /**
2562
- * Scroll Padding End
2563
- * @see https://tailwindcss.com/docs/scroll-padding
2564
- */
2565
- "scroll-pe": [{
2566
- "scroll-pe": d()
2567
- }],
2568
- /**
2569
- * Scroll Padding Top
2570
- * @see https://tailwindcss.com/docs/scroll-padding
2571
- */
2572
- "scroll-pt": [{
2573
- "scroll-pt": d()
2574
- }],
2575
- /**
2576
- * Scroll Padding Right
2577
- * @see https://tailwindcss.com/docs/scroll-padding
2578
- */
2579
- "scroll-pr": [{
2580
- "scroll-pr": d()
2581
- }],
2582
- /**
2583
- * Scroll Padding Bottom
2584
- * @see https://tailwindcss.com/docs/scroll-padding
2585
- */
2586
- "scroll-pb": [{
2587
- "scroll-pb": d()
2588
- }],
2589
- /**
2590
- * Scroll Padding Left
2591
- * @see https://tailwindcss.com/docs/scroll-padding
2592
- */
2593
- "scroll-pl": [{
2594
- "scroll-pl": d()
2595
- }],
2596
- /**
2597
- * Scroll Snap Align
2598
- * @see https://tailwindcss.com/docs/scroll-snap-align
2599
- */
2600
- "snap-align": [{
2601
- snap: ["start", "end", "center", "align-none"]
2602
- }],
2603
- /**
2604
- * Scroll Snap Stop
2605
- * @see https://tailwindcss.com/docs/scroll-snap-stop
2606
- */
2607
- "snap-stop": [{
2608
- snap: ["normal", "always"]
2609
- }],
2610
- /**
2611
- * Scroll Snap Type
2612
- * @see https://tailwindcss.com/docs/scroll-snap-type
2613
- */
2614
- "snap-type": [{
2615
- snap: ["none", "x", "y", "both"]
2616
- }],
2617
- /**
2618
- * Scroll Snap Type Strictness
2619
- * @see https://tailwindcss.com/docs/scroll-snap-type
2620
- */
2621
- "snap-strictness": [{
2622
- snap: ["mandatory", "proximity"]
2623
- }],
2624
- /**
2625
- * Touch Action
2626
- * @see https://tailwindcss.com/docs/touch-action
2627
- */
2628
- touch: [{
2629
- touch: ["auto", "none", "manipulation"]
2630
- }],
2631
- /**
2632
- * Touch Action X
2633
- * @see https://tailwindcss.com/docs/touch-action
2634
- */
2635
- "touch-x": [{
2636
- "touch-pan": ["x", "left", "right"]
2637
- }],
2638
- /**
2639
- * Touch Action Y
2640
- * @see https://tailwindcss.com/docs/touch-action
2641
- */
2642
- "touch-y": [{
2643
- "touch-pan": ["y", "up", "down"]
2644
- }],
2645
- /**
2646
- * Touch Action Pinch Zoom
2647
- * @see https://tailwindcss.com/docs/touch-action
2648
- */
2649
- "touch-pz": ["touch-pinch-zoom"],
2650
- /**
2651
- * User Select
2652
- * @see https://tailwindcss.com/docs/user-select
2653
- */
2654
- select: [{
2655
- select: ["none", "text", "all", "auto"]
2656
- }],
2657
- /**
2658
- * Will Change
2659
- * @see https://tailwindcss.com/docs/will-change
2660
- */
2661
- "will-change": [{
2662
- "will-change": ["auto", "scroll", "contents", "transform", t, r]
2663
- }],
2664
- // -----------
2665
- // --- SVG ---
2666
- // -----------
2667
- /**
2668
- * Fill
2669
- * @see https://tailwindcss.com/docs/fill
2670
- */
2671
- fill: [{
2672
- fill: ["none", ...a()]
2673
- }],
2674
- /**
2675
- * Stroke Width
2676
- * @see https://tailwindcss.com/docs/stroke-width
2677
- */
2678
- "stroke-w": [{
2679
- stroke: [m, W, N, oe]
2680
- }],
2681
- /**
2682
- * Stroke
2683
- * @see https://tailwindcss.com/docs/stroke
2684
- */
2685
- stroke: [{
2686
- stroke: ["none", ...a()]
2687
- }],
2688
- // ---------------------
2689
- // --- Accessibility ---
2690
- // ---------------------
2691
- /**
2692
- * Forced Color Adjust
2693
- * @see https://tailwindcss.com/docs/forced-color-adjust
2694
- */
2695
- "forced-color-adjust": [{
2696
- "forced-color-adjust": ["auto", "none"]
2697
- }]
2698
- },
2699
- conflictingClassGroups: {
2700
- overflow: ["overflow-x", "overflow-y"],
2701
- overscroll: ["overscroll-x", "overscroll-y"],
2702
- inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
2703
- "inset-x": ["right", "left"],
2704
- "inset-y": ["top", "bottom"],
2705
- flex: ["basis", "grow", "shrink"],
2706
- gap: ["gap-x", "gap-y"],
2707
- p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
2708
- px: ["pr", "pl"],
2709
- py: ["pt", "pb"],
2710
- m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
2711
- mx: ["mr", "ml"],
2712
- my: ["mt", "mb"],
2713
- size: ["w", "h"],
2714
- "font-size": ["leading"],
2715
- "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
2716
- "fvn-ordinal": ["fvn-normal"],
2717
- "fvn-slashed-zero": ["fvn-normal"],
2718
- "fvn-figure": ["fvn-normal"],
2719
- "fvn-spacing": ["fvn-normal"],
2720
- "fvn-fraction": ["fvn-normal"],
2721
- "line-clamp": ["display", "overflow"],
2722
- rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
2723
- "rounded-s": ["rounded-ss", "rounded-es"],
2724
- "rounded-e": ["rounded-se", "rounded-ee"],
2725
- "rounded-t": ["rounded-tl", "rounded-tr"],
2726
- "rounded-r": ["rounded-tr", "rounded-br"],
2727
- "rounded-b": ["rounded-br", "rounded-bl"],
2728
- "rounded-l": ["rounded-tl", "rounded-bl"],
2729
- "border-spacing": ["border-spacing-x", "border-spacing-y"],
2730
- "border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
2731
- "border-w-x": ["border-w-r", "border-w-l"],
2732
- "border-w-y": ["border-w-t", "border-w-b"],
2733
- "border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
2734
- "border-color-x": ["border-color-r", "border-color-l"],
2735
- "border-color-y": ["border-color-t", "border-color-b"],
2736
- translate: ["translate-x", "translate-y", "translate-none"],
2737
- "translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
2738
- "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
2739
- "scroll-mx": ["scroll-mr", "scroll-ml"],
2740
- "scroll-my": ["scroll-mt", "scroll-mb"],
2741
- "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
2742
- "scroll-px": ["scroll-pr", "scroll-pl"],
2743
- "scroll-py": ["scroll-pt", "scroll-pb"],
2744
- touch: ["touch-x", "touch-y", "touch-pz"],
2745
- "touch-x": ["touch"],
2746
- "touch-y": ["touch"],
2747
- "touch-pz": ["touch"]
2748
- },
2749
- conflictingClassGroupModifiers: {
2750
- "font-size": ["leading"]
2751
- },
2752
- orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2753
- };
2754
- }, mo = /* @__PURE__ */ Ue(co);
2755
- function fo(...e) {
2756
- return mo(ke(e));
2757
- }
2758
- export {
2759
- po as a,
2760
- fo as c
2761
- };