@artemdev04/design-system 0.2.1 → 0.4.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 +94 -94
- package/dist/design-system.css +1 -1
- package/dist/index.d.ts +52 -1
- package/dist/index.mjs +497 -394
- package/dist/index.umd.js +1 -1
- package/package.json +10 -3
- package/tailwind.preset.d.ts +4 -0
- package/tailwind.preset.js +75 -74
package/dist/index.mjs
CHANGED
|
@@ -1,167 +1,156 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
className: `bg-surface rounded-xl shadow-md border border-border overflow-hidden p-4 ${t}`,
|
|
8
|
-
children: [
|
|
9
|
-
/* @__PURE__ */ H("div", { className: "py-2", children: /* @__PURE__ */ H("h3", { className: "font-bold text-lg ", children: e }) }),
|
|
10
|
-
/* @__PURE__ */ H("div", { children: r })
|
|
11
|
-
]
|
|
12
|
-
}
|
|
13
|
-
);
|
|
14
|
-
}
|
|
15
|
-
function ye(e) {
|
|
16
|
-
var r, t, o = "";
|
|
17
|
-
if (typeof e == "string" || typeof e == "number") o += e;
|
|
1
|
+
import { jsx as P, jsxs as Ce } from "react/jsx-runtime";
|
|
2
|
+
import * as B from "react";
|
|
3
|
+
import { forwardRef as ze } from "react";
|
|
4
|
+
function Ae(e) {
|
|
5
|
+
var o, t, r = "";
|
|
6
|
+
if (typeof e == "string" || typeof e == "number") r += e;
|
|
18
7
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
19
8
|
var a = e.length;
|
|
20
|
-
for (
|
|
21
|
-
} else for (t in e) e[t] && (
|
|
22
|
-
return
|
|
9
|
+
for (o = 0; o < a; o++) e[o] && (t = Ae(e[o])) && (r && (r += " "), r += t);
|
|
10
|
+
} else for (t in e) e[t] && (r && (r += " "), r += t);
|
|
11
|
+
return r;
|
|
23
12
|
}
|
|
24
|
-
function
|
|
25
|
-
for (var e,
|
|
26
|
-
return
|
|
13
|
+
function Re() {
|
|
14
|
+
for (var e, o, t = 0, r = "", a = arguments.length; t < a; t++) (e = arguments[t]) && (o = Ae(e)) && (r && (r += " "), r += o);
|
|
15
|
+
return r;
|
|
27
16
|
}
|
|
28
|
-
const
|
|
29
|
-
var
|
|
30
|
-
if ((
|
|
31
|
-
const { variants: a, defaultVariants: l } =
|
|
17
|
+
const ge = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, he = Re, Se = (e, o) => (t) => {
|
|
18
|
+
var r;
|
|
19
|
+
if ((o == null ? void 0 : o.variants) == null) return he(e, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
|
|
20
|
+
const { variants: a, defaultVariants: l } = o, i = Object.keys(a).map((u) => {
|
|
32
21
|
const b = t == null ? void 0 : t[u], h = l == null ? void 0 : l[u];
|
|
33
22
|
if (b === null) return null;
|
|
34
|
-
const
|
|
35
|
-
return a[u][
|
|
23
|
+
const y = ge(b) || ge(h);
|
|
24
|
+
return a[u][y];
|
|
36
25
|
}), f = t && Object.entries(t).reduce((u, b) => {
|
|
37
|
-
let [h,
|
|
38
|
-
return
|
|
39
|
-
}, {}), c =
|
|
40
|
-
let { class: h, className:
|
|
41
|
-
return Object.entries(
|
|
42
|
-
let [v,
|
|
43
|
-
return Array.isArray(
|
|
26
|
+
let [h, y] = b;
|
|
27
|
+
return y === void 0 || (u[h] = y), u;
|
|
28
|
+
}, {}), c = o == null || (r = o.compoundVariants) === null || r === void 0 ? void 0 : r.reduce((u, b) => {
|
|
29
|
+
let { class: h, className: y, ...z } = b;
|
|
30
|
+
return Object.entries(z).every((A) => {
|
|
31
|
+
let [v, w] = A;
|
|
32
|
+
return Array.isArray(w) ? w.includes({
|
|
44
33
|
...l,
|
|
45
34
|
...f
|
|
46
35
|
}[v]) : {
|
|
47
36
|
...l,
|
|
48
37
|
...f
|
|
49
|
-
}[v] ===
|
|
38
|
+
}[v] === w;
|
|
50
39
|
}) ? [
|
|
51
40
|
...u,
|
|
52
41
|
h,
|
|
53
|
-
|
|
42
|
+
y
|
|
54
43
|
] : u;
|
|
55
44
|
}, []);
|
|
56
|
-
return
|
|
57
|
-
},
|
|
58
|
-
const t = new Array(e.length +
|
|
59
|
-
for (let
|
|
60
|
-
t[
|
|
61
|
-
for (let
|
|
62
|
-
t[e.length +
|
|
45
|
+
return he(e, i, c, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
|
|
46
|
+
}, Be = (e, o) => {
|
|
47
|
+
const t = new Array(e.length + o.length);
|
|
48
|
+
for (let r = 0; r < e.length; r++)
|
|
49
|
+
t[r] = e[r];
|
|
50
|
+
for (let r = 0; r < o.length; r++)
|
|
51
|
+
t[e.length + r] = o[r];
|
|
63
52
|
return t;
|
|
64
|
-
},
|
|
53
|
+
}, Fe = (e, o) => ({
|
|
65
54
|
classGroupId: e,
|
|
66
|
-
validator:
|
|
67
|
-
}),
|
|
55
|
+
validator: o
|
|
56
|
+
}), Ne = (e = /* @__PURE__ */ new Map(), o = null, t) => ({
|
|
68
57
|
nextPart: e,
|
|
69
|
-
validators:
|
|
58
|
+
validators: o,
|
|
70
59
|
classGroupId: t
|
|
71
|
-
}),
|
|
72
|
-
const
|
|
60
|
+
}), ee = "-", xe = [], We = "arbitrary..", $e = (e) => {
|
|
61
|
+
const o = Ue(e), {
|
|
73
62
|
conflictingClassGroups: t,
|
|
74
|
-
conflictingClassGroupModifiers:
|
|
63
|
+
conflictingClassGroupModifiers: r
|
|
75
64
|
} = e;
|
|
76
65
|
return {
|
|
77
66
|
getClassGroupId: (i) => {
|
|
78
67
|
if (i.startsWith("[") && i.endsWith("]"))
|
|
79
|
-
return
|
|
80
|
-
const f = i.split(
|
|
81
|
-
return
|
|
68
|
+
return De(i);
|
|
69
|
+
const f = i.split(ee), c = f[0] === "" && f.length > 1 ? 1 : 0;
|
|
70
|
+
return Ie(f, c, o);
|
|
82
71
|
},
|
|
83
72
|
getConflictingClassGroupIds: (i, f) => {
|
|
84
73
|
if (f) {
|
|
85
|
-
const c =
|
|
86
|
-
return c ? u ?
|
|
74
|
+
const c = r[i], u = t[i];
|
|
75
|
+
return c ? u ? Be(u, c) : c : u || xe;
|
|
87
76
|
}
|
|
88
|
-
return t[i] ||
|
|
77
|
+
return t[i] || xe;
|
|
89
78
|
}
|
|
90
79
|
};
|
|
91
|
-
},
|
|
92
|
-
if (e.length -
|
|
80
|
+
}, Ie = (e, o, t) => {
|
|
81
|
+
if (e.length - o === 0)
|
|
93
82
|
return t.classGroupId;
|
|
94
|
-
const a = e[
|
|
83
|
+
const a = e[o], l = t.nextPart.get(a);
|
|
95
84
|
if (l) {
|
|
96
|
-
const u =
|
|
85
|
+
const u = Ie(e, o + 1, l);
|
|
97
86
|
if (u) return u;
|
|
98
87
|
}
|
|
99
88
|
const i = t.validators;
|
|
100
89
|
if (i === null)
|
|
101
90
|
return;
|
|
102
|
-
const f =
|
|
91
|
+
const f = o === 0 ? e.join(ee) : e.slice(o).join(ee), c = i.length;
|
|
103
92
|
for (let u = 0; u < c; u++) {
|
|
104
93
|
const b = i[u];
|
|
105
94
|
if (b.validator(f))
|
|
106
95
|
return b.classGroupId;
|
|
107
96
|
}
|
|
108
|
-
},
|
|
109
|
-
const
|
|
110
|
-
return
|
|
111
|
-
})(),
|
|
97
|
+
}, De = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
98
|
+
const o = e.slice(1, -1), t = o.indexOf(":"), r = o.slice(0, t);
|
|
99
|
+
return r ? We + r : void 0;
|
|
100
|
+
})(), Ue = (e) => {
|
|
112
101
|
const {
|
|
113
|
-
theme:
|
|
102
|
+
theme: o,
|
|
114
103
|
classGroups: t
|
|
115
104
|
} = e;
|
|
116
|
-
return
|
|
117
|
-
},
|
|
118
|
-
const t =
|
|
119
|
-
for (const
|
|
120
|
-
const a = e[
|
|
121
|
-
|
|
105
|
+
return Ye(t, o);
|
|
106
|
+
}, Ye = (e, o) => {
|
|
107
|
+
const t = Ne();
|
|
108
|
+
for (const r in e) {
|
|
109
|
+
const a = e[r];
|
|
110
|
+
ie(a, t, r, o);
|
|
122
111
|
}
|
|
123
112
|
return t;
|
|
124
|
-
},
|
|
113
|
+
}, ie = (e, o, t, r) => {
|
|
125
114
|
const a = e.length;
|
|
126
115
|
for (let l = 0; l < a; l++) {
|
|
127
116
|
const i = e[l];
|
|
128
|
-
|
|
117
|
+
qe(i, o, t, r);
|
|
129
118
|
}
|
|
130
|
-
},
|
|
119
|
+
}, qe = (e, o, t, r) => {
|
|
131
120
|
if (typeof e == "string") {
|
|
132
|
-
|
|
121
|
+
He(e, o, t);
|
|
133
122
|
return;
|
|
134
123
|
}
|
|
135
124
|
if (typeof e == "function") {
|
|
136
|
-
|
|
125
|
+
Xe(e, o, t, r);
|
|
137
126
|
return;
|
|
138
127
|
}
|
|
139
|
-
|
|
140
|
-
},
|
|
141
|
-
const
|
|
142
|
-
|
|
143
|
-
},
|
|
144
|
-
if (
|
|
145
|
-
|
|
128
|
+
Je(e, o, t, r);
|
|
129
|
+
}, He = (e, o, t) => {
|
|
130
|
+
const r = e === "" ? o : Me(o, e);
|
|
131
|
+
r.classGroupId = t;
|
|
132
|
+
}, Xe = (e, o, t, r) => {
|
|
133
|
+
if (Ke(e)) {
|
|
134
|
+
ie(e(r), o, t, r);
|
|
146
135
|
return;
|
|
147
136
|
}
|
|
148
|
-
|
|
149
|
-
},
|
|
137
|
+
o.validators === null && (o.validators = []), o.validators.push(Fe(t, e));
|
|
138
|
+
}, Je = (e, o, t, r) => {
|
|
150
139
|
const a = Object.entries(e), l = a.length;
|
|
151
140
|
for (let i = 0; i < l; i++) {
|
|
152
141
|
const [f, c] = a[i];
|
|
153
|
-
|
|
142
|
+
ie(c, Me(o, f), t, r);
|
|
154
143
|
}
|
|
155
|
-
},
|
|
144
|
+
}, Me = (e, o) => {
|
|
156
145
|
let t = e;
|
|
157
|
-
const
|
|
146
|
+
const r = o.split(ee), a = r.length;
|
|
158
147
|
for (let l = 0; l < a; l++) {
|
|
159
|
-
const i =
|
|
148
|
+
const i = r[l];
|
|
160
149
|
let f = t.nextPart.get(i);
|
|
161
|
-
f || (f =
|
|
150
|
+
f || (f = Ne(), t.nextPart.set(i, f)), t = f;
|
|
162
151
|
}
|
|
163
152
|
return t;
|
|
164
|
-
},
|
|
153
|
+
}, Ke = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Qe = (e) => {
|
|
165
154
|
if (e < 1)
|
|
166
155
|
return {
|
|
167
156
|
get: () => {
|
|
@@ -169,106 +158,106 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
169
158
|
set: () => {
|
|
170
159
|
}
|
|
171
160
|
};
|
|
172
|
-
let
|
|
161
|
+
let o = 0, t = /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ Object.create(null);
|
|
173
162
|
const a = (l, i) => {
|
|
174
|
-
t[l] = i,
|
|
163
|
+
t[l] = i, o++, o > e && (o = 0, r = t, t = /* @__PURE__ */ Object.create(null));
|
|
175
164
|
};
|
|
176
165
|
return {
|
|
177
166
|
get(l) {
|
|
178
167
|
let i = t[l];
|
|
179
168
|
if (i !== void 0)
|
|
180
169
|
return i;
|
|
181
|
-
if ((i =
|
|
170
|
+
if ((i = r[l]) !== void 0)
|
|
182
171
|
return a(l, i), i;
|
|
183
172
|
},
|
|
184
173
|
set(l, i) {
|
|
185
174
|
l in t ? t[l] = i : a(l, i);
|
|
186
175
|
}
|
|
187
176
|
};
|
|
188
|
-
},
|
|
177
|
+
}, ae = "!", ye = ":", Ze = [], we = (e, o, t, r, a) => ({
|
|
189
178
|
modifiers: e,
|
|
190
|
-
hasImportantModifier:
|
|
179
|
+
hasImportantModifier: o,
|
|
191
180
|
baseClassName: t,
|
|
192
|
-
maybePostfixModifierPosition:
|
|
181
|
+
maybePostfixModifierPosition: r,
|
|
193
182
|
isExternal: a
|
|
194
|
-
}),
|
|
183
|
+
}), et = (e) => {
|
|
195
184
|
const {
|
|
196
|
-
prefix:
|
|
185
|
+
prefix: o,
|
|
197
186
|
experimentalParseClassName: t
|
|
198
187
|
} = e;
|
|
199
|
-
let
|
|
188
|
+
let r = (a) => {
|
|
200
189
|
const l = [];
|
|
201
190
|
let i = 0, f = 0, c = 0, u;
|
|
202
191
|
const b = a.length;
|
|
203
192
|
for (let v = 0; v < b; v++) {
|
|
204
|
-
const
|
|
193
|
+
const w = a[v];
|
|
205
194
|
if (i === 0 && f === 0) {
|
|
206
|
-
if (
|
|
195
|
+
if (w === ye) {
|
|
207
196
|
l.push(a.slice(c, v)), c = v + 1;
|
|
208
197
|
continue;
|
|
209
198
|
}
|
|
210
|
-
if (
|
|
199
|
+
if (w === "/") {
|
|
211
200
|
u = v;
|
|
212
201
|
continue;
|
|
213
202
|
}
|
|
214
203
|
}
|
|
215
|
-
|
|
204
|
+
w === "[" ? i++ : w === "]" ? i-- : w === "(" ? f++ : w === ")" && f--;
|
|
216
205
|
}
|
|
217
206
|
const h = l.length === 0 ? a : a.slice(c);
|
|
218
|
-
let
|
|
219
|
-
h.endsWith(
|
|
207
|
+
let y = h, z = !1;
|
|
208
|
+
h.endsWith(ae) ? (y = h.slice(0, -1), z = !0) : (
|
|
220
209
|
/**
|
|
221
210
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
222
211
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
223
212
|
*/
|
|
224
|
-
h.startsWith(
|
|
213
|
+
h.startsWith(ae) && (y = h.slice(1), z = !0)
|
|
225
214
|
);
|
|
226
215
|
const A = u && u > c ? u - c : void 0;
|
|
227
|
-
return
|
|
216
|
+
return we(l, z, y, A);
|
|
228
217
|
};
|
|
229
|
-
if (
|
|
230
|
-
const a =
|
|
231
|
-
|
|
218
|
+
if (o) {
|
|
219
|
+
const a = o + ye, l = r;
|
|
220
|
+
r = (i) => i.startsWith(a) ? l(i.slice(a.length)) : we(Ze, !1, i, void 0, !0);
|
|
232
221
|
}
|
|
233
222
|
if (t) {
|
|
234
|
-
const a =
|
|
235
|
-
|
|
223
|
+
const a = r;
|
|
224
|
+
r = (l) => t({
|
|
236
225
|
className: l,
|
|
237
226
|
parseClassName: a
|
|
238
227
|
});
|
|
239
228
|
}
|
|
240
|
-
return
|
|
241
|
-
},
|
|
242
|
-
const
|
|
243
|
-
return e.orderSensitiveModifiers.forEach((t,
|
|
244
|
-
|
|
229
|
+
return r;
|
|
230
|
+
}, tt = (e) => {
|
|
231
|
+
const o = /* @__PURE__ */ new Map();
|
|
232
|
+
return e.orderSensitiveModifiers.forEach((t, r) => {
|
|
233
|
+
o.set(t, 1e6 + r);
|
|
245
234
|
}), (t) => {
|
|
246
|
-
const
|
|
235
|
+
const r = [];
|
|
247
236
|
let a = [];
|
|
248
237
|
for (let l = 0; l < t.length; l++) {
|
|
249
|
-
const i = t[l], f = i[0] === "[", c =
|
|
250
|
-
f || c ? (a.length > 0 && (a.sort(),
|
|
238
|
+
const i = t[l], f = i[0] === "[", c = o.has(i);
|
|
239
|
+
f || c ? (a.length > 0 && (a.sort(), r.push(...a), a = []), r.push(i)) : a.push(i);
|
|
251
240
|
}
|
|
252
|
-
return a.length > 0 && (a.sort(),
|
|
241
|
+
return a.length > 0 && (a.sort(), r.push(...a)), r;
|
|
253
242
|
};
|
|
254
|
-
},
|
|
255
|
-
cache:
|
|
256
|
-
parseClassName:
|
|
257
|
-
sortModifiers:
|
|
258
|
-
|
|
259
|
-
}),
|
|
243
|
+
}, ot = (e) => ({
|
|
244
|
+
cache: Qe(e.cacheSize),
|
|
245
|
+
parseClassName: et(e),
|
|
246
|
+
sortModifiers: tt(e),
|
|
247
|
+
...$e(e)
|
|
248
|
+
}), rt = /\s+/, st = (e, o) => {
|
|
260
249
|
const {
|
|
261
250
|
parseClassName: t,
|
|
262
|
-
getClassGroupId:
|
|
251
|
+
getClassGroupId: r,
|
|
263
252
|
getConflictingClassGroupIds: a,
|
|
264
253
|
sortModifiers: l
|
|
265
|
-
} =
|
|
254
|
+
} = o, i = [], f = e.trim().split(rt);
|
|
266
255
|
let c = "";
|
|
267
256
|
for (let u = f.length - 1; u >= 0; u -= 1) {
|
|
268
257
|
const b = f[u], {
|
|
269
258
|
isExternal: h,
|
|
270
|
-
modifiers:
|
|
271
|
-
hasImportantModifier:
|
|
259
|
+
modifiers: y,
|
|
260
|
+
hasImportantModifier: z,
|
|
272
261
|
baseClassName: A,
|
|
273
262
|
maybePostfixModifierPosition: v
|
|
274
263
|
} = t(b);
|
|
@@ -276,71 +265,71 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
276
265
|
c = b + (c.length > 0 ? " " + c : c);
|
|
277
266
|
continue;
|
|
278
267
|
}
|
|
279
|
-
let
|
|
280
|
-
if (!
|
|
281
|
-
if (!
|
|
268
|
+
let w = !!v, T = r(w ? A.substring(0, v) : A);
|
|
269
|
+
if (!T) {
|
|
270
|
+
if (!w) {
|
|
282
271
|
c = b + (c.length > 0 ? " " + c : c);
|
|
283
272
|
continue;
|
|
284
273
|
}
|
|
285
|
-
if (
|
|
274
|
+
if (T = r(A), !T) {
|
|
286
275
|
c = b + (c.length > 0 ? " " + c : c);
|
|
287
276
|
continue;
|
|
288
277
|
}
|
|
289
|
-
|
|
278
|
+
w = !1;
|
|
290
279
|
}
|
|
291
|
-
const
|
|
292
|
-
if (i.indexOf(
|
|
280
|
+
const Y = y.length === 0 ? "" : y.length === 1 ? y[0] : l(y).join(":"), $ = z ? Y + ae : Y, O = $ + T;
|
|
281
|
+
if (i.indexOf(O) > -1)
|
|
293
282
|
continue;
|
|
294
|
-
i.push(
|
|
295
|
-
const
|
|
296
|
-
for (let
|
|
297
|
-
const
|
|
298
|
-
i.push(
|
|
283
|
+
i.push(O);
|
|
284
|
+
const L = a(T, w);
|
|
285
|
+
for (let G = 0; G < L.length; ++G) {
|
|
286
|
+
const D = L[G];
|
|
287
|
+
i.push($ + D);
|
|
299
288
|
}
|
|
300
289
|
c = b + (c.length > 0 ? " " + c : c);
|
|
301
290
|
}
|
|
302
291
|
return c;
|
|
303
|
-
},
|
|
304
|
-
let
|
|
305
|
-
for (;
|
|
306
|
-
(t = e[
|
|
292
|
+
}, nt = (...e) => {
|
|
293
|
+
let o = 0, t, r, a = "";
|
|
294
|
+
for (; o < e.length; )
|
|
295
|
+
(t = e[o++]) && (r = Pe(t)) && (a && (a += " "), a += r);
|
|
307
296
|
return a;
|
|
308
|
-
},
|
|
297
|
+
}, Pe = (e) => {
|
|
309
298
|
if (typeof e == "string")
|
|
310
299
|
return e;
|
|
311
|
-
let
|
|
312
|
-
for (let
|
|
313
|
-
e[
|
|
300
|
+
let o, t = "";
|
|
301
|
+
for (let r = 0; r < e.length; r++)
|
|
302
|
+
e[r] && (o = Pe(e[r])) && (t && (t += " "), t += o);
|
|
314
303
|
return t;
|
|
315
|
-
},
|
|
316
|
-
let t,
|
|
304
|
+
}, at = (e, ...o) => {
|
|
305
|
+
let t, r, a, l;
|
|
317
306
|
const i = (c) => {
|
|
318
|
-
const u =
|
|
319
|
-
return t =
|
|
307
|
+
const u = o.reduce((b, h) => h(b), e());
|
|
308
|
+
return t = ot(u), r = t.cache.get, a = t.cache.set, l = f, f(c);
|
|
320
309
|
}, f = (c) => {
|
|
321
|
-
const u =
|
|
310
|
+
const u = r(c);
|
|
322
311
|
if (u)
|
|
323
312
|
return u;
|
|
324
|
-
const b =
|
|
313
|
+
const b = st(c, t);
|
|
325
314
|
return a(c, b), b;
|
|
326
315
|
};
|
|
327
|
-
return l = i, (...c) => l(
|
|
328
|
-
},
|
|
329
|
-
const
|
|
330
|
-
return
|
|
331
|
-
},
|
|
316
|
+
return l = i, (...c) => l(nt(...c));
|
|
317
|
+
}, it = [], g = (e) => {
|
|
318
|
+
const o = (t) => t[e] || it;
|
|
319
|
+
return o.isThemeGetter = !0, o;
|
|
320
|
+
}, Te = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ge = /^\((?:(\w[\w-]*):)?(.+)\)$/i, lt = /^\d+\/\d+$/, ct = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, dt = /\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$/, mt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, ut = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, pt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, _ = (e) => lt.test(e), p = (e) => !!e && !Number.isNaN(Number(e)), M = (e) => !!e && Number.isInteger(Number(e)), se = (e) => e.endsWith("%") && p(e.slice(0, -1)), N = (e) => ct.test(e), ft = () => !0, bt = (e) => (
|
|
332
321
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
333
322
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
334
323
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
335
|
-
|
|
336
|
-
),
|
|
337
|
-
const
|
|
338
|
-
return
|
|
339
|
-
},
|
|
340
|
-
const
|
|
341
|
-
return
|
|
342
|
-
},
|
|
343
|
-
const e = g("color"),
|
|
324
|
+
dt.test(e) && !mt.test(e)
|
|
325
|
+
), je = () => !1, gt = (e) => ut.test(e), ht = (e) => pt.test(e), xt = (e) => !s(e) && !n(e), yt = (e) => F(e, Le, je), s = (e) => Te.test(e), V = (e) => F(e, Ee, bt), ne = (e) => F(e, zt, p), ke = (e) => F(e, Ve, je), wt = (e) => F(e, Oe, ht), Q = (e) => F(e, _e, gt), n = (e) => Ge.test(e), U = (e) => W(e, Ee), kt = (e) => W(e, At), ve = (e) => W(e, Ve), vt = (e) => W(e, Le), Ct = (e) => W(e, Oe), Z = (e) => W(e, _e, !0), F = (e, o, t) => {
|
|
326
|
+
const r = Te.exec(e);
|
|
327
|
+
return r ? r[1] ? o(r[1]) : t(r[2]) : !1;
|
|
328
|
+
}, W = (e, o, t = !1) => {
|
|
329
|
+
const r = Ge.exec(e);
|
|
330
|
+
return r ? r[1] ? o(r[1]) : t : !1;
|
|
331
|
+
}, Ve = (e) => e === "position" || e === "percentage", Oe = (e) => e === "image" || e === "url", Le = (e) => e === "length" || e === "size" || e === "bg-size", Ee = (e) => e === "length", zt = (e) => e === "number", At = (e) => e === "family-name", _e = (e) => e === "shadow", Rt = () => {
|
|
332
|
+
const e = g("color"), o = g("font"), t = g("text"), r = g("font-weight"), a = g("tracking"), l = g("leading"), i = g("breakpoint"), f = g("container"), c = g("spacing"), u = g("radius"), b = g("shadow"), h = g("inset-shadow"), y = g("text-shadow"), z = g("drop-shadow"), A = g("blur"), v = g("perspective"), w = g("aspect"), T = g("ease"), Y = g("animate"), $ = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], O = () => [
|
|
344
333
|
"center",
|
|
345
334
|
"top",
|
|
346
335
|
"bottom",
|
|
@@ -358,51 +347,51 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
358
347
|
"bottom-left",
|
|
359
348
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
360
349
|
"left-bottom"
|
|
361
|
-
],
|
|
362
|
-
span: ["full", M,
|
|
363
|
-
}, M,
|
|
364
|
-
position: [
|
|
365
|
-
}],
|
|
350
|
+
], L = () => [...O(), n, s], G = () => ["auto", "hidden", "clip", "visible", "scroll"], D = () => ["auto", "contain", "none"], m = () => [n, s, c], R = () => [_, "full", "auto", ...m()], le = () => [M, "none", "subgrid", n, s], ce = () => ["auto", {
|
|
351
|
+
span: ["full", M, n, s]
|
|
352
|
+
}, M, n, s], q = () => [M, "auto", n, s], de = () => ["auto", "min", "max", "fr", n, s], te = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], E = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], S = () => ["auto", ...m()], j = () => [_, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...m()], d = () => [e, n, s], me = () => [...O(), ve, ke, {
|
|
353
|
+
position: [n, s]
|
|
354
|
+
}], ue = () => ["no-repeat", {
|
|
366
355
|
repeat: ["", "x", "y", "space", "round"]
|
|
367
|
-
}],
|
|
368
|
-
size: [
|
|
369
|
-
}],
|
|
356
|
+
}], pe = () => ["auto", "cover", "contain", vt, yt, {
|
|
357
|
+
size: [n, s]
|
|
358
|
+
}], oe = () => [se, U, V], k = () => [
|
|
370
359
|
// Deprecated since Tailwind CSS v4.0.0
|
|
371
360
|
"",
|
|
372
361
|
"none",
|
|
373
362
|
"full",
|
|
374
363
|
u,
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
],
|
|
364
|
+
n,
|
|
365
|
+
s
|
|
366
|
+
], C = () => ["", p, U, V], H = () => ["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"], x = () => [p, se, ve, ke], be = () => [
|
|
378
367
|
// Deprecated since Tailwind CSS v4.0.0
|
|
379
368
|
"",
|
|
380
369
|
"none",
|
|
381
370
|
A,
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
],
|
|
371
|
+
n,
|
|
372
|
+
s
|
|
373
|
+
], X = () => ["none", p, n, s], J = () => ["none", p, n, s], re = () => [p, n, s], K = () => [_, "full", ...m()];
|
|
385
374
|
return {
|
|
386
375
|
cacheSize: 500,
|
|
387
376
|
theme: {
|
|
388
377
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
389
378
|
aspect: ["video"],
|
|
390
|
-
blur: [
|
|
391
|
-
breakpoint: [
|
|
392
|
-
color: [
|
|
393
|
-
container: [
|
|
394
|
-
"drop-shadow": [
|
|
379
|
+
blur: [N],
|
|
380
|
+
breakpoint: [N],
|
|
381
|
+
color: [ft],
|
|
382
|
+
container: [N],
|
|
383
|
+
"drop-shadow": [N],
|
|
395
384
|
ease: ["in", "out", "in-out"],
|
|
396
|
-
font: [
|
|
385
|
+
font: [xt],
|
|
397
386
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
398
|
-
"inset-shadow": [
|
|
387
|
+
"inset-shadow": [N],
|
|
399
388
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
400
389
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
401
|
-
radius: [
|
|
402
|
-
shadow: [
|
|
390
|
+
radius: [N],
|
|
391
|
+
shadow: [N],
|
|
403
392
|
spacing: ["px", p],
|
|
404
|
-
text: [
|
|
405
|
-
"text-shadow": [
|
|
393
|
+
text: [N],
|
|
394
|
+
"text-shadow": [N],
|
|
406
395
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
407
396
|
},
|
|
408
397
|
classGroups: {
|
|
@@ -414,7 +403,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
414
403
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
415
404
|
*/
|
|
416
405
|
aspect: [{
|
|
417
|
-
aspect: ["auto", "square",
|
|
406
|
+
aspect: ["auto", "square", _, s, n, w]
|
|
418
407
|
}],
|
|
419
408
|
/**
|
|
420
409
|
* Container
|
|
@@ -427,21 +416,21 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
427
416
|
* @see https://tailwindcss.com/docs/columns
|
|
428
417
|
*/
|
|
429
418
|
columns: [{
|
|
430
|
-
columns: [p,
|
|
419
|
+
columns: [p, s, n, f]
|
|
431
420
|
}],
|
|
432
421
|
/**
|
|
433
422
|
* Break After
|
|
434
423
|
* @see https://tailwindcss.com/docs/break-after
|
|
435
424
|
*/
|
|
436
425
|
"break-after": [{
|
|
437
|
-
"break-after":
|
|
426
|
+
"break-after": $()
|
|
438
427
|
}],
|
|
439
428
|
/**
|
|
440
429
|
* Break Before
|
|
441
430
|
* @see https://tailwindcss.com/docs/break-before
|
|
442
431
|
*/
|
|
443
432
|
"break-before": [{
|
|
444
|
-
"break-before":
|
|
433
|
+
"break-before": $()
|
|
445
434
|
}],
|
|
446
435
|
/**
|
|
447
436
|
* Break Inside
|
|
@@ -505,49 +494,49 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
505
494
|
* @see https://tailwindcss.com/docs/object-position
|
|
506
495
|
*/
|
|
507
496
|
"object-position": [{
|
|
508
|
-
object:
|
|
497
|
+
object: L()
|
|
509
498
|
}],
|
|
510
499
|
/**
|
|
511
500
|
* Overflow
|
|
512
501
|
* @see https://tailwindcss.com/docs/overflow
|
|
513
502
|
*/
|
|
514
503
|
overflow: [{
|
|
515
|
-
overflow:
|
|
504
|
+
overflow: G()
|
|
516
505
|
}],
|
|
517
506
|
/**
|
|
518
507
|
* Overflow X
|
|
519
508
|
* @see https://tailwindcss.com/docs/overflow
|
|
520
509
|
*/
|
|
521
510
|
"overflow-x": [{
|
|
522
|
-
"overflow-x":
|
|
511
|
+
"overflow-x": G()
|
|
523
512
|
}],
|
|
524
513
|
/**
|
|
525
514
|
* Overflow Y
|
|
526
515
|
* @see https://tailwindcss.com/docs/overflow
|
|
527
516
|
*/
|
|
528
517
|
"overflow-y": [{
|
|
529
|
-
"overflow-y":
|
|
518
|
+
"overflow-y": G()
|
|
530
519
|
}],
|
|
531
520
|
/**
|
|
532
521
|
* Overscroll Behavior
|
|
533
522
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
534
523
|
*/
|
|
535
524
|
overscroll: [{
|
|
536
|
-
overscroll:
|
|
525
|
+
overscroll: D()
|
|
537
526
|
}],
|
|
538
527
|
/**
|
|
539
528
|
* Overscroll Behavior X
|
|
540
529
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
541
530
|
*/
|
|
542
531
|
"overscroll-x": [{
|
|
543
|
-
"overscroll-x":
|
|
532
|
+
"overscroll-x": D()
|
|
544
533
|
}],
|
|
545
534
|
/**
|
|
546
535
|
* Overscroll Behavior Y
|
|
547
536
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
548
537
|
*/
|
|
549
538
|
"overscroll-y": [{
|
|
550
|
-
"overscroll-y":
|
|
539
|
+
"overscroll-y": D()
|
|
551
540
|
}],
|
|
552
541
|
/**
|
|
553
542
|
* Position
|
|
@@ -559,63 +548,63 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
559
548
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
560
549
|
*/
|
|
561
550
|
inset: [{
|
|
562
|
-
inset:
|
|
551
|
+
inset: R()
|
|
563
552
|
}],
|
|
564
553
|
/**
|
|
565
554
|
* Right / Left
|
|
566
555
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
567
556
|
*/
|
|
568
557
|
"inset-x": [{
|
|
569
|
-
"inset-x":
|
|
558
|
+
"inset-x": R()
|
|
570
559
|
}],
|
|
571
560
|
/**
|
|
572
561
|
* Top / Bottom
|
|
573
562
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
574
563
|
*/
|
|
575
564
|
"inset-y": [{
|
|
576
|
-
"inset-y":
|
|
565
|
+
"inset-y": R()
|
|
577
566
|
}],
|
|
578
567
|
/**
|
|
579
568
|
* Start
|
|
580
569
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
581
570
|
*/
|
|
582
571
|
start: [{
|
|
583
|
-
start:
|
|
572
|
+
start: R()
|
|
584
573
|
}],
|
|
585
574
|
/**
|
|
586
575
|
* End
|
|
587
576
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
588
577
|
*/
|
|
589
578
|
end: [{
|
|
590
|
-
end:
|
|
579
|
+
end: R()
|
|
591
580
|
}],
|
|
592
581
|
/**
|
|
593
582
|
* Top
|
|
594
583
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
595
584
|
*/
|
|
596
585
|
top: [{
|
|
597
|
-
top:
|
|
586
|
+
top: R()
|
|
598
587
|
}],
|
|
599
588
|
/**
|
|
600
589
|
* Right
|
|
601
590
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
602
591
|
*/
|
|
603
592
|
right: [{
|
|
604
|
-
right:
|
|
593
|
+
right: R()
|
|
605
594
|
}],
|
|
606
595
|
/**
|
|
607
596
|
* Bottom
|
|
608
597
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
609
598
|
*/
|
|
610
599
|
bottom: [{
|
|
611
|
-
bottom:
|
|
600
|
+
bottom: R()
|
|
612
601
|
}],
|
|
613
602
|
/**
|
|
614
603
|
* Left
|
|
615
604
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
616
605
|
*/
|
|
617
606
|
left: [{
|
|
618
|
-
left:
|
|
607
|
+
left: R()
|
|
619
608
|
}],
|
|
620
609
|
/**
|
|
621
610
|
* Visibility
|
|
@@ -627,7 +616,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
627
616
|
* @see https://tailwindcss.com/docs/z-index
|
|
628
617
|
*/
|
|
629
618
|
z: [{
|
|
630
|
-
z: [M, "auto",
|
|
619
|
+
z: [M, "auto", n, s]
|
|
631
620
|
}],
|
|
632
621
|
// ------------------------
|
|
633
622
|
// --- Flexbox and Grid ---
|
|
@@ -637,7 +626,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
637
626
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
638
627
|
*/
|
|
639
628
|
basis: [{
|
|
640
|
-
basis: [
|
|
629
|
+
basis: [_, "full", "auto", f, ...m()]
|
|
641
630
|
}],
|
|
642
631
|
/**
|
|
643
632
|
* Flex Direction
|
|
@@ -658,84 +647,84 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
658
647
|
* @see https://tailwindcss.com/docs/flex
|
|
659
648
|
*/
|
|
660
649
|
flex: [{
|
|
661
|
-
flex: [p,
|
|
650
|
+
flex: [p, _, "auto", "initial", "none", s]
|
|
662
651
|
}],
|
|
663
652
|
/**
|
|
664
653
|
* Flex Grow
|
|
665
654
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
666
655
|
*/
|
|
667
656
|
grow: [{
|
|
668
|
-
grow: ["", p,
|
|
657
|
+
grow: ["", p, n, s]
|
|
669
658
|
}],
|
|
670
659
|
/**
|
|
671
660
|
* Flex Shrink
|
|
672
661
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
673
662
|
*/
|
|
674
663
|
shrink: [{
|
|
675
|
-
shrink: ["", p,
|
|
664
|
+
shrink: ["", p, n, s]
|
|
676
665
|
}],
|
|
677
666
|
/**
|
|
678
667
|
* Order
|
|
679
668
|
* @see https://tailwindcss.com/docs/order
|
|
680
669
|
*/
|
|
681
670
|
order: [{
|
|
682
|
-
order: [M, "first", "last", "none",
|
|
671
|
+
order: [M, "first", "last", "none", n, s]
|
|
683
672
|
}],
|
|
684
673
|
/**
|
|
685
674
|
* Grid Template Columns
|
|
686
675
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
687
676
|
*/
|
|
688
677
|
"grid-cols": [{
|
|
689
|
-
"grid-cols":
|
|
678
|
+
"grid-cols": le()
|
|
690
679
|
}],
|
|
691
680
|
/**
|
|
692
681
|
* Grid Column Start / End
|
|
693
682
|
* @see https://tailwindcss.com/docs/grid-column
|
|
694
683
|
*/
|
|
695
684
|
"col-start-end": [{
|
|
696
|
-
col:
|
|
685
|
+
col: ce()
|
|
697
686
|
}],
|
|
698
687
|
/**
|
|
699
688
|
* Grid Column Start
|
|
700
689
|
* @see https://tailwindcss.com/docs/grid-column
|
|
701
690
|
*/
|
|
702
691
|
"col-start": [{
|
|
703
|
-
"col-start":
|
|
692
|
+
"col-start": q()
|
|
704
693
|
}],
|
|
705
694
|
/**
|
|
706
695
|
* Grid Column End
|
|
707
696
|
* @see https://tailwindcss.com/docs/grid-column
|
|
708
697
|
*/
|
|
709
698
|
"col-end": [{
|
|
710
|
-
"col-end":
|
|
699
|
+
"col-end": q()
|
|
711
700
|
}],
|
|
712
701
|
/**
|
|
713
702
|
* Grid Template Rows
|
|
714
703
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
715
704
|
*/
|
|
716
705
|
"grid-rows": [{
|
|
717
|
-
"grid-rows":
|
|
706
|
+
"grid-rows": le()
|
|
718
707
|
}],
|
|
719
708
|
/**
|
|
720
709
|
* Grid Row Start / End
|
|
721
710
|
* @see https://tailwindcss.com/docs/grid-row
|
|
722
711
|
*/
|
|
723
712
|
"row-start-end": [{
|
|
724
|
-
row:
|
|
713
|
+
row: ce()
|
|
725
714
|
}],
|
|
726
715
|
/**
|
|
727
716
|
* Grid Row Start
|
|
728
717
|
* @see https://tailwindcss.com/docs/grid-row
|
|
729
718
|
*/
|
|
730
719
|
"row-start": [{
|
|
731
|
-
"row-start":
|
|
720
|
+
"row-start": q()
|
|
732
721
|
}],
|
|
733
722
|
/**
|
|
734
723
|
* Grid Row End
|
|
735
724
|
* @see https://tailwindcss.com/docs/grid-row
|
|
736
725
|
*/
|
|
737
726
|
"row-end": [{
|
|
738
|
-
"row-end":
|
|
727
|
+
"row-end": q()
|
|
739
728
|
}],
|
|
740
729
|
/**
|
|
741
730
|
* Grid Auto Flow
|
|
@@ -749,14 +738,14 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
749
738
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
750
739
|
*/
|
|
751
740
|
"auto-cols": [{
|
|
752
|
-
"auto-cols":
|
|
741
|
+
"auto-cols": de()
|
|
753
742
|
}],
|
|
754
743
|
/**
|
|
755
744
|
* Grid Auto Rows
|
|
756
745
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
757
746
|
*/
|
|
758
747
|
"auto-rows": [{
|
|
759
|
-
"auto-rows":
|
|
748
|
+
"auto-rows": de()
|
|
760
749
|
}],
|
|
761
750
|
/**
|
|
762
751
|
* Gap
|
|
@@ -784,35 +773,35 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
784
773
|
* @see https://tailwindcss.com/docs/justify-content
|
|
785
774
|
*/
|
|
786
775
|
"justify-content": [{
|
|
787
|
-
justify: [...
|
|
776
|
+
justify: [...te(), "normal"]
|
|
788
777
|
}],
|
|
789
778
|
/**
|
|
790
779
|
* Justify Items
|
|
791
780
|
* @see https://tailwindcss.com/docs/justify-items
|
|
792
781
|
*/
|
|
793
782
|
"justify-items": [{
|
|
794
|
-
"justify-items": [...
|
|
783
|
+
"justify-items": [...E(), "normal"]
|
|
795
784
|
}],
|
|
796
785
|
/**
|
|
797
786
|
* Justify Self
|
|
798
787
|
* @see https://tailwindcss.com/docs/justify-self
|
|
799
788
|
*/
|
|
800
789
|
"justify-self": [{
|
|
801
|
-
"justify-self": ["auto", ...
|
|
790
|
+
"justify-self": ["auto", ...E()]
|
|
802
791
|
}],
|
|
803
792
|
/**
|
|
804
793
|
* Align Content
|
|
805
794
|
* @see https://tailwindcss.com/docs/align-content
|
|
806
795
|
*/
|
|
807
796
|
"align-content": [{
|
|
808
|
-
content: ["normal", ...
|
|
797
|
+
content: ["normal", ...te()]
|
|
809
798
|
}],
|
|
810
799
|
/**
|
|
811
800
|
* Align Items
|
|
812
801
|
* @see https://tailwindcss.com/docs/align-items
|
|
813
802
|
*/
|
|
814
803
|
"align-items": [{
|
|
815
|
-
items: [...
|
|
804
|
+
items: [...E(), {
|
|
816
805
|
baseline: ["", "last"]
|
|
817
806
|
}]
|
|
818
807
|
}],
|
|
@@ -821,7 +810,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
821
810
|
* @see https://tailwindcss.com/docs/align-self
|
|
822
811
|
*/
|
|
823
812
|
"align-self": [{
|
|
824
|
-
self: ["auto", ...
|
|
813
|
+
self: ["auto", ...E(), {
|
|
825
814
|
baseline: ["", "last"]
|
|
826
815
|
}]
|
|
827
816
|
}],
|
|
@@ -830,21 +819,21 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
830
819
|
* @see https://tailwindcss.com/docs/place-content
|
|
831
820
|
*/
|
|
832
821
|
"place-content": [{
|
|
833
|
-
"place-content":
|
|
822
|
+
"place-content": te()
|
|
834
823
|
}],
|
|
835
824
|
/**
|
|
836
825
|
* Place Items
|
|
837
826
|
* @see https://tailwindcss.com/docs/place-items
|
|
838
827
|
*/
|
|
839
828
|
"place-items": [{
|
|
840
|
-
"place-items": [...
|
|
829
|
+
"place-items": [...E(), "baseline"]
|
|
841
830
|
}],
|
|
842
831
|
/**
|
|
843
832
|
* Place Self
|
|
844
833
|
* @see https://tailwindcss.com/docs/place-self
|
|
845
834
|
*/
|
|
846
835
|
"place-self": [{
|
|
847
|
-
"place-self": ["auto", ...
|
|
836
|
+
"place-self": ["auto", ...E()]
|
|
848
837
|
}],
|
|
849
838
|
// Spacing
|
|
850
839
|
/**
|
|
@@ -915,63 +904,63 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
915
904
|
* @see https://tailwindcss.com/docs/margin
|
|
916
905
|
*/
|
|
917
906
|
m: [{
|
|
918
|
-
m:
|
|
907
|
+
m: S()
|
|
919
908
|
}],
|
|
920
909
|
/**
|
|
921
910
|
* Margin X
|
|
922
911
|
* @see https://tailwindcss.com/docs/margin
|
|
923
912
|
*/
|
|
924
913
|
mx: [{
|
|
925
|
-
mx:
|
|
914
|
+
mx: S()
|
|
926
915
|
}],
|
|
927
916
|
/**
|
|
928
917
|
* Margin Y
|
|
929
918
|
* @see https://tailwindcss.com/docs/margin
|
|
930
919
|
*/
|
|
931
920
|
my: [{
|
|
932
|
-
my:
|
|
921
|
+
my: S()
|
|
933
922
|
}],
|
|
934
923
|
/**
|
|
935
924
|
* Margin Start
|
|
936
925
|
* @see https://tailwindcss.com/docs/margin
|
|
937
926
|
*/
|
|
938
927
|
ms: [{
|
|
939
|
-
ms:
|
|
928
|
+
ms: S()
|
|
940
929
|
}],
|
|
941
930
|
/**
|
|
942
931
|
* Margin End
|
|
943
932
|
* @see https://tailwindcss.com/docs/margin
|
|
944
933
|
*/
|
|
945
934
|
me: [{
|
|
946
|
-
me:
|
|
935
|
+
me: S()
|
|
947
936
|
}],
|
|
948
937
|
/**
|
|
949
938
|
* Margin Top
|
|
950
939
|
* @see https://tailwindcss.com/docs/margin
|
|
951
940
|
*/
|
|
952
941
|
mt: [{
|
|
953
|
-
mt:
|
|
942
|
+
mt: S()
|
|
954
943
|
}],
|
|
955
944
|
/**
|
|
956
945
|
* Margin Right
|
|
957
946
|
* @see https://tailwindcss.com/docs/margin
|
|
958
947
|
*/
|
|
959
948
|
mr: [{
|
|
960
|
-
mr:
|
|
949
|
+
mr: S()
|
|
961
950
|
}],
|
|
962
951
|
/**
|
|
963
952
|
* Margin Bottom
|
|
964
953
|
* @see https://tailwindcss.com/docs/margin
|
|
965
954
|
*/
|
|
966
955
|
mb: [{
|
|
967
|
-
mb:
|
|
956
|
+
mb: S()
|
|
968
957
|
}],
|
|
969
958
|
/**
|
|
970
959
|
* Margin Left
|
|
971
960
|
* @see https://tailwindcss.com/docs/margin
|
|
972
961
|
*/
|
|
973
962
|
ml: [{
|
|
974
|
-
ml:
|
|
963
|
+
ml: S()
|
|
975
964
|
}],
|
|
976
965
|
/**
|
|
977
966
|
* Space Between X
|
|
@@ -1005,14 +994,14 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1005
994
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1006
995
|
*/
|
|
1007
996
|
size: [{
|
|
1008
|
-
size:
|
|
997
|
+
size: j()
|
|
1009
998
|
}],
|
|
1010
999
|
/**
|
|
1011
1000
|
* Width
|
|
1012
1001
|
* @see https://tailwindcss.com/docs/width
|
|
1013
1002
|
*/
|
|
1014
1003
|
w: [{
|
|
1015
|
-
w: [f, "screen", ...
|
|
1004
|
+
w: [f, "screen", ...j()]
|
|
1016
1005
|
}],
|
|
1017
1006
|
/**
|
|
1018
1007
|
* Min-Width
|
|
@@ -1024,7 +1013,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1024
1013
|
"screen",
|
|
1025
1014
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1026
1015
|
"none",
|
|
1027
|
-
...
|
|
1016
|
+
...j()
|
|
1028
1017
|
]
|
|
1029
1018
|
}],
|
|
1030
1019
|
/**
|
|
@@ -1042,7 +1031,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1042
1031
|
{
|
|
1043
1032
|
screen: [i]
|
|
1044
1033
|
},
|
|
1045
|
-
...
|
|
1034
|
+
...j()
|
|
1046
1035
|
]
|
|
1047
1036
|
}],
|
|
1048
1037
|
/**
|
|
@@ -1050,21 +1039,21 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1050
1039
|
* @see https://tailwindcss.com/docs/height
|
|
1051
1040
|
*/
|
|
1052
1041
|
h: [{
|
|
1053
|
-
h: ["screen", "lh", ...
|
|
1042
|
+
h: ["screen", "lh", ...j()]
|
|
1054
1043
|
}],
|
|
1055
1044
|
/**
|
|
1056
1045
|
* Min-Height
|
|
1057
1046
|
* @see https://tailwindcss.com/docs/min-height
|
|
1058
1047
|
*/
|
|
1059
1048
|
"min-h": [{
|
|
1060
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1049
|
+
"min-h": ["screen", "lh", "none", ...j()]
|
|
1061
1050
|
}],
|
|
1062
1051
|
/**
|
|
1063
1052
|
* Max-Height
|
|
1064
1053
|
* @see https://tailwindcss.com/docs/max-height
|
|
1065
1054
|
*/
|
|
1066
1055
|
"max-h": [{
|
|
1067
|
-
"max-h": ["screen", "lh", ...
|
|
1056
|
+
"max-h": ["screen", "lh", ...j()]
|
|
1068
1057
|
}],
|
|
1069
1058
|
// ------------------
|
|
1070
1059
|
// --- Typography ---
|
|
@@ -1074,7 +1063,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1074
1063
|
* @see https://tailwindcss.com/docs/font-size
|
|
1075
1064
|
*/
|
|
1076
1065
|
"font-size": [{
|
|
1077
|
-
text: ["base", t,
|
|
1066
|
+
text: ["base", t, U, V]
|
|
1078
1067
|
}],
|
|
1079
1068
|
/**
|
|
1080
1069
|
* Font Smoothing
|
|
@@ -1091,21 +1080,21 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1091
1080
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1092
1081
|
*/
|
|
1093
1082
|
"font-weight": [{
|
|
1094
|
-
font: [
|
|
1083
|
+
font: [r, n, ne]
|
|
1095
1084
|
}],
|
|
1096
1085
|
/**
|
|
1097
1086
|
* Font Stretch
|
|
1098
1087
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1099
1088
|
*/
|
|
1100
1089
|
"font-stretch": [{
|
|
1101
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1090
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", se, s]
|
|
1102
1091
|
}],
|
|
1103
1092
|
/**
|
|
1104
1093
|
* Font Family
|
|
1105
1094
|
* @see https://tailwindcss.com/docs/font-family
|
|
1106
1095
|
*/
|
|
1107
1096
|
"font-family": [{
|
|
1108
|
-
font: [
|
|
1097
|
+
font: [kt, s, o]
|
|
1109
1098
|
}],
|
|
1110
1099
|
/**
|
|
1111
1100
|
* Font Variant Numeric
|
|
@@ -1142,14 +1131,14 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1142
1131
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1143
1132
|
*/
|
|
1144
1133
|
tracking: [{
|
|
1145
|
-
tracking: [a,
|
|
1134
|
+
tracking: [a, n, s]
|
|
1146
1135
|
}],
|
|
1147
1136
|
/**
|
|
1148
1137
|
* Line Clamp
|
|
1149
1138
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1150
1139
|
*/
|
|
1151
1140
|
"line-clamp": [{
|
|
1152
|
-
"line-clamp": [p, "none",
|
|
1141
|
+
"line-clamp": [p, "none", n, ne]
|
|
1153
1142
|
}],
|
|
1154
1143
|
/**
|
|
1155
1144
|
* Line Height
|
|
@@ -1167,7 +1156,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1167
1156
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1168
1157
|
*/
|
|
1169
1158
|
"list-image": [{
|
|
1170
|
-
"list-image": ["none",
|
|
1159
|
+
"list-image": ["none", n, s]
|
|
1171
1160
|
}],
|
|
1172
1161
|
/**
|
|
1173
1162
|
* List Style Position
|
|
@@ -1181,7 +1170,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1181
1170
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1182
1171
|
*/
|
|
1183
1172
|
"list-style-type": [{
|
|
1184
|
-
list: ["disc", "decimal", "none",
|
|
1173
|
+
list: ["disc", "decimal", "none", n, s]
|
|
1185
1174
|
}],
|
|
1186
1175
|
/**
|
|
1187
1176
|
* Text Alignment
|
|
@@ -1215,14 +1204,14 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1215
1204
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1216
1205
|
*/
|
|
1217
1206
|
"text-decoration-style": [{
|
|
1218
|
-
decoration: [...
|
|
1207
|
+
decoration: [...H(), "wavy"]
|
|
1219
1208
|
}],
|
|
1220
1209
|
/**
|
|
1221
1210
|
* Text Decoration Thickness
|
|
1222
1211
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1223
1212
|
*/
|
|
1224
1213
|
"text-decoration-thickness": [{
|
|
1225
|
-
decoration: [p, "from-font", "auto",
|
|
1214
|
+
decoration: [p, "from-font", "auto", n, V]
|
|
1226
1215
|
}],
|
|
1227
1216
|
/**
|
|
1228
1217
|
* Text Decoration Color
|
|
@@ -1236,7 +1225,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1236
1225
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1237
1226
|
*/
|
|
1238
1227
|
"underline-offset": [{
|
|
1239
|
-
"underline-offset": [p, "auto",
|
|
1228
|
+
"underline-offset": [p, "auto", n, s]
|
|
1240
1229
|
}],
|
|
1241
1230
|
/**
|
|
1242
1231
|
* Text Transform
|
|
@@ -1267,7 +1256,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1267
1256
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1268
1257
|
*/
|
|
1269
1258
|
"vertical-align": [{
|
|
1270
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1259
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", n, s]
|
|
1271
1260
|
}],
|
|
1272
1261
|
/**
|
|
1273
1262
|
* Whitespace
|
|
@@ -1302,7 +1291,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1302
1291
|
* @see https://tailwindcss.com/docs/content
|
|
1303
1292
|
*/
|
|
1304
1293
|
content: [{
|
|
1305
|
-
content: ["none",
|
|
1294
|
+
content: ["none", n, s]
|
|
1306
1295
|
}],
|
|
1307
1296
|
// -------------------
|
|
1308
1297
|
// --- Backgrounds ---
|
|
@@ -1333,21 +1322,21 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1333
1322
|
* @see https://tailwindcss.com/docs/background-position
|
|
1334
1323
|
*/
|
|
1335
1324
|
"bg-position": [{
|
|
1336
|
-
bg:
|
|
1325
|
+
bg: me()
|
|
1337
1326
|
}],
|
|
1338
1327
|
/**
|
|
1339
1328
|
* Background Repeat
|
|
1340
1329
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1341
1330
|
*/
|
|
1342
1331
|
"bg-repeat": [{
|
|
1343
|
-
bg:
|
|
1332
|
+
bg: ue()
|
|
1344
1333
|
}],
|
|
1345
1334
|
/**
|
|
1346
1335
|
* Background Size
|
|
1347
1336
|
* @see https://tailwindcss.com/docs/background-size
|
|
1348
1337
|
*/
|
|
1349
1338
|
"bg-size": [{
|
|
1350
|
-
bg:
|
|
1339
|
+
bg: pe()
|
|
1351
1340
|
}],
|
|
1352
1341
|
/**
|
|
1353
1342
|
* Background Image
|
|
@@ -1357,10 +1346,10 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1357
1346
|
bg: ["none", {
|
|
1358
1347
|
linear: [{
|
|
1359
1348
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1360
|
-
}, M,
|
|
1361
|
-
radial: ["",
|
|
1362
|
-
conic: [M,
|
|
1363
|
-
},
|
|
1349
|
+
}, M, n, s],
|
|
1350
|
+
radial: ["", n, s],
|
|
1351
|
+
conic: [M, n, s]
|
|
1352
|
+
}, Ct, wt]
|
|
1364
1353
|
}],
|
|
1365
1354
|
/**
|
|
1366
1355
|
* Background Color
|
|
@@ -1374,21 +1363,21 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1374
1363
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1375
1364
|
*/
|
|
1376
1365
|
"gradient-from-pos": [{
|
|
1377
|
-
from:
|
|
1366
|
+
from: oe()
|
|
1378
1367
|
}],
|
|
1379
1368
|
/**
|
|
1380
1369
|
* Gradient Color Stops Via Position
|
|
1381
1370
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1382
1371
|
*/
|
|
1383
1372
|
"gradient-via-pos": [{
|
|
1384
|
-
via:
|
|
1373
|
+
via: oe()
|
|
1385
1374
|
}],
|
|
1386
1375
|
/**
|
|
1387
1376
|
* Gradient Color Stops To Position
|
|
1388
1377
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1389
1378
|
*/
|
|
1390
1379
|
"gradient-to-pos": [{
|
|
1391
|
-
to:
|
|
1380
|
+
to: oe()
|
|
1392
1381
|
}],
|
|
1393
1382
|
/**
|
|
1394
1383
|
* Gradient Color Stops From
|
|
@@ -1419,175 +1408,175 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1419
1408
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1420
1409
|
*/
|
|
1421
1410
|
rounded: [{
|
|
1422
|
-
rounded:
|
|
1411
|
+
rounded: k()
|
|
1423
1412
|
}],
|
|
1424
1413
|
/**
|
|
1425
1414
|
* Border Radius Start
|
|
1426
1415
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1427
1416
|
*/
|
|
1428
1417
|
"rounded-s": [{
|
|
1429
|
-
"rounded-s":
|
|
1418
|
+
"rounded-s": k()
|
|
1430
1419
|
}],
|
|
1431
1420
|
/**
|
|
1432
1421
|
* Border Radius End
|
|
1433
1422
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1434
1423
|
*/
|
|
1435
1424
|
"rounded-e": [{
|
|
1436
|
-
"rounded-e":
|
|
1425
|
+
"rounded-e": k()
|
|
1437
1426
|
}],
|
|
1438
1427
|
/**
|
|
1439
1428
|
* Border Radius Top
|
|
1440
1429
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1441
1430
|
*/
|
|
1442
1431
|
"rounded-t": [{
|
|
1443
|
-
"rounded-t":
|
|
1432
|
+
"rounded-t": k()
|
|
1444
1433
|
}],
|
|
1445
1434
|
/**
|
|
1446
1435
|
* Border Radius Right
|
|
1447
1436
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1448
1437
|
*/
|
|
1449
1438
|
"rounded-r": [{
|
|
1450
|
-
"rounded-r":
|
|
1439
|
+
"rounded-r": k()
|
|
1451
1440
|
}],
|
|
1452
1441
|
/**
|
|
1453
1442
|
* Border Radius Bottom
|
|
1454
1443
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1455
1444
|
*/
|
|
1456
1445
|
"rounded-b": [{
|
|
1457
|
-
"rounded-b":
|
|
1446
|
+
"rounded-b": k()
|
|
1458
1447
|
}],
|
|
1459
1448
|
/**
|
|
1460
1449
|
* Border Radius Left
|
|
1461
1450
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1462
1451
|
*/
|
|
1463
1452
|
"rounded-l": [{
|
|
1464
|
-
"rounded-l":
|
|
1453
|
+
"rounded-l": k()
|
|
1465
1454
|
}],
|
|
1466
1455
|
/**
|
|
1467
1456
|
* Border Radius Start Start
|
|
1468
1457
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1469
1458
|
*/
|
|
1470
1459
|
"rounded-ss": [{
|
|
1471
|
-
"rounded-ss":
|
|
1460
|
+
"rounded-ss": k()
|
|
1472
1461
|
}],
|
|
1473
1462
|
/**
|
|
1474
1463
|
* Border Radius Start End
|
|
1475
1464
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1476
1465
|
*/
|
|
1477
1466
|
"rounded-se": [{
|
|
1478
|
-
"rounded-se":
|
|
1467
|
+
"rounded-se": k()
|
|
1479
1468
|
}],
|
|
1480
1469
|
/**
|
|
1481
1470
|
* Border Radius End End
|
|
1482
1471
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1483
1472
|
*/
|
|
1484
1473
|
"rounded-ee": [{
|
|
1485
|
-
"rounded-ee":
|
|
1474
|
+
"rounded-ee": k()
|
|
1486
1475
|
}],
|
|
1487
1476
|
/**
|
|
1488
1477
|
* Border Radius End Start
|
|
1489
1478
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1490
1479
|
*/
|
|
1491
1480
|
"rounded-es": [{
|
|
1492
|
-
"rounded-es":
|
|
1481
|
+
"rounded-es": k()
|
|
1493
1482
|
}],
|
|
1494
1483
|
/**
|
|
1495
1484
|
* Border Radius Top Left
|
|
1496
1485
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1497
1486
|
*/
|
|
1498
1487
|
"rounded-tl": [{
|
|
1499
|
-
"rounded-tl":
|
|
1488
|
+
"rounded-tl": k()
|
|
1500
1489
|
}],
|
|
1501
1490
|
/**
|
|
1502
1491
|
* Border Radius Top Right
|
|
1503
1492
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1504
1493
|
*/
|
|
1505
1494
|
"rounded-tr": [{
|
|
1506
|
-
"rounded-tr":
|
|
1495
|
+
"rounded-tr": k()
|
|
1507
1496
|
}],
|
|
1508
1497
|
/**
|
|
1509
1498
|
* Border Radius Bottom Right
|
|
1510
1499
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1511
1500
|
*/
|
|
1512
1501
|
"rounded-br": [{
|
|
1513
|
-
"rounded-br":
|
|
1502
|
+
"rounded-br": k()
|
|
1514
1503
|
}],
|
|
1515
1504
|
/**
|
|
1516
1505
|
* Border Radius Bottom Left
|
|
1517
1506
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1518
1507
|
*/
|
|
1519
1508
|
"rounded-bl": [{
|
|
1520
|
-
"rounded-bl":
|
|
1509
|
+
"rounded-bl": k()
|
|
1521
1510
|
}],
|
|
1522
1511
|
/**
|
|
1523
1512
|
* Border Width
|
|
1524
1513
|
* @see https://tailwindcss.com/docs/border-width
|
|
1525
1514
|
*/
|
|
1526
1515
|
"border-w": [{
|
|
1527
|
-
border:
|
|
1516
|
+
border: C()
|
|
1528
1517
|
}],
|
|
1529
1518
|
/**
|
|
1530
1519
|
* Border Width X
|
|
1531
1520
|
* @see https://tailwindcss.com/docs/border-width
|
|
1532
1521
|
*/
|
|
1533
1522
|
"border-w-x": [{
|
|
1534
|
-
"border-x":
|
|
1523
|
+
"border-x": C()
|
|
1535
1524
|
}],
|
|
1536
1525
|
/**
|
|
1537
1526
|
* Border Width Y
|
|
1538
1527
|
* @see https://tailwindcss.com/docs/border-width
|
|
1539
1528
|
*/
|
|
1540
1529
|
"border-w-y": [{
|
|
1541
|
-
"border-y":
|
|
1530
|
+
"border-y": C()
|
|
1542
1531
|
}],
|
|
1543
1532
|
/**
|
|
1544
1533
|
* Border Width Start
|
|
1545
1534
|
* @see https://tailwindcss.com/docs/border-width
|
|
1546
1535
|
*/
|
|
1547
1536
|
"border-w-s": [{
|
|
1548
|
-
"border-s":
|
|
1537
|
+
"border-s": C()
|
|
1549
1538
|
}],
|
|
1550
1539
|
/**
|
|
1551
1540
|
* Border Width End
|
|
1552
1541
|
* @see https://tailwindcss.com/docs/border-width
|
|
1553
1542
|
*/
|
|
1554
1543
|
"border-w-e": [{
|
|
1555
|
-
"border-e":
|
|
1544
|
+
"border-e": C()
|
|
1556
1545
|
}],
|
|
1557
1546
|
/**
|
|
1558
1547
|
* Border Width Top
|
|
1559
1548
|
* @see https://tailwindcss.com/docs/border-width
|
|
1560
1549
|
*/
|
|
1561
1550
|
"border-w-t": [{
|
|
1562
|
-
"border-t":
|
|
1551
|
+
"border-t": C()
|
|
1563
1552
|
}],
|
|
1564
1553
|
/**
|
|
1565
1554
|
* Border Width Right
|
|
1566
1555
|
* @see https://tailwindcss.com/docs/border-width
|
|
1567
1556
|
*/
|
|
1568
1557
|
"border-w-r": [{
|
|
1569
|
-
"border-r":
|
|
1558
|
+
"border-r": C()
|
|
1570
1559
|
}],
|
|
1571
1560
|
/**
|
|
1572
1561
|
* Border Width Bottom
|
|
1573
1562
|
* @see https://tailwindcss.com/docs/border-width
|
|
1574
1563
|
*/
|
|
1575
1564
|
"border-w-b": [{
|
|
1576
|
-
"border-b":
|
|
1565
|
+
"border-b": C()
|
|
1577
1566
|
}],
|
|
1578
1567
|
/**
|
|
1579
1568
|
* Border Width Left
|
|
1580
1569
|
* @see https://tailwindcss.com/docs/border-width
|
|
1581
1570
|
*/
|
|
1582
1571
|
"border-w-l": [{
|
|
1583
|
-
"border-l":
|
|
1572
|
+
"border-l": C()
|
|
1584
1573
|
}],
|
|
1585
1574
|
/**
|
|
1586
1575
|
* Divide Width X
|
|
1587
1576
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1588
1577
|
*/
|
|
1589
1578
|
"divide-x": [{
|
|
1590
|
-
"divide-x":
|
|
1579
|
+
"divide-x": C()
|
|
1591
1580
|
}],
|
|
1592
1581
|
/**
|
|
1593
1582
|
* Divide Width X Reverse
|
|
@@ -1599,7 +1588,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1599
1588
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1600
1589
|
*/
|
|
1601
1590
|
"divide-y": [{
|
|
1602
|
-
"divide-y":
|
|
1591
|
+
"divide-y": C()
|
|
1603
1592
|
}],
|
|
1604
1593
|
/**
|
|
1605
1594
|
* Divide Width Y Reverse
|
|
@@ -1611,14 +1600,14 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1611
1600
|
* @see https://tailwindcss.com/docs/border-style
|
|
1612
1601
|
*/
|
|
1613
1602
|
"border-style": [{
|
|
1614
|
-
border: [...
|
|
1603
|
+
border: [...H(), "hidden", "none"]
|
|
1615
1604
|
}],
|
|
1616
1605
|
/**
|
|
1617
1606
|
* Divide Style
|
|
1618
1607
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1619
1608
|
*/
|
|
1620
1609
|
"divide-style": [{
|
|
1621
|
-
divide: [...
|
|
1610
|
+
divide: [...H(), "hidden", "none"]
|
|
1622
1611
|
}],
|
|
1623
1612
|
/**
|
|
1624
1613
|
* Border Color
|
|
@@ -1695,21 +1684,21 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1695
1684
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1696
1685
|
*/
|
|
1697
1686
|
"outline-style": [{
|
|
1698
|
-
outline: [...
|
|
1687
|
+
outline: [...H(), "none", "hidden"]
|
|
1699
1688
|
}],
|
|
1700
1689
|
/**
|
|
1701
1690
|
* Outline Offset
|
|
1702
1691
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1703
1692
|
*/
|
|
1704
1693
|
"outline-offset": [{
|
|
1705
|
-
"outline-offset": [p,
|
|
1694
|
+
"outline-offset": [p, n, s]
|
|
1706
1695
|
}],
|
|
1707
1696
|
/**
|
|
1708
1697
|
* Outline Width
|
|
1709
1698
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1710
1699
|
*/
|
|
1711
1700
|
"outline-w": [{
|
|
1712
|
-
outline: ["", p,
|
|
1701
|
+
outline: ["", p, U, V]
|
|
1713
1702
|
}],
|
|
1714
1703
|
/**
|
|
1715
1704
|
* Outline Color
|
|
@@ -1731,8 +1720,8 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1731
1720
|
"",
|
|
1732
1721
|
"none",
|
|
1733
1722
|
b,
|
|
1734
|
-
|
|
1735
|
-
|
|
1723
|
+
Z,
|
|
1724
|
+
Q
|
|
1736
1725
|
]
|
|
1737
1726
|
}],
|
|
1738
1727
|
/**
|
|
@@ -1747,7 +1736,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1747
1736
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1748
1737
|
*/
|
|
1749
1738
|
"inset-shadow": [{
|
|
1750
|
-
"inset-shadow": ["none", h,
|
|
1739
|
+
"inset-shadow": ["none", h, Z, Q]
|
|
1751
1740
|
}],
|
|
1752
1741
|
/**
|
|
1753
1742
|
* Inset Box Shadow Color
|
|
@@ -1761,7 +1750,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1761
1750
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1762
1751
|
*/
|
|
1763
1752
|
"ring-w": [{
|
|
1764
|
-
ring:
|
|
1753
|
+
ring: C()
|
|
1765
1754
|
}],
|
|
1766
1755
|
/**
|
|
1767
1756
|
* Ring Width Inset
|
|
@@ -1784,7 +1773,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1784
1773
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1785
1774
|
*/
|
|
1786
1775
|
"ring-offset-w": [{
|
|
1787
|
-
"ring-offset": [p,
|
|
1776
|
+
"ring-offset": [p, V]
|
|
1788
1777
|
}],
|
|
1789
1778
|
/**
|
|
1790
1779
|
* Ring Offset Color
|
|
@@ -1800,7 +1789,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1800
1789
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
1801
1790
|
*/
|
|
1802
1791
|
"inset-ring-w": [{
|
|
1803
|
-
"inset-ring":
|
|
1792
|
+
"inset-ring": C()
|
|
1804
1793
|
}],
|
|
1805
1794
|
/**
|
|
1806
1795
|
* Inset Ring Color
|
|
@@ -1814,7 +1803,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1814
1803
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
1815
1804
|
*/
|
|
1816
1805
|
"text-shadow": [{
|
|
1817
|
-
"text-shadow": ["none",
|
|
1806
|
+
"text-shadow": ["none", y, Z, Q]
|
|
1818
1807
|
}],
|
|
1819
1808
|
/**
|
|
1820
1809
|
* Text Shadow Color
|
|
@@ -1828,21 +1817,21 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1828
1817
|
* @see https://tailwindcss.com/docs/opacity
|
|
1829
1818
|
*/
|
|
1830
1819
|
opacity: [{
|
|
1831
|
-
opacity: [p,
|
|
1820
|
+
opacity: [p, n, s]
|
|
1832
1821
|
}],
|
|
1833
1822
|
/**
|
|
1834
1823
|
* Mix Blend Mode
|
|
1835
1824
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1836
1825
|
*/
|
|
1837
1826
|
"mix-blend": [{
|
|
1838
|
-
"mix-blend": [...
|
|
1827
|
+
"mix-blend": [...fe(), "plus-darker", "plus-lighter"]
|
|
1839
1828
|
}],
|
|
1840
1829
|
/**
|
|
1841
1830
|
* Background Blend Mode
|
|
1842
1831
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1843
1832
|
*/
|
|
1844
1833
|
"bg-blend": [{
|
|
1845
|
-
"bg-blend":
|
|
1834
|
+
"bg-blend": fe()
|
|
1846
1835
|
}],
|
|
1847
1836
|
/**
|
|
1848
1837
|
* Mask Clip
|
|
@@ -1950,7 +1939,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1950
1939
|
"mask-y-to": d()
|
|
1951
1940
|
}],
|
|
1952
1941
|
"mask-image-radial": [{
|
|
1953
|
-
"mask-radial": [
|
|
1942
|
+
"mask-radial": [n, s]
|
|
1954
1943
|
}],
|
|
1955
1944
|
"mask-image-radial-from-pos": [{
|
|
1956
1945
|
"mask-radial-from": x()
|
|
@@ -1974,7 +1963,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
1974
1963
|
}]
|
|
1975
1964
|
}],
|
|
1976
1965
|
"mask-image-radial-pos": [{
|
|
1977
|
-
"mask-radial-at":
|
|
1966
|
+
"mask-radial-at": O()
|
|
1978
1967
|
}],
|
|
1979
1968
|
"mask-image-conic-pos": [{
|
|
1980
1969
|
"mask-conic": [p]
|
|
@@ -2010,21 +1999,21 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
2010
1999
|
* @see https://tailwindcss.com/docs/mask-position
|
|
2011
2000
|
*/
|
|
2012
2001
|
"mask-position": [{
|
|
2013
|
-
mask:
|
|
2002
|
+
mask: me()
|
|
2014
2003
|
}],
|
|
2015
2004
|
/**
|
|
2016
2005
|
* Mask Repeat
|
|
2017
2006
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2018
2007
|
*/
|
|
2019
2008
|
"mask-repeat": [{
|
|
2020
|
-
mask:
|
|
2009
|
+
mask: ue()
|
|
2021
2010
|
}],
|
|
2022
2011
|
/**
|
|
2023
2012
|
* Mask Size
|
|
2024
2013
|
* @see https://tailwindcss.com/docs/mask-size
|
|
2025
2014
|
*/
|
|
2026
2015
|
"mask-size": [{
|
|
2027
|
-
mask:
|
|
2016
|
+
mask: pe()
|
|
2028
2017
|
}],
|
|
2029
2018
|
/**
|
|
2030
2019
|
* Mask Type
|
|
@@ -2038,7 +2027,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
2038
2027
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2039
2028
|
*/
|
|
2040
2029
|
"mask-image": [{
|
|
2041
|
-
mask: ["none",
|
|
2030
|
+
mask: ["none", n, s]
|
|
2042
2031
|
}],
|
|
2043
2032
|
// ---------------
|
|
2044
2033
|
// --- Filters ---
|
|
@@ -2052,8 +2041,8 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
2052
2041
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2053
2042
|
"",
|
|
2054
2043
|
"none",
|
|
2055
|
-
|
|
2056
|
-
|
|
2044
|
+
n,
|
|
2045
|
+
s
|
|
2057
2046
|
]
|
|
2058
2047
|
}],
|
|
2059
2048
|
/**
|
|
@@ -2061,21 +2050,21 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
2061
2050
|
* @see https://tailwindcss.com/docs/blur
|
|
2062
2051
|
*/
|
|
2063
2052
|
blur: [{
|
|
2064
|
-
blur:
|
|
2053
|
+
blur: be()
|
|
2065
2054
|
}],
|
|
2066
2055
|
/**
|
|
2067
2056
|
* Brightness
|
|
2068
2057
|
* @see https://tailwindcss.com/docs/brightness
|
|
2069
2058
|
*/
|
|
2070
2059
|
brightness: [{
|
|
2071
|
-
brightness: [p,
|
|
2060
|
+
brightness: [p, n, s]
|
|
2072
2061
|
}],
|
|
2073
2062
|
/**
|
|
2074
2063
|
* Contrast
|
|
2075
2064
|
* @see https://tailwindcss.com/docs/contrast
|
|
2076
2065
|
*/
|
|
2077
2066
|
contrast: [{
|
|
2078
|
-
contrast: [p,
|
|
2067
|
+
contrast: [p, n, s]
|
|
2079
2068
|
}],
|
|
2080
2069
|
/**
|
|
2081
2070
|
* Drop Shadow
|
|
@@ -2086,9 +2075,9 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
2086
2075
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2087
2076
|
"",
|
|
2088
2077
|
"none",
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2078
|
+
z,
|
|
2079
|
+
Z,
|
|
2080
|
+
Q
|
|
2092
2081
|
]
|
|
2093
2082
|
}],
|
|
2094
2083
|
/**
|
|
@@ -2103,35 +2092,35 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
2103
2092
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2104
2093
|
*/
|
|
2105
2094
|
grayscale: [{
|
|
2106
|
-
grayscale: ["", p,
|
|
2095
|
+
grayscale: ["", p, n, s]
|
|
2107
2096
|
}],
|
|
2108
2097
|
/**
|
|
2109
2098
|
* Hue Rotate
|
|
2110
2099
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2111
2100
|
*/
|
|
2112
2101
|
"hue-rotate": [{
|
|
2113
|
-
"hue-rotate": [p,
|
|
2102
|
+
"hue-rotate": [p, n, s]
|
|
2114
2103
|
}],
|
|
2115
2104
|
/**
|
|
2116
2105
|
* Invert
|
|
2117
2106
|
* @see https://tailwindcss.com/docs/invert
|
|
2118
2107
|
*/
|
|
2119
2108
|
invert: [{
|
|
2120
|
-
invert: ["", p,
|
|
2109
|
+
invert: ["", p, n, s]
|
|
2121
2110
|
}],
|
|
2122
2111
|
/**
|
|
2123
2112
|
* Saturate
|
|
2124
2113
|
* @see https://tailwindcss.com/docs/saturate
|
|
2125
2114
|
*/
|
|
2126
2115
|
saturate: [{
|
|
2127
|
-
saturate: [p,
|
|
2116
|
+
saturate: [p, n, s]
|
|
2128
2117
|
}],
|
|
2129
2118
|
/**
|
|
2130
2119
|
* Sepia
|
|
2131
2120
|
* @see https://tailwindcss.com/docs/sepia
|
|
2132
2121
|
*/
|
|
2133
2122
|
sepia: [{
|
|
2134
|
-
sepia: ["", p,
|
|
2123
|
+
sepia: ["", p, n, s]
|
|
2135
2124
|
}],
|
|
2136
2125
|
/**
|
|
2137
2126
|
* Backdrop Filter
|
|
@@ -2142,8 +2131,8 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
2142
2131
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2143
2132
|
"",
|
|
2144
2133
|
"none",
|
|
2145
|
-
|
|
2146
|
-
|
|
2134
|
+
n,
|
|
2135
|
+
s
|
|
2147
2136
|
]
|
|
2148
2137
|
}],
|
|
2149
2138
|
/**
|
|
@@ -2151,63 +2140,63 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
2151
2140
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2152
2141
|
*/
|
|
2153
2142
|
"backdrop-blur": [{
|
|
2154
|
-
"backdrop-blur":
|
|
2143
|
+
"backdrop-blur": be()
|
|
2155
2144
|
}],
|
|
2156
2145
|
/**
|
|
2157
2146
|
* Backdrop Brightness
|
|
2158
2147
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2159
2148
|
*/
|
|
2160
2149
|
"backdrop-brightness": [{
|
|
2161
|
-
"backdrop-brightness": [p,
|
|
2150
|
+
"backdrop-brightness": [p, n, s]
|
|
2162
2151
|
}],
|
|
2163
2152
|
/**
|
|
2164
2153
|
* Backdrop Contrast
|
|
2165
2154
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2166
2155
|
*/
|
|
2167
2156
|
"backdrop-contrast": [{
|
|
2168
|
-
"backdrop-contrast": [p,
|
|
2157
|
+
"backdrop-contrast": [p, n, s]
|
|
2169
2158
|
}],
|
|
2170
2159
|
/**
|
|
2171
2160
|
* Backdrop Grayscale
|
|
2172
2161
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2173
2162
|
*/
|
|
2174
2163
|
"backdrop-grayscale": [{
|
|
2175
|
-
"backdrop-grayscale": ["", p,
|
|
2164
|
+
"backdrop-grayscale": ["", p, n, s]
|
|
2176
2165
|
}],
|
|
2177
2166
|
/**
|
|
2178
2167
|
* Backdrop Hue Rotate
|
|
2179
2168
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2180
2169
|
*/
|
|
2181
2170
|
"backdrop-hue-rotate": [{
|
|
2182
|
-
"backdrop-hue-rotate": [p,
|
|
2171
|
+
"backdrop-hue-rotate": [p, n, s]
|
|
2183
2172
|
}],
|
|
2184
2173
|
/**
|
|
2185
2174
|
* Backdrop Invert
|
|
2186
2175
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2187
2176
|
*/
|
|
2188
2177
|
"backdrop-invert": [{
|
|
2189
|
-
"backdrop-invert": ["", p,
|
|
2178
|
+
"backdrop-invert": ["", p, n, s]
|
|
2190
2179
|
}],
|
|
2191
2180
|
/**
|
|
2192
2181
|
* Backdrop Opacity
|
|
2193
2182
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2194
2183
|
*/
|
|
2195
2184
|
"backdrop-opacity": [{
|
|
2196
|
-
"backdrop-opacity": [p,
|
|
2185
|
+
"backdrop-opacity": [p, n, s]
|
|
2197
2186
|
}],
|
|
2198
2187
|
/**
|
|
2199
2188
|
* Backdrop Saturate
|
|
2200
2189
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2201
2190
|
*/
|
|
2202
2191
|
"backdrop-saturate": [{
|
|
2203
|
-
"backdrop-saturate": [p,
|
|
2192
|
+
"backdrop-saturate": [p, n, s]
|
|
2204
2193
|
}],
|
|
2205
2194
|
/**
|
|
2206
2195
|
* Backdrop Sepia
|
|
2207
2196
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2208
2197
|
*/
|
|
2209
2198
|
"backdrop-sepia": [{
|
|
2210
|
-
"backdrop-sepia": ["", p,
|
|
2199
|
+
"backdrop-sepia": ["", p, n, s]
|
|
2211
2200
|
}],
|
|
2212
2201
|
// --------------
|
|
2213
2202
|
// --- Tables ---
|
|
@@ -2262,7 +2251,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
2262
2251
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2263
2252
|
*/
|
|
2264
2253
|
transition: [{
|
|
2265
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2254
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", n, s]
|
|
2266
2255
|
}],
|
|
2267
2256
|
/**
|
|
2268
2257
|
* Transition Behavior
|
|
@@ -2276,28 +2265,28 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
2276
2265
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2277
2266
|
*/
|
|
2278
2267
|
duration: [{
|
|
2279
|
-
duration: [p, "initial",
|
|
2268
|
+
duration: [p, "initial", n, s]
|
|
2280
2269
|
}],
|
|
2281
2270
|
/**
|
|
2282
2271
|
* Transition Timing Function
|
|
2283
2272
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2284
2273
|
*/
|
|
2285
2274
|
ease: [{
|
|
2286
|
-
ease: ["linear", "initial",
|
|
2275
|
+
ease: ["linear", "initial", T, n, s]
|
|
2287
2276
|
}],
|
|
2288
2277
|
/**
|
|
2289
2278
|
* Transition Delay
|
|
2290
2279
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2291
2280
|
*/
|
|
2292
2281
|
delay: [{
|
|
2293
|
-
delay: [p,
|
|
2282
|
+
delay: [p, n, s]
|
|
2294
2283
|
}],
|
|
2295
2284
|
/**
|
|
2296
2285
|
* Animation
|
|
2297
2286
|
* @see https://tailwindcss.com/docs/animation
|
|
2298
2287
|
*/
|
|
2299
2288
|
animate: [{
|
|
2300
|
-
animate: ["none",
|
|
2289
|
+
animate: ["none", Y, n, s]
|
|
2301
2290
|
}],
|
|
2302
2291
|
// ------------------
|
|
2303
2292
|
// --- Transforms ---
|
|
@@ -2314,70 +2303,70 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
2314
2303
|
* @see https://tailwindcss.com/docs/perspective
|
|
2315
2304
|
*/
|
|
2316
2305
|
perspective: [{
|
|
2317
|
-
perspective: [v,
|
|
2306
|
+
perspective: [v, n, s]
|
|
2318
2307
|
}],
|
|
2319
2308
|
/**
|
|
2320
2309
|
* Perspective Origin
|
|
2321
2310
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2322
2311
|
*/
|
|
2323
2312
|
"perspective-origin": [{
|
|
2324
|
-
"perspective-origin":
|
|
2313
|
+
"perspective-origin": L()
|
|
2325
2314
|
}],
|
|
2326
2315
|
/**
|
|
2327
2316
|
* Rotate
|
|
2328
2317
|
* @see https://tailwindcss.com/docs/rotate
|
|
2329
2318
|
*/
|
|
2330
2319
|
rotate: [{
|
|
2331
|
-
rotate:
|
|
2320
|
+
rotate: X()
|
|
2332
2321
|
}],
|
|
2333
2322
|
/**
|
|
2334
2323
|
* Rotate X
|
|
2335
2324
|
* @see https://tailwindcss.com/docs/rotate
|
|
2336
2325
|
*/
|
|
2337
2326
|
"rotate-x": [{
|
|
2338
|
-
"rotate-x":
|
|
2327
|
+
"rotate-x": X()
|
|
2339
2328
|
}],
|
|
2340
2329
|
/**
|
|
2341
2330
|
* Rotate Y
|
|
2342
2331
|
* @see https://tailwindcss.com/docs/rotate
|
|
2343
2332
|
*/
|
|
2344
2333
|
"rotate-y": [{
|
|
2345
|
-
"rotate-y":
|
|
2334
|
+
"rotate-y": X()
|
|
2346
2335
|
}],
|
|
2347
2336
|
/**
|
|
2348
2337
|
* Rotate Z
|
|
2349
2338
|
* @see https://tailwindcss.com/docs/rotate
|
|
2350
2339
|
*/
|
|
2351
2340
|
"rotate-z": [{
|
|
2352
|
-
"rotate-z":
|
|
2341
|
+
"rotate-z": X()
|
|
2353
2342
|
}],
|
|
2354
2343
|
/**
|
|
2355
2344
|
* Scale
|
|
2356
2345
|
* @see https://tailwindcss.com/docs/scale
|
|
2357
2346
|
*/
|
|
2358
2347
|
scale: [{
|
|
2359
|
-
scale:
|
|
2348
|
+
scale: J()
|
|
2360
2349
|
}],
|
|
2361
2350
|
/**
|
|
2362
2351
|
* Scale X
|
|
2363
2352
|
* @see https://tailwindcss.com/docs/scale
|
|
2364
2353
|
*/
|
|
2365
2354
|
"scale-x": [{
|
|
2366
|
-
"scale-x":
|
|
2355
|
+
"scale-x": J()
|
|
2367
2356
|
}],
|
|
2368
2357
|
/**
|
|
2369
2358
|
* Scale Y
|
|
2370
2359
|
* @see https://tailwindcss.com/docs/scale
|
|
2371
2360
|
*/
|
|
2372
2361
|
"scale-y": [{
|
|
2373
|
-
"scale-y":
|
|
2362
|
+
"scale-y": J()
|
|
2374
2363
|
}],
|
|
2375
2364
|
/**
|
|
2376
2365
|
* Scale Z
|
|
2377
2366
|
* @see https://tailwindcss.com/docs/scale
|
|
2378
2367
|
*/
|
|
2379
2368
|
"scale-z": [{
|
|
2380
|
-
"scale-z":
|
|
2369
|
+
"scale-z": J()
|
|
2381
2370
|
}],
|
|
2382
2371
|
/**
|
|
2383
2372
|
* Scale 3D
|
|
@@ -2389,35 +2378,35 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
2389
2378
|
* @see https://tailwindcss.com/docs/skew
|
|
2390
2379
|
*/
|
|
2391
2380
|
skew: [{
|
|
2392
|
-
skew:
|
|
2381
|
+
skew: re()
|
|
2393
2382
|
}],
|
|
2394
2383
|
/**
|
|
2395
2384
|
* Skew X
|
|
2396
2385
|
* @see https://tailwindcss.com/docs/skew
|
|
2397
2386
|
*/
|
|
2398
2387
|
"skew-x": [{
|
|
2399
|
-
"skew-x":
|
|
2388
|
+
"skew-x": re()
|
|
2400
2389
|
}],
|
|
2401
2390
|
/**
|
|
2402
2391
|
* Skew Y
|
|
2403
2392
|
* @see https://tailwindcss.com/docs/skew
|
|
2404
2393
|
*/
|
|
2405
2394
|
"skew-y": [{
|
|
2406
|
-
"skew-y":
|
|
2395
|
+
"skew-y": re()
|
|
2407
2396
|
}],
|
|
2408
2397
|
/**
|
|
2409
2398
|
* Transform
|
|
2410
2399
|
* @see https://tailwindcss.com/docs/transform
|
|
2411
2400
|
*/
|
|
2412
2401
|
transform: [{
|
|
2413
|
-
transform: [
|
|
2402
|
+
transform: [n, s, "", "none", "gpu", "cpu"]
|
|
2414
2403
|
}],
|
|
2415
2404
|
/**
|
|
2416
2405
|
* Transform Origin
|
|
2417
2406
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2418
2407
|
*/
|
|
2419
2408
|
"transform-origin": [{
|
|
2420
|
-
origin:
|
|
2409
|
+
origin: L()
|
|
2421
2410
|
}],
|
|
2422
2411
|
/**
|
|
2423
2412
|
* Transform Style
|
|
@@ -2431,28 +2420,28 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
2431
2420
|
* @see https://tailwindcss.com/docs/translate
|
|
2432
2421
|
*/
|
|
2433
2422
|
translate: [{
|
|
2434
|
-
translate:
|
|
2423
|
+
translate: K()
|
|
2435
2424
|
}],
|
|
2436
2425
|
/**
|
|
2437
2426
|
* Translate X
|
|
2438
2427
|
* @see https://tailwindcss.com/docs/translate
|
|
2439
2428
|
*/
|
|
2440
2429
|
"translate-x": [{
|
|
2441
|
-
"translate-x":
|
|
2430
|
+
"translate-x": K()
|
|
2442
2431
|
}],
|
|
2443
2432
|
/**
|
|
2444
2433
|
* Translate Y
|
|
2445
2434
|
* @see https://tailwindcss.com/docs/translate
|
|
2446
2435
|
*/
|
|
2447
2436
|
"translate-y": [{
|
|
2448
|
-
"translate-y":
|
|
2437
|
+
"translate-y": K()
|
|
2449
2438
|
}],
|
|
2450
2439
|
/**
|
|
2451
2440
|
* Translate Z
|
|
2452
2441
|
* @see https://tailwindcss.com/docs/translate
|
|
2453
2442
|
*/
|
|
2454
2443
|
"translate-z": [{
|
|
2455
|
-
"translate-z":
|
|
2444
|
+
"translate-z": K()
|
|
2456
2445
|
}],
|
|
2457
2446
|
/**
|
|
2458
2447
|
* Translate None
|
|
@@ -2495,7 +2484,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
2495
2484
|
* @see https://tailwindcss.com/docs/cursor
|
|
2496
2485
|
*/
|
|
2497
2486
|
cursor: [{
|
|
2498
|
-
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",
|
|
2487
|
+
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", n, s]
|
|
2499
2488
|
}],
|
|
2500
2489
|
/**
|
|
2501
2490
|
* Field Sizing
|
|
@@ -2717,7 +2706,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
2717
2706
|
* @see https://tailwindcss.com/docs/will-change
|
|
2718
2707
|
*/
|
|
2719
2708
|
"will-change": [{
|
|
2720
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2709
|
+
"will-change": ["auto", "scroll", "contents", "transform", n, s]
|
|
2721
2710
|
}],
|
|
2722
2711
|
// -----------
|
|
2723
2712
|
// --- SVG ---
|
|
@@ -2734,7 +2723,7 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
2734
2723
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2735
2724
|
*/
|
|
2736
2725
|
"stroke-w": [{
|
|
2737
|
-
stroke: [p,
|
|
2726
|
+
stroke: [p, U, V, ne]
|
|
2738
2727
|
}],
|
|
2739
2728
|
/**
|
|
2740
2729
|
* Stroke
|
|
@@ -2809,11 +2798,119 @@ const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, be = ve, L
|
|
|
2809
2798
|
},
|
|
2810
2799
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
2811
2800
|
};
|
|
2812
|
-
},
|
|
2813
|
-
function
|
|
2814
|
-
return
|
|
2801
|
+
}, St = /* @__PURE__ */ at(Rt);
|
|
2802
|
+
function I(...e) {
|
|
2803
|
+
return St(Re(e));
|
|
2815
2804
|
}
|
|
2816
|
-
const
|
|
2805
|
+
const Nt = "_animatedButton_10ydq_7", It = {
|
|
2806
|
+
animatedButton: Nt
|
|
2807
|
+
}, Mt = Se(
|
|
2808
|
+
[
|
|
2809
|
+
//Base style
|
|
2810
|
+
"py-2 px-4 rounded border-border cursor-pointer border text-on-primary shadow-md",
|
|
2811
|
+
//Transitons style
|
|
2812
|
+
"transition-all duration-150 ease-in-out",
|
|
2813
|
+
//Hover effects
|
|
2814
|
+
"hover:scale-[1.10] active:scale-[0.95]",
|
|
2815
|
+
//Disabled style
|
|
2816
|
+
"disabled:bg-disabled-surface disabled:border-disabled-border disabled:text-disabled-text disabled:cursor-default disabled:hover:scale-100 disabled:active:scale-100 disabled:cursor-not-allowed"
|
|
2817
|
+
],
|
|
2818
|
+
{
|
|
2819
|
+
variants: {
|
|
2820
|
+
variant: {
|
|
2821
|
+
primary: "bg-primary hover:bg-primary-focus",
|
|
2822
|
+
secondary: "bg-secondary hover:bg-secondary-focus",
|
|
2823
|
+
danger: "border-error-border bg-error dark:bg-transparent dark:border-error dark:border-2 dark:font-bold dark:text-error dark:disabled:text-disabled-text dark:disabled:border-disabled-border",
|
|
2824
|
+
confirm: "bg-success border-success-border",
|
|
2825
|
+
info: "border-info text-info shadow-none disabled:bg-transparent",
|
|
2826
|
+
ghost: "shadow-none border-transparent text-info-text disabled:border-none disabled:bg-transparent hover:bg-info-surface",
|
|
2827
|
+
animated: I(
|
|
2828
|
+
"border-transparent rounded-full text-text-surface",
|
|
2829
|
+
It.animatedButton
|
|
2830
|
+
)
|
|
2831
|
+
}
|
|
2832
|
+
},
|
|
2833
|
+
defaultVariants: {
|
|
2834
|
+
variant: "primary"
|
|
2835
|
+
}
|
|
2836
|
+
}
|
|
2837
|
+
), Bt = ze(
|
|
2838
|
+
function({ className: o, children: t, variant: r, ...a }, l) {
|
|
2839
|
+
return /* @__PURE__ */ P(
|
|
2840
|
+
"button",
|
|
2841
|
+
{
|
|
2842
|
+
ref: l,
|
|
2843
|
+
className: I(Mt({ variant: r }), o),
|
|
2844
|
+
...a,
|
|
2845
|
+
children: t
|
|
2846
|
+
}
|
|
2847
|
+
);
|
|
2848
|
+
}
|
|
2849
|
+
), Pt = B.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ P(
|
|
2850
|
+
"div",
|
|
2851
|
+
{
|
|
2852
|
+
ref: t,
|
|
2853
|
+
className: I(
|
|
2854
|
+
"rounded-md border bg-surface border-border shadow-sm ",
|
|
2855
|
+
e
|
|
2856
|
+
),
|
|
2857
|
+
...o
|
|
2858
|
+
}
|
|
2859
|
+
));
|
|
2860
|
+
Pt.displayName = "Card";
|
|
2861
|
+
const Tt = B.forwardRef(({ className: e, children: o, ...t }, r) => /* @__PURE__ */ Ce(
|
|
2862
|
+
"div",
|
|
2863
|
+
{
|
|
2864
|
+
ref: r,
|
|
2865
|
+
className: I("flex flex-col p-4 pb-3 ", e),
|
|
2866
|
+
...t,
|
|
2867
|
+
children: [
|
|
2868
|
+
o,
|
|
2869
|
+
/* @__PURE__ */ P("div", { className: "h-[2px] w-full bg-border-strong mt-2" })
|
|
2870
|
+
]
|
|
2871
|
+
}
|
|
2872
|
+
));
|
|
2873
|
+
Tt.displayName = "CardHeader";
|
|
2874
|
+
const Gt = B.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ P(
|
|
2875
|
+
"h3",
|
|
2876
|
+
{
|
|
2877
|
+
ref: t,
|
|
2878
|
+
className: I(
|
|
2879
|
+
"font-semibold leading-none tracking-tight text-xl",
|
|
2880
|
+
e
|
|
2881
|
+
),
|
|
2882
|
+
...o
|
|
2883
|
+
}
|
|
2884
|
+
));
|
|
2885
|
+
Gt.displayName = "CardTitle";
|
|
2886
|
+
const jt = B.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ P(
|
|
2887
|
+
"p",
|
|
2888
|
+
{
|
|
2889
|
+
ref: t,
|
|
2890
|
+
className: I("font-semibold text-text-secondary", e),
|
|
2891
|
+
...o
|
|
2892
|
+
}
|
|
2893
|
+
));
|
|
2894
|
+
jt.displayName = "CardDescription";
|
|
2895
|
+
const Vt = B.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ P("div", { ref: t, className: I("p-4", e), ...o }));
|
|
2896
|
+
Vt.displayName = "CardContent";
|
|
2897
|
+
const Ot = B.forwardRef(({ className: e, children: o, ...t }, r) => /* @__PURE__ */ Ce(
|
|
2898
|
+
"div",
|
|
2899
|
+
{
|
|
2900
|
+
ref: r,
|
|
2901
|
+
className: I(
|
|
2902
|
+
"flex flex-col gap-2 p-4 pt-0 text-text-secondary text-sm",
|
|
2903
|
+
e
|
|
2904
|
+
),
|
|
2905
|
+
...t,
|
|
2906
|
+
children: [
|
|
2907
|
+
/* @__PURE__ */ P("div", { className: "h-[1px] w-full bg-border" }),
|
|
2908
|
+
o
|
|
2909
|
+
]
|
|
2910
|
+
}
|
|
2911
|
+
));
|
|
2912
|
+
Ot.displayName = "CardFooter";
|
|
2913
|
+
const Lt = Se("m-0 leading-normal transition-colors", {
|
|
2817
2914
|
variants: {
|
|
2818
2915
|
size: {
|
|
2819
2916
|
xs: "text-xs",
|
|
@@ -2861,10 +2958,10 @@ const Rt = Le("m-0 leading-normal transition-colors", {
|
|
|
2861
2958
|
align: "left",
|
|
2862
2959
|
italic: !1
|
|
2863
2960
|
}
|
|
2864
|
-
}),
|
|
2865
|
-
as:
|
|
2961
|
+
}), Ft = ze(function({
|
|
2962
|
+
as: o,
|
|
2866
2963
|
className: t,
|
|
2867
|
-
size:
|
|
2964
|
+
size: r,
|
|
2868
2965
|
weight: a,
|
|
2869
2966
|
color: l,
|
|
2870
2967
|
align: i,
|
|
@@ -2872,12 +2969,12 @@ const Rt = Le("m-0 leading-normal transition-colors", {
|
|
|
2872
2969
|
children: c,
|
|
2873
2970
|
...u
|
|
2874
2971
|
}, b) {
|
|
2875
|
-
return /* @__PURE__ */
|
|
2876
|
-
|
|
2972
|
+
return /* @__PURE__ */ P(
|
|
2973
|
+
o || "p",
|
|
2877
2974
|
{
|
|
2878
2975
|
ref: b,
|
|
2879
|
-
className:
|
|
2880
|
-
|
|
2976
|
+
className: I(
|
|
2977
|
+
Lt({ size: r, weight: a, color: l, align: i, italic: f }),
|
|
2881
2978
|
t
|
|
2882
2979
|
),
|
|
2883
2980
|
...u,
|
|
@@ -2886,6 +2983,12 @@ const Rt = Le("m-0 leading-normal transition-colors", {
|
|
|
2886
2983
|
);
|
|
2887
2984
|
});
|
|
2888
2985
|
export {
|
|
2986
|
+
Bt as Button,
|
|
2889
2987
|
Pt as Card,
|
|
2890
|
-
|
|
2988
|
+
Vt as CardContent,
|
|
2989
|
+
jt as CardDescription,
|
|
2990
|
+
Ot as CardFooter,
|
|
2991
|
+
Tt as CardHeader,
|
|
2992
|
+
Gt as CardTitle,
|
|
2993
|
+
Ft as Text
|
|
2891
2994
|
};
|