@ptlm-azulejo/sidebar 0.0.1-alpha.100

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/README.md +54 -0
  3. package/dist/index.js +3763 -0
  4. package/dist/index.umd.cjs +1 -0
  5. package/dist/packages/Sidebar/index.d.ts +2 -0
  6. package/dist/packages/Sidebar/index.d.ts.map +1 -0
  7. package/dist/packages/Sidebar/src/components/SidebarFooter.vue.d.ts +18 -0
  8. package/dist/packages/Sidebar/src/components/SidebarFooter.vue.d.ts.map +1 -0
  9. package/dist/packages/Sidebar/src/components/SidebarFooterAvatar.vue.d.ts +14 -0
  10. package/dist/packages/Sidebar/src/components/SidebarFooterAvatar.vue.d.ts.map +1 -0
  11. package/dist/packages/Sidebar/src/components/SidebarHeader.vue.d.ts +14 -0
  12. package/dist/packages/Sidebar/src/components/SidebarHeader.vue.d.ts.map +1 -0
  13. package/dist/packages/Sidebar/src/components/SidebarNavigationItems.vue.d.ts +14 -0
  14. package/dist/packages/Sidebar/src/components/SidebarNavigationItems.vue.d.ts.map +1 -0
  15. package/dist/packages/Sidebar/src/components/SidebarShortcuts.vue.d.ts +14 -0
  16. package/dist/packages/Sidebar/src/components/SidebarShortcuts.vue.d.ts.map +1 -0
  17. package/dist/packages/Sidebar/src/index.stories.d.ts +10 -0
  18. package/dist/packages/Sidebar/src/index.stories.d.ts.map +1 -0
  19. package/dist/packages/Sidebar/src/index.vue.d.ts +58 -0
  20. package/dist/packages/Sidebar/src/index.vue.d.ts.map +1 -0
  21. package/dist/packages/Sidebar/src/models/sidebar-footer.models.d.ts +38 -0
  22. package/dist/packages/Sidebar/src/models/sidebar-footer.models.d.ts.map +1 -0
  23. package/dist/packages/Sidebar/src/models/sidebar-header.models.d.ts +12 -0
  24. package/dist/packages/Sidebar/src/models/sidebar-header.models.d.ts.map +1 -0
  25. package/dist/packages/Sidebar/src/models/sidebar-navigation-items.models.d.ts +32 -0
  26. package/dist/packages/Sidebar/src/models/sidebar-navigation-items.models.d.ts.map +1 -0
  27. package/dist/packages/Sidebar/src/models/sidebar-shortcuts.models.d.ts +22 -0
  28. package/dist/packages/Sidebar/src/models/sidebar-shortcuts.models.d.ts.map +1 -0
  29. package/dist/packages/Sidebar/src/models/sidebar.models.d.ts +24 -0
  30. package/dist/packages/Sidebar/src/models/sidebar.models.d.ts.map +1 -0
  31. package/dist/style.css +1 -0
  32. package/package.json +49 -0
