@helden-inc/cce-ui 0.1.0 → 0.1.1

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