@uoguelph/web-components 2.0.2 → 2.0.3-rc.0

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.
@@ -1,101 +1,98 @@
1
- var de = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, P = (e) => !e || typeof e != "object" || Object.keys(e).length === 0, Se = (e, t) => JSON.stringify(e) === JSON.stringify(t);
2
- function ge(e, t) {
1
+ var ye = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, I = (e) => !e || typeof e != "object" || Object.keys(e).length === 0, Le = (e, t) => JSON.stringify(e) === JSON.stringify(t);
2
+ function Me(e, t) {
3
3
  e.forEach(function(r) {
4
- Array.isArray(r) ? ge(r, t) : t.push(r);
4
+ Array.isArray(r) ? Me(r, t) : t.push(r);
5
5
  });
6
6
  }
7
- function me(e) {
7
+ function ze(e) {
8
8
  let t = [];
9
- return ge(e, t), t;
9
+ return Me(e, t), t;
10
10
  }
11
- var he = (...e) => me(e).filter(Boolean), ye = (e, t) => {
12
- let r = {}, n = Object.keys(e), a = Object.keys(t);
13
- for (let o of n) if (a.includes(o)) {
14
- let i = e[o], s = t[o];
15
- Array.isArray(i) || Array.isArray(s) ? r[o] = he(s, i) : typeof i == "object" && typeof s == "object" ? r[o] = ye(i, s) : r[o] = s + " " + i;
16
- } else r[o] = e[o];
17
- for (let o of a) n.includes(o) || (r[o] = t[o]);
11
+ var Se = (...e) => ze(e).filter(Boolean), Ce = (e, t) => {
12
+ let r = {}, o = Object.keys(e), c = Object.keys(t);
13
+ for (let l of o) if (c.includes(l)) {
14
+ let i = e[l], y = t[l];
15
+ Array.isArray(i) || Array.isArray(y) ? r[l] = Se(y, i) : typeof i == "object" && typeof y == "object" ? r[l] = Ce(i, y) : r[l] = y + " " + i;
16
+ } else r[l] = e[l];
17
+ for (let l of c) o.includes(l) || (r[l] = t[l]);
18
18
  return r;
19
- }, ue = (e) => !e || typeof e != "string" ? e : e.replace(/\s+/g, " ").trim();
20
- const ae = "-", Me = (e) => {
21
- const t = Ge(e), {
19
+ }, we = (e) => !e || typeof e != "string" ? e : e.replace(/\s+/g, " ").trim();
20
+ const me = "-", Fe = (e) => {
21
+ const t = Be(e), {
22
22
  conflictingClassGroups: r,
23
- conflictingClassGroupModifiers: n
23
+ conflictingClassGroupModifiers: o
24
24
  } = e;
25
25
  return {
26
26
  getClassGroupId: (i) => {
27
- const s = i.split(ae);
28
- return s[0] === "" && s.length !== 1 && s.shift(), ve(s, t) || je(i);
27
+ const y = i.split(me);
28
+ return y[0] === "" && y.length !== 1 && y.shift(), Ge(y, t) || _e(i);
29
29
  },
30
- getConflictingClassGroupIds: (i, s) => {
31
- const u = r[i] || [];
32
- return s && n[i] ? [...u, ...n[i]] : u;
30
+ getConflictingClassGroupIds: (i, y) => {
31
+ const d = r[i] || [];
32
+ return y && o[i] ? [...d, ...o[i]] : d;
33
33
  }
34
34
  };
35
- }, ve = (e, t) => {
35
+ }, Ge = (e, t) => {
36
36
  var i;
37
37
  if (e.length === 0)
38
38
  return t.classGroupId;
39
- const r = e[0], n = t.nextPart.get(r), a = n ? ve(e.slice(1), n) : void 0;
40
- if (a)
41
- return a;
39
+ const r = e[0], o = t.nextPart.get(r), c = o ? Ge(e.slice(1), o) : void 0;
40
+ if (c)
41
+ return c;
42
42
  if (t.validators.length === 0)
43
43
  return;
44
- const o = e.join(ae);
44
+ const l = e.join(me);
45
45
  return (i = t.validators.find(({
46
- validator: s
47
- }) => s(o))) == null ? void 0 : i.classGroupId;
48
- }, pe = /^\[(.+)\]$/, je = (e) => {
49
- if (pe.test(e)) {
50
- const t = pe.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
46
+ validator: y
47
+ }) => y(l))) == null ? void 0 : i.classGroupId;
48
+ }, ve = /^\[(.+)\]$/, _e = (e) => {
49
+ if (ve.test(e)) {
50
+ const t = ve.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
51
51
  if (r)
52
52
  return "arbitrary.." + r;
53
53
  }
54
- }, Ge = (e) => {
54
+ }, Be = (e) => {
55
55
  const {
56
56
  theme: t,
57
- prefix: r
58
- } = e, n = {
57
+ classGroups: r
58
+ } = e, o = {
59
59
  nextPart: /* @__PURE__ */ new Map(),
60
60
  validators: []
61
61
  };
62
- return Re(Object.entries(e.classGroups), r).forEach(([o, i]) => {
63
- ne(i, n, o, t);
64
- }), n;
65
- }, ne = (e, t, r, n) => {
66
- e.forEach((a) => {
67
- if (typeof a == "string") {
68
- const o = a === "" ? t : fe(t, a);
69
- o.classGroupId = r;
62
+ for (const c in r)
63
+ de(r[c], o, c, t);
64
+ return o;
65
+ }, de = (e, t, r, o) => {
66
+ e.forEach((c) => {
67
+ if (typeof c == "string") {
68
+ const l = c === "" ? t : xe(t, c);
69
+ l.classGroupId = r;
70
70
  return;
71
71
  }
72
- if (typeof a == "function") {
73
- if (Pe(a)) {
74
- ne(a(n), t, r, n);
72
+ if (typeof c == "function") {
73
+ if ($e(c)) {
74
+ de(c(o), t, r, o);
75
75
  return;
76
76
  }
77
77
  t.validators.push({
78
- validator: a,
78
+ validator: c,
79
79
  classGroupId: r
80
80
  });
81
81
  return;
82
82
  }
83
- Object.entries(a).forEach(([o, i]) => {
84
- ne(i, fe(t, o), r, n);
83
+ Object.entries(c).forEach(([l, i]) => {
84
+ de(i, xe(t, l), r, o);
85
85
  });
86
86
  });
87
- }, fe = (e, t) => {
87
+ }, xe = (e, t) => {
88
88
  let r = e;
89
- return t.split(ae).forEach((n) => {
90
- r.nextPart.has(n) || r.nextPart.set(n, {
89
+ return t.split(me).forEach((o) => {
90
+ r.nextPart.has(o) || r.nextPart.set(o, {
91
91
  nextPart: /* @__PURE__ */ new Map(),
92
92
  validators: []
93
- }), r = r.nextPart.get(n);
93
+ }), r = r.nextPart.get(o);
94
94
  }), r;
95
- }, Pe = (e) => e.isThemeGetter, Re = (e, t) => t ? e.map(([r, n]) => {
96
- const a = n.map((o) => typeof o == "string" ? t + o : typeof o == "object" ? Object.fromEntries(Object.entries(o).map(([i, s]) => [t + i, s])) : o);
97
- return [r, a];
98
- }) : e, Ve = (e) => {
95
+ }, $e = (e) => e.isThemeGetter, We = (e) => {
99
96
  if (e < 1)
100
97
  return {
101
98
  get: () => {
@@ -103,192 +100,232 @@ const ae = "-", Me = (e) => {
103
100
  set: () => {
104
101
  }
105
102
  };
106
- let t = 0, r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
107
- const a = (o, i) => {
108
- r.set(o, i), t++, t > e && (t = 0, n = r, r = /* @__PURE__ */ new Map());
103
+ let t = 0, r = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
104
+ const c = (l, i) => {
105
+ r.set(l, i), t++, t > e && (t = 0, o = r, r = /* @__PURE__ */ new Map());
109
106
  };
110
107
  return {
111
- get(o) {
112
- let i = r.get(o);
108
+ get(l) {
109
+ let i = r.get(l);
113
110
  if (i !== void 0)
114
111
  return i;
115
- if ((i = n.get(o)) !== void 0)
116
- return a(o, i), i;
112
+ if ((i = o.get(l)) !== void 0)
113
+ return c(l, i), i;
117
114
  },
118
- set(o, i) {
119
- r.has(o) ? r.set(o, i) : a(o, i);
115
+ set(l, i) {
116
+ r.has(l) ? r.set(l, i) : c(l, i);
120
117
  }
121
118
  };
122
- }, xe = "!", Ne = (e) => {
119
+ }, ue = "!", pe = ":", Ue = pe.length, Je = (e) => {
123
120
  const {
124
- separator: t,
121
+ prefix: t,
125
122
  experimentalParseClassName: r
126
- } = e, n = t.length === 1, a = t[0], o = t.length, i = (s) => {
127
- const u = [];
128
- let C = 0, m = 0, S;
129
- for (let b = 0; b < s.length; b++) {
130
- let z = s[b];
131
- if (C === 0) {
132
- if (z === a && (n || s.slice(b, b + o) === t)) {
133
- u.push(s.slice(m, b)), m = b + o;
123
+ } = e;
124
+ let o = (c) => {
125
+ const l = [];
126
+ let i = 0, y = 0, d = 0, M;
127
+ for (let z = 0; z < c.length; z++) {
128
+ let S = c[z];
129
+ if (i === 0 && y === 0) {
130
+ if (S === pe) {
131
+ l.push(c.slice(d, z)), d = z + Ue;
134
132
  continue;
135
133
  }
136
- if (z === "/") {
137
- S = b;
134
+ if (S === "/") {
135
+ M = z;
138
136
  continue;
139
137
  }
140
138
  }
141
- z === "[" ? C++ : z === "]" && C--;
139
+ S === "[" ? i++ : S === "]" ? i-- : S === "(" ? y++ : S === ")" && y--;
142
140
  }
143
- const M = u.length === 0 ? s : s.substring(m), R = M.startsWith(xe), j = R ? M.substring(1) : M, k = S && S > m ? S - m : void 0;
141
+ const v = l.length === 0 ? c : c.substring(d), j = qe(v), V = j !== v, T = M && M > d ? M - d : void 0;
144
142
  return {
145
- modifiers: u,
146
- hasImportantModifier: R,
143
+ modifiers: l,
144
+ hasImportantModifier: V,
147
145
  baseClassName: j,
148
- maybePostfixModifierPosition: k
146
+ maybePostfixModifierPosition: T
149
147
  };
150
148
  };
151
- return r ? (s) => r({
152
- className: s,
153
- parseClassName: i
154
- }) : i;
155
- }, Ie = (e) => {
156
- if (e.length <= 1)
157
- return e;
158
- const t = [];
159
- let r = [];
160
- return e.forEach((n) => {
161
- n[0] === "[" ? (t.push(...r.sort(), n), r = []) : r.push(n);
162
- }), t.push(...r.sort()), t;
163
- }, Te = (e) => ({
164
- cache: Ve(e.cacheSize),
165
- parseClassName: Ne(e),
166
- ...Me(e)
167
- }), Ee = /\s+/, Oe = (e, t) => {
149
+ if (t) {
150
+ const c = t + pe, l = o;
151
+ o = (i) => i.startsWith(c) ? l(i.substring(c.length)) : {
152
+ isExternal: !0,
153
+ modifiers: [],
154
+ hasImportantModifier: !1,
155
+ baseClassName: i,
156
+ maybePostfixModifierPosition: void 0
157
+ };
158
+ }
159
+ if (r) {
160
+ const c = o;
161
+ o = (l) => r({
162
+ className: l,
163
+ parseClassName: c
164
+ });
165
+ }
166
+ return o;
167
+ }, qe = (e) => e.endsWith(ue) ? e.substring(0, e.length - 1) : e.startsWith(ue) ? e.substring(1) : e, He = (e) => {
168
+ const t = Object.fromEntries(e.orderSensitiveModifiers.map((o) => [o, !0]));
169
+ return (o) => {
170
+ if (o.length <= 1)
171
+ return o;
172
+ const c = [];
173
+ let l = [];
174
+ return o.forEach((i) => {
175
+ i[0] === "[" || t[i] ? (c.push(...l.sort(), i), l = []) : l.push(i);
176
+ }), c.push(...l.sort()), c;
177
+ };
178
+ }, Ke = (e) => ({
179
+ cache: We(e.cacheSize),
180
+ parseClassName: Je(e),
181
+ sortModifiers: He(e),
182
+ ...Fe(e)
183
+ }), De = /\s+/, Qe = (e, t) => {
168
184
  const {
169
185
  parseClassName: r,
170
- getClassGroupId: n,
171
- getConflictingClassGroupIds: a
172
- } = t, o = [], i = e.trim().split(Ee);
173
- let s = "";
174
- for (let u = i.length - 1; u >= 0; u -= 1) {
175
- const C = i[u], {
176
- modifiers: m,
177
- hasImportantModifier: S,
178
- baseClassName: M,
179
- maybePostfixModifierPosition: R
180
- } = r(C);
181
- let j = !!R, k = n(j ? M.substring(0, R) : M);
182
- if (!k) {
183
- if (!j) {
184
- s = C + (s.length > 0 ? " " + s : s);
186
+ getClassGroupId: o,
187
+ getConflictingClassGroupIds: c,
188
+ sortModifiers: l
189
+ } = t, i = [], y = e.trim().split(De);
190
+ let d = "";
191
+ for (let M = y.length - 1; M >= 0; M -= 1) {
192
+ const v = y[M], {
193
+ isExternal: j,
194
+ modifiers: V,
195
+ hasImportantModifier: T,
196
+ baseClassName: z,
197
+ maybePostfixModifierPosition: S
198
+ } = r(v);
199
+ if (j) {
200
+ d = v + (d.length > 0 ? " " + d : d);
201
+ continue;
202
+ }
203
+ let G = !!S, N = o(G ? z.substring(0, S) : z);
204
+ if (!N) {
205
+ if (!G) {
206
+ d = v + (d.length > 0 ? " " + d : d);
185
207
  continue;
186
208
  }
187
- if (k = n(M), !k) {
188
- s = C + (s.length > 0 ? " " + s : s);
209
+ if (N = o(z), !N) {
210
+ d = v + (d.length > 0 ? " " + d : d);
189
211
  continue;
190
212
  }
191
- j = !1;
213
+ G = !1;
192
214
  }
193
- const b = Ie(m).join(":"), z = S ? b + xe : b, h = z + k;
194
- if (o.includes(h))
215
+ const k = l(V).join(":"), W = T ? k + ue : k, E = W + N;
216
+ if (i.includes(E))
195
217
  continue;
196
- o.push(h);
197
- const L = a(k, j);
198
- for (let N = 0; N < L.length; ++N) {
199
- const W = L[N];
200
- o.push(z + W);
218
+ i.push(E);
219
+ const F = c(N, G);
220
+ for (let u = 0; u < F.length; ++u) {
221
+ const R = F[u];
222
+ i.push(W + R);
201
223
  }
202
- s = C + (s.length > 0 ? " " + s : s);
224
+ d = v + (d.length > 0 ? " " + d : d);
203
225
  }
204
- return s;
226
+ return d;
205
227
  };
206
- function Le() {
207
- let e = 0, t, r, n = "";
228
+ function Xe() {
229
+ let e = 0, t, r, o = "";
208
230
  for (; e < arguments.length; )
209
- (t = arguments[e++]) && (r = we(t)) && (n && (n += " "), n += r);
210
- return n;
231
+ (t = arguments[e++]) && (r = Pe(t)) && (o && (o += " "), o += r);
232
+ return o;
211
233
  }
212
- const we = (e) => {
234
+ const Pe = (e) => {
213
235
  if (typeof e == "string")
214
236
  return e;
215
237
  let t, r = "";
216
- for (let n = 0; n < e.length; n++)
217
- e[n] && (t = we(e[n])) && (r && (r += " "), r += t);
238
+ for (let o = 0; o < e.length; o++)
239
+ e[o] && (t = Pe(e[o])) && (r && (r += " "), r += t);
218
240
  return r;
219
241
  };
220
- function se(e, ...t) {
221
- let r, n, a, o = i;
222
- function i(u) {
223
- const C = t.reduce((m, S) => S(m), e());
224
- return r = Te(C), n = r.cache.get, a = r.cache.set, o = s, s(u);
242
+ function fe(e, ...t) {
243
+ let r, o, c, l = i;
244
+ function i(d) {
245
+ const M = t.reduce((v, j) => j(v), e());
246
+ return r = Ke(M), o = r.cache.get, c = r.cache.set, l = y, y(d);
225
247
  }
226
- function s(u) {
227
- const C = n(u);
228
- if (C)
229
- return C;
230
- const m = Oe(u, r);
231
- return a(u, m), m;
248
+ function y(d) {
249
+ const M = o(d);
250
+ if (M)
251
+ return M;
252
+ const v = Qe(d, r);
253
+ return c(d, v), v;
232
254
  }
233
255
  return function() {
234
- return o(Le.apply(null, arguments));
256
+ return l(Xe.apply(null, arguments));
235
257
  };
236
258
  }
237
- const w = (e) => {
259
+ const C = (e) => {
238
260
  const t = (r) => r[e] || [];
239
261
  return t.isThemeGetter = !0, t;
240
- }, ke = /^\[(?:([a-z-]+):)?(.+)\]$/i, We = /^\d+\/\d+$/, _e = /* @__PURE__ */ new Set(["px", "full", "screen"]), $e = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Be = /\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$/, Ue = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Fe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Je = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, I = (e) => $(e) || _e.has(e) || We.test(e), E = (e) => B(e, "length", De), $ = (e) => !!e && !Number.isNaN(Number(e)), te = (e) => B(e, "number", $), K = (e) => !!e && Number.isInteger(Number(e)), qe = (e) => e.endsWith("%") && $(e.slice(0, -1)), c = (e) => ke.test(e), O = (e) => $e.test(e), Ke = /* @__PURE__ */ new Set(["length", "size", "percentage"]), He = (e) => B(e, Ke, Ce), Qe = (e) => B(e, "position", Ce), Xe = /* @__PURE__ */ new Set(["image", "url"]), Ze = (e) => B(e, Xe, rr), Ye = (e) => B(e, "", er), H = () => !0, B = (e, t, r) => {
241
- const n = ke.exec(e);
242
- return n ? n[1] ? typeof t == "string" ? n[1] === t : t.has(n[1]) : r(n[2]) : !1;
243
- }, De = (e) => (
262
+ }, Re = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ie = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ye = /^\d+\/\d+$/, Ze = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, er = /\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$/, rr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, tr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, or = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Q = (e) => Ye.test(e), m = (e) => !!e && !Number.isNaN(Number(e)), J = (e) => !!e && Number.isInteger(Number(e)), ke = (e) => e.endsWith("%") && m(e.slice(0, -1)), $ = (e) => Ze.test(e), nr = () => !0, sr = (e) => (
244
263
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
245
264
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
246
265
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
247
- Be.test(e) && !Ue.test(e)
248
- ), Ce = () => !1, er = (e) => Fe.test(e), rr = (e) => Je.test(e), le = () => {
249
- const e = w("colors"), t = w("spacing"), r = w("blur"), n = w("brightness"), a = w("borderColor"), o = w("borderRadius"), i = w("borderSpacing"), s = w("borderWidth"), u = w("contrast"), C = w("grayscale"), m = w("hueRotate"), S = w("invert"), M = w("gap"), R = w("gradientColorStops"), j = w("gradientColorStopPositions"), k = w("inset"), b = w("margin"), z = w("opacity"), h = w("padding"), L = w("saturate"), N = w("scale"), W = w("sepia"), Y = w("skew"), U = w("space"), F = w("translate"), _ = () => ["auto", "contain", "none"], J = () => ["auto", "hidden", "clip", "visible", "scroll"], q = () => ["auto", c, t], l = () => [c, t], p = () => ["", I, E], d = () => ["auto", $, c], g = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], f = () => ["solid", "dashed", "dotted", "double", "none"], y = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], v = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], x = () => ["", "0", c], A = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], G = () => [$, c];
266
+ er.test(e) && !rr.test(e)
267
+ ), he = () => !1, lr = (e) => tr.test(e), ir = (e) => or.test(e), ar = (e) => !n(e) && !s(e), cr = (e) => X(e, Te, he), n = (e) => Re.test(e), q = (e) => X(e, Ne, sr), ae = (e) => X(e, vr, m), dr = (e) => X(e, je, he), ur = (e) => X(e, Ve, ir), pr = (e) => X(e, he, lr), s = (e) => Ie.test(e), se = (e) => Y(e, Ne), fr = (e) => Y(e, xr), br = (e) => Y(e, je), gr = (e) => Y(e, Te), mr = (e) => Y(e, Ve), hr = (e) => Y(e, kr, !0), X = (e, t, r) => {
268
+ const o = Re.exec(e);
269
+ return o ? o[1] ? t(o[1]) : r(o[2]) : !1;
270
+ }, Y = (e, t, r = !1) => {
271
+ const o = Ie.exec(e);
272
+ return o ? o[1] ? t(o[1]) : r : !1;
273
+ }, je = (e) => e === "position", yr = /* @__PURE__ */ new Set(["image", "url"]), Ve = (e) => yr.has(e), wr = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Te = (e) => wr.has(e), Ne = (e) => e === "length", vr = (e) => e === "number", xr = (e) => e === "family-name", kr = (e) => e === "shadow", be = () => {
274
+ const e = C("color"), t = C("font"), r = C("text"), o = C("font-weight"), c = C("tracking"), l = C("leading"), i = C("breakpoint"), y = C("container"), d = C("spacing"), M = C("radius"), v = C("shadow"), j = C("inset-shadow"), V = C("drop-shadow"), T = C("blur"), z = C("perspective"), S = C("aspect"), G = C("ease"), N = C("animate"), k = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], W = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], E = () => ["auto", "hidden", "clip", "visible", "scroll"], F = () => ["auto", "contain", "none"], u = () => [s, n, d], R = () => [Q, "full", "auto", ...u()], Z = () => [J, "none", "subgrid", s, n], ee = () => ["auto", {
275
+ span: ["full", J, s, n]
276
+ }, s, n], H = () => [J, "auto", s, n], ne = () => ["auto", "min", "max", "fr", s, n], g = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline"], f = () => ["start", "end", "center", "stretch"], p = () => ["auto", ...u()], h = () => [Q, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], a = () => [e, s, n], x = () => [ke, q], b = () => [
277
+ // Deprecated since Tailwind CSS v4.0.0
278
+ "",
279
+ "none",
280
+ "full",
281
+ M,
282
+ s,
283
+ n
284
+ ], w = () => ["", m, se, q], A = () => ["solid", "dashed", "dotted", "double"], O = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], P = () => [
285
+ // Deprecated since Tailwind CSS v4.0.0
286
+ "",
287
+ "none",
288
+ T,
289
+ s,
290
+ n
291
+ ], U = () => ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", s, n], _ = () => ["none", m, s, n], B = () => ["none", m, s, n], K = () => [m, s, n], D = () => [Q, "full", ...u()];
250
292
  return {
251
293
  cacheSize: 500,
252
- separator: ":",
253
294
  theme: {
254
- colors: [H],
255
- spacing: [I, E],
256
- blur: ["none", "", O, c],
257
- brightness: G(),
258
- borderColor: [e],
259
- borderRadius: ["none", "", "full", O, c],
260
- borderSpacing: l(),
261
- borderWidth: p(),
262
- contrast: G(),
263
- grayscale: x(),
264
- hueRotate: G(),
265
- invert: x(),
266
- gap: l(),
267
- gradientColorStops: [e],
268
- gradientColorStopPositions: [qe, E],
269
- inset: q(),
270
- margin: q(),
271
- opacity: G(),
272
- padding: l(),
273
- saturate: G(),
274
- scale: G(),
275
- sepia: x(),
276
- skew: G(),
277
- space: l(),
278
- translate: l()
295
+ animate: ["spin", "ping", "pulse", "bounce"],
296
+ aspect: ["video"],
297
+ blur: [$],
298
+ breakpoint: [$],
299
+ color: [nr],
300
+ container: [$],
301
+ "drop-shadow": [$],
302
+ ease: ["in", "out", "in-out"],
303
+ font: [ar],
304
+ "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
305
+ "inset-shadow": [$],
306
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
307
+ perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
308
+ radius: [$],
309
+ shadow: [$],
310
+ spacing: ["px", m],
311
+ text: [$],
312
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
279
313
  },
280
314
  classGroups: {
281
- // Layout
315
+ // --------------
316
+ // --- Layout ---
317
+ // --------------
282
318
  /**
283
319
  * Aspect Ratio
284
320
  * @see https://tailwindcss.com/docs/aspect-ratio
285
321
  */
286
322
  aspect: [{
287
- aspect: ["auto", "square", "video", c]
323
+ aspect: ["auto", "square", Q, n, s, S]
288
324
  }],
289
325
  /**
290
326
  * Container
291
327
  * @see https://tailwindcss.com/docs/container
328
+ * @deprecated since Tailwind CSS v4.0.0
292
329
  */
293
330
  container: ["container"],
294
331
  /**
@@ -296,21 +333,21 @@ const w = (e) => {
296
333
  * @see https://tailwindcss.com/docs/columns
297
334
  */
298
335
  columns: [{
299
- columns: [O]
336
+ columns: [m, n, s, y]
300
337
  }],
301
338
  /**
302
339
  * Break After
303
340
  * @see https://tailwindcss.com/docs/break-after
304
341
  */
305
342
  "break-after": [{
306
- "break-after": A()
343
+ "break-after": k()
307
344
  }],
308
345
  /**
309
346
  * Break Before
310
347
  * @see https://tailwindcss.com/docs/break-before
311
348
  */
312
349
  "break-before": [{
313
- "break-before": A()
350
+ "break-before": k()
314
351
  }],
315
352
  /**
316
353
  * Break Inside
@@ -338,6 +375,11 @@ const w = (e) => {
338
375
  * @see https://tailwindcss.com/docs/display
339
376
  */
340
377
  display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
378
+ /**
379
+ * Screen Reader Only
380
+ * @see https://tailwindcss.com/docs/display#screen-reader-only
381
+ */
382
+ sr: ["sr-only", "not-sr-only"],
341
383
  /**
342
384
  * Floats
343
385
  * @see https://tailwindcss.com/docs/float
@@ -369,49 +411,49 @@ const w = (e) => {
369
411
  * @see https://tailwindcss.com/docs/object-position
370
412
  */
371
413
  "object-position": [{
372
- object: [...g(), c]
414
+ object: [...W(), n, s]
373
415
  }],
374
416
  /**
375
417
  * Overflow
376
418
  * @see https://tailwindcss.com/docs/overflow
377
419
  */
378
420
  overflow: [{
379
- overflow: J()
421
+ overflow: E()
380
422
  }],
381
423
  /**
382
424
  * Overflow X
383
425
  * @see https://tailwindcss.com/docs/overflow
384
426
  */
385
427
  "overflow-x": [{
386
- "overflow-x": J()
428
+ "overflow-x": E()
387
429
  }],
388
430
  /**
389
431
  * Overflow Y
390
432
  * @see https://tailwindcss.com/docs/overflow
391
433
  */
392
434
  "overflow-y": [{
393
- "overflow-y": J()
435
+ "overflow-y": E()
394
436
  }],
395
437
  /**
396
438
  * Overscroll Behavior
397
439
  * @see https://tailwindcss.com/docs/overscroll-behavior
398
440
  */
399
441
  overscroll: [{
400
- overscroll: _()
442
+ overscroll: F()
401
443
  }],
402
444
  /**
403
445
  * Overscroll Behavior X
404
446
  * @see https://tailwindcss.com/docs/overscroll-behavior
405
447
  */
406
448
  "overscroll-x": [{
407
- "overscroll-x": _()
449
+ "overscroll-x": F()
408
450
  }],
409
451
  /**
410
452
  * Overscroll Behavior Y
411
453
  * @see https://tailwindcss.com/docs/overscroll-behavior
412
454
  */
413
455
  "overscroll-y": [{
414
- "overscroll-y": _()
456
+ "overscroll-y": F()
415
457
  }],
416
458
  /**
417
459
  * Position
@@ -423,63 +465,63 @@ const w = (e) => {
423
465
  * @see https://tailwindcss.com/docs/top-right-bottom-left
424
466
  */
425
467
  inset: [{
426
- inset: [k]
468
+ inset: R()
427
469
  }],
428
470
  /**
429
471
  * Right / Left
430
472
  * @see https://tailwindcss.com/docs/top-right-bottom-left
431
473
  */
432
474
  "inset-x": [{
433
- "inset-x": [k]
475
+ "inset-x": R()
434
476
  }],
435
477
  /**
436
478
  * Top / Bottom
437
479
  * @see https://tailwindcss.com/docs/top-right-bottom-left
438
480
  */
439
481
  "inset-y": [{
440
- "inset-y": [k]
482
+ "inset-y": R()
441
483
  }],
442
484
  /**
443
485
  * Start
444
486
  * @see https://tailwindcss.com/docs/top-right-bottom-left
445
487
  */
446
488
  start: [{
447
- start: [k]
489
+ start: R()
448
490
  }],
449
491
  /**
450
492
  * End
451
493
  * @see https://tailwindcss.com/docs/top-right-bottom-left
452
494
  */
453
495
  end: [{
454
- end: [k]
496
+ end: R()
455
497
  }],
456
498
  /**
457
499
  * Top
458
500
  * @see https://tailwindcss.com/docs/top-right-bottom-left
459
501
  */
460
502
  top: [{
461
- top: [k]
503
+ top: R()
462
504
  }],
463
505
  /**
464
506
  * Right
465
507
  * @see https://tailwindcss.com/docs/top-right-bottom-left
466
508
  */
467
509
  right: [{
468
- right: [k]
510
+ right: R()
469
511
  }],
470
512
  /**
471
513
  * Bottom
472
514
  * @see https://tailwindcss.com/docs/top-right-bottom-left
473
515
  */
474
516
  bottom: [{
475
- bottom: [k]
517
+ bottom: R()
476
518
  }],
477
519
  /**
478
520
  * Left
479
521
  * @see https://tailwindcss.com/docs/top-right-bottom-left
480
522
  */
481
523
  left: [{
482
- left: [k]
524
+ left: R()
483
525
  }],
484
526
  /**
485
527
  * Visibility
@@ -491,15 +533,17 @@ const w = (e) => {
491
533
  * @see https://tailwindcss.com/docs/z-index
492
534
  */
493
535
  z: [{
494
- z: ["auto", K, c]
536
+ z: [J, "auto", s, n]
495
537
  }],
496
- // Flexbox and Grid
538
+ // ------------------------
539
+ // --- Flexbox and Grid ---
540
+ // ------------------------
497
541
  /**
498
542
  * Flex Basis
499
543
  * @see https://tailwindcss.com/docs/flex-basis
500
544
  */
501
545
  basis: [{
502
- basis: q()
546
+ basis: [Q, "full", "auto", y, ...u()]
503
547
  }],
504
548
  /**
505
549
  * Flex Direction
@@ -513,95 +557,91 @@ const w = (e) => {
513
557
  * @see https://tailwindcss.com/docs/flex-wrap
514
558
  */
515
559
  "flex-wrap": [{
516
- flex: ["wrap", "wrap-reverse", "nowrap"]
560
+ flex: ["nowrap", "wrap", "wrap-reverse"]
517
561
  }],
518
562
  /**
519
563
  * Flex
520
564
  * @see https://tailwindcss.com/docs/flex
521
565
  */
522
566
  flex: [{
523
- flex: ["1", "auto", "initial", "none", c]
567
+ flex: [m, Q, "auto", "initial", "none", n]
524
568
  }],
525
569
  /**
526
570
  * Flex Grow
527
571
  * @see https://tailwindcss.com/docs/flex-grow
528
572
  */
529
573
  grow: [{
530
- grow: x()
574
+ grow: ["", m, s, n]
531
575
  }],
532
576
  /**
533
577
  * Flex Shrink
534
578
  * @see https://tailwindcss.com/docs/flex-shrink
535
579
  */
536
580
  shrink: [{
537
- shrink: x()
581
+ shrink: ["", m, s, n]
538
582
  }],
539
583
  /**
540
584
  * Order
541
585
  * @see https://tailwindcss.com/docs/order
542
586
  */
543
587
  order: [{
544
- order: ["first", "last", "none", K, c]
588
+ order: [J, "first", "last", "none", s, n]
545
589
  }],
546
590
  /**
547
591
  * Grid Template Columns
548
592
  * @see https://tailwindcss.com/docs/grid-template-columns
549
593
  */
550
594
  "grid-cols": [{
551
- "grid-cols": [H]
595
+ "grid-cols": Z()
552
596
  }],
553
597
  /**
554
598
  * Grid Column Start / End
555
599
  * @see https://tailwindcss.com/docs/grid-column
556
600
  */
557
601
  "col-start-end": [{
558
- col: ["auto", {
559
- span: ["full", K, c]
560
- }, c]
602
+ col: ee()
561
603
  }],
562
604
  /**
563
605
  * Grid Column Start
564
606
  * @see https://tailwindcss.com/docs/grid-column
565
607
  */
566
608
  "col-start": [{
567
- "col-start": d()
609
+ "col-start": H()
568
610
  }],
569
611
  /**
570
612
  * Grid Column End
571
613
  * @see https://tailwindcss.com/docs/grid-column
572
614
  */
573
615
  "col-end": [{
574
- "col-end": d()
616
+ "col-end": H()
575
617
  }],
576
618
  /**
577
619
  * Grid Template Rows
578
620
  * @see https://tailwindcss.com/docs/grid-template-rows
579
621
  */
580
622
  "grid-rows": [{
581
- "grid-rows": [H]
623
+ "grid-rows": Z()
582
624
  }],
583
625
  /**
584
626
  * Grid Row Start / End
585
627
  * @see https://tailwindcss.com/docs/grid-row
586
628
  */
587
629
  "row-start-end": [{
588
- row: ["auto", {
589
- span: [K, c]
590
- }, c]
630
+ row: ee()
591
631
  }],
592
632
  /**
593
633
  * Grid Row Start
594
634
  * @see https://tailwindcss.com/docs/grid-row
595
635
  */
596
636
  "row-start": [{
597
- "row-start": d()
637
+ "row-start": H()
598
638
  }],
599
639
  /**
600
640
  * Grid Row End
601
641
  * @see https://tailwindcss.com/docs/grid-row
602
642
  */
603
643
  "row-end": [{
604
- "row-end": d()
644
+ "row-end": H()
605
645
  }],
606
646
  /**
607
647
  * Grid Auto Flow
@@ -615,98 +655,98 @@ const w = (e) => {
615
655
  * @see https://tailwindcss.com/docs/grid-auto-columns
616
656
  */
617
657
  "auto-cols": [{
618
- "auto-cols": ["auto", "min", "max", "fr", c]
658
+ "auto-cols": ne()
619
659
  }],
620
660
  /**
621
661
  * Grid Auto Rows
622
662
  * @see https://tailwindcss.com/docs/grid-auto-rows
623
663
  */
624
664
  "auto-rows": [{
625
- "auto-rows": ["auto", "min", "max", "fr", c]
665
+ "auto-rows": ne()
626
666
  }],
627
667
  /**
628
668
  * Gap
629
669
  * @see https://tailwindcss.com/docs/gap
630
670
  */
631
671
  gap: [{
632
- gap: [M]
672
+ gap: u()
633
673
  }],
634
674
  /**
635
675
  * Gap X
636
676
  * @see https://tailwindcss.com/docs/gap
637
677
  */
638
678
  "gap-x": [{
639
- "gap-x": [M]
679
+ "gap-x": u()
640
680
  }],
641
681
  /**
642
682
  * Gap Y
643
683
  * @see https://tailwindcss.com/docs/gap
644
684
  */
645
685
  "gap-y": [{
646
- "gap-y": [M]
686
+ "gap-y": u()
647
687
  }],
648
688
  /**
649
689
  * Justify Content
650
690
  * @see https://tailwindcss.com/docs/justify-content
651
691
  */
652
692
  "justify-content": [{
653
- justify: ["normal", ...v()]
693
+ justify: [...g(), "normal"]
654
694
  }],
655
695
  /**
656
696
  * Justify Items
657
697
  * @see https://tailwindcss.com/docs/justify-items
658
698
  */
659
699
  "justify-items": [{
660
- "justify-items": ["start", "end", "center", "stretch"]
700
+ "justify-items": [...f(), "normal"]
661
701
  }],
662
702
  /**
663
703
  * Justify Self
664
704
  * @see https://tailwindcss.com/docs/justify-self
665
705
  */
666
706
  "justify-self": [{
667
- "justify-self": ["auto", "start", "end", "center", "stretch"]
707
+ "justify-self": ["auto", ...f()]
668
708
  }],
669
709
  /**
670
710
  * Align Content
671
711
  * @see https://tailwindcss.com/docs/align-content
672
712
  */
673
713
  "align-content": [{
674
- content: ["normal", ...v(), "baseline"]
714
+ content: ["normal", ...g()]
675
715
  }],
676
716
  /**
677
717
  * Align Items
678
718
  * @see https://tailwindcss.com/docs/align-items
679
719
  */
680
720
  "align-items": [{
681
- items: ["start", "end", "center", "baseline", "stretch"]
721
+ items: [...f(), "baseline"]
682
722
  }],
683
723
  /**
684
724
  * Align Self
685
725
  * @see https://tailwindcss.com/docs/align-self
686
726
  */
687
727
  "align-self": [{
688
- self: ["auto", "start", "end", "center", "stretch", "baseline"]
728
+ self: ["auto", ...f(), "baseline"]
689
729
  }],
690
730
  /**
691
731
  * Place Content
692
732
  * @see https://tailwindcss.com/docs/place-content
693
733
  */
694
734
  "place-content": [{
695
- "place-content": [...v(), "baseline"]
735
+ "place-content": g()
696
736
  }],
697
737
  /**
698
738
  * Place Items
699
739
  * @see https://tailwindcss.com/docs/place-items
700
740
  */
701
741
  "place-items": [{
702
- "place-items": ["start", "end", "center", "baseline", "stretch"]
742
+ "place-items": [...f(), "baseline"]
703
743
  }],
704
744
  /**
705
745
  * Place Self
706
746
  * @see https://tailwindcss.com/docs/place-self
707
747
  */
708
748
  "place-self": [{
709
- "place-self": ["auto", "start", "end", "center", "stretch"]
749
+ "place-self": ["auto", ...f()]
710
750
  }],
711
751
  // Spacing
712
752
  /**
@@ -714,210 +754,229 @@ const w = (e) => {
714
754
  * @see https://tailwindcss.com/docs/padding
715
755
  */
716
756
  p: [{
717
- p: [h]
757
+ p: u()
718
758
  }],
719
759
  /**
720
760
  * Padding X
721
761
  * @see https://tailwindcss.com/docs/padding
722
762
  */
723
763
  px: [{
724
- px: [h]
764
+ px: u()
725
765
  }],
726
766
  /**
727
767
  * Padding Y
728
768
  * @see https://tailwindcss.com/docs/padding
729
769
  */
730
770
  py: [{
731
- py: [h]
771
+ py: u()
732
772
  }],
733
773
  /**
734
774
  * Padding Start
735
775
  * @see https://tailwindcss.com/docs/padding
736
776
  */
737
777
  ps: [{
738
- ps: [h]
778
+ ps: u()
739
779
  }],
740
780
  /**
741
781
  * Padding End
742
782
  * @see https://tailwindcss.com/docs/padding
743
783
  */
744
784
  pe: [{
745
- pe: [h]
785
+ pe: u()
746
786
  }],
747
787
  /**
748
788
  * Padding Top
749
789
  * @see https://tailwindcss.com/docs/padding
750
790
  */
751
791
  pt: [{
752
- pt: [h]
792
+ pt: u()
753
793
  }],
754
794
  /**
755
795
  * Padding Right
756
796
  * @see https://tailwindcss.com/docs/padding
757
797
  */
758
798
  pr: [{
759
- pr: [h]
799
+ pr: u()
760
800
  }],
761
801
  /**
762
802
  * Padding Bottom
763
803
  * @see https://tailwindcss.com/docs/padding
764
804
  */
765
805
  pb: [{
766
- pb: [h]
806
+ pb: u()
767
807
  }],
768
808
  /**
769
809
  * Padding Left
770
810
  * @see https://tailwindcss.com/docs/padding
771
811
  */
772
812
  pl: [{
773
- pl: [h]
813
+ pl: u()
774
814
  }],
775
815
  /**
776
816
  * Margin
777
817
  * @see https://tailwindcss.com/docs/margin
778
818
  */
779
819
  m: [{
780
- m: [b]
820
+ m: p()
781
821
  }],
782
822
  /**
783
823
  * Margin X
784
824
  * @see https://tailwindcss.com/docs/margin
785
825
  */
786
826
  mx: [{
787
- mx: [b]
827
+ mx: p()
788
828
  }],
789
829
  /**
790
830
  * Margin Y
791
831
  * @see https://tailwindcss.com/docs/margin
792
832
  */
793
833
  my: [{
794
- my: [b]
834
+ my: p()
795
835
  }],
796
836
  /**
797
837
  * Margin Start
798
838
  * @see https://tailwindcss.com/docs/margin
799
839
  */
800
840
  ms: [{
801
- ms: [b]
841
+ ms: p()
802
842
  }],
803
843
  /**
804
844
  * Margin End
805
845
  * @see https://tailwindcss.com/docs/margin
806
846
  */
807
847
  me: [{
808
- me: [b]
848
+ me: p()
809
849
  }],
810
850
  /**
811
851
  * Margin Top
812
852
  * @see https://tailwindcss.com/docs/margin
813
853
  */
814
854
  mt: [{
815
- mt: [b]
855
+ mt: p()
816
856
  }],
817
857
  /**
818
858
  * Margin Right
819
859
  * @see https://tailwindcss.com/docs/margin
820
860
  */
821
861
  mr: [{
822
- mr: [b]
862
+ mr: p()
823
863
  }],
824
864
  /**
825
865
  * Margin Bottom
826
866
  * @see https://tailwindcss.com/docs/margin
827
867
  */
828
868
  mb: [{
829
- mb: [b]
869
+ mb: p()
830
870
  }],
831
871
  /**
832
872
  * Margin Left
833
873
  * @see https://tailwindcss.com/docs/margin
834
874
  */
835
875
  ml: [{
836
- ml: [b]
876
+ ml: p()
837
877
  }],
838
878
  /**
839
879
  * Space Between X
840
- * @see https://tailwindcss.com/docs/space
880
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
841
881
  */
842
882
  "space-x": [{
843
- "space-x": [U]
883
+ "space-x": u()
844
884
  }],
845
885
  /**
846
886
  * Space Between X Reverse
847
- * @see https://tailwindcss.com/docs/space
887
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
848
888
  */
849
889
  "space-x-reverse": ["space-x-reverse"],
850
890
  /**
851
891
  * Space Between Y
852
- * @see https://tailwindcss.com/docs/space
892
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
853
893
  */
854
894
  "space-y": [{
855
- "space-y": [U]
895
+ "space-y": u()
856
896
  }],
857
897
  /**
858
898
  * Space Between Y Reverse
859
- * @see https://tailwindcss.com/docs/space
899
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
860
900
  */
861
901
  "space-y-reverse": ["space-y-reverse"],
862
- // Sizing
902
+ // --------------
903
+ // --- Sizing ---
904
+ // --------------
905
+ /**
906
+ * Size
907
+ * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
908
+ */
909
+ size: [{
910
+ size: h()
911
+ }],
863
912
  /**
864
913
  * Width
865
914
  * @see https://tailwindcss.com/docs/width
866
915
  */
867
916
  w: [{
868
- w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", c, t]
917
+ w: [y, "screen", ...h()]
869
918
  }],
870
919
  /**
871
920
  * Min-Width
872
921
  * @see https://tailwindcss.com/docs/min-width
873
922
  */
874
923
  "min-w": [{
875
- "min-w": [c, t, "min", "max", "fit"]
924
+ "min-w": [
925
+ y,
926
+ "screen",
927
+ /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
928
+ "none",
929
+ ...h()
930
+ ]
876
931
  }],
877
932
  /**
878
933
  * Max-Width
879
934
  * @see https://tailwindcss.com/docs/max-width
880
935
  */
881
936
  "max-w": [{
882
- "max-w": [c, t, "none", "full", "min", "max", "fit", "prose", {
883
- screen: [O]
884
- }, O]
937
+ "max-w": [
938
+ y,
939
+ "screen",
940
+ "none",
941
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
942
+ "prose",
943
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
944
+ {
945
+ screen: [i]
946
+ },
947
+ ...h()
948
+ ]
885
949
  }],
886
950
  /**
887
951
  * Height
888
952
  * @see https://tailwindcss.com/docs/height
889
953
  */
890
954
  h: [{
891
- h: [c, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
955
+ h: ["screen", ...h()]
892
956
  }],
893
957
  /**
894
958
  * Min-Height
895
959
  * @see https://tailwindcss.com/docs/min-height
896
960
  */
897
961
  "min-h": [{
898
- "min-h": [c, t, "min", "max", "fit", "svh", "lvh", "dvh"]
962
+ "min-h": ["screen", "none", ...h()]
899
963
  }],
900
964
  /**
901
965
  * Max-Height
902
966
  * @see https://tailwindcss.com/docs/max-height
903
967
  */
904
968
  "max-h": [{
905
- "max-h": [c, t, "min", "max", "fit", "svh", "lvh", "dvh"]
969
+ "max-h": ["screen", ...h()]
906
970
  }],
907
- /**
908
- * Size
909
- * @see https://tailwindcss.com/docs/size
910
- */
911
- size: [{
912
- size: [c, t, "auto", "min", "max", "fit"]
913
- }],
914
- // Typography
971
+ // ------------------
972
+ // --- Typography ---
973
+ // ------------------
915
974
  /**
916
975
  * Font Size
917
976
  * @see https://tailwindcss.com/docs/font-size
918
977
  */
919
978
  "font-size": [{
920
- text: ["base", O, E]
979
+ text: ["base", r, se, q]
921
980
  }],
922
981
  /**
923
982
  * Font Smoothing
@@ -934,14 +993,21 @@ const w = (e) => {
934
993
  * @see https://tailwindcss.com/docs/font-weight
935
994
  */
936
995
  "font-weight": [{
937
- font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", te]
996
+ font: [o, s, ae]
997
+ }],
998
+ /**
999
+ * Font Stretch
1000
+ * @see https://tailwindcss.com/docs/font-stretch
1001
+ */
1002
+ "font-stretch": [{
1003
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ke, n]
938
1004
  }],
939
1005
  /**
940
1006
  * Font Family
941
1007
  * @see https://tailwindcss.com/docs/font-family
942
1008
  */
943
1009
  "font-family": [{
944
- font: [H]
1010
+ font: [fr, n, t]
945
1011
  }],
946
1012
  /**
947
1013
  * Font Variant Numeric
@@ -972,41 +1038,38 @@ const w = (e) => {
972
1038
  * Font Variant Numeric
973
1039
  * @see https://tailwindcss.com/docs/font-variant-numeric
974
1040
  */
975
- "fvn-fraction": ["diagonal-fractions", "stacked-fractons"],
1041
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
976
1042
  /**
977
1043
  * Letter Spacing
978
1044
  * @see https://tailwindcss.com/docs/letter-spacing
979
1045
  */
980
1046
  tracking: [{
981
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", c]
1047
+ tracking: [c, s, n]
982
1048
  }],
983
1049
  /**
984
1050
  * Line Clamp
985
1051
  * @see https://tailwindcss.com/docs/line-clamp
986
1052
  */
987
1053
  "line-clamp": [{
988
- "line-clamp": ["none", $, te]
1054
+ "line-clamp": [m, "none", s, ae]
989
1055
  }],
990
1056
  /**
991
1057
  * Line Height
992
1058
  * @see https://tailwindcss.com/docs/line-height
993
1059
  */
994
1060
  leading: [{
995
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", I, c]
1061
+ leading: [
1062
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1063
+ l,
1064
+ ...u()
1065
+ ]
996
1066
  }],
997
1067
  /**
998
1068
  * List Style Image
999
1069
  * @see https://tailwindcss.com/docs/list-style-image
1000
1070
  */
1001
1071
  "list-image": [{
1002
- "list-image": ["none", c]
1003
- }],
1004
- /**
1005
- * List Style Type
1006
- * @see https://tailwindcss.com/docs/list-style-type
1007
- */
1008
- "list-style-type": [{
1009
- list: ["none", "disc", "decimal", c]
1072
+ "list-image": ["none", s, n]
1010
1073
  }],
1011
1074
  /**
1012
1075
  * List Style Position
@@ -1016,19 +1079,11 @@ const w = (e) => {
1016
1079
  list: ["inside", "outside"]
1017
1080
  }],
1018
1081
  /**
1019
- * Placeholder Color
1020
- * @deprecated since Tailwind CSS v3.0.0
1021
- * @see https://tailwindcss.com/docs/placeholder-color
1022
- */
1023
- "placeholder-color": [{
1024
- placeholder: [e]
1025
- }],
1026
- /**
1027
- * Placeholder Opacity
1028
- * @see https://tailwindcss.com/docs/placeholder-opacity
1082
+ * List Style Type
1083
+ * @see https://tailwindcss.com/docs/list-style-type
1029
1084
  */
1030
- "placeholder-opacity": [{
1031
- "placeholder-opacity": [z]
1085
+ "list-style-type": [{
1086
+ list: ["disc", "decimal", "none", s, n]
1032
1087
  }],
1033
1088
  /**
1034
1089
  * Text Alignment
@@ -1038,18 +1093,19 @@ const w = (e) => {
1038
1093
  text: ["left", "center", "right", "justify", "start", "end"]
1039
1094
  }],
1040
1095
  /**
1041
- * Text Color
1042
- * @see https://tailwindcss.com/docs/text-color
1096
+ * Placeholder Color
1097
+ * @deprecated since Tailwind CSS v3.0.0
1098
+ * @see https://v3.tailwindcss.com/docs/placeholder-color
1043
1099
  */
1044
- "text-color": [{
1045
- text: [e]
1100
+ "placeholder-color": [{
1101
+ placeholder: a()
1046
1102
  }],
1047
1103
  /**
1048
- * Text Opacity
1049
- * @see https://tailwindcss.com/docs/text-opacity
1104
+ * Text Color
1105
+ * @see https://tailwindcss.com/docs/text-color
1050
1106
  */
1051
- "text-opacity": [{
1052
- "text-opacity": [z]
1107
+ "text-color": [{
1108
+ text: a()
1053
1109
  }],
1054
1110
  /**
1055
1111
  * Text Decoration
@@ -1061,28 +1117,28 @@ const w = (e) => {
1061
1117
  * @see https://tailwindcss.com/docs/text-decoration-style
1062
1118
  */
1063
1119
  "text-decoration-style": [{
1064
- decoration: [...f(), "wavy"]
1120
+ decoration: [...A(), "wavy"]
1065
1121
  }],
1066
1122
  /**
1067
1123
  * Text Decoration Thickness
1068
1124
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1069
1125
  */
1070
1126
  "text-decoration-thickness": [{
1071
- decoration: ["auto", "from-font", I, E]
1072
- }],
1073
- /**
1074
- * Text Underline Offset
1075
- * @see https://tailwindcss.com/docs/text-underline-offset
1076
- */
1077
- "underline-offset": [{
1078
- "underline-offset": ["auto", I, c]
1127
+ decoration: [m, "from-font", "auto", s, q]
1079
1128
  }],
1080
1129
  /**
1081
1130
  * Text Decoration Color
1082
1131
  * @see https://tailwindcss.com/docs/text-decoration-color
1083
1132
  */
1084
1133
  "text-decoration-color": [{
1085
- decoration: [e]
1134
+ decoration: a()
1135
+ }],
1136
+ /**
1137
+ * Text Underline Offset
1138
+ * @see https://tailwindcss.com/docs/text-underline-offset
1139
+ */
1140
+ "underline-offset": [{
1141
+ "underline-offset": [m, "auto", s, n]
1086
1142
  }],
1087
1143
  /**
1088
1144
  * Text Transform
@@ -1106,14 +1162,14 @@ const w = (e) => {
1106
1162
  * @see https://tailwindcss.com/docs/text-indent
1107
1163
  */
1108
1164
  indent: [{
1109
- indent: l()
1165
+ indent: u()
1110
1166
  }],
1111
1167
  /**
1112
1168
  * Vertical Alignment
1113
1169
  * @see https://tailwindcss.com/docs/vertical-align
1114
1170
  */
1115
1171
  "vertical-align": [{
1116
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", c]
1172
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", s, n]
1117
1173
  }],
1118
1174
  /**
1119
1175
  * Whitespace
@@ -1141,9 +1197,11 @@ const w = (e) => {
1141
1197
  * @see https://tailwindcss.com/docs/content
1142
1198
  */
1143
1199
  content: [{
1144
- content: ["none", c]
1200
+ content: ["none", s, n]
1145
1201
  }],
1146
- // Backgrounds
1202
+ // -------------------
1203
+ // --- Backgrounds ---
1204
+ // -------------------
1147
1205
  /**
1148
1206
  * Background Attachment
1149
1207
  * @see https://tailwindcss.com/docs/background-attachment
@@ -1158,14 +1216,6 @@ const w = (e) => {
1158
1216
  "bg-clip": [{
1159
1217
  "bg-clip": ["border", "padding", "content", "text"]
1160
1218
  }],
1161
- /**
1162
- * Background Opacity
1163
- * @deprecated since Tailwind CSS v3.0.0
1164
- * @see https://tailwindcss.com/docs/background-opacity
1165
- */
1166
- "bg-opacity": [{
1167
- "bg-opacity": [z]
1168
- }],
1169
1219
  /**
1170
1220
  * Background Origin
1171
1221
  * @see https://tailwindcss.com/docs/background-origin
@@ -1178,7 +1228,7 @@ const w = (e) => {
1178
1228
  * @see https://tailwindcss.com/docs/background-position
1179
1229
  */
1180
1230
  "bg-position": [{
1181
- bg: [...g(), Qe]
1231
+ bg: [...W(), br, dr]
1182
1232
  }],
1183
1233
  /**
1184
1234
  * Background Repeat
@@ -1186,7 +1236,7 @@ const w = (e) => {
1186
1236
  */
1187
1237
  "bg-repeat": [{
1188
1238
  bg: ["no-repeat", {
1189
- repeat: ["", "x", "y", "round", "space"]
1239
+ repeat: ["", "x", "y", "space", "round"]
1190
1240
  }]
1191
1241
  }],
1192
1242
  /**
@@ -1194,7 +1244,7 @@ const w = (e) => {
1194
1244
  * @see https://tailwindcss.com/docs/background-size
1195
1245
  */
1196
1246
  "bg-size": [{
1197
- bg: ["auto", "cover", "contain", He]
1247
+ bg: ["auto", "cover", "contain", gr, cr]
1198
1248
  }],
1199
1249
  /**
1200
1250
  * Background Image
@@ -1202,369 +1252,361 @@ const w = (e) => {
1202
1252
  */
1203
1253
  "bg-image": [{
1204
1254
  bg: ["none", {
1205
- "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1206
- }, Ze]
1255
+ linear: [{
1256
+ to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1257
+ }, J, s, n],
1258
+ radial: ["", s, n],
1259
+ conic: [J, s, n]
1260
+ }, mr, ur]
1207
1261
  }],
1208
1262
  /**
1209
1263
  * Background Color
1210
1264
  * @see https://tailwindcss.com/docs/background-color
1211
1265
  */
1212
1266
  "bg-color": [{
1213
- bg: [e]
1267
+ bg: a()
1214
1268
  }],
1215
1269
  /**
1216
1270
  * Gradient Color Stops From Position
1217
1271
  * @see https://tailwindcss.com/docs/gradient-color-stops
1218
1272
  */
1219
1273
  "gradient-from-pos": [{
1220
- from: [j]
1274
+ from: x()
1221
1275
  }],
1222
1276
  /**
1223
1277
  * Gradient Color Stops Via Position
1224
1278
  * @see https://tailwindcss.com/docs/gradient-color-stops
1225
1279
  */
1226
1280
  "gradient-via-pos": [{
1227
- via: [j]
1281
+ via: x()
1228
1282
  }],
1229
1283
  /**
1230
1284
  * Gradient Color Stops To Position
1231
1285
  * @see https://tailwindcss.com/docs/gradient-color-stops
1232
1286
  */
1233
1287
  "gradient-to-pos": [{
1234
- to: [j]
1288
+ to: x()
1235
1289
  }],
1236
1290
  /**
1237
1291
  * Gradient Color Stops From
1238
1292
  * @see https://tailwindcss.com/docs/gradient-color-stops
1239
1293
  */
1240
1294
  "gradient-from": [{
1241
- from: [R]
1295
+ from: a()
1242
1296
  }],
1243
1297
  /**
1244
1298
  * Gradient Color Stops Via
1245
1299
  * @see https://tailwindcss.com/docs/gradient-color-stops
1246
1300
  */
1247
1301
  "gradient-via": [{
1248
- via: [R]
1302
+ via: a()
1249
1303
  }],
1250
1304
  /**
1251
1305
  * Gradient Color Stops To
1252
1306
  * @see https://tailwindcss.com/docs/gradient-color-stops
1253
1307
  */
1254
1308
  "gradient-to": [{
1255
- to: [R]
1309
+ to: a()
1256
1310
  }],
1257
- // Borders
1311
+ // ---------------
1312
+ // --- Borders ---
1313
+ // ---------------
1258
1314
  /**
1259
1315
  * Border Radius
1260
1316
  * @see https://tailwindcss.com/docs/border-radius
1261
1317
  */
1262
1318
  rounded: [{
1263
- rounded: [o]
1319
+ rounded: b()
1264
1320
  }],
1265
1321
  /**
1266
1322
  * Border Radius Start
1267
1323
  * @see https://tailwindcss.com/docs/border-radius
1268
1324
  */
1269
1325
  "rounded-s": [{
1270
- "rounded-s": [o]
1326
+ "rounded-s": b()
1271
1327
  }],
1272
1328
  /**
1273
1329
  * Border Radius End
1274
1330
  * @see https://tailwindcss.com/docs/border-radius
1275
1331
  */
1276
1332
  "rounded-e": [{
1277
- "rounded-e": [o]
1333
+ "rounded-e": b()
1278
1334
  }],
1279
1335
  /**
1280
1336
  * Border Radius Top
1281
1337
  * @see https://tailwindcss.com/docs/border-radius
1282
1338
  */
1283
1339
  "rounded-t": [{
1284
- "rounded-t": [o]
1340
+ "rounded-t": b()
1285
1341
  }],
1286
1342
  /**
1287
1343
  * Border Radius Right
1288
1344
  * @see https://tailwindcss.com/docs/border-radius
1289
1345
  */
1290
1346
  "rounded-r": [{
1291
- "rounded-r": [o]
1347
+ "rounded-r": b()
1292
1348
  }],
1293
1349
  /**
1294
1350
  * Border Radius Bottom
1295
1351
  * @see https://tailwindcss.com/docs/border-radius
1296
1352
  */
1297
1353
  "rounded-b": [{
1298
- "rounded-b": [o]
1354
+ "rounded-b": b()
1299
1355
  }],
1300
1356
  /**
1301
1357
  * Border Radius Left
1302
1358
  * @see https://tailwindcss.com/docs/border-radius
1303
1359
  */
1304
1360
  "rounded-l": [{
1305
- "rounded-l": [o]
1361
+ "rounded-l": b()
1306
1362
  }],
1307
1363
  /**
1308
1364
  * Border Radius Start Start
1309
1365
  * @see https://tailwindcss.com/docs/border-radius
1310
1366
  */
1311
1367
  "rounded-ss": [{
1312
- "rounded-ss": [o]
1368
+ "rounded-ss": b()
1313
1369
  }],
1314
1370
  /**
1315
1371
  * Border Radius Start End
1316
1372
  * @see https://tailwindcss.com/docs/border-radius
1317
1373
  */
1318
1374
  "rounded-se": [{
1319
- "rounded-se": [o]
1375
+ "rounded-se": b()
1320
1376
  }],
1321
1377
  /**
1322
1378
  * Border Radius End End
1323
1379
  * @see https://tailwindcss.com/docs/border-radius
1324
1380
  */
1325
1381
  "rounded-ee": [{
1326
- "rounded-ee": [o]
1382
+ "rounded-ee": b()
1327
1383
  }],
1328
1384
  /**
1329
1385
  * Border Radius End Start
1330
1386
  * @see https://tailwindcss.com/docs/border-radius
1331
1387
  */
1332
1388
  "rounded-es": [{
1333
- "rounded-es": [o]
1389
+ "rounded-es": b()
1334
1390
  }],
1335
1391
  /**
1336
1392
  * Border Radius Top Left
1337
1393
  * @see https://tailwindcss.com/docs/border-radius
1338
1394
  */
1339
1395
  "rounded-tl": [{
1340
- "rounded-tl": [o]
1396
+ "rounded-tl": b()
1341
1397
  }],
1342
1398
  /**
1343
1399
  * Border Radius Top Right
1344
1400
  * @see https://tailwindcss.com/docs/border-radius
1345
1401
  */
1346
1402
  "rounded-tr": [{
1347
- "rounded-tr": [o]
1403
+ "rounded-tr": b()
1348
1404
  }],
1349
1405
  /**
1350
1406
  * Border Radius Bottom Right
1351
1407
  * @see https://tailwindcss.com/docs/border-radius
1352
1408
  */
1353
1409
  "rounded-br": [{
1354
- "rounded-br": [o]
1410
+ "rounded-br": b()
1355
1411
  }],
1356
1412
  /**
1357
1413
  * Border Radius Bottom Left
1358
1414
  * @see https://tailwindcss.com/docs/border-radius
1359
1415
  */
1360
1416
  "rounded-bl": [{
1361
- "rounded-bl": [o]
1417
+ "rounded-bl": b()
1362
1418
  }],
1363
1419
  /**
1364
1420
  * Border Width
1365
1421
  * @see https://tailwindcss.com/docs/border-width
1366
1422
  */
1367
1423
  "border-w": [{
1368
- border: [s]
1424
+ border: w()
1369
1425
  }],
1370
1426
  /**
1371
1427
  * Border Width X
1372
1428
  * @see https://tailwindcss.com/docs/border-width
1373
1429
  */
1374
1430
  "border-w-x": [{
1375
- "border-x": [s]
1431
+ "border-x": w()
1376
1432
  }],
1377
1433
  /**
1378
1434
  * Border Width Y
1379
1435
  * @see https://tailwindcss.com/docs/border-width
1380
1436
  */
1381
1437
  "border-w-y": [{
1382
- "border-y": [s]
1438
+ "border-y": w()
1383
1439
  }],
1384
1440
  /**
1385
1441
  * Border Width Start
1386
1442
  * @see https://tailwindcss.com/docs/border-width
1387
1443
  */
1388
1444
  "border-w-s": [{
1389
- "border-s": [s]
1445
+ "border-s": w()
1390
1446
  }],
1391
1447
  /**
1392
1448
  * Border Width End
1393
1449
  * @see https://tailwindcss.com/docs/border-width
1394
1450
  */
1395
1451
  "border-w-e": [{
1396
- "border-e": [s]
1452
+ "border-e": w()
1397
1453
  }],
1398
1454
  /**
1399
1455
  * Border Width Top
1400
1456
  * @see https://tailwindcss.com/docs/border-width
1401
1457
  */
1402
1458
  "border-w-t": [{
1403
- "border-t": [s]
1459
+ "border-t": w()
1404
1460
  }],
1405
1461
  /**
1406
1462
  * Border Width Right
1407
1463
  * @see https://tailwindcss.com/docs/border-width
1408
1464
  */
1409
1465
  "border-w-r": [{
1410
- "border-r": [s]
1466
+ "border-r": w()
1411
1467
  }],
1412
1468
  /**
1413
1469
  * Border Width Bottom
1414
1470
  * @see https://tailwindcss.com/docs/border-width
1415
1471
  */
1416
1472
  "border-w-b": [{
1417
- "border-b": [s]
1473
+ "border-b": w()
1418
1474
  }],
1419
1475
  /**
1420
1476
  * Border Width Left
1421
1477
  * @see https://tailwindcss.com/docs/border-width
1422
1478
  */
1423
1479
  "border-w-l": [{
1424
- "border-l": [s]
1425
- }],
1426
- /**
1427
- * Border Opacity
1428
- * @see https://tailwindcss.com/docs/border-opacity
1429
- */
1430
- "border-opacity": [{
1431
- "border-opacity": [z]
1432
- }],
1433
- /**
1434
- * Border Style
1435
- * @see https://tailwindcss.com/docs/border-style
1436
- */
1437
- "border-style": [{
1438
- border: [...f(), "hidden"]
1480
+ "border-l": w()
1439
1481
  }],
1440
1482
  /**
1441
1483
  * Divide Width X
1442
- * @see https://tailwindcss.com/docs/divide-width
1484
+ * @see https://tailwindcss.com/docs/border-width#between-children
1443
1485
  */
1444
1486
  "divide-x": [{
1445
- "divide-x": [s]
1487
+ "divide-x": w()
1446
1488
  }],
1447
1489
  /**
1448
1490
  * Divide Width X Reverse
1449
- * @see https://tailwindcss.com/docs/divide-width
1491
+ * @see https://tailwindcss.com/docs/border-width#between-children
1450
1492
  */
1451
1493
  "divide-x-reverse": ["divide-x-reverse"],
1452
1494
  /**
1453
1495
  * Divide Width Y
1454
- * @see https://tailwindcss.com/docs/divide-width
1496
+ * @see https://tailwindcss.com/docs/border-width#between-children
1455
1497
  */
1456
1498
  "divide-y": [{
1457
- "divide-y": [s]
1499
+ "divide-y": w()
1458
1500
  }],
1459
1501
  /**
1460
1502
  * Divide Width Y Reverse
1461
- * @see https://tailwindcss.com/docs/divide-width
1503
+ * @see https://tailwindcss.com/docs/border-width#between-children
1462
1504
  */
1463
1505
  "divide-y-reverse": ["divide-y-reverse"],
1464
1506
  /**
1465
- * Divide Opacity
1466
- * @see https://tailwindcss.com/docs/divide-opacity
1507
+ * Border Style
1508
+ * @see https://tailwindcss.com/docs/border-style
1467
1509
  */
1468
- "divide-opacity": [{
1469
- "divide-opacity": [z]
1510
+ "border-style": [{
1511
+ border: [...A(), "hidden", "none"]
1470
1512
  }],
1471
1513
  /**
1472
1514
  * Divide Style
1473
- * @see https://tailwindcss.com/docs/divide-style
1515
+ * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1474
1516
  */
1475
1517
  "divide-style": [{
1476
- divide: f()
1518
+ divide: [...A(), "hidden", "none"]
1477
1519
  }],
1478
1520
  /**
1479
1521
  * Border Color
1480
1522
  * @see https://tailwindcss.com/docs/border-color
1481
1523
  */
1482
1524
  "border-color": [{
1483
- border: [a]
1525
+ border: a()
1484
1526
  }],
1485
1527
  /**
1486
1528
  * Border Color X
1487
1529
  * @see https://tailwindcss.com/docs/border-color
1488
1530
  */
1489
1531
  "border-color-x": [{
1490
- "border-x": [a]
1532
+ "border-x": a()
1491
1533
  }],
1492
1534
  /**
1493
1535
  * Border Color Y
1494
1536
  * @see https://tailwindcss.com/docs/border-color
1495
1537
  */
1496
1538
  "border-color-y": [{
1497
- "border-y": [a]
1539
+ "border-y": a()
1498
1540
  }],
1499
1541
  /**
1500
1542
  * Border Color S
1501
1543
  * @see https://tailwindcss.com/docs/border-color
1502
1544
  */
1503
1545
  "border-color-s": [{
1504
- "border-s": [a]
1546
+ "border-s": a()
1505
1547
  }],
1506
1548
  /**
1507
1549
  * Border Color E
1508
1550
  * @see https://tailwindcss.com/docs/border-color
1509
1551
  */
1510
1552
  "border-color-e": [{
1511
- "border-e": [a]
1553
+ "border-e": a()
1512
1554
  }],
1513
1555
  /**
1514
1556
  * Border Color Top
1515
1557
  * @see https://tailwindcss.com/docs/border-color
1516
1558
  */
1517
1559
  "border-color-t": [{
1518
- "border-t": [a]
1560
+ "border-t": a()
1519
1561
  }],
1520
1562
  /**
1521
1563
  * Border Color Right
1522
1564
  * @see https://tailwindcss.com/docs/border-color
1523
1565
  */
1524
1566
  "border-color-r": [{
1525
- "border-r": [a]
1567
+ "border-r": a()
1526
1568
  }],
1527
1569
  /**
1528
1570
  * Border Color Bottom
1529
1571
  * @see https://tailwindcss.com/docs/border-color
1530
1572
  */
1531
1573
  "border-color-b": [{
1532
- "border-b": [a]
1574
+ "border-b": a()
1533
1575
  }],
1534
1576
  /**
1535
1577
  * Border Color Left
1536
1578
  * @see https://tailwindcss.com/docs/border-color
1537
1579
  */
1538
1580
  "border-color-l": [{
1539
- "border-l": [a]
1581
+ "border-l": a()
1540
1582
  }],
1541
1583
  /**
1542
1584
  * Divide Color
1543
1585
  * @see https://tailwindcss.com/docs/divide-color
1544
1586
  */
1545
1587
  "divide-color": [{
1546
- divide: [a]
1588
+ divide: a()
1547
1589
  }],
1548
1590
  /**
1549
1591
  * Outline Style
1550
1592
  * @see https://tailwindcss.com/docs/outline-style
1551
1593
  */
1552
1594
  "outline-style": [{
1553
- outline: ["", ...f()]
1595
+ outline: [...A(), "none", "hidden"]
1554
1596
  }],
1555
1597
  /**
1556
1598
  * Outline Offset
1557
1599
  * @see https://tailwindcss.com/docs/outline-offset
1558
1600
  */
1559
1601
  "outline-offset": [{
1560
- "outline-offset": [I, c]
1602
+ "outline-offset": [m, s, n]
1561
1603
  }],
1562
1604
  /**
1563
1605
  * Outline Width
1564
1606
  * @see https://tailwindcss.com/docs/outline-width
1565
1607
  */
1566
1608
  "outline-w": [{
1567
- outline: [I, E]
1609
+ outline: ["", m, se, q]
1568
1610
  }],
1569
1611
  /**
1570
1612
  * Outline Color
@@ -1573,226 +1615,283 @@ const w = (e) => {
1573
1615
  "outline-color": [{
1574
1616
  outline: [e]
1575
1617
  }],
1618
+ // ---------------
1619
+ // --- Effects ---
1620
+ // ---------------
1621
+ /**
1622
+ * Box Shadow
1623
+ * @see https://tailwindcss.com/docs/box-shadow
1624
+ */
1625
+ shadow: [{
1626
+ shadow: [
1627
+ // Deprecated since Tailwind CSS v4.0.0
1628
+ "",
1629
+ "none",
1630
+ v,
1631
+ hr,
1632
+ pr
1633
+ ]
1634
+ }],
1635
+ /**
1636
+ * Box Shadow Color
1637
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
1638
+ */
1639
+ "shadow-color": [{
1640
+ shadow: a()
1641
+ }],
1642
+ /**
1643
+ * Inset Box Shadow
1644
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1645
+ */
1646
+ "inset-shadow": [{
1647
+ "inset-shadow": ["none", s, n, j]
1648
+ }],
1649
+ /**
1650
+ * Inset Box Shadow Color
1651
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
1652
+ */
1653
+ "inset-shadow-color": [{
1654
+ "inset-shadow": a()
1655
+ }],
1576
1656
  /**
1577
1657
  * Ring Width
1578
- * @see https://tailwindcss.com/docs/ring-width
1658
+ * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1579
1659
  */
1580
1660
  "ring-w": [{
1581
- ring: p()
1661
+ ring: w()
1582
1662
  }],
1583
1663
  /**
1584
1664
  * Ring Width Inset
1585
- * @see https://tailwindcss.com/docs/ring-width
1665
+ * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
1666
+ * @deprecated since Tailwind CSS v4.0.0
1667
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1586
1668
  */
1587
1669
  "ring-w-inset": ["ring-inset"],
1588
1670
  /**
1589
1671
  * Ring Color
1590
- * @see https://tailwindcss.com/docs/ring-color
1672
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
1591
1673
  */
1592
1674
  "ring-color": [{
1593
- ring: [e]
1594
- }],
1595
- /**
1596
- * Ring Opacity
1597
- * @see https://tailwindcss.com/docs/ring-opacity
1598
- */
1599
- "ring-opacity": [{
1600
- "ring-opacity": [z]
1675
+ ring: a()
1601
1676
  }],
1602
1677
  /**
1603
1678
  * Ring Offset Width
1604
- * @see https://tailwindcss.com/docs/ring-offset-width
1679
+ * @see https://v3.tailwindcss.com/docs/ring-offset-width
1680
+ * @deprecated since Tailwind CSS v4.0.0
1681
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1605
1682
  */
1606
1683
  "ring-offset-w": [{
1607
- "ring-offset": [I, E]
1684
+ "ring-offset": [m, q]
1608
1685
  }],
1609
1686
  /**
1610
1687
  * Ring Offset Color
1611
- * @see https://tailwindcss.com/docs/ring-offset-color
1688
+ * @see https://v3.tailwindcss.com/docs/ring-offset-color
1689
+ * @deprecated since Tailwind CSS v4.0.0
1690
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1612
1691
  */
1613
1692
  "ring-offset-color": [{
1614
- "ring-offset": [e]
1693
+ "ring-offset": a()
1615
1694
  }],
1616
- // Effects
1617
1695
  /**
1618
- * Box Shadow
1619
- * @see https://tailwindcss.com/docs/box-shadow
1696
+ * Inset Ring Width
1697
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
1620
1698
  */
1621
- shadow: [{
1622
- shadow: ["", "inner", "none", O, Ye]
1699
+ "inset-ring-w": [{
1700
+ "inset-ring": w()
1623
1701
  }],
1624
1702
  /**
1625
- * Box Shadow Color
1626
- * @see https://tailwindcss.com/docs/box-shadow-color
1703
+ * Inset Ring Color
1704
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
1627
1705
  */
1628
- "shadow-color": [{
1629
- shadow: [H]
1706
+ "inset-ring-color": [{
1707
+ "inset-ring": a()
1630
1708
  }],
1631
1709
  /**
1632
1710
  * Opacity
1633
1711
  * @see https://tailwindcss.com/docs/opacity
1634
1712
  */
1635
1713
  opacity: [{
1636
- opacity: [z]
1714
+ opacity: [m, s, n]
1637
1715
  }],
1638
1716
  /**
1639
1717
  * Mix Blend Mode
1640
1718
  * @see https://tailwindcss.com/docs/mix-blend-mode
1641
1719
  */
1642
1720
  "mix-blend": [{
1643
- "mix-blend": [...y(), "plus-lighter", "plus-darker"]
1721
+ "mix-blend": [...O(), "plus-darker", "plus-lighter"]
1644
1722
  }],
1645
1723
  /**
1646
1724
  * Background Blend Mode
1647
1725
  * @see https://tailwindcss.com/docs/background-blend-mode
1648
1726
  */
1649
1727
  "bg-blend": [{
1650
- "bg-blend": y()
1728
+ "bg-blend": O()
1651
1729
  }],
1652
- // Filters
1730
+ // ---------------
1731
+ // --- Filters ---
1732
+ // ---------------
1653
1733
  /**
1654
1734
  * Filter
1655
- * @deprecated since Tailwind CSS v3.0.0
1656
1735
  * @see https://tailwindcss.com/docs/filter
1657
1736
  */
1658
1737
  filter: [{
1659
- filter: ["", "none"]
1738
+ filter: [
1739
+ // Deprecated since Tailwind CSS v3.0.0
1740
+ "",
1741
+ "none",
1742
+ s,
1743
+ n
1744
+ ]
1660
1745
  }],
1661
1746
  /**
1662
1747
  * Blur
1663
1748
  * @see https://tailwindcss.com/docs/blur
1664
1749
  */
1665
1750
  blur: [{
1666
- blur: [r]
1751
+ blur: P()
1667
1752
  }],
1668
1753
  /**
1669
1754
  * Brightness
1670
1755
  * @see https://tailwindcss.com/docs/brightness
1671
1756
  */
1672
1757
  brightness: [{
1673
- brightness: [n]
1758
+ brightness: [m, s, n]
1674
1759
  }],
1675
1760
  /**
1676
1761
  * Contrast
1677
1762
  * @see https://tailwindcss.com/docs/contrast
1678
1763
  */
1679
1764
  contrast: [{
1680
- contrast: [u]
1765
+ contrast: [m, s, n]
1681
1766
  }],
1682
1767
  /**
1683
1768
  * Drop Shadow
1684
1769
  * @see https://tailwindcss.com/docs/drop-shadow
1685
1770
  */
1686
1771
  "drop-shadow": [{
1687
- "drop-shadow": ["", "none", O, c]
1772
+ "drop-shadow": [
1773
+ // Deprecated since Tailwind CSS v4.0.0
1774
+ "",
1775
+ "none",
1776
+ V,
1777
+ s,
1778
+ n
1779
+ ]
1688
1780
  }],
1689
1781
  /**
1690
1782
  * Grayscale
1691
1783
  * @see https://tailwindcss.com/docs/grayscale
1692
1784
  */
1693
1785
  grayscale: [{
1694
- grayscale: [C]
1786
+ grayscale: ["", m, s, n]
1695
1787
  }],
1696
1788
  /**
1697
1789
  * Hue Rotate
1698
1790
  * @see https://tailwindcss.com/docs/hue-rotate
1699
1791
  */
1700
1792
  "hue-rotate": [{
1701
- "hue-rotate": [m]
1793
+ "hue-rotate": [m, s, n]
1702
1794
  }],
1703
1795
  /**
1704
1796
  * Invert
1705
1797
  * @see https://tailwindcss.com/docs/invert
1706
1798
  */
1707
1799
  invert: [{
1708
- invert: [S]
1800
+ invert: ["", m, s, n]
1709
1801
  }],
1710
1802
  /**
1711
1803
  * Saturate
1712
1804
  * @see https://tailwindcss.com/docs/saturate
1713
1805
  */
1714
1806
  saturate: [{
1715
- saturate: [L]
1807
+ saturate: [m, s, n]
1716
1808
  }],
1717
1809
  /**
1718
1810
  * Sepia
1719
1811
  * @see https://tailwindcss.com/docs/sepia
1720
1812
  */
1721
1813
  sepia: [{
1722
- sepia: [W]
1814
+ sepia: ["", m, s, n]
1723
1815
  }],
1724
1816
  /**
1725
1817
  * Backdrop Filter
1726
- * @deprecated since Tailwind CSS v3.0.0
1727
1818
  * @see https://tailwindcss.com/docs/backdrop-filter
1728
1819
  */
1729
1820
  "backdrop-filter": [{
1730
- "backdrop-filter": ["", "none"]
1821
+ "backdrop-filter": [
1822
+ // Deprecated since Tailwind CSS v3.0.0
1823
+ "",
1824
+ "none",
1825
+ s,
1826
+ n
1827
+ ]
1731
1828
  }],
1732
1829
  /**
1733
1830
  * Backdrop Blur
1734
1831
  * @see https://tailwindcss.com/docs/backdrop-blur
1735
1832
  */
1736
1833
  "backdrop-blur": [{
1737
- "backdrop-blur": [r]
1834
+ "backdrop-blur": P()
1738
1835
  }],
1739
1836
  /**
1740
1837
  * Backdrop Brightness
1741
1838
  * @see https://tailwindcss.com/docs/backdrop-brightness
1742
1839
  */
1743
1840
  "backdrop-brightness": [{
1744
- "backdrop-brightness": [n]
1841
+ "backdrop-brightness": [m, s, n]
1745
1842
  }],
1746
1843
  /**
1747
1844
  * Backdrop Contrast
1748
1845
  * @see https://tailwindcss.com/docs/backdrop-contrast
1749
1846
  */
1750
1847
  "backdrop-contrast": [{
1751
- "backdrop-contrast": [u]
1848
+ "backdrop-contrast": [m, s, n]
1752
1849
  }],
1753
1850
  /**
1754
1851
  * Backdrop Grayscale
1755
1852
  * @see https://tailwindcss.com/docs/backdrop-grayscale
1756
1853
  */
1757
1854
  "backdrop-grayscale": [{
1758
- "backdrop-grayscale": [C]
1855
+ "backdrop-grayscale": ["", m, s, n]
1759
1856
  }],
1760
1857
  /**
1761
1858
  * Backdrop Hue Rotate
1762
1859
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
1763
1860
  */
1764
1861
  "backdrop-hue-rotate": [{
1765
- "backdrop-hue-rotate": [m]
1862
+ "backdrop-hue-rotate": [m, s, n]
1766
1863
  }],
1767
1864
  /**
1768
1865
  * Backdrop Invert
1769
1866
  * @see https://tailwindcss.com/docs/backdrop-invert
1770
1867
  */
1771
1868
  "backdrop-invert": [{
1772
- "backdrop-invert": [S]
1869
+ "backdrop-invert": ["", m, s, n]
1773
1870
  }],
1774
1871
  /**
1775
1872
  * Backdrop Opacity
1776
1873
  * @see https://tailwindcss.com/docs/backdrop-opacity
1777
1874
  */
1778
1875
  "backdrop-opacity": [{
1779
- "backdrop-opacity": [z]
1876
+ "backdrop-opacity": [m, s, n]
1780
1877
  }],
1781
1878
  /**
1782
1879
  * Backdrop Saturate
1783
1880
  * @see https://tailwindcss.com/docs/backdrop-saturate
1784
1881
  */
1785
1882
  "backdrop-saturate": [{
1786
- "backdrop-saturate": [L]
1883
+ "backdrop-saturate": [m, s, n]
1787
1884
  }],
1788
1885
  /**
1789
1886
  * Backdrop Sepia
1790
1887
  * @see https://tailwindcss.com/docs/backdrop-sepia
1791
1888
  */
1792
1889
  "backdrop-sepia": [{
1793
- "backdrop-sepia": [W]
1890
+ "backdrop-sepia": ["", m, s, n]
1794
1891
  }],
1795
- // Tables
1892
+ // --------------
1893
+ // --- Tables ---
1894
+ // --------------
1796
1895
  /**
1797
1896
  * Border Collapse
1798
1897
  * @see https://tailwindcss.com/docs/border-collapse
@@ -1805,21 +1904,21 @@ const w = (e) => {
1805
1904
  * @see https://tailwindcss.com/docs/border-spacing
1806
1905
  */
1807
1906
  "border-spacing": [{
1808
- "border-spacing": [i]
1907
+ "border-spacing": u()
1809
1908
  }],
1810
1909
  /**
1811
1910
  * Border Spacing X
1812
1911
  * @see https://tailwindcss.com/docs/border-spacing
1813
1912
  */
1814
1913
  "border-spacing-x": [{
1815
- "border-spacing-x": [i]
1914
+ "border-spacing-x": u()
1816
1915
  }],
1817
1916
  /**
1818
1917
  * Border Spacing Y
1819
1918
  * @see https://tailwindcss.com/docs/border-spacing
1820
1919
  */
1821
1920
  "border-spacing-y": [{
1822
- "border-spacing-y": [i]
1921
+ "border-spacing-y": u()
1823
1922
  }],
1824
1923
  /**
1825
1924
  * Table Layout
@@ -1835,120 +1934,220 @@ const w = (e) => {
1835
1934
  caption: [{
1836
1935
  caption: ["top", "bottom"]
1837
1936
  }],
1838
- // Transitions and Animation
1937
+ // ---------------------------------
1938
+ // --- Transitions and Animation ---
1939
+ // ---------------------------------
1839
1940
  /**
1840
- * Tranisition Property
1941
+ * Transition Property
1841
1942
  * @see https://tailwindcss.com/docs/transition-property
1842
1943
  */
1843
1944
  transition: [{
1844
- transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", c]
1945
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", s, n]
1946
+ }],
1947
+ /**
1948
+ * Transition Behavior
1949
+ * @see https://tailwindcss.com/docs/transition-behavior
1950
+ */
1951
+ "transition-behavior": [{
1952
+ transition: ["normal", "discrete"]
1845
1953
  }],
1846
1954
  /**
1847
1955
  * Transition Duration
1848
1956
  * @see https://tailwindcss.com/docs/transition-duration
1849
1957
  */
1850
1958
  duration: [{
1851
- duration: G()
1959
+ duration: [m, "initial", s, n]
1852
1960
  }],
1853
1961
  /**
1854
1962
  * Transition Timing Function
1855
1963
  * @see https://tailwindcss.com/docs/transition-timing-function
1856
1964
  */
1857
1965
  ease: [{
1858
- ease: ["linear", "in", "out", "in-out", c]
1966
+ ease: ["linear", "initial", G, s, n]
1859
1967
  }],
1860
1968
  /**
1861
1969
  * Transition Delay
1862
1970
  * @see https://tailwindcss.com/docs/transition-delay
1863
1971
  */
1864
1972
  delay: [{
1865
- delay: G()
1973
+ delay: [m, s, n]
1866
1974
  }],
1867
1975
  /**
1868
1976
  * Animation
1869
1977
  * @see https://tailwindcss.com/docs/animation
1870
1978
  */
1871
1979
  animate: [{
1872
- animate: ["none", "spin", "ping", "pulse", "bounce", c]
1980
+ animate: ["none", N, s, n]
1873
1981
  }],
1874
- // Transforms
1982
+ // ------------------
1983
+ // --- Transforms ---
1984
+ // ------------------
1875
1985
  /**
1876
- * Transform
1877
- * @see https://tailwindcss.com/docs/transform
1986
+ * Backface Visibility
1987
+ * @see https://tailwindcss.com/docs/backface-visibility
1878
1988
  */
1879
- transform: [{
1880
- transform: ["", "gpu", "none"]
1989
+ backface: [{
1990
+ backface: ["hidden", "visible"]
1991
+ }],
1992
+ /**
1993
+ * Perspective
1994
+ * @see https://tailwindcss.com/docs/perspective
1995
+ */
1996
+ perspective: [{
1997
+ perspective: [z, s, n]
1998
+ }],
1999
+ /**
2000
+ * Perspective Origin
2001
+ * @see https://tailwindcss.com/docs/perspective-origin
2002
+ */
2003
+ "perspective-origin": [{
2004
+ "perspective-origin": U()
2005
+ }],
2006
+ /**
2007
+ * Rotate
2008
+ * @see https://tailwindcss.com/docs/rotate
2009
+ */
2010
+ rotate: [{
2011
+ rotate: _()
2012
+ }],
2013
+ /**
2014
+ * Rotate X
2015
+ * @see https://tailwindcss.com/docs/rotate
2016
+ */
2017
+ "rotate-x": [{
2018
+ "rotate-x": _()
2019
+ }],
2020
+ /**
2021
+ * Rotate Y
2022
+ * @see https://tailwindcss.com/docs/rotate
2023
+ */
2024
+ "rotate-y": [{
2025
+ "rotate-y": _()
2026
+ }],
2027
+ /**
2028
+ * Rotate Z
2029
+ * @see https://tailwindcss.com/docs/rotate
2030
+ */
2031
+ "rotate-z": [{
2032
+ "rotate-z": _()
1881
2033
  }],
1882
2034
  /**
1883
2035
  * Scale
1884
2036
  * @see https://tailwindcss.com/docs/scale
1885
2037
  */
1886
2038
  scale: [{
1887
- scale: [N]
2039
+ scale: B()
1888
2040
  }],
1889
2041
  /**
1890
2042
  * Scale X
1891
2043
  * @see https://tailwindcss.com/docs/scale
1892
2044
  */
1893
2045
  "scale-x": [{
1894
- "scale-x": [N]
2046
+ "scale-x": B()
1895
2047
  }],
1896
2048
  /**
1897
2049
  * Scale Y
1898
2050
  * @see https://tailwindcss.com/docs/scale
1899
2051
  */
1900
2052
  "scale-y": [{
1901
- "scale-y": [N]
2053
+ "scale-y": B()
1902
2054
  }],
1903
2055
  /**
1904
- * Rotate
1905
- * @see https://tailwindcss.com/docs/rotate
2056
+ * Scale Z
2057
+ * @see https://tailwindcss.com/docs/scale
1906
2058
  */
1907
- rotate: [{
1908
- rotate: [K, c]
2059
+ "scale-z": [{
2060
+ "scale-z": B()
1909
2061
  }],
1910
2062
  /**
1911
- * Translate X
1912
- * @see https://tailwindcss.com/docs/translate
2063
+ * Scale 3D
2064
+ * @see https://tailwindcss.com/docs/scale
1913
2065
  */
1914
- "translate-x": [{
1915
- "translate-x": [F]
1916
- }],
2066
+ "scale-3d": ["scale-3d"],
1917
2067
  /**
1918
- * Translate Y
1919
- * @see https://tailwindcss.com/docs/translate
2068
+ * Skew
2069
+ * @see https://tailwindcss.com/docs/skew
1920
2070
  */
1921
- "translate-y": [{
1922
- "translate-y": [F]
2071
+ skew: [{
2072
+ skew: K()
1923
2073
  }],
1924
2074
  /**
1925
2075
  * Skew X
1926
2076
  * @see https://tailwindcss.com/docs/skew
1927
2077
  */
1928
2078
  "skew-x": [{
1929
- "skew-x": [Y]
2079
+ "skew-x": K()
1930
2080
  }],
1931
2081
  /**
1932
2082
  * Skew Y
1933
2083
  * @see https://tailwindcss.com/docs/skew
1934
2084
  */
1935
2085
  "skew-y": [{
1936
- "skew-y": [Y]
2086
+ "skew-y": K()
2087
+ }],
2088
+ /**
2089
+ * Transform
2090
+ * @see https://tailwindcss.com/docs/transform
2091
+ */
2092
+ transform: [{
2093
+ transform: [s, n, "", "none", "gpu", "cpu"]
1937
2094
  }],
1938
2095
  /**
1939
2096
  * Transform Origin
1940
2097
  * @see https://tailwindcss.com/docs/transform-origin
1941
2098
  */
1942
2099
  "transform-origin": [{
1943
- origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", c]
2100
+ origin: U()
2101
+ }],
2102
+ /**
2103
+ * Transform Style
2104
+ * @see https://tailwindcss.com/docs/transform-style
2105
+ */
2106
+ "transform-style": [{
2107
+ transform: ["3d", "flat"]
1944
2108
  }],
1945
- // Interactivity
2109
+ /**
2110
+ * Translate
2111
+ * @see https://tailwindcss.com/docs/translate
2112
+ */
2113
+ translate: [{
2114
+ translate: D()
2115
+ }],
2116
+ /**
2117
+ * Translate X
2118
+ * @see https://tailwindcss.com/docs/translate
2119
+ */
2120
+ "translate-x": [{
2121
+ "translate-x": D()
2122
+ }],
2123
+ /**
2124
+ * Translate Y
2125
+ * @see https://tailwindcss.com/docs/translate
2126
+ */
2127
+ "translate-y": [{
2128
+ "translate-y": D()
2129
+ }],
2130
+ /**
2131
+ * Translate Z
2132
+ * @see https://tailwindcss.com/docs/translate
2133
+ */
2134
+ "translate-z": [{
2135
+ "translate-z": D()
2136
+ }],
2137
+ /**
2138
+ * Translate None
2139
+ * @see https://tailwindcss.com/docs/translate
2140
+ */
2141
+ "translate-none": ["translate-none"],
2142
+ // ---------------------
2143
+ // --- Interactivity ---
2144
+ // ---------------------
1946
2145
  /**
1947
2146
  * Accent Color
1948
2147
  * @see https://tailwindcss.com/docs/accent-color
1949
2148
  */
1950
2149
  accent: [{
1951
- accent: ["auto", e]
2150
+ accent: a()
1952
2151
  }],
1953
2152
  /**
1954
2153
  * Appearance
@@ -1957,33 +2156,47 @@ const w = (e) => {
1957
2156
  appearance: [{
1958
2157
  appearance: ["none", "auto"]
1959
2158
  }],
2159
+ /**
2160
+ * Caret Color
2161
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2162
+ */
2163
+ "caret-color": [{
2164
+ caret: a()
2165
+ }],
2166
+ /**
2167
+ * Color Scheme
2168
+ * @see https://tailwindcss.com/docs/color-scheme
2169
+ */
2170
+ "color-scheme": [{
2171
+ scheme: ["normal", "dark", "light", "light-dark", "only-dark", "only-light"]
2172
+ }],
1960
2173
  /**
1961
2174
  * Cursor
1962
2175
  * @see https://tailwindcss.com/docs/cursor
1963
2176
  */
1964
2177
  cursor: [{
1965
- 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", c]
2178
+ 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", s, n]
1966
2179
  }],
1967
2180
  /**
1968
- * Caret Color
1969
- * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2181
+ * Field Sizing
2182
+ * @see https://tailwindcss.com/docs/field-sizing
1970
2183
  */
1971
- "caret-color": [{
1972
- caret: [e]
2184
+ "field-sizing": [{
2185
+ "field-sizing": ["fixed", "content"]
1973
2186
  }],
1974
2187
  /**
1975
2188
  * Pointer Events
1976
2189
  * @see https://tailwindcss.com/docs/pointer-events
1977
2190
  */
1978
2191
  "pointer-events": [{
1979
- "pointer-events": ["none", "auto"]
2192
+ "pointer-events": ["auto", "none"]
1980
2193
  }],
1981
2194
  /**
1982
2195
  * Resize
1983
2196
  * @see https://tailwindcss.com/docs/resize
1984
2197
  */
1985
2198
  resize: [{
1986
- resize: ["none", "y", "x", ""]
2199
+ resize: ["none", "", "y", "x"]
1987
2200
  }],
1988
2201
  /**
1989
2202
  * Scroll Behavior
@@ -1997,126 +2210,126 @@ const w = (e) => {
1997
2210
  * @see https://tailwindcss.com/docs/scroll-margin
1998
2211
  */
1999
2212
  "scroll-m": [{
2000
- "scroll-m": l()
2213
+ "scroll-m": u()
2001
2214
  }],
2002
2215
  /**
2003
2216
  * Scroll Margin X
2004
2217
  * @see https://tailwindcss.com/docs/scroll-margin
2005
2218
  */
2006
2219
  "scroll-mx": [{
2007
- "scroll-mx": l()
2220
+ "scroll-mx": u()
2008
2221
  }],
2009
2222
  /**
2010
2223
  * Scroll Margin Y
2011
2224
  * @see https://tailwindcss.com/docs/scroll-margin
2012
2225
  */
2013
2226
  "scroll-my": [{
2014
- "scroll-my": l()
2227
+ "scroll-my": u()
2015
2228
  }],
2016
2229
  /**
2017
2230
  * Scroll Margin Start
2018
2231
  * @see https://tailwindcss.com/docs/scroll-margin
2019
2232
  */
2020
2233
  "scroll-ms": [{
2021
- "scroll-ms": l()
2234
+ "scroll-ms": u()
2022
2235
  }],
2023
2236
  /**
2024
2237
  * Scroll Margin End
2025
2238
  * @see https://tailwindcss.com/docs/scroll-margin
2026
2239
  */
2027
2240
  "scroll-me": [{
2028
- "scroll-me": l()
2241
+ "scroll-me": u()
2029
2242
  }],
2030
2243
  /**
2031
2244
  * Scroll Margin Top
2032
2245
  * @see https://tailwindcss.com/docs/scroll-margin
2033
2246
  */
2034
2247
  "scroll-mt": [{
2035
- "scroll-mt": l()
2248
+ "scroll-mt": u()
2036
2249
  }],
2037
2250
  /**
2038
2251
  * Scroll Margin Right
2039
2252
  * @see https://tailwindcss.com/docs/scroll-margin
2040
2253
  */
2041
2254
  "scroll-mr": [{
2042
- "scroll-mr": l()
2255
+ "scroll-mr": u()
2043
2256
  }],
2044
2257
  /**
2045
2258
  * Scroll Margin Bottom
2046
2259
  * @see https://tailwindcss.com/docs/scroll-margin
2047
2260
  */
2048
2261
  "scroll-mb": [{
2049
- "scroll-mb": l()
2262
+ "scroll-mb": u()
2050
2263
  }],
2051
2264
  /**
2052
2265
  * Scroll Margin Left
2053
2266
  * @see https://tailwindcss.com/docs/scroll-margin
2054
2267
  */
2055
2268
  "scroll-ml": [{
2056
- "scroll-ml": l()
2269
+ "scroll-ml": u()
2057
2270
  }],
2058
2271
  /**
2059
2272
  * Scroll Padding
2060
2273
  * @see https://tailwindcss.com/docs/scroll-padding
2061
2274
  */
2062
2275
  "scroll-p": [{
2063
- "scroll-p": l()
2276
+ "scroll-p": u()
2064
2277
  }],
2065
2278
  /**
2066
2279
  * Scroll Padding X
2067
2280
  * @see https://tailwindcss.com/docs/scroll-padding
2068
2281
  */
2069
2282
  "scroll-px": [{
2070
- "scroll-px": l()
2283
+ "scroll-px": u()
2071
2284
  }],
2072
2285
  /**
2073
2286
  * Scroll Padding Y
2074
2287
  * @see https://tailwindcss.com/docs/scroll-padding
2075
2288
  */
2076
2289
  "scroll-py": [{
2077
- "scroll-py": l()
2290
+ "scroll-py": u()
2078
2291
  }],
2079
2292
  /**
2080
2293
  * Scroll Padding Start
2081
2294
  * @see https://tailwindcss.com/docs/scroll-padding
2082
2295
  */
2083
2296
  "scroll-ps": [{
2084
- "scroll-ps": l()
2297
+ "scroll-ps": u()
2085
2298
  }],
2086
2299
  /**
2087
2300
  * Scroll Padding End
2088
2301
  * @see https://tailwindcss.com/docs/scroll-padding
2089
2302
  */
2090
2303
  "scroll-pe": [{
2091
- "scroll-pe": l()
2304
+ "scroll-pe": u()
2092
2305
  }],
2093
2306
  /**
2094
2307
  * Scroll Padding Top
2095
2308
  * @see https://tailwindcss.com/docs/scroll-padding
2096
2309
  */
2097
2310
  "scroll-pt": [{
2098
- "scroll-pt": l()
2311
+ "scroll-pt": u()
2099
2312
  }],
2100
2313
  /**
2101
2314
  * Scroll Padding Right
2102
2315
  * @see https://tailwindcss.com/docs/scroll-padding
2103
2316
  */
2104
2317
  "scroll-pr": [{
2105
- "scroll-pr": l()
2318
+ "scroll-pr": u()
2106
2319
  }],
2107
2320
  /**
2108
2321
  * Scroll Padding Bottom
2109
2322
  * @see https://tailwindcss.com/docs/scroll-padding
2110
2323
  */
2111
2324
  "scroll-pb": [{
2112
- "scroll-pb": l()
2325
+ "scroll-pb": u()
2113
2326
  }],
2114
2327
  /**
2115
2328
  * Scroll Padding Left
2116
2329
  * @see https://tailwindcss.com/docs/scroll-padding
2117
2330
  */
2118
2331
  "scroll-pl": [{
2119
- "scroll-pl": l()
2332
+ "scroll-pl": u()
2120
2333
  }],
2121
2334
  /**
2122
2335
  * Scroll Snap Align
@@ -2184,36 +2397,35 @@ const w = (e) => {
2184
2397
  * @see https://tailwindcss.com/docs/will-change
2185
2398
  */
2186
2399
  "will-change": [{
2187
- "will-change": ["auto", "scroll", "contents", "transform", c]
2400
+ "will-change": ["auto", "scroll", "contents", "transform", s, n]
2188
2401
  }],
2189
- // SVG
2402
+ // -----------
2403
+ // --- SVG ---
2404
+ // -----------
2190
2405
  /**
2191
2406
  * Fill
2192
2407
  * @see https://tailwindcss.com/docs/fill
2193
2408
  */
2194
2409
  fill: [{
2195
- fill: [e, "none"]
2410
+ fill: ["none", ...a()]
2196
2411
  }],
2197
2412
  /**
2198
2413
  * Stroke Width
2199
2414
  * @see https://tailwindcss.com/docs/stroke-width
2200
2415
  */
2201
2416
  "stroke-w": [{
2202
- stroke: [I, E, te]
2417
+ stroke: [m, se, q, ae]
2203
2418
  }],
2204
2419
  /**
2205
2420
  * Stroke
2206
2421
  * @see https://tailwindcss.com/docs/stroke
2207
2422
  */
2208
2423
  stroke: [{
2209
- stroke: [e, "none"]
2424
+ stroke: ["none", ...a()]
2210
2425
  }],
2211
- // Accessibility
2212
- /**
2213
- * Screen Readers
2214
- * @see https://tailwindcss.com/docs/screen-readers
2215
- */
2216
- sr: ["sr-only", "not-sr-only"],
2426
+ // ---------------------
2427
+ // --- Accessibility ---
2428
+ // ---------------------
2217
2429
  /**
2218
2430
  * Forced Color Adjust
2219
2431
  * @see https://tailwindcss.com/docs/forced-color-adjust
@@ -2259,6 +2471,8 @@ const w = (e) => {
2259
2471
  "border-color": ["border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
2260
2472
  "border-color-x": ["border-color-r", "border-color-l"],
2261
2473
  "border-color-y": ["border-color-t", "border-color-b"],
2474
+ translate: ["translate-x", "translate-y", "translate-none"],
2475
+ "translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
2262
2476
  "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
2263
2477
  "scroll-mx": ["scroll-mr", "scroll-ml"],
2264
2478
  "scroll-my": ["scroll-mt", "scroll-mb"],
@@ -2272,152 +2486,146 @@ const w = (e) => {
2272
2486
  },
2273
2487
  conflictingClassGroupModifiers: {
2274
2488
  "font-size": ["leading"]
2275
- }
2489
+ },
2490
+ orderSensitiveModifiers: ["before", "after", "placeholder", "file", "marker", "selection", "first-line", "first-letter", "backdrop", "*", "**"]
2276
2491
  };
2277
- }, tr = (e, {
2492
+ }, Ar = (e, {
2278
2493
  cacheSize: t,
2279
2494
  prefix: r,
2280
- separator: n,
2281
- experimentalParseClassName: a,
2282
- extend: o = {},
2283
- override: i = {}
2284
- }) => {
2285
- X(e, "cacheSize", t), X(e, "prefix", r), X(e, "separator", n), X(e, "experimentalParseClassName", a);
2286
- for (const s in i)
2287
- or(e[s], i[s]);
2288
- for (const s in o)
2289
- nr(e[s], o[s]);
2290
- return e;
2291
- }, X = (e, t, r) => {
2495
+ experimentalParseClassName: o,
2496
+ extend: c = {},
2497
+ override: l = {}
2498
+ }) => (te(e, "cacheSize", t), te(e, "prefix", r), te(e, "experimentalParseClassName", o), le(e.theme, l.theme), le(e.classGroups, l.classGroups), le(e.conflictingClassGroups, l.conflictingClassGroups), le(e.conflictingClassGroupModifiers, l.conflictingClassGroupModifiers), te(e, "orderSensitiveModifiers", l.orderSensitiveModifiers), ie(e.theme, c.theme), ie(e.classGroups, c.classGroups), ie(e.conflictingClassGroups, c.conflictingClassGroups), ie(e.conflictingClassGroupModifiers, c.conflictingClassGroupModifiers), Ee(e, c, "orderSensitiveModifiers"), e), te = (e, t, r) => {
2292
2499
  r !== void 0 && (e[t] = r);
2293
- }, or = (e, t) => {
2500
+ }, le = (e, t) => {
2294
2501
  if (t)
2295
2502
  for (const r in t)
2296
- X(e, r, t[r]);
2297
- }, nr = (e, t) => {
2503
+ te(e, r, t[r]);
2504
+ }, ie = (e, t) => {
2298
2505
  if (t)
2299
- for (const r in t) {
2300
- const n = t[r];
2301
- n !== void 0 && (e[r] = (e[r] || []).concat(n));
2302
- }
2303
- }, sr = (e, ...t) => typeof e == "function" ? se(le, e, ...t) : se(() => tr(le(), e), ...t), lr = /* @__PURE__ */ se(le);
2304
- var ir = { twMerge: !0, twMergeConfig: {}, responsiveVariants: !1 }, Ae = (e) => e || void 0, Z = (...e) => Ae(me(e).filter(Boolean).join(" ")), oe = null, T = {}, ie = !1, Q = (...e) => (t) => t.twMerge ? ((!oe || ie) && (ie = !1, oe = P(T) ? lr : sr({ ...T, extend: { theme: T.theme, classGroups: T.classGroups, conflictingClassGroupModifiers: T.conflictingClassGroupModifiers, conflictingClassGroups: T.conflictingClassGroups, ...T.extend } })), Ae(oe(Z(e)))) : Z(e), be = (e, t) => {
2305
- for (let r in t) e.hasOwnProperty(r) ? e[r] = Z(e[r], t[r]) : e[r] = t[r];
2506
+ for (const r in t)
2507
+ Ee(e, t, r);
2508
+ }, Ee = (e, t, r) => {
2509
+ const o = t[r];
2510
+ o !== void 0 && (e[r] = e[r] ? e[r].concat(o) : o);
2511
+ }, Mr = (e, ...t) => typeof e == "function" ? fe(be, e, ...t) : fe(() => Ar(be(), e), ...t), zr = /* @__PURE__ */ fe(be);
2512
+ var Sr = { twMerge: !0, twMergeConfig: {}, responsiveVariants: !1 }, Oe = (e) => e || void 0, oe = (...e) => Oe(ze(e).filter(Boolean).join(" ")), ce = null, L = {}, ge = !1, re = (...e) => (t) => t.twMerge ? ((!ce || ge) && (ge = !1, ce = I(L) ? zr : Mr({ ...L, extend: { theme: L.theme, classGroups: L.classGroups, conflictingClassGroupModifiers: L.conflictingClassGroupModifiers, conflictingClassGroups: L.conflictingClassGroups, ...L.extend } })), Oe(ce(oe(e)))) : oe(e), Ae = (e, t) => {
2513
+ for (let r in t) e.hasOwnProperty(r) ? e[r] = oe(e[r], t[r]) : e[r] = t[r];
2306
2514
  return e;
2307
- }, ar = (e, t) => {
2308
- let { extend: r = null, slots: n = {}, variants: a = {}, compoundVariants: o = [], compoundSlots: i = [], defaultVariants: s = {} } = e, u = { ...ir, ...t }, C = r != null && r.base ? Z(r.base, e == null ? void 0 : e.base) : e == null ? void 0 : e.base, m = r != null && r.variants && !P(r.variants) ? ye(a, r.variants) : a, S = r != null && r.defaultVariants && !P(r.defaultVariants) ? { ...r.defaultVariants, ...s } : s;
2309
- !P(u.twMergeConfig) && !Se(u.twMergeConfig, T) && (ie = !0, T = u.twMergeConfig);
2310
- let M = P(r == null ? void 0 : r.slots), R = P(n) ? {} : { base: Z(e == null ? void 0 : e.base, M && (r == null ? void 0 : r.base)), ...n }, j = M ? R : be({ ...r == null ? void 0 : r.slots }, P(R) ? { base: e == null ? void 0 : e.base } : R), k = P(r == null ? void 0 : r.compoundVariants) ? o : he(r == null ? void 0 : r.compoundVariants, o), b = (h) => {
2311
- if (P(m) && P(n) && M) return Q(C, h == null ? void 0 : h.class, h == null ? void 0 : h.className)(u);
2312
- if (k && !Array.isArray(k)) throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof k}`);
2515
+ }, Cr = (e, t) => {
2516
+ let { extend: r = null, slots: o = {}, variants: c = {}, compoundVariants: l = [], compoundSlots: i = [], defaultVariants: y = {} } = e, d = { ...Sr, ...t }, M = r != null && r.base ? oe(r.base, e == null ? void 0 : e.base) : e == null ? void 0 : e.base, v = r != null && r.variants && !I(r.variants) ? Ce(c, r.variants) : c, j = r != null && r.defaultVariants && !I(r.defaultVariants) ? { ...r.defaultVariants, ...y } : y;
2517
+ !I(d.twMergeConfig) && !Le(d.twMergeConfig, L) && (ge = !0, L = d.twMergeConfig);
2518
+ let V = I(r == null ? void 0 : r.slots), T = I(o) ? {} : { base: oe(e == null ? void 0 : e.base, V && (r == null ? void 0 : r.base)), ...o }, z = V ? T : Ae({ ...r == null ? void 0 : r.slots }, I(T) ? { base: e == null ? void 0 : e.base } : T), S = I(r == null ? void 0 : r.compoundVariants) ? l : Se(r == null ? void 0 : r.compoundVariants, l), G = (k) => {
2519
+ if (I(v) && I(o) && V) return re(M, k == null ? void 0 : k.class, k == null ? void 0 : k.className)(d);
2520
+ if (S && !Array.isArray(S)) throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof S}`);
2313
2521
  if (i && !Array.isArray(i)) throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof i}`);
2314
- let L = (l, p, d = [], g) => {
2315
- let f = d;
2316
- if (typeof p == "string") f = f.concat(ue(p).split(" ").map((y) => `${l}:${y}`));
2317
- else if (Array.isArray(p)) f = f.concat(p.reduce((y, v) => y.concat(`${l}:${v}`), []));
2318
- else if (typeof p == "object" && typeof g == "string") {
2319
- for (let y in p) if (p.hasOwnProperty(y) && y === g) {
2320
- let v = p[y];
2321
- if (v && typeof v == "string") {
2322
- let x = ue(v);
2323
- f[g] ? f[g] = f[g].concat(x.split(" ").map((A) => `${l}:${A}`)) : f[g] = x.split(" ").map((A) => `${l}:${A}`);
2324
- } else Array.isArray(v) && v.length > 0 && (f[g] = v.reduce((x, A) => x.concat(`${l}:${A}`), []));
2522
+ let W = (g, f, p = [], h) => {
2523
+ let a = p;
2524
+ if (typeof f == "string") a = a.concat(we(f).split(" ").map((x) => `${g}:${x}`));
2525
+ else if (Array.isArray(f)) a = a.concat(f.reduce((x, b) => x.concat(`${g}:${b}`), []));
2526
+ else if (typeof f == "object" && typeof h == "string") {
2527
+ for (let x in f) if (f.hasOwnProperty(x) && x === h) {
2528
+ let b = f[x];
2529
+ if (b && typeof b == "string") {
2530
+ let w = we(b);
2531
+ a[h] ? a[h] = a[h].concat(w.split(" ").map((A) => `${g}:${A}`)) : a[h] = w.split(" ").map((A) => `${g}:${A}`);
2532
+ } else Array.isArray(b) && b.length > 0 && (a[h] = b.reduce((w, A) => w.concat(`${g}:${A}`), []));
2325
2533
  }
2326
2534
  }
2327
- return f;
2328
- }, N = (l, p = m, d = null, g = null) => {
2329
- var f;
2330
- let y = p[l];
2331
- if (!y || P(y)) return null;
2332
- let v = (f = g == null ? void 0 : g[l]) != null ? f : h == null ? void 0 : h[l];
2333
- if (v === null) return null;
2334
- let x = de(v), A = Array.isArray(u.responsiveVariants) && u.responsiveVariants.length > 0 || u.responsiveVariants === !0, G = S == null ? void 0 : S[l], V = [];
2335
- if (typeof x == "object" && A) for (let [re, ce] of Object.entries(x)) {
2336
- let ze = y[ce];
2337
- if (re === "initial") {
2338
- G = ce;
2535
+ return a;
2536
+ }, E = (g, f = v, p = null, h = null) => {
2537
+ var a;
2538
+ let x = f[g];
2539
+ if (!x || I(x)) return null;
2540
+ let b = (a = h == null ? void 0 : h[g]) != null ? a : k == null ? void 0 : k[g];
2541
+ if (b === null) return null;
2542
+ let w = ye(b), A = Array.isArray(d.responsiveVariants) && d.responsiveVariants.length > 0 || d.responsiveVariants === !0, O = j == null ? void 0 : j[g], P = [];
2543
+ if (typeof w == "object" && A) for (let [B, K] of Object.entries(w)) {
2544
+ let D = x[K];
2545
+ if (B === "initial") {
2546
+ O = K;
2339
2547
  continue;
2340
2548
  }
2341
- Array.isArray(u.responsiveVariants) && !u.responsiveVariants.includes(re) || (V = L(re, ze, V, d));
2549
+ Array.isArray(d.responsiveVariants) && !d.responsiveVariants.includes(B) || (P = W(B, D, P, p));
2342
2550
  }
2343
- let D = x != null && typeof x != "object" ? x : de(G), ee = y[D || "false"];
2344
- return typeof V == "object" && typeof d == "string" && V[d] ? be(V, ee) : V.length > 0 ? (V.push(ee), d === "base" ? V.join(" ") : V) : ee;
2345
- }, W = () => m ? Object.keys(m).map((l) => N(l, m)) : null, Y = (l, p) => {
2346
- if (!m || typeof m != "object") return null;
2347
- let d = new Array();
2348
- for (let g in m) {
2349
- let f = N(g, m, l, p), y = l === "base" && typeof f == "string" ? f : f && f[l];
2350
- y && (d[d.length] = y);
2551
+ let U = w != null && typeof w != "object" ? w : ye(O), _ = x[U || "false"];
2552
+ return typeof P == "object" && typeof p == "string" && P[p] ? Ae(P, _) : P.length > 0 ? (P.push(_), p === "base" ? P.join(" ") : P) : _;
2553
+ }, F = () => v ? Object.keys(v).map((g) => E(g, v)) : null, u = (g, f) => {
2554
+ if (!v || typeof v != "object") return null;
2555
+ let p = new Array();
2556
+ for (let h in v) {
2557
+ let a = E(h, v, g, f), x = g === "base" && typeof a == "string" ? a : a && a[g];
2558
+ x && (p[p.length] = x);
2351
2559
  }
2352
- return d;
2353
- }, U = {};
2354
- for (let l in h) h[l] !== void 0 && (U[l] = h[l]);
2355
- let F = (l, p) => {
2356
- var d;
2357
- let g = typeof (h == null ? void 0 : h[l]) == "object" ? { [l]: (d = h[l]) == null ? void 0 : d.initial } : {};
2358
- return { ...S, ...U, ...g, ...p };
2359
- }, _ = (l = [], p) => {
2360
- let d = [];
2361
- for (let { class: g, className: f, ...y } of l) {
2362
- let v = !0;
2363
- for (let [x, A] of Object.entries(y)) {
2364
- let G = F(x, p)[x];
2560
+ return p;
2561
+ }, R = {};
2562
+ for (let g in k) k[g] !== void 0 && (R[g] = k[g]);
2563
+ let Z = (g, f) => {
2564
+ var p;
2565
+ let h = typeof (k == null ? void 0 : k[g]) == "object" ? { [g]: (p = k[g]) == null ? void 0 : p.initial } : {};
2566
+ return { ...j, ...R, ...h, ...f };
2567
+ }, ee = (g = [], f) => {
2568
+ let p = [];
2569
+ for (let { class: h, className: a, ...x } of g) {
2570
+ let b = !0;
2571
+ for (let [w, A] of Object.entries(x)) {
2572
+ let O = Z(w, f)[w];
2365
2573
  if (Array.isArray(A)) {
2366
- if (!A.includes(G)) {
2367
- v = !1;
2574
+ if (!A.includes(O)) {
2575
+ b = !1;
2368
2576
  break;
2369
2577
  }
2370
2578
  } else {
2371
- let V = (D) => D == null || D === !1;
2372
- if (V(A) && V(G)) continue;
2373
- if (G !== A) {
2374
- v = !1;
2579
+ let P = (U) => U == null || U === !1;
2580
+ if (P(A) && P(O)) continue;
2581
+ if (O !== A) {
2582
+ b = !1;
2375
2583
  break;
2376
2584
  }
2377
2585
  }
2378
2586
  }
2379
- v && (g && d.push(g), f && d.push(f));
2587
+ b && (h && p.push(h), a && p.push(a));
2380
2588
  }
2381
- return d;
2382
- }, J = (l) => {
2383
- let p = _(k, l);
2384
- if (!Array.isArray(p)) return p;
2385
- let d = {};
2386
- for (let g of p) if (typeof g == "string" && (d.base = Q(d.base, g)(u)), typeof g == "object") for (let [f, y] of Object.entries(g)) d[f] = Q(d[f], y)(u);
2387
- return d;
2388
- }, q = (l) => {
2389
- if (i.length < 1) return null;
2589
+ return p;
2590
+ }, H = (g) => {
2591
+ let f = ee(S, g);
2592
+ if (!Array.isArray(f)) return f;
2390
2593
  let p = {};
2391
- for (let { slots: d = [], class: g, className: f, ...y } of i) {
2392
- if (!P(y)) {
2393
- let v = !0;
2394
- for (let x of Object.keys(y)) {
2395
- let A = F(x, l)[x];
2396
- if (A === void 0 || (Array.isArray(y[x]) ? !y[x].includes(A) : y[x] !== A)) {
2397
- v = !1;
2594
+ for (let h of f) if (typeof h == "string" && (p.base = re(p.base, h)(d)), typeof h == "object") for (let [a, x] of Object.entries(h)) p[a] = re(p[a], x)(d);
2595
+ return p;
2596
+ }, ne = (g) => {
2597
+ if (i.length < 1) return null;
2598
+ let f = {};
2599
+ for (let { slots: p = [], class: h, className: a, ...x } of i) {
2600
+ if (!I(x)) {
2601
+ let b = !0;
2602
+ for (let w of Object.keys(x)) {
2603
+ let A = Z(w, g)[w];
2604
+ if (A === void 0 || (Array.isArray(x[w]) ? !x[w].includes(A) : x[w] !== A)) {
2605
+ b = !1;
2398
2606
  break;
2399
2607
  }
2400
2608
  }
2401
- if (!v) continue;
2609
+ if (!b) continue;
2402
2610
  }
2403
- for (let v of d) p[v] = p[v] || [], p[v].push([g, f]);
2611
+ for (let b of p) f[b] = f[b] || [], f[b].push([h, a]);
2404
2612
  }
2405
- return p;
2613
+ return f;
2406
2614
  };
2407
- if (!P(n) || !M) {
2408
- let l = {};
2409
- if (typeof j == "object" && !P(j)) for (let p of Object.keys(j)) l[p] = (d) => {
2410
- var g, f;
2411
- return Q(j[p], Y(p, d), ((g = J(d)) != null ? g : [])[p], ((f = q(d)) != null ? f : [])[p], d == null ? void 0 : d.class, d == null ? void 0 : d.className)(u);
2615
+ if (!I(o) || !V) {
2616
+ let g = {};
2617
+ if (typeof z == "object" && !I(z)) for (let f of Object.keys(z)) g[f] = (p) => {
2618
+ var h, a;
2619
+ return re(z[f], u(f, p), ((h = H(p)) != null ? h : [])[f], ((a = ne(p)) != null ? a : [])[f], p == null ? void 0 : p.class, p == null ? void 0 : p.className)(d);
2412
2620
  };
2413
- return l;
2621
+ return g;
2414
2622
  }
2415
- return Q(C, W(), _(k), h == null ? void 0 : h.class, h == null ? void 0 : h.className)(u);
2416
- }, z = () => {
2417
- if (!(!m || typeof m != "object")) return Object.keys(m);
2623
+ return re(M, F(), ee(S), k == null ? void 0 : k.class, k == null ? void 0 : k.className)(d);
2624
+ }, N = () => {
2625
+ if (!(!v || typeof v != "object")) return Object.keys(v);
2418
2626
  };
2419
- return b.variantKeys = z(), b.extend = r, b.base = C, b.slots = j, b.variants = m, b.defaultVariants = S, b.compoundSlots = i, b.compoundVariants = k, b;
2627
+ return G.variantKeys = N(), G.extend = r, G.base = M, G.slots = z, G.variants = v, G.defaultVariants = j, G.compoundSlots = i, G.compoundVariants = S, G;
2420
2628
  };
2421
2629
  export {
2422
- ar as c
2630
+ Cr as c
2423
2631
  };