@helden-inc/cce-ui 0.1.2 → 0.1.4

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 _, 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,34 +33,34 @@ 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];
63
+ const x = a[g];
64
64
  if (x.validator(p))
65
65
  return x.classGroupId;
66
66
  }
@@ -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;
159
+ const s = [];
160
+ let a = 0, p = 0, d = 0, g;
161
161
  const x = n.length;
162
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;
163
+ const v = n[S];
164
+ if (a === 0 && p === 0) {
165
+ if (v === ve) {
166
+ s.push(n.slice(d, S)), d = S + 1;
167
167
  continue;
168
168
  }
169
- if (_ === "/") {
169
+ if (v === "/") {
170
170
  g = S;
171
171
  continue;
172
172
  }
173
173
  }
174
- _ === "[" ? s++ : _ === "]" ? s-- : _ === "(" ? p++ : _ === ")" && p--;
174
+ v === "[" ? a++ : v === "]" ? a-- : v === "(" ? p++ : v === ")" && 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 y = s.length === 0 ? n : n.slice(d);
177
+ let k = y, N = !1;
178
+ y.endsWith(ge) ? (k = y.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
+ y.startsWith(ge) && (k = y.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, k, 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,41 +220,41 @@ 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
227
  const x = p[g], {
228
- isExternal: k,
229
- modifiers: v,
228
+ isExternal: y,
229
+ modifiers: k,
230
230
  hasImportantModifier: N,
231
231
  baseClassName: A,
232
232
  maybePostfixModifierPosition: S
233
233
  } = t(x);
234
- if (k) {
234
+ if (y) {
235
235
  d = x + (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 (!_) {
238
+ let v = !!S, j = r(v ? A.substring(0, S) : A);
239
+ if (!j) {
240
+ if (!v) {
241
241
  d = x + (d.length > 0 ? " " + d : d);
242
242
  continue;
243
243
  }
244
- if (G = r(A), !G) {
244
+ if (j = r(A), !j) {
245
245
  d = x + (d.length > 0 ? " " + d : d);
246
246
  continue;
247
247
  }
248
- _ = !1;
248
+ v = !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 O = k.length === 0 ? "" : k.length === 1 ? k[0] : s(k).join(":"), T = N ? O + ge : O, B = T + j;
251
+ if (a.indexOf(B) > -1)
252
252
  continue;
253
- s.push(L);
254
- const P = n(G, _);
253
+ a.push(B);
254
+ const P = n(j, v);
255
255
  for (let I = 0; I < P.length; ++I) {
256
- const T = P[I];
257
- s.push(B + T);
256
+ const E = P[I];
257
+ a.push(T + E);
258
258
  }
259
259
  d = x + (d.length > 0 ? " " + d : d);
260
260
  }
@@ -272,10 +272,10 @@ 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((x, y) => y(x), 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)
@@ -283,23 +283,23 @@ const Xe = (e, o) => {
283
283
  const x = ur(d, t);
284
284
  return n(d, x), x;
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"), x = z("shadow"), y = z("inset-shadow"), k = z("text-shadow"), N = z("drop-shadow"), A = z("blur"), S = z("perspective"), v = z("aspect"), j = z("ease"), O = z("animate"), T = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], B = () => [
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 = () => [...B(), i, l], I = () => ["auto", "hidden", "clip", "visible", "scroll"], E = () => ["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"], F = () => ["auto", ...u()], W = () => [q, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], c = () => [e, i, l], G = () => [...B(), 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, v]
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": T()
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": T()
404
404
  }],
405
405
  /**
406
406
  * Break Inside
@@ -492,21 +492,21 @@ const Xe = (e, o) => {
492
492
  * @see https://tailwindcss.com/docs/overscroll-behavior
493
493
  */
494
494
  overscroll: [{
495
- overscroll: T()
495
+ overscroll: E()
496
496
  }],
497
497
  /**
498
498
  * Overscroll Behavior X
499
499
  * @see https://tailwindcss.com/docs/overscroll-behavior
500
500
  */
501
501
  "overscroll-x": [{
502
- "overscroll-x": T()
502
+ "overscroll-x": E()
503
503
  }],
504
504
  /**
505
505
  * Overscroll Behavior Y
506
506
  * @see https://tailwindcss.com/docs/overscroll-behavior
507
507
  */
508
508
  "overscroll-y": [{
509
- "overscroll-y": T()
509
+ "overscroll-y": E()
510
510
  }],
511
511
  /**
512
512
  * Position
@@ -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: F()
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: F()
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: F()
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: F()
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: F()
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: F()
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: F()
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: F()
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: F()
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 ---
@@ -1292,7 +1292,7 @@ const Xe = (e, o) => {
1292
1292
  * @see https://tailwindcss.com/docs/background-position
1293
1293
  */
1294
1294
  "bg-position": [{
1295
- bg: E()
1295
+ bg: G()
1296
1296
  }],
1297
1297
  /**
1298
1298
  * Background Repeat
@@ -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
@@ -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", y, 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", k, 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": B()
1937
1937
  }],
1938
1938
  "mask-image-conic-pos": [{
1939
1939
  "mask-conic": [f]
@@ -1969,7 +1969,7 @@ const Xe = (e, o) => {
1969
1969
  * @see https://tailwindcss.com/docs/mask-position
1970
1970
  */
1971
1971
  "mask-position": [{
1972
- mask: E()
1972
+ mask: G()
1973
1973
  }],
1974
1974
  /**
1975
1975
  * Mask Repeat
@@ -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", O, 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__ */ _(
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,70 @@ 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
2833
  children: x,
2831
- ...k
2834
+ fullWidth: y = !1,
2835
+ defaultActionPosition: k = "right",
2836
+ ...N
2832
2837
  }) {
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: [
2838
+ const A = e != null || o != null, S = s === "default" ? a === "orange" ? "bg-[#F0822D]" : a === "custom" ? "" : "bg-[#00A167]" : "bg-transparent", v = s === "default" && a === "custom" ? { backgroundColor: p } : void 0, j = A ? /* @__PURE__ */ _("span", { className: "flex flex-col gap-1 text-start", children: [
2834
2839
  e ? /* @__PURE__ */ m("span", { className: "text-lg font-semibold", children: e }) : null,
2835
2840
  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(
2841
+ ] }) : /* @__PURE__ */ m("span", { className: "text-lg font-semibold", children: x }), O = {
2842
+ sm: k === "right" ? "py-2 pl-6 pr-10" : "py-2 pl-10 pr-6",
2843
+ md: k === "right" ? "py-3 pl-8 pr-12" : "py-3 pl-12 pr-8",
2844
+ lg: k === "right" ? "py-3 pl-10 pr-14" : "py-3 pl-14 pr-10"
2845
+ }[n], T = {
2846
+ sm: "px-5",
2847
+ md: "px-6",
2848
+ lg: "px-7"
2849
+ }[n];
2850
+ return /* @__PURE__ */ _(
2838
2851
  "button",
2839
2852
  {
2840
2853
  type: g,
2841
- className: y(
2842
- "group inline-flex cursor-pointer items-stretch overflow-hidden rounded-md border border-neutral-800 text-neutral-900 shadow-[0_4px_4px_rgba(0,0,0,0.2)] transition-shadow duration-200 ease-out hover:shadow-[0_8px_5px_rgba(0,0,0,0.18)] disabled:cursor-not-allowed disabled:opacity-60 disabled:shadow-[0_4px_12px_rgba(0,0,0,0.12)] dark:border-neutral-200 dark:text-neutral-100 dark:shadow-[0_8px_18px_rgba(0,0,0,0.45)] dark:hover:shadow-[0_10px_22px_rgba(0,0,0,0.5)] dark:disabled:shadow-[0_6px_16px_rgba(0,0,0,0.35)]",
2843
- i === "default" ? "bg-white dark:bg-neutral-950" : "bg-transparent",
2854
+ className: w(
2855
+ "group 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)]",
2856
+ y ? "flex w-full" : "inline-flex",
2857
+ s === "default" ? "bg-white dark:bg-neutral-950" : "bg-transparent",
2844
2858
  n === "sm" && "text-sm",
2845
2859
  n === "md" && "text-base",
2846
2860
  n === "lg" && "text-lg",
2847
2861
  d
2848
2862
  ),
2849
- ...k,
2863
+ ...N,
2850
2864
  children: [
2851
2865
  /* @__PURE__ */ m(
2852
2866
  "span",
2853
2867
  {
2854
- className: y(
2855
- "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
+ className: w(
2869
+ "flex flex-1 items-center",
2870
+ O
2859
2871
  ),
2860
- children: S
2872
+ children: j
2861
2873
  }
2862
2874
  ),
2863
2875
  /* @__PURE__ */ m(
2864
2876
  "span",
2865
2877
  {
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"
2878
+ className: w(
2879
+ "relative flex items-center justify-center transition-colors duration-200 ease-out group-disabled:opacity-70",
2880
+ k === "right" ? "rounded-r-md" : "rounded-l-md order-first",
2881
+ S,
2882
+ T
2871
2883
  ),
2872
- style: A,
2873
- children: t ?? Er(n, r)
2884
+ style: v,
2885
+ children: t ?? Tr(n, k, r)
2874
2886
  }
2875
2887
  )
2876
2888
  ]
@@ -2884,32 +2896,32 @@ const Be = ue(
2884
2896
  error: t,
2885
2897
  icon: r,
2886
2898
  wrapperClassName: n,
2887
- id: i,
2888
- required: s,
2899
+ id: s,
2900
+ required: a,
2889
2901
  className: p,
2890
2902
  ...d
2891
2903
  }, 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(
2904
+ const x = he(), y = s ?? x, k = t ?? o, N = !!t;
2905
+ return /* @__PURE__ */ _("div", { className: w("space-y-2", n), children: [
2906
+ e ? /* @__PURE__ */ _(
2895
2907
  "label",
2896
2908
  {
2897
- htmlFor: k,
2909
+ htmlFor: y,
2898
2910
  className: "text-sm font-semibold text-neutral-900 dark:text-neutral-100",
2899
2911
  children: [
2900
2912
  e,
2901
- s ? /* @__PURE__ */ m("span", { className: "ml-1 text-red-500", "aria-hidden": "true", children: "*" }) : null
2913
+ a ? /* @__PURE__ */ m("span", { className: "ml-1 text-red-500", "aria-hidden": "true", children: "*" }) : null
2902
2914
  ]
2903
2915
  }
2904
2916
  ) : null,
2905
- /* @__PURE__ */ w("div", { className: "relative", children: [
2917
+ /* @__PURE__ */ _("div", { className: "relative", children: [
2906
2918
  /* @__PURE__ */ m(
2907
2919
  "input",
2908
2920
  {
2909
2921
  ref: g,
2910
- id: k,
2911
- required: s,
2912
- className: y(
2922
+ id: y,
2923
+ required: a,
2924
+ className: w(
2913
2925
  "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
2926
  N && "border-red-500 focus:ring-red-500/20 dark:border-red-400 dark:focus:ring-red-400/20",
2915
2927
  r && "pr-12",
@@ -2920,14 +2932,14 @@ const Be = ue(
2920
2932
  ),
2921
2933
  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
2934
  ] }),
2923
- v ? /* @__PURE__ */ m(
2935
+ k ? /* @__PURE__ */ m(
2924
2936
  "p",
2925
2937
  {
2926
- className: y(
2938
+ className: w(
2927
2939
  "text-sm",
2928
2940
  N ? "text-red-600 dark:text-red-400" : "text-neutral-600 dark:text-neutral-300"
2929
2941
  ),
2930
- children: v
2942
+ children: k
2931
2943
  }
2932
2944
  ) : null
2933
2945
  ] });
@@ -2941,57 +2953,57 @@ const Fe = ue(
2941
2953
  error: t,
2942
2954
  icon: r,
2943
2955
  buttonLabel: n = "Action",
2944
- buttonProps: i,
2945
- color: s = "green",
2956
+ buttonProps: s,
2957
+ color: a = "green",
2946
2958
  customColor: p,
2947
2959
  wrapperClassName: d,
2948
2960
  inputClassName: g,
2949
2961
  buttonClassName: x,
2950
- id: k,
2951
- required: v,
2962
+ id: y,
2963
+ required: k,
2952
2964
  className: N,
2953
2965
  disabled: A,
2954
2966
  ...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(
2967
+ }, v) => {
2968
+ const j = he(), O = y ?? j, T = t ?? o, B = !!t, { className: P, ...I } = s ?? {}, E = I.disabled ?? A, u = a === "orange" ? "bg-[#F0822D]" : a === "custom" ? "" : "bg-[#00A167]", R = a === "custom" ? { backgroundColor: p } : void 0;
2969
+ return /* @__PURE__ */ _("div", { className: w("space-y-2", d), children: [
2970
+ e ? /* @__PURE__ */ _(
2959
2971
  "label",
2960
2972
  {
2961
- htmlFor: V,
2973
+ htmlFor: O,
2962
2974
  className: "text-sm font-semibold text-neutral-900 dark:text-neutral-100",
2963
2975
  children: [
2964
2976
  e,
2965
- v ? /* @__PURE__ */ m("span", { className: "ml-1 text-red-500", "aria-hidden": "true", children: "*" }) : null
2977
+ k ? /* @__PURE__ */ m("span", { className: "ml-1 text-red-500", "aria-hidden": "true", children: "*" }) : null
2966
2978
  ]
2967
2979
  }
2968
2980
  ) : null,
2969
- /* @__PURE__ */ w("div", { className: y("relative flex items-stretch", N), children: [
2981
+ /* @__PURE__ */ _("div", { className: w("relative flex items-stretch", N), children: [
2970
2982
  /* @__PURE__ */ m(
2971
2983
  "input",
2972
2984
  {
2973
- ref: _,
2974
- id: V,
2975
- required: v,
2985
+ ref: v,
2986
+ id: O,
2987
+ required: k,
2976
2988
  disabled: A,
2977
- className: y(
2989
+ className: w(
2978
2990
  "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",
2991
+ B && "border-red-500 focus:ring-red-500/20 dark:border-red-400 dark:focus:ring-red-400/20",
2980
2992
  r && "pr-20",
2981
2993
  g
2982
2994
  ),
2983
2995
  ...S
2984
2996
  }
2985
2997
  ),
2986
- /* @__PURE__ */ w("div", { className: "relative flex", children: [
2998
+ /* @__PURE__ */ _("div", { className: "relative flex", children: [
2987
2999
  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
3000
  /* @__PURE__ */ m(
2989
3001
  "button",
2990
3002
  {
2991
3003
  type: "button",
2992
3004
  ...I,
2993
- disabled: T,
2994
- className: y(
3005
+ disabled: E,
3006
+ className: w(
2995
3007
  "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
3008
  u,
2997
3009
  P,
@@ -3003,14 +3015,14 @@ const Fe = ue(
3003
3015
  )
3004
3016
  ] })
3005
3017
  ] }),
3006
- B ? /* @__PURE__ */ m(
3018
+ T ? /* @__PURE__ */ m(
3007
3019
  "p",
3008
3020
  {
3009
- className: y(
3021
+ className: w(
3010
3022
  "text-sm",
3011
- L ? "text-red-600 dark:text-red-400" : "text-neutral-600 dark:text-neutral-300"
3023
+ B ? "text-red-600 dark:text-red-400" : "text-neutral-600 dark:text-neutral-300"
3012
3024
  ),
3013
- children: B
3025
+ children: T
3014
3026
  }
3015
3027
  ) : null
3016
3028
  ] });
@@ -3024,43 +3036,43 @@ const Ve = ue(
3024
3036
  error: t,
3025
3037
  options: r,
3026
3038
  placeholder: n,
3027
- icon: i,
3028
- searchable: s,
3039
+ icon: s,
3040
+ searchable: a,
3029
3041
  wrapperClassName: p,
3030
3042
  id: d,
3031
3043
  required: g,
3032
3044
  className: x,
3033
- children: k,
3034
- name: v,
3045
+ children: y,
3046
+ name: k,
3035
3047
  multiple: N,
3036
3048
  disabled: A,
3037
3049
  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(() => {
3050
+ defaultValue: v,
3051
+ onValueChange: j,
3052
+ ...O
3053
+ }, T) => {
3054
+ const B = he(), P = d ?? B, I = t ?? o, E = !!t, [u, R] = pe(!1), [J, te] = pe(""), $ = Ue(null), Q = ke(() => {
3043
3055
  if (r)
3044
3056
  return r;
3045
3057
  const b = [];
3046
- return (Array.isArray(k) ? k : [k]).forEach((j) => {
3047
- if (!j || typeof j != "object" || !("props" in j))
3058
+ return (Array.isArray(y) ? y : [y]).forEach((L) => {
3059
+ if (!L || typeof L != "object" || !("props" in L))
3048
3060
  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
3061
+ const V = L.props;
3062
+ V?.value != null && b.push({
3063
+ label: String(V.children ?? V.value),
3064
+ value: String(V.value),
3065
+ disabled: V.disabled
3054
3066
  });
3055
3067
  }), 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(() => {
3068
+ }, [r, y]), oe = !!a || !!N, U = () => N ? Array.isArray(v) ? v.map(String) : typeof v == "string" ? [v] : [] : typeof v == "string" ? v : "", [F, W] = pe(U), c = S ?? F, G = Array.isArray(c) ? c.map(String) : c ? [String(c)] : [], K = Q.filter((b) => G.includes(b.value)).map((b) => b.label), ne = ke(() => {
3057
3069
  if (!J.trim())
3058
3070
  return Q;
3059
3071
  const b = J.toLowerCase();
3060
3072
  return Q.filter(
3061
3073
  (h) => h.label.toLowerCase().includes(b)
3062
3074
  );
3063
- }, [Q, J]), Y = i === void 0 ? /* @__PURE__ */ m(
3075
+ }, [Q, J]), Y = s === void 0 ? /* @__PURE__ */ m(
3064
3076
  "svg",
3065
3077
  {
3066
3078
  viewBox: "0 0 24 24",
@@ -3073,7 +3085,7 @@ const Ve = ue(
3073
3085
  "aria-hidden": "true",
3074
3086
  children: /* @__PURE__ */ m("path", { d: "m6 9 6 6 6-6" })
3075
3087
  }
3076
- ) : i;
3088
+ ) : s;
3077
3089
  we(() => {
3078
3090
  u || te("");
3079
3091
  }, [u]), we(() => {
@@ -3087,20 +3099,20 @@ const Ve = ue(
3087
3099
  };
3088
3100
  }, [u]);
3089
3101
  const C = (b) => {
3090
- S === void 0 && W(b), G?.(b);
3102
+ S === void 0 && W(b), j?.(b);
3091
3103
  }, M = (b) => {
3092
3104
  if (N) {
3093
- const h = E.includes(b) ? E.filter((j) => j !== b) : [...E, b];
3105
+ const h = G.includes(b) ? G.filter((L) => L !== b) : [...G, b];
3094
3106
  C(h);
3095
3107
  return;
3096
3108
  }
3097
3109
  C(b), R(!1);
3098
3110
  }, Z = (b) => {
3099
- const h = E.filter((j) => j !== b);
3111
+ const h = G.filter((L) => L !== b);
3100
3112
  C(h);
3101
3113
  };
3102
- return oe ? /* @__PURE__ */ w("div", { className: y("space-y-2", p), children: [
3103
- e ? /* @__PURE__ */ w(
3114
+ return oe ? /* @__PURE__ */ _("div", { className: w("space-y-2", p), children: [
3115
+ e ? /* @__PURE__ */ _(
3104
3116
  "label",
3105
3117
  {
3106
3118
  htmlFor: P,
@@ -3111,21 +3123,21 @@ const Ve = ue(
3111
3123
  ]
3112
3124
  }
3113
3125
  ) : null,
3114
- /* @__PURE__ */ w("div", { className: "relative", ref: $, children: [
3115
- /* @__PURE__ */ w(
3126
+ /* @__PURE__ */ _("div", { className: "relative", ref: $, children: [
3127
+ /* @__PURE__ */ _(
3116
3128
  "button",
3117
3129
  {
3118
3130
  type: "button",
3119
3131
  id: P,
3120
3132
  disabled: A,
3121
- className: y(
3133
+ className: w(
3122
3134
  "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
- T && "border-red-500 focus:ring-red-500/20 dark:border-red-400 dark:focus:ring-red-400/20",
3135
+ E && "border-red-500 focus:ring-red-500/20 dark:border-red-400 dark:focus:ring-red-400/20",
3124
3136
  x
3125
3137
  ),
3126
3138
  onClick: () => R((b) => !b),
3127
3139
  children: [
3128
- /* @__PURE__ */ m("span", { className: "flex flex-wrap items-center gap-2", children: N && K.length > 0 ? K.map((b, h) => /* @__PURE__ */ w(
3140
+ /* @__PURE__ */ m("span", { className: "flex flex-wrap items-center gap-2", children: N && K.length > 0 ? K.map((b, h) => /* @__PURE__ */ _(
3129
3141
  "span",
3130
3142
  {
3131
3143
  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 +3148,8 @@ const Ve = ue(
3136
3148
  {
3137
3149
  type: "button",
3138
3150
  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]);
3151
+ onClick: (L) => {
3152
+ L.stopPropagation(), Z(G[h]);
3141
3153
  },
3142
3154
  children: "✕"
3143
3155
  }
@@ -3150,16 +3162,16 @@ const Ve = ue(
3150
3162
  ]
3151
3163
  }
3152
3164
  ),
3153
- v ? /* @__PURE__ */ m(
3165
+ k ? /* @__PURE__ */ m(
3154
3166
  "input",
3155
3167
  {
3156
3168
  type: "hidden",
3157
- name: v,
3158
- value: N ? E.join(",") : E[0] ?? ""
3169
+ name: k,
3170
+ value: N ? G.join(",") : G[0] ?? ""
3159
3171
  }
3160
3172
  ) : 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(
3173
+ u ? /* @__PURE__ */ _("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: [
3174
+ a ? /* @__PURE__ */ m("div", { className: "border-b border-neutral-200 px-3 py-2 dark:border-neutral-800", children: /* @__PURE__ */ m(
3163
3175
  "input",
3164
3176
  {
3165
3177
  type: "text",
@@ -3170,14 +3182,14 @@ const Ve = ue(
3170
3182
  }
3171
3183
  ) }) : null,
3172
3184
  /* @__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
- const h = E.includes(b.value);
3174
- return /* @__PURE__ */ w(
3185
+ const h = G.includes(b.value);
3186
+ return /* @__PURE__ */ _(
3175
3187
  "button",
3176
3188
  {
3177
3189
  type: "button",
3178
3190
  disabled: b.disabled,
3179
3191
  onClick: () => M(b.value),
3180
- className: y(
3192
+ className: w(
3181
3193
  "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
3194
  h && "bg-neutral-100 font-semibold dark:bg-neutral-900"
3183
3195
  ),
@@ -3194,15 +3206,15 @@ const Ve = ue(
3194
3206
  I ? /* @__PURE__ */ m(
3195
3207
  "p",
3196
3208
  {
3197
- className: y(
3209
+ className: w(
3198
3210
  "text-sm",
3199
- T ? "text-red-600 dark:text-red-400" : "text-neutral-600 dark:text-neutral-300"
3211
+ E ? "text-red-600 dark:text-red-400" : "text-neutral-600 dark:text-neutral-300"
3200
3212
  ),
3201
3213
  children: I
3202
3214
  }
3203
3215
  ) : null
3204
- ] }) : /* @__PURE__ */ w("div", { className: y("space-y-2", p), children: [
3205
- e ? /* @__PURE__ */ w(
3216
+ ] }) : /* @__PURE__ */ _("div", { className: w("space-y-2", p), children: [
3217
+ e ? /* @__PURE__ */ _(
3206
3218
  "label",
3207
3219
  {
3208
3220
  htmlFor: P,
@@ -3213,22 +3225,22 @@ const Ve = ue(
3213
3225
  ]
3214
3226
  }
3215
3227
  ) : null,
3216
- /* @__PURE__ */ w("div", { className: "relative", children: [
3217
- /* @__PURE__ */ w(
3228
+ /* @__PURE__ */ _("div", { className: "relative", children: [
3229
+ /* @__PURE__ */ _(
3218
3230
  "select",
3219
3231
  {
3220
- ref: B,
3232
+ ref: T,
3221
3233
  id: P,
3222
3234
  required: g,
3223
3235
  disabled: A,
3224
3236
  multiple: N,
3225
- name: v,
3226
- className: y(
3237
+ name: k,
3238
+ className: w(
3227
3239
  "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
- T && "border-red-500 focus:ring-red-500/20 dark:border-red-400 dark:focus:ring-red-400/20",
3240
+ E && "border-red-500 focus:ring-red-500/20 dark:border-red-400 dark:focus:ring-red-400/20",
3229
3241
  x
3230
3242
  ),
3231
- ...V,
3243
+ ...O,
3232
3244
  children: [
3233
3245
  n ? /* @__PURE__ */ m("option", { value: "", disabled: !0, hidden: !0, children: n }) : null,
3234
3246
  r ? r.map((b) => /* @__PURE__ */ m(
@@ -3239,7 +3251,7 @@ const Ve = ue(
3239
3251
  children: b.label
3240
3252
  },
3241
3253
  b.value
3242
- )) : k
3254
+ )) : y
3243
3255
  ]
3244
3256
  }
3245
3257
  ),
@@ -3248,9 +3260,9 @@ const Ve = ue(
3248
3260
  I ? /* @__PURE__ */ m(
3249
3261
  "p",
3250
3262
  {
3251
- className: y(
3263
+ className: w(
3252
3264
  "text-sm",
3253
- T ? "text-red-600 dark:text-red-400" : "text-neutral-600 dark:text-neutral-300"
3265
+ E ? "text-red-600 dark:text-red-400" : "text-neutral-600 dark:text-neutral-300"
3254
3266
  ),
3255
3267
  children: I
3256
3268
  }
@@ -3259,7 +3271,7 @@ const Ve = ue(
3259
3271
  }
3260
3272
  );
3261
3273
  Ve.displayName = "Select";
3262
- const Lr = {
3274
+ const Gr = {
3263
3275
  h1: "heading-1 font-display font-normal",
3264
3276
  tussenkop: "heading-3 font-semibold",
3265
3277
  h2: "heading-2",
@@ -3270,13 +3282,13 @@ const Lr = {
3270
3282
  h2: "h2",
3271
3283
  body: "p"
3272
3284
  }, We = ue(
3273
- ({ as: e, variant: o = "body", className: t, children: r, ...n }, i) => {
3274
- const s = e ?? Or[o];
3285
+ ({ as: e, variant: o = "body", className: t, children: r, ...n }, s) => {
3286
+ const a = e ?? Or[o];
3275
3287
  return /* @__PURE__ */ m(
3276
- s,
3288
+ a,
3277
3289
  {
3278
- ref: i,
3279
- className: y(Lr[o], t),
3290
+ ref: s,
3291
+ className: w(Gr[o], t),
3280
3292
  ...n,
3281
3293
  children: r
3282
3294
  }
@@ -3290,33 +3302,33 @@ const Br = ({
3290
3302
  title: t,
3291
3303
  description: r,
3292
3304
  action: n,
3293
- orientation: i = "vertical",
3294
- accent: s = "#00A167",
3305
+ orientation: s = "vertical",
3306
+ accent: a = "#00A167",
3295
3307
  className: p,
3296
3308
  bodyClassName: d
3297
- }) => /* @__PURE__ */ w(
3309
+ }) => /* @__PURE__ */ _(
3298
3310
  "article",
3299
3311
  {
3300
- className: y(
3312
+ className: w(
3301
3313
  "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]",
3314
+ s === "horizontal" && "grid gap-0 md:grid-cols-[1.1fr_1fr]",
3303
3315
  p
3304
3316
  ),
3305
3317
  children: [
3306
- e ? /* @__PURE__ */ w("div", { className: "relative overflow-hidden", children: [
3318
+ e ? /* @__PURE__ */ _("div", { className: "relative overflow-hidden", children: [
3307
3319
  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
3320
  /* @__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
3321
+ s == "vertical" ? /* @__PURE__ */ m("div", { className: "absolute inset-x-0 bottom-0 h-2 bg-[#f4b37a]" }) : null
3310
3322
  ] }) : null,
3311
- /* @__PURE__ */ w(
3323
+ /* @__PURE__ */ _(
3312
3324
  "div",
3313
3325
  {
3314
- className: y(
3326
+ className: w(
3315
3327
  "relative space-y-3 p-6",
3316
- i === "horizontal" && "md:border-l-4",
3328
+ s === "horizontal" && "md:border-l-4",
3317
3329
  d
3318
3330
  ),
3319
- style: i === "horizontal" ? { borderColor: s } : void 0,
3331
+ style: s === "horizontal" ? { borderColor: a } : void 0,
3320
3332
  children: [
3321
3333
  n ? /* @__PURE__ */ m("div", { className: "absolute -top-6 right-6 z-10", children: n }) : null,
3322
3334
  t ? /* @__PURE__ */ m("h3", { className: "heading-2 text-[#1d1d1b] dark:text-[#f1f1ee]", children: t }) : null,
@@ -3326,15 +3338,15 @@ const Br = ({
3326
3338
  )
3327
3339
  ]
3328
3340
  }
3329
- ), Wr = { Button: Gr, Input: Be, InputButton: Fe, Select: Ve, Typography: We, Card: Br };
3341
+ ), Wr = { Button: Er, Input: Be, InputButton: Fe, Select: Ve, Typography: We, Card: Br };
3330
3342
  export {
3331
- Gr as Button,
3343
+ Er as Button,
3332
3344
  Br as Card,
3333
3345
  Be as Input,
3334
3346
  Fe as InputButton,
3335
3347
  Ve as Select,
3336
3348
  We as Typography,
3337
- y as cn,
3349
+ w as cn,
3338
3350
  Wr as default
3339
3351
  };
3340
3352
  //# sourceMappingURL=index.mjs.map