@ptlm-azulejo/sidebar 0.0.1-alpha.91 → 0.0.1-alpha.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +873 -726
- package/dist/index.umd.cjs +1 -1
- package/dist/packages/Sidebar/src/components/SidebarFooter.vue.d.ts +2 -2
- package/dist/packages/Sidebar/src/components/SidebarFooter.vue.d.ts.map +1 -1
- package/dist/packages/Sidebar/src/components/SidebarFooterAvatar.vue.d.ts.map +1 -1
- package/dist/packages/Sidebar/src/components/SidebarNavigationItems.vue.d.ts.map +1 -1
- package/dist/packages/Sidebar/src/index.stories.d.ts +2 -6
- package/dist/packages/Sidebar/src/index.stories.d.ts.map +1 -1
- package/dist/packages/Sidebar/src/index.vue.d.ts +8 -56
- package/dist/packages/Sidebar/src/index.vue.d.ts.map +1 -1
- package/dist/packages/Sidebar/src/models/sidebar-navigation-items.models.d.ts +10 -4
- package/dist/packages/Sidebar/src/models/sidebar-navigation-items.models.d.ts.map +1 -1
- package/dist/packages/Sidebar/src/models/sidebar.models.d.ts +4 -28
- package/dist/packages/Sidebar/src/models/sidebar.models.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -1,138 +1,139 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
for (var
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var
|
|
9
|
-
|
|
1
|
+
var mt = Object.defineProperty;
|
|
2
|
+
var Ee = Object.getOwnPropertySymbols;
|
|
3
|
+
var pt = Object.prototype.hasOwnProperty, bt = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var Ne = (e, t, o) => t in e ? mt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, Fe = (e, t) => {
|
|
5
|
+
for (var o in t || (t = {}))
|
|
6
|
+
pt.call(t, o) && Ne(e, o, t[o]);
|
|
7
|
+
if (Ee)
|
|
8
|
+
for (var o of Ee(t))
|
|
9
|
+
bt.call(t, o) && Ne(e, o, t[o]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { defineComponent as
|
|
13
|
-
import
|
|
12
|
+
import { defineComponent as Q, openBlock as v, createElementBlock as k, normalizeClass as g, createElementVNode as x, normalizeStyle as Ae, toDisplayString as R, createCommentVNode as F, Fragment as ee, renderList as Ce, reactive as ft, watch as Ve, unref as h, computed as Ze, createVNode as ze, ref as gt, renderSlot as ae, createBlock as ve, mergeDefaults as ht } from "vue";
|
|
13
|
+
import "@ptlm-azulejo/icons/style.css";
|
|
14
|
+
import { AzIconButton as xt } from "@ptlm-azulejo/icon-button";
|
|
14
15
|
import "@ptlm-azulejo/icon-button/style.css";
|
|
15
|
-
function
|
|
16
|
-
var
|
|
16
|
+
function Qe(e) {
|
|
17
|
+
var t, o, r = "";
|
|
17
18
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
18
19
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
19
20
|
var s = e.length;
|
|
20
|
-
for (
|
|
21
|
-
} else for (
|
|
21
|
+
for (t = 0; t < s; t++) e[t] && (o = Qe(e[t])) && (r && (r += " "), r += o);
|
|
22
|
+
} else for (o in e) e[o] && (r && (r += " "), r += o);
|
|
22
23
|
return r;
|
|
23
24
|
}
|
|
24
|
-
function
|
|
25
|
-
for (var e,
|
|
25
|
+
function vt() {
|
|
26
|
+
for (var e, t, o = 0, r = "", s = arguments.length; o < s; o++) (e = arguments[o]) && (t = Qe(e)) && (r && (r += " "), r += t);
|
|
26
27
|
return r;
|
|
27
28
|
}
|
|
28
|
-
const
|
|
29
|
-
const
|
|
29
|
+
const yt = (e, t) => {
|
|
30
|
+
const o = new Array(e.length + t.length);
|
|
30
31
|
for (let r = 0; r < e.length; r++)
|
|
31
|
-
|
|
32
|
-
for (let r = 0; r <
|
|
33
|
-
|
|
34
|
-
return
|
|
35
|
-
},
|
|
32
|
+
o[r] = e[r];
|
|
33
|
+
for (let r = 0; r < t.length; r++)
|
|
34
|
+
o[e.length + r] = t[r];
|
|
35
|
+
return o;
|
|
36
|
+
}, wt = (e, t) => ({
|
|
36
37
|
classGroupId: e,
|
|
37
|
-
validator:
|
|
38
|
-
}),
|
|
38
|
+
validator: t
|
|
39
|
+
}), Ke = (e = /* @__PURE__ */ new Map(), t = null, o) => ({
|
|
39
40
|
nextPart: e,
|
|
40
|
-
validators:
|
|
41
|
-
classGroupId:
|
|
42
|
-
}),
|
|
43
|
-
const
|
|
44
|
-
conflictingClassGroups:
|
|
41
|
+
validators: t,
|
|
42
|
+
classGroupId: o
|
|
43
|
+
}), pe = "-", We = [], kt = "arbitrary..", Ct = (e) => {
|
|
44
|
+
const t = St(e), {
|
|
45
|
+
conflictingClassGroups: o,
|
|
45
46
|
conflictingClassGroupModifiers: r
|
|
46
47
|
} = e;
|
|
47
48
|
return {
|
|
48
49
|
getClassGroupId: (l) => {
|
|
49
50
|
if (l.startsWith("[") && l.endsWith("]"))
|
|
50
|
-
return
|
|
51
|
-
const
|
|
52
|
-
return
|
|
51
|
+
return zt(l);
|
|
52
|
+
const p = l.split(pe), f = p[0] === "" && p.length > 1 ? 1 : 0;
|
|
53
|
+
return _e(p, f, t);
|
|
53
54
|
},
|
|
54
|
-
getConflictingClassGroupIds: (l,
|
|
55
|
-
if (
|
|
56
|
-
const
|
|
57
|
-
return
|
|
55
|
+
getConflictingClassGroupIds: (l, p) => {
|
|
56
|
+
if (p) {
|
|
57
|
+
const f = r[l], m = o[l];
|
|
58
|
+
return f ? m ? yt(m, f) : f : m || We;
|
|
58
59
|
}
|
|
59
|
-
return
|
|
60
|
+
return o[l] || We;
|
|
60
61
|
}
|
|
61
62
|
};
|
|
62
|
-
},
|
|
63
|
-
if (e.length -
|
|
64
|
-
return
|
|
65
|
-
const s = e[
|
|
66
|
-
if (
|
|
67
|
-
const
|
|
68
|
-
if (
|
|
63
|
+
}, _e = (e, t, o) => {
|
|
64
|
+
if (e.length - t === 0)
|
|
65
|
+
return o.classGroupId;
|
|
66
|
+
const s = e[t], a = o.nextPart.get(s);
|
|
67
|
+
if (a) {
|
|
68
|
+
const m = _e(e, t + 1, a);
|
|
69
|
+
if (m) return m;
|
|
69
70
|
}
|
|
70
|
-
const l =
|
|
71
|
+
const l = o.validators;
|
|
71
72
|
if (l === null)
|
|
72
73
|
return;
|
|
73
|
-
const
|
|
74
|
-
for (let
|
|
75
|
-
const
|
|
76
|
-
if (
|
|
77
|
-
return
|
|
74
|
+
const p = t === 0 ? e.join(pe) : e.slice(t).join(pe), f = l.length;
|
|
75
|
+
for (let m = 0; m < f; m++) {
|
|
76
|
+
const S = l[m];
|
|
77
|
+
if (S.validator(p))
|
|
78
|
+
return S.classGroupId;
|
|
78
79
|
}
|
|
79
|
-
},
|
|
80
|
-
const
|
|
81
|
-
return r ?
|
|
82
|
-
})(),
|
|
80
|
+
}, zt = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
81
|
+
const t = e.slice(1, -1), o = t.indexOf(":"), r = t.slice(0, o);
|
|
82
|
+
return r ? kt + r : void 0;
|
|
83
|
+
})(), St = (e) => {
|
|
83
84
|
const {
|
|
84
|
-
theme:
|
|
85
|
-
classGroups:
|
|
85
|
+
theme: t,
|
|
86
|
+
classGroups: o
|
|
86
87
|
} = e;
|
|
87
|
-
return
|
|
88
|
-
},
|
|
89
|
-
const
|
|
88
|
+
return It(o, t);
|
|
89
|
+
}, It = (e, t) => {
|
|
90
|
+
const o = Ke();
|
|
90
91
|
for (const r in e) {
|
|
91
92
|
const s = e[r];
|
|
92
|
-
|
|
93
|
+
Oe(s, o, r, t);
|
|
93
94
|
}
|
|
94
|
-
return
|
|
95
|
-
},
|
|
95
|
+
return o;
|
|
96
|
+
}, Oe = (e, t, o, r) => {
|
|
96
97
|
const s = e.length;
|
|
97
|
-
for (let
|
|
98
|
-
const l = e[
|
|
99
|
-
|
|
98
|
+
for (let a = 0; a < s; a++) {
|
|
99
|
+
const l = e[a];
|
|
100
|
+
At(l, t, o, r);
|
|
100
101
|
}
|
|
101
|
-
},
|
|
102
|
+
}, At = (e, t, o, r) => {
|
|
102
103
|
if (typeof e == "string") {
|
|
103
|
-
|
|
104
|
+
Ot(e, t, o);
|
|
104
105
|
return;
|
|
105
106
|
}
|
|
106
107
|
if (typeof e == "function") {
|
|
107
|
-
|
|
108
|
+
Gt(e, t, o, r);
|
|
108
109
|
return;
|
|
109
110
|
}
|
|
110
|
-
|
|
111
|
-
},
|
|
112
|
-
const r = e === "" ?
|
|
113
|
-
r.classGroupId =
|
|
114
|
-
},
|
|
115
|
-
if (
|
|
116
|
-
|
|
111
|
+
$t(e, t, o, r);
|
|
112
|
+
}, Ot = (e, t, o) => {
|
|
113
|
+
const r = e === "" ? t : et(t, e);
|
|
114
|
+
r.classGroupId = o;
|
|
115
|
+
}, Gt = (e, t, o, r) => {
|
|
116
|
+
if (Mt(e)) {
|
|
117
|
+
Oe(e(r), t, o, r);
|
|
117
118
|
return;
|
|
118
119
|
}
|
|
119
|
-
|
|
120
|
-
},
|
|
121
|
-
const s = Object.entries(e),
|
|
122
|
-
for (let l = 0; l <
|
|
123
|
-
const [
|
|
124
|
-
|
|
120
|
+
t.validators === null && (t.validators = []), t.validators.push(wt(o, e));
|
|
121
|
+
}, $t = (e, t, o, r) => {
|
|
122
|
+
const s = Object.entries(e), a = s.length;
|
|
123
|
+
for (let l = 0; l < a; l++) {
|
|
124
|
+
const [p, f] = s[l];
|
|
125
|
+
Oe(f, et(t, p), o, r);
|
|
125
126
|
}
|
|
126
|
-
},
|
|
127
|
-
let
|
|
128
|
-
const r =
|
|
129
|
-
for (let
|
|
130
|
-
const l = r[
|
|
131
|
-
let
|
|
132
|
-
|
|
127
|
+
}, et = (e, t) => {
|
|
128
|
+
let o = e;
|
|
129
|
+
const r = t.split(pe), s = r.length;
|
|
130
|
+
for (let a = 0; a < s; a++) {
|
|
131
|
+
const l = r[a];
|
|
132
|
+
let p = o.nextPart.get(l);
|
|
133
|
+
p || (p = Ke(), o.nextPart.set(l, p)), o = p;
|
|
133
134
|
}
|
|
134
|
-
return
|
|
135
|
-
},
|
|
135
|
+
return o;
|
|
136
|
+
}, Mt = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Pt = (e) => {
|
|
136
137
|
if (e < 1)
|
|
137
138
|
return {
|
|
138
139
|
get: () => {
|
|
@@ -140,192 +141,192 @@ const bo = (e, o) => {
|
|
|
140
141
|
set: () => {
|
|
141
142
|
}
|
|
142
143
|
};
|
|
143
|
-
let
|
|
144
|
-
const s = (
|
|
145
|
-
|
|
144
|
+
let t = 0, o = /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ Object.create(null);
|
|
145
|
+
const s = (a, l) => {
|
|
146
|
+
o[a] = l, t++, t > e && (t = 0, r = o, o = /* @__PURE__ */ Object.create(null));
|
|
146
147
|
};
|
|
147
148
|
return {
|
|
148
|
-
get(
|
|
149
|
-
let l =
|
|
149
|
+
get(a) {
|
|
150
|
+
let l = o[a];
|
|
150
151
|
if (l !== void 0)
|
|
151
152
|
return l;
|
|
152
|
-
if ((l = r[
|
|
153
|
-
return s(
|
|
153
|
+
if ((l = r[a]) !== void 0)
|
|
154
|
+
return s(a, l), l;
|
|
154
155
|
},
|
|
155
|
-
set(
|
|
156
|
-
|
|
156
|
+
set(a, l) {
|
|
157
|
+
a in o ? o[a] = l : s(a, l);
|
|
157
158
|
}
|
|
158
159
|
};
|
|
159
|
-
},
|
|
160
|
+
}, Se = "!", He = ":", Lt = [], De = (e, t, o, r, s) => ({
|
|
160
161
|
modifiers: e,
|
|
161
|
-
hasImportantModifier:
|
|
162
|
-
baseClassName:
|
|
162
|
+
hasImportantModifier: t,
|
|
163
|
+
baseClassName: o,
|
|
163
164
|
maybePostfixModifierPosition: r,
|
|
164
165
|
isExternal: s
|
|
165
|
-
}),
|
|
166
|
+
}), Rt = (e) => {
|
|
166
167
|
const {
|
|
167
|
-
prefix:
|
|
168
|
-
experimentalParseClassName:
|
|
168
|
+
prefix: t,
|
|
169
|
+
experimentalParseClassName: o
|
|
169
170
|
} = e;
|
|
170
171
|
let r = (s) => {
|
|
171
|
-
const
|
|
172
|
-
let l = 0,
|
|
173
|
-
const
|
|
174
|
-
for (let
|
|
175
|
-
const
|
|
176
|
-
if (l === 0 &&
|
|
177
|
-
if (
|
|
178
|
-
|
|
172
|
+
const a = [];
|
|
173
|
+
let l = 0, p = 0, f = 0, m;
|
|
174
|
+
const S = s.length;
|
|
175
|
+
for (let u = 0; u < S; u++) {
|
|
176
|
+
const $ = s[u];
|
|
177
|
+
if (l === 0 && p === 0) {
|
|
178
|
+
if ($ === He) {
|
|
179
|
+
a.push(s.slice(f, u)), f = u + 1;
|
|
179
180
|
continue;
|
|
180
181
|
}
|
|
181
|
-
if (
|
|
182
|
-
|
|
182
|
+
if ($ === "/") {
|
|
183
|
+
m = u;
|
|
183
184
|
continue;
|
|
184
185
|
}
|
|
185
186
|
}
|
|
186
|
-
|
|
187
|
+
$ === "[" ? l++ : $ === "]" ? l-- : $ === "(" ? p++ : $ === ")" && p--;
|
|
187
188
|
}
|
|
188
|
-
const
|
|
189
|
-
let
|
|
190
|
-
|
|
189
|
+
const I = a.length === 0 ? s : s.slice(f);
|
|
190
|
+
let T = I, y = !1;
|
|
191
|
+
I.endsWith(Se) ? (T = I.slice(0, -1), y = !0) : (
|
|
191
192
|
/**
|
|
192
193
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
193
194
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
194
195
|
*/
|
|
195
|
-
|
|
196
|
+
I.startsWith(Se) && (T = I.slice(1), y = !0)
|
|
196
197
|
);
|
|
197
|
-
const
|
|
198
|
-
return
|
|
198
|
+
const P = m && m > f ? m - f : void 0;
|
|
199
|
+
return De(a, y, T, P);
|
|
199
200
|
};
|
|
200
|
-
if (o) {
|
|
201
|
-
const s = o + Le, i = r;
|
|
202
|
-
r = (l) => l.startsWith(s) ? i(l.slice(s.length)) : Re(Ao, !1, l, void 0, !0);
|
|
203
|
-
}
|
|
204
201
|
if (t) {
|
|
202
|
+
const s = t + He, a = r;
|
|
203
|
+
r = (l) => l.startsWith(s) ? a(l.slice(s.length)) : De(Lt, !1, l, void 0, !0);
|
|
204
|
+
}
|
|
205
|
+
if (o) {
|
|
205
206
|
const s = r;
|
|
206
|
-
r = (
|
|
207
|
-
className:
|
|
207
|
+
r = (a) => o({
|
|
208
|
+
className: a,
|
|
208
209
|
parseClassName: s
|
|
209
210
|
});
|
|
210
211
|
}
|
|
211
212
|
return r;
|
|
212
|
-
},
|
|
213
|
-
const
|
|
214
|
-
return e.orderSensitiveModifiers.forEach((
|
|
215
|
-
|
|
216
|
-
}), (
|
|
213
|
+
}, Tt = (e) => {
|
|
214
|
+
const t = /* @__PURE__ */ new Map();
|
|
215
|
+
return e.orderSensitiveModifiers.forEach((o, r) => {
|
|
216
|
+
t.set(o, 1e6 + r);
|
|
217
|
+
}), (o) => {
|
|
217
218
|
const r = [];
|
|
218
219
|
let s = [];
|
|
219
|
-
for (let
|
|
220
|
-
const l =
|
|
221
|
-
|
|
220
|
+
for (let a = 0; a < o.length; a++) {
|
|
221
|
+
const l = o[a], p = l[0] === "[", f = t.has(l);
|
|
222
|
+
p || f ? (s.length > 0 && (s.sort(), r.push(...s), s = []), r.push(l)) : s.push(l);
|
|
222
223
|
}
|
|
223
224
|
return s.length > 0 && (s.sort(), r.push(...s)), r;
|
|
224
225
|
};
|
|
225
|
-
},
|
|
226
|
-
cache:
|
|
227
|
-
parseClassName:
|
|
228
|
-
sortModifiers:
|
|
229
|
-
postfixLookupClassGroupIds:
|
|
230
|
-
},
|
|
231
|
-
const
|
|
232
|
-
if (
|
|
233
|
-
for (let r = 0; r <
|
|
234
|
-
o[
|
|
235
|
-
return
|
|
236
|
-
},
|
|
226
|
+
}, jt = (e) => Fe({
|
|
227
|
+
cache: Pt(e.cacheSize),
|
|
228
|
+
parseClassName: Rt(e),
|
|
229
|
+
sortModifiers: Tt(e),
|
|
230
|
+
postfixLookupClassGroupIds: Bt(e)
|
|
231
|
+
}, Ct(e)), Bt = (e) => {
|
|
232
|
+
const t = /* @__PURE__ */ Object.create(null), o = e.postfixLookupClassGroups;
|
|
233
|
+
if (o)
|
|
234
|
+
for (let r = 0; r < o.length; r++)
|
|
235
|
+
t[o[r]] = !0;
|
|
236
|
+
return t;
|
|
237
|
+
}, Et = /\s+/, Nt = (e, t) => {
|
|
237
238
|
const {
|
|
238
|
-
parseClassName:
|
|
239
|
+
parseClassName: o,
|
|
239
240
|
getClassGroupId: r,
|
|
240
241
|
getConflictingClassGroupIds: s,
|
|
241
|
-
sortModifiers:
|
|
242
|
+
sortModifiers: a,
|
|
242
243
|
postfixLookupClassGroupIds: l
|
|
243
|
-
} =
|
|
244
|
-
let
|
|
245
|
-
for (let
|
|
246
|
-
const
|
|
247
|
-
isExternal:
|
|
248
|
-
modifiers:
|
|
249
|
-
hasImportantModifier:
|
|
250
|
-
baseClassName:
|
|
251
|
-
maybePostfixModifierPosition:
|
|
252
|
-
} =
|
|
253
|
-
if (
|
|
254
|
-
|
|
244
|
+
} = t, p = [], f = e.trim().split(Et);
|
|
245
|
+
let m = "";
|
|
246
|
+
for (let S = f.length - 1; S >= 0; S -= 1) {
|
|
247
|
+
const I = f[S], {
|
|
248
|
+
isExternal: T,
|
|
249
|
+
modifiers: y,
|
|
250
|
+
hasImportantModifier: P,
|
|
251
|
+
baseClassName: u,
|
|
252
|
+
maybePostfixModifierPosition: $
|
|
253
|
+
} = o(I);
|
|
254
|
+
if (T) {
|
|
255
|
+
m = I + (m.length > 0 ? " " + m : m);
|
|
255
256
|
continue;
|
|
256
257
|
}
|
|
257
|
-
let j =
|
|
258
|
+
let j = !!$, w;
|
|
258
259
|
if (j) {
|
|
259
|
-
const
|
|
260
|
-
|
|
261
|
-
const c =
|
|
262
|
-
c && c !==
|
|
260
|
+
const E = u.substring(0, $);
|
|
261
|
+
w = r(E);
|
|
262
|
+
const c = w && l[w] ? r(u) : void 0;
|
|
263
|
+
c && c !== w && (w = c, j = !1);
|
|
263
264
|
} else
|
|
264
|
-
|
|
265
|
-
if (!
|
|
265
|
+
w = r(u);
|
|
266
|
+
if (!w) {
|
|
266
267
|
if (!j) {
|
|
267
|
-
|
|
268
|
+
m = I + (m.length > 0 ? " " + m : m);
|
|
268
269
|
continue;
|
|
269
270
|
}
|
|
270
|
-
if (
|
|
271
|
-
|
|
271
|
+
if (w = r(u), !w) {
|
|
272
|
+
m = I + (m.length > 0 ? " " + m : m);
|
|
272
273
|
continue;
|
|
273
274
|
}
|
|
274
275
|
j = !1;
|
|
275
276
|
}
|
|
276
|
-
const
|
|
277
|
-
if (
|
|
277
|
+
const K = y.length === 0 ? "" : y.length === 1 ? y[0] : a(y).join(":"), Y = P ? K + Se : K, q = Y + w;
|
|
278
|
+
if (p.indexOf(q) > -1)
|
|
278
279
|
continue;
|
|
279
|
-
|
|
280
|
-
const
|
|
281
|
-
for (let
|
|
282
|
-
const c =
|
|
283
|
-
|
|
280
|
+
p.push(q);
|
|
281
|
+
const J = s(w, j);
|
|
282
|
+
for (let E = 0; E < J.length; ++E) {
|
|
283
|
+
const c = J[E];
|
|
284
|
+
p.push(Y + c);
|
|
284
285
|
}
|
|
285
|
-
|
|
286
|
+
m = I + (m.length > 0 ? " " + m : m);
|
|
286
287
|
}
|
|
287
|
-
return
|
|
288
|
-
},
|
|
289
|
-
let
|
|
290
|
-
for (;
|
|
291
|
-
(
|
|
288
|
+
return m;
|
|
289
|
+
}, Ft = (...e) => {
|
|
290
|
+
let t = 0, o, r, s = "";
|
|
291
|
+
for (; t < e.length; )
|
|
292
|
+
(o = e[t++]) && (r = tt(o)) && (s && (s += " "), s += r);
|
|
292
293
|
return s;
|
|
293
|
-
},
|
|
294
|
+
}, tt = (e) => {
|
|
294
295
|
if (typeof e == "string")
|
|
295
296
|
return e;
|
|
296
|
-
let
|
|
297
|
+
let t, o = "";
|
|
297
298
|
for (let r = 0; r < e.length; r++)
|
|
298
|
-
e[r] && (
|
|
299
|
-
return
|
|
300
|
-
},
|
|
301
|
-
let
|
|
302
|
-
const l = (
|
|
303
|
-
const
|
|
304
|
-
return
|
|
305
|
-
},
|
|
306
|
-
const
|
|
307
|
-
if (
|
|
308
|
-
return
|
|
309
|
-
const
|
|
310
|
-
return s(
|
|
299
|
+
e[r] && (t = tt(e[r])) && (o && (o += " "), o += t);
|
|
300
|
+
return o;
|
|
301
|
+
}, Ue = (e, ...t) => {
|
|
302
|
+
let o, r, s, a;
|
|
303
|
+
const l = (f) => {
|
|
304
|
+
const m = t.reduce((S, I) => I(S), e());
|
|
305
|
+
return o = jt(m), r = o.cache.get, s = o.cache.set, a = p, p(f);
|
|
306
|
+
}, p = (f) => {
|
|
307
|
+
const m = r(f);
|
|
308
|
+
if (m)
|
|
309
|
+
return m;
|
|
310
|
+
const S = Nt(f, o);
|
|
311
|
+
return s(f, S), S;
|
|
311
312
|
};
|
|
312
|
-
return
|
|
313
|
-
},
|
|
314
|
-
const
|
|
315
|
-
return
|
|
316
|
-
},
|
|
313
|
+
return a = l, (...f) => a(Ft(...f));
|
|
314
|
+
}, Vt = [], C = (e) => {
|
|
315
|
+
const t = (o) => o[e] || Vt;
|
|
316
|
+
return t.isThemeGetter = !0, t;
|
|
317
|
+
}, ot = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, rt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Wt = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Ht = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Dt = /\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$/, Ut = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Yt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, qt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, V = (e) => Wt.test(e), b = (e) => !!e && !Number.isNaN(Number(e)), B = (e) => !!e && Number.isInteger(Number(e)), ye = (e) => e.endsWith("%") && b(e.slice(0, -1)), N = (e) => Ht.test(e), st = () => !0, Jt = (e) => (
|
|
317
318
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
318
319
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
319
320
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
320
|
-
|
|
321
|
-
),
|
|
322
|
-
const r =
|
|
323
|
-
return r ? r[1] ?
|
|
324
|
-
},
|
|
325
|
-
const r =
|
|
326
|
-
return r ? r[1] ?
|
|
327
|
-
},
|
|
328
|
-
const e =
|
|
321
|
+
Dt.test(e) && !Ut.test(e)
|
|
322
|
+
), Ge = () => !1, Xt = (e) => Yt.test(e), Zt = (e) => qt.test(e), Qt = (e) => !n(e) && !i(e), Kt = (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)), _t = (e) => W(e, it, Ge), n = (e) => ot.test(e), D = (e) => W(e, lt, Jt), Ye = (e) => W(e, io, b), eo = (e) => W(e, dt, st), to = (e) => W(e, ct, Ge), qe = (e) => W(e, nt, Ge), oo = (e) => W(e, at, Zt), ie = (e) => W(e, ut, Xt), i = (e) => rt.test(e), _ = (e) => U(e, lt), ro = (e) => U(e, ct), Je = (e) => U(e, nt), so = (e) => U(e, it), no = (e) => U(e, at), le = (e) => U(e, ut, !0), ao = (e) => U(e, dt, !0), W = (e, t, o) => {
|
|
323
|
+
const r = ot.exec(e);
|
|
324
|
+
return r ? r[1] ? t(r[1]) : o(r[2]) : !1;
|
|
325
|
+
}, U = (e, t, o = !1) => {
|
|
326
|
+
const r = rt.exec(e);
|
|
327
|
+
return r ? r[1] ? t(r[1]) : o : !1;
|
|
328
|
+
}, nt = (e) => e === "position" || e === "percentage", at = (e) => e === "image" || e === "url", it = (e) => e === "length" || e === "size" || e === "bg-size", lt = (e) => e === "length", io = (e) => e === "number", ct = (e) => e === "family-name", dt = (e) => e === "number" || e === "weight", ut = (e) => e === "shadow", Xe = () => {
|
|
329
|
+
const e = C("color"), t = C("font"), o = C("text"), r = C("font-weight"), s = C("tracking"), a = C("leading"), l = C("breakpoint"), p = C("container"), f = C("spacing"), m = C("radius"), S = C("shadow"), I = C("inset-shadow"), T = C("text-shadow"), y = C("drop-shadow"), P = C("blur"), u = C("perspective"), $ = C("aspect"), j = C("ease"), w = C("animate"), K = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], Y = () => [
|
|
329
330
|
"center",
|
|
330
331
|
"top",
|
|
331
332
|
"bottom",
|
|
@@ -343,51 +344,51 @@ const bo = (e, o) => {
|
|
|
343
344
|
"bottom-left",
|
|
344
345
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
345
346
|
"left-bottom"
|
|
346
|
-
],
|
|
347
|
-
span: ["full",
|
|
348
|
-
},
|
|
349
|
-
position: [
|
|
350
|
-
}],
|
|
347
|
+
], q = () => [...Y(), i, n], J = () => ["auto", "hidden", "clip", "visible", "scroll"], E = () => ["auto", "contain", "none"], c = () => [i, n, f], M = () => [V, "full", "auto", ...c()], $e = () => [B, "none", "subgrid", i, n], Me = () => ["auto", {
|
|
348
|
+
span: ["full", B, i, n]
|
|
349
|
+
}, B, i, n], te = () => [B, "auto", i, n], Pe = () => ["auto", "min", "max", "fr", i, n], be = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], X = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], L = () => ["auto", ...c()], H = () => [V, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...c()], fe = () => [V, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...c()], ge = () => [V, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...c()], d = () => [e, i, n], Le = () => [...Y(), Je, qe, {
|
|
350
|
+
position: [i, n]
|
|
351
|
+
}], Re = () => ["no-repeat", {
|
|
351
352
|
repeat: ["", "x", "y", "space", "round"]
|
|
352
|
-
}],
|
|
353
|
-
size: [
|
|
354
|
-
}],
|
|
353
|
+
}], Te = () => ["auto", "cover", "contain", so, _t, {
|
|
354
|
+
size: [i, n]
|
|
355
|
+
}], he = () => [ye, _, D], O = () => [
|
|
355
356
|
// Deprecated since Tailwind CSS v4.0.0
|
|
356
357
|
"",
|
|
357
358
|
"none",
|
|
358
359
|
"full",
|
|
359
|
-
|
|
360
|
-
|
|
360
|
+
m,
|
|
361
|
+
i,
|
|
361
362
|
n
|
|
362
|
-
],
|
|
363
|
+
], G = () => ["", b, _, D], oe = () => ["solid", "dashed", "dotted", "double"], je = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], z = () => [b, ye, Je, qe], Be = () => [
|
|
363
364
|
// Deprecated since Tailwind CSS v4.0.0
|
|
364
365
|
"",
|
|
365
366
|
"none",
|
|
366
|
-
|
|
367
|
-
|
|
367
|
+
P,
|
|
368
|
+
i,
|
|
368
369
|
n
|
|
369
|
-
],
|
|
370
|
+
], re = () => ["none", b, i, n], se = () => ["none", b, i, n], xe = () => [b, i, n], ne = () => [V, "full", ...c()];
|
|
370
371
|
return {
|
|
371
372
|
cacheSize: 500,
|
|
372
373
|
theme: {
|
|
373
374
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
374
375
|
aspect: ["video"],
|
|
375
|
-
blur: [
|
|
376
|
-
breakpoint: [
|
|
377
|
-
color: [
|
|
378
|
-
container: [
|
|
379
|
-
"drop-shadow": [
|
|
376
|
+
blur: [N],
|
|
377
|
+
breakpoint: [N],
|
|
378
|
+
color: [st],
|
|
379
|
+
container: [N],
|
|
380
|
+
"drop-shadow": [N],
|
|
380
381
|
ease: ["in", "out", "in-out"],
|
|
381
|
-
font: [
|
|
382
|
+
font: [Qt],
|
|
382
383
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
383
|
-
"inset-shadow": [
|
|
384
|
+
"inset-shadow": [N],
|
|
384
385
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
385
386
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
386
|
-
radius: [
|
|
387
|
-
shadow: [
|
|
388
|
-
spacing: ["px",
|
|
389
|
-
text: [
|
|
390
|
-
"text-shadow": [
|
|
387
|
+
radius: [N],
|
|
388
|
+
shadow: [N],
|
|
389
|
+
spacing: ["px", b],
|
|
390
|
+
text: [N],
|
|
391
|
+
"text-shadow": [N],
|
|
391
392
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
392
393
|
},
|
|
393
394
|
classGroups: {
|
|
@@ -399,7 +400,7 @@ const bo = (e, o) => {
|
|
|
399
400
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
400
401
|
*/
|
|
401
402
|
aspect: [{
|
|
402
|
-
aspect: ["auto", "square",
|
|
403
|
+
aspect: ["auto", "square", V, n, i, $]
|
|
403
404
|
}],
|
|
404
405
|
/**
|
|
405
406
|
* Container
|
|
@@ -412,33 +413,33 @@ const bo = (e, o) => {
|
|
|
412
413
|
* @see https://tailwindcss.com/docs/responsive-design#container-queries
|
|
413
414
|
*/
|
|
414
415
|
"container-type": [{
|
|
415
|
-
"@container": ["", "normal", "size",
|
|
416
|
+
"@container": ["", "normal", "size", i, n]
|
|
416
417
|
}],
|
|
417
418
|
/**
|
|
418
419
|
* Container Name
|
|
419
420
|
* @see https://tailwindcss.com/docs/responsive-design#named-containers
|
|
420
421
|
*/
|
|
421
|
-
"container-named": [
|
|
422
|
+
"container-named": [Kt],
|
|
422
423
|
/**
|
|
423
424
|
* Columns
|
|
424
425
|
* @see https://tailwindcss.com/docs/columns
|
|
425
426
|
*/
|
|
426
427
|
columns: [{
|
|
427
|
-
columns: [
|
|
428
|
+
columns: [b, n, i, p]
|
|
428
429
|
}],
|
|
429
430
|
/**
|
|
430
431
|
* Break After
|
|
431
432
|
* @see https://tailwindcss.com/docs/break-after
|
|
432
433
|
*/
|
|
433
434
|
"break-after": [{
|
|
434
|
-
"break-after":
|
|
435
|
+
"break-after": K()
|
|
435
436
|
}],
|
|
436
437
|
/**
|
|
437
438
|
* Break Before
|
|
438
439
|
* @see https://tailwindcss.com/docs/break-before
|
|
439
440
|
*/
|
|
440
441
|
"break-before": [{
|
|
441
|
-
"break-before":
|
|
442
|
+
"break-before": K()
|
|
442
443
|
}],
|
|
443
444
|
/**
|
|
444
445
|
* Break Inside
|
|
@@ -502,49 +503,49 @@ const bo = (e, o) => {
|
|
|
502
503
|
* @see https://tailwindcss.com/docs/object-position
|
|
503
504
|
*/
|
|
504
505
|
"object-position": [{
|
|
505
|
-
object:
|
|
506
|
+
object: q()
|
|
506
507
|
}],
|
|
507
508
|
/**
|
|
508
509
|
* Overflow
|
|
509
510
|
* @see https://tailwindcss.com/docs/overflow
|
|
510
511
|
*/
|
|
511
512
|
overflow: [{
|
|
512
|
-
overflow:
|
|
513
|
+
overflow: J()
|
|
513
514
|
}],
|
|
514
515
|
/**
|
|
515
516
|
* Overflow X
|
|
516
517
|
* @see https://tailwindcss.com/docs/overflow
|
|
517
518
|
*/
|
|
518
519
|
"overflow-x": [{
|
|
519
|
-
"overflow-x":
|
|
520
|
+
"overflow-x": J()
|
|
520
521
|
}],
|
|
521
522
|
/**
|
|
522
523
|
* Overflow Y
|
|
523
524
|
* @see https://tailwindcss.com/docs/overflow
|
|
524
525
|
*/
|
|
525
526
|
"overflow-y": [{
|
|
526
|
-
"overflow-y":
|
|
527
|
+
"overflow-y": J()
|
|
527
528
|
}],
|
|
528
529
|
/**
|
|
529
530
|
* Overscroll Behavior
|
|
530
531
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
531
532
|
*/
|
|
532
533
|
overscroll: [{
|
|
533
|
-
overscroll:
|
|
534
|
+
overscroll: E()
|
|
534
535
|
}],
|
|
535
536
|
/**
|
|
536
537
|
* Overscroll Behavior X
|
|
537
538
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
538
539
|
*/
|
|
539
540
|
"overscroll-x": [{
|
|
540
|
-
"overscroll-x":
|
|
541
|
+
"overscroll-x": E()
|
|
541
542
|
}],
|
|
542
543
|
/**
|
|
543
544
|
* Overscroll Behavior Y
|
|
544
545
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
545
546
|
*/
|
|
546
547
|
"overscroll-y": [{
|
|
547
|
-
"overscroll-y":
|
|
548
|
+
"overscroll-y": E()
|
|
548
549
|
}],
|
|
549
550
|
/**
|
|
550
551
|
* Position
|
|
@@ -556,21 +557,21 @@ const bo = (e, o) => {
|
|
|
556
557
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
557
558
|
*/
|
|
558
559
|
inset: [{
|
|
559
|
-
inset:
|
|
560
|
+
inset: M()
|
|
560
561
|
}],
|
|
561
562
|
/**
|
|
562
563
|
* Inset Inline
|
|
563
564
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
564
565
|
*/
|
|
565
566
|
"inset-x": [{
|
|
566
|
-
"inset-x":
|
|
567
|
+
"inset-x": M()
|
|
567
568
|
}],
|
|
568
569
|
/**
|
|
569
570
|
* Inset Block
|
|
570
571
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
571
572
|
*/
|
|
572
573
|
"inset-y": [{
|
|
573
|
-
"inset-y":
|
|
574
|
+
"inset-y": M()
|
|
574
575
|
}],
|
|
575
576
|
/**
|
|
576
577
|
* Inset Inline Start
|
|
@@ -578,12 +579,12 @@ const bo = (e, o) => {
|
|
|
578
579
|
* @todo class group will be renamed to `inset-s` in next major release
|
|
579
580
|
*/
|
|
580
581
|
start: [{
|
|
581
|
-
"inset-s":
|
|
582
|
+
"inset-s": M(),
|
|
582
583
|
/**
|
|
583
584
|
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
|
|
584
585
|
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
585
586
|
*/
|
|
586
|
-
start:
|
|
587
|
+
start: M()
|
|
587
588
|
}],
|
|
588
589
|
/**
|
|
589
590
|
* Inset Inline End
|
|
@@ -591,54 +592,54 @@ const bo = (e, o) => {
|
|
|
591
592
|
* @todo class group will be renamed to `inset-e` in next major release
|
|
592
593
|
*/
|
|
593
594
|
end: [{
|
|
594
|
-
"inset-e":
|
|
595
|
+
"inset-e": M(),
|
|
595
596
|
/**
|
|
596
597
|
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
|
|
597
598
|
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
598
599
|
*/
|
|
599
|
-
end:
|
|
600
|
+
end: M()
|
|
600
601
|
}],
|
|
601
602
|
/**
|
|
602
603
|
* Inset Block Start
|
|
603
604
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
604
605
|
*/
|
|
605
606
|
"inset-bs": [{
|
|
606
|
-
"inset-bs":
|
|
607
|
+
"inset-bs": M()
|
|
607
608
|
}],
|
|
608
609
|
/**
|
|
609
610
|
* Inset Block End
|
|
610
611
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
611
612
|
*/
|
|
612
613
|
"inset-be": [{
|
|
613
|
-
"inset-be":
|
|
614
|
+
"inset-be": M()
|
|
614
615
|
}],
|
|
615
616
|
/**
|
|
616
617
|
* Top
|
|
617
618
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
618
619
|
*/
|
|
619
620
|
top: [{
|
|
620
|
-
top:
|
|
621
|
+
top: M()
|
|
621
622
|
}],
|
|
622
623
|
/**
|
|
623
624
|
* Right
|
|
624
625
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
625
626
|
*/
|
|
626
627
|
right: [{
|
|
627
|
-
right:
|
|
628
|
+
right: M()
|
|
628
629
|
}],
|
|
629
630
|
/**
|
|
630
631
|
* Bottom
|
|
631
632
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
632
633
|
*/
|
|
633
634
|
bottom: [{
|
|
634
|
-
bottom:
|
|
635
|
+
bottom: M()
|
|
635
636
|
}],
|
|
636
637
|
/**
|
|
637
638
|
* Left
|
|
638
639
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
639
640
|
*/
|
|
640
641
|
left: [{
|
|
641
|
-
left:
|
|
642
|
+
left: M()
|
|
642
643
|
}],
|
|
643
644
|
/**
|
|
644
645
|
* Visibility
|
|
@@ -650,7 +651,7 @@ const bo = (e, o) => {
|
|
|
650
651
|
* @see https://tailwindcss.com/docs/z-index
|
|
651
652
|
*/
|
|
652
653
|
z: [{
|
|
653
|
-
z: [
|
|
654
|
+
z: [B, "auto", i, n]
|
|
654
655
|
}],
|
|
655
656
|
// ------------------------
|
|
656
657
|
// --- Flexbox and Grid ---
|
|
@@ -660,7 +661,7 @@ const bo = (e, o) => {
|
|
|
660
661
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
661
662
|
*/
|
|
662
663
|
basis: [{
|
|
663
|
-
basis: [
|
|
664
|
+
basis: [V, "full", "auto", p, ...c()]
|
|
664
665
|
}],
|
|
665
666
|
/**
|
|
666
667
|
* Flex Direction
|
|
@@ -681,84 +682,84 @@ const bo = (e, o) => {
|
|
|
681
682
|
* @see https://tailwindcss.com/docs/flex
|
|
682
683
|
*/
|
|
683
684
|
flex: [{
|
|
684
|
-
flex: [
|
|
685
|
+
flex: [b, V, "auto", "initial", "none", n]
|
|
685
686
|
}],
|
|
686
687
|
/**
|
|
687
688
|
* Flex Grow
|
|
688
689
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
689
690
|
*/
|
|
690
691
|
grow: [{
|
|
691
|
-
grow: ["",
|
|
692
|
+
grow: ["", b, i, n]
|
|
692
693
|
}],
|
|
693
694
|
/**
|
|
694
695
|
* Flex Shrink
|
|
695
696
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
696
697
|
*/
|
|
697
698
|
shrink: [{
|
|
698
|
-
shrink: ["",
|
|
699
|
+
shrink: ["", b, i, n]
|
|
699
700
|
}],
|
|
700
701
|
/**
|
|
701
702
|
* Order
|
|
702
703
|
* @see https://tailwindcss.com/docs/order
|
|
703
704
|
*/
|
|
704
705
|
order: [{
|
|
705
|
-
order: [
|
|
706
|
+
order: [B, "first", "last", "none", i, n]
|
|
706
707
|
}],
|
|
707
708
|
/**
|
|
708
709
|
* Grid Template Columns
|
|
709
710
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
710
711
|
*/
|
|
711
712
|
"grid-cols": [{
|
|
712
|
-
"grid-cols":
|
|
713
|
+
"grid-cols": $e()
|
|
713
714
|
}],
|
|
714
715
|
/**
|
|
715
716
|
* Grid Column Start / End
|
|
716
717
|
* @see https://tailwindcss.com/docs/grid-column
|
|
717
718
|
*/
|
|
718
719
|
"col-start-end": [{
|
|
719
|
-
col:
|
|
720
|
+
col: Me()
|
|
720
721
|
}],
|
|
721
722
|
/**
|
|
722
723
|
* Grid Column Start
|
|
723
724
|
* @see https://tailwindcss.com/docs/grid-column
|
|
724
725
|
*/
|
|
725
726
|
"col-start": [{
|
|
726
|
-
"col-start":
|
|
727
|
+
"col-start": te()
|
|
727
728
|
}],
|
|
728
729
|
/**
|
|
729
730
|
* Grid Column End
|
|
730
731
|
* @see https://tailwindcss.com/docs/grid-column
|
|
731
732
|
*/
|
|
732
733
|
"col-end": [{
|
|
733
|
-
"col-end":
|
|
734
|
+
"col-end": te()
|
|
734
735
|
}],
|
|
735
736
|
/**
|
|
736
737
|
* Grid Template Rows
|
|
737
738
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
738
739
|
*/
|
|
739
740
|
"grid-rows": [{
|
|
740
|
-
"grid-rows":
|
|
741
|
+
"grid-rows": $e()
|
|
741
742
|
}],
|
|
742
743
|
/**
|
|
743
744
|
* Grid Row Start / End
|
|
744
745
|
* @see https://tailwindcss.com/docs/grid-row
|
|
745
746
|
*/
|
|
746
747
|
"row-start-end": [{
|
|
747
|
-
row:
|
|
748
|
+
row: Me()
|
|
748
749
|
}],
|
|
749
750
|
/**
|
|
750
751
|
* Grid Row Start
|
|
751
752
|
* @see https://tailwindcss.com/docs/grid-row
|
|
752
753
|
*/
|
|
753
754
|
"row-start": [{
|
|
754
|
-
"row-start":
|
|
755
|
+
"row-start": te()
|
|
755
756
|
}],
|
|
756
757
|
/**
|
|
757
758
|
* Grid Row End
|
|
758
759
|
* @see https://tailwindcss.com/docs/grid-row
|
|
759
760
|
*/
|
|
760
761
|
"row-end": [{
|
|
761
|
-
"row-end":
|
|
762
|
+
"row-end": te()
|
|
762
763
|
}],
|
|
763
764
|
/**
|
|
764
765
|
* Grid Auto Flow
|
|
@@ -772,14 +773,14 @@ const bo = (e, o) => {
|
|
|
772
773
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
773
774
|
*/
|
|
774
775
|
"auto-cols": [{
|
|
775
|
-
"auto-cols":
|
|
776
|
+
"auto-cols": Pe()
|
|
776
777
|
}],
|
|
777
778
|
/**
|
|
778
779
|
* Grid Auto Rows
|
|
779
780
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
780
781
|
*/
|
|
781
782
|
"auto-rows": [{
|
|
782
|
-
"auto-rows":
|
|
783
|
+
"auto-rows": Pe()
|
|
783
784
|
}],
|
|
784
785
|
/**
|
|
785
786
|
* Gap
|
|
@@ -807,35 +808,35 @@ const bo = (e, o) => {
|
|
|
807
808
|
* @see https://tailwindcss.com/docs/justify-content
|
|
808
809
|
*/
|
|
809
810
|
"justify-content": [{
|
|
810
|
-
justify: [...
|
|
811
|
+
justify: [...be(), "normal"]
|
|
811
812
|
}],
|
|
812
813
|
/**
|
|
813
814
|
* Justify Items
|
|
814
815
|
* @see https://tailwindcss.com/docs/justify-items
|
|
815
816
|
*/
|
|
816
817
|
"justify-items": [{
|
|
817
|
-
"justify-items": [...
|
|
818
|
+
"justify-items": [...X(), "normal"]
|
|
818
819
|
}],
|
|
819
820
|
/**
|
|
820
821
|
* Justify Self
|
|
821
822
|
* @see https://tailwindcss.com/docs/justify-self
|
|
822
823
|
*/
|
|
823
824
|
"justify-self": [{
|
|
824
|
-
"justify-self": ["auto", ...
|
|
825
|
+
"justify-self": ["auto", ...X()]
|
|
825
826
|
}],
|
|
826
827
|
/**
|
|
827
828
|
* Align Content
|
|
828
829
|
* @see https://tailwindcss.com/docs/align-content
|
|
829
830
|
*/
|
|
830
831
|
"align-content": [{
|
|
831
|
-
content: ["normal", ...
|
|
832
|
+
content: ["normal", ...be()]
|
|
832
833
|
}],
|
|
833
834
|
/**
|
|
834
835
|
* Align Items
|
|
835
836
|
* @see https://tailwindcss.com/docs/align-items
|
|
836
837
|
*/
|
|
837
838
|
"align-items": [{
|
|
838
|
-
items: [...
|
|
839
|
+
items: [...X(), {
|
|
839
840
|
baseline: ["", "last"]
|
|
840
841
|
}]
|
|
841
842
|
}],
|
|
@@ -844,7 +845,7 @@ const bo = (e, o) => {
|
|
|
844
845
|
* @see https://tailwindcss.com/docs/align-self
|
|
845
846
|
*/
|
|
846
847
|
"align-self": [{
|
|
847
|
-
self: ["auto", ...
|
|
848
|
+
self: ["auto", ...X(), {
|
|
848
849
|
baseline: ["", "last"]
|
|
849
850
|
}]
|
|
850
851
|
}],
|
|
@@ -853,21 +854,21 @@ const bo = (e, o) => {
|
|
|
853
854
|
* @see https://tailwindcss.com/docs/place-content
|
|
854
855
|
*/
|
|
855
856
|
"place-content": [{
|
|
856
|
-
"place-content":
|
|
857
|
+
"place-content": be()
|
|
857
858
|
}],
|
|
858
859
|
/**
|
|
859
860
|
* Place Items
|
|
860
861
|
* @see https://tailwindcss.com/docs/place-items
|
|
861
862
|
*/
|
|
862
863
|
"place-items": [{
|
|
863
|
-
"place-items": [...
|
|
864
|
+
"place-items": [...X(), "baseline"]
|
|
864
865
|
}],
|
|
865
866
|
/**
|
|
866
867
|
* Place Self
|
|
867
868
|
* @see https://tailwindcss.com/docs/place-self
|
|
868
869
|
*/
|
|
869
870
|
"place-self": [{
|
|
870
|
-
"place-self": ["auto", ...
|
|
871
|
+
"place-self": ["auto", ...X()]
|
|
871
872
|
}],
|
|
872
873
|
// Spacing
|
|
873
874
|
/**
|
|
@@ -952,77 +953,77 @@ const bo = (e, o) => {
|
|
|
952
953
|
* @see https://tailwindcss.com/docs/margin
|
|
953
954
|
*/
|
|
954
955
|
m: [{
|
|
955
|
-
m:
|
|
956
|
+
m: L()
|
|
956
957
|
}],
|
|
957
958
|
/**
|
|
958
959
|
* Margin Inline
|
|
959
960
|
* @see https://tailwindcss.com/docs/margin
|
|
960
961
|
*/
|
|
961
962
|
mx: [{
|
|
962
|
-
mx:
|
|
963
|
+
mx: L()
|
|
963
964
|
}],
|
|
964
965
|
/**
|
|
965
966
|
* Margin Block
|
|
966
967
|
* @see https://tailwindcss.com/docs/margin
|
|
967
968
|
*/
|
|
968
969
|
my: [{
|
|
969
|
-
my:
|
|
970
|
+
my: L()
|
|
970
971
|
}],
|
|
971
972
|
/**
|
|
972
973
|
* Margin Inline Start
|
|
973
974
|
* @see https://tailwindcss.com/docs/margin
|
|
974
975
|
*/
|
|
975
976
|
ms: [{
|
|
976
|
-
ms:
|
|
977
|
+
ms: L()
|
|
977
978
|
}],
|
|
978
979
|
/**
|
|
979
980
|
* Margin Inline End
|
|
980
981
|
* @see https://tailwindcss.com/docs/margin
|
|
981
982
|
*/
|
|
982
983
|
me: [{
|
|
983
|
-
me:
|
|
984
|
+
me: L()
|
|
984
985
|
}],
|
|
985
986
|
/**
|
|
986
987
|
* Margin Block Start
|
|
987
988
|
* @see https://tailwindcss.com/docs/margin
|
|
988
989
|
*/
|
|
989
990
|
mbs: [{
|
|
990
|
-
mbs:
|
|
991
|
+
mbs: L()
|
|
991
992
|
}],
|
|
992
993
|
/**
|
|
993
994
|
* Margin Block End
|
|
994
995
|
* @see https://tailwindcss.com/docs/margin
|
|
995
996
|
*/
|
|
996
997
|
mbe: [{
|
|
997
|
-
mbe:
|
|
998
|
+
mbe: L()
|
|
998
999
|
}],
|
|
999
1000
|
/**
|
|
1000
1001
|
* Margin Top
|
|
1001
1002
|
* @see https://tailwindcss.com/docs/margin
|
|
1002
1003
|
*/
|
|
1003
1004
|
mt: [{
|
|
1004
|
-
mt:
|
|
1005
|
+
mt: L()
|
|
1005
1006
|
}],
|
|
1006
1007
|
/**
|
|
1007
1008
|
* Margin Right
|
|
1008
1009
|
* @see https://tailwindcss.com/docs/margin
|
|
1009
1010
|
*/
|
|
1010
1011
|
mr: [{
|
|
1011
|
-
mr:
|
|
1012
|
+
mr: L()
|
|
1012
1013
|
}],
|
|
1013
1014
|
/**
|
|
1014
1015
|
* Margin Bottom
|
|
1015
1016
|
* @see https://tailwindcss.com/docs/margin
|
|
1016
1017
|
*/
|
|
1017
1018
|
mb: [{
|
|
1018
|
-
mb:
|
|
1019
|
+
mb: L()
|
|
1019
1020
|
}],
|
|
1020
1021
|
/**
|
|
1021
1022
|
* Margin Left
|
|
1022
1023
|
* @see https://tailwindcss.com/docs/margin
|
|
1023
1024
|
*/
|
|
1024
1025
|
ml: [{
|
|
1025
|
-
ml:
|
|
1026
|
+
ml: L()
|
|
1026
1027
|
}],
|
|
1027
1028
|
/**
|
|
1028
1029
|
* Space Between X
|
|
@@ -1056,56 +1057,56 @@ const bo = (e, o) => {
|
|
|
1056
1057
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1057
1058
|
*/
|
|
1058
1059
|
size: [{
|
|
1059
|
-
size:
|
|
1060
|
+
size: H()
|
|
1060
1061
|
}],
|
|
1061
1062
|
/**
|
|
1062
1063
|
* Inline Size
|
|
1063
1064
|
* @see https://tailwindcss.com/docs/width
|
|
1064
1065
|
*/
|
|
1065
1066
|
"inline-size": [{
|
|
1066
|
-
inline: ["auto", ...
|
|
1067
|
+
inline: ["auto", ...fe()]
|
|
1067
1068
|
}],
|
|
1068
1069
|
/**
|
|
1069
1070
|
* Min-Inline Size
|
|
1070
1071
|
* @see https://tailwindcss.com/docs/min-width
|
|
1071
1072
|
*/
|
|
1072
1073
|
"min-inline-size": [{
|
|
1073
|
-
"min-inline": ["auto", ...
|
|
1074
|
+
"min-inline": ["auto", ...fe()]
|
|
1074
1075
|
}],
|
|
1075
1076
|
/**
|
|
1076
1077
|
* Max-Inline Size
|
|
1077
1078
|
* @see https://tailwindcss.com/docs/max-width
|
|
1078
1079
|
*/
|
|
1079
1080
|
"max-inline-size": [{
|
|
1080
|
-
"max-inline": ["none", ...
|
|
1081
|
+
"max-inline": ["none", ...fe()]
|
|
1081
1082
|
}],
|
|
1082
1083
|
/**
|
|
1083
1084
|
* Block Size
|
|
1084
1085
|
* @see https://tailwindcss.com/docs/height
|
|
1085
1086
|
*/
|
|
1086
1087
|
"block-size": [{
|
|
1087
|
-
block: ["auto", ...
|
|
1088
|
+
block: ["auto", ...ge()]
|
|
1088
1089
|
}],
|
|
1089
1090
|
/**
|
|
1090
1091
|
* Min-Block Size
|
|
1091
1092
|
* @see https://tailwindcss.com/docs/min-height
|
|
1092
1093
|
*/
|
|
1093
1094
|
"min-block-size": [{
|
|
1094
|
-
"min-block": ["auto", ...
|
|
1095
|
+
"min-block": ["auto", ...ge()]
|
|
1095
1096
|
}],
|
|
1096
1097
|
/**
|
|
1097
1098
|
* Max-Block Size
|
|
1098
1099
|
* @see https://tailwindcss.com/docs/max-height
|
|
1099
1100
|
*/
|
|
1100
1101
|
"max-block-size": [{
|
|
1101
|
-
"max-block": ["none", ...
|
|
1102
|
+
"max-block": ["none", ...ge()]
|
|
1102
1103
|
}],
|
|
1103
1104
|
/**
|
|
1104
1105
|
* Width
|
|
1105
1106
|
* @see https://tailwindcss.com/docs/width
|
|
1106
1107
|
*/
|
|
1107
1108
|
w: [{
|
|
1108
|
-
w: [
|
|
1109
|
+
w: [p, "screen", ...H()]
|
|
1109
1110
|
}],
|
|
1110
1111
|
/**
|
|
1111
1112
|
* Min-Width
|
|
@@ -1113,11 +1114,11 @@ const bo = (e, o) => {
|
|
|
1113
1114
|
*/
|
|
1114
1115
|
"min-w": [{
|
|
1115
1116
|
"min-w": [
|
|
1116
|
-
|
|
1117
|
+
p,
|
|
1117
1118
|
"screen",
|
|
1118
1119
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1119
1120
|
"none",
|
|
1120
|
-
...
|
|
1121
|
+
...H()
|
|
1121
1122
|
]
|
|
1122
1123
|
}],
|
|
1123
1124
|
/**
|
|
@@ -1126,7 +1127,7 @@ const bo = (e, o) => {
|
|
|
1126
1127
|
*/
|
|
1127
1128
|
"max-w": [{
|
|
1128
1129
|
"max-w": [
|
|
1129
|
-
|
|
1130
|
+
p,
|
|
1130
1131
|
"screen",
|
|
1131
1132
|
"none",
|
|
1132
1133
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
@@ -1135,7 +1136,7 @@ const bo = (e, o) => {
|
|
|
1135
1136
|
{
|
|
1136
1137
|
screen: [l]
|
|
1137
1138
|
},
|
|
1138
|
-
...
|
|
1139
|
+
...H()
|
|
1139
1140
|
]
|
|
1140
1141
|
}],
|
|
1141
1142
|
/**
|
|
@@ -1143,21 +1144,21 @@ const bo = (e, o) => {
|
|
|
1143
1144
|
* @see https://tailwindcss.com/docs/height
|
|
1144
1145
|
*/
|
|
1145
1146
|
h: [{
|
|
1146
|
-
h: ["screen", "lh", ...
|
|
1147
|
+
h: ["screen", "lh", ...H()]
|
|
1147
1148
|
}],
|
|
1148
1149
|
/**
|
|
1149
1150
|
* Min-Height
|
|
1150
1151
|
* @see https://tailwindcss.com/docs/min-height
|
|
1151
1152
|
*/
|
|
1152
1153
|
"min-h": [{
|
|
1153
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1154
|
+
"min-h": ["screen", "lh", "none", ...H()]
|
|
1154
1155
|
}],
|
|
1155
1156
|
/**
|
|
1156
1157
|
* Max-Height
|
|
1157
1158
|
* @see https://tailwindcss.com/docs/max-height
|
|
1158
1159
|
*/
|
|
1159
1160
|
"max-h": [{
|
|
1160
|
-
"max-h": ["screen", "lh", ...
|
|
1161
|
+
"max-h": ["screen", "lh", ...H()]
|
|
1161
1162
|
}],
|
|
1162
1163
|
// ------------------
|
|
1163
1164
|
// --- Typography ---
|
|
@@ -1167,7 +1168,7 @@ const bo = (e, o) => {
|
|
|
1167
1168
|
* @see https://tailwindcss.com/docs/font-size
|
|
1168
1169
|
*/
|
|
1169
1170
|
"font-size": [{
|
|
1170
|
-
text: ["base",
|
|
1171
|
+
text: ["base", o, _, D]
|
|
1171
1172
|
}],
|
|
1172
1173
|
/**
|
|
1173
1174
|
* Font Smoothing
|
|
@@ -1184,21 +1185,21 @@ const bo = (e, o) => {
|
|
|
1184
1185
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1185
1186
|
*/
|
|
1186
1187
|
"font-weight": [{
|
|
1187
|
-
font: [r,
|
|
1188
|
+
font: [r, ao, eo]
|
|
1188
1189
|
}],
|
|
1189
1190
|
/**
|
|
1190
1191
|
* Font Stretch
|
|
1191
1192
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1192
1193
|
*/
|
|
1193
1194
|
"font-stretch": [{
|
|
1194
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1195
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ye, n]
|
|
1195
1196
|
}],
|
|
1196
1197
|
/**
|
|
1197
1198
|
* Font Family
|
|
1198
1199
|
* @see https://tailwindcss.com/docs/font-family
|
|
1199
1200
|
*/
|
|
1200
1201
|
"font-family": [{
|
|
1201
|
-
font: [
|
|
1202
|
+
font: [ro, to, t]
|
|
1202
1203
|
}],
|
|
1203
1204
|
/**
|
|
1204
1205
|
* Font Feature Settings
|
|
@@ -1242,14 +1243,14 @@ const bo = (e, o) => {
|
|
|
1242
1243
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1243
1244
|
*/
|
|
1244
1245
|
tracking: [{
|
|
1245
|
-
tracking: [s,
|
|
1246
|
+
tracking: [s, i, n]
|
|
1246
1247
|
}],
|
|
1247
1248
|
/**
|
|
1248
1249
|
* Line Clamp
|
|
1249
1250
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1250
1251
|
*/
|
|
1251
1252
|
"line-clamp": [{
|
|
1252
|
-
"line-clamp": [
|
|
1253
|
+
"line-clamp": [b, "none", i, Ye]
|
|
1253
1254
|
}],
|
|
1254
1255
|
/**
|
|
1255
1256
|
* Line Height
|
|
@@ -1258,7 +1259,7 @@ const bo = (e, o) => {
|
|
|
1258
1259
|
leading: [{
|
|
1259
1260
|
leading: [
|
|
1260
1261
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1261
|
-
|
|
1262
|
+
a,
|
|
1262
1263
|
...c()
|
|
1263
1264
|
]
|
|
1264
1265
|
}],
|
|
@@ -1267,7 +1268,7 @@ const bo = (e, o) => {
|
|
|
1267
1268
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1268
1269
|
*/
|
|
1269
1270
|
"list-image": [{
|
|
1270
|
-
"list-image": ["none",
|
|
1271
|
+
"list-image": ["none", i, n]
|
|
1271
1272
|
}],
|
|
1272
1273
|
/**
|
|
1273
1274
|
* List Style Position
|
|
@@ -1281,7 +1282,7 @@ const bo = (e, o) => {
|
|
|
1281
1282
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1282
1283
|
*/
|
|
1283
1284
|
"list-style-type": [{
|
|
1284
|
-
list: ["disc", "decimal", "none",
|
|
1285
|
+
list: ["disc", "decimal", "none", i, n]
|
|
1285
1286
|
}],
|
|
1286
1287
|
/**
|
|
1287
1288
|
* Text Alignment
|
|
@@ -1315,14 +1316,14 @@ const bo = (e, o) => {
|
|
|
1315
1316
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1316
1317
|
*/
|
|
1317
1318
|
"text-decoration-style": [{
|
|
1318
|
-
decoration: [...
|
|
1319
|
+
decoration: [...oe(), "wavy"]
|
|
1319
1320
|
}],
|
|
1320
1321
|
/**
|
|
1321
1322
|
* Text Decoration Thickness
|
|
1322
1323
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1323
1324
|
*/
|
|
1324
1325
|
"text-decoration-thickness": [{
|
|
1325
|
-
decoration: [
|
|
1326
|
+
decoration: [b, "from-font", "auto", i, D]
|
|
1326
1327
|
}],
|
|
1327
1328
|
/**
|
|
1328
1329
|
* Text Decoration Color
|
|
@@ -1336,7 +1337,7 @@ const bo = (e, o) => {
|
|
|
1336
1337
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1337
1338
|
*/
|
|
1338
1339
|
"underline-offset": [{
|
|
1339
|
-
"underline-offset": [
|
|
1340
|
+
"underline-offset": [b, "auto", i, n]
|
|
1340
1341
|
}],
|
|
1341
1342
|
/**
|
|
1342
1343
|
* Text Transform
|
|
@@ -1367,14 +1368,14 @@ const bo = (e, o) => {
|
|
|
1367
1368
|
* @see https://tailwindcss.com/docs/tab-size
|
|
1368
1369
|
*/
|
|
1369
1370
|
"tab-size": [{
|
|
1370
|
-
tab: [
|
|
1371
|
+
tab: [B, i, n]
|
|
1371
1372
|
}],
|
|
1372
1373
|
/**
|
|
1373
1374
|
* Vertical Alignment
|
|
1374
1375
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1375
1376
|
*/
|
|
1376
1377
|
"vertical-align": [{
|
|
1377
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1378
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", i, n]
|
|
1378
1379
|
}],
|
|
1379
1380
|
/**
|
|
1380
1381
|
* Whitespace
|
|
@@ -1409,7 +1410,7 @@ const bo = (e, o) => {
|
|
|
1409
1410
|
* @see https://tailwindcss.com/docs/content
|
|
1410
1411
|
*/
|
|
1411
1412
|
content: [{
|
|
1412
|
-
content: ["none",
|
|
1413
|
+
content: ["none", i, n]
|
|
1413
1414
|
}],
|
|
1414
1415
|
// -------------------
|
|
1415
1416
|
// --- Backgrounds ---
|
|
@@ -1440,21 +1441,21 @@ const bo = (e, o) => {
|
|
|
1440
1441
|
* @see https://tailwindcss.com/docs/background-position
|
|
1441
1442
|
*/
|
|
1442
1443
|
"bg-position": [{
|
|
1443
|
-
bg:
|
|
1444
|
+
bg: Le()
|
|
1444
1445
|
}],
|
|
1445
1446
|
/**
|
|
1446
1447
|
* Background Repeat
|
|
1447
1448
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1448
1449
|
*/
|
|
1449
1450
|
"bg-repeat": [{
|
|
1450
|
-
bg:
|
|
1451
|
+
bg: Re()
|
|
1451
1452
|
}],
|
|
1452
1453
|
/**
|
|
1453
1454
|
* Background Size
|
|
1454
1455
|
* @see https://tailwindcss.com/docs/background-size
|
|
1455
1456
|
*/
|
|
1456
1457
|
"bg-size": [{
|
|
1457
|
-
bg:
|
|
1458
|
+
bg: Te()
|
|
1458
1459
|
}],
|
|
1459
1460
|
/**
|
|
1460
1461
|
* Background Image
|
|
@@ -1464,10 +1465,10 @@ const bo = (e, o) => {
|
|
|
1464
1465
|
bg: ["none", {
|
|
1465
1466
|
linear: [{
|
|
1466
1467
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1467
|
-
},
|
|
1468
|
-
radial: ["",
|
|
1469
|
-
conic: [
|
|
1470
|
-
},
|
|
1468
|
+
}, B, i, n],
|
|
1469
|
+
radial: ["", i, n],
|
|
1470
|
+
conic: [B, i, n]
|
|
1471
|
+
}, no, oo]
|
|
1471
1472
|
}],
|
|
1472
1473
|
/**
|
|
1473
1474
|
* Background Color
|
|
@@ -1481,21 +1482,21 @@ const bo = (e, o) => {
|
|
|
1481
1482
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1482
1483
|
*/
|
|
1483
1484
|
"gradient-from-pos": [{
|
|
1484
|
-
from:
|
|
1485
|
+
from: he()
|
|
1485
1486
|
}],
|
|
1486
1487
|
/**
|
|
1487
1488
|
* Gradient Color Stops Via Position
|
|
1488
1489
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1489
1490
|
*/
|
|
1490
1491
|
"gradient-via-pos": [{
|
|
1491
|
-
via:
|
|
1492
|
+
via: he()
|
|
1492
1493
|
}],
|
|
1493
1494
|
/**
|
|
1494
1495
|
* Gradient Color Stops To Position
|
|
1495
1496
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1496
1497
|
*/
|
|
1497
1498
|
"gradient-to-pos": [{
|
|
1498
|
-
to:
|
|
1499
|
+
to: he()
|
|
1499
1500
|
}],
|
|
1500
1501
|
/**
|
|
1501
1502
|
* Gradient Color Stops From
|
|
@@ -1526,189 +1527,189 @@ const bo = (e, o) => {
|
|
|
1526
1527
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1527
1528
|
*/
|
|
1528
1529
|
rounded: [{
|
|
1529
|
-
rounded:
|
|
1530
|
+
rounded: O()
|
|
1530
1531
|
}],
|
|
1531
1532
|
/**
|
|
1532
1533
|
* Border Radius Start
|
|
1533
1534
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1534
1535
|
*/
|
|
1535
1536
|
"rounded-s": [{
|
|
1536
|
-
"rounded-s":
|
|
1537
|
+
"rounded-s": O()
|
|
1537
1538
|
}],
|
|
1538
1539
|
/**
|
|
1539
1540
|
* Border Radius End
|
|
1540
1541
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1541
1542
|
*/
|
|
1542
1543
|
"rounded-e": [{
|
|
1543
|
-
"rounded-e":
|
|
1544
|
+
"rounded-e": O()
|
|
1544
1545
|
}],
|
|
1545
1546
|
/**
|
|
1546
1547
|
* Border Radius Top
|
|
1547
1548
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1548
1549
|
*/
|
|
1549
1550
|
"rounded-t": [{
|
|
1550
|
-
"rounded-t":
|
|
1551
|
+
"rounded-t": O()
|
|
1551
1552
|
}],
|
|
1552
1553
|
/**
|
|
1553
1554
|
* Border Radius Right
|
|
1554
1555
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1555
1556
|
*/
|
|
1556
1557
|
"rounded-r": [{
|
|
1557
|
-
"rounded-r":
|
|
1558
|
+
"rounded-r": O()
|
|
1558
1559
|
}],
|
|
1559
1560
|
/**
|
|
1560
1561
|
* Border Radius Bottom
|
|
1561
1562
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1562
1563
|
*/
|
|
1563
1564
|
"rounded-b": [{
|
|
1564
|
-
"rounded-b":
|
|
1565
|
+
"rounded-b": O()
|
|
1565
1566
|
}],
|
|
1566
1567
|
/**
|
|
1567
1568
|
* Border Radius Left
|
|
1568
1569
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1569
1570
|
*/
|
|
1570
1571
|
"rounded-l": [{
|
|
1571
|
-
"rounded-l":
|
|
1572
|
+
"rounded-l": O()
|
|
1572
1573
|
}],
|
|
1573
1574
|
/**
|
|
1574
1575
|
* Border Radius Start Start
|
|
1575
1576
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1576
1577
|
*/
|
|
1577
1578
|
"rounded-ss": [{
|
|
1578
|
-
"rounded-ss":
|
|
1579
|
+
"rounded-ss": O()
|
|
1579
1580
|
}],
|
|
1580
1581
|
/**
|
|
1581
1582
|
* Border Radius Start End
|
|
1582
1583
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1583
1584
|
*/
|
|
1584
1585
|
"rounded-se": [{
|
|
1585
|
-
"rounded-se":
|
|
1586
|
+
"rounded-se": O()
|
|
1586
1587
|
}],
|
|
1587
1588
|
/**
|
|
1588
1589
|
* Border Radius End End
|
|
1589
1590
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1590
1591
|
*/
|
|
1591
1592
|
"rounded-ee": [{
|
|
1592
|
-
"rounded-ee":
|
|
1593
|
+
"rounded-ee": O()
|
|
1593
1594
|
}],
|
|
1594
1595
|
/**
|
|
1595
1596
|
* Border Radius End Start
|
|
1596
1597
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1597
1598
|
*/
|
|
1598
1599
|
"rounded-es": [{
|
|
1599
|
-
"rounded-es":
|
|
1600
|
+
"rounded-es": O()
|
|
1600
1601
|
}],
|
|
1601
1602
|
/**
|
|
1602
1603
|
* Border Radius Top Left
|
|
1603
1604
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1604
1605
|
*/
|
|
1605
1606
|
"rounded-tl": [{
|
|
1606
|
-
"rounded-tl":
|
|
1607
|
+
"rounded-tl": O()
|
|
1607
1608
|
}],
|
|
1608
1609
|
/**
|
|
1609
1610
|
* Border Radius Top Right
|
|
1610
1611
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1611
1612
|
*/
|
|
1612
1613
|
"rounded-tr": [{
|
|
1613
|
-
"rounded-tr":
|
|
1614
|
+
"rounded-tr": O()
|
|
1614
1615
|
}],
|
|
1615
1616
|
/**
|
|
1616
1617
|
* Border Radius Bottom Right
|
|
1617
1618
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1618
1619
|
*/
|
|
1619
1620
|
"rounded-br": [{
|
|
1620
|
-
"rounded-br":
|
|
1621
|
+
"rounded-br": O()
|
|
1621
1622
|
}],
|
|
1622
1623
|
/**
|
|
1623
1624
|
* Border Radius Bottom Left
|
|
1624
1625
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1625
1626
|
*/
|
|
1626
1627
|
"rounded-bl": [{
|
|
1627
|
-
"rounded-bl":
|
|
1628
|
+
"rounded-bl": O()
|
|
1628
1629
|
}],
|
|
1629
1630
|
/**
|
|
1630
1631
|
* Border Width
|
|
1631
1632
|
* @see https://tailwindcss.com/docs/border-width
|
|
1632
1633
|
*/
|
|
1633
1634
|
"border-w": [{
|
|
1634
|
-
border:
|
|
1635
|
+
border: G()
|
|
1635
1636
|
}],
|
|
1636
1637
|
/**
|
|
1637
1638
|
* Border Width Inline
|
|
1638
1639
|
* @see https://tailwindcss.com/docs/border-width
|
|
1639
1640
|
*/
|
|
1640
1641
|
"border-w-x": [{
|
|
1641
|
-
"border-x":
|
|
1642
|
+
"border-x": G()
|
|
1642
1643
|
}],
|
|
1643
1644
|
/**
|
|
1644
1645
|
* Border Width Block
|
|
1645
1646
|
* @see https://tailwindcss.com/docs/border-width
|
|
1646
1647
|
*/
|
|
1647
1648
|
"border-w-y": [{
|
|
1648
|
-
"border-y":
|
|
1649
|
+
"border-y": G()
|
|
1649
1650
|
}],
|
|
1650
1651
|
/**
|
|
1651
1652
|
* Border Width Inline Start
|
|
1652
1653
|
* @see https://tailwindcss.com/docs/border-width
|
|
1653
1654
|
*/
|
|
1654
1655
|
"border-w-s": [{
|
|
1655
|
-
"border-s":
|
|
1656
|
+
"border-s": G()
|
|
1656
1657
|
}],
|
|
1657
1658
|
/**
|
|
1658
1659
|
* Border Width Inline End
|
|
1659
1660
|
* @see https://tailwindcss.com/docs/border-width
|
|
1660
1661
|
*/
|
|
1661
1662
|
"border-w-e": [{
|
|
1662
|
-
"border-e":
|
|
1663
|
+
"border-e": G()
|
|
1663
1664
|
}],
|
|
1664
1665
|
/**
|
|
1665
1666
|
* Border Width Block Start
|
|
1666
1667
|
* @see https://tailwindcss.com/docs/border-width
|
|
1667
1668
|
*/
|
|
1668
1669
|
"border-w-bs": [{
|
|
1669
|
-
"border-bs":
|
|
1670
|
+
"border-bs": G()
|
|
1670
1671
|
}],
|
|
1671
1672
|
/**
|
|
1672
1673
|
* Border Width Block End
|
|
1673
1674
|
* @see https://tailwindcss.com/docs/border-width
|
|
1674
1675
|
*/
|
|
1675
1676
|
"border-w-be": [{
|
|
1676
|
-
"border-be":
|
|
1677
|
+
"border-be": G()
|
|
1677
1678
|
}],
|
|
1678
1679
|
/**
|
|
1679
1680
|
* Border Width Top
|
|
1680
1681
|
* @see https://tailwindcss.com/docs/border-width
|
|
1681
1682
|
*/
|
|
1682
1683
|
"border-w-t": [{
|
|
1683
|
-
"border-t":
|
|
1684
|
+
"border-t": G()
|
|
1684
1685
|
}],
|
|
1685
1686
|
/**
|
|
1686
1687
|
* Border Width Right
|
|
1687
1688
|
* @see https://tailwindcss.com/docs/border-width
|
|
1688
1689
|
*/
|
|
1689
1690
|
"border-w-r": [{
|
|
1690
|
-
"border-r":
|
|
1691
|
+
"border-r": G()
|
|
1691
1692
|
}],
|
|
1692
1693
|
/**
|
|
1693
1694
|
* Border Width Bottom
|
|
1694
1695
|
* @see https://tailwindcss.com/docs/border-width
|
|
1695
1696
|
*/
|
|
1696
1697
|
"border-w-b": [{
|
|
1697
|
-
"border-b":
|
|
1698
|
+
"border-b": G()
|
|
1698
1699
|
}],
|
|
1699
1700
|
/**
|
|
1700
1701
|
* Border Width Left
|
|
1701
1702
|
* @see https://tailwindcss.com/docs/border-width
|
|
1702
1703
|
*/
|
|
1703
1704
|
"border-w-l": [{
|
|
1704
|
-
"border-l":
|
|
1705
|
+
"border-l": G()
|
|
1705
1706
|
}],
|
|
1706
1707
|
/**
|
|
1707
1708
|
* Divide Width X
|
|
1708
1709
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1709
1710
|
*/
|
|
1710
1711
|
"divide-x": [{
|
|
1711
|
-
"divide-x":
|
|
1712
|
+
"divide-x": G()
|
|
1712
1713
|
}],
|
|
1713
1714
|
/**
|
|
1714
1715
|
* Divide Width X Reverse
|
|
@@ -1720,7 +1721,7 @@ const bo = (e, o) => {
|
|
|
1720
1721
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1721
1722
|
*/
|
|
1722
1723
|
"divide-y": [{
|
|
1723
|
-
"divide-y":
|
|
1724
|
+
"divide-y": G()
|
|
1724
1725
|
}],
|
|
1725
1726
|
/**
|
|
1726
1727
|
* Divide Width Y Reverse
|
|
@@ -1732,14 +1733,14 @@ const bo = (e, o) => {
|
|
|
1732
1733
|
* @see https://tailwindcss.com/docs/border-style
|
|
1733
1734
|
*/
|
|
1734
1735
|
"border-style": [{
|
|
1735
|
-
border: [...
|
|
1736
|
+
border: [...oe(), "hidden", "none"]
|
|
1736
1737
|
}],
|
|
1737
1738
|
/**
|
|
1738
1739
|
* Divide Style
|
|
1739
1740
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1740
1741
|
*/
|
|
1741
1742
|
"divide-style": [{
|
|
1742
|
-
divide: [...
|
|
1743
|
+
divide: [...oe(), "hidden", "none"]
|
|
1743
1744
|
}],
|
|
1744
1745
|
/**
|
|
1745
1746
|
* Border Color
|
|
@@ -1830,21 +1831,21 @@ const bo = (e, o) => {
|
|
|
1830
1831
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1831
1832
|
*/
|
|
1832
1833
|
"outline-style": [{
|
|
1833
|
-
outline: [...
|
|
1834
|
+
outline: [...oe(), "none", "hidden"]
|
|
1834
1835
|
}],
|
|
1835
1836
|
/**
|
|
1836
1837
|
* Outline Offset
|
|
1837
1838
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1838
1839
|
*/
|
|
1839
1840
|
"outline-offset": [{
|
|
1840
|
-
"outline-offset": [
|
|
1841
|
+
"outline-offset": [b, i, n]
|
|
1841
1842
|
}],
|
|
1842
1843
|
/**
|
|
1843
1844
|
* Outline Width
|
|
1844
1845
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1845
1846
|
*/
|
|
1846
1847
|
"outline-w": [{
|
|
1847
|
-
outline: ["",
|
|
1848
|
+
outline: ["", b, _, D]
|
|
1848
1849
|
}],
|
|
1849
1850
|
/**
|
|
1850
1851
|
* Outline Color
|
|
@@ -1865,9 +1866,9 @@ const bo = (e, o) => {
|
|
|
1865
1866
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1866
1867
|
"",
|
|
1867
1868
|
"none",
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1869
|
+
S,
|
|
1870
|
+
le,
|
|
1871
|
+
ie
|
|
1871
1872
|
]
|
|
1872
1873
|
}],
|
|
1873
1874
|
/**
|
|
@@ -1882,7 +1883,7 @@ const bo = (e, o) => {
|
|
|
1882
1883
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1883
1884
|
*/
|
|
1884
1885
|
"inset-shadow": [{
|
|
1885
|
-
"inset-shadow": ["none",
|
|
1886
|
+
"inset-shadow": ["none", I, le, ie]
|
|
1886
1887
|
}],
|
|
1887
1888
|
/**
|
|
1888
1889
|
* Inset Box Shadow Color
|
|
@@ -1896,7 +1897,7 @@ const bo = (e, o) => {
|
|
|
1896
1897
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1897
1898
|
*/
|
|
1898
1899
|
"ring-w": [{
|
|
1899
|
-
ring:
|
|
1900
|
+
ring: G()
|
|
1900
1901
|
}],
|
|
1901
1902
|
/**
|
|
1902
1903
|
* Ring Width Inset
|
|
@@ -1919,7 +1920,7 @@ const bo = (e, o) => {
|
|
|
1919
1920
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1920
1921
|
*/
|
|
1921
1922
|
"ring-offset-w": [{
|
|
1922
|
-
"ring-offset": [
|
|
1923
|
+
"ring-offset": [b, D]
|
|
1923
1924
|
}],
|
|
1924
1925
|
/**
|
|
1925
1926
|
* Ring Offset Color
|
|
@@ -1935,7 +1936,7 @@ const bo = (e, o) => {
|
|
|
1935
1936
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
1936
1937
|
*/
|
|
1937
1938
|
"inset-ring-w": [{
|
|
1938
|
-
"inset-ring":
|
|
1939
|
+
"inset-ring": G()
|
|
1939
1940
|
}],
|
|
1940
1941
|
/**
|
|
1941
1942
|
* Inset Ring Color
|
|
@@ -1949,7 +1950,7 @@ const bo = (e, o) => {
|
|
|
1949
1950
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
1950
1951
|
*/
|
|
1951
1952
|
"text-shadow": [{
|
|
1952
|
-
"text-shadow": ["none",
|
|
1953
|
+
"text-shadow": ["none", T, le, ie]
|
|
1953
1954
|
}],
|
|
1954
1955
|
/**
|
|
1955
1956
|
* Text Shadow Color
|
|
@@ -1963,21 +1964,21 @@ const bo = (e, o) => {
|
|
|
1963
1964
|
* @see https://tailwindcss.com/docs/opacity
|
|
1964
1965
|
*/
|
|
1965
1966
|
opacity: [{
|
|
1966
|
-
opacity: [
|
|
1967
|
+
opacity: [b, i, n]
|
|
1967
1968
|
}],
|
|
1968
1969
|
/**
|
|
1969
1970
|
* Mix Blend Mode
|
|
1970
1971
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1971
1972
|
*/
|
|
1972
1973
|
"mix-blend": [{
|
|
1973
|
-
"mix-blend": [...
|
|
1974
|
+
"mix-blend": [...je(), "plus-darker", "plus-lighter"]
|
|
1974
1975
|
}],
|
|
1975
1976
|
/**
|
|
1976
1977
|
* Background Blend Mode
|
|
1977
1978
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1978
1979
|
*/
|
|
1979
1980
|
"bg-blend": [{
|
|
1980
|
-
"bg-blend":
|
|
1981
|
+
"bg-blend": je()
|
|
1981
1982
|
}],
|
|
1982
1983
|
/**
|
|
1983
1984
|
* Mask Clip
|
|
@@ -1998,13 +1999,13 @@ const bo = (e, o) => {
|
|
|
1998
1999
|
* @see https://tailwindcss.com/docs/mask-image
|
|
1999
2000
|
*/
|
|
2000
2001
|
"mask-image-linear-pos": [{
|
|
2001
|
-
"mask-linear": [
|
|
2002
|
+
"mask-linear": [b]
|
|
2002
2003
|
}],
|
|
2003
2004
|
"mask-image-linear-from-pos": [{
|
|
2004
|
-
"mask-linear-from":
|
|
2005
|
+
"mask-linear-from": z()
|
|
2005
2006
|
}],
|
|
2006
2007
|
"mask-image-linear-to-pos": [{
|
|
2007
|
-
"mask-linear-to":
|
|
2008
|
+
"mask-linear-to": z()
|
|
2008
2009
|
}],
|
|
2009
2010
|
"mask-image-linear-from-color": [{
|
|
2010
2011
|
"mask-linear-from": d()
|
|
@@ -2013,10 +2014,10 @@ const bo = (e, o) => {
|
|
|
2013
2014
|
"mask-linear-to": d()
|
|
2014
2015
|
}],
|
|
2015
2016
|
"mask-image-t-from-pos": [{
|
|
2016
|
-
"mask-t-from":
|
|
2017
|
+
"mask-t-from": z()
|
|
2017
2018
|
}],
|
|
2018
2019
|
"mask-image-t-to-pos": [{
|
|
2019
|
-
"mask-t-to":
|
|
2020
|
+
"mask-t-to": z()
|
|
2020
2021
|
}],
|
|
2021
2022
|
"mask-image-t-from-color": [{
|
|
2022
2023
|
"mask-t-from": d()
|
|
@@ -2025,10 +2026,10 @@ const bo = (e, o) => {
|
|
|
2025
2026
|
"mask-t-to": d()
|
|
2026
2027
|
}],
|
|
2027
2028
|
"mask-image-r-from-pos": [{
|
|
2028
|
-
"mask-r-from":
|
|
2029
|
+
"mask-r-from": z()
|
|
2029
2030
|
}],
|
|
2030
2031
|
"mask-image-r-to-pos": [{
|
|
2031
|
-
"mask-r-to":
|
|
2032
|
+
"mask-r-to": z()
|
|
2032
2033
|
}],
|
|
2033
2034
|
"mask-image-r-from-color": [{
|
|
2034
2035
|
"mask-r-from": d()
|
|
@@ -2037,10 +2038,10 @@ const bo = (e, o) => {
|
|
|
2037
2038
|
"mask-r-to": d()
|
|
2038
2039
|
}],
|
|
2039
2040
|
"mask-image-b-from-pos": [{
|
|
2040
|
-
"mask-b-from":
|
|
2041
|
+
"mask-b-from": z()
|
|
2041
2042
|
}],
|
|
2042
2043
|
"mask-image-b-to-pos": [{
|
|
2043
|
-
"mask-b-to":
|
|
2044
|
+
"mask-b-to": z()
|
|
2044
2045
|
}],
|
|
2045
2046
|
"mask-image-b-from-color": [{
|
|
2046
2047
|
"mask-b-from": d()
|
|
@@ -2049,10 +2050,10 @@ const bo = (e, o) => {
|
|
|
2049
2050
|
"mask-b-to": d()
|
|
2050
2051
|
}],
|
|
2051
2052
|
"mask-image-l-from-pos": [{
|
|
2052
|
-
"mask-l-from":
|
|
2053
|
+
"mask-l-from": z()
|
|
2053
2054
|
}],
|
|
2054
2055
|
"mask-image-l-to-pos": [{
|
|
2055
|
-
"mask-l-to":
|
|
2056
|
+
"mask-l-to": z()
|
|
2056
2057
|
}],
|
|
2057
2058
|
"mask-image-l-from-color": [{
|
|
2058
2059
|
"mask-l-from": d()
|
|
@@ -2061,10 +2062,10 @@ const bo = (e, o) => {
|
|
|
2061
2062
|
"mask-l-to": d()
|
|
2062
2063
|
}],
|
|
2063
2064
|
"mask-image-x-from-pos": [{
|
|
2064
|
-
"mask-x-from":
|
|
2065
|
+
"mask-x-from": z()
|
|
2065
2066
|
}],
|
|
2066
2067
|
"mask-image-x-to-pos": [{
|
|
2067
|
-
"mask-x-to":
|
|
2068
|
+
"mask-x-to": z()
|
|
2068
2069
|
}],
|
|
2069
2070
|
"mask-image-x-from-color": [{
|
|
2070
2071
|
"mask-x-from": d()
|
|
@@ -2073,10 +2074,10 @@ const bo = (e, o) => {
|
|
|
2073
2074
|
"mask-x-to": d()
|
|
2074
2075
|
}],
|
|
2075
2076
|
"mask-image-y-from-pos": [{
|
|
2076
|
-
"mask-y-from":
|
|
2077
|
+
"mask-y-from": z()
|
|
2077
2078
|
}],
|
|
2078
2079
|
"mask-image-y-to-pos": [{
|
|
2079
|
-
"mask-y-to":
|
|
2080
|
+
"mask-y-to": z()
|
|
2080
2081
|
}],
|
|
2081
2082
|
"mask-image-y-from-color": [{
|
|
2082
2083
|
"mask-y-from": d()
|
|
@@ -2085,13 +2086,13 @@ const bo = (e, o) => {
|
|
|
2085
2086
|
"mask-y-to": d()
|
|
2086
2087
|
}],
|
|
2087
2088
|
"mask-image-radial": [{
|
|
2088
|
-
"mask-radial": [
|
|
2089
|
+
"mask-radial": [i, n]
|
|
2089
2090
|
}],
|
|
2090
2091
|
"mask-image-radial-from-pos": [{
|
|
2091
|
-
"mask-radial-from":
|
|
2092
|
+
"mask-radial-from": z()
|
|
2092
2093
|
}],
|
|
2093
2094
|
"mask-image-radial-to-pos": [{
|
|
2094
|
-
"mask-radial-to":
|
|
2095
|
+
"mask-radial-to": z()
|
|
2095
2096
|
}],
|
|
2096
2097
|
"mask-image-radial-from-color": [{
|
|
2097
2098
|
"mask-radial-from": d()
|
|
@@ -2109,16 +2110,16 @@ const bo = (e, o) => {
|
|
|
2109
2110
|
}]
|
|
2110
2111
|
}],
|
|
2111
2112
|
"mask-image-radial-pos": [{
|
|
2112
|
-
"mask-radial-at":
|
|
2113
|
+
"mask-radial-at": Y()
|
|
2113
2114
|
}],
|
|
2114
2115
|
"mask-image-conic-pos": [{
|
|
2115
|
-
"mask-conic": [
|
|
2116
|
+
"mask-conic": [b]
|
|
2116
2117
|
}],
|
|
2117
2118
|
"mask-image-conic-from-pos": [{
|
|
2118
|
-
"mask-conic-from":
|
|
2119
|
+
"mask-conic-from": z()
|
|
2119
2120
|
}],
|
|
2120
2121
|
"mask-image-conic-to-pos": [{
|
|
2121
|
-
"mask-conic-to":
|
|
2122
|
+
"mask-conic-to": z()
|
|
2122
2123
|
}],
|
|
2123
2124
|
"mask-image-conic-from-color": [{
|
|
2124
2125
|
"mask-conic-from": d()
|
|
@@ -2145,21 +2146,21 @@ const bo = (e, o) => {
|
|
|
2145
2146
|
* @see https://tailwindcss.com/docs/mask-position
|
|
2146
2147
|
*/
|
|
2147
2148
|
"mask-position": [{
|
|
2148
|
-
mask:
|
|
2149
|
+
mask: Le()
|
|
2149
2150
|
}],
|
|
2150
2151
|
/**
|
|
2151
2152
|
* Mask Repeat
|
|
2152
2153
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2153
2154
|
*/
|
|
2154
2155
|
"mask-repeat": [{
|
|
2155
|
-
mask:
|
|
2156
|
+
mask: Re()
|
|
2156
2157
|
}],
|
|
2157
2158
|
/**
|
|
2158
2159
|
* Mask Size
|
|
2159
2160
|
* @see https://tailwindcss.com/docs/mask-size
|
|
2160
2161
|
*/
|
|
2161
2162
|
"mask-size": [{
|
|
2162
|
-
mask:
|
|
2163
|
+
mask: Te()
|
|
2163
2164
|
}],
|
|
2164
2165
|
/**
|
|
2165
2166
|
* Mask Type
|
|
@@ -2173,7 +2174,7 @@ const bo = (e, o) => {
|
|
|
2173
2174
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2174
2175
|
*/
|
|
2175
2176
|
"mask-image": [{
|
|
2176
|
-
mask: ["none",
|
|
2177
|
+
mask: ["none", i, n]
|
|
2177
2178
|
}],
|
|
2178
2179
|
// ---------------
|
|
2179
2180
|
// --- Filters ---
|
|
@@ -2187,7 +2188,7 @@ const bo = (e, o) => {
|
|
|
2187
2188
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2188
2189
|
"",
|
|
2189
2190
|
"none",
|
|
2190
|
-
|
|
2191
|
+
i,
|
|
2191
2192
|
n
|
|
2192
2193
|
]
|
|
2193
2194
|
}],
|
|
@@ -2196,21 +2197,21 @@ const bo = (e, o) => {
|
|
|
2196
2197
|
* @see https://tailwindcss.com/docs/blur
|
|
2197
2198
|
*/
|
|
2198
2199
|
blur: [{
|
|
2199
|
-
blur:
|
|
2200
|
+
blur: Be()
|
|
2200
2201
|
}],
|
|
2201
2202
|
/**
|
|
2202
2203
|
* Brightness
|
|
2203
2204
|
* @see https://tailwindcss.com/docs/brightness
|
|
2204
2205
|
*/
|
|
2205
2206
|
brightness: [{
|
|
2206
|
-
brightness: [
|
|
2207
|
+
brightness: [b, i, n]
|
|
2207
2208
|
}],
|
|
2208
2209
|
/**
|
|
2209
2210
|
* Contrast
|
|
2210
2211
|
* @see https://tailwindcss.com/docs/contrast
|
|
2211
2212
|
*/
|
|
2212
2213
|
contrast: [{
|
|
2213
|
-
contrast: [
|
|
2214
|
+
contrast: [b, i, n]
|
|
2214
2215
|
}],
|
|
2215
2216
|
/**
|
|
2216
2217
|
* Drop Shadow
|
|
@@ -2221,9 +2222,9 @@ const bo = (e, o) => {
|
|
|
2221
2222
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2222
2223
|
"",
|
|
2223
2224
|
"none",
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2225
|
+
y,
|
|
2226
|
+
le,
|
|
2227
|
+
ie
|
|
2227
2228
|
]
|
|
2228
2229
|
}],
|
|
2229
2230
|
/**
|
|
@@ -2238,35 +2239,35 @@ const bo = (e, o) => {
|
|
|
2238
2239
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2239
2240
|
*/
|
|
2240
2241
|
grayscale: [{
|
|
2241
|
-
grayscale: ["",
|
|
2242
|
+
grayscale: ["", b, i, n]
|
|
2242
2243
|
}],
|
|
2243
2244
|
/**
|
|
2244
2245
|
* Hue Rotate
|
|
2245
2246
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2246
2247
|
*/
|
|
2247
2248
|
"hue-rotate": [{
|
|
2248
|
-
"hue-rotate": [
|
|
2249
|
+
"hue-rotate": [b, i, n]
|
|
2249
2250
|
}],
|
|
2250
2251
|
/**
|
|
2251
2252
|
* Invert
|
|
2252
2253
|
* @see https://tailwindcss.com/docs/invert
|
|
2253
2254
|
*/
|
|
2254
2255
|
invert: [{
|
|
2255
|
-
invert: ["",
|
|
2256
|
+
invert: ["", b, i, n]
|
|
2256
2257
|
}],
|
|
2257
2258
|
/**
|
|
2258
2259
|
* Saturate
|
|
2259
2260
|
* @see https://tailwindcss.com/docs/saturate
|
|
2260
2261
|
*/
|
|
2261
2262
|
saturate: [{
|
|
2262
|
-
saturate: [
|
|
2263
|
+
saturate: [b, i, n]
|
|
2263
2264
|
}],
|
|
2264
2265
|
/**
|
|
2265
2266
|
* Sepia
|
|
2266
2267
|
* @see https://tailwindcss.com/docs/sepia
|
|
2267
2268
|
*/
|
|
2268
2269
|
sepia: [{
|
|
2269
|
-
sepia: ["",
|
|
2270
|
+
sepia: ["", b, i, n]
|
|
2270
2271
|
}],
|
|
2271
2272
|
/**
|
|
2272
2273
|
* Backdrop Filter
|
|
@@ -2277,7 +2278,7 @@ const bo = (e, o) => {
|
|
|
2277
2278
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2278
2279
|
"",
|
|
2279
2280
|
"none",
|
|
2280
|
-
|
|
2281
|
+
i,
|
|
2281
2282
|
n
|
|
2282
2283
|
]
|
|
2283
2284
|
}],
|
|
@@ -2286,63 +2287,63 @@ const bo = (e, o) => {
|
|
|
2286
2287
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2287
2288
|
*/
|
|
2288
2289
|
"backdrop-blur": [{
|
|
2289
|
-
"backdrop-blur":
|
|
2290
|
+
"backdrop-blur": Be()
|
|
2290
2291
|
}],
|
|
2291
2292
|
/**
|
|
2292
2293
|
* Backdrop Brightness
|
|
2293
2294
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2294
2295
|
*/
|
|
2295
2296
|
"backdrop-brightness": [{
|
|
2296
|
-
"backdrop-brightness": [
|
|
2297
|
+
"backdrop-brightness": [b, i, n]
|
|
2297
2298
|
}],
|
|
2298
2299
|
/**
|
|
2299
2300
|
* Backdrop Contrast
|
|
2300
2301
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2301
2302
|
*/
|
|
2302
2303
|
"backdrop-contrast": [{
|
|
2303
|
-
"backdrop-contrast": [
|
|
2304
|
+
"backdrop-contrast": [b, i, n]
|
|
2304
2305
|
}],
|
|
2305
2306
|
/**
|
|
2306
2307
|
* Backdrop Grayscale
|
|
2307
2308
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2308
2309
|
*/
|
|
2309
2310
|
"backdrop-grayscale": [{
|
|
2310
|
-
"backdrop-grayscale": ["",
|
|
2311
|
+
"backdrop-grayscale": ["", b, i, n]
|
|
2311
2312
|
}],
|
|
2312
2313
|
/**
|
|
2313
2314
|
* Backdrop Hue Rotate
|
|
2314
2315
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2315
2316
|
*/
|
|
2316
2317
|
"backdrop-hue-rotate": [{
|
|
2317
|
-
"backdrop-hue-rotate": [
|
|
2318
|
+
"backdrop-hue-rotate": [b, i, n]
|
|
2318
2319
|
}],
|
|
2319
2320
|
/**
|
|
2320
2321
|
* Backdrop Invert
|
|
2321
2322
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2322
2323
|
*/
|
|
2323
2324
|
"backdrop-invert": [{
|
|
2324
|
-
"backdrop-invert": ["",
|
|
2325
|
+
"backdrop-invert": ["", b, i, n]
|
|
2325
2326
|
}],
|
|
2326
2327
|
/**
|
|
2327
2328
|
* Backdrop Opacity
|
|
2328
2329
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2329
2330
|
*/
|
|
2330
2331
|
"backdrop-opacity": [{
|
|
2331
|
-
"backdrop-opacity": [
|
|
2332
|
+
"backdrop-opacity": [b, i, n]
|
|
2332
2333
|
}],
|
|
2333
2334
|
/**
|
|
2334
2335
|
* Backdrop Saturate
|
|
2335
2336
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2336
2337
|
*/
|
|
2337
2338
|
"backdrop-saturate": [{
|
|
2338
|
-
"backdrop-saturate": [
|
|
2339
|
+
"backdrop-saturate": [b, i, n]
|
|
2339
2340
|
}],
|
|
2340
2341
|
/**
|
|
2341
2342
|
* Backdrop Sepia
|
|
2342
2343
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2343
2344
|
*/
|
|
2344
2345
|
"backdrop-sepia": [{
|
|
2345
|
-
"backdrop-sepia": ["",
|
|
2346
|
+
"backdrop-sepia": ["", b, i, n]
|
|
2346
2347
|
}],
|
|
2347
2348
|
// --------------
|
|
2348
2349
|
// --- Tables ---
|
|
@@ -2397,7 +2398,7 @@ const bo = (e, o) => {
|
|
|
2397
2398
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2398
2399
|
*/
|
|
2399
2400
|
transition: [{
|
|
2400
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2401
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", i, n]
|
|
2401
2402
|
}],
|
|
2402
2403
|
/**
|
|
2403
2404
|
* Transition Behavior
|
|
@@ -2411,28 +2412,28 @@ const bo = (e, o) => {
|
|
|
2411
2412
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2412
2413
|
*/
|
|
2413
2414
|
duration: [{
|
|
2414
|
-
duration: [
|
|
2415
|
+
duration: [b, "initial", i, n]
|
|
2415
2416
|
}],
|
|
2416
2417
|
/**
|
|
2417
2418
|
* Transition Timing Function
|
|
2418
2419
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2419
2420
|
*/
|
|
2420
2421
|
ease: [{
|
|
2421
|
-
ease: ["linear", "initial", j,
|
|
2422
|
+
ease: ["linear", "initial", j, i, n]
|
|
2422
2423
|
}],
|
|
2423
2424
|
/**
|
|
2424
2425
|
* Transition Delay
|
|
2425
2426
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2426
2427
|
*/
|
|
2427
2428
|
delay: [{
|
|
2428
|
-
delay: [
|
|
2429
|
+
delay: [b, i, n]
|
|
2429
2430
|
}],
|
|
2430
2431
|
/**
|
|
2431
2432
|
* Animation
|
|
2432
2433
|
* @see https://tailwindcss.com/docs/animation
|
|
2433
2434
|
*/
|
|
2434
2435
|
animate: [{
|
|
2435
|
-
animate: ["none",
|
|
2436
|
+
animate: ["none", w, i, n]
|
|
2436
2437
|
}],
|
|
2437
2438
|
// ------------------
|
|
2438
2439
|
// --- Transforms ---
|
|
@@ -2449,70 +2450,70 @@ const bo = (e, o) => {
|
|
|
2449
2450
|
* @see https://tailwindcss.com/docs/perspective
|
|
2450
2451
|
*/
|
|
2451
2452
|
perspective: [{
|
|
2452
|
-
perspective: [
|
|
2453
|
+
perspective: [u, i, n]
|
|
2453
2454
|
}],
|
|
2454
2455
|
/**
|
|
2455
2456
|
* Perspective Origin
|
|
2456
2457
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2457
2458
|
*/
|
|
2458
2459
|
"perspective-origin": [{
|
|
2459
|
-
"perspective-origin":
|
|
2460
|
+
"perspective-origin": q()
|
|
2460
2461
|
}],
|
|
2461
2462
|
/**
|
|
2462
2463
|
* Rotate
|
|
2463
2464
|
* @see https://tailwindcss.com/docs/rotate
|
|
2464
2465
|
*/
|
|
2465
2466
|
rotate: [{
|
|
2466
|
-
rotate:
|
|
2467
|
+
rotate: re()
|
|
2467
2468
|
}],
|
|
2468
2469
|
/**
|
|
2469
2470
|
* Rotate X
|
|
2470
2471
|
* @see https://tailwindcss.com/docs/rotate
|
|
2471
2472
|
*/
|
|
2472
2473
|
"rotate-x": [{
|
|
2473
|
-
"rotate-x":
|
|
2474
|
+
"rotate-x": re()
|
|
2474
2475
|
}],
|
|
2475
2476
|
/**
|
|
2476
2477
|
* Rotate Y
|
|
2477
2478
|
* @see https://tailwindcss.com/docs/rotate
|
|
2478
2479
|
*/
|
|
2479
2480
|
"rotate-y": [{
|
|
2480
|
-
"rotate-y":
|
|
2481
|
+
"rotate-y": re()
|
|
2481
2482
|
}],
|
|
2482
2483
|
/**
|
|
2483
2484
|
* Rotate Z
|
|
2484
2485
|
* @see https://tailwindcss.com/docs/rotate
|
|
2485
2486
|
*/
|
|
2486
2487
|
"rotate-z": [{
|
|
2487
|
-
"rotate-z":
|
|
2488
|
+
"rotate-z": re()
|
|
2488
2489
|
}],
|
|
2489
2490
|
/**
|
|
2490
2491
|
* Scale
|
|
2491
2492
|
* @see https://tailwindcss.com/docs/scale
|
|
2492
2493
|
*/
|
|
2493
2494
|
scale: [{
|
|
2494
|
-
scale:
|
|
2495
|
+
scale: se()
|
|
2495
2496
|
}],
|
|
2496
2497
|
/**
|
|
2497
2498
|
* Scale X
|
|
2498
2499
|
* @see https://tailwindcss.com/docs/scale
|
|
2499
2500
|
*/
|
|
2500
2501
|
"scale-x": [{
|
|
2501
|
-
"scale-x":
|
|
2502
|
+
"scale-x": se()
|
|
2502
2503
|
}],
|
|
2503
2504
|
/**
|
|
2504
2505
|
* Scale Y
|
|
2505
2506
|
* @see https://tailwindcss.com/docs/scale
|
|
2506
2507
|
*/
|
|
2507
2508
|
"scale-y": [{
|
|
2508
|
-
"scale-y":
|
|
2509
|
+
"scale-y": se()
|
|
2509
2510
|
}],
|
|
2510
2511
|
/**
|
|
2511
2512
|
* Scale Z
|
|
2512
2513
|
* @see https://tailwindcss.com/docs/scale
|
|
2513
2514
|
*/
|
|
2514
2515
|
"scale-z": [{
|
|
2515
|
-
"scale-z":
|
|
2516
|
+
"scale-z": se()
|
|
2516
2517
|
}],
|
|
2517
2518
|
/**
|
|
2518
2519
|
* Scale 3D
|
|
@@ -2524,35 +2525,35 @@ const bo = (e, o) => {
|
|
|
2524
2525
|
* @see https://tailwindcss.com/docs/skew
|
|
2525
2526
|
*/
|
|
2526
2527
|
skew: [{
|
|
2527
|
-
skew:
|
|
2528
|
+
skew: xe()
|
|
2528
2529
|
}],
|
|
2529
2530
|
/**
|
|
2530
2531
|
* Skew X
|
|
2531
2532
|
* @see https://tailwindcss.com/docs/skew
|
|
2532
2533
|
*/
|
|
2533
2534
|
"skew-x": [{
|
|
2534
|
-
"skew-x":
|
|
2535
|
+
"skew-x": xe()
|
|
2535
2536
|
}],
|
|
2536
2537
|
/**
|
|
2537
2538
|
* Skew Y
|
|
2538
2539
|
* @see https://tailwindcss.com/docs/skew
|
|
2539
2540
|
*/
|
|
2540
2541
|
"skew-y": [{
|
|
2541
|
-
"skew-y":
|
|
2542
|
+
"skew-y": xe()
|
|
2542
2543
|
}],
|
|
2543
2544
|
/**
|
|
2544
2545
|
* Transform
|
|
2545
2546
|
* @see https://tailwindcss.com/docs/transform
|
|
2546
2547
|
*/
|
|
2547
2548
|
transform: [{
|
|
2548
|
-
transform: [
|
|
2549
|
+
transform: [i, n, "", "none", "gpu", "cpu"]
|
|
2549
2550
|
}],
|
|
2550
2551
|
/**
|
|
2551
2552
|
* Transform Origin
|
|
2552
2553
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2553
2554
|
*/
|
|
2554
2555
|
"transform-origin": [{
|
|
2555
|
-
origin:
|
|
2556
|
+
origin: q()
|
|
2556
2557
|
}],
|
|
2557
2558
|
/**
|
|
2558
2559
|
* Transform Style
|
|
@@ -2566,28 +2567,28 @@ const bo = (e, o) => {
|
|
|
2566
2567
|
* @see https://tailwindcss.com/docs/translate
|
|
2567
2568
|
*/
|
|
2568
2569
|
translate: [{
|
|
2569
|
-
translate:
|
|
2570
|
+
translate: ne()
|
|
2570
2571
|
}],
|
|
2571
2572
|
/**
|
|
2572
2573
|
* Translate X
|
|
2573
2574
|
* @see https://tailwindcss.com/docs/translate
|
|
2574
2575
|
*/
|
|
2575
2576
|
"translate-x": [{
|
|
2576
|
-
"translate-x":
|
|
2577
|
+
"translate-x": ne()
|
|
2577
2578
|
}],
|
|
2578
2579
|
/**
|
|
2579
2580
|
* Translate Y
|
|
2580
2581
|
* @see https://tailwindcss.com/docs/translate
|
|
2581
2582
|
*/
|
|
2582
2583
|
"translate-y": [{
|
|
2583
|
-
"translate-y":
|
|
2584
|
+
"translate-y": ne()
|
|
2584
2585
|
}],
|
|
2585
2586
|
/**
|
|
2586
2587
|
* Translate Z
|
|
2587
2588
|
* @see https://tailwindcss.com/docs/translate
|
|
2588
2589
|
*/
|
|
2589
2590
|
"translate-z": [{
|
|
2590
|
-
"translate-z":
|
|
2591
|
+
"translate-z": ne()
|
|
2591
2592
|
}],
|
|
2592
2593
|
/**
|
|
2593
2594
|
* Translate None
|
|
@@ -2599,7 +2600,7 @@ const bo = (e, o) => {
|
|
|
2599
2600
|
* @see https://tailwindcss.com/docs/zoom
|
|
2600
2601
|
*/
|
|
2601
2602
|
zoom: [{
|
|
2602
|
-
zoom: [
|
|
2603
|
+
zoom: [B, i, n]
|
|
2603
2604
|
}],
|
|
2604
2605
|
// ---------------------
|
|
2605
2606
|
// --- Interactivity ---
|
|
@@ -2637,7 +2638,7 @@ const bo = (e, o) => {
|
|
|
2637
2638
|
* @see https://tailwindcss.com/docs/cursor
|
|
2638
2639
|
*/
|
|
2639
2640
|
cursor: [{
|
|
2640
|
-
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",
|
|
2641
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", i, n]
|
|
2641
2642
|
}],
|
|
2642
2643
|
/**
|
|
2643
2644
|
* Field Sizing
|
|
@@ -2915,7 +2916,7 @@ const bo = (e, o) => {
|
|
|
2915
2916
|
* @see https://tailwindcss.com/docs/will-change
|
|
2916
2917
|
*/
|
|
2917
2918
|
"will-change": [{
|
|
2918
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2919
|
+
"will-change": ["auto", "scroll", "contents", "transform", i, n]
|
|
2919
2920
|
}],
|
|
2920
2921
|
// -----------
|
|
2921
2922
|
// --- SVG ---
|
|
@@ -2932,7 +2933,7 @@ const bo = (e, o) => {
|
|
|
2932
2933
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2933
2934
|
*/
|
|
2934
2935
|
"stroke-w": [{
|
|
2935
|
-
stroke: [
|
|
2936
|
+
stroke: [b, _, D, Ye]
|
|
2936
2937
|
}],
|
|
2937
2938
|
/**
|
|
2938
2939
|
* Stroke
|
|
@@ -3009,26 +3010,26 @@ const bo = (e, o) => {
|
|
|
3009
3010
|
postfixLookupClassGroups: ["container-type"],
|
|
3010
3011
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3011
3012
|
};
|
|
3012
|
-
},
|
|
3013
|
-
cacheSize:
|
|
3014
|
-
prefix:
|
|
3013
|
+
}, lo = (e, {
|
|
3014
|
+
cacheSize: t,
|
|
3015
|
+
prefix: o,
|
|
3015
3016
|
experimentalParseClassName: r,
|
|
3016
3017
|
extend: s = {},
|
|
3017
|
-
override:
|
|
3018
|
-
}) => (
|
|
3019
|
-
|
|
3020
|
-
},
|
|
3021
|
-
if (
|
|
3022
|
-
for (const
|
|
3023
|
-
|
|
3024
|
-
},
|
|
3025
|
-
if (
|
|
3026
|
-
for (const
|
|
3027
|
-
|
|
3028
|
-
},
|
|
3029
|
-
const r = o
|
|
3030
|
-
r !== void 0 && (e[
|
|
3031
|
-
},
|
|
3018
|
+
override: a = {}
|
|
3019
|
+
}) => (Z(e, "cacheSize", t), Z(e, "prefix", o), Z(e, "experimentalParseClassName", r), ce(e.theme, a.theme), ce(e.classGroups, a.classGroups), ce(e.conflictingClassGroups, a.conflictingClassGroups), ce(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), Z(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), Z(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), de(e.theme, s.theme), de(e.classGroups, s.classGroups), de(e.conflictingClassGroups, s.conflictingClassGroups), de(e.conflictingClassGroupModifiers, s.conflictingClassGroupModifiers), Ie(e, s, "postfixLookupClassGroups"), Ie(e, s, "orderSensitiveModifiers"), e), Z = (e, t, o) => {
|
|
3020
|
+
o !== void 0 && (e[t] = o);
|
|
3021
|
+
}, ce = (e, t) => {
|
|
3022
|
+
if (t)
|
|
3023
|
+
for (const o in t)
|
|
3024
|
+
Z(e, o, t[o]);
|
|
3025
|
+
}, de = (e, t) => {
|
|
3026
|
+
if (t)
|
|
3027
|
+
for (const o in t)
|
|
3028
|
+
Ie(e, t, o);
|
|
3029
|
+
}, Ie = (e, t, o) => {
|
|
3030
|
+
const r = t[o];
|
|
3031
|
+
r !== void 0 && (e[o] = e[o] ? e[o].concat(r) : r);
|
|
3032
|
+
}, co = (e, ...t) => typeof e == "function" ? Ue(Xe, e, ...t) : Ue(() => lo(Xe(), e), ...t), uo = co({
|
|
3032
3033
|
extend: {
|
|
3033
3034
|
theme: {
|
|
3034
3035
|
color: [
|
|
@@ -3051,178 +3052,309 @@ const bo = (e, o) => {
|
|
|
3051
3052
|
}
|
|
3052
3053
|
}
|
|
3053
3054
|
});
|
|
3054
|
-
function
|
|
3055
|
-
return
|
|
3055
|
+
function A(...e) {
|
|
3056
|
+
return uo(vt(e));
|
|
3056
3057
|
}
|
|
3057
|
-
const
|
|
3058
|
+
const mo = ["src", "alt"], po = /* @__PURE__ */ Q({
|
|
3058
3059
|
__name: "SidebarHeader",
|
|
3059
3060
|
props: {
|
|
3060
3061
|
isCollapsed: { type: Boolean },
|
|
3061
3062
|
headerOptions: {}
|
|
3062
3063
|
},
|
|
3063
3064
|
setup(e) {
|
|
3064
|
-
const
|
|
3065
|
+
const t = {
|
|
3065
3066
|
sidebarHeaderContainer: "flex items-center gap-2",
|
|
3066
3067
|
sidebarHeaderLogo: "w-10 h-10 rounded flex-shrink-0",
|
|
3067
3068
|
sidebarHeaderTitle: "overflow-hidden whitespace-nowrap transition-all duration-300 font-200 font-semibold whitespace-nowrap"
|
|
3068
3069
|
};
|
|
3069
|
-
return (
|
|
3070
|
-
class:
|
|
3070
|
+
return (o, r) => (v(), k("div", {
|
|
3071
|
+
class: g(t.sidebarHeaderContainer)
|
|
3071
3072
|
}, [
|
|
3072
|
-
|
|
3073
|
-
class:
|
|
3074
|
-
style:
|
|
3073
|
+
x("img", {
|
|
3074
|
+
class: g(t.sidebarHeaderLogo),
|
|
3075
|
+
style: Ae(`background-color:${e.headerOptions.logoBgColor}`),
|
|
3075
3076
|
src: e.headerOptions.logoSrc,
|
|
3076
3077
|
alt: e.headerOptions.logoAlt
|
|
3077
|
-
}, null, 14,
|
|
3078
|
-
e.isCollapsed ?
|
|
3078
|
+
}, null, 14, mo),
|
|
3079
|
+
e.isCollapsed ? F("", !0) : (v(), k("h2", {
|
|
3079
3080
|
key: 0,
|
|
3080
|
-
class:
|
|
3081
|
-
},
|
|
3081
|
+
class: g(t.sidebarHeaderTitle)
|
|
3082
|
+
}, R(e.headerOptions.sidebarTitle), 3))
|
|
3082
3083
|
], 2));
|
|
3083
3084
|
}
|
|
3084
|
-
}),
|
|
3085
|
-
const
|
|
3086
|
-
for (const [r, s] of
|
|
3087
|
-
|
|
3088
|
-
return
|
|
3089
|
-
},
|
|
3085
|
+
}), bo = (e, t) => {
|
|
3086
|
+
const o = e.__vccOpts || e;
|
|
3087
|
+
for (const [r, s] of t)
|
|
3088
|
+
o[r] = s;
|
|
3089
|
+
return o;
|
|
3090
|
+
}, fo = /* @__PURE__ */ bo(po, [["__scopeId", "data-v-1be64a50"]]), go = { key: 0 }, ho = {
|
|
3090
3091
|
role: "navigation",
|
|
3091
3092
|
"aria-label": "sidebar shortcut items"
|
|
3092
|
-
},
|
|
3093
|
+
}, xo = ["id", "href", "target"], vo = ["id"], yo = /* @__PURE__ */ Q({
|
|
3093
3094
|
__name: "SidebarShortcuts",
|
|
3094
3095
|
props: {
|
|
3095
3096
|
isCollapsed: { type: Boolean },
|
|
3096
3097
|
shortcutOptions: {}
|
|
3097
3098
|
},
|
|
3098
3099
|
setup(e) {
|
|
3099
|
-
const
|
|
3100
|
+
const t = {
|
|
3100
3101
|
shortcutList: "h-12 flex items-center justify-start",
|
|
3101
3102
|
shortcutItem: "h-12 w-[70px] flex flex-col items-center justify-start gap-1",
|
|
3102
3103
|
shortcutItemIcon: "text-[24px] az az-",
|
|
3103
3104
|
shortcutItemLabel: "font-semibold text-[10px]"
|
|
3104
3105
|
};
|
|
3105
|
-
return (
|
|
3106
|
-
|
|
3107
|
-
|
|
3106
|
+
return (o, r) => e.shortcutOptions.items && e.shortcutOptions.items.length > 0 ? (v(), k("section", go, [
|
|
3107
|
+
x("nav", ho, [
|
|
3108
|
+
x("ul", {
|
|
3108
3109
|
role: "menu",
|
|
3109
|
-
class:
|
|
3110
|
+
class: g(t.shortcutList)
|
|
3110
3111
|
}, [
|
|
3111
|
-
(
|
|
3112
|
+
(v(!0), k(ee, null, Ce(e.shortcutOptions.items, (s) => (v(), k("div", {
|
|
3112
3113
|
key: s.id,
|
|
3113
3114
|
class: ""
|
|
3114
3115
|
}, [
|
|
3115
|
-
s.type === "link" ? (
|
|
3116
|
+
s.type === "link" ? (v(), k("a", {
|
|
3116
3117
|
key: 0,
|
|
3117
3118
|
id: `shortcut-${s.id}`,
|
|
3118
3119
|
href: s.link,
|
|
3119
3120
|
target: s.target
|
|
3120
3121
|
}, [
|
|
3121
|
-
|
|
3122
|
-
class:
|
|
3122
|
+
x("div", {
|
|
3123
|
+
class: g(t.shortcutItem)
|
|
3123
3124
|
}, [
|
|
3124
|
-
|
|
3125
|
-
class:
|
|
3125
|
+
x("i", {
|
|
3126
|
+
class: g(`${t.shortcutItemIcon}${s.icon}`)
|
|
3126
3127
|
}, null, 2),
|
|
3127
|
-
|
|
3128
|
-
class:
|
|
3128
|
+
x("span", {
|
|
3129
|
+
class: g([
|
|
3129
3130
|
"inline-block overflow-hidden whitespace-nowrap transition-all duration-300",
|
|
3130
3131
|
e.isCollapsed ? "max-w-0 opacity-0" : "max-w-xs opacity-100"
|
|
3131
3132
|
])
|
|
3132
3133
|
}, [
|
|
3133
|
-
|
|
3134
|
-
class:
|
|
3135
|
-
},
|
|
3134
|
+
x("p", {
|
|
3135
|
+
class: g(t.shortcutItemLabel)
|
|
3136
|
+
}, R(s.label), 3)
|
|
3136
3137
|
], 2)
|
|
3137
3138
|
], 2)
|
|
3138
|
-
], 8,
|
|
3139
|
-
s.type === "button" ? (
|
|
3139
|
+
], 8, xo)) : F("", !0),
|
|
3140
|
+
s.type === "button" ? (v(), k("button", {
|
|
3140
3141
|
key: 1,
|
|
3141
3142
|
id: `shortcut-${s.id}`
|
|
3142
3143
|
}, [
|
|
3143
|
-
|
|
3144
|
-
class:
|
|
3144
|
+
x("div", {
|
|
3145
|
+
class: g(t.shortcutItem)
|
|
3145
3146
|
}, [
|
|
3146
|
-
|
|
3147
|
-
class:
|
|
3147
|
+
x("i", {
|
|
3148
|
+
class: g(`${t.shortcutItemIcon}${s.icon}`)
|
|
3148
3149
|
}, null, 2),
|
|
3149
|
-
|
|
3150
|
-
class:
|
|
3150
|
+
x("span", {
|
|
3151
|
+
class: g([
|
|
3151
3152
|
"inline-block overflow-hidden whitespace-nowrap transition-all duration-300",
|
|
3152
3153
|
e.isCollapsed ? "max-w-0 opacity-0" : "max-w-xs opacity-100"
|
|
3153
3154
|
])
|
|
3154
3155
|
}, [
|
|
3155
|
-
|
|
3156
|
-
class:
|
|
3157
|
-
},
|
|
3156
|
+
x("p", {
|
|
3157
|
+
class: g(t.shortcutItemLabel)
|
|
3158
|
+
}, R(s.label), 3)
|
|
3158
3159
|
], 2)
|
|
3159
3160
|
], 2)
|
|
3160
|
-
], 8,
|
|
3161
|
+
], 8, vo)) : F("", !0)
|
|
3161
3162
|
]))), 128))
|
|
3162
3163
|
], 2)
|
|
3163
3164
|
])
|
|
3164
|
-
])) :
|
|
3165
|
+
])) : F("", !0);
|
|
3165
3166
|
}
|
|
3166
|
-
}),
|
|
3167
|
+
}), wo = ["id", "aria-expanded", "aria-controls", "aria-label", "title", "onClick"], ko = ["aria-hidden"], Co = ["id", "aria-hidden"], zo = ["id", "href", "target", "aria-current"], So = ["id", "aria-current", "onClick"], Io = ["id", "href", "target", "aria-current", "aria-label", "title"], Ao = ["aria-hidden"], Oo = ["id", "aria-current", "aria-label", "title", "onClick"], Go = ["aria-hidden"], we = "justify-center gap-0 px-2", ue = "max-w-[12rem] opacity-100 translate-x-0", me = "max-w-0 opacity-0 -translate-x-1 pointer-events-none", ke = "flex-1 truncate leading-tight", $o = "max-h-96 opacity-100 py-1", Mo = "max-h-0 opacity-0 py-0 pointer-events-none", Po = /* @__PURE__ */ Q({
|
|
3167
3168
|
__name: "SidebarNavigationItems",
|
|
3168
3169
|
props: {
|
|
3169
3170
|
isCollapsed: { type: Boolean },
|
|
3170
3171
|
navigationOptions: {}
|
|
3171
3172
|
},
|
|
3172
3173
|
setup(e) {
|
|
3173
|
-
const o =
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
}
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3174
|
+
const t = e, o = ft(/* @__PURE__ */ new Set());
|
|
3175
|
+
function r(y) {
|
|
3176
|
+
var P;
|
|
3177
|
+
return !!((P = y.subItems) != null && P.length);
|
|
3178
|
+
}
|
|
3179
|
+
function s(y) {
|
|
3180
|
+
return o.has(y);
|
|
3181
|
+
}
|
|
3182
|
+
function a(y) {
|
|
3183
|
+
o.has(y) ? o.delete(y) : o.add(y);
|
|
3184
|
+
}
|
|
3185
|
+
function l() {
|
|
3186
|
+
for (const y of t.navigationOptions.items) {
|
|
3187
|
+
if (!r(y)) continue;
|
|
3188
|
+
const P = y.subItems.some((u) => u.current);
|
|
3189
|
+
(y.current || P) && o.add(y.id);
|
|
3190
|
+
}
|
|
3191
|
+
}
|
|
3192
|
+
Ve(
|
|
3193
|
+
() => t.navigationOptions.items,
|
|
3194
|
+
() => l(),
|
|
3195
|
+
{ immediate: !0, deep: !0 }
|
|
3196
|
+
), Ve(
|
|
3197
|
+
() => t.isCollapsed,
|
|
3198
|
+
(y) => {
|
|
3199
|
+
y && o.clear();
|
|
3200
|
+
}
|
|
3201
|
+
);
|
|
3202
|
+
const p = [
|
|
3203
|
+
"group flex w-full min-h-12 items-center gap-3 rounded-xl px-3 py-2.5",
|
|
3204
|
+
"font-sans text-sm font-semibold no-underline border-0 bg-transparent",
|
|
3205
|
+
"text-[color:var(--color-text-primary)] cursor-pointer text-left",
|
|
3206
|
+
"hover:bg-[color-mix(in_srgb,var(--color-text-primary)_5%,transparent)]",
|
|
3207
|
+
"focus-visible:outline focus-visible:outline-[length:var(--border-m)]",
|
|
3208
|
+
"focus-visible:outline-[color:var(--color-text-accent)] focus-visible:outline-offset-[length:var(--border-m)]",
|
|
3209
|
+
"aria-[current=page]:bg-[#F3EDE3] aria-[current=page]:hover:bg-[#F3EDE3]",
|
|
3210
|
+
"aria-[expanded=true]:bg-[color-mix(in_srgb,var(--color-text-primary)_4%,transparent)]",
|
|
3211
|
+
"transition-[padding,gap,background-color] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
|
|
3212
|
+
"motion-reduce:transition-none"
|
|
3213
|
+
].join(" "), f = [
|
|
3214
|
+
"inline-flex min-w-0 items-center overflow-hidden whitespace-nowrap",
|
|
3215
|
+
"transition-[max-width,opacity,transform,margin] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
|
|
3216
|
+
"motion-reduce:transition-none"
|
|
3217
|
+
].join(" "), m = [
|
|
3218
|
+
"az text-[1.5rem] leading-none shrink-0 text-[color:var(--color-text-primary)]",
|
|
3219
|
+
"transition-transform duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
|
|
3220
|
+
"motion-reduce:transition-none"
|
|
3221
|
+
].join(" "), S = [
|
|
3222
|
+
"az az-ui-chevron-down text-[1rem] leading-none shrink-0 text-[color:var(--color-text-secondary)]",
|
|
3223
|
+
"transition-transform duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
|
|
3224
|
+
"motion-reduce:transition-none"
|
|
3225
|
+
].join(" "), I = [
|
|
3226
|
+
"m-0 flex list-none flex-col gap-0.5 overflow-hidden pl-4",
|
|
3227
|
+
"transition-[max-height,opacity,padding] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
|
|
3228
|
+
"motion-reduce:transition-none"
|
|
3229
|
+
].join(" "), T = [
|
|
3230
|
+
"flex w-full min-h-10 items-center rounded-lg px-3 py-2",
|
|
3231
|
+
"font-sans text-sm font-medium no-underline border-0 bg-transparent",
|
|
3232
|
+
"text-[color:var(--color-text-secondary)] cursor-pointer text-left",
|
|
3233
|
+
"hover:bg-[color-mix(in_srgb,var(--color-text-primary)_5%,transparent)] hover:text-[color:var(--color-text-primary)]",
|
|
3234
|
+
"focus-visible:outline focus-visible:outline-[length:var(--border-m)]",
|
|
3235
|
+
"focus-visible:outline-[color:var(--color-text-accent)] focus-visible:outline-offset-[length:var(--border-m)]",
|
|
3236
|
+
"aria-[current=page]:bg-[#F3EDE3] aria-[current=page]:text-[color:var(--color-text-primary)]"
|
|
3237
|
+
].join(" ");
|
|
3238
|
+
return (y, P) => (v(!0), k(ee, null, Ce(e.navigationOptions.items, (u, $) => {
|
|
3239
|
+
var j;
|
|
3240
|
+
return v(), k("li", {
|
|
3241
|
+
key: (j = u.id) != null ? j : $,
|
|
3242
|
+
"data-testid": "sidebar-nav-item",
|
|
3243
|
+
class: "list-none"
|
|
3189
3244
|
}, [
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3245
|
+
r(u) ? (v(), k(ee, { key: 0 }, [
|
|
3246
|
+
x("button", {
|
|
3247
|
+
id: `navigation-${u.id}`,
|
|
3248
|
+
type: "button",
|
|
3249
|
+
"data-testid": "sidebar-nav-expand",
|
|
3250
|
+
class: g(h(A)(h(p), e.isCollapsed && we)),
|
|
3251
|
+
"aria-expanded": s(u.id),
|
|
3252
|
+
"aria-controls": `navigation-submenu-${u.id}`,
|
|
3253
|
+
"aria-label": e.isCollapsed ? u.label : void 0,
|
|
3254
|
+
title: e.isCollapsed ? u.label : void 0,
|
|
3255
|
+
onClick: (w) => a(u.id)
|
|
3198
3256
|
}, [
|
|
3199
|
-
|
|
3200
|
-
|
|
3257
|
+
x("i", {
|
|
3258
|
+
"data-testid": "sidebar-nav-icon",
|
|
3259
|
+
class: g(h(A)(h(m), `az-${u.icon}`)),
|
|
3260
|
+
"aria-hidden": "true"
|
|
3201
3261
|
}, null, 2),
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3262
|
+
x("span", {
|
|
3263
|
+
"data-testid": "sidebar-nav-label",
|
|
3264
|
+
class: g(h(A)(h(f), ke, e.isCollapsed ? me : ue)),
|
|
3265
|
+
"aria-hidden": e.isCollapsed || void 0
|
|
3266
|
+
}, R(u.label), 11, ko),
|
|
3267
|
+
x("i", {
|
|
3268
|
+
"data-testid": "sidebar-nav-chevron",
|
|
3269
|
+
class: g(
|
|
3270
|
+
h(A)(
|
|
3271
|
+
h(f),
|
|
3272
|
+
h(S),
|
|
3273
|
+
e.isCollapsed ? me : ue,
|
|
3274
|
+
s(u.id) && "rotate-180"
|
|
3275
|
+
)
|
|
3276
|
+
),
|
|
3277
|
+
"aria-hidden": "true"
|
|
3278
|
+
}, null, 2)
|
|
3279
|
+
], 10, wo),
|
|
3280
|
+
x("ul", {
|
|
3281
|
+
id: `navigation-submenu-${u.id}`,
|
|
3282
|
+
"data-testid": "sidebar-nav-submenu",
|
|
3283
|
+
class: g(h(A)(h(I), !e.isCollapsed && s(u.id) ? $o : Mo)),
|
|
3284
|
+
"aria-hidden": e.isCollapsed || !s(u.id) || void 0
|
|
3285
|
+
}, [
|
|
3286
|
+
(v(!0), k(ee, null, Ce(u.subItems, (w) => (v(), k("li", {
|
|
3287
|
+
key: w.id,
|
|
3288
|
+
class: "list-none"
|
|
3289
|
+
}, [
|
|
3290
|
+
w.type === "link" ? (v(), k("a", {
|
|
3291
|
+
key: 0,
|
|
3292
|
+
id: `navigation-${w.id}`,
|
|
3293
|
+
"data-testid": "sidebar-nav-sublink",
|
|
3294
|
+
class: g(h(T)),
|
|
3295
|
+
href: w.link,
|
|
3296
|
+
target: w.target,
|
|
3297
|
+
"aria-current": w.current ? "page" : void 0
|
|
3298
|
+
}, R(w.label), 11, zo)) : (v(), k("button", {
|
|
3299
|
+
key: 1,
|
|
3300
|
+
id: `navigation-${w.id}`,
|
|
3301
|
+
type: "button",
|
|
3302
|
+
"data-testid": "sidebar-nav-subbutton",
|
|
3303
|
+
class: g(h(T)),
|
|
3304
|
+
"aria-current": w.current ? "page" : void 0,
|
|
3305
|
+
onClick: w.onClick
|
|
3306
|
+
}, R(w.label), 11, So))
|
|
3307
|
+
]))), 128))
|
|
3308
|
+
], 10, Co)
|
|
3309
|
+
], 64)) : (v(), k(ee, { key: 1 }, [
|
|
3310
|
+
u.type === "link" ? (v(), k("a", {
|
|
3311
|
+
key: 0,
|
|
3312
|
+
id: `navigation-${u.id}`,
|
|
3313
|
+
"data-testid": "sidebar-nav-link",
|
|
3314
|
+
class: g(h(A)(h(p), e.isCollapsed && we)),
|
|
3315
|
+
href: u.link,
|
|
3316
|
+
target: u.target,
|
|
3317
|
+
"aria-current": u.current ? "page" : void 0,
|
|
3318
|
+
"aria-label": e.isCollapsed ? u.label : void 0,
|
|
3319
|
+
title: e.isCollapsed ? u.label : void 0
|
|
3213
3320
|
}, [
|
|
3214
|
-
|
|
3215
|
-
|
|
3321
|
+
x("i", {
|
|
3322
|
+
"data-testid": "sidebar-nav-icon",
|
|
3323
|
+
class: g(h(A)(h(m), `az-${u.icon}`)),
|
|
3324
|
+
"aria-hidden": "true"
|
|
3216
3325
|
}, null, 2),
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3326
|
+
x("span", {
|
|
3327
|
+
"data-testid": "sidebar-nav-label",
|
|
3328
|
+
class: g(h(A)(h(f), ke, e.isCollapsed ? me : ue)),
|
|
3329
|
+
"aria-hidden": e.isCollapsed || void 0
|
|
3330
|
+
}, R(u.label), 11, Ao)
|
|
3331
|
+
], 10, Io)) : (v(), k("button", {
|
|
3332
|
+
key: 1,
|
|
3333
|
+
id: `navigation-${u.id}`,
|
|
3334
|
+
type: "button",
|
|
3335
|
+
"data-testid": "sidebar-nav-button",
|
|
3336
|
+
class: g(h(A)(h(p), e.isCollapsed && we)),
|
|
3337
|
+
"aria-current": u.current ? "page" : void 0,
|
|
3338
|
+
"aria-label": e.isCollapsed ? u.label : void 0,
|
|
3339
|
+
title: e.isCollapsed ? u.label : void 0,
|
|
3340
|
+
onClick: u.onClick
|
|
3341
|
+
}, [
|
|
3342
|
+
x("i", {
|
|
3343
|
+
"data-testid": "sidebar-nav-icon",
|
|
3344
|
+
class: g(h(A)(h(m), `az-${u.icon}`)),
|
|
3345
|
+
"aria-hidden": "true"
|
|
3346
|
+
}, null, 2),
|
|
3347
|
+
x("span", {
|
|
3348
|
+
"data-testid": "sidebar-nav-label",
|
|
3349
|
+
class: g(h(A)(h(f), ke, e.isCollapsed ? me : ue)),
|
|
3350
|
+
"aria-hidden": e.isCollapsed || void 0
|
|
3351
|
+
}, R(u.label), 11, Go)
|
|
3352
|
+
], 10, Oo))
|
|
3353
|
+
], 64))
|
|
3354
|
+
]);
|
|
3223
3355
|
}), 128));
|
|
3224
3356
|
}
|
|
3225
|
-
}),
|
|
3357
|
+
}), Lo = ["src", "alt", "aria-hidden"], Ro = /* @__PURE__ */ Q({
|
|
3226
3358
|
__name: "SidebarFooterAvatar",
|
|
3227
3359
|
props: {
|
|
3228
3360
|
avatarUrl: {},
|
|
@@ -3231,92 +3363,113 @@ const at = ["src", "alt"], it = /* @__PURE__ */ J({
|
|
|
3231
3363
|
initialsBG: {}
|
|
3232
3364
|
},
|
|
3233
3365
|
setup(e) {
|
|
3234
|
-
const o = {
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
}
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3366
|
+
const t = e, o = {
|
|
3367
|
+
root: "h-10 w-10 shrink-0 overflow-hidden rounded-full ring-1 ring-[color:var(--color-border-primary)]",
|
|
3368
|
+
img: "h-full w-full object-cover",
|
|
3369
|
+
initials: "flex h-full w-full items-center justify-center text-xs font-semibold text-[color:var(--color-text-primary-inverse)]"
|
|
3370
|
+
}, r = Ze(() => ({
|
|
3371
|
+
backgroundColor: t.initialsBG || "var(--color-blue-grey-600, #525252)"
|
|
3372
|
+
}));
|
|
3373
|
+
return (s, a) => (v(), k("div", {
|
|
3374
|
+
"data-testid": "sidebar-avatar",
|
|
3375
|
+
class: g(o.root)
|
|
3376
|
+
}, [
|
|
3377
|
+
e.avatarUrl ? (v(), k("img", {
|
|
3378
|
+
key: 0,
|
|
3379
|
+
"data-testid": "sidebar-avatar-img",
|
|
3380
|
+
class: g(o.img),
|
|
3381
|
+
src: e.avatarUrl,
|
|
3382
|
+
alt: e.name ? `${e.name} avatar` : "",
|
|
3383
|
+
"aria-hidden": e.name ? void 0 : !0
|
|
3384
|
+
}, null, 10, Lo)) : (v(), k("span", {
|
|
3385
|
+
key: 1,
|
|
3386
|
+
"data-testid": "sidebar-avatar-initials",
|
|
3387
|
+
class: g(o.initials),
|
|
3388
|
+
style: Ae(r.value),
|
|
3389
|
+
"aria-hidden": "true"
|
|
3390
|
+
}, R(e.initials), 7))
|
|
3391
|
+
], 2));
|
|
3256
3392
|
}
|
|
3257
|
-
}),
|
|
3393
|
+
}), To = ["aria-hidden"], jo = /* @__PURE__ */ Q({
|
|
3258
3394
|
__name: "SidebarFooter",
|
|
3259
3395
|
props: {
|
|
3260
3396
|
isCollapsed: { type: Boolean },
|
|
3261
3397
|
footerOptions: {}
|
|
3262
3398
|
},
|
|
3263
3399
|
emits: ["toggleSidebarCollapsed"],
|
|
3264
|
-
setup(e, { emit:
|
|
3265
|
-
const
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3400
|
+
setup(e, { emit: t }) {
|
|
3401
|
+
const o = t, r = {
|
|
3402
|
+
root: [
|
|
3403
|
+
"w-full flex items-center gap-2",
|
|
3404
|
+
"transition-[flex-direction,gap] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
|
|
3405
|
+
"motion-reduce:transition-none"
|
|
3406
|
+
].join(" "),
|
|
3407
|
+
rootExpanded: "flex-row justify-between",
|
|
3408
|
+
rootCollapsed: "flex-col items-center",
|
|
3409
|
+
identity: [
|
|
3410
|
+
"flex min-w-0 items-center gap-3",
|
|
3411
|
+
"transition-[flex-grow] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
|
|
3412
|
+
"motion-reduce:transition-none"
|
|
3413
|
+
].join(" "),
|
|
3414
|
+
identityExpanded: "flex-1",
|
|
3415
|
+
text: [
|
|
3416
|
+
"min-w-0 flex flex-col overflow-hidden whitespace-nowrap",
|
|
3417
|
+
"transition-[max-width,opacity,transform] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
|
|
3418
|
+
"motion-reduce:transition-none"
|
|
3419
|
+
].join(" "),
|
|
3420
|
+
textOpen: "max-w-[10rem] opacity-100 translate-x-0",
|
|
3421
|
+
textClosed: "max-w-0 opacity-0 -translate-x-1 pointer-events-none",
|
|
3422
|
+
name: "m-0 truncate font-sans text-sm font-semibold leading-tight text-[color:var(--color-text-primary)]",
|
|
3423
|
+
jobTitle: "m-0 truncate font-sans text-xs leading-tight text-[color:var(--color-text-tertiary)]",
|
|
3424
|
+
collapseBtn: [
|
|
3425
|
+
"transition-transform duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
|
|
3426
|
+
"motion-reduce:transition-none"
|
|
3427
|
+
].join(" ")
|
|
3275
3428
|
};
|
|
3276
|
-
return (s,
|
|
3277
|
-
var l,
|
|
3278
|
-
return
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
)
|
|
3429
|
+
return (s, a) => {
|
|
3430
|
+
var l, p, f;
|
|
3431
|
+
return v(), k("div", {
|
|
3432
|
+
"data-testid": "sidebar-footer",
|
|
3433
|
+
class: g(h(A)(r.root, e.isCollapsed ? r.rootCollapsed : r.rootExpanded))
|
|
3282
3434
|
}, [
|
|
3283
|
-
|
|
3284
|
-
class:
|
|
3435
|
+
x("div", {
|
|
3436
|
+
class: g(h(A)(r.identity, !e.isCollapsed && r.identityExpanded))
|
|
3285
3437
|
}, [
|
|
3286
|
-
|
|
3438
|
+
ze(Ro, {
|
|
3287
3439
|
"avatar-url": e.footerOptions.avatarUrl,
|
|
3440
|
+
name: e.footerOptions.name,
|
|
3288
3441
|
initials: (l = e.footerOptions.initials) != null ? l : "AZ",
|
|
3289
3442
|
"initials-b-g": e.footerOptions.initialsBG
|
|
3290
|
-
}, null, 8, ["avatar-url", "initials", "initials-b-g"]),
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
class:
|
|
3443
|
+
}, null, 8, ["avatar-url", "name", "initials", "initials-b-g"]),
|
|
3444
|
+
x("div", {
|
|
3445
|
+
"data-testid": "sidebar-user-text",
|
|
3446
|
+
class: g(h(A)(r.text, e.isCollapsed ? r.textClosed : r.textOpen)),
|
|
3447
|
+
"aria-hidden": e.isCollapsed || void 0
|
|
3294
3448
|
}, [
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3449
|
+
x("p", {
|
|
3450
|
+
"data-testid": "sidebar-user-name",
|
|
3451
|
+
class: g(r.name)
|
|
3452
|
+
}, R((p = e.footerOptions.name) != null ? p : "First Last"), 3),
|
|
3453
|
+
x("p", {
|
|
3454
|
+
"data-testid": "sidebar-user-title",
|
|
3455
|
+
class: g(r.jobTitle)
|
|
3456
|
+
}, R((f = e.footerOptions.jobTitle) != null ? f : "Job Title"), 3)
|
|
3457
|
+
], 10, To)
|
|
3302
3458
|
], 2),
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
onClick: i[0] || (i[0] = () => t("toggleSidebarCollapsed"))
|
|
3314
|
-
}, null, 8, ["class"])
|
|
3315
|
-
])
|
|
3459
|
+
ze(h(xt), {
|
|
3460
|
+
"data-testid": "sidebar-collapse",
|
|
3461
|
+
ghost: "",
|
|
3462
|
+
appearance: "standard",
|
|
3463
|
+
size: "s",
|
|
3464
|
+
class: g(h(A)(r.collapseBtn, e.isCollapsed && "rotate-180")),
|
|
3465
|
+
"aria-label": e.isCollapsed ? "Expand sidebar" : "Collapse sidebar",
|
|
3466
|
+
"icon-class": "az-ui-sidebar-collapse",
|
|
3467
|
+
onClick: a[0] || (a[0] = (m) => o("toggleSidebarCollapsed"))
|
|
3468
|
+
}, null, 8, ["class", "aria-label"])
|
|
3316
3469
|
], 2);
|
|
3317
3470
|
};
|
|
3318
3471
|
}
|
|
3319
|
-
}),
|
|
3472
|
+
}), Bo = {
|
|
3320
3473
|
showHeader: !0,
|
|
3321
3474
|
classes: "",
|
|
3322
3475
|
headerOptions: () => ({
|
|
@@ -3326,43 +3479,22 @@ const at = ["src", "alt"], it = /* @__PURE__ */ J({
|
|
|
3326
3479
|
logoBgColor: "",
|
|
3327
3480
|
sidebarTitle: "Product name"
|
|
3328
3481
|
}),
|
|
3329
|
-
showShortcuts: !
|
|
3330
|
-
shortcutOptions: {
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
label: "Dashboard",
|
|
3335
|
-
icon: "ui-chevron-left",
|
|
3336
|
-
type: "button",
|
|
3337
|
-
onClick: () => console.log("dashboard")
|
|
3338
|
-
}
|
|
3339
|
-
]
|
|
3340
|
-
},
|
|
3341
|
-
navigationOptions: {
|
|
3342
|
-
items: [
|
|
3343
|
-
{
|
|
3344
|
-
id: "dashboard",
|
|
3345
|
-
label: "Dashboard",
|
|
3346
|
-
icon: "ui-chevron-left",
|
|
3347
|
-
type: "button",
|
|
3348
|
-
onClick: () => console.log("dashboard")
|
|
3349
|
-
}
|
|
3350
|
-
]
|
|
3351
|
-
},
|
|
3352
|
-
footerOptions: { initials: "AZ" }
|
|
3353
|
-
}, vt = { class: "" }, Ct = {
|
|
3482
|
+
showShortcuts: !1,
|
|
3483
|
+
shortcutOptions: () => ({ items: [] }),
|
|
3484
|
+
navigationOptions: () => ({ items: [] }),
|
|
3485
|
+
footerOptions: () => ({ initials: "AZ" })
|
|
3486
|
+
}, Eo = ["aria-expanded"], No = {
|
|
3354
3487
|
key: 0,
|
|
3355
|
-
|
|
3356
|
-
},
|
|
3357
|
-
key:
|
|
3358
|
-
|
|
3359
|
-
},
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
}, At = { class: "" }, Gt = /* @__PURE__ */ J({
|
|
3488
|
+
"data-testid": "sidebar-header-slot"
|
|
3489
|
+
}, Fo = {
|
|
3490
|
+
key: 1,
|
|
3491
|
+
"data-testid": "sidebar-shortcuts-slot"
|
|
3492
|
+
}, Vo = {
|
|
3493
|
+
"data-testid": "sidebar-nav",
|
|
3494
|
+
"aria-label": "Main"
|
|
3495
|
+
}, qo = /* @__PURE__ */ Q({
|
|
3364
3496
|
__name: "index",
|
|
3365
|
-
props: /* @__PURE__ */
|
|
3497
|
+
props: /* @__PURE__ */ ht({
|
|
3366
3498
|
showHeader: { type: Boolean },
|
|
3367
3499
|
classes: {},
|
|
3368
3500
|
headerOptions: {},
|
|
@@ -3370,61 +3502,76 @@ const at = ["src", "alt"], it = /* @__PURE__ */ J({
|
|
|
3370
3502
|
shortcutOptions: {},
|
|
3371
3503
|
navigationOptions: {},
|
|
3372
3504
|
footerOptions: {}
|
|
3373
|
-
},
|
|
3505
|
+
}, Bo),
|
|
3374
3506
|
setup(e) {
|
|
3375
|
-
const
|
|
3376
|
-
sidebarContainer:
|
|
3377
|
-
|
|
3507
|
+
const t = gt(!1), o = Ze(() => t.value ? "4.5rem" : "17.5rem"), r = {
|
|
3508
|
+
sidebarContainer: [
|
|
3509
|
+
"font-sans h-full min-h-full self-stretch flex flex-col gap-4 p-4",
|
|
3510
|
+
"bg-surface text-fg border-r border-edge",
|
|
3511
|
+
"transition-[width,padding] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
|
|
3512
|
+
"motion-reduce:transition-none",
|
|
3513
|
+
"overflow-hidden will-change-[width]"
|
|
3514
|
+
].join(" "),
|
|
3515
|
+
navSection: "flex-1 min-h-0 overflow-y-auto overflow-x-hidden",
|
|
3516
|
+
navList: "flex flex-col gap-1 m-0 p-0 list-none",
|
|
3517
|
+
footer: "mt-auto pt-4 flex items-center border-t border-edge shrink-0"
|
|
3378
3518
|
};
|
|
3379
3519
|
function s() {
|
|
3380
|
-
|
|
3520
|
+
t.value = !t.value;
|
|
3381
3521
|
}
|
|
3382
|
-
return (
|
|
3383
|
-
|
|
3384
|
-
|
|
3522
|
+
return (a, l) => (v(), k("aside", {
|
|
3523
|
+
"data-testid": "sidebar",
|
|
3524
|
+
class: g(h(A)(r.sidebarContainer, e.classes)),
|
|
3525
|
+
style: Ae({ width: o.value }),
|
|
3526
|
+
"aria-expanded": !t.value
|
|
3385
3527
|
}, [
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
e.showHeader ? (
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3528
|
+
e.showHeader || a.$slots.header ? (v(), k("div", No, [
|
|
3529
|
+
ae(a.$slots, "header"),
|
|
3530
|
+
e.showHeader && !a.$slots.header ? (v(), ve(fo, {
|
|
3531
|
+
key: 0,
|
|
3532
|
+
"is-collapsed": t.value,
|
|
3533
|
+
"header-options": e.headerOptions
|
|
3534
|
+
}, null, 8, ["is-collapsed", "header-options"])) : F("", !0)
|
|
3535
|
+
])) : F("", !0),
|
|
3536
|
+
e.showShortcuts || a.$slots.shortcuts ? (v(), k("div", Fo, [
|
|
3537
|
+
ae(a.$slots, "shortcuts"),
|
|
3538
|
+
e.showShortcuts && !a.$slots.shortcuts ? (v(), ve(yo, {
|
|
3539
|
+
key: 0,
|
|
3540
|
+
"is-collapsed": t.value,
|
|
3541
|
+
"shortcut-options": e.shortcutOptions
|
|
3542
|
+
}, null, 8, ["is-collapsed", "shortcut-options"])) : F("", !0)
|
|
3543
|
+
])) : F("", !0),
|
|
3544
|
+
x("section", {
|
|
3545
|
+
class: g(r.navSection)
|
|
3546
|
+
}, [
|
|
3547
|
+
x("nav", Vo, [
|
|
3548
|
+
x("ul", {
|
|
3549
|
+
"data-testid": "sidebar-nav-list",
|
|
3550
|
+
class: g(r.navList)
|
|
3551
|
+
}, [
|
|
3552
|
+
ze(Po, {
|
|
3553
|
+
"is-collapsed": t.value,
|
|
3554
|
+
"navigation-options": e.navigationOptions
|
|
3555
|
+
}, null, 8, ["is-collapsed", "navigation-options"]),
|
|
3556
|
+
ae(a.$slots, "nav")
|
|
3557
|
+
], 2)
|
|
3413
3558
|
])
|
|
3414
|
-
]),
|
|
3415
|
-
|
|
3416
|
-
|
|
3559
|
+
], 2),
|
|
3560
|
+
x("div", {
|
|
3561
|
+
"data-testid": "sidebar-footer-slot",
|
|
3562
|
+
class: g(r.footer)
|
|
3417
3563
|
}, [
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3564
|
+
ae(a.$slots, "footer"),
|
|
3565
|
+
a.$slots.footer ? F("", !0) : (v(), ve(jo, {
|
|
3566
|
+
key: 0,
|
|
3567
|
+
"is-collapsed": t.value,
|
|
3421
3568
|
"footer-options": e.footerOptions,
|
|
3422
3569
|
onToggleSidebarCollapsed: s
|
|
3423
|
-
}, null, 8, ["is-collapsed", "footer-options"])
|
|
3570
|
+
}, null, 8, ["is-collapsed", "footer-options"]))
|
|
3424
3571
|
], 2)
|
|
3425
|
-
],
|
|
3572
|
+
], 14, Eo));
|
|
3426
3573
|
}
|
|
3427
|
-
})
|
|
3574
|
+
});
|
|
3428
3575
|
export {
|
|
3429
|
-
|
|
3576
|
+
qo as AzSidebar
|
|
3430
3577
|
};
|