@helden-inc/cce-ui 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { jsxs as w, jsx as m } from "react/jsx-runtime";
1
+ import { jsxs as v, jsx as m } from "react/jsx-runtime";
2
2
  import { isValidElement as De, cloneElement as $e, forwardRef as ue, useId as he, useState as pe, useRef as Ue, useMemo as ke, useEffect as we } from "react";
3
3
  function ze(e) {
4
4
  var o, t, r = "";
@@ -33,36 +33,36 @@ const Xe = (e, o) => {
33
33
  conflictingClassGroupModifiers: r
34
34
  } = e;
35
35
  return {
36
- getClassGroupId: (s) => {
37
- if (s.startsWith("[") && s.endsWith("]"))
38
- return Ke(s);
39
- const p = s.split(ce), d = p[0] === "" && p.length > 1 ? 1 : 0;
36
+ getClassGroupId: (a) => {
37
+ if (a.startsWith("[") && a.endsWith("]"))
38
+ return Ke(a);
39
+ const p = a.split(ce), d = p[0] === "" && p.length > 1 ? 1 : 0;
40
40
  return Ae(p, d, o);
41
41
  },
42
- getConflictingClassGroupIds: (s, p) => {
42
+ getConflictingClassGroupIds: (a, p) => {
43
43
  if (p) {
44
- const d = r[s], g = t[s];
44
+ const d = r[a], g = t[a];
45
45
  return d ? g ? Xe(g, d) : d : g || ye;
46
46
  }
47
- return t[s] || ye;
47
+ return t[a] || ye;
48
48
  }
49
49
  };
50
50
  }, Ae = (e, o, t) => {
51
51
  if (e.length - o === 0)
52
52
  return t.classGroupId;
53
- const n = e[o], i = t.nextPart.get(n);
54
- if (i) {
55
- const g = Ae(e, o + 1, i);
53
+ const n = e[o], s = t.nextPart.get(n);
54
+ if (s) {
55
+ const g = Ae(e, o + 1, s);
56
56
  if (g) return g;
57
57
  }
58
- const s = t.validators;
59
- if (s === null)
58
+ const a = t.validators;
59
+ if (a === null)
60
60
  return;
61
- const p = o === 0 ? e.join(ce) : e.slice(o).join(ce), d = s.length;
61
+ const p = o === 0 ? e.join(ce) : e.slice(o).join(ce), d = a.length;
62
62
  for (let g = 0; g < d; g++) {
63
- const x = s[g];
64
- if (x.validator(p))
65
- return x.classGroupId;
63
+ const k = a[g];
64
+ if (k.validator(p))
65
+ return k.classGroupId;
66
66
  }
67
67
  }, Ke = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
68
68
  const o = e.slice(1, -1), t = o.indexOf(":"), r = o.slice(0, t);
@@ -82,9 +82,9 @@ const Xe = (e, o) => {
82
82
  return t;
83
83
  }, xe = (e, o, t, r) => {
84
84
  const n = e.length;
85
- for (let i = 0; i < n; i++) {
86
- const s = e[i];
87
- er(s, o, t, r);
85
+ for (let s = 0; s < n; s++) {
86
+ const a = e[s];
87
+ er(a, o, t, r);
88
88
  }
89
89
  }, er = (e, o, t, r) => {
90
90
  if (typeof e == "string") {
@@ -106,21 +106,21 @@ const Xe = (e, o) => {
106
106
  }
107
107
  o.validators === null && (o.validators = []), o.validators.push(Je(t, e));
108
108
  }, or = (e, o, t, r) => {
109
- const n = Object.entries(e), i = n.length;
110
- for (let s = 0; s < i; s++) {
111
- const [p, d] = n[s];
109
+ const n = Object.entries(e), s = n.length;
110
+ for (let a = 0; a < s; a++) {
111
+ const [p, d] = n[a];
112
112
  xe(d, Ie(o, p), t, r);
113
113
  }
114
114
  }, Ie = (e, o) => {
115
115
  let t = e;
116
116
  const r = o.split(ce), n = r.length;
117
- for (let i = 0; i < n; i++) {
118
- const s = r[i];
119
- let p = t.nextPart.get(s);
120
- p || (p = Se(), t.nextPart.set(s, p)), t = p;
117
+ for (let s = 0; s < n; s++) {
118
+ const a = r[s];
119
+ let p = t.nextPart.get(a);
120
+ p || (p = Se(), t.nextPart.set(a, p)), t = p;
121
121
  }
122
122
  return t;
123
- }, nr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, sr = (e) => {
123
+ }, nr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, ar = (e) => {
124
124
  if (e < 1)
125
125
  return {
126
126
  get: () => {
@@ -129,22 +129,22 @@ const Xe = (e, o) => {
129
129
  }
130
130
  };
131
131
  let o = 0, t = /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ Object.create(null);
132
- const n = (i, s) => {
133
- t[i] = s, o++, o > e && (o = 0, r = t, t = /* @__PURE__ */ Object.create(null));
132
+ const n = (s, a) => {
133
+ t[s] = a, o++, o > e && (o = 0, r = t, t = /* @__PURE__ */ Object.create(null));
134
134
  };
135
135
  return {
136
- get(i) {
137
- let s = t[i];
138
- if (s !== void 0)
139
- return s;
140
- if ((s = r[i]) !== void 0)
141
- return n(i, s), s;
136
+ get(s) {
137
+ let a = t[s];
138
+ if (a !== void 0)
139
+ return a;
140
+ if ((a = r[s]) !== void 0)
141
+ return n(s, a), a;
142
142
  },
143
- set(i, s) {
144
- i in t ? t[i] = s : n(i, s);
143
+ set(s, a) {
144
+ s in t ? t[s] = a : n(s, a);
145
145
  }
146
146
  };
147
- }, ge = "!", ve = ":", ar = [], _e = (e, o, t, r, n) => ({
147
+ }, ge = "!", ve = ":", sr = [], _e = (e, o, t, r, n) => ({
148
148
  modifiers: e,
149
149
  hasImportantModifier: o,
150
150
  baseClassName: t,
@@ -156,43 +156,43 @@ const Xe = (e, o) => {
156
156
  experimentalParseClassName: t
157
157
  } = e;
158
158
  let r = (n) => {
159
- const i = [];
160
- let s = 0, p = 0, d = 0, g;
161
- const x = n.length;
162
- for (let S = 0; S < x; S++) {
163
- const _ = n[S];
164
- if (s === 0 && p === 0) {
165
- if (_ === ve) {
166
- i.push(n.slice(d, S)), d = S + 1;
159
+ const s = [];
160
+ let a = 0, p = 0, d = 0, g;
161
+ const k = n.length;
162
+ for (let S = 0; S < k; S++) {
163
+ const y = n[S];
164
+ if (a === 0 && p === 0) {
165
+ if (y === ve) {
166
+ s.push(n.slice(d, S)), d = S + 1;
167
167
  continue;
168
168
  }
169
- if (_ === "/") {
169
+ if (y === "/") {
170
170
  g = S;
171
171
  continue;
172
172
  }
173
173
  }
174
- _ === "[" ? s++ : _ === "]" ? s-- : _ === "(" ? p++ : _ === ")" && p--;
174
+ y === "[" ? a++ : y === "]" ? a-- : y === "(" ? p++ : y === ")" && p--;
175
175
  }
176
- const k = i.length === 0 ? n : n.slice(d);
177
- let v = k, N = !1;
178
- k.endsWith(ge) ? (v = k.slice(0, -1), N = !0) : (
176
+ const x = s.length === 0 ? n : n.slice(d);
177
+ let _ = x, N = !1;
178
+ x.endsWith(ge) ? (_ = x.slice(0, -1), N = !0) : (
179
179
  /**
180
180
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
181
181
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
182
182
  */
183
- k.startsWith(ge) && (v = k.slice(1), N = !0)
183
+ x.startsWith(ge) && (_ = x.slice(1), N = !0)
184
184
  );
185
185
  const A = g && g > d ? g - d : void 0;
186
- return _e(i, N, v, A);
186
+ return _e(s, N, _, A);
187
187
  };
188
188
  if (o) {
189
- const n = o + ve, i = r;
190
- r = (s) => s.startsWith(n) ? i(s.slice(n.length)) : _e(ar, !1, s, void 0, !0);
189
+ const n = o + ve, s = r;
190
+ r = (a) => a.startsWith(n) ? s(a.slice(n.length)) : _e(sr, !1, a, void 0, !0);
191
191
  }
192
192
  if (t) {
193
193
  const n = r;
194
- r = (i) => t({
195
- className: i,
194
+ r = (s) => t({
195
+ className: s,
196
196
  parseClassName: n
197
197
  });
198
198
  }
@@ -204,14 +204,14 @@ const Xe = (e, o) => {
204
204
  }), (t) => {
205
205
  const r = [];
206
206
  let n = [];
207
- for (let i = 0; i < t.length; i++) {
208
- const s = t[i], p = s[0] === "[", d = o.has(s);
209
- p || d ? (n.length > 0 && (n.sort(), r.push(...n), n = []), r.push(s)) : n.push(s);
207
+ for (let s = 0; s < t.length; s++) {
208
+ const a = t[s], p = a[0] === "[", d = o.has(a);
209
+ p || d ? (n.length > 0 && (n.sort(), r.push(...n), n = []), r.push(a)) : n.push(a);
210
210
  }
211
211
  return n.length > 0 && (n.sort(), r.push(...n)), r;
212
212
  };
213
213
  }, dr = (e) => ({
214
- cache: sr(e.cacheSize),
214
+ cache: ar(e.cacheSize),
215
215
  parseClassName: lr(e),
216
216
  sortModifiers: ir(e),
217
217
  ...He(e)
@@ -220,43 +220,43 @@ const Xe = (e, o) => {
220
220
  parseClassName: t,
221
221
  getClassGroupId: r,
222
222
  getConflictingClassGroupIds: n,
223
- sortModifiers: i
224
- } = o, s = [], p = e.trim().split(cr);
223
+ sortModifiers: s
224
+ } = o, a = [], p = e.trim().split(cr);
225
225
  let d = "";
226
226
  for (let g = p.length - 1; g >= 0; g -= 1) {
227
- const x = p[g], {
228
- isExternal: k,
229
- modifiers: v,
227
+ const k = p[g], {
228
+ isExternal: x,
229
+ modifiers: _,
230
230
  hasImportantModifier: N,
231
231
  baseClassName: A,
232
232
  maybePostfixModifierPosition: S
233
- } = t(x);
234
- if (k) {
235
- d = x + (d.length > 0 ? " " + d : d);
233
+ } = t(k);
234
+ if (x) {
235
+ d = k + (d.length > 0 ? " " + d : d);
236
236
  continue;
237
237
  }
238
- let _ = !!S, G = r(_ ? A.substring(0, S) : A);
239
- if (!G) {
240
- if (!_) {
241
- d = x + (d.length > 0 ? " " + d : d);
238
+ let y = !!S, j = r(y ? A.substring(0, S) : A);
239
+ if (!j) {
240
+ if (!y) {
241
+ d = k + (d.length > 0 ? " " + d : d);
242
242
  continue;
243
243
  }
244
- if (G = r(A), !G) {
245
- d = x + (d.length > 0 ? " " + d : d);
244
+ if (j = r(A), !j) {
245
+ d = k + (d.length > 0 ? " " + d : d);
246
246
  continue;
247
247
  }
248
- _ = !1;
248
+ y = !1;
249
249
  }
250
- const V = v.length === 0 ? "" : v.length === 1 ? v[0] : i(v).join(":"), B = N ? V + ge : V, L = B + G;
251
- if (s.indexOf(L) > -1)
250
+ const G = _.length === 0 ? "" : _.length === 1 ? _[0] : s(_).join(":"), F = N ? G + ge : G, O = F + j;
251
+ if (a.indexOf(O) > -1)
252
252
  continue;
253
- s.push(L);
254
- const P = n(G, _);
253
+ a.push(O);
254
+ const P = n(j, y);
255
255
  for (let I = 0; I < P.length; ++I) {
256
256
  const T = P[I];
257
- s.push(B + T);
257
+ a.push(F + T);
258
258
  }
259
- d = x + (d.length > 0 ? " " + d : d);
259
+ d = k + (d.length > 0 ? " " + d : d);
260
260
  }
261
261
  return d;
262
262
  }, mr = (...e) => {
@@ -272,34 +272,34 @@ const Xe = (e, o) => {
272
272
  e[r] && (o = Re(e[r])) && (t && (t += " "), t += o);
273
273
  return t;
274
274
  }, pr = (e, ...o) => {
275
- let t, r, n, i;
276
- const s = (d) => {
277
- const g = o.reduce((x, k) => k(x), e());
278
- return t = dr(g), r = t.cache.get, n = t.cache.set, i = p, p(d);
275
+ let t, r, n, s;
276
+ const a = (d) => {
277
+ const g = o.reduce((k, x) => x(k), e());
278
+ return t = dr(g), r = t.cache.get, n = t.cache.set, s = p, p(d);
279
279
  }, p = (d) => {
280
280
  const g = r(d);
281
281
  if (g)
282
282
  return g;
283
- const x = ur(d, t);
284
- return n(d, x), x;
283
+ const k = ur(d, t);
284
+ return n(d, k), k;
285
285
  };
286
- return i = s, (...d) => i(mr(...d));
286
+ return s = a, (...d) => s(mr(...d));
287
287
  }, br = [], z = (e) => {
288
288
  const o = (t) => t[e] || br;
289
289
  return o.isThemeGetter = !0, o;
290
- }, Me = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Pe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, fr = /^\d+\/\d+$/, gr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, hr = /\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$/, xr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, kr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, wr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, q = (e) => fr.test(e), f = (e) => !!e && !Number.isNaN(Number(e)), X = (e) => !!e && Number.isInteger(Number(e)), be = (e) => e.endsWith("%") && f(e.slice(0, -1)), D = (e) => gr.test(e), yr = () => !0, vr = (e) => (
290
+ }, Me = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, je = /^\((?:(\w[\w-]*):)?(.+)\)$/i, fr = /^\d+\/\d+$/, gr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, hr = /\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$/, xr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, kr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, wr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, q = (e) => fr.test(e), f = (e) => !!e && !Number.isNaN(Number(e)), X = (e) => !!e && Number.isInteger(Number(e)), be = (e) => e.endsWith("%") && f(e.slice(0, -1)), D = (e) => gr.test(e), yr = () => !0, vr = (e) => (
291
291
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
292
292
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
293
293
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
294
294
  hr.test(e) && !xr.test(e)
295
- ), je = () => !1, _r = (e) => kr.test(e), Nr = (e) => wr.test(e), Cr = (e) => !a(e) && !l(e), zr = (e) => ee(e, Ge, je), a = (e) => Me.test(e), H = (e) => ee(e, Le, vr), fe = (e) => ee(e, Mr, f), Ne = (e) => ee(e, Te, je), Sr = (e) => ee(e, Ee, Nr), ie = (e) => ee(e, Oe, _r), l = (e) => Pe.test(e), se = (e) => re(e, Le), Ar = (e) => re(e, Pr), Ce = (e) => re(e, Te), Ir = (e) => re(e, Ge), Rr = (e) => re(e, Ee), de = (e) => re(e, Oe, !0), ee = (e, o, t) => {
295
+ ), Pe = () => !1, _r = (e) => kr.test(e), Nr = (e) => wr.test(e), Cr = (e) => !l(e) && !i(e), zr = (e) => ee(e, Ee, Pe), l = (e) => Me.test(e), H = (e) => ee(e, Ge, vr), fe = (e) => ee(e, Mr, f), Ne = (e) => ee(e, Le, Pe), Sr = (e) => ee(e, Te, Nr), ie = (e) => ee(e, Oe, _r), i = (e) => je.test(e), ae = (e) => re(e, Ge), Ar = (e) => re(e, jr), Ce = (e) => re(e, Le), Ir = (e) => re(e, Ee), Rr = (e) => re(e, Te), de = (e) => re(e, Oe, !0), ee = (e, o, t) => {
296
296
  const r = Me.exec(e);
297
297
  return r ? r[1] ? o(r[1]) : t(r[2]) : !1;
298
298
  }, re = (e, o, t = !1) => {
299
- const r = Pe.exec(e);
299
+ const r = je.exec(e);
300
300
  return r ? r[1] ? o(r[1]) : t : !1;
301
- }, Te = (e) => e === "position" || e === "percentage", Ee = (e) => e === "image" || e === "url", Ge = (e) => e === "length" || e === "size" || e === "bg-size", Le = (e) => e === "length", Mr = (e) => e === "number", Pr = (e) => e === "family-name", Oe = (e) => e === "shadow", jr = () => {
302
- const e = z("color"), o = z("font"), t = z("text"), r = z("font-weight"), n = z("tracking"), i = z("leading"), s = z("breakpoint"), p = z("container"), d = z("spacing"), g = z("radius"), x = z("shadow"), k = z("inset-shadow"), v = z("text-shadow"), N = z("drop-shadow"), A = z("blur"), S = z("perspective"), _ = z("aspect"), G = z("ease"), V = z("animate"), B = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], L = () => [
301
+ }, Le = (e) => e === "position" || e === "percentage", Te = (e) => e === "image" || e === "url", Ee = (e) => e === "length" || e === "size" || e === "bg-size", Ge = (e) => e === "length", Mr = (e) => e === "number", jr = (e) => e === "family-name", Oe = (e) => e === "shadow", Pr = () => {
302
+ const e = z("color"), o = z("font"), t = z("text"), r = z("font-weight"), n = z("tracking"), s = z("leading"), a = z("breakpoint"), p = z("container"), d = z("spacing"), g = z("radius"), k = z("shadow"), x = z("inset-shadow"), _ = z("text-shadow"), N = z("drop-shadow"), A = z("blur"), S = z("perspective"), y = z("aspect"), j = z("ease"), G = z("animate"), F = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], O = () => [
303
303
  "center",
304
304
  "top",
305
305
  "bottom",
@@ -317,30 +317,30 @@ const Xe = (e, o) => {
317
317
  "bottom-left",
318
318
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
319
319
  "left-bottom"
320
- ], P = () => [...L(), l, a], I = () => ["auto", "hidden", "clip", "visible", "scroll"], T = () => ["auto", "contain", "none"], u = () => [l, a, d], R = () => [q, "full", "auto", ...u()], J = () => [X, "none", "subgrid", l, a], te = () => ["auto", {
321
- span: ["full", X, l, a]
322
- }, X, l, a], $ = () => [X, "auto", l, a], Q = () => ["auto", "min", "max", "fr", l, a], oe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], U = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], O = () => ["auto", ...u()], W = () => [q, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], c = () => [e, l, a], E = () => [...L(), Ce, Ne, {
323
- position: [l, a]
320
+ ], P = () => [...O(), i, l], I = () => ["auto", "hidden", "clip", "visible", "scroll"], T = () => ["auto", "contain", "none"], u = () => [i, l, d], R = () => [q, "full", "auto", ...u()], J = () => [X, "none", "subgrid", i, l], te = () => ["auto", {
321
+ span: ["full", X, i, l]
322
+ }, X, i, l], $ = () => [X, "auto", i, l], Q = () => ["auto", "min", "max", "fr", i, l], oe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], U = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], B = () => ["auto", ...u()], W = () => [q, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], c = () => [e, i, l], E = () => [...O(), Ce, Ne, {
323
+ position: [i, l]
324
324
  }], K = () => ["no-repeat", {
325
325
  repeat: ["", "x", "y", "space", "round"]
326
326
  }], ne = () => ["auto", "cover", "contain", Ir, zr, {
327
- size: [l, a]
328
- }], Y = () => [be, se, H], C = () => [
327
+ size: [i, l]
328
+ }], Y = () => [be, ae, H], C = () => [
329
329
  // Deprecated since Tailwind CSS v4.0.0
330
330
  "",
331
331
  "none",
332
332
  "full",
333
333
  g,
334
- l,
335
- a
336
- ], M = () => ["", f, se, H], Z = () => ["solid", "dashed", "dotted", "double"], b = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], h = () => [f, be, Ce, Ne], j = () => [
334
+ i,
335
+ l
336
+ ], M = () => ["", f, ae, H], Z = () => ["solid", "dashed", "dotted", "double"], b = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], h = () => [f, be, Ce, Ne], L = () => [
337
337
  // Deprecated since Tailwind CSS v4.0.0
338
338
  "",
339
339
  "none",
340
340
  A,
341
- l,
342
- a
343
- ], F = () => ["none", f, l, a], ae = () => ["none", f, l, a], me = () => [f, l, a], le = () => [q, "full", ...u()];
341
+ i,
342
+ l
343
+ ], V = () => ["none", f, i, l], se = () => ["none", f, i, l], me = () => [f, i, l], le = () => [q, "full", ...u()];
344
344
  return {
345
345
  cacheSize: 500,
346
346
  theme: {
@@ -373,7 +373,7 @@ const Xe = (e, o) => {
373
373
  * @see https://tailwindcss.com/docs/aspect-ratio
374
374
  */
375
375
  aspect: [{
376
- aspect: ["auto", "square", q, a, l, _]
376
+ aspect: ["auto", "square", q, l, i, y]
377
377
  }],
378
378
  /**
379
379
  * Container
@@ -386,21 +386,21 @@ const Xe = (e, o) => {
386
386
  * @see https://tailwindcss.com/docs/columns
387
387
  */
388
388
  columns: [{
389
- columns: [f, a, l, p]
389
+ columns: [f, l, i, p]
390
390
  }],
391
391
  /**
392
392
  * Break After
393
393
  * @see https://tailwindcss.com/docs/break-after
394
394
  */
395
395
  "break-after": [{
396
- "break-after": B()
396
+ "break-after": F()
397
397
  }],
398
398
  /**
399
399
  * Break Before
400
400
  * @see https://tailwindcss.com/docs/break-before
401
401
  */
402
402
  "break-before": [{
403
- "break-before": B()
403
+ "break-before": F()
404
404
  }],
405
405
  /**
406
406
  * Break Inside
@@ -586,7 +586,7 @@ const Xe = (e, o) => {
586
586
  * @see https://tailwindcss.com/docs/z-index
587
587
  */
588
588
  z: [{
589
- z: [X, "auto", l, a]
589
+ z: [X, "auto", i, l]
590
590
  }],
591
591
  // ------------------------
592
592
  // --- Flexbox and Grid ---
@@ -617,28 +617,28 @@ const Xe = (e, o) => {
617
617
  * @see https://tailwindcss.com/docs/flex
618
618
  */
619
619
  flex: [{
620
- flex: [f, q, "auto", "initial", "none", a]
620
+ flex: [f, q, "auto", "initial", "none", l]
621
621
  }],
622
622
  /**
623
623
  * Flex Grow
624
624
  * @see https://tailwindcss.com/docs/flex-grow
625
625
  */
626
626
  grow: [{
627
- grow: ["", f, l, a]
627
+ grow: ["", f, i, l]
628
628
  }],
629
629
  /**
630
630
  * Flex Shrink
631
631
  * @see https://tailwindcss.com/docs/flex-shrink
632
632
  */
633
633
  shrink: [{
634
- shrink: ["", f, l, a]
634
+ shrink: ["", f, i, l]
635
635
  }],
636
636
  /**
637
637
  * Order
638
638
  * @see https://tailwindcss.com/docs/order
639
639
  */
640
640
  order: [{
641
- order: [X, "first", "last", "none", l, a]
641
+ order: [X, "first", "last", "none", i, l]
642
642
  }],
643
643
  /**
644
644
  * Grid Template Columns
@@ -874,63 +874,63 @@ const Xe = (e, o) => {
874
874
  * @see https://tailwindcss.com/docs/margin
875
875
  */
876
876
  m: [{
877
- m: O()
877
+ m: B()
878
878
  }],
879
879
  /**
880
880
  * Margin X
881
881
  * @see https://tailwindcss.com/docs/margin
882
882
  */
883
883
  mx: [{
884
- mx: O()
884
+ mx: B()
885
885
  }],
886
886
  /**
887
887
  * Margin Y
888
888
  * @see https://tailwindcss.com/docs/margin
889
889
  */
890
890
  my: [{
891
- my: O()
891
+ my: B()
892
892
  }],
893
893
  /**
894
894
  * Margin Start
895
895
  * @see https://tailwindcss.com/docs/margin
896
896
  */
897
897
  ms: [{
898
- ms: O()
898
+ ms: B()
899
899
  }],
900
900
  /**
901
901
  * Margin End
902
902
  * @see https://tailwindcss.com/docs/margin
903
903
  */
904
904
  me: [{
905
- me: O()
905
+ me: B()
906
906
  }],
907
907
  /**
908
908
  * Margin Top
909
909
  * @see https://tailwindcss.com/docs/margin
910
910
  */
911
911
  mt: [{
912
- mt: O()
912
+ mt: B()
913
913
  }],
914
914
  /**
915
915
  * Margin Right
916
916
  * @see https://tailwindcss.com/docs/margin
917
917
  */
918
918
  mr: [{
919
- mr: O()
919
+ mr: B()
920
920
  }],
921
921
  /**
922
922
  * Margin Bottom
923
923
  * @see https://tailwindcss.com/docs/margin
924
924
  */
925
925
  mb: [{
926
- mb: O()
926
+ mb: B()
927
927
  }],
928
928
  /**
929
929
  * Margin Left
930
930
  * @see https://tailwindcss.com/docs/margin
931
931
  */
932
932
  ml: [{
933
- ml: O()
933
+ ml: B()
934
934
  }],
935
935
  /**
936
936
  * Space Between X
@@ -999,7 +999,7 @@ const Xe = (e, o) => {
999
999
  "prose",
1000
1000
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1001
1001
  {
1002
- screen: [s]
1002
+ screen: [a]
1003
1003
  },
1004
1004
  ...W()
1005
1005
  ]
@@ -1033,7 +1033,7 @@ const Xe = (e, o) => {
1033
1033
  * @see https://tailwindcss.com/docs/font-size
1034
1034
  */
1035
1035
  "font-size": [{
1036
- text: ["base", t, se, H]
1036
+ text: ["base", t, ae, H]
1037
1037
  }],
1038
1038
  /**
1039
1039
  * Font Smoothing
@@ -1050,21 +1050,21 @@ const Xe = (e, o) => {
1050
1050
  * @see https://tailwindcss.com/docs/font-weight
1051
1051
  */
1052
1052
  "font-weight": [{
1053
- font: [r, l, fe]
1053
+ font: [r, i, fe]
1054
1054
  }],
1055
1055
  /**
1056
1056
  * Font Stretch
1057
1057
  * @see https://tailwindcss.com/docs/font-stretch
1058
1058
  */
1059
1059
  "font-stretch": [{
1060
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", be, a]
1060
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", be, l]
1061
1061
  }],
1062
1062
  /**
1063
1063
  * Font Family
1064
1064
  * @see https://tailwindcss.com/docs/font-family
1065
1065
  */
1066
1066
  "font-family": [{
1067
- font: [Ar, a, o]
1067
+ font: [Ar, l, o]
1068
1068
  }],
1069
1069
  /**
1070
1070
  * Font Variant Numeric
@@ -1101,14 +1101,14 @@ const Xe = (e, o) => {
1101
1101
  * @see https://tailwindcss.com/docs/letter-spacing
1102
1102
  */
1103
1103
  tracking: [{
1104
- tracking: [n, l, a]
1104
+ tracking: [n, i, l]
1105
1105
  }],
1106
1106
  /**
1107
1107
  * Line Clamp
1108
1108
  * @see https://tailwindcss.com/docs/line-clamp
1109
1109
  */
1110
1110
  "line-clamp": [{
1111
- "line-clamp": [f, "none", l, fe]
1111
+ "line-clamp": [f, "none", i, fe]
1112
1112
  }],
1113
1113
  /**
1114
1114
  * Line Height
@@ -1117,7 +1117,7 @@ const Xe = (e, o) => {
1117
1117
  leading: [{
1118
1118
  leading: [
1119
1119
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1120
- i,
1120
+ s,
1121
1121
  ...u()
1122
1122
  ]
1123
1123
  }],
@@ -1126,7 +1126,7 @@ const Xe = (e, o) => {
1126
1126
  * @see https://tailwindcss.com/docs/list-style-image
1127
1127
  */
1128
1128
  "list-image": [{
1129
- "list-image": ["none", l, a]
1129
+ "list-image": ["none", i, l]
1130
1130
  }],
1131
1131
  /**
1132
1132
  * List Style Position
@@ -1140,7 +1140,7 @@ const Xe = (e, o) => {
1140
1140
  * @see https://tailwindcss.com/docs/list-style-type
1141
1141
  */
1142
1142
  "list-style-type": [{
1143
- list: ["disc", "decimal", "none", l, a]
1143
+ list: ["disc", "decimal", "none", i, l]
1144
1144
  }],
1145
1145
  /**
1146
1146
  * Text Alignment
@@ -1181,7 +1181,7 @@ const Xe = (e, o) => {
1181
1181
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1182
1182
  */
1183
1183
  "text-decoration-thickness": [{
1184
- decoration: [f, "from-font", "auto", l, H]
1184
+ decoration: [f, "from-font", "auto", i, H]
1185
1185
  }],
1186
1186
  /**
1187
1187
  * Text Decoration Color
@@ -1195,7 +1195,7 @@ const Xe = (e, o) => {
1195
1195
  * @see https://tailwindcss.com/docs/text-underline-offset
1196
1196
  */
1197
1197
  "underline-offset": [{
1198
- "underline-offset": [f, "auto", l, a]
1198
+ "underline-offset": [f, "auto", i, l]
1199
1199
  }],
1200
1200
  /**
1201
1201
  * Text Transform
@@ -1226,7 +1226,7 @@ const Xe = (e, o) => {
1226
1226
  * @see https://tailwindcss.com/docs/vertical-align
1227
1227
  */
1228
1228
  "vertical-align": [{
1229
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", l, a]
1229
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", i, l]
1230
1230
  }],
1231
1231
  /**
1232
1232
  * Whitespace
@@ -1261,7 +1261,7 @@ const Xe = (e, o) => {
1261
1261
  * @see https://tailwindcss.com/docs/content
1262
1262
  */
1263
1263
  content: [{
1264
- content: ["none", l, a]
1264
+ content: ["none", i, l]
1265
1265
  }],
1266
1266
  // -------------------
1267
1267
  // --- Backgrounds ---
@@ -1316,9 +1316,9 @@ const Xe = (e, o) => {
1316
1316
  bg: ["none", {
1317
1317
  linear: [{
1318
1318
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1319
- }, X, l, a],
1320
- radial: ["", l, a],
1321
- conic: [X, l, a]
1319
+ }, X, i, l],
1320
+ radial: ["", i, l],
1321
+ conic: [X, i, l]
1322
1322
  }, Rr, Sr]
1323
1323
  }],
1324
1324
  /**
@@ -1661,14 +1661,14 @@ const Xe = (e, o) => {
1661
1661
  * @see https://tailwindcss.com/docs/outline-offset
1662
1662
  */
1663
1663
  "outline-offset": [{
1664
- "outline-offset": [f, l, a]
1664
+ "outline-offset": [f, i, l]
1665
1665
  }],
1666
1666
  /**
1667
1667
  * Outline Width
1668
1668
  * @see https://tailwindcss.com/docs/outline-width
1669
1669
  */
1670
1670
  "outline-w": [{
1671
- outline: ["", f, se, H]
1671
+ outline: ["", f, ae, H]
1672
1672
  }],
1673
1673
  /**
1674
1674
  * Outline Color
@@ -1689,7 +1689,7 @@ const Xe = (e, o) => {
1689
1689
  // Deprecated since Tailwind CSS v4.0.0
1690
1690
  "",
1691
1691
  "none",
1692
- x,
1692
+ k,
1693
1693
  de,
1694
1694
  ie
1695
1695
  ]
@@ -1706,7 +1706,7 @@ const Xe = (e, o) => {
1706
1706
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1707
1707
  */
1708
1708
  "inset-shadow": [{
1709
- "inset-shadow": ["none", k, de, ie]
1709
+ "inset-shadow": ["none", x, de, ie]
1710
1710
  }],
1711
1711
  /**
1712
1712
  * Inset Box Shadow Color
@@ -1773,7 +1773,7 @@ const Xe = (e, o) => {
1773
1773
  * @see https://tailwindcss.com/docs/text-shadow
1774
1774
  */
1775
1775
  "text-shadow": [{
1776
- "text-shadow": ["none", v, de, ie]
1776
+ "text-shadow": ["none", _, de, ie]
1777
1777
  }],
1778
1778
  /**
1779
1779
  * Text Shadow Color
@@ -1787,7 +1787,7 @@ const Xe = (e, o) => {
1787
1787
  * @see https://tailwindcss.com/docs/opacity
1788
1788
  */
1789
1789
  opacity: [{
1790
- opacity: [f, l, a]
1790
+ opacity: [f, i, l]
1791
1791
  }],
1792
1792
  /**
1793
1793
  * Mix Blend Mode
@@ -1909,7 +1909,7 @@ const Xe = (e, o) => {
1909
1909
  "mask-y-to": c()
1910
1910
  }],
1911
1911
  "mask-image-radial": [{
1912
- "mask-radial": [l, a]
1912
+ "mask-radial": [i, l]
1913
1913
  }],
1914
1914
  "mask-image-radial-from-pos": [{
1915
1915
  "mask-radial-from": h()
@@ -1933,7 +1933,7 @@ const Xe = (e, o) => {
1933
1933
  }]
1934
1934
  }],
1935
1935
  "mask-image-radial-pos": [{
1936
- "mask-radial-at": L()
1936
+ "mask-radial-at": O()
1937
1937
  }],
1938
1938
  "mask-image-conic-pos": [{
1939
1939
  "mask-conic": [f]
@@ -1997,7 +1997,7 @@ const Xe = (e, o) => {
1997
1997
  * @see https://tailwindcss.com/docs/mask-image
1998
1998
  */
1999
1999
  "mask-image": [{
2000
- mask: ["none", l, a]
2000
+ mask: ["none", i, l]
2001
2001
  }],
2002
2002
  // ---------------
2003
2003
  // --- Filters ---
@@ -2011,8 +2011,8 @@ const Xe = (e, o) => {
2011
2011
  // Deprecated since Tailwind CSS v3.0.0
2012
2012
  "",
2013
2013
  "none",
2014
- l,
2015
- a
2014
+ i,
2015
+ l
2016
2016
  ]
2017
2017
  }],
2018
2018
  /**
@@ -2020,21 +2020,21 @@ const Xe = (e, o) => {
2020
2020
  * @see https://tailwindcss.com/docs/blur
2021
2021
  */
2022
2022
  blur: [{
2023
- blur: j()
2023
+ blur: L()
2024
2024
  }],
2025
2025
  /**
2026
2026
  * Brightness
2027
2027
  * @see https://tailwindcss.com/docs/brightness
2028
2028
  */
2029
2029
  brightness: [{
2030
- brightness: [f, l, a]
2030
+ brightness: [f, i, l]
2031
2031
  }],
2032
2032
  /**
2033
2033
  * Contrast
2034
2034
  * @see https://tailwindcss.com/docs/contrast
2035
2035
  */
2036
2036
  contrast: [{
2037
- contrast: [f, l, a]
2037
+ contrast: [f, i, l]
2038
2038
  }],
2039
2039
  /**
2040
2040
  * Drop Shadow
@@ -2062,35 +2062,35 @@ const Xe = (e, o) => {
2062
2062
  * @see https://tailwindcss.com/docs/grayscale
2063
2063
  */
2064
2064
  grayscale: [{
2065
- grayscale: ["", f, l, a]
2065
+ grayscale: ["", f, i, l]
2066
2066
  }],
2067
2067
  /**
2068
2068
  * Hue Rotate
2069
2069
  * @see https://tailwindcss.com/docs/hue-rotate
2070
2070
  */
2071
2071
  "hue-rotate": [{
2072
- "hue-rotate": [f, l, a]
2072
+ "hue-rotate": [f, i, l]
2073
2073
  }],
2074
2074
  /**
2075
2075
  * Invert
2076
2076
  * @see https://tailwindcss.com/docs/invert
2077
2077
  */
2078
2078
  invert: [{
2079
- invert: ["", f, l, a]
2079
+ invert: ["", f, i, l]
2080
2080
  }],
2081
2081
  /**
2082
2082
  * Saturate
2083
2083
  * @see https://tailwindcss.com/docs/saturate
2084
2084
  */
2085
2085
  saturate: [{
2086
- saturate: [f, l, a]
2086
+ saturate: [f, i, l]
2087
2087
  }],
2088
2088
  /**
2089
2089
  * Sepia
2090
2090
  * @see https://tailwindcss.com/docs/sepia
2091
2091
  */
2092
2092
  sepia: [{
2093
- sepia: ["", f, l, a]
2093
+ sepia: ["", f, i, l]
2094
2094
  }],
2095
2095
  /**
2096
2096
  * Backdrop Filter
@@ -2101,8 +2101,8 @@ const Xe = (e, o) => {
2101
2101
  // Deprecated since Tailwind CSS v3.0.0
2102
2102
  "",
2103
2103
  "none",
2104
- l,
2105
- a
2104
+ i,
2105
+ l
2106
2106
  ]
2107
2107
  }],
2108
2108
  /**
@@ -2110,63 +2110,63 @@ const Xe = (e, o) => {
2110
2110
  * @see https://tailwindcss.com/docs/backdrop-blur
2111
2111
  */
2112
2112
  "backdrop-blur": [{
2113
- "backdrop-blur": j()
2113
+ "backdrop-blur": L()
2114
2114
  }],
2115
2115
  /**
2116
2116
  * Backdrop Brightness
2117
2117
  * @see https://tailwindcss.com/docs/backdrop-brightness
2118
2118
  */
2119
2119
  "backdrop-brightness": [{
2120
- "backdrop-brightness": [f, l, a]
2120
+ "backdrop-brightness": [f, i, l]
2121
2121
  }],
2122
2122
  /**
2123
2123
  * Backdrop Contrast
2124
2124
  * @see https://tailwindcss.com/docs/backdrop-contrast
2125
2125
  */
2126
2126
  "backdrop-contrast": [{
2127
- "backdrop-contrast": [f, l, a]
2127
+ "backdrop-contrast": [f, i, l]
2128
2128
  }],
2129
2129
  /**
2130
2130
  * Backdrop Grayscale
2131
2131
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2132
2132
  */
2133
2133
  "backdrop-grayscale": [{
2134
- "backdrop-grayscale": ["", f, l, a]
2134
+ "backdrop-grayscale": ["", f, i, l]
2135
2135
  }],
2136
2136
  /**
2137
2137
  * Backdrop Hue Rotate
2138
2138
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2139
2139
  */
2140
2140
  "backdrop-hue-rotate": [{
2141
- "backdrop-hue-rotate": [f, l, a]
2141
+ "backdrop-hue-rotate": [f, i, l]
2142
2142
  }],
2143
2143
  /**
2144
2144
  * Backdrop Invert
2145
2145
  * @see https://tailwindcss.com/docs/backdrop-invert
2146
2146
  */
2147
2147
  "backdrop-invert": [{
2148
- "backdrop-invert": ["", f, l, a]
2148
+ "backdrop-invert": ["", f, i, l]
2149
2149
  }],
2150
2150
  /**
2151
2151
  * Backdrop Opacity
2152
2152
  * @see https://tailwindcss.com/docs/backdrop-opacity
2153
2153
  */
2154
2154
  "backdrop-opacity": [{
2155
- "backdrop-opacity": [f, l, a]
2155
+ "backdrop-opacity": [f, i, l]
2156
2156
  }],
2157
2157
  /**
2158
2158
  * Backdrop Saturate
2159
2159
  * @see https://tailwindcss.com/docs/backdrop-saturate
2160
2160
  */
2161
2161
  "backdrop-saturate": [{
2162
- "backdrop-saturate": [f, l, a]
2162
+ "backdrop-saturate": [f, i, l]
2163
2163
  }],
2164
2164
  /**
2165
2165
  * Backdrop Sepia
2166
2166
  * @see https://tailwindcss.com/docs/backdrop-sepia
2167
2167
  */
2168
2168
  "backdrop-sepia": [{
2169
- "backdrop-sepia": ["", f, l, a]
2169
+ "backdrop-sepia": ["", f, i, l]
2170
2170
  }],
2171
2171
  // --------------
2172
2172
  // --- Tables ---
@@ -2221,7 +2221,7 @@ const Xe = (e, o) => {
2221
2221
  * @see https://tailwindcss.com/docs/transition-property
2222
2222
  */
2223
2223
  transition: [{
2224
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", l, a]
2224
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", i, l]
2225
2225
  }],
2226
2226
  /**
2227
2227
  * Transition Behavior
@@ -2235,28 +2235,28 @@ const Xe = (e, o) => {
2235
2235
  * @see https://tailwindcss.com/docs/transition-duration
2236
2236
  */
2237
2237
  duration: [{
2238
- duration: [f, "initial", l, a]
2238
+ duration: [f, "initial", i, l]
2239
2239
  }],
2240
2240
  /**
2241
2241
  * Transition Timing Function
2242
2242
  * @see https://tailwindcss.com/docs/transition-timing-function
2243
2243
  */
2244
2244
  ease: [{
2245
- ease: ["linear", "initial", G, l, a]
2245
+ ease: ["linear", "initial", j, i, l]
2246
2246
  }],
2247
2247
  /**
2248
2248
  * Transition Delay
2249
2249
  * @see https://tailwindcss.com/docs/transition-delay
2250
2250
  */
2251
2251
  delay: [{
2252
- delay: [f, l, a]
2252
+ delay: [f, i, l]
2253
2253
  }],
2254
2254
  /**
2255
2255
  * Animation
2256
2256
  * @see https://tailwindcss.com/docs/animation
2257
2257
  */
2258
2258
  animate: [{
2259
- animate: ["none", V, l, a]
2259
+ animate: ["none", G, i, l]
2260
2260
  }],
2261
2261
  // ------------------
2262
2262
  // --- Transforms ---
@@ -2273,7 +2273,7 @@ const Xe = (e, o) => {
2273
2273
  * @see https://tailwindcss.com/docs/perspective
2274
2274
  */
2275
2275
  perspective: [{
2276
- perspective: [S, l, a]
2276
+ perspective: [S, i, l]
2277
2277
  }],
2278
2278
  /**
2279
2279
  * Perspective Origin
@@ -2287,56 +2287,56 @@ const Xe = (e, o) => {
2287
2287
  * @see https://tailwindcss.com/docs/rotate
2288
2288
  */
2289
2289
  rotate: [{
2290
- rotate: F()
2290
+ rotate: V()
2291
2291
  }],
2292
2292
  /**
2293
2293
  * Rotate X
2294
2294
  * @see https://tailwindcss.com/docs/rotate
2295
2295
  */
2296
2296
  "rotate-x": [{
2297
- "rotate-x": F()
2297
+ "rotate-x": V()
2298
2298
  }],
2299
2299
  /**
2300
2300
  * Rotate Y
2301
2301
  * @see https://tailwindcss.com/docs/rotate
2302
2302
  */
2303
2303
  "rotate-y": [{
2304
- "rotate-y": F()
2304
+ "rotate-y": V()
2305
2305
  }],
2306
2306
  /**
2307
2307
  * Rotate Z
2308
2308
  * @see https://tailwindcss.com/docs/rotate
2309
2309
  */
2310
2310
  "rotate-z": [{
2311
- "rotate-z": F()
2311
+ "rotate-z": V()
2312
2312
  }],
2313
2313
  /**
2314
2314
  * Scale
2315
2315
  * @see https://tailwindcss.com/docs/scale
2316
2316
  */
2317
2317
  scale: [{
2318
- scale: ae()
2318
+ scale: se()
2319
2319
  }],
2320
2320
  /**
2321
2321
  * Scale X
2322
2322
  * @see https://tailwindcss.com/docs/scale
2323
2323
  */
2324
2324
  "scale-x": [{
2325
- "scale-x": ae()
2325
+ "scale-x": se()
2326
2326
  }],
2327
2327
  /**
2328
2328
  * Scale Y
2329
2329
  * @see https://tailwindcss.com/docs/scale
2330
2330
  */
2331
2331
  "scale-y": [{
2332
- "scale-y": ae()
2332
+ "scale-y": se()
2333
2333
  }],
2334
2334
  /**
2335
2335
  * Scale Z
2336
2336
  * @see https://tailwindcss.com/docs/scale
2337
2337
  */
2338
2338
  "scale-z": [{
2339
- "scale-z": ae()
2339
+ "scale-z": se()
2340
2340
  }],
2341
2341
  /**
2342
2342
  * Scale 3D
@@ -2369,7 +2369,7 @@ const Xe = (e, o) => {
2369
2369
  * @see https://tailwindcss.com/docs/transform
2370
2370
  */
2371
2371
  transform: [{
2372
- transform: [l, a, "", "none", "gpu", "cpu"]
2372
+ transform: [i, l, "", "none", "gpu", "cpu"]
2373
2373
  }],
2374
2374
  /**
2375
2375
  * Transform Origin
@@ -2454,7 +2454,7 @@ const Xe = (e, o) => {
2454
2454
  * @see https://tailwindcss.com/docs/cursor
2455
2455
  */
2456
2456
  cursor: [{
2457
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", l, a]
2457
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", i, l]
2458
2458
  }],
2459
2459
  /**
2460
2460
  * Field Sizing
@@ -2676,7 +2676,7 @@ const Xe = (e, o) => {
2676
2676
  * @see https://tailwindcss.com/docs/will-change
2677
2677
  */
2678
2678
  "will-change": [{
2679
- "will-change": ["auto", "scroll", "contents", "transform", l, a]
2679
+ "will-change": ["auto", "scroll", "contents", "transform", i, l]
2680
2680
  }],
2681
2681
  // -----------
2682
2682
  // --- SVG ---
@@ -2693,7 +2693,7 @@ const Xe = (e, o) => {
2693
2693
  * @see https://tailwindcss.com/docs/stroke-width
2694
2694
  */
2695
2695
  "stroke-w": [{
2696
- stroke: [f, se, H, fe]
2696
+ stroke: [f, ae, H, fe]
2697
2697
  }],
2698
2698
  /**
2699
2699
  * Stroke
@@ -2768,33 +2768,36 @@ const Xe = (e, o) => {
2768
2768
  },
2769
2769
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2770
2770
  };
2771
- }, Tr = /* @__PURE__ */ pr(jr);
2772
- function y(...e) {
2773
- return Tr(Ye(e));
2771
+ }, Lr = /* @__PURE__ */ pr(Pr);
2772
+ function w(...e) {
2773
+ return Lr(Ye(e));
2774
2774
  }
2775
- const Er = (e, o) => {
2776
- const t = {
2777
- sm: { wrapper: "-ml-10 h-6 w-6", icon: "h-4 w-4" },
2778
- md: { wrapper: "-ml-12 h-8 w-8", icon: "h-6 w-6" },
2779
- lg: { wrapper: "-ml-14 h-10 w-10", icon: "h-6 w-6" }
2780
- }[e], r = o && De(o) ? o : null, n = r ? $e(r, {
2781
- className: y("h-full w-full", r.props.className)
2782
- }) : o;
2775
+ const Tr = (e, o, t) => {
2776
+ const r = {
2777
+ sm: { wrapper: "h-6 w-6", icon: "h-4 w-4", margin: "-ml-10", marginLeft: "-mr-10" },
2778
+ md: { wrapper: "h-8 w-8", icon: "h-6 w-6", margin: "-ml-12", marginLeft: "-mr-12" },
2779
+ lg: { wrapper: "h-10 w-10", icon: "h-6 w-6", margin: "-ml-14", marginLeft: "-mr-14" }
2780
+ }[e], n = o === "right" ? r.margin : r.marginLeft, s = t && De(t) ? t : null, a = s ? $e(s, {
2781
+ className: w("h-full w-full", s.props.className)
2782
+ }) : t;
2783
2783
  return /* @__PURE__ */ m(
2784
2784
  "span",
2785
2785
  {
2786
- className: y(
2787
- t.wrapper,
2786
+ className: w(
2787
+ r.wrapper,
2788
+ n,
2788
2789
  "flex items-center justify-center rounded-full border border-neutral-800 bg-white text-neutral-900 shadow-[0_3px_10px_rgba(0,0,0,0.12)] dark:border-neutral-200 dark:bg-neutral-950 dark:text-neutral-100 dark:shadow-[0_3px_10px_rgba(0,0,0,0.5)]"
2789
2790
  ),
2790
2791
  children: /* @__PURE__ */ m(
2791
2792
  "span",
2792
2793
  {
2793
- className: y(
2794
- t.icon,
2795
- "flex items-center justify-center transition-transform duration-200 ease-out group-hover:translate-x-[2px] group-disabled:translate-x-0"
2794
+ className: w(
2795
+ r.icon,
2796
+ "flex items-center justify-center transition-transform duration-200 ease-out",
2797
+ o === "left" && "group-hover:-translate-x-[2px] group-disabled:translate-x-0",
2798
+ o === "right" && "group-hover:translate-x-[2px] group-disabled:translate-x-0"
2796
2799
  ),
2797
- children: n ?? /* @__PURE__ */ w(
2800
+ children: a ?? /* @__PURE__ */ v(
2798
2801
  "svg",
2799
2802
  {
2800
2803
  viewBox: "0 0 24 24",
@@ -2803,7 +2806,7 @@ const Er = (e, o) => {
2803
2806
  strokeWidth: "2",
2804
2807
  strokeLinecap: "round",
2805
2808
  strokeLinejoin: "round",
2806
- className: "h-full w-full",
2809
+ className: w("h-full w-full", o === "left" && "rotate-180"),
2807
2810
  "aria-hidden": "true",
2808
2811
  children: [
2809
2812
  /* @__PURE__ */ m("path", { d: "M5 12h12" }),
@@ -2816,61 +2819,68 @@ const Er = (e, o) => {
2816
2819
  }
2817
2820
  );
2818
2821
  };
2819
- function Gr({
2822
+ function Er({
2820
2823
  title: e,
2821
2824
  description: o,
2822
2825
  action: t,
2823
2826
  icon: r,
2824
2827
  size: n = "md",
2825
- variant: i = "default",
2826
- color: s = "green",
2828
+ variant: s = "default",
2829
+ color: a = "green",
2827
2830
  customColor: p,
2828
2831
  className: d,
2829
2832
  type: g = "button",
2830
- children: x,
2831
- ...k
2833
+ children: k,
2834
+ defaultActionPosition: x = "right",
2835
+ ..._
2832
2836
  }) {
2833
- const v = e != null || o != null, N = i === "default" ? s === "orange" ? "bg-[#F0822D]" : s === "custom" ? "" : "bg-[#00A167]" : "bg-transparent", A = i === "default" && s === "custom" ? { backgroundColor: p } : void 0, S = v ? /* @__PURE__ */ w("span", { className: "flex flex-col gap-1 text-start", children: [
2837
+ const N = e != null || o != null, A = s === "default" ? a === "orange" ? "bg-[#F0822D]" : a === "custom" ? "" : "bg-[#00A167]" : "bg-transparent", S = s === "default" && a === "custom" ? { backgroundColor: p } : void 0, y = N ? /* @__PURE__ */ v("span", { className: "flex flex-col gap-1 text-start", children: [
2834
2838
  e ? /* @__PURE__ */ m("span", { className: "text-lg font-semibold", children: e }) : null,
2835
2839
  o ? /* @__PURE__ */ m("span", { className: "text-sm text-neutral-600 dark:text-neutral-300", children: o }) : null
2836
- ] }) : /* @__PURE__ */ m("span", { className: "text-lg font-semibold", children: x });
2837
- return /* @__PURE__ */ w(
2840
+ ] }) : /* @__PURE__ */ m("span", { className: "text-lg font-semibold", children: k }), j = {
2841
+ sm: x === "right" ? "py-2 pl-6 pr-10" : "py-2 pl-10 pr-6",
2842
+ md: x === "right" ? "py-3 pl-8 pr-12" : "py-3 pl-12 pr-8",
2843
+ lg: x === "right" ? "py-3 pl-10 pr-14" : "py-3 pl-14 pr-10"
2844
+ }[n], G = {
2845
+ sm: "px-5",
2846
+ md: "px-6",
2847
+ lg: "px-7"
2848
+ }[n];
2849
+ return /* @__PURE__ */ v(
2838
2850
  "button",
2839
2851
  {
2840
2852
  type: g,
2841
- className: y(
2853
+ className: w(
2842
2854
  "group inline-flex cursor-pointer items-stretch overflow-hidden rounded-md border border-neutral-800 text-neutral-900 shadow-[0_4px_4px_rgba(0,0,0,0.2)] transition-shadow duration-200 ease-out hover:shadow-[0_8px_5px_rgba(0,0,0,0.18)] disabled:cursor-not-allowed disabled:opacity-60 disabled:shadow-[0_4px_12px_rgba(0,0,0,0.12)] dark:border-neutral-200 dark:text-neutral-100 dark:shadow-[0_8px_18px_rgba(0,0,0,0.45)] dark:hover:shadow-[0_10px_22px_rgba(0,0,0,0.5)] dark:disabled:shadow-[0_6px_16px_rgba(0,0,0,0.35)]",
2843
- i === "default" ? "bg-white dark:bg-neutral-950" : "bg-transparent",
2855
+ s === "default" ? "bg-white dark:bg-neutral-950" : "bg-transparent",
2844
2856
  n === "sm" && "text-sm",
2845
2857
  n === "md" && "text-base",
2846
2858
  n === "lg" && "text-lg",
2847
2859
  d
2848
2860
  ),
2849
- ...k,
2861
+ ..._,
2850
2862
  children: [
2851
2863
  /* @__PURE__ */ m(
2852
2864
  "span",
2853
2865
  {
2854
- className: y(
2866
+ className: w(
2855
2867
  "flex items-center",
2856
- n === "sm" && "py-2 pl-6 pr-10",
2857
- n === "md" && "py-3 pl-8 pr-12",
2858
- n === "lg" && "py-3 pl-10 pr-14"
2868
+ j
2859
2869
  ),
2860
- children: S
2870
+ children: y
2861
2871
  }
2862
2872
  ),
2863
2873
  /* @__PURE__ */ m(
2864
2874
  "span",
2865
2875
  {
2866
- className: y(
2867
- "relative flex items-center justify-center rounded-r-md px-6 transition-colors duration-200 ease-out group-disabled:opacity-70",
2868
- N,
2869
- n === "sm" && "px-5",
2870
- n === "lg" && "px-7"
2876
+ className: w(
2877
+ "relative flex items-center justify-center transition-colors duration-200 ease-out group-disabled:opacity-70",
2878
+ x === "right" ? "rounded-r-md" : "rounded-l-md order-first",
2879
+ A,
2880
+ G
2871
2881
  ),
2872
- style: A,
2873
- children: t ?? Er(n, r)
2882
+ style: S,
2883
+ children: t ?? Tr(n, x, r)
2874
2884
  }
2875
2885
  )
2876
2886
  ]
@@ -2884,32 +2894,32 @@ const Be = ue(
2884
2894
  error: t,
2885
2895
  icon: r,
2886
2896
  wrapperClassName: n,
2887
- id: i,
2888
- required: s,
2897
+ id: s,
2898
+ required: a,
2889
2899
  className: p,
2890
2900
  ...d
2891
2901
  }, g) => {
2892
- const x = he(), k = i ?? x, v = t ?? o, N = !!t;
2893
- return /* @__PURE__ */ w("div", { className: y("space-y-2", n), children: [
2894
- e ? /* @__PURE__ */ w(
2902
+ const k = he(), x = s ?? k, _ = t ?? o, N = !!t;
2903
+ return /* @__PURE__ */ v("div", { className: w("space-y-2", n), children: [
2904
+ e ? /* @__PURE__ */ v(
2895
2905
  "label",
2896
2906
  {
2897
- htmlFor: k,
2907
+ htmlFor: x,
2898
2908
  className: "text-sm font-semibold text-neutral-900 dark:text-neutral-100",
2899
2909
  children: [
2900
2910
  e,
2901
- s ? /* @__PURE__ */ m("span", { className: "ml-1 text-red-500", "aria-hidden": "true", children: "*" }) : null
2911
+ a ? /* @__PURE__ */ m("span", { className: "ml-1 text-red-500", "aria-hidden": "true", children: "*" }) : null
2902
2912
  ]
2903
2913
  }
2904
2914
  ) : null,
2905
- /* @__PURE__ */ w("div", { className: "relative", children: [
2915
+ /* @__PURE__ */ v("div", { className: "relative", children: [
2906
2916
  /* @__PURE__ */ m(
2907
2917
  "input",
2908
2918
  {
2909
2919
  ref: g,
2910
- id: k,
2911
- required: s,
2912
- className: y(
2920
+ id: x,
2921
+ required: a,
2922
+ className: w(
2913
2923
  "w-full rounded-md border border-neutral-800 bg-white px-4 py-3 text-base text-neutral-900 shadow-[0_4px_4px_rgba(0,0,0,0.2)] transition focus:outline-none focus:ring-2 focus:ring-neutral-900/15 disabled:cursor-not-allowed disabled:opacity-60 dark:border-neutral-200 dark:bg-neutral-950 dark:text-neutral-100 dark:shadow-[0_6px_14px_rgba(0,0,0,0.45)] dark:focus:ring-neutral-100/15",
2914
2924
  N && "border-red-500 focus:ring-red-500/20 dark:border-red-400 dark:focus:ring-red-400/20",
2915
2925
  r && "pr-12",
@@ -2920,14 +2930,14 @@ const Be = ue(
2920
2930
  ),
2921
2931
  r ? /* @__PURE__ */ m("span", { className: "pointer-events-none absolute right-4 top-1/2 -translate-y-1/2 text-neutral-500 dark:text-neutral-400", children: r }) : null
2922
2932
  ] }),
2923
- v ? /* @__PURE__ */ m(
2933
+ _ ? /* @__PURE__ */ m(
2924
2934
  "p",
2925
2935
  {
2926
- className: y(
2936
+ className: w(
2927
2937
  "text-sm",
2928
2938
  N ? "text-red-600 dark:text-red-400" : "text-neutral-600 dark:text-neutral-300"
2929
2939
  ),
2930
- children: v
2940
+ children: _
2931
2941
  }
2932
2942
  ) : null
2933
2943
  ] });
@@ -2941,49 +2951,49 @@ const Fe = ue(
2941
2951
  error: t,
2942
2952
  icon: r,
2943
2953
  buttonLabel: n = "Action",
2944
- buttonProps: i,
2945
- color: s = "green",
2954
+ buttonProps: s,
2955
+ color: a = "green",
2946
2956
  customColor: p,
2947
2957
  wrapperClassName: d,
2948
2958
  inputClassName: g,
2949
- buttonClassName: x,
2950
- id: k,
2951
- required: v,
2959
+ buttonClassName: k,
2960
+ id: x,
2961
+ required: _,
2952
2962
  className: N,
2953
2963
  disabled: A,
2954
2964
  ...S
2955
- }, _) => {
2956
- const G = he(), V = k ?? G, B = t ?? o, L = !!t, { className: P, ...I } = i ?? {}, T = I.disabled ?? A, u = s === "orange" ? "bg-[#F0822D]" : s === "custom" ? "" : "bg-[#00A167]", R = s === "custom" ? { backgroundColor: p } : void 0;
2957
- return /* @__PURE__ */ w("div", { className: y("space-y-2", d), children: [
2958
- e ? /* @__PURE__ */ w(
2965
+ }, y) => {
2966
+ const j = he(), G = x ?? j, F = t ?? o, O = !!t, { className: P, ...I } = s ?? {}, T = I.disabled ?? A, u = a === "orange" ? "bg-[#F0822D]" : a === "custom" ? "" : "bg-[#00A167]", R = a === "custom" ? { backgroundColor: p } : void 0;
2967
+ return /* @__PURE__ */ v("div", { className: w("space-y-2", d), children: [
2968
+ e ? /* @__PURE__ */ v(
2959
2969
  "label",
2960
2970
  {
2961
- htmlFor: V,
2971
+ htmlFor: G,
2962
2972
  className: "text-sm font-semibold text-neutral-900 dark:text-neutral-100",
2963
2973
  children: [
2964
2974
  e,
2965
- v ? /* @__PURE__ */ m("span", { className: "ml-1 text-red-500", "aria-hidden": "true", children: "*" }) : null
2975
+ _ ? /* @__PURE__ */ m("span", { className: "ml-1 text-red-500", "aria-hidden": "true", children: "*" }) : null
2966
2976
  ]
2967
2977
  }
2968
2978
  ) : null,
2969
- /* @__PURE__ */ w("div", { className: y("relative flex items-stretch", N), children: [
2979
+ /* @__PURE__ */ v("div", { className: w("relative flex items-stretch", N), children: [
2970
2980
  /* @__PURE__ */ m(
2971
2981
  "input",
2972
2982
  {
2973
- ref: _,
2974
- id: V,
2975
- required: v,
2983
+ ref: y,
2984
+ id: G,
2985
+ required: _,
2976
2986
  disabled: A,
2977
- className: y(
2987
+ className: w(
2978
2988
  "w-full rounded-l-md rounded-r-none border border-neutral-800 border-r-0 bg-white px-4 py-3 text-base text-neutral-900 shadow-[0_4px_4px_rgba(0,0,0,0.2)] transition focus:outline-none focus:ring-2 focus:ring-neutral-900/15 disabled:cursor-not-allowed disabled:opacity-60 dark:border-neutral-200 dark:bg-neutral-950 dark:text-neutral-100 dark:shadow-[0_6px_14px_rgba(0,0,0,0.45)] dark:focus:ring-neutral-100/15",
2979
- L && "border-red-500 focus:ring-red-500/20 dark:border-red-400 dark:focus:ring-red-400/20",
2989
+ O && "border-red-500 focus:ring-red-500/20 dark:border-red-400 dark:focus:ring-red-400/20",
2980
2990
  r && "pr-20",
2981
2991
  g
2982
2992
  ),
2983
2993
  ...S
2984
2994
  }
2985
2995
  ),
2986
- /* @__PURE__ */ w("div", { className: "relative flex", children: [
2996
+ /* @__PURE__ */ v("div", { className: "relative flex", children: [
2987
2997
  r ? /* @__PURE__ */ m("span", { className: "pointer-events-none absolute -left-5 top-1/2 z-10 flex h-10 w-10 -translate-y-1/2 items-center justify-center rounded-full border border-neutral-800 bg-white text-neutral-700 shadow-[0_3px_10px_rgba(0,0,0,0.12)] dark:border-neutral-200 dark:bg-neutral-950 dark:text-neutral-200 dark:shadow-[0_3px_10px_rgba(0,0,0,0.5)]", children: r }) : null,
2988
2998
  /* @__PURE__ */ m(
2989
2999
  "button",
@@ -2991,11 +3001,11 @@ const Fe = ue(
2991
3001
  type: "button",
2992
3002
  ...I,
2993
3003
  disabled: T,
2994
- className: y(
3004
+ className: w(
2995
3005
  "inline-flex items-center justify-center rounded-r-md rounded-l-none border border-neutral-800 border-l-0 px-6 text-sm font-semibold uppercase tracking-wide text-white shadow-[0_4px_4px_rgba(0,0,0,0.2)] transition hover:shadow-[0_6px_8px_rgba(0,0,0,0.18)] disabled:cursor-not-allowed disabled:opacity-60 dark:border-neutral-200 dark:shadow-[0_8px_18px_rgba(0,0,0,0.45)]",
2996
3006
  u,
2997
3007
  P,
2998
- x
3008
+ k
2999
3009
  ),
3000
3010
  style: R,
3001
3011
  children: n
@@ -3003,14 +3013,14 @@ const Fe = ue(
3003
3013
  )
3004
3014
  ] })
3005
3015
  ] }),
3006
- B ? /* @__PURE__ */ m(
3016
+ F ? /* @__PURE__ */ m(
3007
3017
  "p",
3008
3018
  {
3009
- className: y(
3019
+ className: w(
3010
3020
  "text-sm",
3011
- L ? "text-red-600 dark:text-red-400" : "text-neutral-600 dark:text-neutral-300"
3021
+ O ? "text-red-600 dark:text-red-400" : "text-neutral-600 dark:text-neutral-300"
3012
3022
  ),
3013
- children: B
3023
+ children: F
3014
3024
  }
3015
3025
  ) : null
3016
3026
  ] });
@@ -3024,43 +3034,43 @@ const Ve = ue(
3024
3034
  error: t,
3025
3035
  options: r,
3026
3036
  placeholder: n,
3027
- icon: i,
3028
- searchable: s,
3037
+ icon: s,
3038
+ searchable: a,
3029
3039
  wrapperClassName: p,
3030
3040
  id: d,
3031
3041
  required: g,
3032
- className: x,
3033
- children: k,
3034
- name: v,
3042
+ className: k,
3043
+ children: x,
3044
+ name: _,
3035
3045
  multiple: N,
3036
3046
  disabled: A,
3037
3047
  value: S,
3038
- defaultValue: _,
3039
- onValueChange: G,
3040
- ...V
3041
- }, B) => {
3042
- const L = he(), P = d ?? L, I = t ?? o, T = !!t, [u, R] = pe(!1), [J, te] = pe(""), $ = Ue(null), Q = ke(() => {
3048
+ defaultValue: y,
3049
+ onValueChange: j,
3050
+ ...G
3051
+ }, F) => {
3052
+ const O = he(), P = d ?? O, I = t ?? o, T = !!t, [u, R] = pe(!1), [J, te] = pe(""), $ = Ue(null), Q = ke(() => {
3043
3053
  if (r)
3044
3054
  return r;
3045
3055
  const b = [];
3046
- return (Array.isArray(k) ? k : [k]).forEach((j) => {
3047
- if (!j || typeof j != "object" || !("props" in j))
3056
+ return (Array.isArray(x) ? x : [x]).forEach((L) => {
3057
+ if (!L || typeof L != "object" || !("props" in L))
3048
3058
  return;
3049
- const F = j.props;
3050
- F?.value != null && b.push({
3051
- label: String(F.children ?? F.value),
3052
- value: String(F.value),
3053
- disabled: F.disabled
3059
+ const V = L.props;
3060
+ V?.value != null && b.push({
3061
+ label: String(V.children ?? V.value),
3062
+ value: String(V.value),
3063
+ disabled: V.disabled
3054
3064
  });
3055
3065
  }), b;
3056
- }, [r, k]), oe = !!s || !!N, U = () => N ? Array.isArray(_) ? _.map(String) : typeof _ == "string" ? [_] : [] : typeof _ == "string" ? _ : "", [O, W] = pe(U), c = S ?? O, E = Array.isArray(c) ? c.map(String) : c ? [String(c)] : [], K = Q.filter((b) => E.includes(b.value)).map((b) => b.label), ne = ke(() => {
3066
+ }, [r, x]), oe = !!a || !!N, U = () => N ? Array.isArray(y) ? y.map(String) : typeof y == "string" ? [y] : [] : typeof y == "string" ? y : "", [B, W] = pe(U), c = S ?? B, E = Array.isArray(c) ? c.map(String) : c ? [String(c)] : [], K = Q.filter((b) => E.includes(b.value)).map((b) => b.label), ne = ke(() => {
3057
3067
  if (!J.trim())
3058
3068
  return Q;
3059
3069
  const b = J.toLowerCase();
3060
3070
  return Q.filter(
3061
3071
  (h) => h.label.toLowerCase().includes(b)
3062
3072
  );
3063
- }, [Q, J]), Y = i === void 0 ? /* @__PURE__ */ m(
3073
+ }, [Q, J]), Y = s === void 0 ? /* @__PURE__ */ m(
3064
3074
  "svg",
3065
3075
  {
3066
3076
  viewBox: "0 0 24 24",
@@ -3073,7 +3083,7 @@ const Ve = ue(
3073
3083
  "aria-hidden": "true",
3074
3084
  children: /* @__PURE__ */ m("path", { d: "m6 9 6 6 6-6" })
3075
3085
  }
3076
- ) : i;
3086
+ ) : s;
3077
3087
  we(() => {
3078
3088
  u || te("");
3079
3089
  }, [u]), we(() => {
@@ -3087,20 +3097,20 @@ const Ve = ue(
3087
3097
  };
3088
3098
  }, [u]);
3089
3099
  const C = (b) => {
3090
- S === void 0 && W(b), G?.(b);
3100
+ S === void 0 && W(b), j?.(b);
3091
3101
  }, M = (b) => {
3092
3102
  if (N) {
3093
- const h = E.includes(b) ? E.filter((j) => j !== b) : [...E, b];
3103
+ const h = E.includes(b) ? E.filter((L) => L !== b) : [...E, b];
3094
3104
  C(h);
3095
3105
  return;
3096
3106
  }
3097
3107
  C(b), R(!1);
3098
3108
  }, Z = (b) => {
3099
- const h = E.filter((j) => j !== b);
3109
+ const h = E.filter((L) => L !== b);
3100
3110
  C(h);
3101
3111
  };
3102
- return oe ? /* @__PURE__ */ w("div", { className: y("space-y-2", p), children: [
3103
- e ? /* @__PURE__ */ w(
3112
+ return oe ? /* @__PURE__ */ v("div", { className: w("space-y-2", p), children: [
3113
+ e ? /* @__PURE__ */ v(
3104
3114
  "label",
3105
3115
  {
3106
3116
  htmlFor: P,
@@ -3111,21 +3121,21 @@ const Ve = ue(
3111
3121
  ]
3112
3122
  }
3113
3123
  ) : null,
3114
- /* @__PURE__ */ w("div", { className: "relative", ref: $, children: [
3115
- /* @__PURE__ */ w(
3124
+ /* @__PURE__ */ v("div", { className: "relative", ref: $, children: [
3125
+ /* @__PURE__ */ v(
3116
3126
  "button",
3117
3127
  {
3118
3128
  type: "button",
3119
3129
  id: P,
3120
3130
  disabled: A,
3121
- className: y(
3131
+ className: w(
3122
3132
  "flex w-full items-center justify-between gap-3 rounded-md border border-neutral-800 bg-white px-4 py-3 text-left text-base text-neutral-900 shadow-[0_4px_4px_rgba(0,0,0,0.2)] transition focus:outline-none focus:ring-2 focus:ring-neutral-900/15 disabled:cursor-not-allowed disabled:opacity-60 dark:border-neutral-200 dark:bg-neutral-950 dark:text-neutral-100 dark:shadow-[0_6px_14px_rgba(0,0,0,0.45)] dark:focus:ring-neutral-100/15",
3123
3133
  T && "border-red-500 focus:ring-red-500/20 dark:border-red-400 dark:focus:ring-red-400/20",
3124
- x
3134
+ k
3125
3135
  ),
3126
3136
  onClick: () => R((b) => !b),
3127
3137
  children: [
3128
- /* @__PURE__ */ m("span", { className: "flex flex-wrap items-center gap-2", children: N && K.length > 0 ? K.map((b, h) => /* @__PURE__ */ w(
3138
+ /* @__PURE__ */ m("span", { className: "flex flex-wrap items-center gap-2", children: N && K.length > 0 ? K.map((b, h) => /* @__PURE__ */ v(
3129
3139
  "span",
3130
3140
  {
3131
3141
  className: "inline-flex items-center gap-2 rounded-full border border-neutral-800 bg-white px-3 py-1 text-sm font-semibold text-neutral-900 shadow-[0_2px_0_rgba(0,0,0,0.12)] dark:border-neutral-200 dark:bg-neutral-950 dark:text-neutral-100",
@@ -3136,8 +3146,8 @@ const Ve = ue(
3136
3146
  {
3137
3147
  type: "button",
3138
3148
  className: "text-xs text-neutral-600 hover:text-neutral-900 dark:text-neutral-400 dark:hover:text-neutral-200",
3139
- onClick: (j) => {
3140
- j.stopPropagation(), Z(E[h]);
3149
+ onClick: (L) => {
3150
+ L.stopPropagation(), Z(E[h]);
3141
3151
  },
3142
3152
  children: "✕"
3143
3153
  }
@@ -3150,16 +3160,16 @@ const Ve = ue(
3150
3160
  ]
3151
3161
  }
3152
3162
  ),
3153
- v ? /* @__PURE__ */ m(
3163
+ _ ? /* @__PURE__ */ m(
3154
3164
  "input",
3155
3165
  {
3156
3166
  type: "hidden",
3157
- name: v,
3167
+ name: _,
3158
3168
  value: N ? E.join(",") : E[0] ?? ""
3159
3169
  }
3160
3170
  ) : null,
3161
- u ? /* @__PURE__ */ w("div", { className: "absolute z-20 mt-2 w-full rounded-md border border-neutral-800 bg-white shadow-[0_12px_24px_rgba(0,0,0,0.18)] dark:border-neutral-200 dark:bg-neutral-950 dark:shadow-[0_16px_28px_rgba(0,0,0,0.5)]", children: [
3162
- s ? /* @__PURE__ */ m("div", { className: "border-b border-neutral-200 px-3 py-2 dark:border-neutral-800", children: /* @__PURE__ */ m(
3171
+ u ? /* @__PURE__ */ v("div", { className: "absolute z-20 mt-2 w-full rounded-md border border-neutral-800 bg-white shadow-[0_12px_24px_rgba(0,0,0,0.18)] dark:border-neutral-200 dark:bg-neutral-950 dark:shadow-[0_16px_28px_rgba(0,0,0,0.5)]", children: [
3172
+ a ? /* @__PURE__ */ m("div", { className: "border-b border-neutral-200 px-3 py-2 dark:border-neutral-800", children: /* @__PURE__ */ m(
3163
3173
  "input",
3164
3174
  {
3165
3175
  type: "text",
@@ -3171,13 +3181,13 @@ const Ve = ue(
3171
3181
  ) }) : null,
3172
3182
  /* @__PURE__ */ m("div", { className: "max-h-56 overflow-auto py-1", children: ne.length === 0 ? /* @__PURE__ */ m("div", { className: "px-4 py-2 text-sm text-neutral-500 dark:text-neutral-400", children: "No results found." }) : ne.map((b) => {
3173
3183
  const h = E.includes(b.value);
3174
- return /* @__PURE__ */ w(
3184
+ return /* @__PURE__ */ v(
3175
3185
  "button",
3176
3186
  {
3177
3187
  type: "button",
3178
3188
  disabled: b.disabled,
3179
3189
  onClick: () => M(b.value),
3180
- className: y(
3190
+ className: w(
3181
3191
  "flex w-full items-center justify-between px-4 py-2 text-sm text-neutral-900 transition hover:bg-neutral-100 disabled:cursor-not-allowed disabled:opacity-60 dark:text-neutral-100 dark:hover:bg-neutral-900",
3182
3192
  h && "bg-neutral-100 font-semibold dark:bg-neutral-900"
3183
3193
  ),
@@ -3194,15 +3204,15 @@ const Ve = ue(
3194
3204
  I ? /* @__PURE__ */ m(
3195
3205
  "p",
3196
3206
  {
3197
- className: y(
3207
+ className: w(
3198
3208
  "text-sm",
3199
3209
  T ? "text-red-600 dark:text-red-400" : "text-neutral-600 dark:text-neutral-300"
3200
3210
  ),
3201
3211
  children: I
3202
3212
  }
3203
3213
  ) : null
3204
- ] }) : /* @__PURE__ */ w("div", { className: y("space-y-2", p), children: [
3205
- e ? /* @__PURE__ */ w(
3214
+ ] }) : /* @__PURE__ */ v("div", { className: w("space-y-2", p), children: [
3215
+ e ? /* @__PURE__ */ v(
3206
3216
  "label",
3207
3217
  {
3208
3218
  htmlFor: P,
@@ -3213,22 +3223,22 @@ const Ve = ue(
3213
3223
  ]
3214
3224
  }
3215
3225
  ) : null,
3216
- /* @__PURE__ */ w("div", { className: "relative", children: [
3217
- /* @__PURE__ */ w(
3226
+ /* @__PURE__ */ v("div", { className: "relative", children: [
3227
+ /* @__PURE__ */ v(
3218
3228
  "select",
3219
3229
  {
3220
- ref: B,
3230
+ ref: F,
3221
3231
  id: P,
3222
3232
  required: g,
3223
3233
  disabled: A,
3224
3234
  multiple: N,
3225
- name: v,
3226
- className: y(
3235
+ name: _,
3236
+ className: w(
3227
3237
  "w-full appearance-none rounded-md border border-neutral-800 bg-white px-4 py-3 pr-12 text-base text-neutral-900 shadow-[0_4px_4px_rgba(0,0,0,0.2)] transition focus:outline-none focus:ring-2 focus:ring-neutral-900/15 disabled:cursor-not-allowed disabled:opacity-60 dark:border-neutral-200 dark:bg-neutral-950 dark:text-neutral-100 dark:shadow-[0_6px_14px_rgba(0,0,0,0.45)] dark:focus:ring-neutral-100/15",
3228
3238
  T && "border-red-500 focus:ring-red-500/20 dark:border-red-400 dark:focus:ring-red-400/20",
3229
- x
3239
+ k
3230
3240
  ),
3231
- ...V,
3241
+ ...G,
3232
3242
  children: [
3233
3243
  n ? /* @__PURE__ */ m("option", { value: "", disabled: !0, hidden: !0, children: n }) : null,
3234
3244
  r ? r.map((b) => /* @__PURE__ */ m(
@@ -3239,7 +3249,7 @@ const Ve = ue(
3239
3249
  children: b.label
3240
3250
  },
3241
3251
  b.value
3242
- )) : k
3252
+ )) : x
3243
3253
  ]
3244
3254
  }
3245
3255
  ),
@@ -3248,7 +3258,7 @@ const Ve = ue(
3248
3258
  I ? /* @__PURE__ */ m(
3249
3259
  "p",
3250
3260
  {
3251
- className: y(
3261
+ className: w(
3252
3262
  "text-sm",
3253
3263
  T ? "text-red-600 dark:text-red-400" : "text-neutral-600 dark:text-neutral-300"
3254
3264
  ),
@@ -3259,7 +3269,7 @@ const Ve = ue(
3259
3269
  }
3260
3270
  );
3261
3271
  Ve.displayName = "Select";
3262
- const Lr = {
3272
+ const Gr = {
3263
3273
  h1: "heading-1 font-display font-normal",
3264
3274
  tussenkop: "heading-3 font-semibold",
3265
3275
  h2: "heading-2",
@@ -3270,13 +3280,13 @@ const Lr = {
3270
3280
  h2: "h2",
3271
3281
  body: "p"
3272
3282
  }, We = ue(
3273
- ({ as: e, variant: o = "body", className: t, children: r, ...n }, i) => {
3274
- const s = e ?? Or[o];
3283
+ ({ as: e, variant: o = "body", className: t, children: r, ...n }, s) => {
3284
+ const a = e ?? Or[o];
3275
3285
  return /* @__PURE__ */ m(
3276
- s,
3286
+ a,
3277
3287
  {
3278
- ref: i,
3279
- className: y(Lr[o], t),
3288
+ ref: s,
3289
+ className: w(Gr[o], t),
3280
3290
  ...n,
3281
3291
  children: r
3282
3292
  }
@@ -3290,33 +3300,33 @@ const Br = ({
3290
3300
  title: t,
3291
3301
  description: r,
3292
3302
  action: n,
3293
- orientation: i = "vertical",
3294
- accent: s = "#00A167",
3303
+ orientation: s = "vertical",
3304
+ accent: a = "#00A167",
3295
3305
  className: p,
3296
3306
  bodyClassName: d
3297
- }) => /* @__PURE__ */ w(
3307
+ }) => /* @__PURE__ */ v(
3298
3308
  "article",
3299
3309
  {
3300
- className: y(
3310
+ className: w(
3301
3311
  "overflow-hidden rounded-2xl border border-neutral-800 bg-white shadow-[0_10px_20px_rgba(0,0,0,0.14)] dark:border-neutral-200 dark:bg-neutral-950 dark:shadow-[0_12px_26px_rgba(0,0,0,0.45)]",
3302
- i === "horizontal" && "grid gap-0 md:grid-cols-[1.1fr_1fr]",
3312
+ s === "horizontal" && "grid gap-0 md:grid-cols-[1.1fr_1fr]",
3303
3313
  p
3304
3314
  ),
3305
3315
  children: [
3306
- e ? /* @__PURE__ */ w("div", { className: "relative overflow-hidden", children: [
3316
+ e ? /* @__PURE__ */ v("div", { className: "relative overflow-hidden", children: [
3307
3317
  o ? /* @__PURE__ */ m("div", { className: "absolute left-4 top-4 z-10 rounded-full bg-[#f4b37a] px-3 py-1 text-xs font-semibold text-[#1d1d1b]", children: o }) : null,
3308
3318
  /* @__PURE__ */ m("div", { className: "h-full w-full", children: e }),
3309
- i == "vertical" ? /* @__PURE__ */ m("div", { className: "absolute inset-x-0 bottom-0 h-2 bg-[#f4b37a]" }) : null
3319
+ s == "vertical" ? /* @__PURE__ */ m("div", { className: "absolute inset-x-0 bottom-0 h-2 bg-[#f4b37a]" }) : null
3310
3320
  ] }) : null,
3311
- /* @__PURE__ */ w(
3321
+ /* @__PURE__ */ v(
3312
3322
  "div",
3313
3323
  {
3314
- className: y(
3324
+ className: w(
3315
3325
  "relative space-y-3 p-6",
3316
- i === "horizontal" && "md:border-l-4",
3326
+ s === "horizontal" && "md:border-l-4",
3317
3327
  d
3318
3328
  ),
3319
- style: i === "horizontal" ? { borderColor: s } : void 0,
3329
+ style: s === "horizontal" ? { borderColor: a } : void 0,
3320
3330
  children: [
3321
3331
  n ? /* @__PURE__ */ m("div", { className: "absolute -top-6 right-6 z-10", children: n }) : null,
3322
3332
  t ? /* @__PURE__ */ m("h3", { className: "heading-2 text-[#1d1d1b] dark:text-[#f1f1ee]", children: t }) : null,
@@ -3326,15 +3336,15 @@ const Br = ({
3326
3336
  )
3327
3337
  ]
3328
3338
  }
3329
- ), Wr = { Button: Gr, Input: Be, InputButton: Fe, Select: Ve, Typography: We, Card: Br };
3339
+ ), Wr = { Button: Er, Input: Be, InputButton: Fe, Select: Ve, Typography: We, Card: Br };
3330
3340
  export {
3331
- Gr as Button,
3341
+ Er as Button,
3332
3342
  Br as Card,
3333
3343
  Be as Input,
3334
3344
  Fe as InputButton,
3335
3345
  Ve as Select,
3336
3346
  We as Typography,
3337
- y as cn,
3347
+ w as cn,
3338
3348
  Wr as default
3339
3349
  };
3340
3350
  //# sourceMappingURL=index.mjs.map