next-ui-lib 0.1.17 → 0.1.19

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,7 +1,7 @@
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";
4
- const Ce = {
1
+ import { jsx as f, jsxs as F } from "react/jsx-runtime";
2
+ import * as O from "react";
3
+ import { useState as We } from "react";
4
+ const ce = {
5
5
  lightBlue: {
6
6
  primary: { text: "#FFFFFF", value: "#27a7e3", dark: "#1f8ecb" },
7
7
  secondary: { text: "#1CB0F6", value: "#E0F3FF", dark: "#B3DFFC" }
@@ -14,7 +14,9 @@ const Ce = {
14
14
  primary: { text: "#FFFFFF", value: "#00BCD4", dark: "#0097A7" },
15
15
  secondary: { text: "#00BCD4", value: "#B2EBF2", dark: "#80DEEA" }
16
16
  }
17
- }, xe = ({
17
+ }, _e = {
18
+ Gray: { value: "#F1F1F1" }
19
+ }, ye = ({
18
20
  color: e = "lightBlue",
19
21
  onClick: t,
20
22
  label: r,
@@ -27,21 +29,21 @@ const Ce = {
27
29
  medium: "px-3 py-1 text-base rounded-xl",
28
30
  large: "px-8 py-3 text-2xl rounded-2xl",
29
31
  full: "px-8 py-2 text-xl rounded-2xl w-full"
30
- }, u = Ce[e];
32
+ }, p = ce[e];
31
33
  return /* @__PURE__ */ f(
32
34
  "button",
33
35
  {
34
36
  className: `relative flex items-center justify-center cursor-pointer transition duration-150 ease-in-out whitespace-nowrap active:translate-y-[4px] ${l[o]} ${c}`,
35
37
  style: {
36
- backgroundColor: n == "primary" ? u.primary.value : u.secondary.value,
37
- boxShadow: `0 ${o === "large" ? "6px" : "4px"} 0 ${n == "primary" ? u.primary.dark : u.secondary.dark}`,
38
- color: n == "primary" ? u.primary.text : u.secondary.text
38
+ backgroundColor: n == "primary" ? p.primary.value : p.secondary.value,
39
+ boxShadow: `0 ${o === "large" ? "6px" : "4px"} 0 ${n == "primary" ? p.primary.dark : p.secondary.dark}`,
40
+ color: n == "primary" ? p.primary.text : p.secondary.text
39
41
  },
40
42
  onMouseDown: (m) => {
41
43
  m.currentTarget.style.boxShadow = "none";
42
44
  },
43
45
  onMouseUp: (m) => {
44
- m.currentTarget.style.boxShadow = `0 4px 0 ${n == "primary" ? u.primary.dark : u.secondary.dark}`;
46
+ m.currentTarget.style.boxShadow = `0 4px 0 ${n == "primary" ? p.primary.dark : p.secondary.dark}`;
45
47
  },
46
48
  onClick: t,
47
49
  children: /* @__PURE__ */ f("span", { className: "font-bold", children: r })
@@ -57,44 +59,44 @@ function ze(e) {
57
59
  } else for (r in e) e[r] && (o && (o += " "), o += r);
58
60
  return o;
59
61
  }
60
- function We() {
62
+ function De() {
61
63
  for (var e, t, r = 0, o = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (t = ze(e)) && (o && (o += " "), o += t);
62
64
  return o;
63
65
  }
64
- const ce = "-", _e = (e) => {
65
- const t = Ue(e), {
66
+ const de = "-", Ue = (e) => {
67
+ const t = qe(e), {
66
68
  conflictingClassGroups: r,
67
69
  conflictingClassGroupModifiers: o
68
70
  } = e;
69
71
  return {
70
72
  getClassGroupId: (l) => {
71
- const u = l.split(ce);
72
- return u[0] === "" && u.length !== 1 && u.shift(), Se(u, t) || De(l);
73
+ const p = l.split(de);
74
+ return p[0] === "" && p.length !== 1 && p.shift(), Ne(p, t) || He(l);
73
75
  },
74
- getConflictingClassGroupIds: (l, u) => {
76
+ getConflictingClassGroupIds: (l, p) => {
75
77
  const m = r[l] || [];
76
- return u && o[l] ? [...m, ...o[l]] : m;
78
+ return p && o[l] ? [...m, ...o[l]] : m;
77
79
  }
78
80
  };
79
- }, Se = (e, t) => {
81
+ }, Ne = (e, t) => {
80
82
  if (e.length === 0)
81
83
  return t.classGroupId;
82
- const r = e[0], o = t.nextPart.get(r), n = o ? Se(e.slice(1), o) : void 0;
84
+ const r = e[0], o = t.nextPart.get(r), n = o ? Ne(e.slice(1), o) : void 0;
83
85
  if (n)
84
86
  return n;
85
87
  if (t.validators.length === 0)
86
88
  return;
87
- const c = e.join(ce);
89
+ const c = e.join(de);
88
90
  return t.validators.find(({
89
91
  validator: l
90
92
  }) => l(c))?.classGroupId;
91
- }, ye = /^\[(.+)\]$/, De = (e) => {
92
- if (ye.test(e)) {
93
- const t = ye.exec(e)[1], r = t?.substring(0, t.indexOf(":"));
93
+ }, we = /^\[(.+)\]$/, He = (e) => {
94
+ if (we.test(e)) {
95
+ const t = we.exec(e)[1], r = t?.substring(0, t.indexOf(":"));
94
96
  if (r)
95
97
  return "arbitrary.." + r;
96
98
  }
97
- }, Ue = (e) => {
99
+ }, qe = (e) => {
98
100
  const {
99
101
  theme: t,
100
102
  classGroups: r
@@ -108,12 +110,12 @@ const ce = "-", _e = (e) => {
108
110
  }, ne = (e, t, r, o) => {
109
111
  e.forEach((n) => {
110
112
  if (typeof n == "string") {
111
- const c = n === "" ? t : we(t, n);
113
+ const c = n === "" ? t : ke(t, n);
112
114
  c.classGroupId = r;
113
115
  return;
114
116
  }
115
117
  if (typeof n == "function") {
116
- if (He(n)) {
118
+ if (Je(n)) {
117
119
  ne(n(o), t, r, o);
118
120
  return;
119
121
  }
@@ -124,18 +126,18 @@ const ce = "-", _e = (e) => {
124
126
  return;
125
127
  }
126
128
  Object.entries(n).forEach(([c, l]) => {
127
- ne(l, we(t, c), r, o);
129
+ ne(l, ke(t, c), r, o);
128
130
  });
129
131
  });
130
- }, we = (e, t) => {
132
+ }, ke = (e, t) => {
131
133
  let r = e;
132
- return t.split(ce).forEach((o) => {
134
+ return t.split(de).forEach((o) => {
133
135
  r.nextPart.has(o) || r.nextPart.set(o, {
134
136
  nextPart: /* @__PURE__ */ new Map(),
135
137
  validators: []
136
138
  }), r = r.nextPart.get(o);
137
139
  }), r;
138
- }, He = (e) => e.isThemeGetter, qe = (e) => {
140
+ }, Je = (e) => e.isThemeGetter, Xe = (e) => {
139
141
  if (e < 1)
140
142
  return {
141
143
  get: () => {
@@ -159,19 +161,19 @@ const ce = "-", _e = (e) => {
159
161
  r.has(c) ? r.set(c, l) : n(c, l);
160
162
  }
161
163
  };
162
- }, le = "!", ie = ":", Je = ie.length, Xe = (e) => {
164
+ }, le = "!", ie = ":", Ke = ie.length, Qe = (e) => {
163
165
  const {
164
166
  prefix: t,
165
167
  experimentalParseClassName: r
166
168
  } = e;
167
169
  let o = (n) => {
168
170
  const c = [];
169
- let l = 0, u = 0, m = 0, b;
171
+ let l = 0, p = 0, m = 0, b;
170
172
  for (let k = 0; k < n.length; k++) {
171
173
  let C = n[k];
172
- if (l === 0 && u === 0) {
174
+ if (l === 0 && p === 0) {
173
175
  if (C === ie) {
174
- c.push(n.slice(m, k)), m = k + Je;
176
+ c.push(n.slice(m, k)), m = k + Ke;
175
177
  continue;
176
178
  }
177
179
  if (C === "/") {
@@ -179,14 +181,14 @@ const ce = "-", _e = (e) => {
179
181
  continue;
180
182
  }
181
183
  }
182
- C === "[" ? l++ : C === "]" ? l-- : C === "(" ? u++ : C === ")" && u--;
184
+ C === "[" ? l++ : C === "]" ? l-- : C === "(" ? p++ : C === ")" && p--;
183
185
  }
184
- const h = c.length === 0 ? n : n.substring(m), v = Ke(h), R = v !== h, N = b && b > m ? b - m : void 0;
186
+ const h = c.length === 0 ? n : n.substring(m), v = Ye(h), R = v !== h, M = b && b > m ? b - m : void 0;
185
187
  return {
186
188
  modifiers: c,
187
189
  hasImportantModifier: R,
188
190
  baseClassName: v,
189
- maybePostfixModifierPosition: N
191
+ maybePostfixModifierPosition: M
190
192
  };
191
193
  };
192
194
  if (t) {
@@ -207,7 +209,7 @@ const ce = "-", _e = (e) => {
207
209
  });
208
210
  }
209
211
  return o;
210
- }, Ke = (e) => e.endsWith(le) ? e.substring(0, e.length - 1) : e.startsWith(le) ? e.substring(1) : e, Qe = (e) => {
212
+ }, Ye = (e) => e.endsWith(le) ? e.substring(0, e.length - 1) : e.startsWith(le) ? e.substring(1) : e, Ze = (e) => {
211
213
  const t = Object.fromEntries(e.orderSensitiveModifiers.map((o) => [o, !0]));
212
214
  return (o) => {
213
215
  if (o.length <= 1)
@@ -218,24 +220,24 @@ const ce = "-", _e = (e) => {
218
220
  l[0] === "[" || t[l] ? (n.push(...c.sort(), l), c = []) : c.push(l);
219
221
  }), n.push(...c.sort()), n;
220
222
  };
221
- }, Ye = (e) => ({
222
- cache: qe(e.cacheSize),
223
- parseClassName: Xe(e),
224
- sortModifiers: Qe(e),
225
- ..._e(e)
226
- }), Ze = /\s+/, er = (e, t) => {
223
+ }, er = (e) => ({
224
+ cache: Xe(e.cacheSize),
225
+ parseClassName: Qe(e),
226
+ sortModifiers: Ze(e),
227
+ ...Ue(e)
228
+ }), rr = /\s+/, or = (e, t) => {
227
229
  const {
228
230
  parseClassName: r,
229
231
  getClassGroupId: o,
230
232
  getConflictingClassGroupIds: n,
231
233
  sortModifiers: c
232
- } = t, l = [], u = e.trim().split(Ze);
234
+ } = t, l = [], p = e.trim().split(rr);
233
235
  let m = "";
234
- for (let b = u.length - 1; b >= 0; b -= 1) {
235
- const h = u[b], {
236
+ for (let b = p.length - 1; b >= 0; b -= 1) {
237
+ const h = p[b], {
236
238
  isExternal: v,
237
239
  modifiers: R,
238
- hasImportantModifier: N,
240
+ hasImportantModifier: M,
239
241
  baseClassName: k,
240
242
  maybePostfixModifierPosition: C
241
243
  } = r(h);
@@ -243,78 +245,78 @@ const ce = "-", _e = (e) => {
243
245
  m = h + (m.length > 0 ? " " + m : m);
244
246
  continue;
245
247
  }
246
- let G = !!C, F = o(G ? k.substring(0, C) : k);
247
- if (!F) {
248
- if (!G) {
248
+ let E = !!C, I = o(E ? k.substring(0, C) : k);
249
+ if (!I) {
250
+ if (!E) {
249
251
  m = h + (m.length > 0 ? " " + m : m);
250
252
  continue;
251
253
  }
252
- if (F = o(k), !F) {
254
+ if (I = o(k), !I) {
253
255
  m = h + (m.length > 0 ? " " + m : m);
254
256
  continue;
255
257
  }
256
- G = !1;
258
+ E = !1;
257
259
  }
258
- const q = c(R).join(":"), _ = N ? q + le : q, E = _ + F;
259
- if (l.includes(E))
260
+ const q = c(R).join(":"), D = M ? q + le : q, B = D + I;
261
+ if (l.includes(B))
260
262
  continue;
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);
263
+ l.push(B);
264
+ const $ = n(I, E);
265
+ for (let P = 0; P < $.length; ++P) {
266
+ const U = $[P];
267
+ l.push(D + U);
266
268
  }
267
269
  m = h + (m.length > 0 ? " " + m : m);
268
270
  }
269
271
  return m;
270
272
  };
271
- function rr() {
273
+ function tr() {
272
274
  let e = 0, t, r, o = "";
273
275
  for (; e < arguments.length; )
274
- (t = arguments[e++]) && (r = Me(t)) && (o && (o += " "), o += r);
276
+ (t = arguments[e++]) && (r = Se(t)) && (o && (o += " "), o += r);
275
277
  return o;
276
278
  }
277
- const Me = (e) => {
279
+ const Se = (e) => {
278
280
  if (typeof e == "string")
279
281
  return e;
280
282
  let t, r = "";
281
283
  for (let o = 0; o < e.length; o++)
282
- e[o] && (t = Me(e[o])) && (r && (r += " "), r += t);
284
+ e[o] && (t = Se(e[o])) && (r && (r += " "), r += t);
283
285
  return r;
284
286
  };
285
- function or(e, ...t) {
287
+ function sr(e, ...t) {
286
288
  let r, o, n, c = l;
287
289
  function l(m) {
288
290
  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);
291
+ return r = er(b), o = r.cache.get, n = r.cache.set, c = p, p(m);
290
292
  }
291
- function u(m) {
293
+ function p(m) {
292
294
  const b = o(m);
293
295
  if (b)
294
296
  return b;
295
- const h = er(m, r);
297
+ const h = or(m, r);
296
298
  return n(m, h), h;
297
299
  }
298
300
  return function() {
299
- return c(rr.apply(null, arguments));
301
+ return c(tr.apply(null, arguments));
300
302
  };
301
303
  }
302
304
  const g = (e) => {
303
305
  const t = (r) => r[e] || [];
304
306
  return t.isThemeGetter = !0, t;
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) => (
307
+ }, Fe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Me = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ar = /^\d+\/\d+$/, nr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, lr = /\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$/, ir = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, cr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, dr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, L = (e) => ar.test(e), u = (e) => !!e && !Number.isNaN(Number(e)), A = (e) => !!e && Number.isInteger(Number(e)), se = (e) => e.endsWith("%") && u(e.slice(0, -1)), S = (e) => nr.test(e), mr = () => !0, pr = (e) => (
306
308
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
307
309
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
308
310
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
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
+ lr.test(e) && !ir.test(e)
312
+ ), Ae = () => !1, ur = (e) => cr.test(e), fr = (e) => dr.test(e), gr = (e) => !s(e) && !a(e), br = (e) => V(e, Pe, Ae), s = (e) => Fe.test(e), T = (e) => V(e, Ge, pr), ae = (e) => V(e, kr, u), ve = (e) => V(e, Re, Ae), hr = (e) => V(e, Ie, fr), Z = (e) => V(e, Te, ur), a = (e) => Me.test(e), H = (e) => W(e, Ge), xr = (e) => W(e, vr), Ce = (e) => W(e, Re), yr = (e) => W(e, Pe), wr = (e) => W(e, Ie), ee = (e) => W(e, Te, !0), V = (e, t, r) => {
313
+ const o = Fe.exec(e);
312
314
  return o ? o[1] ? t(o[1]) : r(o[2]) : !1;
313
- }, V = (e, t, r = !1) => {
314
- const o = Ae.exec(e);
315
+ }, W = (e, t, r = !1) => {
316
+ const o = Me.exec(e);
315
317
  return o ? o[1] ? t(o[1]) : r : !1;
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 = () => [
318
+ }, Re = (e) => e === "position" || e === "percentage", Ie = (e) => e === "image" || e === "url", Pe = (e) => e === "length" || e === "size" || e === "bg-size", Ge = (e) => e === "length", kr = (e) => e === "number", vr = (e) => e === "family-name", Te = (e) => e === "shadow", Cr = () => {
319
+ const e = g("color"), t = g("font"), r = g("text"), o = g("font-weight"), n = g("tracking"), c = g("leading"), l = g("breakpoint"), p = g("container"), m = g("spacing"), b = g("radius"), h = g("shadow"), v = g("inset-shadow"), R = g("text-shadow"), M = g("drop-shadow"), k = g("blur"), C = g("perspective"), E = g("aspect"), I = g("ease"), q = g("animate"), D = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], B = () => [
318
320
  "center",
319
321
  "top",
320
322
  "bottom",
@@ -332,15 +334,15 @@ const g = (e) => {
332
334
  "bottom-left",
333
335
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
334
336
  "left-bottom"
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", {
337
+ ], $ = () => [...B(), a, s], P = () => ["auto", "hidden", "clip", "visible", "scroll"], U = () => ["auto", "contain", "none"], d = () => [a, s, m], z = () => [L, "full", "auto", ...d()], me = () => [A, "none", "subgrid", a, s], pe = () => ["auto", {
336
338
  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, {
339
+ }, A, a, s], J = () => [A, "auto", a, s], ue = () => ["auto", "min", "max", "fr", a, s], re = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], j = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], N = () => ["auto", ...d()], G = () => [L, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...d()], i = () => [e, a, s], fe = () => [...B(), Ce, ve, {
338
340
  position: [a, s]
339
- }], fe = () => ["no-repeat", {
341
+ }], ge = () => ["no-repeat", {
340
342
  repeat: ["", "x", "y", "space", "round"]
341
- }], ge = () => ["auto", "cover", "contain", hr, fr, {
343
+ }], be = () => ["auto", "cover", "contain", yr, br, {
342
344
  size: [a, s]
343
- }], oe = () => [se, U, T], y = () => [
345
+ }], oe = () => [se, H, T], y = () => [
344
346
  // Deprecated since Tailwind CSS v4.0.0
345
347
  "",
346
348
  "none",
@@ -348,35 +350,35 @@ const g = (e) => {
348
350
  b,
349
351
  a,
350
352
  s
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 = () => [
353
+ ], w = () => ["", u, H, T], X = () => ["solid", "dashed", "dotted", "double"], he = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], x = () => [u, se, Ce, ve], xe = () => [
352
354
  // Deprecated since Tailwind CSS v4.0.0
353
355
  "",
354
356
  "none",
355
357
  k,
356
358
  a,
357
359
  s
358
- ], K = () => ["none", p, a, s], Q = () => ["none", p, a, s], te = () => [p, a, s], Y = () => [j, "full", ...d()];
360
+ ], K = () => ["none", u, a, s], Q = () => ["none", u, a, s], te = () => [u, a, s], Y = () => [L, "full", ...d()];
359
361
  return {
360
362
  cacheSize: 500,
361
363
  theme: {
362
364
  animate: ["spin", "ping", "pulse", "bounce"],
363
365
  aspect: ["video"],
364
- blur: [M],
365
- breakpoint: [M],
366
- color: [cr],
367
- container: [M],
368
- "drop-shadow": [M],
366
+ blur: [S],
367
+ breakpoint: [S],
368
+ color: [mr],
369
+ container: [S],
370
+ "drop-shadow": [S],
369
371
  ease: ["in", "out", "in-out"],
370
- font: [ur],
372
+ font: [gr],
371
373
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
372
- "inset-shadow": [M],
374
+ "inset-shadow": [S],
373
375
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
374
376
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
375
- radius: [M],
376
- shadow: [M],
377
- spacing: ["px", p],
378
- text: [M],
379
- "text-shadow": [M],
377
+ radius: [S],
378
+ shadow: [S],
379
+ spacing: ["px", u],
380
+ text: [S],
381
+ "text-shadow": [S],
380
382
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
381
383
  },
382
384
  classGroups: {
@@ -388,7 +390,7 @@ const g = (e) => {
388
390
  * @see https://tailwindcss.com/docs/aspect-ratio
389
391
  */
390
392
  aspect: [{
391
- aspect: ["auto", "square", j, s, a, G]
393
+ aspect: ["auto", "square", L, s, a, E]
392
394
  }],
393
395
  /**
394
396
  * Container
@@ -401,21 +403,21 @@ const g = (e) => {
401
403
  * @see https://tailwindcss.com/docs/columns
402
404
  */
403
405
  columns: [{
404
- columns: [p, s, a, u]
406
+ columns: [u, s, a, p]
405
407
  }],
406
408
  /**
407
409
  * Break After
408
410
  * @see https://tailwindcss.com/docs/break-after
409
411
  */
410
412
  "break-after": [{
411
- "break-after": _()
413
+ "break-after": D()
412
414
  }],
413
415
  /**
414
416
  * Break Before
415
417
  * @see https://tailwindcss.com/docs/break-before
416
418
  */
417
419
  "break-before": [{
418
- "break-before": _()
420
+ "break-before": D()
419
421
  }],
420
422
  /**
421
423
  * Break Inside
@@ -479,49 +481,49 @@ const g = (e) => {
479
481
  * @see https://tailwindcss.com/docs/object-position
480
482
  */
481
483
  "object-position": [{
482
- object: B()
484
+ object: $()
483
485
  }],
484
486
  /**
485
487
  * Overflow
486
488
  * @see https://tailwindcss.com/docs/overflow
487
489
  */
488
490
  overflow: [{
489
- overflow: I()
491
+ overflow: P()
490
492
  }],
491
493
  /**
492
494
  * Overflow X
493
495
  * @see https://tailwindcss.com/docs/overflow
494
496
  */
495
497
  "overflow-x": [{
496
- "overflow-x": I()
498
+ "overflow-x": P()
497
499
  }],
498
500
  /**
499
501
  * Overflow Y
500
502
  * @see https://tailwindcss.com/docs/overflow
501
503
  */
502
504
  "overflow-y": [{
503
- "overflow-y": I()
505
+ "overflow-y": P()
504
506
  }],
505
507
  /**
506
508
  * Overscroll Behavior
507
509
  * @see https://tailwindcss.com/docs/overscroll-behavior
508
510
  */
509
511
  overscroll: [{
510
- overscroll: D()
512
+ overscroll: U()
511
513
  }],
512
514
  /**
513
515
  * Overscroll Behavior X
514
516
  * @see https://tailwindcss.com/docs/overscroll-behavior
515
517
  */
516
518
  "overscroll-x": [{
517
- "overscroll-x": D()
519
+ "overscroll-x": U()
518
520
  }],
519
521
  /**
520
522
  * Overscroll Behavior Y
521
523
  * @see https://tailwindcss.com/docs/overscroll-behavior
522
524
  */
523
525
  "overscroll-y": [{
524
- "overscroll-y": D()
526
+ "overscroll-y": U()
525
527
  }],
526
528
  /**
527
529
  * Position
@@ -611,7 +613,7 @@ const g = (e) => {
611
613
  * @see https://tailwindcss.com/docs/flex-basis
612
614
  */
613
615
  basis: [{
614
- basis: [j, "full", "auto", u, ...d()]
616
+ basis: [L, "full", "auto", p, ...d()]
615
617
  }],
616
618
  /**
617
619
  * Flex Direction
@@ -632,21 +634,21 @@ const g = (e) => {
632
634
  * @see https://tailwindcss.com/docs/flex
633
635
  */
634
636
  flex: [{
635
- flex: [p, j, "auto", "initial", "none", s]
637
+ flex: [u, L, "auto", "initial", "none", s]
636
638
  }],
637
639
  /**
638
640
  * Flex Grow
639
641
  * @see https://tailwindcss.com/docs/flex-grow
640
642
  */
641
643
  grow: [{
642
- grow: ["", p, a, s]
644
+ grow: ["", u, a, s]
643
645
  }],
644
646
  /**
645
647
  * Flex Shrink
646
648
  * @see https://tailwindcss.com/docs/flex-shrink
647
649
  */
648
650
  shrink: [{
649
- shrink: ["", p, a, s]
651
+ shrink: ["", u, a, s]
650
652
  }],
651
653
  /**
652
654
  * Order
@@ -660,14 +662,14 @@ const g = (e) => {
660
662
  * @see https://tailwindcss.com/docs/grid-template-columns
661
663
  */
662
664
  "grid-cols": [{
663
- "grid-cols": de()
665
+ "grid-cols": me()
664
666
  }],
665
667
  /**
666
668
  * Grid Column Start / End
667
669
  * @see https://tailwindcss.com/docs/grid-column
668
670
  */
669
671
  "col-start-end": [{
670
- col: me()
672
+ col: pe()
671
673
  }],
672
674
  /**
673
675
  * Grid Column Start
@@ -688,14 +690,14 @@ const g = (e) => {
688
690
  * @see https://tailwindcss.com/docs/grid-template-rows
689
691
  */
690
692
  "grid-rows": [{
691
- "grid-rows": de()
693
+ "grid-rows": me()
692
694
  }],
693
695
  /**
694
696
  * Grid Row Start / End
695
697
  * @see https://tailwindcss.com/docs/grid-row
696
698
  */
697
699
  "row-start-end": [{
698
- row: me()
700
+ row: pe()
699
701
  }],
700
702
  /**
701
703
  * Grid Row Start
@@ -723,14 +725,14 @@ const g = (e) => {
723
725
  * @see https://tailwindcss.com/docs/grid-auto-columns
724
726
  */
725
727
  "auto-cols": [{
726
- "auto-cols": pe()
728
+ "auto-cols": ue()
727
729
  }],
728
730
  /**
729
731
  * Grid Auto Rows
730
732
  * @see https://tailwindcss.com/docs/grid-auto-rows
731
733
  */
732
734
  "auto-rows": [{
733
- "auto-rows": pe()
735
+ "auto-rows": ue()
734
736
  }],
735
737
  /**
736
738
  * Gap
@@ -765,14 +767,14 @@ const g = (e) => {
765
767
  * @see https://tailwindcss.com/docs/justify-items
766
768
  */
767
769
  "justify-items": [{
768
- "justify-items": [...$(), "normal"]
770
+ "justify-items": [...j(), "normal"]
769
771
  }],
770
772
  /**
771
773
  * Justify Self
772
774
  * @see https://tailwindcss.com/docs/justify-self
773
775
  */
774
776
  "justify-self": [{
775
- "justify-self": ["auto", ...$()]
777
+ "justify-self": ["auto", ...j()]
776
778
  }],
777
779
  /**
778
780
  * Align Content
@@ -786,7 +788,7 @@ const g = (e) => {
786
788
  * @see https://tailwindcss.com/docs/align-items
787
789
  */
788
790
  "align-items": [{
789
- items: [...$(), {
791
+ items: [...j(), {
790
792
  baseline: ["", "last"]
791
793
  }]
792
794
  }],
@@ -795,7 +797,7 @@ const g = (e) => {
795
797
  * @see https://tailwindcss.com/docs/align-self
796
798
  */
797
799
  "align-self": [{
798
- self: ["auto", ...$(), {
800
+ self: ["auto", ...j(), {
799
801
  baseline: ["", "last"]
800
802
  }]
801
803
  }],
@@ -811,14 +813,14 @@ const g = (e) => {
811
813
  * @see https://tailwindcss.com/docs/place-items
812
814
  */
813
815
  "place-items": [{
814
- "place-items": [...$(), "baseline"]
816
+ "place-items": [...j(), "baseline"]
815
817
  }],
816
818
  /**
817
819
  * Place Self
818
820
  * @see https://tailwindcss.com/docs/place-self
819
821
  */
820
822
  "place-self": [{
821
- "place-self": ["auto", ...$()]
823
+ "place-self": ["auto", ...j()]
822
824
  }],
823
825
  // Spacing
824
826
  /**
@@ -889,63 +891,63 @@ const g = (e) => {
889
891
  * @see https://tailwindcss.com/docs/margin
890
892
  */
891
893
  m: [{
892
- m: S()
894
+ m: N()
893
895
  }],
894
896
  /**
895
897
  * Margin X
896
898
  * @see https://tailwindcss.com/docs/margin
897
899
  */
898
900
  mx: [{
899
- mx: S()
901
+ mx: N()
900
902
  }],
901
903
  /**
902
904
  * Margin Y
903
905
  * @see https://tailwindcss.com/docs/margin
904
906
  */
905
907
  my: [{
906
- my: S()
908
+ my: N()
907
909
  }],
908
910
  /**
909
911
  * Margin Start
910
912
  * @see https://tailwindcss.com/docs/margin
911
913
  */
912
914
  ms: [{
913
- ms: S()
915
+ ms: N()
914
916
  }],
915
917
  /**
916
918
  * Margin End
917
919
  * @see https://tailwindcss.com/docs/margin
918
920
  */
919
921
  me: [{
920
- me: S()
922
+ me: N()
921
923
  }],
922
924
  /**
923
925
  * Margin Top
924
926
  * @see https://tailwindcss.com/docs/margin
925
927
  */
926
928
  mt: [{
927
- mt: S()
929
+ mt: N()
928
930
  }],
929
931
  /**
930
932
  * Margin Right
931
933
  * @see https://tailwindcss.com/docs/margin
932
934
  */
933
935
  mr: [{
934
- mr: S()
936
+ mr: N()
935
937
  }],
936
938
  /**
937
939
  * Margin Bottom
938
940
  * @see https://tailwindcss.com/docs/margin
939
941
  */
940
942
  mb: [{
941
- mb: S()
943
+ mb: N()
942
944
  }],
943
945
  /**
944
946
  * Margin Left
945
947
  * @see https://tailwindcss.com/docs/margin
946
948
  */
947
949
  ml: [{
948
- ml: S()
950
+ ml: N()
949
951
  }],
950
952
  /**
951
953
  * Space Between X
@@ -979,14 +981,14 @@ const g = (e) => {
979
981
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
980
982
  */
981
983
  size: [{
982
- size: P()
984
+ size: G()
983
985
  }],
984
986
  /**
985
987
  * Width
986
988
  * @see https://tailwindcss.com/docs/width
987
989
  */
988
990
  w: [{
989
- w: [u, "screen", ...P()]
991
+ w: [p, "screen", ...G()]
990
992
  }],
991
993
  /**
992
994
  * Min-Width
@@ -994,11 +996,11 @@ const g = (e) => {
994
996
  */
995
997
  "min-w": [{
996
998
  "min-w": [
997
- u,
999
+ p,
998
1000
  "screen",
999
1001
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1000
1002
  "none",
1001
- ...P()
1003
+ ...G()
1002
1004
  ]
1003
1005
  }],
1004
1006
  /**
@@ -1007,7 +1009,7 @@ const g = (e) => {
1007
1009
  */
1008
1010
  "max-w": [{
1009
1011
  "max-w": [
1010
- u,
1012
+ p,
1011
1013
  "screen",
1012
1014
  "none",
1013
1015
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
@@ -1016,7 +1018,7 @@ const g = (e) => {
1016
1018
  {
1017
1019
  screen: [l]
1018
1020
  },
1019
- ...P()
1021
+ ...G()
1020
1022
  ]
1021
1023
  }],
1022
1024
  /**
@@ -1024,21 +1026,21 @@ const g = (e) => {
1024
1026
  * @see https://tailwindcss.com/docs/height
1025
1027
  */
1026
1028
  h: [{
1027
- h: ["screen", "lh", ...P()]
1029
+ h: ["screen", "lh", ...G()]
1028
1030
  }],
1029
1031
  /**
1030
1032
  * Min-Height
1031
1033
  * @see https://tailwindcss.com/docs/min-height
1032
1034
  */
1033
1035
  "min-h": [{
1034
- "min-h": ["screen", "lh", "none", ...P()]
1036
+ "min-h": ["screen", "lh", "none", ...G()]
1035
1037
  }],
1036
1038
  /**
1037
1039
  * Max-Height
1038
1040
  * @see https://tailwindcss.com/docs/max-height
1039
1041
  */
1040
1042
  "max-h": [{
1041
- "max-h": ["screen", "lh", ...P()]
1043
+ "max-h": ["screen", "lh", ...G()]
1042
1044
  }],
1043
1045
  // ------------------
1044
1046
  // --- Typography ---
@@ -1048,7 +1050,7 @@ const g = (e) => {
1048
1050
  * @see https://tailwindcss.com/docs/font-size
1049
1051
  */
1050
1052
  "font-size": [{
1051
- text: ["base", r, U, T]
1053
+ text: ["base", r, H, T]
1052
1054
  }],
1053
1055
  /**
1054
1056
  * Font Smoothing
@@ -1079,7 +1081,7 @@ const g = (e) => {
1079
1081
  * @see https://tailwindcss.com/docs/font-family
1080
1082
  */
1081
1083
  "font-family": [{
1082
- font: [br, s, t]
1084
+ font: [xr, s, t]
1083
1085
  }],
1084
1086
  /**
1085
1087
  * Font Variant Numeric
@@ -1123,7 +1125,7 @@ const g = (e) => {
1123
1125
  * @see https://tailwindcss.com/docs/line-clamp
1124
1126
  */
1125
1127
  "line-clamp": [{
1126
- "line-clamp": [p, "none", a, ae]
1128
+ "line-clamp": [u, "none", a, ae]
1127
1129
  }],
1128
1130
  /**
1129
1131
  * Line Height
@@ -1196,7 +1198,7 @@ const g = (e) => {
1196
1198
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1197
1199
  */
1198
1200
  "text-decoration-thickness": [{
1199
- decoration: [p, "from-font", "auto", a, T]
1201
+ decoration: [u, "from-font", "auto", a, T]
1200
1202
  }],
1201
1203
  /**
1202
1204
  * Text Decoration Color
@@ -1210,7 +1212,7 @@ const g = (e) => {
1210
1212
  * @see https://tailwindcss.com/docs/text-underline-offset
1211
1213
  */
1212
1214
  "underline-offset": [{
1213
- "underline-offset": [p, "auto", a, s]
1215
+ "underline-offset": [u, "auto", a, s]
1214
1216
  }],
1215
1217
  /**
1216
1218
  * Text Transform
@@ -1307,21 +1309,21 @@ const g = (e) => {
1307
1309
  * @see https://tailwindcss.com/docs/background-position
1308
1310
  */
1309
1311
  "bg-position": [{
1310
- bg: ue()
1312
+ bg: fe()
1311
1313
  }],
1312
1314
  /**
1313
1315
  * Background Repeat
1314
1316
  * @see https://tailwindcss.com/docs/background-repeat
1315
1317
  */
1316
1318
  "bg-repeat": [{
1317
- bg: fe()
1319
+ bg: ge()
1318
1320
  }],
1319
1321
  /**
1320
1322
  * Background Size
1321
1323
  * @see https://tailwindcss.com/docs/background-size
1322
1324
  */
1323
1325
  "bg-size": [{
1324
- bg: ge()
1326
+ bg: be()
1325
1327
  }],
1326
1328
  /**
1327
1329
  * Background Image
@@ -1334,7 +1336,7 @@ const g = (e) => {
1334
1336
  }, A, a, s],
1335
1337
  radial: ["", a, s],
1336
1338
  conic: [A, a, s]
1337
- }, xr, gr]
1339
+ }, wr, hr]
1338
1340
  }],
1339
1341
  /**
1340
1342
  * Background Color
@@ -1676,14 +1678,14 @@ const g = (e) => {
1676
1678
  * @see https://tailwindcss.com/docs/outline-offset
1677
1679
  */
1678
1680
  "outline-offset": [{
1679
- "outline-offset": [p, a, s]
1681
+ "outline-offset": [u, a, s]
1680
1682
  }],
1681
1683
  /**
1682
1684
  * Outline Width
1683
1685
  * @see https://tailwindcss.com/docs/outline-width
1684
1686
  */
1685
1687
  "outline-w": [{
1686
- outline: ["", p, U, T]
1688
+ outline: ["", u, H, T]
1687
1689
  }],
1688
1690
  /**
1689
1691
  * Outline Color
@@ -1758,7 +1760,7 @@ const g = (e) => {
1758
1760
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1759
1761
  */
1760
1762
  "ring-offset-w": [{
1761
- "ring-offset": [p, T]
1763
+ "ring-offset": [u, T]
1762
1764
  }],
1763
1765
  /**
1764
1766
  * Ring Offset Color
@@ -1802,21 +1804,21 @@ const g = (e) => {
1802
1804
  * @see https://tailwindcss.com/docs/opacity
1803
1805
  */
1804
1806
  opacity: [{
1805
- opacity: [p, a, s]
1807
+ opacity: [u, a, s]
1806
1808
  }],
1807
1809
  /**
1808
1810
  * Mix Blend Mode
1809
1811
  * @see https://tailwindcss.com/docs/mix-blend-mode
1810
1812
  */
1811
1813
  "mix-blend": [{
1812
- "mix-blend": [...be(), "plus-darker", "plus-lighter"]
1814
+ "mix-blend": [...he(), "plus-darker", "plus-lighter"]
1813
1815
  }],
1814
1816
  /**
1815
1817
  * Background Blend Mode
1816
1818
  * @see https://tailwindcss.com/docs/background-blend-mode
1817
1819
  */
1818
1820
  "bg-blend": [{
1819
- "bg-blend": be()
1821
+ "bg-blend": he()
1820
1822
  }],
1821
1823
  /**
1822
1824
  * Mask Clip
@@ -1837,7 +1839,7 @@ const g = (e) => {
1837
1839
  * @see https://tailwindcss.com/docs/mask-image
1838
1840
  */
1839
1841
  "mask-image-linear-pos": [{
1840
- "mask-linear": [p]
1842
+ "mask-linear": [u]
1841
1843
  }],
1842
1844
  "mask-image-linear-from-pos": [{
1843
1845
  "mask-linear-from": x()
@@ -1948,10 +1950,10 @@ const g = (e) => {
1948
1950
  }]
1949
1951
  }],
1950
1952
  "mask-image-radial-pos": [{
1951
- "mask-radial-at": E()
1953
+ "mask-radial-at": B()
1952
1954
  }],
1953
1955
  "mask-image-conic-pos": [{
1954
- "mask-conic": [p]
1956
+ "mask-conic": [u]
1955
1957
  }],
1956
1958
  "mask-image-conic-from-pos": [{
1957
1959
  "mask-conic-from": x()
@@ -1984,21 +1986,21 @@ const g = (e) => {
1984
1986
  * @see https://tailwindcss.com/docs/mask-position
1985
1987
  */
1986
1988
  "mask-position": [{
1987
- mask: ue()
1989
+ mask: fe()
1988
1990
  }],
1989
1991
  /**
1990
1992
  * Mask Repeat
1991
1993
  * @see https://tailwindcss.com/docs/mask-repeat
1992
1994
  */
1993
1995
  "mask-repeat": [{
1994
- mask: fe()
1996
+ mask: ge()
1995
1997
  }],
1996
1998
  /**
1997
1999
  * Mask Size
1998
2000
  * @see https://tailwindcss.com/docs/mask-size
1999
2001
  */
2000
2002
  "mask-size": [{
2001
- mask: ge()
2003
+ mask: be()
2002
2004
  }],
2003
2005
  /**
2004
2006
  * Mask Type
@@ -2035,21 +2037,21 @@ const g = (e) => {
2035
2037
  * @see https://tailwindcss.com/docs/blur
2036
2038
  */
2037
2039
  blur: [{
2038
- blur: he()
2040
+ blur: xe()
2039
2041
  }],
2040
2042
  /**
2041
2043
  * Brightness
2042
2044
  * @see https://tailwindcss.com/docs/brightness
2043
2045
  */
2044
2046
  brightness: [{
2045
- brightness: [p, a, s]
2047
+ brightness: [u, a, s]
2046
2048
  }],
2047
2049
  /**
2048
2050
  * Contrast
2049
2051
  * @see https://tailwindcss.com/docs/contrast
2050
2052
  */
2051
2053
  contrast: [{
2052
- contrast: [p, a, s]
2054
+ contrast: [u, a, s]
2053
2055
  }],
2054
2056
  /**
2055
2057
  * Drop Shadow
@@ -2060,7 +2062,7 @@ const g = (e) => {
2060
2062
  // Deprecated since Tailwind CSS v4.0.0
2061
2063
  "",
2062
2064
  "none",
2063
- N,
2065
+ M,
2064
2066
  ee,
2065
2067
  Z
2066
2068
  ]
@@ -2077,35 +2079,35 @@ const g = (e) => {
2077
2079
  * @see https://tailwindcss.com/docs/grayscale
2078
2080
  */
2079
2081
  grayscale: [{
2080
- grayscale: ["", p, a, s]
2082
+ grayscale: ["", u, a, s]
2081
2083
  }],
2082
2084
  /**
2083
2085
  * Hue Rotate
2084
2086
  * @see https://tailwindcss.com/docs/hue-rotate
2085
2087
  */
2086
2088
  "hue-rotate": [{
2087
- "hue-rotate": [p, a, s]
2089
+ "hue-rotate": [u, a, s]
2088
2090
  }],
2089
2091
  /**
2090
2092
  * Invert
2091
2093
  * @see https://tailwindcss.com/docs/invert
2092
2094
  */
2093
2095
  invert: [{
2094
- invert: ["", p, a, s]
2096
+ invert: ["", u, a, s]
2095
2097
  }],
2096
2098
  /**
2097
2099
  * Saturate
2098
2100
  * @see https://tailwindcss.com/docs/saturate
2099
2101
  */
2100
2102
  saturate: [{
2101
- saturate: [p, a, s]
2103
+ saturate: [u, a, s]
2102
2104
  }],
2103
2105
  /**
2104
2106
  * Sepia
2105
2107
  * @see https://tailwindcss.com/docs/sepia
2106
2108
  */
2107
2109
  sepia: [{
2108
- sepia: ["", p, a, s]
2110
+ sepia: ["", u, a, s]
2109
2111
  }],
2110
2112
  /**
2111
2113
  * Backdrop Filter
@@ -2125,63 +2127,63 @@ const g = (e) => {
2125
2127
  * @see https://tailwindcss.com/docs/backdrop-blur
2126
2128
  */
2127
2129
  "backdrop-blur": [{
2128
- "backdrop-blur": he()
2130
+ "backdrop-blur": xe()
2129
2131
  }],
2130
2132
  /**
2131
2133
  * Backdrop Brightness
2132
2134
  * @see https://tailwindcss.com/docs/backdrop-brightness
2133
2135
  */
2134
2136
  "backdrop-brightness": [{
2135
- "backdrop-brightness": [p, a, s]
2137
+ "backdrop-brightness": [u, a, s]
2136
2138
  }],
2137
2139
  /**
2138
2140
  * Backdrop Contrast
2139
2141
  * @see https://tailwindcss.com/docs/backdrop-contrast
2140
2142
  */
2141
2143
  "backdrop-contrast": [{
2142
- "backdrop-contrast": [p, a, s]
2144
+ "backdrop-contrast": [u, a, s]
2143
2145
  }],
2144
2146
  /**
2145
2147
  * Backdrop Grayscale
2146
2148
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2147
2149
  */
2148
2150
  "backdrop-grayscale": [{
2149
- "backdrop-grayscale": ["", p, a, s]
2151
+ "backdrop-grayscale": ["", u, a, s]
2150
2152
  }],
2151
2153
  /**
2152
2154
  * Backdrop Hue Rotate
2153
2155
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2154
2156
  */
2155
2157
  "backdrop-hue-rotate": [{
2156
- "backdrop-hue-rotate": [p, a, s]
2158
+ "backdrop-hue-rotate": [u, a, s]
2157
2159
  }],
2158
2160
  /**
2159
2161
  * Backdrop Invert
2160
2162
  * @see https://tailwindcss.com/docs/backdrop-invert
2161
2163
  */
2162
2164
  "backdrop-invert": [{
2163
- "backdrop-invert": ["", p, a, s]
2165
+ "backdrop-invert": ["", u, a, s]
2164
2166
  }],
2165
2167
  /**
2166
2168
  * Backdrop Opacity
2167
2169
  * @see https://tailwindcss.com/docs/backdrop-opacity
2168
2170
  */
2169
2171
  "backdrop-opacity": [{
2170
- "backdrop-opacity": [p, a, s]
2172
+ "backdrop-opacity": [u, a, s]
2171
2173
  }],
2172
2174
  /**
2173
2175
  * Backdrop Saturate
2174
2176
  * @see https://tailwindcss.com/docs/backdrop-saturate
2175
2177
  */
2176
2178
  "backdrop-saturate": [{
2177
- "backdrop-saturate": [p, a, s]
2179
+ "backdrop-saturate": [u, a, s]
2178
2180
  }],
2179
2181
  /**
2180
2182
  * Backdrop Sepia
2181
2183
  * @see https://tailwindcss.com/docs/backdrop-sepia
2182
2184
  */
2183
2185
  "backdrop-sepia": [{
2184
- "backdrop-sepia": ["", p, a, s]
2186
+ "backdrop-sepia": ["", u, a, s]
2185
2187
  }],
2186
2188
  // --------------
2187
2189
  // --- Tables ---
@@ -2250,21 +2252,21 @@ const g = (e) => {
2250
2252
  * @see https://tailwindcss.com/docs/transition-duration
2251
2253
  */
2252
2254
  duration: [{
2253
- duration: [p, "initial", a, s]
2255
+ duration: [u, "initial", a, s]
2254
2256
  }],
2255
2257
  /**
2256
2258
  * Transition Timing Function
2257
2259
  * @see https://tailwindcss.com/docs/transition-timing-function
2258
2260
  */
2259
2261
  ease: [{
2260
- ease: ["linear", "initial", F, a, s]
2262
+ ease: ["linear", "initial", I, a, s]
2261
2263
  }],
2262
2264
  /**
2263
2265
  * Transition Delay
2264
2266
  * @see https://tailwindcss.com/docs/transition-delay
2265
2267
  */
2266
2268
  delay: [{
2267
- delay: [p, a, s]
2269
+ delay: [u, a, s]
2268
2270
  }],
2269
2271
  /**
2270
2272
  * Animation
@@ -2295,7 +2297,7 @@ const g = (e) => {
2295
2297
  * @see https://tailwindcss.com/docs/perspective-origin
2296
2298
  */
2297
2299
  "perspective-origin": [{
2298
- "perspective-origin": B()
2300
+ "perspective-origin": $()
2299
2301
  }],
2300
2302
  /**
2301
2303
  * Rotate
@@ -2391,7 +2393,7 @@ const g = (e) => {
2391
2393
  * @see https://tailwindcss.com/docs/transform-origin
2392
2394
  */
2393
2395
  "transform-origin": [{
2394
- origin: B()
2396
+ origin: $()
2395
2397
  }],
2396
2398
  /**
2397
2399
  * Transform Style
@@ -2708,7 +2710,7 @@ const g = (e) => {
2708
2710
  * @see https://tailwindcss.com/docs/stroke-width
2709
2711
  */
2710
2712
  "stroke-w": [{
2711
- stroke: [p, U, T, ae]
2713
+ stroke: [u, H, T, ae]
2712
2714
  }],
2713
2715
  /**
2714
2716
  * Stroke
@@ -2783,15 +2785,15 @@ const g = (e) => {
2783
2785
  },
2784
2786
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2785
2787
  };
2786
- }, vr = /* @__PURE__ */ or(kr);
2787
- function W(...e) {
2788
- return vr(We(e));
2788
+ }, zr = /* @__PURE__ */ sr(Cr);
2789
+ function _(...e) {
2790
+ return zr(De(e));
2789
2791
  }
2790
- const Ee = L.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ f(
2792
+ const Ee = O.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ f(
2791
2793
  "div",
2792
2794
  {
2793
2795
  ref: r,
2794
- className: W(
2796
+ className: _(
2795
2797
  "rounded-xl border bg-card text-card-foreground shadow",
2796
2798
  e
2797
2799
  ),
@@ -2799,44 +2801,44 @@ const Ee = L.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ f(
2799
2801
  }
2800
2802
  ));
2801
2803
  Ee.displayName = "Card";
2802
- const Be = L.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ f("div", { ref: r, className: W("flex", e), ...t }));
2804
+ const Be = O.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ f("div", { ref: r, className: _("flex", e), ...t }));
2803
2805
  Be.displayName = "CardHeader";
2804
- const $e = L.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ f(
2806
+ const $e = O.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ f(
2805
2807
  "div",
2806
2808
  {
2807
2809
  ref: r,
2808
- className: W("font-semibold leading-none tracking-tight", e),
2810
+ className: _("font-semibold leading-none tracking-tight", e),
2809
2811
  ...t
2810
2812
  }
2811
2813
  ));
2812
2814
  $e.displayName = "CardTitle";
2813
- const je = L.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ f(
2815
+ const je = O.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ f(
2814
2816
  "div",
2815
2817
  {
2816
2818
  ref: r,
2817
- className: W("text-sm text-muted-foreground", e),
2819
+ className: _("text-sm text-muted-foreground", e),
2818
2820
  ...t
2819
2821
  }
2820
2822
  ));
2821
2823
  je.displayName = "CardDescription";
2822
- const Le = L.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ f("div", { ref: r, className: W("pt-0", e), ...t }));
2824
+ const Le = O.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ f("div", { ref: r, className: _("pt-0", e), ...t }));
2823
2825
  Le.displayName = "CardContent";
2824
- const Oe = L.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ f(
2826
+ const Oe = O.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ f(
2825
2827
  "div",
2826
2828
  {
2827
2829
  ref: r,
2828
- className: W("flex items-center pt-0", e),
2830
+ className: _("flex items-center pt-0", e),
2829
2831
  ...t
2830
2832
  }
2831
2833
  ));
2832
2834
  Oe.displayName = "CardFooter";
2833
- const Cr = ({
2835
+ const Ve = ({
2834
2836
  color: e = "amber",
2835
2837
  onClick: t,
2836
2838
  customClass: r = "",
2837
2839
  iconSrc: o
2838
2840
  }) => {
2839
- const n = Ce[e];
2841
+ const n = ce[e];
2840
2842
  return /* @__PURE__ */ f(
2841
2843
  "button",
2842
2844
  {
@@ -2859,7 +2861,7 @@ const Cr = ({
2859
2861
  ) })
2860
2862
  }
2861
2863
  );
2862
- }, Mr = ({
2864
+ }, Nr = ({
2863
2865
  title: e,
2864
2866
  description: t,
2865
2867
  children: r,
@@ -2867,16 +2869,16 @@ const Cr = ({
2867
2869
  customClass: n = "",
2868
2870
  button: c = !1,
2869
2871
  buttonLabel: l = "Button",
2870
- buttonPosition: u = "top-right",
2872
+ buttonPosition: p = "top-right",
2871
2873
  bgIconColor: m = "lightBlue",
2872
2874
  buttonColor: b = "lightBlue",
2873
2875
  buttonVariant: h = "primary",
2874
2876
  buttonSize: v = "medium",
2875
2877
  onButtonClick: R
2876
2878
  }) => {
2877
- const N = R ?? (() => {
2879
+ const M = R ?? (() => {
2878
2880
  });
2879
- return /* @__PURE__ */ H(
2881
+ return /* @__PURE__ */ F(
2880
2882
  Ee,
2881
2883
  {
2882
2884
  className: `
@@ -2887,10 +2889,10 @@ const Cr = ({
2887
2889
  ${n}
2888
2890
  `,
2889
2891
  children: [
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
+ (e || t || c && p === "top-right") && /* @__PURE__ */ F(Be, { className: "mb-4 flex items-start justify-between", children: [
2893
+ /* @__PURE__ */ F("div", { className: "flex items-center gap-3", children: [
2892
2894
  o && /* @__PURE__ */ f(
2893
- Cr,
2895
+ Ve,
2894
2896
  {
2895
2897
  color: m,
2896
2898
  iconSrc: o,
@@ -2898,29 +2900,29 @@ const Cr = ({
2898
2900
  }
2899
2901
  }
2900
2902
  ),
2901
- /* @__PURE__ */ H("div", { children: [
2903
+ /* @__PURE__ */ F("div", { children: [
2902
2904
  e && /* @__PURE__ */ f($e, { className: "text-main text-xl font-gabaritoBold font-medium leading-5 sm:text-lg md:text-xl", children: e }),
2903
2905
  t && /* @__PURE__ */ f(je, { className: "text-sm sm:text-base text-gray-600", children: t })
2904
2906
  ] })
2905
2907
  ] }),
2906
- c && u === "top-right" && /* @__PURE__ */ f(
2907
- xe,
2908
+ c && p === "top-right" && /* @__PURE__ */ f(
2909
+ ye,
2908
2910
  {
2909
2911
  label: l,
2910
2912
  size: v,
2911
- onClick: N,
2913
+ onClick: M,
2912
2914
  color: b,
2913
2915
  variant: h
2914
2916
  }
2915
2917
  )
2916
2918
  ] }),
2917
2919
  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(
2919
- xe,
2920
+ c && p === "bottom-right" && /* @__PURE__ */ f(Oe, { className: "flex justify-end pt-2", children: /* @__PURE__ */ f(
2921
+ ye,
2920
2922
  {
2921
2923
  label: l,
2922
2924
  size: v,
2923
- onClick: N,
2925
+ onClick: M,
2924
2926
  color: b,
2925
2927
  variant: h
2926
2928
  }
@@ -2928,15 +2930,15 @@ const Cr = ({
2928
2930
  ]
2929
2931
  }
2930
2932
  );
2931
- }, Nr = ({
2933
+ }, Mr = ({
2932
2934
  color: e = "lightBlue"
2933
2935
  }) => {
2934
- const [t, r] = Ve(!1), o = {
2936
+ const [t, r] = We(!1), o = {
2935
2937
  lightBlue: "bg-blue-500",
2936
2938
  amber: "bg-amber-500",
2937
2939
  cyan: "bg-cyan-500"
2938
2940
  };
2939
- return /* @__PURE__ */ H("div", { className: "inline-block relative w-12 h-6", children: [
2941
+ return /* @__PURE__ */ F("div", { className: "inline-block relative w-12 h-6", children: [
2940
2942
  /* @__PURE__ */ f(
2941
2943
  "input",
2942
2944
  {
@@ -2963,9 +2965,50 @@ const Cr = ({
2963
2965
  }
2964
2966
  )
2965
2967
  ] });
2968
+ }, Ar = ({
2969
+ bgIconColor: e = "lightBlue",
2970
+ iconSrc: t = "",
2971
+ label: r = "",
2972
+ percentage: o = 0,
2973
+ showCard: n = !1,
2974
+ showPercentage: c = !1
2975
+ }) => {
2976
+ const l = ce[e], p = /* @__PURE__ */ F("div", { className: "flex w-full items-center", children: [
2977
+ /* @__PURE__ */ f(Ve, { color: e, iconSrc: t, onClick: () => {
2978
+ } }),
2979
+ /* @__PURE__ */ F("div", { className: "flex flex-col ml-3 flex-1", children: [
2980
+ /* @__PURE__ */ F("div", { className: "flex justify-between mb-1 items-end", children: [
2981
+ r && /* @__PURE__ */ f("p", { className: "font-semibold text-gray-800 text-lg", children: r }),
2982
+ c && /* @__PURE__ */ F("span", { className: "text-base text-gray-500", children: [
2983
+ o,
2984
+ "%"
2985
+ ] })
2986
+ ] }),
2987
+ /* @__PURE__ */ f(
2988
+ "div",
2989
+ {
2990
+ className: "relative w-full h-4 rounded-2xl overflow-hidden",
2991
+ style: { backgroundColor: _e.Gray.value },
2992
+ children: /* @__PURE__ */ f(
2993
+ "div",
2994
+ {
2995
+ className: "absolute top-0 left-0 h-full rounded-2xl transition-all duration-300",
2996
+ style: {
2997
+ width: `${o}%`,
2998
+ background: "linear-gradient(to right, #FFC801, #FFC801)",
2999
+ boxShadow: `0 1px 2px ${l.primary.dark}`
3000
+ }
3001
+ }
3002
+ )
3003
+ }
3004
+ )
3005
+ ] })
3006
+ ] });
3007
+ return n ? /* @__PURE__ */ f(Nr, { children: p }) : p;
2966
3008
  };
2967
3009
  export {
2968
- xe as Button,
2969
- Mr as Card,
2970
- Nr as Toggle
3010
+ ye as Button,
3011
+ Nr as Card,
3012
+ Ar as ProgressBar,
3013
+ Mr as Toggle
2971
3014
  };