next-ui-lib 0.1.13 → 0.1.15

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/ui.es.js CHANGED
@@ -1,5 +1,6 @@
1
- import { jsx as x, jsxs as Y } from "react/jsx-runtime";
2
- import * as $ from "react";
1
+ import { jsx as f, jsxs as H } from "react/jsx-runtime";
2
+ import * as L from "react";
3
+ import { useState as Ve } from "react";
3
4
  const Ce = {
4
5
  lightBlue: {
5
6
  primary: { text: "#FFFFFF", value: "#27a7e3", dark: "#1f8ecb" },
@@ -21,16 +22,16 @@ const Ce = {
21
22
  variant: n = "primary",
22
23
  customClass: c = ""
23
24
  }) => {
24
- const i = {
25
+ const l = {
25
26
  small: "px-2 py-1 text-xs rounded-lg",
26
27
  medium: "px-3 py-1 text-base rounded-xl",
27
28
  large: "px-8 py-3 text-2xl rounded-2xl",
28
29
  full: "px-8 py-2 text-xl rounded-2xl w-full"
29
30
  }, u = Ce[e];
30
- return /* @__PURE__ */ x(
31
+ return /* @__PURE__ */ f(
31
32
  "button",
32
33
  {
33
- className: `relative flex items-center justify-center cursor-pointer transition duration-150 ease-in-out whitespace-nowrap active:translate-y-[4px] ${i[o]} ${c}`,
34
+ className: `relative flex items-center justify-center cursor-pointer transition duration-150 ease-in-out whitespace-nowrap active:translate-y-[4px] ${l[o]} ${c}`,
34
35
  style: {
35
36
  backgroundColor: n == "primary" ? u.primary.value : u.secondary.value,
36
37
  boxShadow: `0 ${o === "large" ? "6px" : "4px"} 0 ${n == "primary" ? u.primary.dark : u.secondary.dark}`,
@@ -43,7 +44,7 @@ const Ce = {
43
44
  m.currentTarget.style.boxShadow = `0 4px 0 ${n == "primary" ? u.primary.dark : u.secondary.dark}`;
44
45
  },
45
46
  onClick: t,
46
- children: /* @__PURE__ */ x("span", { className: "font-bold", children: r })
47
+ children: /* @__PURE__ */ f("span", { className: "font-bold", children: r })
47
48
  }
48
49
  );
49
50
  };
@@ -56,23 +57,23 @@ function ze(e) {
56
57
  } else for (r in e) e[r] && (o && (o += " "), o += r);
57
58
  return o;
58
59
  }
59
- function Oe() {
60
+ function We() {
60
61
  for (var e, t, r = 0, o = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (t = ze(e)) && (o && (o += " "), o += t);
61
62
  return o;
62
63
  }
63
64
  const ce = "-", _e = (e) => {
64
- const t = De(e), {
65
+ const t = Ue(e), {
65
66
  conflictingClassGroups: r,
66
67
  conflictingClassGroupModifiers: o
67
68
  } = e;
68
69
  return {
69
- getClassGroupId: (i) => {
70
- const u = i.split(ce);
71
- return u[0] === "" && u.length !== 1 && u.shift(), Se(u, t) || We(i);
70
+ getClassGroupId: (l) => {
71
+ const u = l.split(ce);
72
+ return u[0] === "" && u.length !== 1 && u.shift(), Se(u, t) || De(l);
72
73
  },
73
- getConflictingClassGroupIds: (i, u) => {
74
- const m = r[i] || [];
75
- return u && o[i] ? [...m, ...o[i]] : m;
74
+ getConflictingClassGroupIds: (l, u) => {
75
+ const m = r[l] || [];
76
+ return u && o[l] ? [...m, ...o[l]] : m;
76
77
  }
77
78
  };
78
79
  }, Se = (e, t) => {
@@ -85,15 +86,15 @@ const ce = "-", _e = (e) => {
85
86
  return;
86
87
  const c = e.join(ce);
87
88
  return t.validators.find(({
88
- validator: i
89
- }) => i(c))?.classGroupId;
90
- }, ye = /^\[(.+)\]$/, We = (e) => {
89
+ validator: l
90
+ }) => l(c))?.classGroupId;
91
+ }, ye = /^\[(.+)\]$/, De = (e) => {
91
92
  if (ye.test(e)) {
92
93
  const t = ye.exec(e)[1], r = t?.substring(0, t.indexOf(":"));
93
94
  if (r)
94
95
  return "arbitrary.." + r;
95
96
  }
96
- }, De = (e) => {
97
+ }, Ue = (e) => {
97
98
  const {
98
99
  theme: t,
99
100
  classGroups: r
@@ -112,7 +113,7 @@ const ce = "-", _e = (e) => {
112
113
  return;
113
114
  }
114
115
  if (typeof n == "function") {
115
- if (Ue(n)) {
116
+ if (He(n)) {
116
117
  ne(n(o), t, r, o);
117
118
  return;
118
119
  }
@@ -122,8 +123,8 @@ const ce = "-", _e = (e) => {
122
123
  });
123
124
  return;
124
125
  }
125
- Object.entries(n).forEach(([c, i]) => {
126
- ne(i, we(t, c), r, o);
126
+ Object.entries(n).forEach(([c, l]) => {
127
+ ne(l, we(t, c), r, o);
127
128
  });
128
129
  });
129
130
  }, we = (e, t) => {
@@ -134,7 +135,7 @@ const ce = "-", _e = (e) => {
134
135
  validators: []
135
136
  }), r = r.nextPart.get(o);
136
137
  }), r;
137
- }, Ue = (e) => e.isThemeGetter, He = (e) => {
138
+ }, He = (e) => e.isThemeGetter, qe = (e) => {
138
139
  if (e < 1)
139
140
  return {
140
141
  get: () => {
@@ -143,58 +144,58 @@ const ce = "-", _e = (e) => {
143
144
  }
144
145
  };
145
146
  let t = 0, r = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
146
- const n = (c, i) => {
147
- r.set(c, i), t++, t > e && (t = 0, o = r, r = /* @__PURE__ */ new Map());
147
+ const n = (c, l) => {
148
+ r.set(c, l), t++, t > e && (t = 0, o = r, r = /* @__PURE__ */ new Map());
148
149
  };
149
150
  return {
150
151
  get(c) {
151
- let i = r.get(c);
152
- if (i !== void 0)
153
- return i;
154
- if ((i = o.get(c)) !== void 0)
155
- return n(c, i), i;
152
+ let l = r.get(c);
153
+ if (l !== void 0)
154
+ return l;
155
+ if ((l = o.get(c)) !== void 0)
156
+ return n(c, l), l;
156
157
  },
157
- set(c, i) {
158
- r.has(c) ? r.set(c, i) : n(c, i);
158
+ set(c, l) {
159
+ r.has(c) ? r.set(c, l) : n(c, l);
159
160
  }
160
161
  };
161
- }, ie = "!", le = ":", qe = le.length, Je = (e) => {
162
+ }, le = "!", ie = ":", Je = ie.length, Xe = (e) => {
162
163
  const {
163
164
  prefix: t,
164
165
  experimentalParseClassName: r
165
166
  } = e;
166
167
  let o = (n) => {
167
168
  const c = [];
168
- let i = 0, u = 0, m = 0, g;
169
+ let l = 0, u = 0, m = 0, b;
169
170
  for (let k = 0; k < n.length; k++) {
170
- let v = n[k];
171
- if (i === 0 && u === 0) {
172
- if (v === le) {
173
- c.push(n.slice(m, k)), m = k + qe;
171
+ let C = n[k];
172
+ if (l === 0 && u === 0) {
173
+ if (C === ie) {
174
+ c.push(n.slice(m, k)), m = k + Je;
174
175
  continue;
175
176
  }
176
- if (v === "/") {
177
- g = k;
177
+ if (C === "/") {
178
+ b = k;
178
179
  continue;
179
180
  }
180
181
  }
181
- v === "[" ? i++ : v === "]" ? i-- : v === "(" ? u++ : v === ")" && u--;
182
+ C === "[" ? l++ : C === "]" ? l-- : C === "(" ? u++ : C === ")" && u--;
182
183
  }
183
- const b = c.length === 0 ? n : n.substring(m), C = Xe(b), A = C !== b, _ = g && g > m ? g - m : void 0;
184
+ const h = c.length === 0 ? n : n.substring(m), v = Ke(h), R = v !== h, N = b && b > m ? b - m : void 0;
184
185
  return {
185
186
  modifiers: c,
186
- hasImportantModifier: A,
187
- baseClassName: C,
188
- maybePostfixModifierPosition: _
187
+ hasImportantModifier: R,
188
+ baseClassName: v,
189
+ maybePostfixModifierPosition: N
189
190
  };
190
191
  };
191
192
  if (t) {
192
- const n = t + le, c = o;
193
- o = (i) => i.startsWith(n) ? c(i.substring(n.length)) : {
193
+ const n = t + ie, c = o;
194
+ o = (l) => l.startsWith(n) ? c(l.substring(n.length)) : {
194
195
  isExternal: !0,
195
196
  modifiers: [],
196
197
  hasImportantModifier: !1,
197
- baseClassName: i,
198
+ baseClassName: l,
198
199
  maybePostfixModifierPosition: void 0
199
200
  };
200
201
  }
@@ -206,68 +207,68 @@ const ce = "-", _e = (e) => {
206
207
  });
207
208
  }
208
209
  return o;
209
- }, Xe = (e) => e.endsWith(ie) ? e.substring(0, e.length - 1) : e.startsWith(ie) ? e.substring(1) : e, Ke = (e) => {
210
+ }, Ke = (e) => e.endsWith(le) ? e.substring(0, e.length - 1) : e.startsWith(le) ? e.substring(1) : e, Qe = (e) => {
210
211
  const t = Object.fromEntries(e.orderSensitiveModifiers.map((o) => [o, !0]));
211
212
  return (o) => {
212
213
  if (o.length <= 1)
213
214
  return o;
214
215
  const n = [];
215
216
  let c = [];
216
- return o.forEach((i) => {
217
- i[0] === "[" || t[i] ? (n.push(...c.sort(), i), c = []) : c.push(i);
217
+ return o.forEach((l) => {
218
+ l[0] === "[" || t[l] ? (n.push(...c.sort(), l), c = []) : c.push(l);
218
219
  }), n.push(...c.sort()), n;
219
220
  };
220
- }, Qe = (e) => ({
221
- cache: He(e.cacheSize),
222
- parseClassName: Je(e),
223
- sortModifiers: Ke(e),
221
+ }, Ye = (e) => ({
222
+ cache: qe(e.cacheSize),
223
+ parseClassName: Xe(e),
224
+ sortModifiers: Qe(e),
224
225
  ..._e(e)
225
- }), Ye = /\s+/, Ze = (e, t) => {
226
+ }), Ze = /\s+/, er = (e, t) => {
226
227
  const {
227
228
  parseClassName: r,
228
229
  getClassGroupId: o,
229
230
  getConflictingClassGroupIds: n,
230
231
  sortModifiers: c
231
- } = t, i = [], u = e.trim().split(Ye);
232
+ } = t, l = [], u = e.trim().split(Ze);
232
233
  let m = "";
233
- for (let g = u.length - 1; g >= 0; g -= 1) {
234
- const b = u[g], {
235
- isExternal: C,
236
- modifiers: A,
237
- hasImportantModifier: _,
234
+ for (let b = u.length - 1; b >= 0; b -= 1) {
235
+ const h = u[b], {
236
+ isExternal: v,
237
+ modifiers: R,
238
+ hasImportantModifier: N,
238
239
  baseClassName: k,
239
- maybePostfixModifierPosition: v
240
- } = r(b);
241
- if (C) {
242
- m = b + (m.length > 0 ? " " + m : m);
240
+ maybePostfixModifierPosition: C
241
+ } = r(h);
242
+ if (v) {
243
+ m = h + (m.length > 0 ? " " + m : m);
243
244
  continue;
244
245
  }
245
- let G = !!v, R = o(G ? k.substring(0, v) : k);
246
- if (!R) {
246
+ let G = !!C, F = o(G ? k.substring(0, C) : k);
247
+ if (!F) {
247
248
  if (!G) {
248
- m = b + (m.length > 0 ? " " + m : m);
249
+ m = h + (m.length > 0 ? " " + m : m);
249
250
  continue;
250
251
  }
251
- if (R = o(k), !R) {
252
- m = b + (m.length > 0 ? " " + m : m);
252
+ if (F = o(k), !F) {
253
+ m = h + (m.length > 0 ? " " + m : m);
253
254
  continue;
254
255
  }
255
256
  G = !1;
256
257
  }
257
- const H = c(A).join(":"), W = _ ? H + ie : H, E = W + R;
258
- if (i.includes(E))
258
+ const q = c(R).join(":"), _ = N ? q + le : q, E = _ + F;
259
+ if (l.includes(E))
259
260
  continue;
260
- i.push(E);
261
- const T = n(R, G);
262
- for (let F = 0; F < T.length; ++F) {
263
- const D = T[F];
264
- i.push(W + D);
261
+ l.push(E);
262
+ const B = n(F, G);
263
+ for (let I = 0; I < B.length; ++I) {
264
+ const D = B[I];
265
+ l.push(_ + D);
265
266
  }
266
- m = b + (m.length > 0 ? " " + m : m);
267
+ m = h + (m.length > 0 ? " " + m : m);
267
268
  }
268
269
  return m;
269
270
  };
270
- function er() {
271
+ function rr() {
271
272
  let e = 0, t, r, o = "";
272
273
  for (; e < arguments.length; )
273
274
  (t = arguments[e++]) && (r = Me(t)) && (o && (o += " "), o += r);
@@ -281,39 +282,39 @@ const Me = (e) => {
281
282
  e[o] && (t = Me(e[o])) && (r && (r += " "), r += t);
282
283
  return r;
283
284
  };
284
- function rr(e, ...t) {
285
- let r, o, n, c = i;
286
- function i(m) {
287
- const g = t.reduce((b, C) => C(b), e());
288
- return r = Qe(g), o = r.cache.get, n = r.cache.set, c = u, u(m);
285
+ function or(e, ...t) {
286
+ let r, o, n, c = l;
287
+ function l(m) {
288
+ const b = t.reduce((h, v) => v(h), e());
289
+ return r = Ye(b), o = r.cache.get, n = r.cache.set, c = u, u(m);
289
290
  }
290
291
  function u(m) {
291
- const g = o(m);
292
- if (g)
293
- return g;
294
- const b = Ze(m, r);
295
- return n(m, b), b;
292
+ const b = o(m);
293
+ if (b)
294
+ return b;
295
+ const h = er(m, r);
296
+ return n(m, h), h;
296
297
  }
297
298
  return function() {
298
- return c(er.apply(null, arguments));
299
+ return c(rr.apply(null, arguments));
299
300
  };
300
301
  }
301
- const f = (e) => {
302
+ const g = (e) => {
302
303
  const t = (r) => r[e] || [];
303
304
  return t.isThemeGetter = !0, t;
304
- }, Ae = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ne = /^\((?:(\w[\w-]*):)?(.+)\)$/i, or = /^\d+\/\d+$/, tr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, sr = /\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$/, ar = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, nr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ir = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, j = (e) => or.test(e), p = (e) => !!e && !Number.isNaN(Number(e)), N = (e) => !!e && Number.isInteger(Number(e)), se = (e) => e.endsWith("%") && p(e.slice(0, -1)), M = (e) => tr.test(e), lr = () => !0, cr = (e) => (
305
+ }, Ne = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ae = /^\((?:(\w[\w-]*):)?(.+)\)$/i, tr = /^\d+\/\d+$/, sr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ar = /\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$/, nr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, lr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ir = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, j = (e) => tr.test(e), p = (e) => !!e && !Number.isNaN(Number(e)), A = (e) => !!e && Number.isInteger(Number(e)), se = (e) => e.endsWith("%") && p(e.slice(0, -1)), M = (e) => sr.test(e), cr = () => !0, dr = (e) => (
305
306
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
306
307
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
307
308
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
308
- sr.test(e) && !ar.test(e)
309
- ), Re = () => !1, dr = (e) => nr.test(e), mr = (e) => ir.test(e), pr = (e) => !s(e) && !a(e), ur = (e) => L(e, Pe, Re), s = (e) => Ae.test(e), P = (e) => L(e, Ge, cr), ae = (e) => L(e, xr, p), ke = (e) => L(e, Fe, Re), fr = (e) => L(e, Ie, mr), Z = (e) => L(e, Ee, dr), a = (e) => Ne.test(e), U = (e) => V(e, Ge), gr = (e) => V(e, yr), ve = (e) => V(e, Fe), br = (e) => V(e, Pe), hr = (e) => V(e, Ie), ee = (e) => V(e, Ee, !0), L = (e, t, r) => {
310
- const o = Ae.exec(e);
309
+ ar.test(e) && !nr.test(e)
310
+ ), Re = () => !1, mr = (e) => lr.test(e), pr = (e) => ir.test(e), ur = (e) => !s(e) && !a(e), fr = (e) => O(e, Pe, Re), s = (e) => Ne.test(e), T = (e) => O(e, Te, dr), ae = (e) => O(e, yr, p), ke = (e) => O(e, Fe, Re), gr = (e) => O(e, Ie, pr), Z = (e) => O(e, Ge, mr), a = (e) => Ae.test(e), U = (e) => V(e, Te), br = (e) => V(e, wr), ve = (e) => V(e, Fe), hr = (e) => V(e, Pe), xr = (e) => V(e, Ie), ee = (e) => V(e, Ge, !0), O = (e, t, r) => {
311
+ const o = Ne.exec(e);
311
312
  return o ? o[1] ? t(o[1]) : r(o[2]) : !1;
312
313
  }, V = (e, t, r = !1) => {
313
- const o = Ne.exec(e);
314
+ const o = Ae.exec(e);
314
315
  return o ? o[1] ? t(o[1]) : r : !1;
315
- }, Fe = (e) => e === "position" || e === "percentage", Ie = (e) => e === "image" || e === "url", Pe = (e) => e === "length" || e === "size" || e === "bg-size", Ge = (e) => e === "length", xr = (e) => e === "number", yr = (e) => e === "family-name", Ee = (e) => e === "shadow", wr = () => {
316
- const e = f("color"), t = f("font"), r = f("text"), o = f("font-weight"), n = f("tracking"), c = f("leading"), i = f("breakpoint"), u = f("container"), m = f("spacing"), g = f("radius"), b = f("shadow"), C = f("inset-shadow"), A = f("text-shadow"), _ = f("drop-shadow"), k = f("blur"), v = f("perspective"), G = f("aspect"), R = f("ease"), H = f("animate"), W = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], E = () => [
316
+ }, Fe = (e) => e === "position" || e === "percentage", Ie = (e) => e === "image" || e === "url", Pe = (e) => e === "length" || e === "size" || e === "bg-size", Te = (e) => e === "length", yr = (e) => e === "number", wr = (e) => e === "family-name", Ge = (e) => e === "shadow", kr = () => {
317
+ const e = g("color"), t = g("font"), r = g("text"), o = g("font-weight"), n = g("tracking"), c = g("leading"), l = g("breakpoint"), u = g("container"), m = g("spacing"), b = g("radius"), h = g("shadow"), v = g("inset-shadow"), R = g("text-shadow"), N = g("drop-shadow"), k = g("blur"), C = g("perspective"), G = g("aspect"), F = g("ease"), q = g("animate"), _ = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], E = () => [
317
318
  "center",
318
319
  "top",
319
320
  "bottom",
@@ -331,30 +332,30 @@ const f = (e) => {
331
332
  "bottom-left",
332
333
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
333
334
  "left-bottom"
334
- ], T = () => [...E(), a, s], F = () => ["auto", "hidden", "clip", "visible", "scroll"], D = () => ["auto", "contain", "none"], d = () => [a, s, m], z = () => [j, "full", "auto", ...d()], de = () => [N, "none", "subgrid", a, s], me = () => ["auto", {
335
- span: ["full", N, a, s]
336
- }, N, a, s], q = () => [N, "auto", a, s], pe = () => ["auto", "min", "max", "fr", a, s], re = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], B = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], S = () => ["auto", ...d()], I = () => [j, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...d()], l = () => [e, a, s], ue = () => [...E(), ve, ke, {
335
+ ], B = () => [...E(), a, s], I = () => ["auto", "hidden", "clip", "visible", "scroll"], D = () => ["auto", "contain", "none"], d = () => [a, s, m], z = () => [j, "full", "auto", ...d()], de = () => [A, "none", "subgrid", a, s], me = () => ["auto", {
336
+ span: ["full", A, a, s]
337
+ }, A, a, s], J = () => [A, "auto", a, s], pe = () => ["auto", "min", "max", "fr", a, s], re = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], $ = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], S = () => ["auto", ...d()], P = () => [j, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...d()], i = () => [e, a, s], ue = () => [...E(), ve, ke, {
337
338
  position: [a, s]
338
339
  }], fe = () => ["no-repeat", {
339
340
  repeat: ["", "x", "y", "space", "round"]
340
- }], ge = () => ["auto", "cover", "contain", br, ur, {
341
+ }], ge = () => ["auto", "cover", "contain", hr, fr, {
341
342
  size: [a, s]
342
- }], oe = () => [se, U, P], y = () => [
343
+ }], oe = () => [se, U, T], y = () => [
343
344
  // Deprecated since Tailwind CSS v4.0.0
344
345
  "",
345
346
  "none",
346
347
  "full",
347
- g,
348
+ b,
348
349
  a,
349
350
  s
350
- ], w = () => ["", p, U, P], J = () => ["solid", "dashed", "dotted", "double"], be = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], h = () => [p, se, ve, ke], he = () => [
351
+ ], w = () => ["", p, U, T], X = () => ["solid", "dashed", "dotted", "double"], be = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], x = () => [p, se, ve, ke], he = () => [
351
352
  // Deprecated since Tailwind CSS v4.0.0
352
353
  "",
353
354
  "none",
354
355
  k,
355
356
  a,
356
357
  s
357
- ], X = () => ["none", p, a, s], K = () => ["none", p, a, s], te = () => [p, a, s], Q = () => [j, "full", ...d()];
358
+ ], K = () => ["none", p, a, s], Q = () => ["none", p, a, s], te = () => [p, a, s], Y = () => [j, "full", ...d()];
358
359
  return {
359
360
  cacheSize: 500,
360
361
  theme: {
@@ -362,11 +363,11 @@ const f = (e) => {
362
363
  aspect: ["video"],
363
364
  blur: [M],
364
365
  breakpoint: [M],
365
- color: [lr],
366
+ color: [cr],
366
367
  container: [M],
367
368
  "drop-shadow": [M],
368
369
  ease: ["in", "out", "in-out"],
369
- font: [pr],
370
+ font: [ur],
370
371
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
371
372
  "inset-shadow": [M],
372
373
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
@@ -407,14 +408,14 @@ const f = (e) => {
407
408
  * @see https://tailwindcss.com/docs/break-after
408
409
  */
409
410
  "break-after": [{
410
- "break-after": W()
411
+ "break-after": _()
411
412
  }],
412
413
  /**
413
414
  * Break Before
414
415
  * @see https://tailwindcss.com/docs/break-before
415
416
  */
416
417
  "break-before": [{
417
- "break-before": W()
418
+ "break-before": _()
418
419
  }],
419
420
  /**
420
421
  * Break Inside
@@ -478,28 +479,28 @@ const f = (e) => {
478
479
  * @see https://tailwindcss.com/docs/object-position
479
480
  */
480
481
  "object-position": [{
481
- object: T()
482
+ object: B()
482
483
  }],
483
484
  /**
484
485
  * Overflow
485
486
  * @see https://tailwindcss.com/docs/overflow
486
487
  */
487
488
  overflow: [{
488
- overflow: F()
489
+ overflow: I()
489
490
  }],
490
491
  /**
491
492
  * Overflow X
492
493
  * @see https://tailwindcss.com/docs/overflow
493
494
  */
494
495
  "overflow-x": [{
495
- "overflow-x": F()
496
+ "overflow-x": I()
496
497
  }],
497
498
  /**
498
499
  * Overflow Y
499
500
  * @see https://tailwindcss.com/docs/overflow
500
501
  */
501
502
  "overflow-y": [{
502
- "overflow-y": F()
503
+ "overflow-y": I()
503
504
  }],
504
505
  /**
505
506
  * Overscroll Behavior
@@ -600,7 +601,7 @@ const f = (e) => {
600
601
  * @see https://tailwindcss.com/docs/z-index
601
602
  */
602
603
  z: [{
603
- z: [N, "auto", a, s]
604
+ z: [A, "auto", a, s]
604
605
  }],
605
606
  // ------------------------
606
607
  // --- Flexbox and Grid ---
@@ -652,7 +653,7 @@ const f = (e) => {
652
653
  * @see https://tailwindcss.com/docs/order
653
654
  */
654
655
  order: [{
655
- order: [N, "first", "last", "none", a, s]
656
+ order: [A, "first", "last", "none", a, s]
656
657
  }],
657
658
  /**
658
659
  * Grid Template Columns
@@ -673,14 +674,14 @@ const f = (e) => {
673
674
  * @see https://tailwindcss.com/docs/grid-column
674
675
  */
675
676
  "col-start": [{
676
- "col-start": q()
677
+ "col-start": J()
677
678
  }],
678
679
  /**
679
680
  * Grid Column End
680
681
  * @see https://tailwindcss.com/docs/grid-column
681
682
  */
682
683
  "col-end": [{
683
- "col-end": q()
684
+ "col-end": J()
684
685
  }],
685
686
  /**
686
687
  * Grid Template Rows
@@ -701,14 +702,14 @@ const f = (e) => {
701
702
  * @see https://tailwindcss.com/docs/grid-row
702
703
  */
703
704
  "row-start": [{
704
- "row-start": q()
705
+ "row-start": J()
705
706
  }],
706
707
  /**
707
708
  * Grid Row End
708
709
  * @see https://tailwindcss.com/docs/grid-row
709
710
  */
710
711
  "row-end": [{
711
- "row-end": q()
712
+ "row-end": J()
712
713
  }],
713
714
  /**
714
715
  * Grid Auto Flow
@@ -764,14 +765,14 @@ const f = (e) => {
764
765
  * @see https://tailwindcss.com/docs/justify-items
765
766
  */
766
767
  "justify-items": [{
767
- "justify-items": [...B(), "normal"]
768
+ "justify-items": [...$(), "normal"]
768
769
  }],
769
770
  /**
770
771
  * Justify Self
771
772
  * @see https://tailwindcss.com/docs/justify-self
772
773
  */
773
774
  "justify-self": [{
774
- "justify-self": ["auto", ...B()]
775
+ "justify-self": ["auto", ...$()]
775
776
  }],
776
777
  /**
777
778
  * Align Content
@@ -785,7 +786,7 @@ const f = (e) => {
785
786
  * @see https://tailwindcss.com/docs/align-items
786
787
  */
787
788
  "align-items": [{
788
- items: [...B(), {
789
+ items: [...$(), {
789
790
  baseline: ["", "last"]
790
791
  }]
791
792
  }],
@@ -794,7 +795,7 @@ const f = (e) => {
794
795
  * @see https://tailwindcss.com/docs/align-self
795
796
  */
796
797
  "align-self": [{
797
- self: ["auto", ...B(), {
798
+ self: ["auto", ...$(), {
798
799
  baseline: ["", "last"]
799
800
  }]
800
801
  }],
@@ -810,14 +811,14 @@ const f = (e) => {
810
811
  * @see https://tailwindcss.com/docs/place-items
811
812
  */
812
813
  "place-items": [{
813
- "place-items": [...B(), "baseline"]
814
+ "place-items": [...$(), "baseline"]
814
815
  }],
815
816
  /**
816
817
  * Place Self
817
818
  * @see https://tailwindcss.com/docs/place-self
818
819
  */
819
820
  "place-self": [{
820
- "place-self": ["auto", ...B()]
821
+ "place-self": ["auto", ...$()]
821
822
  }],
822
823
  // Spacing
823
824
  /**
@@ -978,14 +979,14 @@ const f = (e) => {
978
979
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
979
980
  */
980
981
  size: [{
981
- size: I()
982
+ size: P()
982
983
  }],
983
984
  /**
984
985
  * Width
985
986
  * @see https://tailwindcss.com/docs/width
986
987
  */
987
988
  w: [{
988
- w: [u, "screen", ...I()]
989
+ w: [u, "screen", ...P()]
989
990
  }],
990
991
  /**
991
992
  * Min-Width
@@ -997,7 +998,7 @@ const f = (e) => {
997
998
  "screen",
998
999
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
999
1000
  "none",
1000
- ...I()
1001
+ ...P()
1001
1002
  ]
1002
1003
  }],
1003
1004
  /**
@@ -1013,9 +1014,9 @@ const f = (e) => {
1013
1014
  "prose",
1014
1015
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1015
1016
  {
1016
- screen: [i]
1017
+ screen: [l]
1017
1018
  },
1018
- ...I()
1019
+ ...P()
1019
1020
  ]
1020
1021
  }],
1021
1022
  /**
@@ -1023,21 +1024,21 @@ const f = (e) => {
1023
1024
  * @see https://tailwindcss.com/docs/height
1024
1025
  */
1025
1026
  h: [{
1026
- h: ["screen", "lh", ...I()]
1027
+ h: ["screen", "lh", ...P()]
1027
1028
  }],
1028
1029
  /**
1029
1030
  * Min-Height
1030
1031
  * @see https://tailwindcss.com/docs/min-height
1031
1032
  */
1032
1033
  "min-h": [{
1033
- "min-h": ["screen", "lh", "none", ...I()]
1034
+ "min-h": ["screen", "lh", "none", ...P()]
1034
1035
  }],
1035
1036
  /**
1036
1037
  * Max-Height
1037
1038
  * @see https://tailwindcss.com/docs/max-height
1038
1039
  */
1039
1040
  "max-h": [{
1040
- "max-h": ["screen", "lh", ...I()]
1041
+ "max-h": ["screen", "lh", ...P()]
1041
1042
  }],
1042
1043
  // ------------------
1043
1044
  // --- Typography ---
@@ -1047,7 +1048,7 @@ const f = (e) => {
1047
1048
  * @see https://tailwindcss.com/docs/font-size
1048
1049
  */
1049
1050
  "font-size": [{
1050
- text: ["base", r, U, P]
1051
+ text: ["base", r, U, T]
1051
1052
  }],
1052
1053
  /**
1053
1054
  * Font Smoothing
@@ -1078,7 +1079,7 @@ const f = (e) => {
1078
1079
  * @see https://tailwindcss.com/docs/font-family
1079
1080
  */
1080
1081
  "font-family": [{
1081
- font: [gr, s, t]
1082
+ font: [br, s, t]
1082
1083
  }],
1083
1084
  /**
1084
1085
  * Font Variant Numeric
@@ -1169,14 +1170,14 @@ const f = (e) => {
1169
1170
  * @see https://v3.tailwindcss.com/docs/placeholder-color
1170
1171
  */
1171
1172
  "placeholder-color": [{
1172
- placeholder: l()
1173
+ placeholder: i()
1173
1174
  }],
1174
1175
  /**
1175
1176
  * Text Color
1176
1177
  * @see https://tailwindcss.com/docs/text-color
1177
1178
  */
1178
1179
  "text-color": [{
1179
- text: l()
1180
+ text: i()
1180
1181
  }],
1181
1182
  /**
1182
1183
  * Text Decoration
@@ -1188,21 +1189,21 @@ const f = (e) => {
1188
1189
  * @see https://tailwindcss.com/docs/text-decoration-style
1189
1190
  */
1190
1191
  "text-decoration-style": [{
1191
- decoration: [...J(), "wavy"]
1192
+ decoration: [...X(), "wavy"]
1192
1193
  }],
1193
1194
  /**
1194
1195
  * Text Decoration Thickness
1195
1196
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1196
1197
  */
1197
1198
  "text-decoration-thickness": [{
1198
- decoration: [p, "from-font", "auto", a, P]
1199
+ decoration: [p, "from-font", "auto", a, T]
1199
1200
  }],
1200
1201
  /**
1201
1202
  * Text Decoration Color
1202
1203
  * @see https://tailwindcss.com/docs/text-decoration-color
1203
1204
  */
1204
1205
  "text-decoration-color": [{
1205
- decoration: l()
1206
+ decoration: i()
1206
1207
  }],
1207
1208
  /**
1208
1209
  * Text Underline Offset
@@ -1330,17 +1331,17 @@ const f = (e) => {
1330
1331
  bg: ["none", {
1331
1332
  linear: [{
1332
1333
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1333
- }, N, a, s],
1334
+ }, A, a, s],
1334
1335
  radial: ["", a, s],
1335
- conic: [N, a, s]
1336
- }, hr, fr]
1336
+ conic: [A, a, s]
1337
+ }, xr, gr]
1337
1338
  }],
1338
1339
  /**
1339
1340
  * Background Color
1340
1341
  * @see https://tailwindcss.com/docs/background-color
1341
1342
  */
1342
1343
  "bg-color": [{
1343
- bg: l()
1344
+ bg: i()
1344
1345
  }],
1345
1346
  /**
1346
1347
  * Gradient Color Stops From Position
@@ -1368,21 +1369,21 @@ const f = (e) => {
1368
1369
  * @see https://tailwindcss.com/docs/gradient-color-stops
1369
1370
  */
1370
1371
  "gradient-from": [{
1371
- from: l()
1372
+ from: i()
1372
1373
  }],
1373
1374
  /**
1374
1375
  * Gradient Color Stops Via
1375
1376
  * @see https://tailwindcss.com/docs/gradient-color-stops
1376
1377
  */
1377
1378
  "gradient-via": [{
1378
- via: l()
1379
+ via: i()
1379
1380
  }],
1380
1381
  /**
1381
1382
  * Gradient Color Stops To
1382
1383
  * @see https://tailwindcss.com/docs/gradient-color-stops
1383
1384
  */
1384
1385
  "gradient-to": [{
1385
- to: l()
1386
+ to: i()
1386
1387
  }],
1387
1388
  // ---------------
1388
1389
  // --- Borders ---
@@ -1584,91 +1585,91 @@ const f = (e) => {
1584
1585
  * @see https://tailwindcss.com/docs/border-style
1585
1586
  */
1586
1587
  "border-style": [{
1587
- border: [...J(), "hidden", "none"]
1588
+ border: [...X(), "hidden", "none"]
1588
1589
  }],
1589
1590
  /**
1590
1591
  * Divide Style
1591
1592
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1592
1593
  */
1593
1594
  "divide-style": [{
1594
- divide: [...J(), "hidden", "none"]
1595
+ divide: [...X(), "hidden", "none"]
1595
1596
  }],
1596
1597
  /**
1597
1598
  * Border Color
1598
1599
  * @see https://tailwindcss.com/docs/border-color
1599
1600
  */
1600
1601
  "border-color": [{
1601
- border: l()
1602
+ border: i()
1602
1603
  }],
1603
1604
  /**
1604
1605
  * Border Color X
1605
1606
  * @see https://tailwindcss.com/docs/border-color
1606
1607
  */
1607
1608
  "border-color-x": [{
1608
- "border-x": l()
1609
+ "border-x": i()
1609
1610
  }],
1610
1611
  /**
1611
1612
  * Border Color Y
1612
1613
  * @see https://tailwindcss.com/docs/border-color
1613
1614
  */
1614
1615
  "border-color-y": [{
1615
- "border-y": l()
1616
+ "border-y": i()
1616
1617
  }],
1617
1618
  /**
1618
1619
  * Border Color S
1619
1620
  * @see https://tailwindcss.com/docs/border-color
1620
1621
  */
1621
1622
  "border-color-s": [{
1622
- "border-s": l()
1623
+ "border-s": i()
1623
1624
  }],
1624
1625
  /**
1625
1626
  * Border Color E
1626
1627
  * @see https://tailwindcss.com/docs/border-color
1627
1628
  */
1628
1629
  "border-color-e": [{
1629
- "border-e": l()
1630
+ "border-e": i()
1630
1631
  }],
1631
1632
  /**
1632
1633
  * Border Color Top
1633
1634
  * @see https://tailwindcss.com/docs/border-color
1634
1635
  */
1635
1636
  "border-color-t": [{
1636
- "border-t": l()
1637
+ "border-t": i()
1637
1638
  }],
1638
1639
  /**
1639
1640
  * Border Color Right
1640
1641
  * @see https://tailwindcss.com/docs/border-color
1641
1642
  */
1642
1643
  "border-color-r": [{
1643
- "border-r": l()
1644
+ "border-r": i()
1644
1645
  }],
1645
1646
  /**
1646
1647
  * Border Color Bottom
1647
1648
  * @see https://tailwindcss.com/docs/border-color
1648
1649
  */
1649
1650
  "border-color-b": [{
1650
- "border-b": l()
1651
+ "border-b": i()
1651
1652
  }],
1652
1653
  /**
1653
1654
  * Border Color Left
1654
1655
  * @see https://tailwindcss.com/docs/border-color
1655
1656
  */
1656
1657
  "border-color-l": [{
1657
- "border-l": l()
1658
+ "border-l": i()
1658
1659
  }],
1659
1660
  /**
1660
1661
  * Divide Color
1661
1662
  * @see https://tailwindcss.com/docs/divide-color
1662
1663
  */
1663
1664
  "divide-color": [{
1664
- divide: l()
1665
+ divide: i()
1665
1666
  }],
1666
1667
  /**
1667
1668
  * Outline Style
1668
1669
  * @see https://tailwindcss.com/docs/outline-style
1669
1670
  */
1670
1671
  "outline-style": [{
1671
- outline: [...J(), "none", "hidden"]
1672
+ outline: [...X(), "none", "hidden"]
1672
1673
  }],
1673
1674
  /**
1674
1675
  * Outline Offset
@@ -1682,14 +1683,14 @@ const f = (e) => {
1682
1683
  * @see https://tailwindcss.com/docs/outline-width
1683
1684
  */
1684
1685
  "outline-w": [{
1685
- outline: ["", p, U, P]
1686
+ outline: ["", p, U, T]
1686
1687
  }],
1687
1688
  /**
1688
1689
  * Outline Color
1689
1690
  * @see https://tailwindcss.com/docs/outline-color
1690
1691
  */
1691
1692
  "outline-color": [{
1692
- outline: l()
1693
+ outline: i()
1693
1694
  }],
1694
1695
  // ---------------
1695
1696
  // --- Effects ---
@@ -1703,7 +1704,7 @@ const f = (e) => {
1703
1704
  // Deprecated since Tailwind CSS v4.0.0
1704
1705
  "",
1705
1706
  "none",
1706
- b,
1707
+ h,
1707
1708
  ee,
1708
1709
  Z
1709
1710
  ]
@@ -1713,21 +1714,21 @@ const f = (e) => {
1713
1714
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
1714
1715
  */
1715
1716
  "shadow-color": [{
1716
- shadow: l()
1717
+ shadow: i()
1717
1718
  }],
1718
1719
  /**
1719
1720
  * Inset Box Shadow
1720
1721
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1721
1722
  */
1722
1723
  "inset-shadow": [{
1723
- "inset-shadow": ["none", C, ee, Z]
1724
+ "inset-shadow": ["none", v, ee, Z]
1724
1725
  }],
1725
1726
  /**
1726
1727
  * Inset Box Shadow Color
1727
1728
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
1728
1729
  */
1729
1730
  "inset-shadow-color": [{
1730
- "inset-shadow": l()
1731
+ "inset-shadow": i()
1731
1732
  }],
1732
1733
  /**
1733
1734
  * Ring Width
@@ -1748,7 +1749,7 @@ const f = (e) => {
1748
1749
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
1749
1750
  */
1750
1751
  "ring-color": [{
1751
- ring: l()
1752
+ ring: i()
1752
1753
  }],
1753
1754
  /**
1754
1755
  * Ring Offset Width
@@ -1757,7 +1758,7 @@ const f = (e) => {
1757
1758
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1758
1759
  */
1759
1760
  "ring-offset-w": [{
1760
- "ring-offset": [p, P]
1761
+ "ring-offset": [p, T]
1761
1762
  }],
1762
1763
  /**
1763
1764
  * Ring Offset Color
@@ -1766,7 +1767,7 @@ const f = (e) => {
1766
1767
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1767
1768
  */
1768
1769
  "ring-offset-color": [{
1769
- "ring-offset": l()
1770
+ "ring-offset": i()
1770
1771
  }],
1771
1772
  /**
1772
1773
  * Inset Ring Width
@@ -1780,21 +1781,21 @@ const f = (e) => {
1780
1781
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
1781
1782
  */
1782
1783
  "inset-ring-color": [{
1783
- "inset-ring": l()
1784
+ "inset-ring": i()
1784
1785
  }],
1785
1786
  /**
1786
1787
  * Text Shadow
1787
1788
  * @see https://tailwindcss.com/docs/text-shadow
1788
1789
  */
1789
1790
  "text-shadow": [{
1790
- "text-shadow": ["none", A, ee, Z]
1791
+ "text-shadow": ["none", R, ee, Z]
1791
1792
  }],
1792
1793
  /**
1793
1794
  * Text Shadow Color
1794
1795
  * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
1795
1796
  */
1796
1797
  "text-shadow-color": [{
1797
- "text-shadow": l()
1798
+ "text-shadow": i()
1798
1799
  }],
1799
1800
  /**
1800
1801
  * Opacity
@@ -1839,103 +1840,103 @@ const f = (e) => {
1839
1840
  "mask-linear": [p]
1840
1841
  }],
1841
1842
  "mask-image-linear-from-pos": [{
1842
- "mask-linear-from": h()
1843
+ "mask-linear-from": x()
1843
1844
  }],
1844
1845
  "mask-image-linear-to-pos": [{
1845
- "mask-linear-to": h()
1846
+ "mask-linear-to": x()
1846
1847
  }],
1847
1848
  "mask-image-linear-from-color": [{
1848
- "mask-linear-from": l()
1849
+ "mask-linear-from": i()
1849
1850
  }],
1850
1851
  "mask-image-linear-to-color": [{
1851
- "mask-linear-to": l()
1852
+ "mask-linear-to": i()
1852
1853
  }],
1853
1854
  "mask-image-t-from-pos": [{
1854
- "mask-t-from": h()
1855
+ "mask-t-from": x()
1855
1856
  }],
1856
1857
  "mask-image-t-to-pos": [{
1857
- "mask-t-to": h()
1858
+ "mask-t-to": x()
1858
1859
  }],
1859
1860
  "mask-image-t-from-color": [{
1860
- "mask-t-from": l()
1861
+ "mask-t-from": i()
1861
1862
  }],
1862
1863
  "mask-image-t-to-color": [{
1863
- "mask-t-to": l()
1864
+ "mask-t-to": i()
1864
1865
  }],
1865
1866
  "mask-image-r-from-pos": [{
1866
- "mask-r-from": h()
1867
+ "mask-r-from": x()
1867
1868
  }],
1868
1869
  "mask-image-r-to-pos": [{
1869
- "mask-r-to": h()
1870
+ "mask-r-to": x()
1870
1871
  }],
1871
1872
  "mask-image-r-from-color": [{
1872
- "mask-r-from": l()
1873
+ "mask-r-from": i()
1873
1874
  }],
1874
1875
  "mask-image-r-to-color": [{
1875
- "mask-r-to": l()
1876
+ "mask-r-to": i()
1876
1877
  }],
1877
1878
  "mask-image-b-from-pos": [{
1878
- "mask-b-from": h()
1879
+ "mask-b-from": x()
1879
1880
  }],
1880
1881
  "mask-image-b-to-pos": [{
1881
- "mask-b-to": h()
1882
+ "mask-b-to": x()
1882
1883
  }],
1883
1884
  "mask-image-b-from-color": [{
1884
- "mask-b-from": l()
1885
+ "mask-b-from": i()
1885
1886
  }],
1886
1887
  "mask-image-b-to-color": [{
1887
- "mask-b-to": l()
1888
+ "mask-b-to": i()
1888
1889
  }],
1889
1890
  "mask-image-l-from-pos": [{
1890
- "mask-l-from": h()
1891
+ "mask-l-from": x()
1891
1892
  }],
1892
1893
  "mask-image-l-to-pos": [{
1893
- "mask-l-to": h()
1894
+ "mask-l-to": x()
1894
1895
  }],
1895
1896
  "mask-image-l-from-color": [{
1896
- "mask-l-from": l()
1897
+ "mask-l-from": i()
1897
1898
  }],
1898
1899
  "mask-image-l-to-color": [{
1899
- "mask-l-to": l()
1900
+ "mask-l-to": i()
1900
1901
  }],
1901
1902
  "mask-image-x-from-pos": [{
1902
- "mask-x-from": h()
1903
+ "mask-x-from": x()
1903
1904
  }],
1904
1905
  "mask-image-x-to-pos": [{
1905
- "mask-x-to": h()
1906
+ "mask-x-to": x()
1906
1907
  }],
1907
1908
  "mask-image-x-from-color": [{
1908
- "mask-x-from": l()
1909
+ "mask-x-from": i()
1909
1910
  }],
1910
1911
  "mask-image-x-to-color": [{
1911
- "mask-x-to": l()
1912
+ "mask-x-to": i()
1912
1913
  }],
1913
1914
  "mask-image-y-from-pos": [{
1914
- "mask-y-from": h()
1915
+ "mask-y-from": x()
1915
1916
  }],
1916
1917
  "mask-image-y-to-pos": [{
1917
- "mask-y-to": h()
1918
+ "mask-y-to": x()
1918
1919
  }],
1919
1920
  "mask-image-y-from-color": [{
1920
- "mask-y-from": l()
1921
+ "mask-y-from": i()
1921
1922
  }],
1922
1923
  "mask-image-y-to-color": [{
1923
- "mask-y-to": l()
1924
+ "mask-y-to": i()
1924
1925
  }],
1925
1926
  "mask-image-radial": [{
1926
1927
  "mask-radial": [a, s]
1927
1928
  }],
1928
1929
  "mask-image-radial-from-pos": [{
1929
- "mask-radial-from": h()
1930
+ "mask-radial-from": x()
1930
1931
  }],
1931
1932
  "mask-image-radial-to-pos": [{
1932
- "mask-radial-to": h()
1933
+ "mask-radial-to": x()
1933
1934
  }],
1934
1935
  "mask-image-radial-from-color": [{
1935
- "mask-radial-from": l()
1936
+ "mask-radial-from": i()
1936
1937
  }],
1937
1938
  "mask-image-radial-to-color": [{
1938
- "mask-radial-to": l()
1939
+ "mask-radial-to": i()
1939
1940
  }],
1940
1941
  "mask-image-radial-shape": [{
1941
1942
  "mask-radial": ["circle", "ellipse"]
@@ -1953,16 +1954,16 @@ const f = (e) => {
1953
1954
  "mask-conic": [p]
1954
1955
  }],
1955
1956
  "mask-image-conic-from-pos": [{
1956
- "mask-conic-from": h()
1957
+ "mask-conic-from": x()
1957
1958
  }],
1958
1959
  "mask-image-conic-to-pos": [{
1959
- "mask-conic-to": h()
1960
+ "mask-conic-to": x()
1960
1961
  }],
1961
1962
  "mask-image-conic-from-color": [{
1962
- "mask-conic-from": l()
1963
+ "mask-conic-from": i()
1963
1964
  }],
1964
1965
  "mask-image-conic-to-color": [{
1965
- "mask-conic-to": l()
1966
+ "mask-conic-to": i()
1966
1967
  }],
1967
1968
  /**
1968
1969
  * Mask Mode
@@ -2059,7 +2060,7 @@ const f = (e) => {
2059
2060
  // Deprecated since Tailwind CSS v4.0.0
2060
2061
  "",
2061
2062
  "none",
2062
- _,
2063
+ N,
2063
2064
  ee,
2064
2065
  Z
2065
2066
  ]
@@ -2069,7 +2070,7 @@ const f = (e) => {
2069
2070
  * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2070
2071
  */
2071
2072
  "drop-shadow-color": [{
2072
- "drop-shadow": l()
2073
+ "drop-shadow": i()
2073
2074
  }],
2074
2075
  /**
2075
2076
  * Grayscale
@@ -2256,7 +2257,7 @@ const f = (e) => {
2256
2257
  * @see https://tailwindcss.com/docs/transition-timing-function
2257
2258
  */
2258
2259
  ease: [{
2259
- ease: ["linear", "initial", R, a, s]
2260
+ ease: ["linear", "initial", F, a, s]
2260
2261
  }],
2261
2262
  /**
2262
2263
  * Transition Delay
@@ -2270,7 +2271,7 @@ const f = (e) => {
2270
2271
  * @see https://tailwindcss.com/docs/animation
2271
2272
  */
2272
2273
  animate: [{
2273
- animate: ["none", H, a, s]
2274
+ animate: ["none", q, a, s]
2274
2275
  }],
2275
2276
  // ------------------
2276
2277
  // --- Transforms ---
@@ -2287,70 +2288,70 @@ const f = (e) => {
2287
2288
  * @see https://tailwindcss.com/docs/perspective
2288
2289
  */
2289
2290
  perspective: [{
2290
- perspective: [v, a, s]
2291
+ perspective: [C, a, s]
2291
2292
  }],
2292
2293
  /**
2293
2294
  * Perspective Origin
2294
2295
  * @see https://tailwindcss.com/docs/perspective-origin
2295
2296
  */
2296
2297
  "perspective-origin": [{
2297
- "perspective-origin": T()
2298
+ "perspective-origin": B()
2298
2299
  }],
2299
2300
  /**
2300
2301
  * Rotate
2301
2302
  * @see https://tailwindcss.com/docs/rotate
2302
2303
  */
2303
2304
  rotate: [{
2304
- rotate: X()
2305
+ rotate: K()
2305
2306
  }],
2306
2307
  /**
2307
2308
  * Rotate X
2308
2309
  * @see https://tailwindcss.com/docs/rotate
2309
2310
  */
2310
2311
  "rotate-x": [{
2311
- "rotate-x": X()
2312
+ "rotate-x": K()
2312
2313
  }],
2313
2314
  /**
2314
2315
  * Rotate Y
2315
2316
  * @see https://tailwindcss.com/docs/rotate
2316
2317
  */
2317
2318
  "rotate-y": [{
2318
- "rotate-y": X()
2319
+ "rotate-y": K()
2319
2320
  }],
2320
2321
  /**
2321
2322
  * Rotate Z
2322
2323
  * @see https://tailwindcss.com/docs/rotate
2323
2324
  */
2324
2325
  "rotate-z": [{
2325
- "rotate-z": X()
2326
+ "rotate-z": K()
2326
2327
  }],
2327
2328
  /**
2328
2329
  * Scale
2329
2330
  * @see https://tailwindcss.com/docs/scale
2330
2331
  */
2331
2332
  scale: [{
2332
- scale: K()
2333
+ scale: Q()
2333
2334
  }],
2334
2335
  /**
2335
2336
  * Scale X
2336
2337
  * @see https://tailwindcss.com/docs/scale
2337
2338
  */
2338
2339
  "scale-x": [{
2339
- "scale-x": K()
2340
+ "scale-x": Q()
2340
2341
  }],
2341
2342
  /**
2342
2343
  * Scale Y
2343
2344
  * @see https://tailwindcss.com/docs/scale
2344
2345
  */
2345
2346
  "scale-y": [{
2346
- "scale-y": K()
2347
+ "scale-y": Q()
2347
2348
  }],
2348
2349
  /**
2349
2350
  * Scale Z
2350
2351
  * @see https://tailwindcss.com/docs/scale
2351
2352
  */
2352
2353
  "scale-z": [{
2353
- "scale-z": K()
2354
+ "scale-z": Q()
2354
2355
  }],
2355
2356
  /**
2356
2357
  * Scale 3D
@@ -2390,7 +2391,7 @@ const f = (e) => {
2390
2391
  * @see https://tailwindcss.com/docs/transform-origin
2391
2392
  */
2392
2393
  "transform-origin": [{
2393
- origin: T()
2394
+ origin: B()
2394
2395
  }],
2395
2396
  /**
2396
2397
  * Transform Style
@@ -2404,28 +2405,28 @@ const f = (e) => {
2404
2405
  * @see https://tailwindcss.com/docs/translate
2405
2406
  */
2406
2407
  translate: [{
2407
- translate: Q()
2408
+ translate: Y()
2408
2409
  }],
2409
2410
  /**
2410
2411
  * Translate X
2411
2412
  * @see https://tailwindcss.com/docs/translate
2412
2413
  */
2413
2414
  "translate-x": [{
2414
- "translate-x": Q()
2415
+ "translate-x": Y()
2415
2416
  }],
2416
2417
  /**
2417
2418
  * Translate Y
2418
2419
  * @see https://tailwindcss.com/docs/translate
2419
2420
  */
2420
2421
  "translate-y": [{
2421
- "translate-y": Q()
2422
+ "translate-y": Y()
2422
2423
  }],
2423
2424
  /**
2424
2425
  * Translate Z
2425
2426
  * @see https://tailwindcss.com/docs/translate
2426
2427
  */
2427
2428
  "translate-z": [{
2428
- "translate-z": Q()
2429
+ "translate-z": Y()
2429
2430
  }],
2430
2431
  /**
2431
2432
  * Translate None
@@ -2440,7 +2441,7 @@ const f = (e) => {
2440
2441
  * @see https://tailwindcss.com/docs/accent-color
2441
2442
  */
2442
2443
  accent: [{
2443
- accent: l()
2444
+ accent: i()
2444
2445
  }],
2445
2446
  /**
2446
2447
  * Appearance
@@ -2454,7 +2455,7 @@ const f = (e) => {
2454
2455
  * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2455
2456
  */
2456
2457
  "caret-color": [{
2457
- caret: l()
2458
+ caret: i()
2458
2459
  }],
2459
2460
  /**
2460
2461
  * Color Scheme
@@ -2700,21 +2701,21 @@ const f = (e) => {
2700
2701
  * @see https://tailwindcss.com/docs/fill
2701
2702
  */
2702
2703
  fill: [{
2703
- fill: ["none", ...l()]
2704
+ fill: ["none", ...i()]
2704
2705
  }],
2705
2706
  /**
2706
2707
  * Stroke Width
2707
2708
  * @see https://tailwindcss.com/docs/stroke-width
2708
2709
  */
2709
2710
  "stroke-w": [{
2710
- stroke: [p, U, P, ae]
2711
+ stroke: [p, U, T, ae]
2711
2712
  }],
2712
2713
  /**
2713
2714
  * Stroke
2714
2715
  * @see https://tailwindcss.com/docs/stroke
2715
2716
  */
2716
2717
  stroke: [{
2717
- stroke: ["none", ...l()]
2718
+ stroke: ["none", ...i()]
2718
2719
  }],
2719
2720
  // ---------------------
2720
2721
  // --- Accessibility ---
@@ -2782,61 +2783,61 @@ const f = (e) => {
2782
2783
  },
2783
2784
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2784
2785
  };
2785
- }, kr = /* @__PURE__ */ rr(wr);
2786
- function O(...e) {
2787
- return kr(Oe(e));
2786
+ }, vr = /* @__PURE__ */ or(kr);
2787
+ function W(...e) {
2788
+ return vr(We(e));
2788
2789
  }
2789
- const Te = $.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ x(
2790
+ const Ee = L.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ f(
2790
2791
  "div",
2791
2792
  {
2792
2793
  ref: r,
2793
- className: O(
2794
+ className: W(
2794
2795
  "rounded-xl border bg-card text-card-foreground shadow",
2795
2796
  e
2796
2797
  ),
2797
2798
  ...t
2798
2799
  }
2799
2800
  ));
2800
- Te.displayName = "Card";
2801
- const Be = $.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ x("div", { ref: r, className: O("flex", e), ...t }));
2801
+ Ee.displayName = "Card";
2802
+ const Be = L.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ f("div", { ref: r, className: W("flex", e), ...t }));
2802
2803
  Be.displayName = "CardHeader";
2803
- const je = $.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ x(
2804
+ const $e = L.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ f(
2804
2805
  "div",
2805
2806
  {
2806
2807
  ref: r,
2807
- className: O("font-semibold leading-none tracking-tight", e),
2808
+ className: W("font-semibold leading-none tracking-tight", e),
2808
2809
  ...t
2809
2810
  }
2810
2811
  ));
2811
- je.displayName = "CardTitle";
2812
- const $e = $.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ x(
2812
+ $e.displayName = "CardTitle";
2813
+ const je = L.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ f(
2813
2814
  "div",
2814
2815
  {
2815
2816
  ref: r,
2816
- className: O("text-sm text-muted-foreground", e),
2817
+ className: W("text-sm text-muted-foreground", e),
2817
2818
  ...t
2818
2819
  }
2819
2820
  ));
2820
- $e.displayName = "CardDescription";
2821
- const Le = $.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ x("div", { ref: r, className: O("pt-0", e), ...t }));
2821
+ je.displayName = "CardDescription";
2822
+ const Le = L.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ f("div", { ref: r, className: W("pt-0", e), ...t }));
2822
2823
  Le.displayName = "CardContent";
2823
- const Ve = $.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ x(
2824
+ const Oe = L.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ f(
2824
2825
  "div",
2825
2826
  {
2826
2827
  ref: r,
2827
- className: O("flex items-center pt-0", e),
2828
+ className: W("flex items-center pt-0", e),
2828
2829
  ...t
2829
2830
  }
2830
2831
  ));
2831
- Ve.displayName = "CardFooter";
2832
- const vr = ({
2832
+ Oe.displayName = "CardFooter";
2833
+ const Cr = ({
2833
2834
  color: e = "amber",
2834
2835
  onClick: t,
2835
2836
  customClass: r = "",
2836
2837
  iconSrc: o
2837
2838
  }) => {
2838
2839
  const n = Ce[e];
2839
- return /* @__PURE__ */ x(
2840
+ return /* @__PURE__ */ f(
2840
2841
  "button",
2841
2842
  {
2842
2843
  className: `w-12 h-12 rounded-lg flex items-center justify-center cursor-pointer transition duration-150 ease-in-out whitespace-nowrap active:translate-y-[4px] ${r}`,
@@ -2845,7 +2846,7 @@ const vr = ({
2845
2846
  backgroundColor: n.primary.value,
2846
2847
  boxShadow: `0 4px 0 ${n.primary.dark}`
2847
2848
  },
2848
- children: /* @__PURE__ */ x("span", { className: "text-2xl", children: /* @__PURE__ */ x(
2849
+ children: /* @__PURE__ */ f("span", { className: "text-2xl", children: /* @__PURE__ */ f(
2849
2850
  "img",
2850
2851
  {
2851
2852
  style: {
@@ -2858,24 +2859,25 @@ const vr = ({
2858
2859
  ) })
2859
2860
  }
2860
2861
  );
2861
- }, zr = ({
2862
+ }, Mr = ({
2862
2863
  title: e,
2863
2864
  description: t,
2864
2865
  children: r,
2865
2866
  iconSrc: o,
2866
2867
  customClass: n = "",
2867
2868
  button: c = !1,
2868
- buttonLabel: i = "Button",
2869
+ buttonLabel: l = "Button",
2869
2870
  buttonPosition: u = "top-right",
2870
2871
  bgIconColor: m = "lightBlue",
2871
- buttonColor: g = "lightBlue",
2872
- buttonVariant: b = "primary",
2873
- onButtonClick: C
2872
+ buttonColor: b = "lightBlue",
2873
+ buttonVariant: h = "primary",
2874
+ buttonSize: v = "medium",
2875
+ onButtonClick: R
2874
2876
  }) => {
2875
- const A = C ?? (() => {
2877
+ const N = R ?? (() => {
2876
2878
  });
2877
- return /* @__PURE__ */ Y(
2878
- Te,
2879
+ return /* @__PURE__ */ H(
2880
+ Ee,
2879
2881
  {
2880
2882
  className: `
2881
2883
  w-full max-w-full sm:max-w-md md:max-w-lg lg:max-w-xl
@@ -2885,10 +2887,10 @@ const vr = ({
2885
2887
  ${n}
2886
2888
  `,
2887
2889
  children: [
2888
- (e || t || c && u === "top-right") && /* @__PURE__ */ Y(Be, { className: "mb-4 flex items-start justify-between", children: [
2889
- /* @__PURE__ */ Y("div", { className: "flex items-center gap-3", children: [
2890
- o && /* @__PURE__ */ x(
2891
- vr,
2890
+ (e || t || c && u === "top-right") && /* @__PURE__ */ H(Be, { className: "mb-4 flex items-start justify-between", children: [
2891
+ /* @__PURE__ */ H("div", { className: "flex items-center gap-3", children: [
2892
+ o && /* @__PURE__ */ f(
2893
+ Cr,
2892
2894
  {
2893
2895
  color: m,
2894
2896
  iconSrc: o,
@@ -2896,38 +2898,74 @@ const vr = ({
2896
2898
  }
2897
2899
  }
2898
2900
  ),
2899
- /* @__PURE__ */ Y("div", { children: [
2900
- e && /* @__PURE__ */ x(je, { className: "text-base sm:text-lg md:text-xl font-semibold", children: e }),
2901
- t && /* @__PURE__ */ x($e, { className: "text-sm sm:text-base text-gray-600", children: t })
2901
+ /* @__PURE__ */ H("div", { children: [
2902
+ e && /* @__PURE__ */ f($e, { className: "text-main text-xl font-gabaritoBold font-medium leading-5 sm:text-lg md:text-xl", children: e }),
2903
+ t && /* @__PURE__ */ f(je, { className: "text-sm sm:text-base text-gray-600", children: t })
2902
2904
  ] })
2903
2905
  ] }),
2904
- c && u === "top-right" && /* @__PURE__ */ x(
2906
+ c && u === "top-right" && /* @__PURE__ */ f(
2905
2907
  xe,
2906
2908
  {
2907
- label: i,
2908
- size: "medium",
2909
- onClick: A,
2910
- color: g,
2911
- variant: b
2909
+ label: l,
2910
+ size: v,
2911
+ onClick: N,
2912
+ color: b,
2913
+ variant: h
2912
2914
  }
2913
2915
  )
2914
2916
  ] }),
2915
- r && /* @__PURE__ */ x(Le, { className: "flex flex-col gap-3 font-regular", children: r }),
2916
- c && u === "bottom-right" && /* @__PURE__ */ x(Ve, { className: "flex justify-end pt-2", children: /* @__PURE__ */ x(
2917
+ r && /* @__PURE__ */ f(Le, { className: "flex flex-col gap-3 font-regular", children: r }),
2918
+ c && u === "bottom-right" && /* @__PURE__ */ f(Oe, { className: "flex justify-end pt-2", children: /* @__PURE__ */ f(
2917
2919
  xe,
2918
2920
  {
2919
- label: i,
2920
- size: "medium",
2921
- onClick: A,
2922
- color: g,
2923
- variant: b
2921
+ label: l,
2922
+ size: v,
2923
+ onClick: N,
2924
+ color: b,
2925
+ variant: h
2924
2926
  }
2925
2927
  ) })
2926
2928
  ]
2927
2929
  }
2928
2930
  );
2931
+ }, Nr = ({
2932
+ color: e = "lightBlue"
2933
+ }) => {
2934
+ const [t, r] = Ve(!1), o = {
2935
+ lightBlue: "bg-blue-500",
2936
+ amber: "bg-amber-500",
2937
+ cyan: "bg-cyan-500"
2938
+ };
2939
+ return /* @__PURE__ */ H("div", { className: "inline-block relative w-12 h-6", children: [
2940
+ /* @__PURE__ */ f(
2941
+ "input",
2942
+ {
2943
+ checked: t,
2944
+ onChange: (c) => {
2945
+ r(c.target.checked);
2946
+ },
2947
+ className: "absolute opacity-0 w-0 h-0",
2948
+ id: `react-switch-${e}`,
2949
+ type: "checkbox"
2950
+ }
2951
+ ),
2952
+ /* @__PURE__ */ f(
2953
+ "label",
2954
+ {
2955
+ className: "block overflow-hidden h-6 rounded-full cursor-pointer bg-gray-300",
2956
+ htmlFor: `react-switch-${e}`,
2957
+ children: /* @__PURE__ */ f(
2958
+ "span",
2959
+ {
2960
+ className: `block h-6 w-6 rounded-full shadow transform transition-transform duration-200 ${t ? `translate-x-full ${o[e]}` : "bg-white"}`
2961
+ }
2962
+ )
2963
+ }
2964
+ )
2965
+ ] });
2929
2966
  };
2930
2967
  export {
2931
2968
  xe as Button,
2932
- zr as Card
2969
+ Mr as Card,
2970
+ Nr as Toggle
2933
2971
  };