@helden-inc/cce-ui 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -67
- package/dist/components/Button.d.ts +5 -2
- package/dist/components/Button.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +455 -422
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +8 -3
package/dist/index.mjs
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { jsxs as ne, jsx as
|
|
1
|
+
import { jsxs as ne, jsx as z } from "react/jsx-runtime";
|
|
2
|
+
import { isValidElement as Te, cloneElement as je } from "react";
|
|
2
3
|
function ye(e) {
|
|
3
4
|
var t, r, o = "";
|
|
4
5
|
if (typeof e == "string" || typeof e == "number") o += e;
|
|
5
6
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
6
|
-
var
|
|
7
|
-
for (t = 0; t <
|
|
7
|
+
var s = e.length;
|
|
8
|
+
for (t = 0; t < s; t++) e[t] && (r = ye(e[t])) && (o && (o += " "), o += r);
|
|
8
9
|
} else for (r in e) e[r] && (o && (o += " "), o += r);
|
|
9
10
|
return o;
|
|
10
11
|
}
|
|
11
|
-
function
|
|
12
|
-
for (var e, t, r = 0, o = "",
|
|
12
|
+
function Ee() {
|
|
13
|
+
for (var e, t, r = 0, o = "", s = arguments.length; r < s; r++) (e = arguments[r]) && (t = ye(e)) && (o && (o += " "), o += t);
|
|
13
14
|
return o;
|
|
14
15
|
}
|
|
15
16
|
const Le = (e, t) => {
|
|
@@ -26,22 +27,22 @@ const Le = (e, t) => {
|
|
|
26
27
|
nextPart: e,
|
|
27
28
|
validators: t,
|
|
28
29
|
classGroupId: r
|
|
29
|
-
}),
|
|
30
|
-
const t =
|
|
30
|
+
}), Z = "-", ge = [], Ve = "arbitrary..", Fe = (e) => {
|
|
31
|
+
const t = We(e), {
|
|
31
32
|
conflictingClassGroups: r,
|
|
32
33
|
conflictingClassGroupModifiers: o
|
|
33
34
|
} = e;
|
|
34
35
|
return {
|
|
35
36
|
getClassGroupId: (l) => {
|
|
36
37
|
if (l.startsWith("[") && l.endsWith("]"))
|
|
37
|
-
return
|
|
38
|
-
const u = l.split(
|
|
39
|
-
return Ce(u,
|
|
38
|
+
return Be(l);
|
|
39
|
+
const u = l.split(Z), c = u[0] === "" && u.length > 1 ? 1 : 0;
|
|
40
|
+
return Ce(u, c, t);
|
|
40
41
|
},
|
|
41
42
|
getConflictingClassGroupIds: (l, u) => {
|
|
42
43
|
if (u) {
|
|
43
|
-
const
|
|
44
|
-
return
|
|
44
|
+
const c = o[l], f = r[l];
|
|
45
|
+
return c ? f ? Le(f, c) : c : f || ge;
|
|
45
46
|
}
|
|
46
47
|
return r[l] || ge;
|
|
47
48
|
}
|
|
@@ -49,77 +50,77 @@ const Le = (e, t) => {
|
|
|
49
50
|
}, Ce = (e, t, r) => {
|
|
50
51
|
if (e.length - t === 0)
|
|
51
52
|
return r.classGroupId;
|
|
52
|
-
const
|
|
53
|
-
if (
|
|
54
|
-
const f = Ce(e, t + 1,
|
|
53
|
+
const s = e[t], i = r.nextPart.get(s);
|
|
54
|
+
if (i) {
|
|
55
|
+
const f = Ce(e, t + 1, i);
|
|
55
56
|
if (f) return f;
|
|
56
57
|
}
|
|
57
58
|
const l = r.validators;
|
|
58
59
|
if (l === null)
|
|
59
60
|
return;
|
|
60
|
-
const u = t === 0 ? e.join(
|
|
61
|
-
for (let f = 0; f <
|
|
61
|
+
const u = t === 0 ? e.join(Z) : e.slice(t).join(Z), c = l.length;
|
|
62
|
+
for (let f = 0; f < c; f++) {
|
|
62
63
|
const b = l[f];
|
|
63
64
|
if (b.validator(u))
|
|
64
65
|
return b.classGroupId;
|
|
65
66
|
}
|
|
66
|
-
},
|
|
67
|
+
}, Be = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
67
68
|
const t = e.slice(1, -1), r = t.indexOf(":"), o = t.slice(0, r);
|
|
68
|
-
return o ?
|
|
69
|
-
})(),
|
|
69
|
+
return o ? Ve + o : void 0;
|
|
70
|
+
})(), We = (e) => {
|
|
70
71
|
const {
|
|
71
72
|
theme: t,
|
|
72
73
|
classGroups: r
|
|
73
74
|
} = e;
|
|
74
|
-
return
|
|
75
|
-
},
|
|
75
|
+
return Ue(r, t);
|
|
76
|
+
}, Ue = (e, t) => {
|
|
76
77
|
const r = ve();
|
|
77
78
|
for (const o in e) {
|
|
78
|
-
const
|
|
79
|
-
le(
|
|
79
|
+
const s = e[o];
|
|
80
|
+
le(s, r, o, t);
|
|
80
81
|
}
|
|
81
82
|
return r;
|
|
82
83
|
}, le = (e, t, r, o) => {
|
|
83
|
-
const
|
|
84
|
-
for (let
|
|
85
|
-
const l = e[
|
|
86
|
-
|
|
84
|
+
const s = e.length;
|
|
85
|
+
for (let i = 0; i < s; i++) {
|
|
86
|
+
const l = e[i];
|
|
87
|
+
$e(l, t, r, o);
|
|
87
88
|
}
|
|
88
|
-
},
|
|
89
|
+
}, $e = (e, t, r, o) => {
|
|
89
90
|
if (typeof e == "string") {
|
|
90
|
-
|
|
91
|
+
De(e, t, r);
|
|
91
92
|
return;
|
|
92
93
|
}
|
|
93
94
|
if (typeof e == "function") {
|
|
94
|
-
|
|
95
|
+
Ye(e, t, r, o);
|
|
95
96
|
return;
|
|
96
97
|
}
|
|
97
|
-
|
|
98
|
-
},
|
|
98
|
+
qe(e, t, r, o);
|
|
99
|
+
}, De = (e, t, r) => {
|
|
99
100
|
const o = e === "" ? t : ze(t, e);
|
|
100
101
|
o.classGroupId = r;
|
|
101
|
-
},
|
|
102
|
-
if (
|
|
102
|
+
}, Ye = (e, t, r, o) => {
|
|
103
|
+
if (Xe(e)) {
|
|
103
104
|
le(e(o), t, r, o);
|
|
104
105
|
return;
|
|
105
106
|
}
|
|
106
107
|
t.validators === null && (t.validators = []), t.validators.push(Oe(r, e));
|
|
107
|
-
},
|
|
108
|
-
const
|
|
109
|
-
for (let l = 0; l <
|
|
110
|
-
const [u,
|
|
111
|
-
le(
|
|
108
|
+
}, qe = (e, t, r, o) => {
|
|
109
|
+
const s = Object.entries(e), i = s.length;
|
|
110
|
+
for (let l = 0; l < i; l++) {
|
|
111
|
+
const [u, c] = s[l];
|
|
112
|
+
le(c, ze(t, u), r, o);
|
|
112
113
|
}
|
|
113
114
|
}, ze = (e, t) => {
|
|
114
115
|
let r = e;
|
|
115
|
-
const o = t.split(
|
|
116
|
-
for (let
|
|
117
|
-
const l = o[
|
|
116
|
+
const o = t.split(Z), s = o.length;
|
|
117
|
+
for (let i = 0; i < s; i++) {
|
|
118
|
+
const l = o[i];
|
|
118
119
|
let u = r.nextPart.get(l);
|
|
119
120
|
u || (u = ve(), r.nextPart.set(l, u)), r = u;
|
|
120
121
|
}
|
|
121
122
|
return r;
|
|
122
|
-
},
|
|
123
|
+
}, Xe = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Je = (e) => {
|
|
123
124
|
if (e < 1)
|
|
124
125
|
return {
|
|
125
126
|
get: () => {
|
|
@@ -128,141 +129,141 @@ const Le = (e, t) => {
|
|
|
128
129
|
}
|
|
129
130
|
};
|
|
130
131
|
let t = 0, r = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
|
|
131
|
-
const
|
|
132
|
-
r[
|
|
132
|
+
const s = (i, l) => {
|
|
133
|
+
r[i] = l, t++, t > e && (t = 0, o = r, r = /* @__PURE__ */ Object.create(null));
|
|
133
134
|
};
|
|
134
135
|
return {
|
|
135
|
-
get(
|
|
136
|
-
let l = r[
|
|
136
|
+
get(i) {
|
|
137
|
+
let l = r[i];
|
|
137
138
|
if (l !== void 0)
|
|
138
139
|
return l;
|
|
139
|
-
if ((l = o[
|
|
140
|
-
return
|
|
140
|
+
if ((l = o[i]) !== void 0)
|
|
141
|
+
return s(i, l), l;
|
|
141
142
|
},
|
|
142
|
-
set(
|
|
143
|
-
|
|
143
|
+
set(i, l) {
|
|
144
|
+
i in r ? r[i] = l : s(i, l);
|
|
144
145
|
}
|
|
145
146
|
};
|
|
146
|
-
}, ae = "!", he = ":",
|
|
147
|
+
}, ae = "!", he = ":", He = [], xe = (e, t, r, o, s) => ({
|
|
147
148
|
modifiers: e,
|
|
148
149
|
hasImportantModifier: t,
|
|
149
150
|
baseClassName: r,
|
|
150
151
|
maybePostfixModifierPosition: o,
|
|
151
|
-
isExternal:
|
|
152
|
-
}),
|
|
152
|
+
isExternal: s
|
|
153
|
+
}), Ke = (e) => {
|
|
153
154
|
const {
|
|
154
155
|
prefix: t,
|
|
155
156
|
experimentalParseClassName: r
|
|
156
157
|
} = e;
|
|
157
|
-
let o = (
|
|
158
|
-
const
|
|
159
|
-
let l = 0, u = 0,
|
|
160
|
-
const b =
|
|
161
|
-
for (let
|
|
162
|
-
const
|
|
158
|
+
let o = (s) => {
|
|
159
|
+
const i = [];
|
|
160
|
+
let l = 0, u = 0, c = 0, f;
|
|
161
|
+
const b = s.length;
|
|
162
|
+
for (let k = 0; k < b; k++) {
|
|
163
|
+
const y = s[k];
|
|
163
164
|
if (l === 0 && u === 0) {
|
|
164
|
-
if (
|
|
165
|
-
|
|
165
|
+
if (y === he) {
|
|
166
|
+
i.push(s.slice(c, k)), c = k + 1;
|
|
166
167
|
continue;
|
|
167
168
|
}
|
|
168
|
-
if (
|
|
169
|
-
f =
|
|
169
|
+
if (y === "/") {
|
|
170
|
+
f = k;
|
|
170
171
|
continue;
|
|
171
172
|
}
|
|
172
173
|
}
|
|
173
|
-
|
|
174
|
+
y === "[" ? l++ : y === "]" ? l-- : y === "(" ? u++ : y === ")" && u--;
|
|
174
175
|
}
|
|
175
|
-
const
|
|
176
|
-
let C =
|
|
177
|
-
|
|
176
|
+
const w = i.length === 0 ? s : s.slice(c);
|
|
177
|
+
let C = w, A = !1;
|
|
178
|
+
w.endsWith(ae) ? (C = w.slice(0, -1), A = !0) : (
|
|
178
179
|
/**
|
|
179
180
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
180
181
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
181
182
|
*/
|
|
182
|
-
|
|
183
|
+
w.startsWith(ae) && (C = w.slice(1), A = !0)
|
|
183
184
|
);
|
|
184
|
-
const
|
|
185
|
-
return xe(
|
|
185
|
+
const S = f && f > c ? f - c : void 0;
|
|
186
|
+
return xe(i, A, C, S);
|
|
186
187
|
};
|
|
187
188
|
if (t) {
|
|
188
|
-
const
|
|
189
|
-
o = (l) => l.startsWith(
|
|
189
|
+
const s = t + he, i = o;
|
|
190
|
+
o = (l) => l.startsWith(s) ? i(l.slice(s.length)) : xe(He, !1, l, void 0, !0);
|
|
190
191
|
}
|
|
191
192
|
if (r) {
|
|
192
|
-
const
|
|
193
|
-
o = (
|
|
194
|
-
className:
|
|
195
|
-
parseClassName:
|
|
193
|
+
const s = o;
|
|
194
|
+
o = (i) => r({
|
|
195
|
+
className: i,
|
|
196
|
+
parseClassName: s
|
|
196
197
|
});
|
|
197
198
|
}
|
|
198
199
|
return o;
|
|
199
|
-
},
|
|
200
|
+
}, Qe = (e) => {
|
|
200
201
|
const t = /* @__PURE__ */ new Map();
|
|
201
202
|
return e.orderSensitiveModifiers.forEach((r, o) => {
|
|
202
203
|
t.set(r, 1e6 + o);
|
|
203
204
|
}), (r) => {
|
|
204
205
|
const o = [];
|
|
205
|
-
let
|
|
206
|
-
for (let
|
|
207
|
-
const l = r[
|
|
208
|
-
u ||
|
|
206
|
+
let s = [];
|
|
207
|
+
for (let i = 0; i < r.length; i++) {
|
|
208
|
+
const l = r[i], u = l[0] === "[", c = t.has(l);
|
|
209
|
+
u || c ? (s.length > 0 && (s.sort(), o.push(...s), s = []), o.push(l)) : s.push(l);
|
|
209
210
|
}
|
|
210
|
-
return
|
|
211
|
+
return s.length > 0 && (s.sort(), o.push(...s)), o;
|
|
211
212
|
};
|
|
212
|
-
},
|
|
213
|
-
cache:
|
|
214
|
-
parseClassName:
|
|
215
|
-
sortModifiers:
|
|
216
|
-
...
|
|
217
|
-
}),
|
|
213
|
+
}, Ze = (e) => ({
|
|
214
|
+
cache: Je(e.cacheSize),
|
|
215
|
+
parseClassName: Ke(e),
|
|
216
|
+
sortModifiers: Qe(e),
|
|
217
|
+
...Fe(e)
|
|
218
|
+
}), eo = /\s+/, oo = (e, t) => {
|
|
218
219
|
const {
|
|
219
220
|
parseClassName: r,
|
|
220
221
|
getClassGroupId: o,
|
|
221
|
-
getConflictingClassGroupIds:
|
|
222
|
-
sortModifiers:
|
|
223
|
-
} = t, l = [], u = e.trim().split(
|
|
224
|
-
let
|
|
222
|
+
getConflictingClassGroupIds: s,
|
|
223
|
+
sortModifiers: i
|
|
224
|
+
} = t, l = [], u = e.trim().split(eo);
|
|
225
|
+
let c = "";
|
|
225
226
|
for (let f = u.length - 1; f >= 0; f -= 1) {
|
|
226
227
|
const b = u[f], {
|
|
227
|
-
isExternal:
|
|
228
|
+
isExternal: w,
|
|
228
229
|
modifiers: C,
|
|
229
|
-
hasImportantModifier:
|
|
230
|
-
baseClassName:
|
|
231
|
-
maybePostfixModifierPosition:
|
|
230
|
+
hasImportantModifier: A,
|
|
231
|
+
baseClassName: S,
|
|
232
|
+
maybePostfixModifierPosition: k
|
|
232
233
|
} = r(b);
|
|
233
|
-
if (
|
|
234
|
-
|
|
234
|
+
if (w) {
|
|
235
|
+
c = b + (c.length > 0 ? " " + c : c);
|
|
235
236
|
continue;
|
|
236
237
|
}
|
|
237
|
-
let
|
|
238
|
-
if (!
|
|
239
|
-
if (!
|
|
240
|
-
|
|
238
|
+
let y = !!k, N = o(y ? S.substring(0, k) : S);
|
|
239
|
+
if (!N) {
|
|
240
|
+
if (!y) {
|
|
241
|
+
c = b + (c.length > 0 ? " " + c : c);
|
|
241
242
|
continue;
|
|
242
243
|
}
|
|
243
|
-
if (
|
|
244
|
-
|
|
244
|
+
if (N = o(S), !N) {
|
|
245
|
+
c = b + (c.length > 0 ? " " + c : c);
|
|
245
246
|
continue;
|
|
246
247
|
}
|
|
247
|
-
|
|
248
|
+
y = !1;
|
|
248
249
|
}
|
|
249
|
-
const
|
|
250
|
-
if (l.indexOf(
|
|
250
|
+
const D = C.length === 0 ? "" : C.length === 1 ? C[0] : i(C).join(":"), W = A ? D + ae : D, j = W + N;
|
|
251
|
+
if (l.indexOf(j) > -1)
|
|
251
252
|
continue;
|
|
252
|
-
l.push(
|
|
253
|
-
const
|
|
254
|
-
for (let
|
|
255
|
-
const
|
|
256
|
-
l.push(
|
|
253
|
+
l.push(j);
|
|
254
|
+
const E = s(N, y);
|
|
255
|
+
for (let P = 0; P < E.length; ++P) {
|
|
256
|
+
const U = E[P];
|
|
257
|
+
l.push(W + U);
|
|
257
258
|
}
|
|
258
|
-
|
|
259
|
+
c = b + (c.length > 0 ? " " + c : c);
|
|
259
260
|
}
|
|
260
|
-
return
|
|
261
|
-
},
|
|
262
|
-
let t = 0, r, o,
|
|
261
|
+
return c;
|
|
262
|
+
}, ro = (...e) => {
|
|
263
|
+
let t = 0, r, o, s = "";
|
|
263
264
|
for (; t < e.length; )
|
|
264
|
-
(r = e[t++]) && (o = Ae(r)) && (
|
|
265
|
-
return
|
|
265
|
+
(r = e[t++]) && (o = Ae(r)) && (s && (s += " "), s += o);
|
|
266
|
+
return s;
|
|
266
267
|
}, Ae = (e) => {
|
|
267
268
|
if (typeof e == "string")
|
|
268
269
|
return e;
|
|
@@ -270,35 +271,35 @@ const Le = (e, t) => {
|
|
|
270
271
|
for (let o = 0; o < e.length; o++)
|
|
271
272
|
e[o] && (t = Ae(e[o])) && (r && (r += " "), r += t);
|
|
272
273
|
return r;
|
|
273
|
-
},
|
|
274
|
-
let r, o,
|
|
275
|
-
const l = (
|
|
276
|
-
const f = t.reduce((b,
|
|
277
|
-
return r =
|
|
278
|
-
}, u = (
|
|
279
|
-
const f = o(
|
|
274
|
+
}, to = (e, ...t) => {
|
|
275
|
+
let r, o, s, i;
|
|
276
|
+
const l = (c) => {
|
|
277
|
+
const f = t.reduce((b, w) => w(b), e());
|
|
278
|
+
return r = Ze(f), o = r.cache.get, s = r.cache.set, i = u, u(c);
|
|
279
|
+
}, u = (c) => {
|
|
280
|
+
const f = o(c);
|
|
280
281
|
if (f)
|
|
281
282
|
return f;
|
|
282
|
-
const b =
|
|
283
|
-
return
|
|
283
|
+
const b = oo(c, r);
|
|
284
|
+
return s(c, b), b;
|
|
284
285
|
};
|
|
285
|
-
return
|
|
286
|
-
},
|
|
287
|
-
const t = (r) => r[e] ||
|
|
286
|
+
return i = l, (...c) => i(ro(...c));
|
|
287
|
+
}, so = [], g = (e) => {
|
|
288
|
+
const t = (r) => r[e] || so;
|
|
288
289
|
return t.isThemeGetter = !0, t;
|
|
289
|
-
}, Se = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Re = /^\((?:(\w[\w-]*):)?(.+)\)$/i,
|
|
290
|
+
}, Se = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Re = /^\((?:(\w[\w-]*):)?(.+)\)$/i, no = /^\d+\/\d+$/, ao = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, lo = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, io = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, co = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, mo = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, O = (e) => no.test(e), p = (e) => !!e && !Number.isNaN(Number(e)), M = (e) => !!e && Number.isInteger(Number(e)), te = (e) => e.endsWith("%") && p(e.slice(0, -1)), I = (e) => ao.test(e), po = () => !0, uo = (e) => (
|
|
290
291
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
291
292
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
292
293
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
293
|
-
|
|
294
|
-
),
|
|
294
|
+
lo.test(e) && !io.test(e)
|
|
295
|
+
), _e = () => !1, fo = (e) => co.test(e), bo = (e) => mo.test(e), go = (e) => !n(e) && !a(e), ho = (e) => F(e, Ne, _e), n = (e) => Se.test(e), T = (e) => F(e, Pe, uo), se = (e) => F(e, vo, p), we = (e) => F(e, Ie, _e), xo = (e) => F(e, Me, bo), K = (e) => F(e, Ge, fo), a = (e) => Re.test(e), $ = (e) => B(e, Pe), wo = (e) => B(e, Co), ke = (e) => B(e, Ie), ko = (e) => B(e, Ne), yo = (e) => B(e, Me), Q = (e) => B(e, Ge, !0), F = (e, t, r) => {
|
|
295
296
|
const o = Se.exec(e);
|
|
296
297
|
return o ? o[1] ? t(o[1]) : r(o[2]) : !1;
|
|
297
|
-
},
|
|
298
|
+
}, B = (e, t, r = !1) => {
|
|
298
299
|
const o = Re.exec(e);
|
|
299
300
|
return o ? o[1] ? t(o[1]) : r : !1;
|
|
300
|
-
},
|
|
301
|
-
const e = g("color"), t = g("font"), r = g("text"), o = g("font-weight"),
|
|
301
|
+
}, Ie = (e) => e === "position" || e === "percentage", Me = (e) => e === "image" || e === "url", Ne = (e) => e === "length" || e === "size" || e === "bg-size", Pe = (e) => e === "length", vo = (e) => e === "number", Co = (e) => e === "family-name", Ge = (e) => e === "shadow", zo = () => {
|
|
302
|
+
const e = g("color"), t = g("font"), r = g("text"), o = g("font-weight"), s = g("tracking"), i = g("leading"), l = g("breakpoint"), u = g("container"), c = g("spacing"), f = g("radius"), b = g("shadow"), w = g("inset-shadow"), C = g("text-shadow"), A = g("drop-shadow"), S = g("blur"), k = g("perspective"), y = g("aspect"), N = g("ease"), D = g("animate"), W = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], j = () => [
|
|
302
303
|
"center",
|
|
303
304
|
"top",
|
|
304
305
|
"bottom",
|
|
@@ -316,51 +317,51 @@ const Le = (e, t) => {
|
|
|
316
317
|
"bottom-left",
|
|
317
318
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
318
319
|
"left-bottom"
|
|
319
|
-
],
|
|
320
|
-
span: ["full",
|
|
321
|
-
},
|
|
322
|
-
position: [
|
|
320
|
+
], E = () => [...j(), a, n], P = () => ["auto", "hidden", "clip", "visible", "scroll"], U = () => ["auto", "contain", "none"], m = () => [a, n, c], R = () => [O, "full", "auto", ...m()], ie = () => [M, "none", "subgrid", a, n], ce = () => ["auto", {
|
|
321
|
+
span: ["full", M, a, n]
|
|
322
|
+
}, M, a, n], Y = () => [M, "auto", a, n], de = () => ["auto", "min", "max", "fr", a, n], ee = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], L = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], _ = () => ["auto", ...m()], G = () => [O, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...m()], d = () => [e, a, n], me = () => [...j(), ke, we, {
|
|
323
|
+
position: [a, n]
|
|
323
324
|
}], pe = () => ["no-repeat", {
|
|
324
325
|
repeat: ["", "x", "y", "space", "round"]
|
|
325
|
-
}], ue = () => ["auto", "cover", "contain",
|
|
326
|
-
size: [
|
|
327
|
-
}],
|
|
326
|
+
}], ue = () => ["auto", "cover", "contain", ko, ho, {
|
|
327
|
+
size: [a, n]
|
|
328
|
+
}], oe = () => [te, $, T], x = () => [
|
|
328
329
|
// Deprecated since Tailwind CSS v4.0.0
|
|
329
330
|
"",
|
|
330
331
|
"none",
|
|
331
332
|
"full",
|
|
332
333
|
f,
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
],
|
|
334
|
+
a,
|
|
335
|
+
n
|
|
336
|
+
], v = () => ["", p, $, T], q = () => ["solid", "dashed", "dotted", "double"], fe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], h = () => [p, te, ke, we], be = () => [
|
|
336
337
|
// Deprecated since Tailwind CSS v4.0.0
|
|
337
338
|
"",
|
|
338
339
|
"none",
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
],
|
|
340
|
+
S,
|
|
341
|
+
a,
|
|
342
|
+
n
|
|
343
|
+
], X = () => ["none", p, a, n], J = () => ["none", p, a, n], re = () => [p, a, n], H = () => [O, "full", ...m()];
|
|
343
344
|
return {
|
|
344
345
|
cacheSize: 500,
|
|
345
346
|
theme: {
|
|
346
347
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
347
348
|
aspect: ["video"],
|
|
348
|
-
blur: [
|
|
349
|
-
breakpoint: [
|
|
350
|
-
color: [
|
|
351
|
-
container: [
|
|
352
|
-
"drop-shadow": [
|
|
349
|
+
blur: [I],
|
|
350
|
+
breakpoint: [I],
|
|
351
|
+
color: [po],
|
|
352
|
+
container: [I],
|
|
353
|
+
"drop-shadow": [I],
|
|
353
354
|
ease: ["in", "out", "in-out"],
|
|
354
|
-
font: [
|
|
355
|
+
font: [go],
|
|
355
356
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
356
|
-
"inset-shadow": [
|
|
357
|
+
"inset-shadow": [I],
|
|
357
358
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
358
359
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
359
|
-
radius: [
|
|
360
|
-
shadow: [
|
|
360
|
+
radius: [I],
|
|
361
|
+
shadow: [I],
|
|
361
362
|
spacing: ["px", p],
|
|
362
|
-
text: [
|
|
363
|
-
"text-shadow": [
|
|
363
|
+
text: [I],
|
|
364
|
+
"text-shadow": [I],
|
|
364
365
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
365
366
|
},
|
|
366
367
|
classGroups: {
|
|
@@ -372,7 +373,7 @@ const Le = (e, t) => {
|
|
|
372
373
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
373
374
|
*/
|
|
374
375
|
aspect: [{
|
|
375
|
-
aspect: ["auto", "square",
|
|
376
|
+
aspect: ["auto", "square", O, n, a, y]
|
|
376
377
|
}],
|
|
377
378
|
/**
|
|
378
379
|
* Container
|
|
@@ -385,21 +386,21 @@ const Le = (e, t) => {
|
|
|
385
386
|
* @see https://tailwindcss.com/docs/columns
|
|
386
387
|
*/
|
|
387
388
|
columns: [{
|
|
388
|
-
columns: [p,
|
|
389
|
+
columns: [p, n, a, u]
|
|
389
390
|
}],
|
|
390
391
|
/**
|
|
391
392
|
* Break After
|
|
392
393
|
* @see https://tailwindcss.com/docs/break-after
|
|
393
394
|
*/
|
|
394
395
|
"break-after": [{
|
|
395
|
-
"break-after":
|
|
396
|
+
"break-after": W()
|
|
396
397
|
}],
|
|
397
398
|
/**
|
|
398
399
|
* Break Before
|
|
399
400
|
* @see https://tailwindcss.com/docs/break-before
|
|
400
401
|
*/
|
|
401
402
|
"break-before": [{
|
|
402
|
-
"break-before":
|
|
403
|
+
"break-before": W()
|
|
403
404
|
}],
|
|
404
405
|
/**
|
|
405
406
|
* Break Inside
|
|
@@ -463,49 +464,49 @@ const Le = (e, t) => {
|
|
|
463
464
|
* @see https://tailwindcss.com/docs/object-position
|
|
464
465
|
*/
|
|
465
466
|
"object-position": [{
|
|
466
|
-
object:
|
|
467
|
+
object: E()
|
|
467
468
|
}],
|
|
468
469
|
/**
|
|
469
470
|
* Overflow
|
|
470
471
|
* @see https://tailwindcss.com/docs/overflow
|
|
471
472
|
*/
|
|
472
473
|
overflow: [{
|
|
473
|
-
overflow:
|
|
474
|
+
overflow: P()
|
|
474
475
|
}],
|
|
475
476
|
/**
|
|
476
477
|
* Overflow X
|
|
477
478
|
* @see https://tailwindcss.com/docs/overflow
|
|
478
479
|
*/
|
|
479
480
|
"overflow-x": [{
|
|
480
|
-
"overflow-x":
|
|
481
|
+
"overflow-x": P()
|
|
481
482
|
}],
|
|
482
483
|
/**
|
|
483
484
|
* Overflow Y
|
|
484
485
|
* @see https://tailwindcss.com/docs/overflow
|
|
485
486
|
*/
|
|
486
487
|
"overflow-y": [{
|
|
487
|
-
"overflow-y":
|
|
488
|
+
"overflow-y": P()
|
|
488
489
|
}],
|
|
489
490
|
/**
|
|
490
491
|
* Overscroll Behavior
|
|
491
492
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
492
493
|
*/
|
|
493
494
|
overscroll: [{
|
|
494
|
-
overscroll:
|
|
495
|
+
overscroll: U()
|
|
495
496
|
}],
|
|
496
497
|
/**
|
|
497
498
|
* Overscroll Behavior X
|
|
498
499
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
499
500
|
*/
|
|
500
501
|
"overscroll-x": [{
|
|
501
|
-
"overscroll-x":
|
|
502
|
+
"overscroll-x": U()
|
|
502
503
|
}],
|
|
503
504
|
/**
|
|
504
505
|
* Overscroll Behavior Y
|
|
505
506
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
506
507
|
*/
|
|
507
508
|
"overscroll-y": [{
|
|
508
|
-
"overscroll-y":
|
|
509
|
+
"overscroll-y": U()
|
|
509
510
|
}],
|
|
510
511
|
/**
|
|
511
512
|
* Position
|
|
@@ -517,63 +518,63 @@ const Le = (e, t) => {
|
|
|
517
518
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
518
519
|
*/
|
|
519
520
|
inset: [{
|
|
520
|
-
inset:
|
|
521
|
+
inset: R()
|
|
521
522
|
}],
|
|
522
523
|
/**
|
|
523
524
|
* Right / Left
|
|
524
525
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
525
526
|
*/
|
|
526
527
|
"inset-x": [{
|
|
527
|
-
"inset-x":
|
|
528
|
+
"inset-x": R()
|
|
528
529
|
}],
|
|
529
530
|
/**
|
|
530
531
|
* Top / Bottom
|
|
531
532
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
532
533
|
*/
|
|
533
534
|
"inset-y": [{
|
|
534
|
-
"inset-y":
|
|
535
|
+
"inset-y": R()
|
|
535
536
|
}],
|
|
536
537
|
/**
|
|
537
538
|
* Start
|
|
538
539
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
539
540
|
*/
|
|
540
541
|
start: [{
|
|
541
|
-
start:
|
|
542
|
+
start: R()
|
|
542
543
|
}],
|
|
543
544
|
/**
|
|
544
545
|
* End
|
|
545
546
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
546
547
|
*/
|
|
547
548
|
end: [{
|
|
548
|
-
end:
|
|
549
|
+
end: R()
|
|
549
550
|
}],
|
|
550
551
|
/**
|
|
551
552
|
* Top
|
|
552
553
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
553
554
|
*/
|
|
554
555
|
top: [{
|
|
555
|
-
top:
|
|
556
|
+
top: R()
|
|
556
557
|
}],
|
|
557
558
|
/**
|
|
558
559
|
* Right
|
|
559
560
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
560
561
|
*/
|
|
561
562
|
right: [{
|
|
562
|
-
right:
|
|
563
|
+
right: R()
|
|
563
564
|
}],
|
|
564
565
|
/**
|
|
565
566
|
* Bottom
|
|
566
567
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
567
568
|
*/
|
|
568
569
|
bottom: [{
|
|
569
|
-
bottom:
|
|
570
|
+
bottom: R()
|
|
570
571
|
}],
|
|
571
572
|
/**
|
|
572
573
|
* Left
|
|
573
574
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
574
575
|
*/
|
|
575
576
|
left: [{
|
|
576
|
-
left:
|
|
577
|
+
left: R()
|
|
577
578
|
}],
|
|
578
579
|
/**
|
|
579
580
|
* Visibility
|
|
@@ -585,7 +586,7 @@ const Le = (e, t) => {
|
|
|
585
586
|
* @see https://tailwindcss.com/docs/z-index
|
|
586
587
|
*/
|
|
587
588
|
z: [{
|
|
588
|
-
z: [
|
|
589
|
+
z: [M, "auto", a, n]
|
|
589
590
|
}],
|
|
590
591
|
// ------------------------
|
|
591
592
|
// --- Flexbox and Grid ---
|
|
@@ -595,7 +596,7 @@ const Le = (e, t) => {
|
|
|
595
596
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
596
597
|
*/
|
|
597
598
|
basis: [{
|
|
598
|
-
basis: [
|
|
599
|
+
basis: [O, "full", "auto", u, ...m()]
|
|
599
600
|
}],
|
|
600
601
|
/**
|
|
601
602
|
* Flex Direction
|
|
@@ -616,28 +617,28 @@ const Le = (e, t) => {
|
|
|
616
617
|
* @see https://tailwindcss.com/docs/flex
|
|
617
618
|
*/
|
|
618
619
|
flex: [{
|
|
619
|
-
flex: [p,
|
|
620
|
+
flex: [p, O, "auto", "initial", "none", n]
|
|
620
621
|
}],
|
|
621
622
|
/**
|
|
622
623
|
* Flex Grow
|
|
623
624
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
624
625
|
*/
|
|
625
626
|
grow: [{
|
|
626
|
-
grow: ["", p,
|
|
627
|
+
grow: ["", p, a, n]
|
|
627
628
|
}],
|
|
628
629
|
/**
|
|
629
630
|
* Flex Shrink
|
|
630
631
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
631
632
|
*/
|
|
632
633
|
shrink: [{
|
|
633
|
-
shrink: ["", p,
|
|
634
|
+
shrink: ["", p, a, n]
|
|
634
635
|
}],
|
|
635
636
|
/**
|
|
636
637
|
* Order
|
|
637
638
|
* @see https://tailwindcss.com/docs/order
|
|
638
639
|
*/
|
|
639
640
|
order: [{
|
|
640
|
-
order: [
|
|
641
|
+
order: [M, "first", "last", "none", a, n]
|
|
641
642
|
}],
|
|
642
643
|
/**
|
|
643
644
|
* Grid Template Columns
|
|
@@ -658,14 +659,14 @@ const Le = (e, t) => {
|
|
|
658
659
|
* @see https://tailwindcss.com/docs/grid-column
|
|
659
660
|
*/
|
|
660
661
|
"col-start": [{
|
|
661
|
-
"col-start":
|
|
662
|
+
"col-start": Y()
|
|
662
663
|
}],
|
|
663
664
|
/**
|
|
664
665
|
* Grid Column End
|
|
665
666
|
* @see https://tailwindcss.com/docs/grid-column
|
|
666
667
|
*/
|
|
667
668
|
"col-end": [{
|
|
668
|
-
"col-end":
|
|
669
|
+
"col-end": Y()
|
|
669
670
|
}],
|
|
670
671
|
/**
|
|
671
672
|
* Grid Template Rows
|
|
@@ -686,14 +687,14 @@ const Le = (e, t) => {
|
|
|
686
687
|
* @see https://tailwindcss.com/docs/grid-row
|
|
687
688
|
*/
|
|
688
689
|
"row-start": [{
|
|
689
|
-
"row-start":
|
|
690
|
+
"row-start": Y()
|
|
690
691
|
}],
|
|
691
692
|
/**
|
|
692
693
|
* Grid Row End
|
|
693
694
|
* @see https://tailwindcss.com/docs/grid-row
|
|
694
695
|
*/
|
|
695
696
|
"row-end": [{
|
|
696
|
-
"row-end":
|
|
697
|
+
"row-end": Y()
|
|
697
698
|
}],
|
|
698
699
|
/**
|
|
699
700
|
* Grid Auto Flow
|
|
@@ -742,35 +743,35 @@ const Le = (e, t) => {
|
|
|
742
743
|
* @see https://tailwindcss.com/docs/justify-content
|
|
743
744
|
*/
|
|
744
745
|
"justify-content": [{
|
|
745
|
-
justify: [...
|
|
746
|
+
justify: [...ee(), "normal"]
|
|
746
747
|
}],
|
|
747
748
|
/**
|
|
748
749
|
* Justify Items
|
|
749
750
|
* @see https://tailwindcss.com/docs/justify-items
|
|
750
751
|
*/
|
|
751
752
|
"justify-items": [{
|
|
752
|
-
"justify-items": [...
|
|
753
|
+
"justify-items": [...L(), "normal"]
|
|
753
754
|
}],
|
|
754
755
|
/**
|
|
755
756
|
* Justify Self
|
|
756
757
|
* @see https://tailwindcss.com/docs/justify-self
|
|
757
758
|
*/
|
|
758
759
|
"justify-self": [{
|
|
759
|
-
"justify-self": ["auto", ...
|
|
760
|
+
"justify-self": ["auto", ...L()]
|
|
760
761
|
}],
|
|
761
762
|
/**
|
|
762
763
|
* Align Content
|
|
763
764
|
* @see https://tailwindcss.com/docs/align-content
|
|
764
765
|
*/
|
|
765
766
|
"align-content": [{
|
|
766
|
-
content: ["normal", ...
|
|
767
|
+
content: ["normal", ...ee()]
|
|
767
768
|
}],
|
|
768
769
|
/**
|
|
769
770
|
* Align Items
|
|
770
771
|
* @see https://tailwindcss.com/docs/align-items
|
|
771
772
|
*/
|
|
772
773
|
"align-items": [{
|
|
773
|
-
items: [...
|
|
774
|
+
items: [...L(), {
|
|
774
775
|
baseline: ["", "last"]
|
|
775
776
|
}]
|
|
776
777
|
}],
|
|
@@ -779,7 +780,7 @@ const Le = (e, t) => {
|
|
|
779
780
|
* @see https://tailwindcss.com/docs/align-self
|
|
780
781
|
*/
|
|
781
782
|
"align-self": [{
|
|
782
|
-
self: ["auto", ...
|
|
783
|
+
self: ["auto", ...L(), {
|
|
783
784
|
baseline: ["", "last"]
|
|
784
785
|
}]
|
|
785
786
|
}],
|
|
@@ -788,21 +789,21 @@ const Le = (e, t) => {
|
|
|
788
789
|
* @see https://tailwindcss.com/docs/place-content
|
|
789
790
|
*/
|
|
790
791
|
"place-content": [{
|
|
791
|
-
"place-content":
|
|
792
|
+
"place-content": ee()
|
|
792
793
|
}],
|
|
793
794
|
/**
|
|
794
795
|
* Place Items
|
|
795
796
|
* @see https://tailwindcss.com/docs/place-items
|
|
796
797
|
*/
|
|
797
798
|
"place-items": [{
|
|
798
|
-
"place-items": [...
|
|
799
|
+
"place-items": [...L(), "baseline"]
|
|
799
800
|
}],
|
|
800
801
|
/**
|
|
801
802
|
* Place Self
|
|
802
803
|
* @see https://tailwindcss.com/docs/place-self
|
|
803
804
|
*/
|
|
804
805
|
"place-self": [{
|
|
805
|
-
"place-self": ["auto", ...
|
|
806
|
+
"place-self": ["auto", ...L()]
|
|
806
807
|
}],
|
|
807
808
|
// Spacing
|
|
808
809
|
/**
|
|
@@ -873,63 +874,63 @@ const Le = (e, t) => {
|
|
|
873
874
|
* @see https://tailwindcss.com/docs/margin
|
|
874
875
|
*/
|
|
875
876
|
m: [{
|
|
876
|
-
m:
|
|
877
|
+
m: _()
|
|
877
878
|
}],
|
|
878
879
|
/**
|
|
879
880
|
* Margin X
|
|
880
881
|
* @see https://tailwindcss.com/docs/margin
|
|
881
882
|
*/
|
|
882
883
|
mx: [{
|
|
883
|
-
mx:
|
|
884
|
+
mx: _()
|
|
884
885
|
}],
|
|
885
886
|
/**
|
|
886
887
|
* Margin Y
|
|
887
888
|
* @see https://tailwindcss.com/docs/margin
|
|
888
889
|
*/
|
|
889
890
|
my: [{
|
|
890
|
-
my:
|
|
891
|
+
my: _()
|
|
891
892
|
}],
|
|
892
893
|
/**
|
|
893
894
|
* Margin Start
|
|
894
895
|
* @see https://tailwindcss.com/docs/margin
|
|
895
896
|
*/
|
|
896
897
|
ms: [{
|
|
897
|
-
ms:
|
|
898
|
+
ms: _()
|
|
898
899
|
}],
|
|
899
900
|
/**
|
|
900
901
|
* Margin End
|
|
901
902
|
* @see https://tailwindcss.com/docs/margin
|
|
902
903
|
*/
|
|
903
904
|
me: [{
|
|
904
|
-
me:
|
|
905
|
+
me: _()
|
|
905
906
|
}],
|
|
906
907
|
/**
|
|
907
908
|
* Margin Top
|
|
908
909
|
* @see https://tailwindcss.com/docs/margin
|
|
909
910
|
*/
|
|
910
911
|
mt: [{
|
|
911
|
-
mt:
|
|
912
|
+
mt: _()
|
|
912
913
|
}],
|
|
913
914
|
/**
|
|
914
915
|
* Margin Right
|
|
915
916
|
* @see https://tailwindcss.com/docs/margin
|
|
916
917
|
*/
|
|
917
918
|
mr: [{
|
|
918
|
-
mr:
|
|
919
|
+
mr: _()
|
|
919
920
|
}],
|
|
920
921
|
/**
|
|
921
922
|
* Margin Bottom
|
|
922
923
|
* @see https://tailwindcss.com/docs/margin
|
|
923
924
|
*/
|
|
924
925
|
mb: [{
|
|
925
|
-
mb:
|
|
926
|
+
mb: _()
|
|
926
927
|
}],
|
|
927
928
|
/**
|
|
928
929
|
* Margin Left
|
|
929
930
|
* @see https://tailwindcss.com/docs/margin
|
|
930
931
|
*/
|
|
931
932
|
ml: [{
|
|
932
|
-
ml:
|
|
933
|
+
ml: _()
|
|
933
934
|
}],
|
|
934
935
|
/**
|
|
935
936
|
* Space Between X
|
|
@@ -963,14 +964,14 @@ const Le = (e, t) => {
|
|
|
963
964
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
964
965
|
*/
|
|
965
966
|
size: [{
|
|
966
|
-
size:
|
|
967
|
+
size: G()
|
|
967
968
|
}],
|
|
968
969
|
/**
|
|
969
970
|
* Width
|
|
970
971
|
* @see https://tailwindcss.com/docs/width
|
|
971
972
|
*/
|
|
972
973
|
w: [{
|
|
973
|
-
w: [u, "screen", ...
|
|
974
|
+
w: [u, "screen", ...G()]
|
|
974
975
|
}],
|
|
975
976
|
/**
|
|
976
977
|
* Min-Width
|
|
@@ -982,7 +983,7 @@ const Le = (e, t) => {
|
|
|
982
983
|
"screen",
|
|
983
984
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
984
985
|
"none",
|
|
985
|
-
...
|
|
986
|
+
...G()
|
|
986
987
|
]
|
|
987
988
|
}],
|
|
988
989
|
/**
|
|
@@ -1000,7 +1001,7 @@ const Le = (e, t) => {
|
|
|
1000
1001
|
{
|
|
1001
1002
|
screen: [l]
|
|
1002
1003
|
},
|
|
1003
|
-
...
|
|
1004
|
+
...G()
|
|
1004
1005
|
]
|
|
1005
1006
|
}],
|
|
1006
1007
|
/**
|
|
@@ -1008,21 +1009,21 @@ const Le = (e, t) => {
|
|
|
1008
1009
|
* @see https://tailwindcss.com/docs/height
|
|
1009
1010
|
*/
|
|
1010
1011
|
h: [{
|
|
1011
|
-
h: ["screen", "lh", ...
|
|
1012
|
+
h: ["screen", "lh", ...G()]
|
|
1012
1013
|
}],
|
|
1013
1014
|
/**
|
|
1014
1015
|
* Min-Height
|
|
1015
1016
|
* @see https://tailwindcss.com/docs/min-height
|
|
1016
1017
|
*/
|
|
1017
1018
|
"min-h": [{
|
|
1018
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1019
|
+
"min-h": ["screen", "lh", "none", ...G()]
|
|
1019
1020
|
}],
|
|
1020
1021
|
/**
|
|
1021
1022
|
* Max-Height
|
|
1022
1023
|
* @see https://tailwindcss.com/docs/max-height
|
|
1023
1024
|
*/
|
|
1024
1025
|
"max-h": [{
|
|
1025
|
-
"max-h": ["screen", "lh", ...
|
|
1026
|
+
"max-h": ["screen", "lh", ...G()]
|
|
1026
1027
|
}],
|
|
1027
1028
|
// ------------------
|
|
1028
1029
|
// --- Typography ---
|
|
@@ -1032,7 +1033,7 @@ const Le = (e, t) => {
|
|
|
1032
1033
|
* @see https://tailwindcss.com/docs/font-size
|
|
1033
1034
|
*/
|
|
1034
1035
|
"font-size": [{
|
|
1035
|
-
text: ["base", r,
|
|
1036
|
+
text: ["base", r, $, T]
|
|
1036
1037
|
}],
|
|
1037
1038
|
/**
|
|
1038
1039
|
* Font Smoothing
|
|
@@ -1049,21 +1050,21 @@ const Le = (e, t) => {
|
|
|
1049
1050
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1050
1051
|
*/
|
|
1051
1052
|
"font-weight": [{
|
|
1052
|
-
font: [o,
|
|
1053
|
+
font: [o, a, se]
|
|
1053
1054
|
}],
|
|
1054
1055
|
/**
|
|
1055
1056
|
* Font Stretch
|
|
1056
1057
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1057
1058
|
*/
|
|
1058
1059
|
"font-stretch": [{
|
|
1059
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1060
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", te, n]
|
|
1060
1061
|
}],
|
|
1061
1062
|
/**
|
|
1062
1063
|
* Font Family
|
|
1063
1064
|
* @see https://tailwindcss.com/docs/font-family
|
|
1064
1065
|
*/
|
|
1065
1066
|
"font-family": [{
|
|
1066
|
-
font: [
|
|
1067
|
+
font: [wo, n, t]
|
|
1067
1068
|
}],
|
|
1068
1069
|
/**
|
|
1069
1070
|
* Font Variant Numeric
|
|
@@ -1100,14 +1101,14 @@ const Le = (e, t) => {
|
|
|
1100
1101
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1101
1102
|
*/
|
|
1102
1103
|
tracking: [{
|
|
1103
|
-
tracking: [a, n
|
|
1104
|
+
tracking: [s, a, n]
|
|
1104
1105
|
}],
|
|
1105
1106
|
/**
|
|
1106
1107
|
* Line Clamp
|
|
1107
1108
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1108
1109
|
*/
|
|
1109
1110
|
"line-clamp": [{
|
|
1110
|
-
"line-clamp": [p, "none",
|
|
1111
|
+
"line-clamp": [p, "none", a, se]
|
|
1111
1112
|
}],
|
|
1112
1113
|
/**
|
|
1113
1114
|
* Line Height
|
|
@@ -1116,7 +1117,7 @@ const Le = (e, t) => {
|
|
|
1116
1117
|
leading: [{
|
|
1117
1118
|
leading: [
|
|
1118
1119
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1119
|
-
|
|
1120
|
+
i,
|
|
1120
1121
|
...m()
|
|
1121
1122
|
]
|
|
1122
1123
|
}],
|
|
@@ -1125,7 +1126,7 @@ const Le = (e, t) => {
|
|
|
1125
1126
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1126
1127
|
*/
|
|
1127
1128
|
"list-image": [{
|
|
1128
|
-
"list-image": ["none",
|
|
1129
|
+
"list-image": ["none", a, n]
|
|
1129
1130
|
}],
|
|
1130
1131
|
/**
|
|
1131
1132
|
* List Style Position
|
|
@@ -1139,7 +1140,7 @@ const Le = (e, t) => {
|
|
|
1139
1140
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1140
1141
|
*/
|
|
1141
1142
|
"list-style-type": [{
|
|
1142
|
-
list: ["disc", "decimal", "none",
|
|
1143
|
+
list: ["disc", "decimal", "none", a, n]
|
|
1143
1144
|
}],
|
|
1144
1145
|
/**
|
|
1145
1146
|
* Text Alignment
|
|
@@ -1154,14 +1155,14 @@ const Le = (e, t) => {
|
|
|
1154
1155
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1155
1156
|
*/
|
|
1156
1157
|
"placeholder-color": [{
|
|
1157
|
-
placeholder:
|
|
1158
|
+
placeholder: d()
|
|
1158
1159
|
}],
|
|
1159
1160
|
/**
|
|
1160
1161
|
* Text Color
|
|
1161
1162
|
* @see https://tailwindcss.com/docs/text-color
|
|
1162
1163
|
*/
|
|
1163
1164
|
"text-color": [{
|
|
1164
|
-
text:
|
|
1165
|
+
text: d()
|
|
1165
1166
|
}],
|
|
1166
1167
|
/**
|
|
1167
1168
|
* Text Decoration
|
|
@@ -1173,28 +1174,28 @@ const Le = (e, t) => {
|
|
|
1173
1174
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1174
1175
|
*/
|
|
1175
1176
|
"text-decoration-style": [{
|
|
1176
|
-
decoration: [...
|
|
1177
|
+
decoration: [...q(), "wavy"]
|
|
1177
1178
|
}],
|
|
1178
1179
|
/**
|
|
1179
1180
|
* Text Decoration Thickness
|
|
1180
1181
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1181
1182
|
*/
|
|
1182
1183
|
"text-decoration-thickness": [{
|
|
1183
|
-
decoration: [p, "from-font", "auto",
|
|
1184
|
+
decoration: [p, "from-font", "auto", a, T]
|
|
1184
1185
|
}],
|
|
1185
1186
|
/**
|
|
1186
1187
|
* Text Decoration Color
|
|
1187
1188
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1188
1189
|
*/
|
|
1189
1190
|
"text-decoration-color": [{
|
|
1190
|
-
decoration:
|
|
1191
|
+
decoration: d()
|
|
1191
1192
|
}],
|
|
1192
1193
|
/**
|
|
1193
1194
|
* Text Underline Offset
|
|
1194
1195
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1195
1196
|
*/
|
|
1196
1197
|
"underline-offset": [{
|
|
1197
|
-
"underline-offset": [p, "auto",
|
|
1198
|
+
"underline-offset": [p, "auto", a, n]
|
|
1198
1199
|
}],
|
|
1199
1200
|
/**
|
|
1200
1201
|
* Text Transform
|
|
@@ -1225,7 +1226,7 @@ const Le = (e, t) => {
|
|
|
1225
1226
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1226
1227
|
*/
|
|
1227
1228
|
"vertical-align": [{
|
|
1228
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1229
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", a, n]
|
|
1229
1230
|
}],
|
|
1230
1231
|
/**
|
|
1231
1232
|
* Whitespace
|
|
@@ -1260,7 +1261,7 @@ const Le = (e, t) => {
|
|
|
1260
1261
|
* @see https://tailwindcss.com/docs/content
|
|
1261
1262
|
*/
|
|
1262
1263
|
content: [{
|
|
1263
|
-
content: ["none",
|
|
1264
|
+
content: ["none", a, n]
|
|
1264
1265
|
}],
|
|
1265
1266
|
// -------------------
|
|
1266
1267
|
// --- Backgrounds ---
|
|
@@ -1315,59 +1316,59 @@ const Le = (e, t) => {
|
|
|
1315
1316
|
bg: ["none", {
|
|
1316
1317
|
linear: [{
|
|
1317
1318
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1318
|
-
},
|
|
1319
|
-
radial: ["",
|
|
1320
|
-
conic: [
|
|
1321
|
-
},
|
|
1319
|
+
}, M, a, n],
|
|
1320
|
+
radial: ["", a, n],
|
|
1321
|
+
conic: [M, a, n]
|
|
1322
|
+
}, yo, xo]
|
|
1322
1323
|
}],
|
|
1323
1324
|
/**
|
|
1324
1325
|
* Background Color
|
|
1325
1326
|
* @see https://tailwindcss.com/docs/background-color
|
|
1326
1327
|
*/
|
|
1327
1328
|
"bg-color": [{
|
|
1328
|
-
bg:
|
|
1329
|
+
bg: d()
|
|
1329
1330
|
}],
|
|
1330
1331
|
/**
|
|
1331
1332
|
* Gradient Color Stops From Position
|
|
1332
1333
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1333
1334
|
*/
|
|
1334
1335
|
"gradient-from-pos": [{
|
|
1335
|
-
from:
|
|
1336
|
+
from: oe()
|
|
1336
1337
|
}],
|
|
1337
1338
|
/**
|
|
1338
1339
|
* Gradient Color Stops Via Position
|
|
1339
1340
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1340
1341
|
*/
|
|
1341
1342
|
"gradient-via-pos": [{
|
|
1342
|
-
via:
|
|
1343
|
+
via: oe()
|
|
1343
1344
|
}],
|
|
1344
1345
|
/**
|
|
1345
1346
|
* Gradient Color Stops To Position
|
|
1346
1347
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1347
1348
|
*/
|
|
1348
1349
|
"gradient-to-pos": [{
|
|
1349
|
-
to:
|
|
1350
|
+
to: oe()
|
|
1350
1351
|
}],
|
|
1351
1352
|
/**
|
|
1352
1353
|
* Gradient Color Stops From
|
|
1353
1354
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1354
1355
|
*/
|
|
1355
1356
|
"gradient-from": [{
|
|
1356
|
-
from:
|
|
1357
|
+
from: d()
|
|
1357
1358
|
}],
|
|
1358
1359
|
/**
|
|
1359
1360
|
* Gradient Color Stops Via
|
|
1360
1361
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1361
1362
|
*/
|
|
1362
1363
|
"gradient-via": [{
|
|
1363
|
-
via:
|
|
1364
|
+
via: d()
|
|
1364
1365
|
}],
|
|
1365
1366
|
/**
|
|
1366
1367
|
* Gradient Color Stops To
|
|
1367
1368
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1368
1369
|
*/
|
|
1369
1370
|
"gradient-to": [{
|
|
1370
|
-
to:
|
|
1371
|
+
to: d()
|
|
1371
1372
|
}],
|
|
1372
1373
|
// ---------------
|
|
1373
1374
|
// --- Borders ---
|
|
@@ -1482,70 +1483,70 @@ const Le = (e, t) => {
|
|
|
1482
1483
|
* @see https://tailwindcss.com/docs/border-width
|
|
1483
1484
|
*/
|
|
1484
1485
|
"border-w": [{
|
|
1485
|
-
border:
|
|
1486
|
+
border: v()
|
|
1486
1487
|
}],
|
|
1487
1488
|
/**
|
|
1488
1489
|
* Border Width X
|
|
1489
1490
|
* @see https://tailwindcss.com/docs/border-width
|
|
1490
1491
|
*/
|
|
1491
1492
|
"border-w-x": [{
|
|
1492
|
-
"border-x":
|
|
1493
|
+
"border-x": v()
|
|
1493
1494
|
}],
|
|
1494
1495
|
/**
|
|
1495
1496
|
* Border Width Y
|
|
1496
1497
|
* @see https://tailwindcss.com/docs/border-width
|
|
1497
1498
|
*/
|
|
1498
1499
|
"border-w-y": [{
|
|
1499
|
-
"border-y":
|
|
1500
|
+
"border-y": v()
|
|
1500
1501
|
}],
|
|
1501
1502
|
/**
|
|
1502
1503
|
* Border Width Start
|
|
1503
1504
|
* @see https://tailwindcss.com/docs/border-width
|
|
1504
1505
|
*/
|
|
1505
1506
|
"border-w-s": [{
|
|
1506
|
-
"border-s":
|
|
1507
|
+
"border-s": v()
|
|
1507
1508
|
}],
|
|
1508
1509
|
/**
|
|
1509
1510
|
* Border Width End
|
|
1510
1511
|
* @see https://tailwindcss.com/docs/border-width
|
|
1511
1512
|
*/
|
|
1512
1513
|
"border-w-e": [{
|
|
1513
|
-
"border-e":
|
|
1514
|
+
"border-e": v()
|
|
1514
1515
|
}],
|
|
1515
1516
|
/**
|
|
1516
1517
|
* Border Width Top
|
|
1517
1518
|
* @see https://tailwindcss.com/docs/border-width
|
|
1518
1519
|
*/
|
|
1519
1520
|
"border-w-t": [{
|
|
1520
|
-
"border-t":
|
|
1521
|
+
"border-t": v()
|
|
1521
1522
|
}],
|
|
1522
1523
|
/**
|
|
1523
1524
|
* Border Width Right
|
|
1524
1525
|
* @see https://tailwindcss.com/docs/border-width
|
|
1525
1526
|
*/
|
|
1526
1527
|
"border-w-r": [{
|
|
1527
|
-
"border-r":
|
|
1528
|
+
"border-r": v()
|
|
1528
1529
|
}],
|
|
1529
1530
|
/**
|
|
1530
1531
|
* Border Width Bottom
|
|
1531
1532
|
* @see https://tailwindcss.com/docs/border-width
|
|
1532
1533
|
*/
|
|
1533
1534
|
"border-w-b": [{
|
|
1534
|
-
"border-b":
|
|
1535
|
+
"border-b": v()
|
|
1535
1536
|
}],
|
|
1536
1537
|
/**
|
|
1537
1538
|
* Border Width Left
|
|
1538
1539
|
* @see https://tailwindcss.com/docs/border-width
|
|
1539
1540
|
*/
|
|
1540
1541
|
"border-w-l": [{
|
|
1541
|
-
"border-l":
|
|
1542
|
+
"border-l": v()
|
|
1542
1543
|
}],
|
|
1543
1544
|
/**
|
|
1544
1545
|
* Divide Width X
|
|
1545
1546
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1546
1547
|
*/
|
|
1547
1548
|
"divide-x": [{
|
|
1548
|
-
"divide-x":
|
|
1549
|
+
"divide-x": v()
|
|
1549
1550
|
}],
|
|
1550
1551
|
/**
|
|
1551
1552
|
* Divide Width X Reverse
|
|
@@ -1557,7 +1558,7 @@ const Le = (e, t) => {
|
|
|
1557
1558
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1558
1559
|
*/
|
|
1559
1560
|
"divide-y": [{
|
|
1560
|
-
"divide-y":
|
|
1561
|
+
"divide-y": v()
|
|
1561
1562
|
}],
|
|
1562
1563
|
/**
|
|
1563
1564
|
* Divide Width Y Reverse
|
|
@@ -1569,112 +1570,112 @@ const Le = (e, t) => {
|
|
|
1569
1570
|
* @see https://tailwindcss.com/docs/border-style
|
|
1570
1571
|
*/
|
|
1571
1572
|
"border-style": [{
|
|
1572
|
-
border: [...
|
|
1573
|
+
border: [...q(), "hidden", "none"]
|
|
1573
1574
|
}],
|
|
1574
1575
|
/**
|
|
1575
1576
|
* Divide Style
|
|
1576
1577
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1577
1578
|
*/
|
|
1578
1579
|
"divide-style": [{
|
|
1579
|
-
divide: [...
|
|
1580
|
+
divide: [...q(), "hidden", "none"]
|
|
1580
1581
|
}],
|
|
1581
1582
|
/**
|
|
1582
1583
|
* Border Color
|
|
1583
1584
|
* @see https://tailwindcss.com/docs/border-color
|
|
1584
1585
|
*/
|
|
1585
1586
|
"border-color": [{
|
|
1586
|
-
border:
|
|
1587
|
+
border: d()
|
|
1587
1588
|
}],
|
|
1588
1589
|
/**
|
|
1589
1590
|
* Border Color X
|
|
1590
1591
|
* @see https://tailwindcss.com/docs/border-color
|
|
1591
1592
|
*/
|
|
1592
1593
|
"border-color-x": [{
|
|
1593
|
-
"border-x":
|
|
1594
|
+
"border-x": d()
|
|
1594
1595
|
}],
|
|
1595
1596
|
/**
|
|
1596
1597
|
* Border Color Y
|
|
1597
1598
|
* @see https://tailwindcss.com/docs/border-color
|
|
1598
1599
|
*/
|
|
1599
1600
|
"border-color-y": [{
|
|
1600
|
-
"border-y":
|
|
1601
|
+
"border-y": d()
|
|
1601
1602
|
}],
|
|
1602
1603
|
/**
|
|
1603
1604
|
* Border Color S
|
|
1604
1605
|
* @see https://tailwindcss.com/docs/border-color
|
|
1605
1606
|
*/
|
|
1606
1607
|
"border-color-s": [{
|
|
1607
|
-
"border-s":
|
|
1608
|
+
"border-s": d()
|
|
1608
1609
|
}],
|
|
1609
1610
|
/**
|
|
1610
1611
|
* Border Color E
|
|
1611
1612
|
* @see https://tailwindcss.com/docs/border-color
|
|
1612
1613
|
*/
|
|
1613
1614
|
"border-color-e": [{
|
|
1614
|
-
"border-e":
|
|
1615
|
+
"border-e": d()
|
|
1615
1616
|
}],
|
|
1616
1617
|
/**
|
|
1617
1618
|
* Border Color Top
|
|
1618
1619
|
* @see https://tailwindcss.com/docs/border-color
|
|
1619
1620
|
*/
|
|
1620
1621
|
"border-color-t": [{
|
|
1621
|
-
"border-t":
|
|
1622
|
+
"border-t": d()
|
|
1622
1623
|
}],
|
|
1623
1624
|
/**
|
|
1624
1625
|
* Border Color Right
|
|
1625
1626
|
* @see https://tailwindcss.com/docs/border-color
|
|
1626
1627
|
*/
|
|
1627
1628
|
"border-color-r": [{
|
|
1628
|
-
"border-r":
|
|
1629
|
+
"border-r": d()
|
|
1629
1630
|
}],
|
|
1630
1631
|
/**
|
|
1631
1632
|
* Border Color Bottom
|
|
1632
1633
|
* @see https://tailwindcss.com/docs/border-color
|
|
1633
1634
|
*/
|
|
1634
1635
|
"border-color-b": [{
|
|
1635
|
-
"border-b":
|
|
1636
|
+
"border-b": d()
|
|
1636
1637
|
}],
|
|
1637
1638
|
/**
|
|
1638
1639
|
* Border Color Left
|
|
1639
1640
|
* @see https://tailwindcss.com/docs/border-color
|
|
1640
1641
|
*/
|
|
1641
1642
|
"border-color-l": [{
|
|
1642
|
-
"border-l":
|
|
1643
|
+
"border-l": d()
|
|
1643
1644
|
}],
|
|
1644
1645
|
/**
|
|
1645
1646
|
* Divide Color
|
|
1646
1647
|
* @see https://tailwindcss.com/docs/divide-color
|
|
1647
1648
|
*/
|
|
1648
1649
|
"divide-color": [{
|
|
1649
|
-
divide:
|
|
1650
|
+
divide: d()
|
|
1650
1651
|
}],
|
|
1651
1652
|
/**
|
|
1652
1653
|
* Outline Style
|
|
1653
1654
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1654
1655
|
*/
|
|
1655
1656
|
"outline-style": [{
|
|
1656
|
-
outline: [...
|
|
1657
|
+
outline: [...q(), "none", "hidden"]
|
|
1657
1658
|
}],
|
|
1658
1659
|
/**
|
|
1659
1660
|
* Outline Offset
|
|
1660
1661
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1661
1662
|
*/
|
|
1662
1663
|
"outline-offset": [{
|
|
1663
|
-
"outline-offset": [p,
|
|
1664
|
+
"outline-offset": [p, a, n]
|
|
1664
1665
|
}],
|
|
1665
1666
|
/**
|
|
1666
1667
|
* Outline Width
|
|
1667
1668
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1668
1669
|
*/
|
|
1669
1670
|
"outline-w": [{
|
|
1670
|
-
outline: ["", p,
|
|
1671
|
+
outline: ["", p, $, T]
|
|
1671
1672
|
}],
|
|
1672
1673
|
/**
|
|
1673
1674
|
* Outline Color
|
|
1674
1675
|
* @see https://tailwindcss.com/docs/outline-color
|
|
1675
1676
|
*/
|
|
1676
1677
|
"outline-color": [{
|
|
1677
|
-
outline:
|
|
1678
|
+
outline: d()
|
|
1678
1679
|
}],
|
|
1679
1680
|
// ---------------
|
|
1680
1681
|
// --- Effects ---
|
|
@@ -1689,8 +1690,8 @@ const Le = (e, t) => {
|
|
|
1689
1690
|
"",
|
|
1690
1691
|
"none",
|
|
1691
1692
|
b,
|
|
1692
|
-
|
|
1693
|
-
|
|
1693
|
+
Q,
|
|
1694
|
+
K
|
|
1694
1695
|
]
|
|
1695
1696
|
}],
|
|
1696
1697
|
/**
|
|
@@ -1698,28 +1699,28 @@ const Le = (e, t) => {
|
|
|
1698
1699
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
1699
1700
|
*/
|
|
1700
1701
|
"shadow-color": [{
|
|
1701
|
-
shadow:
|
|
1702
|
+
shadow: d()
|
|
1702
1703
|
}],
|
|
1703
1704
|
/**
|
|
1704
1705
|
* Inset Box Shadow
|
|
1705
1706
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1706
1707
|
*/
|
|
1707
1708
|
"inset-shadow": [{
|
|
1708
|
-
"inset-shadow": ["none",
|
|
1709
|
+
"inset-shadow": ["none", w, Q, K]
|
|
1709
1710
|
}],
|
|
1710
1711
|
/**
|
|
1711
1712
|
* Inset Box Shadow Color
|
|
1712
1713
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
1713
1714
|
*/
|
|
1714
1715
|
"inset-shadow-color": [{
|
|
1715
|
-
"inset-shadow":
|
|
1716
|
+
"inset-shadow": d()
|
|
1716
1717
|
}],
|
|
1717
1718
|
/**
|
|
1718
1719
|
* Ring Width
|
|
1719
1720
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1720
1721
|
*/
|
|
1721
1722
|
"ring-w": [{
|
|
1722
|
-
ring:
|
|
1723
|
+
ring: v()
|
|
1723
1724
|
}],
|
|
1724
1725
|
/**
|
|
1725
1726
|
* Ring Width Inset
|
|
@@ -1733,7 +1734,7 @@ const Le = (e, t) => {
|
|
|
1733
1734
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
1734
1735
|
*/
|
|
1735
1736
|
"ring-color": [{
|
|
1736
|
-
ring:
|
|
1737
|
+
ring: d()
|
|
1737
1738
|
}],
|
|
1738
1739
|
/**
|
|
1739
1740
|
* Ring Offset Width
|
|
@@ -1742,7 +1743,7 @@ const Le = (e, t) => {
|
|
|
1742
1743
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1743
1744
|
*/
|
|
1744
1745
|
"ring-offset-w": [{
|
|
1745
|
-
"ring-offset": [p,
|
|
1746
|
+
"ring-offset": [p, T]
|
|
1746
1747
|
}],
|
|
1747
1748
|
/**
|
|
1748
1749
|
* Ring Offset Color
|
|
@@ -1751,42 +1752,42 @@ const Le = (e, t) => {
|
|
|
1751
1752
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1752
1753
|
*/
|
|
1753
1754
|
"ring-offset-color": [{
|
|
1754
|
-
"ring-offset":
|
|
1755
|
+
"ring-offset": d()
|
|
1755
1756
|
}],
|
|
1756
1757
|
/**
|
|
1757
1758
|
* Inset Ring Width
|
|
1758
1759
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
1759
1760
|
*/
|
|
1760
1761
|
"inset-ring-w": [{
|
|
1761
|
-
"inset-ring":
|
|
1762
|
+
"inset-ring": v()
|
|
1762
1763
|
}],
|
|
1763
1764
|
/**
|
|
1764
1765
|
* Inset Ring Color
|
|
1765
1766
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
1766
1767
|
*/
|
|
1767
1768
|
"inset-ring-color": [{
|
|
1768
|
-
"inset-ring":
|
|
1769
|
+
"inset-ring": d()
|
|
1769
1770
|
}],
|
|
1770
1771
|
/**
|
|
1771
1772
|
* Text Shadow
|
|
1772
1773
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
1773
1774
|
*/
|
|
1774
1775
|
"text-shadow": [{
|
|
1775
|
-
"text-shadow": ["none", C,
|
|
1776
|
+
"text-shadow": ["none", C, Q, K]
|
|
1776
1777
|
}],
|
|
1777
1778
|
/**
|
|
1778
1779
|
* Text Shadow Color
|
|
1779
1780
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
1780
1781
|
*/
|
|
1781
1782
|
"text-shadow-color": [{
|
|
1782
|
-
"text-shadow":
|
|
1783
|
+
"text-shadow": d()
|
|
1783
1784
|
}],
|
|
1784
1785
|
/**
|
|
1785
1786
|
* Opacity
|
|
1786
1787
|
* @see https://tailwindcss.com/docs/opacity
|
|
1787
1788
|
*/
|
|
1788
1789
|
opacity: [{
|
|
1789
|
-
opacity: [p,
|
|
1790
|
+
opacity: [p, a, n]
|
|
1790
1791
|
}],
|
|
1791
1792
|
/**
|
|
1792
1793
|
* Mix Blend Mode
|
|
@@ -1830,10 +1831,10 @@ const Le = (e, t) => {
|
|
|
1830
1831
|
"mask-linear-to": h()
|
|
1831
1832
|
}],
|
|
1832
1833
|
"mask-image-linear-from-color": [{
|
|
1833
|
-
"mask-linear-from":
|
|
1834
|
+
"mask-linear-from": d()
|
|
1834
1835
|
}],
|
|
1835
1836
|
"mask-image-linear-to-color": [{
|
|
1836
|
-
"mask-linear-to":
|
|
1837
|
+
"mask-linear-to": d()
|
|
1837
1838
|
}],
|
|
1838
1839
|
"mask-image-t-from-pos": [{
|
|
1839
1840
|
"mask-t-from": h()
|
|
@@ -1842,10 +1843,10 @@ const Le = (e, t) => {
|
|
|
1842
1843
|
"mask-t-to": h()
|
|
1843
1844
|
}],
|
|
1844
1845
|
"mask-image-t-from-color": [{
|
|
1845
|
-
"mask-t-from":
|
|
1846
|
+
"mask-t-from": d()
|
|
1846
1847
|
}],
|
|
1847
1848
|
"mask-image-t-to-color": [{
|
|
1848
|
-
"mask-t-to":
|
|
1849
|
+
"mask-t-to": d()
|
|
1849
1850
|
}],
|
|
1850
1851
|
"mask-image-r-from-pos": [{
|
|
1851
1852
|
"mask-r-from": h()
|
|
@@ -1854,10 +1855,10 @@ const Le = (e, t) => {
|
|
|
1854
1855
|
"mask-r-to": h()
|
|
1855
1856
|
}],
|
|
1856
1857
|
"mask-image-r-from-color": [{
|
|
1857
|
-
"mask-r-from":
|
|
1858
|
+
"mask-r-from": d()
|
|
1858
1859
|
}],
|
|
1859
1860
|
"mask-image-r-to-color": [{
|
|
1860
|
-
"mask-r-to":
|
|
1861
|
+
"mask-r-to": d()
|
|
1861
1862
|
}],
|
|
1862
1863
|
"mask-image-b-from-pos": [{
|
|
1863
1864
|
"mask-b-from": h()
|
|
@@ -1866,10 +1867,10 @@ const Le = (e, t) => {
|
|
|
1866
1867
|
"mask-b-to": h()
|
|
1867
1868
|
}],
|
|
1868
1869
|
"mask-image-b-from-color": [{
|
|
1869
|
-
"mask-b-from":
|
|
1870
|
+
"mask-b-from": d()
|
|
1870
1871
|
}],
|
|
1871
1872
|
"mask-image-b-to-color": [{
|
|
1872
|
-
"mask-b-to":
|
|
1873
|
+
"mask-b-to": d()
|
|
1873
1874
|
}],
|
|
1874
1875
|
"mask-image-l-from-pos": [{
|
|
1875
1876
|
"mask-l-from": h()
|
|
@@ -1878,10 +1879,10 @@ const Le = (e, t) => {
|
|
|
1878
1879
|
"mask-l-to": h()
|
|
1879
1880
|
}],
|
|
1880
1881
|
"mask-image-l-from-color": [{
|
|
1881
|
-
"mask-l-from":
|
|
1882
|
+
"mask-l-from": d()
|
|
1882
1883
|
}],
|
|
1883
1884
|
"mask-image-l-to-color": [{
|
|
1884
|
-
"mask-l-to":
|
|
1885
|
+
"mask-l-to": d()
|
|
1885
1886
|
}],
|
|
1886
1887
|
"mask-image-x-from-pos": [{
|
|
1887
1888
|
"mask-x-from": h()
|
|
@@ -1890,10 +1891,10 @@ const Le = (e, t) => {
|
|
|
1890
1891
|
"mask-x-to": h()
|
|
1891
1892
|
}],
|
|
1892
1893
|
"mask-image-x-from-color": [{
|
|
1893
|
-
"mask-x-from":
|
|
1894
|
+
"mask-x-from": d()
|
|
1894
1895
|
}],
|
|
1895
1896
|
"mask-image-x-to-color": [{
|
|
1896
|
-
"mask-x-to":
|
|
1897
|
+
"mask-x-to": d()
|
|
1897
1898
|
}],
|
|
1898
1899
|
"mask-image-y-from-pos": [{
|
|
1899
1900
|
"mask-y-from": h()
|
|
@@ -1902,13 +1903,13 @@ const Le = (e, t) => {
|
|
|
1902
1903
|
"mask-y-to": h()
|
|
1903
1904
|
}],
|
|
1904
1905
|
"mask-image-y-from-color": [{
|
|
1905
|
-
"mask-y-from":
|
|
1906
|
+
"mask-y-from": d()
|
|
1906
1907
|
}],
|
|
1907
1908
|
"mask-image-y-to-color": [{
|
|
1908
|
-
"mask-y-to":
|
|
1909
|
+
"mask-y-to": d()
|
|
1909
1910
|
}],
|
|
1910
1911
|
"mask-image-radial": [{
|
|
1911
|
-
"mask-radial": [
|
|
1912
|
+
"mask-radial": [a, n]
|
|
1912
1913
|
}],
|
|
1913
1914
|
"mask-image-radial-from-pos": [{
|
|
1914
1915
|
"mask-radial-from": h()
|
|
@@ -1917,10 +1918,10 @@ const Le = (e, t) => {
|
|
|
1917
1918
|
"mask-radial-to": h()
|
|
1918
1919
|
}],
|
|
1919
1920
|
"mask-image-radial-from-color": [{
|
|
1920
|
-
"mask-radial-from":
|
|
1921
|
+
"mask-radial-from": d()
|
|
1921
1922
|
}],
|
|
1922
1923
|
"mask-image-radial-to-color": [{
|
|
1923
|
-
"mask-radial-to":
|
|
1924
|
+
"mask-radial-to": d()
|
|
1924
1925
|
}],
|
|
1925
1926
|
"mask-image-radial-shape": [{
|
|
1926
1927
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -1932,7 +1933,7 @@ const Le = (e, t) => {
|
|
|
1932
1933
|
}]
|
|
1933
1934
|
}],
|
|
1934
1935
|
"mask-image-radial-pos": [{
|
|
1935
|
-
"mask-radial-at":
|
|
1936
|
+
"mask-radial-at": j()
|
|
1936
1937
|
}],
|
|
1937
1938
|
"mask-image-conic-pos": [{
|
|
1938
1939
|
"mask-conic": [p]
|
|
@@ -1944,10 +1945,10 @@ const Le = (e, t) => {
|
|
|
1944
1945
|
"mask-conic-to": h()
|
|
1945
1946
|
}],
|
|
1946
1947
|
"mask-image-conic-from-color": [{
|
|
1947
|
-
"mask-conic-from":
|
|
1948
|
+
"mask-conic-from": d()
|
|
1948
1949
|
}],
|
|
1949
1950
|
"mask-image-conic-to-color": [{
|
|
1950
|
-
"mask-conic-to":
|
|
1951
|
+
"mask-conic-to": d()
|
|
1951
1952
|
}],
|
|
1952
1953
|
/**
|
|
1953
1954
|
* Mask Mode
|
|
@@ -1996,7 +1997,7 @@ const Le = (e, t) => {
|
|
|
1996
1997
|
* @see https://tailwindcss.com/docs/mask-image
|
|
1997
1998
|
*/
|
|
1998
1999
|
"mask-image": [{
|
|
1999
|
-
mask: ["none",
|
|
2000
|
+
mask: ["none", a, n]
|
|
2000
2001
|
}],
|
|
2001
2002
|
// ---------------
|
|
2002
2003
|
// --- Filters ---
|
|
@@ -2010,8 +2011,8 @@ const Le = (e, t) => {
|
|
|
2010
2011
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2011
2012
|
"",
|
|
2012
2013
|
"none",
|
|
2013
|
-
|
|
2014
|
-
|
|
2014
|
+
a,
|
|
2015
|
+
n
|
|
2015
2016
|
]
|
|
2016
2017
|
}],
|
|
2017
2018
|
/**
|
|
@@ -2026,14 +2027,14 @@ const Le = (e, t) => {
|
|
|
2026
2027
|
* @see https://tailwindcss.com/docs/brightness
|
|
2027
2028
|
*/
|
|
2028
2029
|
brightness: [{
|
|
2029
|
-
brightness: [p,
|
|
2030
|
+
brightness: [p, a, n]
|
|
2030
2031
|
}],
|
|
2031
2032
|
/**
|
|
2032
2033
|
* Contrast
|
|
2033
2034
|
* @see https://tailwindcss.com/docs/contrast
|
|
2034
2035
|
*/
|
|
2035
2036
|
contrast: [{
|
|
2036
|
-
contrast: [p,
|
|
2037
|
+
contrast: [p, a, n]
|
|
2037
2038
|
}],
|
|
2038
2039
|
/**
|
|
2039
2040
|
* Drop Shadow
|
|
@@ -2044,9 +2045,9 @@ const Le = (e, t) => {
|
|
|
2044
2045
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2045
2046
|
"",
|
|
2046
2047
|
"none",
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2048
|
+
A,
|
|
2049
|
+
Q,
|
|
2050
|
+
K
|
|
2050
2051
|
]
|
|
2051
2052
|
}],
|
|
2052
2053
|
/**
|
|
@@ -2054,42 +2055,42 @@ const Le = (e, t) => {
|
|
|
2054
2055
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2055
2056
|
*/
|
|
2056
2057
|
"drop-shadow-color": [{
|
|
2057
|
-
"drop-shadow":
|
|
2058
|
+
"drop-shadow": d()
|
|
2058
2059
|
}],
|
|
2059
2060
|
/**
|
|
2060
2061
|
* Grayscale
|
|
2061
2062
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2062
2063
|
*/
|
|
2063
2064
|
grayscale: [{
|
|
2064
|
-
grayscale: ["", p,
|
|
2065
|
+
grayscale: ["", p, a, n]
|
|
2065
2066
|
}],
|
|
2066
2067
|
/**
|
|
2067
2068
|
* Hue Rotate
|
|
2068
2069
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2069
2070
|
*/
|
|
2070
2071
|
"hue-rotate": [{
|
|
2071
|
-
"hue-rotate": [p,
|
|
2072
|
+
"hue-rotate": [p, a, n]
|
|
2072
2073
|
}],
|
|
2073
2074
|
/**
|
|
2074
2075
|
* Invert
|
|
2075
2076
|
* @see https://tailwindcss.com/docs/invert
|
|
2076
2077
|
*/
|
|
2077
2078
|
invert: [{
|
|
2078
|
-
invert: ["", p,
|
|
2079
|
+
invert: ["", p, a, n]
|
|
2079
2080
|
}],
|
|
2080
2081
|
/**
|
|
2081
2082
|
* Saturate
|
|
2082
2083
|
* @see https://tailwindcss.com/docs/saturate
|
|
2083
2084
|
*/
|
|
2084
2085
|
saturate: [{
|
|
2085
|
-
saturate: [p,
|
|
2086
|
+
saturate: [p, a, n]
|
|
2086
2087
|
}],
|
|
2087
2088
|
/**
|
|
2088
2089
|
* Sepia
|
|
2089
2090
|
* @see https://tailwindcss.com/docs/sepia
|
|
2090
2091
|
*/
|
|
2091
2092
|
sepia: [{
|
|
2092
|
-
sepia: ["", p,
|
|
2093
|
+
sepia: ["", p, a, n]
|
|
2093
2094
|
}],
|
|
2094
2095
|
/**
|
|
2095
2096
|
* Backdrop Filter
|
|
@@ -2100,8 +2101,8 @@ const Le = (e, t) => {
|
|
|
2100
2101
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2101
2102
|
"",
|
|
2102
2103
|
"none",
|
|
2103
|
-
|
|
2104
|
-
|
|
2104
|
+
a,
|
|
2105
|
+
n
|
|
2105
2106
|
]
|
|
2106
2107
|
}],
|
|
2107
2108
|
/**
|
|
@@ -2116,56 +2117,56 @@ const Le = (e, t) => {
|
|
|
2116
2117
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2117
2118
|
*/
|
|
2118
2119
|
"backdrop-brightness": [{
|
|
2119
|
-
"backdrop-brightness": [p,
|
|
2120
|
+
"backdrop-brightness": [p, a, n]
|
|
2120
2121
|
}],
|
|
2121
2122
|
/**
|
|
2122
2123
|
* Backdrop Contrast
|
|
2123
2124
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2124
2125
|
*/
|
|
2125
2126
|
"backdrop-contrast": [{
|
|
2126
|
-
"backdrop-contrast": [p,
|
|
2127
|
+
"backdrop-contrast": [p, a, n]
|
|
2127
2128
|
}],
|
|
2128
2129
|
/**
|
|
2129
2130
|
* Backdrop Grayscale
|
|
2130
2131
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2131
2132
|
*/
|
|
2132
2133
|
"backdrop-grayscale": [{
|
|
2133
|
-
"backdrop-grayscale": ["", p,
|
|
2134
|
+
"backdrop-grayscale": ["", p, a, n]
|
|
2134
2135
|
}],
|
|
2135
2136
|
/**
|
|
2136
2137
|
* Backdrop Hue Rotate
|
|
2137
2138
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2138
2139
|
*/
|
|
2139
2140
|
"backdrop-hue-rotate": [{
|
|
2140
|
-
"backdrop-hue-rotate": [p,
|
|
2141
|
+
"backdrop-hue-rotate": [p, a, n]
|
|
2141
2142
|
}],
|
|
2142
2143
|
/**
|
|
2143
2144
|
* Backdrop Invert
|
|
2144
2145
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2145
2146
|
*/
|
|
2146
2147
|
"backdrop-invert": [{
|
|
2147
|
-
"backdrop-invert": ["", p,
|
|
2148
|
+
"backdrop-invert": ["", p, a, n]
|
|
2148
2149
|
}],
|
|
2149
2150
|
/**
|
|
2150
2151
|
* Backdrop Opacity
|
|
2151
2152
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2152
2153
|
*/
|
|
2153
2154
|
"backdrop-opacity": [{
|
|
2154
|
-
"backdrop-opacity": [p,
|
|
2155
|
+
"backdrop-opacity": [p, a, n]
|
|
2155
2156
|
}],
|
|
2156
2157
|
/**
|
|
2157
2158
|
* Backdrop Saturate
|
|
2158
2159
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2159
2160
|
*/
|
|
2160
2161
|
"backdrop-saturate": [{
|
|
2161
|
-
"backdrop-saturate": [p,
|
|
2162
|
+
"backdrop-saturate": [p, a, n]
|
|
2162
2163
|
}],
|
|
2163
2164
|
/**
|
|
2164
2165
|
* Backdrop Sepia
|
|
2165
2166
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2166
2167
|
*/
|
|
2167
2168
|
"backdrop-sepia": [{
|
|
2168
|
-
"backdrop-sepia": ["", p,
|
|
2169
|
+
"backdrop-sepia": ["", p, a, n]
|
|
2169
2170
|
}],
|
|
2170
2171
|
// --------------
|
|
2171
2172
|
// --- Tables ---
|
|
@@ -2220,7 +2221,7 @@ const Le = (e, t) => {
|
|
|
2220
2221
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2221
2222
|
*/
|
|
2222
2223
|
transition: [{
|
|
2223
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2224
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", a, n]
|
|
2224
2225
|
}],
|
|
2225
2226
|
/**
|
|
2226
2227
|
* Transition Behavior
|
|
@@ -2234,28 +2235,28 @@ const Le = (e, t) => {
|
|
|
2234
2235
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2235
2236
|
*/
|
|
2236
2237
|
duration: [{
|
|
2237
|
-
duration: [p, "initial",
|
|
2238
|
+
duration: [p, "initial", a, n]
|
|
2238
2239
|
}],
|
|
2239
2240
|
/**
|
|
2240
2241
|
* Transition Timing Function
|
|
2241
2242
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2242
2243
|
*/
|
|
2243
2244
|
ease: [{
|
|
2244
|
-
ease: ["linear", "initial",
|
|
2245
|
+
ease: ["linear", "initial", N, a, n]
|
|
2245
2246
|
}],
|
|
2246
2247
|
/**
|
|
2247
2248
|
* Transition Delay
|
|
2248
2249
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2249
2250
|
*/
|
|
2250
2251
|
delay: [{
|
|
2251
|
-
delay: [p,
|
|
2252
|
+
delay: [p, a, n]
|
|
2252
2253
|
}],
|
|
2253
2254
|
/**
|
|
2254
2255
|
* Animation
|
|
2255
2256
|
* @see https://tailwindcss.com/docs/animation
|
|
2256
2257
|
*/
|
|
2257
2258
|
animate: [{
|
|
2258
|
-
animate: ["none",
|
|
2259
|
+
animate: ["none", D, a, n]
|
|
2259
2260
|
}],
|
|
2260
2261
|
// ------------------
|
|
2261
2262
|
// --- Transforms ---
|
|
@@ -2272,70 +2273,70 @@ const Le = (e, t) => {
|
|
|
2272
2273
|
* @see https://tailwindcss.com/docs/perspective
|
|
2273
2274
|
*/
|
|
2274
2275
|
perspective: [{
|
|
2275
|
-
perspective: [
|
|
2276
|
+
perspective: [k, a, n]
|
|
2276
2277
|
}],
|
|
2277
2278
|
/**
|
|
2278
2279
|
* Perspective Origin
|
|
2279
2280
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2280
2281
|
*/
|
|
2281
2282
|
"perspective-origin": [{
|
|
2282
|
-
"perspective-origin":
|
|
2283
|
+
"perspective-origin": E()
|
|
2283
2284
|
}],
|
|
2284
2285
|
/**
|
|
2285
2286
|
* Rotate
|
|
2286
2287
|
* @see https://tailwindcss.com/docs/rotate
|
|
2287
2288
|
*/
|
|
2288
2289
|
rotate: [{
|
|
2289
|
-
rotate:
|
|
2290
|
+
rotate: X()
|
|
2290
2291
|
}],
|
|
2291
2292
|
/**
|
|
2292
2293
|
* Rotate X
|
|
2293
2294
|
* @see https://tailwindcss.com/docs/rotate
|
|
2294
2295
|
*/
|
|
2295
2296
|
"rotate-x": [{
|
|
2296
|
-
"rotate-x":
|
|
2297
|
+
"rotate-x": X()
|
|
2297
2298
|
}],
|
|
2298
2299
|
/**
|
|
2299
2300
|
* Rotate Y
|
|
2300
2301
|
* @see https://tailwindcss.com/docs/rotate
|
|
2301
2302
|
*/
|
|
2302
2303
|
"rotate-y": [{
|
|
2303
|
-
"rotate-y":
|
|
2304
|
+
"rotate-y": X()
|
|
2304
2305
|
}],
|
|
2305
2306
|
/**
|
|
2306
2307
|
* Rotate Z
|
|
2307
2308
|
* @see https://tailwindcss.com/docs/rotate
|
|
2308
2309
|
*/
|
|
2309
2310
|
"rotate-z": [{
|
|
2310
|
-
"rotate-z":
|
|
2311
|
+
"rotate-z": X()
|
|
2311
2312
|
}],
|
|
2312
2313
|
/**
|
|
2313
2314
|
* Scale
|
|
2314
2315
|
* @see https://tailwindcss.com/docs/scale
|
|
2315
2316
|
*/
|
|
2316
2317
|
scale: [{
|
|
2317
|
-
scale:
|
|
2318
|
+
scale: J()
|
|
2318
2319
|
}],
|
|
2319
2320
|
/**
|
|
2320
2321
|
* Scale X
|
|
2321
2322
|
* @see https://tailwindcss.com/docs/scale
|
|
2322
2323
|
*/
|
|
2323
2324
|
"scale-x": [{
|
|
2324
|
-
"scale-x":
|
|
2325
|
+
"scale-x": J()
|
|
2325
2326
|
}],
|
|
2326
2327
|
/**
|
|
2327
2328
|
* Scale Y
|
|
2328
2329
|
* @see https://tailwindcss.com/docs/scale
|
|
2329
2330
|
*/
|
|
2330
2331
|
"scale-y": [{
|
|
2331
|
-
"scale-y":
|
|
2332
|
+
"scale-y": J()
|
|
2332
2333
|
}],
|
|
2333
2334
|
/**
|
|
2334
2335
|
* Scale Z
|
|
2335
2336
|
* @see https://tailwindcss.com/docs/scale
|
|
2336
2337
|
*/
|
|
2337
2338
|
"scale-z": [{
|
|
2338
|
-
"scale-z":
|
|
2339
|
+
"scale-z": J()
|
|
2339
2340
|
}],
|
|
2340
2341
|
/**
|
|
2341
2342
|
* Scale 3D
|
|
@@ -2347,35 +2348,35 @@ const Le = (e, t) => {
|
|
|
2347
2348
|
* @see https://tailwindcss.com/docs/skew
|
|
2348
2349
|
*/
|
|
2349
2350
|
skew: [{
|
|
2350
|
-
skew:
|
|
2351
|
+
skew: re()
|
|
2351
2352
|
}],
|
|
2352
2353
|
/**
|
|
2353
2354
|
* Skew X
|
|
2354
2355
|
* @see https://tailwindcss.com/docs/skew
|
|
2355
2356
|
*/
|
|
2356
2357
|
"skew-x": [{
|
|
2357
|
-
"skew-x":
|
|
2358
|
+
"skew-x": re()
|
|
2358
2359
|
}],
|
|
2359
2360
|
/**
|
|
2360
2361
|
* Skew Y
|
|
2361
2362
|
* @see https://tailwindcss.com/docs/skew
|
|
2362
2363
|
*/
|
|
2363
2364
|
"skew-y": [{
|
|
2364
|
-
"skew-y":
|
|
2365
|
+
"skew-y": re()
|
|
2365
2366
|
}],
|
|
2366
2367
|
/**
|
|
2367
2368
|
* Transform
|
|
2368
2369
|
* @see https://tailwindcss.com/docs/transform
|
|
2369
2370
|
*/
|
|
2370
2371
|
transform: [{
|
|
2371
|
-
transform: [
|
|
2372
|
+
transform: [a, n, "", "none", "gpu", "cpu"]
|
|
2372
2373
|
}],
|
|
2373
2374
|
/**
|
|
2374
2375
|
* Transform Origin
|
|
2375
2376
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2376
2377
|
*/
|
|
2377
2378
|
"transform-origin": [{
|
|
2378
|
-
origin:
|
|
2379
|
+
origin: E()
|
|
2379
2380
|
}],
|
|
2380
2381
|
/**
|
|
2381
2382
|
* Transform Style
|
|
@@ -2389,28 +2390,28 @@ const Le = (e, t) => {
|
|
|
2389
2390
|
* @see https://tailwindcss.com/docs/translate
|
|
2390
2391
|
*/
|
|
2391
2392
|
translate: [{
|
|
2392
|
-
translate:
|
|
2393
|
+
translate: H()
|
|
2393
2394
|
}],
|
|
2394
2395
|
/**
|
|
2395
2396
|
* Translate X
|
|
2396
2397
|
* @see https://tailwindcss.com/docs/translate
|
|
2397
2398
|
*/
|
|
2398
2399
|
"translate-x": [{
|
|
2399
|
-
"translate-x":
|
|
2400
|
+
"translate-x": H()
|
|
2400
2401
|
}],
|
|
2401
2402
|
/**
|
|
2402
2403
|
* Translate Y
|
|
2403
2404
|
* @see https://tailwindcss.com/docs/translate
|
|
2404
2405
|
*/
|
|
2405
2406
|
"translate-y": [{
|
|
2406
|
-
"translate-y":
|
|
2407
|
+
"translate-y": H()
|
|
2407
2408
|
}],
|
|
2408
2409
|
/**
|
|
2409
2410
|
* Translate Z
|
|
2410
2411
|
* @see https://tailwindcss.com/docs/translate
|
|
2411
2412
|
*/
|
|
2412
2413
|
"translate-z": [{
|
|
2413
|
-
"translate-z":
|
|
2414
|
+
"translate-z": H()
|
|
2414
2415
|
}],
|
|
2415
2416
|
/**
|
|
2416
2417
|
* Translate None
|
|
@@ -2425,7 +2426,7 @@ const Le = (e, t) => {
|
|
|
2425
2426
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2426
2427
|
*/
|
|
2427
2428
|
accent: [{
|
|
2428
|
-
accent:
|
|
2429
|
+
accent: d()
|
|
2429
2430
|
}],
|
|
2430
2431
|
/**
|
|
2431
2432
|
* Appearance
|
|
@@ -2439,7 +2440,7 @@ const Le = (e, t) => {
|
|
|
2439
2440
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2440
2441
|
*/
|
|
2441
2442
|
"caret-color": [{
|
|
2442
|
-
caret:
|
|
2443
|
+
caret: d()
|
|
2443
2444
|
}],
|
|
2444
2445
|
/**
|
|
2445
2446
|
* Color Scheme
|
|
@@ -2453,7 +2454,7 @@ const Le = (e, t) => {
|
|
|
2453
2454
|
* @see https://tailwindcss.com/docs/cursor
|
|
2454
2455
|
*/
|
|
2455
2456
|
cursor: [{
|
|
2456
|
-
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",
|
|
2457
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", a, n]
|
|
2457
2458
|
}],
|
|
2458
2459
|
/**
|
|
2459
2460
|
* Field Sizing
|
|
@@ -2675,7 +2676,7 @@ const Le = (e, t) => {
|
|
|
2675
2676
|
* @see https://tailwindcss.com/docs/will-change
|
|
2676
2677
|
*/
|
|
2677
2678
|
"will-change": [{
|
|
2678
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2679
|
+
"will-change": ["auto", "scroll", "contents", "transform", a, n]
|
|
2679
2680
|
}],
|
|
2680
2681
|
// -----------
|
|
2681
2682
|
// --- SVG ---
|
|
@@ -2685,21 +2686,21 @@ const Le = (e, t) => {
|
|
|
2685
2686
|
* @see https://tailwindcss.com/docs/fill
|
|
2686
2687
|
*/
|
|
2687
2688
|
fill: [{
|
|
2688
|
-
fill: ["none", ...
|
|
2689
|
+
fill: ["none", ...d()]
|
|
2689
2690
|
}],
|
|
2690
2691
|
/**
|
|
2691
2692
|
* Stroke Width
|
|
2692
2693
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2693
2694
|
*/
|
|
2694
2695
|
"stroke-w": [{
|
|
2695
|
-
stroke: [p,
|
|
2696
|
+
stroke: [p, $, T, se]
|
|
2696
2697
|
}],
|
|
2697
2698
|
/**
|
|
2698
2699
|
* Stroke
|
|
2699
2700
|
* @see https://tailwindcss.com/docs/stroke
|
|
2700
2701
|
*/
|
|
2701
2702
|
stroke: [{
|
|
2702
|
-
stroke: ["none", ...
|
|
2703
|
+
stroke: ["none", ...d()]
|
|
2703
2704
|
}],
|
|
2704
2705
|
// ---------------------
|
|
2705
2706
|
// --- Accessibility ---
|
|
@@ -2767,91 +2768,123 @@ const Le = (e, t) => {
|
|
|
2767
2768
|
},
|
|
2768
2769
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
2769
2770
|
};
|
|
2770
|
-
},
|
|
2771
|
-
function
|
|
2772
|
-
return
|
|
2771
|
+
}, Ao = /* @__PURE__ */ to(zo);
|
|
2772
|
+
function V(...e) {
|
|
2773
|
+
return Ao(Ee(e));
|
|
2773
2774
|
}
|
|
2774
|
-
const
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2775
|
+
const So = (e, t) => {
|
|
2776
|
+
const r = {
|
|
2777
|
+
sm: { wrapper: "-ml-10 h-6 w-6", icon: "h-4 w-4" },
|
|
2778
|
+
md: { wrapper: "-ml-12 h-8 w-8", icon: "h-6 w-6" },
|
|
2779
|
+
lg: { wrapper: "-ml-14 h-10 w-10", icon: "h-6 w-6" }
|
|
2780
|
+
}[e], o = t && Te(t) ? t : null, s = o ? je(o, {
|
|
2781
|
+
className: V("h-full w-full", o.props.className)
|
|
2782
|
+
}) : t;
|
|
2783
|
+
return /* @__PURE__ */ z(
|
|
2784
|
+
"span",
|
|
2785
|
+
{
|
|
2786
|
+
className: V(
|
|
2787
|
+
r.wrapper,
|
|
2788
|
+
"flex items-center justify-center rounded-full border border-neutral-800 bg-white text-neutral-900 shadow-[0_3px_10px_rgba(0,0,0,0.12)] dark:border-neutral-200 dark:bg-neutral-950 dark:text-neutral-100 dark:shadow-[0_3px_10px_rgba(0,0,0,0.5)]"
|
|
2789
|
+
),
|
|
2790
|
+
children: /* @__PURE__ */ z(
|
|
2791
|
+
"span",
|
|
2792
|
+
{
|
|
2793
|
+
className: V(
|
|
2794
|
+
r.icon,
|
|
2795
|
+
"flex items-center justify-center transition-transform duration-200 ease-out group-hover:translate-x-[2px] group-disabled:translate-x-0"
|
|
2796
|
+
),
|
|
2797
|
+
children: s ?? /* @__PURE__ */ ne(
|
|
2798
|
+
"svg",
|
|
2799
|
+
{
|
|
2800
|
+
viewBox: "0 0 24 24",
|
|
2801
|
+
fill: "none",
|
|
2802
|
+
stroke: "currentColor",
|
|
2803
|
+
strokeWidth: "2",
|
|
2804
|
+
strokeLinecap: "round",
|
|
2805
|
+
strokeLinejoin: "round",
|
|
2806
|
+
className: "h-full w-full",
|
|
2807
|
+
"aria-hidden": "true",
|
|
2808
|
+
children: [
|
|
2809
|
+
/* @__PURE__ */ z("path", { d: "M5 12h12" }),
|
|
2810
|
+
/* @__PURE__ */ z("path", { d: "m13 6 6 6-6 6" })
|
|
2811
|
+
]
|
|
2812
|
+
}
|
|
2813
|
+
)
|
|
2814
|
+
}
|
|
2815
|
+
)
|
|
2816
|
+
}
|
|
2817
|
+
);
|
|
2818
|
+
};
|
|
2819
|
+
function Ro({
|
|
2792
2820
|
title: e,
|
|
2793
2821
|
description: t,
|
|
2794
2822
|
action: r,
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2823
|
+
icon: o,
|
|
2824
|
+
size: s = "md",
|
|
2825
|
+
variant: i = "default",
|
|
2826
|
+
color: l = "green",
|
|
2827
|
+
customColor: u,
|
|
2828
|
+
className: c,
|
|
2829
|
+
type: f = "button",
|
|
2830
|
+
children: b,
|
|
2831
|
+
...w
|
|
2801
2832
|
}) {
|
|
2802
|
-
const
|
|
2803
|
-
e ? /* @__PURE__ */
|
|
2804
|
-
t ? /* @__PURE__ */
|
|
2805
|
-
] }) : /* @__PURE__ */
|
|
2833
|
+
const C = e != null || t != null, A = i === "default" ? l === "orange" ? "bg-[#F0822D]" : l === "custom" ? "" : "bg-[#00A167]" : "bg-transparent", S = i === "default" && l === "custom" ? { backgroundColor: u } : void 0, k = C ? /* @__PURE__ */ ne("span", { className: "flex flex-col gap-1 text-start", children: [
|
|
2834
|
+
e ? /* @__PURE__ */ z("span", { className: "text-lg font-semibold", children: e }) : null,
|
|
2835
|
+
t ? /* @__PURE__ */ z("span", { className: "text-sm text-neutral-600 dark:text-neutral-300", children: t }) : null
|
|
2836
|
+
] }) : /* @__PURE__ */ z("span", { className: "text-lg font-semibold", children: b });
|
|
2806
2837
|
return /* @__PURE__ */ ne(
|
|
2807
2838
|
"button",
|
|
2808
2839
|
{
|
|
2809
|
-
type:
|
|
2810
|
-
className:
|
|
2811
|
-
"
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2840
|
+
type: f,
|
|
2841
|
+
className: V(
|
|
2842
|
+
"group inline-flex cursor-pointer items-stretch overflow-hidden rounded-md border border-neutral-800 text-neutral-900 shadow-[0_4px_4px_rgba(0,0,0,0.2)] transition-shadow duration-200 ease-out hover:shadow-[0_8px_5px_rgba(0,0,0,0.18)] disabled:cursor-not-allowed disabled:opacity-60 disabled:shadow-[0_4px_12px_rgba(0,0,0,0.12)] dark:border-neutral-200 dark:text-neutral-100 dark:shadow-[0_8px_18px_rgba(0,0,0,0.45)] dark:hover:shadow-[0_10px_22px_rgba(0,0,0,0.5)] dark:disabled:shadow-[0_6px_16px_rgba(0,0,0,0.35)]",
|
|
2843
|
+
i === "default" ? "bg-white dark:bg-neutral-950" : "bg-transparent",
|
|
2844
|
+
s === "sm" && "text-sm",
|
|
2845
|
+
s === "md" && "text-base",
|
|
2846
|
+
s === "lg" && "text-lg",
|
|
2847
|
+
c
|
|
2817
2848
|
),
|
|
2818
|
-
...
|
|
2849
|
+
...w,
|
|
2819
2850
|
children: [
|
|
2820
|
-
/* @__PURE__ */
|
|
2851
|
+
/* @__PURE__ */ z(
|
|
2821
2852
|
"span",
|
|
2822
2853
|
{
|
|
2823
|
-
className:
|
|
2824
|
-
"flex items-center
|
|
2825
|
-
|
|
2826
|
-
|
|
2854
|
+
className: V(
|
|
2855
|
+
"flex items-center",
|
|
2856
|
+
s === "sm" && "py-2 pl-6 pr-10",
|
|
2857
|
+
s === "md" && "py-3 pl-8 pr-12",
|
|
2858
|
+
s === "lg" && "py-3 pl-10 pr-14"
|
|
2827
2859
|
),
|
|
2828
|
-
children:
|
|
2860
|
+
children: k
|
|
2829
2861
|
}
|
|
2830
2862
|
),
|
|
2831
|
-
/* @__PURE__ */
|
|
2863
|
+
/* @__PURE__ */ z(
|
|
2832
2864
|
"span",
|
|
2833
2865
|
{
|
|
2834
|
-
className:
|
|
2835
|
-
"relative flex items-center justify-center rounded-r-md px-6",
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2866
|
+
className: V(
|
|
2867
|
+
"relative flex items-center justify-center rounded-r-md px-6 transition-colors duration-200 ease-out group-disabled:opacity-70",
|
|
2868
|
+
A,
|
|
2869
|
+
s === "sm" && "px-5",
|
|
2870
|
+
s === "lg" && "px-7"
|
|
2839
2871
|
),
|
|
2840
|
-
|
|
2872
|
+
style: S,
|
|
2873
|
+
children: r ?? So(s, o)
|
|
2841
2874
|
}
|
|
2842
2875
|
)
|
|
2843
2876
|
]
|
|
2844
2877
|
}
|
|
2845
2878
|
);
|
|
2846
2879
|
}
|
|
2847
|
-
function
|
|
2848
|
-
return /* @__PURE__ */
|
|
2880
|
+
function _o() {
|
|
2881
|
+
return /* @__PURE__ */ z("div", { children: "Input" });
|
|
2849
2882
|
}
|
|
2850
|
-
const
|
|
2883
|
+
const No = { Button: Ro, Input: _o };
|
|
2851
2884
|
export {
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2885
|
+
Ro as Button,
|
|
2886
|
+
_o as Input,
|
|
2887
|
+
V as cn,
|
|
2888
|
+
No as default
|
|
2856
2889
|
};
|
|
2857
2890
|
//# sourceMappingURL=index.mjs.map
|