react-attendance-calendar 2.3.2 → 2.3.4
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/README.md +169 -38
- package/dist/AttendanceCalendar.d.ts +3 -2
- package/dist/AttendanceCalendar.d.ts.map +1 -1
- package/dist/index.js +473 -468
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Le, { useRef as
|
|
1
|
+
import Le, { useRef as Fe, useState as $e, useEffect as We, useMemo as fe } from "react";
|
|
2
2
|
var ce = { exports: {} }, se = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
@@ -14,19 +14,19 @@ function De() {
|
|
|
14
14
|
if (ke) return se;
|
|
15
15
|
ke = 1;
|
|
16
16
|
var e = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
|
|
17
|
-
function o(t,
|
|
18
|
-
var
|
|
19
|
-
if (
|
|
20
|
-
|
|
21
|
-
for (var h in
|
|
22
|
-
h !== "key" && (
|
|
23
|
-
} else
|
|
24
|
-
return
|
|
17
|
+
function o(t, i, c) {
|
|
18
|
+
var l = null;
|
|
19
|
+
if (c !== void 0 && (l = "" + c), i.key !== void 0 && (l = "" + i.key), "key" in i) {
|
|
20
|
+
c = {};
|
|
21
|
+
for (var h in i)
|
|
22
|
+
h !== "key" && (c[h] = i[h]);
|
|
23
|
+
} else c = i;
|
|
24
|
+
return i = c.ref, {
|
|
25
25
|
$$typeof: e,
|
|
26
26
|
type: t,
|
|
27
|
-
key:
|
|
28
|
-
ref:
|
|
29
|
-
props:
|
|
27
|
+
key: l,
|
|
28
|
+
ref: i !== void 0 ? i : null,
|
|
29
|
+
props: c
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
32
|
return se.Fragment = n, se.jsx = o, se.jsxs = o, se;
|
|
@@ -47,20 +47,20 @@ function Ye() {
|
|
|
47
47
|
function e(r) {
|
|
48
48
|
if (r == null) return null;
|
|
49
49
|
if (typeof r == "function")
|
|
50
|
-
return r.$$typeof ===
|
|
50
|
+
return r.$$typeof === M ? null : r.displayName || r.name || null;
|
|
51
51
|
if (typeof r == "string") return r;
|
|
52
52
|
switch (r) {
|
|
53
|
-
case
|
|
53
|
+
case j:
|
|
54
54
|
return "Fragment";
|
|
55
|
-
case
|
|
55
|
+
case q:
|
|
56
56
|
return "Profiler";
|
|
57
|
-
case
|
|
57
|
+
case O:
|
|
58
58
|
return "StrictMode";
|
|
59
|
-
case S:
|
|
60
|
-
return "Suspense";
|
|
61
59
|
case W:
|
|
60
|
+
return "Suspense";
|
|
61
|
+
case G:
|
|
62
62
|
return "SuspenseList";
|
|
63
|
-
case
|
|
63
|
+
case y:
|
|
64
64
|
return "Activity";
|
|
65
65
|
}
|
|
66
66
|
if (typeof r == "object")
|
|
@@ -69,16 +69,16 @@ function Ye() {
|
|
|
69
69
|
), r.$$typeof) {
|
|
70
70
|
case v:
|
|
71
71
|
return "Portal";
|
|
72
|
-
case O:
|
|
73
|
-
return r.displayName || "Context";
|
|
74
72
|
case F:
|
|
73
|
+
return r.displayName || "Context";
|
|
74
|
+
case Y:
|
|
75
75
|
return (r._context.displayName || "Context") + ".Consumer";
|
|
76
|
-
case
|
|
76
|
+
case $:
|
|
77
77
|
var f = r.render;
|
|
78
78
|
return r = r.displayName, r || (r = f.displayName || f.name || "", r = r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"), r;
|
|
79
|
-
case
|
|
79
|
+
case u:
|
|
80
80
|
return f = r.displayName || null, f !== null ? f : e(r.type) || "Memo";
|
|
81
|
-
case
|
|
81
|
+
case _:
|
|
82
82
|
f = r._payload, r = r._init;
|
|
83
83
|
try {
|
|
84
84
|
return e(r(f));
|
|
@@ -108,8 +108,8 @@ function Ye() {
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
function t(r) {
|
|
111
|
-
if (r ===
|
|
112
|
-
if (typeof r == "object" && r !== null && r.$$typeof ===
|
|
111
|
+
if (r === j) return "<>";
|
|
112
|
+
if (typeof r == "object" && r !== null && r.$$typeof === _)
|
|
113
113
|
return "<...>";
|
|
114
114
|
try {
|
|
115
115
|
var f = e(r);
|
|
@@ -118,15 +118,15 @@ function Ye() {
|
|
|
118
118
|
return "<...>";
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
function
|
|
122
|
-
var r =
|
|
121
|
+
function i() {
|
|
122
|
+
var r = N.A;
|
|
123
123
|
return r === null ? null : r.getOwner();
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function c() {
|
|
126
126
|
return Error("react-stack-top-frame");
|
|
127
127
|
}
|
|
128
|
-
function
|
|
129
|
-
if (
|
|
128
|
+
function l(r) {
|
|
129
|
+
if (J.call(r, "key")) {
|
|
130
130
|
var f = Object.getOwnPropertyDescriptor(r, "key").get;
|
|
131
131
|
if (f && f.isReactWarning) return !1;
|
|
132
132
|
}
|
|
@@ -134,7 +134,7 @@ function Ye() {
|
|
|
134
134
|
}
|
|
135
135
|
function h(r, f) {
|
|
136
136
|
function b() {
|
|
137
|
-
|
|
137
|
+
R || (R = !0, console.error(
|
|
138
138
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
139
139
|
f
|
|
140
140
|
));
|
|
@@ -146,14 +146,14 @@ function Ye() {
|
|
|
146
146
|
}
|
|
147
147
|
function m() {
|
|
148
148
|
var r = e(this.type);
|
|
149
|
-
return
|
|
149
|
+
return D[r] || (D[r] = !0, console.error(
|
|
150
150
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
151
151
|
)), r = this.props.ref, r !== void 0 ? r : null;
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function k(r, f, b, x, V, Q) {
|
|
154
154
|
var g = b.ref;
|
|
155
155
|
return r = {
|
|
156
|
-
$$typeof:
|
|
156
|
+
$$typeof: E,
|
|
157
157
|
type: r,
|
|
158
158
|
key: f,
|
|
159
159
|
props: b,
|
|
@@ -175,7 +175,7 @@ function Ye() {
|
|
|
175
175
|
configurable: !1,
|
|
176
176
|
enumerable: !1,
|
|
177
177
|
writable: !0,
|
|
178
|
-
value:
|
|
178
|
+
value: V
|
|
179
179
|
}), Object.defineProperty(r, "_debugTask", {
|
|
180
180
|
configurable: !1,
|
|
181
181
|
enumerable: !1,
|
|
@@ -183,25 +183,25 @@ function Ye() {
|
|
|
183
183
|
value: Q
|
|
184
184
|
}), Object.freeze && (Object.freeze(r.props), Object.freeze(r)), r;
|
|
185
185
|
}
|
|
186
|
-
function w(r, f, b, x,
|
|
186
|
+
function w(r, f, b, x, V, Q) {
|
|
187
187
|
var g = f.children;
|
|
188
188
|
if (g !== void 0)
|
|
189
189
|
if (x)
|
|
190
|
-
if (
|
|
190
|
+
if (I(g)) {
|
|
191
191
|
for (x = 0; x < g.length; x++)
|
|
192
|
-
|
|
192
|
+
T(g[x]);
|
|
193
193
|
Object.freeze && Object.freeze(g);
|
|
194
194
|
} else
|
|
195
195
|
console.error(
|
|
196
196
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
197
197
|
);
|
|
198
|
-
else
|
|
199
|
-
if (
|
|
198
|
+
else T(g);
|
|
199
|
+
if (J.call(f, "key")) {
|
|
200
200
|
g = e(r);
|
|
201
|
-
var
|
|
201
|
+
var U = Object.keys(f).filter(function(K) {
|
|
202
202
|
return K !== "key";
|
|
203
203
|
});
|
|
204
|
-
x = 0 <
|
|
204
|
+
x = 0 < U.length ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}", ne[g + x] || (U = 0 < U.length ? "{" + U.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
205
205
|
`A props object containing a "key" prop is being spread into JSX:
|
|
206
206
|
let props = %s;
|
|
207
207
|
<%s {...props} />
|
|
@@ -210,34 +210,34 @@ React keys must be passed directly to JSX without using spread:
|
|
|
210
210
|
<%s key={someKey} {...props} />`,
|
|
211
211
|
x,
|
|
212
212
|
g,
|
|
213
|
-
|
|
213
|
+
U,
|
|
214
214
|
g
|
|
215
215
|
), ne[g + x] = !0);
|
|
216
216
|
}
|
|
217
|
-
if (g = null, b !== void 0 && (o(b), g = "" + b),
|
|
217
|
+
if (g = null, b !== void 0 && (o(b), g = "" + b), l(f) && (o(f.key), g = "" + f.key), "key" in f) {
|
|
218
218
|
b = {};
|
|
219
|
-
for (var
|
|
220
|
-
|
|
219
|
+
for (var X in f)
|
|
220
|
+
X !== "key" && (b[X] = f[X]);
|
|
221
221
|
} else b = f;
|
|
222
222
|
return g && h(
|
|
223
223
|
b,
|
|
224
224
|
typeof r == "function" ? r.displayName || r.name || "Unknown" : r
|
|
225
|
-
),
|
|
225
|
+
), k(
|
|
226
226
|
r,
|
|
227
227
|
g,
|
|
228
228
|
b,
|
|
229
|
-
|
|
230
|
-
|
|
229
|
+
i(),
|
|
230
|
+
V,
|
|
231
231
|
Q
|
|
232
232
|
);
|
|
233
233
|
}
|
|
234
|
-
function
|
|
235
|
-
|
|
234
|
+
function T(r) {
|
|
235
|
+
L(r) ? r._store && (r._store.validated = 1) : typeof r == "object" && r !== null && r.$$typeof === _ && (r._payload.status === "fulfilled" ? L(r._payload.value) && r._payload.value._store && (r._payload.value._store.validated = 1) : r._store && (r._store.validated = 1));
|
|
236
236
|
}
|
|
237
|
-
function
|
|
238
|
-
return typeof r == "object" && r !== null && r.$$typeof ===
|
|
237
|
+
function L(r) {
|
|
238
|
+
return typeof r == "object" && r !== null && r.$$typeof === E;
|
|
239
239
|
}
|
|
240
|
-
var z = Le,
|
|
240
|
+
var z = Le, E = Symbol.for("react.transitional.element"), v = Symbol.for("react.portal"), j = Symbol.for("react.fragment"), O = Symbol.for("react.strict_mode"), q = Symbol.for("react.profiler"), Y = Symbol.for("react.consumer"), F = Symbol.for("react.context"), $ = Symbol.for("react.forward_ref"), W = Symbol.for("react.suspense"), G = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), y = Symbol.for("react.activity"), M = Symbol.for("react.client.reference"), N = z.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, J = Object.prototype.hasOwnProperty, I = Array.isArray, S = console.createTask ? console.createTask : function() {
|
|
241
241
|
return null;
|
|
242
242
|
};
|
|
243
243
|
z = {
|
|
@@ -245,29 +245,29 @@ React keys must be passed directly to JSX without using spread:
|
|
|
245
245
|
return r();
|
|
246
246
|
}
|
|
247
247
|
};
|
|
248
|
-
var
|
|
248
|
+
var R, D = {}, d = z.react_stack_bottom_frame.bind(
|
|
249
249
|
z,
|
|
250
|
-
|
|
251
|
-
)(), oe =
|
|
252
|
-
ae.Fragment =
|
|
253
|
-
var x = 1e4 >
|
|
250
|
+
c
|
|
251
|
+
)(), oe = S(t(c)), ne = {};
|
|
252
|
+
ae.Fragment = j, ae.jsx = function(r, f, b) {
|
|
253
|
+
var x = 1e4 > N.recentlyCreatedOwnerStacks++;
|
|
254
254
|
return w(
|
|
255
255
|
r,
|
|
256
256
|
f,
|
|
257
257
|
b,
|
|
258
258
|
!1,
|
|
259
|
-
x ? Error("react-stack-top-frame") :
|
|
260
|
-
x ?
|
|
259
|
+
x ? Error("react-stack-top-frame") : d,
|
|
260
|
+
x ? S(t(r)) : oe
|
|
261
261
|
);
|
|
262
262
|
}, ae.jsxs = function(r, f, b) {
|
|
263
|
-
var x = 1e4 >
|
|
263
|
+
var x = 1e4 > N.recentlyCreatedOwnerStacks++;
|
|
264
264
|
return w(
|
|
265
265
|
r,
|
|
266
266
|
f,
|
|
267
267
|
b,
|
|
268
268
|
!0,
|
|
269
|
-
x ? Error("react-stack-top-frame") :
|
|
270
|
-
x ?
|
|
269
|
+
x ? Error("react-stack-top-frame") : d,
|
|
270
|
+
x ? S(t(r)) : oe
|
|
271
271
|
);
|
|
272
272
|
};
|
|
273
273
|
})()), ae;
|
|
@@ -276,18 +276,18 @@ var ve;
|
|
|
276
276
|
function Ve() {
|
|
277
277
|
return ve || (ve = 1, process.env.NODE_ENV === "production" ? ce.exports = De() : ce.exports = Ye()), ce.exports;
|
|
278
278
|
}
|
|
279
|
-
var
|
|
280
|
-
function
|
|
279
|
+
var C = Ve();
|
|
280
|
+
function _e(e) {
|
|
281
281
|
var n, o, t = "";
|
|
282
282
|
if (typeof e == "string" || typeof e == "number") t += e;
|
|
283
283
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
284
|
-
var
|
|
285
|
-
for (n = 0; n <
|
|
284
|
+
var i = e.length;
|
|
285
|
+
for (n = 0; n < i; n++) e[n] && (o = _e(e[n])) && (t && (t += " "), t += o);
|
|
286
286
|
} else for (o in e) e[o] && (t && (t += " "), t += o);
|
|
287
287
|
return t;
|
|
288
288
|
}
|
|
289
289
|
function Ue() {
|
|
290
|
-
for (var e, n, o = 0, t = "",
|
|
290
|
+
for (var e, n, o = 0, t = "", i = arguments.length; o < i; o++) (e = arguments[o]) && (n = _e(e)) && (t && (t += " "), t += n);
|
|
291
291
|
return t;
|
|
292
292
|
}
|
|
293
293
|
const ye = "-", Be = (e) => {
|
|
@@ -296,27 +296,27 @@ const ye = "-", Be = (e) => {
|
|
|
296
296
|
conflictingClassGroupModifiers: t
|
|
297
297
|
} = e;
|
|
298
298
|
return {
|
|
299
|
-
getClassGroupId: (
|
|
300
|
-
const h =
|
|
301
|
-
return h[0] === "" && h.length !== 1 && h.shift(),
|
|
299
|
+
getClassGroupId: (l) => {
|
|
300
|
+
const h = l.split(ye);
|
|
301
|
+
return h[0] === "" && h.length !== 1 && h.shift(), Se(h, n) || qe(l);
|
|
302
302
|
},
|
|
303
|
-
getConflictingClassGroupIds: (
|
|
304
|
-
const m = o[
|
|
305
|
-
return h && t[
|
|
303
|
+
getConflictingClassGroupIds: (l, h) => {
|
|
304
|
+
const m = o[l] || [];
|
|
305
|
+
return h && t[l] ? [...m, ...t[l]] : m;
|
|
306
306
|
}
|
|
307
307
|
};
|
|
308
|
-
},
|
|
308
|
+
}, Se = (e, n) => {
|
|
309
309
|
if (e.length === 0)
|
|
310
310
|
return n.classGroupId;
|
|
311
|
-
const o = e[0], t = n.nextPart.get(o),
|
|
312
|
-
if (
|
|
313
|
-
return
|
|
311
|
+
const o = e[0], t = n.nextPart.get(o), i = t ? Se(e.slice(1), t) : void 0;
|
|
312
|
+
if (i)
|
|
313
|
+
return i;
|
|
314
314
|
if (n.validators.length === 0)
|
|
315
315
|
return;
|
|
316
|
-
const
|
|
316
|
+
const c = e.join(ye);
|
|
317
317
|
return n.validators.find(({
|
|
318
|
-
validator:
|
|
319
|
-
}) => c
|
|
318
|
+
validator: l
|
|
319
|
+
}) => l(c))?.classGroupId;
|
|
320
320
|
}, Re = /^\[(.+)\]$/, qe = (e) => {
|
|
321
321
|
if (Re.test(e)) {
|
|
322
322
|
const n = Re.exec(e)[1], o = n?.substring(0, n.indexOf(":"));
|
|
@@ -331,29 +331,29 @@ const ye = "-", Be = (e) => {
|
|
|
331
331
|
nextPart: /* @__PURE__ */ new Map(),
|
|
332
332
|
validators: []
|
|
333
333
|
};
|
|
334
|
-
for (const
|
|
335
|
-
ge(o[
|
|
334
|
+
for (const i in o)
|
|
335
|
+
ge(o[i], t, i, n);
|
|
336
336
|
return t;
|
|
337
337
|
}, ge = (e, n, o, t) => {
|
|
338
|
-
e.forEach((
|
|
339
|
-
if (typeof
|
|
340
|
-
const
|
|
341
|
-
|
|
338
|
+
e.forEach((i) => {
|
|
339
|
+
if (typeof i == "string") {
|
|
340
|
+
const c = i === "" ? n : Ee(n, i);
|
|
341
|
+
c.classGroupId = o;
|
|
342
342
|
return;
|
|
343
343
|
}
|
|
344
|
-
if (typeof
|
|
345
|
-
if (Xe(
|
|
346
|
-
ge(
|
|
344
|
+
if (typeof i == "function") {
|
|
345
|
+
if (Xe(i)) {
|
|
346
|
+
ge(i(t), n, o, t);
|
|
347
347
|
return;
|
|
348
348
|
}
|
|
349
349
|
n.validators.push({
|
|
350
|
-
validator:
|
|
350
|
+
validator: i,
|
|
351
351
|
classGroupId: o
|
|
352
352
|
});
|
|
353
353
|
return;
|
|
354
354
|
}
|
|
355
|
-
Object.entries(
|
|
356
|
-
ge(
|
|
355
|
+
Object.entries(i).forEach(([c, l]) => {
|
|
356
|
+
ge(l, Ee(n, c), o, t);
|
|
357
357
|
});
|
|
358
358
|
});
|
|
359
359
|
}, Ee = (e, n) => {
|
|
@@ -373,19 +373,19 @@ const ye = "-", Be = (e) => {
|
|
|
373
373
|
}
|
|
374
374
|
};
|
|
375
375
|
let n = 0, o = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map();
|
|
376
|
-
const
|
|
377
|
-
o.set(
|
|
376
|
+
const i = (c, l) => {
|
|
377
|
+
o.set(c, l), n++, n > e && (n = 0, t = o, o = /* @__PURE__ */ new Map());
|
|
378
378
|
};
|
|
379
379
|
return {
|
|
380
|
-
get(
|
|
381
|
-
let
|
|
382
|
-
if (
|
|
383
|
-
return
|
|
384
|
-
if ((
|
|
385
|
-
return
|
|
380
|
+
get(c) {
|
|
381
|
+
let l = o.get(c);
|
|
382
|
+
if (l !== void 0)
|
|
383
|
+
return l;
|
|
384
|
+
if ((l = t.get(c)) !== void 0)
|
|
385
|
+
return i(c, l), l;
|
|
386
386
|
},
|
|
387
|
-
set(
|
|
388
|
-
o.has(
|
|
387
|
+
set(c, l) {
|
|
388
|
+
o.has(c) ? o.set(c, l) : i(c, l);
|
|
389
389
|
}
|
|
390
390
|
};
|
|
391
391
|
}, he = "!", xe = ":", Ze = xe.length, Qe = (e) => {
|
|
@@ -393,46 +393,46 @@ const ye = "-", Be = (e) => {
|
|
|
393
393
|
prefix: n,
|
|
394
394
|
experimentalParseClassName: o
|
|
395
395
|
} = e;
|
|
396
|
-
let t = (
|
|
397
|
-
const
|
|
398
|
-
let
|
|
399
|
-
for (let
|
|
400
|
-
let v =
|
|
401
|
-
if (
|
|
396
|
+
let t = (i) => {
|
|
397
|
+
const c = [];
|
|
398
|
+
let l = 0, h = 0, m = 0, k;
|
|
399
|
+
for (let E = 0; E < i.length; E++) {
|
|
400
|
+
let v = i[E];
|
|
401
|
+
if (l === 0 && h === 0) {
|
|
402
402
|
if (v === xe) {
|
|
403
|
-
|
|
403
|
+
c.push(i.slice(m, E)), m = E + Ze;
|
|
404
404
|
continue;
|
|
405
405
|
}
|
|
406
406
|
if (v === "/") {
|
|
407
|
-
|
|
407
|
+
k = E;
|
|
408
408
|
continue;
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
|
-
v === "[" ?
|
|
411
|
+
v === "[" ? l++ : v === "]" ? l-- : v === "(" ? h++ : v === ")" && h--;
|
|
412
412
|
}
|
|
413
|
-
const w =
|
|
413
|
+
const w = c.length === 0 ? i : i.substring(m), T = Ke(w), L = T !== w, z = k && k > m ? k - m : void 0;
|
|
414
414
|
return {
|
|
415
|
-
modifiers:
|
|
416
|
-
hasImportantModifier:
|
|
417
|
-
baseClassName:
|
|
415
|
+
modifiers: c,
|
|
416
|
+
hasImportantModifier: L,
|
|
417
|
+
baseClassName: T,
|
|
418
418
|
maybePostfixModifierPosition: z
|
|
419
419
|
};
|
|
420
420
|
};
|
|
421
421
|
if (n) {
|
|
422
|
-
const
|
|
423
|
-
t = (
|
|
422
|
+
const i = n + xe, c = t;
|
|
423
|
+
t = (l) => l.startsWith(i) ? c(l.substring(i.length)) : {
|
|
424
424
|
isExternal: !0,
|
|
425
425
|
modifiers: [],
|
|
426
426
|
hasImportantModifier: !1,
|
|
427
|
-
baseClassName:
|
|
427
|
+
baseClassName: l,
|
|
428
428
|
maybePostfixModifierPosition: void 0
|
|
429
429
|
};
|
|
430
430
|
}
|
|
431
431
|
if (o) {
|
|
432
|
-
const
|
|
433
|
-
t = (
|
|
434
|
-
className:
|
|
435
|
-
parseClassName:
|
|
432
|
+
const i = t;
|
|
433
|
+
t = (c) => o({
|
|
434
|
+
className: c,
|
|
435
|
+
parseClassName: i
|
|
436
436
|
});
|
|
437
437
|
}
|
|
438
438
|
return t;
|
|
@@ -441,11 +441,11 @@ const ye = "-", Be = (e) => {
|
|
|
441
441
|
return (t) => {
|
|
442
442
|
if (t.length <= 1)
|
|
443
443
|
return t;
|
|
444
|
-
const
|
|
445
|
-
let
|
|
446
|
-
return t.forEach((
|
|
447
|
-
|
|
448
|
-
}),
|
|
444
|
+
const i = [];
|
|
445
|
+
let c = [];
|
|
446
|
+
return t.forEach((l) => {
|
|
447
|
+
l[0] === "[" || n[l] ? (i.push(...c.sort(), l), c = []) : c.push(l);
|
|
448
|
+
}), i.push(...c.sort()), i;
|
|
449
449
|
};
|
|
450
450
|
}, rr = (e) => ({
|
|
451
451
|
cache: He(e.cacheSize),
|
|
@@ -456,42 +456,42 @@ const ye = "-", Be = (e) => {
|
|
|
456
456
|
const {
|
|
457
457
|
parseClassName: o,
|
|
458
458
|
getClassGroupId: t,
|
|
459
|
-
getConflictingClassGroupIds:
|
|
460
|
-
sortModifiers:
|
|
461
|
-
} = n,
|
|
459
|
+
getConflictingClassGroupIds: i,
|
|
460
|
+
sortModifiers: c
|
|
461
|
+
} = n, l = [], h = e.trim().split(tr);
|
|
462
462
|
let m = "";
|
|
463
|
-
for (let
|
|
464
|
-
const w = h[
|
|
465
|
-
isExternal:
|
|
466
|
-
modifiers:
|
|
463
|
+
for (let k = h.length - 1; k >= 0; k -= 1) {
|
|
464
|
+
const w = h[k], {
|
|
465
|
+
isExternal: T,
|
|
466
|
+
modifiers: L,
|
|
467
467
|
hasImportantModifier: z,
|
|
468
|
-
baseClassName:
|
|
468
|
+
baseClassName: E,
|
|
469
469
|
maybePostfixModifierPosition: v
|
|
470
470
|
} = o(w);
|
|
471
|
-
if (
|
|
471
|
+
if (T) {
|
|
472
472
|
m = w + (m.length > 0 ? " " + m : m);
|
|
473
473
|
continue;
|
|
474
474
|
}
|
|
475
|
-
let
|
|
476
|
-
if (!
|
|
477
|
-
if (!
|
|
475
|
+
let j = !!v, O = t(j ? E.substring(0, v) : E);
|
|
476
|
+
if (!O) {
|
|
477
|
+
if (!j) {
|
|
478
478
|
m = w + (m.length > 0 ? " " + m : m);
|
|
479
479
|
continue;
|
|
480
480
|
}
|
|
481
|
-
if (
|
|
481
|
+
if (O = t(E), !O) {
|
|
482
482
|
m = w + (m.length > 0 ? " " + m : m);
|
|
483
483
|
continue;
|
|
484
484
|
}
|
|
485
|
-
|
|
485
|
+
j = !1;
|
|
486
486
|
}
|
|
487
|
-
const
|
|
488
|
-
if (
|
|
487
|
+
const q = c(L).join(":"), Y = z ? q + he : q, F = Y + O;
|
|
488
|
+
if (l.includes(F))
|
|
489
489
|
continue;
|
|
490
|
-
|
|
491
|
-
const
|
|
492
|
-
for (let
|
|
493
|
-
const
|
|
494
|
-
|
|
490
|
+
l.push(F);
|
|
491
|
+
const $ = i(O, j);
|
|
492
|
+
for (let W = 0; W < $.length; ++W) {
|
|
493
|
+
const G = $[W];
|
|
494
|
+
l.push(Y + G);
|
|
495
495
|
}
|
|
496
496
|
m = w + (m.length > 0 ? " " + m : m);
|
|
497
497
|
}
|
|
@@ -512,38 +512,38 @@ const Te = (e) => {
|
|
|
512
512
|
return o;
|
|
513
513
|
};
|
|
514
514
|
function sr(e, ...n) {
|
|
515
|
-
let o, t,
|
|
516
|
-
function
|
|
517
|
-
const
|
|
518
|
-
return o = rr(
|
|
515
|
+
let o, t, i, c = l;
|
|
516
|
+
function l(m) {
|
|
517
|
+
const k = n.reduce((w, T) => T(w), e());
|
|
518
|
+
return o = rr(k), t = o.cache.get, i = o.cache.set, c = h, h(m);
|
|
519
519
|
}
|
|
520
520
|
function h(m) {
|
|
521
|
-
const
|
|
522
|
-
if (
|
|
523
|
-
return
|
|
521
|
+
const k = t(m);
|
|
522
|
+
if (k)
|
|
523
|
+
return k;
|
|
524
524
|
const w = or(m, o);
|
|
525
|
-
return
|
|
525
|
+
return i(m, w), w;
|
|
526
526
|
}
|
|
527
527
|
return function() {
|
|
528
|
-
return
|
|
528
|
+
return c(nr.apply(null, arguments));
|
|
529
529
|
};
|
|
530
530
|
}
|
|
531
|
-
const
|
|
531
|
+
const A = (e) => {
|
|
532
532
|
const n = (o) => o[e] || [];
|
|
533
533
|
return n.isThemeGetter = !0, n;
|
|
534
|
-
},
|
|
534
|
+
}, Me = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Pe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ar = /^\d+\/\d+$/, ir = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, lr = /\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$/, cr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, dr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ur = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ee = (e) => ar.test(e), p = (e) => !!e && !Number.isNaN(Number(e)), H = (e) => !!e && Number.isInteger(Number(e)), pe = (e) => e.endsWith("%") && p(e.slice(0, -1)), B = (e) => ir.test(e), mr = () => !0, fr = (e) => (
|
|
535
535
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
536
536
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
537
537
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
538
538
|
lr.test(e) && !cr.test(e)
|
|
539
|
-
),
|
|
540
|
-
const t =
|
|
539
|
+
), ze = () => !1, pr = (e) => dr.test(e), br = (e) => ur.test(e), gr = (e) => !s(e) && !a(e), hr = (e) => re(e, Ie, ze), s = (e) => Me.test(e), Z = (e) => re(e, Oe, fr), be = (e) => re(e, vr, p), Ae = (e) => re(e, je, ze), xr = (e) => re(e, Ne, br), de = (e) => re(e, Ge, pr), a = (e) => Pe.test(e), ie = (e) => te(e, Oe), yr = (e) => te(e, Rr), Ce = (e) => te(e, je), kr = (e) => te(e, Ie), wr = (e) => te(e, Ne), ue = (e) => te(e, Ge, !0), re = (e, n, o) => {
|
|
540
|
+
const t = Me.exec(e);
|
|
541
541
|
return t ? t[1] ? n(t[1]) : o(t[2]) : !1;
|
|
542
542
|
}, te = (e, n, o = !1) => {
|
|
543
|
-
const t =
|
|
543
|
+
const t = Pe.exec(e);
|
|
544
544
|
return t ? t[1] ? n(t[1]) : o : !1;
|
|
545
545
|
}, je = (e) => e === "position" || e === "percentage", Ne = (e) => e === "image" || e === "url", Ie = (e) => e === "length" || e === "size" || e === "bg-size", Oe = (e) => e === "length", vr = (e) => e === "number", Rr = (e) => e === "family-name", Ge = (e) => e === "shadow", Er = () => {
|
|
546
|
-
const e =
|
|
546
|
+
const e = A("color"), n = A("font"), o = A("text"), t = A("font-weight"), i = A("tracking"), c = A("leading"), l = A("breakpoint"), h = A("container"), m = A("spacing"), k = A("radius"), w = A("shadow"), T = A("inset-shadow"), L = A("text-shadow"), z = A("drop-shadow"), E = A("blur"), v = A("perspective"), j = A("aspect"), O = A("ease"), q = A("animate"), Y = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [
|
|
547
547
|
"center",
|
|
548
548
|
"top",
|
|
549
549
|
"bottom",
|
|
@@ -561,51 +561,51 @@ const E = (e) => {
|
|
|
561
561
|
"bottom-left",
|
|
562
562
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
563
563
|
"left-bottom"
|
|
564
|
-
],
|
|
565
|
-
span: ["full",
|
|
566
|
-
},
|
|
567
|
-
position: [
|
|
564
|
+
], $ = () => [...F(), a, s], W = () => ["auto", "hidden", "clip", "visible", "scroll"], G = () => ["auto", "contain", "none"], u = () => [a, s, m], _ = () => [ee, "full", "auto", ...u()], y = () => [H, "none", "subgrid", a, s], M = () => ["auto", {
|
|
565
|
+
span: ["full", H, a, s]
|
|
566
|
+
}, H, a, s], N = () => [H, "auto", a, s], J = () => ["auto", "min", "max", "fr", a, s], I = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], S = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], R = () => ["auto", ...u()], D = () => [ee, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], d = () => [e, a, s], oe = () => [...F(), Ce, Ae, {
|
|
567
|
+
position: [a, s]
|
|
568
568
|
}], ne = () => ["no-repeat", {
|
|
569
569
|
repeat: ["", "x", "y", "space", "round"]
|
|
570
570
|
}], r = () => ["auto", "cover", "contain", kr, hr, {
|
|
571
|
-
size: [
|
|
571
|
+
size: [a, s]
|
|
572
572
|
}], f = () => [pe, ie, Z], b = () => [
|
|
573
573
|
// Deprecated since Tailwind CSS v4.0.0
|
|
574
574
|
"",
|
|
575
575
|
"none",
|
|
576
576
|
"full",
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
], x = () => ["", p, ie, Z],
|
|
577
|
+
k,
|
|
578
|
+
a,
|
|
579
|
+
s
|
|
580
|
+
], x = () => ["", p, ie, Z], V = () => ["solid", "dashed", "dotted", "double"], Q = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], g = () => [p, pe, Ce, Ae], U = () => [
|
|
581
581
|
// Deprecated since Tailwind CSS v4.0.0
|
|
582
582
|
"",
|
|
583
583
|
"none",
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
],
|
|
584
|
+
E,
|
|
585
|
+
a,
|
|
586
|
+
s
|
|
587
|
+
], X = () => ["none", p, a, s], K = () => ["none", p, a, s], me = () => [p, a, s], le = () => [ee, "full", ...u()];
|
|
588
588
|
return {
|
|
589
589
|
cacheSize: 500,
|
|
590
590
|
theme: {
|
|
591
591
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
592
592
|
aspect: ["video"],
|
|
593
|
-
blur: [
|
|
594
|
-
breakpoint: [
|
|
593
|
+
blur: [B],
|
|
594
|
+
breakpoint: [B],
|
|
595
595
|
color: [mr],
|
|
596
|
-
container: [
|
|
597
|
-
"drop-shadow": [
|
|
596
|
+
container: [B],
|
|
597
|
+
"drop-shadow": [B],
|
|
598
598
|
ease: ["in", "out", "in-out"],
|
|
599
599
|
font: [gr],
|
|
600
600
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
601
|
-
"inset-shadow": [
|
|
601
|
+
"inset-shadow": [B],
|
|
602
602
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
603
603
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
604
|
-
radius: [
|
|
605
|
-
shadow: [
|
|
604
|
+
radius: [B],
|
|
605
|
+
shadow: [B],
|
|
606
606
|
spacing: ["px", p],
|
|
607
|
-
text: [
|
|
608
|
-
"text-shadow": [
|
|
607
|
+
text: [B],
|
|
608
|
+
"text-shadow": [B],
|
|
609
609
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
610
610
|
},
|
|
611
611
|
classGroups: {
|
|
@@ -617,7 +617,7 @@ const E = (e) => {
|
|
|
617
617
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
618
618
|
*/
|
|
619
619
|
aspect: [{
|
|
620
|
-
aspect: ["auto", "square", ee,
|
|
620
|
+
aspect: ["auto", "square", ee, s, a, j]
|
|
621
621
|
}],
|
|
622
622
|
/**
|
|
623
623
|
* Container
|
|
@@ -630,21 +630,21 @@ const E = (e) => {
|
|
|
630
630
|
* @see https://tailwindcss.com/docs/columns
|
|
631
631
|
*/
|
|
632
632
|
columns: [{
|
|
633
|
-
columns: [p,
|
|
633
|
+
columns: [p, s, a, h]
|
|
634
634
|
}],
|
|
635
635
|
/**
|
|
636
636
|
* Break After
|
|
637
637
|
* @see https://tailwindcss.com/docs/break-after
|
|
638
638
|
*/
|
|
639
639
|
"break-after": [{
|
|
640
|
-
"break-after":
|
|
640
|
+
"break-after": Y()
|
|
641
641
|
}],
|
|
642
642
|
/**
|
|
643
643
|
* Break Before
|
|
644
644
|
* @see https://tailwindcss.com/docs/break-before
|
|
645
645
|
*/
|
|
646
646
|
"break-before": [{
|
|
647
|
-
"break-before":
|
|
647
|
+
"break-before": Y()
|
|
648
648
|
}],
|
|
649
649
|
/**
|
|
650
650
|
* Break Inside
|
|
@@ -708,49 +708,49 @@ const E = (e) => {
|
|
|
708
708
|
* @see https://tailwindcss.com/docs/object-position
|
|
709
709
|
*/
|
|
710
710
|
"object-position": [{
|
|
711
|
-
object:
|
|
711
|
+
object: $()
|
|
712
712
|
}],
|
|
713
713
|
/**
|
|
714
714
|
* Overflow
|
|
715
715
|
* @see https://tailwindcss.com/docs/overflow
|
|
716
716
|
*/
|
|
717
717
|
overflow: [{
|
|
718
|
-
overflow:
|
|
718
|
+
overflow: W()
|
|
719
719
|
}],
|
|
720
720
|
/**
|
|
721
721
|
* Overflow X
|
|
722
722
|
* @see https://tailwindcss.com/docs/overflow
|
|
723
723
|
*/
|
|
724
724
|
"overflow-x": [{
|
|
725
|
-
"overflow-x":
|
|
725
|
+
"overflow-x": W()
|
|
726
726
|
}],
|
|
727
727
|
/**
|
|
728
728
|
* Overflow Y
|
|
729
729
|
* @see https://tailwindcss.com/docs/overflow
|
|
730
730
|
*/
|
|
731
731
|
"overflow-y": [{
|
|
732
|
-
"overflow-y":
|
|
732
|
+
"overflow-y": W()
|
|
733
733
|
}],
|
|
734
734
|
/**
|
|
735
735
|
* Overscroll Behavior
|
|
736
736
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
737
737
|
*/
|
|
738
738
|
overscroll: [{
|
|
739
|
-
overscroll:
|
|
739
|
+
overscroll: G()
|
|
740
740
|
}],
|
|
741
741
|
/**
|
|
742
742
|
* Overscroll Behavior X
|
|
743
743
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
744
744
|
*/
|
|
745
745
|
"overscroll-x": [{
|
|
746
|
-
"overscroll-x":
|
|
746
|
+
"overscroll-x": G()
|
|
747
747
|
}],
|
|
748
748
|
/**
|
|
749
749
|
* Overscroll Behavior Y
|
|
750
750
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
751
751
|
*/
|
|
752
752
|
"overscroll-y": [{
|
|
753
|
-
"overscroll-y":
|
|
753
|
+
"overscroll-y": G()
|
|
754
754
|
}],
|
|
755
755
|
/**
|
|
756
756
|
* Position
|
|
@@ -762,63 +762,63 @@ const E = (e) => {
|
|
|
762
762
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
763
763
|
*/
|
|
764
764
|
inset: [{
|
|
765
|
-
inset:
|
|
765
|
+
inset: _()
|
|
766
766
|
}],
|
|
767
767
|
/**
|
|
768
768
|
* Right / Left
|
|
769
769
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
770
770
|
*/
|
|
771
771
|
"inset-x": [{
|
|
772
|
-
"inset-x":
|
|
772
|
+
"inset-x": _()
|
|
773
773
|
}],
|
|
774
774
|
/**
|
|
775
775
|
* Top / Bottom
|
|
776
776
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
777
777
|
*/
|
|
778
778
|
"inset-y": [{
|
|
779
|
-
"inset-y":
|
|
779
|
+
"inset-y": _()
|
|
780
780
|
}],
|
|
781
781
|
/**
|
|
782
782
|
* Start
|
|
783
783
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
784
784
|
*/
|
|
785
785
|
start: [{
|
|
786
|
-
start:
|
|
786
|
+
start: _()
|
|
787
787
|
}],
|
|
788
788
|
/**
|
|
789
789
|
* End
|
|
790
790
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
791
791
|
*/
|
|
792
792
|
end: [{
|
|
793
|
-
end:
|
|
793
|
+
end: _()
|
|
794
794
|
}],
|
|
795
795
|
/**
|
|
796
796
|
* Top
|
|
797
797
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
798
798
|
*/
|
|
799
799
|
top: [{
|
|
800
|
-
top:
|
|
800
|
+
top: _()
|
|
801
801
|
}],
|
|
802
802
|
/**
|
|
803
803
|
* Right
|
|
804
804
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
805
805
|
*/
|
|
806
806
|
right: [{
|
|
807
|
-
right:
|
|
807
|
+
right: _()
|
|
808
808
|
}],
|
|
809
809
|
/**
|
|
810
810
|
* Bottom
|
|
811
811
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
812
812
|
*/
|
|
813
813
|
bottom: [{
|
|
814
|
-
bottom:
|
|
814
|
+
bottom: _()
|
|
815
815
|
}],
|
|
816
816
|
/**
|
|
817
817
|
* Left
|
|
818
818
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
819
819
|
*/
|
|
820
820
|
left: [{
|
|
821
|
-
left:
|
|
821
|
+
left: _()
|
|
822
822
|
}],
|
|
823
823
|
/**
|
|
824
824
|
* Visibility
|
|
@@ -830,7 +830,7 @@ const E = (e) => {
|
|
|
830
830
|
* @see https://tailwindcss.com/docs/z-index
|
|
831
831
|
*/
|
|
832
832
|
z: [{
|
|
833
|
-
z: [
|
|
833
|
+
z: [H, "auto", a, s]
|
|
834
834
|
}],
|
|
835
835
|
// ------------------------
|
|
836
836
|
// --- Flexbox and Grid ---
|
|
@@ -840,7 +840,7 @@ const E = (e) => {
|
|
|
840
840
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
841
841
|
*/
|
|
842
842
|
basis: [{
|
|
843
|
-
basis: [ee, "full", "auto", h, ...
|
|
843
|
+
basis: [ee, "full", "auto", h, ...u()]
|
|
844
844
|
}],
|
|
845
845
|
/**
|
|
846
846
|
* Flex Direction
|
|
@@ -861,84 +861,84 @@ const E = (e) => {
|
|
|
861
861
|
* @see https://tailwindcss.com/docs/flex
|
|
862
862
|
*/
|
|
863
863
|
flex: [{
|
|
864
|
-
flex: [p, ee, "auto", "initial", "none",
|
|
864
|
+
flex: [p, ee, "auto", "initial", "none", s]
|
|
865
865
|
}],
|
|
866
866
|
/**
|
|
867
867
|
* Flex Grow
|
|
868
868
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
869
869
|
*/
|
|
870
870
|
grow: [{
|
|
871
|
-
grow: ["", p,
|
|
871
|
+
grow: ["", p, a, s]
|
|
872
872
|
}],
|
|
873
873
|
/**
|
|
874
874
|
* Flex Shrink
|
|
875
875
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
876
876
|
*/
|
|
877
877
|
shrink: [{
|
|
878
|
-
shrink: ["", p,
|
|
878
|
+
shrink: ["", p, a, s]
|
|
879
879
|
}],
|
|
880
880
|
/**
|
|
881
881
|
* Order
|
|
882
882
|
* @see https://tailwindcss.com/docs/order
|
|
883
883
|
*/
|
|
884
884
|
order: [{
|
|
885
|
-
order: [
|
|
885
|
+
order: [H, "first", "last", "none", a, s]
|
|
886
886
|
}],
|
|
887
887
|
/**
|
|
888
888
|
* Grid Template Columns
|
|
889
889
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
890
890
|
*/
|
|
891
891
|
"grid-cols": [{
|
|
892
|
-
"grid-cols":
|
|
892
|
+
"grid-cols": y()
|
|
893
893
|
}],
|
|
894
894
|
/**
|
|
895
895
|
* Grid Column Start / End
|
|
896
896
|
* @see https://tailwindcss.com/docs/grid-column
|
|
897
897
|
*/
|
|
898
898
|
"col-start-end": [{
|
|
899
|
-
col:
|
|
899
|
+
col: M()
|
|
900
900
|
}],
|
|
901
901
|
/**
|
|
902
902
|
* Grid Column Start
|
|
903
903
|
* @see https://tailwindcss.com/docs/grid-column
|
|
904
904
|
*/
|
|
905
905
|
"col-start": [{
|
|
906
|
-
"col-start":
|
|
906
|
+
"col-start": N()
|
|
907
907
|
}],
|
|
908
908
|
/**
|
|
909
909
|
* Grid Column End
|
|
910
910
|
* @see https://tailwindcss.com/docs/grid-column
|
|
911
911
|
*/
|
|
912
912
|
"col-end": [{
|
|
913
|
-
"col-end":
|
|
913
|
+
"col-end": N()
|
|
914
914
|
}],
|
|
915
915
|
/**
|
|
916
916
|
* Grid Template Rows
|
|
917
917
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
918
918
|
*/
|
|
919
919
|
"grid-rows": [{
|
|
920
|
-
"grid-rows":
|
|
920
|
+
"grid-rows": y()
|
|
921
921
|
}],
|
|
922
922
|
/**
|
|
923
923
|
* Grid Row Start / End
|
|
924
924
|
* @see https://tailwindcss.com/docs/grid-row
|
|
925
925
|
*/
|
|
926
926
|
"row-start-end": [{
|
|
927
|
-
row:
|
|
927
|
+
row: M()
|
|
928
928
|
}],
|
|
929
929
|
/**
|
|
930
930
|
* Grid Row Start
|
|
931
931
|
* @see https://tailwindcss.com/docs/grid-row
|
|
932
932
|
*/
|
|
933
933
|
"row-start": [{
|
|
934
|
-
"row-start":
|
|
934
|
+
"row-start": N()
|
|
935
935
|
}],
|
|
936
936
|
/**
|
|
937
937
|
* Grid Row End
|
|
938
938
|
* @see https://tailwindcss.com/docs/grid-row
|
|
939
939
|
*/
|
|
940
940
|
"row-end": [{
|
|
941
|
-
"row-end":
|
|
941
|
+
"row-end": N()
|
|
942
942
|
}],
|
|
943
943
|
/**
|
|
944
944
|
* Grid Auto Flow
|
|
@@ -952,70 +952,70 @@ const E = (e) => {
|
|
|
952
952
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
953
953
|
*/
|
|
954
954
|
"auto-cols": [{
|
|
955
|
-
"auto-cols":
|
|
955
|
+
"auto-cols": J()
|
|
956
956
|
}],
|
|
957
957
|
/**
|
|
958
958
|
* Grid Auto Rows
|
|
959
959
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
960
960
|
*/
|
|
961
961
|
"auto-rows": [{
|
|
962
|
-
"auto-rows":
|
|
962
|
+
"auto-rows": J()
|
|
963
963
|
}],
|
|
964
964
|
/**
|
|
965
965
|
* Gap
|
|
966
966
|
* @see https://tailwindcss.com/docs/gap
|
|
967
967
|
*/
|
|
968
968
|
gap: [{
|
|
969
|
-
gap:
|
|
969
|
+
gap: u()
|
|
970
970
|
}],
|
|
971
971
|
/**
|
|
972
972
|
* Gap X
|
|
973
973
|
* @see https://tailwindcss.com/docs/gap
|
|
974
974
|
*/
|
|
975
975
|
"gap-x": [{
|
|
976
|
-
"gap-x":
|
|
976
|
+
"gap-x": u()
|
|
977
977
|
}],
|
|
978
978
|
/**
|
|
979
979
|
* Gap Y
|
|
980
980
|
* @see https://tailwindcss.com/docs/gap
|
|
981
981
|
*/
|
|
982
982
|
"gap-y": [{
|
|
983
|
-
"gap-y":
|
|
983
|
+
"gap-y": u()
|
|
984
984
|
}],
|
|
985
985
|
/**
|
|
986
986
|
* Justify Content
|
|
987
987
|
* @see https://tailwindcss.com/docs/justify-content
|
|
988
988
|
*/
|
|
989
989
|
"justify-content": [{
|
|
990
|
-
justify: [...
|
|
990
|
+
justify: [...I(), "normal"]
|
|
991
991
|
}],
|
|
992
992
|
/**
|
|
993
993
|
* Justify Items
|
|
994
994
|
* @see https://tailwindcss.com/docs/justify-items
|
|
995
995
|
*/
|
|
996
996
|
"justify-items": [{
|
|
997
|
-
"justify-items": [...
|
|
997
|
+
"justify-items": [...S(), "normal"]
|
|
998
998
|
}],
|
|
999
999
|
/**
|
|
1000
1000
|
* Justify Self
|
|
1001
1001
|
* @see https://tailwindcss.com/docs/justify-self
|
|
1002
1002
|
*/
|
|
1003
1003
|
"justify-self": [{
|
|
1004
|
-
"justify-self": ["auto", ...
|
|
1004
|
+
"justify-self": ["auto", ...S()]
|
|
1005
1005
|
}],
|
|
1006
1006
|
/**
|
|
1007
1007
|
* Align Content
|
|
1008
1008
|
* @see https://tailwindcss.com/docs/align-content
|
|
1009
1009
|
*/
|
|
1010
1010
|
"align-content": [{
|
|
1011
|
-
content: ["normal", ...
|
|
1011
|
+
content: ["normal", ...I()]
|
|
1012
1012
|
}],
|
|
1013
1013
|
/**
|
|
1014
1014
|
* Align Items
|
|
1015
1015
|
* @see https://tailwindcss.com/docs/align-items
|
|
1016
1016
|
*/
|
|
1017
1017
|
"align-items": [{
|
|
1018
|
-
items: [...
|
|
1018
|
+
items: [...S(), {
|
|
1019
1019
|
baseline: ["", "last"]
|
|
1020
1020
|
}]
|
|
1021
1021
|
}],
|
|
@@ -1024,7 +1024,7 @@ const E = (e) => {
|
|
|
1024
1024
|
* @see https://tailwindcss.com/docs/align-self
|
|
1025
1025
|
*/
|
|
1026
1026
|
"align-self": [{
|
|
1027
|
-
self: ["auto", ...
|
|
1027
|
+
self: ["auto", ...S(), {
|
|
1028
1028
|
baseline: ["", "last"]
|
|
1029
1029
|
}]
|
|
1030
1030
|
}],
|
|
@@ -1033,21 +1033,21 @@ const E = (e) => {
|
|
|
1033
1033
|
* @see https://tailwindcss.com/docs/place-content
|
|
1034
1034
|
*/
|
|
1035
1035
|
"place-content": [{
|
|
1036
|
-
"place-content":
|
|
1036
|
+
"place-content": I()
|
|
1037
1037
|
}],
|
|
1038
1038
|
/**
|
|
1039
1039
|
* Place Items
|
|
1040
1040
|
* @see https://tailwindcss.com/docs/place-items
|
|
1041
1041
|
*/
|
|
1042
1042
|
"place-items": [{
|
|
1043
|
-
"place-items": [...
|
|
1043
|
+
"place-items": [...S(), "baseline"]
|
|
1044
1044
|
}],
|
|
1045
1045
|
/**
|
|
1046
1046
|
* Place Self
|
|
1047
1047
|
* @see https://tailwindcss.com/docs/place-self
|
|
1048
1048
|
*/
|
|
1049
1049
|
"place-self": [{
|
|
1050
|
-
"place-self": ["auto", ...
|
|
1050
|
+
"place-self": ["auto", ...S()]
|
|
1051
1051
|
}],
|
|
1052
1052
|
// Spacing
|
|
1053
1053
|
/**
|
|
@@ -1055,133 +1055,133 @@ const E = (e) => {
|
|
|
1055
1055
|
* @see https://tailwindcss.com/docs/padding
|
|
1056
1056
|
*/
|
|
1057
1057
|
p: [{
|
|
1058
|
-
p:
|
|
1058
|
+
p: u()
|
|
1059
1059
|
}],
|
|
1060
1060
|
/**
|
|
1061
1061
|
* Padding X
|
|
1062
1062
|
* @see https://tailwindcss.com/docs/padding
|
|
1063
1063
|
*/
|
|
1064
1064
|
px: [{
|
|
1065
|
-
px:
|
|
1065
|
+
px: u()
|
|
1066
1066
|
}],
|
|
1067
1067
|
/**
|
|
1068
1068
|
* Padding Y
|
|
1069
1069
|
* @see https://tailwindcss.com/docs/padding
|
|
1070
1070
|
*/
|
|
1071
1071
|
py: [{
|
|
1072
|
-
py:
|
|
1072
|
+
py: u()
|
|
1073
1073
|
}],
|
|
1074
1074
|
/**
|
|
1075
1075
|
* Padding Start
|
|
1076
1076
|
* @see https://tailwindcss.com/docs/padding
|
|
1077
1077
|
*/
|
|
1078
1078
|
ps: [{
|
|
1079
|
-
ps:
|
|
1079
|
+
ps: u()
|
|
1080
1080
|
}],
|
|
1081
1081
|
/**
|
|
1082
1082
|
* Padding End
|
|
1083
1083
|
* @see https://tailwindcss.com/docs/padding
|
|
1084
1084
|
*/
|
|
1085
1085
|
pe: [{
|
|
1086
|
-
pe:
|
|
1086
|
+
pe: u()
|
|
1087
1087
|
}],
|
|
1088
1088
|
/**
|
|
1089
1089
|
* Padding Top
|
|
1090
1090
|
* @see https://tailwindcss.com/docs/padding
|
|
1091
1091
|
*/
|
|
1092
1092
|
pt: [{
|
|
1093
|
-
pt:
|
|
1093
|
+
pt: u()
|
|
1094
1094
|
}],
|
|
1095
1095
|
/**
|
|
1096
1096
|
* Padding Right
|
|
1097
1097
|
* @see https://tailwindcss.com/docs/padding
|
|
1098
1098
|
*/
|
|
1099
1099
|
pr: [{
|
|
1100
|
-
pr:
|
|
1100
|
+
pr: u()
|
|
1101
1101
|
}],
|
|
1102
1102
|
/**
|
|
1103
1103
|
* Padding Bottom
|
|
1104
1104
|
* @see https://tailwindcss.com/docs/padding
|
|
1105
1105
|
*/
|
|
1106
1106
|
pb: [{
|
|
1107
|
-
pb:
|
|
1107
|
+
pb: u()
|
|
1108
1108
|
}],
|
|
1109
1109
|
/**
|
|
1110
1110
|
* Padding Left
|
|
1111
1111
|
* @see https://tailwindcss.com/docs/padding
|
|
1112
1112
|
*/
|
|
1113
1113
|
pl: [{
|
|
1114
|
-
pl:
|
|
1114
|
+
pl: u()
|
|
1115
1115
|
}],
|
|
1116
1116
|
/**
|
|
1117
1117
|
* Margin
|
|
1118
1118
|
* @see https://tailwindcss.com/docs/margin
|
|
1119
1119
|
*/
|
|
1120
1120
|
m: [{
|
|
1121
|
-
m:
|
|
1121
|
+
m: R()
|
|
1122
1122
|
}],
|
|
1123
1123
|
/**
|
|
1124
1124
|
* Margin X
|
|
1125
1125
|
* @see https://tailwindcss.com/docs/margin
|
|
1126
1126
|
*/
|
|
1127
1127
|
mx: [{
|
|
1128
|
-
mx:
|
|
1128
|
+
mx: R()
|
|
1129
1129
|
}],
|
|
1130
1130
|
/**
|
|
1131
1131
|
* Margin Y
|
|
1132
1132
|
* @see https://tailwindcss.com/docs/margin
|
|
1133
1133
|
*/
|
|
1134
1134
|
my: [{
|
|
1135
|
-
my:
|
|
1135
|
+
my: R()
|
|
1136
1136
|
}],
|
|
1137
1137
|
/**
|
|
1138
1138
|
* Margin Start
|
|
1139
1139
|
* @see https://tailwindcss.com/docs/margin
|
|
1140
1140
|
*/
|
|
1141
1141
|
ms: [{
|
|
1142
|
-
ms:
|
|
1142
|
+
ms: R()
|
|
1143
1143
|
}],
|
|
1144
1144
|
/**
|
|
1145
1145
|
* Margin End
|
|
1146
1146
|
* @see https://tailwindcss.com/docs/margin
|
|
1147
1147
|
*/
|
|
1148
1148
|
me: [{
|
|
1149
|
-
me:
|
|
1149
|
+
me: R()
|
|
1150
1150
|
}],
|
|
1151
1151
|
/**
|
|
1152
1152
|
* Margin Top
|
|
1153
1153
|
* @see https://tailwindcss.com/docs/margin
|
|
1154
1154
|
*/
|
|
1155
1155
|
mt: [{
|
|
1156
|
-
mt:
|
|
1156
|
+
mt: R()
|
|
1157
1157
|
}],
|
|
1158
1158
|
/**
|
|
1159
1159
|
* Margin Right
|
|
1160
1160
|
* @see https://tailwindcss.com/docs/margin
|
|
1161
1161
|
*/
|
|
1162
1162
|
mr: [{
|
|
1163
|
-
mr:
|
|
1163
|
+
mr: R()
|
|
1164
1164
|
}],
|
|
1165
1165
|
/**
|
|
1166
1166
|
* Margin Bottom
|
|
1167
1167
|
* @see https://tailwindcss.com/docs/margin
|
|
1168
1168
|
*/
|
|
1169
1169
|
mb: [{
|
|
1170
|
-
mb:
|
|
1170
|
+
mb: R()
|
|
1171
1171
|
}],
|
|
1172
1172
|
/**
|
|
1173
1173
|
* Margin Left
|
|
1174
1174
|
* @see https://tailwindcss.com/docs/margin
|
|
1175
1175
|
*/
|
|
1176
1176
|
ml: [{
|
|
1177
|
-
ml:
|
|
1177
|
+
ml: R()
|
|
1178
1178
|
}],
|
|
1179
1179
|
/**
|
|
1180
1180
|
* Space Between X
|
|
1181
1181
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1182
1182
|
*/
|
|
1183
1183
|
"space-x": [{
|
|
1184
|
-
"space-x":
|
|
1184
|
+
"space-x": u()
|
|
1185
1185
|
}],
|
|
1186
1186
|
/**
|
|
1187
1187
|
* Space Between X Reverse
|
|
@@ -1193,7 +1193,7 @@ const E = (e) => {
|
|
|
1193
1193
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1194
1194
|
*/
|
|
1195
1195
|
"space-y": [{
|
|
1196
|
-
"space-y":
|
|
1196
|
+
"space-y": u()
|
|
1197
1197
|
}],
|
|
1198
1198
|
/**
|
|
1199
1199
|
* Space Between Y Reverse
|
|
@@ -1208,14 +1208,14 @@ const E = (e) => {
|
|
|
1208
1208
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1209
1209
|
*/
|
|
1210
1210
|
size: [{
|
|
1211
|
-
size:
|
|
1211
|
+
size: D()
|
|
1212
1212
|
}],
|
|
1213
1213
|
/**
|
|
1214
1214
|
* Width
|
|
1215
1215
|
* @see https://tailwindcss.com/docs/width
|
|
1216
1216
|
*/
|
|
1217
1217
|
w: [{
|
|
1218
|
-
w: [h, "screen",
|
|
1218
|
+
w: [h, "screen", ...D()]
|
|
1219
1219
|
}],
|
|
1220
1220
|
/**
|
|
1221
1221
|
* Min-Width
|
|
@@ -1227,7 +1227,7 @@ const E = (e) => {
|
|
|
1227
1227
|
"screen",
|
|
1228
1228
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1229
1229
|
"none",
|
|
1230
|
-
|
|
1230
|
+
...D()
|
|
1231
1231
|
]
|
|
1232
1232
|
}],
|
|
1233
1233
|
/**
|
|
@@ -1243,9 +1243,9 @@ const E = (e) => {
|
|
|
1243
1243
|
"prose",
|
|
1244
1244
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1245
1245
|
{
|
|
1246
|
-
screen: [
|
|
1246
|
+
screen: [l]
|
|
1247
1247
|
},
|
|
1248
|
-
|
|
1248
|
+
...D()
|
|
1249
1249
|
]
|
|
1250
1250
|
}],
|
|
1251
1251
|
/**
|
|
@@ -1253,21 +1253,21 @@ const E = (e) => {
|
|
|
1253
1253
|
* @see https://tailwindcss.com/docs/height
|
|
1254
1254
|
*/
|
|
1255
1255
|
h: [{
|
|
1256
|
-
h: ["screen", "lh",
|
|
1256
|
+
h: ["screen", "lh", ...D()]
|
|
1257
1257
|
}],
|
|
1258
1258
|
/**
|
|
1259
1259
|
* Min-Height
|
|
1260
1260
|
* @see https://tailwindcss.com/docs/min-height
|
|
1261
1261
|
*/
|
|
1262
1262
|
"min-h": [{
|
|
1263
|
-
"min-h": ["screen", "lh", "none",
|
|
1263
|
+
"min-h": ["screen", "lh", "none", ...D()]
|
|
1264
1264
|
}],
|
|
1265
1265
|
/**
|
|
1266
1266
|
* Max-Height
|
|
1267
1267
|
* @see https://tailwindcss.com/docs/max-height
|
|
1268
1268
|
*/
|
|
1269
1269
|
"max-h": [{
|
|
1270
|
-
"max-h": ["screen", "lh",
|
|
1270
|
+
"max-h": ["screen", "lh", ...D()]
|
|
1271
1271
|
}],
|
|
1272
1272
|
// ------------------
|
|
1273
1273
|
// --- Typography ---
|
|
@@ -1294,21 +1294,21 @@ const E = (e) => {
|
|
|
1294
1294
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1295
1295
|
*/
|
|
1296
1296
|
"font-weight": [{
|
|
1297
|
-
font: [t,
|
|
1297
|
+
font: [t, a, be]
|
|
1298
1298
|
}],
|
|
1299
1299
|
/**
|
|
1300
1300
|
* Font Stretch
|
|
1301
1301
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1302
1302
|
*/
|
|
1303
1303
|
"font-stretch": [{
|
|
1304
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", pe,
|
|
1304
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", pe, s]
|
|
1305
1305
|
}],
|
|
1306
1306
|
/**
|
|
1307
1307
|
* Font Family
|
|
1308
1308
|
* @see https://tailwindcss.com/docs/font-family
|
|
1309
1309
|
*/
|
|
1310
1310
|
"font-family": [{
|
|
1311
|
-
font: [yr,
|
|
1311
|
+
font: [yr, s, n]
|
|
1312
1312
|
}],
|
|
1313
1313
|
/**
|
|
1314
1314
|
* Font Variant Numeric
|
|
@@ -1345,14 +1345,14 @@ const E = (e) => {
|
|
|
1345
1345
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1346
1346
|
*/
|
|
1347
1347
|
tracking: [{
|
|
1348
|
-
tracking: [
|
|
1348
|
+
tracking: [i, a, s]
|
|
1349
1349
|
}],
|
|
1350
1350
|
/**
|
|
1351
1351
|
* Line Clamp
|
|
1352
1352
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1353
1353
|
*/
|
|
1354
1354
|
"line-clamp": [{
|
|
1355
|
-
"line-clamp": [p, "none",
|
|
1355
|
+
"line-clamp": [p, "none", a, be]
|
|
1356
1356
|
}],
|
|
1357
1357
|
/**
|
|
1358
1358
|
* Line Height
|
|
@@ -1361,8 +1361,8 @@ const E = (e) => {
|
|
|
1361
1361
|
leading: [{
|
|
1362
1362
|
leading: [
|
|
1363
1363
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1364
|
-
|
|
1365
|
-
...
|
|
1364
|
+
c,
|
|
1365
|
+
...u()
|
|
1366
1366
|
]
|
|
1367
1367
|
}],
|
|
1368
1368
|
/**
|
|
@@ -1370,7 +1370,7 @@ const E = (e) => {
|
|
|
1370
1370
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1371
1371
|
*/
|
|
1372
1372
|
"list-image": [{
|
|
1373
|
-
"list-image": ["none",
|
|
1373
|
+
"list-image": ["none", a, s]
|
|
1374
1374
|
}],
|
|
1375
1375
|
/**
|
|
1376
1376
|
* List Style Position
|
|
@@ -1384,7 +1384,7 @@ const E = (e) => {
|
|
|
1384
1384
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1385
1385
|
*/
|
|
1386
1386
|
"list-style-type": [{
|
|
1387
|
-
list: ["disc", "decimal", "none",
|
|
1387
|
+
list: ["disc", "decimal", "none", a, s]
|
|
1388
1388
|
}],
|
|
1389
1389
|
/**
|
|
1390
1390
|
* Text Alignment
|
|
@@ -1399,14 +1399,14 @@ const E = (e) => {
|
|
|
1399
1399
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1400
1400
|
*/
|
|
1401
1401
|
"placeholder-color": [{
|
|
1402
|
-
placeholder:
|
|
1402
|
+
placeholder: d()
|
|
1403
1403
|
}],
|
|
1404
1404
|
/**
|
|
1405
1405
|
* Text Color
|
|
1406
1406
|
* @see https://tailwindcss.com/docs/text-color
|
|
1407
1407
|
*/
|
|
1408
1408
|
"text-color": [{
|
|
1409
|
-
text:
|
|
1409
|
+
text: d()
|
|
1410
1410
|
}],
|
|
1411
1411
|
/**
|
|
1412
1412
|
* Text Decoration
|
|
@@ -1418,28 +1418,28 @@ const E = (e) => {
|
|
|
1418
1418
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1419
1419
|
*/
|
|
1420
1420
|
"text-decoration-style": [{
|
|
1421
|
-
decoration: [...
|
|
1421
|
+
decoration: [...V(), "wavy"]
|
|
1422
1422
|
}],
|
|
1423
1423
|
/**
|
|
1424
1424
|
* Text Decoration Thickness
|
|
1425
1425
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1426
1426
|
*/
|
|
1427
1427
|
"text-decoration-thickness": [{
|
|
1428
|
-
decoration: [p, "from-font", "auto",
|
|
1428
|
+
decoration: [p, "from-font", "auto", a, Z]
|
|
1429
1429
|
}],
|
|
1430
1430
|
/**
|
|
1431
1431
|
* Text Decoration Color
|
|
1432
1432
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1433
1433
|
*/
|
|
1434
1434
|
"text-decoration-color": [{
|
|
1435
|
-
decoration:
|
|
1435
|
+
decoration: d()
|
|
1436
1436
|
}],
|
|
1437
1437
|
/**
|
|
1438
1438
|
* Text Underline Offset
|
|
1439
1439
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1440
1440
|
*/
|
|
1441
1441
|
"underline-offset": [{
|
|
1442
|
-
"underline-offset": [p, "auto",
|
|
1442
|
+
"underline-offset": [p, "auto", a, s]
|
|
1443
1443
|
}],
|
|
1444
1444
|
/**
|
|
1445
1445
|
* Text Transform
|
|
@@ -1463,14 +1463,14 @@ const E = (e) => {
|
|
|
1463
1463
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1464
1464
|
*/
|
|
1465
1465
|
indent: [{
|
|
1466
|
-
indent:
|
|
1466
|
+
indent: u()
|
|
1467
1467
|
}],
|
|
1468
1468
|
/**
|
|
1469
1469
|
* Vertical Alignment
|
|
1470
1470
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1471
1471
|
*/
|
|
1472
1472
|
"vertical-align": [{
|
|
1473
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1473
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", a, s]
|
|
1474
1474
|
}],
|
|
1475
1475
|
/**
|
|
1476
1476
|
* Whitespace
|
|
@@ -1505,7 +1505,7 @@ const E = (e) => {
|
|
|
1505
1505
|
* @see https://tailwindcss.com/docs/content
|
|
1506
1506
|
*/
|
|
1507
1507
|
content: [{
|
|
1508
|
-
content: ["none",
|
|
1508
|
+
content: ["none", a, s]
|
|
1509
1509
|
}],
|
|
1510
1510
|
// -------------------
|
|
1511
1511
|
// --- Backgrounds ---
|
|
@@ -1560,9 +1560,9 @@ const E = (e) => {
|
|
|
1560
1560
|
bg: ["none", {
|
|
1561
1561
|
linear: [{
|
|
1562
1562
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1563
|
-
},
|
|
1564
|
-
radial: ["",
|
|
1565
|
-
conic: [
|
|
1563
|
+
}, H, a, s],
|
|
1564
|
+
radial: ["", a, s],
|
|
1565
|
+
conic: [H, a, s]
|
|
1566
1566
|
}, wr, xr]
|
|
1567
1567
|
}],
|
|
1568
1568
|
/**
|
|
@@ -1570,7 +1570,7 @@ const E = (e) => {
|
|
|
1570
1570
|
* @see https://tailwindcss.com/docs/background-color
|
|
1571
1571
|
*/
|
|
1572
1572
|
"bg-color": [{
|
|
1573
|
-
bg:
|
|
1573
|
+
bg: d()
|
|
1574
1574
|
}],
|
|
1575
1575
|
/**
|
|
1576
1576
|
* Gradient Color Stops From Position
|
|
@@ -1598,21 +1598,21 @@ const E = (e) => {
|
|
|
1598
1598
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1599
1599
|
*/
|
|
1600
1600
|
"gradient-from": [{
|
|
1601
|
-
from:
|
|
1601
|
+
from: d()
|
|
1602
1602
|
}],
|
|
1603
1603
|
/**
|
|
1604
1604
|
* Gradient Color Stops Via
|
|
1605
1605
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1606
1606
|
*/
|
|
1607
1607
|
"gradient-via": [{
|
|
1608
|
-
via:
|
|
1608
|
+
via: d()
|
|
1609
1609
|
}],
|
|
1610
1610
|
/**
|
|
1611
1611
|
* Gradient Color Stops To
|
|
1612
1612
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1613
1613
|
*/
|
|
1614
1614
|
"gradient-to": [{
|
|
1615
|
-
to:
|
|
1615
|
+
to: d()
|
|
1616
1616
|
}],
|
|
1617
1617
|
// ---------------
|
|
1618
1618
|
// --- Borders ---
|
|
@@ -1814,98 +1814,98 @@ const E = (e) => {
|
|
|
1814
1814
|
* @see https://tailwindcss.com/docs/border-style
|
|
1815
1815
|
*/
|
|
1816
1816
|
"border-style": [{
|
|
1817
|
-
border: [...
|
|
1817
|
+
border: [...V(), "hidden", "none"]
|
|
1818
1818
|
}],
|
|
1819
1819
|
/**
|
|
1820
1820
|
* Divide Style
|
|
1821
1821
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1822
1822
|
*/
|
|
1823
1823
|
"divide-style": [{
|
|
1824
|
-
divide: [...
|
|
1824
|
+
divide: [...V(), "hidden", "none"]
|
|
1825
1825
|
}],
|
|
1826
1826
|
/**
|
|
1827
1827
|
* Border Color
|
|
1828
1828
|
* @see https://tailwindcss.com/docs/border-color
|
|
1829
1829
|
*/
|
|
1830
1830
|
"border-color": [{
|
|
1831
|
-
border:
|
|
1831
|
+
border: d()
|
|
1832
1832
|
}],
|
|
1833
1833
|
/**
|
|
1834
1834
|
* Border Color X
|
|
1835
1835
|
* @see https://tailwindcss.com/docs/border-color
|
|
1836
1836
|
*/
|
|
1837
1837
|
"border-color-x": [{
|
|
1838
|
-
"border-x":
|
|
1838
|
+
"border-x": d()
|
|
1839
1839
|
}],
|
|
1840
1840
|
/**
|
|
1841
1841
|
* Border Color Y
|
|
1842
1842
|
* @see https://tailwindcss.com/docs/border-color
|
|
1843
1843
|
*/
|
|
1844
1844
|
"border-color-y": [{
|
|
1845
|
-
"border-y":
|
|
1845
|
+
"border-y": d()
|
|
1846
1846
|
}],
|
|
1847
1847
|
/**
|
|
1848
1848
|
* Border Color S
|
|
1849
1849
|
* @see https://tailwindcss.com/docs/border-color
|
|
1850
1850
|
*/
|
|
1851
1851
|
"border-color-s": [{
|
|
1852
|
-
"border-s":
|
|
1852
|
+
"border-s": d()
|
|
1853
1853
|
}],
|
|
1854
1854
|
/**
|
|
1855
1855
|
* Border Color E
|
|
1856
1856
|
* @see https://tailwindcss.com/docs/border-color
|
|
1857
1857
|
*/
|
|
1858
1858
|
"border-color-e": [{
|
|
1859
|
-
"border-e":
|
|
1859
|
+
"border-e": d()
|
|
1860
1860
|
}],
|
|
1861
1861
|
/**
|
|
1862
1862
|
* Border Color Top
|
|
1863
1863
|
* @see https://tailwindcss.com/docs/border-color
|
|
1864
1864
|
*/
|
|
1865
1865
|
"border-color-t": [{
|
|
1866
|
-
"border-t":
|
|
1866
|
+
"border-t": d()
|
|
1867
1867
|
}],
|
|
1868
1868
|
/**
|
|
1869
1869
|
* Border Color Right
|
|
1870
1870
|
* @see https://tailwindcss.com/docs/border-color
|
|
1871
1871
|
*/
|
|
1872
1872
|
"border-color-r": [{
|
|
1873
|
-
"border-r":
|
|
1873
|
+
"border-r": d()
|
|
1874
1874
|
}],
|
|
1875
1875
|
/**
|
|
1876
1876
|
* Border Color Bottom
|
|
1877
1877
|
* @see https://tailwindcss.com/docs/border-color
|
|
1878
1878
|
*/
|
|
1879
1879
|
"border-color-b": [{
|
|
1880
|
-
"border-b":
|
|
1880
|
+
"border-b": d()
|
|
1881
1881
|
}],
|
|
1882
1882
|
/**
|
|
1883
1883
|
* Border Color Left
|
|
1884
1884
|
* @see https://tailwindcss.com/docs/border-color
|
|
1885
1885
|
*/
|
|
1886
1886
|
"border-color-l": [{
|
|
1887
|
-
"border-l":
|
|
1887
|
+
"border-l": d()
|
|
1888
1888
|
}],
|
|
1889
1889
|
/**
|
|
1890
1890
|
* Divide Color
|
|
1891
1891
|
* @see https://tailwindcss.com/docs/divide-color
|
|
1892
1892
|
*/
|
|
1893
1893
|
"divide-color": [{
|
|
1894
|
-
divide:
|
|
1894
|
+
divide: d()
|
|
1895
1895
|
}],
|
|
1896
1896
|
/**
|
|
1897
1897
|
* Outline Style
|
|
1898
1898
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1899
1899
|
*/
|
|
1900
1900
|
"outline-style": [{
|
|
1901
|
-
outline: [...
|
|
1901
|
+
outline: [...V(), "none", "hidden"]
|
|
1902
1902
|
}],
|
|
1903
1903
|
/**
|
|
1904
1904
|
* Outline Offset
|
|
1905
1905
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1906
1906
|
*/
|
|
1907
1907
|
"outline-offset": [{
|
|
1908
|
-
"outline-offset": [p,
|
|
1908
|
+
"outline-offset": [p, a, s]
|
|
1909
1909
|
}],
|
|
1910
1910
|
/**
|
|
1911
1911
|
* Outline Width
|
|
@@ -1919,7 +1919,7 @@ const E = (e) => {
|
|
|
1919
1919
|
* @see https://tailwindcss.com/docs/outline-color
|
|
1920
1920
|
*/
|
|
1921
1921
|
"outline-color": [{
|
|
1922
|
-
outline:
|
|
1922
|
+
outline: d()
|
|
1923
1923
|
}],
|
|
1924
1924
|
// ---------------
|
|
1925
1925
|
// --- Effects ---
|
|
@@ -1943,21 +1943,21 @@ const E = (e) => {
|
|
|
1943
1943
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
1944
1944
|
*/
|
|
1945
1945
|
"shadow-color": [{
|
|
1946
|
-
shadow:
|
|
1946
|
+
shadow: d()
|
|
1947
1947
|
}],
|
|
1948
1948
|
/**
|
|
1949
1949
|
* Inset Box Shadow
|
|
1950
1950
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1951
1951
|
*/
|
|
1952
1952
|
"inset-shadow": [{
|
|
1953
|
-
"inset-shadow": ["none",
|
|
1953
|
+
"inset-shadow": ["none", T, ue, de]
|
|
1954
1954
|
}],
|
|
1955
1955
|
/**
|
|
1956
1956
|
* Inset Box Shadow Color
|
|
1957
1957
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
1958
1958
|
*/
|
|
1959
1959
|
"inset-shadow-color": [{
|
|
1960
|
-
"inset-shadow":
|
|
1960
|
+
"inset-shadow": d()
|
|
1961
1961
|
}],
|
|
1962
1962
|
/**
|
|
1963
1963
|
* Ring Width
|
|
@@ -1978,7 +1978,7 @@ const E = (e) => {
|
|
|
1978
1978
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
1979
1979
|
*/
|
|
1980
1980
|
"ring-color": [{
|
|
1981
|
-
ring:
|
|
1981
|
+
ring: d()
|
|
1982
1982
|
}],
|
|
1983
1983
|
/**
|
|
1984
1984
|
* Ring Offset Width
|
|
@@ -1996,7 +1996,7 @@ const E = (e) => {
|
|
|
1996
1996
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1997
1997
|
*/
|
|
1998
1998
|
"ring-offset-color": [{
|
|
1999
|
-
"ring-offset":
|
|
1999
|
+
"ring-offset": d()
|
|
2000
2000
|
}],
|
|
2001
2001
|
/**
|
|
2002
2002
|
* Inset Ring Width
|
|
@@ -2010,28 +2010,28 @@ const E = (e) => {
|
|
|
2010
2010
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2011
2011
|
*/
|
|
2012
2012
|
"inset-ring-color": [{
|
|
2013
|
-
"inset-ring":
|
|
2013
|
+
"inset-ring": d()
|
|
2014
2014
|
}],
|
|
2015
2015
|
/**
|
|
2016
2016
|
* Text Shadow
|
|
2017
2017
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2018
2018
|
*/
|
|
2019
2019
|
"text-shadow": [{
|
|
2020
|
-
"text-shadow": ["none",
|
|
2020
|
+
"text-shadow": ["none", L, ue, de]
|
|
2021
2021
|
}],
|
|
2022
2022
|
/**
|
|
2023
2023
|
* Text Shadow Color
|
|
2024
2024
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2025
2025
|
*/
|
|
2026
2026
|
"text-shadow-color": [{
|
|
2027
|
-
"text-shadow":
|
|
2027
|
+
"text-shadow": d()
|
|
2028
2028
|
}],
|
|
2029
2029
|
/**
|
|
2030
2030
|
* Opacity
|
|
2031
2031
|
* @see https://tailwindcss.com/docs/opacity
|
|
2032
2032
|
*/
|
|
2033
2033
|
opacity: [{
|
|
2034
|
-
opacity: [p,
|
|
2034
|
+
opacity: [p, a, s]
|
|
2035
2035
|
}],
|
|
2036
2036
|
/**
|
|
2037
2037
|
* Mix Blend Mode
|
|
@@ -2075,10 +2075,10 @@ const E = (e) => {
|
|
|
2075
2075
|
"mask-linear-to": g()
|
|
2076
2076
|
}],
|
|
2077
2077
|
"mask-image-linear-from-color": [{
|
|
2078
|
-
"mask-linear-from":
|
|
2078
|
+
"mask-linear-from": d()
|
|
2079
2079
|
}],
|
|
2080
2080
|
"mask-image-linear-to-color": [{
|
|
2081
|
-
"mask-linear-to":
|
|
2081
|
+
"mask-linear-to": d()
|
|
2082
2082
|
}],
|
|
2083
2083
|
"mask-image-t-from-pos": [{
|
|
2084
2084
|
"mask-t-from": g()
|
|
@@ -2087,10 +2087,10 @@ const E = (e) => {
|
|
|
2087
2087
|
"mask-t-to": g()
|
|
2088
2088
|
}],
|
|
2089
2089
|
"mask-image-t-from-color": [{
|
|
2090
|
-
"mask-t-from":
|
|
2090
|
+
"mask-t-from": d()
|
|
2091
2091
|
}],
|
|
2092
2092
|
"mask-image-t-to-color": [{
|
|
2093
|
-
"mask-t-to":
|
|
2093
|
+
"mask-t-to": d()
|
|
2094
2094
|
}],
|
|
2095
2095
|
"mask-image-r-from-pos": [{
|
|
2096
2096
|
"mask-r-from": g()
|
|
@@ -2099,10 +2099,10 @@ const E = (e) => {
|
|
|
2099
2099
|
"mask-r-to": g()
|
|
2100
2100
|
}],
|
|
2101
2101
|
"mask-image-r-from-color": [{
|
|
2102
|
-
"mask-r-from":
|
|
2102
|
+
"mask-r-from": d()
|
|
2103
2103
|
}],
|
|
2104
2104
|
"mask-image-r-to-color": [{
|
|
2105
|
-
"mask-r-to":
|
|
2105
|
+
"mask-r-to": d()
|
|
2106
2106
|
}],
|
|
2107
2107
|
"mask-image-b-from-pos": [{
|
|
2108
2108
|
"mask-b-from": g()
|
|
@@ -2111,10 +2111,10 @@ const E = (e) => {
|
|
|
2111
2111
|
"mask-b-to": g()
|
|
2112
2112
|
}],
|
|
2113
2113
|
"mask-image-b-from-color": [{
|
|
2114
|
-
"mask-b-from":
|
|
2114
|
+
"mask-b-from": d()
|
|
2115
2115
|
}],
|
|
2116
2116
|
"mask-image-b-to-color": [{
|
|
2117
|
-
"mask-b-to":
|
|
2117
|
+
"mask-b-to": d()
|
|
2118
2118
|
}],
|
|
2119
2119
|
"mask-image-l-from-pos": [{
|
|
2120
2120
|
"mask-l-from": g()
|
|
@@ -2123,10 +2123,10 @@ const E = (e) => {
|
|
|
2123
2123
|
"mask-l-to": g()
|
|
2124
2124
|
}],
|
|
2125
2125
|
"mask-image-l-from-color": [{
|
|
2126
|
-
"mask-l-from":
|
|
2126
|
+
"mask-l-from": d()
|
|
2127
2127
|
}],
|
|
2128
2128
|
"mask-image-l-to-color": [{
|
|
2129
|
-
"mask-l-to":
|
|
2129
|
+
"mask-l-to": d()
|
|
2130
2130
|
}],
|
|
2131
2131
|
"mask-image-x-from-pos": [{
|
|
2132
2132
|
"mask-x-from": g()
|
|
@@ -2135,10 +2135,10 @@ const E = (e) => {
|
|
|
2135
2135
|
"mask-x-to": g()
|
|
2136
2136
|
}],
|
|
2137
2137
|
"mask-image-x-from-color": [{
|
|
2138
|
-
"mask-x-from":
|
|
2138
|
+
"mask-x-from": d()
|
|
2139
2139
|
}],
|
|
2140
2140
|
"mask-image-x-to-color": [{
|
|
2141
|
-
"mask-x-to":
|
|
2141
|
+
"mask-x-to": d()
|
|
2142
2142
|
}],
|
|
2143
2143
|
"mask-image-y-from-pos": [{
|
|
2144
2144
|
"mask-y-from": g()
|
|
@@ -2147,13 +2147,13 @@ const E = (e) => {
|
|
|
2147
2147
|
"mask-y-to": g()
|
|
2148
2148
|
}],
|
|
2149
2149
|
"mask-image-y-from-color": [{
|
|
2150
|
-
"mask-y-from":
|
|
2150
|
+
"mask-y-from": d()
|
|
2151
2151
|
}],
|
|
2152
2152
|
"mask-image-y-to-color": [{
|
|
2153
|
-
"mask-y-to":
|
|
2153
|
+
"mask-y-to": d()
|
|
2154
2154
|
}],
|
|
2155
2155
|
"mask-image-radial": [{
|
|
2156
|
-
"mask-radial": [
|
|
2156
|
+
"mask-radial": [a, s]
|
|
2157
2157
|
}],
|
|
2158
2158
|
"mask-image-radial-from-pos": [{
|
|
2159
2159
|
"mask-radial-from": g()
|
|
@@ -2162,10 +2162,10 @@ const E = (e) => {
|
|
|
2162
2162
|
"mask-radial-to": g()
|
|
2163
2163
|
}],
|
|
2164
2164
|
"mask-image-radial-from-color": [{
|
|
2165
|
-
"mask-radial-from":
|
|
2165
|
+
"mask-radial-from": d()
|
|
2166
2166
|
}],
|
|
2167
2167
|
"mask-image-radial-to-color": [{
|
|
2168
|
-
"mask-radial-to":
|
|
2168
|
+
"mask-radial-to": d()
|
|
2169
2169
|
}],
|
|
2170
2170
|
"mask-image-radial-shape": [{
|
|
2171
2171
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -2177,7 +2177,7 @@ const E = (e) => {
|
|
|
2177
2177
|
}]
|
|
2178
2178
|
}],
|
|
2179
2179
|
"mask-image-radial-pos": [{
|
|
2180
|
-
"mask-radial-at":
|
|
2180
|
+
"mask-radial-at": F()
|
|
2181
2181
|
}],
|
|
2182
2182
|
"mask-image-conic-pos": [{
|
|
2183
2183
|
"mask-conic": [p]
|
|
@@ -2189,10 +2189,10 @@ const E = (e) => {
|
|
|
2189
2189
|
"mask-conic-to": g()
|
|
2190
2190
|
}],
|
|
2191
2191
|
"mask-image-conic-from-color": [{
|
|
2192
|
-
"mask-conic-from":
|
|
2192
|
+
"mask-conic-from": d()
|
|
2193
2193
|
}],
|
|
2194
2194
|
"mask-image-conic-to-color": [{
|
|
2195
|
-
"mask-conic-to":
|
|
2195
|
+
"mask-conic-to": d()
|
|
2196
2196
|
}],
|
|
2197
2197
|
/**
|
|
2198
2198
|
* Mask Mode
|
|
@@ -2241,7 +2241,7 @@ const E = (e) => {
|
|
|
2241
2241
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2242
2242
|
*/
|
|
2243
2243
|
"mask-image": [{
|
|
2244
|
-
mask: ["none",
|
|
2244
|
+
mask: ["none", a, s]
|
|
2245
2245
|
}],
|
|
2246
2246
|
// ---------------
|
|
2247
2247
|
// --- Filters ---
|
|
@@ -2255,8 +2255,8 @@ const E = (e) => {
|
|
|
2255
2255
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2256
2256
|
"",
|
|
2257
2257
|
"none",
|
|
2258
|
-
|
|
2259
|
-
|
|
2258
|
+
a,
|
|
2259
|
+
s
|
|
2260
2260
|
]
|
|
2261
2261
|
}],
|
|
2262
2262
|
/**
|
|
@@ -2264,21 +2264,21 @@ const E = (e) => {
|
|
|
2264
2264
|
* @see https://tailwindcss.com/docs/blur
|
|
2265
2265
|
*/
|
|
2266
2266
|
blur: [{
|
|
2267
|
-
blur:
|
|
2267
|
+
blur: U()
|
|
2268
2268
|
}],
|
|
2269
2269
|
/**
|
|
2270
2270
|
* Brightness
|
|
2271
2271
|
* @see https://tailwindcss.com/docs/brightness
|
|
2272
2272
|
*/
|
|
2273
2273
|
brightness: [{
|
|
2274
|
-
brightness: [p,
|
|
2274
|
+
brightness: [p, a, s]
|
|
2275
2275
|
}],
|
|
2276
2276
|
/**
|
|
2277
2277
|
* Contrast
|
|
2278
2278
|
* @see https://tailwindcss.com/docs/contrast
|
|
2279
2279
|
*/
|
|
2280
2280
|
contrast: [{
|
|
2281
|
-
contrast: [p,
|
|
2281
|
+
contrast: [p, a, s]
|
|
2282
2282
|
}],
|
|
2283
2283
|
/**
|
|
2284
2284
|
* Drop Shadow
|
|
@@ -2299,42 +2299,42 @@ const E = (e) => {
|
|
|
2299
2299
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2300
2300
|
*/
|
|
2301
2301
|
"drop-shadow-color": [{
|
|
2302
|
-
"drop-shadow":
|
|
2302
|
+
"drop-shadow": d()
|
|
2303
2303
|
}],
|
|
2304
2304
|
/**
|
|
2305
2305
|
* Grayscale
|
|
2306
2306
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2307
2307
|
*/
|
|
2308
2308
|
grayscale: [{
|
|
2309
|
-
grayscale: ["", p,
|
|
2309
|
+
grayscale: ["", p, a, s]
|
|
2310
2310
|
}],
|
|
2311
2311
|
/**
|
|
2312
2312
|
* Hue Rotate
|
|
2313
2313
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2314
2314
|
*/
|
|
2315
2315
|
"hue-rotate": [{
|
|
2316
|
-
"hue-rotate": [p,
|
|
2316
|
+
"hue-rotate": [p, a, s]
|
|
2317
2317
|
}],
|
|
2318
2318
|
/**
|
|
2319
2319
|
* Invert
|
|
2320
2320
|
* @see https://tailwindcss.com/docs/invert
|
|
2321
2321
|
*/
|
|
2322
2322
|
invert: [{
|
|
2323
|
-
invert: ["", p,
|
|
2323
|
+
invert: ["", p, a, s]
|
|
2324
2324
|
}],
|
|
2325
2325
|
/**
|
|
2326
2326
|
* Saturate
|
|
2327
2327
|
* @see https://tailwindcss.com/docs/saturate
|
|
2328
2328
|
*/
|
|
2329
2329
|
saturate: [{
|
|
2330
|
-
saturate: [p,
|
|
2330
|
+
saturate: [p, a, s]
|
|
2331
2331
|
}],
|
|
2332
2332
|
/**
|
|
2333
2333
|
* Sepia
|
|
2334
2334
|
* @see https://tailwindcss.com/docs/sepia
|
|
2335
2335
|
*/
|
|
2336
2336
|
sepia: [{
|
|
2337
|
-
sepia: ["", p,
|
|
2337
|
+
sepia: ["", p, a, s]
|
|
2338
2338
|
}],
|
|
2339
2339
|
/**
|
|
2340
2340
|
* Backdrop Filter
|
|
@@ -2345,8 +2345,8 @@ const E = (e) => {
|
|
|
2345
2345
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2346
2346
|
"",
|
|
2347
2347
|
"none",
|
|
2348
|
-
|
|
2349
|
-
|
|
2348
|
+
a,
|
|
2349
|
+
s
|
|
2350
2350
|
]
|
|
2351
2351
|
}],
|
|
2352
2352
|
/**
|
|
@@ -2354,63 +2354,63 @@ const E = (e) => {
|
|
|
2354
2354
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2355
2355
|
*/
|
|
2356
2356
|
"backdrop-blur": [{
|
|
2357
|
-
"backdrop-blur":
|
|
2357
|
+
"backdrop-blur": U()
|
|
2358
2358
|
}],
|
|
2359
2359
|
/**
|
|
2360
2360
|
* Backdrop Brightness
|
|
2361
2361
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2362
2362
|
*/
|
|
2363
2363
|
"backdrop-brightness": [{
|
|
2364
|
-
"backdrop-brightness": [p,
|
|
2364
|
+
"backdrop-brightness": [p, a, s]
|
|
2365
2365
|
}],
|
|
2366
2366
|
/**
|
|
2367
2367
|
* Backdrop Contrast
|
|
2368
2368
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2369
2369
|
*/
|
|
2370
2370
|
"backdrop-contrast": [{
|
|
2371
|
-
"backdrop-contrast": [p,
|
|
2371
|
+
"backdrop-contrast": [p, a, s]
|
|
2372
2372
|
}],
|
|
2373
2373
|
/**
|
|
2374
2374
|
* Backdrop Grayscale
|
|
2375
2375
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2376
2376
|
*/
|
|
2377
2377
|
"backdrop-grayscale": [{
|
|
2378
|
-
"backdrop-grayscale": ["", p,
|
|
2378
|
+
"backdrop-grayscale": ["", p, a, s]
|
|
2379
2379
|
}],
|
|
2380
2380
|
/**
|
|
2381
2381
|
* Backdrop Hue Rotate
|
|
2382
2382
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2383
2383
|
*/
|
|
2384
2384
|
"backdrop-hue-rotate": [{
|
|
2385
|
-
"backdrop-hue-rotate": [p,
|
|
2385
|
+
"backdrop-hue-rotate": [p, a, s]
|
|
2386
2386
|
}],
|
|
2387
2387
|
/**
|
|
2388
2388
|
* Backdrop Invert
|
|
2389
2389
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2390
2390
|
*/
|
|
2391
2391
|
"backdrop-invert": [{
|
|
2392
|
-
"backdrop-invert": ["", p,
|
|
2392
|
+
"backdrop-invert": ["", p, a, s]
|
|
2393
2393
|
}],
|
|
2394
2394
|
/**
|
|
2395
2395
|
* Backdrop Opacity
|
|
2396
2396
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2397
2397
|
*/
|
|
2398
2398
|
"backdrop-opacity": [{
|
|
2399
|
-
"backdrop-opacity": [p,
|
|
2399
|
+
"backdrop-opacity": [p, a, s]
|
|
2400
2400
|
}],
|
|
2401
2401
|
/**
|
|
2402
2402
|
* Backdrop Saturate
|
|
2403
2403
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2404
2404
|
*/
|
|
2405
2405
|
"backdrop-saturate": [{
|
|
2406
|
-
"backdrop-saturate": [p,
|
|
2406
|
+
"backdrop-saturate": [p, a, s]
|
|
2407
2407
|
}],
|
|
2408
2408
|
/**
|
|
2409
2409
|
* Backdrop Sepia
|
|
2410
2410
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2411
2411
|
*/
|
|
2412
2412
|
"backdrop-sepia": [{
|
|
2413
|
-
"backdrop-sepia": ["", p,
|
|
2413
|
+
"backdrop-sepia": ["", p, a, s]
|
|
2414
2414
|
}],
|
|
2415
2415
|
// --------------
|
|
2416
2416
|
// --- Tables ---
|
|
@@ -2427,21 +2427,21 @@ const E = (e) => {
|
|
|
2427
2427
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2428
2428
|
*/
|
|
2429
2429
|
"border-spacing": [{
|
|
2430
|
-
"border-spacing":
|
|
2430
|
+
"border-spacing": u()
|
|
2431
2431
|
}],
|
|
2432
2432
|
/**
|
|
2433
2433
|
* Border Spacing X
|
|
2434
2434
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2435
2435
|
*/
|
|
2436
2436
|
"border-spacing-x": [{
|
|
2437
|
-
"border-spacing-x":
|
|
2437
|
+
"border-spacing-x": u()
|
|
2438
2438
|
}],
|
|
2439
2439
|
/**
|
|
2440
2440
|
* Border Spacing Y
|
|
2441
2441
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2442
2442
|
*/
|
|
2443
2443
|
"border-spacing-y": [{
|
|
2444
|
-
"border-spacing-y":
|
|
2444
|
+
"border-spacing-y": u()
|
|
2445
2445
|
}],
|
|
2446
2446
|
/**
|
|
2447
2447
|
* Table Layout
|
|
@@ -2465,7 +2465,7 @@ const E = (e) => {
|
|
|
2465
2465
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2466
2466
|
*/
|
|
2467
2467
|
transition: [{
|
|
2468
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2468
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", a, s]
|
|
2469
2469
|
}],
|
|
2470
2470
|
/**
|
|
2471
2471
|
* Transition Behavior
|
|
@@ -2479,28 +2479,28 @@ const E = (e) => {
|
|
|
2479
2479
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2480
2480
|
*/
|
|
2481
2481
|
duration: [{
|
|
2482
|
-
duration: [p, "initial",
|
|
2482
|
+
duration: [p, "initial", a, s]
|
|
2483
2483
|
}],
|
|
2484
2484
|
/**
|
|
2485
2485
|
* Transition Timing Function
|
|
2486
2486
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2487
2487
|
*/
|
|
2488
2488
|
ease: [{
|
|
2489
|
-
ease: ["linear", "initial",
|
|
2489
|
+
ease: ["linear", "initial", O, a, s]
|
|
2490
2490
|
}],
|
|
2491
2491
|
/**
|
|
2492
2492
|
* Transition Delay
|
|
2493
2493
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2494
2494
|
*/
|
|
2495
2495
|
delay: [{
|
|
2496
|
-
delay: [p,
|
|
2496
|
+
delay: [p, a, s]
|
|
2497
2497
|
}],
|
|
2498
2498
|
/**
|
|
2499
2499
|
* Animation
|
|
2500
2500
|
* @see https://tailwindcss.com/docs/animation
|
|
2501
2501
|
*/
|
|
2502
2502
|
animate: [{
|
|
2503
|
-
animate: ["none",
|
|
2503
|
+
animate: ["none", q, a, s]
|
|
2504
2504
|
}],
|
|
2505
2505
|
// ------------------
|
|
2506
2506
|
// --- Transforms ---
|
|
@@ -2517,42 +2517,42 @@ const E = (e) => {
|
|
|
2517
2517
|
* @see https://tailwindcss.com/docs/perspective
|
|
2518
2518
|
*/
|
|
2519
2519
|
perspective: [{
|
|
2520
|
-
perspective: [v,
|
|
2520
|
+
perspective: [v, a, s]
|
|
2521
2521
|
}],
|
|
2522
2522
|
/**
|
|
2523
2523
|
* Perspective Origin
|
|
2524
2524
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2525
2525
|
*/
|
|
2526
2526
|
"perspective-origin": [{
|
|
2527
|
-
"perspective-origin":
|
|
2527
|
+
"perspective-origin": $()
|
|
2528
2528
|
}],
|
|
2529
2529
|
/**
|
|
2530
2530
|
* Rotate
|
|
2531
2531
|
* @see https://tailwindcss.com/docs/rotate
|
|
2532
2532
|
*/
|
|
2533
2533
|
rotate: [{
|
|
2534
|
-
rotate:
|
|
2534
|
+
rotate: X()
|
|
2535
2535
|
}],
|
|
2536
2536
|
/**
|
|
2537
2537
|
* Rotate X
|
|
2538
2538
|
* @see https://tailwindcss.com/docs/rotate
|
|
2539
2539
|
*/
|
|
2540
2540
|
"rotate-x": [{
|
|
2541
|
-
"rotate-x":
|
|
2541
|
+
"rotate-x": X()
|
|
2542
2542
|
}],
|
|
2543
2543
|
/**
|
|
2544
2544
|
* Rotate Y
|
|
2545
2545
|
* @see https://tailwindcss.com/docs/rotate
|
|
2546
2546
|
*/
|
|
2547
2547
|
"rotate-y": [{
|
|
2548
|
-
"rotate-y":
|
|
2548
|
+
"rotate-y": X()
|
|
2549
2549
|
}],
|
|
2550
2550
|
/**
|
|
2551
2551
|
* Rotate Z
|
|
2552
2552
|
* @see https://tailwindcss.com/docs/rotate
|
|
2553
2553
|
*/
|
|
2554
2554
|
"rotate-z": [{
|
|
2555
|
-
"rotate-z":
|
|
2555
|
+
"rotate-z": X()
|
|
2556
2556
|
}],
|
|
2557
2557
|
/**
|
|
2558
2558
|
* Scale
|
|
@@ -2613,14 +2613,14 @@ const E = (e) => {
|
|
|
2613
2613
|
* @see https://tailwindcss.com/docs/transform
|
|
2614
2614
|
*/
|
|
2615
2615
|
transform: [{
|
|
2616
|
-
transform: [
|
|
2616
|
+
transform: [a, s, "", "none", "gpu", "cpu"]
|
|
2617
2617
|
}],
|
|
2618
2618
|
/**
|
|
2619
2619
|
* Transform Origin
|
|
2620
2620
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2621
2621
|
*/
|
|
2622
2622
|
"transform-origin": [{
|
|
2623
|
-
origin:
|
|
2623
|
+
origin: $()
|
|
2624
2624
|
}],
|
|
2625
2625
|
/**
|
|
2626
2626
|
* Transform Style
|
|
@@ -2670,7 +2670,7 @@ const E = (e) => {
|
|
|
2670
2670
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2671
2671
|
*/
|
|
2672
2672
|
accent: [{
|
|
2673
|
-
accent:
|
|
2673
|
+
accent: d()
|
|
2674
2674
|
}],
|
|
2675
2675
|
/**
|
|
2676
2676
|
* Appearance
|
|
@@ -2684,7 +2684,7 @@ const E = (e) => {
|
|
|
2684
2684
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2685
2685
|
*/
|
|
2686
2686
|
"caret-color": [{
|
|
2687
|
-
caret:
|
|
2687
|
+
caret: d()
|
|
2688
2688
|
}],
|
|
2689
2689
|
/**
|
|
2690
2690
|
* Color Scheme
|
|
@@ -2698,7 +2698,7 @@ const E = (e) => {
|
|
|
2698
2698
|
* @see https://tailwindcss.com/docs/cursor
|
|
2699
2699
|
*/
|
|
2700
2700
|
cursor: [{
|
|
2701
|
-
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",
|
|
2701
|
+
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", a, s]
|
|
2702
2702
|
}],
|
|
2703
2703
|
/**
|
|
2704
2704
|
* Field Sizing
|
|
@@ -2733,126 +2733,126 @@ const E = (e) => {
|
|
|
2733
2733
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2734
2734
|
*/
|
|
2735
2735
|
"scroll-m": [{
|
|
2736
|
-
"scroll-m":
|
|
2736
|
+
"scroll-m": u()
|
|
2737
2737
|
}],
|
|
2738
2738
|
/**
|
|
2739
2739
|
* Scroll Margin X
|
|
2740
2740
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2741
2741
|
*/
|
|
2742
2742
|
"scroll-mx": [{
|
|
2743
|
-
"scroll-mx":
|
|
2743
|
+
"scroll-mx": u()
|
|
2744
2744
|
}],
|
|
2745
2745
|
/**
|
|
2746
2746
|
* Scroll Margin Y
|
|
2747
2747
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2748
2748
|
*/
|
|
2749
2749
|
"scroll-my": [{
|
|
2750
|
-
"scroll-my":
|
|
2750
|
+
"scroll-my": u()
|
|
2751
2751
|
}],
|
|
2752
2752
|
/**
|
|
2753
2753
|
* Scroll Margin Start
|
|
2754
2754
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2755
2755
|
*/
|
|
2756
2756
|
"scroll-ms": [{
|
|
2757
|
-
"scroll-ms":
|
|
2757
|
+
"scroll-ms": u()
|
|
2758
2758
|
}],
|
|
2759
2759
|
/**
|
|
2760
2760
|
* Scroll Margin End
|
|
2761
2761
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2762
2762
|
*/
|
|
2763
2763
|
"scroll-me": [{
|
|
2764
|
-
"scroll-me":
|
|
2764
|
+
"scroll-me": u()
|
|
2765
2765
|
}],
|
|
2766
2766
|
/**
|
|
2767
2767
|
* Scroll Margin Top
|
|
2768
2768
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2769
2769
|
*/
|
|
2770
2770
|
"scroll-mt": [{
|
|
2771
|
-
"scroll-mt":
|
|
2771
|
+
"scroll-mt": u()
|
|
2772
2772
|
}],
|
|
2773
2773
|
/**
|
|
2774
2774
|
* Scroll Margin Right
|
|
2775
2775
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2776
2776
|
*/
|
|
2777
2777
|
"scroll-mr": [{
|
|
2778
|
-
"scroll-mr":
|
|
2778
|
+
"scroll-mr": u()
|
|
2779
2779
|
}],
|
|
2780
2780
|
/**
|
|
2781
2781
|
* Scroll Margin Bottom
|
|
2782
2782
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2783
2783
|
*/
|
|
2784
2784
|
"scroll-mb": [{
|
|
2785
|
-
"scroll-mb":
|
|
2785
|
+
"scroll-mb": u()
|
|
2786
2786
|
}],
|
|
2787
2787
|
/**
|
|
2788
2788
|
* Scroll Margin Left
|
|
2789
2789
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2790
2790
|
*/
|
|
2791
2791
|
"scroll-ml": [{
|
|
2792
|
-
"scroll-ml":
|
|
2792
|
+
"scroll-ml": u()
|
|
2793
2793
|
}],
|
|
2794
2794
|
/**
|
|
2795
2795
|
* Scroll Padding
|
|
2796
2796
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2797
2797
|
*/
|
|
2798
2798
|
"scroll-p": [{
|
|
2799
|
-
"scroll-p":
|
|
2799
|
+
"scroll-p": u()
|
|
2800
2800
|
}],
|
|
2801
2801
|
/**
|
|
2802
2802
|
* Scroll Padding X
|
|
2803
2803
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2804
2804
|
*/
|
|
2805
2805
|
"scroll-px": [{
|
|
2806
|
-
"scroll-px":
|
|
2806
|
+
"scroll-px": u()
|
|
2807
2807
|
}],
|
|
2808
2808
|
/**
|
|
2809
2809
|
* Scroll Padding Y
|
|
2810
2810
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2811
2811
|
*/
|
|
2812
2812
|
"scroll-py": [{
|
|
2813
|
-
"scroll-py":
|
|
2813
|
+
"scroll-py": u()
|
|
2814
2814
|
}],
|
|
2815
2815
|
/**
|
|
2816
2816
|
* Scroll Padding Start
|
|
2817
2817
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2818
2818
|
*/
|
|
2819
2819
|
"scroll-ps": [{
|
|
2820
|
-
"scroll-ps":
|
|
2820
|
+
"scroll-ps": u()
|
|
2821
2821
|
}],
|
|
2822
2822
|
/**
|
|
2823
2823
|
* Scroll Padding End
|
|
2824
2824
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2825
2825
|
*/
|
|
2826
2826
|
"scroll-pe": [{
|
|
2827
|
-
"scroll-pe":
|
|
2827
|
+
"scroll-pe": u()
|
|
2828
2828
|
}],
|
|
2829
2829
|
/**
|
|
2830
2830
|
* Scroll Padding Top
|
|
2831
2831
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2832
2832
|
*/
|
|
2833
2833
|
"scroll-pt": [{
|
|
2834
|
-
"scroll-pt":
|
|
2834
|
+
"scroll-pt": u()
|
|
2835
2835
|
}],
|
|
2836
2836
|
/**
|
|
2837
2837
|
* Scroll Padding Right
|
|
2838
2838
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2839
2839
|
*/
|
|
2840
2840
|
"scroll-pr": [{
|
|
2841
|
-
"scroll-pr":
|
|
2841
|
+
"scroll-pr": u()
|
|
2842
2842
|
}],
|
|
2843
2843
|
/**
|
|
2844
2844
|
* Scroll Padding Bottom
|
|
2845
2845
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2846
2846
|
*/
|
|
2847
2847
|
"scroll-pb": [{
|
|
2848
|
-
"scroll-pb":
|
|
2848
|
+
"scroll-pb": u()
|
|
2849
2849
|
}],
|
|
2850
2850
|
/**
|
|
2851
2851
|
* Scroll Padding Left
|
|
2852
2852
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2853
2853
|
*/
|
|
2854
2854
|
"scroll-pl": [{
|
|
2855
|
-
"scroll-pl":
|
|
2855
|
+
"scroll-pl": u()
|
|
2856
2856
|
}],
|
|
2857
2857
|
/**
|
|
2858
2858
|
* Scroll Snap Align
|
|
@@ -2920,7 +2920,7 @@ const E = (e) => {
|
|
|
2920
2920
|
* @see https://tailwindcss.com/docs/will-change
|
|
2921
2921
|
*/
|
|
2922
2922
|
"will-change": [{
|
|
2923
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2923
|
+
"will-change": ["auto", "scroll", "contents", "transform", a, s]
|
|
2924
2924
|
}],
|
|
2925
2925
|
// -----------
|
|
2926
2926
|
// --- SVG ---
|
|
@@ -2930,7 +2930,7 @@ const E = (e) => {
|
|
|
2930
2930
|
* @see https://tailwindcss.com/docs/fill
|
|
2931
2931
|
*/
|
|
2932
2932
|
fill: [{
|
|
2933
|
-
fill: ["none", ...
|
|
2933
|
+
fill: ["none", ...d()]
|
|
2934
2934
|
}],
|
|
2935
2935
|
/**
|
|
2936
2936
|
* Stroke Width
|
|
@@ -2944,7 +2944,7 @@ const E = (e) => {
|
|
|
2944
2944
|
* @see https://tailwindcss.com/docs/stroke
|
|
2945
2945
|
*/
|
|
2946
2946
|
stroke: [{
|
|
2947
|
-
stroke: ["none", ...
|
|
2947
|
+
stroke: ["none", ...d()]
|
|
2948
2948
|
}],
|
|
2949
2949
|
// ---------------------
|
|
2950
2950
|
// --- Accessibility ---
|
|
@@ -3012,11 +3012,11 @@ const E = (e) => {
|
|
|
3012
3012
|
},
|
|
3013
3013
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3014
3014
|
};
|
|
3015
|
-
},
|
|
3015
|
+
}, Ar = /* @__PURE__ */ sr(Er);
|
|
3016
3016
|
function P(...e) {
|
|
3017
|
-
return
|
|
3017
|
+
return Ar(Ue(e));
|
|
3018
3018
|
}
|
|
3019
|
-
const
|
|
3019
|
+
const Cr = [
|
|
3020
3020
|
"Sun",
|
|
3021
3021
|
"Mon",
|
|
3022
3022
|
"Tue",
|
|
@@ -3025,74 +3025,79 @@ const Ar = [
|
|
|
3025
3025
|
"Fri",
|
|
3026
3026
|
"Sat"
|
|
3027
3027
|
];
|
|
3028
|
-
function
|
|
3029
|
-
const
|
|
3030
|
-
for (let
|
|
3028
|
+
function _r({ year: e, monthIndex: n }, o) {
|
|
3029
|
+
const i = new Date(e, n, 1).getDay(), c = new Date(e, n + 1, 0).getDate(), l = new Date(e, n, 0).getDate(), h = [];
|
|
3030
|
+
for (let k = 0; k < i; k++)
|
|
3031
3031
|
h.push({
|
|
3032
|
-
day:
|
|
3032
|
+
day: l - i + 1 + k,
|
|
3033
3033
|
inCurrentMonth: !1
|
|
3034
3034
|
});
|
|
3035
|
-
for (let
|
|
3036
|
-
h.push({ day:
|
|
3035
|
+
for (let k = 1; k <= c; k++)
|
|
3036
|
+
h.push({ day: k, inCurrentMonth: !0 });
|
|
3037
3037
|
let m = 1;
|
|
3038
3038
|
for (; h.length % o !== 0; )
|
|
3039
3039
|
h.push({ day: m, inCurrentMonth: !1 }), m++;
|
|
3040
3040
|
return h;
|
|
3041
3041
|
}
|
|
3042
3042
|
function Tr({
|
|
3043
|
-
view: e,
|
|
3043
|
+
view: e = { year: (/* @__PURE__ */ new Date()).getFullYear(), monthIndex: (/* @__PURE__ */ new Date()).getMonth() },
|
|
3044
3044
|
onChangeView: n,
|
|
3045
3045
|
attendanceData: o,
|
|
3046
3046
|
onDateClick: t,
|
|
3047
|
-
showNavigation:
|
|
3048
|
-
showWeekdayHeaders:
|
|
3049
|
-
className:
|
|
3047
|
+
showNavigation: i = !0,
|
|
3048
|
+
showWeekdayHeaders: c = !0,
|
|
3049
|
+
className: l = "",
|
|
3050
3050
|
// Customization props
|
|
3051
3051
|
cellClassName: h = "",
|
|
3052
3052
|
presentCellClassName: m = "",
|
|
3053
|
-
absentCellClassName:
|
|
3053
|
+
absentCellClassName: k = "",
|
|
3054
3054
|
navigationButtonClassName: w = "",
|
|
3055
|
-
weekdayHeaderClassName:
|
|
3056
|
-
monthTitleClassName:
|
|
3055
|
+
weekdayHeaderClassName: T = "",
|
|
3056
|
+
monthTitleClassName: L = "",
|
|
3057
3057
|
containerClassName: z = ""
|
|
3058
3058
|
}) {
|
|
3059
|
-
const
|
|
3059
|
+
const E = Fe(null), [v, j] = $e(7);
|
|
3060
3060
|
We(() => {
|
|
3061
|
-
if (!
|
|
3062
|
-
const
|
|
3063
|
-
const
|
|
3064
|
-
|
|
3061
|
+
if (!E.current) return;
|
|
3062
|
+
const y = E.current, M = new ResizeObserver((N) => {
|
|
3063
|
+
const R = (N[0]?.contentRect.width ?? y.clientWidth) >= 8 * 64 + 156;
|
|
3064
|
+
j(R ? 14 : 7);
|
|
3065
3065
|
});
|
|
3066
|
-
return
|
|
3066
|
+
return M.observe(y), () => M.disconnect();
|
|
3067
3067
|
}, []);
|
|
3068
|
-
const
|
|
3068
|
+
const O = fe(() => _r(e, v), [e, v]), q = fe(() => Array.from({ length: v }).map((y, M) => Cr[M % 7]), [v]), Y = fe(
|
|
3069
3069
|
() => new Date(e.year, e.monthIndex).toLocaleString("en-US", {
|
|
3070
3070
|
month: "long"
|
|
3071
3071
|
}),
|
|
3072
3072
|
[e]
|
|
3073
|
-
),
|
|
3074
|
-
const
|
|
3075
|
-
|
|
3076
|
-
},
|
|
3077
|
-
const
|
|
3078
|
-
|
|
3079
|
-
},
|
|
3080
|
-
|
|
3073
|
+
), F = () => {
|
|
3074
|
+
const y = e.monthIndex - 1;
|
|
3075
|
+
y < 0 ? n({ year: e.year - 1, monthIndex: 11 }) : n({ ...e, monthIndex: y });
|
|
3076
|
+
}, $ = () => {
|
|
3077
|
+
const y = e.monthIndex + 1;
|
|
3078
|
+
y > 11 ? n({ year: e.year + 1, monthIndex: 0 }) : n({ ...e, monthIndex: y });
|
|
3079
|
+
}, G = (() => {
|
|
3080
|
+
if (o)
|
|
3081
|
+
return Array.isArray(o) ? o.find(
|
|
3082
|
+
(y) => y.year === e.year && y.monthIndex === e.monthIndex
|
|
3083
|
+
) : o.year === e.year && o.monthIndex === e.monthIndex ? o : void 0;
|
|
3084
|
+
})(), u = G !== void 0, _ = (y) => {
|
|
3085
|
+
t && u && t(y, e.monthIndex, e.year);
|
|
3081
3086
|
};
|
|
3082
|
-
return /* @__PURE__ */
|
|
3083
|
-
|
|
3084
|
-
/* @__PURE__ */
|
|
3085
|
-
/* @__PURE__ */
|
|
3087
|
+
return /* @__PURE__ */ C.jsxs("div", { className: P("w-full", l, z), children: [
|
|
3088
|
+
i && /* @__PURE__ */ C.jsxs("div", { className: "flex items-center justify-between mb-8", children: [
|
|
3089
|
+
/* @__PURE__ */ C.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
3090
|
+
/* @__PURE__ */ C.jsx(
|
|
3086
3091
|
"button",
|
|
3087
3092
|
{
|
|
3088
|
-
onClick:
|
|
3093
|
+
onClick: F,
|
|
3089
3094
|
className: P(
|
|
3090
3095
|
"size-10 rounded-xl border-2 border-slate-200 text-slate-700 grid place-items-center",
|
|
3091
3096
|
"transition-colors duration-200 hover:bg-slate-50",
|
|
3092
3097
|
w
|
|
3093
3098
|
),
|
|
3094
3099
|
"aria-label": "Previous month",
|
|
3095
|
-
children: /* @__PURE__ */
|
|
3100
|
+
children: /* @__PURE__ */ C.jsx(
|
|
3096
3101
|
"svg",
|
|
3097
3102
|
{
|
|
3098
3103
|
width: "16",
|
|
@@ -3101,22 +3106,22 @@ function Tr({
|
|
|
3101
3106
|
fill: "none",
|
|
3102
3107
|
stroke: "currentColor",
|
|
3103
3108
|
strokeWidth: "2",
|
|
3104
|
-
children: /* @__PURE__ */
|
|
3109
|
+
children: /* @__PURE__ */ C.jsx("polyline", { points: "15,18 9,12 15,6" })
|
|
3105
3110
|
}
|
|
3106
3111
|
)
|
|
3107
3112
|
}
|
|
3108
3113
|
),
|
|
3109
|
-
/* @__PURE__ */
|
|
3114
|
+
/* @__PURE__ */ C.jsx(
|
|
3110
3115
|
"button",
|
|
3111
3116
|
{
|
|
3112
|
-
onClick:
|
|
3117
|
+
onClick: $,
|
|
3113
3118
|
className: P(
|
|
3114
3119
|
"size-10 rounded-xl border-2 border-slate-200 text-slate-700 grid place-items-center",
|
|
3115
3120
|
"transition-colors duration-200 hover:bg-slate-50",
|
|
3116
3121
|
w
|
|
3117
3122
|
),
|
|
3118
3123
|
"aria-label": "Next month",
|
|
3119
|
-
children: /* @__PURE__ */
|
|
3124
|
+
children: /* @__PURE__ */ C.jsx(
|
|
3120
3125
|
"svg",
|
|
3121
3126
|
{
|
|
3122
3127
|
width: "16",
|
|
@@ -3125,85 +3130,85 @@ function Tr({
|
|
|
3125
3130
|
fill: "none",
|
|
3126
3131
|
stroke: "currentColor",
|
|
3127
3132
|
strokeWidth: "2",
|
|
3128
|
-
children: /* @__PURE__ */
|
|
3133
|
+
children: /* @__PURE__ */ C.jsx("polyline", { points: "9,18 15,12 9,6" })
|
|
3129
3134
|
}
|
|
3130
3135
|
)
|
|
3131
3136
|
}
|
|
3132
3137
|
)
|
|
3133
3138
|
] }),
|
|
3134
|
-
/* @__PURE__ */
|
|
3139
|
+
/* @__PURE__ */ C.jsxs(
|
|
3135
3140
|
"h2",
|
|
3136
3141
|
{
|
|
3137
3142
|
className: P(
|
|
3138
3143
|
"text-2xl font-bold text-slate-900",
|
|
3139
|
-
|
|
3144
|
+
L
|
|
3140
3145
|
),
|
|
3141
3146
|
children: [
|
|
3142
|
-
|
|
3147
|
+
Y,
|
|
3143
3148
|
" ",
|
|
3144
3149
|
e.year
|
|
3145
3150
|
]
|
|
3146
3151
|
}
|
|
3147
3152
|
),
|
|
3148
|
-
/* @__PURE__ */
|
|
3153
|
+
/* @__PURE__ */ C.jsx("div", { className: "w-20" }),
|
|
3149
3154
|
" "
|
|
3150
3155
|
] }),
|
|
3151
|
-
|
|
3156
|
+
c && /* @__PURE__ */ C.jsx(
|
|
3152
3157
|
"div",
|
|
3153
3158
|
{
|
|
3154
3159
|
className: P("grid gap-4 text-center mb-6"),
|
|
3155
3160
|
style: { gridTemplateColumns: `repeat(${v}, minmax(0, 1fr))` },
|
|
3156
|
-
children:
|
|
3161
|
+
children: q.map((y, M) => /* @__PURE__ */ C.jsx(
|
|
3157
3162
|
"div",
|
|
3158
3163
|
{
|
|
3159
3164
|
className: P(
|
|
3160
3165
|
"text-sm font-semibold uppercase tracking-wide py-2",
|
|
3161
3166
|
"text-slate-500 bg-transparent rounded-xl",
|
|
3162
|
-
|
|
3167
|
+
T
|
|
3163
3168
|
),
|
|
3164
|
-
children:
|
|
3169
|
+
children: y
|
|
3165
3170
|
},
|
|
3166
|
-
|
|
3171
|
+
M
|
|
3167
3172
|
))
|
|
3168
3173
|
}
|
|
3169
3174
|
),
|
|
3170
|
-
/* @__PURE__ */
|
|
3175
|
+
/* @__PURE__ */ C.jsx(
|
|
3171
3176
|
"div",
|
|
3172
3177
|
{
|
|
3173
|
-
ref:
|
|
3178
|
+
ref: E,
|
|
3174
3179
|
className: P("grid gap-4"),
|
|
3175
3180
|
style: { gridTemplateColumns: `repeat(${v}, minmax(0, 1fr))` },
|
|
3176
|
-
children:
|
|
3177
|
-
const
|
|
3181
|
+
children: O.map((y, M) => {
|
|
3182
|
+
const N = u && y.inCurrentMonth && G?.presentDays.has(y.day), J = u && y.inCurrentMonth && G?.absentDays.has(y.day), I = P(
|
|
3178
3183
|
"rounded-2xl grid place-items-center font-semibold cursor-pointer",
|
|
3179
3184
|
"transition-all duration-200",
|
|
3180
3185
|
v >= 14 ? "size-8 sm:size-12 text-sm" : "size-12 sm:size-14 text-base",
|
|
3181
3186
|
h
|
|
3182
|
-
),
|
|
3183
|
-
let
|
|
3184
|
-
return
|
|
3185
|
-
|
|
3187
|
+
), S = t && y.inCurrentMonth && u;
|
|
3188
|
+
let R = I;
|
|
3189
|
+
return y.inCurrentMonth ? N ? R = P(
|
|
3190
|
+
I,
|
|
3186
3191
|
"bg-emerald-500 text-white border-2 border-emerald-500",
|
|
3187
3192
|
m
|
|
3188
|
-
) :
|
|
3189
|
-
|
|
3193
|
+
) : J ? R = P(
|
|
3194
|
+
I,
|
|
3190
3195
|
"bg-amber-500 text-white border-2 border-amber-500",
|
|
3191
|
-
|
|
3192
|
-
) :
|
|
3193
|
-
|
|
3196
|
+
k
|
|
3197
|
+
) : R = P(
|
|
3198
|
+
I,
|
|
3194
3199
|
"text-slate-700 border-2 border-slate-200"
|
|
3195
|
-
) :
|
|
3196
|
-
|
|
3200
|
+
) : R = P(
|
|
3201
|
+
I,
|
|
3197
3202
|
"text-slate-400 border-2 border-slate-200"
|
|
3198
|
-
), /* @__PURE__ */
|
|
3203
|
+
), /* @__PURE__ */ C.jsx("div", { className: P("flex items-center justify-center"), children: /* @__PURE__ */ C.jsx(
|
|
3199
3204
|
"div",
|
|
3200
3205
|
{
|
|
3201
|
-
className:
|
|
3202
|
-
onClick: () =>
|
|
3203
|
-
title:
|
|
3204
|
-
children:
|
|
3206
|
+
className: R,
|
|
3207
|
+
onClick: () => S && _(y.day),
|
|
3208
|
+
title: S ? `Click to interact with ${y.day}` : void 0,
|
|
3209
|
+
children: y.day
|
|
3205
3210
|
}
|
|
3206
|
-
) },
|
|
3211
|
+
) }, M);
|
|
3207
3212
|
})
|
|
3208
3213
|
}
|
|
3209
3214
|
)
|