package/dist/index.js ADDED
@@ -0,0 +1,3763 @@
1
+ var ft = Object.defineProperty;
2
+ var Fe = Object.getOwnPropertySymbols;
3
+ var gt = Object.prototype.hasOwnProperty, ht = Object.prototype.propertyIsEnumerable;
4
+ var Ve = (e, t, o) => t in e ? ft(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, We = (e, t) => {
5
+ for (var o in t || (t = {}))
6
+ gt.call(t, o) && Ve(e, o, t[o]);
7
+ if (Fe)
8
+ for (var o of Fe(t))
9
+ ht.call(t, o) && Ve(e, o, t[o]);
10
+ return e;
11
+ };
12
+ import { defineComponent as te, openBlock as y, createElementBlock as w, normalizeClass as b, createElementVNode as h, normalizeStyle as $e, toDisplayString as B, createCommentVNode as U, Fragment as re, renderList as ze, reactive as vt, watch as Ue, computed as D, createBlock as q, unref as p, withCtx as Se, createVNode as Oe, ref as xt, renderSlot as ce, mergeDefaults as yt } from "vue";
13
+ import "@ptlm-azulejo/icons/style.css";
14
+ import { AzTooltip as kt } from "@ptlm-azulejo/tooltip";
15
+ import { AzActionListBox as Ke } from "@ptlm-azulejo/action-list-box";
16
+ import "@ptlm-azulejo/tooltip/style.css";
17
+ import "@ptlm-azulejo/action-list-box/style.css";
18
+ import { AzIconButton as wt } from "@ptlm-azulejo/icon-button";
19
+ import "@ptlm-azulejo/icon-button/style.css";
20
+ function et(e) {
21
+ var t, o, r = "";
22
+ if (typeof e == "string" || typeof e == "number") r += e;
23
+ else if (typeof e == "object") if (Array.isArray(e)) {
24
+ var s = e.length;
25
+ for (t = 0; t < s; t++) e[t] && (o = et(e[t])) && (r && (r += " "), r += o);
26
+ } else for (o in e) e[o] && (r && (r += " "), r += o);
27
+ return r;
28
+ }
29
+ function Ct() {
30
+ for (var e, t, o = 0, r = "", s = arguments.length; o < s; o++) (e = arguments[o]) && (t = et(e)) && (r && (r += " "), r += t);
31
+ return r;
32
+ }
33
+ const zt = (e, t) => {
34
+ const o = new Array(e.length + t.length);
35
+ for (let r = 0; r < e.length; r++)
36
+ o[r] = e[r];
37
+ for (let r = 0; r < t.length; r++)
38
+ o[e.length + r] = t[r];
39
+ return o;
40
+ }, St = (e, t) => ({
41
+ classGroupId: e,
42
+ validator: t
43
+ }), tt = (e = /* @__PURE__ */ new Map(), t = null, o) => ({
44
+ nextPart: e,
45
+ validators: t,
46
+ classGroupId: o
47
+ }), fe = "-", He = [], Ot = "arbitrary..", It = (e) => {
48
+ const t = $t(e), {
49
+ conflictingClassGroups: o,
50
+ conflictingClassGroupModifiers: r
51
+ } = e;
52
+ return {
53
+ getClassGroupId: (c) => {
54
+ if (c.startsWith("[") && c.endsWith("]"))
55
+ return At(c);
56
+ const g = c.split(fe), v = g[0] === "" && g.length > 1 ? 1 : 0;
57
+ return ot(g, v, t);
58
+ },
59
+ getConflictingClassGroupIds: (c, g) => {
60
+ if (g) {
61
+ const v = r[c], m = o[c];
62
+ return v ? m ? zt(m, v) : v : m || He;
63
+ }
64
+ return o[c] || He;
65
+ }
66
+ };
67
+ }, ot = (e, t, o) => {
68
+ if (e.length - t === 0)
69
+ return o.classGroupId;
70
+ const s = e[t], a = o.nextPart.get(s);
71
+ if (a) {
72
+ const m = ot(e, t + 1, a);
73
+ if (m) return m;
74
+ }
75
+ const c = o.validators;
76
+ if (c === null)
77
+ return;
78
+ const g = t === 0 ? e.join(fe) : e.slice(t).join(fe), v = c.length;
79
+ for (let m = 0; m < v; m++) {
80
+ const C = c[m];
81
+ if (C.validator(g))
82
+ return C.classGroupId;
83
+ }
84
+ }, At = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
85
+ const t = e.slice(1, -1), o = t.indexOf(":"), r = t.slice(0, o);
86
+ return r ? Ot + r : void 0;
87
+ })(), $t = (e) => {
88
+ const {
89
+ theme: t,
90
+ classGroups: o
91
+ } = e;
92
+ return Gt(o, t);
93
+ }, Gt = (e, t) => {
94
+ const o = tt();
95
+ for (const r in e) {
96
+ const s = e[r];
97
+ Ge(s, o, r, t);
98
+ }
99
+ return o;
100
+ }, Ge = (e, t, o, r) => {
101
+ const s = e.length;
102
+ for (let a = 0; a < s; a++) {
103
+ const c = e[a];
104
+ Mt(c, t, o, r);
105
+ }
106
+ }, Mt = (e, t, o, r) => {
107
+ if (typeof e == "string") {
108
+ Pt(e, t, o);
109
+ return;
110
+ }
111
+ if (typeof e == "function") {
112
+ Lt(e, t, o, r);
113
+ return;
114
+ }
115
+ Tt(e, t, o, r);
116
+ }, Pt = (e, t, o) => {
117
+ const r = e === "" ? t : rt(t, e);
118
+ r.classGroupId = o;
119
+ }, Lt = (e, t, o, r) => {
120
+ if (Bt(e)) {
121
+ Ge(e(r), t, o, r);
122
+ return;
123
+ }
124
+ t.validators === null && (t.validators = []), t.validators.push(St(o, e));
125
+ }, Tt = (e, t, o, r) => {
126
+ const s = Object.entries(e), a = s.length;
127
+ for (let c = 0; c < a; c++) {
128
+ const [g, v] = s[c];
129
+ Ge(v, rt(t, g), o, r);
130
+ }
131
+ }, rt = (e, t) => {
132
+ let o = e;
133
+ const r = t.split(fe), s = r.length;
134
+ for (let a = 0; a < s; a++) {
135
+ const c = r[a];
136
+ let g = o.nextPart.get(c);
137
+ g || (g = tt(), o.nextPart.set(c, g)), o = g;
138
+ }
139
+ return o;
140
+ }, Bt = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Rt = (e) => {
141
+ if (e < 1)
142
+ return {
143
+ get: () => {
144
+ },
145
+ set: () => {
146
+ }
147
+ };
148
+ let t = 0, o = /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ Object.create(null);
149
+ const s = (a, c) => {
150
+ o[a] = c, t++, t > e && (t = 0, r = o, o = /* @__PURE__ */ Object.create(null));
151
+ };
152
+ return {
153
+ get(a) {
154
+ let c = o[a];
155
+ if (c !== void 0)
156
+ return c;
157
+ if ((c = r[a]) !== void 0)
158
+ return s(a, c), c;
159
+ },
160
+ set(a, c) {
161
+ a in o ? o[a] = c : s(a, c);
162
+ }
163
+ };
164
+ }, Ie = "!", De = ":", jt = [], _e = (e, t, o, r, s) => ({
165
+ modifiers: e,
166
+ hasImportantModifier: t,
167
+ baseClassName: o,
168
+ maybePostfixModifierPosition: r,
169
+ isExternal: s
170
+ }), Et = (e) => {
171
+ const {
172
+ prefix: t,
173
+ experimentalParseClassName: o
174
+ } = e;
175
+ let r = (s) => {
176
+ const a = [];
177
+ let c = 0, g = 0, v = 0, m;
178
+ const C = s.length;
179
+ for (let $ = 0; $ < C; $++) {
180
+ const x = s[$];
181
+ if (c === 0 && g === 0) {
182
+ if (x === De) {
183
+ a.push(s.slice(v, $)), v = $ + 1;
184
+ continue;
185
+ }
186
+ if (x === "/") {
187
+ m = $;
188
+ continue;
189
+ }
190
+ }
191
+ x === "[" ? c++ : x === "]" ? c-- : x === "(" ? g++ : x === ")" && g--;
192
+ }
193
+ const z = a.length === 0 ? s : s.slice(v);
194
+ let k = z, S = !1;
195
+ z.endsWith(Ie) ? (k = z.slice(0, -1), S = !0) : (
196
+ /**
197
+ * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
198
+ * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
199
+ */
200
+ z.startsWith(Ie) && (k = z.slice(1), S = !0)
201
+ );
202
+ const P = m && m > v ? m - v : void 0;
203
+ return _e(a, S, k, P);
204
+ };
205
+ if (t) {
206
+ const s = t + De, a = r;
207
+ r = (c) => c.startsWith(s) ? a(c.slice(s.length)) : _e(jt, !1, c, void 0, !0);
208
+ }
209
+ if (o) {
210
+ const s = r;
211
+ r = (a) => o({
212
+ className: a,
213
+ parseClassName: s
214
+ });
215
+ }
216
+ return r;
217
+ }, Nt = (e) => {
218
+ const t = /* @__PURE__ */ new Map();
219
+ return e.orderSensitiveModifiers.forEach((o, r) => {
220
+ t.set(o, 1e6 + r);
221
+ }), (o) => {
222
+ const r = [];
223
+ let s = [];
224
+ for (let a = 0; a < o.length; a++) {
225
+ const c = o[a], g = c[0] === "[", v = t.has(c);
226
+ g || v ? (s.length > 0 && (s.sort(), r.push(...s), s = []), r.push(c)) : s.push(c);
227
+ }
228
+ return s.length > 0 && (s.sort(), r.push(...s)), r;
229
+ };
230
+ }, Ft = (e) => We({
231
+ cache: Rt(e.cacheSize),
232
+ parseClassName: Et(e),
233
+ sortModifiers: Nt(e),
234
+ postfixLookupClassGroupIds: Vt(e)
235
+ }, It(e)), Vt = (e) => {
236
+ const t = /* @__PURE__ */ Object.create(null), o = e.postfixLookupClassGroups;
237
+ if (o)
238
+ for (let r = 0; r < o.length; r++)
239
+ t[o[r]] = !0;
240
+ return t;
241
+ }, Wt = /\s+/, Ut = (e, t) => {
242
+ const {
243
+ parseClassName: o,
244
+ getClassGroupId: r,
245
+ getConflictingClassGroupIds: s,
246
+ sortModifiers: a,
247
+ postfixLookupClassGroupIds: c
248
+ } = t, g = [], v = e.trim().split(Wt);
249
+ let m = "";
250
+ for (let C = v.length - 1; C >= 0; C -= 1) {
251
+ const z = v[C], {
252
+ isExternal: k,
253
+ modifiers: S,
254
+ hasImportantModifier: P,
255
+ baseClassName: $,
256
+ maybePostfixModifierPosition: x
257
+ } = o(z);
258
+ if (k) {
259
+ m = z + (m.length > 0 ? " " + m : m);
260
+ continue;
261
+ }
262
+ let O = !!x, n;
263
+ if (O) {
264
+ const V = $.substring(0, x);
265
+ n = r(V);
266
+ const d = n && c[n] ? r($) : void 0;
267
+ d && d !== n && (n = d, O = !1);
268
+ } else
269
+ n = r($);
270
+ if (!n) {
271
+ if (!O) {
272
+ m = z + (m.length > 0 ? " " + m : m);
273
+ continue;
274
+ }
275
+ if (n = r($), !n) {
276
+ m = z + (m.length > 0 ? " " + m : m);
277
+ continue;
278
+ }
279
+ O = !1;
280
+ }
281
+ const N = S.length === 0 ? "" : S.length === 1 ? S[0] : a(S).join(":"), j = P ? N + Ie : N, I = j + n;
282
+ if (g.indexOf(I) > -1)
283
+ continue;
284
+ g.push(I);
285
+ const X = s(n, O);
286
+ for (let V = 0; V < X.length; ++V) {
287
+ const d = X[V];
288
+ g.push(j + d);
289
+ }
290
+ m = z + (m.length > 0 ? " " + m : m);
291
+ }
292
+ return m;
293
+ }, Ht = (...e) => {
294
+ let t = 0, o, r, s = "";
295
+ for (; t < e.length; )
296
+ (o = e[t++]) && (r = st(o)) && (s && (s += " "), s += r);
297
+ return s;
298
+ }, st = (e) => {
299
+ if (typeof e == "string")
300
+ return e;
301
+ let t, o = "";
302
+ for (let r = 0; r < e.length; r++)
303
+ e[r] && (t = st(e[r])) && (o && (o += " "), o += t);
304
+ return o;
305
+ }, Ye = (e, ...t) => {
306
+ let o, r, s, a;
307
+ const c = (v) => {
308
+ const m = t.reduce((C, z) => z(C), e());
309
+ return o = Ft(m), r = o.cache.get, s = o.cache.set, a = g, g(v);
310
+ }, g = (v) => {
311
+ const m = r(v);
312
+ if (m)
313
+ return m;
314
+ const C = Ut(v, o);
315
+ return s(v, C), C;
316
+ };
317
+ return a = c, (...v) => a(Ht(...v));
318
+ }, Dt = [], G = (e) => {
319
+ const t = (o) => o[e] || Dt;
320
+ return t.isThemeGetter = !0, t;
321
+ }, nt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, at = /^\((?:(\w[\w-]*):)?(.+)\)$/i, _t = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Yt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Zt = /\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$/, qt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Jt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Xt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = (e) => _t.test(e), f = (e) => !!e && !Number.isNaN(Number(e)), F = (e) => !!e && Number.isInteger(Number(e)), ke = (e) => e.endsWith("%") && f(e.slice(0, -1)), W = (e) => Yt.test(e), it = () => !0, Qt = (e) => (
322
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
323
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
324
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
325
+ Zt.test(e) && !qt.test(e)
326
+ ), Me = () => !1, Kt = (e) => Jt.test(e), eo = (e) => Xt.test(e), to = (e) => !i(e) && !l(e), oo = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), ro = (e) => _(e, dt, Me), i = (e) => nt.test(e), Z = (e) => _(e, ut, Qt), Ze = (e) => _(e, po, f), so = (e) => _(e, mt, it), no = (e) => _(e, pt, Me), qe = (e) => _(e, lt, Me), ao = (e) => _(e, ct, eo), de = (e) => _(e, bt, Kt), l = (e) => at.test(e), oe = (e) => J(e, ut), io = (e) => J(e, pt), Je = (e) => J(e, lt), lo = (e) => J(e, dt), co = (e) => J(e, ct), ue = (e) => J(e, bt, !0), uo = (e) => J(e, mt, !0), _ = (e, t, o) => {
327
+ const r = nt.exec(e);
328
+ return r ? r[1] ? t(r[1]) : o(r[2]) : !1;
329
+ }, J = (e, t, o = !1) => {
330
+ const r = at.exec(e);
331
+ return r ? r[1] ? t(r[1]) : o : !1;
332
+ }, lt = (e) => e === "position" || e === "percentage", ct = (e) => e === "image" || e === "url", dt = (e) => e === "length" || e === "size" || e === "bg-size", ut = (e) => e === "length", po = (e) => e === "number", pt = (e) => e === "family-name", mt = (e) => e === "number" || e === "weight", bt = (e) => e === "shadow", Xe = () => {
333
+ const e = G("color"), t = G("font"), o = G("text"), r = G("font-weight"), s = G("tracking"), a = G("leading"), c = G("breakpoint"), g = G("container"), v = G("spacing"), m = G("radius"), C = G("shadow"), z = G("inset-shadow"), k = G("text-shadow"), S = G("drop-shadow"), P = G("blur"), $ = G("perspective"), x = G("aspect"), O = G("ease"), n = G("animate"), N = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], j = () => [
334
+ "center",
335
+ "top",
336
+ "bottom",
337
+ "left",
338
+ "right",
339
+ "top-left",
340
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
341
+ "left-top",
342
+ "top-right",
343
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
344
+ "right-top",
345
+ "bottom-right",
346
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
347
+ "right-bottom",
348
+ "bottom-left",
349
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
350
+ "left-bottom"
351
+ ], I = () => [...j(), l, i], X = () => ["auto", "hidden", "clip", "visible", "scroll"], V = () => ["auto", "contain", "none"], d = () => [l, i, v], R = () => [H, "full", "auto", ...d()], Pe = () => [F, "none", "subgrid", l, i], Le = () => ["auto", {
352
+ span: ["full", F, l, i]
353
+ }, F, l, i], se = () => [F, "auto", l, i], Te = () => ["auto", "min", "max", "fr", l, i], ge = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Q = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], E = () => ["auto", ...d()], Y = () => [H, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...d()], he = () => [H, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...d()], ve = () => [H, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...d()], u = () => [e, l, i], Be = () => [...j(), Je, qe, {
354
+ position: [l, i]
355
+ }], Re = () => ["no-repeat", {
356
+ repeat: ["", "x", "y", "space", "round"]
357
+ }], je = () => ["auto", "cover", "contain", lo, ro, {
358
+ size: [l, i]
359
+ }], xe = () => [ke, oe, Z], L = () => [
360
+ // Deprecated since Tailwind CSS v4.0.0
361
+ "",
362
+ "none",
363
+ "full",
364
+ m,
365
+ l,
366
+ i
367
+ ], T = () => ["", f, oe, Z], ne = () => ["solid", "dashed", "dotted", "double"], Ee = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], M = () => [f, ke, Je, qe], Ne = () => [
368
+ // Deprecated since Tailwind CSS v4.0.0
369
+ "",
370
+ "none",
371
+ P,
372
+ l,
373
+ i
374
+ ], ae = () => ["none", f, l, i], ie = () => ["none", f, l, i], ye = () => [f, l, i], le = () => [H, "full", ...d()];
375
+ return {
376
+ cacheSize: 500,
377
+ theme: {
378
+ animate: ["spin", "ping", "pulse", "bounce"],
379
+ aspect: ["video"],
380
+ blur: [W],
381
+ breakpoint: [W],
382
+ color: [it],
383
+ container: [W],
384
+ "drop-shadow": [W],
385
+ ease: ["in", "out", "in-out"],
386
+ font: [to],
387
+ "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
388
+ "inset-shadow": [W],
389
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
390
+ perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
391
+ radius: [W],
392
+ shadow: [W],
393
+ spacing: ["px", f],
394
+ text: [W],
395
+ "text-shadow": [W],
396
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
397
+ },
398
+ classGroups: {
399
+ // --------------
400
+ // --- Layout ---
401
+ // --------------
402
+ /**
403
+ * Aspect Ratio
404
+ * @see https://tailwindcss.com/docs/aspect-ratio
405
+ */
406
+ aspect: [{
407
+ aspect: ["auto", "square", H, i, l, x]
408
+ }],
409
+ /**
410
+ * Container
411
+ * @see https://tailwindcss.com/docs/container
412
+ * @deprecated since Tailwind CSS v4.0.0
413
+ */
414
+ container: ["container"],
415
+ /**
416
+ * Container Type
417
+ * @see https://tailwindcss.com/docs/responsive-design#container-queries
418
+ */
419
+ "container-type": [{
420
+ "@container": ["", "normal", "size", l, i]
421
+ }],
422
+ /**
423
+ * Container Name
424
+ * @see https://tailwindcss.com/docs/responsive-design#named-containers
425
+ */
426
+ "container-named": [oo],
427
+ /**
428
+ * Columns
429
+ * @see https://tailwindcss.com/docs/columns
430
+ */
431
+ columns: [{
432
+ columns: [f, i, l, g]
433
+ }],
434
+ /**
435
+ * Break After
436
+ * @see https://tailwindcss.com/docs/break-after
437
+ */
438
+ "break-after": [{
439
+ "break-after": N()
440
+ }],
441
+ /**
442
+ * Break Before
443
+ * @see https://tailwindcss.com/docs/break-before
444
+ */
445
+ "break-before": [{
446
+ "break-before": N()
447
+ }],
448
+ /**
449
+ * Break Inside
450
+ * @see https://tailwindcss.com/docs/break-inside
451
+ */
452
+ "break-inside": [{
453
+ "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
454
+ }],
455
+ /**
456
+ * Box Decoration Break
457
+ * @see https://tailwindcss.com/docs/box-decoration-break
458
+ */
459
+ "box-decoration": [{
460
+ "box-decoration": ["slice", "clone"]
461
+ }],
462
+ /**
463
+ * Box Sizing
464
+ * @see https://tailwindcss.com/docs/box-sizing
465
+ */
466
+ box: [{
467
+ box: ["border", "content"]
468
+ }],
469
+ /**
470
+ * Display
471
+ * @see https://tailwindcss.com/docs/display
472
+ */
473
+ display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
474
+ /**
475
+ * Screen Reader Only
476
+ * @see https://tailwindcss.com/docs/display#screen-reader-only
477
+ */
478
+ sr: ["sr-only", "not-sr-only"],
479
+ /**
480
+ * Floats
481
+ * @see https://tailwindcss.com/docs/float
482
+ */
483
+ float: [{
484
+ float: ["right", "left", "none", "start", "end"]
485
+ }],
486
+ /**
487
+ * Clear
488
+ * @see https://tailwindcss.com/docs/clear
489
+ */
490
+ clear: [{
491
+ clear: ["left", "right", "both", "none", "start", "end"]
492
+ }],
493
+ /**
494
+ * Isolation
495
+ * @see https://tailwindcss.com/docs/isolation
496
+ */
497
+ isolation: ["isolate", "isolation-auto"],
498
+ /**
499
+ * Object Fit
500
+ * @see https://tailwindcss.com/docs/object-fit
501
+ */
502
+ "object-fit": [{
503
+ object: ["contain", "cover", "fill", "none", "scale-down"]
504
+ }],
505
+ /**
506
+ * Object Position
507
+ * @see https://tailwindcss.com/docs/object-position
508
+ */
509
+ "object-position": [{
510
+ object: I()
511
+ }],
512
+ /**
513
+ * Overflow
514
+ * @see https://tailwindcss.com/docs/overflow
515
+ */
516
+ overflow: [{
517
+ overflow: X()
518
+ }],
519
+ /**
520
+ * Overflow X
521
+ * @see https://tailwindcss.com/docs/overflow
522
+ */
523
+ "overflow-x": [{
524
+ "overflow-x": X()
525
+ }],
526
+ /**
527
+ * Overflow Y
528
+ * @see https://tailwindcss.com/docs/overflow
529
+ */
530
+ "overflow-y": [{
531
+ "overflow-y": X()
532
+ }],
533
+ /**
534
+ * Overscroll Behavior
535
+ * @see https://tailwindcss.com/docs/overscroll-behavior
536
+ */
537
+ overscroll: [{
538
+ overscroll: V()
539
+ }],
540
+ /**
541
+ * Overscroll Behavior X
542
+ * @see https://tailwindcss.com/docs/overscroll-behavior
543
+ */
544
+ "overscroll-x": [{
545
+ "overscroll-x": V()
546
+ }],
547
+ /**
548
+ * Overscroll Behavior Y
549
+ * @see https://tailwindcss.com/docs/overscroll-behavior
550
+ */
551
+ "overscroll-y": [{
552
+ "overscroll-y": V()
553
+ }],
554
+ /**
555
+ * Position
556
+ * @see https://tailwindcss.com/docs/position
557
+ */
558
+ position: ["static", "fixed", "absolute", "relative", "sticky"],
559
+ /**
560
+ * Inset
561
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
562
+ */
563
+ inset: [{
564
+ inset: R()
565
+ }],
566
+ /**
567
+ * Inset Inline
568
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
569
+ */
570
+ "inset-x": [{
571
+ "inset-x": R()
572
+ }],
573
+ /**
574
+ * Inset Block
575
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
576
+ */
577
+ "inset-y": [{
578
+ "inset-y": R()
579
+ }],
580
+ /**
581
+ * Inset Inline Start
582
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
583
+ * @todo class group will be renamed to `inset-s` in next major release
584
+ */
585
+ start: [{
586
+ "inset-s": R(),
587
+ /**
588
+ * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
589
+ * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
590
+ */
591
+ start: R()
592
+ }],
593
+ /**
594
+ * Inset Inline End
595
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
596
+ * @todo class group will be renamed to `inset-e` in next major release
597
+ */
598
+ end: [{
599
+ "inset-e": R(),
600
+ /**
601
+ * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
602
+ * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
603
+ */
604
+ end: R()
605
+ }],
606
+ /**
607
+ * Inset Block Start
608
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
609
+ */
610
+ "inset-bs": [{
611
+ "inset-bs": R()
612
+ }],
613
+ /**
614
+ * Inset Block End
615
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
616
+ */
617
+ "inset-be": [{
618
+ "inset-be": R()
619
+ }],
620
+ /**
621
+ * Top
622
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
623
+ */
624
+ top: [{
625
+ top: R()
626
+ }],
627
+ /**
628
+ * Right
629
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
630
+ */
631
+ right: [{
632
+ right: R()
633
+ }],
634
+ /**
635
+ * Bottom
636
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
637
+ */
638
+ bottom: [{
639
+ bottom: R()
640
+ }],
641
+ /**
642
+ * Left
643
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
644
+ */
645
+ left: [{
646
+ left: R()
647
+ }],
648
+ /**
649
+ * Visibility
650
+ * @see https://tailwindcss.com/docs/visibility
651
+ */
652
+ visibility: ["visible", "invisible", "collapse"],
653
+ /**
654
+ * Z-Index
655
+ * @see https://tailwindcss.com/docs/z-index
656
+ */
657
+ z: [{
658
+ z: [F, "auto", l, i]
659
+ }],
660
+ // ------------------------
661
+ // --- Flexbox and Grid ---
662
+ // ------------------------
663
+ /**
664
+ * Flex Basis
665
+ * @see https://tailwindcss.com/docs/flex-basis
666
+ */
667
+ basis: [{
668
+ basis: [H, "full", "auto", g, ...d()]
669
+ }],
670
+ /**
671
+ * Flex Direction
672
+ * @see https://tailwindcss.com/docs/flex-direction
673
+ */
674
+ "flex-direction": [{
675
+ flex: ["row", "row-reverse", "col", "col-reverse"]
676
+ }],
677
+ /**
678
+ * Flex Wrap
679
+ * @see https://tailwindcss.com/docs/flex-wrap
680
+ */
681
+ "flex-wrap": [{
682
+ flex: ["nowrap", "wrap", "wrap-reverse"]
683
+ }],
684
+ /**
685
+ * Flex
686
+ * @see https://tailwindcss.com/docs/flex
687
+ */
688
+ flex: [{
689
+ flex: [f, H, "auto", "initial", "none", i]
690
+ }],
691
+ /**
692
+ * Flex Grow
693
+ * @see https://tailwindcss.com/docs/flex-grow
694
+ */
695
+ grow: [{
696
+ grow: ["", f, l, i]
697
+ }],
698
+ /**
699
+ * Flex Shrink
700
+ * @see https://tailwindcss.com/docs/flex-shrink
701
+ */
702
+ shrink: [{
703
+ shrink: ["", f, l, i]
704
+ }],
705
+ /**
706
+ * Order
707
+ * @see https://tailwindcss.com/docs/order
708
+ */
709
+ order: [{
710
+ order: [F, "first", "last", "none", l, i]
711
+ }],
712
+ /**
713
+ * Grid Template Columns
714
+ * @see https://tailwindcss.com/docs/grid-template-columns
715
+ */
716
+ "grid-cols": [{
717
+ "grid-cols": Pe()
718
+ }],
719
+ /**
720
+ * Grid Column Start / End
721
+ * @see https://tailwindcss.com/docs/grid-column
722
+ */
723
+ "col-start-end": [{
724
+ col: Le()
725
+ }],
726
+ /**
727
+ * Grid Column Start
728
+ * @see https://tailwindcss.com/docs/grid-column
729
+ */
730
+ "col-start": [{
731
+ "col-start": se()
732
+ }],
733
+ /**
734
+ * Grid Column End
735
+ * @see https://tailwindcss.com/docs/grid-column
736
+ */
737
+ "col-end": [{
738
+ "col-end": se()
739
+ }],
740
+ /**
741
+ * Grid Template Rows
742
+ * @see https://tailwindcss.com/docs/grid-template-rows
743
+ */
744
+ "grid-rows": [{
745
+ "grid-rows": Pe()
746
+ }],
747
+ /**
748
+ * Grid Row Start / End
749
+ * @see https://tailwindcss.com/docs/grid-row
750
+ */
751
+ "row-start-end": [{
752
+ row: Le()
753
+ }],
754
+ /**
755
+ * Grid Row Start
756
+ * @see https://tailwindcss.com/docs/grid-row
757
+ */
758
+ "row-start": [{
759
+ "row-start": se()
760
+ }],
761
+ /**
762
+ * Grid Row End
763
+ * @see https://tailwindcss.com/docs/grid-row
764
+ */
765
+ "row-end": [{
766
+ "row-end": se()
767
+ }],
768
+ /**
769
+ * Grid Auto Flow
770
+ * @see https://tailwindcss.com/docs/grid-auto-flow
771
+ */
772
+ "grid-flow": [{
773
+ "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
774
+ }],
775
+ /**
776
+ * Grid Auto Columns
777
+ * @see https://tailwindcss.com/docs/grid-auto-columns
778
+ */
779
+ "auto-cols": [{
780
+ "auto-cols": Te()
781
+ }],
782
+ /**
783
+ * Grid Auto Rows
784
+ * @see https://tailwindcss.com/docs/grid-auto-rows
785
+ */
786
+ "auto-rows": [{
787
+ "auto-rows": Te()
788
+ }],
789
+ /**
790
+ * Gap
791
+ * @see https://tailwindcss.com/docs/gap
792
+ */
793
+ gap: [{
794
+ gap: d()
795
+ }],
796
+ /**
797
+ * Gap X
798
+ * @see https://tailwindcss.com/docs/gap
799
+ */
800
+ "gap-x": [{
801
+ "gap-x": d()
802
+ }],
803
+ /**
804
+ * Gap Y
805
+ * @see https://tailwindcss.com/docs/gap
806
+ */
807
+ "gap-y": [{
808
+ "gap-y": d()
809
+ }],
810
+ /**
811
+ * Justify Content
812
+ * @see https://tailwindcss.com/docs/justify-content
813
+ */
814
+ "justify-content": [{
815
+ justify: [...ge(), "normal"]
816
+ }],
817
+ /**
818
+ * Justify Items
819
+ * @see https://tailwindcss.com/docs/justify-items
820
+ */
821
+ "justify-items": [{
822
+ "justify-items": [...Q(), "normal"]
823
+ }],
824
+ /**
825
+ * Justify Self
826
+ * @see https://tailwindcss.com/docs/justify-self
827
+ */
828
+ "justify-self": [{
829
+ "justify-self": ["auto", ...Q()]
830
+ }],
831
+ /**
832
+ * Align Content
833
+ * @see https://tailwindcss.com/docs/align-content
834
+ */
835
+ "align-content": [{
836
+ content: ["normal", ...ge()]
837
+ }],
838
+ /**
839
+ * Align Items
840
+ * @see https://tailwindcss.com/docs/align-items
841
+ */
842
+ "align-items": [{
843
+ items: [...Q(), {
844
+ baseline: ["", "last"]
845
+ }]
846
+ }],
847
+ /**
848
+ * Align Self
849
+ * @see https://tailwindcss.com/docs/align-self
850
+ */
851
+ "align-self": [{
852
+ self: ["auto", ...Q(), {
853
+ baseline: ["", "last"]
854
+ }]
855
+ }],
856
+ /**
857
+ * Place Content
858
+ * @see https://tailwindcss.com/docs/place-content
859
+ */
860
+ "place-content": [{
861
+ "place-content": ge()
862
+ }],
863
+ /**
864
+ * Place Items
865
+ * @see https://tailwindcss.com/docs/place-items
866
+ */
867
+ "place-items": [{
868
+ "place-items": [...Q(), "baseline"]
869
+ }],
870
+ /**
871
+ * Place Self
872
+ * @see https://tailwindcss.com/docs/place-self
873
+ */
874
+ "place-self": [{
875
+ "place-self": ["auto", ...Q()]
876
+ }],
877
+ // Spacing
878
+ /**
879
+ * Padding
880
+ * @see https://tailwindcss.com/docs/padding
881
+ */
882
+ p: [{
883
+ p: d()
884
+ }],
885
+ /**
886
+ * Padding Inline
887
+ * @see https://tailwindcss.com/docs/padding
888
+ */
889
+ px: [{
890
+ px: d()
891
+ }],
892
+ /**
893
+ * Padding Block
894
+ * @see https://tailwindcss.com/docs/padding
895
+ */
896
+ py: [{
897
+ py: d()
898
+ }],
899
+ /**
900
+ * Padding Inline Start
901
+ * @see https://tailwindcss.com/docs/padding
902
+ */
903
+ ps: [{
904
+ ps: d()
905
+ }],
906
+ /**
907
+ * Padding Inline End
908
+ * @see https://tailwindcss.com/docs/padding
909
+ */
910
+ pe: [{
911
+ pe: d()
912
+ }],
913
+ /**
914
+ * Padding Block Start
915
+ * @see https://tailwindcss.com/docs/padding
916
+ */
917
+ pbs: [{
918
+ pbs: d()
919
+ }],
920
+ /**
921
+ * Padding Block End
922
+ * @see https://tailwindcss.com/docs/padding
923
+ */
924
+ pbe: [{
925
+ pbe: d()
926
+ }],
927
+ /**
928
+ * Padding Top
929
+ * @see https://tailwindcss.com/docs/padding
930
+ */
931
+ pt: [{
932
+ pt: d()
933
+ }],
934
+ /**
935
+ * Padding Right
936
+ * @see https://tailwindcss.com/docs/padding
937
+ */
938
+ pr: [{
939
+ pr: d()
940
+ }],
941
+ /**
942
+ * Padding Bottom
943
+ * @see https://tailwindcss.com/docs/padding
944
+ */
945
+ pb: [{
946
+ pb: d()
947
+ }],
948
+ /**
949
+ * Padding Left
950
+ * @see https://tailwindcss.com/docs/padding
951
+ */
952
+ pl: [{
953
+ pl: d()
954
+ }],
955
+ /**
956
+ * Margin
957
+ * @see https://tailwindcss.com/docs/margin
958
+ */
959
+ m: [{
960
+ m: E()
961
+ }],
962
+ /**
963
+ * Margin Inline
964
+ * @see https://tailwindcss.com/docs/margin
965
+ */
966
+ mx: [{
967
+ mx: E()
968
+ }],
969
+ /**
970
+ * Margin Block
971
+ * @see https://tailwindcss.com/docs/margin
972
+ */
973
+ my: [{
974
+ my: E()
975
+ }],
976
+ /**
977
+ * Margin Inline Start
978
+ * @see https://tailwindcss.com/docs/margin
979
+ */
980
+ ms: [{
981
+ ms: E()
982
+ }],
983
+ /**
984
+ * Margin Inline End
985
+ * @see https://tailwindcss.com/docs/margin
986
+ */
987
+ me: [{
988
+ me: E()
989
+ }],
990
+ /**
991
+ * Margin Block Start
992
+ * @see https://tailwindcss.com/docs/margin
993
+ */
994
+ mbs: [{
995
+ mbs: E()
996
+ }],
997
+ /**
998
+ * Margin Block End
999
+ * @see https://tailwindcss.com/docs/margin
1000
+ */
1001
+ mbe: [{
1002
+ mbe: E()
1003
+ }],
1004
+ /**
1005
+ * Margin Top
1006
+ * @see https://tailwindcss.com/docs/margin
1007
+ */
1008
+ mt: [{
1009
+ mt: E()
1010
+ }],
1011
+ /**
1012
+ * Margin Right
1013
+ * @see https://tailwindcss.com/docs/margin
1014
+ */
1015
+ mr: [{
1016
+ mr: E()
1017
+ }],
1018
+ /**
1019
+ * Margin Bottom
1020
+ * @see https://tailwindcss.com/docs/margin
1021
+ */
1022
+ mb: [{
1023
+ mb: E()
1024
+ }],
1025
+ /**
1026
+ * Margin Left
1027
+ * @see https://tailwindcss.com/docs/margin
1028
+ */
1029
+ ml: [{
1030
+ ml: E()
1031
+ }],
1032
+ /**
1033
+ * Space Between X
1034
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1035
+ */
1036
+ "space-x": [{
1037
+ "space-x": d()
1038
+ }],
1039
+ /**
1040
+ * Space Between X Reverse
1041
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1042
+ */
1043
+ "space-x-reverse": ["space-x-reverse"],
1044
+ /**
1045
+ * Space Between Y
1046
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1047
+ */
1048
+ "space-y": [{
1049
+ "space-y": d()
1050
+ }],
1051
+ /**
1052
+ * Space Between Y Reverse
1053
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1054
+ */
1055
+ "space-y-reverse": ["space-y-reverse"],
1056
+ // --------------
1057
+ // --- Sizing ---
1058
+ // --------------
1059
+ /**
1060
+ * Size
1061
+ * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1062
+ */
1063
+ size: [{
1064
+ size: Y()
1065
+ }],
1066
+ /**
1067
+ * Inline Size
1068
+ * @see https://tailwindcss.com/docs/width
1069
+ */
1070
+ "inline-size": [{
1071
+ inline: ["auto", ...he()]
1072
+ }],
1073
+ /**
1074
+ * Min-Inline Size
1075
+ * @see https://tailwindcss.com/docs/min-width
1076
+ */
1077
+ "min-inline-size": [{
1078
+ "min-inline": ["auto", ...he()]
1079
+ }],
1080
+ /**
1081
+ * Max-Inline Size
1082
+ * @see https://tailwindcss.com/docs/max-width
1083
+ */
1084
+ "max-inline-size": [{
1085
+ "max-inline": ["none", ...he()]
1086
+ }],
1087
+ /**
1088
+ * Block Size
1089
+ * @see https://tailwindcss.com/docs/height
1090
+ */
1091
+ "block-size": [{
1092
+ block: ["auto", ...ve()]
1093
+ }],
1094
+ /**
1095
+ * Min-Block Size
1096
+ * @see https://tailwindcss.com/docs/min-height
1097
+ */
1098
+ "min-block-size": [{
1099
+ "min-block": ["auto", ...ve()]
1100
+ }],
1101
+ /**
1102
+ * Max-Block Size
1103
+ * @see https://tailwindcss.com/docs/max-height
1104
+ */
1105
+ "max-block-size": [{
1106
+ "max-block": ["none", ...ve()]
1107
+ }],
1108
+ /**
1109
+ * Width
1110
+ * @see https://tailwindcss.com/docs/width
1111
+ */
1112
+ w: [{
1113
+ w: [g, "screen", ...Y()]
1114
+ }],
1115
+ /**
1116
+ * Min-Width
1117
+ * @see https://tailwindcss.com/docs/min-width
1118
+ */
1119
+ "min-w": [{
1120
+ "min-w": [
1121
+ g,
1122
+ "screen",
1123
+ /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1124
+ "none",
1125
+ ...Y()
1126
+ ]
1127
+ }],
1128
+ /**
1129
+ * Max-Width
1130
+ * @see https://tailwindcss.com/docs/max-width
1131
+ */
1132
+ "max-w": [{
1133
+ "max-w": [
1134
+ g,
1135
+ "screen",
1136
+ "none",
1137
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1138
+ "prose",
1139
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1140
+ {
1141
+ screen: [c]
1142
+ },
1143
+ ...Y()
1144
+ ]
1145
+ }],
1146
+ /**
1147
+ * Height
1148
+ * @see https://tailwindcss.com/docs/height
1149
+ */
1150
+ h: [{
1151
+ h: ["screen", "lh", ...Y()]
1152
+ }],
1153
+ /**
1154
+ * Min-Height
1155
+ * @see https://tailwindcss.com/docs/min-height
1156
+ */
1157
+ "min-h": [{
1158
+ "min-h": ["screen", "lh", "none", ...Y()]
1159
+ }],
1160
+ /**
1161
+ * Max-Height
1162
+ * @see https://tailwindcss.com/docs/max-height
1163
+ */
1164
+ "max-h": [{
1165
+ "max-h": ["screen", "lh", ...Y()]
1166
+ }],
1167
+ // ------------------
1168
+ // --- Typography ---
1169
+ // ------------------
1170
+ /**
1171
+ * Font Size
1172
+ * @see https://tailwindcss.com/docs/font-size
1173
+ */
1174
+ "font-size": [{
1175
+ text: ["base", o, oe, Z]
1176
+ }],
1177
+ /**
1178
+ * Font Smoothing
1179
+ * @see https://tailwindcss.com/docs/font-smoothing
1180
+ */
1181
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
1182
+ /**
1183
+ * Font Style
1184
+ * @see https://tailwindcss.com/docs/font-style
1185
+ */
1186
+ "font-style": ["italic", "not-italic"],
1187
+ /**
1188
+ * Font Weight
1189
+ * @see https://tailwindcss.com/docs/font-weight
1190
+ */
1191
+ "font-weight": [{
1192
+ font: [r, uo, so]
1193
+ }],
1194
+ /**
1195
+ * Font Stretch
1196
+ * @see https://tailwindcss.com/docs/font-stretch
1197
+ */
1198
+ "font-stretch": [{
1199
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ke, i]
1200
+ }],
1201
+ /**
1202
+ * Font Family
1203
+ * @see https://tailwindcss.com/docs/font-family
1204
+ */
1205
+ "font-family": [{
1206
+ font: [io, no, t]
1207
+ }],
1208
+ /**
1209
+ * Font Feature Settings
1210
+ * @see https://tailwindcss.com/docs/font-feature-settings
1211
+ */
1212
+ "font-features": [{
1213
+ "font-features": [i]
1214
+ }],
1215
+ /**
1216
+ * Font Variant Numeric
1217
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1218
+ */
1219
+ "fvn-normal": ["normal-nums"],
1220
+ /**
1221
+ * Font Variant Numeric
1222
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1223
+ */
1224
+ "fvn-ordinal": ["ordinal"],
1225
+ /**
1226
+ * Font Variant Numeric
1227
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1228
+ */
1229
+ "fvn-slashed-zero": ["slashed-zero"],
1230
+ /**
1231
+ * Font Variant Numeric
1232
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1233
+ */
1234
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
1235
+ /**
1236
+ * Font Variant Numeric
1237
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1238
+ */
1239
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
1240
+ /**
1241
+ * Font Variant Numeric
1242
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1243
+ */
1244
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1245
+ /**
1246
+ * Letter Spacing
1247
+ * @see https://tailwindcss.com/docs/letter-spacing
1248
+ */
1249
+ tracking: [{
1250
+ tracking: [s, l, i]
1251
+ }],
1252
+ /**
1253
+ * Line Clamp
1254
+ * @see https://tailwindcss.com/docs/line-clamp
1255
+ */
1256
+ "line-clamp": [{
1257
+ "line-clamp": [f, "none", l, Ze]
1258
+ }],
1259
+ /**
1260
+ * Line Height
1261
+ * @see https://tailwindcss.com/docs/line-height
1262
+ */
1263
+ leading: [{
1264
+ leading: [
1265
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1266
+ a,
1267
+ ...d()
1268
+ ]
1269
+ }],
1270
+ /**
1271
+ * List Style Image
1272
+ * @see https://tailwindcss.com/docs/list-style-image
1273
+ */
1274
+ "list-image": [{
1275
+ "list-image": ["none", l, i]
1276
+ }],
1277
+ /**
1278
+ * List Style Position
1279
+ * @see https://tailwindcss.com/docs/list-style-position
1280
+ */
1281
+ "list-style-position": [{
1282
+ list: ["inside", "outside"]
1283
+ }],
1284
+ /**
1285
+ * List Style Type
1286
+ * @see https://tailwindcss.com/docs/list-style-type
1287
+ */
1288
+ "list-style-type": [{
1289
+ list: ["disc", "decimal", "none", l, i]
1290
+ }],
1291
+ /**
1292
+ * Text Alignment
1293
+ * @see https://tailwindcss.com/docs/text-align
1294
+ */
1295
+ "text-alignment": [{
1296
+ text: ["left", "center", "right", "justify", "start", "end"]
1297
+ }],
1298
+ /**
1299
+ * Placeholder Color
1300
+ * @deprecated since Tailwind CSS v3.0.0
1301
+ * @see https://v3.tailwindcss.com/docs/placeholder-color
1302
+ */
1303
+ "placeholder-color": [{
1304
+ placeholder: u()
1305
+ }],
1306
+ /**
1307
+ * Text Color
1308
+ * @see https://tailwindcss.com/docs/text-color
1309
+ */
1310
+ "text-color": [{
1311
+ text: u()
1312
+ }],
1313
+ /**
1314
+ * Text Decoration
1315
+ * @see https://tailwindcss.com/docs/text-decoration
1316
+ */
1317
+ "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1318
+ /**
1319
+ * Text Decoration Style
1320
+ * @see https://tailwindcss.com/docs/text-decoration-style
1321
+ */
1322
+ "text-decoration-style": [{
1323
+ decoration: [...ne(), "wavy"]
1324
+ }],
1325
+ /**
1326
+ * Text Decoration Thickness
1327
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1328
+ */
1329
+ "text-decoration-thickness": [{
1330
+ decoration: [f, "from-font", "auto", l, Z]
1331
+ }],
1332
+ /**
1333
+ * Text Decoration Color
1334
+ * @see https://tailwindcss.com/docs/text-decoration-color
1335
+ */
1336
+ "text-decoration-color": [{
1337
+ decoration: u()
1338
+ }],
1339
+ /**
1340
+ * Text Underline Offset
1341
+ * @see https://tailwindcss.com/docs/text-underline-offset
1342
+ */
1343
+ "underline-offset": [{
1344
+ "underline-offset": [f, "auto", l, i]
1345
+ }],
1346
+ /**
1347
+ * Text Transform
1348
+ * @see https://tailwindcss.com/docs/text-transform
1349
+ */
1350
+ "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1351
+ /**
1352
+ * Text Overflow
1353
+ * @see https://tailwindcss.com/docs/text-overflow
1354
+ */
1355
+ "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1356
+ /**
1357
+ * Text Wrap
1358
+ * @see https://tailwindcss.com/docs/text-wrap
1359
+ */
1360
+ "text-wrap": [{
1361
+ text: ["wrap", "nowrap", "balance", "pretty"]
1362
+ }],
1363
+ /**
1364
+ * Text Indent
1365
+ * @see https://tailwindcss.com/docs/text-indent
1366
+ */
1367
+ indent: [{
1368
+ indent: d()
1369
+ }],
1370
+ /**
1371
+ * Tab Size
1372
+ * @see https://tailwindcss.com/docs/tab-size
1373
+ */
1374
+ "tab-size": [{
1375
+ tab: [F, l, i]
1376
+ }],
1377
+ /**
1378
+ * Vertical Alignment
1379
+ * @see https://tailwindcss.com/docs/vertical-align
1380
+ */
1381
+ "vertical-align": [{
1382
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", l, i]
1383
+ }],
1384
+ /**
1385
+ * Whitespace
1386
+ * @see https://tailwindcss.com/docs/whitespace
1387
+ */
1388
+ whitespace: [{
1389
+ whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1390
+ }],
1391
+ /**
1392
+ * Word Break
1393
+ * @see https://tailwindcss.com/docs/word-break
1394
+ */
1395
+ break: [{
1396
+ break: ["normal", "words", "all", "keep"]
1397
+ }],
1398
+ /**
1399
+ * Overflow Wrap
1400
+ * @see https://tailwindcss.com/docs/overflow-wrap
1401
+ */
1402
+ wrap: [{
1403
+ wrap: ["break-word", "anywhere", "normal"]
1404
+ }],
1405
+ /**
1406
+ * Hyphens
1407
+ * @see https://tailwindcss.com/docs/hyphens
1408
+ */
1409
+ hyphens: [{
1410
+ hyphens: ["none", "manual", "auto"]
1411
+ }],
1412
+ /**
1413
+ * Content
1414
+ * @see https://tailwindcss.com/docs/content
1415
+ */
1416
+ content: [{
1417
+ content: ["none", l, i]
1418
+ }],
1419
+ // -------------------
1420
+ // --- Backgrounds ---
1421
+ // -------------------
1422
+ /**
1423
+ * Background Attachment
1424
+ * @see https://tailwindcss.com/docs/background-attachment
1425
+ */
1426
+ "bg-attachment": [{
1427
+ bg: ["fixed", "local", "scroll"]
1428
+ }],
1429
+ /**
1430
+ * Background Clip
1431
+ * @see https://tailwindcss.com/docs/background-clip
1432
+ */
1433
+ "bg-clip": [{
1434
+ "bg-clip": ["border", "padding", "content", "text"]
1435
+ }],
1436
+ /**
1437
+ * Background Origin
1438
+ * @see https://tailwindcss.com/docs/background-origin
1439
+ */
1440
+ "bg-origin": [{
1441
+ "bg-origin": ["border", "padding", "content"]
1442
+ }],
1443
+ /**
1444
+ * Background Position
1445
+ * @see https://tailwindcss.com/docs/background-position
1446
+ */
1447
+ "bg-position": [{
1448
+ bg: Be()
1449
+ }],
1450
+ /**
1451
+ * Background Repeat
1452
+ * @see https://tailwindcss.com/docs/background-repeat
1453
+ */
1454
+ "bg-repeat": [{
1455
+ bg: Re()
1456
+ }],
1457
+ /**
1458
+ * Background Size
1459
+ * @see https://tailwindcss.com/docs/background-size
1460
+ */
1461
+ "bg-size": [{
1462
+ bg: je()
1463
+ }],
1464
+ /**
1465
+ * Background Image
1466
+ * @see https://tailwindcss.com/docs/background-image
1467
+ */
1468
+ "bg-image": [{
1469
+ bg: ["none", {
1470
+ linear: [{
1471
+ to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1472
+ }, F, l, i],
1473
+ radial: ["", l, i],
1474
+ conic: [F, l, i]
1475
+ }, co, ao]
1476
+ }],
1477
+ /**
1478
+ * Background Color
1479
+ * @see https://tailwindcss.com/docs/background-color
1480
+ */
1481
+ "bg-color": [{
1482
+ bg: u()
1483
+ }],
1484
+ /**
1485
+ * Gradient Color Stops From Position
1486
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1487
+ */
1488
+ "gradient-from-pos": [{
1489
+ from: xe()
1490
+ }],
1491
+ /**
1492
+ * Gradient Color Stops Via Position
1493
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1494
+ */
1495
+ "gradient-via-pos": [{
1496
+ via: xe()
1497
+ }],
1498
+ /**
1499
+ * Gradient Color Stops To Position
1500
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1501
+ */
1502
+ "gradient-to-pos": [{
1503
+ to: xe()
1504
+ }],
1505
+ /**
1506
+ * Gradient Color Stops From
1507
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1508
+ */
1509
+ "gradient-from": [{
1510
+ from: u()
1511
+ }],
1512
+ /**
1513
+ * Gradient Color Stops Via
1514
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1515
+ */
1516
+ "gradient-via": [{
1517
+ via: u()
1518
+ }],
1519
+ /**
1520
+ * Gradient Color Stops To
1521
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1522
+ */
1523
+ "gradient-to": [{
1524
+ to: u()
1525
+ }],
1526
+ // ---------------
1527
+ // --- Borders ---
1528
+ // ---------------
1529
+ /**
1530
+ * Border Radius
1531
+ * @see https://tailwindcss.com/docs/border-radius
1532
+ */
1533
+ rounded: [{
1534
+ rounded: L()
1535
+ }],
1536
+ /**
1537
+ * Border Radius Start
1538
+ * @see https://tailwindcss.com/docs/border-radius
1539
+ */
1540
+ "rounded-s": [{
1541
+ "rounded-s": L()
1542
+ }],
1543
+ /**
1544
+ * Border Radius End
1545
+ * @see https://tailwindcss.com/docs/border-radius
1546
+ */
1547
+ "rounded-e": [{
1548
+ "rounded-e": L()
1549
+ }],
1550
+ /**
1551
+ * Border Radius Top
1552
+ * @see https://tailwindcss.com/docs/border-radius
1553
+ */
1554
+ "rounded-t": [{
1555
+ "rounded-t": L()
1556
+ }],
1557
+ /**
1558
+ * Border Radius Right
1559
+ * @see https://tailwindcss.com/docs/border-radius
1560
+ */
1561
+ "rounded-r": [{
1562
+ "rounded-r": L()
1563
+ }],
1564
+ /**
1565
+ * Border Radius Bottom
1566
+ * @see https://tailwindcss.com/docs/border-radius
1567
+ */
1568
+ "rounded-b": [{
1569
+ "rounded-b": L()
1570
+ }],
1571
+ /**
1572
+ * Border Radius Left
1573
+ * @see https://tailwindcss.com/docs/border-radius
1574
+ */
1575
+ "rounded-l": [{
1576
+ "rounded-l": L()
1577
+ }],
1578
+ /**
1579
+ * Border Radius Start Start
1580
+ * @see https://tailwindcss.com/docs/border-radius
1581
+ */
1582
+ "rounded-ss": [{
1583
+ "rounded-ss": L()
1584
+ }],
1585
+ /**
1586
+ * Border Radius Start End
1587
+ * @see https://tailwindcss.com/docs/border-radius
1588
+ */
1589
+ "rounded-se": [{
1590
+ "rounded-se": L()
1591
+ }],
1592
+ /**
1593
+ * Border Radius End End
1594
+ * @see https://tailwindcss.com/docs/border-radius
1595
+ */
1596
+ "rounded-ee": [{
1597
+ "rounded-ee": L()
1598
+ }],
1599
+ /**
1600
+ * Border Radius End Start
1601
+ * @see https://tailwindcss.com/docs/border-radius
1602
+ */
1603
+ "rounded-es": [{
1604
+ "rounded-es": L()
1605
+ }],
1606
+ /**
1607
+ * Border Radius Top Left
1608
+ * @see https://tailwindcss.com/docs/border-radius
1609
+ */
1610
+ "rounded-tl": [{
1611
+ "rounded-tl": L()
1612
+ }],
1613
+ /**
1614
+ * Border Radius Top Right
1615
+ * @see https://tailwindcss.com/docs/border-radius
1616
+ */
1617
+ "rounded-tr": [{
1618
+ "rounded-tr": L()
1619
+ }],
1620
+ /**
1621
+ * Border Radius Bottom Right
1622
+ * @see https://tailwindcss.com/docs/border-radius
1623
+ */
1624
+ "rounded-br": [{
1625
+ "rounded-br": L()
1626
+ }],
1627
+ /**
1628
+ * Border Radius Bottom Left
1629
+ * @see https://tailwindcss.com/docs/border-radius
1630
+ */
1631
+ "rounded-bl": [{
1632
+ "rounded-bl": L()
1633
+ }],
1634
+ /**
1635
+ * Border Width
1636
+ * @see https://tailwindcss.com/docs/border-width
1637
+ */
1638
+ "border-w": [{
1639
+ border: T()
1640
+ }],
1641
+ /**
1642
+ * Border Width Inline
1643
+ * @see https://tailwindcss.com/docs/border-width
1644
+ */
1645
+ "border-w-x": [{
1646
+ "border-x": T()
1647
+ }],
1648
+ /**
1649
+ * Border Width Block
1650
+ * @see https://tailwindcss.com/docs/border-width
1651
+ */
1652
+ "border-w-y": [{
1653
+ "border-y": T()
1654
+ }],
1655
+ /**
1656
+ * Border Width Inline Start
1657
+ * @see https://tailwindcss.com/docs/border-width
1658
+ */
1659
+ "border-w-s": [{
1660
+ "border-s": T()
1661
+ }],
1662
+ /**
1663
+ * Border Width Inline End
1664
+ * @see https://tailwindcss.com/docs/border-width
1665
+ */
1666
+ "border-w-e": [{
1667
+ "border-e": T()
1668
+ }],
1669
+ /**
1670
+ * Border Width Block Start
1671
+ * @see https://tailwindcss.com/docs/border-width
1672
+ */
1673
+ "border-w-bs": [{
1674
+ "border-bs": T()
1675
+ }],
1676
+ /**
1677
+ * Border Width Block End
1678
+ * @see https://tailwindcss.com/docs/border-width
1679
+ */
1680
+ "border-w-be": [{
1681
+ "border-be": T()
1682
+ }],
1683
+ /**
1684
+ * Border Width Top
1685
+ * @see https://tailwindcss.com/docs/border-width
1686
+ */
1687
+ "border-w-t": [{
1688
+ "border-t": T()
1689
+ }],
1690
+ /**
1691
+ * Border Width Right
1692
+ * @see https://tailwindcss.com/docs/border-width
1693
+ */
1694
+ "border-w-r": [{
1695
+ "border-r": T()
1696
+ }],
1697
+ /**
1698
+ * Border Width Bottom
1699
+ * @see https://tailwindcss.com/docs/border-width
1700
+ */
1701
+ "border-w-b": [{
1702
+ "border-b": T()
1703
+ }],
1704
+ /**
1705
+ * Border Width Left
1706
+ * @see https://tailwindcss.com/docs/border-width
1707
+ */
1708
+ "border-w-l": [{
1709
+ "border-l": T()
1710
+ }],
1711
+ /**
1712
+ * Divide Width X
1713
+ * @see https://tailwindcss.com/docs/border-width#between-children
1714
+ */
1715
+ "divide-x": [{
1716
+ "divide-x": T()
1717
+ }],
1718
+ /**
1719
+ * Divide Width X Reverse
1720
+ * @see https://tailwindcss.com/docs/border-width#between-children
1721
+ */
1722
+ "divide-x-reverse": ["divide-x-reverse"],
1723
+ /**
1724
+ * Divide Width Y
1725
+ * @see https://tailwindcss.com/docs/border-width#between-children
1726
+ */
1727
+ "divide-y": [{
1728
+ "divide-y": T()
1729
+ }],
1730
+ /**
1731
+ * Divide Width Y Reverse
1732
+ * @see https://tailwindcss.com/docs/border-width#between-children
1733
+ */
1734
+ "divide-y-reverse": ["divide-y-reverse"],
1735
+ /**
1736
+ * Border Style
1737
+ * @see https://tailwindcss.com/docs/border-style
1738
+ */
1739
+ "border-style": [{
1740
+ border: [...ne(), "hidden", "none"]
1741
+ }],
1742
+ /**
1743
+ * Divide Style
1744
+ * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1745
+ */
1746
+ "divide-style": [{
1747
+ divide: [...ne(), "hidden", "none"]
1748
+ }],
1749
+ /**
1750
+ * Border Color
1751
+ * @see https://tailwindcss.com/docs/border-color
1752
+ */
1753
+ "border-color": [{
1754
+ border: u()
1755
+ }],
1756
+ /**
1757
+ * Border Color Inline
1758
+ * @see https://tailwindcss.com/docs/border-color
1759
+ */
1760
+ "border-color-x": [{
1761
+ "border-x": u()
1762
+ }],
1763
+ /**
1764
+ * Border Color Block
1765
+ * @see https://tailwindcss.com/docs/border-color
1766
+ */
1767
+ "border-color-y": [{
1768
+ "border-y": u()
1769
+ }],
1770
+ /**
1771
+ * Border Color Inline Start
1772
+ * @see https://tailwindcss.com/docs/border-color
1773
+ */
1774
+ "border-color-s": [{
1775
+ "border-s": u()
1776
+ }],
1777
+ /**
1778
+ * Border Color Inline End
1779
+ * @see https://tailwindcss.com/docs/border-color
1780
+ */
1781
+ "border-color-e": [{
1782
+ "border-e": u()
1783
+ }],
1784
+ /**
1785
+ * Border Color Block Start
1786
+ * @see https://tailwindcss.com/docs/border-color
1787
+ */
1788
+ "border-color-bs": [{
1789
+ "border-bs": u()
1790
+ }],
1791
+ /**
1792
+ * Border Color Block End
1793
+ * @see https://tailwindcss.com/docs/border-color
1794
+ */
1795
+ "border-color-be": [{
1796
+ "border-be": u()
1797
+ }],
1798
+ /**
1799
+ * Border Color Top
1800
+ * @see https://tailwindcss.com/docs/border-color
1801
+ */
1802
+ "border-color-t": [{
1803
+ "border-t": u()
1804
+ }],
1805
+ /**
1806
+ * Border Color Right
1807
+ * @see https://tailwindcss.com/docs/border-color
1808
+ */
1809
+ "border-color-r": [{
1810
+ "border-r": u()
1811
+ }],
1812
+ /**
1813
+ * Border Color Bottom
1814
+ * @see https://tailwindcss.com/docs/border-color
1815
+ */
1816
+ "border-color-b": [{
1817
+ "border-b": u()
1818
+ }],
1819
+ /**
1820
+ * Border Color Left
1821
+ * @see https://tailwindcss.com/docs/border-color
1822
+ */
1823
+ "border-color-l": [{
1824
+ "border-l": u()
1825
+ }],
1826
+ /**
1827
+ * Divide Color
1828
+ * @see https://tailwindcss.com/docs/divide-color
1829
+ */
1830
+ "divide-color": [{
1831
+ divide: u()
1832
+ }],
1833
+ /**
1834
+ * Outline Style
1835
+ * @see https://tailwindcss.com/docs/outline-style
1836
+ */
1837
+ "outline-style": [{
1838
+ outline: [...ne(), "none", "hidden"]
1839
+ }],
1840
+ /**
1841
+ * Outline Offset
1842
+ * @see https://tailwindcss.com/docs/outline-offset
1843
+ */
1844
+ "outline-offset": [{
1845
+ "outline-offset": [f, l, i]
1846
+ }],
1847
+ /**
1848
+ * Outline Width
1849
+ * @see https://tailwindcss.com/docs/outline-width
1850
+ */
1851
+ "outline-w": [{
1852
+ outline: ["", f, oe, Z]
1853
+ }],
1854
+ /**
1855
+ * Outline Color
1856
+ * @see https://tailwindcss.com/docs/outline-color
1857
+ */
1858
+ "outline-color": [{
1859
+ outline: u()
1860
+ }],
1861
+ // ---------------
1862
+ // --- Effects ---
1863
+ // ---------------
1864
+ /**
1865
+ * Box Shadow
1866
+ * @see https://tailwindcss.com/docs/box-shadow
1867
+ */
1868
+ shadow: [{
1869
+ shadow: [
1870
+ // Deprecated since Tailwind CSS v4.0.0
1871
+ "",
1872
+ "none",
1873
+ C,
1874
+ ue,
1875
+ de
1876
+ ]
1877
+ }],
1878
+ /**
1879
+ * Box Shadow Color
1880
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
1881
+ */
1882
+ "shadow-color": [{
1883
+ shadow: u()
1884
+ }],
1885
+ /**
1886
+ * Inset Box Shadow
1887
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1888
+ */
1889
+ "inset-shadow": [{
1890
+ "inset-shadow": ["none", z, ue, de]
1891
+ }],
1892
+ /**
1893
+ * Inset Box Shadow Color
1894
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
1895
+ */
1896
+ "inset-shadow-color": [{
1897
+ "inset-shadow": u()
1898
+ }],
1899
+ /**
1900
+ * Ring Width
1901
+ * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1902
+ */
1903
+ "ring-w": [{
1904
+ ring: T()
1905
+ }],
1906
+ /**
1907
+ * Ring Width Inset
1908
+ * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
1909
+ * @deprecated since Tailwind CSS v4.0.0
1910
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1911
+ */
1912
+ "ring-w-inset": ["ring-inset"],
1913
+ /**
1914
+ * Ring Color
1915
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
1916
+ */
1917
+ "ring-color": [{
1918
+ ring: u()
1919
+ }],
1920
+ /**
1921
+ * Ring Offset Width
1922
+ * @see https://v3.tailwindcss.com/docs/ring-offset-width
1923
+ * @deprecated since Tailwind CSS v4.0.0
1924
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1925
+ */
1926
+ "ring-offset-w": [{
1927
+ "ring-offset": [f, Z]
1928
+ }],
1929
+ /**
1930
+ * Ring Offset Color
1931
+ * @see https://v3.tailwindcss.com/docs/ring-offset-color
1932
+ * @deprecated since Tailwind CSS v4.0.0
1933
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1934
+ */
1935
+ "ring-offset-color": [{
1936
+ "ring-offset": u()
1937
+ }],
1938
+ /**
1939
+ * Inset Ring Width
1940
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
1941
+ */
1942
+ "inset-ring-w": [{
1943
+ "inset-ring": T()
1944
+ }],
1945
+ /**
1946
+ * Inset Ring Color
1947
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
1948
+ */
1949
+ "inset-ring-color": [{
1950
+ "inset-ring": u()
1951
+ }],
1952
+ /**
1953
+ * Text Shadow
1954
+ * @see https://tailwindcss.com/docs/text-shadow
1955
+ */
1956
+ "text-shadow": [{
1957
+ "text-shadow": ["none", k, ue, de]
1958
+ }],
1959
+ /**
1960
+ * Text Shadow Color
1961
+ * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
1962
+ */
1963
+ "text-shadow-color": [{
1964
+ "text-shadow": u()
1965
+ }],
1966
+ /**
1967
+ * Opacity
1968
+ * @see https://tailwindcss.com/docs/opacity
1969
+ */
1970
+ opacity: [{
1971
+ opacity: [f, l, i]
1972
+ }],
1973
+ /**
1974
+ * Mix Blend Mode
1975
+ * @see https://tailwindcss.com/docs/mix-blend-mode
1976
+ */
1977
+ "mix-blend": [{
1978
+ "mix-blend": [...Ee(), "plus-darker", "plus-lighter"]
1979
+ }],
1980
+ /**
1981
+ * Background Blend Mode
1982
+ * @see https://tailwindcss.com/docs/background-blend-mode
1983
+ */
1984
+ "bg-blend": [{
1985
+ "bg-blend": Ee()
1986
+ }],
1987
+ /**
1988
+ * Mask Clip
1989
+ * @see https://tailwindcss.com/docs/mask-clip
1990
+ */
1991
+ "mask-clip": [{
1992
+ "mask-clip": ["border", "padding", "content", "fill", "stroke", "view"]
1993
+ }, "mask-no-clip"],
1994
+ /**
1995
+ * Mask Composite
1996
+ * @see https://tailwindcss.com/docs/mask-composite
1997
+ */
1998
+ "mask-composite": [{
1999
+ mask: ["add", "subtract", "intersect", "exclude"]
2000
+ }],
2001
+ /**
2002
+ * Mask Image
2003
+ * @see https://tailwindcss.com/docs/mask-image
2004
+ */
2005
+ "mask-image-linear-pos": [{
2006
+ "mask-linear": [f]
2007
+ }],
2008
+ "mask-image-linear-from-pos": [{
2009
+ "mask-linear-from": M()
2010
+ }],
2011
+ "mask-image-linear-to-pos": [{
2012
+ "mask-linear-to": M()
2013
+ }],
2014
+ "mask-image-linear-from-color": [{
2015
+ "mask-linear-from": u()
2016
+ }],
2017
+ "mask-image-linear-to-color": [{
2018
+ "mask-linear-to": u()
2019
+ }],
2020
+ "mask-image-t-from-pos": [{
2021
+ "mask-t-from": M()
2022
+ }],
2023
+ "mask-image-t-to-pos": [{
2024
+ "mask-t-to": M()
2025
+ }],
2026
+ "mask-image-t-from-color": [{
2027
+ "mask-t-from": u()
2028
+ }],
2029
+ "mask-image-t-to-color": [{
2030
+ "mask-t-to": u()
2031
+ }],
2032
+ "mask-image-r-from-pos": [{
2033
+ "mask-r-from": M()
2034
+ }],
2035
+ "mask-image-r-to-pos": [{
2036
+ "mask-r-to": M()
2037
+ }],
2038
+ "mask-image-r-from-color": [{
2039
+ "mask-r-from": u()
2040
+ }],
2041
+ "mask-image-r-to-color": [{
2042
+ "mask-r-to": u()
2043
+ }],
2044
+ "mask-image-b-from-pos": [{
2045
+ "mask-b-from": M()
2046
+ }],
2047
+ "mask-image-b-to-pos": [{
2048
+ "mask-b-to": M()
2049
+ }],
2050
+ "mask-image-b-from-color": [{
2051
+ "mask-b-from": u()
2052
+ }],
2053
+ "mask-image-b-to-color": [{
2054
+ "mask-b-to": u()
2055
+ }],
2056
+ "mask-image-l-from-pos": [{
2057
+ "mask-l-from": M()
2058
+ }],
2059
+ "mask-image-l-to-pos": [{
2060
+ "mask-l-to": M()
2061
+ }],
2062
+ "mask-image-l-from-color": [{
2063
+ "mask-l-from": u()
2064
+ }],
2065
+ "mask-image-l-to-color": [{
2066
+ "mask-l-to": u()
2067
+ }],
2068
+ "mask-image-x-from-pos": [{
2069
+ "mask-x-from": M()
2070
+ }],
2071
+ "mask-image-x-to-pos": [{
2072
+ "mask-x-to": M()
2073
+ }],
2074
+ "mask-image-x-from-color": [{
2075
+ "mask-x-from": u()
2076
+ }],
2077
+ "mask-image-x-to-color": [{
2078
+ "mask-x-to": u()
2079
+ }],
2080
+ "mask-image-y-from-pos": [{
2081
+ "mask-y-from": M()
2082
+ }],
2083
+ "mask-image-y-to-pos": [{
2084
+ "mask-y-to": M()
2085
+ }],
2086
+ "mask-image-y-from-color": [{
2087
+ "mask-y-from": u()
2088
+ }],
2089
+ "mask-image-y-to-color": [{
2090
+ "mask-y-to": u()
2091
+ }],
2092
+ "mask-image-radial": [{
2093
+ "mask-radial": [l, i]
2094
+ }],
2095
+ "mask-image-radial-from-pos": [{
2096
+ "mask-radial-from": M()
2097
+ }],
2098
+ "mask-image-radial-to-pos": [{
2099
+ "mask-radial-to": M()
2100
+ }],
2101
+ "mask-image-radial-from-color": [{
2102
+ "mask-radial-from": u()
2103
+ }],
2104
+ "mask-image-radial-to-color": [{
2105
+ "mask-radial-to": u()
2106
+ }],
2107
+ "mask-image-radial-shape": [{
2108
+ "mask-radial": ["circle", "ellipse"]
2109
+ }],
2110
+ "mask-image-radial-size": [{
2111
+ "mask-radial": [{
2112
+ closest: ["side", "corner"],
2113
+ farthest: ["side", "corner"]
2114
+ }]
2115
+ }],
2116
+ "mask-image-radial-pos": [{
2117
+ "mask-radial-at": j()
2118
+ }],
2119
+ "mask-image-conic-pos": [{
2120
+ "mask-conic": [f]
2121
+ }],
2122
+ "mask-image-conic-from-pos": [{
2123
+ "mask-conic-from": M()
2124
+ }],
2125
+ "mask-image-conic-to-pos": [{
2126
+ "mask-conic-to": M()
2127
+ }],
2128
+ "mask-image-conic-from-color": [{
2129
+ "mask-conic-from": u()
2130
+ }],
2131
+ "mask-image-conic-to-color": [{
2132
+ "mask-conic-to": u()
2133
+ }],
2134
+ /**
2135
+ * Mask Mode
2136
+ * @see https://tailwindcss.com/docs/mask-mode
2137
+ */
2138
+ "mask-mode": [{
2139
+ mask: ["alpha", "luminance", "match"]
2140
+ }],
2141
+ /**
2142
+ * Mask Origin
2143
+ * @see https://tailwindcss.com/docs/mask-origin
2144
+ */
2145
+ "mask-origin": [{
2146
+ "mask-origin": ["border", "padding", "content", "fill", "stroke", "view"]
2147
+ }],
2148
+ /**
2149
+ * Mask Position
2150
+ * @see https://tailwindcss.com/docs/mask-position
2151
+ */
2152
+ "mask-position": [{
2153
+ mask: Be()
2154
+ }],
2155
+ /**
2156
+ * Mask Repeat
2157
+ * @see https://tailwindcss.com/docs/mask-repeat
2158
+ */
2159
+ "mask-repeat": [{
2160
+ mask: Re()
2161
+ }],
2162
+ /**
2163
+ * Mask Size
2164
+ * @see https://tailwindcss.com/docs/mask-size
2165
+ */
2166
+ "mask-size": [{
2167
+ mask: je()
2168
+ }],
2169
+ /**
2170
+ * Mask Type
2171
+ * @see https://tailwindcss.com/docs/mask-type
2172
+ */
2173
+ "mask-type": [{
2174
+ "mask-type": ["alpha", "luminance"]
2175
+ }],
2176
+ /**
2177
+ * Mask Image
2178
+ * @see https://tailwindcss.com/docs/mask-image
2179
+ */
2180
+ "mask-image": [{
2181
+ mask: ["none", l, i]
2182
+ }],
2183
+ // ---------------
2184
+ // --- Filters ---
2185
+ // ---------------
2186
+ /**
2187
+ * Filter
2188
+ * @see https://tailwindcss.com/docs/filter
2189
+ */
2190
+ filter: [{
2191
+ filter: [
2192
+ // Deprecated since Tailwind CSS v3.0.0
2193
+ "",
2194
+ "none",
2195
+ l,
2196
+ i
2197
+ ]
2198
+ }],
2199
+ /**
2200
+ * Blur
2201
+ * @see https://tailwindcss.com/docs/blur
2202
+ */
2203
+ blur: [{
2204
+ blur: Ne()
2205
+ }],
2206
+ /**
2207
+ * Brightness
2208
+ * @see https://tailwindcss.com/docs/brightness
2209
+ */
2210
+ brightness: [{
2211
+ brightness: [f, l, i]
2212
+ }],
2213
+ /**
2214
+ * Contrast
2215
+ * @see https://tailwindcss.com/docs/contrast
2216
+ */
2217
+ contrast: [{
2218
+ contrast: [f, l, i]
2219
+ }],
2220
+ /**
2221
+ * Drop Shadow
2222
+ * @see https://tailwindcss.com/docs/drop-shadow
2223
+ */
2224
+ "drop-shadow": [{
2225
+ "drop-shadow": [
2226
+ // Deprecated since Tailwind CSS v4.0.0
2227
+ "",
2228
+ "none",
2229
+ S,
2230
+ ue,
2231
+ de
2232
+ ]
2233
+ }],
2234
+ /**
2235
+ * Drop Shadow Color
2236
+ * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2237
+ */
2238
+ "drop-shadow-color": [{
2239
+ "drop-shadow": u()
2240
+ }],
2241
+ /**
2242
+ * Grayscale
2243
+ * @see https://tailwindcss.com/docs/grayscale
2244
+ */
2245
+ grayscale: [{
2246
+ grayscale: ["", f, l, i]
2247
+ }],
2248
+ /**
2249
+ * Hue Rotate
2250
+ * @see https://tailwindcss.com/docs/hue-rotate
2251
+ */
2252
+ "hue-rotate": [{
2253
+ "hue-rotate": [f, l, i]
2254
+ }],
2255
+ /**
2256
+ * Invert
2257
+ * @see https://tailwindcss.com/docs/invert
2258
+ */
2259
+ invert: [{
2260
+ invert: ["", f, l, i]
2261
+ }],
2262
+ /**
2263
+ * Saturate
2264
+ * @see https://tailwindcss.com/docs/saturate
2265
+ */
2266
+ saturate: [{
2267
+ saturate: [f, l, i]
2268
+ }],
2269
+ /**
2270
+ * Sepia
2271
+ * @see https://tailwindcss.com/docs/sepia
2272
+ */
2273
+ sepia: [{
2274
+ sepia: ["", f, l, i]
2275
+ }],
2276
+ /**
2277
+ * Backdrop Filter
2278
+ * @see https://tailwindcss.com/docs/backdrop-filter
2279
+ */
2280
+ "backdrop-filter": [{
2281
+ "backdrop-filter": [
2282
+ // Deprecated since Tailwind CSS v3.0.0
2283
+ "",
2284
+ "none",
2285
+ l,
2286
+ i
2287
+ ]
2288
+ }],
2289
+ /**
2290
+ * Backdrop Blur
2291
+ * @see https://tailwindcss.com/docs/backdrop-blur
2292
+ */
2293
+ "backdrop-blur": [{
2294
+ "backdrop-blur": Ne()
2295
+ }],
2296
+ /**
2297
+ * Backdrop Brightness
2298
+ * @see https://tailwindcss.com/docs/backdrop-brightness
2299
+ */
2300
+ "backdrop-brightness": [{
2301
+ "backdrop-brightness": [f, l, i]
2302
+ }],
2303
+ /**
2304
+ * Backdrop Contrast
2305
+ * @see https://tailwindcss.com/docs/backdrop-contrast
2306
+ */
2307
+ "backdrop-contrast": [{
2308
+ "backdrop-contrast": [f, l, i]
2309
+ }],
2310
+ /**
2311
+ * Backdrop Grayscale
2312
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
2313
+ */
2314
+ "backdrop-grayscale": [{
2315
+ "backdrop-grayscale": ["", f, l, i]
2316
+ }],
2317
+ /**
2318
+ * Backdrop Hue Rotate
2319
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2320
+ */
2321
+ "backdrop-hue-rotate": [{
2322
+ "backdrop-hue-rotate": [f, l, i]
2323
+ }],
2324
+ /**
2325
+ * Backdrop Invert
2326
+ * @see https://tailwindcss.com/docs/backdrop-invert
2327
+ */
2328
+ "backdrop-invert": [{
2329
+ "backdrop-invert": ["", f, l, i]
2330
+ }],
2331
+ /**
2332
+ * Backdrop Opacity
2333
+ * @see https://tailwindcss.com/docs/backdrop-opacity
2334
+ */
2335
+ "backdrop-opacity": [{
2336
+ "backdrop-opacity": [f, l, i]
2337
+ }],
2338
+ /**
2339
+ * Backdrop Saturate
2340
+ * @see https://tailwindcss.com/docs/backdrop-saturate
2341
+ */
2342
+ "backdrop-saturate": [{
2343
+ "backdrop-saturate": [f, l, i]
2344
+ }],
2345
+ /**
2346
+ * Backdrop Sepia
2347
+ * @see https://tailwindcss.com/docs/backdrop-sepia
2348
+ */
2349
+ "backdrop-sepia": [{
2350
+ "backdrop-sepia": ["", f, l, i]
2351
+ }],
2352
+ // --------------
2353
+ // --- Tables ---
2354
+ // --------------
2355
+ /**
2356
+ * Border Collapse
2357
+ * @see https://tailwindcss.com/docs/border-collapse
2358
+ */
2359
+ "border-collapse": [{
2360
+ border: ["collapse", "separate"]
2361
+ }],
2362
+ /**
2363
+ * Border Spacing
2364
+ * @see https://tailwindcss.com/docs/border-spacing
2365
+ */
2366
+ "border-spacing": [{
2367
+ "border-spacing": d()
2368
+ }],
2369
+ /**
2370
+ * Border Spacing X
2371
+ * @see https://tailwindcss.com/docs/border-spacing
2372
+ */
2373
+ "border-spacing-x": [{
2374
+ "border-spacing-x": d()
2375
+ }],
2376
+ /**
2377
+ * Border Spacing Y
2378
+ * @see https://tailwindcss.com/docs/border-spacing
2379
+ */
2380
+ "border-spacing-y": [{
2381
+ "border-spacing-y": d()
2382
+ }],
2383
+ /**
2384
+ * Table Layout
2385
+ * @see https://tailwindcss.com/docs/table-layout
2386
+ */
2387
+ "table-layout": [{
2388
+ table: ["auto", "fixed"]
2389
+ }],
2390
+ /**
2391
+ * Caption Side
2392
+ * @see https://tailwindcss.com/docs/caption-side
2393
+ */
2394
+ caption: [{
2395
+ caption: ["top", "bottom"]
2396
+ }],
2397
+ // ---------------------------------
2398
+ // --- Transitions and Animation ---
2399
+ // ---------------------------------
2400
+ /**
2401
+ * Transition Property
2402
+ * @see https://tailwindcss.com/docs/transition-property
2403
+ */
2404
+ transition: [{
2405
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", l, i]
2406
+ }],
2407
+ /**
2408
+ * Transition Behavior
2409
+ * @see https://tailwindcss.com/docs/transition-behavior
2410
+ */
2411
+ "transition-behavior": [{
2412
+ transition: ["normal", "discrete"]
2413
+ }],
2414
+ /**
2415
+ * Transition Duration
2416
+ * @see https://tailwindcss.com/docs/transition-duration
2417
+ */
2418
+ duration: [{
2419
+ duration: [f, "initial", l, i]
2420
+ }],
2421
+ /**
2422
+ * Transition Timing Function
2423
+ * @see https://tailwindcss.com/docs/transition-timing-function
2424
+ */
2425
+ ease: [{
2426
+ ease: ["linear", "initial", O, l, i]
2427
+ }],
2428
+ /**
2429
+ * Transition Delay
2430
+ * @see https://tailwindcss.com/docs/transition-delay
2431
+ */
2432
+ delay: [{
2433
+ delay: [f, l, i]
2434
+ }],
2435
+ /**
2436
+ * Animation
2437
+ * @see https://tailwindcss.com/docs/animation
2438
+ */
2439
+ animate: [{
2440
+ animate: ["none", n, l, i]
2441
+ }],
2442
+ // ------------------
2443
+ // --- Transforms ---
2444
+ // ------------------
2445
+ /**
2446
+ * Backface Visibility
2447
+ * @see https://tailwindcss.com/docs/backface-visibility
2448
+ */
2449
+ backface: [{
2450
+ backface: ["hidden", "visible"]
2451
+ }],
2452
+ /**
2453
+ * Perspective
2454
+ * @see https://tailwindcss.com/docs/perspective
2455
+ */
2456
+ perspective: [{
2457
+ perspective: [$, l, i]
2458
+ }],
2459
+ /**
2460
+ * Perspective Origin
2461
+ * @see https://tailwindcss.com/docs/perspective-origin
2462
+ */
2463
+ "perspective-origin": [{
2464
+ "perspective-origin": I()
2465
+ }],
2466
+ /**
2467
+ * Rotate
2468
+ * @see https://tailwindcss.com/docs/rotate
2469
+ */
2470
+ rotate: [{
2471
+ rotate: ae()
2472
+ }],
2473
+ /**
2474
+ * Rotate X
2475
+ * @see https://tailwindcss.com/docs/rotate
2476
+ */
2477
+ "rotate-x": [{
2478
+ "rotate-x": ae()
2479
+ }],
2480
+ /**
2481
+ * Rotate Y
2482
+ * @see https://tailwindcss.com/docs/rotate
2483
+ */
2484
+ "rotate-y": [{
2485
+ "rotate-y": ae()
2486
+ }],
2487
+ /**
2488
+ * Rotate Z
2489
+ * @see https://tailwindcss.com/docs/rotate
2490
+ */
2491
+ "rotate-z": [{
2492
+ "rotate-z": ae()
2493
+ }],
2494
+ /**
2495
+ * Scale
2496
+ * @see https://tailwindcss.com/docs/scale
2497
+ */
2498
+ scale: [{
2499
+ scale: ie()
2500
+ }],
2501
+ /**
2502
+ * Scale X
2503
+ * @see https://tailwindcss.com/docs/scale
2504
+ */
2505
+ "scale-x": [{
2506
+ "scale-x": ie()
2507
+ }],
2508
+ /**
2509
+ * Scale Y
2510
+ * @see https://tailwindcss.com/docs/scale
2511
+ */
2512
+ "scale-y": [{
2513
+ "scale-y": ie()
2514
+ }],
2515
+ /**
2516
+ * Scale Z
2517
+ * @see https://tailwindcss.com/docs/scale
2518
+ */
2519
+ "scale-z": [{
2520
+ "scale-z": ie()
2521
+ }],
2522
+ /**
2523
+ * Scale 3D
2524
+ * @see https://tailwindcss.com/docs/scale
2525
+ */
2526
+ "scale-3d": ["scale-3d"],
2527
+ /**
2528
+ * Skew
2529
+ * @see https://tailwindcss.com/docs/skew
2530
+ */
2531
+ skew: [{
2532
+ skew: ye()
2533
+ }],
2534
+ /**
2535
+ * Skew X
2536
+ * @see https://tailwindcss.com/docs/skew
2537
+ */
2538
+ "skew-x": [{
2539
+ "skew-x": ye()
2540
+ }],
2541
+ /**
2542
+ * Skew Y
2543
+ * @see https://tailwindcss.com/docs/skew
2544
+ */
2545
+ "skew-y": [{
2546
+ "skew-y": ye()
2547
+ }],
2548
+ /**
2549
+ * Transform
2550
+ * @see https://tailwindcss.com/docs/transform
2551
+ */
2552
+ transform: [{
2553
+ transform: [l, i, "", "none", "gpu", "cpu"]
2554
+ }],
2555
+ /**
2556
+ * Transform Origin
2557
+ * @see https://tailwindcss.com/docs/transform-origin
2558
+ */
2559
+ "transform-origin": [{
2560
+ origin: I()
2561
+ }],
2562
+ /**
2563
+ * Transform Style
2564
+ * @see https://tailwindcss.com/docs/transform-style
2565
+ */
2566
+ "transform-style": [{
2567
+ transform: ["3d", "flat"]
2568
+ }],
2569
+ /**
2570
+ * Translate
2571
+ * @see https://tailwindcss.com/docs/translate
2572
+ */
2573
+ translate: [{
2574
+ translate: le()
2575
+ }],
2576
+ /**
2577
+ * Translate X
2578
+ * @see https://tailwindcss.com/docs/translate
2579
+ */
2580
+ "translate-x": [{
2581
+ "translate-x": le()
2582
+ }],
2583
+ /**
2584
+ * Translate Y
2585
+ * @see https://tailwindcss.com/docs/translate
2586
+ */
2587
+ "translate-y": [{
2588
+ "translate-y": le()
2589
+ }],
2590
+ /**
2591
+ * Translate Z
2592
+ * @see https://tailwindcss.com/docs/translate
2593
+ */
2594
+ "translate-z": [{
2595
+ "translate-z": le()
2596
+ }],
2597
+ /**
2598
+ * Translate None
2599
+ * @see https://tailwindcss.com/docs/translate
2600
+ */
2601
+ "translate-none": ["translate-none"],
2602
+ /**
2603
+ * Zoom
2604
+ * @see https://tailwindcss.com/docs/zoom
2605
+ */
2606
+ zoom: [{
2607
+ zoom: [F, l, i]
2608
+ }],
2609
+ // ---------------------
2610
+ // --- Interactivity ---
2611
+ // ---------------------
2612
+ /**
2613
+ * Accent Color
2614
+ * @see https://tailwindcss.com/docs/accent-color
2615
+ */
2616
+ accent: [{
2617
+ accent: u()
2618
+ }],
2619
+ /**
2620
+ * Appearance
2621
+ * @see https://tailwindcss.com/docs/appearance
2622
+ */
2623
+ appearance: [{
2624
+ appearance: ["none", "auto"]
2625
+ }],
2626
+ /**
2627
+ * Caret Color
2628
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2629
+ */
2630
+ "caret-color": [{
2631
+ caret: u()
2632
+ }],
2633
+ /**
2634
+ * Color Scheme
2635
+ * @see https://tailwindcss.com/docs/color-scheme
2636
+ */
2637
+ "color-scheme": [{
2638
+ scheme: ["normal", "dark", "light", "light-dark", "only-dark", "only-light"]
2639
+ }],
2640
+ /**
2641
+ * Cursor
2642
+ * @see https://tailwindcss.com/docs/cursor
2643
+ */
2644
+ cursor: [{
2645
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", l, i]
2646
+ }],
2647
+ /**
2648
+ * Field Sizing
2649
+ * @see https://tailwindcss.com/docs/field-sizing
2650
+ */
2651
+ "field-sizing": [{
2652
+ "field-sizing": ["fixed", "content"]
2653
+ }],
2654
+ /**
2655
+ * Pointer Events
2656
+ * @see https://tailwindcss.com/docs/pointer-events
2657
+ */
2658
+ "pointer-events": [{
2659
+ "pointer-events": ["auto", "none"]
2660
+ }],
2661
+ /**
2662
+ * Resize
2663
+ * @see https://tailwindcss.com/docs/resize
2664
+ */
2665
+ resize: [{
2666
+ resize: ["none", "", "y", "x"]
2667
+ }],
2668
+ /**
2669
+ * Scroll Behavior
2670
+ * @see https://tailwindcss.com/docs/scroll-behavior
2671
+ */
2672
+ "scroll-behavior": [{
2673
+ scroll: ["auto", "smooth"]
2674
+ }],
2675
+ /**
2676
+ * Scrollbar Thumb Color
2677
+ * @see https://tailwindcss.com/docs/scrollbar-color
2678
+ */
2679
+ "scrollbar-thumb-color": [{
2680
+ "scrollbar-thumb": u()
2681
+ }],
2682
+ /**
2683
+ * Scrollbar Track Color
2684
+ * @see https://tailwindcss.com/docs/scrollbar-color
2685
+ */
2686
+ "scrollbar-track-color": [{
2687
+ "scrollbar-track": u()
2688
+ }],
2689
+ /**
2690
+ * Scrollbar Gutter
2691
+ * @see https://tailwindcss.com/docs/scrollbar-gutter
2692
+ */
2693
+ "scrollbar-gutter": [{
2694
+ "scrollbar-gutter": ["auto", "stable", "both"]
2695
+ }],
2696
+ /**
2697
+ * Scrollbar Width
2698
+ * @see https://tailwindcss.com/docs/scrollbar-width
2699
+ */
2700
+ "scrollbar-w": [{
2701
+ scrollbar: ["auto", "thin", "none"]
2702
+ }],
2703
+ /**
2704
+ * Scroll Margin
2705
+ * @see https://tailwindcss.com/docs/scroll-margin
2706
+ */
2707
+ "scroll-m": [{
2708
+ "scroll-m": d()
2709
+ }],
2710
+ /**
2711
+ * Scroll Margin Inline
2712
+ * @see https://tailwindcss.com/docs/scroll-margin
2713
+ */
2714
+ "scroll-mx": [{
2715
+ "scroll-mx": d()
2716
+ }],
2717
+ /**
2718
+ * Scroll Margin Block
2719
+ * @see https://tailwindcss.com/docs/scroll-margin
2720
+ */
2721
+ "scroll-my": [{
2722
+ "scroll-my": d()
2723
+ }],
2724
+ /**
2725
+ * Scroll Margin Inline Start
2726
+ * @see https://tailwindcss.com/docs/scroll-margin
2727
+ */
2728
+ "scroll-ms": [{
2729
+ "scroll-ms": d()
2730
+ }],
2731
+ /**
2732
+ * Scroll Margin Inline End
2733
+ * @see https://tailwindcss.com/docs/scroll-margin
2734
+ */
2735
+ "scroll-me": [{
2736
+ "scroll-me": d()
2737
+ }],
2738
+ /**
2739
+ * Scroll Margin Block Start
2740
+ * @see https://tailwindcss.com/docs/scroll-margin
2741
+ */
2742
+ "scroll-mbs": [{
2743
+ "scroll-mbs": d()
2744
+ }],
2745
+ /**
2746
+ * Scroll Margin Block End
2747
+ * @see https://tailwindcss.com/docs/scroll-margin
2748
+ */
2749
+ "scroll-mbe": [{
2750
+ "scroll-mbe": d()
2751
+ }],
2752
+ /**
2753
+ * Scroll Margin Top
2754
+ * @see https://tailwindcss.com/docs/scroll-margin
2755
+ */
2756
+ "scroll-mt": [{
2757
+ "scroll-mt": d()
2758
+ }],
2759
+ /**
2760
+ * Scroll Margin Right
2761
+ * @see https://tailwindcss.com/docs/scroll-margin
2762
+ */
2763
+ "scroll-mr": [{
2764
+ "scroll-mr": d()
2765
+ }],
2766
+ /**
2767
+ * Scroll Margin Bottom
2768
+ * @see https://tailwindcss.com/docs/scroll-margin
2769
+ */
2770
+ "scroll-mb": [{
2771
+ "scroll-mb": d()
2772
+ }],
2773
+ /**
2774
+ * Scroll Margin Left
2775
+ * @see https://tailwindcss.com/docs/scroll-margin
2776
+ */
2777
+ "scroll-ml": [{
2778
+ "scroll-ml": d()
2779
+ }],
2780
+ /**
2781
+ * Scroll Padding
2782
+ * @see https://tailwindcss.com/docs/scroll-padding
2783
+ */
2784
+ "scroll-p": [{
2785
+ "scroll-p": d()
2786
+ }],
2787
+ /**
2788
+ * Scroll Padding Inline
2789
+ * @see https://tailwindcss.com/docs/scroll-padding
2790
+ */
2791
+ "scroll-px": [{
2792
+ "scroll-px": d()
2793
+ }],
2794
+ /**
2795
+ * Scroll Padding Block
2796
+ * @see https://tailwindcss.com/docs/scroll-padding
2797
+ */
2798
+ "scroll-py": [{
2799
+ "scroll-py": d()
2800
+ }],
2801
+ /**
2802
+ * Scroll Padding Inline Start
2803
+ * @see https://tailwindcss.com/docs/scroll-padding
2804
+ */
2805
+ "scroll-ps": [{
2806
+ "scroll-ps": d()
2807
+ }],
2808
+ /**
2809
+ * Scroll Padding Inline End
2810
+ * @see https://tailwindcss.com/docs/scroll-padding
2811
+ */
2812
+ "scroll-pe": [{
2813
+ "scroll-pe": d()
2814
+ }],
2815
+ /**
2816
+ * Scroll Padding Block Start
2817
+ * @see https://tailwindcss.com/docs/scroll-padding
2818
+ */
2819
+ "scroll-pbs": [{
2820
+ "scroll-pbs": d()
2821
+ }],
2822
+ /**
2823
+ * Scroll Padding Block End
2824
+ * @see https://tailwindcss.com/docs/scroll-padding
2825
+ */
2826
+ "scroll-pbe": [{
2827
+ "scroll-pbe": d()
2828
+ }],
2829
+ /**
2830
+ * Scroll Padding Top
2831
+ * @see https://tailwindcss.com/docs/scroll-padding
2832
+ */
2833
+ "scroll-pt": [{
2834
+ "scroll-pt": d()
2835
+ }],
2836
+ /**
2837
+ * Scroll Padding Right
2838
+ * @see https://tailwindcss.com/docs/scroll-padding
2839
+ */
2840
+ "scroll-pr": [{
2841
+ "scroll-pr": d()
2842
+ }],
2843
+ /**
2844
+ * Scroll Padding Bottom
2845
+ * @see https://tailwindcss.com/docs/scroll-padding
2846
+ */
2847
+ "scroll-pb": [{
2848
+ "scroll-pb": d()
2849
+ }],
2850
+ /**
2851
+ * Scroll Padding Left
2852
+ * @see https://tailwindcss.com/docs/scroll-padding
2853
+ */
2854
+ "scroll-pl": [{
2855
+ "scroll-pl": d()
2856
+ }],
2857
+ /**
2858
+ * Scroll Snap Align
2859
+ * @see https://tailwindcss.com/docs/scroll-snap-align
2860
+ */
2861
+ "snap-align": [{
2862
+ snap: ["start", "end", "center", "align-none"]
2863
+ }],
2864
+ /**
2865
+ * Scroll Snap Stop
2866
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
2867
+ */
2868
+ "snap-stop": [{
2869
+ snap: ["normal", "always"]
2870
+ }],
2871
+ /**
2872
+ * Scroll Snap Type
2873
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2874
+ */
2875
+ "snap-type": [{
2876
+ snap: ["none", "x", "y", "both"]
2877
+ }],
2878
+ /**
2879
+ * Scroll Snap Type Strictness
2880
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2881
+ */
2882
+ "snap-strictness": [{
2883
+ snap: ["mandatory", "proximity"]
2884
+ }],
2885
+ /**
2886
+ * Touch Action
2887
+ * @see https://tailwindcss.com/docs/touch-action
2888
+ */
2889
+ touch: [{
2890
+ touch: ["auto", "none", "manipulation"]
2891
+ }],
2892
+ /**
2893
+ * Touch Action X
2894
+ * @see https://tailwindcss.com/docs/touch-action
2895
+ */
2896
+ "touch-x": [{
2897
+ "touch-pan": ["x", "left", "right"]
2898
+ }],
2899
+ /**
2900
+ * Touch Action Y
2901
+ * @see https://tailwindcss.com/docs/touch-action
2902
+ */
2903
+ "touch-y": [{
2904
+ "touch-pan": ["y", "up", "down"]
2905
+ }],
2906
+ /**
2907
+ * Touch Action Pinch Zoom
2908
+ * @see https://tailwindcss.com/docs/touch-action
2909
+ */
2910
+ "touch-pz": ["touch-pinch-zoom"],
2911
+ /**
2912
+ * User Select
2913
+ * @see https://tailwindcss.com/docs/user-select
2914
+ */
2915
+ select: [{
2916
+ select: ["none", "text", "all", "auto"]
2917
+ }],
2918
+ /**
2919
+ * Will Change
2920
+ * @see https://tailwindcss.com/docs/will-change
2921
+ */
2922
+ "will-change": [{
2923
+ "will-change": ["auto", "scroll", "contents", "transform", l, i]
2924
+ }],
2925
+ // -----------
2926
+ // --- SVG ---
2927
+ // -----------
2928
+ /**
2929
+ * Fill
2930
+ * @see https://tailwindcss.com/docs/fill
2931
+ */
2932
+ fill: [{
2933
+ fill: ["none", ...u()]
2934
+ }],
2935
+ /**
2936
+ * Stroke Width
2937
+ * @see https://tailwindcss.com/docs/stroke-width
2938
+ */
2939
+ "stroke-w": [{
2940
+ stroke: [f, oe, Z, Ze]
2941
+ }],
2942
+ /**
2943
+ * Stroke
2944
+ * @see https://tailwindcss.com/docs/stroke
2945
+ */
2946
+ stroke: [{
2947
+ stroke: ["none", ...u()]
2948
+ }],
2949
+ // ---------------------
2950
+ // --- Accessibility ---
2951
+ // ---------------------
2952
+ /**
2953
+ * Forced Color Adjust
2954
+ * @see https://tailwindcss.com/docs/forced-color-adjust
2955
+ */
2956
+ "forced-color-adjust": [{
2957
+ "forced-color-adjust": ["auto", "none"]
2958
+ }]
2959
+ },
2960
+ conflictingClassGroups: {
2961
+ "container-named": ["container-type"],
2962
+ overflow: ["overflow-x", "overflow-y"],
2963
+ overscroll: ["overscroll-x", "overscroll-y"],
2964
+ inset: ["inset-x", "inset-y", "inset-bs", "inset-be", "start", "end", "top", "right", "bottom", "left"],
2965
+ "inset-x": ["right", "left"],
2966
+ "inset-y": ["top", "bottom"],
2967
+ flex: ["basis", "grow", "shrink"],
2968
+ gap: ["gap-x", "gap-y"],
2969
+ p: ["px", "py", "ps", "pe", "pbs", "pbe", "pt", "pr", "pb", "pl"],
2970
+ px: ["pr", "pl"],
2971
+ py: ["pt", "pb"],
2972
+ m: ["mx", "my", "ms", "me", "mbs", "mbe", "mt", "mr", "mb", "ml"],
2973
+ mx: ["mr", "ml"],
2974
+ my: ["mt", "mb"],
2975
+ size: ["w", "h"],
2976
+ "font-size": ["leading"],
2977
+ "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
2978
+ "fvn-ordinal": ["fvn-normal"],
2979
+ "fvn-slashed-zero": ["fvn-normal"],
2980
+ "fvn-figure": ["fvn-normal"],
2981
+ "fvn-spacing": ["fvn-normal"],
2982
+ "fvn-fraction": ["fvn-normal"],
2983
+ "line-clamp": ["display", "overflow"],
2984
+ rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
2985
+ "rounded-s": ["rounded-ss", "rounded-es"],
2986
+ "rounded-e": ["rounded-se", "rounded-ee"],
2987
+ "rounded-t": ["rounded-tl", "rounded-tr"],
2988
+ "rounded-r": ["rounded-tr", "rounded-br"],
2989
+ "rounded-b": ["rounded-br", "rounded-bl"],
2990
+ "rounded-l": ["rounded-tl", "rounded-bl"],
2991
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
2992
+ "border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-bs", "border-w-be", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
2993
+ "border-w-x": ["border-w-r", "border-w-l"],
2994
+ "border-w-y": ["border-w-t", "border-w-b"],
2995
+ "border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-bs", "border-color-be", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
2996
+ "border-color-x": ["border-color-r", "border-color-l"],
2997
+ "border-color-y": ["border-color-t", "border-color-b"],
2998
+ translate: ["translate-x", "translate-y", "translate-none"],
2999
+ "translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
3000
+ "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mbs", "scroll-mbe", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
3001
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
3002
+ "scroll-my": ["scroll-mt", "scroll-mb"],
3003
+ "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pbs", "scroll-pbe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
3004
+ "scroll-px": ["scroll-pr", "scroll-pl"],
3005
+ "scroll-py": ["scroll-pt", "scroll-pb"],
3006
+ touch: ["touch-x", "touch-y", "touch-pz"],
3007
+ "touch-x": ["touch"],
3008
+ "touch-y": ["touch"],
3009
+ "touch-pz": ["touch"]
3010
+ },
3011
+ conflictingClassGroupModifiers: {
3012
+ "font-size": ["leading"]
3013
+ },
3014
+ postfixLookupClassGroups: ["container-type"],
3015
+ orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3016
+ };
3017
+ }, mo = (e, {
3018
+ cacheSize: t,
3019
+ prefix: o,
3020
+ experimentalParseClassName: r,
3021
+ extend: s = {},
3022
+ override: a = {}
3023
+ }) => (ee(e, "cacheSize", t), ee(e, "prefix", o), ee(e, "experimentalParseClassName", r), pe(e.theme, a.theme), pe(e.classGroups, a.classGroups), pe(e.conflictingClassGroups, a.conflictingClassGroups), pe(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), ee(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), ee(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), me(e.theme, s.theme), me(e.classGroups, s.classGroups), me(e.conflictingClassGroups, s.conflictingClassGroups), me(e.conflictingClassGroupModifiers, s.conflictingClassGroupModifiers), Ae(e, s, "postfixLookupClassGroups"), Ae(e, s, "orderSensitiveModifiers"), e), ee = (e, t, o) => {
3024
+ o !== void 0 && (e[t] = o);
3025
+ }, pe = (e, t) => {
3026
+ if (t)
3027
+ for (const o in t)
3028
+ ee(e, o, t[o]);
3029
+ }, me = (e, t) => {
3030
+ if (t)
3031
+ for (const o in t)
3032
+ Ae(e, t, o);
3033
+ }, Ae = (e, t, o) => {
3034
+ const r = t[o];
3035
+ r !== void 0 && (e[o] = e[o] ? e[o].concat(r) : r);
3036
+ }, bo = (e, ...t) => typeof e == "function" ? Ye(Xe, e, ...t) : Ye(() => mo(Xe(), e), ...t), fo = bo({
3037
+ extend: {
3038
+ theme: {
3039
+ color: [
3040
+ "accent",
3041
+ "on-accent",
3042
+ "accent-hover",
3043
+ "accent-subtle",
3044
+ "accent-subtle-hover",
3045
+ "accent-strong",
3046
+ "accent-strong-hover",
3047
+ "fg",
3048
+ "fg-accent",
3049
+ "surface",
3050
+ "surface-muted",
3051
+ "edge",
3052
+ "danger",
3053
+ "danger-hover"
3054
+ ],
3055
+ radius: ["btn"]
3056
+ }
3057
+ }
3058
+ });
3059
+ function A(...e) {
3060
+ return fo(Ct(e));
3061
+ }
3062
+ const go = ["src", "alt"], ho = /* @__PURE__ */ te({
3063
+ __name: "SidebarHeader",
3064
+ props: {
3065
+ isCollapsed: { type: Boolean },
3066
+ headerOptions: {}
3067
+ },
3068
+ setup(e) {
3069
+ const t = {
3070
+ sidebarHeaderContainer: "flex items-center gap-2",
3071
+ sidebarHeaderLogo: "w-10 h-10 rounded flex-shrink-0",
3072
+ sidebarHeaderTitle: "overflow-hidden whitespace-nowrap transition-all duration-300 font-200 font-semibold whitespace-nowrap"
3073
+ };
3074
+ return (o, r) => (y(), w("div", {
3075
+ class: b(t.sidebarHeaderContainer)
3076
+ }, [
3077
+ h("img", {
3078
+ class: b(t.sidebarHeaderLogo),
3079
+ style: $e(`background-color:${e.headerOptions.logoBgColor}`),
3080
+ src: e.headerOptions.logoSrc,
3081
+ alt: e.headerOptions.logoAlt
3082
+ }, null, 14, go),
3083
+ e.isCollapsed ? U("", !0) : (y(), w("h2", {
3084
+ key: 0,
3085
+ class: b(t.sidebarHeaderTitle)
3086
+ }, B(e.headerOptions.sidebarTitle), 3))
3087
+ ], 2));
3088
+ }
3089
+ }), vo = (e, t) => {
3090
+ const o = e.__vccOpts || e;
3091
+ for (const [r, s] of t)
3092
+ o[r] = s;
3093
+ return o;
3094
+ }, xo = /* @__PURE__ */ vo(ho, [["__scopeId", "data-v-1be64a50"]]), yo = { key: 0 }, ko = {
3095
+ role: "navigation",
3096
+ "aria-label": "sidebar shortcut items"
3097
+ }, wo = ["id", "href", "target"], Co = ["id"], zo = /* @__PURE__ */ te({
3098
+ __name: "SidebarShortcuts",
3099
+ props: {
3100
+ isCollapsed: { type: Boolean },
3101
+ shortcutOptions: {}
3102
+ },
3103
+ setup(e) {
3104
+ const t = {
3105
+ shortcutList: "h-12 flex items-center justify-start",
3106
+ shortcutItem: "h-12 w-[70px] flex flex-col items-center justify-start gap-1",
3107
+ shortcutItemIcon: "text-[24px] az az-",
3108
+ shortcutItemLabel: "font-semibold text-[10px]"
3109
+ };
3110
+ return (o, r) => e.shortcutOptions.items && e.shortcutOptions.items.length > 0 ? (y(), w("section", yo, [
3111
+ h("nav", ko, [
3112
+ h("ul", {
3113
+ role: "menu",
3114
+ class: b(t.shortcutList)
3115
+ }, [
3116
+ (y(!0), w(re, null, ze(e.shortcutOptions.items, (s) => (y(), w("div", {
3117
+ key: s.id,
3118
+ class: ""
3119
+ }, [
3120
+ s.type === "link" ? (y(), w("a", {
3121
+ key: 0,
3122
+ id: `shortcut-${s.id}`,
3123
+ href: s.link,
3124
+ target: s.target
3125
+ }, [
3126
+ h("div", {
3127
+ class: b(t.shortcutItem)
3128
+ }, [
3129
+ h("i", {
3130
+ class: b(`${t.shortcutItemIcon}${s.icon}`)
3131
+ }, null, 2),
3132
+ h("span", {
3133
+ class: b([
3134
+ "inline-block overflow-hidden whitespace-nowrap transition-all duration-300",
3135
+ e.isCollapsed ? "max-w-0 opacity-0" : "max-w-xs opacity-100"
3136
+ ])
3137
+ }, [
3138
+ h("p", {
3139
+ class: b(t.shortcutItemLabel)
3140
+ }, B(s.label), 3)
3141
+ ], 2)
3142
+ ], 2)
3143
+ ], 8, wo)) : U("", !0),
3144
+ s.type === "button" ? (y(), w("button", {
3145
+ key: 1,
3146
+ id: `shortcut-${s.id}`
3147
+ }, [
3148
+ h("div", {
3149
+ class: b(t.shortcutItem)
3150
+ }, [
3151
+ h("i", {
3152
+ class: b(`${t.shortcutItemIcon}${s.icon}`)
3153
+ }, null, 2),
3154
+ h("span", {
3155
+ class: b([
3156
+ "inline-block overflow-hidden whitespace-nowrap transition-all duration-300",
3157
+ e.isCollapsed ? "max-w-0 opacity-0" : "max-w-xs opacity-100"
3158
+ ])
3159
+ }, [
3160
+ h("p", {
3161
+ class: b(t.shortcutItemLabel)
3162
+ }, B(s.label), 3)
3163
+ ], 2)
3164
+ ], 2)
3165
+ ], 8, Co)) : U("", !0)
3166
+ ]))), 128))
3167
+ ], 2)
3168
+ ])
3169
+ ])) : U("", !0);
3170
+ }
3171
+ }), So = ["id", "aria-label"], Oo = ["id", "href", "target", "aria-current", "aria-label"], Io = ["id", "aria-current", "aria-label", "onClick"], Ao = ["id", "aria-expanded", "aria-controls", "onClick"], $o = ["id", "aria-hidden"], Go = ["id", "href", "target", "aria-current"], Mo = ["id", "aria-current", "onClick"], Po = ["id", "href", "target", "aria-current"], Lo = ["id", "aria-current", "onClick"], we = "justify-center gap-0 px-2", be = "max-w-[12rem] opacity-100 translate-x-0", Ce = "max-w-0 opacity-0 -translate-x-1 pointer-events-none", K = "flex-1 truncate leading-tight", To = "max-h-96 opacity-100 py-1", Bo = "max-h-0 opacity-0 py-0 pointer-events-none", Ro = /* @__PURE__ */ te({
3172
+ __name: "SidebarNavigationItems",
3173
+ props: {
3174
+ isCollapsed: { type: Boolean },
3175
+ navigationOptions: {}
3176
+ },
3177
+ setup(e) {
3178
+ const t = e, o = vt(/* @__PURE__ */ new Set());
3179
+ function r(x) {
3180
+ var O;
3181
+ return !!((O = x.subItems) != null && O.length);
3182
+ }
3183
+ function s(x) {
3184
+ return o.has(x);
3185
+ }
3186
+ function a(x) {
3187
+ o.has(x) ? o.delete(x) : o.add(x);
3188
+ }
3189
+ function c() {
3190
+ for (const x of t.navigationOptions.items) {
3191
+ if (!r(x)) continue;
3192
+ const O = x.subItems.some((n) => n.current);
3193
+ (x.current || O) && o.add(x.id);
3194
+ }
3195
+ }
3196
+ Ue(
3197
+ () => t.navigationOptions.items,
3198
+ () => c(),
3199
+ { immediate: !0, deep: !0 }
3200
+ ), Ue(
3201
+ () => t.isCollapsed,
3202
+ (x) => {
3203
+ x && o.clear();
3204
+ }
3205
+ );
3206
+ function g(x) {
3207
+ var O;
3208
+ return ((O = x.subItems) != null ? O : []).map((n) => ({
3209
+ id: n.id,
3210
+ label: n.label
3211
+ }));
3212
+ }
3213
+ function v(x, O) {
3214
+ var N;
3215
+ const n = (N = x.subItems) == null ? void 0 : N.find(
3216
+ (j, I) => j.id !== void 0 ? j.id === O : I === O
3217
+ );
3218
+ if (n) {
3219
+ if (n.type === "button") {
3220
+ n.onClick();
3221
+ return;
3222
+ }
3223
+ if (n.link) {
3224
+ if (n.target === "_blank") {
3225
+ window.open(n.link, "_blank", "noopener,noreferrer");
3226
+ return;
3227
+ }
3228
+ window.location.assign(n.link);
3229
+ }
3230
+ }
3231
+ }
3232
+ const m = [
3233
+ "group flex w-full min-h-12 items-center gap-3 rounded-xl px-3 py-2.5",
3234
+ "font-sans text-sm font-semibold no-underline border-0 bg-transparent",
3235
+ "text-[color:var(--color-text-primary)] cursor-pointer text-left",
3236
+ "hover:bg-[color-mix(in_srgb,var(--color-text-primary)_5%,transparent)]",
3237
+ "focus-visible:outline focus-visible:outline-[length:var(--border-m)]",
3238
+ "focus-visible:outline-[color:var(--color-text-accent)] focus-visible:outline-offset-[length:var(--border-m)]",
3239
+ "aria-[current=page]:bg-[#F3EDE3] aria-[current=page]:hover:bg-[#F3EDE3]",
3240
+ "aria-[expanded=true]:bg-[color-mix(in_srgb,var(--color-text-primary)_4%,transparent)]",
3241
+ "transition-[padding,gap,background-color] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
3242
+ "motion-reduce:transition-none"
3243
+ ].join(" "), C = [
3244
+ "inline-flex min-w-0 items-center overflow-hidden whitespace-nowrap",
3245
+ "transition-[max-width,opacity,transform,margin] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
3246
+ "motion-reduce:transition-none"
3247
+ ].join(" "), z = [
3248
+ "az text-[1.5rem] leading-none shrink-0 text-[color:var(--color-text-primary)]",
3249
+ "transition-transform duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
3250
+ "motion-reduce:transition-none"
3251
+ ].join(" "), k = [
3252
+ "az az-ui-chevron-down text-[1rem] leading-none shrink-0 text-[color:var(--color-text-secondary)]",
3253
+ "transition-transform duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
3254
+ "motion-reduce:transition-none"
3255
+ ].join(" "), S = [
3256
+ "m-0 flex list-none flex-col gap-0.5 overflow-hidden pl-4",
3257
+ "transition-[max-height,opacity,padding] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
3258
+ "motion-reduce:transition-none"
3259
+ ].join(" "), P = [
3260
+ "flex w-full min-h-10 items-center rounded-lg px-3 py-2",
3261
+ "font-sans text-sm font-medium no-underline border-0 bg-transparent",
3262
+ "text-[color:var(--color-text-secondary)] cursor-pointer text-left",
3263
+ "hover:bg-[color-mix(in_srgb,var(--color-text-primary)_5%,transparent)] hover:text-[color:var(--color-text-primary)]",
3264
+ "focus-visible:outline focus-visible:outline-[length:var(--border-m)]",
3265
+ "focus-visible:outline-[color:var(--color-text-accent)] focus-visible:outline-offset-[length:var(--border-m)]",
3266
+ "aria-[current=page]:bg-[#F3EDE3] aria-[current=page]:text-[color:var(--color-text-primary)]"
3267
+ ].join(" "), $ = D(() => ({
3268
+ tooltip: {
3269
+ root: "flex w-full [--tooltip-z-index:50]"
3270
+ },
3271
+ listBox: {
3272
+ root: "w-full",
3273
+ activator: "w-full",
3274
+ panel: "z-50"
3275
+ }
3276
+ }));
3277
+ return (x, O) => (y(!0), w(re, null, ze(e.navigationOptions.items, (n, N) => {
3278
+ var j;
3279
+ return y(), w("li", {
3280
+ key: (j = n.id) != null ? j : N,
3281
+ "data-testid": "sidebar-nav-item",
3282
+ class: "list-none"
3283
+ }, [
3284
+ e.isCollapsed && r(n) ? (y(), q(p(Ke), {
3285
+ key: 0,
3286
+ items: g(n),
3287
+ position: "right",
3288
+ trigger: "hover",
3289
+ "aria-label": n.label,
3290
+ ui: $.value.listBox,
3291
+ onAction: (I) => v(n, I)
3292
+ }, {
3293
+ activator: Se(() => [
3294
+ h("button", {
3295
+ id: `navigation-${n.id}`,
3296
+ type: "button",
3297
+ "data-testid": "sidebar-nav-expand",
3298
+ class: b(p(A)(p(m), we)),
3299
+ "aria-label": n.label,
3300
+ "aria-haspopup": !0
3301
+ }, [
3302
+ h("i", {
3303
+ "data-testid": "sidebar-nav-icon",
3304
+ class: b(p(A)(p(z), `az-${n.icon}`)),
3305
+ "aria-hidden": "true"
3306
+ }, null, 2),
3307
+ h("span", {
3308
+ "data-testid": "sidebar-nav-label",
3309
+ class: b(p(A)(p(C), K, Ce)),
3310
+ "aria-hidden": "true"
3311
+ }, B(n.label), 3)
3312
+ ], 10, So)
3313
+ ]),
3314
+ _: 2
3315
+ }, 1032, ["items", "aria-label", "ui", "onAction"])) : e.isCollapsed ? (y(), q(p(kt), {
3316
+ key: 1,
3317
+ id: `sidebar-tooltip-${n.id}`,
3318
+ text: n.label,
3319
+ position: "right",
3320
+ ui: $.value.tooltip
3321
+ }, {
3322
+ default: Se(() => [
3323
+ n.type === "link" ? (y(), w("a", {
3324
+ key: 0,
3325
+ id: `navigation-${n.id}`,
3326
+ "data-testid": "sidebar-nav-link",
3327
+ class: b(p(A)(p(m), we)),
3328
+ href: n.link,
3329
+ target: n.target,
3330
+ "aria-current": n.current ? "page" : void 0,
3331
+ "aria-label": n.label
3332
+ }, [
3333
+ h("i", {
3334
+ "data-testid": "sidebar-nav-icon",
3335
+ class: b(p(A)(p(z), `az-${n.icon}`)),
3336
+ "aria-hidden": "true"
3337
+ }, null, 2),
3338
+ h("span", {
3339
+ "data-testid": "sidebar-nav-label",
3340
+ class: b(p(A)(p(C), K, Ce)),
3341
+ "aria-hidden": "true"
3342
+ }, B(n.label), 3)
3343
+ ], 10, Oo)) : (y(), w("button", {
3344
+ key: 1,
3345
+ id: `navigation-${n.id}`,
3346
+ type: "button",
3347
+ "data-testid": "sidebar-nav-button",
3348
+ class: b(p(A)(p(m), we)),
3349
+ "aria-current": n.current ? "page" : void 0,
3350
+ "aria-label": n.label,
3351
+ onClick: n.onClick
3352
+ }, [
3353
+ h("i", {
3354
+ "data-testid": "sidebar-nav-icon",
3355
+ class: b(p(A)(p(z), `az-${n.icon}`)),
3356
+ "aria-hidden": "true"
3357
+ }, null, 2),
3358
+ h("span", {
3359
+ "data-testid": "sidebar-nav-label",
3360
+ class: b(p(A)(p(C), K, Ce)),
3361
+ "aria-hidden": "true"
3362
+ }, B(n.label), 3)
3363
+ ], 10, Io))
3364
+ ]),
3365
+ _: 2
3366
+ }, 1032, ["id", "text", "ui"])) : r(n) ? (y(), w(re, { key: 2 }, [
3367
+ h("button", {
3368
+ id: `navigation-${n.id}`,
3369
+ type: "button",
3370
+ "data-testid": "sidebar-nav-expand",
3371
+ class: b(p(m)),
3372
+ "aria-expanded": s(n.id),
3373
+ "aria-controls": `navigation-submenu-${n.id}`,
3374
+ onClick: (I) => a(n.id)
3375
+ }, [
3376
+ h("i", {
3377
+ "data-testid": "sidebar-nav-icon",
3378
+ class: b(p(A)(p(z), `az-${n.icon}`)),
3379
+ "aria-hidden": "true"
3380
+ }, null, 2),
3381
+ h("span", {
3382
+ "data-testid": "sidebar-nav-label",
3383
+ class: b(p(A)(p(C), K, be))
3384
+ }, B(n.label), 3),
3385
+ h("i", {
3386
+ "data-testid": "sidebar-nav-chevron",
3387
+ class: b(p(A)(p(C), p(k), be, s(n.id) && "rotate-180")),
3388
+ "aria-hidden": "true"
3389
+ }, null, 2)
3390
+ ], 10, Ao),
3391
+ h("ul", {
3392
+ id: `navigation-submenu-${n.id}`,
3393
+ "data-testid": "sidebar-nav-submenu",
3394
+ class: b(p(A)(p(S), s(n.id) ? To : Bo)),
3395
+ "aria-hidden": !s(n.id) || void 0
3396
+ }, [
3397
+ (y(!0), w(re, null, ze(n.subItems, (I) => (y(), w("li", {
3398
+ key: I.id,
3399
+ class: "list-none"
3400
+ }, [
3401
+ I.type === "link" ? (y(), w("a", {
3402
+ key: 0,
3403
+ id: `navigation-${I.id}`,
3404
+ "data-testid": "sidebar-nav-sublink",
3405
+ class: b(p(P)),
3406
+ href: I.link,
3407
+ target: I.target,
3408
+ "aria-current": I.current ? "page" : void 0
3409
+ }, B(I.label), 11, Go)) : (y(), w("button", {
3410
+ key: 1,
3411
+ id: `navigation-${I.id}`,
3412
+ type: "button",
3413
+ "data-testid": "sidebar-nav-subbutton",
3414
+ class: b(p(P)),
3415
+ "aria-current": I.current ? "page" : void 0,
3416
+ onClick: I.onClick
3417
+ }, B(I.label), 11, Mo))
3418
+ ]))), 128))
3419
+ ], 10, $o)
3420
+ ], 64)) : (y(), w(re, { key: 3 }, [
3421
+ n.type === "link" ? (y(), w("a", {
3422
+ key: 0,
3423
+ id: `navigation-${n.id}`,
3424
+ "data-testid": "sidebar-nav-link",
3425
+ class: b(p(m)),
3426
+ href: n.link,
3427
+ target: n.target,
3428
+ "aria-current": n.current ? "page" : void 0
3429
+ }, [
3430
+ h("i", {
3431
+ "data-testid": "sidebar-nav-icon",
3432
+ class: b(p(A)(p(z), `az-${n.icon}`)),
3433
+ "aria-hidden": "true"
3434
+ }, null, 2),
3435
+ h("span", {
3436
+ "data-testid": "sidebar-nav-label",
3437
+ class: b(p(A)(p(C), K, be))
3438
+ }, B(n.label), 3)
3439
+ ], 10, Po)) : (y(), w("button", {
3440
+ key: 1,
3441
+ id: `navigation-${n.id}`,
3442
+ type: "button",
3443
+ "data-testid": "sidebar-nav-button",
3444
+ class: b(p(m)),
3445
+ "aria-current": n.current ? "page" : void 0,
3446
+ onClick: n.onClick
3447
+ }, [
3448
+ h("i", {
3449
+ "data-testid": "sidebar-nav-icon",
3450
+ class: b(p(A)(p(z), `az-${n.icon}`)),
3451
+ "aria-hidden": "true"
3452
+ }, null, 2),
3453
+ h("span", {
3454
+ "data-testid": "sidebar-nav-label",
3455
+ class: b(p(A)(p(C), K, be))
3456
+ }, B(n.label), 3)
3457
+ ], 10, Lo))
3458
+ ], 64))
3459
+ ]);
3460
+ }), 128));
3461
+ }
3462
+ }), jo = ["src", "alt", "aria-hidden"], Qe = /* @__PURE__ */ te({
3463
+ __name: "SidebarFooterAvatar",
3464
+ props: {
3465
+ avatarUrl: {},
3466
+ name: {},
3467
+ initials: {},
3468
+ initialsBG: {}
3469
+ },
3470
+ setup(e) {
3471
+ const t = e, o = {
3472
+ root: "h-10 w-10 shrink-0 overflow-hidden rounded-full ring-1 ring-[color:var(--color-border-primary)]",
3473
+ img: "h-full w-full object-cover",
3474
+ initials: "flex h-full w-full items-center justify-center text-xs font-semibold text-[color:var(--color-text-primary-inverse)]"
3475
+ }, r = D(() => ({
3476
+ backgroundColor: t.initialsBG || "var(--color-blue-grey-600, #525252)"
3477
+ }));
3478
+ return (s, a) => (y(), w("div", {
3479
+ "data-testid": "sidebar-avatar",
3480
+ class: b(o.root)
3481
+ }, [
3482
+ e.avatarUrl ? (y(), w("img", {
3483
+ key: 0,
3484
+ "data-testid": "sidebar-avatar-img",
3485
+ class: b(o.img),
3486
+ src: e.avatarUrl,
3487
+ alt: e.name ? `${e.name} avatar` : "",
3488
+ "aria-hidden": e.name ? void 0 : !0
3489
+ }, null, 10, jo)) : (y(), w("span", {
3490
+ key: 1,
3491
+ "data-testid": "sidebar-avatar-initials",
3492
+ class: b(o.initials),
3493
+ style: $e(r.value),
3494
+ "aria-hidden": "true"
3495
+ }, B(e.initials), 7))
3496
+ ], 2));
3497
+ }
3498
+ }), Eo = ["aria-label"], No = ["aria-hidden"], Fo = /* @__PURE__ */ te({
3499
+ __name: "SidebarFooter",
3500
+ props: {
3501
+ isCollapsed: { type: Boolean },
3502
+ footerOptions: {}
3503
+ },
3504
+ emits: ["toggleSidebarCollapsed"],
3505
+ setup(e, { emit: t }) {
3506
+ const o = e, r = t, s = {
3507
+ root: [
3508
+ "w-full flex items-center gap-2",
3509
+ "transition-[flex-direction,gap] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
3510
+ "motion-reduce:transition-none"
3511
+ ].join(" "),
3512
+ rootExpanded: "flex-row justify-between",
3513
+ rootCollapsed: "flex-col items-center",
3514
+ identity: [
3515
+ "flex min-w-0 items-center gap-3",
3516
+ "transition-[flex-grow] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
3517
+ "motion-reduce:transition-none"
3518
+ ].join(" "),
3519
+ identityExpanded: "flex-1",
3520
+ text: [
3521
+ "min-w-0 flex flex-col overflow-hidden whitespace-nowrap",
3522
+ "transition-[max-width,opacity,transform] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
3523
+ "motion-reduce:transition-none"
3524
+ ].join(" "),
3525
+ textOpen: "max-w-[10rem] opacity-100 translate-x-0",
3526
+ textClosed: "max-w-0 opacity-0 -translate-x-1 pointer-events-none",
3527
+ name: "m-0 truncate font-sans text-sm font-semibold leading-tight text-[color:var(--color-text-primary)]",
3528
+ jobTitle: "m-0 truncate font-sans text-xs leading-tight text-[color:var(--color-text-tertiary)]",
3529
+ collapseBtn: [
3530
+ "transition-transform duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
3531
+ "motion-reduce:transition-none"
3532
+ ].join(" "),
3533
+ avatarTrigger: [
3534
+ "inline-flex shrink-0 rounded-full border-0 bg-transparent p-0 cursor-pointer",
3535
+ "focus-visible:outline focus-visible:outline-[length:var(--border-m)]",
3536
+ "focus-visible:outline-[color:var(--color-text-accent)] focus-visible:outline-offset-[length:var(--border-m)]"
3537
+ ].join(" ")
3538
+ }, a = D(
3539
+ () => {
3540
+ var k;
3541
+ return (k = o.footerOptions.profileMenuItems) != null ? k : [];
3542
+ }
3543
+ ), c = D(() => a.value.length > 0), g = D(
3544
+ () => a.value.map((k) => ({
3545
+ id: k.id,
3546
+ label: k.label,
3547
+ disabled: k.disabled,
3548
+ appearance: k.appearance,
3549
+ divider: k.divider
3550
+ }))
3551
+ ), v = D(() => ({
3552
+ root: "shrink-0",
3553
+ activator: "inline-flex",
3554
+ panel: "z-50"
3555
+ })), m = D(
3556
+ () => {
3557
+ var k;
3558
+ return (k = o.footerOptions.profileMenuPosition) != null ? k : "bottom-up";
3559
+ }
3560
+ );
3561
+ function C(k) {
3562
+ return a.value.find(
3563
+ (S, P) => S.id !== void 0 ? S.id === k : P === k
3564
+ );
3565
+ }
3566
+ function z(k) {
3567
+ var S, P;
3568
+ (P = (S = C(k)) == null ? void 0 : S.onClick) == null || P.call(S);
3569
+ }
3570
+ return (k, S) => {
3571
+ var P, $, x;
3572
+ return y(), w("div", {
3573
+ "data-testid": "sidebar-footer",
3574
+ class: b(p(A)(s.root, e.isCollapsed ? s.rootCollapsed : s.rootExpanded))
3575
+ }, [
3576
+ h("div", {
3577
+ class: b(p(A)(s.identity, !e.isCollapsed && s.identityExpanded))
3578
+ }, [
3579
+ c.value ? (y(), q(p(Ke), {
3580
+ key: 0,
3581
+ items: g.value,
3582
+ position: m.value,
3583
+ trigger: "hover",
3584
+ "aria-label": e.footerOptions.name ? `${e.footerOptions.name} menu` : "User menu",
3585
+ ui: v.value,
3586
+ onAction: z
3587
+ }, {
3588
+ activator: Se(() => {
3589
+ var O;
3590
+ return [
3591
+ h("button", {
3592
+ type: "button",
3593
+ "data-testid": "sidebar-profile-trigger",
3594
+ class: b(s.avatarTrigger),
3595
+ "aria-label": e.footerOptions.name ? `${e.footerOptions.name} menu` : "User menu"
3596
+ }, [
3597
+ Oe(Qe, {
3598
+ "avatar-url": e.footerOptions.avatarUrl,
3599
+ name: e.footerOptions.name,
3600
+ initials: (O = e.footerOptions.initials) != null ? O : "AZ",
3601
+ "initials-b-g": e.footerOptions.initialsBG
3602
+ }, null, 8, ["avatar-url", "name", "initials", "initials-b-g"])
3603
+ ], 10, Eo)
3604
+ ];
3605
+ }),
3606
+ _: 1
3607
+ }, 8, ["items", "position", "aria-label", "ui"])) : (y(), q(Qe, {
3608
+ key: 1,
3609
+ "avatar-url": e.footerOptions.avatarUrl,
3610
+ name: e.footerOptions.name,
3611
+ initials: (P = e.footerOptions.initials) != null ? P : "AZ",
3612
+ "initials-b-g": e.footerOptions.initialsBG
3613
+ }, null, 8, ["avatar-url", "name", "initials", "initials-b-g"])),
3614
+ h("div", {
3615
+ "data-testid": "sidebar-user-text",
3616
+ class: b(p(A)(s.text, e.isCollapsed ? s.textClosed : s.textOpen)),
3617
+ "aria-hidden": e.isCollapsed || void 0
3618
+ }, [
3619
+ h("p", {
3620
+ "data-testid": "sidebar-user-name",
3621
+ class: b(s.name)
3622
+ }, B(($ = e.footerOptions.name) != null ? $ : "First Last"), 3),
3623
+ h("p", {
3624
+ "data-testid": "sidebar-user-title",
3625
+ class: b(s.jobTitle)
3626
+ }, B((x = e.footerOptions.jobTitle) != null ? x : "Job Title"), 3)
3627
+ ], 10, No)
3628
+ ], 2),
3629
+ Oe(p(wt), {
3630
+ "data-testid": "sidebar-collapse",
3631
+ ghost: "",
3632
+ appearance: "standard",
3633
+ size: "s",
3634
+ class: b(p(A)(s.collapseBtn, e.isCollapsed && "rotate-180")),
3635
+ "aria-label": e.isCollapsed ? "Expand sidebar" : "Collapse sidebar",
3636
+ "icon-class": "az-ui-sidebar-collapse",
3637
+ onClick: S[0] || (S[0] = (O) => r("toggleSidebarCollapsed"))
3638
+ }, null, 8, ["class", "aria-label"])
3639
+ ], 2);
3640
+ };
3641
+ }
3642
+ }), Vo = {
3643
+ showHeader: !0,
3644
+ classes: "",
3645
+ headerOptions: () => ({
3646
+ showSearch: !0,
3647
+ logoSrc: "",
3648
+ logoAlt: "",
3649
+ logoBgColor: "",
3650
+ sidebarTitle: "Product name"
3651
+ }),
3652
+ showShortcuts: !1,
3653
+ shortcutOptions: () => ({ items: [] }),
3654
+ navigationOptions: () => ({ items: [] }),
3655
+ footerOptions: () => ({ initials: "AZ" })
3656
+ }, Wo = ["aria-expanded"], Uo = {
3657
+ key: 0,
3658
+ "data-testid": "sidebar-header-slot"
3659
+ }, Ho = {
3660
+ key: 1,
3661
+ "data-testid": "sidebar-shortcuts-slot"
3662
+ }, Do = {
3663
+ "data-testid": "sidebar-nav",
3664
+ "aria-label": "Main"
3665
+ }, tr = /* @__PURE__ */ te({
3666
+ __name: "index",
3667
+ props: /* @__PURE__ */ yt({
3668
+ showHeader: { type: Boolean },
3669
+ classes: {},
3670
+ headerOptions: {},
3671
+ showShortcuts: { type: Boolean },
3672
+ shortcutOptions: {},
3673
+ navigationOptions: {},
3674
+ footerOptions: {}
3675
+ }, Vo),
3676
+ setup(e) {
3677
+ const t = xt(!1), o = D(() => t.value ? "4.5rem" : "17.5rem"), r = {
3678
+ sidebarContainer: [
3679
+ "font-sans h-full min-h-full self-stretch flex flex-col gap-4 p-4",
3680
+ "bg-surface text-fg border-r border-edge",
3681
+ "transition-[width,padding] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
3682
+ "motion-reduce:transition-none",
3683
+ "will-change-[width]"
3684
+ ].join(" "),
3685
+ /** Expanded clips content; collapsed stays visible so tooltips / action menus escape the rail. */
3686
+ sidebarOverflowExpanded: "overflow-hidden",
3687
+ sidebarOverflowCollapsed: "overflow-visible",
3688
+ navSection: "flex-1 min-h-0",
3689
+ navSectionExpanded: "overflow-y-auto overflow-x-hidden",
3690
+ navSectionCollapsed: "overflow-visible",
3691
+ navList: "flex flex-col gap-1 m-0 p-0 list-none",
3692
+ footer: "mt-auto pt-4 flex items-center border-t border-edge shrink-0"
3693
+ };
3694
+ function s() {
3695
+ t.value = !t.value;
3696
+ }
3697
+ return (a, c) => (y(), w("aside", {
3698
+ "data-testid": "sidebar",
3699
+ class: b(
3700
+ p(A)(
3701
+ r.sidebarContainer,
3702
+ t.value ? r.sidebarOverflowCollapsed : r.sidebarOverflowExpanded,
3703
+ e.classes
3704
+ )
3705
+ ),
3706
+ style: $e({ width: o.value }),
3707
+ "aria-expanded": !t.value
3708
+ }, [
3709
+ e.showHeader || a.$slots.header ? (y(), w("div", Uo, [
3710
+ ce(a.$slots, "header"),
3711
+ e.showHeader && !a.$slots.header ? (y(), q(xo, {
3712
+ key: 0,
3713
+ "is-collapsed": t.value,
3714
+ "header-options": e.headerOptions
3715
+ }, null, 8, ["is-collapsed", "header-options"])) : U("", !0)
3716
+ ])) : U("", !0),
3717
+ e.showShortcuts || a.$slots.shortcuts ? (y(), w("div", Ho, [
3718
+ ce(a.$slots, "shortcuts"),
3719
+ e.showShortcuts && !a.$slots.shortcuts ? (y(), q(zo, {
3720
+ key: 0,
3721
+ "is-collapsed": t.value,
3722
+ "shortcut-options": e.shortcutOptions
3723
+ }, null, 8, ["is-collapsed", "shortcut-options"])) : U("", !0)
3724
+ ])) : U("", !0),
3725
+ h("section", {
3726
+ class: b(
3727
+ p(A)(
3728
+ r.navSection,
3729
+ t.value ? r.navSectionCollapsed : r.navSectionExpanded
3730
+ )
3731
+ )
3732
+ }, [
3733
+ h("nav", Do, [
3734
+ h("ul", {
3735
+ "data-testid": "sidebar-nav-list",
3736
+ class: b(r.navList)
3737
+ }, [
3738
+ Oe(Ro, {
3739
+ "is-collapsed": t.value,
3740
+ "navigation-options": e.navigationOptions
3741
+ }, null, 8, ["is-collapsed", "navigation-options"]),
3742
+ ce(a.$slots, "nav")
3743
+ ], 2)
3744
+ ])
3745
+ ], 2),
3746
+ h("div", {
3747
+ "data-testid": "sidebar-footer-slot",
3748
+ class: b(r.footer)
3749
+ }, [
3750
+ ce(a.$slots, "footer"),
3751
+ a.$slots.footer ? U("", !0) : (y(), q(Fo, {
3752
+ key: 0,
3753
+ "is-collapsed": t.value,
3754
+ "footer-options": e.footerOptions,
3755
+ onToggleSidebarCollapsed: s
3756
+ }, null, 8, ["is-collapsed", "footer-options"]))
3757
+ ], 2)
3758
+ ], 14, Wo));
3759
+ }
3760
+ });
3761
+ export {
3762
+ tr as AzSidebar
3763
+ };