@srimandir/common 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common.js +283 -281
- package/dist/common.js.map +1 -1
- package/dist/common.umd.cjs +1 -1
- package/dist/common.umd.cjs.map +1 -1
- package/dist/components/BottomSheet/BottomSheet.d.ts +2 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/common.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as I, jsxs as Ve } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect as We, createContext as $e, useContext as Ue } from "react";
|
|
3
|
-
const De = "
|
|
3
|
+
const De = "_overlay_um2rb_3", Ke = "_sheet_um2rb_14", He = "_handle_um2rb_51", Je = "_closeBtn_um2rb_60", Ye = "_closeBtnOutside_um2rb_79", Ze = "_header_um2rb_85", Xe = "_body_um2rb_90", Qe = "_footer_um2rb_97", N = {
|
|
4
4
|
overlay: De,
|
|
5
5
|
sheet: Ke,
|
|
6
6
|
handle: He,
|
|
7
7
|
closeBtn: Je,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
closeBtnOutside: Ye,
|
|
9
|
+
header: Ze,
|
|
10
|
+
body: Xe,
|
|
11
|
+
footer: Qe
|
|
12
|
+
}, se = (...e) => e.filter(Boolean).join(" "), qe = () => /* @__PURE__ */ I("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ I(
|
|
12
13
|
"path",
|
|
13
14
|
{
|
|
14
15
|
d: "M12 4L4 12M4 4l8 8",
|
|
@@ -16,110 +17,111 @@ const De = "_overlay_7kyzr_3", Ke = "_sheet_7kyzr_14", He = "_handle_7kyzr_51",
|
|
|
16
17
|
strokeWidth: "1.8",
|
|
17
18
|
strokeLinecap: "round"
|
|
18
19
|
}
|
|
19
|
-
) }),
|
|
20
|
+
) }), Yo = ({
|
|
20
21
|
isOpen: e,
|
|
21
22
|
onClose: r,
|
|
22
23
|
children: t,
|
|
23
24
|
header: o,
|
|
24
25
|
footer: a,
|
|
25
26
|
showCloseButton: d = !0,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
closeButtonOutside: l = !1,
|
|
28
|
+
showDragHandle: u = !1,
|
|
29
|
+
closeOnBackdropClick: b = !0,
|
|
30
|
+
closeOnEscape: m = !0,
|
|
31
|
+
lockBodyScroll: f = !0,
|
|
32
|
+
ariaLabel: w,
|
|
33
|
+
className: P = "",
|
|
34
|
+
overlayClassName: A = "",
|
|
35
|
+
"data-testid": _
|
|
34
36
|
}) => (We(() => {
|
|
35
37
|
if (!e) return;
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
+
const g = (T) => {
|
|
39
|
+
T.key === "Escape" && r();
|
|
38
40
|
};
|
|
39
|
-
|
|
40
|
-
const
|
|
41
|
-
return
|
|
42
|
-
|
|
41
|
+
m && document.addEventListener("keydown", g);
|
|
42
|
+
const v = document.body.style.overflow;
|
|
43
|
+
return f && (document.body.style.overflow = "hidden"), () => {
|
|
44
|
+
m && document.removeEventListener("keydown", g), f && (document.body.style.overflow = v);
|
|
43
45
|
};
|
|
44
|
-
}, [e, r,
|
|
46
|
+
}, [e, r, m, f]), e ? /* @__PURE__ */ I(
|
|
45
47
|
"div",
|
|
46
48
|
{
|
|
47
|
-
className:
|
|
49
|
+
className: se(N.overlay, A),
|
|
48
50
|
role: "presentation",
|
|
49
|
-
onClick: (
|
|
50
|
-
|
|
51
|
+
onClick: (g) => {
|
|
52
|
+
b && g.target === g.currentTarget && r();
|
|
51
53
|
},
|
|
52
54
|
children: /* @__PURE__ */ Ve(
|
|
53
55
|
"div",
|
|
54
56
|
{
|
|
55
|
-
className:
|
|
57
|
+
className: se(N.sheet, P),
|
|
56
58
|
role: "dialog",
|
|
57
59
|
"aria-modal": "true",
|
|
58
|
-
"aria-label":
|
|
59
|
-
"data-testid":
|
|
60
|
+
"aria-label": w,
|
|
61
|
+
"data-testid": _,
|
|
60
62
|
children: [
|
|
61
|
-
|
|
62
|
-
d && /* @__PURE__ */
|
|
63
|
+
u && /* @__PURE__ */ I("div", { className: N.handle, "aria-hidden": "true" }),
|
|
64
|
+
d && /* @__PURE__ */ I(
|
|
63
65
|
"button",
|
|
64
66
|
{
|
|
65
67
|
type: "button",
|
|
66
|
-
className:
|
|
68
|
+
className: se(N.closeBtn, l && N.closeBtnOutside),
|
|
67
69
|
onClick: r,
|
|
68
70
|
"aria-label": "Close",
|
|
69
|
-
children: /* @__PURE__ */
|
|
71
|
+
children: /* @__PURE__ */ I(qe, {})
|
|
70
72
|
}
|
|
71
73
|
),
|
|
72
|
-
o && /* @__PURE__ */
|
|
73
|
-
/* @__PURE__ */
|
|
74
|
-
a && /* @__PURE__ */
|
|
74
|
+
o && /* @__PURE__ */ I("div", { className: N.header, children: o }),
|
|
75
|
+
/* @__PURE__ */ I("div", { className: N.body, children: t }),
|
|
76
|
+
a && /* @__PURE__ */ I("div", { className: N.footer, children: a })
|
|
75
77
|
]
|
|
76
78
|
}
|
|
77
79
|
)
|
|
78
80
|
}
|
|
79
81
|
) : null);
|
|
80
|
-
function
|
|
82
|
+
function ze(e) {
|
|
81
83
|
var r, t, o = "";
|
|
82
84
|
if (typeof e == "string" || typeof e == "number") o += e;
|
|
83
85
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
84
86
|
var a = e.length;
|
|
85
|
-
for (r = 0; r < a; r++) e[r] && (t =
|
|
87
|
+
for (r = 0; r < a; r++) e[r] && (t = ze(e[r])) && (o && (o += " "), o += t);
|
|
86
88
|
} else for (t in e) e[t] && (o && (o += " "), o += t);
|
|
87
89
|
return o;
|
|
88
90
|
}
|
|
89
|
-
function
|
|
90
|
-
for (var e, r, t = 0, o = "", a = arguments.length; t < a; t++) (e = arguments[t]) && (r =
|
|
91
|
+
function eo() {
|
|
92
|
+
for (var e, r, t = 0, o = "", a = arguments.length; t < a; t++) (e = arguments[t]) && (r = ze(e)) && (o && (o += " "), o += r);
|
|
91
93
|
return o;
|
|
92
94
|
}
|
|
93
|
-
const
|
|
95
|
+
const oo = (e, r) => {
|
|
94
96
|
const t = new Array(e.length + r.length);
|
|
95
97
|
for (let o = 0; o < e.length; o++)
|
|
96
98
|
t[o] = e[o];
|
|
97
99
|
for (let o = 0; o < r.length; o++)
|
|
98
100
|
t[e.length + o] = r[o];
|
|
99
101
|
return t;
|
|
100
|
-
},
|
|
102
|
+
}, to = (e, r) => ({
|
|
101
103
|
classGroupId: e,
|
|
102
104
|
validator: r
|
|
103
105
|
}), Ae = (e = /* @__PURE__ */ new Map(), r = null, t) => ({
|
|
104
106
|
nextPart: e,
|
|
105
107
|
validators: r,
|
|
106
108
|
classGroupId: t
|
|
107
|
-
}), q = "-", xe = [],
|
|
108
|
-
const r =
|
|
109
|
+
}), q = "-", xe = [], ro = "arbitrary..", no = (e) => {
|
|
110
|
+
const r = ao(e), {
|
|
109
111
|
conflictingClassGroups: t,
|
|
110
112
|
conflictingClassGroupModifiers: o
|
|
111
113
|
} = e;
|
|
112
114
|
return {
|
|
113
115
|
getClassGroupId: (l) => {
|
|
114
116
|
if (l.startsWith("[") && l.endsWith("]"))
|
|
115
|
-
return
|
|
117
|
+
return so(l);
|
|
116
118
|
const u = l.split(q), b = u[0] === "" && u.length > 1 ? 1 : 0;
|
|
117
119
|
return Le(u, b, r);
|
|
118
120
|
},
|
|
119
121
|
getConflictingClassGroupIds: (l, u) => {
|
|
120
122
|
if (u) {
|
|
121
123
|
const b = o[l], m = t[l];
|
|
122
|
-
return b ? m ?
|
|
124
|
+
return b ? m ? oo(m, b) : b : m || xe;
|
|
123
125
|
}
|
|
124
126
|
return t[l] || xe;
|
|
125
127
|
}
|
|
@@ -137,56 +139,56 @@ const eo = (e, r) => {
|
|
|
137
139
|
return;
|
|
138
140
|
const u = r === 0 ? e.join(q) : e.slice(r).join(q), b = l.length;
|
|
139
141
|
for (let m = 0; m < b; m++) {
|
|
140
|
-
const
|
|
141
|
-
if (
|
|
142
|
-
return
|
|
142
|
+
const f = l[m];
|
|
143
|
+
if (f.validator(u))
|
|
144
|
+
return f.classGroupId;
|
|
143
145
|
}
|
|
144
|
-
},
|
|
146
|
+
}, so = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
145
147
|
const r = e.slice(1, -1), t = r.indexOf(":"), o = r.slice(0, t);
|
|
146
|
-
return o ?
|
|
147
|
-
})(),
|
|
148
|
+
return o ? ro + o : void 0;
|
|
149
|
+
})(), ao = (e) => {
|
|
148
150
|
const {
|
|
149
151
|
theme: r,
|
|
150
152
|
classGroups: t
|
|
151
153
|
} = e;
|
|
152
|
-
return
|
|
153
|
-
},
|
|
154
|
+
return io(t, r);
|
|
155
|
+
}, io = (e, r) => {
|
|
154
156
|
const t = Ae();
|
|
155
157
|
for (const o in e) {
|
|
156
158
|
const a = e[o];
|
|
157
|
-
|
|
159
|
+
le(a, t, o, r);
|
|
158
160
|
}
|
|
159
161
|
return t;
|
|
160
|
-
},
|
|
162
|
+
}, le = (e, r, t, o) => {
|
|
161
163
|
const a = e.length;
|
|
162
164
|
for (let d = 0; d < a; d++) {
|
|
163
165
|
const l = e[d];
|
|
164
|
-
|
|
166
|
+
lo(l, r, t, o);
|
|
165
167
|
}
|
|
166
|
-
},
|
|
168
|
+
}, lo = (e, r, t, o) => {
|
|
167
169
|
if (typeof e == "string") {
|
|
168
|
-
|
|
170
|
+
co(e, r, t);
|
|
169
171
|
return;
|
|
170
172
|
}
|
|
171
173
|
if (typeof e == "function") {
|
|
172
|
-
|
|
174
|
+
mo(e, r, t, o);
|
|
173
175
|
return;
|
|
174
176
|
}
|
|
175
|
-
|
|
176
|
-
},
|
|
177
|
+
po(e, r, t, o);
|
|
178
|
+
}, co = (e, r, t) => {
|
|
177
179
|
const o = e === "" ? r : Se(r, e);
|
|
178
180
|
o.classGroupId = t;
|
|
179
|
-
},
|
|
180
|
-
if (
|
|
181
|
-
|
|
181
|
+
}, mo = (e, r, t, o) => {
|
|
182
|
+
if (uo(e)) {
|
|
183
|
+
le(e(o), r, t, o);
|
|
182
184
|
return;
|
|
183
185
|
}
|
|
184
|
-
r.validators === null && (r.validators = []), r.validators.push(
|
|
185
|
-
},
|
|
186
|
+
r.validators === null && (r.validators = []), r.validators.push(to(t, e));
|
|
187
|
+
}, po = (e, r, t, o) => {
|
|
186
188
|
const a = Object.entries(e), d = a.length;
|
|
187
189
|
for (let l = 0; l < d; l++) {
|
|
188
190
|
const [u, b] = a[l];
|
|
189
|
-
|
|
191
|
+
le(b, Se(r, u), t, o);
|
|
190
192
|
}
|
|
191
193
|
}, Se = (e, r) => {
|
|
192
194
|
let t = e;
|
|
@@ -197,7 +199,7 @@ const eo = (e, r) => {
|
|
|
197
199
|
u || (u = Ae(), t.nextPart.set(l, u)), t = u;
|
|
198
200
|
}
|
|
199
201
|
return t;
|
|
200
|
-
},
|
|
202
|
+
}, uo = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, bo = (e) => {
|
|
201
203
|
if (e < 1)
|
|
202
204
|
return {
|
|
203
205
|
get: () => {
|
|
@@ -221,13 +223,13 @@ const eo = (e, r) => {
|
|
|
221
223
|
d in t ? t[d] = l : a(d, l);
|
|
222
224
|
}
|
|
223
225
|
};
|
|
224
|
-
},
|
|
226
|
+
}, ie = "!", we = ":", fo = [], ye = (e, r, t, o, a) => ({
|
|
225
227
|
modifiers: e,
|
|
226
228
|
hasImportantModifier: r,
|
|
227
229
|
baseClassName: t,
|
|
228
230
|
maybePostfixModifierPosition: o,
|
|
229
231
|
isExternal: a
|
|
230
|
-
}),
|
|
232
|
+
}), go = (e) => {
|
|
231
233
|
const {
|
|
232
234
|
prefix: r,
|
|
233
235
|
experimentalParseClassName: t
|
|
@@ -235,36 +237,36 @@ const eo = (e, r) => {
|
|
|
235
237
|
let o = (a) => {
|
|
236
238
|
const d = [];
|
|
237
239
|
let l = 0, u = 0, b = 0, m;
|
|
238
|
-
const
|
|
239
|
-
for (let
|
|
240
|
-
const v = a[
|
|
240
|
+
const f = a.length;
|
|
241
|
+
for (let g = 0; g < f; g++) {
|
|
242
|
+
const v = a[g];
|
|
241
243
|
if (l === 0 && u === 0) {
|
|
242
|
-
if (v ===
|
|
243
|
-
d.push(a.slice(b,
|
|
244
|
+
if (v === we) {
|
|
245
|
+
d.push(a.slice(b, g)), b = g + 1;
|
|
244
246
|
continue;
|
|
245
247
|
}
|
|
246
248
|
if (v === "/") {
|
|
247
|
-
m =
|
|
249
|
+
m = g;
|
|
248
250
|
continue;
|
|
249
251
|
}
|
|
250
252
|
}
|
|
251
253
|
v === "[" ? l++ : v === "]" ? l-- : v === "(" ? u++ : v === ")" && u--;
|
|
252
254
|
}
|
|
253
|
-
const
|
|
254
|
-
let
|
|
255
|
-
|
|
255
|
+
const w = d.length === 0 ? a : a.slice(b);
|
|
256
|
+
let P = w, A = !1;
|
|
257
|
+
w.endsWith(ie) ? (P = w.slice(0, -1), A = !0) : (
|
|
256
258
|
/**
|
|
257
259
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
258
260
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
259
261
|
*/
|
|
260
|
-
|
|
262
|
+
w.startsWith(ie) && (P = w.slice(1), A = !0)
|
|
261
263
|
);
|
|
262
|
-
const
|
|
263
|
-
return
|
|
264
|
+
const _ = m && m > b ? m - b : void 0;
|
|
265
|
+
return ye(d, A, P, _);
|
|
264
266
|
};
|
|
265
267
|
if (r) {
|
|
266
|
-
const a = r +
|
|
267
|
-
o = (l) => l.startsWith(a) ? d(l.slice(a.length)) :
|
|
268
|
+
const a = r + we, d = o;
|
|
269
|
+
o = (l) => l.startsWith(a) ? d(l.slice(a.length)) : ye(fo, !1, l, void 0, !0);
|
|
268
270
|
}
|
|
269
271
|
if (t) {
|
|
270
272
|
const a = o;
|
|
@@ -274,7 +276,7 @@ const eo = (e, r) => {
|
|
|
274
276
|
});
|
|
275
277
|
}
|
|
276
278
|
return o;
|
|
277
|
-
},
|
|
279
|
+
}, ho = (e) => {
|
|
278
280
|
const r = /* @__PURE__ */ new Map();
|
|
279
281
|
return e.orderSensitiveModifiers.forEach((t, o) => {
|
|
280
282
|
r.set(t, 1e6 + o);
|
|
@@ -287,13 +289,13 @@ const eo = (e, r) => {
|
|
|
287
289
|
}
|
|
288
290
|
return a.length > 0 && (a.sort(), o.push(...a)), o;
|
|
289
291
|
};
|
|
290
|
-
},
|
|
291
|
-
cache:
|
|
292
|
-
parseClassName:
|
|
293
|
-
sortModifiers:
|
|
294
|
-
postfixLookupClassGroupIds:
|
|
295
|
-
...
|
|
296
|
-
}),
|
|
292
|
+
}, xo = (e) => ({
|
|
293
|
+
cache: bo(e.cacheSize),
|
|
294
|
+
parseClassName: go(e),
|
|
295
|
+
sortModifiers: ho(e),
|
|
296
|
+
postfixLookupClassGroupIds: wo(e),
|
|
297
|
+
...no(e)
|
|
298
|
+
}), wo = (e) => {
|
|
297
299
|
const r = /* @__PURE__ */ Object.create(null), t = e.postfixLookupClassGroups;
|
|
298
300
|
if (t)
|
|
299
301
|
for (let o = 0; o < t.length; o++)
|
|
@@ -308,50 +310,50 @@ const eo = (e, r) => {
|
|
|
308
310
|
postfixLookupClassGroupIds: l
|
|
309
311
|
} = r, u = [], b = e.trim().split(yo);
|
|
310
312
|
let m = "";
|
|
311
|
-
for (let
|
|
312
|
-
const
|
|
313
|
-
isExternal:
|
|
313
|
+
for (let f = b.length - 1; f >= 0; f -= 1) {
|
|
314
|
+
const w = b[f], {
|
|
315
|
+
isExternal: P,
|
|
314
316
|
modifiers: A,
|
|
315
|
-
hasImportantModifier:
|
|
316
|
-
baseClassName:
|
|
317
|
+
hasImportantModifier: _,
|
|
318
|
+
baseClassName: g,
|
|
317
319
|
maybePostfixModifierPosition: v
|
|
318
|
-
} = t(
|
|
319
|
-
if (
|
|
320
|
-
m =
|
|
320
|
+
} = t(w);
|
|
321
|
+
if (P) {
|
|
322
|
+
m = w + (m.length > 0 ? " " + m : m);
|
|
321
323
|
continue;
|
|
322
324
|
}
|
|
323
|
-
let
|
|
324
|
-
if (
|
|
325
|
-
const M =
|
|
326
|
-
|
|
327
|
-
const i =
|
|
328
|
-
i && i !==
|
|
325
|
+
let T = !!v, C;
|
|
326
|
+
if (T) {
|
|
327
|
+
const M = g.substring(0, v);
|
|
328
|
+
C = o(M);
|
|
329
|
+
const i = C && l[C] ? o(g) : void 0;
|
|
330
|
+
i && i !== C && (C = i, T = !1);
|
|
329
331
|
} else
|
|
330
|
-
|
|
331
|
-
if (!
|
|
332
|
-
if (!
|
|
333
|
-
m =
|
|
332
|
+
C = o(g);
|
|
333
|
+
if (!C) {
|
|
334
|
+
if (!T) {
|
|
335
|
+
m = w + (m.length > 0 ? " " + m : m);
|
|
334
336
|
continue;
|
|
335
337
|
}
|
|
336
|
-
if (
|
|
337
|
-
m =
|
|
338
|
+
if (C = o(g), !C) {
|
|
339
|
+
m = w + (m.length > 0 ? " " + m : m);
|
|
338
340
|
continue;
|
|
339
341
|
}
|
|
340
|
-
|
|
342
|
+
T = !1;
|
|
341
343
|
}
|
|
342
|
-
const U = A.length === 0 ? "" : A.length === 1 ? A[0] : d(A).join(":"),
|
|
344
|
+
const U = A.length === 0 ? "" : A.length === 1 ? A[0] : d(A).join(":"), F = _ ? U + ie : U, V = F + C;
|
|
343
345
|
if (u.indexOf(V) > -1)
|
|
344
346
|
continue;
|
|
345
347
|
u.push(V);
|
|
346
|
-
const W = a(
|
|
348
|
+
const W = a(C, T);
|
|
347
349
|
for (let M = 0; M < W.length; ++M) {
|
|
348
350
|
const i = W[M];
|
|
349
|
-
u.push(
|
|
351
|
+
u.push(F + i);
|
|
350
352
|
}
|
|
351
|
-
m =
|
|
353
|
+
m = w + (m.length > 0 ? " " + m : m);
|
|
352
354
|
}
|
|
353
355
|
return m;
|
|
354
|
-
},
|
|
356
|
+
}, vo = (...e) => {
|
|
355
357
|
let r = 0, t, o, a = "";
|
|
356
358
|
for (; r < e.length; )
|
|
357
359
|
(t = e[r++]) && (o = Ie(t)) && (a && (a += " "), a += o);
|
|
@@ -363,35 +365,35 @@ const eo = (e, r) => {
|
|
|
363
365
|
for (let o = 0; o < e.length; o++)
|
|
364
366
|
e[o] && (r = Ie(e[o])) && (t && (t += " "), t += r);
|
|
365
367
|
return t;
|
|
366
|
-
},
|
|
368
|
+
}, Co = (e, ...r) => {
|
|
367
369
|
let t, o, a, d;
|
|
368
370
|
const l = (b) => {
|
|
369
|
-
const m = r.reduce((
|
|
370
|
-
return t =
|
|
371
|
+
const m = r.reduce((f, w) => w(f), e());
|
|
372
|
+
return t = xo(m), o = t.cache.get, a = t.cache.set, d = u, u(b);
|
|
371
373
|
}, u = (b) => {
|
|
372
374
|
const m = o(b);
|
|
373
375
|
if (m)
|
|
374
376
|
return m;
|
|
375
|
-
const
|
|
376
|
-
return a(b,
|
|
377
|
+
const f = ko(b, t);
|
|
378
|
+
return a(b, f), f;
|
|
377
379
|
};
|
|
378
|
-
return d = l, (...b) => d(
|
|
379
|
-
}, zo = [],
|
|
380
|
+
return d = l, (...b) => d(vo(...b));
|
|
381
|
+
}, zo = [], h = (e) => {
|
|
380
382
|
const r = (t) => t[e] || zo;
|
|
381
383
|
return r.isThemeGetter = !0, r;
|
|
382
|
-
}, Pe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Te = /^\((?:(\w[\w-]*):)?(.+)\)$/i,
|
|
384
|
+
}, Pe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Te = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ao = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Lo = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, So = /\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$/, Io = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Po = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, To = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, G = (e) => Ao.test(e), p = (e) => !!e && !Number.isNaN(Number(e)), S = (e) => !!e && Number.isInteger(Number(e)), ae = (e) => e.endsWith("%") && p(e.slice(0, -1)), R = (e) => Lo.test(e), Me = () => !0, Mo = (e) => (
|
|
383
385
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
384
386
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
385
387
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
386
|
-
|
|
387
|
-
),
|
|
388
|
+
So.test(e) && !Io.test(e)
|
|
389
|
+
), ce = () => !1, Ro = (e) => Po.test(e), No = (e) => To.test(e), Go = (e) => !n(e) && !s(e), Eo = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), _o = (e) => E(e, Ge, ce), n = (e) => Pe.test(e), O = (e) => E(e, Ee, Mo), ke = (e) => E(e, Uo, p), Bo = (e) => E(e, Be, Me), Oo = (e) => E(e, _e, ce), ve = (e) => E(e, Re, ce), jo = (e) => E(e, Ne, No), X = (e) => E(e, Oe, Ro), s = (e) => Te.test(e), D = (e) => j(e, Ee), Fo = (e) => j(e, _e), Ce = (e) => j(e, Re), Vo = (e) => j(e, Ge), Wo = (e) => j(e, Ne), Q = (e) => j(e, Oe, !0), $o = (e) => j(e, Be, !0), E = (e, r, t) => {
|
|
388
390
|
const o = Pe.exec(e);
|
|
389
391
|
return o ? o[1] ? r(o[1]) : t(o[2]) : !1;
|
|
390
|
-
},
|
|
392
|
+
}, j = (e, r, t = !1) => {
|
|
391
393
|
const o = Te.exec(e);
|
|
392
394
|
return o ? o[1] ? r(o[1]) : t : !1;
|
|
393
|
-
}, Re = (e) => e === "position" || e === "percentage", Ne = (e) => e === "image" || e === "url", Ge = (e) => e === "length" || e === "size" || e === "bg-size", Ee = (e) => e === "length",
|
|
394
|
-
const e =
|
|
395
|
+
}, Re = (e) => e === "position" || e === "percentage", Ne = (e) => e === "image" || e === "url", Ge = (e) => e === "length" || e === "size" || e === "bg-size", Ee = (e) => e === "length", Uo = (e) => e === "number", _e = (e) => e === "family-name", Be = (e) => e === "number" || e === "weight", Oe = (e) => e === "shadow", Do = () => {
|
|
396
|
+
const e = h("color"), r = h("font"), t = h("text"), o = h("font-weight"), a = h("tracking"), d = h("leading"), l = h("breakpoint"), u = h("container"), b = h("spacing"), m = h("radius"), f = h("shadow"), w = h("inset-shadow"), P = h("text-shadow"), A = h("drop-shadow"), _ = h("blur"), g = h("perspective"), v = h("aspect"), T = h("ease"), C = h("animate"), U = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [
|
|
395
397
|
"center",
|
|
396
398
|
"top",
|
|
397
399
|
"bottom",
|
|
@@ -409,15 +411,15 @@ const eo = (e, r) => {
|
|
|
409
411
|
"bottom-left",
|
|
410
412
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
411
413
|
"left-bottom"
|
|
412
|
-
], V = () => [...
|
|
413
|
-
span: ["full",
|
|
414
|
-
},
|
|
414
|
+
], V = () => [...F(), s, n], W = () => ["auto", "hidden", "clip", "visible", "scroll"], M = () => ["auto", "contain", "none"], i = () => [s, n, b], z = () => [G, "full", "auto", ...i()], de = () => [S, "none", "subgrid", s, n], me = () => ["auto", {
|
|
415
|
+
span: ["full", S, s, n]
|
|
416
|
+
}, S, s, n], K = () => [S, "auto", s, n], pe = () => ["auto", "min", "max", "fr", s, n], ee = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], $ = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], L = () => ["auto", ...i()], B = () => [G, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...i()], oe = () => [G, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...i()], te = () => [G, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...i()], c = () => [e, s, n], ue = () => [...F(), Ce, ve, {
|
|
415
417
|
position: [s, n]
|
|
416
|
-
}],
|
|
418
|
+
}], be = () => ["no-repeat", {
|
|
417
419
|
repeat: ["", "x", "y", "space", "round"]
|
|
418
|
-
}],
|
|
420
|
+
}], fe = () => ["auto", "cover", "contain", Vo, _o, {
|
|
419
421
|
size: [s, n]
|
|
420
|
-
}], re = () => [
|
|
422
|
+
}], re = () => [ae, D, O], y = () => [
|
|
421
423
|
// Deprecated since Tailwind CSS v4.0.0
|
|
422
424
|
"",
|
|
423
425
|
"none",
|
|
@@ -425,14 +427,14 @@ const eo = (e, r) => {
|
|
|
425
427
|
m,
|
|
426
428
|
s,
|
|
427
429
|
n
|
|
428
|
-
],
|
|
430
|
+
], k = () => ["", p, D, O], H = () => ["solid", "dashed", "dotted", "double"], ge = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], x = () => [p, ae, Ce, ve], he = () => [
|
|
429
431
|
// Deprecated since Tailwind CSS v4.0.0
|
|
430
432
|
"",
|
|
431
433
|
"none",
|
|
432
|
-
|
|
434
|
+
_,
|
|
433
435
|
s,
|
|
434
436
|
n
|
|
435
|
-
], J = () => ["none", p, s, n], Y = () => ["none", p, s, n], ne = () => [p, s, n], Z = () => [
|
|
437
|
+
], J = () => ["none", p, s, n], Y = () => ["none", p, s, n], ne = () => [p, s, n], Z = () => [G, "full", ...i()];
|
|
436
438
|
return {
|
|
437
439
|
cacheSize: 500,
|
|
438
440
|
theme: {
|
|
@@ -444,7 +446,7 @@ const eo = (e, r) => {
|
|
|
444
446
|
container: [R],
|
|
445
447
|
"drop-shadow": [R],
|
|
446
448
|
ease: ["in", "out", "in-out"],
|
|
447
|
-
font: [
|
|
449
|
+
font: [Go],
|
|
448
450
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
449
451
|
"inset-shadow": [R],
|
|
450
452
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
@@ -465,7 +467,7 @@ const eo = (e, r) => {
|
|
|
465
467
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
466
468
|
*/
|
|
467
469
|
aspect: [{
|
|
468
|
-
aspect: ["auto", "square",
|
|
470
|
+
aspect: ["auto", "square", G, n, s, v]
|
|
469
471
|
}],
|
|
470
472
|
/**
|
|
471
473
|
* Container
|
|
@@ -484,7 +486,7 @@ const eo = (e, r) => {
|
|
|
484
486
|
* Container Name
|
|
485
487
|
* @see https://tailwindcss.com/docs/responsive-design#named-containers
|
|
486
488
|
*/
|
|
487
|
-
"container-named": [
|
|
489
|
+
"container-named": [Eo],
|
|
488
490
|
/**
|
|
489
491
|
* Columns
|
|
490
492
|
* @see https://tailwindcss.com/docs/columns
|
|
@@ -622,21 +624,21 @@ const eo = (e, r) => {
|
|
|
622
624
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
623
625
|
*/
|
|
624
626
|
inset: [{
|
|
625
|
-
inset:
|
|
627
|
+
inset: z()
|
|
626
628
|
}],
|
|
627
629
|
/**
|
|
628
630
|
* Inset Inline
|
|
629
631
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
630
632
|
*/
|
|
631
633
|
"inset-x": [{
|
|
632
|
-
"inset-x":
|
|
634
|
+
"inset-x": z()
|
|
633
635
|
}],
|
|
634
636
|
/**
|
|
635
637
|
* Inset Block
|
|
636
638
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
637
639
|
*/
|
|
638
640
|
"inset-y": [{
|
|
639
|
-
"inset-y":
|
|
641
|
+
"inset-y": z()
|
|
640
642
|
}],
|
|
641
643
|
/**
|
|
642
644
|
* Inset Inline Start
|
|
@@ -644,12 +646,12 @@ const eo = (e, r) => {
|
|
|
644
646
|
* @todo class group will be renamed to `inset-s` in next major release
|
|
645
647
|
*/
|
|
646
648
|
start: [{
|
|
647
|
-
"inset-s":
|
|
649
|
+
"inset-s": z(),
|
|
648
650
|
/**
|
|
649
651
|
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
|
|
650
652
|
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
651
653
|
*/
|
|
652
|
-
start:
|
|
654
|
+
start: z()
|
|
653
655
|
}],
|
|
654
656
|
/**
|
|
655
657
|
* Inset Inline End
|
|
@@ -657,54 +659,54 @@ const eo = (e, r) => {
|
|
|
657
659
|
* @todo class group will be renamed to `inset-e` in next major release
|
|
658
660
|
*/
|
|
659
661
|
end: [{
|
|
660
|
-
"inset-e":
|
|
662
|
+
"inset-e": z(),
|
|
661
663
|
/**
|
|
662
664
|
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
|
|
663
665
|
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
664
666
|
*/
|
|
665
|
-
end:
|
|
667
|
+
end: z()
|
|
666
668
|
}],
|
|
667
669
|
/**
|
|
668
670
|
* Inset Block Start
|
|
669
671
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
670
672
|
*/
|
|
671
673
|
"inset-bs": [{
|
|
672
|
-
"inset-bs":
|
|
674
|
+
"inset-bs": z()
|
|
673
675
|
}],
|
|
674
676
|
/**
|
|
675
677
|
* Inset Block End
|
|
676
678
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
677
679
|
*/
|
|
678
680
|
"inset-be": [{
|
|
679
|
-
"inset-be":
|
|
681
|
+
"inset-be": z()
|
|
680
682
|
}],
|
|
681
683
|
/**
|
|
682
684
|
* Top
|
|
683
685
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
684
686
|
*/
|
|
685
687
|
top: [{
|
|
686
|
-
top:
|
|
688
|
+
top: z()
|
|
687
689
|
}],
|
|
688
690
|
/**
|
|
689
691
|
* Right
|
|
690
692
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
691
693
|
*/
|
|
692
694
|
right: [{
|
|
693
|
-
right:
|
|
695
|
+
right: z()
|
|
694
696
|
}],
|
|
695
697
|
/**
|
|
696
698
|
* Bottom
|
|
697
699
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
698
700
|
*/
|
|
699
701
|
bottom: [{
|
|
700
|
-
bottom:
|
|
702
|
+
bottom: z()
|
|
701
703
|
}],
|
|
702
704
|
/**
|
|
703
705
|
* Left
|
|
704
706
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
705
707
|
*/
|
|
706
708
|
left: [{
|
|
707
|
-
left:
|
|
709
|
+
left: z()
|
|
708
710
|
}],
|
|
709
711
|
/**
|
|
710
712
|
* Visibility
|
|
@@ -716,7 +718,7 @@ const eo = (e, r) => {
|
|
|
716
718
|
* @see https://tailwindcss.com/docs/z-index
|
|
717
719
|
*/
|
|
718
720
|
z: [{
|
|
719
|
-
z: [
|
|
721
|
+
z: [S, "auto", s, n]
|
|
720
722
|
}],
|
|
721
723
|
// ------------------------
|
|
722
724
|
// --- Flexbox and Grid ---
|
|
@@ -726,7 +728,7 @@ const eo = (e, r) => {
|
|
|
726
728
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
727
729
|
*/
|
|
728
730
|
basis: [{
|
|
729
|
-
basis: [
|
|
731
|
+
basis: [G, "full", "auto", u, ...i()]
|
|
730
732
|
}],
|
|
731
733
|
/**
|
|
732
734
|
* Flex Direction
|
|
@@ -747,7 +749,7 @@ const eo = (e, r) => {
|
|
|
747
749
|
* @see https://tailwindcss.com/docs/flex
|
|
748
750
|
*/
|
|
749
751
|
flex: [{
|
|
750
|
-
flex: [p,
|
|
752
|
+
flex: [p, G, "auto", "initial", "none", n]
|
|
751
753
|
}],
|
|
752
754
|
/**
|
|
753
755
|
* Flex Grow
|
|
@@ -768,21 +770,21 @@ const eo = (e, r) => {
|
|
|
768
770
|
* @see https://tailwindcss.com/docs/order
|
|
769
771
|
*/
|
|
770
772
|
order: [{
|
|
771
|
-
order: [
|
|
773
|
+
order: [S, "first", "last", "none", s, n]
|
|
772
774
|
}],
|
|
773
775
|
/**
|
|
774
776
|
* Grid Template Columns
|
|
775
777
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
776
778
|
*/
|
|
777
779
|
"grid-cols": [{
|
|
778
|
-
"grid-cols":
|
|
780
|
+
"grid-cols": de()
|
|
779
781
|
}],
|
|
780
782
|
/**
|
|
781
783
|
* Grid Column Start / End
|
|
782
784
|
* @see https://tailwindcss.com/docs/grid-column
|
|
783
785
|
*/
|
|
784
786
|
"col-start-end": [{
|
|
785
|
-
col:
|
|
787
|
+
col: me()
|
|
786
788
|
}],
|
|
787
789
|
/**
|
|
788
790
|
* Grid Column Start
|
|
@@ -803,14 +805,14 @@ const eo = (e, r) => {
|
|
|
803
805
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
804
806
|
*/
|
|
805
807
|
"grid-rows": [{
|
|
806
|
-
"grid-rows":
|
|
808
|
+
"grid-rows": de()
|
|
807
809
|
}],
|
|
808
810
|
/**
|
|
809
811
|
* Grid Row Start / End
|
|
810
812
|
* @see https://tailwindcss.com/docs/grid-row
|
|
811
813
|
*/
|
|
812
814
|
"row-start-end": [{
|
|
813
|
-
row:
|
|
815
|
+
row: me()
|
|
814
816
|
}],
|
|
815
817
|
/**
|
|
816
818
|
* Grid Row Start
|
|
@@ -838,14 +840,14 @@ const eo = (e, r) => {
|
|
|
838
840
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
839
841
|
*/
|
|
840
842
|
"auto-cols": [{
|
|
841
|
-
"auto-cols":
|
|
843
|
+
"auto-cols": pe()
|
|
842
844
|
}],
|
|
843
845
|
/**
|
|
844
846
|
* Grid Auto Rows
|
|
845
847
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
846
848
|
*/
|
|
847
849
|
"auto-rows": [{
|
|
848
|
-
"auto-rows":
|
|
850
|
+
"auto-rows": pe()
|
|
849
851
|
}],
|
|
850
852
|
/**
|
|
851
853
|
* Gap
|
|
@@ -1018,77 +1020,77 @@ const eo = (e, r) => {
|
|
|
1018
1020
|
* @see https://tailwindcss.com/docs/margin
|
|
1019
1021
|
*/
|
|
1020
1022
|
m: [{
|
|
1021
|
-
m:
|
|
1023
|
+
m: L()
|
|
1022
1024
|
}],
|
|
1023
1025
|
/**
|
|
1024
1026
|
* Margin Inline
|
|
1025
1027
|
* @see https://tailwindcss.com/docs/margin
|
|
1026
1028
|
*/
|
|
1027
1029
|
mx: [{
|
|
1028
|
-
mx:
|
|
1030
|
+
mx: L()
|
|
1029
1031
|
}],
|
|
1030
1032
|
/**
|
|
1031
1033
|
* Margin Block
|
|
1032
1034
|
* @see https://tailwindcss.com/docs/margin
|
|
1033
1035
|
*/
|
|
1034
1036
|
my: [{
|
|
1035
|
-
my:
|
|
1037
|
+
my: L()
|
|
1036
1038
|
}],
|
|
1037
1039
|
/**
|
|
1038
1040
|
* Margin Inline Start
|
|
1039
1041
|
* @see https://tailwindcss.com/docs/margin
|
|
1040
1042
|
*/
|
|
1041
1043
|
ms: [{
|
|
1042
|
-
ms:
|
|
1044
|
+
ms: L()
|
|
1043
1045
|
}],
|
|
1044
1046
|
/**
|
|
1045
1047
|
* Margin Inline End
|
|
1046
1048
|
* @see https://tailwindcss.com/docs/margin
|
|
1047
1049
|
*/
|
|
1048
1050
|
me: [{
|
|
1049
|
-
me:
|
|
1051
|
+
me: L()
|
|
1050
1052
|
}],
|
|
1051
1053
|
/**
|
|
1052
1054
|
* Margin Block Start
|
|
1053
1055
|
* @see https://tailwindcss.com/docs/margin
|
|
1054
1056
|
*/
|
|
1055
1057
|
mbs: [{
|
|
1056
|
-
mbs:
|
|
1058
|
+
mbs: L()
|
|
1057
1059
|
}],
|
|
1058
1060
|
/**
|
|
1059
1061
|
* Margin Block End
|
|
1060
1062
|
* @see https://tailwindcss.com/docs/margin
|
|
1061
1063
|
*/
|
|
1062
1064
|
mbe: [{
|
|
1063
|
-
mbe:
|
|
1065
|
+
mbe: L()
|
|
1064
1066
|
}],
|
|
1065
1067
|
/**
|
|
1066
1068
|
* Margin Top
|
|
1067
1069
|
* @see https://tailwindcss.com/docs/margin
|
|
1068
1070
|
*/
|
|
1069
1071
|
mt: [{
|
|
1070
|
-
mt:
|
|
1072
|
+
mt: L()
|
|
1071
1073
|
}],
|
|
1072
1074
|
/**
|
|
1073
1075
|
* Margin Right
|
|
1074
1076
|
* @see https://tailwindcss.com/docs/margin
|
|
1075
1077
|
*/
|
|
1076
1078
|
mr: [{
|
|
1077
|
-
mr:
|
|
1079
|
+
mr: L()
|
|
1078
1080
|
}],
|
|
1079
1081
|
/**
|
|
1080
1082
|
* Margin Bottom
|
|
1081
1083
|
* @see https://tailwindcss.com/docs/margin
|
|
1082
1084
|
*/
|
|
1083
1085
|
mb: [{
|
|
1084
|
-
mb:
|
|
1086
|
+
mb: L()
|
|
1085
1087
|
}],
|
|
1086
1088
|
/**
|
|
1087
1089
|
* Margin Left
|
|
1088
1090
|
* @see https://tailwindcss.com/docs/margin
|
|
1089
1091
|
*/
|
|
1090
1092
|
ml: [{
|
|
1091
|
-
ml:
|
|
1093
|
+
ml: L()
|
|
1092
1094
|
}],
|
|
1093
1095
|
/**
|
|
1094
1096
|
* Space Between X
|
|
@@ -1122,7 +1124,7 @@ const eo = (e, r) => {
|
|
|
1122
1124
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1123
1125
|
*/
|
|
1124
1126
|
size: [{
|
|
1125
|
-
size:
|
|
1127
|
+
size: B()
|
|
1126
1128
|
}],
|
|
1127
1129
|
/**
|
|
1128
1130
|
* Inline Size
|
|
@@ -1171,7 +1173,7 @@ const eo = (e, r) => {
|
|
|
1171
1173
|
* @see https://tailwindcss.com/docs/width
|
|
1172
1174
|
*/
|
|
1173
1175
|
w: [{
|
|
1174
|
-
w: [u, "screen", ...
|
|
1176
|
+
w: [u, "screen", ...B()]
|
|
1175
1177
|
}],
|
|
1176
1178
|
/**
|
|
1177
1179
|
* Min-Width
|
|
@@ -1183,7 +1185,7 @@ const eo = (e, r) => {
|
|
|
1183
1185
|
"screen",
|
|
1184
1186
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1185
1187
|
"none",
|
|
1186
|
-
...
|
|
1188
|
+
...B()
|
|
1187
1189
|
]
|
|
1188
1190
|
}],
|
|
1189
1191
|
/**
|
|
@@ -1201,7 +1203,7 @@ const eo = (e, r) => {
|
|
|
1201
1203
|
{
|
|
1202
1204
|
screen: [l]
|
|
1203
1205
|
},
|
|
1204
|
-
...
|
|
1206
|
+
...B()
|
|
1205
1207
|
]
|
|
1206
1208
|
}],
|
|
1207
1209
|
/**
|
|
@@ -1209,21 +1211,21 @@ const eo = (e, r) => {
|
|
|
1209
1211
|
* @see https://tailwindcss.com/docs/height
|
|
1210
1212
|
*/
|
|
1211
1213
|
h: [{
|
|
1212
|
-
h: ["screen", "lh", ...
|
|
1214
|
+
h: ["screen", "lh", ...B()]
|
|
1213
1215
|
}],
|
|
1214
1216
|
/**
|
|
1215
1217
|
* Min-Height
|
|
1216
1218
|
* @see https://tailwindcss.com/docs/min-height
|
|
1217
1219
|
*/
|
|
1218
1220
|
"min-h": [{
|
|
1219
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1221
|
+
"min-h": ["screen", "lh", "none", ...B()]
|
|
1220
1222
|
}],
|
|
1221
1223
|
/**
|
|
1222
1224
|
* Max-Height
|
|
1223
1225
|
* @see https://tailwindcss.com/docs/max-height
|
|
1224
1226
|
*/
|
|
1225
1227
|
"max-h": [{
|
|
1226
|
-
"max-h": ["screen", "lh", ...
|
|
1228
|
+
"max-h": ["screen", "lh", ...B()]
|
|
1227
1229
|
}],
|
|
1228
1230
|
// ------------------
|
|
1229
1231
|
// --- Typography ---
|
|
@@ -1233,7 +1235,7 @@ const eo = (e, r) => {
|
|
|
1233
1235
|
* @see https://tailwindcss.com/docs/font-size
|
|
1234
1236
|
*/
|
|
1235
1237
|
"font-size": [{
|
|
1236
|
-
text: ["base", t, D,
|
|
1238
|
+
text: ["base", t, D, O]
|
|
1237
1239
|
}],
|
|
1238
1240
|
/**
|
|
1239
1241
|
* Font Smoothing
|
|
@@ -1250,21 +1252,21 @@ const eo = (e, r) => {
|
|
|
1250
1252
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1251
1253
|
*/
|
|
1252
1254
|
"font-weight": [{
|
|
1253
|
-
font: [o,
|
|
1255
|
+
font: [o, $o, Bo]
|
|
1254
1256
|
}],
|
|
1255
1257
|
/**
|
|
1256
1258
|
* Font Stretch
|
|
1257
1259
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1258
1260
|
*/
|
|
1259
1261
|
"font-stretch": [{
|
|
1260
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1262
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ae, n]
|
|
1261
1263
|
}],
|
|
1262
1264
|
/**
|
|
1263
1265
|
* Font Family
|
|
1264
1266
|
* @see https://tailwindcss.com/docs/font-family
|
|
1265
1267
|
*/
|
|
1266
1268
|
"font-family": [{
|
|
1267
|
-
font: [Fo,
|
|
1269
|
+
font: [Fo, Oo, r]
|
|
1268
1270
|
}],
|
|
1269
1271
|
/**
|
|
1270
1272
|
* Font Feature Settings
|
|
@@ -1315,7 +1317,7 @@ const eo = (e, r) => {
|
|
|
1315
1317
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1316
1318
|
*/
|
|
1317
1319
|
"line-clamp": [{
|
|
1318
|
-
"line-clamp": [p, "none", s,
|
|
1320
|
+
"line-clamp": [p, "none", s, ke]
|
|
1319
1321
|
}],
|
|
1320
1322
|
/**
|
|
1321
1323
|
* Line Height
|
|
@@ -1388,7 +1390,7 @@ const eo = (e, r) => {
|
|
|
1388
1390
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1389
1391
|
*/
|
|
1390
1392
|
"text-decoration-thickness": [{
|
|
1391
|
-
decoration: [p, "from-font", "auto", s,
|
|
1393
|
+
decoration: [p, "from-font", "auto", s, O]
|
|
1392
1394
|
}],
|
|
1393
1395
|
/**
|
|
1394
1396
|
* Text Decoration Color
|
|
@@ -1433,7 +1435,7 @@ const eo = (e, r) => {
|
|
|
1433
1435
|
* @see https://tailwindcss.com/docs/tab-size
|
|
1434
1436
|
*/
|
|
1435
1437
|
"tab-size": [{
|
|
1436
|
-
tab: [
|
|
1438
|
+
tab: [S, s, n]
|
|
1437
1439
|
}],
|
|
1438
1440
|
/**
|
|
1439
1441
|
* Vertical Alignment
|
|
@@ -1506,21 +1508,21 @@ const eo = (e, r) => {
|
|
|
1506
1508
|
* @see https://tailwindcss.com/docs/background-position
|
|
1507
1509
|
*/
|
|
1508
1510
|
"bg-position": [{
|
|
1509
|
-
bg:
|
|
1511
|
+
bg: ue()
|
|
1510
1512
|
}],
|
|
1511
1513
|
/**
|
|
1512
1514
|
* Background Repeat
|
|
1513
1515
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1514
1516
|
*/
|
|
1515
1517
|
"bg-repeat": [{
|
|
1516
|
-
bg:
|
|
1518
|
+
bg: be()
|
|
1517
1519
|
}],
|
|
1518
1520
|
/**
|
|
1519
1521
|
* Background Size
|
|
1520
1522
|
* @see https://tailwindcss.com/docs/background-size
|
|
1521
1523
|
*/
|
|
1522
1524
|
"bg-size": [{
|
|
1523
|
-
bg:
|
|
1525
|
+
bg: fe()
|
|
1524
1526
|
}],
|
|
1525
1527
|
/**
|
|
1526
1528
|
* Background Image
|
|
@@ -1530,10 +1532,10 @@ const eo = (e, r) => {
|
|
|
1530
1532
|
bg: ["none", {
|
|
1531
1533
|
linear: [{
|
|
1532
1534
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1533
|
-
},
|
|
1535
|
+
}, S, s, n],
|
|
1534
1536
|
radial: ["", s, n],
|
|
1535
|
-
conic: [
|
|
1536
|
-
},
|
|
1537
|
+
conic: [S, s, n]
|
|
1538
|
+
}, Wo, jo]
|
|
1537
1539
|
}],
|
|
1538
1540
|
/**
|
|
1539
1541
|
* Background Color
|
|
@@ -1592,189 +1594,189 @@ const eo = (e, r) => {
|
|
|
1592
1594
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1593
1595
|
*/
|
|
1594
1596
|
rounded: [{
|
|
1595
|
-
rounded:
|
|
1597
|
+
rounded: y()
|
|
1596
1598
|
}],
|
|
1597
1599
|
/**
|
|
1598
1600
|
* Border Radius Start
|
|
1599
1601
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1600
1602
|
*/
|
|
1601
1603
|
"rounded-s": [{
|
|
1602
|
-
"rounded-s":
|
|
1604
|
+
"rounded-s": y()
|
|
1603
1605
|
}],
|
|
1604
1606
|
/**
|
|
1605
1607
|
* Border Radius End
|
|
1606
1608
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1607
1609
|
*/
|
|
1608
1610
|
"rounded-e": [{
|
|
1609
|
-
"rounded-e":
|
|
1611
|
+
"rounded-e": y()
|
|
1610
1612
|
}],
|
|
1611
1613
|
/**
|
|
1612
1614
|
* Border Radius Top
|
|
1613
1615
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1614
1616
|
*/
|
|
1615
1617
|
"rounded-t": [{
|
|
1616
|
-
"rounded-t":
|
|
1618
|
+
"rounded-t": y()
|
|
1617
1619
|
}],
|
|
1618
1620
|
/**
|
|
1619
1621
|
* Border Radius Right
|
|
1620
1622
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1621
1623
|
*/
|
|
1622
1624
|
"rounded-r": [{
|
|
1623
|
-
"rounded-r":
|
|
1625
|
+
"rounded-r": y()
|
|
1624
1626
|
}],
|
|
1625
1627
|
/**
|
|
1626
1628
|
* Border Radius Bottom
|
|
1627
1629
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1628
1630
|
*/
|
|
1629
1631
|
"rounded-b": [{
|
|
1630
|
-
"rounded-b":
|
|
1632
|
+
"rounded-b": y()
|
|
1631
1633
|
}],
|
|
1632
1634
|
/**
|
|
1633
1635
|
* Border Radius Left
|
|
1634
1636
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1635
1637
|
*/
|
|
1636
1638
|
"rounded-l": [{
|
|
1637
|
-
"rounded-l":
|
|
1639
|
+
"rounded-l": y()
|
|
1638
1640
|
}],
|
|
1639
1641
|
/**
|
|
1640
1642
|
* Border Radius Start Start
|
|
1641
1643
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1642
1644
|
*/
|
|
1643
1645
|
"rounded-ss": [{
|
|
1644
|
-
"rounded-ss":
|
|
1646
|
+
"rounded-ss": y()
|
|
1645
1647
|
}],
|
|
1646
1648
|
/**
|
|
1647
1649
|
* Border Radius Start End
|
|
1648
1650
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1649
1651
|
*/
|
|
1650
1652
|
"rounded-se": [{
|
|
1651
|
-
"rounded-se":
|
|
1653
|
+
"rounded-se": y()
|
|
1652
1654
|
}],
|
|
1653
1655
|
/**
|
|
1654
1656
|
* Border Radius End End
|
|
1655
1657
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1656
1658
|
*/
|
|
1657
1659
|
"rounded-ee": [{
|
|
1658
|
-
"rounded-ee":
|
|
1660
|
+
"rounded-ee": y()
|
|
1659
1661
|
}],
|
|
1660
1662
|
/**
|
|
1661
1663
|
* Border Radius End Start
|
|
1662
1664
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1663
1665
|
*/
|
|
1664
1666
|
"rounded-es": [{
|
|
1665
|
-
"rounded-es":
|
|
1667
|
+
"rounded-es": y()
|
|
1666
1668
|
}],
|
|
1667
1669
|
/**
|
|
1668
1670
|
* Border Radius Top Left
|
|
1669
1671
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1670
1672
|
*/
|
|
1671
1673
|
"rounded-tl": [{
|
|
1672
|
-
"rounded-tl":
|
|
1674
|
+
"rounded-tl": y()
|
|
1673
1675
|
}],
|
|
1674
1676
|
/**
|
|
1675
1677
|
* Border Radius Top Right
|
|
1676
1678
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1677
1679
|
*/
|
|
1678
1680
|
"rounded-tr": [{
|
|
1679
|
-
"rounded-tr":
|
|
1681
|
+
"rounded-tr": y()
|
|
1680
1682
|
}],
|
|
1681
1683
|
/**
|
|
1682
1684
|
* Border Radius Bottom Right
|
|
1683
1685
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1684
1686
|
*/
|
|
1685
1687
|
"rounded-br": [{
|
|
1686
|
-
"rounded-br":
|
|
1688
|
+
"rounded-br": y()
|
|
1687
1689
|
}],
|
|
1688
1690
|
/**
|
|
1689
1691
|
* Border Radius Bottom Left
|
|
1690
1692
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1691
1693
|
*/
|
|
1692
1694
|
"rounded-bl": [{
|
|
1693
|
-
"rounded-bl":
|
|
1695
|
+
"rounded-bl": y()
|
|
1694
1696
|
}],
|
|
1695
1697
|
/**
|
|
1696
1698
|
* Border Width
|
|
1697
1699
|
* @see https://tailwindcss.com/docs/border-width
|
|
1698
1700
|
*/
|
|
1699
1701
|
"border-w": [{
|
|
1700
|
-
border:
|
|
1702
|
+
border: k()
|
|
1701
1703
|
}],
|
|
1702
1704
|
/**
|
|
1703
1705
|
* Border Width Inline
|
|
1704
1706
|
* @see https://tailwindcss.com/docs/border-width
|
|
1705
1707
|
*/
|
|
1706
1708
|
"border-w-x": [{
|
|
1707
|
-
"border-x":
|
|
1709
|
+
"border-x": k()
|
|
1708
1710
|
}],
|
|
1709
1711
|
/**
|
|
1710
1712
|
* Border Width Block
|
|
1711
1713
|
* @see https://tailwindcss.com/docs/border-width
|
|
1712
1714
|
*/
|
|
1713
1715
|
"border-w-y": [{
|
|
1714
|
-
"border-y":
|
|
1716
|
+
"border-y": k()
|
|
1715
1717
|
}],
|
|
1716
1718
|
/**
|
|
1717
1719
|
* Border Width Inline Start
|
|
1718
1720
|
* @see https://tailwindcss.com/docs/border-width
|
|
1719
1721
|
*/
|
|
1720
1722
|
"border-w-s": [{
|
|
1721
|
-
"border-s":
|
|
1723
|
+
"border-s": k()
|
|
1722
1724
|
}],
|
|
1723
1725
|
/**
|
|
1724
1726
|
* Border Width Inline End
|
|
1725
1727
|
* @see https://tailwindcss.com/docs/border-width
|
|
1726
1728
|
*/
|
|
1727
1729
|
"border-w-e": [{
|
|
1728
|
-
"border-e":
|
|
1730
|
+
"border-e": k()
|
|
1729
1731
|
}],
|
|
1730
1732
|
/**
|
|
1731
1733
|
* Border Width Block Start
|
|
1732
1734
|
* @see https://tailwindcss.com/docs/border-width
|
|
1733
1735
|
*/
|
|
1734
1736
|
"border-w-bs": [{
|
|
1735
|
-
"border-bs":
|
|
1737
|
+
"border-bs": k()
|
|
1736
1738
|
}],
|
|
1737
1739
|
/**
|
|
1738
1740
|
* Border Width Block End
|
|
1739
1741
|
* @see https://tailwindcss.com/docs/border-width
|
|
1740
1742
|
*/
|
|
1741
1743
|
"border-w-be": [{
|
|
1742
|
-
"border-be":
|
|
1744
|
+
"border-be": k()
|
|
1743
1745
|
}],
|
|
1744
1746
|
/**
|
|
1745
1747
|
* Border Width Top
|
|
1746
1748
|
* @see https://tailwindcss.com/docs/border-width
|
|
1747
1749
|
*/
|
|
1748
1750
|
"border-w-t": [{
|
|
1749
|
-
"border-t":
|
|
1751
|
+
"border-t": k()
|
|
1750
1752
|
}],
|
|
1751
1753
|
/**
|
|
1752
1754
|
* Border Width Right
|
|
1753
1755
|
* @see https://tailwindcss.com/docs/border-width
|
|
1754
1756
|
*/
|
|
1755
1757
|
"border-w-r": [{
|
|
1756
|
-
"border-r":
|
|
1758
|
+
"border-r": k()
|
|
1757
1759
|
}],
|
|
1758
1760
|
/**
|
|
1759
1761
|
* Border Width Bottom
|
|
1760
1762
|
* @see https://tailwindcss.com/docs/border-width
|
|
1761
1763
|
*/
|
|
1762
1764
|
"border-w-b": [{
|
|
1763
|
-
"border-b":
|
|
1765
|
+
"border-b": k()
|
|
1764
1766
|
}],
|
|
1765
1767
|
/**
|
|
1766
1768
|
* Border Width Left
|
|
1767
1769
|
* @see https://tailwindcss.com/docs/border-width
|
|
1768
1770
|
*/
|
|
1769
1771
|
"border-w-l": [{
|
|
1770
|
-
"border-l":
|
|
1772
|
+
"border-l": k()
|
|
1771
1773
|
}],
|
|
1772
1774
|
/**
|
|
1773
1775
|
* Divide Width X
|
|
1774
1776
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1775
1777
|
*/
|
|
1776
1778
|
"divide-x": [{
|
|
1777
|
-
"divide-x":
|
|
1779
|
+
"divide-x": k()
|
|
1778
1780
|
}],
|
|
1779
1781
|
/**
|
|
1780
1782
|
* Divide Width X Reverse
|
|
@@ -1786,7 +1788,7 @@ const eo = (e, r) => {
|
|
|
1786
1788
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1787
1789
|
*/
|
|
1788
1790
|
"divide-y": [{
|
|
1789
|
-
"divide-y":
|
|
1791
|
+
"divide-y": k()
|
|
1790
1792
|
}],
|
|
1791
1793
|
/**
|
|
1792
1794
|
* Divide Width Y Reverse
|
|
@@ -1910,7 +1912,7 @@ const eo = (e, r) => {
|
|
|
1910
1912
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1911
1913
|
*/
|
|
1912
1914
|
"outline-w": [{
|
|
1913
|
-
outline: ["", p, D,
|
|
1915
|
+
outline: ["", p, D, O]
|
|
1914
1916
|
}],
|
|
1915
1917
|
/**
|
|
1916
1918
|
* Outline Color
|
|
@@ -1931,7 +1933,7 @@ const eo = (e, r) => {
|
|
|
1931
1933
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1932
1934
|
"",
|
|
1933
1935
|
"none",
|
|
1934
|
-
|
|
1936
|
+
f,
|
|
1935
1937
|
Q,
|
|
1936
1938
|
X
|
|
1937
1939
|
]
|
|
@@ -1948,7 +1950,7 @@ const eo = (e, r) => {
|
|
|
1948
1950
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1949
1951
|
*/
|
|
1950
1952
|
"inset-shadow": [{
|
|
1951
|
-
"inset-shadow": ["none",
|
|
1953
|
+
"inset-shadow": ["none", w, Q, X]
|
|
1952
1954
|
}],
|
|
1953
1955
|
/**
|
|
1954
1956
|
* Inset Box Shadow Color
|
|
@@ -1962,7 +1964,7 @@ const eo = (e, r) => {
|
|
|
1962
1964
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1963
1965
|
*/
|
|
1964
1966
|
"ring-w": [{
|
|
1965
|
-
ring:
|
|
1967
|
+
ring: k()
|
|
1966
1968
|
}],
|
|
1967
1969
|
/**
|
|
1968
1970
|
* Ring Width Inset
|
|
@@ -1985,7 +1987,7 @@ const eo = (e, r) => {
|
|
|
1985
1987
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1986
1988
|
*/
|
|
1987
1989
|
"ring-offset-w": [{
|
|
1988
|
-
"ring-offset": [p,
|
|
1990
|
+
"ring-offset": [p, O]
|
|
1989
1991
|
}],
|
|
1990
1992
|
/**
|
|
1991
1993
|
* Ring Offset Color
|
|
@@ -2001,7 +2003,7 @@ const eo = (e, r) => {
|
|
|
2001
2003
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2002
2004
|
*/
|
|
2003
2005
|
"inset-ring-w": [{
|
|
2004
|
-
"inset-ring":
|
|
2006
|
+
"inset-ring": k()
|
|
2005
2007
|
}],
|
|
2006
2008
|
/**
|
|
2007
2009
|
* Inset Ring Color
|
|
@@ -2015,7 +2017,7 @@ const eo = (e, r) => {
|
|
|
2015
2017
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2016
2018
|
*/
|
|
2017
2019
|
"text-shadow": [{
|
|
2018
|
-
"text-shadow": ["none",
|
|
2020
|
+
"text-shadow": ["none", P, Q, X]
|
|
2019
2021
|
}],
|
|
2020
2022
|
/**
|
|
2021
2023
|
* Text Shadow Color
|
|
@@ -2036,14 +2038,14 @@ const eo = (e, r) => {
|
|
|
2036
2038
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2037
2039
|
*/
|
|
2038
2040
|
"mix-blend": [{
|
|
2039
|
-
"mix-blend": [...
|
|
2041
|
+
"mix-blend": [...ge(), "plus-darker", "plus-lighter"]
|
|
2040
2042
|
}],
|
|
2041
2043
|
/**
|
|
2042
2044
|
* Background Blend Mode
|
|
2043
2045
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2044
2046
|
*/
|
|
2045
2047
|
"bg-blend": [{
|
|
2046
|
-
"bg-blend":
|
|
2048
|
+
"bg-blend": ge()
|
|
2047
2049
|
}],
|
|
2048
2050
|
/**
|
|
2049
2051
|
* Mask Clip
|
|
@@ -2067,10 +2069,10 @@ const eo = (e, r) => {
|
|
|
2067
2069
|
"mask-linear": [p]
|
|
2068
2070
|
}],
|
|
2069
2071
|
"mask-image-linear-from-pos": [{
|
|
2070
|
-
"mask-linear-from":
|
|
2072
|
+
"mask-linear-from": x()
|
|
2071
2073
|
}],
|
|
2072
2074
|
"mask-image-linear-to-pos": [{
|
|
2073
|
-
"mask-linear-to":
|
|
2075
|
+
"mask-linear-to": x()
|
|
2074
2076
|
}],
|
|
2075
2077
|
"mask-image-linear-from-color": [{
|
|
2076
2078
|
"mask-linear-from": c()
|
|
@@ -2079,10 +2081,10 @@ const eo = (e, r) => {
|
|
|
2079
2081
|
"mask-linear-to": c()
|
|
2080
2082
|
}],
|
|
2081
2083
|
"mask-image-t-from-pos": [{
|
|
2082
|
-
"mask-t-from":
|
|
2084
|
+
"mask-t-from": x()
|
|
2083
2085
|
}],
|
|
2084
2086
|
"mask-image-t-to-pos": [{
|
|
2085
|
-
"mask-t-to":
|
|
2087
|
+
"mask-t-to": x()
|
|
2086
2088
|
}],
|
|
2087
2089
|
"mask-image-t-from-color": [{
|
|
2088
2090
|
"mask-t-from": c()
|
|
@@ -2091,10 +2093,10 @@ const eo = (e, r) => {
|
|
|
2091
2093
|
"mask-t-to": c()
|
|
2092
2094
|
}],
|
|
2093
2095
|
"mask-image-r-from-pos": [{
|
|
2094
|
-
"mask-r-from":
|
|
2096
|
+
"mask-r-from": x()
|
|
2095
2097
|
}],
|
|
2096
2098
|
"mask-image-r-to-pos": [{
|
|
2097
|
-
"mask-r-to":
|
|
2099
|
+
"mask-r-to": x()
|
|
2098
2100
|
}],
|
|
2099
2101
|
"mask-image-r-from-color": [{
|
|
2100
2102
|
"mask-r-from": c()
|
|
@@ -2103,10 +2105,10 @@ const eo = (e, r) => {
|
|
|
2103
2105
|
"mask-r-to": c()
|
|
2104
2106
|
}],
|
|
2105
2107
|
"mask-image-b-from-pos": [{
|
|
2106
|
-
"mask-b-from":
|
|
2108
|
+
"mask-b-from": x()
|
|
2107
2109
|
}],
|
|
2108
2110
|
"mask-image-b-to-pos": [{
|
|
2109
|
-
"mask-b-to":
|
|
2111
|
+
"mask-b-to": x()
|
|
2110
2112
|
}],
|
|
2111
2113
|
"mask-image-b-from-color": [{
|
|
2112
2114
|
"mask-b-from": c()
|
|
@@ -2115,10 +2117,10 @@ const eo = (e, r) => {
|
|
|
2115
2117
|
"mask-b-to": c()
|
|
2116
2118
|
}],
|
|
2117
2119
|
"mask-image-l-from-pos": [{
|
|
2118
|
-
"mask-l-from":
|
|
2120
|
+
"mask-l-from": x()
|
|
2119
2121
|
}],
|
|
2120
2122
|
"mask-image-l-to-pos": [{
|
|
2121
|
-
"mask-l-to":
|
|
2123
|
+
"mask-l-to": x()
|
|
2122
2124
|
}],
|
|
2123
2125
|
"mask-image-l-from-color": [{
|
|
2124
2126
|
"mask-l-from": c()
|
|
@@ -2127,10 +2129,10 @@ const eo = (e, r) => {
|
|
|
2127
2129
|
"mask-l-to": c()
|
|
2128
2130
|
}],
|
|
2129
2131
|
"mask-image-x-from-pos": [{
|
|
2130
|
-
"mask-x-from":
|
|
2132
|
+
"mask-x-from": x()
|
|
2131
2133
|
}],
|
|
2132
2134
|
"mask-image-x-to-pos": [{
|
|
2133
|
-
"mask-x-to":
|
|
2135
|
+
"mask-x-to": x()
|
|
2134
2136
|
}],
|
|
2135
2137
|
"mask-image-x-from-color": [{
|
|
2136
2138
|
"mask-x-from": c()
|
|
@@ -2139,10 +2141,10 @@ const eo = (e, r) => {
|
|
|
2139
2141
|
"mask-x-to": c()
|
|
2140
2142
|
}],
|
|
2141
2143
|
"mask-image-y-from-pos": [{
|
|
2142
|
-
"mask-y-from":
|
|
2144
|
+
"mask-y-from": x()
|
|
2143
2145
|
}],
|
|
2144
2146
|
"mask-image-y-to-pos": [{
|
|
2145
|
-
"mask-y-to":
|
|
2147
|
+
"mask-y-to": x()
|
|
2146
2148
|
}],
|
|
2147
2149
|
"mask-image-y-from-color": [{
|
|
2148
2150
|
"mask-y-from": c()
|
|
@@ -2154,10 +2156,10 @@ const eo = (e, r) => {
|
|
|
2154
2156
|
"mask-radial": [s, n]
|
|
2155
2157
|
}],
|
|
2156
2158
|
"mask-image-radial-from-pos": [{
|
|
2157
|
-
"mask-radial-from":
|
|
2159
|
+
"mask-radial-from": x()
|
|
2158
2160
|
}],
|
|
2159
2161
|
"mask-image-radial-to-pos": [{
|
|
2160
|
-
"mask-radial-to":
|
|
2162
|
+
"mask-radial-to": x()
|
|
2161
2163
|
}],
|
|
2162
2164
|
"mask-image-radial-from-color": [{
|
|
2163
2165
|
"mask-radial-from": c()
|
|
@@ -2175,16 +2177,16 @@ const eo = (e, r) => {
|
|
|
2175
2177
|
}]
|
|
2176
2178
|
}],
|
|
2177
2179
|
"mask-image-radial-pos": [{
|
|
2178
|
-
"mask-radial-at":
|
|
2180
|
+
"mask-radial-at": F()
|
|
2179
2181
|
}],
|
|
2180
2182
|
"mask-image-conic-pos": [{
|
|
2181
2183
|
"mask-conic": [p]
|
|
2182
2184
|
}],
|
|
2183
2185
|
"mask-image-conic-from-pos": [{
|
|
2184
|
-
"mask-conic-from":
|
|
2186
|
+
"mask-conic-from": x()
|
|
2185
2187
|
}],
|
|
2186
2188
|
"mask-image-conic-to-pos": [{
|
|
2187
|
-
"mask-conic-to":
|
|
2189
|
+
"mask-conic-to": x()
|
|
2188
2190
|
}],
|
|
2189
2191
|
"mask-image-conic-from-color": [{
|
|
2190
2192
|
"mask-conic-from": c()
|
|
@@ -2211,21 +2213,21 @@ const eo = (e, r) => {
|
|
|
2211
2213
|
* @see https://tailwindcss.com/docs/mask-position
|
|
2212
2214
|
*/
|
|
2213
2215
|
"mask-position": [{
|
|
2214
|
-
mask:
|
|
2216
|
+
mask: ue()
|
|
2215
2217
|
}],
|
|
2216
2218
|
/**
|
|
2217
2219
|
* Mask Repeat
|
|
2218
2220
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2219
2221
|
*/
|
|
2220
2222
|
"mask-repeat": [{
|
|
2221
|
-
mask:
|
|
2223
|
+
mask: be()
|
|
2222
2224
|
}],
|
|
2223
2225
|
/**
|
|
2224
2226
|
* Mask Size
|
|
2225
2227
|
* @see https://tailwindcss.com/docs/mask-size
|
|
2226
2228
|
*/
|
|
2227
2229
|
"mask-size": [{
|
|
2228
|
-
mask:
|
|
2230
|
+
mask: fe()
|
|
2229
2231
|
}],
|
|
2230
2232
|
/**
|
|
2231
2233
|
* Mask Type
|
|
@@ -2262,7 +2264,7 @@ const eo = (e, r) => {
|
|
|
2262
2264
|
* @see https://tailwindcss.com/docs/blur
|
|
2263
2265
|
*/
|
|
2264
2266
|
blur: [{
|
|
2265
|
-
blur:
|
|
2267
|
+
blur: he()
|
|
2266
2268
|
}],
|
|
2267
2269
|
/**
|
|
2268
2270
|
* Brightness
|
|
@@ -2352,7 +2354,7 @@ const eo = (e, r) => {
|
|
|
2352
2354
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2353
2355
|
*/
|
|
2354
2356
|
"backdrop-blur": [{
|
|
2355
|
-
"backdrop-blur":
|
|
2357
|
+
"backdrop-blur": he()
|
|
2356
2358
|
}],
|
|
2357
2359
|
/**
|
|
2358
2360
|
* Backdrop Brightness
|
|
@@ -2484,7 +2486,7 @@ const eo = (e, r) => {
|
|
|
2484
2486
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2485
2487
|
*/
|
|
2486
2488
|
ease: [{
|
|
2487
|
-
ease: ["linear", "initial",
|
|
2489
|
+
ease: ["linear", "initial", T, s, n]
|
|
2488
2490
|
}],
|
|
2489
2491
|
/**
|
|
2490
2492
|
* Transition Delay
|
|
@@ -2498,7 +2500,7 @@ const eo = (e, r) => {
|
|
|
2498
2500
|
* @see https://tailwindcss.com/docs/animation
|
|
2499
2501
|
*/
|
|
2500
2502
|
animate: [{
|
|
2501
|
-
animate: ["none",
|
|
2503
|
+
animate: ["none", C, s, n]
|
|
2502
2504
|
}],
|
|
2503
2505
|
// ------------------
|
|
2504
2506
|
// --- Transforms ---
|
|
@@ -2515,7 +2517,7 @@ const eo = (e, r) => {
|
|
|
2515
2517
|
* @see https://tailwindcss.com/docs/perspective
|
|
2516
2518
|
*/
|
|
2517
2519
|
perspective: [{
|
|
2518
|
-
perspective: [
|
|
2520
|
+
perspective: [g, s, n]
|
|
2519
2521
|
}],
|
|
2520
2522
|
/**
|
|
2521
2523
|
* Perspective Origin
|
|
@@ -2665,7 +2667,7 @@ const eo = (e, r) => {
|
|
|
2665
2667
|
* @see https://tailwindcss.com/docs/zoom
|
|
2666
2668
|
*/
|
|
2667
2669
|
zoom: [{
|
|
2668
|
-
zoom: [
|
|
2670
|
+
zoom: [S, s, n]
|
|
2669
2671
|
}],
|
|
2670
2672
|
// ---------------------
|
|
2671
2673
|
// --- Interactivity ---
|
|
@@ -2998,7 +3000,7 @@ const eo = (e, r) => {
|
|
|
2998
3000
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2999
3001
|
*/
|
|
3000
3002
|
"stroke-w": [{
|
|
3001
|
-
stroke: [p, D,
|
|
3003
|
+
stroke: [p, D, O, ke]
|
|
3002
3004
|
}],
|
|
3003
3005
|
/**
|
|
3004
3006
|
* Stroke
|
|
@@ -3075,11 +3077,11 @@ const eo = (e, r) => {
|
|
|
3075
3077
|
postfixLookupClassGroups: ["container-type"],
|
|
3076
3078
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3077
3079
|
};
|
|
3078
|
-
},
|
|
3079
|
-
function
|
|
3080
|
-
return
|
|
3080
|
+
}, Ko = /* @__PURE__ */ Co(Do);
|
|
3081
|
+
function Zo(...e) {
|
|
3082
|
+
return Ko(eo(e));
|
|
3081
3083
|
}
|
|
3082
|
-
const
|
|
3084
|
+
const je = {
|
|
3083
3085
|
"+1": {
|
|
3084
3086
|
pattern: /^[2-9]\d{9}$/,
|
|
3085
3087
|
minLength: 10,
|
|
@@ -3152,19 +3154,19 @@ const Fe = {
|
|
|
3152
3154
|
maxLength: 8,
|
|
3153
3155
|
description: "7-8 digits"
|
|
3154
3156
|
}
|
|
3155
|
-
},
|
|
3157
|
+
}, Fe = {
|
|
3156
3158
|
pattern: /^\d{6,15}$/,
|
|
3157
3159
|
maxLength: 15,
|
|
3158
3160
|
description: "6-15 digits"
|
|
3159
|
-
},
|
|
3161
|
+
}, Xo = (e, r) => {
|
|
3160
3162
|
if (!e)
|
|
3161
3163
|
return { isValid: !0, error: "" };
|
|
3162
|
-
const t =
|
|
3164
|
+
const t = je[r] || Fe;
|
|
3163
3165
|
return t.pattern.test(e) ? { isValid: !0, error: "" } : {
|
|
3164
3166
|
isValid: !1,
|
|
3165
3167
|
error: `Please enter a valid phone number (${t.description})`
|
|
3166
3168
|
};
|
|
3167
|
-
},
|
|
3169
|
+
}, Qo = (e) => (je[e] || Fe).maxLength, qo = [
|
|
3168
3170
|
{ name: "United States", code: "+1", iso: "US" },
|
|
3169
3171
|
{ name: "United Kingdom", code: "+44", iso: "GB" },
|
|
3170
3172
|
{ name: "Australia", code: "+61", iso: "AU" },
|
|
@@ -3219,15 +3221,15 @@ const Fe = {
|
|
|
3219
3221
|
{ name: "Austria", code: "+43", iso: "AT" },
|
|
3220
3222
|
{ name: "Réunion", code: "+262", iso: "RE" },
|
|
3221
3223
|
{ name: "India", code: "+91", iso: "IN" }
|
|
3222
|
-
],
|
|
3224
|
+
], et = (e) => {
|
|
3223
3225
|
if (!e || e.length !== 2) return "🏳️";
|
|
3224
3226
|
const r = e.toUpperCase().split("").map((t) => 127397 + t.charCodeAt(0));
|
|
3225
3227
|
return String.fromCodePoint(...r);
|
|
3226
3228
|
};
|
|
3227
|
-
function
|
|
3229
|
+
function ot(e) {
|
|
3228
3230
|
const r = $e(null), t = ({ locale: a, children: d }) => {
|
|
3229
3231
|
const u = { locale: a, t: (b) => e[a]?.[b] ?? b };
|
|
3230
|
-
return /* @__PURE__ */
|
|
3232
|
+
return /* @__PURE__ */ I(r.Provider, { value: u, children: d });
|
|
3231
3233
|
};
|
|
3232
3234
|
function o() {
|
|
3233
3235
|
return Ue(r);
|
|
@@ -3235,12 +3237,12 @@ function et(e) {
|
|
|
3235
3237
|
return { I18nProvider: t, useI18n: o };
|
|
3236
3238
|
}
|
|
3237
3239
|
export {
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3240
|
+
Yo as BottomSheet,
|
|
3241
|
+
qo as DEFAULT_COUNTRIES,
|
|
3242
|
+
Zo as cn,
|
|
3243
|
+
ot as createI18n,
|
|
3244
|
+
et as getFlagEmoji,
|
|
3245
|
+
Qo as getMaxLengthForCountry,
|
|
3246
|
+
Xo as validatePhoneByCountryCode
|
|
3245
3247
|
};
|
|
3246
3248
|
//# sourceMappingURL=common.js.map
|