@sudobility/entity-components 1.0.9 → 1.0.10
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/components/MemberRoleSelector.d.ts.map +1 -1
- package/dist/index.esm.js +575 -551
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,128 +1,128 @@
|
|
|
1
|
-
import { jsx as a, jsxs as
|
|
2
|
-
import { UserIcon as
|
|
3
|
-
import { useState as
|
|
4
|
-
import { EntityRole as
|
|
5
|
-
function
|
|
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) {
|
|
6
6
|
var o, r, t = "";
|
|
7
7
|
if (typeof e == "string" || typeof e == "number") t += e;
|
|
8
8
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
9
9
|
var s = e.length;
|
|
10
|
-
for (o = 0; o < s; o++) e[o] && (r =
|
|
10
|
+
for (o = 0; o < s; o++) e[o] && (r = Oe(e[o])) && (t && (t += " "), t += r);
|
|
11
11
|
} else for (r in e) e[r] && (t && (t += " "), t += r);
|
|
12
12
|
return t;
|
|
13
13
|
}
|
|
14
|
-
function
|
|
15
|
-
for (var e, o, r = 0, t = "", s = arguments.length; r < s; r++) (e = arguments[r]) && (o =
|
|
14
|
+
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
16
|
return t;
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const nr = (e, o) => {
|
|
19
19
|
const r = new Array(e.length + o.length);
|
|
20
20
|
for (let t = 0; t < e.length; t++)
|
|
21
21
|
r[t] = e[t];
|
|
22
22
|
for (let t = 0; t < o.length; t++)
|
|
23
23
|
r[e.length + t] = o[t];
|
|
24
24
|
return r;
|
|
25
|
-
},
|
|
25
|
+
}, ar = (e, o) => ({
|
|
26
26
|
classGroupId: e,
|
|
27
27
|
validator: o
|
|
28
|
-
}),
|
|
28
|
+
}), Te = (e = /* @__PURE__ */ new Map(), o = null, r) => ({
|
|
29
29
|
nextPart: e,
|
|
30
30
|
validators: o,
|
|
31
31
|
classGroupId: r
|
|
32
|
-
}),
|
|
33
|
-
const o =
|
|
32
|
+
}), te = "-", ze = [], lr = "arbitrary..", ir = (e) => {
|
|
33
|
+
const o = dr(e), {
|
|
34
34
|
conflictingClassGroups: r,
|
|
35
35
|
conflictingClassGroupModifiers: t
|
|
36
36
|
} = e;
|
|
37
37
|
return {
|
|
38
38
|
getClassGroupId: (n) => {
|
|
39
39
|
if (n.startsWith("[") && n.endsWith("]"))
|
|
40
|
-
return
|
|
41
|
-
const l = n.split(
|
|
42
|
-
return
|
|
40
|
+
return cr(n);
|
|
41
|
+
const l = n.split(te), i = l[0] === "" && l.length > 1 ? 1 : 0;
|
|
42
|
+
return Ge(l, i, o);
|
|
43
43
|
},
|
|
44
44
|
getConflictingClassGroupIds: (n, l) => {
|
|
45
45
|
if (l) {
|
|
46
|
-
const i = t[n],
|
|
47
|
-
return i ?
|
|
46
|
+
const i = t[n], p = r[n];
|
|
47
|
+
return i ? p ? nr(p, i) : i : p || ze;
|
|
48
48
|
}
|
|
49
|
-
return r[n] ||
|
|
49
|
+
return r[n] || ze;
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
|
-
},
|
|
52
|
+
}, Ge = (e, o, r) => {
|
|
53
53
|
if (e.length - o === 0)
|
|
54
54
|
return r.classGroupId;
|
|
55
55
|
const s = e[o], c = r.nextPart.get(s);
|
|
56
56
|
if (c) {
|
|
57
|
-
const
|
|
58
|
-
if (
|
|
57
|
+
const p = Ge(e, o + 1, c);
|
|
58
|
+
if (p) return p;
|
|
59
59
|
}
|
|
60
60
|
const n = r.validators;
|
|
61
61
|
if (n === null)
|
|
62
62
|
return;
|
|
63
|
-
const l = o === 0 ? e.join(
|
|
64
|
-
for (let
|
|
65
|
-
const f = n[
|
|
63
|
+
const l = o === 0 ? e.join(te) : e.slice(o).join(te), i = n.length;
|
|
64
|
+
for (let p = 0; p < i; p++) {
|
|
65
|
+
const f = n[p];
|
|
66
66
|
if (f.validator(l))
|
|
67
67
|
return f.classGroupId;
|
|
68
68
|
}
|
|
69
|
-
},
|
|
69
|
+
}, cr = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
70
70
|
const o = e.slice(1, -1), r = o.indexOf(":"), t = o.slice(0, r);
|
|
71
|
-
return t ?
|
|
72
|
-
})(),
|
|
71
|
+
return t ? lr + t : void 0;
|
|
72
|
+
})(), dr = (e) => {
|
|
73
73
|
const {
|
|
74
74
|
theme: o,
|
|
75
75
|
classGroups: r
|
|
76
76
|
} = e;
|
|
77
|
-
return
|
|
78
|
-
},
|
|
79
|
-
const r =
|
|
77
|
+
return mr(r, o);
|
|
78
|
+
}, mr = (e, o) => {
|
|
79
|
+
const r = Te();
|
|
80
80
|
for (const t in e) {
|
|
81
81
|
const s = e[t];
|
|
82
|
-
|
|
82
|
+
ge(s, r, t, o);
|
|
83
83
|
}
|
|
84
84
|
return r;
|
|
85
|
-
},
|
|
85
|
+
}, ge = (e, o, r, t) => {
|
|
86
86
|
const s = e.length;
|
|
87
87
|
for (let c = 0; c < s; c++) {
|
|
88
88
|
const n = e[c];
|
|
89
|
-
|
|
89
|
+
ur(n, o, r, t);
|
|
90
90
|
}
|
|
91
|
-
},
|
|
91
|
+
}, ur = (e, o, r, t) => {
|
|
92
92
|
if (typeof e == "string") {
|
|
93
|
-
|
|
93
|
+
pr(e, o, r);
|
|
94
94
|
return;
|
|
95
95
|
}
|
|
96
96
|
if (typeof e == "function") {
|
|
97
|
-
|
|
97
|
+
fr(e, o, r, t);
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
|
-
|
|
101
|
-
},
|
|
102
|
-
const t = e === "" ? o :
|
|
100
|
+
gr(e, o, r, t);
|
|
101
|
+
}, pr = (e, o, r) => {
|
|
102
|
+
const t = e === "" ? o : je(o, e);
|
|
103
103
|
t.classGroupId = r;
|
|
104
|
-
},
|
|
105
|
-
if (
|
|
106
|
-
|
|
104
|
+
}, fr = (e, o, r, t) => {
|
|
105
|
+
if (br(e)) {
|
|
106
|
+
ge(e(t), o, r, t);
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
|
-
o.validators === null && (o.validators = []), o.validators.push(
|
|
110
|
-
},
|
|
109
|
+
o.validators === null && (o.validators = []), o.validators.push(ar(r, e));
|
|
110
|
+
}, gr = (e, o, r, t) => {
|
|
111
111
|
const s = Object.entries(e), c = s.length;
|
|
112
112
|
for (let n = 0; n < c; n++) {
|
|
113
113
|
const [l, i] = s[n];
|
|
114
|
-
|
|
114
|
+
ge(i, je(o, l), r, t);
|
|
115
115
|
}
|
|
116
|
-
},
|
|
116
|
+
}, je = (e, o) => {
|
|
117
117
|
let r = e;
|
|
118
|
-
const t = o.split(
|
|
118
|
+
const t = o.split(te), s = t.length;
|
|
119
119
|
for (let c = 0; c < s; c++) {
|
|
120
120
|
const n = t[c];
|
|
121
121
|
let l = r.nextPart.get(n);
|
|
122
|
-
l || (l =
|
|
122
|
+
l || (l = Te(), r.nextPart.set(n, l)), r = l;
|
|
123
123
|
}
|
|
124
124
|
return r;
|
|
125
|
-
},
|
|
125
|
+
}, br = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, hr = (e) => {
|
|
126
126
|
if (e < 1)
|
|
127
127
|
return {
|
|
128
128
|
get: () => {
|
|
@@ -146,50 +146,50 @@ const tr = (e, o) => {
|
|
|
146
146
|
c in r ? r[c] = n : s(c, n);
|
|
147
147
|
}
|
|
148
148
|
};
|
|
149
|
-
},
|
|
149
|
+
}, ue = "!", Ie = ":", xr = [], Re = (e, o, r, t, s) => ({
|
|
150
150
|
modifiers: e,
|
|
151
151
|
hasImportantModifier: o,
|
|
152
152
|
baseClassName: r,
|
|
153
153
|
maybePostfixModifierPosition: t,
|
|
154
154
|
isExternal: s
|
|
155
|
-
}),
|
|
155
|
+
}), yr = (e) => {
|
|
156
156
|
const {
|
|
157
157
|
prefix: o,
|
|
158
158
|
experimentalParseClassName: r
|
|
159
159
|
} = e;
|
|
160
160
|
let t = (s) => {
|
|
161
161
|
const c = [];
|
|
162
|
-
let n = 0, l = 0, i = 0,
|
|
162
|
+
let n = 0, l = 0, i = 0, p;
|
|
163
163
|
const f = s.length;
|
|
164
|
-
for (let
|
|
165
|
-
const
|
|
164
|
+
for (let w = 0; w < f; w++) {
|
|
165
|
+
const R = s[w];
|
|
166
166
|
if (n === 0 && l === 0) {
|
|
167
|
-
if (
|
|
168
|
-
c.push(s.slice(i,
|
|
167
|
+
if (R === Ie) {
|
|
168
|
+
c.push(s.slice(i, w)), i = w + 1;
|
|
169
169
|
continue;
|
|
170
170
|
}
|
|
171
|
-
if (
|
|
172
|
-
|
|
171
|
+
if (R === "/") {
|
|
172
|
+
p = w;
|
|
173
173
|
continue;
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
|
-
|
|
176
|
+
R === "[" ? n++ : R === "]" ? n-- : R === "(" ? l++ : R === ")" && l--;
|
|
177
177
|
}
|
|
178
178
|
const k = c.length === 0 ? s : s.slice(i);
|
|
179
|
-
let
|
|
180
|
-
k.endsWith(
|
|
179
|
+
let N = k, C = !1;
|
|
180
|
+
k.endsWith(ue) ? (N = k.slice(0, -1), C = !0) : (
|
|
181
181
|
/**
|
|
182
182
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
183
183
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
184
184
|
*/
|
|
185
|
-
k.startsWith(
|
|
185
|
+
k.startsWith(ue) && (N = k.slice(1), C = !0)
|
|
186
186
|
);
|
|
187
|
-
const
|
|
188
|
-
return
|
|
187
|
+
const b = p && p > i ? p - i : void 0;
|
|
188
|
+
return Re(c, C, N, b);
|
|
189
189
|
};
|
|
190
190
|
if (o) {
|
|
191
|
-
const s = o +
|
|
192
|
-
t = (n) => n.startsWith(s) ? c(n.slice(s.length)) :
|
|
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);
|
|
193
193
|
}
|
|
194
194
|
if (r) {
|
|
195
195
|
const s = t;
|
|
@@ -199,7 +199,7 @@ const tr = (e, o) => {
|
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
201
|
return t;
|
|
202
|
-
},
|
|
202
|
+
}, wr = (e) => {
|
|
203
203
|
const o = /* @__PURE__ */ new Map();
|
|
204
204
|
return e.orderSensitiveModifiers.forEach((r, t) => {
|
|
205
205
|
o.set(r, 1e6 + t);
|
|
@@ -212,96 +212,96 @@ const tr = (e, o) => {
|
|
|
212
212
|
}
|
|
213
213
|
return s.length > 0 && (s.sort(), t.push(...s)), t;
|
|
214
214
|
};
|
|
215
|
-
},
|
|
216
|
-
cache:
|
|
217
|
-
parseClassName:
|
|
218
|
-
sortModifiers:
|
|
219
|
-
...
|
|
220
|
-
}),
|
|
215
|
+
}, vr = (e) => ({
|
|
216
|
+
cache: hr(e.cacheSize),
|
|
217
|
+
parseClassName: yr(e),
|
|
218
|
+
sortModifiers: wr(e),
|
|
219
|
+
...ir(e)
|
|
220
|
+
}), kr = /\s+/, Nr = (e, o) => {
|
|
221
221
|
const {
|
|
222
222
|
parseClassName: r,
|
|
223
223
|
getClassGroupId: t,
|
|
224
224
|
getConflictingClassGroupIds: s,
|
|
225
225
|
sortModifiers: c
|
|
226
|
-
} = o, n = [], l = e.trim().split(
|
|
226
|
+
} = o, n = [], l = e.trim().split(kr);
|
|
227
227
|
let i = "";
|
|
228
|
-
for (let
|
|
229
|
-
const f = l[
|
|
228
|
+
for (let p = l.length - 1; p >= 0; p -= 1) {
|
|
229
|
+
const f = l[p], {
|
|
230
230
|
isExternal: k,
|
|
231
|
-
modifiers:
|
|
232
|
-
hasImportantModifier:
|
|
233
|
-
baseClassName:
|
|
234
|
-
maybePostfixModifierPosition:
|
|
231
|
+
modifiers: N,
|
|
232
|
+
hasImportantModifier: C,
|
|
233
|
+
baseClassName: b,
|
|
234
|
+
maybePostfixModifierPosition: w
|
|
235
235
|
} = r(f);
|
|
236
236
|
if (k) {
|
|
237
237
|
i = f + (i.length > 0 ? " " + i : i);
|
|
238
238
|
continue;
|
|
239
239
|
}
|
|
240
|
-
let
|
|
241
|
-
if (!
|
|
242
|
-
if (!
|
|
240
|
+
let R = !!w, M = t(R ? b.substring(0, w) : b);
|
|
241
|
+
if (!M) {
|
|
242
|
+
if (!R) {
|
|
243
243
|
i = f + (i.length > 0 ? " " + i : i);
|
|
244
244
|
continue;
|
|
245
245
|
}
|
|
246
|
-
if (
|
|
246
|
+
if (M = t(b), !M) {
|
|
247
247
|
i = f + (i.length > 0 ? " " + i : i);
|
|
248
248
|
continue;
|
|
249
249
|
}
|
|
250
|
-
|
|
250
|
+
R = !1;
|
|
251
251
|
}
|
|
252
|
-
const
|
|
253
|
-
if (n.indexOf(
|
|
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)
|
|
254
254
|
continue;
|
|
255
|
-
n.push(
|
|
256
|
-
const
|
|
257
|
-
for (let
|
|
258
|
-
const
|
|
259
|
-
n.push(
|
|
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);
|
|
260
260
|
}
|
|
261
261
|
i = f + (i.length > 0 ? " " + i : i);
|
|
262
262
|
}
|
|
263
263
|
return i;
|
|
264
|
-
},
|
|
264
|
+
}, Cr = (...e) => {
|
|
265
265
|
let o = 0, r, t, s = "";
|
|
266
266
|
for (; o < e.length; )
|
|
267
|
-
(r = e[o++]) && (t =
|
|
267
|
+
(r = e[o++]) && (t = Le(r)) && (s && (s += " "), s += t);
|
|
268
268
|
return s;
|
|
269
|
-
},
|
|
269
|
+
}, Le = (e) => {
|
|
270
270
|
if (typeof e == "string")
|
|
271
271
|
return e;
|
|
272
272
|
let o, r = "";
|
|
273
273
|
for (let t = 0; t < e.length; t++)
|
|
274
|
-
e[t] && (o =
|
|
274
|
+
e[t] && (o = Le(e[t])) && (r && (r += " "), r += o);
|
|
275
275
|
return r;
|
|
276
|
-
},
|
|
276
|
+
}, zr = (e, ...o) => {
|
|
277
277
|
let r, t, s, c;
|
|
278
278
|
const n = (i) => {
|
|
279
|
-
const
|
|
280
|
-
return r =
|
|
279
|
+
const p = o.reduce((f, k) => k(f), e());
|
|
280
|
+
return r = vr(p), t = r.cache.get, s = r.cache.set, c = l, l(i);
|
|
281
281
|
}, l = (i) => {
|
|
282
|
-
const
|
|
283
|
-
if (
|
|
284
|
-
return
|
|
285
|
-
const f =
|
|
282
|
+
const p = t(i);
|
|
283
|
+
if (p)
|
|
284
|
+
return p;
|
|
285
|
+
const f = Nr(i, r);
|
|
286
286
|
return s(i, f), f;
|
|
287
287
|
};
|
|
288
|
-
return c = n, (...i) => c(
|
|
289
|
-
},
|
|
290
|
-
const o = (r) => r[e] ||
|
|
288
|
+
return c = n, (...i) => c(Cr(...i));
|
|
289
|
+
}, Ir = [], z = (e) => {
|
|
290
|
+
const o = (r) => r[e] || Ir;
|
|
291
291
|
return o.isThemeGetter = !0, o;
|
|
292
|
-
},
|
|
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
293
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
294
294
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
295
295
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
296
|
-
|
|
297
|
-
),
|
|
298
|
-
const t =
|
|
296
|
+
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);
|
|
299
299
|
return t ? t[1] ? o(t[1]) : r(t[2]) : !1;
|
|
300
|
-
},
|
|
300
|
+
}, $ = (e, o, r = !1) => {
|
|
301
301
|
const t = Fe.exec(e);
|
|
302
302
|
return t ? t[1] ? o(t[1]) : r : !1;
|
|
303
|
-
},
|
|
304
|
-
const e =
|
|
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 = () => [
|
|
305
305
|
"center",
|
|
306
306
|
"top",
|
|
307
307
|
"bottom",
|
|
@@ -319,51 +319,51 @@ const tr = (e, o) => {
|
|
|
319
319
|
"bottom-left",
|
|
320
320
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
321
321
|
"left-bottom"
|
|
322
|
-
],
|
|
323
|
-
span: ["full",
|
|
324
|
-
},
|
|
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, {
|
|
325
325
|
position: [m, d]
|
|
326
|
-
}],
|
|
326
|
+
}], we = () => ["no-repeat", {
|
|
327
327
|
repeat: ["", "x", "y", "space", "round"]
|
|
328
|
-
}],
|
|
328
|
+
}], ve = () => ["auto", "cover", "contain", _r, Br, {
|
|
329
329
|
size: [m, d]
|
|
330
|
-
}],
|
|
330
|
+
}], ne = () => [ce, Y, F], A = () => [
|
|
331
331
|
// Deprecated since Tailwind CSS v4.0.0
|
|
332
332
|
"",
|
|
333
333
|
"none",
|
|
334
334
|
"full",
|
|
335
|
-
|
|
335
|
+
p,
|
|
336
336
|
m,
|
|
337
337
|
d
|
|
338
|
-
], S = () => ["",
|
|
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
339
|
// Deprecated since Tailwind CSS v4.0.0
|
|
340
340
|
"",
|
|
341
341
|
"none",
|
|
342
|
-
|
|
342
|
+
b,
|
|
343
343
|
m,
|
|
344
344
|
d
|
|
345
|
-
], H = () => ["none",
|
|
345
|
+
], H = () => ["none", h, m, d], K = () => ["none", h, m, d], ae = () => [h, m, d], Q = () => [W, "full", ...g()];
|
|
346
346
|
return {
|
|
347
347
|
cacheSize: 500,
|
|
348
348
|
theme: {
|
|
349
349
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
350
350
|
aspect: ["video"],
|
|
351
|
-
blur: [
|
|
352
|
-
breakpoint: [
|
|
353
|
-
color: [
|
|
354
|
-
container: [
|
|
355
|
-
"drop-shadow": [
|
|
351
|
+
blur: [G],
|
|
352
|
+
breakpoint: [G],
|
|
353
|
+
color: [Or],
|
|
354
|
+
container: [G],
|
|
355
|
+
"drop-shadow": [G],
|
|
356
356
|
ease: ["in", "out", "in-out"],
|
|
357
|
-
font: [
|
|
357
|
+
font: [Lr],
|
|
358
358
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
359
|
-
"inset-shadow": [
|
|
359
|
+
"inset-shadow": [G],
|
|
360
360
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
361
361
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
362
|
-
radius: [
|
|
363
|
-
shadow: [
|
|
364
|
-
spacing: ["px",
|
|
365
|
-
text: [
|
|
366
|
-
"text-shadow": [
|
|
362
|
+
radius: [G],
|
|
363
|
+
shadow: [G],
|
|
364
|
+
spacing: ["px", h],
|
|
365
|
+
text: [G],
|
|
366
|
+
"text-shadow": [G],
|
|
367
367
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
368
368
|
},
|
|
369
369
|
classGroups: {
|
|
@@ -375,7 +375,7 @@ const tr = (e, o) => {
|
|
|
375
375
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
376
376
|
*/
|
|
377
377
|
aspect: [{
|
|
378
|
-
aspect: ["auto", "square",
|
|
378
|
+
aspect: ["auto", "square", W, d, m, R]
|
|
379
379
|
}],
|
|
380
380
|
/**
|
|
381
381
|
* Container
|
|
@@ -388,21 +388,21 @@ const tr = (e, o) => {
|
|
|
388
388
|
* @see https://tailwindcss.com/docs/columns
|
|
389
389
|
*/
|
|
390
390
|
columns: [{
|
|
391
|
-
columns: [
|
|
391
|
+
columns: [h, d, m, l]
|
|
392
392
|
}],
|
|
393
393
|
/**
|
|
394
394
|
* Break After
|
|
395
395
|
* @see https://tailwindcss.com/docs/break-after
|
|
396
396
|
*/
|
|
397
397
|
"break-after": [{
|
|
398
|
-
"break-after":
|
|
398
|
+
"break-after": E()
|
|
399
399
|
}],
|
|
400
400
|
/**
|
|
401
401
|
* Break Before
|
|
402
402
|
* @see https://tailwindcss.com/docs/break-before
|
|
403
403
|
*/
|
|
404
404
|
"break-before": [{
|
|
405
|
-
"break-before":
|
|
405
|
+
"break-before": E()
|
|
406
406
|
}],
|
|
407
407
|
/**
|
|
408
408
|
* Break Inside
|
|
@@ -466,49 +466,49 @@ const tr = (e, o) => {
|
|
|
466
466
|
* @see https://tailwindcss.com/docs/object-position
|
|
467
467
|
*/
|
|
468
468
|
"object-position": [{
|
|
469
|
-
object:
|
|
469
|
+
object: V()
|
|
470
470
|
}],
|
|
471
471
|
/**
|
|
472
472
|
* Overflow
|
|
473
473
|
* @see https://tailwindcss.com/docs/overflow
|
|
474
474
|
*/
|
|
475
475
|
overflow: [{
|
|
476
|
-
overflow:
|
|
476
|
+
overflow: L()
|
|
477
477
|
}],
|
|
478
478
|
/**
|
|
479
479
|
* Overflow X
|
|
480
480
|
* @see https://tailwindcss.com/docs/overflow
|
|
481
481
|
*/
|
|
482
482
|
"overflow-x": [{
|
|
483
|
-
"overflow-x":
|
|
483
|
+
"overflow-x": L()
|
|
484
484
|
}],
|
|
485
485
|
/**
|
|
486
486
|
* Overflow Y
|
|
487
487
|
* @see https://tailwindcss.com/docs/overflow
|
|
488
488
|
*/
|
|
489
489
|
"overflow-y": [{
|
|
490
|
-
"overflow-y":
|
|
490
|
+
"overflow-y": L()
|
|
491
491
|
}],
|
|
492
492
|
/**
|
|
493
493
|
* Overscroll Behavior
|
|
494
494
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
495
495
|
*/
|
|
496
496
|
overscroll: [{
|
|
497
|
-
overscroll:
|
|
497
|
+
overscroll: X()
|
|
498
498
|
}],
|
|
499
499
|
/**
|
|
500
500
|
* Overscroll Behavior X
|
|
501
501
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
502
502
|
*/
|
|
503
503
|
"overscroll-x": [{
|
|
504
|
-
"overscroll-x":
|
|
504
|
+
"overscroll-x": X()
|
|
505
505
|
}],
|
|
506
506
|
/**
|
|
507
507
|
* Overscroll Behavior Y
|
|
508
508
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
509
509
|
*/
|
|
510
510
|
"overscroll-y": [{
|
|
511
|
-
"overscroll-y":
|
|
511
|
+
"overscroll-y": X()
|
|
512
512
|
}],
|
|
513
513
|
/**
|
|
514
514
|
* Position
|
|
@@ -520,63 +520,63 @@ const tr = (e, o) => {
|
|
|
520
520
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
521
521
|
*/
|
|
522
522
|
inset: [{
|
|
523
|
-
inset:
|
|
523
|
+
inset: O()
|
|
524
524
|
}],
|
|
525
525
|
/**
|
|
526
526
|
* Right / Left
|
|
527
527
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
528
528
|
*/
|
|
529
529
|
"inset-x": [{
|
|
530
|
-
"inset-x":
|
|
530
|
+
"inset-x": O()
|
|
531
531
|
}],
|
|
532
532
|
/**
|
|
533
533
|
* Top / Bottom
|
|
534
534
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
535
535
|
*/
|
|
536
536
|
"inset-y": [{
|
|
537
|
-
"inset-y":
|
|
537
|
+
"inset-y": O()
|
|
538
538
|
}],
|
|
539
539
|
/**
|
|
540
540
|
* Start
|
|
541
541
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
542
542
|
*/
|
|
543
543
|
start: [{
|
|
544
|
-
start:
|
|
544
|
+
start: O()
|
|
545
545
|
}],
|
|
546
546
|
/**
|
|
547
547
|
* End
|
|
548
548
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
549
549
|
*/
|
|
550
550
|
end: [{
|
|
551
|
-
end:
|
|
551
|
+
end: O()
|
|
552
552
|
}],
|
|
553
553
|
/**
|
|
554
554
|
* Top
|
|
555
555
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
556
556
|
*/
|
|
557
557
|
top: [{
|
|
558
|
-
top:
|
|
558
|
+
top: O()
|
|
559
559
|
}],
|
|
560
560
|
/**
|
|
561
561
|
* Right
|
|
562
562
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
563
563
|
*/
|
|
564
564
|
right: [{
|
|
565
|
-
right:
|
|
565
|
+
right: O()
|
|
566
566
|
}],
|
|
567
567
|
/**
|
|
568
568
|
* Bottom
|
|
569
569
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
570
570
|
*/
|
|
571
571
|
bottom: [{
|
|
572
|
-
bottom:
|
|
572
|
+
bottom: O()
|
|
573
573
|
}],
|
|
574
574
|
/**
|
|
575
575
|
* Left
|
|
576
576
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
577
577
|
*/
|
|
578
578
|
left: [{
|
|
579
|
-
left:
|
|
579
|
+
left: O()
|
|
580
580
|
}],
|
|
581
581
|
/**
|
|
582
582
|
* Visibility
|
|
@@ -588,7 +588,7 @@ const tr = (e, o) => {
|
|
|
588
588
|
* @see https://tailwindcss.com/docs/z-index
|
|
589
589
|
*/
|
|
590
590
|
z: [{
|
|
591
|
-
z: [
|
|
591
|
+
z: [j, "auto", m, d]
|
|
592
592
|
}],
|
|
593
593
|
// ------------------------
|
|
594
594
|
// --- Flexbox and Grid ---
|
|
@@ -598,7 +598,7 @@ const tr = (e, o) => {
|
|
|
598
598
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
599
599
|
*/
|
|
600
600
|
basis: [{
|
|
601
|
-
basis: [
|
|
601
|
+
basis: [W, "full", "auto", l, ...g()]
|
|
602
602
|
}],
|
|
603
603
|
/**
|
|
604
604
|
* Flex Direction
|
|
@@ -619,42 +619,42 @@ const tr = (e, o) => {
|
|
|
619
619
|
* @see https://tailwindcss.com/docs/flex
|
|
620
620
|
*/
|
|
621
621
|
flex: [{
|
|
622
|
-
flex: [
|
|
622
|
+
flex: [h, W, "auto", "initial", "none", d]
|
|
623
623
|
}],
|
|
624
624
|
/**
|
|
625
625
|
* Flex Grow
|
|
626
626
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
627
627
|
*/
|
|
628
628
|
grow: [{
|
|
629
|
-
grow: ["",
|
|
629
|
+
grow: ["", h, m, d]
|
|
630
630
|
}],
|
|
631
631
|
/**
|
|
632
632
|
* Flex Shrink
|
|
633
633
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
634
634
|
*/
|
|
635
635
|
shrink: [{
|
|
636
|
-
shrink: ["",
|
|
636
|
+
shrink: ["", h, m, d]
|
|
637
637
|
}],
|
|
638
638
|
/**
|
|
639
639
|
* Order
|
|
640
640
|
* @see https://tailwindcss.com/docs/order
|
|
641
641
|
*/
|
|
642
642
|
order: [{
|
|
643
|
-
order: [
|
|
643
|
+
order: [j, "first", "last", "none", m, d]
|
|
644
644
|
}],
|
|
645
645
|
/**
|
|
646
646
|
* Grid Template Columns
|
|
647
647
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
648
648
|
*/
|
|
649
649
|
"grid-cols": [{
|
|
650
|
-
"grid-cols":
|
|
650
|
+
"grid-cols": be()
|
|
651
651
|
}],
|
|
652
652
|
/**
|
|
653
653
|
* Grid Column Start / End
|
|
654
654
|
* @see https://tailwindcss.com/docs/grid-column
|
|
655
655
|
*/
|
|
656
656
|
"col-start-end": [{
|
|
657
|
-
col:
|
|
657
|
+
col: he()
|
|
658
658
|
}],
|
|
659
659
|
/**
|
|
660
660
|
* Grid Column Start
|
|
@@ -675,14 +675,14 @@ const tr = (e, o) => {
|
|
|
675
675
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
676
676
|
*/
|
|
677
677
|
"grid-rows": [{
|
|
678
|
-
"grid-rows":
|
|
678
|
+
"grid-rows": be()
|
|
679
679
|
}],
|
|
680
680
|
/**
|
|
681
681
|
* Grid Row Start / End
|
|
682
682
|
* @see https://tailwindcss.com/docs/grid-row
|
|
683
683
|
*/
|
|
684
684
|
"row-start-end": [{
|
|
685
|
-
row:
|
|
685
|
+
row: he()
|
|
686
686
|
}],
|
|
687
687
|
/**
|
|
688
688
|
* Grid Row Start
|
|
@@ -710,14 +710,14 @@ const tr = (e, o) => {
|
|
|
710
710
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
711
711
|
*/
|
|
712
712
|
"auto-cols": [{
|
|
713
|
-
"auto-cols":
|
|
713
|
+
"auto-cols": xe()
|
|
714
714
|
}],
|
|
715
715
|
/**
|
|
716
716
|
* Grid Auto Rows
|
|
717
717
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
718
718
|
*/
|
|
719
719
|
"auto-rows": [{
|
|
720
|
-
"auto-rows":
|
|
720
|
+
"auto-rows": xe()
|
|
721
721
|
}],
|
|
722
722
|
/**
|
|
723
723
|
* Gap
|
|
@@ -745,35 +745,35 @@ const tr = (e, o) => {
|
|
|
745
745
|
* @see https://tailwindcss.com/docs/justify-content
|
|
746
746
|
*/
|
|
747
747
|
"justify-content": [{
|
|
748
|
-
justify: [...
|
|
748
|
+
justify: [...se(), "normal"]
|
|
749
749
|
}],
|
|
750
750
|
/**
|
|
751
751
|
* Justify Items
|
|
752
752
|
* @see https://tailwindcss.com/docs/justify-items
|
|
753
753
|
*/
|
|
754
754
|
"justify-items": [{
|
|
755
|
-
"justify-items": [...
|
|
755
|
+
"justify-items": [..._(), "normal"]
|
|
756
756
|
}],
|
|
757
757
|
/**
|
|
758
758
|
* Justify Self
|
|
759
759
|
* @see https://tailwindcss.com/docs/justify-self
|
|
760
760
|
*/
|
|
761
761
|
"justify-self": [{
|
|
762
|
-
"justify-self": ["auto", ...
|
|
762
|
+
"justify-self": ["auto", ..._()]
|
|
763
763
|
}],
|
|
764
764
|
/**
|
|
765
765
|
* Align Content
|
|
766
766
|
* @see https://tailwindcss.com/docs/align-content
|
|
767
767
|
*/
|
|
768
768
|
"align-content": [{
|
|
769
|
-
content: ["normal", ...
|
|
769
|
+
content: ["normal", ...se()]
|
|
770
770
|
}],
|
|
771
771
|
/**
|
|
772
772
|
* Align Items
|
|
773
773
|
* @see https://tailwindcss.com/docs/align-items
|
|
774
774
|
*/
|
|
775
775
|
"align-items": [{
|
|
776
|
-
items: [...
|
|
776
|
+
items: [..._(), {
|
|
777
777
|
baseline: ["", "last"]
|
|
778
778
|
}]
|
|
779
779
|
}],
|
|
@@ -782,7 +782,7 @@ const tr = (e, o) => {
|
|
|
782
782
|
* @see https://tailwindcss.com/docs/align-self
|
|
783
783
|
*/
|
|
784
784
|
"align-self": [{
|
|
785
|
-
self: ["auto", ...
|
|
785
|
+
self: ["auto", ..._(), {
|
|
786
786
|
baseline: ["", "last"]
|
|
787
787
|
}]
|
|
788
788
|
}],
|
|
@@ -791,21 +791,21 @@ const tr = (e, o) => {
|
|
|
791
791
|
* @see https://tailwindcss.com/docs/place-content
|
|
792
792
|
*/
|
|
793
793
|
"place-content": [{
|
|
794
|
-
"place-content":
|
|
794
|
+
"place-content": se()
|
|
795
795
|
}],
|
|
796
796
|
/**
|
|
797
797
|
* Place Items
|
|
798
798
|
* @see https://tailwindcss.com/docs/place-items
|
|
799
799
|
*/
|
|
800
800
|
"place-items": [{
|
|
801
|
-
"place-items": [...
|
|
801
|
+
"place-items": [..._(), "baseline"]
|
|
802
802
|
}],
|
|
803
803
|
/**
|
|
804
804
|
* Place Self
|
|
805
805
|
* @see https://tailwindcss.com/docs/place-self
|
|
806
806
|
*/
|
|
807
807
|
"place-self": [{
|
|
808
|
-
"place-self": ["auto", ...
|
|
808
|
+
"place-self": ["auto", ..._()]
|
|
809
809
|
}],
|
|
810
810
|
// Spacing
|
|
811
811
|
/**
|
|
@@ -876,63 +876,63 @@ const tr = (e, o) => {
|
|
|
876
876
|
* @see https://tailwindcss.com/docs/margin
|
|
877
877
|
*/
|
|
878
878
|
m: [{
|
|
879
|
-
m:
|
|
879
|
+
m: T()
|
|
880
880
|
}],
|
|
881
881
|
/**
|
|
882
882
|
* Margin X
|
|
883
883
|
* @see https://tailwindcss.com/docs/margin
|
|
884
884
|
*/
|
|
885
885
|
mx: [{
|
|
886
|
-
mx:
|
|
886
|
+
mx: T()
|
|
887
887
|
}],
|
|
888
888
|
/**
|
|
889
889
|
* Margin Y
|
|
890
890
|
* @see https://tailwindcss.com/docs/margin
|
|
891
891
|
*/
|
|
892
892
|
my: [{
|
|
893
|
-
my:
|
|
893
|
+
my: T()
|
|
894
894
|
}],
|
|
895
895
|
/**
|
|
896
896
|
* Margin Start
|
|
897
897
|
* @see https://tailwindcss.com/docs/margin
|
|
898
898
|
*/
|
|
899
899
|
ms: [{
|
|
900
|
-
ms:
|
|
900
|
+
ms: T()
|
|
901
901
|
}],
|
|
902
902
|
/**
|
|
903
903
|
* Margin End
|
|
904
904
|
* @see https://tailwindcss.com/docs/margin
|
|
905
905
|
*/
|
|
906
906
|
me: [{
|
|
907
|
-
me:
|
|
907
|
+
me: T()
|
|
908
908
|
}],
|
|
909
909
|
/**
|
|
910
910
|
* Margin Top
|
|
911
911
|
* @see https://tailwindcss.com/docs/margin
|
|
912
912
|
*/
|
|
913
913
|
mt: [{
|
|
914
|
-
mt:
|
|
914
|
+
mt: T()
|
|
915
915
|
}],
|
|
916
916
|
/**
|
|
917
917
|
* Margin Right
|
|
918
918
|
* @see https://tailwindcss.com/docs/margin
|
|
919
919
|
*/
|
|
920
920
|
mr: [{
|
|
921
|
-
mr:
|
|
921
|
+
mr: T()
|
|
922
922
|
}],
|
|
923
923
|
/**
|
|
924
924
|
* Margin Bottom
|
|
925
925
|
* @see https://tailwindcss.com/docs/margin
|
|
926
926
|
*/
|
|
927
927
|
mb: [{
|
|
928
|
-
mb:
|
|
928
|
+
mb: T()
|
|
929
929
|
}],
|
|
930
930
|
/**
|
|
931
931
|
* Margin Left
|
|
932
932
|
* @see https://tailwindcss.com/docs/margin
|
|
933
933
|
*/
|
|
934
934
|
ml: [{
|
|
935
|
-
ml:
|
|
935
|
+
ml: T()
|
|
936
936
|
}],
|
|
937
937
|
/**
|
|
938
938
|
* Space Between X
|
|
@@ -966,14 +966,14 @@ const tr = (e, o) => {
|
|
|
966
966
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
967
967
|
*/
|
|
968
968
|
size: [{
|
|
969
|
-
size:
|
|
969
|
+
size: B()
|
|
970
970
|
}],
|
|
971
971
|
/**
|
|
972
972
|
* Width
|
|
973
973
|
* @see https://tailwindcss.com/docs/width
|
|
974
974
|
*/
|
|
975
975
|
w: [{
|
|
976
|
-
w: [l, "screen", ...
|
|
976
|
+
w: [l, "screen", ...B()]
|
|
977
977
|
}],
|
|
978
978
|
/**
|
|
979
979
|
* Min-Width
|
|
@@ -985,7 +985,7 @@ const tr = (e, o) => {
|
|
|
985
985
|
"screen",
|
|
986
986
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
987
987
|
"none",
|
|
988
|
-
...
|
|
988
|
+
...B()
|
|
989
989
|
]
|
|
990
990
|
}],
|
|
991
991
|
/**
|
|
@@ -1003,7 +1003,7 @@ const tr = (e, o) => {
|
|
|
1003
1003
|
{
|
|
1004
1004
|
screen: [n]
|
|
1005
1005
|
},
|
|
1006
|
-
...
|
|
1006
|
+
...B()
|
|
1007
1007
|
]
|
|
1008
1008
|
}],
|
|
1009
1009
|
/**
|
|
@@ -1011,21 +1011,21 @@ const tr = (e, o) => {
|
|
|
1011
1011
|
* @see https://tailwindcss.com/docs/height
|
|
1012
1012
|
*/
|
|
1013
1013
|
h: [{
|
|
1014
|
-
h: ["screen", "lh", ...
|
|
1014
|
+
h: ["screen", "lh", ...B()]
|
|
1015
1015
|
}],
|
|
1016
1016
|
/**
|
|
1017
1017
|
* Min-Height
|
|
1018
1018
|
* @see https://tailwindcss.com/docs/min-height
|
|
1019
1019
|
*/
|
|
1020
1020
|
"min-h": [{
|
|
1021
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1021
|
+
"min-h": ["screen", "lh", "none", ...B()]
|
|
1022
1022
|
}],
|
|
1023
1023
|
/**
|
|
1024
1024
|
* Max-Height
|
|
1025
1025
|
* @see https://tailwindcss.com/docs/max-height
|
|
1026
1026
|
*/
|
|
1027
1027
|
"max-h": [{
|
|
1028
|
-
"max-h": ["screen", "lh", ...
|
|
1028
|
+
"max-h": ["screen", "lh", ...B()]
|
|
1029
1029
|
}],
|
|
1030
1030
|
// ------------------
|
|
1031
1031
|
// --- Typography ---
|
|
@@ -1035,7 +1035,7 @@ const tr = (e, o) => {
|
|
|
1035
1035
|
* @see https://tailwindcss.com/docs/font-size
|
|
1036
1036
|
*/
|
|
1037
1037
|
"font-size": [{
|
|
1038
|
-
text: ["base", r,
|
|
1038
|
+
text: ["base", r, Y, F]
|
|
1039
1039
|
}],
|
|
1040
1040
|
/**
|
|
1041
1041
|
* Font Smoothing
|
|
@@ -1052,21 +1052,21 @@ const tr = (e, o) => {
|
|
|
1052
1052
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1053
1053
|
*/
|
|
1054
1054
|
"font-weight": [{
|
|
1055
|
-
font: [t, m,
|
|
1055
|
+
font: [t, m, de]
|
|
1056
1056
|
}],
|
|
1057
1057
|
/**
|
|
1058
1058
|
* Font Stretch
|
|
1059
1059
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1060
1060
|
*/
|
|
1061
1061
|
"font-stretch": [{
|
|
1062
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1062
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ce, d]
|
|
1063
1063
|
}],
|
|
1064
1064
|
/**
|
|
1065
1065
|
* Font Family
|
|
1066
1066
|
* @see https://tailwindcss.com/docs/font-family
|
|
1067
1067
|
*/
|
|
1068
1068
|
"font-family": [{
|
|
1069
|
-
font: [
|
|
1069
|
+
font: [Vr, d, o]
|
|
1070
1070
|
}],
|
|
1071
1071
|
/**
|
|
1072
1072
|
* Font Variant Numeric
|
|
@@ -1110,7 +1110,7 @@ const tr = (e, o) => {
|
|
|
1110
1110
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1111
1111
|
*/
|
|
1112
1112
|
"line-clamp": [{
|
|
1113
|
-
"line-clamp": [
|
|
1113
|
+
"line-clamp": [h, "none", m, de]
|
|
1114
1114
|
}],
|
|
1115
1115
|
/**
|
|
1116
1116
|
* Line Height
|
|
@@ -1157,14 +1157,14 @@ const tr = (e, o) => {
|
|
|
1157
1157
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1158
1158
|
*/
|
|
1159
1159
|
"placeholder-color": [{
|
|
1160
|
-
placeholder:
|
|
1160
|
+
placeholder: u()
|
|
1161
1161
|
}],
|
|
1162
1162
|
/**
|
|
1163
1163
|
* Text Color
|
|
1164
1164
|
* @see https://tailwindcss.com/docs/text-color
|
|
1165
1165
|
*/
|
|
1166
1166
|
"text-color": [{
|
|
1167
|
-
text:
|
|
1167
|
+
text: u()
|
|
1168
1168
|
}],
|
|
1169
1169
|
/**
|
|
1170
1170
|
* Text Decoration
|
|
@@ -1183,21 +1183,21 @@ const tr = (e, o) => {
|
|
|
1183
1183
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1184
1184
|
*/
|
|
1185
1185
|
"text-decoration-thickness": [{
|
|
1186
|
-
decoration: [
|
|
1186
|
+
decoration: [h, "from-font", "auto", m, F]
|
|
1187
1187
|
}],
|
|
1188
1188
|
/**
|
|
1189
1189
|
* Text Decoration Color
|
|
1190
1190
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1191
1191
|
*/
|
|
1192
1192
|
"text-decoration-color": [{
|
|
1193
|
-
decoration:
|
|
1193
|
+
decoration: u()
|
|
1194
1194
|
}],
|
|
1195
1195
|
/**
|
|
1196
1196
|
* Text Underline Offset
|
|
1197
1197
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1198
1198
|
*/
|
|
1199
1199
|
"underline-offset": [{
|
|
1200
|
-
"underline-offset": [
|
|
1200
|
+
"underline-offset": [h, "auto", m, d]
|
|
1201
1201
|
}],
|
|
1202
1202
|
/**
|
|
1203
1203
|
* Text Transform
|
|
@@ -1294,21 +1294,21 @@ const tr = (e, o) => {
|
|
|
1294
1294
|
* @see https://tailwindcss.com/docs/background-position
|
|
1295
1295
|
*/
|
|
1296
1296
|
"bg-position": [{
|
|
1297
|
-
bg:
|
|
1297
|
+
bg: ye()
|
|
1298
1298
|
}],
|
|
1299
1299
|
/**
|
|
1300
1300
|
* Background Repeat
|
|
1301
1301
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1302
1302
|
*/
|
|
1303
1303
|
"bg-repeat": [{
|
|
1304
|
-
bg:
|
|
1304
|
+
bg: we()
|
|
1305
1305
|
}],
|
|
1306
1306
|
/**
|
|
1307
1307
|
* Background Size
|
|
1308
1308
|
* @see https://tailwindcss.com/docs/background-size
|
|
1309
1309
|
*/
|
|
1310
1310
|
"bg-size": [{
|
|
1311
|
-
bg:
|
|
1311
|
+
bg: ve()
|
|
1312
1312
|
}],
|
|
1313
1313
|
/**
|
|
1314
1314
|
* Background Image
|
|
@@ -1318,59 +1318,59 @@ const tr = (e, o) => {
|
|
|
1318
1318
|
bg: ["none", {
|
|
1319
1319
|
linear: [{
|
|
1320
1320
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1321
|
-
},
|
|
1321
|
+
}, j, m, d],
|
|
1322
1322
|
radial: ["", m, d],
|
|
1323
|
-
conic: [
|
|
1324
|
-
},
|
|
1323
|
+
conic: [j, m, d]
|
|
1324
|
+
}, Wr, Fr]
|
|
1325
1325
|
}],
|
|
1326
1326
|
/**
|
|
1327
1327
|
* Background Color
|
|
1328
1328
|
* @see https://tailwindcss.com/docs/background-color
|
|
1329
1329
|
*/
|
|
1330
1330
|
"bg-color": [{
|
|
1331
|
-
bg:
|
|
1331
|
+
bg: u()
|
|
1332
1332
|
}],
|
|
1333
1333
|
/**
|
|
1334
1334
|
* Gradient Color Stops From Position
|
|
1335
1335
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1336
1336
|
*/
|
|
1337
1337
|
"gradient-from-pos": [{
|
|
1338
|
-
from:
|
|
1338
|
+
from: ne()
|
|
1339
1339
|
}],
|
|
1340
1340
|
/**
|
|
1341
1341
|
* Gradient Color Stops Via Position
|
|
1342
1342
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1343
1343
|
*/
|
|
1344
1344
|
"gradient-via-pos": [{
|
|
1345
|
-
via:
|
|
1345
|
+
via: ne()
|
|
1346
1346
|
}],
|
|
1347
1347
|
/**
|
|
1348
1348
|
* Gradient Color Stops To Position
|
|
1349
1349
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1350
1350
|
*/
|
|
1351
1351
|
"gradient-to-pos": [{
|
|
1352
|
-
to:
|
|
1352
|
+
to: ne()
|
|
1353
1353
|
}],
|
|
1354
1354
|
/**
|
|
1355
1355
|
* Gradient Color Stops From
|
|
1356
1356
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1357
1357
|
*/
|
|
1358
1358
|
"gradient-from": [{
|
|
1359
|
-
from:
|
|
1359
|
+
from: u()
|
|
1360
1360
|
}],
|
|
1361
1361
|
/**
|
|
1362
1362
|
* Gradient Color Stops Via
|
|
1363
1363
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1364
1364
|
*/
|
|
1365
1365
|
"gradient-via": [{
|
|
1366
|
-
via:
|
|
1366
|
+
via: u()
|
|
1367
1367
|
}],
|
|
1368
1368
|
/**
|
|
1369
1369
|
* Gradient Color Stops To
|
|
1370
1370
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1371
1371
|
*/
|
|
1372
1372
|
"gradient-to": [{
|
|
1373
|
-
to:
|
|
1373
|
+
to: u()
|
|
1374
1374
|
}],
|
|
1375
1375
|
// ---------------
|
|
1376
1376
|
// --- Borders ---
|
|
@@ -1380,105 +1380,105 @@ const tr = (e, o) => {
|
|
|
1380
1380
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1381
1381
|
*/
|
|
1382
1382
|
rounded: [{
|
|
1383
|
-
rounded:
|
|
1383
|
+
rounded: A()
|
|
1384
1384
|
}],
|
|
1385
1385
|
/**
|
|
1386
1386
|
* Border Radius Start
|
|
1387
1387
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1388
1388
|
*/
|
|
1389
1389
|
"rounded-s": [{
|
|
1390
|
-
"rounded-s":
|
|
1390
|
+
"rounded-s": A()
|
|
1391
1391
|
}],
|
|
1392
1392
|
/**
|
|
1393
1393
|
* Border Radius End
|
|
1394
1394
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1395
1395
|
*/
|
|
1396
1396
|
"rounded-e": [{
|
|
1397
|
-
"rounded-e":
|
|
1397
|
+
"rounded-e": A()
|
|
1398
1398
|
}],
|
|
1399
1399
|
/**
|
|
1400
1400
|
* Border Radius Top
|
|
1401
1401
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1402
1402
|
*/
|
|
1403
1403
|
"rounded-t": [{
|
|
1404
|
-
"rounded-t":
|
|
1404
|
+
"rounded-t": A()
|
|
1405
1405
|
}],
|
|
1406
1406
|
/**
|
|
1407
1407
|
* Border Radius Right
|
|
1408
1408
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1409
1409
|
*/
|
|
1410
1410
|
"rounded-r": [{
|
|
1411
|
-
"rounded-r":
|
|
1411
|
+
"rounded-r": A()
|
|
1412
1412
|
}],
|
|
1413
1413
|
/**
|
|
1414
1414
|
* Border Radius Bottom
|
|
1415
1415
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1416
1416
|
*/
|
|
1417
1417
|
"rounded-b": [{
|
|
1418
|
-
"rounded-b":
|
|
1418
|
+
"rounded-b": A()
|
|
1419
1419
|
}],
|
|
1420
1420
|
/**
|
|
1421
1421
|
* Border Radius Left
|
|
1422
1422
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1423
1423
|
*/
|
|
1424
1424
|
"rounded-l": [{
|
|
1425
|
-
"rounded-l":
|
|
1425
|
+
"rounded-l": A()
|
|
1426
1426
|
}],
|
|
1427
1427
|
/**
|
|
1428
1428
|
* Border Radius Start Start
|
|
1429
1429
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1430
1430
|
*/
|
|
1431
1431
|
"rounded-ss": [{
|
|
1432
|
-
"rounded-ss":
|
|
1432
|
+
"rounded-ss": A()
|
|
1433
1433
|
}],
|
|
1434
1434
|
/**
|
|
1435
1435
|
* Border Radius Start End
|
|
1436
1436
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1437
1437
|
*/
|
|
1438
1438
|
"rounded-se": [{
|
|
1439
|
-
"rounded-se":
|
|
1439
|
+
"rounded-se": A()
|
|
1440
1440
|
}],
|
|
1441
1441
|
/**
|
|
1442
1442
|
* Border Radius End End
|
|
1443
1443
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1444
1444
|
*/
|
|
1445
1445
|
"rounded-ee": [{
|
|
1446
|
-
"rounded-ee":
|
|
1446
|
+
"rounded-ee": A()
|
|
1447
1447
|
}],
|
|
1448
1448
|
/**
|
|
1449
1449
|
* Border Radius End Start
|
|
1450
1450
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1451
1451
|
*/
|
|
1452
1452
|
"rounded-es": [{
|
|
1453
|
-
"rounded-es":
|
|
1453
|
+
"rounded-es": A()
|
|
1454
1454
|
}],
|
|
1455
1455
|
/**
|
|
1456
1456
|
* Border Radius Top Left
|
|
1457
1457
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1458
1458
|
*/
|
|
1459
1459
|
"rounded-tl": [{
|
|
1460
|
-
"rounded-tl":
|
|
1460
|
+
"rounded-tl": A()
|
|
1461
1461
|
}],
|
|
1462
1462
|
/**
|
|
1463
1463
|
* Border Radius Top Right
|
|
1464
1464
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1465
1465
|
*/
|
|
1466
1466
|
"rounded-tr": [{
|
|
1467
|
-
"rounded-tr":
|
|
1467
|
+
"rounded-tr": A()
|
|
1468
1468
|
}],
|
|
1469
1469
|
/**
|
|
1470
1470
|
* Border Radius Bottom Right
|
|
1471
1471
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1472
1472
|
*/
|
|
1473
1473
|
"rounded-br": [{
|
|
1474
|
-
"rounded-br":
|
|
1474
|
+
"rounded-br": A()
|
|
1475
1475
|
}],
|
|
1476
1476
|
/**
|
|
1477
1477
|
* Border Radius Bottom Left
|
|
1478
1478
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1479
1479
|
*/
|
|
1480
1480
|
"rounded-bl": [{
|
|
1481
|
-
"rounded-bl":
|
|
1481
|
+
"rounded-bl": A()
|
|
1482
1482
|
}],
|
|
1483
1483
|
/**
|
|
1484
1484
|
* Border Width
|
|
@@ -1586,70 +1586,70 @@ const tr = (e, o) => {
|
|
|
1586
1586
|
* @see https://tailwindcss.com/docs/border-color
|
|
1587
1587
|
*/
|
|
1588
1588
|
"border-color": [{
|
|
1589
|
-
border:
|
|
1589
|
+
border: u()
|
|
1590
1590
|
}],
|
|
1591
1591
|
/**
|
|
1592
1592
|
* Border Color X
|
|
1593
1593
|
* @see https://tailwindcss.com/docs/border-color
|
|
1594
1594
|
*/
|
|
1595
1595
|
"border-color-x": [{
|
|
1596
|
-
"border-x":
|
|
1596
|
+
"border-x": u()
|
|
1597
1597
|
}],
|
|
1598
1598
|
/**
|
|
1599
1599
|
* Border Color Y
|
|
1600
1600
|
* @see https://tailwindcss.com/docs/border-color
|
|
1601
1601
|
*/
|
|
1602
1602
|
"border-color-y": [{
|
|
1603
|
-
"border-y":
|
|
1603
|
+
"border-y": u()
|
|
1604
1604
|
}],
|
|
1605
1605
|
/**
|
|
1606
1606
|
* Border Color S
|
|
1607
1607
|
* @see https://tailwindcss.com/docs/border-color
|
|
1608
1608
|
*/
|
|
1609
1609
|
"border-color-s": [{
|
|
1610
|
-
"border-s":
|
|
1610
|
+
"border-s": u()
|
|
1611
1611
|
}],
|
|
1612
1612
|
/**
|
|
1613
1613
|
* Border Color E
|
|
1614
1614
|
* @see https://tailwindcss.com/docs/border-color
|
|
1615
1615
|
*/
|
|
1616
1616
|
"border-color-e": [{
|
|
1617
|
-
"border-e":
|
|
1617
|
+
"border-e": u()
|
|
1618
1618
|
}],
|
|
1619
1619
|
/**
|
|
1620
1620
|
* Border Color Top
|
|
1621
1621
|
* @see https://tailwindcss.com/docs/border-color
|
|
1622
1622
|
*/
|
|
1623
1623
|
"border-color-t": [{
|
|
1624
|
-
"border-t":
|
|
1624
|
+
"border-t": u()
|
|
1625
1625
|
}],
|
|
1626
1626
|
/**
|
|
1627
1627
|
* Border Color Right
|
|
1628
1628
|
* @see https://tailwindcss.com/docs/border-color
|
|
1629
1629
|
*/
|
|
1630
1630
|
"border-color-r": [{
|
|
1631
|
-
"border-r":
|
|
1631
|
+
"border-r": u()
|
|
1632
1632
|
}],
|
|
1633
1633
|
/**
|
|
1634
1634
|
* Border Color Bottom
|
|
1635
1635
|
* @see https://tailwindcss.com/docs/border-color
|
|
1636
1636
|
*/
|
|
1637
1637
|
"border-color-b": [{
|
|
1638
|
-
"border-b":
|
|
1638
|
+
"border-b": u()
|
|
1639
1639
|
}],
|
|
1640
1640
|
/**
|
|
1641
1641
|
* Border Color Left
|
|
1642
1642
|
* @see https://tailwindcss.com/docs/border-color
|
|
1643
1643
|
*/
|
|
1644
1644
|
"border-color-l": [{
|
|
1645
|
-
"border-l":
|
|
1645
|
+
"border-l": u()
|
|
1646
1646
|
}],
|
|
1647
1647
|
/**
|
|
1648
1648
|
* Divide Color
|
|
1649
1649
|
* @see https://tailwindcss.com/docs/divide-color
|
|
1650
1650
|
*/
|
|
1651
1651
|
"divide-color": [{
|
|
1652
|
-
divide:
|
|
1652
|
+
divide: u()
|
|
1653
1653
|
}],
|
|
1654
1654
|
/**
|
|
1655
1655
|
* Outline Style
|
|
@@ -1663,21 +1663,21 @@ const tr = (e, o) => {
|
|
|
1663
1663
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1664
1664
|
*/
|
|
1665
1665
|
"outline-offset": [{
|
|
1666
|
-
"outline-offset": [
|
|
1666
|
+
"outline-offset": [h, m, d]
|
|
1667
1667
|
}],
|
|
1668
1668
|
/**
|
|
1669
1669
|
* Outline Width
|
|
1670
1670
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1671
1671
|
*/
|
|
1672
1672
|
"outline-w": [{
|
|
1673
|
-
outline: ["",
|
|
1673
|
+
outline: ["", h, Y, F]
|
|
1674
1674
|
}],
|
|
1675
1675
|
/**
|
|
1676
1676
|
* Outline Color
|
|
1677
1677
|
* @see https://tailwindcss.com/docs/outline-color
|
|
1678
1678
|
*/
|
|
1679
1679
|
"outline-color": [{
|
|
1680
|
-
outline:
|
|
1680
|
+
outline: u()
|
|
1681
1681
|
}],
|
|
1682
1682
|
// ---------------
|
|
1683
1683
|
// --- Effects ---
|
|
@@ -1701,7 +1701,7 @@ const tr = (e, o) => {
|
|
|
1701
1701
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
1702
1702
|
*/
|
|
1703
1703
|
"shadow-color": [{
|
|
1704
|
-
shadow:
|
|
1704
|
+
shadow: u()
|
|
1705
1705
|
}],
|
|
1706
1706
|
/**
|
|
1707
1707
|
* Inset Box Shadow
|
|
@@ -1715,7 +1715,7 @@ const tr = (e, o) => {
|
|
|
1715
1715
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
1716
1716
|
*/
|
|
1717
1717
|
"inset-shadow-color": [{
|
|
1718
|
-
"inset-shadow":
|
|
1718
|
+
"inset-shadow": u()
|
|
1719
1719
|
}],
|
|
1720
1720
|
/**
|
|
1721
1721
|
* Ring Width
|
|
@@ -1736,7 +1736,7 @@ const tr = (e, o) => {
|
|
|
1736
1736
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
1737
1737
|
*/
|
|
1738
1738
|
"ring-color": [{
|
|
1739
|
-
ring:
|
|
1739
|
+
ring: u()
|
|
1740
1740
|
}],
|
|
1741
1741
|
/**
|
|
1742
1742
|
* Ring Offset Width
|
|
@@ -1745,7 +1745,7 @@ const tr = (e, o) => {
|
|
|
1745
1745
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1746
1746
|
*/
|
|
1747
1747
|
"ring-offset-w": [{
|
|
1748
|
-
"ring-offset": [
|
|
1748
|
+
"ring-offset": [h, F]
|
|
1749
1749
|
}],
|
|
1750
1750
|
/**
|
|
1751
1751
|
* Ring Offset Color
|
|
@@ -1754,7 +1754,7 @@ const tr = (e, o) => {
|
|
|
1754
1754
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1755
1755
|
*/
|
|
1756
1756
|
"ring-offset-color": [{
|
|
1757
|
-
"ring-offset":
|
|
1757
|
+
"ring-offset": u()
|
|
1758
1758
|
}],
|
|
1759
1759
|
/**
|
|
1760
1760
|
* Inset Ring Width
|
|
@@ -1768,42 +1768,42 @@ const tr = (e, o) => {
|
|
|
1768
1768
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
1769
1769
|
*/
|
|
1770
1770
|
"inset-ring-color": [{
|
|
1771
|
-
"inset-ring":
|
|
1771
|
+
"inset-ring": u()
|
|
1772
1772
|
}],
|
|
1773
1773
|
/**
|
|
1774
1774
|
* Text Shadow
|
|
1775
1775
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
1776
1776
|
*/
|
|
1777
1777
|
"text-shadow": [{
|
|
1778
|
-
"text-shadow": ["none",
|
|
1778
|
+
"text-shadow": ["none", N, ee, Z]
|
|
1779
1779
|
}],
|
|
1780
1780
|
/**
|
|
1781
1781
|
* Text Shadow Color
|
|
1782
1782
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
1783
1783
|
*/
|
|
1784
1784
|
"text-shadow-color": [{
|
|
1785
|
-
"text-shadow":
|
|
1785
|
+
"text-shadow": u()
|
|
1786
1786
|
}],
|
|
1787
1787
|
/**
|
|
1788
1788
|
* Opacity
|
|
1789
1789
|
* @see https://tailwindcss.com/docs/opacity
|
|
1790
1790
|
*/
|
|
1791
1791
|
opacity: [{
|
|
1792
|
-
opacity: [
|
|
1792
|
+
opacity: [h, m, d]
|
|
1793
1793
|
}],
|
|
1794
1794
|
/**
|
|
1795
1795
|
* Mix Blend Mode
|
|
1796
1796
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1797
1797
|
*/
|
|
1798
1798
|
"mix-blend": [{
|
|
1799
|
-
"mix-blend": [...
|
|
1799
|
+
"mix-blend": [...ke(), "plus-darker", "plus-lighter"]
|
|
1800
1800
|
}],
|
|
1801
1801
|
/**
|
|
1802
1802
|
* Background Blend Mode
|
|
1803
1803
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1804
1804
|
*/
|
|
1805
1805
|
"bg-blend": [{
|
|
1806
|
-
"bg-blend":
|
|
1806
|
+
"bg-blend": ke()
|
|
1807
1807
|
}],
|
|
1808
1808
|
/**
|
|
1809
1809
|
* Mask Clip
|
|
@@ -1824,106 +1824,106 @@ const tr = (e, o) => {
|
|
|
1824
1824
|
* @see https://tailwindcss.com/docs/mask-image
|
|
1825
1825
|
*/
|
|
1826
1826
|
"mask-image-linear-pos": [{
|
|
1827
|
-
"mask-linear": [
|
|
1827
|
+
"mask-linear": [h]
|
|
1828
1828
|
}],
|
|
1829
1829
|
"mask-image-linear-from-pos": [{
|
|
1830
|
-
"mask-linear-from":
|
|
1830
|
+
"mask-linear-from": I()
|
|
1831
1831
|
}],
|
|
1832
1832
|
"mask-image-linear-to-pos": [{
|
|
1833
|
-
"mask-linear-to":
|
|
1833
|
+
"mask-linear-to": I()
|
|
1834
1834
|
}],
|
|
1835
1835
|
"mask-image-linear-from-color": [{
|
|
1836
|
-
"mask-linear-from":
|
|
1836
|
+
"mask-linear-from": u()
|
|
1837
1837
|
}],
|
|
1838
1838
|
"mask-image-linear-to-color": [{
|
|
1839
|
-
"mask-linear-to":
|
|
1839
|
+
"mask-linear-to": u()
|
|
1840
1840
|
}],
|
|
1841
1841
|
"mask-image-t-from-pos": [{
|
|
1842
|
-
"mask-t-from":
|
|
1842
|
+
"mask-t-from": I()
|
|
1843
1843
|
}],
|
|
1844
1844
|
"mask-image-t-to-pos": [{
|
|
1845
|
-
"mask-t-to":
|
|
1845
|
+
"mask-t-to": I()
|
|
1846
1846
|
}],
|
|
1847
1847
|
"mask-image-t-from-color": [{
|
|
1848
|
-
"mask-t-from":
|
|
1848
|
+
"mask-t-from": u()
|
|
1849
1849
|
}],
|
|
1850
1850
|
"mask-image-t-to-color": [{
|
|
1851
|
-
"mask-t-to":
|
|
1851
|
+
"mask-t-to": u()
|
|
1852
1852
|
}],
|
|
1853
1853
|
"mask-image-r-from-pos": [{
|
|
1854
|
-
"mask-r-from":
|
|
1854
|
+
"mask-r-from": I()
|
|
1855
1855
|
}],
|
|
1856
1856
|
"mask-image-r-to-pos": [{
|
|
1857
|
-
"mask-r-to":
|
|
1857
|
+
"mask-r-to": I()
|
|
1858
1858
|
}],
|
|
1859
1859
|
"mask-image-r-from-color": [{
|
|
1860
|
-
"mask-r-from":
|
|
1860
|
+
"mask-r-from": u()
|
|
1861
1861
|
}],
|
|
1862
1862
|
"mask-image-r-to-color": [{
|
|
1863
|
-
"mask-r-to":
|
|
1863
|
+
"mask-r-to": u()
|
|
1864
1864
|
}],
|
|
1865
1865
|
"mask-image-b-from-pos": [{
|
|
1866
|
-
"mask-b-from":
|
|
1866
|
+
"mask-b-from": I()
|
|
1867
1867
|
}],
|
|
1868
1868
|
"mask-image-b-to-pos": [{
|
|
1869
|
-
"mask-b-to":
|
|
1869
|
+
"mask-b-to": I()
|
|
1870
1870
|
}],
|
|
1871
1871
|
"mask-image-b-from-color": [{
|
|
1872
|
-
"mask-b-from":
|
|
1872
|
+
"mask-b-from": u()
|
|
1873
1873
|
}],
|
|
1874
1874
|
"mask-image-b-to-color": [{
|
|
1875
|
-
"mask-b-to":
|
|
1875
|
+
"mask-b-to": u()
|
|
1876
1876
|
}],
|
|
1877
1877
|
"mask-image-l-from-pos": [{
|
|
1878
|
-
"mask-l-from":
|
|
1878
|
+
"mask-l-from": I()
|
|
1879
1879
|
}],
|
|
1880
1880
|
"mask-image-l-to-pos": [{
|
|
1881
|
-
"mask-l-to":
|
|
1881
|
+
"mask-l-to": I()
|
|
1882
1882
|
}],
|
|
1883
1883
|
"mask-image-l-from-color": [{
|
|
1884
|
-
"mask-l-from":
|
|
1884
|
+
"mask-l-from": u()
|
|
1885
1885
|
}],
|
|
1886
1886
|
"mask-image-l-to-color": [{
|
|
1887
|
-
"mask-l-to":
|
|
1887
|
+
"mask-l-to": u()
|
|
1888
1888
|
}],
|
|
1889
1889
|
"mask-image-x-from-pos": [{
|
|
1890
|
-
"mask-x-from":
|
|
1890
|
+
"mask-x-from": I()
|
|
1891
1891
|
}],
|
|
1892
1892
|
"mask-image-x-to-pos": [{
|
|
1893
|
-
"mask-x-to":
|
|
1893
|
+
"mask-x-to": I()
|
|
1894
1894
|
}],
|
|
1895
1895
|
"mask-image-x-from-color": [{
|
|
1896
|
-
"mask-x-from":
|
|
1896
|
+
"mask-x-from": u()
|
|
1897
1897
|
}],
|
|
1898
1898
|
"mask-image-x-to-color": [{
|
|
1899
|
-
"mask-x-to":
|
|
1899
|
+
"mask-x-to": u()
|
|
1900
1900
|
}],
|
|
1901
1901
|
"mask-image-y-from-pos": [{
|
|
1902
|
-
"mask-y-from":
|
|
1902
|
+
"mask-y-from": I()
|
|
1903
1903
|
}],
|
|
1904
1904
|
"mask-image-y-to-pos": [{
|
|
1905
|
-
"mask-y-to":
|
|
1905
|
+
"mask-y-to": I()
|
|
1906
1906
|
}],
|
|
1907
1907
|
"mask-image-y-from-color": [{
|
|
1908
|
-
"mask-y-from":
|
|
1908
|
+
"mask-y-from": u()
|
|
1909
1909
|
}],
|
|
1910
1910
|
"mask-image-y-to-color": [{
|
|
1911
|
-
"mask-y-to":
|
|
1911
|
+
"mask-y-to": u()
|
|
1912
1912
|
}],
|
|
1913
1913
|
"mask-image-radial": [{
|
|
1914
1914
|
"mask-radial": [m, d]
|
|
1915
1915
|
}],
|
|
1916
1916
|
"mask-image-radial-from-pos": [{
|
|
1917
|
-
"mask-radial-from":
|
|
1917
|
+
"mask-radial-from": I()
|
|
1918
1918
|
}],
|
|
1919
1919
|
"mask-image-radial-to-pos": [{
|
|
1920
|
-
"mask-radial-to":
|
|
1920
|
+
"mask-radial-to": I()
|
|
1921
1921
|
}],
|
|
1922
1922
|
"mask-image-radial-from-color": [{
|
|
1923
|
-
"mask-radial-from":
|
|
1923
|
+
"mask-radial-from": u()
|
|
1924
1924
|
}],
|
|
1925
1925
|
"mask-image-radial-to-color": [{
|
|
1926
|
-
"mask-radial-to":
|
|
1926
|
+
"mask-radial-to": u()
|
|
1927
1927
|
}],
|
|
1928
1928
|
"mask-image-radial-shape": [{
|
|
1929
1929
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -1935,22 +1935,22 @@ const tr = (e, o) => {
|
|
|
1935
1935
|
}]
|
|
1936
1936
|
}],
|
|
1937
1937
|
"mask-image-radial-pos": [{
|
|
1938
|
-
"mask-radial-at":
|
|
1938
|
+
"mask-radial-at": P()
|
|
1939
1939
|
}],
|
|
1940
1940
|
"mask-image-conic-pos": [{
|
|
1941
|
-
"mask-conic": [
|
|
1941
|
+
"mask-conic": [h]
|
|
1942
1942
|
}],
|
|
1943
1943
|
"mask-image-conic-from-pos": [{
|
|
1944
|
-
"mask-conic-from":
|
|
1944
|
+
"mask-conic-from": I()
|
|
1945
1945
|
}],
|
|
1946
1946
|
"mask-image-conic-to-pos": [{
|
|
1947
|
-
"mask-conic-to":
|
|
1947
|
+
"mask-conic-to": I()
|
|
1948
1948
|
}],
|
|
1949
1949
|
"mask-image-conic-from-color": [{
|
|
1950
|
-
"mask-conic-from":
|
|
1950
|
+
"mask-conic-from": u()
|
|
1951
1951
|
}],
|
|
1952
1952
|
"mask-image-conic-to-color": [{
|
|
1953
|
-
"mask-conic-to":
|
|
1953
|
+
"mask-conic-to": u()
|
|
1954
1954
|
}],
|
|
1955
1955
|
/**
|
|
1956
1956
|
* Mask Mode
|
|
@@ -1971,21 +1971,21 @@ const tr = (e, o) => {
|
|
|
1971
1971
|
* @see https://tailwindcss.com/docs/mask-position
|
|
1972
1972
|
*/
|
|
1973
1973
|
"mask-position": [{
|
|
1974
|
-
mask:
|
|
1974
|
+
mask: ye()
|
|
1975
1975
|
}],
|
|
1976
1976
|
/**
|
|
1977
1977
|
* Mask Repeat
|
|
1978
1978
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
1979
1979
|
*/
|
|
1980
1980
|
"mask-repeat": [{
|
|
1981
|
-
mask:
|
|
1981
|
+
mask: we()
|
|
1982
1982
|
}],
|
|
1983
1983
|
/**
|
|
1984
1984
|
* Mask Size
|
|
1985
1985
|
* @see https://tailwindcss.com/docs/mask-size
|
|
1986
1986
|
*/
|
|
1987
1987
|
"mask-size": [{
|
|
1988
|
-
mask:
|
|
1988
|
+
mask: ve()
|
|
1989
1989
|
}],
|
|
1990
1990
|
/**
|
|
1991
1991
|
* Mask Type
|
|
@@ -2022,21 +2022,21 @@ const tr = (e, o) => {
|
|
|
2022
2022
|
* @see https://tailwindcss.com/docs/blur
|
|
2023
2023
|
*/
|
|
2024
2024
|
blur: [{
|
|
2025
|
-
blur:
|
|
2025
|
+
blur: Ne()
|
|
2026
2026
|
}],
|
|
2027
2027
|
/**
|
|
2028
2028
|
* Brightness
|
|
2029
2029
|
* @see https://tailwindcss.com/docs/brightness
|
|
2030
2030
|
*/
|
|
2031
2031
|
brightness: [{
|
|
2032
|
-
brightness: [
|
|
2032
|
+
brightness: [h, m, d]
|
|
2033
2033
|
}],
|
|
2034
2034
|
/**
|
|
2035
2035
|
* Contrast
|
|
2036
2036
|
* @see https://tailwindcss.com/docs/contrast
|
|
2037
2037
|
*/
|
|
2038
2038
|
contrast: [{
|
|
2039
|
-
contrast: [
|
|
2039
|
+
contrast: [h, m, d]
|
|
2040
2040
|
}],
|
|
2041
2041
|
/**
|
|
2042
2042
|
* Drop Shadow
|
|
@@ -2047,7 +2047,7 @@ const tr = (e, o) => {
|
|
|
2047
2047
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2048
2048
|
"",
|
|
2049
2049
|
"none",
|
|
2050
|
-
|
|
2050
|
+
C,
|
|
2051
2051
|
ee,
|
|
2052
2052
|
Z
|
|
2053
2053
|
]
|
|
@@ -2057,42 +2057,42 @@ const tr = (e, o) => {
|
|
|
2057
2057
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2058
2058
|
*/
|
|
2059
2059
|
"drop-shadow-color": [{
|
|
2060
|
-
"drop-shadow":
|
|
2060
|
+
"drop-shadow": u()
|
|
2061
2061
|
}],
|
|
2062
2062
|
/**
|
|
2063
2063
|
* Grayscale
|
|
2064
2064
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2065
2065
|
*/
|
|
2066
2066
|
grayscale: [{
|
|
2067
|
-
grayscale: ["",
|
|
2067
|
+
grayscale: ["", h, m, d]
|
|
2068
2068
|
}],
|
|
2069
2069
|
/**
|
|
2070
2070
|
* Hue Rotate
|
|
2071
2071
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2072
2072
|
*/
|
|
2073
2073
|
"hue-rotate": [{
|
|
2074
|
-
"hue-rotate": [
|
|
2074
|
+
"hue-rotate": [h, m, d]
|
|
2075
2075
|
}],
|
|
2076
2076
|
/**
|
|
2077
2077
|
* Invert
|
|
2078
2078
|
* @see https://tailwindcss.com/docs/invert
|
|
2079
2079
|
*/
|
|
2080
2080
|
invert: [{
|
|
2081
|
-
invert: ["",
|
|
2081
|
+
invert: ["", h, m, d]
|
|
2082
2082
|
}],
|
|
2083
2083
|
/**
|
|
2084
2084
|
* Saturate
|
|
2085
2085
|
* @see https://tailwindcss.com/docs/saturate
|
|
2086
2086
|
*/
|
|
2087
2087
|
saturate: [{
|
|
2088
|
-
saturate: [
|
|
2088
|
+
saturate: [h, m, d]
|
|
2089
2089
|
}],
|
|
2090
2090
|
/**
|
|
2091
2091
|
* Sepia
|
|
2092
2092
|
* @see https://tailwindcss.com/docs/sepia
|
|
2093
2093
|
*/
|
|
2094
2094
|
sepia: [{
|
|
2095
|
-
sepia: ["",
|
|
2095
|
+
sepia: ["", h, m, d]
|
|
2096
2096
|
}],
|
|
2097
2097
|
/**
|
|
2098
2098
|
* Backdrop Filter
|
|
@@ -2112,63 +2112,63 @@ const tr = (e, o) => {
|
|
|
2112
2112
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2113
2113
|
*/
|
|
2114
2114
|
"backdrop-blur": [{
|
|
2115
|
-
"backdrop-blur":
|
|
2115
|
+
"backdrop-blur": Ne()
|
|
2116
2116
|
}],
|
|
2117
2117
|
/**
|
|
2118
2118
|
* Backdrop Brightness
|
|
2119
2119
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2120
2120
|
*/
|
|
2121
2121
|
"backdrop-brightness": [{
|
|
2122
|
-
"backdrop-brightness": [
|
|
2122
|
+
"backdrop-brightness": [h, m, d]
|
|
2123
2123
|
}],
|
|
2124
2124
|
/**
|
|
2125
2125
|
* Backdrop Contrast
|
|
2126
2126
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2127
2127
|
*/
|
|
2128
2128
|
"backdrop-contrast": [{
|
|
2129
|
-
"backdrop-contrast": [
|
|
2129
|
+
"backdrop-contrast": [h, m, d]
|
|
2130
2130
|
}],
|
|
2131
2131
|
/**
|
|
2132
2132
|
* Backdrop Grayscale
|
|
2133
2133
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2134
2134
|
*/
|
|
2135
2135
|
"backdrop-grayscale": [{
|
|
2136
|
-
"backdrop-grayscale": ["",
|
|
2136
|
+
"backdrop-grayscale": ["", h, m, d]
|
|
2137
2137
|
}],
|
|
2138
2138
|
/**
|
|
2139
2139
|
* Backdrop Hue Rotate
|
|
2140
2140
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2141
2141
|
*/
|
|
2142
2142
|
"backdrop-hue-rotate": [{
|
|
2143
|
-
"backdrop-hue-rotate": [
|
|
2143
|
+
"backdrop-hue-rotate": [h, m, d]
|
|
2144
2144
|
}],
|
|
2145
2145
|
/**
|
|
2146
2146
|
* Backdrop Invert
|
|
2147
2147
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2148
2148
|
*/
|
|
2149
2149
|
"backdrop-invert": [{
|
|
2150
|
-
"backdrop-invert": ["",
|
|
2150
|
+
"backdrop-invert": ["", h, m, d]
|
|
2151
2151
|
}],
|
|
2152
2152
|
/**
|
|
2153
2153
|
* Backdrop Opacity
|
|
2154
2154
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2155
2155
|
*/
|
|
2156
2156
|
"backdrop-opacity": [{
|
|
2157
|
-
"backdrop-opacity": [
|
|
2157
|
+
"backdrop-opacity": [h, m, d]
|
|
2158
2158
|
}],
|
|
2159
2159
|
/**
|
|
2160
2160
|
* Backdrop Saturate
|
|
2161
2161
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2162
2162
|
*/
|
|
2163
2163
|
"backdrop-saturate": [{
|
|
2164
|
-
"backdrop-saturate": [
|
|
2164
|
+
"backdrop-saturate": [h, m, d]
|
|
2165
2165
|
}],
|
|
2166
2166
|
/**
|
|
2167
2167
|
* Backdrop Sepia
|
|
2168
2168
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2169
2169
|
*/
|
|
2170
2170
|
"backdrop-sepia": [{
|
|
2171
|
-
"backdrop-sepia": ["",
|
|
2171
|
+
"backdrop-sepia": ["", h, m, d]
|
|
2172
2172
|
}],
|
|
2173
2173
|
// --------------
|
|
2174
2174
|
// --- Tables ---
|
|
@@ -2237,28 +2237,28 @@ const tr = (e, o) => {
|
|
|
2237
2237
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2238
2238
|
*/
|
|
2239
2239
|
duration: [{
|
|
2240
|
-
duration: [
|
|
2240
|
+
duration: [h, "initial", m, d]
|
|
2241
2241
|
}],
|
|
2242
2242
|
/**
|
|
2243
2243
|
* Transition Timing Function
|
|
2244
2244
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2245
2245
|
*/
|
|
2246
2246
|
ease: [{
|
|
2247
|
-
ease: ["linear", "initial",
|
|
2247
|
+
ease: ["linear", "initial", M, m, d]
|
|
2248
2248
|
}],
|
|
2249
2249
|
/**
|
|
2250
2250
|
* Transition Delay
|
|
2251
2251
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2252
2252
|
*/
|
|
2253
2253
|
delay: [{
|
|
2254
|
-
delay: [
|
|
2254
|
+
delay: [h, m, d]
|
|
2255
2255
|
}],
|
|
2256
2256
|
/**
|
|
2257
2257
|
* Animation
|
|
2258
2258
|
* @see https://tailwindcss.com/docs/animation
|
|
2259
2259
|
*/
|
|
2260
2260
|
animate: [{
|
|
2261
|
-
animate: ["none",
|
|
2261
|
+
animate: ["none", v, m, d]
|
|
2262
2262
|
}],
|
|
2263
2263
|
// ------------------
|
|
2264
2264
|
// --- Transforms ---
|
|
@@ -2275,14 +2275,14 @@ const tr = (e, o) => {
|
|
|
2275
2275
|
* @see https://tailwindcss.com/docs/perspective
|
|
2276
2276
|
*/
|
|
2277
2277
|
perspective: [{
|
|
2278
|
-
perspective: [
|
|
2278
|
+
perspective: [w, m, d]
|
|
2279
2279
|
}],
|
|
2280
2280
|
/**
|
|
2281
2281
|
* Perspective Origin
|
|
2282
2282
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2283
2283
|
*/
|
|
2284
2284
|
"perspective-origin": [{
|
|
2285
|
-
"perspective-origin":
|
|
2285
|
+
"perspective-origin": V()
|
|
2286
2286
|
}],
|
|
2287
2287
|
/**
|
|
2288
2288
|
* Rotate
|
|
@@ -2350,21 +2350,21 @@ const tr = (e, o) => {
|
|
|
2350
2350
|
* @see https://tailwindcss.com/docs/skew
|
|
2351
2351
|
*/
|
|
2352
2352
|
skew: [{
|
|
2353
|
-
skew:
|
|
2353
|
+
skew: ae()
|
|
2354
2354
|
}],
|
|
2355
2355
|
/**
|
|
2356
2356
|
* Skew X
|
|
2357
2357
|
* @see https://tailwindcss.com/docs/skew
|
|
2358
2358
|
*/
|
|
2359
2359
|
"skew-x": [{
|
|
2360
|
-
"skew-x":
|
|
2360
|
+
"skew-x": ae()
|
|
2361
2361
|
}],
|
|
2362
2362
|
/**
|
|
2363
2363
|
* Skew Y
|
|
2364
2364
|
* @see https://tailwindcss.com/docs/skew
|
|
2365
2365
|
*/
|
|
2366
2366
|
"skew-y": [{
|
|
2367
|
-
"skew-y":
|
|
2367
|
+
"skew-y": ae()
|
|
2368
2368
|
}],
|
|
2369
2369
|
/**
|
|
2370
2370
|
* Transform
|
|
@@ -2378,7 +2378,7 @@ const tr = (e, o) => {
|
|
|
2378
2378
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2379
2379
|
*/
|
|
2380
2380
|
"transform-origin": [{
|
|
2381
|
-
origin:
|
|
2381
|
+
origin: V()
|
|
2382
2382
|
}],
|
|
2383
2383
|
/**
|
|
2384
2384
|
* Transform Style
|
|
@@ -2428,7 +2428,7 @@ const tr = (e, o) => {
|
|
|
2428
2428
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2429
2429
|
*/
|
|
2430
2430
|
accent: [{
|
|
2431
|
-
accent:
|
|
2431
|
+
accent: u()
|
|
2432
2432
|
}],
|
|
2433
2433
|
/**
|
|
2434
2434
|
* Appearance
|
|
@@ -2442,7 +2442,7 @@ const tr = (e, o) => {
|
|
|
2442
2442
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2443
2443
|
*/
|
|
2444
2444
|
"caret-color": [{
|
|
2445
|
-
caret:
|
|
2445
|
+
caret: u()
|
|
2446
2446
|
}],
|
|
2447
2447
|
/**
|
|
2448
2448
|
* Color Scheme
|
|
@@ -2688,21 +2688,21 @@ const tr = (e, o) => {
|
|
|
2688
2688
|
* @see https://tailwindcss.com/docs/fill
|
|
2689
2689
|
*/
|
|
2690
2690
|
fill: [{
|
|
2691
|
-
fill: ["none", ...
|
|
2691
|
+
fill: ["none", ...u()]
|
|
2692
2692
|
}],
|
|
2693
2693
|
/**
|
|
2694
2694
|
* Stroke Width
|
|
2695
2695
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2696
2696
|
*/
|
|
2697
2697
|
"stroke-w": [{
|
|
2698
|
-
stroke: [
|
|
2698
|
+
stroke: [h, Y, F, de]
|
|
2699
2699
|
}],
|
|
2700
2700
|
/**
|
|
2701
2701
|
* Stroke
|
|
2702
2702
|
* @see https://tailwindcss.com/docs/stroke
|
|
2703
2703
|
*/
|
|
2704
2704
|
stroke: [{
|
|
2705
|
-
stroke: ["none", ...
|
|
2705
|
+
stroke: ["none", ...u()]
|
|
2706
2706
|
}],
|
|
2707
2707
|
// ---------------------
|
|
2708
2708
|
// --- Accessibility ---
|
|
@@ -2770,16 +2770,16 @@ const tr = (e, o) => {
|
|
|
2770
2770
|
},
|
|
2771
2771
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
2772
2772
|
};
|
|
2773
|
-
},
|
|
2774
|
-
function
|
|
2775
|
-
return
|
|
2773
|
+
}, Xr = /* @__PURE__ */ zr($r);
|
|
2774
|
+
function x(...e) {
|
|
2775
|
+
return Xr(sr(e));
|
|
2776
2776
|
}
|
|
2777
|
-
const
|
|
2777
|
+
const Yr = {
|
|
2778
2778
|
owner: "bg-purple-100 text-purple-700 dark:bg-purple-900 dark:text-purple-300",
|
|
2779
2779
|
manager: "bg-blue-100 text-blue-700 dark:bg-blue-900 dark:text-blue-300",
|
|
2780
2780
|
member: "bg-gray-100 text-gray-700 dark:bg-gray-800 dark:text-gray-300"
|
|
2781
2781
|
};
|
|
2782
|
-
function
|
|
2782
|
+
function qr({
|
|
2783
2783
|
entity: e,
|
|
2784
2784
|
isSelected: o = !1,
|
|
2785
2785
|
onClick: r,
|
|
@@ -2788,25 +2788,25 @@ function $r({
|
|
|
2788
2788
|
trackingLabel: c,
|
|
2789
2789
|
componentName: n = "EntityCard"
|
|
2790
2790
|
}) {
|
|
2791
|
-
const l = e.entityType === "personal", i = l ?
|
|
2791
|
+
const l = e.entityType === "personal", i = l ? oe : pe;
|
|
2792
2792
|
return /* @__PURE__ */ a(
|
|
2793
2793
|
"div",
|
|
2794
2794
|
{
|
|
2795
2795
|
onClick: r ? () => {
|
|
2796
2796
|
s?.({ action: "click", trackingLabel: c, componentName: n }), r?.();
|
|
2797
2797
|
} : void 0,
|
|
2798
|
-
className:
|
|
2798
|
+
className: x(
|
|
2799
2799
|
"rounded-lg border p-4 transition-all",
|
|
2800
2800
|
r && "cursor-pointer hover:border-primary",
|
|
2801
2801
|
o && "border-primary bg-primary/5",
|
|
2802
2802
|
!o && "border-border bg-card",
|
|
2803
2803
|
t
|
|
2804
2804
|
),
|
|
2805
|
-
children: /* @__PURE__ */
|
|
2805
|
+
children: /* @__PURE__ */ y("div", { className: "flex items-start gap-3", children: [
|
|
2806
2806
|
/* @__PURE__ */ a(
|
|
2807
2807
|
"div",
|
|
2808
2808
|
{
|
|
2809
|
-
className:
|
|
2809
|
+
className: x(
|
|
2810
2810
|
"flex h-10 w-10 items-center justify-center rounded-full",
|
|
2811
2811
|
l ? "bg-blue-100 dark:bg-blue-900" : "bg-purple-100 dark:bg-purple-900"
|
|
2812
2812
|
),
|
|
@@ -2820,7 +2820,7 @@ function $r({
|
|
|
2820
2820
|
) : /* @__PURE__ */ a(
|
|
2821
2821
|
i,
|
|
2822
2822
|
{
|
|
2823
|
-
className:
|
|
2823
|
+
className: x(
|
|
2824
2824
|
"h-5 w-5",
|
|
2825
2825
|
l ? "text-blue-600 dark:text-blue-400" : "text-purple-600 dark:text-purple-400"
|
|
2826
2826
|
)
|
|
@@ -2828,15 +2828,15 @@ function $r({
|
|
|
2828
2828
|
)
|
|
2829
2829
|
}
|
|
2830
2830
|
),
|
|
2831
|
-
/* @__PURE__ */
|
|
2832
|
-
/* @__PURE__ */
|
|
2831
|
+
/* @__PURE__ */ y("div", { className: "flex-1 min-w-0", children: [
|
|
2832
|
+
/* @__PURE__ */ y("div", { className: "flex items-center gap-2", children: [
|
|
2833
2833
|
/* @__PURE__ */ a("h3", { className: "font-medium text-foreground truncate", children: e.displayName }),
|
|
2834
2834
|
/* @__PURE__ */ a(
|
|
2835
2835
|
"span",
|
|
2836
2836
|
{
|
|
2837
|
-
className:
|
|
2837
|
+
className: x(
|
|
2838
2838
|
"text-xs px-2 py-0.5 rounded-full font-medium",
|
|
2839
|
-
|
|
2839
|
+
Yr[e.userRole]
|
|
2840
2840
|
),
|
|
2841
2841
|
children: e.userRole
|
|
2842
2842
|
}
|
|
@@ -2849,7 +2849,7 @@ function $r({
|
|
|
2849
2849
|
}
|
|
2850
2850
|
);
|
|
2851
2851
|
}
|
|
2852
|
-
function
|
|
2852
|
+
function st({
|
|
2853
2853
|
entities: e,
|
|
2854
2854
|
selectedSlug: o,
|
|
2855
2855
|
onSelect: r,
|
|
@@ -2861,7 +2861,7 @@ function rt({
|
|
|
2861
2861
|
componentName: i = "EntityList"
|
|
2862
2862
|
}) {
|
|
2863
2863
|
if (t)
|
|
2864
|
-
return /* @__PURE__ */ a("div", { className:
|
|
2864
|
+
return /* @__PURE__ */ a("div", { className: x("space-y-3", c), children: [1, 2, 3].map((f) => /* @__PURE__ */ a(
|
|
2865
2865
|
"div",
|
|
2866
2866
|
{
|
|
2867
2867
|
className: "h-24 rounded-lg border border-border bg-muted animate-pulse"
|
|
@@ -2869,23 +2869,23 @@ function rt({
|
|
|
2869
2869
|
f
|
|
2870
2870
|
)) });
|
|
2871
2871
|
if (e.length === 0)
|
|
2872
|
-
return /* @__PURE__ */ a("div", { className:
|
|
2873
|
-
const
|
|
2872
|
+
return /* @__PURE__ */ a("div", { className: x("text-center py-8 text-muted-foreground", c), children: s });
|
|
2873
|
+
const p = (f) => {
|
|
2874
2874
|
n?.({ action: "select", trackingLabel: l, componentName: i }), r?.(f);
|
|
2875
2875
|
};
|
|
2876
|
-
return /* @__PURE__ */ a("div", { className:
|
|
2877
|
-
|
|
2876
|
+
return /* @__PURE__ */ a("div", { className: x("space-y-3", c), children: e.map((f) => /* @__PURE__ */ a(
|
|
2877
|
+
qr,
|
|
2878
2878
|
{
|
|
2879
2879
|
entity: f,
|
|
2880
2880
|
isSelected: f.entitySlug === o,
|
|
2881
|
-
onClick: r ? () =>
|
|
2881
|
+
onClick: r ? () => p(f) : void 0,
|
|
2882
2882
|
onTrack: n,
|
|
2883
2883
|
trackingLabel: l
|
|
2884
2884
|
},
|
|
2885
2885
|
f.id
|
|
2886
2886
|
)) });
|
|
2887
2887
|
}
|
|
2888
|
-
function
|
|
2888
|
+
function nt({
|
|
2889
2889
|
entities: e,
|
|
2890
2890
|
currentEntity: o,
|
|
2891
2891
|
onSelect: r,
|
|
@@ -2896,44 +2896,44 @@ function tt({
|
|
|
2896
2896
|
trackingLabel: l,
|
|
2897
2897
|
componentName: i = "EntitySelector"
|
|
2898
2898
|
}) {
|
|
2899
|
-
const [
|
|
2900
|
-
n?.({ action: "toggle", trackingLabel: l, componentName: i }), f(!
|
|
2901
|
-
},
|
|
2902
|
-
n?.({ action: "select", trackingLabel: l, componentName: i }), r(
|
|
2903
|
-
},
|
|
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);
|
|
2903
|
+
}, C = () => {
|
|
2904
2904
|
n?.({ action: "create_new", trackingLabel: l, componentName: i }), t?.(), f(!1);
|
|
2905
2905
|
};
|
|
2906
|
-
return /* @__PURE__ */
|
|
2907
|
-
/* @__PURE__ */
|
|
2906
|
+
return /* @__PURE__ */ y("div", { className: x("relative", c), children: [
|
|
2907
|
+
/* @__PURE__ */ y(
|
|
2908
2908
|
"button",
|
|
2909
2909
|
{
|
|
2910
2910
|
type: "button",
|
|
2911
2911
|
onClick: k,
|
|
2912
2912
|
disabled: s,
|
|
2913
|
-
className:
|
|
2913
|
+
className: x(
|
|
2914
2914
|
"flex items-center gap-2 px-3 py-2 rounded-lg border",
|
|
2915
2915
|
"bg-background hover:bg-muted transition-colors",
|
|
2916
2916
|
"focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2",
|
|
2917
2917
|
s && "opacity-50 cursor-not-allowed"
|
|
2918
2918
|
),
|
|
2919
2919
|
children: [
|
|
2920
|
-
o ? /* @__PURE__ */
|
|
2921
|
-
o.entityType === "personal" ? /* @__PURE__ */ a(
|
|
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" }),
|
|
2922
2922
|
/* @__PURE__ */ a("span", { className: "font-medium text-sm truncate max-w-[150px]", children: o.displayName })
|
|
2923
2923
|
] }) : /* @__PURE__ */ a("span", { className: "text-sm text-muted-foreground", children: "Select workspace" }),
|
|
2924
2924
|
/* @__PURE__ */ a(
|
|
2925
|
-
|
|
2925
|
+
Ee,
|
|
2926
2926
|
{
|
|
2927
|
-
className:
|
|
2927
|
+
className: x(
|
|
2928
2928
|
"h-4 w-4 text-muted-foreground transition-transform",
|
|
2929
|
-
|
|
2929
|
+
p && "rotate-180"
|
|
2930
2930
|
)
|
|
2931
2931
|
}
|
|
2932
2932
|
)
|
|
2933
2933
|
]
|
|
2934
2934
|
}
|
|
2935
2935
|
),
|
|
2936
|
-
|
|
2936
|
+
p && /* @__PURE__ */ y(le, { children: [
|
|
2937
2937
|
/* @__PURE__ */ a(
|
|
2938
2938
|
"div",
|
|
2939
2939
|
{
|
|
@@ -2944,44 +2944,44 @@ function tt({
|
|
|
2944
2944
|
/* @__PURE__ */ a(
|
|
2945
2945
|
"div",
|
|
2946
2946
|
{
|
|
2947
|
-
className:
|
|
2947
|
+
className: x(
|
|
2948
2948
|
"absolute top-full left-0 mt-1 z-50",
|
|
2949
2949
|
"min-w-[220px] rounded-lg border bg-popover shadow-lg",
|
|
2950
2950
|
"animate-in fade-in-0 zoom-in-95"
|
|
2951
2951
|
),
|
|
2952
|
-
children: /* @__PURE__ */
|
|
2953
|
-
e.filter((
|
|
2954
|
-
|
|
2952
|
+
children: /* @__PURE__ */ y("div", { className: "p-1", children: [
|
|
2953
|
+
e.filter((b) => b.entityType === "personal").map((b) => /* @__PURE__ */ a(
|
|
2954
|
+
Me,
|
|
2955
2955
|
{
|
|
2956
|
-
entity:
|
|
2957
|
-
isSelected:
|
|
2958
|
-
onClick: () =>
|
|
2956
|
+
entity: b,
|
|
2957
|
+
isSelected: b.id === o?.id,
|
|
2958
|
+
onClick: () => N(b)
|
|
2959
2959
|
},
|
|
2960
|
-
|
|
2960
|
+
b.id
|
|
2961
2961
|
)),
|
|
2962
|
-
e.some((
|
|
2963
|
-
e.filter((
|
|
2964
|
-
|
|
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,
|
|
2965
2965
|
{
|
|
2966
|
-
entity:
|
|
2967
|
-
isSelected:
|
|
2968
|
-
onClick: () =>
|
|
2966
|
+
entity: b,
|
|
2967
|
+
isSelected: b.id === o?.id,
|
|
2968
|
+
onClick: () => N(b)
|
|
2969
2969
|
},
|
|
2970
|
-
|
|
2970
|
+
b.id
|
|
2971
2971
|
)),
|
|
2972
|
-
t && /* @__PURE__ */
|
|
2972
|
+
t && /* @__PURE__ */ y(le, { children: [
|
|
2973
2973
|
/* @__PURE__ */ a("div", { className: "my-1 h-px bg-border" }),
|
|
2974
|
-
/* @__PURE__ */
|
|
2974
|
+
/* @__PURE__ */ y(
|
|
2975
2975
|
"button",
|
|
2976
2976
|
{
|
|
2977
2977
|
type: "button",
|
|
2978
|
-
onClick:
|
|
2979
|
-
className:
|
|
2978
|
+
onClick: C,
|
|
2979
|
+
className: x(
|
|
2980
2980
|
"flex items-center gap-2 w-full px-2 py-1.5 rounded",
|
|
2981
2981
|
"text-sm text-primary hover:bg-muted transition-colors"
|
|
2982
2982
|
),
|
|
2983
2983
|
children: [
|
|
2984
|
-
/* @__PURE__ */ a(
|
|
2984
|
+
/* @__PURE__ */ a(Ye, { className: "h-4 w-4" }),
|
|
2985
2985
|
/* @__PURE__ */ a("span", { children: "Create organization" })
|
|
2986
2986
|
]
|
|
2987
2987
|
}
|
|
@@ -2993,14 +2993,14 @@ function tt({
|
|
|
2993
2993
|
] })
|
|
2994
2994
|
] });
|
|
2995
2995
|
}
|
|
2996
|
-
function
|
|
2997
|
-
const t = e.entityType === "personal", s = t ?
|
|
2998
|
-
return /* @__PURE__ */
|
|
2996
|
+
function Me({ entity: e, isSelected: o, onClick: r }) {
|
|
2997
|
+
const t = e.entityType === "personal", s = t ? oe : pe;
|
|
2998
|
+
return /* @__PURE__ */ y(
|
|
2999
2999
|
"button",
|
|
3000
3000
|
{
|
|
3001
3001
|
type: "button",
|
|
3002
3002
|
onClick: r,
|
|
3003
|
-
className:
|
|
3003
|
+
className: x(
|
|
3004
3004
|
"flex items-center gap-2 w-full px-2 py-1.5 rounded",
|
|
3005
3005
|
"text-sm transition-colors",
|
|
3006
3006
|
o ? "bg-primary/10 text-primary" : "hover:bg-muted text-foreground"
|
|
@@ -3009,42 +3009,42 @@ function Se({ entity: e, isSelected: o, onClick: r }) {
|
|
|
3009
3009
|
/* @__PURE__ */ a(
|
|
3010
3010
|
s,
|
|
3011
3011
|
{
|
|
3012
|
-
className:
|
|
3012
|
+
className: x(
|
|
3013
3013
|
"h-4 w-4",
|
|
3014
3014
|
t ? "text-blue-600 dark:text-blue-400" : "text-purple-600 dark:text-purple-400"
|
|
3015
3015
|
)
|
|
3016
3016
|
}
|
|
3017
3017
|
),
|
|
3018
3018
|
/* @__PURE__ */ a("span", { className: "flex-1 text-left truncate", children: e.displayName }),
|
|
3019
|
-
o && /* @__PURE__ */ a(
|
|
3019
|
+
o && /* @__PURE__ */ a(fe, { className: "h-4 w-4" })
|
|
3020
3020
|
]
|
|
3021
3021
|
}
|
|
3022
3022
|
);
|
|
3023
3023
|
}
|
|
3024
|
-
const
|
|
3024
|
+
const me = [
|
|
3025
3025
|
{
|
|
3026
|
-
value:
|
|
3026
|
+
value: re.OWNER,
|
|
3027
3027
|
label: "Owner",
|
|
3028
3028
|
description: "Full access to all settings and members",
|
|
3029
|
-
icon:
|
|
3029
|
+
icon: qe,
|
|
3030
3030
|
color: "text-purple-600 dark:text-purple-400"
|
|
3031
3031
|
},
|
|
3032
3032
|
{
|
|
3033
|
-
value:
|
|
3033
|
+
value: re.MANAGER,
|
|
3034
3034
|
label: "Manager",
|
|
3035
3035
|
description: "Can manage projects and API keys",
|
|
3036
|
-
icon:
|
|
3036
|
+
icon: Je,
|
|
3037
3037
|
color: "text-blue-600 dark:text-blue-400"
|
|
3038
3038
|
},
|
|
3039
3039
|
{
|
|
3040
|
-
value:
|
|
3040
|
+
value: re.MEMBER,
|
|
3041
3041
|
label: "Member",
|
|
3042
3042
|
description: "Read-only access",
|
|
3043
|
-
icon:
|
|
3043
|
+
icon: He,
|
|
3044
3044
|
color: "text-gray-600 dark:text-gray-400"
|
|
3045
3045
|
}
|
|
3046
3046
|
];
|
|
3047
|
-
function
|
|
3047
|
+
function Xe({
|
|
3048
3048
|
value: e,
|
|
3049
3049
|
onChange: o,
|
|
3050
3050
|
disabled: r = !1,
|
|
@@ -3053,30 +3053,57 @@ function Ue({
|
|
|
3053
3053
|
trackingLabel: c,
|
|
3054
3054
|
componentName: n = "MemberRoleSelector"
|
|
3055
3055
|
}) {
|
|
3056
|
-
const [l, i] =
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3056
|
+
const [l, i] = D(!1), [p, f] = D({
|
|
3057
|
+
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
|
|
3065
|
+
});
|
|
3066
|
+
}
|
|
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);
|
|
3060
3071
|
};
|
|
3061
|
-
return
|
|
3062
|
-
|
|
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: [
|
|
3086
|
+
/* @__PURE__ */ y(
|
|
3063
3087
|
"button",
|
|
3064
3088
|
{
|
|
3089
|
+
ref: C,
|
|
3065
3090
|
type: "button",
|
|
3066
|
-
onClick:
|
|
3091
|
+
onClick: R,
|
|
3067
3092
|
disabled: r,
|
|
3068
|
-
className:
|
|
3093
|
+
className: x(
|
|
3069
3094
|
"flex items-center gap-1.5 px-2 py-1 rounded border text-sm",
|
|
3070
3095
|
"bg-background transition-colors",
|
|
3071
3096
|
r ? "opacity-50 cursor-not-allowed" : "hover:bg-muted cursor-pointer"
|
|
3072
3097
|
),
|
|
3098
|
+
"aria-expanded": l,
|
|
3099
|
+
"aria-haspopup": "listbox",
|
|
3073
3100
|
children: [
|
|
3074
|
-
/* @__PURE__ */ a(
|
|
3075
|
-
/* @__PURE__ */ a("span", { children:
|
|
3101
|
+
/* @__PURE__ */ a(b.icon, { className: x("h-3.5 w-3.5", b.color) }),
|
|
3102
|
+
/* @__PURE__ */ a("span", { children: b.label }),
|
|
3076
3103
|
/* @__PURE__ */ a(
|
|
3077
|
-
|
|
3104
|
+
Ee,
|
|
3078
3105
|
{
|
|
3079
|
-
className:
|
|
3106
|
+
className: x(
|
|
3080
3107
|
"h-3.5 w-3.5 text-muted-foreground transition-transform",
|
|
3081
3108
|
l && "rotate-180"
|
|
3082
3109
|
)
|
|
@@ -3085,56 +3112,53 @@ function Ue({
|
|
|
3085
3112
|
]
|
|
3086
3113
|
}
|
|
3087
3114
|
),
|
|
3088
|
-
l && /* @__PURE__ */
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
),
|
|
3114
|
-
children: [
|
|
3115
|
-
/* @__PURE__ */
|
|
3116
|
-
|
|
3117
|
-
/* @__PURE__ */
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
}
|
|
3128
|
-
)
|
|
3129
|
-
] })
|
|
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"
|
|
3123
|
+
),
|
|
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",
|
|
3129
|
+
{
|
|
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
|
+
}
|
|
3153
|
+
)
|
|
3130
3154
|
] });
|
|
3131
3155
|
}
|
|
3132
|
-
const
|
|
3156
|
+
const Jr = {
|
|
3133
3157
|
owner: "bg-purple-100 text-purple-700 dark:bg-purple-900 dark:text-purple-300",
|
|
3134
3158
|
manager: "bg-blue-100 text-blue-700 dark:bg-blue-900 dark:text-blue-300",
|
|
3135
3159
|
member: "bg-gray-100 text-gray-700 dark:bg-gray-800 dark:text-gray-300"
|
|
3136
3160
|
};
|
|
3137
|
-
function
|
|
3161
|
+
function at({
|
|
3138
3162
|
members: e,
|
|
3139
3163
|
currentUserId: o,
|
|
3140
3164
|
canManage: r = !1,
|
|
@@ -3144,37 +3168,37 @@ function ot({
|
|
|
3144
3168
|
emptyMessage: n = "No members found",
|
|
3145
3169
|
className: l,
|
|
3146
3170
|
onTrack: i,
|
|
3147
|
-
trackingLabel:
|
|
3171
|
+
trackingLabel: p,
|
|
3148
3172
|
componentName: f = "MemberList"
|
|
3149
3173
|
}) {
|
|
3150
3174
|
if (c)
|
|
3151
|
-
return /* @__PURE__ */ a("div", { className:
|
|
3175
|
+
return /* @__PURE__ */ a("div", { className: x("space-y-2", l), children: [1, 2, 3].map((C) => /* @__PURE__ */ a(
|
|
3152
3176
|
"div",
|
|
3153
3177
|
{
|
|
3154
3178
|
className: "h-16 rounded-lg border border-border bg-muted animate-pulse"
|
|
3155
3179
|
},
|
|
3156
|
-
|
|
3180
|
+
C
|
|
3157
3181
|
)) });
|
|
3158
3182
|
if (e.length === 0)
|
|
3159
|
-
return /* @__PURE__ */ a("div", { className:
|
|
3160
|
-
const k = (
|
|
3161
|
-
i?.({ action: "role_change", trackingLabel:
|
|
3162
|
-
},
|
|
3163
|
-
i?.({ action: "remove", trackingLabel:
|
|
3183
|
+
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);
|
|
3186
|
+
}, N = (C) => {
|
|
3187
|
+
i?.({ action: "remove", trackingLabel: p, componentName: f }), s?.(C);
|
|
3164
3188
|
};
|
|
3165
|
-
return /* @__PURE__ */ a("div", { className:
|
|
3166
|
-
|
|
3189
|
+
return /* @__PURE__ */ a("div", { className: x("divide-y divide-border rounded-lg border", l), children: e.map((C) => /* @__PURE__ */ a(
|
|
3190
|
+
Hr,
|
|
3167
3191
|
{
|
|
3168
|
-
member:
|
|
3169
|
-
isSelf:
|
|
3192
|
+
member: C,
|
|
3193
|
+
isSelf: C.userId === o,
|
|
3170
3194
|
canManage: r,
|
|
3171
3195
|
onRoleChange: t ? k : void 0,
|
|
3172
|
-
onRemove: s ?
|
|
3196
|
+
onRemove: s ? N : void 0
|
|
3173
3197
|
},
|
|
3174
|
-
|
|
3198
|
+
C.id
|
|
3175
3199
|
)) });
|
|
3176
3200
|
}
|
|
3177
|
-
function
|
|
3201
|
+
function Hr({
|
|
3178
3202
|
member: e,
|
|
3179
3203
|
isSelf: o,
|
|
3180
3204
|
canManage: r,
|
|
@@ -3182,17 +3206,17 @@ function Yr({
|
|
|
3182
3206
|
onRemove: s
|
|
3183
3207
|
}) {
|
|
3184
3208
|
const c = e.user?.displayName || e.user?.email || "Unknown user", n = e.user?.email;
|
|
3185
|
-
return /* @__PURE__ */
|
|
3186
|
-
/* @__PURE__ */ a("div", { className: "flex h-10 w-10 items-center justify-center rounded-full bg-muted", children: /* @__PURE__ */ a(
|
|
3187
|
-
/* @__PURE__ */
|
|
3188
|
-
/* @__PURE__ */
|
|
3209
|
+
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" }) }),
|
|
3211
|
+
/* @__PURE__ */ y("div", { className: "flex-1 min-w-0", children: [
|
|
3212
|
+
/* @__PURE__ */ y("div", { className: "flex items-center gap-2", children: [
|
|
3189
3213
|
/* @__PURE__ */ a("p", { className: "font-medium text-foreground truncate", children: c }),
|
|
3190
3214
|
o && /* @__PURE__ */ a("span", { className: "text-xs text-muted-foreground", children: "(you)" })
|
|
3191
3215
|
] }),
|
|
3192
3216
|
n && /* @__PURE__ */ a("p", { className: "text-sm text-muted-foreground truncate", children: n })
|
|
3193
3217
|
] }),
|
|
3194
3218
|
r && t && !o ? /* @__PURE__ */ a(
|
|
3195
|
-
|
|
3219
|
+
Xe,
|
|
3196
3220
|
{
|
|
3197
3221
|
value: e.role,
|
|
3198
3222
|
onChange: (l) => t(e.userId, l)
|
|
@@ -3200,9 +3224,9 @@ function Yr({
|
|
|
3200
3224
|
) : /* @__PURE__ */ a(
|
|
3201
3225
|
"span",
|
|
3202
3226
|
{
|
|
3203
|
-
className:
|
|
3227
|
+
className: x(
|
|
3204
3228
|
"text-xs px-2 py-1 rounded-full font-medium",
|
|
3205
|
-
|
|
3229
|
+
Jr[e.role]
|
|
3206
3230
|
),
|
|
3207
3231
|
children: e.role
|
|
3208
3232
|
}
|
|
@@ -3212,54 +3236,54 @@ function Yr({
|
|
|
3212
3236
|
{
|
|
3213
3237
|
type: "button",
|
|
3214
3238
|
onClick: () => s(e.userId),
|
|
3215
|
-
className:
|
|
3239
|
+
className: x(
|
|
3216
3240
|
"p-1.5 rounded hover:bg-destructive/10 text-muted-foreground",
|
|
3217
3241
|
"hover:text-destructive transition-colors"
|
|
3218
3242
|
),
|
|
3219
3243
|
title: "Remove member",
|
|
3220
|
-
children: /* @__PURE__ */ a(
|
|
3244
|
+
children: /* @__PURE__ */ a(Ke, { className: "h-4 w-4" })
|
|
3221
3245
|
}
|
|
3222
3246
|
)
|
|
3223
3247
|
] });
|
|
3224
3248
|
}
|
|
3225
|
-
function
|
|
3249
|
+
function lt({
|
|
3226
3250
|
onSubmit: e,
|
|
3227
3251
|
isSubmitting: o = !1,
|
|
3228
|
-
defaultRole: r =
|
|
3252
|
+
defaultRole: r = re.MEMBER,
|
|
3229
3253
|
className: t,
|
|
3230
3254
|
onTrack: s,
|
|
3231
3255
|
trackingLabel: c,
|
|
3232
3256
|
componentName: n = "InvitationForm"
|
|
3233
3257
|
}) {
|
|
3234
|
-
const [l, i] =
|
|
3235
|
-
return /* @__PURE__ */
|
|
3236
|
-
if (
|
|
3237
|
-
|
|
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()) {
|
|
3261
|
+
N("Email is required");
|
|
3238
3262
|
return;
|
|
3239
3263
|
}
|
|
3240
|
-
if (!
|
|
3241
|
-
|
|
3264
|
+
if (!Kr(l)) {
|
|
3265
|
+
N("Please enter a valid email address");
|
|
3242
3266
|
return;
|
|
3243
3267
|
}
|
|
3244
3268
|
s?.({ action: "submit", trackingLabel: c, componentName: n });
|
|
3245
3269
|
try {
|
|
3246
|
-
await e({ email: l.trim(), role:
|
|
3247
|
-
} catch (
|
|
3248
|
-
|
|
3270
|
+
await e({ email: l.trim(), role: p }), i(""), f(r);
|
|
3271
|
+
} catch (w) {
|
|
3272
|
+
N(w.message || "Failed to send invitation");
|
|
3249
3273
|
}
|
|
3250
|
-
}, className:
|
|
3251
|
-
/* @__PURE__ */
|
|
3252
|
-
/* @__PURE__ */
|
|
3253
|
-
/* @__PURE__ */ a(
|
|
3274
|
+
}, className: x("space-y-4", t), children: [
|
|
3275
|
+
/* @__PURE__ */ y("div", { className: "flex gap-2", children: [
|
|
3276
|
+
/* @__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" }),
|
|
3254
3278
|
/* @__PURE__ */ a(
|
|
3255
3279
|
"input",
|
|
3256
3280
|
{
|
|
3257
3281
|
type: "email",
|
|
3258
3282
|
value: l,
|
|
3259
|
-
onChange: (
|
|
3283
|
+
onChange: (b) => i(b.target.value),
|
|
3260
3284
|
placeholder: "Enter email address",
|
|
3261
3285
|
disabled: o,
|
|
3262
|
-
className:
|
|
3286
|
+
className: x(
|
|
3263
3287
|
"w-full pl-10 pr-3 py-2 rounded-lg border bg-background",
|
|
3264
3288
|
"text-sm placeholder:text-muted-foreground",
|
|
3265
3289
|
"focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent",
|
|
@@ -3270,19 +3294,19 @@ function st({
|
|
|
3270
3294
|
)
|
|
3271
3295
|
] }),
|
|
3272
3296
|
/* @__PURE__ */ a(
|
|
3273
|
-
|
|
3297
|
+
Xe,
|
|
3274
3298
|
{
|
|
3275
|
-
value:
|
|
3299
|
+
value: p,
|
|
3276
3300
|
onChange: f,
|
|
3277
3301
|
disabled: o
|
|
3278
3302
|
}
|
|
3279
3303
|
),
|
|
3280
|
-
/* @__PURE__ */
|
|
3304
|
+
/* @__PURE__ */ y(
|
|
3281
3305
|
"button",
|
|
3282
3306
|
{
|
|
3283
3307
|
type: "submit",
|
|
3284
3308
|
disabled: o || !l.trim(),
|
|
3285
|
-
className:
|
|
3309
|
+
className: x(
|
|
3286
3310
|
"flex items-center gap-2 px-4 py-2 rounded-lg",
|
|
3287
3311
|
"bg-primary text-primary-foreground font-medium text-sm",
|
|
3288
3312
|
"hover:bg-primary/90 transition-colors",
|
|
@@ -3290,7 +3314,7 @@ function st({
|
|
|
3290
3314
|
(o || !l.trim()) && "opacity-50 cursor-not-allowed"
|
|
3291
3315
|
),
|
|
3292
3316
|
children: [
|
|
3293
|
-
o ? /* @__PURE__ */ a(
|
|
3317
|
+
o ? /* @__PURE__ */ a(Qe, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ a(Ze, { className: "h-4 w-4" }),
|
|
3294
3318
|
/* @__PURE__ */ a("span", { className: "hidden sm:inline", children: "Invite" })
|
|
3295
3319
|
]
|
|
3296
3320
|
}
|
|
@@ -3299,15 +3323,15 @@ function st({
|
|
|
3299
3323
|
k && /* @__PURE__ */ a("p", { className: "text-sm text-destructive", children: k })
|
|
3300
3324
|
] });
|
|
3301
3325
|
}
|
|
3302
|
-
function
|
|
3326
|
+
function Kr(e) {
|
|
3303
3327
|
return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e);
|
|
3304
3328
|
}
|
|
3305
|
-
const
|
|
3329
|
+
const Qr = {
|
|
3306
3330
|
owner: "bg-purple-100 text-purple-700 dark:bg-purple-900 dark:text-purple-300",
|
|
3307
3331
|
manager: "bg-blue-100 text-blue-700 dark:bg-blue-900 dark:text-blue-300",
|
|
3308
3332
|
member: "bg-gray-100 text-gray-700 dark:bg-gray-800 dark:text-gray-300"
|
|
3309
3333
|
};
|
|
3310
|
-
function
|
|
3334
|
+
function it({
|
|
3311
3335
|
invitations: e,
|
|
3312
3336
|
mode: o,
|
|
3313
3337
|
onCancel: r,
|
|
@@ -3317,42 +3341,42 @@ function nt({
|
|
|
3317
3341
|
emptyMessage: n = "No pending invitations",
|
|
3318
3342
|
className: l,
|
|
3319
3343
|
onTrack: i,
|
|
3320
|
-
trackingLabel:
|
|
3344
|
+
trackingLabel: p,
|
|
3321
3345
|
componentName: f = "InvitationList"
|
|
3322
3346
|
}) {
|
|
3323
3347
|
const k = e.filter(
|
|
3324
|
-
(
|
|
3348
|
+
(w) => w.status === "pending"
|
|
3325
3349
|
);
|
|
3326
3350
|
if (c)
|
|
3327
|
-
return /* @__PURE__ */ a("div", { className:
|
|
3351
|
+
return /* @__PURE__ */ a("div", { className: x("space-y-2", l), children: [1, 2].map((w) => /* @__PURE__ */ a(
|
|
3328
3352
|
"div",
|
|
3329
3353
|
{
|
|
3330
3354
|
className: "h-16 rounded-lg border border-border bg-muted animate-pulse"
|
|
3331
3355
|
},
|
|
3332
|
-
|
|
3356
|
+
w
|
|
3333
3357
|
)) });
|
|
3334
3358
|
if (k.length === 0)
|
|
3335
|
-
return /* @__PURE__ */ a("div", { className:
|
|
3336
|
-
const
|
|
3337
|
-
i?.({ action: "cancel", trackingLabel:
|
|
3338
|
-
},
|
|
3339
|
-
i?.({ action: "accept", trackingLabel:
|
|
3340
|
-
},
|
|
3341
|
-
i?.({ action: "decline", trackingLabel:
|
|
3359
|
+
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);
|
|
3342
3366
|
};
|
|
3343
|
-
return /* @__PURE__ */ a("div", { className:
|
|
3344
|
-
|
|
3367
|
+
return /* @__PURE__ */ a("div", { className: x("divide-y divide-border rounded-lg border", l), children: k.map((w) => /* @__PURE__ */ a(
|
|
3368
|
+
Zr,
|
|
3345
3369
|
{
|
|
3346
|
-
invitation:
|
|
3370
|
+
invitation: w,
|
|
3347
3371
|
mode: o,
|
|
3348
|
-
onCancel: r ?
|
|
3349
|
-
onAccept: t ?
|
|
3350
|
-
onDecline: s ?
|
|
3372
|
+
onCancel: r ? N : void 0,
|
|
3373
|
+
onAccept: t ? C : void 0,
|
|
3374
|
+
onDecline: s ? b : void 0
|
|
3351
3375
|
},
|
|
3352
|
-
|
|
3376
|
+
w.id
|
|
3353
3377
|
)) });
|
|
3354
3378
|
}
|
|
3355
|
-
function
|
|
3379
|
+
function Zr({
|
|
3356
3380
|
invitation: e,
|
|
3357
3381
|
mode: o,
|
|
3358
3382
|
onCancel: r,
|
|
@@ -3362,25 +3386,25 @@ function Hr({
|
|
|
3362
3386
|
const c = new Date(e.expiresAt), n = c < /* @__PURE__ */ new Date(), l = Math.ceil(
|
|
3363
3387
|
(c.getTime() - Date.now()) / (1e3 * 60 * 60 * 24)
|
|
3364
3388
|
);
|
|
3365
|
-
return /* @__PURE__ */
|
|
3366
|
-
/* @__PURE__ */ a("div", { className: "flex h-10 w-10 items-center justify-center rounded-full bg-muted", children: /* @__PURE__ */ a(
|
|
3367
|
-
/* @__PURE__ */
|
|
3368
|
-
/* @__PURE__ */
|
|
3389
|
+
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" }) }),
|
|
3391
|
+
/* @__PURE__ */ y("div", { className: "flex-1 min-w-0", children: [
|
|
3392
|
+
/* @__PURE__ */ y("div", { className: "flex items-center gap-2", children: [
|
|
3369
3393
|
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 }),
|
|
3370
3394
|
/* @__PURE__ */ a(
|
|
3371
3395
|
"span",
|
|
3372
3396
|
{
|
|
3373
|
-
className:
|
|
3397
|
+
className: x(
|
|
3374
3398
|
"text-xs px-2 py-0.5 rounded-full font-medium",
|
|
3375
|
-
|
|
3399
|
+
Qr[e.role]
|
|
3376
3400
|
),
|
|
3377
3401
|
children: e.role
|
|
3378
3402
|
}
|
|
3379
3403
|
)
|
|
3380
3404
|
] }),
|
|
3381
|
-
/* @__PURE__ */
|
|
3382
|
-
/* @__PURE__ */ a(
|
|
3383
|
-
n ? /* @__PURE__ */ a("span", { className: "text-destructive", children: "Expired" }) : /* @__PURE__ */
|
|
3405
|
+
/* @__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" }),
|
|
3407
|
+
n ? /* @__PURE__ */ a("span", { className: "text-destructive", children: "Expired" }) : /* @__PURE__ */ y("span", { children: [
|
|
3384
3408
|
"Expires in ",
|
|
3385
3409
|
l,
|
|
3386
3410
|
" days"
|
|
@@ -3392,44 +3416,44 @@ function Hr({
|
|
|
3392
3416
|
{
|
|
3393
3417
|
type: "button",
|
|
3394
3418
|
onClick: () => r(e.id),
|
|
3395
|
-
className:
|
|
3419
|
+
className: x(
|
|
3396
3420
|
"p-1.5 rounded hover:bg-destructive/10 text-muted-foreground",
|
|
3397
3421
|
"hover:text-destructive transition-colors"
|
|
3398
3422
|
),
|
|
3399
3423
|
title: "Cancel invitation",
|
|
3400
|
-
children: /* @__PURE__ */ a(
|
|
3424
|
+
children: /* @__PURE__ */ a(rr, { className: "h-4 w-4" })
|
|
3401
3425
|
}
|
|
3402
3426
|
),
|
|
3403
|
-
o === "user" && /* @__PURE__ */
|
|
3404
|
-
s && /* @__PURE__ */
|
|
3427
|
+
o === "user" && /* @__PURE__ */ y("div", { className: "flex items-center gap-2", children: [
|
|
3428
|
+
s && /* @__PURE__ */ y(
|
|
3405
3429
|
"button",
|
|
3406
3430
|
{
|
|
3407
3431
|
type: "button",
|
|
3408
3432
|
onClick: () => s(e.token),
|
|
3409
|
-
className:
|
|
3433
|
+
className: x(
|
|
3410
3434
|
"flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-sm",
|
|
3411
3435
|
"border hover:bg-muted transition-colors"
|
|
3412
3436
|
),
|
|
3413
3437
|
children: [
|
|
3414
|
-
/* @__PURE__ */ a(
|
|
3438
|
+
/* @__PURE__ */ a(tr, { className: "h-4 w-4" }),
|
|
3415
3439
|
/* @__PURE__ */ a("span", { children: "Decline" })
|
|
3416
3440
|
]
|
|
3417
3441
|
}
|
|
3418
3442
|
),
|
|
3419
|
-
t && /* @__PURE__ */
|
|
3443
|
+
t && /* @__PURE__ */ y(
|
|
3420
3444
|
"button",
|
|
3421
3445
|
{
|
|
3422
3446
|
type: "button",
|
|
3423
3447
|
onClick: () => t(e.token),
|
|
3424
3448
|
disabled: n,
|
|
3425
|
-
className:
|
|
3449
|
+
className: x(
|
|
3426
3450
|
"flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-sm",
|
|
3427
3451
|
"bg-primary text-primary-foreground",
|
|
3428
3452
|
"hover:bg-primary/90 transition-colors",
|
|
3429
3453
|
n && "opacity-50 cursor-not-allowed"
|
|
3430
3454
|
),
|
|
3431
3455
|
children: [
|
|
3432
|
-
/* @__PURE__ */ a(
|
|
3456
|
+
/* @__PURE__ */ a(fe, { className: "h-4 w-4" }),
|
|
3433
3457
|
/* @__PURE__ */ a("span", { children: "Accept" })
|
|
3434
3458
|
]
|
|
3435
3459
|
}
|
|
@@ -3438,12 +3462,12 @@ function Hr({
|
|
|
3438
3462
|
] });
|
|
3439
3463
|
}
|
|
3440
3464
|
export {
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3465
|
+
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,
|
|
3472
|
+
x as cn
|
|
3449
3473
|
};
|