@byuckchon-frontend/core 1.1.1 → 1.1.3
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/index.mjs +1412 -596
- package/dist/index.umd.js +2 -1
- package/dist/src/SanitizeHtmlRender/index.d.ts +40 -0
- package/dist/src/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,80 +1,113 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { createContext as
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { jsxs as Fo, jsx as mo } from "react/jsx-runtime";
|
|
2
|
+
import { createContext as Uo, useState as Go, useContext as Ho, Component as Wo } from "react";
|
|
3
|
+
const Bo = (e, o) => {
|
|
4
|
+
const r = new Array(e.length + o.length);
|
|
5
|
+
for (let n = 0; n < e.length; n++)
|
|
6
|
+
r[n] = e[n];
|
|
7
|
+
for (let n = 0; n < o.length; n++)
|
|
8
|
+
r[e.length + n] = o[n];
|
|
9
|
+
return r;
|
|
10
|
+
}, jo = (e, o) => ({
|
|
11
|
+
classGroupId: e,
|
|
12
|
+
validator: o
|
|
13
|
+
}), uo = (e = /* @__PURE__ */ new Map(), o = null, r) => ({
|
|
14
|
+
nextPart: e,
|
|
15
|
+
validators: o,
|
|
16
|
+
classGroupId: r
|
|
17
|
+
}), ot = "-", Vt = [], Vo = "arbitrary..", Yo = (e) => {
|
|
18
|
+
const o = $o(e), {
|
|
19
|
+
conflictingClassGroups: r,
|
|
20
|
+
conflictingClassGroupModifiers: n
|
|
7
21
|
} = e;
|
|
8
22
|
return {
|
|
9
|
-
getClassGroupId: (
|
|
10
|
-
|
|
11
|
-
|
|
23
|
+
getClassGroupId: (a) => {
|
|
24
|
+
if (a.startsWith("[") && a.endsWith("]"))
|
|
25
|
+
return Xo(a);
|
|
26
|
+
const h = a.split(ot), u = h[0] === "" && h.length > 1 ? 1 : 0;
|
|
27
|
+
return fo(h, u, o);
|
|
12
28
|
},
|
|
13
|
-
getConflictingClassGroupIds: (
|
|
14
|
-
|
|
15
|
-
|
|
29
|
+
getConflictingClassGroupIds: (a, h) => {
|
|
30
|
+
if (h) {
|
|
31
|
+
const u = n[a], b = r[a];
|
|
32
|
+
return u ? b ? Bo(b, u) : u : b || Vt;
|
|
33
|
+
}
|
|
34
|
+
return r[a] || Vt;
|
|
16
35
|
}
|
|
17
36
|
};
|
|
18
|
-
},
|
|
19
|
-
if (e.length === 0)
|
|
20
|
-
return
|
|
21
|
-
const
|
|
22
|
-
if (l)
|
|
23
|
-
|
|
24
|
-
|
|
37
|
+
}, fo = (e, o, r) => {
|
|
38
|
+
if (e.length - o === 0)
|
|
39
|
+
return r.classGroupId;
|
|
40
|
+
const i = e[o], l = r.nextPart.get(i);
|
|
41
|
+
if (l) {
|
|
42
|
+
const b = fo(e, o + 1, l);
|
|
43
|
+
if (b) return b;
|
|
44
|
+
}
|
|
45
|
+
const a = r.validators;
|
|
46
|
+
if (a === null)
|
|
25
47
|
return;
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
if (fe.test(e)) {
|
|
32
|
-
const n = fe.exec(e)[1], t = n?.substring(0, n.indexOf(":"));
|
|
33
|
-
if (t)
|
|
34
|
-
return "arbitrary.." + t;
|
|
48
|
+
const h = o === 0 ? e.join(ot) : e.slice(o).join(ot), u = a.length;
|
|
49
|
+
for (let b = 0; b < u; b++) {
|
|
50
|
+
const w = a[b];
|
|
51
|
+
if (w.validator(h))
|
|
52
|
+
return w.classGroupId;
|
|
35
53
|
}
|
|
36
|
-
},
|
|
54
|
+
}, Xo = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
55
|
+
const o = e.slice(1, -1), r = o.indexOf(":"), n = o.slice(0, r);
|
|
56
|
+
return n ? Vo + n : void 0;
|
|
57
|
+
})(), $o = (e) => {
|
|
37
58
|
const {
|
|
38
|
-
theme:
|
|
39
|
-
classGroups:
|
|
40
|
-
} = e
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
for (const
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
59
|
+
theme: o,
|
|
60
|
+
classGroups: r
|
|
61
|
+
} = e;
|
|
62
|
+
return qo(r, o);
|
|
63
|
+
}, qo = (e, o) => {
|
|
64
|
+
const r = uo();
|
|
65
|
+
for (const n in e) {
|
|
66
|
+
const i = e[n];
|
|
67
|
+
St(i, r, n, o);
|
|
68
|
+
}
|
|
69
|
+
return r;
|
|
70
|
+
}, St = (e, o, r, n) => {
|
|
71
|
+
const i = e.length;
|
|
72
|
+
for (let l = 0; l < i; l++) {
|
|
73
|
+
const a = e[l];
|
|
74
|
+
Ko(a, o, r, n);
|
|
75
|
+
}
|
|
76
|
+
}, Ko = (e, o, r, n) => {
|
|
77
|
+
if (typeof e == "string") {
|
|
78
|
+
Zo(e, o, r);
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
if (typeof e == "function") {
|
|
82
|
+
Jo(e, o, r, n);
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
Qo(e, o, r, n);
|
|
86
|
+
}, Zo = (e, o, r) => {
|
|
87
|
+
const n = e === "" ? o : po(o, e);
|
|
88
|
+
n.classGroupId = r;
|
|
89
|
+
}, Jo = (e, o, r, n) => {
|
|
90
|
+
if (en(e)) {
|
|
91
|
+
St(e(n), o, r, n);
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
o.validators === null && (o.validators = []), o.validators.push(jo(r, e));
|
|
95
|
+
}, Qo = (e, o, r, n) => {
|
|
96
|
+
const i = Object.entries(e), l = i.length;
|
|
97
|
+
for (let a = 0; a < l; a++) {
|
|
98
|
+
const [h, u] = i[a];
|
|
99
|
+
St(u, po(o, h), r, n);
|
|
100
|
+
}
|
|
101
|
+
}, po = (e, o) => {
|
|
102
|
+
let r = e;
|
|
103
|
+
const n = o.split(ot), i = n.length;
|
|
104
|
+
for (let l = 0; l < i; l++) {
|
|
105
|
+
const a = n[l];
|
|
106
|
+
let h = r.nextPart.get(a);
|
|
107
|
+
h || (h = uo(), r.nextPart.set(a, h)), r = h;
|
|
108
|
+
}
|
|
109
|
+
return r;
|
|
110
|
+
}, en = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, tn = (e) => {
|
|
78
111
|
if (e < 1)
|
|
79
112
|
return {
|
|
80
113
|
get: () => {
|
|
@@ -82,178 +115,178 @@ const ne = "-", Ve = (e) => {
|
|
|
82
115
|
set: () => {
|
|
83
116
|
}
|
|
84
117
|
};
|
|
85
|
-
let
|
|
86
|
-
const
|
|
87
|
-
|
|
118
|
+
let o = 0, r = /* @__PURE__ */ Object.create(null), n = /* @__PURE__ */ Object.create(null);
|
|
119
|
+
const i = (l, a) => {
|
|
120
|
+
r[l] = a, o++, o > e && (o = 0, n = r, r = /* @__PURE__ */ Object.create(null));
|
|
88
121
|
};
|
|
89
122
|
return {
|
|
90
|
-
get(
|
|
91
|
-
let
|
|
92
|
-
if (
|
|
93
|
-
return
|
|
94
|
-
if ((
|
|
95
|
-
return l
|
|
123
|
+
get(l) {
|
|
124
|
+
let a = r[l];
|
|
125
|
+
if (a !== void 0)
|
|
126
|
+
return a;
|
|
127
|
+
if ((a = n[l]) !== void 0)
|
|
128
|
+
return i(l, a), a;
|
|
96
129
|
},
|
|
97
|
-
set(
|
|
98
|
-
|
|
130
|
+
set(l, a) {
|
|
131
|
+
l in r ? r[l] = a : i(l, a);
|
|
99
132
|
}
|
|
100
133
|
};
|
|
101
|
-
},
|
|
134
|
+
}, wt = "!", Yt = ":", on = [], Xt = (e, o, r, n, i) => ({
|
|
135
|
+
modifiers: e,
|
|
136
|
+
hasImportantModifier: o,
|
|
137
|
+
baseClassName: r,
|
|
138
|
+
maybePostfixModifierPosition: n,
|
|
139
|
+
isExternal: i
|
|
140
|
+
}), nn = (e) => {
|
|
102
141
|
const {
|
|
103
|
-
prefix:
|
|
104
|
-
experimentalParseClassName:
|
|
142
|
+
prefix: o,
|
|
143
|
+
experimentalParseClassName: r
|
|
105
144
|
} = e;
|
|
106
|
-
let
|
|
107
|
-
const
|
|
108
|
-
let
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
145
|
+
let n = (i) => {
|
|
146
|
+
const l = [];
|
|
147
|
+
let a = 0, h = 0, u = 0, b;
|
|
148
|
+
const w = i.length;
|
|
149
|
+
for (let Y = 0; Y < w; Y++) {
|
|
150
|
+
const F = i[Y];
|
|
151
|
+
if (a === 0 && h === 0) {
|
|
152
|
+
if (F === Yt) {
|
|
153
|
+
l.push(i.slice(u, Y)), u = Y + 1;
|
|
114
154
|
continue;
|
|
115
155
|
}
|
|
116
|
-
if (
|
|
117
|
-
|
|
156
|
+
if (F === "/") {
|
|
157
|
+
b = Y;
|
|
118
158
|
continue;
|
|
119
159
|
}
|
|
120
160
|
}
|
|
121
|
-
|
|
161
|
+
F === "[" ? a++ : F === "]" ? a-- : F === "(" ? h++ : F === ")" && h--;
|
|
122
162
|
}
|
|
123
|
-
const
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
163
|
+
const z = l.length === 0 ? i : i.slice(u);
|
|
164
|
+
let W = z, $ = !1;
|
|
165
|
+
z.endsWith(wt) ? (W = z.slice(0, -1), $ = !0) : (
|
|
166
|
+
/**
|
|
167
|
+
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
168
|
+
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
169
|
+
*/
|
|
170
|
+
z.startsWith(wt) && (W = z.slice(1), $ = !0)
|
|
171
|
+
);
|
|
172
|
+
const V = b && b > u ? b - u : void 0;
|
|
173
|
+
return Xt(l, $, W, V);
|
|
130
174
|
};
|
|
131
|
-
if (
|
|
132
|
-
const
|
|
133
|
-
|
|
134
|
-
isExternal: !0,
|
|
135
|
-
modifiers: [],
|
|
136
|
-
hasImportantModifier: !1,
|
|
137
|
-
baseClassName: i,
|
|
138
|
-
maybePostfixModifierPosition: void 0
|
|
139
|
-
};
|
|
175
|
+
if (o) {
|
|
176
|
+
const i = o + Yt, l = n;
|
|
177
|
+
n = (a) => a.startsWith(i) ? l(a.slice(i.length)) : Xt(on, !1, a, void 0, !0);
|
|
140
178
|
}
|
|
141
|
-
if (
|
|
142
|
-
const
|
|
143
|
-
|
|
144
|
-
className:
|
|
145
|
-
parseClassName:
|
|
179
|
+
if (r) {
|
|
180
|
+
const i = n;
|
|
181
|
+
n = (l) => r({
|
|
182
|
+
className: l,
|
|
183
|
+
parseClassName: i
|
|
146
184
|
});
|
|
147
185
|
}
|
|
148
|
-
return
|
|
149
|
-
},
|
|
150
|
-
const
|
|
151
|
-
return (
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
const
|
|
155
|
-
let
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
186
|
+
return n;
|
|
187
|
+
}, rn = (e) => {
|
|
188
|
+
const o = /* @__PURE__ */ new Map();
|
|
189
|
+
return e.orderSensitiveModifiers.forEach((r, n) => {
|
|
190
|
+
o.set(r, 1e6 + n);
|
|
191
|
+
}), (r) => {
|
|
192
|
+
const n = [];
|
|
193
|
+
let i = [];
|
|
194
|
+
for (let l = 0; l < r.length; l++) {
|
|
195
|
+
const a = r[l], h = a[0] === "[", u = o.has(a);
|
|
196
|
+
h || u ? (i.length > 0 && (i.sort(), n.push(...i), i = []), n.push(a)) : i.push(a);
|
|
197
|
+
}
|
|
198
|
+
return i.length > 0 && (i.sort(), n.push(...i)), n;
|
|
159
199
|
};
|
|
160
|
-
},
|
|
161
|
-
cache:
|
|
162
|
-
parseClassName:
|
|
163
|
-
sortModifiers:
|
|
164
|
-
...
|
|
165
|
-
}),
|
|
200
|
+
}, sn = (e) => ({
|
|
201
|
+
cache: tn(e.cacheSize),
|
|
202
|
+
parseClassName: nn(e),
|
|
203
|
+
sortModifiers: rn(e),
|
|
204
|
+
...Yo(e)
|
|
205
|
+
}), an = /\s+/, ln = (e, o) => {
|
|
166
206
|
const {
|
|
167
|
-
parseClassName:
|
|
168
|
-
getClassGroupId:
|
|
169
|
-
getConflictingClassGroupIds:
|
|
170
|
-
sortModifiers:
|
|
171
|
-
} =
|
|
172
|
-
let
|
|
173
|
-
for (let
|
|
174
|
-
const
|
|
175
|
-
isExternal:
|
|
176
|
-
modifiers:
|
|
177
|
-
hasImportantModifier:
|
|
178
|
-
baseClassName:
|
|
179
|
-
maybePostfixModifierPosition:
|
|
180
|
-
} =
|
|
181
|
-
if (
|
|
182
|
-
|
|
207
|
+
parseClassName: r,
|
|
208
|
+
getClassGroupId: n,
|
|
209
|
+
getConflictingClassGroupIds: i,
|
|
210
|
+
sortModifiers: l
|
|
211
|
+
} = o, a = [], h = e.trim().split(an);
|
|
212
|
+
let u = "";
|
|
213
|
+
for (let b = h.length - 1; b >= 0; b -= 1) {
|
|
214
|
+
const w = h[b], {
|
|
215
|
+
isExternal: z,
|
|
216
|
+
modifiers: W,
|
|
217
|
+
hasImportantModifier: $,
|
|
218
|
+
baseClassName: V,
|
|
219
|
+
maybePostfixModifierPosition: Y
|
|
220
|
+
} = r(w);
|
|
221
|
+
if (z) {
|
|
222
|
+
u = w + (u.length > 0 ? " " + u : u);
|
|
183
223
|
continue;
|
|
184
224
|
}
|
|
185
|
-
let
|
|
186
|
-
if (!
|
|
187
|
-
if (!
|
|
188
|
-
|
|
225
|
+
let F = !!Y, ae = n(F ? V.substring(0, Y) : V);
|
|
226
|
+
if (!ae) {
|
|
227
|
+
if (!F) {
|
|
228
|
+
u = w + (u.length > 0 ? " " + u : u);
|
|
189
229
|
continue;
|
|
190
230
|
}
|
|
191
|
-
if (
|
|
192
|
-
|
|
231
|
+
if (ae = n(V), !ae) {
|
|
232
|
+
u = w + (u.length > 0 ? " " + u : u);
|
|
193
233
|
continue;
|
|
194
234
|
}
|
|
195
|
-
|
|
235
|
+
F = !1;
|
|
196
236
|
}
|
|
197
|
-
const
|
|
198
|
-
if (
|
|
237
|
+
const ke = W.length === 0 ? "" : W.length === 1 ? W[0] : l(W).join(":"), ne = $ ? ke + wt : ke, _ = ne + ae;
|
|
238
|
+
if (a.indexOf(_) > -1)
|
|
199
239
|
continue;
|
|
200
|
-
|
|
201
|
-
const
|
|
202
|
-
for (let
|
|
203
|
-
const
|
|
204
|
-
|
|
240
|
+
a.push(_);
|
|
241
|
+
const q = i(ae, F);
|
|
242
|
+
for (let J = 0; J < q.length; ++J) {
|
|
243
|
+
const Te = q[J];
|
|
244
|
+
a.push(ne + Te);
|
|
205
245
|
}
|
|
206
|
-
|
|
246
|
+
u = w + (u.length > 0 ? " " + u : u);
|
|
207
247
|
}
|
|
208
|
-
return
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
}
|
|
216
|
-
const we = (e) => {
|
|
248
|
+
return u;
|
|
249
|
+
}, cn = (...e) => {
|
|
250
|
+
let o = 0, r, n, i = "";
|
|
251
|
+
for (; o < e.length; )
|
|
252
|
+
(r = e[o++]) && (n = go(r)) && (i && (i += " "), i += n);
|
|
253
|
+
return i;
|
|
254
|
+
}, go = (e) => {
|
|
217
255
|
if (typeof e == "string")
|
|
218
256
|
return e;
|
|
219
|
-
let
|
|
220
|
-
for (let
|
|
221
|
-
e[
|
|
222
|
-
return
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
const b = De(p, t);
|
|
235
|
-
return l(p, b), b;
|
|
236
|
-
}
|
|
237
|
-
return function() {
|
|
238
|
-
return d(He.apply(null, arguments));
|
|
257
|
+
let o, r = "";
|
|
258
|
+
for (let n = 0; n < e.length; n++)
|
|
259
|
+
e[n] && (o = go(e[n])) && (r && (r += " "), r += o);
|
|
260
|
+
return r;
|
|
261
|
+
}, dn = (e, ...o) => {
|
|
262
|
+
let r, n, i, l;
|
|
263
|
+
const a = (u) => {
|
|
264
|
+
const b = o.reduce((w, z) => z(w), e());
|
|
265
|
+
return r = sn(b), n = r.cache.get, i = r.cache.set, l = h, h(u);
|
|
266
|
+
}, h = (u) => {
|
|
267
|
+
const b = n(u);
|
|
268
|
+
if (b)
|
|
269
|
+
return b;
|
|
270
|
+
const w = ln(u, r);
|
|
271
|
+
return i(u, w), w;
|
|
239
272
|
};
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
const
|
|
243
|
-
return
|
|
244
|
-
},
|
|
273
|
+
return l = a, (...u) => l(cn(...u));
|
|
274
|
+
}, mn = [], L = (e) => {
|
|
275
|
+
const o = (r) => r[e] || mn;
|
|
276
|
+
return o.isThemeGetter = !0, o;
|
|
277
|
+
}, bo = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ho = /^\((?:(\w[\w-]*):)?(.+)\)$/i, un = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, fn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, pn = /\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$/, gn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, bn = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, hn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ge = (e) => un.test(e), A = (e) => !!e && !Number.isNaN(Number(e)), be = (e) => !!e && Number.isInteger(Number(e)), bt = (e) => e.endsWith("%") && A(e.slice(0, -1)), ue = (e) => fn.test(e), To = () => !0, Tn = (e) => (
|
|
245
278
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
246
279
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
247
280
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
248
|
-
|
|
249
|
-
),
|
|
250
|
-
const
|
|
251
|
-
return
|
|
252
|
-
},
|
|
253
|
-
const
|
|
254
|
-
return
|
|
255
|
-
},
|
|
256
|
-
const e =
|
|
281
|
+
pn.test(e) && !gn.test(e)
|
|
282
|
+
), kt = () => !1, An = (e) => bn.test(e), yn = (e) => hn.test(e), En = (e) => !c(e) && !d(e), wn = (e) => he(e, Eo, kt), c = (e) => bo.test(e), xe = (e) => he(e, wo, Tn), $t = (e) => he(e, Cn, A), _n = (e) => he(e, xo, To), xn = (e) => he(e, _o, kt), qt = (e) => he(e, Ao, kt), Sn = (e) => he(e, yo, yn), Je = (e) => he(e, So, An), d = (e) => ho.test(e), He = (e) => Se(e, wo), kn = (e) => Se(e, _o), Kt = (e) => Se(e, Ao), Rn = (e) => Se(e, Eo), vn = (e) => Se(e, yo), Qe = (e) => Se(e, So, !0), On = (e) => Se(e, xo, !0), he = (e, o, r) => {
|
|
283
|
+
const n = bo.exec(e);
|
|
284
|
+
return n ? n[1] ? o(n[1]) : r(n[2]) : !1;
|
|
285
|
+
}, Se = (e, o, r = !1) => {
|
|
286
|
+
const n = ho.exec(e);
|
|
287
|
+
return n ? n[1] ? o(n[1]) : r : !1;
|
|
288
|
+
}, Ao = (e) => e === "position" || e === "percentage", yo = (e) => e === "image" || e === "url", Eo = (e) => e === "length" || e === "size" || e === "bg-size", wo = (e) => e === "length", Cn = (e) => e === "number", _o = (e) => e === "family-name", xo = (e) => e === "number" || e === "weight", So = (e) => e === "shadow", In = () => {
|
|
289
|
+
const e = L("color"), o = L("font"), r = L("text"), n = L("font-weight"), i = L("tracking"), l = L("leading"), a = L("breakpoint"), h = L("container"), u = L("spacing"), b = L("radius"), w = L("shadow"), z = L("inset-shadow"), W = L("text-shadow"), $ = L("drop-shadow"), V = L("blur"), Y = L("perspective"), F = L("aspect"), ae = L("ease"), ke = L("animate"), ne = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], _ = () => [
|
|
257
290
|
"center",
|
|
258
291
|
"top",
|
|
259
292
|
"bottom",
|
|
@@ -271,51 +304,51 @@ const g = (e) => {
|
|
|
271
304
|
"bottom-left",
|
|
272
305
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
273
306
|
"left-bottom"
|
|
274
|
-
],
|
|
275
|
-
span: ["full",
|
|
276
|
-
},
|
|
277
|
-
position: [
|
|
278
|
-
}],
|
|
307
|
+
], q = () => [..._(), d, c], J = () => ["auto", "hidden", "clip", "visible", "scroll"], Te = () => ["auto", "contain", "none"], f = () => [d, c, u], U = () => [ge, "full", "auto", ...f()], Xe = () => [be, "none", "subgrid", d, c], D = () => ["auto", {
|
|
308
|
+
span: ["full", be, d, c]
|
|
309
|
+
}, be, d, c], le = () => [be, "auto", d, c], Ae = () => ["auto", "min", "max", "fr", d, c], fe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], pe = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], X = () => ["auto", ...f()], ce = () => [ge, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...f()], Re = () => [ge, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...f()], ze = () => [ge, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...f()], p = () => [e, d, c], S = () => [..._(), Kt, qt, {
|
|
310
|
+
position: [d, c]
|
|
311
|
+
}], Fe = () => ["no-repeat", {
|
|
279
312
|
repeat: ["", "x", "y", "space", "round"]
|
|
280
|
-
}],
|
|
281
|
-
size: [
|
|
282
|
-
}],
|
|
313
|
+
}], v = () => ["auto", "cover", "contain", Rn, wn, {
|
|
314
|
+
size: [d, c]
|
|
315
|
+
}], ve = () => [bt, He, xe], y = () => [
|
|
283
316
|
// Deprecated since Tailwind CSS v4.0.0
|
|
284
317
|
"",
|
|
285
318
|
"none",
|
|
286
319
|
"full",
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
],
|
|
320
|
+
b,
|
|
321
|
+
d,
|
|
322
|
+
c
|
|
323
|
+
], k = () => ["", A, He, xe], de = () => ["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"], R = () => [A, bt, Kt, qt], Oe = () => [
|
|
291
324
|
// Deprecated since Tailwind CSS v4.0.0
|
|
292
325
|
"",
|
|
293
326
|
"none",
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
],
|
|
327
|
+
V,
|
|
328
|
+
d,
|
|
329
|
+
c
|
|
330
|
+
], ye = () => ["none", A, d, c], Ee = () => ["none", A, d, c], ee = () => [A, d, c], re = () => [ge, "full", ...f()];
|
|
298
331
|
return {
|
|
299
332
|
cacheSize: 500,
|
|
300
333
|
theme: {
|
|
301
334
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
302
335
|
aspect: ["video"],
|
|
303
|
-
blur: [
|
|
304
|
-
breakpoint: [
|
|
305
|
-
color: [
|
|
306
|
-
container: [
|
|
307
|
-
"drop-shadow": [
|
|
336
|
+
blur: [ue],
|
|
337
|
+
breakpoint: [ue],
|
|
338
|
+
color: [To],
|
|
339
|
+
container: [ue],
|
|
340
|
+
"drop-shadow": [ue],
|
|
308
341
|
ease: ["in", "out", "in-out"],
|
|
309
|
-
font: [
|
|
342
|
+
font: [En],
|
|
310
343
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
311
|
-
"inset-shadow": [
|
|
344
|
+
"inset-shadow": [ue],
|
|
312
345
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
313
346
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
314
|
-
radius: [
|
|
315
|
-
shadow: [
|
|
316
|
-
spacing: ["px",
|
|
317
|
-
text: [
|
|
318
|
-
"text-shadow": [
|
|
347
|
+
radius: [ue],
|
|
348
|
+
shadow: [ue],
|
|
349
|
+
spacing: ["px", A],
|
|
350
|
+
text: [ue],
|
|
351
|
+
"text-shadow": [ue],
|
|
319
352
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
320
353
|
},
|
|
321
354
|
classGroups: {
|
|
@@ -327,7 +360,7 @@ const g = (e) => {
|
|
|
327
360
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
328
361
|
*/
|
|
329
362
|
aspect: [{
|
|
330
|
-
aspect: ["auto", "square",
|
|
363
|
+
aspect: ["auto", "square", ge, c, d, F]
|
|
331
364
|
}],
|
|
332
365
|
/**
|
|
333
366
|
* Container
|
|
@@ -340,21 +373,21 @@ const g = (e) => {
|
|
|
340
373
|
* @see https://tailwindcss.com/docs/columns
|
|
341
374
|
*/
|
|
342
375
|
columns: [{
|
|
343
|
-
columns: [
|
|
376
|
+
columns: [A, c, d, h]
|
|
344
377
|
}],
|
|
345
378
|
/**
|
|
346
379
|
* Break After
|
|
347
380
|
* @see https://tailwindcss.com/docs/break-after
|
|
348
381
|
*/
|
|
349
382
|
"break-after": [{
|
|
350
|
-
"break-after":
|
|
383
|
+
"break-after": ne()
|
|
351
384
|
}],
|
|
352
385
|
/**
|
|
353
386
|
* Break Before
|
|
354
387
|
* @see https://tailwindcss.com/docs/break-before
|
|
355
388
|
*/
|
|
356
389
|
"break-before": [{
|
|
357
|
-
"break-before":
|
|
390
|
+
"break-before": ne()
|
|
358
391
|
}],
|
|
359
392
|
/**
|
|
360
393
|
* Break Inside
|
|
@@ -418,49 +451,49 @@ const g = (e) => {
|
|
|
418
451
|
* @see https://tailwindcss.com/docs/object-position
|
|
419
452
|
*/
|
|
420
453
|
"object-position": [{
|
|
421
|
-
object:
|
|
454
|
+
object: q()
|
|
422
455
|
}],
|
|
423
456
|
/**
|
|
424
457
|
* Overflow
|
|
425
458
|
* @see https://tailwindcss.com/docs/overflow
|
|
426
459
|
*/
|
|
427
460
|
overflow: [{
|
|
428
|
-
overflow:
|
|
461
|
+
overflow: J()
|
|
429
462
|
}],
|
|
430
463
|
/**
|
|
431
464
|
* Overflow X
|
|
432
465
|
* @see https://tailwindcss.com/docs/overflow
|
|
433
466
|
*/
|
|
434
467
|
"overflow-x": [{
|
|
435
|
-
"overflow-x":
|
|
468
|
+
"overflow-x": J()
|
|
436
469
|
}],
|
|
437
470
|
/**
|
|
438
471
|
* Overflow Y
|
|
439
472
|
* @see https://tailwindcss.com/docs/overflow
|
|
440
473
|
*/
|
|
441
474
|
"overflow-y": [{
|
|
442
|
-
"overflow-y":
|
|
475
|
+
"overflow-y": J()
|
|
443
476
|
}],
|
|
444
477
|
/**
|
|
445
478
|
* Overscroll Behavior
|
|
446
479
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
447
480
|
*/
|
|
448
481
|
overscroll: [{
|
|
449
|
-
overscroll:
|
|
482
|
+
overscroll: Te()
|
|
450
483
|
}],
|
|
451
484
|
/**
|
|
452
485
|
* Overscroll Behavior X
|
|
453
486
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
454
487
|
*/
|
|
455
488
|
"overscroll-x": [{
|
|
456
|
-
"overscroll-x":
|
|
489
|
+
"overscroll-x": Te()
|
|
457
490
|
}],
|
|
458
491
|
/**
|
|
459
492
|
* Overscroll Behavior Y
|
|
460
493
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
461
494
|
*/
|
|
462
495
|
"overscroll-y": [{
|
|
463
|
-
"overscroll-y":
|
|
496
|
+
"overscroll-y": Te()
|
|
464
497
|
}],
|
|
465
498
|
/**
|
|
466
499
|
* Position
|
|
@@ -468,67 +501,93 @@ const g = (e) => {
|
|
|
468
501
|
*/
|
|
469
502
|
position: ["static", "fixed", "absolute", "relative", "sticky"],
|
|
470
503
|
/**
|
|
471
|
-
*
|
|
504
|
+
* Inset
|
|
472
505
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
473
506
|
*/
|
|
474
507
|
inset: [{
|
|
475
|
-
inset:
|
|
508
|
+
inset: U()
|
|
476
509
|
}],
|
|
477
510
|
/**
|
|
478
|
-
*
|
|
511
|
+
* Inset Inline
|
|
479
512
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
480
513
|
*/
|
|
481
514
|
"inset-x": [{
|
|
482
|
-
"inset-x":
|
|
515
|
+
"inset-x": U()
|
|
483
516
|
}],
|
|
484
517
|
/**
|
|
485
|
-
*
|
|
518
|
+
* Inset Block
|
|
486
519
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
487
520
|
*/
|
|
488
521
|
"inset-y": [{
|
|
489
|
-
"inset-y":
|
|
522
|
+
"inset-y": U()
|
|
490
523
|
}],
|
|
491
524
|
/**
|
|
492
|
-
* Start
|
|
525
|
+
* Inset Inline Start
|
|
493
526
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
527
|
+
* @todo class group will be renamed to `inset-s` in next major release
|
|
494
528
|
*/
|
|
495
529
|
start: [{
|
|
496
|
-
|
|
530
|
+
"inset-s": U(),
|
|
531
|
+
/**
|
|
532
|
+
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
|
|
533
|
+
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
534
|
+
*/
|
|
535
|
+
start: U()
|
|
497
536
|
}],
|
|
498
537
|
/**
|
|
499
|
-
* End
|
|
538
|
+
* Inset Inline End
|
|
500
539
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
540
|
+
* @todo class group will be renamed to `inset-e` in next major release
|
|
501
541
|
*/
|
|
502
542
|
end: [{
|
|
503
|
-
|
|
543
|
+
"inset-e": U(),
|
|
544
|
+
/**
|
|
545
|
+
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
|
|
546
|
+
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
547
|
+
*/
|
|
548
|
+
end: U()
|
|
549
|
+
}],
|
|
550
|
+
/**
|
|
551
|
+
* Inset Block Start
|
|
552
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
553
|
+
*/
|
|
554
|
+
"inset-bs": [{
|
|
555
|
+
"inset-bs": U()
|
|
556
|
+
}],
|
|
557
|
+
/**
|
|
558
|
+
* Inset Block End
|
|
559
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
560
|
+
*/
|
|
561
|
+
"inset-be": [{
|
|
562
|
+
"inset-be": U()
|
|
504
563
|
}],
|
|
505
564
|
/**
|
|
506
565
|
* Top
|
|
507
566
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
508
567
|
*/
|
|
509
568
|
top: [{
|
|
510
|
-
top:
|
|
569
|
+
top: U()
|
|
511
570
|
}],
|
|
512
571
|
/**
|
|
513
572
|
* Right
|
|
514
573
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
515
574
|
*/
|
|
516
575
|
right: [{
|
|
517
|
-
right:
|
|
576
|
+
right: U()
|
|
518
577
|
}],
|
|
519
578
|
/**
|
|
520
579
|
* Bottom
|
|
521
580
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
522
581
|
*/
|
|
523
582
|
bottom: [{
|
|
524
|
-
bottom:
|
|
583
|
+
bottom: U()
|
|
525
584
|
}],
|
|
526
585
|
/**
|
|
527
586
|
* Left
|
|
528
587
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
529
588
|
*/
|
|
530
589
|
left: [{
|
|
531
|
-
left:
|
|
590
|
+
left: U()
|
|
532
591
|
}],
|
|
533
592
|
/**
|
|
534
593
|
* Visibility
|
|
@@ -540,7 +599,7 @@ const g = (e) => {
|
|
|
540
599
|
* @see https://tailwindcss.com/docs/z-index
|
|
541
600
|
*/
|
|
542
601
|
z: [{
|
|
543
|
-
z: [
|
|
602
|
+
z: [be, "auto", d, c]
|
|
544
603
|
}],
|
|
545
604
|
// ------------------------
|
|
546
605
|
// --- Flexbox and Grid ---
|
|
@@ -550,7 +609,7 @@ const g = (e) => {
|
|
|
550
609
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
551
610
|
*/
|
|
552
611
|
basis: [{
|
|
553
|
-
basis: [
|
|
612
|
+
basis: [ge, "full", "auto", h, ...f()]
|
|
554
613
|
}],
|
|
555
614
|
/**
|
|
556
615
|
* Flex Direction
|
|
@@ -571,84 +630,84 @@ const g = (e) => {
|
|
|
571
630
|
* @see https://tailwindcss.com/docs/flex
|
|
572
631
|
*/
|
|
573
632
|
flex: [{
|
|
574
|
-
flex: [
|
|
633
|
+
flex: [A, ge, "auto", "initial", "none", c]
|
|
575
634
|
}],
|
|
576
635
|
/**
|
|
577
636
|
* Flex Grow
|
|
578
637
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
579
638
|
*/
|
|
580
639
|
grow: [{
|
|
581
|
-
grow: ["",
|
|
640
|
+
grow: ["", A, d, c]
|
|
582
641
|
}],
|
|
583
642
|
/**
|
|
584
643
|
* Flex Shrink
|
|
585
644
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
586
645
|
*/
|
|
587
646
|
shrink: [{
|
|
588
|
-
shrink: ["",
|
|
647
|
+
shrink: ["", A, d, c]
|
|
589
648
|
}],
|
|
590
649
|
/**
|
|
591
650
|
* Order
|
|
592
651
|
* @see https://tailwindcss.com/docs/order
|
|
593
652
|
*/
|
|
594
653
|
order: [{
|
|
595
|
-
order: [
|
|
654
|
+
order: [be, "first", "last", "none", d, c]
|
|
596
655
|
}],
|
|
597
656
|
/**
|
|
598
657
|
* Grid Template Columns
|
|
599
658
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
600
659
|
*/
|
|
601
660
|
"grid-cols": [{
|
|
602
|
-
"grid-cols":
|
|
661
|
+
"grid-cols": Xe()
|
|
603
662
|
}],
|
|
604
663
|
/**
|
|
605
664
|
* Grid Column Start / End
|
|
606
665
|
* @see https://tailwindcss.com/docs/grid-column
|
|
607
666
|
*/
|
|
608
667
|
"col-start-end": [{
|
|
609
|
-
col:
|
|
668
|
+
col: D()
|
|
610
669
|
}],
|
|
611
670
|
/**
|
|
612
671
|
* Grid Column Start
|
|
613
672
|
* @see https://tailwindcss.com/docs/grid-column
|
|
614
673
|
*/
|
|
615
674
|
"col-start": [{
|
|
616
|
-
"col-start":
|
|
675
|
+
"col-start": le()
|
|
617
676
|
}],
|
|
618
677
|
/**
|
|
619
678
|
* Grid Column End
|
|
620
679
|
* @see https://tailwindcss.com/docs/grid-column
|
|
621
680
|
*/
|
|
622
681
|
"col-end": [{
|
|
623
|
-
"col-end":
|
|
682
|
+
"col-end": le()
|
|
624
683
|
}],
|
|
625
684
|
/**
|
|
626
685
|
* Grid Template Rows
|
|
627
686
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
628
687
|
*/
|
|
629
688
|
"grid-rows": [{
|
|
630
|
-
"grid-rows":
|
|
689
|
+
"grid-rows": Xe()
|
|
631
690
|
}],
|
|
632
691
|
/**
|
|
633
692
|
* Grid Row Start / End
|
|
634
693
|
* @see https://tailwindcss.com/docs/grid-row
|
|
635
694
|
*/
|
|
636
695
|
"row-start-end": [{
|
|
637
|
-
row:
|
|
696
|
+
row: D()
|
|
638
697
|
}],
|
|
639
698
|
/**
|
|
640
699
|
* Grid Row Start
|
|
641
700
|
* @see https://tailwindcss.com/docs/grid-row
|
|
642
701
|
*/
|
|
643
702
|
"row-start": [{
|
|
644
|
-
"row-start":
|
|
703
|
+
"row-start": le()
|
|
645
704
|
}],
|
|
646
705
|
/**
|
|
647
706
|
* Grid Row End
|
|
648
707
|
* @see https://tailwindcss.com/docs/grid-row
|
|
649
708
|
*/
|
|
650
709
|
"row-end": [{
|
|
651
|
-
"row-end":
|
|
710
|
+
"row-end": le()
|
|
652
711
|
}],
|
|
653
712
|
/**
|
|
654
713
|
* Grid Auto Flow
|
|
@@ -662,70 +721,70 @@ const g = (e) => {
|
|
|
662
721
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
663
722
|
*/
|
|
664
723
|
"auto-cols": [{
|
|
665
|
-
"auto-cols":
|
|
724
|
+
"auto-cols": Ae()
|
|
666
725
|
}],
|
|
667
726
|
/**
|
|
668
727
|
* Grid Auto Rows
|
|
669
728
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
670
729
|
*/
|
|
671
730
|
"auto-rows": [{
|
|
672
|
-
"auto-rows":
|
|
731
|
+
"auto-rows": Ae()
|
|
673
732
|
}],
|
|
674
733
|
/**
|
|
675
734
|
* Gap
|
|
676
735
|
* @see https://tailwindcss.com/docs/gap
|
|
677
736
|
*/
|
|
678
737
|
gap: [{
|
|
679
|
-
gap:
|
|
738
|
+
gap: f()
|
|
680
739
|
}],
|
|
681
740
|
/**
|
|
682
741
|
* Gap X
|
|
683
742
|
* @see https://tailwindcss.com/docs/gap
|
|
684
743
|
*/
|
|
685
744
|
"gap-x": [{
|
|
686
|
-
"gap-x":
|
|
745
|
+
"gap-x": f()
|
|
687
746
|
}],
|
|
688
747
|
/**
|
|
689
748
|
* Gap Y
|
|
690
749
|
* @see https://tailwindcss.com/docs/gap
|
|
691
750
|
*/
|
|
692
751
|
"gap-y": [{
|
|
693
|
-
"gap-y":
|
|
752
|
+
"gap-y": f()
|
|
694
753
|
}],
|
|
695
754
|
/**
|
|
696
755
|
* Justify Content
|
|
697
756
|
* @see https://tailwindcss.com/docs/justify-content
|
|
698
757
|
*/
|
|
699
758
|
"justify-content": [{
|
|
700
|
-
justify: [...
|
|
759
|
+
justify: [...fe(), "normal"]
|
|
701
760
|
}],
|
|
702
761
|
/**
|
|
703
762
|
* Justify Items
|
|
704
763
|
* @see https://tailwindcss.com/docs/justify-items
|
|
705
764
|
*/
|
|
706
765
|
"justify-items": [{
|
|
707
|
-
"justify-items": [...
|
|
766
|
+
"justify-items": [...pe(), "normal"]
|
|
708
767
|
}],
|
|
709
768
|
/**
|
|
710
769
|
* Justify Self
|
|
711
770
|
* @see https://tailwindcss.com/docs/justify-self
|
|
712
771
|
*/
|
|
713
772
|
"justify-self": [{
|
|
714
|
-
"justify-self": ["auto", ...
|
|
773
|
+
"justify-self": ["auto", ...pe()]
|
|
715
774
|
}],
|
|
716
775
|
/**
|
|
717
776
|
* Align Content
|
|
718
777
|
* @see https://tailwindcss.com/docs/align-content
|
|
719
778
|
*/
|
|
720
779
|
"align-content": [{
|
|
721
|
-
content: ["normal", ...
|
|
780
|
+
content: ["normal", ...fe()]
|
|
722
781
|
}],
|
|
723
782
|
/**
|
|
724
783
|
* Align Items
|
|
725
784
|
* @see https://tailwindcss.com/docs/align-items
|
|
726
785
|
*/
|
|
727
786
|
"align-items": [{
|
|
728
|
-
items: [...
|
|
787
|
+
items: [...pe(), {
|
|
729
788
|
baseline: ["", "last"]
|
|
730
789
|
}]
|
|
731
790
|
}],
|
|
@@ -734,7 +793,7 @@ const g = (e) => {
|
|
|
734
793
|
* @see https://tailwindcss.com/docs/align-self
|
|
735
794
|
*/
|
|
736
795
|
"align-self": [{
|
|
737
|
-
self: ["auto", ...
|
|
796
|
+
self: ["auto", ...pe(), {
|
|
738
797
|
baseline: ["", "last"]
|
|
739
798
|
}]
|
|
740
799
|
}],
|
|
@@ -743,21 +802,21 @@ const g = (e) => {
|
|
|
743
802
|
* @see https://tailwindcss.com/docs/place-content
|
|
744
803
|
*/
|
|
745
804
|
"place-content": [{
|
|
746
|
-
"place-content":
|
|
805
|
+
"place-content": fe()
|
|
747
806
|
}],
|
|
748
807
|
/**
|
|
749
808
|
* Place Items
|
|
750
809
|
* @see https://tailwindcss.com/docs/place-items
|
|
751
810
|
*/
|
|
752
811
|
"place-items": [{
|
|
753
|
-
"place-items": [...
|
|
812
|
+
"place-items": [...pe(), "baseline"]
|
|
754
813
|
}],
|
|
755
814
|
/**
|
|
756
815
|
* Place Self
|
|
757
816
|
* @see https://tailwindcss.com/docs/place-self
|
|
758
817
|
*/
|
|
759
818
|
"place-self": [{
|
|
760
|
-
"place-self": ["auto", ...
|
|
819
|
+
"place-self": ["auto", ...pe()]
|
|
761
820
|
}],
|
|
762
821
|
// Spacing
|
|
763
822
|
/**
|
|
@@ -765,133 +824,161 @@ const g = (e) => {
|
|
|
765
824
|
* @see https://tailwindcss.com/docs/padding
|
|
766
825
|
*/
|
|
767
826
|
p: [{
|
|
768
|
-
p:
|
|
827
|
+
p: f()
|
|
769
828
|
}],
|
|
770
829
|
/**
|
|
771
|
-
* Padding
|
|
830
|
+
* Padding Inline
|
|
772
831
|
* @see https://tailwindcss.com/docs/padding
|
|
773
832
|
*/
|
|
774
833
|
px: [{
|
|
775
|
-
px:
|
|
834
|
+
px: f()
|
|
776
835
|
}],
|
|
777
836
|
/**
|
|
778
|
-
* Padding
|
|
837
|
+
* Padding Block
|
|
779
838
|
* @see https://tailwindcss.com/docs/padding
|
|
780
839
|
*/
|
|
781
840
|
py: [{
|
|
782
|
-
py:
|
|
841
|
+
py: f()
|
|
783
842
|
}],
|
|
784
843
|
/**
|
|
785
|
-
* Padding Start
|
|
844
|
+
* Padding Inline Start
|
|
786
845
|
* @see https://tailwindcss.com/docs/padding
|
|
787
846
|
*/
|
|
788
847
|
ps: [{
|
|
789
|
-
ps:
|
|
848
|
+
ps: f()
|
|
790
849
|
}],
|
|
791
850
|
/**
|
|
792
|
-
* Padding End
|
|
851
|
+
* Padding Inline End
|
|
793
852
|
* @see https://tailwindcss.com/docs/padding
|
|
794
853
|
*/
|
|
795
854
|
pe: [{
|
|
796
|
-
pe:
|
|
855
|
+
pe: f()
|
|
856
|
+
}],
|
|
857
|
+
/**
|
|
858
|
+
* Padding Block Start
|
|
859
|
+
* @see https://tailwindcss.com/docs/padding
|
|
860
|
+
*/
|
|
861
|
+
pbs: [{
|
|
862
|
+
pbs: f()
|
|
863
|
+
}],
|
|
864
|
+
/**
|
|
865
|
+
* Padding Block End
|
|
866
|
+
* @see https://tailwindcss.com/docs/padding
|
|
867
|
+
*/
|
|
868
|
+
pbe: [{
|
|
869
|
+
pbe: f()
|
|
797
870
|
}],
|
|
798
871
|
/**
|
|
799
872
|
* Padding Top
|
|
800
873
|
* @see https://tailwindcss.com/docs/padding
|
|
801
874
|
*/
|
|
802
875
|
pt: [{
|
|
803
|
-
pt:
|
|
876
|
+
pt: f()
|
|
804
877
|
}],
|
|
805
878
|
/**
|
|
806
879
|
* Padding Right
|
|
807
880
|
* @see https://tailwindcss.com/docs/padding
|
|
808
881
|
*/
|
|
809
882
|
pr: [{
|
|
810
|
-
pr:
|
|
883
|
+
pr: f()
|
|
811
884
|
}],
|
|
812
885
|
/**
|
|
813
886
|
* Padding Bottom
|
|
814
887
|
* @see https://tailwindcss.com/docs/padding
|
|
815
888
|
*/
|
|
816
889
|
pb: [{
|
|
817
|
-
pb:
|
|
890
|
+
pb: f()
|
|
818
891
|
}],
|
|
819
892
|
/**
|
|
820
893
|
* Padding Left
|
|
821
894
|
* @see https://tailwindcss.com/docs/padding
|
|
822
895
|
*/
|
|
823
896
|
pl: [{
|
|
824
|
-
pl:
|
|
897
|
+
pl: f()
|
|
825
898
|
}],
|
|
826
899
|
/**
|
|
827
900
|
* Margin
|
|
828
901
|
* @see https://tailwindcss.com/docs/margin
|
|
829
902
|
*/
|
|
830
903
|
m: [{
|
|
831
|
-
m:
|
|
904
|
+
m: X()
|
|
832
905
|
}],
|
|
833
906
|
/**
|
|
834
|
-
* Margin
|
|
907
|
+
* Margin Inline
|
|
835
908
|
* @see https://tailwindcss.com/docs/margin
|
|
836
909
|
*/
|
|
837
910
|
mx: [{
|
|
838
|
-
mx:
|
|
911
|
+
mx: X()
|
|
839
912
|
}],
|
|
840
913
|
/**
|
|
841
|
-
* Margin
|
|
914
|
+
* Margin Block
|
|
842
915
|
* @see https://tailwindcss.com/docs/margin
|
|
843
916
|
*/
|
|
844
917
|
my: [{
|
|
845
|
-
my:
|
|
918
|
+
my: X()
|
|
846
919
|
}],
|
|
847
920
|
/**
|
|
848
|
-
* Margin Start
|
|
921
|
+
* Margin Inline Start
|
|
849
922
|
* @see https://tailwindcss.com/docs/margin
|
|
850
923
|
*/
|
|
851
924
|
ms: [{
|
|
852
|
-
ms:
|
|
925
|
+
ms: X()
|
|
853
926
|
}],
|
|
854
927
|
/**
|
|
855
|
-
* Margin End
|
|
928
|
+
* Margin Inline End
|
|
856
929
|
* @see https://tailwindcss.com/docs/margin
|
|
857
930
|
*/
|
|
858
931
|
me: [{
|
|
859
|
-
me:
|
|
932
|
+
me: X()
|
|
933
|
+
}],
|
|
934
|
+
/**
|
|
935
|
+
* Margin Block Start
|
|
936
|
+
* @see https://tailwindcss.com/docs/margin
|
|
937
|
+
*/
|
|
938
|
+
mbs: [{
|
|
939
|
+
mbs: X()
|
|
940
|
+
}],
|
|
941
|
+
/**
|
|
942
|
+
* Margin Block End
|
|
943
|
+
* @see https://tailwindcss.com/docs/margin
|
|
944
|
+
*/
|
|
945
|
+
mbe: [{
|
|
946
|
+
mbe: X()
|
|
860
947
|
}],
|
|
861
948
|
/**
|
|
862
949
|
* Margin Top
|
|
863
950
|
* @see https://tailwindcss.com/docs/margin
|
|
864
951
|
*/
|
|
865
952
|
mt: [{
|
|
866
|
-
mt:
|
|
953
|
+
mt: X()
|
|
867
954
|
}],
|
|
868
955
|
/**
|
|
869
956
|
* Margin Right
|
|
870
957
|
* @see https://tailwindcss.com/docs/margin
|
|
871
958
|
*/
|
|
872
959
|
mr: [{
|
|
873
|
-
mr:
|
|
960
|
+
mr: X()
|
|
874
961
|
}],
|
|
875
962
|
/**
|
|
876
963
|
* Margin Bottom
|
|
877
964
|
* @see https://tailwindcss.com/docs/margin
|
|
878
965
|
*/
|
|
879
966
|
mb: [{
|
|
880
|
-
mb:
|
|
967
|
+
mb: X()
|
|
881
968
|
}],
|
|
882
969
|
/**
|
|
883
970
|
* Margin Left
|
|
884
971
|
* @see https://tailwindcss.com/docs/margin
|
|
885
972
|
*/
|
|
886
973
|
ml: [{
|
|
887
|
-
ml:
|
|
974
|
+
ml: X()
|
|
888
975
|
}],
|
|
889
976
|
/**
|
|
890
977
|
* Space Between X
|
|
891
978
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
892
979
|
*/
|
|
893
980
|
"space-x": [{
|
|
894
|
-
"space-x":
|
|
981
|
+
"space-x": f()
|
|
895
982
|
}],
|
|
896
983
|
/**
|
|
897
984
|
* Space Between X Reverse
|
|
@@ -903,7 +990,7 @@ const g = (e) => {
|
|
|
903
990
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
904
991
|
*/
|
|
905
992
|
"space-y": [{
|
|
906
|
-
"space-y":
|
|
993
|
+
"space-y": f()
|
|
907
994
|
}],
|
|
908
995
|
/**
|
|
909
996
|
* Space Between Y Reverse
|
|
@@ -918,14 +1005,56 @@ const g = (e) => {
|
|
|
918
1005
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
919
1006
|
*/
|
|
920
1007
|
size: [{
|
|
921
|
-
size:
|
|
1008
|
+
size: ce()
|
|
1009
|
+
}],
|
|
1010
|
+
/**
|
|
1011
|
+
* Inline Size
|
|
1012
|
+
* @see https://tailwindcss.com/docs/width
|
|
1013
|
+
*/
|
|
1014
|
+
"inline-size": [{
|
|
1015
|
+
inline: ["auto", ...Re()]
|
|
1016
|
+
}],
|
|
1017
|
+
/**
|
|
1018
|
+
* Min-Inline Size
|
|
1019
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
1020
|
+
*/
|
|
1021
|
+
"min-inline-size": [{
|
|
1022
|
+
"min-inline": ["auto", ...Re()]
|
|
1023
|
+
}],
|
|
1024
|
+
/**
|
|
1025
|
+
* Max-Inline Size
|
|
1026
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
1027
|
+
*/
|
|
1028
|
+
"max-inline-size": [{
|
|
1029
|
+
"max-inline": ["none", ...Re()]
|
|
1030
|
+
}],
|
|
1031
|
+
/**
|
|
1032
|
+
* Block Size
|
|
1033
|
+
* @see https://tailwindcss.com/docs/height
|
|
1034
|
+
*/
|
|
1035
|
+
"block-size": [{
|
|
1036
|
+
block: ["auto", ...ze()]
|
|
1037
|
+
}],
|
|
1038
|
+
/**
|
|
1039
|
+
* Min-Block Size
|
|
1040
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
1041
|
+
*/
|
|
1042
|
+
"min-block-size": [{
|
|
1043
|
+
"min-block": ["auto", ...ze()]
|
|
1044
|
+
}],
|
|
1045
|
+
/**
|
|
1046
|
+
* Max-Block Size
|
|
1047
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
1048
|
+
*/
|
|
1049
|
+
"max-block-size": [{
|
|
1050
|
+
"max-block": ["none", ...ze()]
|
|
922
1051
|
}],
|
|
923
1052
|
/**
|
|
924
1053
|
* Width
|
|
925
1054
|
* @see https://tailwindcss.com/docs/width
|
|
926
1055
|
*/
|
|
927
1056
|
w: [{
|
|
928
|
-
w: [
|
|
1057
|
+
w: [h, "screen", ...ce()]
|
|
929
1058
|
}],
|
|
930
1059
|
/**
|
|
931
1060
|
* Min-Width
|
|
@@ -933,11 +1062,11 @@ const g = (e) => {
|
|
|
933
1062
|
*/
|
|
934
1063
|
"min-w": [{
|
|
935
1064
|
"min-w": [
|
|
936
|
-
|
|
1065
|
+
h,
|
|
937
1066
|
"screen",
|
|
938
1067
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
939
1068
|
"none",
|
|
940
|
-
...
|
|
1069
|
+
...ce()
|
|
941
1070
|
]
|
|
942
1071
|
}],
|
|
943
1072
|
/**
|
|
@@ -946,16 +1075,16 @@ const g = (e) => {
|
|
|
946
1075
|
*/
|
|
947
1076
|
"max-w": [{
|
|
948
1077
|
"max-w": [
|
|
949
|
-
|
|
1078
|
+
h,
|
|
950
1079
|
"screen",
|
|
951
1080
|
"none",
|
|
952
1081
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
953
1082
|
"prose",
|
|
954
1083
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
955
1084
|
{
|
|
956
|
-
screen: [
|
|
1085
|
+
screen: [a]
|
|
957
1086
|
},
|
|
958
|
-
...
|
|
1087
|
+
...ce()
|
|
959
1088
|
]
|
|
960
1089
|
}],
|
|
961
1090
|
/**
|
|
@@ -963,21 +1092,21 @@ const g = (e) => {
|
|
|
963
1092
|
* @see https://tailwindcss.com/docs/height
|
|
964
1093
|
*/
|
|
965
1094
|
h: [{
|
|
966
|
-
h: ["screen", "lh", ...
|
|
1095
|
+
h: ["screen", "lh", ...ce()]
|
|
967
1096
|
}],
|
|
968
1097
|
/**
|
|
969
1098
|
* Min-Height
|
|
970
1099
|
* @see https://tailwindcss.com/docs/min-height
|
|
971
1100
|
*/
|
|
972
1101
|
"min-h": [{
|
|
973
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1102
|
+
"min-h": ["screen", "lh", "none", ...ce()]
|
|
974
1103
|
}],
|
|
975
1104
|
/**
|
|
976
1105
|
* Max-Height
|
|
977
1106
|
* @see https://tailwindcss.com/docs/max-height
|
|
978
1107
|
*/
|
|
979
1108
|
"max-h": [{
|
|
980
|
-
"max-h": ["screen", "lh", ...
|
|
1109
|
+
"max-h": ["screen", "lh", ...ce()]
|
|
981
1110
|
}],
|
|
982
1111
|
// ------------------
|
|
983
1112
|
// --- Typography ---
|
|
@@ -987,7 +1116,7 @@ const g = (e) => {
|
|
|
987
1116
|
* @see https://tailwindcss.com/docs/font-size
|
|
988
1117
|
*/
|
|
989
1118
|
"font-size": [{
|
|
990
|
-
text: ["base",
|
|
1119
|
+
text: ["base", r, He, xe]
|
|
991
1120
|
}],
|
|
992
1121
|
/**
|
|
993
1122
|
* Font Smoothing
|
|
@@ -1004,21 +1133,28 @@ const g = (e) => {
|
|
|
1004
1133
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1005
1134
|
*/
|
|
1006
1135
|
"font-weight": [{
|
|
1007
|
-
font: [
|
|
1136
|
+
font: [n, On, _n]
|
|
1008
1137
|
}],
|
|
1009
1138
|
/**
|
|
1010
1139
|
* Font Stretch
|
|
1011
1140
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1012
1141
|
*/
|
|
1013
1142
|
"font-stretch": [{
|
|
1014
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1143
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", bt, c]
|
|
1015
1144
|
}],
|
|
1016
1145
|
/**
|
|
1017
1146
|
* Font Family
|
|
1018
1147
|
* @see https://tailwindcss.com/docs/font-family
|
|
1019
1148
|
*/
|
|
1020
1149
|
"font-family": [{
|
|
1021
|
-
font: [
|
|
1150
|
+
font: [kn, xn, o]
|
|
1151
|
+
}],
|
|
1152
|
+
/**
|
|
1153
|
+
* Font Feature Settings
|
|
1154
|
+
* @see https://tailwindcss.com/docs/font-feature-settings
|
|
1155
|
+
*/
|
|
1156
|
+
"font-features": [{
|
|
1157
|
+
"font-features": [c]
|
|
1022
1158
|
}],
|
|
1023
1159
|
/**
|
|
1024
1160
|
* Font Variant Numeric
|
|
@@ -1055,14 +1191,14 @@ const g = (e) => {
|
|
|
1055
1191
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1056
1192
|
*/
|
|
1057
1193
|
tracking: [{
|
|
1058
|
-
tracking: [
|
|
1194
|
+
tracking: [i, d, c]
|
|
1059
1195
|
}],
|
|
1060
1196
|
/**
|
|
1061
1197
|
* Line Clamp
|
|
1062
1198
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1063
1199
|
*/
|
|
1064
1200
|
"line-clamp": [{
|
|
1065
|
-
"line-clamp": [
|
|
1201
|
+
"line-clamp": [A, "none", d, $t]
|
|
1066
1202
|
}],
|
|
1067
1203
|
/**
|
|
1068
1204
|
* Line Height
|
|
@@ -1071,8 +1207,8 @@ const g = (e) => {
|
|
|
1071
1207
|
leading: [{
|
|
1072
1208
|
leading: [
|
|
1073
1209
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1074
|
-
|
|
1075
|
-
...
|
|
1210
|
+
l,
|
|
1211
|
+
...f()
|
|
1076
1212
|
]
|
|
1077
1213
|
}],
|
|
1078
1214
|
/**
|
|
@@ -1080,7 +1216,7 @@ const g = (e) => {
|
|
|
1080
1216
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1081
1217
|
*/
|
|
1082
1218
|
"list-image": [{
|
|
1083
|
-
"list-image": ["none",
|
|
1219
|
+
"list-image": ["none", d, c]
|
|
1084
1220
|
}],
|
|
1085
1221
|
/**
|
|
1086
1222
|
* List Style Position
|
|
@@ -1094,7 +1230,7 @@ const g = (e) => {
|
|
|
1094
1230
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1095
1231
|
*/
|
|
1096
1232
|
"list-style-type": [{
|
|
1097
|
-
list: ["disc", "decimal", "none",
|
|
1233
|
+
list: ["disc", "decimal", "none", d, c]
|
|
1098
1234
|
}],
|
|
1099
1235
|
/**
|
|
1100
1236
|
* Text Alignment
|
|
@@ -1109,14 +1245,14 @@ const g = (e) => {
|
|
|
1109
1245
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1110
1246
|
*/
|
|
1111
1247
|
"placeholder-color": [{
|
|
1112
|
-
placeholder:
|
|
1248
|
+
placeholder: p()
|
|
1113
1249
|
}],
|
|
1114
1250
|
/**
|
|
1115
1251
|
* Text Color
|
|
1116
1252
|
* @see https://tailwindcss.com/docs/text-color
|
|
1117
1253
|
*/
|
|
1118
1254
|
"text-color": [{
|
|
1119
|
-
text:
|
|
1255
|
+
text: p()
|
|
1120
1256
|
}],
|
|
1121
1257
|
/**
|
|
1122
1258
|
* Text Decoration
|
|
@@ -1128,28 +1264,28 @@ const g = (e) => {
|
|
|
1128
1264
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1129
1265
|
*/
|
|
1130
1266
|
"text-decoration-style": [{
|
|
1131
|
-
decoration: [...
|
|
1267
|
+
decoration: [...de(), "wavy"]
|
|
1132
1268
|
}],
|
|
1133
1269
|
/**
|
|
1134
1270
|
* Text Decoration Thickness
|
|
1135
1271
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1136
1272
|
*/
|
|
1137
1273
|
"text-decoration-thickness": [{
|
|
1138
|
-
decoration: [
|
|
1274
|
+
decoration: [A, "from-font", "auto", d, xe]
|
|
1139
1275
|
}],
|
|
1140
1276
|
/**
|
|
1141
1277
|
* Text Decoration Color
|
|
1142
1278
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1143
1279
|
*/
|
|
1144
1280
|
"text-decoration-color": [{
|
|
1145
|
-
decoration:
|
|
1281
|
+
decoration: p()
|
|
1146
1282
|
}],
|
|
1147
1283
|
/**
|
|
1148
1284
|
* Text Underline Offset
|
|
1149
1285
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1150
1286
|
*/
|
|
1151
1287
|
"underline-offset": [{
|
|
1152
|
-
"underline-offset": [
|
|
1288
|
+
"underline-offset": [A, "auto", d, c]
|
|
1153
1289
|
}],
|
|
1154
1290
|
/**
|
|
1155
1291
|
* Text Transform
|
|
@@ -1173,14 +1309,14 @@ const g = (e) => {
|
|
|
1173
1309
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1174
1310
|
*/
|
|
1175
1311
|
indent: [{
|
|
1176
|
-
indent:
|
|
1312
|
+
indent: f()
|
|
1177
1313
|
}],
|
|
1178
1314
|
/**
|
|
1179
1315
|
* Vertical Alignment
|
|
1180
1316
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1181
1317
|
*/
|
|
1182
1318
|
"vertical-align": [{
|
|
1183
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1319
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", d, c]
|
|
1184
1320
|
}],
|
|
1185
1321
|
/**
|
|
1186
1322
|
* Whitespace
|
|
@@ -1215,7 +1351,7 @@ const g = (e) => {
|
|
|
1215
1351
|
* @see https://tailwindcss.com/docs/content
|
|
1216
1352
|
*/
|
|
1217
1353
|
content: [{
|
|
1218
|
-
content: ["none",
|
|
1354
|
+
content: ["none", d, c]
|
|
1219
1355
|
}],
|
|
1220
1356
|
// -------------------
|
|
1221
1357
|
// --- Backgrounds ---
|
|
@@ -1246,21 +1382,21 @@ const g = (e) => {
|
|
|
1246
1382
|
* @see https://tailwindcss.com/docs/background-position
|
|
1247
1383
|
*/
|
|
1248
1384
|
"bg-position": [{
|
|
1249
|
-
bg:
|
|
1385
|
+
bg: S()
|
|
1250
1386
|
}],
|
|
1251
1387
|
/**
|
|
1252
1388
|
* Background Repeat
|
|
1253
1389
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1254
1390
|
*/
|
|
1255
1391
|
"bg-repeat": [{
|
|
1256
|
-
bg:
|
|
1392
|
+
bg: Fe()
|
|
1257
1393
|
}],
|
|
1258
1394
|
/**
|
|
1259
1395
|
* Background Size
|
|
1260
1396
|
* @see https://tailwindcss.com/docs/background-size
|
|
1261
1397
|
*/
|
|
1262
1398
|
"bg-size": [{
|
|
1263
|
-
bg:
|
|
1399
|
+
bg: v()
|
|
1264
1400
|
}],
|
|
1265
1401
|
/**
|
|
1266
1402
|
* Background Image
|
|
@@ -1270,59 +1406,59 @@ const g = (e) => {
|
|
|
1270
1406
|
bg: ["none", {
|
|
1271
1407
|
linear: [{
|
|
1272
1408
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1273
|
-
},
|
|
1274
|
-
radial: ["",
|
|
1275
|
-
conic: [
|
|
1276
|
-
},
|
|
1409
|
+
}, be, d, c],
|
|
1410
|
+
radial: ["", d, c],
|
|
1411
|
+
conic: [be, d, c]
|
|
1412
|
+
}, vn, Sn]
|
|
1277
1413
|
}],
|
|
1278
1414
|
/**
|
|
1279
1415
|
* Background Color
|
|
1280
1416
|
* @see https://tailwindcss.com/docs/background-color
|
|
1281
1417
|
*/
|
|
1282
1418
|
"bg-color": [{
|
|
1283
|
-
bg:
|
|
1419
|
+
bg: p()
|
|
1284
1420
|
}],
|
|
1285
1421
|
/**
|
|
1286
1422
|
* Gradient Color Stops From Position
|
|
1287
1423
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1288
1424
|
*/
|
|
1289
1425
|
"gradient-from-pos": [{
|
|
1290
|
-
from:
|
|
1426
|
+
from: ve()
|
|
1291
1427
|
}],
|
|
1292
1428
|
/**
|
|
1293
1429
|
* Gradient Color Stops Via Position
|
|
1294
1430
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1295
1431
|
*/
|
|
1296
1432
|
"gradient-via-pos": [{
|
|
1297
|
-
via:
|
|
1433
|
+
via: ve()
|
|
1298
1434
|
}],
|
|
1299
1435
|
/**
|
|
1300
1436
|
* Gradient Color Stops To Position
|
|
1301
1437
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1302
1438
|
*/
|
|
1303
1439
|
"gradient-to-pos": [{
|
|
1304
|
-
to:
|
|
1440
|
+
to: ve()
|
|
1305
1441
|
}],
|
|
1306
1442
|
/**
|
|
1307
1443
|
* Gradient Color Stops From
|
|
1308
1444
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1309
1445
|
*/
|
|
1310
1446
|
"gradient-from": [{
|
|
1311
|
-
from:
|
|
1447
|
+
from: p()
|
|
1312
1448
|
}],
|
|
1313
1449
|
/**
|
|
1314
1450
|
* Gradient Color Stops Via
|
|
1315
1451
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1316
1452
|
*/
|
|
1317
1453
|
"gradient-via": [{
|
|
1318
|
-
via:
|
|
1454
|
+
via: p()
|
|
1319
1455
|
}],
|
|
1320
1456
|
/**
|
|
1321
1457
|
* Gradient Color Stops To
|
|
1322
1458
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1323
1459
|
*/
|
|
1324
1460
|
"gradient-to": [{
|
|
1325
|
-
to:
|
|
1461
|
+
to: p()
|
|
1326
1462
|
}],
|
|
1327
1463
|
// ---------------
|
|
1328
1464
|
// --- Borders ---
|
|
@@ -1332,175 +1468,189 @@ const g = (e) => {
|
|
|
1332
1468
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1333
1469
|
*/
|
|
1334
1470
|
rounded: [{
|
|
1335
|
-
rounded:
|
|
1471
|
+
rounded: y()
|
|
1336
1472
|
}],
|
|
1337
1473
|
/**
|
|
1338
1474
|
* Border Radius Start
|
|
1339
1475
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1340
1476
|
*/
|
|
1341
1477
|
"rounded-s": [{
|
|
1342
|
-
"rounded-s":
|
|
1478
|
+
"rounded-s": y()
|
|
1343
1479
|
}],
|
|
1344
1480
|
/**
|
|
1345
1481
|
* Border Radius End
|
|
1346
1482
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1347
1483
|
*/
|
|
1348
1484
|
"rounded-e": [{
|
|
1349
|
-
"rounded-e":
|
|
1485
|
+
"rounded-e": y()
|
|
1350
1486
|
}],
|
|
1351
1487
|
/**
|
|
1352
1488
|
* Border Radius Top
|
|
1353
1489
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1354
1490
|
*/
|
|
1355
1491
|
"rounded-t": [{
|
|
1356
|
-
"rounded-t":
|
|
1492
|
+
"rounded-t": y()
|
|
1357
1493
|
}],
|
|
1358
1494
|
/**
|
|
1359
1495
|
* Border Radius Right
|
|
1360
1496
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1361
1497
|
*/
|
|
1362
1498
|
"rounded-r": [{
|
|
1363
|
-
"rounded-r":
|
|
1499
|
+
"rounded-r": y()
|
|
1364
1500
|
}],
|
|
1365
1501
|
/**
|
|
1366
1502
|
* Border Radius Bottom
|
|
1367
1503
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1368
1504
|
*/
|
|
1369
1505
|
"rounded-b": [{
|
|
1370
|
-
"rounded-b":
|
|
1506
|
+
"rounded-b": y()
|
|
1371
1507
|
}],
|
|
1372
1508
|
/**
|
|
1373
1509
|
* Border Radius Left
|
|
1374
1510
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1375
1511
|
*/
|
|
1376
1512
|
"rounded-l": [{
|
|
1377
|
-
"rounded-l":
|
|
1513
|
+
"rounded-l": y()
|
|
1378
1514
|
}],
|
|
1379
1515
|
/**
|
|
1380
1516
|
* Border Radius Start Start
|
|
1381
1517
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1382
1518
|
*/
|
|
1383
1519
|
"rounded-ss": [{
|
|
1384
|
-
"rounded-ss":
|
|
1520
|
+
"rounded-ss": y()
|
|
1385
1521
|
}],
|
|
1386
1522
|
/**
|
|
1387
1523
|
* Border Radius Start End
|
|
1388
1524
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1389
1525
|
*/
|
|
1390
1526
|
"rounded-se": [{
|
|
1391
|
-
"rounded-se":
|
|
1527
|
+
"rounded-se": y()
|
|
1392
1528
|
}],
|
|
1393
1529
|
/**
|
|
1394
1530
|
* Border Radius End End
|
|
1395
1531
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1396
1532
|
*/
|
|
1397
1533
|
"rounded-ee": [{
|
|
1398
|
-
"rounded-ee":
|
|
1534
|
+
"rounded-ee": y()
|
|
1399
1535
|
}],
|
|
1400
1536
|
/**
|
|
1401
1537
|
* Border Radius End Start
|
|
1402
1538
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1403
1539
|
*/
|
|
1404
1540
|
"rounded-es": [{
|
|
1405
|
-
"rounded-es":
|
|
1541
|
+
"rounded-es": y()
|
|
1406
1542
|
}],
|
|
1407
1543
|
/**
|
|
1408
1544
|
* Border Radius Top Left
|
|
1409
1545
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1410
1546
|
*/
|
|
1411
1547
|
"rounded-tl": [{
|
|
1412
|
-
"rounded-tl":
|
|
1548
|
+
"rounded-tl": y()
|
|
1413
1549
|
}],
|
|
1414
1550
|
/**
|
|
1415
1551
|
* Border Radius Top Right
|
|
1416
1552
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1417
1553
|
*/
|
|
1418
1554
|
"rounded-tr": [{
|
|
1419
|
-
"rounded-tr":
|
|
1555
|
+
"rounded-tr": y()
|
|
1420
1556
|
}],
|
|
1421
1557
|
/**
|
|
1422
1558
|
* Border Radius Bottom Right
|
|
1423
1559
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1424
1560
|
*/
|
|
1425
1561
|
"rounded-br": [{
|
|
1426
|
-
"rounded-br":
|
|
1562
|
+
"rounded-br": y()
|
|
1427
1563
|
}],
|
|
1428
1564
|
/**
|
|
1429
1565
|
* Border Radius Bottom Left
|
|
1430
1566
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1431
1567
|
*/
|
|
1432
1568
|
"rounded-bl": [{
|
|
1433
|
-
"rounded-bl":
|
|
1569
|
+
"rounded-bl": y()
|
|
1434
1570
|
}],
|
|
1435
1571
|
/**
|
|
1436
1572
|
* Border Width
|
|
1437
1573
|
* @see https://tailwindcss.com/docs/border-width
|
|
1438
1574
|
*/
|
|
1439
1575
|
"border-w": [{
|
|
1440
|
-
border:
|
|
1576
|
+
border: k()
|
|
1441
1577
|
}],
|
|
1442
1578
|
/**
|
|
1443
|
-
* Border Width
|
|
1579
|
+
* Border Width Inline
|
|
1444
1580
|
* @see https://tailwindcss.com/docs/border-width
|
|
1445
1581
|
*/
|
|
1446
1582
|
"border-w-x": [{
|
|
1447
|
-
"border-x":
|
|
1583
|
+
"border-x": k()
|
|
1448
1584
|
}],
|
|
1449
1585
|
/**
|
|
1450
|
-
* Border Width
|
|
1586
|
+
* Border Width Block
|
|
1451
1587
|
* @see https://tailwindcss.com/docs/border-width
|
|
1452
1588
|
*/
|
|
1453
1589
|
"border-w-y": [{
|
|
1454
|
-
"border-y":
|
|
1590
|
+
"border-y": k()
|
|
1455
1591
|
}],
|
|
1456
1592
|
/**
|
|
1457
|
-
* Border Width Start
|
|
1593
|
+
* Border Width Inline Start
|
|
1458
1594
|
* @see https://tailwindcss.com/docs/border-width
|
|
1459
1595
|
*/
|
|
1460
1596
|
"border-w-s": [{
|
|
1461
|
-
"border-s":
|
|
1597
|
+
"border-s": k()
|
|
1462
1598
|
}],
|
|
1463
1599
|
/**
|
|
1464
|
-
* Border Width End
|
|
1600
|
+
* Border Width Inline End
|
|
1465
1601
|
* @see https://tailwindcss.com/docs/border-width
|
|
1466
1602
|
*/
|
|
1467
1603
|
"border-w-e": [{
|
|
1468
|
-
"border-e":
|
|
1604
|
+
"border-e": k()
|
|
1605
|
+
}],
|
|
1606
|
+
/**
|
|
1607
|
+
* Border Width Block Start
|
|
1608
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1609
|
+
*/
|
|
1610
|
+
"border-w-bs": [{
|
|
1611
|
+
"border-bs": k()
|
|
1612
|
+
}],
|
|
1613
|
+
/**
|
|
1614
|
+
* Border Width Block End
|
|
1615
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1616
|
+
*/
|
|
1617
|
+
"border-w-be": [{
|
|
1618
|
+
"border-be": k()
|
|
1469
1619
|
}],
|
|
1470
1620
|
/**
|
|
1471
1621
|
* Border Width Top
|
|
1472
1622
|
* @see https://tailwindcss.com/docs/border-width
|
|
1473
1623
|
*/
|
|
1474
1624
|
"border-w-t": [{
|
|
1475
|
-
"border-t":
|
|
1625
|
+
"border-t": k()
|
|
1476
1626
|
}],
|
|
1477
1627
|
/**
|
|
1478
1628
|
* Border Width Right
|
|
1479
1629
|
* @see https://tailwindcss.com/docs/border-width
|
|
1480
1630
|
*/
|
|
1481
1631
|
"border-w-r": [{
|
|
1482
|
-
"border-r":
|
|
1632
|
+
"border-r": k()
|
|
1483
1633
|
}],
|
|
1484
1634
|
/**
|
|
1485
1635
|
* Border Width Bottom
|
|
1486
1636
|
* @see https://tailwindcss.com/docs/border-width
|
|
1487
1637
|
*/
|
|
1488
1638
|
"border-w-b": [{
|
|
1489
|
-
"border-b":
|
|
1639
|
+
"border-b": k()
|
|
1490
1640
|
}],
|
|
1491
1641
|
/**
|
|
1492
1642
|
* Border Width Left
|
|
1493
1643
|
* @see https://tailwindcss.com/docs/border-width
|
|
1494
1644
|
*/
|
|
1495
1645
|
"border-w-l": [{
|
|
1496
|
-
"border-l":
|
|
1646
|
+
"border-l": k()
|
|
1497
1647
|
}],
|
|
1498
1648
|
/**
|
|
1499
1649
|
* Divide Width X
|
|
1500
1650
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1501
1651
|
*/
|
|
1502
1652
|
"divide-x": [{
|
|
1503
|
-
"divide-x":
|
|
1653
|
+
"divide-x": k()
|
|
1504
1654
|
}],
|
|
1505
1655
|
/**
|
|
1506
1656
|
* Divide Width X Reverse
|
|
@@ -1512,7 +1662,7 @@ const g = (e) => {
|
|
|
1512
1662
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1513
1663
|
*/
|
|
1514
1664
|
"divide-y": [{
|
|
1515
|
-
"divide-y":
|
|
1665
|
+
"divide-y": k()
|
|
1516
1666
|
}],
|
|
1517
1667
|
/**
|
|
1518
1668
|
* Divide Width Y Reverse
|
|
@@ -1524,112 +1674,126 @@ const g = (e) => {
|
|
|
1524
1674
|
* @see https://tailwindcss.com/docs/border-style
|
|
1525
1675
|
*/
|
|
1526
1676
|
"border-style": [{
|
|
1527
|
-
border: [...
|
|
1677
|
+
border: [...de(), "hidden", "none"]
|
|
1528
1678
|
}],
|
|
1529
1679
|
/**
|
|
1530
1680
|
* Divide Style
|
|
1531
1681
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1532
1682
|
*/
|
|
1533
1683
|
"divide-style": [{
|
|
1534
|
-
divide: [...
|
|
1684
|
+
divide: [...de(), "hidden", "none"]
|
|
1535
1685
|
}],
|
|
1536
1686
|
/**
|
|
1537
1687
|
* Border Color
|
|
1538
1688
|
* @see https://tailwindcss.com/docs/border-color
|
|
1539
1689
|
*/
|
|
1540
1690
|
"border-color": [{
|
|
1541
|
-
border:
|
|
1691
|
+
border: p()
|
|
1542
1692
|
}],
|
|
1543
1693
|
/**
|
|
1544
|
-
* Border Color
|
|
1694
|
+
* Border Color Inline
|
|
1545
1695
|
* @see https://tailwindcss.com/docs/border-color
|
|
1546
1696
|
*/
|
|
1547
1697
|
"border-color-x": [{
|
|
1548
|
-
"border-x":
|
|
1698
|
+
"border-x": p()
|
|
1549
1699
|
}],
|
|
1550
1700
|
/**
|
|
1551
|
-
* Border Color
|
|
1701
|
+
* Border Color Block
|
|
1552
1702
|
* @see https://tailwindcss.com/docs/border-color
|
|
1553
1703
|
*/
|
|
1554
1704
|
"border-color-y": [{
|
|
1555
|
-
"border-y":
|
|
1705
|
+
"border-y": p()
|
|
1556
1706
|
}],
|
|
1557
1707
|
/**
|
|
1558
|
-
* Border Color
|
|
1708
|
+
* Border Color Inline Start
|
|
1559
1709
|
* @see https://tailwindcss.com/docs/border-color
|
|
1560
1710
|
*/
|
|
1561
1711
|
"border-color-s": [{
|
|
1562
|
-
"border-s":
|
|
1712
|
+
"border-s": p()
|
|
1563
1713
|
}],
|
|
1564
1714
|
/**
|
|
1565
|
-
* Border Color
|
|
1715
|
+
* Border Color Inline End
|
|
1566
1716
|
* @see https://tailwindcss.com/docs/border-color
|
|
1567
1717
|
*/
|
|
1568
1718
|
"border-color-e": [{
|
|
1569
|
-
"border-e":
|
|
1719
|
+
"border-e": p()
|
|
1720
|
+
}],
|
|
1721
|
+
/**
|
|
1722
|
+
* Border Color Block Start
|
|
1723
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1724
|
+
*/
|
|
1725
|
+
"border-color-bs": [{
|
|
1726
|
+
"border-bs": p()
|
|
1727
|
+
}],
|
|
1728
|
+
/**
|
|
1729
|
+
* Border Color Block End
|
|
1730
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1731
|
+
*/
|
|
1732
|
+
"border-color-be": [{
|
|
1733
|
+
"border-be": p()
|
|
1570
1734
|
}],
|
|
1571
1735
|
/**
|
|
1572
1736
|
* Border Color Top
|
|
1573
1737
|
* @see https://tailwindcss.com/docs/border-color
|
|
1574
1738
|
*/
|
|
1575
1739
|
"border-color-t": [{
|
|
1576
|
-
"border-t":
|
|
1740
|
+
"border-t": p()
|
|
1577
1741
|
}],
|
|
1578
1742
|
/**
|
|
1579
1743
|
* Border Color Right
|
|
1580
1744
|
* @see https://tailwindcss.com/docs/border-color
|
|
1581
1745
|
*/
|
|
1582
1746
|
"border-color-r": [{
|
|
1583
|
-
"border-r":
|
|
1747
|
+
"border-r": p()
|
|
1584
1748
|
}],
|
|
1585
1749
|
/**
|
|
1586
1750
|
* Border Color Bottom
|
|
1587
1751
|
* @see https://tailwindcss.com/docs/border-color
|
|
1588
1752
|
*/
|
|
1589
1753
|
"border-color-b": [{
|
|
1590
|
-
"border-b":
|
|
1754
|
+
"border-b": p()
|
|
1591
1755
|
}],
|
|
1592
1756
|
/**
|
|
1593
1757
|
* Border Color Left
|
|
1594
1758
|
* @see https://tailwindcss.com/docs/border-color
|
|
1595
1759
|
*/
|
|
1596
1760
|
"border-color-l": [{
|
|
1597
|
-
"border-l":
|
|
1761
|
+
"border-l": p()
|
|
1598
1762
|
}],
|
|
1599
1763
|
/**
|
|
1600
1764
|
* Divide Color
|
|
1601
1765
|
* @see https://tailwindcss.com/docs/divide-color
|
|
1602
1766
|
*/
|
|
1603
1767
|
"divide-color": [{
|
|
1604
|
-
divide:
|
|
1768
|
+
divide: p()
|
|
1605
1769
|
}],
|
|
1606
1770
|
/**
|
|
1607
1771
|
* Outline Style
|
|
1608
1772
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1609
1773
|
*/
|
|
1610
1774
|
"outline-style": [{
|
|
1611
|
-
outline: [...
|
|
1775
|
+
outline: [...de(), "none", "hidden"]
|
|
1612
1776
|
}],
|
|
1613
1777
|
/**
|
|
1614
1778
|
* Outline Offset
|
|
1615
1779
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1616
1780
|
*/
|
|
1617
1781
|
"outline-offset": [{
|
|
1618
|
-
"outline-offset": [
|
|
1782
|
+
"outline-offset": [A, d, c]
|
|
1619
1783
|
}],
|
|
1620
1784
|
/**
|
|
1621
1785
|
* Outline Width
|
|
1622
1786
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1623
1787
|
*/
|
|
1624
1788
|
"outline-w": [{
|
|
1625
|
-
outline: ["",
|
|
1789
|
+
outline: ["", A, He, xe]
|
|
1626
1790
|
}],
|
|
1627
1791
|
/**
|
|
1628
1792
|
* Outline Color
|
|
1629
1793
|
* @see https://tailwindcss.com/docs/outline-color
|
|
1630
1794
|
*/
|
|
1631
1795
|
"outline-color": [{
|
|
1632
|
-
outline:
|
|
1796
|
+
outline: p()
|
|
1633
1797
|
}],
|
|
1634
1798
|
// ---------------
|
|
1635
1799
|
// --- Effects ---
|
|
@@ -1643,9 +1807,9 @@ const g = (e) => {
|
|
|
1643
1807
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1644
1808
|
"",
|
|
1645
1809
|
"none",
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1810
|
+
w,
|
|
1811
|
+
Qe,
|
|
1812
|
+
Je
|
|
1649
1813
|
]
|
|
1650
1814
|
}],
|
|
1651
1815
|
/**
|
|
@@ -1653,28 +1817,28 @@ const g = (e) => {
|
|
|
1653
1817
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
1654
1818
|
*/
|
|
1655
1819
|
"shadow-color": [{
|
|
1656
|
-
shadow:
|
|
1820
|
+
shadow: p()
|
|
1657
1821
|
}],
|
|
1658
1822
|
/**
|
|
1659
1823
|
* Inset Box Shadow
|
|
1660
1824
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1661
1825
|
*/
|
|
1662
1826
|
"inset-shadow": [{
|
|
1663
|
-
"inset-shadow": ["none",
|
|
1827
|
+
"inset-shadow": ["none", z, Qe, Je]
|
|
1664
1828
|
}],
|
|
1665
1829
|
/**
|
|
1666
1830
|
* Inset Box Shadow Color
|
|
1667
1831
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
1668
1832
|
*/
|
|
1669
1833
|
"inset-shadow-color": [{
|
|
1670
|
-
"inset-shadow":
|
|
1834
|
+
"inset-shadow": p()
|
|
1671
1835
|
}],
|
|
1672
1836
|
/**
|
|
1673
1837
|
* Ring Width
|
|
1674
1838
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1675
1839
|
*/
|
|
1676
1840
|
"ring-w": [{
|
|
1677
|
-
ring:
|
|
1841
|
+
ring: k()
|
|
1678
1842
|
}],
|
|
1679
1843
|
/**
|
|
1680
1844
|
* Ring Width Inset
|
|
@@ -1688,7 +1852,7 @@ const g = (e) => {
|
|
|
1688
1852
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
1689
1853
|
*/
|
|
1690
1854
|
"ring-color": [{
|
|
1691
|
-
ring:
|
|
1855
|
+
ring: p()
|
|
1692
1856
|
}],
|
|
1693
1857
|
/**
|
|
1694
1858
|
* Ring Offset Width
|
|
@@ -1697,7 +1861,7 @@ const g = (e) => {
|
|
|
1697
1861
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1698
1862
|
*/
|
|
1699
1863
|
"ring-offset-w": [{
|
|
1700
|
-
"ring-offset": [
|
|
1864
|
+
"ring-offset": [A, xe]
|
|
1701
1865
|
}],
|
|
1702
1866
|
/**
|
|
1703
1867
|
* Ring Offset Color
|
|
@@ -1706,56 +1870,56 @@ const g = (e) => {
|
|
|
1706
1870
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1707
1871
|
*/
|
|
1708
1872
|
"ring-offset-color": [{
|
|
1709
|
-
"ring-offset":
|
|
1873
|
+
"ring-offset": p()
|
|
1710
1874
|
}],
|
|
1711
1875
|
/**
|
|
1712
1876
|
* Inset Ring Width
|
|
1713
1877
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
1714
1878
|
*/
|
|
1715
1879
|
"inset-ring-w": [{
|
|
1716
|
-
"inset-ring":
|
|
1880
|
+
"inset-ring": k()
|
|
1717
1881
|
}],
|
|
1718
1882
|
/**
|
|
1719
1883
|
* Inset Ring Color
|
|
1720
1884
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
1721
1885
|
*/
|
|
1722
1886
|
"inset-ring-color": [{
|
|
1723
|
-
"inset-ring":
|
|
1887
|
+
"inset-ring": p()
|
|
1724
1888
|
}],
|
|
1725
1889
|
/**
|
|
1726
1890
|
* Text Shadow
|
|
1727
1891
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
1728
1892
|
*/
|
|
1729
1893
|
"text-shadow": [{
|
|
1730
|
-
"text-shadow": ["none",
|
|
1894
|
+
"text-shadow": ["none", W, Qe, Je]
|
|
1731
1895
|
}],
|
|
1732
1896
|
/**
|
|
1733
1897
|
* Text Shadow Color
|
|
1734
1898
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
1735
1899
|
*/
|
|
1736
1900
|
"text-shadow-color": [{
|
|
1737
|
-
"text-shadow":
|
|
1901
|
+
"text-shadow": p()
|
|
1738
1902
|
}],
|
|
1739
1903
|
/**
|
|
1740
1904
|
* Opacity
|
|
1741
1905
|
* @see https://tailwindcss.com/docs/opacity
|
|
1742
1906
|
*/
|
|
1743
1907
|
opacity: [{
|
|
1744
|
-
opacity: [
|
|
1908
|
+
opacity: [A, d, c]
|
|
1745
1909
|
}],
|
|
1746
1910
|
/**
|
|
1747
1911
|
* Mix Blend Mode
|
|
1748
1912
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1749
1913
|
*/
|
|
1750
1914
|
"mix-blend": [{
|
|
1751
|
-
"mix-blend": [...
|
|
1915
|
+
"mix-blend": [...Q(), "plus-darker", "plus-lighter"]
|
|
1752
1916
|
}],
|
|
1753
1917
|
/**
|
|
1754
1918
|
* Background Blend Mode
|
|
1755
1919
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1756
1920
|
*/
|
|
1757
1921
|
"bg-blend": [{
|
|
1758
|
-
"bg-blend":
|
|
1922
|
+
"bg-blend": Q()
|
|
1759
1923
|
}],
|
|
1760
1924
|
/**
|
|
1761
1925
|
* Mask Clip
|
|
@@ -1776,106 +1940,106 @@ const g = (e) => {
|
|
|
1776
1940
|
* @see https://tailwindcss.com/docs/mask-image
|
|
1777
1941
|
*/
|
|
1778
1942
|
"mask-image-linear-pos": [{
|
|
1779
|
-
"mask-linear": [
|
|
1943
|
+
"mask-linear": [A]
|
|
1780
1944
|
}],
|
|
1781
1945
|
"mask-image-linear-from-pos": [{
|
|
1782
|
-
"mask-linear-from":
|
|
1946
|
+
"mask-linear-from": R()
|
|
1783
1947
|
}],
|
|
1784
1948
|
"mask-image-linear-to-pos": [{
|
|
1785
|
-
"mask-linear-to":
|
|
1949
|
+
"mask-linear-to": R()
|
|
1786
1950
|
}],
|
|
1787
1951
|
"mask-image-linear-from-color": [{
|
|
1788
|
-
"mask-linear-from":
|
|
1952
|
+
"mask-linear-from": p()
|
|
1789
1953
|
}],
|
|
1790
1954
|
"mask-image-linear-to-color": [{
|
|
1791
|
-
"mask-linear-to":
|
|
1955
|
+
"mask-linear-to": p()
|
|
1792
1956
|
}],
|
|
1793
1957
|
"mask-image-t-from-pos": [{
|
|
1794
|
-
"mask-t-from":
|
|
1958
|
+
"mask-t-from": R()
|
|
1795
1959
|
}],
|
|
1796
1960
|
"mask-image-t-to-pos": [{
|
|
1797
|
-
"mask-t-to":
|
|
1961
|
+
"mask-t-to": R()
|
|
1798
1962
|
}],
|
|
1799
1963
|
"mask-image-t-from-color": [{
|
|
1800
|
-
"mask-t-from":
|
|
1964
|
+
"mask-t-from": p()
|
|
1801
1965
|
}],
|
|
1802
1966
|
"mask-image-t-to-color": [{
|
|
1803
|
-
"mask-t-to":
|
|
1967
|
+
"mask-t-to": p()
|
|
1804
1968
|
}],
|
|
1805
1969
|
"mask-image-r-from-pos": [{
|
|
1806
|
-
"mask-r-from":
|
|
1970
|
+
"mask-r-from": R()
|
|
1807
1971
|
}],
|
|
1808
1972
|
"mask-image-r-to-pos": [{
|
|
1809
|
-
"mask-r-to":
|
|
1973
|
+
"mask-r-to": R()
|
|
1810
1974
|
}],
|
|
1811
1975
|
"mask-image-r-from-color": [{
|
|
1812
|
-
"mask-r-from":
|
|
1976
|
+
"mask-r-from": p()
|
|
1813
1977
|
}],
|
|
1814
1978
|
"mask-image-r-to-color": [{
|
|
1815
|
-
"mask-r-to":
|
|
1979
|
+
"mask-r-to": p()
|
|
1816
1980
|
}],
|
|
1817
1981
|
"mask-image-b-from-pos": [{
|
|
1818
|
-
"mask-b-from":
|
|
1982
|
+
"mask-b-from": R()
|
|
1819
1983
|
}],
|
|
1820
1984
|
"mask-image-b-to-pos": [{
|
|
1821
|
-
"mask-b-to":
|
|
1985
|
+
"mask-b-to": R()
|
|
1822
1986
|
}],
|
|
1823
1987
|
"mask-image-b-from-color": [{
|
|
1824
|
-
"mask-b-from":
|
|
1988
|
+
"mask-b-from": p()
|
|
1825
1989
|
}],
|
|
1826
1990
|
"mask-image-b-to-color": [{
|
|
1827
|
-
"mask-b-to":
|
|
1991
|
+
"mask-b-to": p()
|
|
1828
1992
|
}],
|
|
1829
1993
|
"mask-image-l-from-pos": [{
|
|
1830
|
-
"mask-l-from":
|
|
1994
|
+
"mask-l-from": R()
|
|
1831
1995
|
}],
|
|
1832
1996
|
"mask-image-l-to-pos": [{
|
|
1833
|
-
"mask-l-to":
|
|
1997
|
+
"mask-l-to": R()
|
|
1834
1998
|
}],
|
|
1835
1999
|
"mask-image-l-from-color": [{
|
|
1836
|
-
"mask-l-from":
|
|
2000
|
+
"mask-l-from": p()
|
|
1837
2001
|
}],
|
|
1838
2002
|
"mask-image-l-to-color": [{
|
|
1839
|
-
"mask-l-to":
|
|
2003
|
+
"mask-l-to": p()
|
|
1840
2004
|
}],
|
|
1841
2005
|
"mask-image-x-from-pos": [{
|
|
1842
|
-
"mask-x-from":
|
|
2006
|
+
"mask-x-from": R()
|
|
1843
2007
|
}],
|
|
1844
2008
|
"mask-image-x-to-pos": [{
|
|
1845
|
-
"mask-x-to":
|
|
2009
|
+
"mask-x-to": R()
|
|
1846
2010
|
}],
|
|
1847
2011
|
"mask-image-x-from-color": [{
|
|
1848
|
-
"mask-x-from":
|
|
2012
|
+
"mask-x-from": p()
|
|
1849
2013
|
}],
|
|
1850
2014
|
"mask-image-x-to-color": [{
|
|
1851
|
-
"mask-x-to":
|
|
2015
|
+
"mask-x-to": p()
|
|
1852
2016
|
}],
|
|
1853
2017
|
"mask-image-y-from-pos": [{
|
|
1854
|
-
"mask-y-from":
|
|
2018
|
+
"mask-y-from": R()
|
|
1855
2019
|
}],
|
|
1856
2020
|
"mask-image-y-to-pos": [{
|
|
1857
|
-
"mask-y-to":
|
|
2021
|
+
"mask-y-to": R()
|
|
1858
2022
|
}],
|
|
1859
2023
|
"mask-image-y-from-color": [{
|
|
1860
|
-
"mask-y-from":
|
|
2024
|
+
"mask-y-from": p()
|
|
1861
2025
|
}],
|
|
1862
2026
|
"mask-image-y-to-color": [{
|
|
1863
|
-
"mask-y-to":
|
|
2027
|
+
"mask-y-to": p()
|
|
1864
2028
|
}],
|
|
1865
2029
|
"mask-image-radial": [{
|
|
1866
|
-
"mask-radial": [
|
|
2030
|
+
"mask-radial": [d, c]
|
|
1867
2031
|
}],
|
|
1868
2032
|
"mask-image-radial-from-pos": [{
|
|
1869
|
-
"mask-radial-from":
|
|
2033
|
+
"mask-radial-from": R()
|
|
1870
2034
|
}],
|
|
1871
2035
|
"mask-image-radial-to-pos": [{
|
|
1872
|
-
"mask-radial-to":
|
|
2036
|
+
"mask-radial-to": R()
|
|
1873
2037
|
}],
|
|
1874
2038
|
"mask-image-radial-from-color": [{
|
|
1875
|
-
"mask-radial-from":
|
|
2039
|
+
"mask-radial-from": p()
|
|
1876
2040
|
}],
|
|
1877
2041
|
"mask-image-radial-to-color": [{
|
|
1878
|
-
"mask-radial-to":
|
|
2042
|
+
"mask-radial-to": p()
|
|
1879
2043
|
}],
|
|
1880
2044
|
"mask-image-radial-shape": [{
|
|
1881
2045
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -1887,22 +2051,22 @@ const g = (e) => {
|
|
|
1887
2051
|
}]
|
|
1888
2052
|
}],
|
|
1889
2053
|
"mask-image-radial-pos": [{
|
|
1890
|
-
"mask-radial-at":
|
|
2054
|
+
"mask-radial-at": _()
|
|
1891
2055
|
}],
|
|
1892
2056
|
"mask-image-conic-pos": [{
|
|
1893
|
-
"mask-conic": [
|
|
2057
|
+
"mask-conic": [A]
|
|
1894
2058
|
}],
|
|
1895
2059
|
"mask-image-conic-from-pos": [{
|
|
1896
|
-
"mask-conic-from":
|
|
2060
|
+
"mask-conic-from": R()
|
|
1897
2061
|
}],
|
|
1898
2062
|
"mask-image-conic-to-pos": [{
|
|
1899
|
-
"mask-conic-to":
|
|
2063
|
+
"mask-conic-to": R()
|
|
1900
2064
|
}],
|
|
1901
2065
|
"mask-image-conic-from-color": [{
|
|
1902
|
-
"mask-conic-from":
|
|
2066
|
+
"mask-conic-from": p()
|
|
1903
2067
|
}],
|
|
1904
2068
|
"mask-image-conic-to-color": [{
|
|
1905
|
-
"mask-conic-to":
|
|
2069
|
+
"mask-conic-to": p()
|
|
1906
2070
|
}],
|
|
1907
2071
|
/**
|
|
1908
2072
|
* Mask Mode
|
|
@@ -1923,21 +2087,21 @@ const g = (e) => {
|
|
|
1923
2087
|
* @see https://tailwindcss.com/docs/mask-position
|
|
1924
2088
|
*/
|
|
1925
2089
|
"mask-position": [{
|
|
1926
|
-
mask:
|
|
2090
|
+
mask: S()
|
|
1927
2091
|
}],
|
|
1928
2092
|
/**
|
|
1929
2093
|
* Mask Repeat
|
|
1930
2094
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
1931
2095
|
*/
|
|
1932
2096
|
"mask-repeat": [{
|
|
1933
|
-
mask:
|
|
2097
|
+
mask: Fe()
|
|
1934
2098
|
}],
|
|
1935
2099
|
/**
|
|
1936
2100
|
* Mask Size
|
|
1937
2101
|
* @see https://tailwindcss.com/docs/mask-size
|
|
1938
2102
|
*/
|
|
1939
2103
|
"mask-size": [{
|
|
1940
|
-
mask:
|
|
2104
|
+
mask: v()
|
|
1941
2105
|
}],
|
|
1942
2106
|
/**
|
|
1943
2107
|
* Mask Type
|
|
@@ -1951,7 +2115,7 @@ const g = (e) => {
|
|
|
1951
2115
|
* @see https://tailwindcss.com/docs/mask-image
|
|
1952
2116
|
*/
|
|
1953
2117
|
"mask-image": [{
|
|
1954
|
-
mask: ["none",
|
|
2118
|
+
mask: ["none", d, c]
|
|
1955
2119
|
}],
|
|
1956
2120
|
// ---------------
|
|
1957
2121
|
// --- Filters ---
|
|
@@ -1965,8 +2129,8 @@ const g = (e) => {
|
|
|
1965
2129
|
// Deprecated since Tailwind CSS v3.0.0
|
|
1966
2130
|
"",
|
|
1967
2131
|
"none",
|
|
1968
|
-
|
|
1969
|
-
|
|
2132
|
+
d,
|
|
2133
|
+
c
|
|
1970
2134
|
]
|
|
1971
2135
|
}],
|
|
1972
2136
|
/**
|
|
@@ -1974,21 +2138,21 @@ const g = (e) => {
|
|
|
1974
2138
|
* @see https://tailwindcss.com/docs/blur
|
|
1975
2139
|
*/
|
|
1976
2140
|
blur: [{
|
|
1977
|
-
blur:
|
|
2141
|
+
blur: Oe()
|
|
1978
2142
|
}],
|
|
1979
2143
|
/**
|
|
1980
2144
|
* Brightness
|
|
1981
2145
|
* @see https://tailwindcss.com/docs/brightness
|
|
1982
2146
|
*/
|
|
1983
2147
|
brightness: [{
|
|
1984
|
-
brightness: [
|
|
2148
|
+
brightness: [A, d, c]
|
|
1985
2149
|
}],
|
|
1986
2150
|
/**
|
|
1987
2151
|
* Contrast
|
|
1988
2152
|
* @see https://tailwindcss.com/docs/contrast
|
|
1989
2153
|
*/
|
|
1990
2154
|
contrast: [{
|
|
1991
|
-
contrast: [
|
|
2155
|
+
contrast: [A, d, c]
|
|
1992
2156
|
}],
|
|
1993
2157
|
/**
|
|
1994
2158
|
* Drop Shadow
|
|
@@ -1999,9 +2163,9 @@ const g = (e) => {
|
|
|
1999
2163
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2000
2164
|
"",
|
|
2001
2165
|
"none",
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2166
|
+
$,
|
|
2167
|
+
Qe,
|
|
2168
|
+
Je
|
|
2005
2169
|
]
|
|
2006
2170
|
}],
|
|
2007
2171
|
/**
|
|
@@ -2009,42 +2173,42 @@ const g = (e) => {
|
|
|
2009
2173
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2010
2174
|
*/
|
|
2011
2175
|
"drop-shadow-color": [{
|
|
2012
|
-
"drop-shadow":
|
|
2176
|
+
"drop-shadow": p()
|
|
2013
2177
|
}],
|
|
2014
2178
|
/**
|
|
2015
2179
|
* Grayscale
|
|
2016
2180
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2017
2181
|
*/
|
|
2018
2182
|
grayscale: [{
|
|
2019
|
-
grayscale: ["",
|
|
2183
|
+
grayscale: ["", A, d, c]
|
|
2020
2184
|
}],
|
|
2021
2185
|
/**
|
|
2022
2186
|
* Hue Rotate
|
|
2023
2187
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2024
2188
|
*/
|
|
2025
2189
|
"hue-rotate": [{
|
|
2026
|
-
"hue-rotate": [
|
|
2190
|
+
"hue-rotate": [A, d, c]
|
|
2027
2191
|
}],
|
|
2028
2192
|
/**
|
|
2029
2193
|
* Invert
|
|
2030
2194
|
* @see https://tailwindcss.com/docs/invert
|
|
2031
2195
|
*/
|
|
2032
2196
|
invert: [{
|
|
2033
|
-
invert: ["",
|
|
2197
|
+
invert: ["", A, d, c]
|
|
2034
2198
|
}],
|
|
2035
2199
|
/**
|
|
2036
2200
|
* Saturate
|
|
2037
2201
|
* @see https://tailwindcss.com/docs/saturate
|
|
2038
2202
|
*/
|
|
2039
2203
|
saturate: [{
|
|
2040
|
-
saturate: [
|
|
2204
|
+
saturate: [A, d, c]
|
|
2041
2205
|
}],
|
|
2042
2206
|
/**
|
|
2043
2207
|
* Sepia
|
|
2044
2208
|
* @see https://tailwindcss.com/docs/sepia
|
|
2045
2209
|
*/
|
|
2046
2210
|
sepia: [{
|
|
2047
|
-
sepia: ["",
|
|
2211
|
+
sepia: ["", A, d, c]
|
|
2048
2212
|
}],
|
|
2049
2213
|
/**
|
|
2050
2214
|
* Backdrop Filter
|
|
@@ -2055,8 +2219,8 @@ const g = (e) => {
|
|
|
2055
2219
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2056
2220
|
"",
|
|
2057
2221
|
"none",
|
|
2058
|
-
|
|
2059
|
-
|
|
2222
|
+
d,
|
|
2223
|
+
c
|
|
2060
2224
|
]
|
|
2061
2225
|
}],
|
|
2062
2226
|
/**
|
|
@@ -2064,63 +2228,63 @@ const g = (e) => {
|
|
|
2064
2228
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2065
2229
|
*/
|
|
2066
2230
|
"backdrop-blur": [{
|
|
2067
|
-
"backdrop-blur":
|
|
2231
|
+
"backdrop-blur": Oe()
|
|
2068
2232
|
}],
|
|
2069
2233
|
/**
|
|
2070
2234
|
* Backdrop Brightness
|
|
2071
2235
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2072
2236
|
*/
|
|
2073
2237
|
"backdrop-brightness": [{
|
|
2074
|
-
"backdrop-brightness": [
|
|
2238
|
+
"backdrop-brightness": [A, d, c]
|
|
2075
2239
|
}],
|
|
2076
2240
|
/**
|
|
2077
2241
|
* Backdrop Contrast
|
|
2078
2242
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2079
2243
|
*/
|
|
2080
2244
|
"backdrop-contrast": [{
|
|
2081
|
-
"backdrop-contrast": [
|
|
2245
|
+
"backdrop-contrast": [A, d, c]
|
|
2082
2246
|
}],
|
|
2083
2247
|
/**
|
|
2084
2248
|
* Backdrop Grayscale
|
|
2085
2249
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2086
2250
|
*/
|
|
2087
2251
|
"backdrop-grayscale": [{
|
|
2088
|
-
"backdrop-grayscale": ["",
|
|
2252
|
+
"backdrop-grayscale": ["", A, d, c]
|
|
2089
2253
|
}],
|
|
2090
2254
|
/**
|
|
2091
2255
|
* Backdrop Hue Rotate
|
|
2092
2256
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2093
2257
|
*/
|
|
2094
2258
|
"backdrop-hue-rotate": [{
|
|
2095
|
-
"backdrop-hue-rotate": [
|
|
2259
|
+
"backdrop-hue-rotate": [A, d, c]
|
|
2096
2260
|
}],
|
|
2097
2261
|
/**
|
|
2098
2262
|
* Backdrop Invert
|
|
2099
2263
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2100
2264
|
*/
|
|
2101
2265
|
"backdrop-invert": [{
|
|
2102
|
-
"backdrop-invert": ["",
|
|
2266
|
+
"backdrop-invert": ["", A, d, c]
|
|
2103
2267
|
}],
|
|
2104
2268
|
/**
|
|
2105
2269
|
* Backdrop Opacity
|
|
2106
2270
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2107
2271
|
*/
|
|
2108
2272
|
"backdrop-opacity": [{
|
|
2109
|
-
"backdrop-opacity": [
|
|
2273
|
+
"backdrop-opacity": [A, d, c]
|
|
2110
2274
|
}],
|
|
2111
2275
|
/**
|
|
2112
2276
|
* Backdrop Saturate
|
|
2113
2277
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2114
2278
|
*/
|
|
2115
2279
|
"backdrop-saturate": [{
|
|
2116
|
-
"backdrop-saturate": [
|
|
2280
|
+
"backdrop-saturate": [A, d, c]
|
|
2117
2281
|
}],
|
|
2118
2282
|
/**
|
|
2119
2283
|
* Backdrop Sepia
|
|
2120
2284
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2121
2285
|
*/
|
|
2122
2286
|
"backdrop-sepia": [{
|
|
2123
|
-
"backdrop-sepia": ["",
|
|
2287
|
+
"backdrop-sepia": ["", A, d, c]
|
|
2124
2288
|
}],
|
|
2125
2289
|
// --------------
|
|
2126
2290
|
// --- Tables ---
|
|
@@ -2137,21 +2301,21 @@ const g = (e) => {
|
|
|
2137
2301
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2138
2302
|
*/
|
|
2139
2303
|
"border-spacing": [{
|
|
2140
|
-
"border-spacing":
|
|
2304
|
+
"border-spacing": f()
|
|
2141
2305
|
}],
|
|
2142
2306
|
/**
|
|
2143
2307
|
* Border Spacing X
|
|
2144
2308
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2145
2309
|
*/
|
|
2146
2310
|
"border-spacing-x": [{
|
|
2147
|
-
"border-spacing-x":
|
|
2311
|
+
"border-spacing-x": f()
|
|
2148
2312
|
}],
|
|
2149
2313
|
/**
|
|
2150
2314
|
* Border Spacing Y
|
|
2151
2315
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2152
2316
|
*/
|
|
2153
2317
|
"border-spacing-y": [{
|
|
2154
|
-
"border-spacing-y":
|
|
2318
|
+
"border-spacing-y": f()
|
|
2155
2319
|
}],
|
|
2156
2320
|
/**
|
|
2157
2321
|
* Table Layout
|
|
@@ -2175,7 +2339,7 @@ const g = (e) => {
|
|
|
2175
2339
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2176
2340
|
*/
|
|
2177
2341
|
transition: [{
|
|
2178
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2342
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", d, c]
|
|
2179
2343
|
}],
|
|
2180
2344
|
/**
|
|
2181
2345
|
* Transition Behavior
|
|
@@ -2189,28 +2353,28 @@ const g = (e) => {
|
|
|
2189
2353
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2190
2354
|
*/
|
|
2191
2355
|
duration: [{
|
|
2192
|
-
duration: [
|
|
2356
|
+
duration: [A, "initial", d, c]
|
|
2193
2357
|
}],
|
|
2194
2358
|
/**
|
|
2195
2359
|
* Transition Timing Function
|
|
2196
2360
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2197
2361
|
*/
|
|
2198
2362
|
ease: [{
|
|
2199
|
-
ease: ["linear", "initial",
|
|
2363
|
+
ease: ["linear", "initial", ae, d, c]
|
|
2200
2364
|
}],
|
|
2201
2365
|
/**
|
|
2202
2366
|
* Transition Delay
|
|
2203
2367
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2204
2368
|
*/
|
|
2205
2369
|
delay: [{
|
|
2206
|
-
delay: [
|
|
2370
|
+
delay: [A, d, c]
|
|
2207
2371
|
}],
|
|
2208
2372
|
/**
|
|
2209
2373
|
* Animation
|
|
2210
2374
|
* @see https://tailwindcss.com/docs/animation
|
|
2211
2375
|
*/
|
|
2212
2376
|
animate: [{
|
|
2213
|
-
animate: ["none",
|
|
2377
|
+
animate: ["none", ke, d, c]
|
|
2214
2378
|
}],
|
|
2215
2379
|
// ------------------
|
|
2216
2380
|
// --- Transforms ---
|
|
@@ -2227,70 +2391,70 @@ const g = (e) => {
|
|
|
2227
2391
|
* @see https://tailwindcss.com/docs/perspective
|
|
2228
2392
|
*/
|
|
2229
2393
|
perspective: [{
|
|
2230
|
-
perspective: [
|
|
2394
|
+
perspective: [Y, d, c]
|
|
2231
2395
|
}],
|
|
2232
2396
|
/**
|
|
2233
2397
|
* Perspective Origin
|
|
2234
2398
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2235
2399
|
*/
|
|
2236
2400
|
"perspective-origin": [{
|
|
2237
|
-
"perspective-origin":
|
|
2401
|
+
"perspective-origin": q()
|
|
2238
2402
|
}],
|
|
2239
2403
|
/**
|
|
2240
2404
|
* Rotate
|
|
2241
2405
|
* @see https://tailwindcss.com/docs/rotate
|
|
2242
2406
|
*/
|
|
2243
2407
|
rotate: [{
|
|
2244
|
-
rotate:
|
|
2408
|
+
rotate: ye()
|
|
2245
2409
|
}],
|
|
2246
2410
|
/**
|
|
2247
2411
|
* Rotate X
|
|
2248
2412
|
* @see https://tailwindcss.com/docs/rotate
|
|
2249
2413
|
*/
|
|
2250
2414
|
"rotate-x": [{
|
|
2251
|
-
"rotate-x":
|
|
2415
|
+
"rotate-x": ye()
|
|
2252
2416
|
}],
|
|
2253
2417
|
/**
|
|
2254
2418
|
* Rotate Y
|
|
2255
2419
|
* @see https://tailwindcss.com/docs/rotate
|
|
2256
2420
|
*/
|
|
2257
2421
|
"rotate-y": [{
|
|
2258
|
-
"rotate-y":
|
|
2422
|
+
"rotate-y": ye()
|
|
2259
2423
|
}],
|
|
2260
2424
|
/**
|
|
2261
2425
|
* Rotate Z
|
|
2262
2426
|
* @see https://tailwindcss.com/docs/rotate
|
|
2263
2427
|
*/
|
|
2264
2428
|
"rotate-z": [{
|
|
2265
|
-
"rotate-z":
|
|
2429
|
+
"rotate-z": ye()
|
|
2266
2430
|
}],
|
|
2267
2431
|
/**
|
|
2268
2432
|
* Scale
|
|
2269
2433
|
* @see https://tailwindcss.com/docs/scale
|
|
2270
2434
|
*/
|
|
2271
2435
|
scale: [{
|
|
2272
|
-
scale:
|
|
2436
|
+
scale: Ee()
|
|
2273
2437
|
}],
|
|
2274
2438
|
/**
|
|
2275
2439
|
* Scale X
|
|
2276
2440
|
* @see https://tailwindcss.com/docs/scale
|
|
2277
2441
|
*/
|
|
2278
2442
|
"scale-x": [{
|
|
2279
|
-
"scale-x":
|
|
2443
|
+
"scale-x": Ee()
|
|
2280
2444
|
}],
|
|
2281
2445
|
/**
|
|
2282
2446
|
* Scale Y
|
|
2283
2447
|
* @see https://tailwindcss.com/docs/scale
|
|
2284
2448
|
*/
|
|
2285
2449
|
"scale-y": [{
|
|
2286
|
-
"scale-y":
|
|
2450
|
+
"scale-y": Ee()
|
|
2287
2451
|
}],
|
|
2288
2452
|
/**
|
|
2289
2453
|
* Scale Z
|
|
2290
2454
|
* @see https://tailwindcss.com/docs/scale
|
|
2291
2455
|
*/
|
|
2292
2456
|
"scale-z": [{
|
|
2293
|
-
"scale-z":
|
|
2457
|
+
"scale-z": Ee()
|
|
2294
2458
|
}],
|
|
2295
2459
|
/**
|
|
2296
2460
|
* Scale 3D
|
|
@@ -2302,35 +2466,35 @@ const g = (e) => {
|
|
|
2302
2466
|
* @see https://tailwindcss.com/docs/skew
|
|
2303
2467
|
*/
|
|
2304
2468
|
skew: [{
|
|
2305
|
-
skew:
|
|
2469
|
+
skew: ee()
|
|
2306
2470
|
}],
|
|
2307
2471
|
/**
|
|
2308
2472
|
* Skew X
|
|
2309
2473
|
* @see https://tailwindcss.com/docs/skew
|
|
2310
2474
|
*/
|
|
2311
2475
|
"skew-x": [{
|
|
2312
|
-
"skew-x":
|
|
2476
|
+
"skew-x": ee()
|
|
2313
2477
|
}],
|
|
2314
2478
|
/**
|
|
2315
2479
|
* Skew Y
|
|
2316
2480
|
* @see https://tailwindcss.com/docs/skew
|
|
2317
2481
|
*/
|
|
2318
2482
|
"skew-y": [{
|
|
2319
|
-
"skew-y":
|
|
2483
|
+
"skew-y": ee()
|
|
2320
2484
|
}],
|
|
2321
2485
|
/**
|
|
2322
2486
|
* Transform
|
|
2323
2487
|
* @see https://tailwindcss.com/docs/transform
|
|
2324
2488
|
*/
|
|
2325
2489
|
transform: [{
|
|
2326
|
-
transform: [
|
|
2490
|
+
transform: [d, c, "", "none", "gpu", "cpu"]
|
|
2327
2491
|
}],
|
|
2328
2492
|
/**
|
|
2329
2493
|
* Transform Origin
|
|
2330
2494
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2331
2495
|
*/
|
|
2332
2496
|
"transform-origin": [{
|
|
2333
|
-
origin:
|
|
2497
|
+
origin: q()
|
|
2334
2498
|
}],
|
|
2335
2499
|
/**
|
|
2336
2500
|
* Transform Style
|
|
@@ -2344,28 +2508,28 @@ const g = (e) => {
|
|
|
2344
2508
|
* @see https://tailwindcss.com/docs/translate
|
|
2345
2509
|
*/
|
|
2346
2510
|
translate: [{
|
|
2347
|
-
translate:
|
|
2511
|
+
translate: re()
|
|
2348
2512
|
}],
|
|
2349
2513
|
/**
|
|
2350
2514
|
* Translate X
|
|
2351
2515
|
* @see https://tailwindcss.com/docs/translate
|
|
2352
2516
|
*/
|
|
2353
2517
|
"translate-x": [{
|
|
2354
|
-
"translate-x":
|
|
2518
|
+
"translate-x": re()
|
|
2355
2519
|
}],
|
|
2356
2520
|
/**
|
|
2357
2521
|
* Translate Y
|
|
2358
2522
|
* @see https://tailwindcss.com/docs/translate
|
|
2359
2523
|
*/
|
|
2360
2524
|
"translate-y": [{
|
|
2361
|
-
"translate-y":
|
|
2525
|
+
"translate-y": re()
|
|
2362
2526
|
}],
|
|
2363
2527
|
/**
|
|
2364
2528
|
* Translate Z
|
|
2365
2529
|
* @see https://tailwindcss.com/docs/translate
|
|
2366
2530
|
*/
|
|
2367
2531
|
"translate-z": [{
|
|
2368
|
-
"translate-z":
|
|
2532
|
+
"translate-z": re()
|
|
2369
2533
|
}],
|
|
2370
2534
|
/**
|
|
2371
2535
|
* Translate None
|
|
@@ -2380,7 +2544,7 @@ const g = (e) => {
|
|
|
2380
2544
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2381
2545
|
*/
|
|
2382
2546
|
accent: [{
|
|
2383
|
-
accent:
|
|
2547
|
+
accent: p()
|
|
2384
2548
|
}],
|
|
2385
2549
|
/**
|
|
2386
2550
|
* Appearance
|
|
@@ -2394,7 +2558,7 @@ const g = (e) => {
|
|
|
2394
2558
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2395
2559
|
*/
|
|
2396
2560
|
"caret-color": [{
|
|
2397
|
-
caret:
|
|
2561
|
+
caret: p()
|
|
2398
2562
|
}],
|
|
2399
2563
|
/**
|
|
2400
2564
|
* Color Scheme
|
|
@@ -2408,7 +2572,7 @@ const g = (e) => {
|
|
|
2408
2572
|
* @see https://tailwindcss.com/docs/cursor
|
|
2409
2573
|
*/
|
|
2410
2574
|
cursor: [{
|
|
2411
|
-
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",
|
|
2575
|
+
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", d, c]
|
|
2412
2576
|
}],
|
|
2413
2577
|
/**
|
|
2414
2578
|
* Field Sizing
|
|
@@ -2443,126 +2607,154 @@ const g = (e) => {
|
|
|
2443
2607
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2444
2608
|
*/
|
|
2445
2609
|
"scroll-m": [{
|
|
2446
|
-
"scroll-m":
|
|
2610
|
+
"scroll-m": f()
|
|
2447
2611
|
}],
|
|
2448
2612
|
/**
|
|
2449
|
-
* Scroll Margin
|
|
2613
|
+
* Scroll Margin Inline
|
|
2450
2614
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2451
2615
|
*/
|
|
2452
2616
|
"scroll-mx": [{
|
|
2453
|
-
"scroll-mx":
|
|
2617
|
+
"scroll-mx": f()
|
|
2454
2618
|
}],
|
|
2455
2619
|
/**
|
|
2456
|
-
* Scroll Margin
|
|
2620
|
+
* Scroll Margin Block
|
|
2457
2621
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2458
2622
|
*/
|
|
2459
2623
|
"scroll-my": [{
|
|
2460
|
-
"scroll-my":
|
|
2624
|
+
"scroll-my": f()
|
|
2461
2625
|
}],
|
|
2462
2626
|
/**
|
|
2463
|
-
* Scroll Margin Start
|
|
2627
|
+
* Scroll Margin Inline Start
|
|
2464
2628
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2465
2629
|
*/
|
|
2466
2630
|
"scroll-ms": [{
|
|
2467
|
-
"scroll-ms":
|
|
2631
|
+
"scroll-ms": f()
|
|
2468
2632
|
}],
|
|
2469
2633
|
/**
|
|
2470
|
-
* Scroll Margin End
|
|
2634
|
+
* Scroll Margin Inline End
|
|
2471
2635
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2472
2636
|
*/
|
|
2473
2637
|
"scroll-me": [{
|
|
2474
|
-
"scroll-me":
|
|
2638
|
+
"scroll-me": f()
|
|
2639
|
+
}],
|
|
2640
|
+
/**
|
|
2641
|
+
* Scroll Margin Block Start
|
|
2642
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2643
|
+
*/
|
|
2644
|
+
"scroll-mbs": [{
|
|
2645
|
+
"scroll-mbs": f()
|
|
2646
|
+
}],
|
|
2647
|
+
/**
|
|
2648
|
+
* Scroll Margin Block End
|
|
2649
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2650
|
+
*/
|
|
2651
|
+
"scroll-mbe": [{
|
|
2652
|
+
"scroll-mbe": f()
|
|
2475
2653
|
}],
|
|
2476
2654
|
/**
|
|
2477
2655
|
* Scroll Margin Top
|
|
2478
2656
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2479
2657
|
*/
|
|
2480
2658
|
"scroll-mt": [{
|
|
2481
|
-
"scroll-mt":
|
|
2659
|
+
"scroll-mt": f()
|
|
2482
2660
|
}],
|
|
2483
2661
|
/**
|
|
2484
2662
|
* Scroll Margin Right
|
|
2485
2663
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2486
2664
|
*/
|
|
2487
2665
|
"scroll-mr": [{
|
|
2488
|
-
"scroll-mr":
|
|
2666
|
+
"scroll-mr": f()
|
|
2489
2667
|
}],
|
|
2490
2668
|
/**
|
|
2491
2669
|
* Scroll Margin Bottom
|
|
2492
2670
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2493
2671
|
*/
|
|
2494
2672
|
"scroll-mb": [{
|
|
2495
|
-
"scroll-mb":
|
|
2673
|
+
"scroll-mb": f()
|
|
2496
2674
|
}],
|
|
2497
2675
|
/**
|
|
2498
2676
|
* Scroll Margin Left
|
|
2499
2677
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2500
2678
|
*/
|
|
2501
2679
|
"scroll-ml": [{
|
|
2502
|
-
"scroll-ml":
|
|
2680
|
+
"scroll-ml": f()
|
|
2503
2681
|
}],
|
|
2504
2682
|
/**
|
|
2505
2683
|
* Scroll Padding
|
|
2506
2684
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2507
2685
|
*/
|
|
2508
2686
|
"scroll-p": [{
|
|
2509
|
-
"scroll-p":
|
|
2687
|
+
"scroll-p": f()
|
|
2510
2688
|
}],
|
|
2511
2689
|
/**
|
|
2512
|
-
* Scroll Padding
|
|
2690
|
+
* Scroll Padding Inline
|
|
2513
2691
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2514
2692
|
*/
|
|
2515
2693
|
"scroll-px": [{
|
|
2516
|
-
"scroll-px":
|
|
2694
|
+
"scroll-px": f()
|
|
2517
2695
|
}],
|
|
2518
2696
|
/**
|
|
2519
|
-
* Scroll Padding
|
|
2697
|
+
* Scroll Padding Block
|
|
2520
2698
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2521
2699
|
*/
|
|
2522
2700
|
"scroll-py": [{
|
|
2523
|
-
"scroll-py":
|
|
2701
|
+
"scroll-py": f()
|
|
2524
2702
|
}],
|
|
2525
2703
|
/**
|
|
2526
|
-
* Scroll Padding Start
|
|
2704
|
+
* Scroll Padding Inline Start
|
|
2527
2705
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2528
2706
|
*/
|
|
2529
2707
|
"scroll-ps": [{
|
|
2530
|
-
"scroll-ps":
|
|
2708
|
+
"scroll-ps": f()
|
|
2531
2709
|
}],
|
|
2532
2710
|
/**
|
|
2533
|
-
* Scroll Padding End
|
|
2711
|
+
* Scroll Padding Inline End
|
|
2534
2712
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2535
2713
|
*/
|
|
2536
2714
|
"scroll-pe": [{
|
|
2537
|
-
"scroll-pe":
|
|
2715
|
+
"scroll-pe": f()
|
|
2716
|
+
}],
|
|
2717
|
+
/**
|
|
2718
|
+
* Scroll Padding Block Start
|
|
2719
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2720
|
+
*/
|
|
2721
|
+
"scroll-pbs": [{
|
|
2722
|
+
"scroll-pbs": f()
|
|
2723
|
+
}],
|
|
2724
|
+
/**
|
|
2725
|
+
* Scroll Padding Block End
|
|
2726
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2727
|
+
*/
|
|
2728
|
+
"scroll-pbe": [{
|
|
2729
|
+
"scroll-pbe": f()
|
|
2538
2730
|
}],
|
|
2539
2731
|
/**
|
|
2540
2732
|
* Scroll Padding Top
|
|
2541
2733
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2542
2734
|
*/
|
|
2543
2735
|
"scroll-pt": [{
|
|
2544
|
-
"scroll-pt":
|
|
2736
|
+
"scroll-pt": f()
|
|
2545
2737
|
}],
|
|
2546
2738
|
/**
|
|
2547
2739
|
* Scroll Padding Right
|
|
2548
2740
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2549
2741
|
*/
|
|
2550
2742
|
"scroll-pr": [{
|
|
2551
|
-
"scroll-pr":
|
|
2743
|
+
"scroll-pr": f()
|
|
2552
2744
|
}],
|
|
2553
2745
|
/**
|
|
2554
2746
|
* Scroll Padding Bottom
|
|
2555
2747
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2556
2748
|
*/
|
|
2557
2749
|
"scroll-pb": [{
|
|
2558
|
-
"scroll-pb":
|
|
2750
|
+
"scroll-pb": f()
|
|
2559
2751
|
}],
|
|
2560
2752
|
/**
|
|
2561
2753
|
* Scroll Padding Left
|
|
2562
2754
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2563
2755
|
*/
|
|
2564
2756
|
"scroll-pl": [{
|
|
2565
|
-
"scroll-pl":
|
|
2757
|
+
"scroll-pl": f()
|
|
2566
2758
|
}],
|
|
2567
2759
|
/**
|
|
2568
2760
|
* Scroll Snap Align
|
|
@@ -2630,7 +2822,7 @@ const g = (e) => {
|
|
|
2630
2822
|
* @see https://tailwindcss.com/docs/will-change
|
|
2631
2823
|
*/
|
|
2632
2824
|
"will-change": [{
|
|
2633
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2825
|
+
"will-change": ["auto", "scroll", "contents", "transform", d, c]
|
|
2634
2826
|
}],
|
|
2635
2827
|
// -----------
|
|
2636
2828
|
// --- SVG ---
|
|
@@ -2640,21 +2832,21 @@ const g = (e) => {
|
|
|
2640
2832
|
* @see https://tailwindcss.com/docs/fill
|
|
2641
2833
|
*/
|
|
2642
2834
|
fill: [{
|
|
2643
|
-
fill: ["none", ...
|
|
2835
|
+
fill: ["none", ...p()]
|
|
2644
2836
|
}],
|
|
2645
2837
|
/**
|
|
2646
2838
|
* Stroke Width
|
|
2647
2839
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2648
2840
|
*/
|
|
2649
2841
|
"stroke-w": [{
|
|
2650
|
-
stroke: [
|
|
2842
|
+
stroke: [A, He, xe, $t]
|
|
2651
2843
|
}],
|
|
2652
2844
|
/**
|
|
2653
2845
|
* Stroke
|
|
2654
2846
|
* @see https://tailwindcss.com/docs/stroke
|
|
2655
2847
|
*/
|
|
2656
2848
|
stroke: [{
|
|
2657
|
-
stroke: ["none", ...
|
|
2849
|
+
stroke: ["none", ...p()]
|
|
2658
2850
|
}],
|
|
2659
2851
|
// ---------------------
|
|
2660
2852
|
// --- Accessibility ---
|
|
@@ -2670,15 +2862,15 @@ const g = (e) => {
|
|
|
2670
2862
|
conflictingClassGroups: {
|
|
2671
2863
|
overflow: ["overflow-x", "overflow-y"],
|
|
2672
2864
|
overscroll: ["overscroll-x", "overscroll-y"],
|
|
2673
|
-
inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
|
|
2865
|
+
inset: ["inset-x", "inset-y", "inset-bs", "inset-be", "start", "end", "top", "right", "bottom", "left"],
|
|
2674
2866
|
"inset-x": ["right", "left"],
|
|
2675
2867
|
"inset-y": ["top", "bottom"],
|
|
2676
2868
|
flex: ["basis", "grow", "shrink"],
|
|
2677
2869
|
gap: ["gap-x", "gap-y"],
|
|
2678
|
-
p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
|
|
2870
|
+
p: ["px", "py", "ps", "pe", "pbs", "pbe", "pt", "pr", "pb", "pl"],
|
|
2679
2871
|
px: ["pr", "pl"],
|
|
2680
2872
|
py: ["pt", "pb"],
|
|
2681
|
-
m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
|
|
2873
|
+
m: ["mx", "my", "ms", "me", "mbs", "mbe", "mt", "mr", "mb", "ml"],
|
|
2682
2874
|
mx: ["mr", "ml"],
|
|
2683
2875
|
my: ["mt", "mb"],
|
|
2684
2876
|
size: ["w", "h"],
|
|
@@ -2698,18 +2890,18 @@ const g = (e) => {
|
|
|
2698
2890
|
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
2699
2891
|
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
2700
2892
|
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
2701
|
-
"border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
2893
|
+
"border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-bs", "border-w-be", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
2702
2894
|
"border-w-x": ["border-w-r", "border-w-l"],
|
|
2703
2895
|
"border-w-y": ["border-w-t", "border-w-b"],
|
|
2704
|
-
"border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
2896
|
+
"border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-bs", "border-color-be", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
2705
2897
|
"border-color-x": ["border-color-r", "border-color-l"],
|
|
2706
2898
|
"border-color-y": ["border-color-t", "border-color-b"],
|
|
2707
2899
|
translate: ["translate-x", "translate-y", "translate-none"],
|
|
2708
2900
|
"translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
|
|
2709
|
-
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
2901
|
+
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mbs", "scroll-mbe", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
2710
2902
|
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
2711
2903
|
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
2712
|
-
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
2904
|
+
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pbs", "scroll-pbe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
2713
2905
|
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
2714
2906
|
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
2715
2907
|
touch: ["touch-x", "touch-y", "touch-pz"],
|
|
@@ -2722,89 +2914,713 @@ const g = (e) => {
|
|
|
2722
2914
|
},
|
|
2723
2915
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
2724
2916
|
};
|
|
2725
|
-
},
|
|
2726
|
-
function
|
|
2917
|
+
}, Ln = /* @__PURE__ */ dn(In), ko = Uo(null);
|
|
2918
|
+
function ar({
|
|
2727
2919
|
children: e,
|
|
2728
|
-
overlayBgClassName:
|
|
2920
|
+
overlayBgClassName: o = "bg-black/40"
|
|
2729
2921
|
}) {
|
|
2730
|
-
const [
|
|
2922
|
+
const [r, n] = Go({
|
|
2731
2923
|
node: null,
|
|
2732
2924
|
resolve: void 0,
|
|
2733
2925
|
isOpen: !1,
|
|
2734
2926
|
closeValue: null
|
|
2735
2927
|
});
|
|
2736
|
-
function
|
|
2737
|
-
return new Promise((
|
|
2738
|
-
|
|
2739
|
-
node:
|
|
2740
|
-
resolve:
|
|
2928
|
+
function i(b) {
|
|
2929
|
+
return new Promise((w) => {
|
|
2930
|
+
n({
|
|
2931
|
+
node: b,
|
|
2932
|
+
resolve: w,
|
|
2741
2933
|
isOpen: !0,
|
|
2742
2934
|
closeValue: null
|
|
2743
2935
|
});
|
|
2744
2936
|
});
|
|
2745
2937
|
}
|
|
2746
|
-
function
|
|
2747
|
-
|
|
2748
|
-
...
|
|
2938
|
+
function l(b) {
|
|
2939
|
+
n((w) => ({
|
|
2940
|
+
...w,
|
|
2749
2941
|
isOpen: !1,
|
|
2750
|
-
closeValue:
|
|
2942
|
+
closeValue: b
|
|
2751
2943
|
}));
|
|
2752
2944
|
}
|
|
2753
|
-
function
|
|
2754
|
-
|
|
2945
|
+
function a() {
|
|
2946
|
+
n((b) => (b.resolve?.(b.closeValue), {
|
|
2755
2947
|
node: null,
|
|
2756
2948
|
resolve: void 0,
|
|
2757
2949
|
isOpen: !1,
|
|
2758
2950
|
closeValue: null
|
|
2759
2951
|
}));
|
|
2760
2952
|
}
|
|
2761
|
-
function
|
|
2762
|
-
|
|
2953
|
+
function h(b) {
|
|
2954
|
+
l(b), a();
|
|
2763
2955
|
}
|
|
2764
|
-
const
|
|
2765
|
-
open:
|
|
2766
|
-
close:
|
|
2767
|
-
requestClose:
|
|
2768
|
-
finishClose:
|
|
2956
|
+
const u = {
|
|
2957
|
+
open: i,
|
|
2958
|
+
close: h,
|
|
2959
|
+
requestClose: l,
|
|
2960
|
+
finishClose: a
|
|
2769
2961
|
};
|
|
2770
|
-
return /* @__PURE__ */
|
|
2962
|
+
return /* @__PURE__ */ Fo(ko.Provider, { value: u, children: [
|
|
2771
2963
|
e,
|
|
2772
|
-
|
|
2964
|
+
r.node && /* @__PURE__ */ mo(
|
|
2773
2965
|
"div",
|
|
2774
2966
|
{
|
|
2775
|
-
className:
|
|
2967
|
+
className: Ln(
|
|
2776
2968
|
"fixed inset-0 z-[9999] flex items-center justify-center",
|
|
2777
|
-
|
|
2969
|
+
o
|
|
2778
2970
|
),
|
|
2779
|
-
children: typeof
|
|
2971
|
+
children: typeof r.node == "function" ? r.node({ isOpen: r.isOpen }) : r.node
|
|
2780
2972
|
}
|
|
2781
2973
|
)
|
|
2782
2974
|
] });
|
|
2783
2975
|
}
|
|
2784
|
-
function
|
|
2785
|
-
const e =
|
|
2976
|
+
function lr() {
|
|
2977
|
+
const e = Ho(ko);
|
|
2786
2978
|
if (!e)
|
|
2787
2979
|
throw new Error(
|
|
2788
2980
|
"useOverlay는 반드시 OverlayRoot 내부에서 사용해야 합니다."
|
|
2789
2981
|
);
|
|
2790
2982
|
return e;
|
|
2791
2983
|
}
|
|
2792
|
-
class
|
|
2984
|
+
class cr extends Wo {
|
|
2793
2985
|
state = {
|
|
2794
2986
|
hasError: !1
|
|
2795
2987
|
};
|
|
2796
2988
|
static getDerivedStateFromError() {
|
|
2797
2989
|
return { hasError: !0 };
|
|
2798
2990
|
}
|
|
2799
|
-
componentDidCatch(
|
|
2800
|
-
this.props.onError?.(
|
|
2991
|
+
componentDidCatch(o, r) {
|
|
2992
|
+
this.props.onError?.(o, r);
|
|
2801
2993
|
}
|
|
2802
2994
|
render() {
|
|
2803
2995
|
return this.state.hasError ? this.props.fallback : this.props.children;
|
|
2804
2996
|
}
|
|
2805
2997
|
}
|
|
2998
|
+
const {
|
|
2999
|
+
entries: Ro,
|
|
3000
|
+
setPrototypeOf: Zt,
|
|
3001
|
+
isFrozen: Dn,
|
|
3002
|
+
getPrototypeOf: Nn,
|
|
3003
|
+
getOwnPropertyDescriptor: Mn
|
|
3004
|
+
} = Object;
|
|
3005
|
+
let {
|
|
3006
|
+
freeze: H,
|
|
3007
|
+
seal: Z,
|
|
3008
|
+
create: Me
|
|
3009
|
+
} = Object, {
|
|
3010
|
+
apply: _t,
|
|
3011
|
+
construct: xt
|
|
3012
|
+
} = typeof Reflect < "u" && Reflect;
|
|
3013
|
+
H || (H = function(o) {
|
|
3014
|
+
return o;
|
|
3015
|
+
});
|
|
3016
|
+
Z || (Z = function(o) {
|
|
3017
|
+
return o;
|
|
3018
|
+
});
|
|
3019
|
+
_t || (_t = function(o, r) {
|
|
3020
|
+
for (var n = arguments.length, i = new Array(n > 2 ? n - 2 : 0), l = 2; l < n; l++)
|
|
3021
|
+
i[l - 2] = arguments[l];
|
|
3022
|
+
return o.apply(r, i);
|
|
3023
|
+
});
|
|
3024
|
+
xt || (xt = function(o) {
|
|
3025
|
+
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
3026
|
+
n[i - 1] = arguments[i];
|
|
3027
|
+
return new o(...n);
|
|
3028
|
+
});
|
|
3029
|
+
const We = C(Array.prototype.forEach), Pn = C(Array.prototype.lastIndexOf), Jt = C(Array.prototype.pop), Be = C(Array.prototype.push), zn = C(Array.prototype.splice), G = Array.isArray, Ye = C(String.prototype.toLowerCase), ht = C(String.prototype.toString), Qt = C(String.prototype.match), Ne = C(String.prototype.replace), eo = C(String.prototype.indexOf), Fn = C(String.prototype.trim), Un = C(Number.prototype.toString), Gn = C(Boolean.prototype.toString), to = typeof BigInt > "u" ? null : C(BigInt.prototype.toString), oo = typeof Symbol > "u" ? null : C(Symbol.prototype.toString), x = C(Object.prototype.hasOwnProperty), je = C(Object.prototype.toString), M = C(RegExp.prototype.test), et = Hn(TypeError);
|
|
3030
|
+
function C(e) {
|
|
3031
|
+
return function(o) {
|
|
3032
|
+
o instanceof RegExp && (o.lastIndex = 0);
|
|
3033
|
+
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
3034
|
+
n[i - 1] = arguments[i];
|
|
3035
|
+
return _t(e, o, n);
|
|
3036
|
+
};
|
|
3037
|
+
}
|
|
3038
|
+
function Hn(e) {
|
|
3039
|
+
return function() {
|
|
3040
|
+
for (var o = arguments.length, r = new Array(o), n = 0; n < o; n++)
|
|
3041
|
+
r[n] = arguments[n];
|
|
3042
|
+
return xt(e, r);
|
|
3043
|
+
};
|
|
3044
|
+
}
|
|
3045
|
+
function T(e, o) {
|
|
3046
|
+
let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ye;
|
|
3047
|
+
if (Zt && Zt(e, null), !G(o))
|
|
3048
|
+
return e;
|
|
3049
|
+
let n = o.length;
|
|
3050
|
+
for (; n--; ) {
|
|
3051
|
+
let i = o[n];
|
|
3052
|
+
if (typeof i == "string") {
|
|
3053
|
+
const l = r(i);
|
|
3054
|
+
l !== i && (Dn(o) || (o[n] = l), i = l);
|
|
3055
|
+
}
|
|
3056
|
+
e[i] = !0;
|
|
3057
|
+
}
|
|
3058
|
+
return e;
|
|
3059
|
+
}
|
|
3060
|
+
function Wn(e) {
|
|
3061
|
+
for (let o = 0; o < e.length; o++)
|
|
3062
|
+
x(e, o) || (e[o] = null);
|
|
3063
|
+
return e;
|
|
3064
|
+
}
|
|
3065
|
+
function j(e) {
|
|
3066
|
+
const o = Me(null);
|
|
3067
|
+
for (const [r, n] of Ro(e))
|
|
3068
|
+
x(e, r) && (G(n) ? o[r] = Wn(n) : n && typeof n == "object" && n.constructor === Object ? o[r] = j(n) : o[r] = n);
|
|
3069
|
+
return o;
|
|
3070
|
+
}
|
|
3071
|
+
function Bn(e) {
|
|
3072
|
+
switch (typeof e) {
|
|
3073
|
+
case "string":
|
|
3074
|
+
return e;
|
|
3075
|
+
case "number":
|
|
3076
|
+
return Un(e);
|
|
3077
|
+
case "boolean":
|
|
3078
|
+
return Gn(e);
|
|
3079
|
+
case "bigint":
|
|
3080
|
+
return to ? to(e) : "0";
|
|
3081
|
+
case "symbol":
|
|
3082
|
+
return oo ? oo(e) : "Symbol()";
|
|
3083
|
+
case "undefined":
|
|
3084
|
+
return je(e);
|
|
3085
|
+
case "function":
|
|
3086
|
+
case "object": {
|
|
3087
|
+
if (e === null)
|
|
3088
|
+
return je(e);
|
|
3089
|
+
const o = e, r = Pe(o, "toString");
|
|
3090
|
+
if (typeof r == "function") {
|
|
3091
|
+
const n = r(o);
|
|
3092
|
+
return typeof n == "string" ? n : je(n);
|
|
3093
|
+
}
|
|
3094
|
+
return je(e);
|
|
3095
|
+
}
|
|
3096
|
+
default:
|
|
3097
|
+
return je(e);
|
|
3098
|
+
}
|
|
3099
|
+
}
|
|
3100
|
+
function Pe(e, o) {
|
|
3101
|
+
for (; e !== null; ) {
|
|
3102
|
+
const n = Mn(e, o);
|
|
3103
|
+
if (n) {
|
|
3104
|
+
if (n.get)
|
|
3105
|
+
return C(n.get);
|
|
3106
|
+
if (typeof n.value == "function")
|
|
3107
|
+
return C(n.value);
|
|
3108
|
+
}
|
|
3109
|
+
e = Nn(e);
|
|
3110
|
+
}
|
|
3111
|
+
function r() {
|
|
3112
|
+
return null;
|
|
3113
|
+
}
|
|
3114
|
+
return r;
|
|
3115
|
+
}
|
|
3116
|
+
function jn(e) {
|
|
3117
|
+
try {
|
|
3118
|
+
return M(e, ""), !0;
|
|
3119
|
+
} catch {
|
|
3120
|
+
return !1;
|
|
3121
|
+
}
|
|
3122
|
+
}
|
|
3123
|
+
const no = H(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Tt = H(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), At = H(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Vn = H(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), yt = H(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Yn = H(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), ro = H(["#text"]), so = H(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), Et = H(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), io = H(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), tt = H(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Xn = Z(/\{\{[\w\W]*|[\w\W]*\}\}/gm), $n = Z(/<%[\w\W]*|[\w\W]*%>/gm), qn = Z(/\$\{[\w\W]*/gm), Kn = Z(/^data-[\-\w.\u00B7-\uFFFF]+$/), Zn = Z(/^aria-[\-\w]+$/), vo = Z(
|
|
3124
|
+
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
3125
|
+
// eslint-disable-line no-useless-escape
|
|
3126
|
+
), Jn = Z(/^(?:\w+script|data):/i), Qn = Z(
|
|
3127
|
+
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
3128
|
+
// eslint-disable-line no-control-regex
|
|
3129
|
+
), Oo = Z(/^html$/i), er = Z(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
3130
|
+
var ao = /* @__PURE__ */ Object.freeze({
|
|
3131
|
+
__proto__: null,
|
|
3132
|
+
ARIA_ATTR: Zn,
|
|
3133
|
+
ATTR_WHITESPACE: Qn,
|
|
3134
|
+
CUSTOM_ELEMENT: er,
|
|
3135
|
+
DATA_ATTR: Kn,
|
|
3136
|
+
DOCTYPE_NAME: Oo,
|
|
3137
|
+
ERB_EXPR: $n,
|
|
3138
|
+
IS_ALLOWED_URI: vo,
|
|
3139
|
+
IS_SCRIPT_OR_DATA: Jn,
|
|
3140
|
+
MUSTACHE_EXPR: Xn,
|
|
3141
|
+
TMPLIT_EXPR: qn
|
|
3142
|
+
});
|
|
3143
|
+
const Ve = {
|
|
3144
|
+
element: 1,
|
|
3145
|
+
text: 3,
|
|
3146
|
+
// Deprecated
|
|
3147
|
+
progressingInstruction: 7,
|
|
3148
|
+
comment: 8,
|
|
3149
|
+
document: 9
|
|
3150
|
+
}, tr = function() {
|
|
3151
|
+
return typeof window > "u" ? null : window;
|
|
3152
|
+
}, or = function(o, r) {
|
|
3153
|
+
if (typeof o != "object" || typeof o.createPolicy != "function")
|
|
3154
|
+
return null;
|
|
3155
|
+
let n = null;
|
|
3156
|
+
const i = "data-tt-policy-suffix";
|
|
3157
|
+
r && r.hasAttribute(i) && (n = r.getAttribute(i));
|
|
3158
|
+
const l = "dompurify" + (n ? "#" + n : "");
|
|
3159
|
+
try {
|
|
3160
|
+
return o.createPolicy(l, {
|
|
3161
|
+
createHTML(a) {
|
|
3162
|
+
return a;
|
|
3163
|
+
},
|
|
3164
|
+
createScriptURL(a) {
|
|
3165
|
+
return a;
|
|
3166
|
+
}
|
|
3167
|
+
});
|
|
3168
|
+
} catch {
|
|
3169
|
+
return console.warn("TrustedTypes policy " + l + " could not be created."), null;
|
|
3170
|
+
}
|
|
3171
|
+
}, lo = function() {
|
|
3172
|
+
return {
|
|
3173
|
+
afterSanitizeAttributes: [],
|
|
3174
|
+
afterSanitizeElements: [],
|
|
3175
|
+
afterSanitizeShadowDOM: [],
|
|
3176
|
+
beforeSanitizeAttributes: [],
|
|
3177
|
+
beforeSanitizeElements: [],
|
|
3178
|
+
beforeSanitizeShadowDOM: [],
|
|
3179
|
+
uponSanitizeAttribute: [],
|
|
3180
|
+
uponSanitizeElement: [],
|
|
3181
|
+
uponSanitizeShadowNode: []
|
|
3182
|
+
};
|
|
3183
|
+
};
|
|
3184
|
+
function Co() {
|
|
3185
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : tr();
|
|
3186
|
+
const o = (g) => Co(g);
|
|
3187
|
+
if (o.version = "3.4.2", o.removed = [], !e || !e.document || e.document.nodeType !== Ve.document || !e.Element)
|
|
3188
|
+
return o.isSupported = !1, o;
|
|
3189
|
+
let {
|
|
3190
|
+
document: r
|
|
3191
|
+
} = e;
|
|
3192
|
+
const n = r, i = n.currentScript, {
|
|
3193
|
+
DocumentFragment: l,
|
|
3194
|
+
HTMLTemplateElement: a,
|
|
3195
|
+
Node: h,
|
|
3196
|
+
Element: u,
|
|
3197
|
+
NodeFilter: b,
|
|
3198
|
+
NamedNodeMap: w = e.NamedNodeMap || e.MozNamedAttrMap,
|
|
3199
|
+
HTMLFormElement: z,
|
|
3200
|
+
DOMParser: W,
|
|
3201
|
+
trustedTypes: $
|
|
3202
|
+
} = e, V = u.prototype, Y = Pe(V, "cloneNode"), F = Pe(V, "remove"), ae = Pe(V, "nextSibling"), ke = Pe(V, "childNodes"), ne = Pe(V, "parentNode");
|
|
3203
|
+
if (typeof a == "function") {
|
|
3204
|
+
const g = r.createElement("template");
|
|
3205
|
+
g.content && g.content.ownerDocument && (r = g.content.ownerDocument);
|
|
3206
|
+
}
|
|
3207
|
+
let _, q = "";
|
|
3208
|
+
const {
|
|
3209
|
+
implementation: J,
|
|
3210
|
+
createNodeIterator: Te,
|
|
3211
|
+
createDocumentFragment: f,
|
|
3212
|
+
getElementsByTagName: U
|
|
3213
|
+
} = r, {
|
|
3214
|
+
importNode: Xe
|
|
3215
|
+
} = n;
|
|
3216
|
+
let D = lo();
|
|
3217
|
+
o.isSupported = typeof Ro == "function" && typeof ne == "function" && J && J.createHTMLDocument !== void 0;
|
|
3218
|
+
const {
|
|
3219
|
+
MUSTACHE_EXPR: le,
|
|
3220
|
+
ERB_EXPR: Ae,
|
|
3221
|
+
TMPLIT_EXPR: fe,
|
|
3222
|
+
DATA_ATTR: pe,
|
|
3223
|
+
ARIA_ATTR: X,
|
|
3224
|
+
IS_SCRIPT_OR_DATA: ce,
|
|
3225
|
+
ATTR_WHITESPACE: Re,
|
|
3226
|
+
CUSTOM_ELEMENT: ze
|
|
3227
|
+
} = ao;
|
|
3228
|
+
let {
|
|
3229
|
+
IS_ALLOWED_URI: p
|
|
3230
|
+
} = ao, S = null;
|
|
3231
|
+
const Fe = T({}, [...no, ...Tt, ...At, ...yt, ...ro]);
|
|
3232
|
+
let v = null;
|
|
3233
|
+
const ve = T({}, [...so, ...Et, ...io, ...tt]);
|
|
3234
|
+
let y = Object.seal(Me(null, {
|
|
3235
|
+
tagNameCheck: {
|
|
3236
|
+
writable: !0,
|
|
3237
|
+
configurable: !1,
|
|
3238
|
+
enumerable: !0,
|
|
3239
|
+
value: null
|
|
3240
|
+
},
|
|
3241
|
+
attributeNameCheck: {
|
|
3242
|
+
writable: !0,
|
|
3243
|
+
configurable: !1,
|
|
3244
|
+
enumerable: !0,
|
|
3245
|
+
value: null
|
|
3246
|
+
},
|
|
3247
|
+
allowCustomizedBuiltInElements: {
|
|
3248
|
+
writable: !0,
|
|
3249
|
+
configurable: !1,
|
|
3250
|
+
enumerable: !0,
|
|
3251
|
+
value: !1
|
|
3252
|
+
}
|
|
3253
|
+
})), k = null, de = null;
|
|
3254
|
+
const Q = Object.seal(Me(null, {
|
|
3255
|
+
tagCheck: {
|
|
3256
|
+
writable: !0,
|
|
3257
|
+
configurable: !1,
|
|
3258
|
+
enumerable: !0,
|
|
3259
|
+
value: null
|
|
3260
|
+
},
|
|
3261
|
+
attributeCheck: {
|
|
3262
|
+
writable: !0,
|
|
3263
|
+
configurable: !1,
|
|
3264
|
+
enumerable: !0,
|
|
3265
|
+
value: null
|
|
3266
|
+
}
|
|
3267
|
+
}));
|
|
3268
|
+
let R = !0, Oe = !0, ye = !1, Ee = !0, ee = !1, re = !0, we = !1, nt = !1, rt = !1, Ce = !1, $e = !1, qe = !1, Rt = !0, vt = !1;
|
|
3269
|
+
const Ot = "user-content-";
|
|
3270
|
+
let st = !0, Ue = !1, Ie = {}, se = null;
|
|
3271
|
+
const it = T({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
3272
|
+
let Ct = null;
|
|
3273
|
+
const It = T({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
3274
|
+
let at = null;
|
|
3275
|
+
const Lt = T({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ke = "http://www.w3.org/1998/Math/MathML", Ze = "http://www.w3.org/2000/svg", ie = "http://www.w3.org/1999/xhtml";
|
|
3276
|
+
let Le = ie, lt = !1, ct = null;
|
|
3277
|
+
const Io = T({}, [Ke, Ze, ie], ht);
|
|
3278
|
+
let dt = T({}, ["mi", "mo", "mn", "ms", "mtext"]), mt = T({}, ["annotation-xml"]);
|
|
3279
|
+
const Lo = T({}, ["title", "style", "font", "a", "script"]);
|
|
3280
|
+
let Ge = null;
|
|
3281
|
+
const Do = ["application/xhtml+xml", "text/html"], No = "text/html";
|
|
3282
|
+
let I = null, De = null;
|
|
3283
|
+
const Mo = r.createElement("form"), Dt = function(t) {
|
|
3284
|
+
return t instanceof RegExp || t instanceof Function;
|
|
3285
|
+
}, ut = function() {
|
|
3286
|
+
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3287
|
+
if (De && De === t)
|
|
3288
|
+
return;
|
|
3289
|
+
(!t || typeof t != "object") && (t = {}), t = j(t), Ge = // eslint-disable-next-line unicorn/prefer-includes
|
|
3290
|
+
Do.indexOf(t.PARSER_MEDIA_TYPE) === -1 ? No : t.PARSER_MEDIA_TYPE, I = Ge === "application/xhtml+xml" ? ht : Ye, S = x(t, "ALLOWED_TAGS") && G(t.ALLOWED_TAGS) ? T({}, t.ALLOWED_TAGS, I) : Fe, v = x(t, "ALLOWED_ATTR") && G(t.ALLOWED_ATTR) ? T({}, t.ALLOWED_ATTR, I) : ve, ct = x(t, "ALLOWED_NAMESPACES") && G(t.ALLOWED_NAMESPACES) ? T({}, t.ALLOWED_NAMESPACES, ht) : Io, at = x(t, "ADD_URI_SAFE_ATTR") && G(t.ADD_URI_SAFE_ATTR) ? T(j(Lt), t.ADD_URI_SAFE_ATTR, I) : Lt, Ct = x(t, "ADD_DATA_URI_TAGS") && G(t.ADD_DATA_URI_TAGS) ? T(j(It), t.ADD_DATA_URI_TAGS, I) : It, se = x(t, "FORBID_CONTENTS") && G(t.FORBID_CONTENTS) ? T({}, t.FORBID_CONTENTS, I) : it, k = x(t, "FORBID_TAGS") && G(t.FORBID_TAGS) ? T({}, t.FORBID_TAGS, I) : j({}), de = x(t, "FORBID_ATTR") && G(t.FORBID_ATTR) ? T({}, t.FORBID_ATTR, I) : j({}), Ie = x(t, "USE_PROFILES") ? t.USE_PROFILES && typeof t.USE_PROFILES == "object" ? j(t.USE_PROFILES) : t.USE_PROFILES : !1, R = t.ALLOW_ARIA_ATTR !== !1, Oe = t.ALLOW_DATA_ATTR !== !1, ye = t.ALLOW_UNKNOWN_PROTOCOLS || !1, Ee = t.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ee = t.SAFE_FOR_TEMPLATES || !1, re = t.SAFE_FOR_XML !== !1, we = t.WHOLE_DOCUMENT || !1, Ce = t.RETURN_DOM || !1, $e = t.RETURN_DOM_FRAGMENT || !1, qe = t.RETURN_TRUSTED_TYPE || !1, rt = t.FORCE_BODY || !1, Rt = t.SANITIZE_DOM !== !1, vt = t.SANITIZE_NAMED_PROPS || !1, st = t.KEEP_CONTENT !== !1, Ue = t.IN_PLACE || !1, p = jn(t.ALLOWED_URI_REGEXP) ? t.ALLOWED_URI_REGEXP : vo, Le = typeof t.NAMESPACE == "string" ? t.NAMESPACE : ie, dt = x(t, "MATHML_TEXT_INTEGRATION_POINTS") && t.MATHML_TEXT_INTEGRATION_POINTS && typeof t.MATHML_TEXT_INTEGRATION_POINTS == "object" ? j(t.MATHML_TEXT_INTEGRATION_POINTS) : T({}, ["mi", "mo", "mn", "ms", "mtext"]), mt = x(t, "HTML_INTEGRATION_POINTS") && t.HTML_INTEGRATION_POINTS && typeof t.HTML_INTEGRATION_POINTS == "object" ? j(t.HTML_INTEGRATION_POINTS) : T({}, ["annotation-xml"]);
|
|
3291
|
+
const s = x(t, "CUSTOM_ELEMENT_HANDLING") && t.CUSTOM_ELEMENT_HANDLING && typeof t.CUSTOM_ELEMENT_HANDLING == "object" ? j(t.CUSTOM_ELEMENT_HANDLING) : Me(null);
|
|
3292
|
+
if (y = Me(null), x(s, "tagNameCheck") && Dt(s.tagNameCheck) && (y.tagNameCheck = s.tagNameCheck), x(s, "attributeNameCheck") && Dt(s.attributeNameCheck) && (y.attributeNameCheck = s.attributeNameCheck), x(s, "allowCustomizedBuiltInElements") && typeof s.allowCustomizedBuiltInElements == "boolean" && (y.allowCustomizedBuiltInElements = s.allowCustomizedBuiltInElements), ee && (Oe = !1), $e && (Ce = !0), Ie && (S = T({}, ro), v = Me(null), Ie.html === !0 && (T(S, no), T(v, so)), Ie.svg === !0 && (T(S, Tt), T(v, Et), T(v, tt)), Ie.svgFilters === !0 && (T(S, At), T(v, Et), T(v, tt)), Ie.mathMl === !0 && (T(S, yt), T(v, io), T(v, tt))), Q.tagCheck = null, Q.attributeCheck = null, x(t, "ADD_TAGS") && (typeof t.ADD_TAGS == "function" ? Q.tagCheck = t.ADD_TAGS : G(t.ADD_TAGS) && (S === Fe && (S = j(S)), T(S, t.ADD_TAGS, I))), x(t, "ADD_ATTR") && (typeof t.ADD_ATTR == "function" ? Q.attributeCheck = t.ADD_ATTR : G(t.ADD_ATTR) && (v === ve && (v = j(v)), T(v, t.ADD_ATTR, I))), x(t, "ADD_URI_SAFE_ATTR") && G(t.ADD_URI_SAFE_ATTR) && T(at, t.ADD_URI_SAFE_ATTR, I), x(t, "FORBID_CONTENTS") && G(t.FORBID_CONTENTS) && (se === it && (se = j(se)), T(se, t.FORBID_CONTENTS, I)), x(t, "ADD_FORBID_CONTENTS") && G(t.ADD_FORBID_CONTENTS) && (se === it && (se = j(se)), T(se, t.ADD_FORBID_CONTENTS, I)), st && (S["#text"] = !0), we && T(S, ["html", "head", "body"]), S.table && (T(S, ["tbody"]), delete k.tbody), t.TRUSTED_TYPES_POLICY) {
|
|
3293
|
+
if (typeof t.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
3294
|
+
throw et('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
3295
|
+
if (typeof t.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
3296
|
+
throw et('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
3297
|
+
_ = t.TRUSTED_TYPES_POLICY, q = _.createHTML("");
|
|
3298
|
+
} else
|
|
3299
|
+
_ === void 0 && (_ = or($, i)), _ !== null && typeof q == "string" && (q = _.createHTML(""));
|
|
3300
|
+
H && H(t), De = t;
|
|
3301
|
+
}, Nt = T({}, [...Tt, ...At, ...Vn]), Mt = T({}, [...yt, ...Yn]), Po = function(t) {
|
|
3302
|
+
let s = ne(t);
|
|
3303
|
+
(!s || !s.tagName) && (s = {
|
|
3304
|
+
namespaceURI: Le,
|
|
3305
|
+
tagName: "template"
|
|
3306
|
+
});
|
|
3307
|
+
const m = Ye(t.tagName), E = Ye(s.tagName);
|
|
3308
|
+
return ct[t.namespaceURI] ? t.namespaceURI === Ze ? s.namespaceURI === ie ? m === "svg" : s.namespaceURI === Ke ? m === "svg" && (E === "annotation-xml" || dt[E]) : !!Nt[m] : t.namespaceURI === Ke ? s.namespaceURI === ie ? m === "math" : s.namespaceURI === Ze ? m === "math" && mt[E] : !!Mt[m] : t.namespaceURI === ie ? s.namespaceURI === Ze && !mt[E] || s.namespaceURI === Ke && !dt[E] ? !1 : !Mt[m] && (Lo[m] || !Nt[m]) : !!(Ge === "application/xhtml+xml" && ct[t.namespaceURI]) : !1;
|
|
3309
|
+
}, te = function(t) {
|
|
3310
|
+
Be(o.removed, {
|
|
3311
|
+
element: t
|
|
3312
|
+
});
|
|
3313
|
+
try {
|
|
3314
|
+
ne(t).removeChild(t);
|
|
3315
|
+
} catch {
|
|
3316
|
+
F(t);
|
|
3317
|
+
}
|
|
3318
|
+
}, _e = function(t, s) {
|
|
3319
|
+
try {
|
|
3320
|
+
Be(o.removed, {
|
|
3321
|
+
attribute: s.getAttributeNode(t),
|
|
3322
|
+
from: s
|
|
3323
|
+
});
|
|
3324
|
+
} catch {
|
|
3325
|
+
Be(o.removed, {
|
|
3326
|
+
attribute: null,
|
|
3327
|
+
from: s
|
|
3328
|
+
});
|
|
3329
|
+
}
|
|
3330
|
+
if (s.removeAttribute(t), t === "is")
|
|
3331
|
+
if (Ce || $e)
|
|
3332
|
+
try {
|
|
3333
|
+
te(s);
|
|
3334
|
+
} catch {
|
|
3335
|
+
}
|
|
3336
|
+
else
|
|
3337
|
+
try {
|
|
3338
|
+
s.setAttribute(t, "");
|
|
3339
|
+
} catch {
|
|
3340
|
+
}
|
|
3341
|
+
}, Pt = function(t) {
|
|
3342
|
+
let s = null, m = null;
|
|
3343
|
+
if (rt)
|
|
3344
|
+
t = "<remove></remove>" + t;
|
|
3345
|
+
else {
|
|
3346
|
+
const O = Qt(t, /^[\r\n\t ]+/);
|
|
3347
|
+
m = O && O[0];
|
|
3348
|
+
}
|
|
3349
|
+
Ge === "application/xhtml+xml" && Le === ie && (t = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + t + "</body></html>");
|
|
3350
|
+
const E = _ ? _.createHTML(t) : t;
|
|
3351
|
+
if (Le === ie)
|
|
3352
|
+
try {
|
|
3353
|
+
s = new W().parseFromString(E, Ge);
|
|
3354
|
+
} catch {
|
|
3355
|
+
}
|
|
3356
|
+
if (!s || !s.documentElement) {
|
|
3357
|
+
s = J.createDocument(Le, "template", null);
|
|
3358
|
+
try {
|
|
3359
|
+
s.documentElement.innerHTML = lt ? q : E;
|
|
3360
|
+
} catch {
|
|
3361
|
+
}
|
|
3362
|
+
}
|
|
3363
|
+
const P = s.body || s.documentElement;
|
|
3364
|
+
return t && m && P.insertBefore(r.createTextNode(m), P.childNodes[0] || null), Le === ie ? U.call(s, we ? "html" : "body")[0] : we ? s.documentElement : P;
|
|
3365
|
+
}, zt = function(t) {
|
|
3366
|
+
return Te.call(
|
|
3367
|
+
t.ownerDocument || t,
|
|
3368
|
+
t,
|
|
3369
|
+
// eslint-disable-next-line no-bitwise
|
|
3370
|
+
b.SHOW_ELEMENT | b.SHOW_COMMENT | b.SHOW_TEXT | b.SHOW_PROCESSING_INSTRUCTION | b.SHOW_CDATA_SECTION,
|
|
3371
|
+
null
|
|
3372
|
+
);
|
|
3373
|
+
}, ft = function(t) {
|
|
3374
|
+
return t instanceof z && (typeof t.nodeName != "string" || typeof t.textContent != "string" || typeof t.removeChild != "function" || !(t.attributes instanceof w) || typeof t.removeAttribute != "function" || typeof t.setAttribute != "function" || typeof t.namespaceURI != "string" || typeof t.insertBefore != "function" || typeof t.hasChildNodes != "function");
|
|
3375
|
+
}, pt = function(t) {
|
|
3376
|
+
return typeof h == "function" && t instanceof h;
|
|
3377
|
+
};
|
|
3378
|
+
function me(g, t, s) {
|
|
3379
|
+
We(g, (m) => {
|
|
3380
|
+
m.call(o, t, s, De);
|
|
3381
|
+
});
|
|
3382
|
+
}
|
|
3383
|
+
const Ft = function(t) {
|
|
3384
|
+
let s = null;
|
|
3385
|
+
if (me(D.beforeSanitizeElements, t, null), ft(t))
|
|
3386
|
+
return te(t), !0;
|
|
3387
|
+
const m = I(t.nodeName);
|
|
3388
|
+
if (me(D.uponSanitizeElement, t, {
|
|
3389
|
+
tagName: m,
|
|
3390
|
+
allowedTags: S
|
|
3391
|
+
}), re && t.hasChildNodes() && !pt(t.firstElementChild) && M(/<[/\w!]/g, t.innerHTML) && M(/<[/\w!]/g, t.textContent) || re && t.namespaceURI === ie && m === "style" && pt(t.firstElementChild) || t.nodeType === Ve.progressingInstruction || re && t.nodeType === Ve.comment && M(/<[/\w]/g, t.data))
|
|
3392
|
+
return te(t), !0;
|
|
3393
|
+
if (k[m] || !(Q.tagCheck instanceof Function && Q.tagCheck(m)) && !S[m]) {
|
|
3394
|
+
if (!k[m] && Gt(m) && (y.tagNameCheck instanceof RegExp && M(y.tagNameCheck, m) || y.tagNameCheck instanceof Function && y.tagNameCheck(m)))
|
|
3395
|
+
return !1;
|
|
3396
|
+
if (st && !se[m]) {
|
|
3397
|
+
const E = ne(t) || t.parentNode, P = ke(t) || t.childNodes;
|
|
3398
|
+
if (P && E) {
|
|
3399
|
+
const O = P.length;
|
|
3400
|
+
for (let B = O - 1; B >= 0; --B) {
|
|
3401
|
+
const K = Y(P[B], !0);
|
|
3402
|
+
E.insertBefore(K, ae(t));
|
|
3403
|
+
}
|
|
3404
|
+
}
|
|
3405
|
+
}
|
|
3406
|
+
return te(t), !0;
|
|
3407
|
+
}
|
|
3408
|
+
return t instanceof u && !Po(t) || (m === "noscript" || m === "noembed" || m === "noframes") && M(/<\/no(script|embed|frames)/i, t.innerHTML) ? (te(t), !0) : (ee && t.nodeType === Ve.text && (s = t.textContent, We([le, Ae, fe], (E) => {
|
|
3409
|
+
s = Ne(s, E, " ");
|
|
3410
|
+
}), t.textContent !== s && (Be(o.removed, {
|
|
3411
|
+
element: t.cloneNode()
|
|
3412
|
+
}), t.textContent = s)), me(D.afterSanitizeElements, t, null), !1);
|
|
3413
|
+
}, Ut = function(t, s, m) {
|
|
3414
|
+
if (de[s] || Rt && (s === "id" || s === "name") && (m in r || m in Mo))
|
|
3415
|
+
return !1;
|
|
3416
|
+
const E = v[s] || Q.attributeCheck instanceof Function && Q.attributeCheck(s, t);
|
|
3417
|
+
if (!(Oe && !de[s] && M(pe, s))) {
|
|
3418
|
+
if (!(R && M(X, s))) {
|
|
3419
|
+
if (!E || de[s]) {
|
|
3420
|
+
if (
|
|
3421
|
+
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
3422
|
+
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
3423
|
+
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
3424
|
+
!(Gt(t) && (y.tagNameCheck instanceof RegExp && M(y.tagNameCheck, t) || y.tagNameCheck instanceof Function && y.tagNameCheck(t)) && (y.attributeNameCheck instanceof RegExp && M(y.attributeNameCheck, s) || y.attributeNameCheck instanceof Function && y.attributeNameCheck(s, t)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
3425
|
+
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
3426
|
+
s === "is" && y.allowCustomizedBuiltInElements && (y.tagNameCheck instanceof RegExp && M(y.tagNameCheck, m) || y.tagNameCheck instanceof Function && y.tagNameCheck(m)))
|
|
3427
|
+
) return !1;
|
|
3428
|
+
} else if (!at[s]) {
|
|
3429
|
+
if (!M(p, Ne(m, Re, ""))) {
|
|
3430
|
+
if (!((s === "src" || s === "xlink:href" || s === "href") && t !== "script" && eo(m, "data:") === 0 && Ct[t])) {
|
|
3431
|
+
if (!(ye && !M(ce, Ne(m, Re, "")))) {
|
|
3432
|
+
if (m)
|
|
3433
|
+
return !1;
|
|
3434
|
+
}
|
|
3435
|
+
}
|
|
3436
|
+
}
|
|
3437
|
+
}
|
|
3438
|
+
}
|
|
3439
|
+
}
|
|
3440
|
+
return !0;
|
|
3441
|
+
}, zo = T({}, ["annotation-xml", "color-profile", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "missing-glyph"]), Gt = function(t) {
|
|
3442
|
+
return !zo[Ye(t)] && M(ze, t);
|
|
3443
|
+
}, Ht = function(t) {
|
|
3444
|
+
me(D.beforeSanitizeAttributes, t, null);
|
|
3445
|
+
const {
|
|
3446
|
+
attributes: s
|
|
3447
|
+
} = t;
|
|
3448
|
+
if (!s || ft(t))
|
|
3449
|
+
return;
|
|
3450
|
+
const m = {
|
|
3451
|
+
attrName: "",
|
|
3452
|
+
attrValue: "",
|
|
3453
|
+
keepAttr: !0,
|
|
3454
|
+
allowedAttributes: v,
|
|
3455
|
+
forceKeepAttr: void 0
|
|
3456
|
+
};
|
|
3457
|
+
let E = s.length;
|
|
3458
|
+
for (; E--; ) {
|
|
3459
|
+
const P = s[E], {
|
|
3460
|
+
name: O,
|
|
3461
|
+
namespaceURI: B,
|
|
3462
|
+
value: K
|
|
3463
|
+
} = P, oe = I(O), gt = K;
|
|
3464
|
+
let N = O === "value" ? gt : Fn(gt);
|
|
3465
|
+
if (m.attrName = oe, m.attrValue = N, m.keepAttr = !0, m.forceKeepAttr = void 0, me(D.uponSanitizeAttribute, t, m), N = m.attrValue, vt && (oe === "id" || oe === "name") && eo(N, Ot) !== 0 && (_e(O, t), N = Ot + N), re && M(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, N)) {
|
|
3466
|
+
_e(O, t);
|
|
3467
|
+
continue;
|
|
3468
|
+
}
|
|
3469
|
+
if (oe === "attributename" && Qt(N, "href")) {
|
|
3470
|
+
_e(O, t);
|
|
3471
|
+
continue;
|
|
3472
|
+
}
|
|
3473
|
+
if (m.forceKeepAttr)
|
|
3474
|
+
continue;
|
|
3475
|
+
if (!m.keepAttr) {
|
|
3476
|
+
_e(O, t);
|
|
3477
|
+
continue;
|
|
3478
|
+
}
|
|
3479
|
+
if (!Ee && M(/\/>/i, N)) {
|
|
3480
|
+
_e(O, t);
|
|
3481
|
+
continue;
|
|
3482
|
+
}
|
|
3483
|
+
ee && We([le, Ae, fe], (jt) => {
|
|
3484
|
+
N = Ne(N, jt, " ");
|
|
3485
|
+
});
|
|
3486
|
+
const Bt = I(t.nodeName);
|
|
3487
|
+
if (!Ut(Bt, oe, N)) {
|
|
3488
|
+
_e(O, t);
|
|
3489
|
+
continue;
|
|
3490
|
+
}
|
|
3491
|
+
if (_ && typeof $ == "object" && typeof $.getAttributeType == "function" && !B)
|
|
3492
|
+
switch ($.getAttributeType(Bt, oe)) {
|
|
3493
|
+
case "TrustedHTML": {
|
|
3494
|
+
N = _.createHTML(N);
|
|
3495
|
+
break;
|
|
3496
|
+
}
|
|
3497
|
+
case "TrustedScriptURL": {
|
|
3498
|
+
N = _.createScriptURL(N);
|
|
3499
|
+
break;
|
|
3500
|
+
}
|
|
3501
|
+
}
|
|
3502
|
+
if (N !== gt)
|
|
3503
|
+
try {
|
|
3504
|
+
B ? t.setAttributeNS(B, O, N) : t.setAttribute(O, N), ft(t) ? te(t) : Jt(o.removed);
|
|
3505
|
+
} catch {
|
|
3506
|
+
_e(O, t);
|
|
3507
|
+
}
|
|
3508
|
+
}
|
|
3509
|
+
me(D.afterSanitizeAttributes, t, null);
|
|
3510
|
+
}, Wt = function(t) {
|
|
3511
|
+
let s = null;
|
|
3512
|
+
const m = zt(t);
|
|
3513
|
+
for (me(D.beforeSanitizeShadowDOM, t, null); s = m.nextNode(); )
|
|
3514
|
+
me(D.uponSanitizeShadowNode, s, null), Ft(s), Ht(s), s.content instanceof l && Wt(s.content);
|
|
3515
|
+
me(D.afterSanitizeShadowDOM, t, null);
|
|
3516
|
+
};
|
|
3517
|
+
return o.sanitize = function(g) {
|
|
3518
|
+
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, m = null, E = null, P = null;
|
|
3519
|
+
if (lt = !g, lt && (g = "<!-->"), typeof g != "string" && !pt(g) && (g = Bn(g), typeof g != "string"))
|
|
3520
|
+
throw et("dirty is not a string, aborting");
|
|
3521
|
+
if (!o.isSupported)
|
|
3522
|
+
return g;
|
|
3523
|
+
if (nt || ut(t), o.removed = [], typeof g == "string" && (Ue = !1), Ue) {
|
|
3524
|
+
const K = g.nodeName;
|
|
3525
|
+
if (typeof K == "string") {
|
|
3526
|
+
const oe = I(K);
|
|
3527
|
+
if (!S[oe] || k[oe])
|
|
3528
|
+
throw et("root node is forbidden and cannot be sanitized in-place");
|
|
3529
|
+
}
|
|
3530
|
+
} else if (g instanceof h)
|
|
3531
|
+
s = Pt("<!---->"), m = s.ownerDocument.importNode(g, !0), m.nodeType === Ve.element && m.nodeName === "BODY" || m.nodeName === "HTML" ? s = m : s.appendChild(m);
|
|
3532
|
+
else {
|
|
3533
|
+
if (!Ce && !ee && !we && // eslint-disable-next-line unicorn/prefer-includes
|
|
3534
|
+
g.indexOf("<") === -1)
|
|
3535
|
+
return _ && qe ? _.createHTML(g) : g;
|
|
3536
|
+
if (s = Pt(g), !s)
|
|
3537
|
+
return Ce ? null : qe ? q : "";
|
|
3538
|
+
}
|
|
3539
|
+
s && rt && te(s.firstChild);
|
|
3540
|
+
const O = zt(Ue ? g : s);
|
|
3541
|
+
for (; E = O.nextNode(); )
|
|
3542
|
+
Ft(E), Ht(E), E.content instanceof l && Wt(E.content);
|
|
3543
|
+
if (Ue)
|
|
3544
|
+
return g;
|
|
3545
|
+
if (Ce) {
|
|
3546
|
+
if (ee) {
|
|
3547
|
+
s.normalize();
|
|
3548
|
+
let K = s.innerHTML;
|
|
3549
|
+
We([le, Ae, fe], (oe) => {
|
|
3550
|
+
K = Ne(K, oe, " ");
|
|
3551
|
+
}), s.innerHTML = K;
|
|
3552
|
+
}
|
|
3553
|
+
if ($e)
|
|
3554
|
+
for (P = f.call(s.ownerDocument); s.firstChild; )
|
|
3555
|
+
P.appendChild(s.firstChild);
|
|
3556
|
+
else
|
|
3557
|
+
P = s;
|
|
3558
|
+
return (v.shadowroot || v.shadowrootmode) && (P = Xe.call(n, P, !0)), P;
|
|
3559
|
+
}
|
|
3560
|
+
let B = we ? s.outerHTML : s.innerHTML;
|
|
3561
|
+
return we && S["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && M(Oo, s.ownerDocument.doctype.name) && (B = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
|
|
3562
|
+
` + B), ee && We([le, Ae, fe], (K) => {
|
|
3563
|
+
B = Ne(B, K, " ");
|
|
3564
|
+
}), _ && qe ? _.createHTML(B) : B;
|
|
3565
|
+
}, o.setConfig = function() {
|
|
3566
|
+
let g = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3567
|
+
ut(g), nt = !0;
|
|
3568
|
+
}, o.clearConfig = function() {
|
|
3569
|
+
De = null, nt = !1;
|
|
3570
|
+
}, o.isValidAttribute = function(g, t, s) {
|
|
3571
|
+
De || ut({});
|
|
3572
|
+
const m = I(g), E = I(t);
|
|
3573
|
+
return Ut(m, E, s);
|
|
3574
|
+
}, o.addHook = function(g, t) {
|
|
3575
|
+
typeof t == "function" && Be(D[g], t);
|
|
3576
|
+
}, o.removeHook = function(g, t) {
|
|
3577
|
+
if (t !== void 0) {
|
|
3578
|
+
const s = Pn(D[g], t);
|
|
3579
|
+
return s === -1 ? void 0 : zn(D[g], s, 1)[0];
|
|
3580
|
+
}
|
|
3581
|
+
return Jt(D[g]);
|
|
3582
|
+
}, o.removeHooks = function(g) {
|
|
3583
|
+
D[g] = [];
|
|
3584
|
+
}, o.removeAllHooks = function() {
|
|
3585
|
+
D = lo();
|
|
3586
|
+
}, o;
|
|
3587
|
+
}
|
|
3588
|
+
var nr = Co();
|
|
3589
|
+
const rr = {
|
|
3590
|
+
addElements: [],
|
|
3591
|
+
allowElements: [],
|
|
3592
|
+
allowAttributes: {},
|
|
3593
|
+
dropElements: [],
|
|
3594
|
+
dropAttributes: {}
|
|
3595
|
+
}, co = (e) => e ? Array.from(new Set(Object.values(e).flat())) : [], dr = ({
|
|
3596
|
+
content: e,
|
|
3597
|
+
config: o,
|
|
3598
|
+
tagName: r = "div",
|
|
3599
|
+
className: n
|
|
3600
|
+
}) => {
|
|
3601
|
+
const i = { ...rr, ...o }, l = co(i.allowAttributes), a = l.length > 0 ? {
|
|
3602
|
+
ALLOWED_ATTR: [.../* @__PURE__ */ new Set([...l, "class", "id", "style"])]
|
|
3603
|
+
} : {}, h = co(i.dropAttributes), u = h.length > 0 ? { FORBID_ATTR: h } : {}, b = i.addElements && i.addElements.length > 0 && !(i.allowElements && i.allowElements.length > 0) ? { ADD_TAGS: i.addElements } : {}, w = i.allowElements && i.allowElements.length > 0 ? { ALLOWED_TAGS: i.allowElements } : {}, z = i.dropElements && i.dropElements.length > 0 ? { FORBID_TAGS: i.dropElements } : {}, W = {
|
|
3604
|
+
ALLOW_UNKNOWN_PROTOCOLS: !1,
|
|
3605
|
+
...b,
|
|
3606
|
+
...w,
|
|
3607
|
+
...u,
|
|
3608
|
+
...a,
|
|
3609
|
+
...z
|
|
3610
|
+
};
|
|
3611
|
+
return /* @__PURE__ */ mo(
|
|
3612
|
+
r,
|
|
3613
|
+
{
|
|
3614
|
+
className: n,
|
|
3615
|
+
dangerouslySetInnerHTML: {
|
|
3616
|
+
__html: nr.sanitize(e, W)
|
|
3617
|
+
}
|
|
3618
|
+
}
|
|
3619
|
+
);
|
|
3620
|
+
};
|
|
2806
3621
|
export {
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
3622
|
+
cr as ErrorBoundary,
|
|
3623
|
+
ar as OverlayRoot,
|
|
3624
|
+
dr as SanitizeHtmlRender,
|
|
3625
|
+
lr as useOverlay
|
|
2810
3626
|
};
|