@sudobility/entity-components 1.0.10 → 1.0.11

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.esm.js CHANGED
@@ -1,18 +1,19 @@
1
- import { jsx as a, jsxs as y, Fragment as le } from "react/jsx-runtime";
2
- import { UserIcon as oe, BuildingOffice2Icon as pe, ChevronDownIcon as Ee, PlusIcon as Ye, CheckIcon as fe, ShieldCheckIcon as qe, BriefcaseIcon as Je, EyeIcon as He, TrashIcon as Ke, EnvelopeIcon as Pe, ArrowPathIcon as Qe, PaperAirplaneIcon as Ze, ClockIcon as er, XCircleIcon as rr, XMarkIcon as tr } from "@heroicons/react/24/outline";
3
- import { useState as D, useRef as ie, useCallback as or, useEffect as Ce } from "react";
4
- import { EntityRole as re } from "@sudobility/types";
5
- function Oe(e) {
1
+ import { jsx as a, jsxs as y, Fragment as re } from "react/jsx-runtime";
2
+ import { UserIcon as se, BuildingOffice2Icon as ue, ChevronDownIcon as Se, PlusIcon as $e, CheckIcon as pe, ShieldCheckIcon as Xe, BriefcaseIcon as Ye, EyeIcon as qe, TrashIcon as Je, EnvelopeIcon as Me, ArrowPathIcon as He, PaperAirplaneIcon as Ke, ClockIcon as Qe, XCircleIcon as Ze, XMarkIcon as er } from "@heroicons/react/24/outline";
3
+ import { useState as _, useRef as rr, useCallback as tr } from "react";
4
+ import { createPortal as or } from "react-dom";
5
+ import { EntityRole as te } from "@sudobility/types";
6
+ function Pe(e) {
6
7
  var o, r, t = "";
7
8
  if (typeof e == "string" || typeof e == "number") t += e;
8
9
  else if (typeof e == "object") if (Array.isArray(e)) {
9
10
  var s = e.length;
10
- for (o = 0; o < s; o++) e[o] && (r = Oe(e[o])) && (t && (t += " "), t += r);
11
+ for (o = 0; o < s; o++) e[o] && (r = Pe(e[o])) && (t && (t += " "), t += r);
11
12
  } else for (r in e) e[r] && (t && (t += " "), t += r);
12
13
  return t;
13
14
  }
14
15
  function sr() {
15
- for (var e, o, r = 0, t = "", s = arguments.length; r < s; r++) (e = arguments[r]) && (o = Oe(e)) && (t && (t += " "), t += o);
16
+ for (var e, o, r = 0, t = "", s = arguments.length; r < s; r++) (e = arguments[r]) && (o = Pe(e)) && (t && (t += " "), t += o);
16
17
  return t;
17
18
  }
18
19
  const nr = (e, o) => {
@@ -25,11 +26,11 @@ const nr = (e, o) => {
25
26
  }, ar = (e, o) => ({
26
27
  classGroupId: e,
27
28
  validator: o
28
- }), Te = (e = /* @__PURE__ */ new Map(), o = null, r) => ({
29
+ }), Ee = (e = /* @__PURE__ */ new Map(), o = null, r) => ({
29
30
  nextPart: e,
30
31
  validators: o,
31
32
  classGroupId: r
32
- }), te = "-", ze = [], lr = "arbitrary..", ir = (e) => {
33
+ }), oe = "-", Ne = [], lr = "arbitrary..", ir = (e) => {
33
34
  const o = dr(e), {
34
35
  conflictingClassGroups: r,
35
36
  conflictingClassGroupModifiers: t
@@ -38,33 +39,33 @@ const nr = (e, o) => {
38
39
  getClassGroupId: (n) => {
39
40
  if (n.startsWith("[") && n.endsWith("]"))
40
41
  return cr(n);
41
- const l = n.split(te), i = l[0] === "" && l.length > 1 ? 1 : 0;
42
- return Ge(l, i, o);
42
+ const l = n.split(oe), i = l[0] === "" && l.length > 1 ? 1 : 0;
43
+ return Te(l, i, o);
43
44
  },
44
45
  getConflictingClassGroupIds: (n, l) => {
45
46
  if (l) {
46
47
  const i = t[n], p = r[n];
47
- return i ? p ? nr(p, i) : i : p || ze;
48
+ return i ? p ? nr(p, i) : i : p || Ne;
48
49
  }
49
- return r[n] || ze;
50
+ return r[n] || Ne;
50
51
  }
51
52
  };
52
- }, Ge = (e, o, r) => {
53
+ }, Te = (e, o, r) => {
53
54
  if (e.length - o === 0)
54
55
  return r.classGroupId;
55
56
  const s = e[o], c = r.nextPart.get(s);
56
57
  if (c) {
57
- const p = Ge(e, o + 1, c);
58
+ const p = Te(e, o + 1, c);
58
59
  if (p) return p;
59
60
  }
60
61
  const n = r.validators;
61
62
  if (n === null)
62
63
  return;
63
- const l = o === 0 ? e.join(te) : e.slice(o).join(te), i = n.length;
64
+ const l = o === 0 ? e.join(oe) : e.slice(o).join(oe), i = n.length;
64
65
  for (let p = 0; p < i; p++) {
65
- const f = n[p];
66
- if (f.validator(l))
67
- return f.classGroupId;
66
+ const g = n[p];
67
+ if (g.validator(l))
68
+ return g.classGroupId;
68
69
  }
69
70
  }, cr = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
70
71
  const o = e.slice(1, -1), r = o.indexOf(":"), t = o.slice(0, r);
@@ -76,7 +77,7 @@ const nr = (e, o) => {
76
77
  } = e;
77
78
  return mr(r, o);
78
79
  }, mr = (e, o) => {
79
- const r = Te();
80
+ const r = Ee();
80
81
  for (const t in e) {
81
82
  const s = e[t];
82
83
  ge(s, r, t, o);
@@ -94,32 +95,32 @@ const nr = (e, o) => {
94
95
  return;
95
96
  }
96
97
  if (typeof e == "function") {
97
- fr(e, o, r, t);
98
+ gr(e, o, r, t);
98
99
  return;
99
100
  }
100
- gr(e, o, r, t);
101
+ fr(e, o, r, t);
101
102
  }, pr = (e, o, r) => {
102
- const t = e === "" ? o : je(o, e);
103
+ const t = e === "" ? o : Oe(o, e);
103
104
  t.classGroupId = r;
104
- }, fr = (e, o, r, t) => {
105
+ }, gr = (e, o, r, t) => {
105
106
  if (br(e)) {
106
107
  ge(e(t), o, r, t);
107
108
  return;
108
109
  }
109
110
  o.validators === null && (o.validators = []), o.validators.push(ar(r, e));
110
- }, gr = (e, o, r, t) => {
111
+ }, fr = (e, o, r, t) => {
111
112
  const s = Object.entries(e), c = s.length;
112
113
  for (let n = 0; n < c; n++) {
113
114
  const [l, i] = s[n];
114
- ge(i, je(o, l), r, t);
115
+ ge(i, Oe(o, l), r, t);
115
116
  }
116
- }, je = (e, o) => {
117
+ }, Oe = (e, o) => {
117
118
  let r = e;
118
- const t = o.split(te), s = t.length;
119
+ const t = o.split(oe), s = t.length;
119
120
  for (let c = 0; c < s; c++) {
120
121
  const n = t[c];
121
122
  let l = r.nextPart.get(n);
122
- l || (l = Te(), r.nextPart.set(n, l)), r = l;
123
+ l || (l = Ee(), r.nextPart.set(n, l)), r = l;
123
124
  }
124
125
  return r;
125
126
  }, br = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, hr = (e) => {
@@ -146,7 +147,7 @@ const nr = (e, o) => {
146
147
  c in r ? r[c] = n : s(c, n);
147
148
  }
148
149
  };
149
- }, ue = "!", Ie = ":", xr = [], Re = (e, o, r, t, s) => ({
150
+ }, me = "!", Ce = ":", xr = [], ze = (e, o, r, t, s) => ({
150
151
  modifiers: e,
151
152
  hasImportantModifier: o,
152
153
  baseClassName: r,
@@ -160,36 +161,36 @@ const nr = (e, o) => {
160
161
  let t = (s) => {
161
162
  const c = [];
162
163
  let n = 0, l = 0, i = 0, p;
163
- const f = s.length;
164
- for (let w = 0; w < f; w++) {
165
- const R = s[w];
164
+ const g = s.length;
165
+ for (let v = 0; v < g; v++) {
166
+ const w = s[v];
166
167
  if (n === 0 && l === 0) {
167
- if (R === Ie) {
168
- c.push(s.slice(i, w)), i = w + 1;
168
+ if (w === Ce) {
169
+ c.push(s.slice(i, v)), i = v + 1;
169
170
  continue;
170
171
  }
171
- if (R === "/") {
172
- p = w;
172
+ if (w === "/") {
173
+ p = v;
173
174
  continue;
174
175
  }
175
176
  }
176
- R === "[" ? n++ : R === "]" ? n-- : R === "(" ? l++ : R === ")" && l--;
177
+ w === "[" ? n++ : w === "]" ? n-- : w === "(" ? l++ : w === ")" && l--;
177
178
  }
178
179
  const k = c.length === 0 ? s : s.slice(i);
179
180
  let N = k, C = !1;
180
- k.endsWith(ue) ? (N = k.slice(0, -1), C = !0) : (
181
+ k.endsWith(me) ? (N = k.slice(0, -1), C = !0) : (
181
182
  /**
182
183
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
183
184
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
184
185
  */
185
- k.startsWith(ue) && (N = k.slice(1), C = !0)
186
+ k.startsWith(me) && (N = k.slice(1), C = !0)
186
187
  );
187
- const b = p && p > i ? p - i : void 0;
188
- return Re(c, C, N, b);
188
+ const h = p && p > i ? p - i : void 0;
189
+ return ze(c, C, N, h);
189
190
  };
190
191
  if (o) {
191
- const s = o + Ie, c = t;
192
- t = (n) => n.startsWith(s) ? c(n.slice(s.length)) : Re(xr, !1, n, void 0, !0);
192
+ const s = o + Ce, c = t;
193
+ t = (n) => n.startsWith(s) ? c(n.slice(s.length)) : ze(xr, !1, n, void 0, !0);
193
194
  }
194
195
  if (r) {
195
196
  const s = t;
@@ -226,82 +227,82 @@ const nr = (e, o) => {
226
227
  } = o, n = [], l = e.trim().split(kr);
227
228
  let i = "";
228
229
  for (let p = l.length - 1; p >= 0; p -= 1) {
229
- const f = l[p], {
230
+ const g = l[p], {
230
231
  isExternal: k,
231
232
  modifiers: N,
232
233
  hasImportantModifier: C,
233
- baseClassName: b,
234
- maybePostfixModifierPosition: w
235
- } = r(f);
234
+ baseClassName: h,
235
+ maybePostfixModifierPosition: v
236
+ } = r(g);
236
237
  if (k) {
237
- i = f + (i.length > 0 ? " " + i : i);
238
+ i = g + (i.length > 0 ? " " + i : i);
238
239
  continue;
239
240
  }
240
- let R = !!w, M = t(R ? b.substring(0, w) : b);
241
- if (!M) {
242
- if (!R) {
243
- i = f + (i.length > 0 ? " " + i : i);
241
+ let w = !!v, T = t(w ? h.substring(0, v) : h);
242
+ if (!T) {
243
+ if (!w) {
244
+ i = g + (i.length > 0 ? " " + i : i);
244
245
  continue;
245
246
  }
246
- if (M = t(b), !M) {
247
- i = f + (i.length > 0 ? " " + i : i);
247
+ if (T = t(h), !T) {
248
+ i = g + (i.length > 0 ? " " + i : i);
248
249
  continue;
249
250
  }
250
- R = !1;
251
+ w = !1;
251
252
  }
252
- const v = N.length === 0 ? "" : N.length === 1 ? N[0] : c(N).join(":"), E = C ? v + ue : v, P = E + M;
253
- if (n.indexOf(P) > -1)
253
+ const Y = N.length === 0 ? "" : N.length === 1 ? N[0] : c(N).join(":"), U = C ? Y + me : Y, B = U + T;
254
+ if (n.indexOf(B) > -1)
254
255
  continue;
255
- n.push(P);
256
- const V = s(M, R);
257
- for (let L = 0; L < V.length; ++L) {
258
- const X = V[L];
259
- n.push(E + X);
256
+ n.push(B);
257
+ const F = s(T, w);
258
+ for (let O = 0; O < F.length; ++O) {
259
+ const $ = F[O];
260
+ n.push(U + $);
260
261
  }
261
- i = f + (i.length > 0 ? " " + i : i);
262
+ i = g + (i.length > 0 ? " " + i : i);
262
263
  }
263
264
  return i;
264
265
  }, Cr = (...e) => {
265
266
  let o = 0, r, t, s = "";
266
267
  for (; o < e.length; )
267
- (r = e[o++]) && (t = Le(r)) && (s && (s += " "), s += t);
268
+ (r = e[o++]) && (t = Ge(r)) && (s && (s += " "), s += t);
268
269
  return s;
269
- }, Le = (e) => {
270
+ }, Ge = (e) => {
270
271
  if (typeof e == "string")
271
272
  return e;
272
273
  let o, r = "";
273
274
  for (let t = 0; t < e.length; t++)
274
- e[t] && (o = Le(e[t])) && (r && (r += " "), r += o);
275
+ e[t] && (o = Ge(e[t])) && (r && (r += " "), r += o);
275
276
  return r;
276
277
  }, zr = (e, ...o) => {
277
278
  let r, t, s, c;
278
279
  const n = (i) => {
279
- const p = o.reduce((f, k) => k(f), e());
280
+ const p = o.reduce((g, k) => k(g), e());
280
281
  return r = vr(p), t = r.cache.get, s = r.cache.set, c = l, l(i);
281
282
  }, l = (i) => {
282
283
  const p = t(i);
283
284
  if (p)
284
285
  return p;
285
- const f = Nr(i, r);
286
- return s(i, f), f;
286
+ const g = Nr(i, r);
287
+ return s(i, g), g;
287
288
  };
288
289
  return c = n, (...i) => c(Cr(...i));
289
290
  }, Ir = [], z = (e) => {
290
291
  const o = (r) => r[e] || Ir;
291
292
  return o.isThemeGetter = !0, o;
292
- }, Be = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Fe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Rr = /^\d+\/\d+$/, Ar = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Sr = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Mr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Er = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Pr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, W = (e) => Rr.test(e), h = (e) => !!e && !Number.isNaN(Number(e)), j = (e) => !!e && Number.isInteger(Number(e)), ce = (e) => e.endsWith("%") && h(e.slice(0, -1)), G = (e) => Ar.test(e), Or = () => !0, Tr = (e) => (
293
+ }, je = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Be = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Rr = /^\d+\/\d+$/, Ar = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Sr = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Mr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Pr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Er = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, V = (e) => Rr.test(e), b = (e) => !!e && !Number.isNaN(Number(e)), E = (e) => !!e && Number.isInteger(Number(e)), ie = (e) => e.endsWith("%") && b(e.slice(0, -1)), P = (e) => Ar.test(e), Tr = () => !0, Or = (e) => (
293
294
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
294
295
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
295
296
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
296
297
  Sr.test(e) && !Mr.test(e)
297
- ), Ve = () => !1, Gr = (e) => Er.test(e), jr = (e) => Pr.test(e), Lr = (e) => !d(e) && !m(e), Br = (e) => U(e, De, Ve), d = (e) => Be.test(e), F = (e) => U(e, Ue, Tr), de = (e) => U(e, Dr, h), Ae = (e) => U(e, _e, Ve), Fr = (e) => U(e, We, jr), Z = (e) => U(e, $e, Gr), m = (e) => Fe.test(e), Y = (e) => $(e, Ue), Vr = (e) => $(e, Ur), Se = (e) => $(e, _e), _r = (e) => $(e, De), Wr = (e) => $(e, We), ee = (e) => $(e, $e, !0), U = (e, o, r) => {
298
- const t = Be.exec(e);
298
+ ), Fe = () => !1, Gr = (e) => Pr.test(e), jr = (e) => Er.test(e), Br = (e) => !d(e) && !m(e), Fr = (e) => W(e, _e, Fe), d = (e) => je.test(e), j = (e) => W(e, We, Or), ce = (e) => W(e, Dr, b), Ie = (e) => W(e, Le, Fe), Lr = (e) => W(e, Ve, jr), Z = (e) => W(e, De, Gr), m = (e) => Be.test(e), X = (e) => D(e, We), Vr = (e) => D(e, Ur), Re = (e) => D(e, Le), _r = (e) => D(e, _e), Wr = (e) => D(e, Ve), ee = (e) => D(e, De, !0), W = (e, o, r) => {
299
+ const t = je.exec(e);
299
300
  return t ? t[1] ? o(t[1]) : r(t[2]) : !1;
300
- }, $ = (e, o, r = !1) => {
301
- const t = Fe.exec(e);
301
+ }, D = (e, o, r = !1) => {
302
+ const t = Be.exec(e);
302
303
  return t ? t[1] ? o(t[1]) : r : !1;
303
- }, _e = (e) => e === "position" || e === "percentage", We = (e) => e === "image" || e === "url", De = (e) => e === "length" || e === "size" || e === "bg-size", Ue = (e) => e === "length", Dr = (e) => e === "number", Ur = (e) => e === "family-name", $e = (e) => e === "shadow", $r = () => {
304
- const e = z("color"), o = z("font"), r = z("text"), t = z("font-weight"), s = z("tracking"), c = z("leading"), n = z("breakpoint"), l = z("container"), i = z("spacing"), p = z("radius"), f = z("shadow"), k = z("inset-shadow"), N = z("text-shadow"), C = z("drop-shadow"), b = z("blur"), w = z("perspective"), R = z("aspect"), M = z("ease"), v = z("animate"), E = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], P = () => [
304
+ }, Le = (e) => e === "position" || e === "percentage", Ve = (e) => e === "image" || e === "url", _e = (e) => e === "length" || e === "size" || e === "bg-size", We = (e) => e === "length", Dr = (e) => e === "number", Ur = (e) => e === "family-name", De = (e) => e === "shadow", $r = () => {
305
+ const e = z("color"), o = z("font"), r = z("text"), t = z("font-weight"), s = z("tracking"), c = z("leading"), n = z("breakpoint"), l = z("container"), i = z("spacing"), p = z("radius"), g = z("shadow"), k = z("inset-shadow"), N = z("text-shadow"), C = z("drop-shadow"), h = z("blur"), v = z("perspective"), w = z("aspect"), T = z("ease"), Y = z("animate"), U = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], B = () => [
305
306
  "center",
306
307
  "top",
307
308
  "bottom",
@@ -319,15 +320,15 @@ const nr = (e, o) => {
319
320
  "bottom-left",
320
321
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
321
322
  "left-bottom"
322
- ], V = () => [...P(), m, d], L = () => ["auto", "hidden", "clip", "visible", "scroll"], X = () => ["auto", "contain", "none"], g = () => [m, d, i], O = () => [W, "full", "auto", ...g()], be = () => [j, "none", "subgrid", m, d], he = () => ["auto", {
323
- span: ["full", j, m, d]
324
- }, j, m, d], q = () => [j, "auto", m, d], xe = () => ["auto", "min", "max", "fr", m, d], se = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], _ = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], T = () => ["auto", ...g()], B = () => [W, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...g()], u = () => [e, m, d], ye = () => [...P(), Se, Ae, {
323
+ ], F = () => [...B(), m, d], O = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], f = () => [m, d, i], S = () => [V, "full", "auto", ...f()], fe = () => [E, "none", "subgrid", m, d], be = () => ["auto", {
324
+ span: ["full", E, m, d]
325
+ }, E, m, d], q = () => [E, "auto", m, d], he = () => ["auto", "min", "max", "fr", m, d], ne = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], L = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], M = () => ["auto", ...f()], G = () => [V, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...f()], u = () => [e, m, d], xe = () => [...B(), Re, Ie, {
325
326
  position: [m, d]
326
- }], we = () => ["no-repeat", {
327
+ }], ye = () => ["no-repeat", {
327
328
  repeat: ["", "x", "y", "space", "round"]
328
- }], ve = () => ["auto", "cover", "contain", _r, Br, {
329
+ }], we = () => ["auto", "cover", "contain", _r, Fr, {
329
330
  size: [m, d]
330
- }], ne = () => [ce, Y, F], A = () => [
331
+ }], ae = () => [ie, X, j], R = () => [
331
332
  // Deprecated since Tailwind CSS v4.0.0
332
333
  "",
333
334
  "none",
@@ -335,35 +336,35 @@ const nr = (e, o) => {
335
336
  p,
336
337
  m,
337
338
  d
338
- ], S = () => ["", h, Y, F], J = () => ["solid", "dashed", "dotted", "double"], ke = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], I = () => [h, ce, Se, Ae], Ne = () => [
339
+ ], A = () => ["", b, X, j], J = () => ["solid", "dashed", "dotted", "double"], ve = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], I = () => [b, ie, Re, Ie], ke = () => [
339
340
  // Deprecated since Tailwind CSS v4.0.0
340
341
  "",
341
342
  "none",
342
- b,
343
+ h,
343
344
  m,
344
345
  d
345
- ], H = () => ["none", h, m, d], K = () => ["none", h, m, d], ae = () => [h, m, d], Q = () => [W, "full", ...g()];
346
+ ], H = () => ["none", b, m, d], K = () => ["none", b, m, d], le = () => [b, m, d], Q = () => [V, "full", ...f()];
346
347
  return {
347
348
  cacheSize: 500,
348
349
  theme: {
349
350
  animate: ["spin", "ping", "pulse", "bounce"],
350
351
  aspect: ["video"],
351
- blur: [G],
352
- breakpoint: [G],
353
- color: [Or],
354
- container: [G],
355
- "drop-shadow": [G],
352
+ blur: [P],
353
+ breakpoint: [P],
354
+ color: [Tr],
355
+ container: [P],
356
+ "drop-shadow": [P],
356
357
  ease: ["in", "out", "in-out"],
357
- font: [Lr],
358
+ font: [Br],
358
359
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
359
- "inset-shadow": [G],
360
+ "inset-shadow": [P],
360
361
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
361
362
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
362
- radius: [G],
363
- shadow: [G],
364
- spacing: ["px", h],
365
- text: [G],
366
- "text-shadow": [G],
363
+ radius: [P],
364
+ shadow: [P],
365
+ spacing: ["px", b],
366
+ text: [P],
367
+ "text-shadow": [P],
367
368
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
368
369
  },
369
370
  classGroups: {
@@ -375,7 +376,7 @@ const nr = (e, o) => {
375
376
  * @see https://tailwindcss.com/docs/aspect-ratio
376
377
  */
377
378
  aspect: [{
378
- aspect: ["auto", "square", W, d, m, R]
379
+ aspect: ["auto", "square", V, d, m, w]
379
380
  }],
380
381
  /**
381
382
  * Container
@@ -388,21 +389,21 @@ const nr = (e, o) => {
388
389
  * @see https://tailwindcss.com/docs/columns
389
390
  */
390
391
  columns: [{
391
- columns: [h, d, m, l]
392
+ columns: [b, d, m, l]
392
393
  }],
393
394
  /**
394
395
  * Break After
395
396
  * @see https://tailwindcss.com/docs/break-after
396
397
  */
397
398
  "break-after": [{
398
- "break-after": E()
399
+ "break-after": U()
399
400
  }],
400
401
  /**
401
402
  * Break Before
402
403
  * @see https://tailwindcss.com/docs/break-before
403
404
  */
404
405
  "break-before": [{
405
- "break-before": E()
406
+ "break-before": U()
406
407
  }],
407
408
  /**
408
409
  * Break Inside
@@ -466,49 +467,49 @@ const nr = (e, o) => {
466
467
  * @see https://tailwindcss.com/docs/object-position
467
468
  */
468
469
  "object-position": [{
469
- object: V()
470
+ object: F()
470
471
  }],
471
472
  /**
472
473
  * Overflow
473
474
  * @see https://tailwindcss.com/docs/overflow
474
475
  */
475
476
  overflow: [{
476
- overflow: L()
477
+ overflow: O()
477
478
  }],
478
479
  /**
479
480
  * Overflow X
480
481
  * @see https://tailwindcss.com/docs/overflow
481
482
  */
482
483
  "overflow-x": [{
483
- "overflow-x": L()
484
+ "overflow-x": O()
484
485
  }],
485
486
  /**
486
487
  * Overflow Y
487
488
  * @see https://tailwindcss.com/docs/overflow
488
489
  */
489
490
  "overflow-y": [{
490
- "overflow-y": L()
491
+ "overflow-y": O()
491
492
  }],
492
493
  /**
493
494
  * Overscroll Behavior
494
495
  * @see https://tailwindcss.com/docs/overscroll-behavior
495
496
  */
496
497
  overscroll: [{
497
- overscroll: X()
498
+ overscroll: $()
498
499
  }],
499
500
  /**
500
501
  * Overscroll Behavior X
501
502
  * @see https://tailwindcss.com/docs/overscroll-behavior
502
503
  */
503
504
  "overscroll-x": [{
504
- "overscroll-x": X()
505
+ "overscroll-x": $()
505
506
  }],
506
507
  /**
507
508
  * Overscroll Behavior Y
508
509
  * @see https://tailwindcss.com/docs/overscroll-behavior
509
510
  */
510
511
  "overscroll-y": [{
511
- "overscroll-y": X()
512
+ "overscroll-y": $()
512
513
  }],
513
514
  /**
514
515
  * Position
@@ -520,63 +521,63 @@ const nr = (e, o) => {
520
521
  * @see https://tailwindcss.com/docs/top-right-bottom-left
521
522
  */
522
523
  inset: [{
523
- inset: O()
524
+ inset: S()
524
525
  }],
525
526
  /**
526
527
  * Right / Left
527
528
  * @see https://tailwindcss.com/docs/top-right-bottom-left
528
529
  */
529
530
  "inset-x": [{
530
- "inset-x": O()
531
+ "inset-x": S()
531
532
  }],
532
533
  /**
533
534
  * Top / Bottom
534
535
  * @see https://tailwindcss.com/docs/top-right-bottom-left
535
536
  */
536
537
  "inset-y": [{
537
- "inset-y": O()
538
+ "inset-y": S()
538
539
  }],
539
540
  /**
540
541
  * Start
541
542
  * @see https://tailwindcss.com/docs/top-right-bottom-left
542
543
  */
543
544
  start: [{
544
- start: O()
545
+ start: S()
545
546
  }],
546
547
  /**
547
548
  * End
548
549
  * @see https://tailwindcss.com/docs/top-right-bottom-left
549
550
  */
550
551
  end: [{
551
- end: O()
552
+ end: S()
552
553
  }],
553
554
  /**
554
555
  * Top
555
556
  * @see https://tailwindcss.com/docs/top-right-bottom-left
556
557
  */
557
558
  top: [{
558
- top: O()
559
+ top: S()
559
560
  }],
560
561
  /**
561
562
  * Right
562
563
  * @see https://tailwindcss.com/docs/top-right-bottom-left
563
564
  */
564
565
  right: [{
565
- right: O()
566
+ right: S()
566
567
  }],
567
568
  /**
568
569
  * Bottom
569
570
  * @see https://tailwindcss.com/docs/top-right-bottom-left
570
571
  */
571
572
  bottom: [{
572
- bottom: O()
573
+ bottom: S()
573
574
  }],
574
575
  /**
575
576
  * Left
576
577
  * @see https://tailwindcss.com/docs/top-right-bottom-left
577
578
  */
578
579
  left: [{
579
- left: O()
580
+ left: S()
580
581
  }],
581
582
  /**
582
583
  * Visibility
@@ -588,7 +589,7 @@ const nr = (e, o) => {
588
589
  * @see https://tailwindcss.com/docs/z-index
589
590
  */
590
591
  z: [{
591
- z: [j, "auto", m, d]
592
+ z: [E, "auto", m, d]
592
593
  }],
593
594
  // ------------------------
594
595
  // --- Flexbox and Grid ---
@@ -598,7 +599,7 @@ const nr = (e, o) => {
598
599
  * @see https://tailwindcss.com/docs/flex-basis
599
600
  */
600
601
  basis: [{
601
- basis: [W, "full", "auto", l, ...g()]
602
+ basis: [V, "full", "auto", l, ...f()]
602
603
  }],
603
604
  /**
604
605
  * Flex Direction
@@ -619,42 +620,42 @@ const nr = (e, o) => {
619
620
  * @see https://tailwindcss.com/docs/flex
620
621
  */
621
622
  flex: [{
622
- flex: [h, W, "auto", "initial", "none", d]
623
+ flex: [b, V, "auto", "initial", "none", d]
623
624
  }],
624
625
  /**
625
626
  * Flex Grow
626
627
  * @see https://tailwindcss.com/docs/flex-grow
627
628
  */
628
629
  grow: [{
629
- grow: ["", h, m, d]
630
+ grow: ["", b, m, d]
630
631
  }],
631
632
  /**
632
633
  * Flex Shrink
633
634
  * @see https://tailwindcss.com/docs/flex-shrink
634
635
  */
635
636
  shrink: [{
636
- shrink: ["", h, m, d]
637
+ shrink: ["", b, m, d]
637
638
  }],
638
639
  /**
639
640
  * Order
640
641
  * @see https://tailwindcss.com/docs/order
641
642
  */
642
643
  order: [{
643
- order: [j, "first", "last", "none", m, d]
644
+ order: [E, "first", "last", "none", m, d]
644
645
  }],
645
646
  /**
646
647
  * Grid Template Columns
647
648
  * @see https://tailwindcss.com/docs/grid-template-columns
648
649
  */
649
650
  "grid-cols": [{
650
- "grid-cols": be()
651
+ "grid-cols": fe()
651
652
  }],
652
653
  /**
653
654
  * Grid Column Start / End
654
655
  * @see https://tailwindcss.com/docs/grid-column
655
656
  */
656
657
  "col-start-end": [{
657
- col: he()
658
+ col: be()
658
659
  }],
659
660
  /**
660
661
  * Grid Column Start
@@ -675,14 +676,14 @@ const nr = (e, o) => {
675
676
  * @see https://tailwindcss.com/docs/grid-template-rows
676
677
  */
677
678
  "grid-rows": [{
678
- "grid-rows": be()
679
+ "grid-rows": fe()
679
680
  }],
680
681
  /**
681
682
  * Grid Row Start / End
682
683
  * @see https://tailwindcss.com/docs/grid-row
683
684
  */
684
685
  "row-start-end": [{
685
- row: he()
686
+ row: be()
686
687
  }],
687
688
  /**
688
689
  * Grid Row Start
@@ -710,70 +711,70 @@ const nr = (e, o) => {
710
711
  * @see https://tailwindcss.com/docs/grid-auto-columns
711
712
  */
712
713
  "auto-cols": [{
713
- "auto-cols": xe()
714
+ "auto-cols": he()
714
715
  }],
715
716
  /**
716
717
  * Grid Auto Rows
717
718
  * @see https://tailwindcss.com/docs/grid-auto-rows
718
719
  */
719
720
  "auto-rows": [{
720
- "auto-rows": xe()
721
+ "auto-rows": he()
721
722
  }],
722
723
  /**
723
724
  * Gap
724
725
  * @see https://tailwindcss.com/docs/gap
725
726
  */
726
727
  gap: [{
727
- gap: g()
728
+ gap: f()
728
729
  }],
729
730
  /**
730
731
  * Gap X
731
732
  * @see https://tailwindcss.com/docs/gap
732
733
  */
733
734
  "gap-x": [{
734
- "gap-x": g()
735
+ "gap-x": f()
735
736
  }],
736
737
  /**
737
738
  * Gap Y
738
739
  * @see https://tailwindcss.com/docs/gap
739
740
  */
740
741
  "gap-y": [{
741
- "gap-y": g()
742
+ "gap-y": f()
742
743
  }],
743
744
  /**
744
745
  * Justify Content
745
746
  * @see https://tailwindcss.com/docs/justify-content
746
747
  */
747
748
  "justify-content": [{
748
- justify: [...se(), "normal"]
749
+ justify: [...ne(), "normal"]
749
750
  }],
750
751
  /**
751
752
  * Justify Items
752
753
  * @see https://tailwindcss.com/docs/justify-items
753
754
  */
754
755
  "justify-items": [{
755
- "justify-items": [..._(), "normal"]
756
+ "justify-items": [...L(), "normal"]
756
757
  }],
757
758
  /**
758
759
  * Justify Self
759
760
  * @see https://tailwindcss.com/docs/justify-self
760
761
  */
761
762
  "justify-self": [{
762
- "justify-self": ["auto", ..._()]
763
+ "justify-self": ["auto", ...L()]
763
764
  }],
764
765
  /**
765
766
  * Align Content
766
767
  * @see https://tailwindcss.com/docs/align-content
767
768
  */
768
769
  "align-content": [{
769
- content: ["normal", ...se()]
770
+ content: ["normal", ...ne()]
770
771
  }],
771
772
  /**
772
773
  * Align Items
773
774
  * @see https://tailwindcss.com/docs/align-items
774
775
  */
775
776
  "align-items": [{
776
- items: [..._(), {
777
+ items: [...L(), {
777
778
  baseline: ["", "last"]
778
779
  }]
779
780
  }],
@@ -782,7 +783,7 @@ const nr = (e, o) => {
782
783
  * @see https://tailwindcss.com/docs/align-self
783
784
  */
784
785
  "align-self": [{
785
- self: ["auto", ..._(), {
786
+ self: ["auto", ...L(), {
786
787
  baseline: ["", "last"]
787
788
  }]
788
789
  }],
@@ -791,21 +792,21 @@ const nr = (e, o) => {
791
792
  * @see https://tailwindcss.com/docs/place-content
792
793
  */
793
794
  "place-content": [{
794
- "place-content": se()
795
+ "place-content": ne()
795
796
  }],
796
797
  /**
797
798
  * Place Items
798
799
  * @see https://tailwindcss.com/docs/place-items
799
800
  */
800
801
  "place-items": [{
801
- "place-items": [..._(), "baseline"]
802
+ "place-items": [...L(), "baseline"]
802
803
  }],
803
804
  /**
804
805
  * Place Self
805
806
  * @see https://tailwindcss.com/docs/place-self
806
807
  */
807
808
  "place-self": [{
808
- "place-self": ["auto", ..._()]
809
+ "place-self": ["auto", ...L()]
809
810
  }],
810
811
  // Spacing
811
812
  /**
@@ -813,133 +814,133 @@ const nr = (e, o) => {
813
814
  * @see https://tailwindcss.com/docs/padding
814
815
  */
815
816
  p: [{
816
- p: g()
817
+ p: f()
817
818
  }],
818
819
  /**
819
820
  * Padding X
820
821
  * @see https://tailwindcss.com/docs/padding
821
822
  */
822
823
  px: [{
823
- px: g()
824
+ px: f()
824
825
  }],
825
826
  /**
826
827
  * Padding Y
827
828
  * @see https://tailwindcss.com/docs/padding
828
829
  */
829
830
  py: [{
830
- py: g()
831
+ py: f()
831
832
  }],
832
833
  /**
833
834
  * Padding Start
834
835
  * @see https://tailwindcss.com/docs/padding
835
836
  */
836
837
  ps: [{
837
- ps: g()
838
+ ps: f()
838
839
  }],
839
840
  /**
840
841
  * Padding End
841
842
  * @see https://tailwindcss.com/docs/padding
842
843
  */
843
844
  pe: [{
844
- pe: g()
845
+ pe: f()
845
846
  }],
846
847
  /**
847
848
  * Padding Top
848
849
  * @see https://tailwindcss.com/docs/padding
849
850
  */
850
851
  pt: [{
851
- pt: g()
852
+ pt: f()
852
853
  }],
853
854
  /**
854
855
  * Padding Right
855
856
  * @see https://tailwindcss.com/docs/padding
856
857
  */
857
858
  pr: [{
858
- pr: g()
859
+ pr: f()
859
860
  }],
860
861
  /**
861
862
  * Padding Bottom
862
863
  * @see https://tailwindcss.com/docs/padding
863
864
  */
864
865
  pb: [{
865
- pb: g()
866
+ pb: f()
866
867
  }],
867
868
  /**
868
869
  * Padding Left
869
870
  * @see https://tailwindcss.com/docs/padding
870
871
  */
871
872
  pl: [{
872
- pl: g()
873
+ pl: f()
873
874
  }],
874
875
  /**
875
876
  * Margin
876
877
  * @see https://tailwindcss.com/docs/margin
877
878
  */
878
879
  m: [{
879
- m: T()
880
+ m: M()
880
881
  }],
881
882
  /**
882
883
  * Margin X
883
884
  * @see https://tailwindcss.com/docs/margin
884
885
  */
885
886
  mx: [{
886
- mx: T()
887
+ mx: M()
887
888
  }],
888
889
  /**
889
890
  * Margin Y
890
891
  * @see https://tailwindcss.com/docs/margin
891
892
  */
892
893
  my: [{
893
- my: T()
894
+ my: M()
894
895
  }],
895
896
  /**
896
897
  * Margin Start
897
898
  * @see https://tailwindcss.com/docs/margin
898
899
  */
899
900
  ms: [{
900
- ms: T()
901
+ ms: M()
901
902
  }],
902
903
  /**
903
904
  * Margin End
904
905
  * @see https://tailwindcss.com/docs/margin
905
906
  */
906
907
  me: [{
907
- me: T()
908
+ me: M()
908
909
  }],
909
910
  /**
910
911
  * Margin Top
911
912
  * @see https://tailwindcss.com/docs/margin
912
913
  */
913
914
  mt: [{
914
- mt: T()
915
+ mt: M()
915
916
  }],
916
917
  /**
917
918
  * Margin Right
918
919
  * @see https://tailwindcss.com/docs/margin
919
920
  */
920
921
  mr: [{
921
- mr: T()
922
+ mr: M()
922
923
  }],
923
924
  /**
924
925
  * Margin Bottom
925
926
  * @see https://tailwindcss.com/docs/margin
926
927
  */
927
928
  mb: [{
928
- mb: T()
929
+ mb: M()
929
930
  }],
930
931
  /**
931
932
  * Margin Left
932
933
  * @see https://tailwindcss.com/docs/margin
933
934
  */
934
935
  ml: [{
935
- ml: T()
936
+ ml: M()
936
937
  }],
937
938
  /**
938
939
  * Space Between X
939
940
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
940
941
  */
941
942
  "space-x": [{
942
- "space-x": g()
943
+ "space-x": f()
943
944
  }],
944
945
  /**
945
946
  * Space Between X Reverse
@@ -951,7 +952,7 @@ const nr = (e, o) => {
951
952
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
952
953
  */
953
954
  "space-y": [{
954
- "space-y": g()
955
+ "space-y": f()
955
956
  }],
956
957
  /**
957
958
  * Space Between Y Reverse
@@ -966,14 +967,14 @@ const nr = (e, o) => {
966
967
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
967
968
  */
968
969
  size: [{
969
- size: B()
970
+ size: G()
970
971
  }],
971
972
  /**
972
973
  * Width
973
974
  * @see https://tailwindcss.com/docs/width
974
975
  */
975
976
  w: [{
976
- w: [l, "screen", ...B()]
977
+ w: [l, "screen", ...G()]
977
978
  }],
978
979
  /**
979
980
  * Min-Width
@@ -985,7 +986,7 @@ const nr = (e, o) => {
985
986
  "screen",
986
987
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
987
988
  "none",
988
- ...B()
989
+ ...G()
989
990
  ]
990
991
  }],
991
992
  /**
@@ -1003,7 +1004,7 @@ const nr = (e, o) => {
1003
1004
  {
1004
1005
  screen: [n]
1005
1006
  },
1006
- ...B()
1007
+ ...G()
1007
1008
  ]
1008
1009
  }],
1009
1010
  /**
@@ -1011,21 +1012,21 @@ const nr = (e, o) => {
1011
1012
  * @see https://tailwindcss.com/docs/height
1012
1013
  */
1013
1014
  h: [{
1014
- h: ["screen", "lh", ...B()]
1015
+ h: ["screen", "lh", ...G()]
1015
1016
  }],
1016
1017
  /**
1017
1018
  * Min-Height
1018
1019
  * @see https://tailwindcss.com/docs/min-height
1019
1020
  */
1020
1021
  "min-h": [{
1021
- "min-h": ["screen", "lh", "none", ...B()]
1022
+ "min-h": ["screen", "lh", "none", ...G()]
1022
1023
  }],
1023
1024
  /**
1024
1025
  * Max-Height
1025
1026
  * @see https://tailwindcss.com/docs/max-height
1026
1027
  */
1027
1028
  "max-h": [{
1028
- "max-h": ["screen", "lh", ...B()]
1029
+ "max-h": ["screen", "lh", ...G()]
1029
1030
  }],
1030
1031
  // ------------------
1031
1032
  // --- Typography ---
@@ -1035,7 +1036,7 @@ const nr = (e, o) => {
1035
1036
  * @see https://tailwindcss.com/docs/font-size
1036
1037
  */
1037
1038
  "font-size": [{
1038
- text: ["base", r, Y, F]
1039
+ text: ["base", r, X, j]
1039
1040
  }],
1040
1041
  /**
1041
1042
  * Font Smoothing
@@ -1052,14 +1053,14 @@ const nr = (e, o) => {
1052
1053
  * @see https://tailwindcss.com/docs/font-weight
1053
1054
  */
1054
1055
  "font-weight": [{
1055
- font: [t, m, de]
1056
+ font: [t, m, ce]
1056
1057
  }],
1057
1058
  /**
1058
1059
  * Font Stretch
1059
1060
  * @see https://tailwindcss.com/docs/font-stretch
1060
1061
  */
1061
1062
  "font-stretch": [{
1062
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ce, d]
1063
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ie, d]
1063
1064
  }],
1064
1065
  /**
1065
1066
  * Font Family
@@ -1110,7 +1111,7 @@ const nr = (e, o) => {
1110
1111
  * @see https://tailwindcss.com/docs/line-clamp
1111
1112
  */
1112
1113
  "line-clamp": [{
1113
- "line-clamp": [h, "none", m, de]
1114
+ "line-clamp": [b, "none", m, ce]
1114
1115
  }],
1115
1116
  /**
1116
1117
  * Line Height
@@ -1120,7 +1121,7 @@ const nr = (e, o) => {
1120
1121
  leading: [
1121
1122
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1122
1123
  c,
1123
- ...g()
1124
+ ...f()
1124
1125
  ]
1125
1126
  }],
1126
1127
  /**
@@ -1183,7 +1184,7 @@ const nr = (e, o) => {
1183
1184
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1184
1185
  */
1185
1186
  "text-decoration-thickness": [{
1186
- decoration: [h, "from-font", "auto", m, F]
1187
+ decoration: [b, "from-font", "auto", m, j]
1187
1188
  }],
1188
1189
  /**
1189
1190
  * Text Decoration Color
@@ -1197,7 +1198,7 @@ const nr = (e, o) => {
1197
1198
  * @see https://tailwindcss.com/docs/text-underline-offset
1198
1199
  */
1199
1200
  "underline-offset": [{
1200
- "underline-offset": [h, "auto", m, d]
1201
+ "underline-offset": [b, "auto", m, d]
1201
1202
  }],
1202
1203
  /**
1203
1204
  * Text Transform
@@ -1221,7 +1222,7 @@ const nr = (e, o) => {
1221
1222
  * @see https://tailwindcss.com/docs/text-indent
1222
1223
  */
1223
1224
  indent: [{
1224
- indent: g()
1225
+ indent: f()
1225
1226
  }],
1226
1227
  /**
1227
1228
  * Vertical Alignment
@@ -1294,21 +1295,21 @@ const nr = (e, o) => {
1294
1295
  * @see https://tailwindcss.com/docs/background-position
1295
1296
  */
1296
1297
  "bg-position": [{
1297
- bg: ye()
1298
+ bg: xe()
1298
1299
  }],
1299
1300
  /**
1300
1301
  * Background Repeat
1301
1302
  * @see https://tailwindcss.com/docs/background-repeat
1302
1303
  */
1303
1304
  "bg-repeat": [{
1304
- bg: we()
1305
+ bg: ye()
1305
1306
  }],
1306
1307
  /**
1307
1308
  * Background Size
1308
1309
  * @see https://tailwindcss.com/docs/background-size
1309
1310
  */
1310
1311
  "bg-size": [{
1311
- bg: ve()
1312
+ bg: we()
1312
1313
  }],
1313
1314
  /**
1314
1315
  * Background Image
@@ -1318,10 +1319,10 @@ const nr = (e, o) => {
1318
1319
  bg: ["none", {
1319
1320
  linear: [{
1320
1321
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1321
- }, j, m, d],
1322
+ }, E, m, d],
1322
1323
  radial: ["", m, d],
1323
- conic: [j, m, d]
1324
- }, Wr, Fr]
1324
+ conic: [E, m, d]
1325
+ }, Wr, Lr]
1325
1326
  }],
1326
1327
  /**
1327
1328
  * Background Color
@@ -1335,21 +1336,21 @@ const nr = (e, o) => {
1335
1336
  * @see https://tailwindcss.com/docs/gradient-color-stops
1336
1337
  */
1337
1338
  "gradient-from-pos": [{
1338
- from: ne()
1339
+ from: ae()
1339
1340
  }],
1340
1341
  /**
1341
1342
  * Gradient Color Stops Via Position
1342
1343
  * @see https://tailwindcss.com/docs/gradient-color-stops
1343
1344
  */
1344
1345
  "gradient-via-pos": [{
1345
- via: ne()
1346
+ via: ae()
1346
1347
  }],
1347
1348
  /**
1348
1349
  * Gradient Color Stops To Position
1349
1350
  * @see https://tailwindcss.com/docs/gradient-color-stops
1350
1351
  */
1351
1352
  "gradient-to-pos": [{
1352
- to: ne()
1353
+ to: ae()
1353
1354
  }],
1354
1355
  /**
1355
1356
  * Gradient Color Stops From
@@ -1380,175 +1381,175 @@ const nr = (e, o) => {
1380
1381
  * @see https://tailwindcss.com/docs/border-radius
1381
1382
  */
1382
1383
  rounded: [{
1383
- rounded: A()
1384
+ rounded: R()
1384
1385
  }],
1385
1386
  /**
1386
1387
  * Border Radius Start
1387
1388
  * @see https://tailwindcss.com/docs/border-radius
1388
1389
  */
1389
1390
  "rounded-s": [{
1390
- "rounded-s": A()
1391
+ "rounded-s": R()
1391
1392
  }],
1392
1393
  /**
1393
1394
  * Border Radius End
1394
1395
  * @see https://tailwindcss.com/docs/border-radius
1395
1396
  */
1396
1397
  "rounded-e": [{
1397
- "rounded-e": A()
1398
+ "rounded-e": R()
1398
1399
  }],
1399
1400
  /**
1400
1401
  * Border Radius Top
1401
1402
  * @see https://tailwindcss.com/docs/border-radius
1402
1403
  */
1403
1404
  "rounded-t": [{
1404
- "rounded-t": A()
1405
+ "rounded-t": R()
1405
1406
  }],
1406
1407
  /**
1407
1408
  * Border Radius Right
1408
1409
  * @see https://tailwindcss.com/docs/border-radius
1409
1410
  */
1410
1411
  "rounded-r": [{
1411
- "rounded-r": A()
1412
+ "rounded-r": R()
1412
1413
  }],
1413
1414
  /**
1414
1415
  * Border Radius Bottom
1415
1416
  * @see https://tailwindcss.com/docs/border-radius
1416
1417
  */
1417
1418
  "rounded-b": [{
1418
- "rounded-b": A()
1419
+ "rounded-b": R()
1419
1420
  }],
1420
1421
  /**
1421
1422
  * Border Radius Left
1422
1423
  * @see https://tailwindcss.com/docs/border-radius
1423
1424
  */
1424
1425
  "rounded-l": [{
1425
- "rounded-l": A()
1426
+ "rounded-l": R()
1426
1427
  }],
1427
1428
  /**
1428
1429
  * Border Radius Start Start
1429
1430
  * @see https://tailwindcss.com/docs/border-radius
1430
1431
  */
1431
1432
  "rounded-ss": [{
1432
- "rounded-ss": A()
1433
+ "rounded-ss": R()
1433
1434
  }],
1434
1435
  /**
1435
1436
  * Border Radius Start End
1436
1437
  * @see https://tailwindcss.com/docs/border-radius
1437
1438
  */
1438
1439
  "rounded-se": [{
1439
- "rounded-se": A()
1440
+ "rounded-se": R()
1440
1441
  }],
1441
1442
  /**
1442
1443
  * Border Radius End End
1443
1444
  * @see https://tailwindcss.com/docs/border-radius
1444
1445
  */
1445
1446
  "rounded-ee": [{
1446
- "rounded-ee": A()
1447
+ "rounded-ee": R()
1447
1448
  }],
1448
1449
  /**
1449
1450
  * Border Radius End Start
1450
1451
  * @see https://tailwindcss.com/docs/border-radius
1451
1452
  */
1452
1453
  "rounded-es": [{
1453
- "rounded-es": A()
1454
+ "rounded-es": R()
1454
1455
  }],
1455
1456
  /**
1456
1457
  * Border Radius Top Left
1457
1458
  * @see https://tailwindcss.com/docs/border-radius
1458
1459
  */
1459
1460
  "rounded-tl": [{
1460
- "rounded-tl": A()
1461
+ "rounded-tl": R()
1461
1462
  }],
1462
1463
  /**
1463
1464
  * Border Radius Top Right
1464
1465
  * @see https://tailwindcss.com/docs/border-radius
1465
1466
  */
1466
1467
  "rounded-tr": [{
1467
- "rounded-tr": A()
1468
+ "rounded-tr": R()
1468
1469
  }],
1469
1470
  /**
1470
1471
  * Border Radius Bottom Right
1471
1472
  * @see https://tailwindcss.com/docs/border-radius
1472
1473
  */
1473
1474
  "rounded-br": [{
1474
- "rounded-br": A()
1475
+ "rounded-br": R()
1475
1476
  }],
1476
1477
  /**
1477
1478
  * Border Radius Bottom Left
1478
1479
  * @see https://tailwindcss.com/docs/border-radius
1479
1480
  */
1480
1481
  "rounded-bl": [{
1481
- "rounded-bl": A()
1482
+ "rounded-bl": R()
1482
1483
  }],
1483
1484
  /**
1484
1485
  * Border Width
1485
1486
  * @see https://tailwindcss.com/docs/border-width
1486
1487
  */
1487
1488
  "border-w": [{
1488
- border: S()
1489
+ border: A()
1489
1490
  }],
1490
1491
  /**
1491
1492
  * Border Width X
1492
1493
  * @see https://tailwindcss.com/docs/border-width
1493
1494
  */
1494
1495
  "border-w-x": [{
1495
- "border-x": S()
1496
+ "border-x": A()
1496
1497
  }],
1497
1498
  /**
1498
1499
  * Border Width Y
1499
1500
  * @see https://tailwindcss.com/docs/border-width
1500
1501
  */
1501
1502
  "border-w-y": [{
1502
- "border-y": S()
1503
+ "border-y": A()
1503
1504
  }],
1504
1505
  /**
1505
1506
  * Border Width Start
1506
1507
  * @see https://tailwindcss.com/docs/border-width
1507
1508
  */
1508
1509
  "border-w-s": [{
1509
- "border-s": S()
1510
+ "border-s": A()
1510
1511
  }],
1511
1512
  /**
1512
1513
  * Border Width End
1513
1514
  * @see https://tailwindcss.com/docs/border-width
1514
1515
  */
1515
1516
  "border-w-e": [{
1516
- "border-e": S()
1517
+ "border-e": A()
1517
1518
  }],
1518
1519
  /**
1519
1520
  * Border Width Top
1520
1521
  * @see https://tailwindcss.com/docs/border-width
1521
1522
  */
1522
1523
  "border-w-t": [{
1523
- "border-t": S()
1524
+ "border-t": A()
1524
1525
  }],
1525
1526
  /**
1526
1527
  * Border Width Right
1527
1528
  * @see https://tailwindcss.com/docs/border-width
1528
1529
  */
1529
1530
  "border-w-r": [{
1530
- "border-r": S()
1531
+ "border-r": A()
1531
1532
  }],
1532
1533
  /**
1533
1534
  * Border Width Bottom
1534
1535
  * @see https://tailwindcss.com/docs/border-width
1535
1536
  */
1536
1537
  "border-w-b": [{
1537
- "border-b": S()
1538
+ "border-b": A()
1538
1539
  }],
1539
1540
  /**
1540
1541
  * Border Width Left
1541
1542
  * @see https://tailwindcss.com/docs/border-width
1542
1543
  */
1543
1544
  "border-w-l": [{
1544
- "border-l": S()
1545
+ "border-l": A()
1545
1546
  }],
1546
1547
  /**
1547
1548
  * Divide Width X
1548
1549
  * @see https://tailwindcss.com/docs/border-width#between-children
1549
1550
  */
1550
1551
  "divide-x": [{
1551
- "divide-x": S()
1552
+ "divide-x": A()
1552
1553
  }],
1553
1554
  /**
1554
1555
  * Divide Width X Reverse
@@ -1560,7 +1561,7 @@ const nr = (e, o) => {
1560
1561
  * @see https://tailwindcss.com/docs/border-width#between-children
1561
1562
  */
1562
1563
  "divide-y": [{
1563
- "divide-y": S()
1564
+ "divide-y": A()
1564
1565
  }],
1565
1566
  /**
1566
1567
  * Divide Width Y Reverse
@@ -1663,14 +1664,14 @@ const nr = (e, o) => {
1663
1664
  * @see https://tailwindcss.com/docs/outline-offset
1664
1665
  */
1665
1666
  "outline-offset": [{
1666
- "outline-offset": [h, m, d]
1667
+ "outline-offset": [b, m, d]
1667
1668
  }],
1668
1669
  /**
1669
1670
  * Outline Width
1670
1671
  * @see https://tailwindcss.com/docs/outline-width
1671
1672
  */
1672
1673
  "outline-w": [{
1673
- outline: ["", h, Y, F]
1674
+ outline: ["", b, X, j]
1674
1675
  }],
1675
1676
  /**
1676
1677
  * Outline Color
@@ -1691,7 +1692,7 @@ const nr = (e, o) => {
1691
1692
  // Deprecated since Tailwind CSS v4.0.0
1692
1693
  "",
1693
1694
  "none",
1694
- f,
1695
+ g,
1695
1696
  ee,
1696
1697
  Z
1697
1698
  ]
@@ -1722,7 +1723,7 @@ const nr = (e, o) => {
1722
1723
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1723
1724
  */
1724
1725
  "ring-w": [{
1725
- ring: S()
1726
+ ring: A()
1726
1727
  }],
1727
1728
  /**
1728
1729
  * Ring Width Inset
@@ -1745,7 +1746,7 @@ const nr = (e, o) => {
1745
1746
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1746
1747
  */
1747
1748
  "ring-offset-w": [{
1748
- "ring-offset": [h, F]
1749
+ "ring-offset": [b, j]
1749
1750
  }],
1750
1751
  /**
1751
1752
  * Ring Offset Color
@@ -1761,7 +1762,7 @@ const nr = (e, o) => {
1761
1762
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
1762
1763
  */
1763
1764
  "inset-ring-w": [{
1764
- "inset-ring": S()
1765
+ "inset-ring": A()
1765
1766
  }],
1766
1767
  /**
1767
1768
  * Inset Ring Color
@@ -1789,21 +1790,21 @@ const nr = (e, o) => {
1789
1790
  * @see https://tailwindcss.com/docs/opacity
1790
1791
  */
1791
1792
  opacity: [{
1792
- opacity: [h, m, d]
1793
+ opacity: [b, m, d]
1793
1794
  }],
1794
1795
  /**
1795
1796
  * Mix Blend Mode
1796
1797
  * @see https://tailwindcss.com/docs/mix-blend-mode
1797
1798
  */
1798
1799
  "mix-blend": [{
1799
- "mix-blend": [...ke(), "plus-darker", "plus-lighter"]
1800
+ "mix-blend": [...ve(), "plus-darker", "plus-lighter"]
1800
1801
  }],
1801
1802
  /**
1802
1803
  * Background Blend Mode
1803
1804
  * @see https://tailwindcss.com/docs/background-blend-mode
1804
1805
  */
1805
1806
  "bg-blend": [{
1806
- "bg-blend": ke()
1807
+ "bg-blend": ve()
1807
1808
  }],
1808
1809
  /**
1809
1810
  * Mask Clip
@@ -1824,7 +1825,7 @@ const nr = (e, o) => {
1824
1825
  * @see https://tailwindcss.com/docs/mask-image
1825
1826
  */
1826
1827
  "mask-image-linear-pos": [{
1827
- "mask-linear": [h]
1828
+ "mask-linear": [b]
1828
1829
  }],
1829
1830
  "mask-image-linear-from-pos": [{
1830
1831
  "mask-linear-from": I()
@@ -1935,10 +1936,10 @@ const nr = (e, o) => {
1935
1936
  }]
1936
1937
  }],
1937
1938
  "mask-image-radial-pos": [{
1938
- "mask-radial-at": P()
1939
+ "mask-radial-at": B()
1939
1940
  }],
1940
1941
  "mask-image-conic-pos": [{
1941
- "mask-conic": [h]
1942
+ "mask-conic": [b]
1942
1943
  }],
1943
1944
  "mask-image-conic-from-pos": [{
1944
1945
  "mask-conic-from": I()
@@ -1971,21 +1972,21 @@ const nr = (e, o) => {
1971
1972
  * @see https://tailwindcss.com/docs/mask-position
1972
1973
  */
1973
1974
  "mask-position": [{
1974
- mask: ye()
1975
+ mask: xe()
1975
1976
  }],
1976
1977
  /**
1977
1978
  * Mask Repeat
1978
1979
  * @see https://tailwindcss.com/docs/mask-repeat
1979
1980
  */
1980
1981
  "mask-repeat": [{
1981
- mask: we()
1982
+ mask: ye()
1982
1983
  }],
1983
1984
  /**
1984
1985
  * Mask Size
1985
1986
  * @see https://tailwindcss.com/docs/mask-size
1986
1987
  */
1987
1988
  "mask-size": [{
1988
- mask: ve()
1989
+ mask: we()
1989
1990
  }],
1990
1991
  /**
1991
1992
  * Mask Type
@@ -2022,21 +2023,21 @@ const nr = (e, o) => {
2022
2023
  * @see https://tailwindcss.com/docs/blur
2023
2024
  */
2024
2025
  blur: [{
2025
- blur: Ne()
2026
+ blur: ke()
2026
2027
  }],
2027
2028
  /**
2028
2029
  * Brightness
2029
2030
  * @see https://tailwindcss.com/docs/brightness
2030
2031
  */
2031
2032
  brightness: [{
2032
- brightness: [h, m, d]
2033
+ brightness: [b, m, d]
2033
2034
  }],
2034
2035
  /**
2035
2036
  * Contrast
2036
2037
  * @see https://tailwindcss.com/docs/contrast
2037
2038
  */
2038
2039
  contrast: [{
2039
- contrast: [h, m, d]
2040
+ contrast: [b, m, d]
2040
2041
  }],
2041
2042
  /**
2042
2043
  * Drop Shadow
@@ -2064,35 +2065,35 @@ const nr = (e, o) => {
2064
2065
  * @see https://tailwindcss.com/docs/grayscale
2065
2066
  */
2066
2067
  grayscale: [{
2067
- grayscale: ["", h, m, d]
2068
+ grayscale: ["", b, m, d]
2068
2069
  }],
2069
2070
  /**
2070
2071
  * Hue Rotate
2071
2072
  * @see https://tailwindcss.com/docs/hue-rotate
2072
2073
  */
2073
2074
  "hue-rotate": [{
2074
- "hue-rotate": [h, m, d]
2075
+ "hue-rotate": [b, m, d]
2075
2076
  }],
2076
2077
  /**
2077
2078
  * Invert
2078
2079
  * @see https://tailwindcss.com/docs/invert
2079
2080
  */
2080
2081
  invert: [{
2081
- invert: ["", h, m, d]
2082
+ invert: ["", b, m, d]
2082
2083
  }],
2083
2084
  /**
2084
2085
  * Saturate
2085
2086
  * @see https://tailwindcss.com/docs/saturate
2086
2087
  */
2087
2088
  saturate: [{
2088
- saturate: [h, m, d]
2089
+ saturate: [b, m, d]
2089
2090
  }],
2090
2091
  /**
2091
2092
  * Sepia
2092
2093
  * @see https://tailwindcss.com/docs/sepia
2093
2094
  */
2094
2095
  sepia: [{
2095
- sepia: ["", h, m, d]
2096
+ sepia: ["", b, m, d]
2096
2097
  }],
2097
2098
  /**
2098
2099
  * Backdrop Filter
@@ -2112,63 +2113,63 @@ const nr = (e, o) => {
2112
2113
  * @see https://tailwindcss.com/docs/backdrop-blur
2113
2114
  */
2114
2115
  "backdrop-blur": [{
2115
- "backdrop-blur": Ne()
2116
+ "backdrop-blur": ke()
2116
2117
  }],
2117
2118
  /**
2118
2119
  * Backdrop Brightness
2119
2120
  * @see https://tailwindcss.com/docs/backdrop-brightness
2120
2121
  */
2121
2122
  "backdrop-brightness": [{
2122
- "backdrop-brightness": [h, m, d]
2123
+ "backdrop-brightness": [b, m, d]
2123
2124
  }],
2124
2125
  /**
2125
2126
  * Backdrop Contrast
2126
2127
  * @see https://tailwindcss.com/docs/backdrop-contrast
2127
2128
  */
2128
2129
  "backdrop-contrast": [{
2129
- "backdrop-contrast": [h, m, d]
2130
+ "backdrop-contrast": [b, m, d]
2130
2131
  }],
2131
2132
  /**
2132
2133
  * Backdrop Grayscale
2133
2134
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2134
2135
  */
2135
2136
  "backdrop-grayscale": [{
2136
- "backdrop-grayscale": ["", h, m, d]
2137
+ "backdrop-grayscale": ["", b, m, d]
2137
2138
  }],
2138
2139
  /**
2139
2140
  * Backdrop Hue Rotate
2140
2141
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2141
2142
  */
2142
2143
  "backdrop-hue-rotate": [{
2143
- "backdrop-hue-rotate": [h, m, d]
2144
+ "backdrop-hue-rotate": [b, m, d]
2144
2145
  }],
2145
2146
  /**
2146
2147
  * Backdrop Invert
2147
2148
  * @see https://tailwindcss.com/docs/backdrop-invert
2148
2149
  */
2149
2150
  "backdrop-invert": [{
2150
- "backdrop-invert": ["", h, m, d]
2151
+ "backdrop-invert": ["", b, m, d]
2151
2152
  }],
2152
2153
  /**
2153
2154
  * Backdrop Opacity
2154
2155
  * @see https://tailwindcss.com/docs/backdrop-opacity
2155
2156
  */
2156
2157
  "backdrop-opacity": [{
2157
- "backdrop-opacity": [h, m, d]
2158
+ "backdrop-opacity": [b, m, d]
2158
2159
  }],
2159
2160
  /**
2160
2161
  * Backdrop Saturate
2161
2162
  * @see https://tailwindcss.com/docs/backdrop-saturate
2162
2163
  */
2163
2164
  "backdrop-saturate": [{
2164
- "backdrop-saturate": [h, m, d]
2165
+ "backdrop-saturate": [b, m, d]
2165
2166
  }],
2166
2167
  /**
2167
2168
  * Backdrop Sepia
2168
2169
  * @see https://tailwindcss.com/docs/backdrop-sepia
2169
2170
  */
2170
2171
  "backdrop-sepia": [{
2171
- "backdrop-sepia": ["", h, m, d]
2172
+ "backdrop-sepia": ["", b, m, d]
2172
2173
  }],
2173
2174
  // --------------
2174
2175
  // --- Tables ---
@@ -2185,21 +2186,21 @@ const nr = (e, o) => {
2185
2186
  * @see https://tailwindcss.com/docs/border-spacing
2186
2187
  */
2187
2188
  "border-spacing": [{
2188
- "border-spacing": g()
2189
+ "border-spacing": f()
2189
2190
  }],
2190
2191
  /**
2191
2192
  * Border Spacing X
2192
2193
  * @see https://tailwindcss.com/docs/border-spacing
2193
2194
  */
2194
2195
  "border-spacing-x": [{
2195
- "border-spacing-x": g()
2196
+ "border-spacing-x": f()
2196
2197
  }],
2197
2198
  /**
2198
2199
  * Border Spacing Y
2199
2200
  * @see https://tailwindcss.com/docs/border-spacing
2200
2201
  */
2201
2202
  "border-spacing-y": [{
2202
- "border-spacing-y": g()
2203
+ "border-spacing-y": f()
2203
2204
  }],
2204
2205
  /**
2205
2206
  * Table Layout
@@ -2237,28 +2238,28 @@ const nr = (e, o) => {
2237
2238
  * @see https://tailwindcss.com/docs/transition-duration
2238
2239
  */
2239
2240
  duration: [{
2240
- duration: [h, "initial", m, d]
2241
+ duration: [b, "initial", m, d]
2241
2242
  }],
2242
2243
  /**
2243
2244
  * Transition Timing Function
2244
2245
  * @see https://tailwindcss.com/docs/transition-timing-function
2245
2246
  */
2246
2247
  ease: [{
2247
- ease: ["linear", "initial", M, m, d]
2248
+ ease: ["linear", "initial", T, m, d]
2248
2249
  }],
2249
2250
  /**
2250
2251
  * Transition Delay
2251
2252
  * @see https://tailwindcss.com/docs/transition-delay
2252
2253
  */
2253
2254
  delay: [{
2254
- delay: [h, m, d]
2255
+ delay: [b, m, d]
2255
2256
  }],
2256
2257
  /**
2257
2258
  * Animation
2258
2259
  * @see https://tailwindcss.com/docs/animation
2259
2260
  */
2260
2261
  animate: [{
2261
- animate: ["none", v, m, d]
2262
+ animate: ["none", Y, m, d]
2262
2263
  }],
2263
2264
  // ------------------
2264
2265
  // --- Transforms ---
@@ -2275,14 +2276,14 @@ const nr = (e, o) => {
2275
2276
  * @see https://tailwindcss.com/docs/perspective
2276
2277
  */
2277
2278
  perspective: [{
2278
- perspective: [w, m, d]
2279
+ perspective: [v, m, d]
2279
2280
  }],
2280
2281
  /**
2281
2282
  * Perspective Origin
2282
2283
  * @see https://tailwindcss.com/docs/perspective-origin
2283
2284
  */
2284
2285
  "perspective-origin": [{
2285
- "perspective-origin": V()
2286
+ "perspective-origin": F()
2286
2287
  }],
2287
2288
  /**
2288
2289
  * Rotate
@@ -2350,21 +2351,21 @@ const nr = (e, o) => {
2350
2351
  * @see https://tailwindcss.com/docs/skew
2351
2352
  */
2352
2353
  skew: [{
2353
- skew: ae()
2354
+ skew: le()
2354
2355
  }],
2355
2356
  /**
2356
2357
  * Skew X
2357
2358
  * @see https://tailwindcss.com/docs/skew
2358
2359
  */
2359
2360
  "skew-x": [{
2360
- "skew-x": ae()
2361
+ "skew-x": le()
2361
2362
  }],
2362
2363
  /**
2363
2364
  * Skew Y
2364
2365
  * @see https://tailwindcss.com/docs/skew
2365
2366
  */
2366
2367
  "skew-y": [{
2367
- "skew-y": ae()
2368
+ "skew-y": le()
2368
2369
  }],
2369
2370
  /**
2370
2371
  * Transform
@@ -2378,7 +2379,7 @@ const nr = (e, o) => {
2378
2379
  * @see https://tailwindcss.com/docs/transform-origin
2379
2380
  */
2380
2381
  "transform-origin": [{
2381
- origin: V()
2382
+ origin: F()
2382
2383
  }],
2383
2384
  /**
2384
2385
  * Transform Style
@@ -2491,126 +2492,126 @@ const nr = (e, o) => {
2491
2492
  * @see https://tailwindcss.com/docs/scroll-margin
2492
2493
  */
2493
2494
  "scroll-m": [{
2494
- "scroll-m": g()
2495
+ "scroll-m": f()
2495
2496
  }],
2496
2497
  /**
2497
2498
  * Scroll Margin X
2498
2499
  * @see https://tailwindcss.com/docs/scroll-margin
2499
2500
  */
2500
2501
  "scroll-mx": [{
2501
- "scroll-mx": g()
2502
+ "scroll-mx": f()
2502
2503
  }],
2503
2504
  /**
2504
2505
  * Scroll Margin Y
2505
2506
  * @see https://tailwindcss.com/docs/scroll-margin
2506
2507
  */
2507
2508
  "scroll-my": [{
2508
- "scroll-my": g()
2509
+ "scroll-my": f()
2509
2510
  }],
2510
2511
  /**
2511
2512
  * Scroll Margin Start
2512
2513
  * @see https://tailwindcss.com/docs/scroll-margin
2513
2514
  */
2514
2515
  "scroll-ms": [{
2515
- "scroll-ms": g()
2516
+ "scroll-ms": f()
2516
2517
  }],
2517
2518
  /**
2518
2519
  * Scroll Margin End
2519
2520
  * @see https://tailwindcss.com/docs/scroll-margin
2520
2521
  */
2521
2522
  "scroll-me": [{
2522
- "scroll-me": g()
2523
+ "scroll-me": f()
2523
2524
  }],
2524
2525
  /**
2525
2526
  * Scroll Margin Top
2526
2527
  * @see https://tailwindcss.com/docs/scroll-margin
2527
2528
  */
2528
2529
  "scroll-mt": [{
2529
- "scroll-mt": g()
2530
+ "scroll-mt": f()
2530
2531
  }],
2531
2532
  /**
2532
2533
  * Scroll Margin Right
2533
2534
  * @see https://tailwindcss.com/docs/scroll-margin
2534
2535
  */
2535
2536
  "scroll-mr": [{
2536
- "scroll-mr": g()
2537
+ "scroll-mr": f()
2537
2538
  }],
2538
2539
  /**
2539
2540
  * Scroll Margin Bottom
2540
2541
  * @see https://tailwindcss.com/docs/scroll-margin
2541
2542
  */
2542
2543
  "scroll-mb": [{
2543
- "scroll-mb": g()
2544
+ "scroll-mb": f()
2544
2545
  }],
2545
2546
  /**
2546
2547
  * Scroll Margin Left
2547
2548
  * @see https://tailwindcss.com/docs/scroll-margin
2548
2549
  */
2549
2550
  "scroll-ml": [{
2550
- "scroll-ml": g()
2551
+ "scroll-ml": f()
2551
2552
  }],
2552
2553
  /**
2553
2554
  * Scroll Padding
2554
2555
  * @see https://tailwindcss.com/docs/scroll-padding
2555
2556
  */
2556
2557
  "scroll-p": [{
2557
- "scroll-p": g()
2558
+ "scroll-p": f()
2558
2559
  }],
2559
2560
  /**
2560
2561
  * Scroll Padding X
2561
2562
  * @see https://tailwindcss.com/docs/scroll-padding
2562
2563
  */
2563
2564
  "scroll-px": [{
2564
- "scroll-px": g()
2565
+ "scroll-px": f()
2565
2566
  }],
2566
2567
  /**
2567
2568
  * Scroll Padding Y
2568
2569
  * @see https://tailwindcss.com/docs/scroll-padding
2569
2570
  */
2570
2571
  "scroll-py": [{
2571
- "scroll-py": g()
2572
+ "scroll-py": f()
2572
2573
  }],
2573
2574
  /**
2574
2575
  * Scroll Padding Start
2575
2576
  * @see https://tailwindcss.com/docs/scroll-padding
2576
2577
  */
2577
2578
  "scroll-ps": [{
2578
- "scroll-ps": g()
2579
+ "scroll-ps": f()
2579
2580
  }],
2580
2581
  /**
2581
2582
  * Scroll Padding End
2582
2583
  * @see https://tailwindcss.com/docs/scroll-padding
2583
2584
  */
2584
2585
  "scroll-pe": [{
2585
- "scroll-pe": g()
2586
+ "scroll-pe": f()
2586
2587
  }],
2587
2588
  /**
2588
2589
  * Scroll Padding Top
2589
2590
  * @see https://tailwindcss.com/docs/scroll-padding
2590
2591
  */
2591
2592
  "scroll-pt": [{
2592
- "scroll-pt": g()
2593
+ "scroll-pt": f()
2593
2594
  }],
2594
2595
  /**
2595
2596
  * Scroll Padding Right
2596
2597
  * @see https://tailwindcss.com/docs/scroll-padding
2597
2598
  */
2598
2599
  "scroll-pr": [{
2599
- "scroll-pr": g()
2600
+ "scroll-pr": f()
2600
2601
  }],
2601
2602
  /**
2602
2603
  * Scroll Padding Bottom
2603
2604
  * @see https://tailwindcss.com/docs/scroll-padding
2604
2605
  */
2605
2606
  "scroll-pb": [{
2606
- "scroll-pb": g()
2607
+ "scroll-pb": f()
2607
2608
  }],
2608
2609
  /**
2609
2610
  * Scroll Padding Left
2610
2611
  * @see https://tailwindcss.com/docs/scroll-padding
2611
2612
  */
2612
2613
  "scroll-pl": [{
2613
- "scroll-pl": g()
2614
+ "scroll-pl": f()
2614
2615
  }],
2615
2616
  /**
2616
2617
  * Scroll Snap Align
@@ -2695,7 +2696,7 @@ const nr = (e, o) => {
2695
2696
  * @see https://tailwindcss.com/docs/stroke-width
2696
2697
  */
2697
2698
  "stroke-w": [{
2698
- stroke: [h, Y, F, de]
2699
+ stroke: [b, X, j, ce]
2699
2700
  }],
2700
2701
  /**
2701
2702
  * Stroke
@@ -2788,7 +2789,7 @@ function qr({
2788
2789
  trackingLabel: c,
2789
2790
  componentName: n = "EntityCard"
2790
2791
  }) {
2791
- const l = e.entityType === "personal", i = l ? oe : pe;
2792
+ const l = e.entityType === "personal", i = l ? se : ue;
2792
2793
  return /* @__PURE__ */ a(
2793
2794
  "div",
2794
2795
  {
@@ -2849,7 +2850,7 @@ function qr({
2849
2850
  }
2850
2851
  );
2851
2852
  }
2852
- function st({
2853
+ function nt({
2853
2854
  entities: e,
2854
2855
  selectedSlug: o,
2855
2856
  onSelect: r,
@@ -2861,31 +2862,31 @@ function st({
2861
2862
  componentName: i = "EntityList"
2862
2863
  }) {
2863
2864
  if (t)
2864
- return /* @__PURE__ */ a("div", { className: x("space-y-3", c), children: [1, 2, 3].map((f) => /* @__PURE__ */ a(
2865
+ return /* @__PURE__ */ a("div", { className: x("space-y-3", c), children: [1, 2, 3].map((g) => /* @__PURE__ */ a(
2865
2866
  "div",
2866
2867
  {
2867
2868
  className: "h-24 rounded-lg border border-border bg-muted animate-pulse"
2868
2869
  },
2869
- f
2870
+ g
2870
2871
  )) });
2871
2872
  if (e.length === 0)
2872
2873
  return /* @__PURE__ */ a("div", { className: x("text-center py-8 text-muted-foreground", c), children: s });
2873
- const p = (f) => {
2874
- n?.({ action: "select", trackingLabel: l, componentName: i }), r?.(f);
2874
+ const p = (g) => {
2875
+ n?.({ action: "select", trackingLabel: l, componentName: i }), r?.(g);
2875
2876
  };
2876
- return /* @__PURE__ */ a("div", { className: x("space-y-3", c), children: e.map((f) => /* @__PURE__ */ a(
2877
+ return /* @__PURE__ */ a("div", { className: x("space-y-3", c), children: e.map((g) => /* @__PURE__ */ a(
2877
2878
  qr,
2878
2879
  {
2879
- entity: f,
2880
- isSelected: f.entitySlug === o,
2881
- onClick: r ? () => p(f) : void 0,
2880
+ entity: g,
2881
+ isSelected: g.entitySlug === o,
2882
+ onClick: r ? () => p(g) : void 0,
2882
2883
  onTrack: n,
2883
2884
  trackingLabel: l
2884
2885
  },
2885
- f.id
2886
+ g.id
2886
2887
  )) });
2887
2888
  }
2888
- function nt({
2889
+ function at({
2889
2890
  entities: e,
2890
2891
  currentEntity: o,
2891
2892
  onSelect: r,
@@ -2896,12 +2897,12 @@ function nt({
2896
2897
  trackingLabel: l,
2897
2898
  componentName: i = "EntitySelector"
2898
2899
  }) {
2899
- const [p, f] = D(!1), k = () => {
2900
- n?.({ action: "toggle", trackingLabel: l, componentName: i }), f(!p);
2901
- }, N = (b) => {
2902
- n?.({ action: "select", trackingLabel: l, componentName: i }), r(b), f(!1);
2900
+ const [p, g] = _(!1), k = () => {
2901
+ n?.({ action: "toggle", trackingLabel: l, componentName: i }), g(!p);
2902
+ }, N = (h) => {
2903
+ n?.({ action: "select", trackingLabel: l, componentName: i }), r(h), g(!1);
2903
2904
  }, C = () => {
2904
- n?.({ action: "create_new", trackingLabel: l, componentName: i }), t?.(), f(!1);
2905
+ n?.({ action: "create_new", trackingLabel: l, componentName: i }), t?.(), g(!1);
2905
2906
  };
2906
2907
  return /* @__PURE__ */ y("div", { className: x("relative", c), children: [
2907
2908
  /* @__PURE__ */ y(
@@ -2917,12 +2918,12 @@ function nt({
2917
2918
  s && "opacity-50 cursor-not-allowed"
2918
2919
  ),
2919
2920
  children: [
2920
- o ? /* @__PURE__ */ y(le, { children: [
2921
- o.entityType === "personal" ? /* @__PURE__ */ a(oe, { className: "h-4 w-4 text-blue-600 dark:text-blue-400" }) : /* @__PURE__ */ a(pe, { className: "h-4 w-4 text-purple-600 dark:text-purple-400" }),
2921
+ o ? /* @__PURE__ */ y(re, { children: [
2922
+ o.entityType === "personal" ? /* @__PURE__ */ a(se, { className: "h-4 w-4 text-blue-600 dark:text-blue-400" }) : /* @__PURE__ */ a(ue, { className: "h-4 w-4 text-purple-600 dark:text-purple-400" }),
2922
2923
  /* @__PURE__ */ a("span", { className: "font-medium text-sm truncate max-w-[150px]", children: o.displayName })
2923
2924
  ] }) : /* @__PURE__ */ a("span", { className: "text-sm text-muted-foreground", children: "Select workspace" }),
2924
2925
  /* @__PURE__ */ a(
2925
- Ee,
2926
+ Se,
2926
2927
  {
2927
2928
  className: x(
2928
2929
  "h-4 w-4 text-muted-foreground transition-transform",
@@ -2933,12 +2934,12 @@ function nt({
2933
2934
  ]
2934
2935
  }
2935
2936
  ),
2936
- p && /* @__PURE__ */ y(le, { children: [
2937
+ p && /* @__PURE__ */ y(re, { children: [
2937
2938
  /* @__PURE__ */ a(
2938
2939
  "div",
2939
2940
  {
2940
2941
  className: "fixed inset-0 z-40",
2941
- onClick: () => f(!1)
2942
+ onClick: () => g(!1)
2942
2943
  }
2943
2944
  ),
2944
2945
  /* @__PURE__ */ a(
@@ -2950,26 +2951,26 @@ function nt({
2950
2951
  "animate-in fade-in-0 zoom-in-95"
2951
2952
  ),
2952
2953
  children: /* @__PURE__ */ y("div", { className: "p-1", children: [
2953
- e.filter((b) => b.entityType === "personal").map((b) => /* @__PURE__ */ a(
2954
- Me,
2954
+ e.filter((h) => h.entityType === "personal").map((h) => /* @__PURE__ */ a(
2955
+ Ae,
2955
2956
  {
2956
- entity: b,
2957
- isSelected: b.id === o?.id,
2958
- onClick: () => N(b)
2957
+ entity: h,
2958
+ isSelected: h.id === o?.id,
2959
+ onClick: () => N(h)
2959
2960
  },
2960
- b.id
2961
+ h.id
2961
2962
  )),
2962
- e.some((b) => b.entityType === "personal") && e.some((b) => b.entityType === "organization") && /* @__PURE__ */ a("div", { className: "my-1 h-px bg-border" }),
2963
- e.filter((b) => b.entityType === "organization").map((b) => /* @__PURE__ */ a(
2964
- Me,
2963
+ e.some((h) => h.entityType === "personal") && e.some((h) => h.entityType === "organization") && /* @__PURE__ */ a("div", { className: "my-1 h-px bg-border" }),
2964
+ e.filter((h) => h.entityType === "organization").map((h) => /* @__PURE__ */ a(
2965
+ Ae,
2965
2966
  {
2966
- entity: b,
2967
- isSelected: b.id === o?.id,
2968
- onClick: () => N(b)
2967
+ entity: h,
2968
+ isSelected: h.id === o?.id,
2969
+ onClick: () => N(h)
2969
2970
  },
2970
- b.id
2971
+ h.id
2971
2972
  )),
2972
- t && /* @__PURE__ */ y(le, { children: [
2973
+ t && /* @__PURE__ */ y(re, { children: [
2973
2974
  /* @__PURE__ */ a("div", { className: "my-1 h-px bg-border" }),
2974
2975
  /* @__PURE__ */ y(
2975
2976
  "button",
@@ -2981,7 +2982,7 @@ function nt({
2981
2982
  "text-sm text-primary hover:bg-muted transition-colors"
2982
2983
  ),
2983
2984
  children: [
2984
- /* @__PURE__ */ a(Ye, { className: "h-4 w-4" }),
2985
+ /* @__PURE__ */ a($e, { className: "h-4 w-4" }),
2985
2986
  /* @__PURE__ */ a("span", { children: "Create organization" })
2986
2987
  ]
2987
2988
  }
@@ -2993,8 +2994,8 @@ function nt({
2993
2994
  ] })
2994
2995
  ] });
2995
2996
  }
2996
- function Me({ entity: e, isSelected: o, onClick: r }) {
2997
- const t = e.entityType === "personal", s = t ? oe : pe;
2997
+ function Ae({ entity: e, isSelected: o, onClick: r }) {
2998
+ const t = e.entityType === "personal", s = t ? se : ue;
2998
2999
  return /* @__PURE__ */ y(
2999
3000
  "button",
3000
3001
  {
@@ -3016,35 +3017,35 @@ function Me({ entity: e, isSelected: o, onClick: r }) {
3016
3017
  }
3017
3018
  ),
3018
3019
  /* @__PURE__ */ a("span", { className: "flex-1 text-left truncate", children: e.displayName }),
3019
- o && /* @__PURE__ */ a(fe, { className: "h-4 w-4" })
3020
+ o && /* @__PURE__ */ a(pe, { className: "h-4 w-4" })
3020
3021
  ]
3021
3022
  }
3022
3023
  );
3023
3024
  }
3024
- const me = [
3025
+ const de = [
3025
3026
  {
3026
- value: re.OWNER,
3027
+ value: te.OWNER,
3027
3028
  label: "Owner",
3028
3029
  description: "Full access to all settings and members",
3029
- icon: qe,
3030
+ icon: Xe,
3030
3031
  color: "text-purple-600 dark:text-purple-400"
3031
3032
  },
3032
3033
  {
3033
- value: re.MANAGER,
3034
+ value: te.MANAGER,
3034
3035
  label: "Manager",
3035
3036
  description: "Can manage projects and API keys",
3036
- icon: Je,
3037
+ icon: Ye,
3037
3038
  color: "text-blue-600 dark:text-blue-400"
3038
3039
  },
3039
3040
  {
3040
- value: re.MEMBER,
3041
+ value: te.MEMBER,
3041
3042
  label: "Member",
3042
3043
  description: "Read-only access",
3043
- icon: He,
3044
+ icon: qe,
3044
3045
  color: "text-gray-600 dark:text-gray-400"
3045
3046
  }
3046
3047
  ];
3047
- function Xe({
3048
+ function Ue({
3048
3049
  value: e,
3049
3050
  onChange: o,
3050
3051
  disabled: r = !1,
@@ -3053,42 +3054,29 @@ function Xe({
3053
3054
  trackingLabel: c,
3054
3055
  componentName: n = "MemberRoleSelector"
3055
3056
  }) {
3056
- const [l, i] = D(!1), [p, f] = D({
3057
+ const [l, i] = _(!1), [p, g] = _({
3057
3058
  top: 0,
3058
- left: 0
3059
- }), k = ie(null), N = ie(null), C = ie(null), b = me.find((v) => v.value === e) || me[2], w = or(() => {
3060
- if (C.current) {
3061
- const v = C.current.getBoundingClientRect();
3062
- f({
3063
- top: v.bottom + 4,
3064
- left: v.right - 200
3059
+ right: 0
3060
+ }), k = rr(null), N = de.find((w) => w.value === e) || de[2], C = tr(() => {
3061
+ if (k.current) {
3062
+ const w = k.current.getBoundingClientRect();
3063
+ g({
3064
+ top: w.bottom + 4,
3065
+ right: window.innerWidth - w.right
3065
3066
  });
3066
3067
  }
3067
- }, []), R = () => {
3068
- r || (s?.({ action: "toggle", trackingLabel: c, componentName: n }), l || w(), i(!l));
3069
- }, M = (v) => {
3070
- s?.({ action: "select", trackingLabel: c, componentName: n }), o(v), i(!1);
3068
+ }, []), h = () => {
3069
+ r || (s?.({ action: "toggle", trackingLabel: c, componentName: n }), l || C(), i(!l));
3070
+ }, v = (w) => {
3071
+ s?.({ action: "select", trackingLabel: c, componentName: n }), o(w), i(!1);
3071
3072
  };
3072
- return Ce(() => {
3073
- const v = (E) => {
3074
- const P = E.target;
3075
- k.current && !k.current.contains(P) && N.current && !N.current.contains(P) && i(!1);
3076
- };
3077
- if (l)
3078
- return document.addEventListener("mousedown", v), () => document.removeEventListener("mousedown", v);
3079
- }, [l]), Ce(() => {
3080
- const v = (E) => {
3081
- E.key === "Escape" && i(!1);
3082
- };
3083
- if (l)
3084
- return document.addEventListener("keydown", v), () => document.removeEventListener("keydown", v);
3085
- }, [l]), /* @__PURE__ */ y("div", { ref: k, className: x("relative", t), children: [
3073
+ return /* @__PURE__ */ y("div", { className: x("relative", t), children: [
3086
3074
  /* @__PURE__ */ y(
3087
3075
  "button",
3088
3076
  {
3089
- ref: C,
3077
+ ref: k,
3090
3078
  type: "button",
3091
- onClick: R,
3079
+ onClick: h,
3092
3080
  disabled: r,
3093
3081
  className: x(
3094
3082
  "flex items-center gap-1.5 px-2 py-1 rounded border text-sm",
@@ -3098,10 +3086,10 @@ function Xe({
3098
3086
  "aria-expanded": l,
3099
3087
  "aria-haspopup": "listbox",
3100
3088
  children: [
3101
- /* @__PURE__ */ a(b.icon, { className: x("h-3.5 w-3.5", b.color) }),
3102
- /* @__PURE__ */ a("span", { children: b.label }),
3089
+ /* @__PURE__ */ a(N.icon, { className: x("h-3.5 w-3.5", N.color) }),
3090
+ /* @__PURE__ */ a("span", { children: N.label }),
3103
3091
  /* @__PURE__ */ a(
3104
- Ee,
3092
+ Se,
3105
3093
  {
3106
3094
  className: x(
3107
3095
  "h-3.5 w-3.5 text-muted-foreground transition-transform",
@@ -3112,44 +3100,51 @@ function Xe({
3112
3100
  ]
3113
3101
  }
3114
3102
  ),
3115
- l && /* @__PURE__ */ a(
3116
- "div",
3117
- {
3118
- ref: N,
3119
- className: x(
3120
- "fixed z-50",
3121
- "min-w-[200px] rounded-lg border border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800 shadow-lg p-1",
3122
- "animate-in fade-in-0 zoom-in-95"
3103
+ l && or(
3104
+ /* @__PURE__ */ y(re, { children: [
3105
+ /* @__PURE__ */ a(
3106
+ "div",
3107
+ {
3108
+ className: "fixed inset-0 z-[999998]",
3109
+ onClick: () => i(!1)
3110
+ }
3123
3111
  ),
3124
- style: { top: p.top, left: Math.max(0, p.left) },
3125
- role: "listbox",
3126
- "aria-label": "Roles",
3127
- children: me.map((v) => /* @__PURE__ */ y(
3128
- "button",
3112
+ /* @__PURE__ */ a(
3113
+ "div",
3129
3114
  {
3130
- type: "button",
3131
- onClick: () => M(v.value),
3132
- className: x(
3133
- "flex items-start gap-2 w-full px-2 py-2 rounded text-left",
3134
- "transition-colors",
3135
- v.value === e ? "bg-primary/10" : "hover:bg-muted"
3136
- ),
3137
- role: "option",
3138
- "aria-selected": v.value === e,
3139
- children: [
3140
- /* @__PURE__ */ a(v.icon, { className: x("h-4 w-4 mt-0.5", v.color) }),
3141
- /* @__PURE__ */ y("div", { className: "flex-1 min-w-0", children: [
3142
- /* @__PURE__ */ y("div", { className: "flex items-center gap-2", children: [
3143
- /* @__PURE__ */ a("span", { className: "font-medium text-sm", children: v.label }),
3144
- v.value === e && /* @__PURE__ */ a(fe, { className: "h-3.5 w-3.5 text-primary" })
3145
- ] }),
3146
- /* @__PURE__ */ a("p", { className: "text-xs text-muted-foreground", children: v.description })
3147
- ] })
3148
- ]
3149
- },
3150
- v.value
3151
- ))
3152
- }
3115
+ className: "fixed z-[999999] w-52 bg-white dark:bg-gray-800 rounded-lg shadow-xl border border-gray-200 dark:border-gray-700 py-1",
3116
+ style: { top: p.top, right: p.right },
3117
+ role: "listbox",
3118
+ "aria-label": "Roles",
3119
+ children: de.map((w) => /* @__PURE__ */ y(
3120
+ "button",
3121
+ {
3122
+ type: "button",
3123
+ onClick: () => v(w.value),
3124
+ className: x(
3125
+ "flex items-start gap-2 w-full px-3 py-2 text-left",
3126
+ "transition-colors cursor-pointer",
3127
+ w.value === e ? "bg-gray-100 dark:bg-gray-700" : "hover:bg-gray-50 dark:hover:bg-gray-700"
3128
+ ),
3129
+ role: "option",
3130
+ "aria-selected": w.value === e,
3131
+ children: [
3132
+ /* @__PURE__ */ a(w.icon, { className: x("h-4 w-4 mt-0.5", w.color) }),
3133
+ /* @__PURE__ */ y("div", { className: "flex-1 min-w-0", children: [
3134
+ /* @__PURE__ */ y("div", { className: "flex items-center gap-2", children: [
3135
+ /* @__PURE__ */ a("span", { className: "font-medium text-sm text-gray-900 dark:text-gray-100", children: w.label }),
3136
+ w.value === e && /* @__PURE__ */ a(pe, { className: "h-3.5 w-3.5 text-blue-600 dark:text-blue-400" })
3137
+ ] }),
3138
+ /* @__PURE__ */ a("p", { className: "text-xs text-gray-500 dark:text-gray-400", children: w.description })
3139
+ ] })
3140
+ ]
3141
+ },
3142
+ w.value
3143
+ ))
3144
+ }
3145
+ )
3146
+ ] }),
3147
+ document.body
3153
3148
  )
3154
3149
  ] });
3155
3150
  }
@@ -3158,7 +3153,7 @@ const Jr = {
3158
3153
  manager: "bg-blue-100 text-blue-700 dark:bg-blue-900 dark:text-blue-300",
3159
3154
  member: "bg-gray-100 text-gray-700 dark:bg-gray-800 dark:text-gray-300"
3160
3155
  };
3161
- function at({
3156
+ function lt({
3162
3157
  members: e,
3163
3158
  currentUserId: o,
3164
3159
  canManage: r = !1,
@@ -3169,7 +3164,7 @@ function at({
3169
3164
  className: l,
3170
3165
  onTrack: i,
3171
3166
  trackingLabel: p,
3172
- componentName: f = "MemberList"
3167
+ componentName: g = "MemberList"
3173
3168
  }) {
3174
3169
  if (c)
3175
3170
  return /* @__PURE__ */ a("div", { className: x("space-y-2", l), children: [1, 2, 3].map((C) => /* @__PURE__ */ a(
@@ -3181,10 +3176,10 @@ function at({
3181
3176
  )) });
3182
3177
  if (e.length === 0)
3183
3178
  return /* @__PURE__ */ a("div", { className: x("text-center py-8 text-muted-foreground", l), children: n });
3184
- const k = (C, b) => {
3185
- i?.({ action: "role_change", trackingLabel: p, componentName: f }), t?.(C, b);
3179
+ const k = (C, h) => {
3180
+ i?.({ action: "role_change", trackingLabel: p, componentName: g }), t?.(C, h);
3186
3181
  }, N = (C) => {
3187
- i?.({ action: "remove", trackingLabel: p, componentName: f }), s?.(C);
3182
+ i?.({ action: "remove", trackingLabel: p, componentName: g }), s?.(C);
3188
3183
  };
3189
3184
  return /* @__PURE__ */ a("div", { className: x("divide-y divide-border rounded-lg border", l), children: e.map((C) => /* @__PURE__ */ a(
3190
3185
  Hr,
@@ -3207,7 +3202,7 @@ function Hr({
3207
3202
  }) {
3208
3203
  const c = e.user?.displayName || e.user?.email || "Unknown user", n = e.user?.email;
3209
3204
  return /* @__PURE__ */ y("div", { className: "flex items-center gap-3 p-3", children: [
3210
- /* @__PURE__ */ a("div", { className: "flex h-10 w-10 items-center justify-center rounded-full bg-muted", children: /* @__PURE__ */ a(oe, { className: "h-5 w-5 text-muted-foreground" }) }),
3205
+ /* @__PURE__ */ a("div", { className: "flex h-10 w-10 items-center justify-center rounded-full bg-muted", children: /* @__PURE__ */ a(se, { className: "h-5 w-5 text-muted-foreground" }) }),
3211
3206
  /* @__PURE__ */ y("div", { className: "flex-1 min-w-0", children: [
3212
3207
  /* @__PURE__ */ y("div", { className: "flex items-center gap-2", children: [
3213
3208
  /* @__PURE__ */ a("p", { className: "font-medium text-foreground truncate", children: c }),
@@ -3216,7 +3211,7 @@ function Hr({
3216
3211
  n && /* @__PURE__ */ a("p", { className: "text-sm text-muted-foreground truncate", children: n })
3217
3212
  ] }),
3218
3213
  r && t && !o ? /* @__PURE__ */ a(
3219
- Xe,
3214
+ Ue,
3220
3215
  {
3221
3216
  value: e.role,
3222
3217
  onChange: (l) => t(e.userId, l)
@@ -3241,23 +3236,23 @@ function Hr({
3241
3236
  "hover:text-destructive transition-colors"
3242
3237
  ),
3243
3238
  title: "Remove member",
3244
- children: /* @__PURE__ */ a(Ke, { className: "h-4 w-4" })
3239
+ children: /* @__PURE__ */ a(Je, { className: "h-4 w-4" })
3245
3240
  }
3246
3241
  )
3247
3242
  ] });
3248
3243
  }
3249
- function lt({
3244
+ function it({
3250
3245
  onSubmit: e,
3251
3246
  isSubmitting: o = !1,
3252
- defaultRole: r = re.MEMBER,
3247
+ defaultRole: r = te.MEMBER,
3253
3248
  className: t,
3254
3249
  onTrack: s,
3255
3250
  trackingLabel: c,
3256
3251
  componentName: n = "InvitationForm"
3257
3252
  }) {
3258
- const [l, i] = D(""), [p, f] = D(r), [k, N] = D(null);
3259
- return /* @__PURE__ */ y("form", { onSubmit: async (b) => {
3260
- if (b.preventDefault(), N(null), !l.trim()) {
3253
+ const [l, i] = _(""), [p, g] = _(r), [k, N] = _(null);
3254
+ return /* @__PURE__ */ y("form", { onSubmit: async (h) => {
3255
+ if (h.preventDefault(), N(null), !l.trim()) {
3261
3256
  N("Email is required");
3262
3257
  return;
3263
3258
  }
@@ -3267,20 +3262,20 @@ function lt({
3267
3262
  }
3268
3263
  s?.({ action: "submit", trackingLabel: c, componentName: n });
3269
3264
  try {
3270
- await e({ email: l.trim(), role: p }), i(""), f(r);
3271
- } catch (w) {
3272
- N(w.message || "Failed to send invitation");
3265
+ await e({ email: l.trim(), role: p }), i(""), g(r);
3266
+ } catch (v) {
3267
+ N(v.message || "Failed to send invitation");
3273
3268
  }
3274
3269
  }, className: x("space-y-4", t), children: [
3275
3270
  /* @__PURE__ */ y("div", { className: "flex gap-2", children: [
3276
3271
  /* @__PURE__ */ y("div", { className: "relative flex-1", children: [
3277
- /* @__PURE__ */ a(Pe, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground" }),
3272
+ /* @__PURE__ */ a(Me, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground" }),
3278
3273
  /* @__PURE__ */ a(
3279
3274
  "input",
3280
3275
  {
3281
3276
  type: "email",
3282
3277
  value: l,
3283
- onChange: (b) => i(b.target.value),
3278
+ onChange: (h) => i(h.target.value),
3284
3279
  placeholder: "Enter email address",
3285
3280
  disabled: o,
3286
3281
  className: x(
@@ -3294,10 +3289,10 @@ function lt({
3294
3289
  )
3295
3290
  ] }),
3296
3291
  /* @__PURE__ */ a(
3297
- Xe,
3292
+ Ue,
3298
3293
  {
3299
3294
  value: p,
3300
- onChange: f,
3295
+ onChange: g,
3301
3296
  disabled: o
3302
3297
  }
3303
3298
  ),
@@ -3314,7 +3309,7 @@ function lt({
3314
3309
  (o || !l.trim()) && "opacity-50 cursor-not-allowed"
3315
3310
  ),
3316
3311
  children: [
3317
- o ? /* @__PURE__ */ a(Qe, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ a(Ze, { className: "h-4 w-4" }),
3312
+ o ? /* @__PURE__ */ a(He, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ a(Ke, { className: "h-4 w-4" }),
3318
3313
  /* @__PURE__ */ a("span", { className: "hidden sm:inline", children: "Invite" })
3319
3314
  ]
3320
3315
  }
@@ -3331,7 +3326,7 @@ const Qr = {
3331
3326
  manager: "bg-blue-100 text-blue-700 dark:bg-blue-900 dark:text-blue-300",
3332
3327
  member: "bg-gray-100 text-gray-700 dark:bg-gray-800 dark:text-gray-300"
3333
3328
  };
3334
- function it({
3329
+ function ct({
3335
3330
  invitations: e,
3336
3331
  mode: o,
3337
3332
  onCancel: r,
@@ -3342,38 +3337,38 @@ function it({
3342
3337
  className: l,
3343
3338
  onTrack: i,
3344
3339
  trackingLabel: p,
3345
- componentName: f = "InvitationList"
3340
+ componentName: g = "InvitationList"
3346
3341
  }) {
3347
3342
  const k = e.filter(
3348
- (w) => w.status === "pending"
3343
+ (v) => v.status === "pending"
3349
3344
  );
3350
3345
  if (c)
3351
- return /* @__PURE__ */ a("div", { className: x("space-y-2", l), children: [1, 2].map((w) => /* @__PURE__ */ a(
3346
+ return /* @__PURE__ */ a("div", { className: x("space-y-2", l), children: [1, 2].map((v) => /* @__PURE__ */ a(
3352
3347
  "div",
3353
3348
  {
3354
3349
  className: "h-16 rounded-lg border border-border bg-muted animate-pulse"
3355
3350
  },
3356
- w
3351
+ v
3357
3352
  )) });
3358
3353
  if (k.length === 0)
3359
3354
  return /* @__PURE__ */ a("div", { className: x("text-center py-8 text-muted-foreground", l), children: n });
3360
- const N = (w) => {
3361
- i?.({ action: "cancel", trackingLabel: p, componentName: f }), r?.(w);
3362
- }, C = (w) => {
3363
- i?.({ action: "accept", trackingLabel: p, componentName: f }), t?.(w);
3364
- }, b = (w) => {
3365
- i?.({ action: "decline", trackingLabel: p, componentName: f }), s?.(w);
3355
+ const N = (v) => {
3356
+ i?.({ action: "cancel", trackingLabel: p, componentName: g }), r?.(v);
3357
+ }, C = (v) => {
3358
+ i?.({ action: "accept", trackingLabel: p, componentName: g }), t?.(v);
3359
+ }, h = (v) => {
3360
+ i?.({ action: "decline", trackingLabel: p, componentName: g }), s?.(v);
3366
3361
  };
3367
- return /* @__PURE__ */ a("div", { className: x("divide-y divide-border rounded-lg border", l), children: k.map((w) => /* @__PURE__ */ a(
3362
+ return /* @__PURE__ */ a("div", { className: x("divide-y divide-border rounded-lg border", l), children: k.map((v) => /* @__PURE__ */ a(
3368
3363
  Zr,
3369
3364
  {
3370
- invitation: w,
3365
+ invitation: v,
3371
3366
  mode: o,
3372
3367
  onCancel: r ? N : void 0,
3373
3368
  onAccept: t ? C : void 0,
3374
- onDecline: s ? b : void 0
3369
+ onDecline: s ? h : void 0
3375
3370
  },
3376
- w.id
3371
+ v.id
3377
3372
  )) });
3378
3373
  }
3379
3374
  function Zr({
@@ -3387,7 +3382,7 @@ function Zr({
3387
3382
  (c.getTime() - Date.now()) / (1e3 * 60 * 60 * 24)
3388
3383
  );
3389
3384
  return /* @__PURE__ */ y("div", { className: "flex items-center gap-3 p-3", children: [
3390
- /* @__PURE__ */ a("div", { className: "flex h-10 w-10 items-center justify-center rounded-full bg-muted", children: /* @__PURE__ */ a(Pe, { className: "h-5 w-5 text-muted-foreground" }) }),
3385
+ /* @__PURE__ */ a("div", { className: "flex h-10 w-10 items-center justify-center rounded-full bg-muted", children: /* @__PURE__ */ a(Me, { className: "h-5 w-5 text-muted-foreground" }) }),
3391
3386
  /* @__PURE__ */ y("div", { className: "flex-1 min-w-0", children: [
3392
3387
  /* @__PURE__ */ y("div", { className: "flex items-center gap-2", children: [
3393
3388
  o === "user" && e.entity ? /* @__PURE__ */ a("p", { className: "font-medium text-foreground truncate", children: e.entity.displayName }) : /* @__PURE__ */ a("p", { className: "font-medium text-foreground truncate", children: e.email }),
@@ -3403,7 +3398,7 @@ function Zr({
3403
3398
  )
3404
3399
  ] }),
3405
3400
  /* @__PURE__ */ y("div", { className: "flex items-center gap-1.5 text-sm text-muted-foreground", children: [
3406
- /* @__PURE__ */ a(er, { className: "h-3.5 w-3.5" }),
3401
+ /* @__PURE__ */ a(Qe, { className: "h-3.5 w-3.5" }),
3407
3402
  n ? /* @__PURE__ */ a("span", { className: "text-destructive", children: "Expired" }) : /* @__PURE__ */ y("span", { children: [
3408
3403
  "Expires in ",
3409
3404
  l,
@@ -3421,7 +3416,7 @@ function Zr({
3421
3416
  "hover:text-destructive transition-colors"
3422
3417
  ),
3423
3418
  title: "Cancel invitation",
3424
- children: /* @__PURE__ */ a(rr, { className: "h-4 w-4" })
3419
+ children: /* @__PURE__ */ a(Ze, { className: "h-4 w-4" })
3425
3420
  }
3426
3421
  ),
3427
3422
  o === "user" && /* @__PURE__ */ y("div", { className: "flex items-center gap-2", children: [
@@ -3435,7 +3430,7 @@ function Zr({
3435
3430
  "border hover:bg-muted transition-colors"
3436
3431
  ),
3437
3432
  children: [
3438
- /* @__PURE__ */ a(tr, { className: "h-4 w-4" }),
3433
+ /* @__PURE__ */ a(er, { className: "h-4 w-4" }),
3439
3434
  /* @__PURE__ */ a("span", { children: "Decline" })
3440
3435
  ]
3441
3436
  }
@@ -3453,7 +3448,7 @@ function Zr({
3453
3448
  n && "opacity-50 cursor-not-allowed"
3454
3449
  ),
3455
3450
  children: [
3456
- /* @__PURE__ */ a(fe, { className: "h-4 w-4" }),
3451
+ /* @__PURE__ */ a(pe, { className: "h-4 w-4" }),
3457
3452
  /* @__PURE__ */ a("span", { children: "Accept" })
3458
3453
  ]
3459
3454
  }
@@ -3463,11 +3458,11 @@ function Zr({
3463
3458
  }
3464
3459
  export {
3465
3460
  qr as EntityCard,
3466
- st as EntityList,
3467
- nt as EntitySelector,
3468
- lt as InvitationForm,
3469
- it as InvitationList,
3470
- at as MemberList,
3471
- Xe as MemberRoleSelector,
3461
+ nt as EntityList,
3462
+ at as EntitySelector,
3463
+ it as InvitationForm,
3464
+ ct as InvitationList,
3465
+ lt as MemberList,
3466
+ Ue as MemberRoleSelector,
3472
3467
  x as cn
3473
3468
  };