@homlista-devs/ui 1.0.0 → 1.0.1
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/README.md +1 -0
- package/dist/design-system.cjs.js +13 -34
- package/dist/design-system.cjs.js.map +1 -1
- package/dist/design-system.es.js +1513 -1174
- package/dist/design-system.es.js.map +1 -1
- package/dist/index.css +2906 -0
- package/package.json +51 -42
package/dist/design-system.es.js
CHANGED
|
@@ -1,438 +1,161 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* @license React
|
|
8
|
-
* react-jsx-runtime.production.js
|
|
9
|
-
*
|
|
10
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
11
|
-
*
|
|
12
|
-
* This source code is licensed under the MIT license found in the
|
|
13
|
-
* LICENSE file in the root directory of this source tree.
|
|
14
|
-
*/
|
|
15
|
-
var Ae;
|
|
16
|
-
function ar() {
|
|
17
|
-
if (Ae) return ce;
|
|
18
|
-
Ae = 1;
|
|
19
|
-
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
20
|
-
function r(o, n, i) {
|
|
21
|
-
var l = null;
|
|
22
|
-
if (i !== void 0 && (l = "" + i), n.key !== void 0 && (l = "" + n.key), "key" in n) {
|
|
23
|
-
i = {};
|
|
24
|
-
for (var c in n)
|
|
25
|
-
c !== "key" && (i[c] = n[c]);
|
|
26
|
-
} else i = n;
|
|
27
|
-
return n = i.ref, {
|
|
28
|
-
$$typeof: e,
|
|
29
|
-
type: o,
|
|
30
|
-
key: l,
|
|
31
|
-
ref: n !== void 0 ? n : null,
|
|
32
|
-
props: i
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
return ce.Fragment = t, ce.jsx = r, ce.jsxs = r, ce;
|
|
36
|
-
}
|
|
37
|
-
var de = {};
|
|
38
|
-
/**
|
|
39
|
-
* @license React
|
|
40
|
-
* react-jsx-runtime.development.js
|
|
41
|
-
*
|
|
42
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
43
|
-
*
|
|
44
|
-
* This source code is licensed under the MIT license found in the
|
|
45
|
-
* LICENSE file in the root directory of this source tree.
|
|
46
|
-
*/
|
|
47
|
-
var Pe;
|
|
48
|
-
function ir() {
|
|
49
|
-
return Pe || (Pe = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
50
|
-
function e(s) {
|
|
51
|
-
if (s == null) return null;
|
|
52
|
-
if (typeof s == "function")
|
|
53
|
-
return s.$$typeof === ee ? null : s.displayName || s.name || null;
|
|
54
|
-
if (typeof s == "string") return s;
|
|
55
|
-
switch (s) {
|
|
56
|
-
case A:
|
|
57
|
-
return "Fragment";
|
|
58
|
-
case H:
|
|
59
|
-
return "Profiler";
|
|
60
|
-
case I:
|
|
61
|
-
return "StrictMode";
|
|
62
|
-
case L:
|
|
63
|
-
return "Suspense";
|
|
64
|
-
case W:
|
|
65
|
-
return "SuspenseList";
|
|
66
|
-
case K:
|
|
67
|
-
return "Activity";
|
|
68
|
-
}
|
|
69
|
-
if (typeof s == "object")
|
|
70
|
-
switch (typeof s.tag == "number" && console.error(
|
|
71
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
72
|
-
), s.$$typeof) {
|
|
73
|
-
case E:
|
|
74
|
-
return "Portal";
|
|
75
|
-
case $:
|
|
76
|
-
return s.displayName || "Context";
|
|
77
|
-
case G:
|
|
78
|
-
return (s._context.displayName || "Context") + ".Consumer";
|
|
79
|
-
case O:
|
|
80
|
-
var h = s.render;
|
|
81
|
-
return s = s.displayName, s || (s = h.displayName || h.name || "", s = s !== "" ? "ForwardRef(" + s + ")" : "ForwardRef"), s;
|
|
82
|
-
case g:
|
|
83
|
-
return h = s.displayName || null, h !== null ? h : e(s.type) || "Memo";
|
|
84
|
-
case P:
|
|
85
|
-
h = s._payload, s = s._init;
|
|
86
|
-
try {
|
|
87
|
-
return e(s(h));
|
|
88
|
-
} catch {
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
return null;
|
|
92
|
-
}
|
|
93
|
-
function t(s) {
|
|
94
|
-
return "" + s;
|
|
95
|
-
}
|
|
96
|
-
function r(s) {
|
|
97
|
-
try {
|
|
98
|
-
t(s);
|
|
99
|
-
var h = !1;
|
|
100
|
-
} catch {
|
|
101
|
-
h = !0;
|
|
102
|
-
}
|
|
103
|
-
if (h) {
|
|
104
|
-
h = console;
|
|
105
|
-
var b = h.error, j = typeof Symbol == "function" && Symbol.toStringTag && s[Symbol.toStringTag] || s.constructor.name || "Object";
|
|
106
|
-
return b.call(
|
|
107
|
-
h,
|
|
108
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
109
|
-
j
|
|
110
|
-
), t(s);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
function o(s) {
|
|
114
|
-
if (s === A) return "<>";
|
|
115
|
-
if (typeof s == "object" && s !== null && s.$$typeof === P)
|
|
116
|
-
return "<...>";
|
|
117
|
-
try {
|
|
118
|
-
var h = e(s);
|
|
119
|
-
return h ? "<" + h + ">" : "<...>";
|
|
120
|
-
} catch {
|
|
121
|
-
return "<...>";
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
function n() {
|
|
125
|
-
var s = F.A;
|
|
126
|
-
return s === null ? null : s.getOwner();
|
|
127
|
-
}
|
|
128
|
-
function i() {
|
|
129
|
-
return Error("react-stack-top-frame");
|
|
130
|
-
}
|
|
131
|
-
function l(s) {
|
|
132
|
-
if (V.call(s, "key")) {
|
|
133
|
-
var h = Object.getOwnPropertyDescriptor(s, "key").get;
|
|
134
|
-
if (h && h.isReactWarning) return !1;
|
|
135
|
-
}
|
|
136
|
-
return s.key !== void 0;
|
|
137
|
-
}
|
|
138
|
-
function c(s, h) {
|
|
139
|
-
function b() {
|
|
140
|
-
w || (w = !0, console.error(
|
|
141
|
-
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
142
|
-
h
|
|
143
|
-
));
|
|
144
|
-
}
|
|
145
|
-
b.isReactWarning = !0, Object.defineProperty(s, "key", {
|
|
146
|
-
get: b,
|
|
147
|
-
configurable: !0
|
|
148
|
-
});
|
|
149
|
-
}
|
|
150
|
-
function d() {
|
|
151
|
-
var s = e(this.type);
|
|
152
|
-
return R[s] || (R[s] = !0, console.error(
|
|
153
|
-
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
154
|
-
)), s = this.props.ref, s !== void 0 ? s : null;
|
|
155
|
-
}
|
|
156
|
-
function p(s, h, b, j, U, re) {
|
|
157
|
-
var v = b.ref;
|
|
158
|
-
return s = {
|
|
159
|
-
$$typeof: N,
|
|
160
|
-
type: s,
|
|
161
|
-
key: h,
|
|
162
|
-
props: b,
|
|
163
|
-
_owner: j
|
|
164
|
-
}, (v !== void 0 ? v : null) !== null ? Object.defineProperty(s, "ref", {
|
|
165
|
-
enumerable: !1,
|
|
166
|
-
get: d
|
|
167
|
-
}) : Object.defineProperty(s, "ref", { enumerable: !1, value: null }), s._store = {}, Object.defineProperty(s._store, "validated", {
|
|
168
|
-
configurable: !1,
|
|
169
|
-
enumerable: !1,
|
|
170
|
-
writable: !0,
|
|
171
|
-
value: 0
|
|
172
|
-
}), Object.defineProperty(s, "_debugInfo", {
|
|
173
|
-
configurable: !1,
|
|
174
|
-
enumerable: !1,
|
|
175
|
-
writable: !0,
|
|
176
|
-
value: null
|
|
177
|
-
}), Object.defineProperty(s, "_debugStack", {
|
|
178
|
-
configurable: !1,
|
|
179
|
-
enumerable: !1,
|
|
180
|
-
writable: !0,
|
|
181
|
-
value: U
|
|
182
|
-
}), Object.defineProperty(s, "_debugTask", {
|
|
183
|
-
configurable: !1,
|
|
184
|
-
enumerable: !1,
|
|
185
|
-
writable: !0,
|
|
186
|
-
value: re
|
|
187
|
-
}), Object.freeze && (Object.freeze(s.props), Object.freeze(s)), s;
|
|
188
|
-
}
|
|
189
|
-
function y(s, h, b, j, U, re) {
|
|
190
|
-
var v = h.children;
|
|
191
|
-
if (v !== void 0)
|
|
192
|
-
if (j)
|
|
193
|
-
if (X(v)) {
|
|
194
|
-
for (j = 0; j < v.length; j++)
|
|
195
|
-
C(v[j]);
|
|
196
|
-
Object.freeze && Object.freeze(v);
|
|
197
|
-
} else
|
|
198
|
-
console.error(
|
|
199
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
200
|
-
);
|
|
201
|
-
else C(v);
|
|
202
|
-
if (V.call(h, "key")) {
|
|
203
|
-
v = e(s);
|
|
204
|
-
var B = Object.keys(h).filter(function(te) {
|
|
205
|
-
return te !== "key";
|
|
206
|
-
});
|
|
207
|
-
j = 0 < B.length ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}", le[v + j] || (B = 0 < B.length ? "{" + B.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
208
|
-
`A props object containing a "key" prop is being spread into JSX:
|
|
209
|
-
let props = %s;
|
|
210
|
-
<%s {...props} />
|
|
211
|
-
React keys must be passed directly to JSX without using spread:
|
|
212
|
-
let props = %s;
|
|
213
|
-
<%s key={someKey} {...props} />`,
|
|
214
|
-
j,
|
|
215
|
-
v,
|
|
216
|
-
B,
|
|
217
|
-
v
|
|
218
|
-
), le[v + j] = !0);
|
|
219
|
-
}
|
|
220
|
-
if (v = null, b !== void 0 && (r(b), v = "" + b), l(h) && (r(h.key), v = "" + h.key), "key" in h) {
|
|
221
|
-
b = {};
|
|
222
|
-
for (var Y in h)
|
|
223
|
-
Y !== "key" && (b[Y] = h[Y]);
|
|
224
|
-
} else b = h;
|
|
225
|
-
return v && c(
|
|
226
|
-
b,
|
|
227
|
-
typeof s == "function" ? s.displayName || s.name || "Unknown" : s
|
|
228
|
-
), p(
|
|
229
|
-
s,
|
|
230
|
-
v,
|
|
231
|
-
b,
|
|
232
|
-
n(),
|
|
233
|
-
U,
|
|
234
|
-
re
|
|
235
|
-
);
|
|
236
|
-
}
|
|
237
|
-
function C(s) {
|
|
238
|
-
S(s) ? s._store && (s._store.validated = 1) : typeof s == "object" && s !== null && s.$$typeof === P && (s._payload.status === "fulfilled" ? S(s._payload.value) && s._payload.value._store && (s._payload.value._store.validated = 1) : s._store && (s._store.validated = 1));
|
|
239
|
-
}
|
|
240
|
-
function S(s) {
|
|
241
|
-
return typeof s == "object" && s !== null && s.$$typeof === N;
|
|
242
|
-
}
|
|
243
|
-
var T = xe, N = Symbol.for("react.transitional.element"), E = Symbol.for("react.portal"), A = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), H = Symbol.for("react.profiler"), G = Symbol.for("react.consumer"), $ = Symbol.for("react.context"), O = Symbol.for("react.forward_ref"), L = Symbol.for("react.suspense"), W = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), K = Symbol.for("react.activity"), ee = Symbol.for("react.client.reference"), F = T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, V = Object.prototype.hasOwnProperty, X = Array.isArray, M = console.createTask ? console.createTask : function() {
|
|
244
|
-
return null;
|
|
245
|
-
};
|
|
246
|
-
T = {
|
|
247
|
-
react_stack_bottom_frame: function(s) {
|
|
248
|
-
return s();
|
|
249
|
-
}
|
|
250
|
-
};
|
|
251
|
-
var w, R = {}, f = T.react_stack_bottom_frame.bind(
|
|
252
|
-
T,
|
|
253
|
-
i
|
|
254
|
-
)(), ie = M(o(i)), le = {};
|
|
255
|
-
de.Fragment = A, de.jsx = function(s, h, b) {
|
|
256
|
-
var j = 1e4 > F.recentlyCreatedOwnerStacks++;
|
|
257
|
-
return y(
|
|
258
|
-
s,
|
|
259
|
-
h,
|
|
260
|
-
b,
|
|
261
|
-
!1,
|
|
262
|
-
j ? Error("react-stack-top-frame") : f,
|
|
263
|
-
j ? M(o(s)) : ie
|
|
264
|
-
);
|
|
265
|
-
}, de.jsxs = function(s, h, b) {
|
|
266
|
-
var j = 1e4 > F.recentlyCreatedOwnerStacks++;
|
|
267
|
-
return y(
|
|
268
|
-
s,
|
|
269
|
-
h,
|
|
270
|
-
b,
|
|
271
|
-
!0,
|
|
272
|
-
j ? Error("react-stack-top-frame") : f,
|
|
273
|
-
j ? M(o(s)) : ie
|
|
274
|
-
);
|
|
275
|
-
};
|
|
276
|
-
})()), de;
|
|
277
|
-
}
|
|
278
|
-
var ze;
|
|
279
|
-
function lr() {
|
|
280
|
-
return ze || (ze = 1, process.env.NODE_ENV === "production" ? pe.exports = ar() : pe.exports = ir()), pe.exports;
|
|
281
|
-
}
|
|
282
|
-
var a = lr();
|
|
283
|
-
function Me(e, t) {
|
|
1
|
+
import { jsx as s, jsxs as x, Fragment as de } from "react/jsx-runtime";
|
|
2
|
+
import * as C from "react";
|
|
3
|
+
import ke, { useEffect as fe, useState as oe, useMemo as ge, useCallback as Pe, forwardRef as Be, createElement as xe, useContext as fr } from "react";
|
|
4
|
+
import { useUnit as gr } from "effector-react";
|
|
5
|
+
import { createEvent as Ce, createStore as pr } from "effector";
|
|
6
|
+
function Ie(e, r) {
|
|
284
7
|
if (typeof e == "function")
|
|
285
|
-
return e(
|
|
286
|
-
e != null && (e.current =
|
|
8
|
+
return e(r);
|
|
9
|
+
e != null && (e.current = r);
|
|
287
10
|
}
|
|
288
|
-
function
|
|
289
|
-
return (
|
|
290
|
-
let
|
|
11
|
+
function hr(...e) {
|
|
12
|
+
return (r) => {
|
|
13
|
+
let t = !1;
|
|
291
14
|
const o = e.map((n) => {
|
|
292
|
-
const
|
|
293
|
-
return !
|
|
15
|
+
const a = Ie(n, r);
|
|
16
|
+
return !t && typeof a == "function" && (t = !0), a;
|
|
294
17
|
});
|
|
295
|
-
if (
|
|
18
|
+
if (t)
|
|
296
19
|
return () => {
|
|
297
20
|
for (let n = 0; n < o.length; n++) {
|
|
298
|
-
const
|
|
299
|
-
typeof
|
|
21
|
+
const a = o[n];
|
|
22
|
+
typeof a == "function" ? a() : Ie(e[n], null);
|
|
300
23
|
}
|
|
301
24
|
};
|
|
302
25
|
};
|
|
303
26
|
}
|
|
304
27
|
// @__NO_SIDE_EFFECTS__
|
|
305
|
-
function
|
|
306
|
-
const
|
|
307
|
-
const { children:
|
|
308
|
-
if (
|
|
309
|
-
const
|
|
310
|
-
return /* @__PURE__ */
|
|
28
|
+
function br(e) {
|
|
29
|
+
const r = /* @__PURE__ */ yr(e), t = C.forwardRef((o, n) => {
|
|
30
|
+
const { children: a, ...i } = o, c = C.Children.toArray(a), l = c.find(wr);
|
|
31
|
+
if (l) {
|
|
32
|
+
const d = l.props.children, g = c.map((m) => m === l ? C.Children.count(d) > 1 ? C.Children.only(null) : C.isValidElement(d) ? d.props.children : null : m);
|
|
33
|
+
return /* @__PURE__ */ s(r, { ...i, ref: n, children: C.isValidElement(d) ? C.cloneElement(d, void 0, g) : null });
|
|
311
34
|
}
|
|
312
|
-
return /* @__PURE__ */
|
|
35
|
+
return /* @__PURE__ */ s(r, { ...i, ref: n, children: a });
|
|
313
36
|
});
|
|
314
|
-
return
|
|
37
|
+
return t.displayName = `${e}.Slot`, t;
|
|
315
38
|
}
|
|
316
|
-
var
|
|
39
|
+
var xr = /* @__PURE__ */ br("Slot");
|
|
317
40
|
// @__NO_SIDE_EFFECTS__
|
|
318
|
-
function
|
|
319
|
-
const
|
|
320
|
-
const { children: n, ...
|
|
321
|
-
if (
|
|
322
|
-
const
|
|
323
|
-
return n.type !==
|
|
41
|
+
function yr(e) {
|
|
42
|
+
const r = C.forwardRef((t, o) => {
|
|
43
|
+
const { children: n, ...a } = t;
|
|
44
|
+
if (C.isValidElement(n)) {
|
|
45
|
+
const i = Cr(n), c = kr(a, n.props);
|
|
46
|
+
return n.type !== C.Fragment && (c.ref = o ? hr(o, i) : i), C.cloneElement(n, c);
|
|
324
47
|
}
|
|
325
|
-
return
|
|
48
|
+
return C.Children.count(n) > 1 ? C.Children.only(null) : null;
|
|
326
49
|
});
|
|
327
|
-
return
|
|
50
|
+
return r.displayName = `${e}.SlotClone`, r;
|
|
328
51
|
}
|
|
329
|
-
var
|
|
330
|
-
function
|
|
331
|
-
return
|
|
52
|
+
var vr = Symbol("radix.slottable");
|
|
53
|
+
function wr(e) {
|
|
54
|
+
return C.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === vr;
|
|
332
55
|
}
|
|
333
|
-
function
|
|
334
|
-
const
|
|
335
|
-
for (const o in
|
|
336
|
-
const n = e[o],
|
|
337
|
-
/^on[A-Z]/.test(o) ? n &&
|
|
338
|
-
const
|
|
339
|
-
return n(...c),
|
|
340
|
-
} : n && (
|
|
56
|
+
function kr(e, r) {
|
|
57
|
+
const t = { ...r };
|
|
58
|
+
for (const o in r) {
|
|
59
|
+
const n = e[o], a = r[o];
|
|
60
|
+
/^on[A-Z]/.test(o) ? n && a ? t[o] = (...c) => {
|
|
61
|
+
const l = a(...c);
|
|
62
|
+
return n(...c), l;
|
|
63
|
+
} : n && (t[o] = n) : o === "style" ? t[o] = { ...n, ...a } : o === "className" && (t[o] = [n, a].filter(Boolean).join(" "));
|
|
341
64
|
}
|
|
342
|
-
return { ...e, ...
|
|
65
|
+
return { ...e, ...t };
|
|
343
66
|
}
|
|
344
|
-
function
|
|
345
|
-
let
|
|
346
|
-
return
|
|
67
|
+
function Cr(e) {
|
|
68
|
+
let r = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning;
|
|
69
|
+
return t ? e.ref : (r = Object.getOwnPropertyDescriptor(e, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
|
|
347
70
|
}
|
|
348
|
-
function
|
|
349
|
-
var
|
|
71
|
+
function We(e) {
|
|
72
|
+
var r, t, o = "";
|
|
350
73
|
if (typeof e == "string" || typeof e == "number") o += e;
|
|
351
74
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
352
75
|
var n = e.length;
|
|
353
|
-
for (
|
|
354
|
-
} else for (
|
|
76
|
+
for (r = 0; r < n; r++) e[r] && (t = We(e[r])) && (o && (o += " "), o += t);
|
|
77
|
+
} else for (t in e) e[t] && (o && (o += " "), o += t);
|
|
355
78
|
return o;
|
|
356
79
|
}
|
|
357
|
-
function
|
|
358
|
-
for (var e,
|
|
80
|
+
function He() {
|
|
81
|
+
for (var e, r, t = 0, o = "", n = arguments.length; t < n; t++) (e = arguments[t]) && (r = We(e)) && (o && (o += " "), o += r);
|
|
359
82
|
return o;
|
|
360
83
|
}
|
|
361
|
-
const
|
|
362
|
-
const
|
|
363
|
-
conflictingClassGroups:
|
|
84
|
+
const Ne = "-", Nr = (e) => {
|
|
85
|
+
const r = Sr(e), {
|
|
86
|
+
conflictingClassGroups: t,
|
|
364
87
|
conflictingClassGroupModifiers: o
|
|
365
88
|
} = e;
|
|
366
89
|
return {
|
|
367
|
-
getClassGroupId: (
|
|
368
|
-
const c =
|
|
369
|
-
return c[0] === "" && c.length !== 1 && c.shift(),
|
|
90
|
+
getClassGroupId: (i) => {
|
|
91
|
+
const c = i.split(Ne);
|
|
92
|
+
return c[0] === "" && c.length !== 1 && c.shift(), Ue(c, r) || zr(i);
|
|
370
93
|
},
|
|
371
|
-
getConflictingClassGroupIds: (
|
|
372
|
-
const
|
|
373
|
-
return c && o[
|
|
94
|
+
getConflictingClassGroupIds: (i, c) => {
|
|
95
|
+
const l = t[i] || [];
|
|
96
|
+
return c && o[i] ? [...l, ...o[i]] : l;
|
|
374
97
|
}
|
|
375
98
|
};
|
|
376
|
-
},
|
|
99
|
+
}, Ue = (e, r) => {
|
|
377
100
|
if (e.length === 0)
|
|
378
|
-
return
|
|
379
|
-
const
|
|
101
|
+
return r.classGroupId;
|
|
102
|
+
const t = e[0], o = r.nextPart.get(t), n = o ? Ue(e.slice(1), o) : void 0;
|
|
380
103
|
if (n)
|
|
381
104
|
return n;
|
|
382
|
-
if (
|
|
105
|
+
if (r.validators.length === 0)
|
|
383
106
|
return;
|
|
384
|
-
const
|
|
385
|
-
return
|
|
386
|
-
validator:
|
|
387
|
-
}) =>
|
|
388
|
-
},
|
|
389
|
-
if (
|
|
390
|
-
const
|
|
391
|
-
if (
|
|
392
|
-
return "arbitrary.." +
|
|
107
|
+
const a = e.join(Ne);
|
|
108
|
+
return r.validators.find(({
|
|
109
|
+
validator: i
|
|
110
|
+
}) => i(a))?.classGroupId;
|
|
111
|
+
}, je = /^\[(.+)\]$/, zr = (e) => {
|
|
112
|
+
if (je.test(e)) {
|
|
113
|
+
const r = je.exec(e)[1], t = r?.substring(0, r.indexOf(":"));
|
|
114
|
+
if (t)
|
|
115
|
+
return "arbitrary.." + t;
|
|
393
116
|
}
|
|
394
|
-
},
|
|
117
|
+
}, Sr = (e) => {
|
|
395
118
|
const {
|
|
396
|
-
theme:
|
|
397
|
-
classGroups:
|
|
119
|
+
theme: r,
|
|
120
|
+
classGroups: t
|
|
398
121
|
} = e, o = {
|
|
399
122
|
nextPart: /* @__PURE__ */ new Map(),
|
|
400
123
|
validators: []
|
|
401
124
|
};
|
|
402
|
-
for (const n in
|
|
403
|
-
|
|
125
|
+
for (const n in t)
|
|
126
|
+
ye(t[n], o, n, r);
|
|
404
127
|
return o;
|
|
405
|
-
},
|
|
128
|
+
}, ye = (e, r, t, o) => {
|
|
406
129
|
e.forEach((n) => {
|
|
407
130
|
if (typeof n == "string") {
|
|
408
|
-
const
|
|
409
|
-
|
|
131
|
+
const a = n === "" ? r : Te(r, n);
|
|
132
|
+
a.classGroupId = t;
|
|
410
133
|
return;
|
|
411
134
|
}
|
|
412
135
|
if (typeof n == "function") {
|
|
413
|
-
if (
|
|
414
|
-
|
|
136
|
+
if (Er(n)) {
|
|
137
|
+
ye(n(o), r, t, o);
|
|
415
138
|
return;
|
|
416
139
|
}
|
|
417
|
-
|
|
140
|
+
r.validators.push({
|
|
418
141
|
validator: n,
|
|
419
|
-
classGroupId:
|
|
142
|
+
classGroupId: t
|
|
420
143
|
});
|
|
421
144
|
return;
|
|
422
145
|
}
|
|
423
|
-
Object.entries(n).forEach(([
|
|
424
|
-
|
|
146
|
+
Object.entries(n).forEach(([a, i]) => {
|
|
147
|
+
ye(i, Te(r, a), t, o);
|
|
425
148
|
});
|
|
426
149
|
});
|
|
427
|
-
},
|
|
428
|
-
let
|
|
429
|
-
return
|
|
430
|
-
|
|
150
|
+
}, Te = (e, r) => {
|
|
151
|
+
let t = e;
|
|
152
|
+
return r.split(Ne).forEach((o) => {
|
|
153
|
+
t.nextPart.has(o) || t.nextPart.set(o, {
|
|
431
154
|
nextPart: /* @__PURE__ */ new Map(),
|
|
432
155
|
validators: []
|
|
433
|
-
}),
|
|
434
|
-
}),
|
|
435
|
-
},
|
|
156
|
+
}), t = t.nextPart.get(o);
|
|
157
|
+
}), t;
|
|
158
|
+
}, Er = (e) => e.isThemeGetter, Mr = (e) => {
|
|
436
159
|
if (e < 1)
|
|
437
160
|
return {
|
|
438
161
|
get: () => {
|
|
@@ -440,178 +163,178 @@ const Se = "-", xr = (e) => {
|
|
|
440
163
|
set: () => {
|
|
441
164
|
}
|
|
442
165
|
};
|
|
443
|
-
let
|
|
444
|
-
const n = (
|
|
445
|
-
|
|
166
|
+
let r = 0, t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
|
|
167
|
+
const n = (a, i) => {
|
|
168
|
+
t.set(a, i), r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ new Map());
|
|
446
169
|
};
|
|
447
170
|
return {
|
|
448
|
-
get(
|
|
449
|
-
let
|
|
450
|
-
if (
|
|
451
|
-
return
|
|
452
|
-
if ((
|
|
453
|
-
return n(
|
|
171
|
+
get(a) {
|
|
172
|
+
let i = t.get(a);
|
|
173
|
+
if (i !== void 0)
|
|
174
|
+
return i;
|
|
175
|
+
if ((i = o.get(a)) !== void 0)
|
|
176
|
+
return n(a, i), i;
|
|
454
177
|
},
|
|
455
|
-
set(
|
|
456
|
-
|
|
178
|
+
set(a, i) {
|
|
179
|
+
t.has(a) ? t.set(a, i) : n(a, i);
|
|
457
180
|
}
|
|
458
181
|
};
|
|
459
|
-
},
|
|
182
|
+
}, ve = "!", we = ":", Rr = we.length, Ar = (e) => {
|
|
460
183
|
const {
|
|
461
|
-
prefix:
|
|
462
|
-
experimentalParseClassName:
|
|
184
|
+
prefix: r,
|
|
185
|
+
experimentalParseClassName: t
|
|
463
186
|
} = e;
|
|
464
187
|
let o = (n) => {
|
|
465
|
-
const
|
|
466
|
-
let
|
|
467
|
-
for (let
|
|
468
|
-
let
|
|
469
|
-
if (
|
|
470
|
-
if (
|
|
471
|
-
|
|
188
|
+
const a = [];
|
|
189
|
+
let i = 0, c = 0, l = 0, d;
|
|
190
|
+
for (let k = 0; k < n.length; k++) {
|
|
191
|
+
let S = n[k];
|
|
192
|
+
if (i === 0 && c === 0) {
|
|
193
|
+
if (S === we) {
|
|
194
|
+
a.push(n.slice(l, k)), l = k + Rr;
|
|
472
195
|
continue;
|
|
473
196
|
}
|
|
474
|
-
if (
|
|
475
|
-
|
|
197
|
+
if (S === "/") {
|
|
198
|
+
d = k;
|
|
476
199
|
continue;
|
|
477
200
|
}
|
|
478
201
|
}
|
|
479
|
-
|
|
202
|
+
S === "[" ? i++ : S === "]" ? i-- : S === "(" ? c++ : S === ")" && c--;
|
|
480
203
|
}
|
|
481
|
-
const
|
|
204
|
+
const g = a.length === 0 ? n : n.substring(l), m = Lr(g), y = m !== g, z = d && d > l ? d - l : void 0;
|
|
482
205
|
return {
|
|
483
|
-
modifiers:
|
|
484
|
-
hasImportantModifier:
|
|
485
|
-
baseClassName:
|
|
486
|
-
maybePostfixModifierPosition:
|
|
206
|
+
modifiers: a,
|
|
207
|
+
hasImportantModifier: y,
|
|
208
|
+
baseClassName: m,
|
|
209
|
+
maybePostfixModifierPosition: z
|
|
487
210
|
};
|
|
488
211
|
};
|
|
489
|
-
if (
|
|
490
|
-
const n =
|
|
491
|
-
o = (
|
|
212
|
+
if (r) {
|
|
213
|
+
const n = r + we, a = o;
|
|
214
|
+
o = (i) => i.startsWith(n) ? a(i.substring(n.length)) : {
|
|
492
215
|
isExternal: !0,
|
|
493
216
|
modifiers: [],
|
|
494
217
|
hasImportantModifier: !1,
|
|
495
|
-
baseClassName:
|
|
218
|
+
baseClassName: i,
|
|
496
219
|
maybePostfixModifierPosition: void 0
|
|
497
220
|
};
|
|
498
221
|
}
|
|
499
|
-
if (
|
|
222
|
+
if (t) {
|
|
500
223
|
const n = o;
|
|
501
|
-
o = (
|
|
502
|
-
className:
|
|
224
|
+
o = (a) => t({
|
|
225
|
+
className: a,
|
|
503
226
|
parseClassName: n
|
|
504
227
|
});
|
|
505
228
|
}
|
|
506
229
|
return o;
|
|
507
|
-
},
|
|
508
|
-
const
|
|
230
|
+
}, Lr = (e) => e.endsWith(ve) ? e.substring(0, e.length - 1) : e.startsWith(ve) ? e.substring(1) : e, Pr = (e) => {
|
|
231
|
+
const r = Object.fromEntries(e.orderSensitiveModifiers.map((o) => [o, !0]));
|
|
509
232
|
return (o) => {
|
|
510
233
|
if (o.length <= 1)
|
|
511
234
|
return o;
|
|
512
235
|
const n = [];
|
|
513
|
-
let
|
|
514
|
-
return o.forEach((
|
|
515
|
-
|
|
516
|
-
}), n.push(...
|
|
236
|
+
let a = [];
|
|
237
|
+
return o.forEach((i) => {
|
|
238
|
+
i[0] === "[" || r[i] ? (n.push(...a.sort(), i), a = []) : a.push(i);
|
|
239
|
+
}), n.push(...a.sort()), n;
|
|
517
240
|
};
|
|
518
|
-
},
|
|
519
|
-
cache:
|
|
520
|
-
parseClassName:
|
|
521
|
-
sortModifiers:
|
|
522
|
-
...
|
|
523
|
-
}),
|
|
241
|
+
}, Ir = (e) => ({
|
|
242
|
+
cache: Mr(e.cacheSize),
|
|
243
|
+
parseClassName: Ar(e),
|
|
244
|
+
sortModifiers: Pr(e),
|
|
245
|
+
...Nr(e)
|
|
246
|
+
}), jr = /\s+/, Tr = (e, r) => {
|
|
524
247
|
const {
|
|
525
|
-
parseClassName:
|
|
248
|
+
parseClassName: t,
|
|
526
249
|
getClassGroupId: o,
|
|
527
250
|
getConflictingClassGroupIds: n,
|
|
528
|
-
sortModifiers:
|
|
529
|
-
} =
|
|
530
|
-
let
|
|
531
|
-
for (let
|
|
532
|
-
const
|
|
533
|
-
isExternal:
|
|
534
|
-
modifiers:
|
|
535
|
-
hasImportantModifier:
|
|
536
|
-
baseClassName:
|
|
537
|
-
maybePostfixModifierPosition:
|
|
538
|
-
} =
|
|
539
|
-
if (
|
|
540
|
-
|
|
251
|
+
sortModifiers: a
|
|
252
|
+
} = r, i = [], c = e.trim().split(jr);
|
|
253
|
+
let l = "";
|
|
254
|
+
for (let d = c.length - 1; d >= 0; d -= 1) {
|
|
255
|
+
const g = c[d], {
|
|
256
|
+
isExternal: m,
|
|
257
|
+
modifiers: y,
|
|
258
|
+
hasImportantModifier: z,
|
|
259
|
+
baseClassName: k,
|
|
260
|
+
maybePostfixModifierPosition: S
|
|
261
|
+
} = t(g);
|
|
262
|
+
if (m) {
|
|
263
|
+
l = g + (l.length > 0 ? " " + l : l);
|
|
541
264
|
continue;
|
|
542
265
|
}
|
|
543
|
-
let
|
|
544
|
-
if (!
|
|
545
|
-
if (!
|
|
546
|
-
|
|
266
|
+
let R = !!S, A = o(R ? k.substring(0, S) : k);
|
|
267
|
+
if (!A) {
|
|
268
|
+
if (!R) {
|
|
269
|
+
l = g + (l.length > 0 ? " " + l : l);
|
|
547
270
|
continue;
|
|
548
271
|
}
|
|
549
|
-
if (
|
|
550
|
-
|
|
272
|
+
if (A = o(k), !A) {
|
|
273
|
+
l = g + (l.length > 0 ? " " + l : l);
|
|
551
274
|
continue;
|
|
552
275
|
}
|
|
553
|
-
|
|
276
|
+
R = !1;
|
|
554
277
|
}
|
|
555
|
-
const
|
|
556
|
-
if (
|
|
278
|
+
const _ = a(y).join(":"), F = z ? _ + ve : _, I = F + A;
|
|
279
|
+
if (i.includes(I))
|
|
557
280
|
continue;
|
|
558
|
-
|
|
559
|
-
const
|
|
560
|
-
for (let
|
|
561
|
-
const
|
|
562
|
-
|
|
281
|
+
i.push(I);
|
|
282
|
+
const j = n(A, R);
|
|
283
|
+
for (let D = 0; D < j.length; ++D) {
|
|
284
|
+
const G = j[D];
|
|
285
|
+
i.push(F + G);
|
|
563
286
|
}
|
|
564
|
-
|
|
287
|
+
l = g + (l.length > 0 ? " " + l : l);
|
|
565
288
|
}
|
|
566
|
-
return
|
|
289
|
+
return l;
|
|
567
290
|
};
|
|
568
|
-
function
|
|
569
|
-
let e = 0,
|
|
291
|
+
function Vr() {
|
|
292
|
+
let e = 0, r, t, o = "";
|
|
570
293
|
for (; e < arguments.length; )
|
|
571
|
-
(
|
|
294
|
+
(r = arguments[e++]) && (t = Oe(r)) && (o && (o += " "), o += t);
|
|
572
295
|
return o;
|
|
573
296
|
}
|
|
574
|
-
const
|
|
297
|
+
const Oe = (e) => {
|
|
575
298
|
if (typeof e == "string")
|
|
576
299
|
return e;
|
|
577
|
-
let
|
|
300
|
+
let r, t = "";
|
|
578
301
|
for (let o = 0; o < e.length; o++)
|
|
579
|
-
e[o] && (
|
|
580
|
-
return
|
|
302
|
+
e[o] && (r = Oe(e[o])) && (t && (t += " "), t += r);
|
|
303
|
+
return t;
|
|
581
304
|
};
|
|
582
|
-
function
|
|
583
|
-
let
|
|
584
|
-
function l
|
|
585
|
-
const
|
|
586
|
-
return
|
|
305
|
+
function _r(e, ...r) {
|
|
306
|
+
let t, o, n, a = i;
|
|
307
|
+
function i(l) {
|
|
308
|
+
const d = r.reduce((g, m) => m(g), e());
|
|
309
|
+
return t = Ir(d), o = t.cache.get, n = t.cache.set, a = c, c(l);
|
|
587
310
|
}
|
|
588
|
-
function c(
|
|
589
|
-
const
|
|
590
|
-
if (
|
|
591
|
-
return
|
|
592
|
-
const
|
|
593
|
-
return n(
|
|
311
|
+
function c(l) {
|
|
312
|
+
const d = o(l);
|
|
313
|
+
if (d)
|
|
314
|
+
return d;
|
|
315
|
+
const g = Tr(l, t);
|
|
316
|
+
return n(l, g), g;
|
|
594
317
|
}
|
|
595
318
|
return function() {
|
|
596
|
-
return
|
|
319
|
+
return a(Vr.apply(null, arguments));
|
|
597
320
|
};
|
|
598
321
|
}
|
|
599
|
-
const
|
|
600
|
-
const
|
|
601
|
-
return
|
|
602
|
-
},
|
|
322
|
+
const E = (e) => {
|
|
323
|
+
const r = (t) => t[e] || [];
|
|
324
|
+
return r.isThemeGetter = !0, r;
|
|
325
|
+
}, qe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ze = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Dr = /^\d+\/\d+$/, $r = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Fr = /\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$/, Gr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Br = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Wr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Y = (e) => Dr.test(e), v = (e) => !!e && !Number.isNaN(Number(e)), U = (e) => !!e && Number.isInteger(Number(e)), pe = (e) => e.endsWith("%") && v(e.slice(0, -1)), W = (e) => $r.test(e), Hr = () => !0, Ur = (e) => (
|
|
603
326
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
604
327
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
605
328
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
606
|
-
|
|
607
|
-
),
|
|
608
|
-
const o = Ye.exec(e);
|
|
609
|
-
return o ? o[1] ? t(o[1]) : r(o[2]) : !1;
|
|
610
|
-
}, ae = (e, t, r = !1) => {
|
|
329
|
+
Fr.test(e) && !Gr.test(e)
|
|
330
|
+
), Ke = () => !1, Or = (e) => Br.test(e), qr = (e) => Wr.test(e), Zr = (e) => !u(e) && !f(e), Kr = (e) => ee(e, Xe, Ke), u = (e) => qe.test(e), Z = (e) => ee(e, Ye, Ur), he = (e) => ee(e, et, v), Ve = (e) => ee(e, Qe, Ke), Qr = (e) => ee(e, Je, qr), le = (e) => ee(e, er, Or), f = (e) => Ze.test(e), te = (e) => re(e, Ye), Jr = (e) => re(e, rt), _e = (e) => re(e, Qe), Xr = (e) => re(e, Xe), Yr = (e) => re(e, Je), ce = (e) => re(e, er, !0), ee = (e, r, t) => {
|
|
611
331
|
const o = qe.exec(e);
|
|
612
|
-
return o ? o[1] ?
|
|
613
|
-
},
|
|
614
|
-
const
|
|
332
|
+
return o ? o[1] ? r(o[1]) : t(o[2]) : !1;
|
|
333
|
+
}, re = (e, r, t = !1) => {
|
|
334
|
+
const o = Ze.exec(e);
|
|
335
|
+
return o ? o[1] ? r(o[1]) : t : !1;
|
|
336
|
+
}, Qe = (e) => e === "position" || e === "percentage", Je = (e) => e === "image" || e === "url", Xe = (e) => e === "length" || e === "size" || e === "bg-size", Ye = (e) => e === "length", et = (e) => e === "number", rt = (e) => e === "family-name", er = (e) => e === "shadow", tt = () => {
|
|
337
|
+
const e = E("color"), r = E("font"), t = E("text"), o = E("font-weight"), n = E("tracking"), a = E("leading"), i = E("breakpoint"), c = E("container"), l = E("spacing"), d = E("radius"), g = E("shadow"), m = E("inset-shadow"), y = E("text-shadow"), z = E("drop-shadow"), k = E("blur"), S = E("perspective"), R = E("aspect"), A = E("ease"), _ = E("animate"), F = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], I = () => [
|
|
615
338
|
"center",
|
|
616
339
|
"top",
|
|
617
340
|
"bottom",
|
|
@@ -629,51 +352,51 @@ const _ = (e) => {
|
|
|
629
352
|
"bottom-left",
|
|
630
353
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
631
354
|
"left-bottom"
|
|
632
|
-
],
|
|
633
|
-
span: ["full",
|
|
634
|
-
},
|
|
635
|
-
position: [
|
|
636
|
-
}],
|
|
355
|
+
], j = () => [...I(), f, u], D = () => ["auto", "hidden", "clip", "visible", "scroll"], G = () => ["auto", "contain", "none"], b = () => [f, u, l], T = () => [Y, "full", "auto", ...b()], J = () => [U, "none", "subgrid", f, u], X = () => ["auto", {
|
|
356
|
+
span: ["full", U, f, u]
|
|
357
|
+
}, U, f, u], H = () => [U, "auto", f, u], B = () => ["auto", "min", "max", "fr", f, u], q = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], $ = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], w = () => ["auto", ...b()], N = () => [Y, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...b()], p = () => [e, f, u], Ee = () => [...I(), _e, Ve, {
|
|
358
|
+
position: [f, u]
|
|
359
|
+
}], Me = () => ["no-repeat", {
|
|
637
360
|
repeat: ["", "x", "y", "space", "round"]
|
|
638
|
-
}],
|
|
639
|
-
size: [
|
|
640
|
-
}],
|
|
361
|
+
}], Re = () => ["auto", "cover", "contain", Xr, Kr, {
|
|
362
|
+
size: [f, u]
|
|
363
|
+
}], me = () => [pe, te, Z], L = () => [
|
|
641
364
|
// Deprecated since Tailwind CSS v4.0.0
|
|
642
365
|
"",
|
|
643
366
|
"none",
|
|
644
367
|
"full",
|
|
645
|
-
|
|
646
|
-
|
|
368
|
+
d,
|
|
369
|
+
f,
|
|
647
370
|
u
|
|
648
|
-
],
|
|
371
|
+
], V = () => ["", v, te, Z], ne = () => ["solid", "dashed", "dotted", "double"], Ae = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], M = () => [v, pe, _e, Ve], Le = () => [
|
|
649
372
|
// Deprecated since Tailwind CSS v4.0.0
|
|
650
373
|
"",
|
|
651
374
|
"none",
|
|
652
|
-
|
|
653
|
-
|
|
375
|
+
k,
|
|
376
|
+
f,
|
|
654
377
|
u
|
|
655
|
-
],
|
|
378
|
+
], se = () => ["none", v, f, u], ae = () => ["none", v, f, u], ue = () => [v, f, u], ie = () => [Y, "full", ...b()];
|
|
656
379
|
return {
|
|
657
380
|
cacheSize: 500,
|
|
658
381
|
theme: {
|
|
659
382
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
660
383
|
aspect: ["video"],
|
|
661
|
-
blur: [
|
|
662
|
-
breakpoint: [
|
|
663
|
-
color: [
|
|
664
|
-
container: [
|
|
665
|
-
"drop-shadow": [
|
|
384
|
+
blur: [W],
|
|
385
|
+
breakpoint: [W],
|
|
386
|
+
color: [Hr],
|
|
387
|
+
container: [W],
|
|
388
|
+
"drop-shadow": [W],
|
|
666
389
|
ease: ["in", "out", "in-out"],
|
|
667
|
-
font: [
|
|
390
|
+
font: [Zr],
|
|
668
391
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
669
|
-
"inset-shadow": [
|
|
392
|
+
"inset-shadow": [W],
|
|
670
393
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
671
394
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
672
|
-
radius: [
|
|
673
|
-
shadow: [
|
|
674
|
-
spacing: ["px",
|
|
675
|
-
text: [
|
|
676
|
-
"text-shadow": [
|
|
395
|
+
radius: [W],
|
|
396
|
+
shadow: [W],
|
|
397
|
+
spacing: ["px", v],
|
|
398
|
+
text: [W],
|
|
399
|
+
"text-shadow": [W],
|
|
677
400
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
678
401
|
},
|
|
679
402
|
classGroups: {
|
|
@@ -685,7 +408,7 @@ const _ = (e) => {
|
|
|
685
408
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
686
409
|
*/
|
|
687
410
|
aspect: [{
|
|
688
|
-
aspect: ["auto", "square",
|
|
411
|
+
aspect: ["auto", "square", Y, u, f, R]
|
|
689
412
|
}],
|
|
690
413
|
/**
|
|
691
414
|
* Container
|
|
@@ -698,21 +421,21 @@ const _ = (e) => {
|
|
|
698
421
|
* @see https://tailwindcss.com/docs/columns
|
|
699
422
|
*/
|
|
700
423
|
columns: [{
|
|
701
|
-
columns: [
|
|
424
|
+
columns: [v, u, f, c]
|
|
702
425
|
}],
|
|
703
426
|
/**
|
|
704
427
|
* Break After
|
|
705
428
|
* @see https://tailwindcss.com/docs/break-after
|
|
706
429
|
*/
|
|
707
430
|
"break-after": [{
|
|
708
|
-
"break-after":
|
|
431
|
+
"break-after": F()
|
|
709
432
|
}],
|
|
710
433
|
/**
|
|
711
434
|
* Break Before
|
|
712
435
|
* @see https://tailwindcss.com/docs/break-before
|
|
713
436
|
*/
|
|
714
437
|
"break-before": [{
|
|
715
|
-
"break-before":
|
|
438
|
+
"break-before": F()
|
|
716
439
|
}],
|
|
717
440
|
/**
|
|
718
441
|
* Break Inside
|
|
@@ -776,49 +499,49 @@ const _ = (e) => {
|
|
|
776
499
|
* @see https://tailwindcss.com/docs/object-position
|
|
777
500
|
*/
|
|
778
501
|
"object-position": [{
|
|
779
|
-
object:
|
|
502
|
+
object: j()
|
|
780
503
|
}],
|
|
781
504
|
/**
|
|
782
505
|
* Overflow
|
|
783
506
|
* @see https://tailwindcss.com/docs/overflow
|
|
784
507
|
*/
|
|
785
508
|
overflow: [{
|
|
786
|
-
overflow:
|
|
509
|
+
overflow: D()
|
|
787
510
|
}],
|
|
788
511
|
/**
|
|
789
512
|
* Overflow X
|
|
790
513
|
* @see https://tailwindcss.com/docs/overflow
|
|
791
514
|
*/
|
|
792
515
|
"overflow-x": [{
|
|
793
|
-
"overflow-x":
|
|
516
|
+
"overflow-x": D()
|
|
794
517
|
}],
|
|
795
518
|
/**
|
|
796
519
|
* Overflow Y
|
|
797
520
|
* @see https://tailwindcss.com/docs/overflow
|
|
798
521
|
*/
|
|
799
522
|
"overflow-y": [{
|
|
800
|
-
"overflow-y":
|
|
523
|
+
"overflow-y": D()
|
|
801
524
|
}],
|
|
802
525
|
/**
|
|
803
526
|
* Overscroll Behavior
|
|
804
527
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
805
528
|
*/
|
|
806
529
|
overscroll: [{
|
|
807
|
-
overscroll:
|
|
530
|
+
overscroll: G()
|
|
808
531
|
}],
|
|
809
532
|
/**
|
|
810
533
|
* Overscroll Behavior X
|
|
811
534
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
812
535
|
*/
|
|
813
536
|
"overscroll-x": [{
|
|
814
|
-
"overscroll-x":
|
|
537
|
+
"overscroll-x": G()
|
|
815
538
|
}],
|
|
816
539
|
/**
|
|
817
540
|
* Overscroll Behavior Y
|
|
818
541
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
819
542
|
*/
|
|
820
543
|
"overscroll-y": [{
|
|
821
|
-
"overscroll-y":
|
|
544
|
+
"overscroll-y": G()
|
|
822
545
|
}],
|
|
823
546
|
/**
|
|
824
547
|
* Position
|
|
@@ -830,63 +553,63 @@ const _ = (e) => {
|
|
|
830
553
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
831
554
|
*/
|
|
832
555
|
inset: [{
|
|
833
|
-
inset:
|
|
556
|
+
inset: T()
|
|
834
557
|
}],
|
|
835
558
|
/**
|
|
836
559
|
* Right / Left
|
|
837
560
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
838
561
|
*/
|
|
839
562
|
"inset-x": [{
|
|
840
|
-
"inset-x":
|
|
563
|
+
"inset-x": T()
|
|
841
564
|
}],
|
|
842
565
|
/**
|
|
843
566
|
* Top / Bottom
|
|
844
567
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
845
568
|
*/
|
|
846
569
|
"inset-y": [{
|
|
847
|
-
"inset-y":
|
|
570
|
+
"inset-y": T()
|
|
848
571
|
}],
|
|
849
572
|
/**
|
|
850
573
|
* Start
|
|
851
574
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
852
575
|
*/
|
|
853
576
|
start: [{
|
|
854
|
-
start:
|
|
577
|
+
start: T()
|
|
855
578
|
}],
|
|
856
579
|
/**
|
|
857
580
|
* End
|
|
858
581
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
859
582
|
*/
|
|
860
583
|
end: [{
|
|
861
|
-
end:
|
|
584
|
+
end: T()
|
|
862
585
|
}],
|
|
863
586
|
/**
|
|
864
587
|
* Top
|
|
865
588
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
866
589
|
*/
|
|
867
590
|
top: [{
|
|
868
|
-
top:
|
|
591
|
+
top: T()
|
|
869
592
|
}],
|
|
870
593
|
/**
|
|
871
594
|
* Right
|
|
872
595
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
873
596
|
*/
|
|
874
597
|
right: [{
|
|
875
|
-
right:
|
|
598
|
+
right: T()
|
|
876
599
|
}],
|
|
877
600
|
/**
|
|
878
601
|
* Bottom
|
|
879
602
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
880
603
|
*/
|
|
881
604
|
bottom: [{
|
|
882
|
-
bottom:
|
|
605
|
+
bottom: T()
|
|
883
606
|
}],
|
|
884
607
|
/**
|
|
885
608
|
* Left
|
|
886
609
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
887
610
|
*/
|
|
888
611
|
left: [{
|
|
889
|
-
left:
|
|
612
|
+
left: T()
|
|
890
613
|
}],
|
|
891
614
|
/**
|
|
892
615
|
* Visibility
|
|
@@ -898,7 +621,7 @@ const _ = (e) => {
|
|
|
898
621
|
* @see https://tailwindcss.com/docs/z-index
|
|
899
622
|
*/
|
|
900
623
|
z: [{
|
|
901
|
-
z: [
|
|
624
|
+
z: [U, "auto", f, u]
|
|
902
625
|
}],
|
|
903
626
|
// ------------------------
|
|
904
627
|
// --- Flexbox and Grid ---
|
|
@@ -908,7 +631,7 @@ const _ = (e) => {
|
|
|
908
631
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
909
632
|
*/
|
|
910
633
|
basis: [{
|
|
911
|
-
basis: [
|
|
634
|
+
basis: [Y, "full", "auto", c, ...b()]
|
|
912
635
|
}],
|
|
913
636
|
/**
|
|
914
637
|
* Flex Direction
|
|
@@ -929,84 +652,84 @@ const _ = (e) => {
|
|
|
929
652
|
* @see https://tailwindcss.com/docs/flex
|
|
930
653
|
*/
|
|
931
654
|
flex: [{
|
|
932
|
-
flex: [
|
|
655
|
+
flex: [v, Y, "auto", "initial", "none", u]
|
|
933
656
|
}],
|
|
934
657
|
/**
|
|
935
658
|
* Flex Grow
|
|
936
659
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
937
660
|
*/
|
|
938
661
|
grow: [{
|
|
939
|
-
grow: ["",
|
|
662
|
+
grow: ["", v, f, u]
|
|
940
663
|
}],
|
|
941
664
|
/**
|
|
942
665
|
* Flex Shrink
|
|
943
666
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
944
667
|
*/
|
|
945
668
|
shrink: [{
|
|
946
|
-
shrink: ["",
|
|
669
|
+
shrink: ["", v, f, u]
|
|
947
670
|
}],
|
|
948
671
|
/**
|
|
949
672
|
* Order
|
|
950
673
|
* @see https://tailwindcss.com/docs/order
|
|
951
674
|
*/
|
|
952
675
|
order: [{
|
|
953
|
-
order: [
|
|
676
|
+
order: [U, "first", "last", "none", f, u]
|
|
954
677
|
}],
|
|
955
678
|
/**
|
|
956
679
|
* Grid Template Columns
|
|
957
680
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
958
681
|
*/
|
|
959
682
|
"grid-cols": [{
|
|
960
|
-
"grid-cols":
|
|
683
|
+
"grid-cols": J()
|
|
961
684
|
}],
|
|
962
685
|
/**
|
|
963
686
|
* Grid Column Start / End
|
|
964
687
|
* @see https://tailwindcss.com/docs/grid-column
|
|
965
688
|
*/
|
|
966
689
|
"col-start-end": [{
|
|
967
|
-
col:
|
|
690
|
+
col: X()
|
|
968
691
|
}],
|
|
969
692
|
/**
|
|
970
693
|
* Grid Column Start
|
|
971
694
|
* @see https://tailwindcss.com/docs/grid-column
|
|
972
695
|
*/
|
|
973
696
|
"col-start": [{
|
|
974
|
-
"col-start":
|
|
697
|
+
"col-start": H()
|
|
975
698
|
}],
|
|
976
699
|
/**
|
|
977
700
|
* Grid Column End
|
|
978
701
|
* @see https://tailwindcss.com/docs/grid-column
|
|
979
702
|
*/
|
|
980
703
|
"col-end": [{
|
|
981
|
-
"col-end":
|
|
704
|
+
"col-end": H()
|
|
982
705
|
}],
|
|
983
706
|
/**
|
|
984
707
|
* Grid Template Rows
|
|
985
708
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
986
709
|
*/
|
|
987
710
|
"grid-rows": [{
|
|
988
|
-
"grid-rows":
|
|
711
|
+
"grid-rows": J()
|
|
989
712
|
}],
|
|
990
713
|
/**
|
|
991
714
|
* Grid Row Start / End
|
|
992
715
|
* @see https://tailwindcss.com/docs/grid-row
|
|
993
716
|
*/
|
|
994
717
|
"row-start-end": [{
|
|
995
|
-
row:
|
|
718
|
+
row: X()
|
|
996
719
|
}],
|
|
997
720
|
/**
|
|
998
721
|
* Grid Row Start
|
|
999
722
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1000
723
|
*/
|
|
1001
724
|
"row-start": [{
|
|
1002
|
-
"row-start":
|
|
725
|
+
"row-start": H()
|
|
1003
726
|
}],
|
|
1004
727
|
/**
|
|
1005
728
|
* Grid Row End
|
|
1006
729
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1007
730
|
*/
|
|
1008
731
|
"row-end": [{
|
|
1009
|
-
"row-end":
|
|
732
|
+
"row-end": H()
|
|
1010
733
|
}],
|
|
1011
734
|
/**
|
|
1012
735
|
* Grid Auto Flow
|
|
@@ -1020,70 +743,70 @@ const _ = (e) => {
|
|
|
1020
743
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1021
744
|
*/
|
|
1022
745
|
"auto-cols": [{
|
|
1023
|
-
"auto-cols":
|
|
746
|
+
"auto-cols": B()
|
|
1024
747
|
}],
|
|
1025
748
|
/**
|
|
1026
749
|
* Grid Auto Rows
|
|
1027
750
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1028
751
|
*/
|
|
1029
752
|
"auto-rows": [{
|
|
1030
|
-
"auto-rows":
|
|
753
|
+
"auto-rows": B()
|
|
1031
754
|
}],
|
|
1032
755
|
/**
|
|
1033
756
|
* Gap
|
|
1034
757
|
* @see https://tailwindcss.com/docs/gap
|
|
1035
758
|
*/
|
|
1036
759
|
gap: [{
|
|
1037
|
-
gap:
|
|
760
|
+
gap: b()
|
|
1038
761
|
}],
|
|
1039
762
|
/**
|
|
1040
763
|
* Gap X
|
|
1041
764
|
* @see https://tailwindcss.com/docs/gap
|
|
1042
765
|
*/
|
|
1043
766
|
"gap-x": [{
|
|
1044
|
-
"gap-x":
|
|
767
|
+
"gap-x": b()
|
|
1045
768
|
}],
|
|
1046
769
|
/**
|
|
1047
770
|
* Gap Y
|
|
1048
771
|
* @see https://tailwindcss.com/docs/gap
|
|
1049
772
|
*/
|
|
1050
773
|
"gap-y": [{
|
|
1051
|
-
"gap-y":
|
|
774
|
+
"gap-y": b()
|
|
1052
775
|
}],
|
|
1053
776
|
/**
|
|
1054
777
|
* Justify Content
|
|
1055
778
|
* @see https://tailwindcss.com/docs/justify-content
|
|
1056
779
|
*/
|
|
1057
780
|
"justify-content": [{
|
|
1058
|
-
justify: [...
|
|
781
|
+
justify: [...q(), "normal"]
|
|
1059
782
|
}],
|
|
1060
783
|
/**
|
|
1061
784
|
* Justify Items
|
|
1062
785
|
* @see https://tailwindcss.com/docs/justify-items
|
|
1063
786
|
*/
|
|
1064
787
|
"justify-items": [{
|
|
1065
|
-
"justify-items": [
|
|
788
|
+
"justify-items": [...$(), "normal"]
|
|
1066
789
|
}],
|
|
1067
790
|
/**
|
|
1068
791
|
* Justify Self
|
|
1069
792
|
* @see https://tailwindcss.com/docs/justify-self
|
|
1070
793
|
*/
|
|
1071
794
|
"justify-self": [{
|
|
1072
|
-
"justify-self": ["auto",
|
|
795
|
+
"justify-self": ["auto", ...$()]
|
|
1073
796
|
}],
|
|
1074
797
|
/**
|
|
1075
798
|
* Align Content
|
|
1076
799
|
* @see https://tailwindcss.com/docs/align-content
|
|
1077
800
|
*/
|
|
1078
801
|
"align-content": [{
|
|
1079
|
-
content: ["normal", ...
|
|
802
|
+
content: ["normal", ...q()]
|
|
1080
803
|
}],
|
|
1081
804
|
/**
|
|
1082
805
|
* Align Items
|
|
1083
806
|
* @see https://tailwindcss.com/docs/align-items
|
|
1084
807
|
*/
|
|
1085
808
|
"align-items": [{
|
|
1086
|
-
items: [
|
|
809
|
+
items: [...$(), {
|
|
1087
810
|
baseline: ["", "last"]
|
|
1088
811
|
}]
|
|
1089
812
|
}],
|
|
@@ -1092,7 +815,7 @@ const _ = (e) => {
|
|
|
1092
815
|
* @see https://tailwindcss.com/docs/align-self
|
|
1093
816
|
*/
|
|
1094
817
|
"align-self": [{
|
|
1095
|
-
self: ["auto",
|
|
818
|
+
self: ["auto", ...$(), {
|
|
1096
819
|
baseline: ["", "last"]
|
|
1097
820
|
}]
|
|
1098
821
|
}],
|
|
@@ -1101,21 +824,21 @@ const _ = (e) => {
|
|
|
1101
824
|
* @see https://tailwindcss.com/docs/place-content
|
|
1102
825
|
*/
|
|
1103
826
|
"place-content": [{
|
|
1104
|
-
"place-content":
|
|
827
|
+
"place-content": q()
|
|
1105
828
|
}],
|
|
1106
829
|
/**
|
|
1107
830
|
* Place Items
|
|
1108
831
|
* @see https://tailwindcss.com/docs/place-items
|
|
1109
832
|
*/
|
|
1110
833
|
"place-items": [{
|
|
1111
|
-
"place-items": [
|
|
834
|
+
"place-items": [...$(), "baseline"]
|
|
1112
835
|
}],
|
|
1113
836
|
/**
|
|
1114
837
|
* Place Self
|
|
1115
838
|
* @see https://tailwindcss.com/docs/place-self
|
|
1116
839
|
*/
|
|
1117
840
|
"place-self": [{
|
|
1118
|
-
"place-self": ["auto",
|
|
841
|
+
"place-self": ["auto", ...$()]
|
|
1119
842
|
}],
|
|
1120
843
|
// Spacing
|
|
1121
844
|
/**
|
|
@@ -1123,63 +846,63 @@ const _ = (e) => {
|
|
|
1123
846
|
* @see https://tailwindcss.com/docs/padding
|
|
1124
847
|
*/
|
|
1125
848
|
p: [{
|
|
1126
|
-
p:
|
|
849
|
+
p: b()
|
|
1127
850
|
}],
|
|
1128
851
|
/**
|
|
1129
852
|
* Padding X
|
|
1130
853
|
* @see https://tailwindcss.com/docs/padding
|
|
1131
854
|
*/
|
|
1132
855
|
px: [{
|
|
1133
|
-
px:
|
|
856
|
+
px: b()
|
|
1134
857
|
}],
|
|
1135
858
|
/**
|
|
1136
859
|
* Padding Y
|
|
1137
860
|
* @see https://tailwindcss.com/docs/padding
|
|
1138
861
|
*/
|
|
1139
862
|
py: [{
|
|
1140
|
-
py:
|
|
863
|
+
py: b()
|
|
1141
864
|
}],
|
|
1142
865
|
/**
|
|
1143
866
|
* Padding Start
|
|
1144
867
|
* @see https://tailwindcss.com/docs/padding
|
|
1145
868
|
*/
|
|
1146
869
|
ps: [{
|
|
1147
|
-
ps:
|
|
870
|
+
ps: b()
|
|
1148
871
|
}],
|
|
1149
872
|
/**
|
|
1150
873
|
* Padding End
|
|
1151
874
|
* @see https://tailwindcss.com/docs/padding
|
|
1152
875
|
*/
|
|
1153
876
|
pe: [{
|
|
1154
|
-
pe:
|
|
877
|
+
pe: b()
|
|
1155
878
|
}],
|
|
1156
879
|
/**
|
|
1157
880
|
* Padding Top
|
|
1158
881
|
* @see https://tailwindcss.com/docs/padding
|
|
1159
882
|
*/
|
|
1160
883
|
pt: [{
|
|
1161
|
-
pt:
|
|
884
|
+
pt: b()
|
|
1162
885
|
}],
|
|
1163
886
|
/**
|
|
1164
887
|
* Padding Right
|
|
1165
888
|
* @see https://tailwindcss.com/docs/padding
|
|
1166
889
|
*/
|
|
1167
890
|
pr: [{
|
|
1168
|
-
pr:
|
|
891
|
+
pr: b()
|
|
1169
892
|
}],
|
|
1170
893
|
/**
|
|
1171
894
|
* Padding Bottom
|
|
1172
895
|
* @see https://tailwindcss.com/docs/padding
|
|
1173
896
|
*/
|
|
1174
897
|
pb: [{
|
|
1175
|
-
pb:
|
|
898
|
+
pb: b()
|
|
1176
899
|
}],
|
|
1177
900
|
/**
|
|
1178
901
|
* Padding Left
|
|
1179
902
|
* @see https://tailwindcss.com/docs/padding
|
|
1180
903
|
*/
|
|
1181
904
|
pl: [{
|
|
1182
|
-
pl:
|
|
905
|
+
pl: b()
|
|
1183
906
|
}],
|
|
1184
907
|
/**
|
|
1185
908
|
* Margin
|
|
@@ -1249,7 +972,7 @@ const _ = (e) => {
|
|
|
1249
972
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1250
973
|
*/
|
|
1251
974
|
"space-x": [{
|
|
1252
|
-
"space-x":
|
|
975
|
+
"space-x": b()
|
|
1253
976
|
}],
|
|
1254
977
|
/**
|
|
1255
978
|
* Space Between X Reverse
|
|
@@ -1261,7 +984,7 @@ const _ = (e) => {
|
|
|
1261
984
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1262
985
|
*/
|
|
1263
986
|
"space-y": [{
|
|
1264
|
-
"space-y":
|
|
987
|
+
"space-y": b()
|
|
1265
988
|
}],
|
|
1266
989
|
/**
|
|
1267
990
|
* Space Between Y Reverse
|
|
@@ -1276,14 +999,14 @@ const _ = (e) => {
|
|
|
1276
999
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1277
1000
|
*/
|
|
1278
1001
|
size: [{
|
|
1279
|
-
size:
|
|
1002
|
+
size: N()
|
|
1280
1003
|
}],
|
|
1281
1004
|
/**
|
|
1282
1005
|
* Width
|
|
1283
1006
|
* @see https://tailwindcss.com/docs/width
|
|
1284
1007
|
*/
|
|
1285
1008
|
w: [{
|
|
1286
|
-
w: [c, "screen", ...
|
|
1009
|
+
w: [c, "screen", ...N()]
|
|
1287
1010
|
}],
|
|
1288
1011
|
/**
|
|
1289
1012
|
* Min-Width
|
|
@@ -1295,7 +1018,7 @@ const _ = (e) => {
|
|
|
1295
1018
|
"screen",
|
|
1296
1019
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1297
1020
|
"none",
|
|
1298
|
-
...
|
|
1021
|
+
...N()
|
|
1299
1022
|
]
|
|
1300
1023
|
}],
|
|
1301
1024
|
/**
|
|
@@ -1311,9 +1034,9 @@ const _ = (e) => {
|
|
|
1311
1034
|
"prose",
|
|
1312
1035
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1313
1036
|
{
|
|
1314
|
-
screen: [
|
|
1037
|
+
screen: [i]
|
|
1315
1038
|
},
|
|
1316
|
-
...
|
|
1039
|
+
...N()
|
|
1317
1040
|
]
|
|
1318
1041
|
}],
|
|
1319
1042
|
/**
|
|
@@ -1321,21 +1044,21 @@ const _ = (e) => {
|
|
|
1321
1044
|
* @see https://tailwindcss.com/docs/height
|
|
1322
1045
|
*/
|
|
1323
1046
|
h: [{
|
|
1324
|
-
h: ["screen", "lh", ...
|
|
1047
|
+
h: ["screen", "lh", ...N()]
|
|
1325
1048
|
}],
|
|
1326
1049
|
/**
|
|
1327
1050
|
* Min-Height
|
|
1328
1051
|
* @see https://tailwindcss.com/docs/min-height
|
|
1329
1052
|
*/
|
|
1330
1053
|
"min-h": [{
|
|
1331
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1054
|
+
"min-h": ["screen", "lh", "none", ...N()]
|
|
1332
1055
|
}],
|
|
1333
1056
|
/**
|
|
1334
1057
|
* Max-Height
|
|
1335
1058
|
* @see https://tailwindcss.com/docs/max-height
|
|
1336
1059
|
*/
|
|
1337
1060
|
"max-h": [{
|
|
1338
|
-
"max-h": ["screen", "lh", ...
|
|
1061
|
+
"max-h": ["screen", "lh", ...N()]
|
|
1339
1062
|
}],
|
|
1340
1063
|
// ------------------
|
|
1341
1064
|
// --- Typography ---
|
|
@@ -1345,7 +1068,7 @@ const _ = (e) => {
|
|
|
1345
1068
|
* @see https://tailwindcss.com/docs/font-size
|
|
1346
1069
|
*/
|
|
1347
1070
|
"font-size": [{
|
|
1348
|
-
text: ["base",
|
|
1071
|
+
text: ["base", t, te, Z]
|
|
1349
1072
|
}],
|
|
1350
1073
|
/**
|
|
1351
1074
|
* Font Smoothing
|
|
@@ -1362,21 +1085,21 @@ const _ = (e) => {
|
|
|
1362
1085
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1363
1086
|
*/
|
|
1364
1087
|
"font-weight": [{
|
|
1365
|
-
font: [o,
|
|
1088
|
+
font: [o, f, he]
|
|
1366
1089
|
}],
|
|
1367
1090
|
/**
|
|
1368
1091
|
* Font Stretch
|
|
1369
1092
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1370
1093
|
*/
|
|
1371
1094
|
"font-stretch": [{
|
|
1372
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1095
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", pe, u]
|
|
1373
1096
|
}],
|
|
1374
1097
|
/**
|
|
1375
1098
|
* Font Family
|
|
1376
1099
|
* @see https://tailwindcss.com/docs/font-family
|
|
1377
1100
|
*/
|
|
1378
1101
|
"font-family": [{
|
|
1379
|
-
font: [
|
|
1102
|
+
font: [Jr, u, r]
|
|
1380
1103
|
}],
|
|
1381
1104
|
/**
|
|
1382
1105
|
* Font Variant Numeric
|
|
@@ -1413,14 +1136,14 @@ const _ = (e) => {
|
|
|
1413
1136
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1414
1137
|
*/
|
|
1415
1138
|
tracking: [{
|
|
1416
|
-
tracking: [n,
|
|
1139
|
+
tracking: [n, f, u]
|
|
1417
1140
|
}],
|
|
1418
1141
|
/**
|
|
1419
1142
|
* Line Clamp
|
|
1420
1143
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1421
1144
|
*/
|
|
1422
1145
|
"line-clamp": [{
|
|
1423
|
-
"line-clamp": [
|
|
1146
|
+
"line-clamp": [v, "none", f, he]
|
|
1424
1147
|
}],
|
|
1425
1148
|
/**
|
|
1426
1149
|
* Line Height
|
|
@@ -1429,8 +1152,8 @@ const _ = (e) => {
|
|
|
1429
1152
|
leading: [{
|
|
1430
1153
|
leading: [
|
|
1431
1154
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1432
|
-
|
|
1433
|
-
...
|
|
1155
|
+
a,
|
|
1156
|
+
...b()
|
|
1434
1157
|
]
|
|
1435
1158
|
}],
|
|
1436
1159
|
/**
|
|
@@ -1438,7 +1161,7 @@ const _ = (e) => {
|
|
|
1438
1161
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1439
1162
|
*/
|
|
1440
1163
|
"list-image": [{
|
|
1441
|
-
"list-image": ["none",
|
|
1164
|
+
"list-image": ["none", f, u]
|
|
1442
1165
|
}],
|
|
1443
1166
|
/**
|
|
1444
1167
|
* List Style Position
|
|
@@ -1452,7 +1175,7 @@ const _ = (e) => {
|
|
|
1452
1175
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1453
1176
|
*/
|
|
1454
1177
|
"list-style-type": [{
|
|
1455
|
-
list: ["disc", "decimal", "none",
|
|
1178
|
+
list: ["disc", "decimal", "none", f, u]
|
|
1456
1179
|
}],
|
|
1457
1180
|
/**
|
|
1458
1181
|
* Text Alignment
|
|
@@ -1467,14 +1190,14 @@ const _ = (e) => {
|
|
|
1467
1190
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1468
1191
|
*/
|
|
1469
1192
|
"placeholder-color": [{
|
|
1470
|
-
placeholder:
|
|
1193
|
+
placeholder: p()
|
|
1471
1194
|
}],
|
|
1472
1195
|
/**
|
|
1473
1196
|
* Text Color
|
|
1474
1197
|
* @see https://tailwindcss.com/docs/text-color
|
|
1475
1198
|
*/
|
|
1476
1199
|
"text-color": [{
|
|
1477
|
-
text:
|
|
1200
|
+
text: p()
|
|
1478
1201
|
}],
|
|
1479
1202
|
/**
|
|
1480
1203
|
* Text Decoration
|
|
@@ -1486,28 +1209,28 @@ const _ = (e) => {
|
|
|
1486
1209
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1487
1210
|
*/
|
|
1488
1211
|
"text-decoration-style": [{
|
|
1489
|
-
decoration: [...
|
|
1212
|
+
decoration: [...ne(), "wavy"]
|
|
1490
1213
|
}],
|
|
1491
1214
|
/**
|
|
1492
1215
|
* Text Decoration Thickness
|
|
1493
1216
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1494
1217
|
*/
|
|
1495
1218
|
"text-decoration-thickness": [{
|
|
1496
|
-
decoration: [
|
|
1219
|
+
decoration: [v, "from-font", "auto", f, Z]
|
|
1497
1220
|
}],
|
|
1498
1221
|
/**
|
|
1499
1222
|
* Text Decoration Color
|
|
1500
1223
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1501
1224
|
*/
|
|
1502
1225
|
"text-decoration-color": [{
|
|
1503
|
-
decoration:
|
|
1226
|
+
decoration: p()
|
|
1504
1227
|
}],
|
|
1505
1228
|
/**
|
|
1506
1229
|
* Text Underline Offset
|
|
1507
1230
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1508
1231
|
*/
|
|
1509
1232
|
"underline-offset": [{
|
|
1510
|
-
"underline-offset": [
|
|
1233
|
+
"underline-offset": [v, "auto", f, u]
|
|
1511
1234
|
}],
|
|
1512
1235
|
/**
|
|
1513
1236
|
* Text Transform
|
|
@@ -1531,14 +1254,14 @@ const _ = (e) => {
|
|
|
1531
1254
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1532
1255
|
*/
|
|
1533
1256
|
indent: [{
|
|
1534
|
-
indent:
|
|
1257
|
+
indent: b()
|
|
1535
1258
|
}],
|
|
1536
1259
|
/**
|
|
1537
1260
|
* Vertical Alignment
|
|
1538
1261
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1539
1262
|
*/
|
|
1540
1263
|
"vertical-align": [{
|
|
1541
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1264
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", f, u]
|
|
1542
1265
|
}],
|
|
1543
1266
|
/**
|
|
1544
1267
|
* Whitespace
|
|
@@ -1573,7 +1296,7 @@ const _ = (e) => {
|
|
|
1573
1296
|
* @see https://tailwindcss.com/docs/content
|
|
1574
1297
|
*/
|
|
1575
1298
|
content: [{
|
|
1576
|
-
content: ["none",
|
|
1299
|
+
content: ["none", f, u]
|
|
1577
1300
|
}],
|
|
1578
1301
|
// -------------------
|
|
1579
1302
|
// --- Backgrounds ---
|
|
@@ -1604,21 +1327,21 @@ const _ = (e) => {
|
|
|
1604
1327
|
* @see https://tailwindcss.com/docs/background-position
|
|
1605
1328
|
*/
|
|
1606
1329
|
"bg-position": [{
|
|
1607
|
-
bg:
|
|
1330
|
+
bg: Ee()
|
|
1608
1331
|
}],
|
|
1609
1332
|
/**
|
|
1610
1333
|
* Background Repeat
|
|
1611
1334
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1612
1335
|
*/
|
|
1613
1336
|
"bg-repeat": [{
|
|
1614
|
-
bg:
|
|
1337
|
+
bg: Me()
|
|
1615
1338
|
}],
|
|
1616
1339
|
/**
|
|
1617
1340
|
* Background Size
|
|
1618
1341
|
* @see https://tailwindcss.com/docs/background-size
|
|
1619
1342
|
*/
|
|
1620
1343
|
"bg-size": [{
|
|
1621
|
-
bg:
|
|
1344
|
+
bg: Re()
|
|
1622
1345
|
}],
|
|
1623
1346
|
/**
|
|
1624
1347
|
* Background Image
|
|
@@ -1628,59 +1351,59 @@ const _ = (e) => {
|
|
|
1628
1351
|
bg: ["none", {
|
|
1629
1352
|
linear: [{
|
|
1630
1353
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1631
|
-
},
|
|
1632
|
-
radial: ["",
|
|
1633
|
-
conic: [
|
|
1634
|
-
},
|
|
1354
|
+
}, U, f, u],
|
|
1355
|
+
radial: ["", f, u],
|
|
1356
|
+
conic: [U, f, u]
|
|
1357
|
+
}, Yr, Qr]
|
|
1635
1358
|
}],
|
|
1636
1359
|
/**
|
|
1637
1360
|
* Background Color
|
|
1638
1361
|
* @see https://tailwindcss.com/docs/background-color
|
|
1639
1362
|
*/
|
|
1640
1363
|
"bg-color": [{
|
|
1641
|
-
bg:
|
|
1364
|
+
bg: p()
|
|
1642
1365
|
}],
|
|
1643
1366
|
/**
|
|
1644
1367
|
* Gradient Color Stops From Position
|
|
1645
1368
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1646
1369
|
*/
|
|
1647
1370
|
"gradient-from-pos": [{
|
|
1648
|
-
from:
|
|
1371
|
+
from: me()
|
|
1649
1372
|
}],
|
|
1650
1373
|
/**
|
|
1651
1374
|
* Gradient Color Stops Via Position
|
|
1652
1375
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1653
1376
|
*/
|
|
1654
1377
|
"gradient-via-pos": [{
|
|
1655
|
-
via:
|
|
1378
|
+
via: me()
|
|
1656
1379
|
}],
|
|
1657
1380
|
/**
|
|
1658
1381
|
* Gradient Color Stops To Position
|
|
1659
1382
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1660
1383
|
*/
|
|
1661
1384
|
"gradient-to-pos": [{
|
|
1662
|
-
to:
|
|
1385
|
+
to: me()
|
|
1663
1386
|
}],
|
|
1664
1387
|
/**
|
|
1665
1388
|
* Gradient Color Stops From
|
|
1666
1389
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1667
1390
|
*/
|
|
1668
1391
|
"gradient-from": [{
|
|
1669
|
-
from:
|
|
1392
|
+
from: p()
|
|
1670
1393
|
}],
|
|
1671
1394
|
/**
|
|
1672
1395
|
* Gradient Color Stops Via
|
|
1673
1396
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1674
1397
|
*/
|
|
1675
1398
|
"gradient-via": [{
|
|
1676
|
-
via:
|
|
1399
|
+
via: p()
|
|
1677
1400
|
}],
|
|
1678
1401
|
/**
|
|
1679
1402
|
* Gradient Color Stops To
|
|
1680
1403
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1681
1404
|
*/
|
|
1682
1405
|
"gradient-to": [{
|
|
1683
|
-
to:
|
|
1406
|
+
to: p()
|
|
1684
1407
|
}],
|
|
1685
1408
|
// ---------------
|
|
1686
1409
|
// --- Borders ---
|
|
@@ -1690,175 +1413,175 @@ const _ = (e) => {
|
|
|
1690
1413
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1691
1414
|
*/
|
|
1692
1415
|
rounded: [{
|
|
1693
|
-
rounded:
|
|
1416
|
+
rounded: L()
|
|
1694
1417
|
}],
|
|
1695
1418
|
/**
|
|
1696
1419
|
* Border Radius Start
|
|
1697
1420
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1698
1421
|
*/
|
|
1699
1422
|
"rounded-s": [{
|
|
1700
|
-
"rounded-s":
|
|
1423
|
+
"rounded-s": L()
|
|
1701
1424
|
}],
|
|
1702
1425
|
/**
|
|
1703
1426
|
* Border Radius End
|
|
1704
1427
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1705
1428
|
*/
|
|
1706
1429
|
"rounded-e": [{
|
|
1707
|
-
"rounded-e":
|
|
1430
|
+
"rounded-e": L()
|
|
1708
1431
|
}],
|
|
1709
1432
|
/**
|
|
1710
1433
|
* Border Radius Top
|
|
1711
1434
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1712
1435
|
*/
|
|
1713
1436
|
"rounded-t": [{
|
|
1714
|
-
"rounded-t":
|
|
1437
|
+
"rounded-t": L()
|
|
1715
1438
|
}],
|
|
1716
1439
|
/**
|
|
1717
1440
|
* Border Radius Right
|
|
1718
1441
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1719
1442
|
*/
|
|
1720
1443
|
"rounded-r": [{
|
|
1721
|
-
"rounded-r":
|
|
1444
|
+
"rounded-r": L()
|
|
1722
1445
|
}],
|
|
1723
1446
|
/**
|
|
1724
1447
|
* Border Radius Bottom
|
|
1725
1448
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1726
1449
|
*/
|
|
1727
1450
|
"rounded-b": [{
|
|
1728
|
-
"rounded-b":
|
|
1451
|
+
"rounded-b": L()
|
|
1729
1452
|
}],
|
|
1730
1453
|
/**
|
|
1731
1454
|
* Border Radius Left
|
|
1732
1455
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1733
1456
|
*/
|
|
1734
1457
|
"rounded-l": [{
|
|
1735
|
-
"rounded-l":
|
|
1458
|
+
"rounded-l": L()
|
|
1736
1459
|
}],
|
|
1737
1460
|
/**
|
|
1738
1461
|
* Border Radius Start Start
|
|
1739
1462
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1740
1463
|
*/
|
|
1741
1464
|
"rounded-ss": [{
|
|
1742
|
-
"rounded-ss":
|
|
1465
|
+
"rounded-ss": L()
|
|
1743
1466
|
}],
|
|
1744
1467
|
/**
|
|
1745
1468
|
* Border Radius Start End
|
|
1746
1469
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1747
1470
|
*/
|
|
1748
1471
|
"rounded-se": [{
|
|
1749
|
-
"rounded-se":
|
|
1472
|
+
"rounded-se": L()
|
|
1750
1473
|
}],
|
|
1751
1474
|
/**
|
|
1752
1475
|
* Border Radius End End
|
|
1753
1476
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1754
1477
|
*/
|
|
1755
1478
|
"rounded-ee": [{
|
|
1756
|
-
"rounded-ee":
|
|
1479
|
+
"rounded-ee": L()
|
|
1757
1480
|
}],
|
|
1758
1481
|
/**
|
|
1759
1482
|
* Border Radius End Start
|
|
1760
1483
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1761
1484
|
*/
|
|
1762
1485
|
"rounded-es": [{
|
|
1763
|
-
"rounded-es":
|
|
1486
|
+
"rounded-es": L()
|
|
1764
1487
|
}],
|
|
1765
1488
|
/**
|
|
1766
1489
|
* Border Radius Top Left
|
|
1767
1490
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1768
1491
|
*/
|
|
1769
1492
|
"rounded-tl": [{
|
|
1770
|
-
"rounded-tl":
|
|
1493
|
+
"rounded-tl": L()
|
|
1771
1494
|
}],
|
|
1772
1495
|
/**
|
|
1773
1496
|
* Border Radius Top Right
|
|
1774
1497
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1775
1498
|
*/
|
|
1776
1499
|
"rounded-tr": [{
|
|
1777
|
-
"rounded-tr":
|
|
1500
|
+
"rounded-tr": L()
|
|
1778
1501
|
}],
|
|
1779
1502
|
/**
|
|
1780
1503
|
* Border Radius Bottom Right
|
|
1781
1504
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1782
1505
|
*/
|
|
1783
1506
|
"rounded-br": [{
|
|
1784
|
-
"rounded-br":
|
|
1507
|
+
"rounded-br": L()
|
|
1785
1508
|
}],
|
|
1786
1509
|
/**
|
|
1787
1510
|
* Border Radius Bottom Left
|
|
1788
1511
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1789
1512
|
*/
|
|
1790
1513
|
"rounded-bl": [{
|
|
1791
|
-
"rounded-bl":
|
|
1514
|
+
"rounded-bl": L()
|
|
1792
1515
|
}],
|
|
1793
1516
|
/**
|
|
1794
1517
|
* Border Width
|
|
1795
1518
|
* @see https://tailwindcss.com/docs/border-width
|
|
1796
1519
|
*/
|
|
1797
1520
|
"border-w": [{
|
|
1798
|
-
border:
|
|
1521
|
+
border: V()
|
|
1799
1522
|
}],
|
|
1800
1523
|
/**
|
|
1801
1524
|
* Border Width X
|
|
1802
1525
|
* @see https://tailwindcss.com/docs/border-width
|
|
1803
1526
|
*/
|
|
1804
1527
|
"border-w-x": [{
|
|
1805
|
-
"border-x":
|
|
1528
|
+
"border-x": V()
|
|
1806
1529
|
}],
|
|
1807
1530
|
/**
|
|
1808
1531
|
* Border Width Y
|
|
1809
1532
|
* @see https://tailwindcss.com/docs/border-width
|
|
1810
1533
|
*/
|
|
1811
1534
|
"border-w-y": [{
|
|
1812
|
-
"border-y":
|
|
1535
|
+
"border-y": V()
|
|
1813
1536
|
}],
|
|
1814
1537
|
/**
|
|
1815
1538
|
* Border Width Start
|
|
1816
1539
|
* @see https://tailwindcss.com/docs/border-width
|
|
1817
1540
|
*/
|
|
1818
1541
|
"border-w-s": [{
|
|
1819
|
-
"border-s":
|
|
1542
|
+
"border-s": V()
|
|
1820
1543
|
}],
|
|
1821
1544
|
/**
|
|
1822
1545
|
* Border Width End
|
|
1823
1546
|
* @see https://tailwindcss.com/docs/border-width
|
|
1824
1547
|
*/
|
|
1825
1548
|
"border-w-e": [{
|
|
1826
|
-
"border-e":
|
|
1549
|
+
"border-e": V()
|
|
1827
1550
|
}],
|
|
1828
1551
|
/**
|
|
1829
1552
|
* Border Width Top
|
|
1830
1553
|
* @see https://tailwindcss.com/docs/border-width
|
|
1831
1554
|
*/
|
|
1832
1555
|
"border-w-t": [{
|
|
1833
|
-
"border-t":
|
|
1556
|
+
"border-t": V()
|
|
1834
1557
|
}],
|
|
1835
1558
|
/**
|
|
1836
1559
|
* Border Width Right
|
|
1837
1560
|
* @see https://tailwindcss.com/docs/border-width
|
|
1838
1561
|
*/
|
|
1839
1562
|
"border-w-r": [{
|
|
1840
|
-
"border-r":
|
|
1563
|
+
"border-r": V()
|
|
1841
1564
|
}],
|
|
1842
1565
|
/**
|
|
1843
1566
|
* Border Width Bottom
|
|
1844
1567
|
* @see https://tailwindcss.com/docs/border-width
|
|
1845
1568
|
*/
|
|
1846
1569
|
"border-w-b": [{
|
|
1847
|
-
"border-b":
|
|
1570
|
+
"border-b": V()
|
|
1848
1571
|
}],
|
|
1849
1572
|
/**
|
|
1850
1573
|
* Border Width Left
|
|
1851
1574
|
* @see https://tailwindcss.com/docs/border-width
|
|
1852
1575
|
*/
|
|
1853
1576
|
"border-w-l": [{
|
|
1854
|
-
"border-l":
|
|
1577
|
+
"border-l": V()
|
|
1855
1578
|
}],
|
|
1856
1579
|
/**
|
|
1857
1580
|
* Divide Width X
|
|
1858
1581
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1859
1582
|
*/
|
|
1860
1583
|
"divide-x": [{
|
|
1861
|
-
"divide-x":
|
|
1584
|
+
"divide-x": V()
|
|
1862
1585
|
}],
|
|
1863
1586
|
/**
|
|
1864
1587
|
* Divide Width X Reverse
|
|
@@ -1870,7 +1593,7 @@ const _ = (e) => {
|
|
|
1870
1593
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1871
1594
|
*/
|
|
1872
1595
|
"divide-y": [{
|
|
1873
|
-
"divide-y":
|
|
1596
|
+
"divide-y": V()
|
|
1874
1597
|
}],
|
|
1875
1598
|
/**
|
|
1876
1599
|
* Divide Width Y Reverse
|
|
@@ -1882,112 +1605,112 @@ const _ = (e) => {
|
|
|
1882
1605
|
* @see https://tailwindcss.com/docs/border-style
|
|
1883
1606
|
*/
|
|
1884
1607
|
"border-style": [{
|
|
1885
|
-
border: [...
|
|
1608
|
+
border: [...ne(), "hidden", "none"]
|
|
1886
1609
|
}],
|
|
1887
1610
|
/**
|
|
1888
1611
|
* Divide Style
|
|
1889
1612
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1890
1613
|
*/
|
|
1891
1614
|
"divide-style": [{
|
|
1892
|
-
divide: [...
|
|
1615
|
+
divide: [...ne(), "hidden", "none"]
|
|
1893
1616
|
}],
|
|
1894
1617
|
/**
|
|
1895
1618
|
* Border Color
|
|
1896
1619
|
* @see https://tailwindcss.com/docs/border-color
|
|
1897
1620
|
*/
|
|
1898
1621
|
"border-color": [{
|
|
1899
|
-
border:
|
|
1622
|
+
border: p()
|
|
1900
1623
|
}],
|
|
1901
1624
|
/**
|
|
1902
1625
|
* Border Color X
|
|
1903
1626
|
* @see https://tailwindcss.com/docs/border-color
|
|
1904
1627
|
*/
|
|
1905
1628
|
"border-color-x": [{
|
|
1906
|
-
"border-x":
|
|
1629
|
+
"border-x": p()
|
|
1907
1630
|
}],
|
|
1908
1631
|
/**
|
|
1909
1632
|
* Border Color Y
|
|
1910
1633
|
* @see https://tailwindcss.com/docs/border-color
|
|
1911
1634
|
*/
|
|
1912
1635
|
"border-color-y": [{
|
|
1913
|
-
"border-y":
|
|
1636
|
+
"border-y": p()
|
|
1914
1637
|
}],
|
|
1915
1638
|
/**
|
|
1916
1639
|
* Border Color S
|
|
1917
1640
|
* @see https://tailwindcss.com/docs/border-color
|
|
1918
1641
|
*/
|
|
1919
1642
|
"border-color-s": [{
|
|
1920
|
-
"border-s":
|
|
1643
|
+
"border-s": p()
|
|
1921
1644
|
}],
|
|
1922
1645
|
/**
|
|
1923
1646
|
* Border Color E
|
|
1924
1647
|
* @see https://tailwindcss.com/docs/border-color
|
|
1925
1648
|
*/
|
|
1926
1649
|
"border-color-e": [{
|
|
1927
|
-
"border-e":
|
|
1650
|
+
"border-e": p()
|
|
1928
1651
|
}],
|
|
1929
1652
|
/**
|
|
1930
1653
|
* Border Color Top
|
|
1931
1654
|
* @see https://tailwindcss.com/docs/border-color
|
|
1932
1655
|
*/
|
|
1933
1656
|
"border-color-t": [{
|
|
1934
|
-
"border-t":
|
|
1657
|
+
"border-t": p()
|
|
1935
1658
|
}],
|
|
1936
1659
|
/**
|
|
1937
1660
|
* Border Color Right
|
|
1938
1661
|
* @see https://tailwindcss.com/docs/border-color
|
|
1939
1662
|
*/
|
|
1940
1663
|
"border-color-r": [{
|
|
1941
|
-
"border-r":
|
|
1664
|
+
"border-r": p()
|
|
1942
1665
|
}],
|
|
1943
1666
|
/**
|
|
1944
1667
|
* Border Color Bottom
|
|
1945
1668
|
* @see https://tailwindcss.com/docs/border-color
|
|
1946
1669
|
*/
|
|
1947
1670
|
"border-color-b": [{
|
|
1948
|
-
"border-b":
|
|
1671
|
+
"border-b": p()
|
|
1949
1672
|
}],
|
|
1950
1673
|
/**
|
|
1951
1674
|
* Border Color Left
|
|
1952
1675
|
* @see https://tailwindcss.com/docs/border-color
|
|
1953
1676
|
*/
|
|
1954
1677
|
"border-color-l": [{
|
|
1955
|
-
"border-l":
|
|
1678
|
+
"border-l": p()
|
|
1956
1679
|
}],
|
|
1957
1680
|
/**
|
|
1958
1681
|
* Divide Color
|
|
1959
1682
|
* @see https://tailwindcss.com/docs/divide-color
|
|
1960
1683
|
*/
|
|
1961
1684
|
"divide-color": [{
|
|
1962
|
-
divide:
|
|
1685
|
+
divide: p()
|
|
1963
1686
|
}],
|
|
1964
1687
|
/**
|
|
1965
1688
|
* Outline Style
|
|
1966
1689
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1967
1690
|
*/
|
|
1968
1691
|
"outline-style": [{
|
|
1969
|
-
outline: [...
|
|
1692
|
+
outline: [...ne(), "none", "hidden"]
|
|
1970
1693
|
}],
|
|
1971
1694
|
/**
|
|
1972
1695
|
* Outline Offset
|
|
1973
1696
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1974
1697
|
*/
|
|
1975
1698
|
"outline-offset": [{
|
|
1976
|
-
"outline-offset": [
|
|
1699
|
+
"outline-offset": [v, f, u]
|
|
1977
1700
|
}],
|
|
1978
1701
|
/**
|
|
1979
1702
|
* Outline Width
|
|
1980
1703
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1981
1704
|
*/
|
|
1982
1705
|
"outline-w": [{
|
|
1983
|
-
outline: ["",
|
|
1706
|
+
outline: ["", v, te, Z]
|
|
1984
1707
|
}],
|
|
1985
1708
|
/**
|
|
1986
1709
|
* Outline Color
|
|
1987
1710
|
* @see https://tailwindcss.com/docs/outline-color
|
|
1988
1711
|
*/
|
|
1989
1712
|
"outline-color": [{
|
|
1990
|
-
outline:
|
|
1713
|
+
outline: p()
|
|
1991
1714
|
}],
|
|
1992
1715
|
// ---------------
|
|
1993
1716
|
// --- Effects ---
|
|
@@ -2001,9 +1724,9 @@ const _ = (e) => {
|
|
|
2001
1724
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2002
1725
|
"",
|
|
2003
1726
|
"none",
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
1727
|
+
g,
|
|
1728
|
+
ce,
|
|
1729
|
+
le
|
|
2007
1730
|
]
|
|
2008
1731
|
}],
|
|
2009
1732
|
/**
|
|
@@ -2011,28 +1734,28 @@ const _ = (e) => {
|
|
|
2011
1734
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
2012
1735
|
*/
|
|
2013
1736
|
"shadow-color": [{
|
|
2014
|
-
shadow:
|
|
1737
|
+
shadow: p()
|
|
2015
1738
|
}],
|
|
2016
1739
|
/**
|
|
2017
1740
|
* Inset Box Shadow
|
|
2018
1741
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2019
1742
|
*/
|
|
2020
1743
|
"inset-shadow": [{
|
|
2021
|
-
"inset-shadow": ["none",
|
|
1744
|
+
"inset-shadow": ["none", m, ce, le]
|
|
2022
1745
|
}],
|
|
2023
1746
|
/**
|
|
2024
1747
|
* Inset Box Shadow Color
|
|
2025
1748
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
2026
1749
|
*/
|
|
2027
1750
|
"inset-shadow-color": [{
|
|
2028
|
-
"inset-shadow":
|
|
1751
|
+
"inset-shadow": p()
|
|
2029
1752
|
}],
|
|
2030
1753
|
/**
|
|
2031
1754
|
* Ring Width
|
|
2032
1755
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
2033
1756
|
*/
|
|
2034
1757
|
"ring-w": [{
|
|
2035
|
-
ring:
|
|
1758
|
+
ring: V()
|
|
2036
1759
|
}],
|
|
2037
1760
|
/**
|
|
2038
1761
|
* Ring Width Inset
|
|
@@ -2046,7 +1769,7 @@ const _ = (e) => {
|
|
|
2046
1769
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
2047
1770
|
*/
|
|
2048
1771
|
"ring-color": [{
|
|
2049
|
-
ring:
|
|
1772
|
+
ring: p()
|
|
2050
1773
|
}],
|
|
2051
1774
|
/**
|
|
2052
1775
|
* Ring Offset Width
|
|
@@ -2055,7 +1778,7 @@ const _ = (e) => {
|
|
|
2055
1778
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2056
1779
|
*/
|
|
2057
1780
|
"ring-offset-w": [{
|
|
2058
|
-
"ring-offset": [
|
|
1781
|
+
"ring-offset": [v, Z]
|
|
2059
1782
|
}],
|
|
2060
1783
|
/**
|
|
2061
1784
|
* Ring Offset Color
|
|
@@ -2064,56 +1787,56 @@ const _ = (e) => {
|
|
|
2064
1787
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2065
1788
|
*/
|
|
2066
1789
|
"ring-offset-color": [{
|
|
2067
|
-
"ring-offset":
|
|
1790
|
+
"ring-offset": p()
|
|
2068
1791
|
}],
|
|
2069
1792
|
/**
|
|
2070
1793
|
* Inset Ring Width
|
|
2071
1794
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2072
1795
|
*/
|
|
2073
1796
|
"inset-ring-w": [{
|
|
2074
|
-
"inset-ring":
|
|
1797
|
+
"inset-ring": V()
|
|
2075
1798
|
}],
|
|
2076
1799
|
/**
|
|
2077
1800
|
* Inset Ring Color
|
|
2078
1801
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2079
1802
|
*/
|
|
2080
1803
|
"inset-ring-color": [{
|
|
2081
|
-
"inset-ring":
|
|
1804
|
+
"inset-ring": p()
|
|
2082
1805
|
}],
|
|
2083
1806
|
/**
|
|
2084
1807
|
* Text Shadow
|
|
2085
1808
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2086
1809
|
*/
|
|
2087
1810
|
"text-shadow": [{
|
|
2088
|
-
"text-shadow": ["none",
|
|
1811
|
+
"text-shadow": ["none", y, ce, le]
|
|
2089
1812
|
}],
|
|
2090
1813
|
/**
|
|
2091
1814
|
* Text Shadow Color
|
|
2092
1815
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2093
1816
|
*/
|
|
2094
1817
|
"text-shadow-color": [{
|
|
2095
|
-
"text-shadow":
|
|
1818
|
+
"text-shadow": p()
|
|
2096
1819
|
}],
|
|
2097
1820
|
/**
|
|
2098
1821
|
* Opacity
|
|
2099
1822
|
* @see https://tailwindcss.com/docs/opacity
|
|
2100
1823
|
*/
|
|
2101
1824
|
opacity: [{
|
|
2102
|
-
opacity: [
|
|
1825
|
+
opacity: [v, f, u]
|
|
2103
1826
|
}],
|
|
2104
1827
|
/**
|
|
2105
1828
|
* Mix Blend Mode
|
|
2106
1829
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2107
1830
|
*/
|
|
2108
1831
|
"mix-blend": [{
|
|
2109
|
-
"mix-blend": [...
|
|
1832
|
+
"mix-blend": [...Ae(), "plus-darker", "plus-lighter"]
|
|
2110
1833
|
}],
|
|
2111
1834
|
/**
|
|
2112
1835
|
* Background Blend Mode
|
|
2113
1836
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2114
1837
|
*/
|
|
2115
1838
|
"bg-blend": [{
|
|
2116
|
-
"bg-blend":
|
|
1839
|
+
"bg-blend": Ae()
|
|
2117
1840
|
}],
|
|
2118
1841
|
/**
|
|
2119
1842
|
* Mask Clip
|
|
@@ -2134,106 +1857,106 @@ const _ = (e) => {
|
|
|
2134
1857
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2135
1858
|
*/
|
|
2136
1859
|
"mask-image-linear-pos": [{
|
|
2137
|
-
"mask-linear": [
|
|
1860
|
+
"mask-linear": [v]
|
|
2138
1861
|
}],
|
|
2139
1862
|
"mask-image-linear-from-pos": [{
|
|
2140
|
-
"mask-linear-from":
|
|
1863
|
+
"mask-linear-from": M()
|
|
2141
1864
|
}],
|
|
2142
1865
|
"mask-image-linear-to-pos": [{
|
|
2143
|
-
"mask-linear-to":
|
|
1866
|
+
"mask-linear-to": M()
|
|
2144
1867
|
}],
|
|
2145
1868
|
"mask-image-linear-from-color": [{
|
|
2146
|
-
"mask-linear-from":
|
|
1869
|
+
"mask-linear-from": p()
|
|
2147
1870
|
}],
|
|
2148
1871
|
"mask-image-linear-to-color": [{
|
|
2149
|
-
"mask-linear-to":
|
|
1872
|
+
"mask-linear-to": p()
|
|
2150
1873
|
}],
|
|
2151
1874
|
"mask-image-t-from-pos": [{
|
|
2152
|
-
"mask-t-from":
|
|
1875
|
+
"mask-t-from": M()
|
|
2153
1876
|
}],
|
|
2154
1877
|
"mask-image-t-to-pos": [{
|
|
2155
|
-
"mask-t-to":
|
|
1878
|
+
"mask-t-to": M()
|
|
2156
1879
|
}],
|
|
2157
1880
|
"mask-image-t-from-color": [{
|
|
2158
|
-
"mask-t-from":
|
|
1881
|
+
"mask-t-from": p()
|
|
2159
1882
|
}],
|
|
2160
1883
|
"mask-image-t-to-color": [{
|
|
2161
|
-
"mask-t-to":
|
|
1884
|
+
"mask-t-to": p()
|
|
2162
1885
|
}],
|
|
2163
1886
|
"mask-image-r-from-pos": [{
|
|
2164
|
-
"mask-r-from":
|
|
1887
|
+
"mask-r-from": M()
|
|
2165
1888
|
}],
|
|
2166
1889
|
"mask-image-r-to-pos": [{
|
|
2167
|
-
"mask-r-to":
|
|
1890
|
+
"mask-r-to": M()
|
|
2168
1891
|
}],
|
|
2169
1892
|
"mask-image-r-from-color": [{
|
|
2170
|
-
"mask-r-from":
|
|
1893
|
+
"mask-r-from": p()
|
|
2171
1894
|
}],
|
|
2172
1895
|
"mask-image-r-to-color": [{
|
|
2173
|
-
"mask-r-to":
|
|
1896
|
+
"mask-r-to": p()
|
|
2174
1897
|
}],
|
|
2175
1898
|
"mask-image-b-from-pos": [{
|
|
2176
|
-
"mask-b-from":
|
|
1899
|
+
"mask-b-from": M()
|
|
2177
1900
|
}],
|
|
2178
1901
|
"mask-image-b-to-pos": [{
|
|
2179
|
-
"mask-b-to":
|
|
1902
|
+
"mask-b-to": M()
|
|
2180
1903
|
}],
|
|
2181
1904
|
"mask-image-b-from-color": [{
|
|
2182
|
-
"mask-b-from":
|
|
1905
|
+
"mask-b-from": p()
|
|
2183
1906
|
}],
|
|
2184
1907
|
"mask-image-b-to-color": [{
|
|
2185
|
-
"mask-b-to":
|
|
1908
|
+
"mask-b-to": p()
|
|
2186
1909
|
}],
|
|
2187
1910
|
"mask-image-l-from-pos": [{
|
|
2188
|
-
"mask-l-from":
|
|
1911
|
+
"mask-l-from": M()
|
|
2189
1912
|
}],
|
|
2190
1913
|
"mask-image-l-to-pos": [{
|
|
2191
|
-
"mask-l-to":
|
|
1914
|
+
"mask-l-to": M()
|
|
2192
1915
|
}],
|
|
2193
1916
|
"mask-image-l-from-color": [{
|
|
2194
|
-
"mask-l-from":
|
|
1917
|
+
"mask-l-from": p()
|
|
2195
1918
|
}],
|
|
2196
1919
|
"mask-image-l-to-color": [{
|
|
2197
|
-
"mask-l-to":
|
|
1920
|
+
"mask-l-to": p()
|
|
2198
1921
|
}],
|
|
2199
1922
|
"mask-image-x-from-pos": [{
|
|
2200
|
-
"mask-x-from":
|
|
1923
|
+
"mask-x-from": M()
|
|
2201
1924
|
}],
|
|
2202
1925
|
"mask-image-x-to-pos": [{
|
|
2203
|
-
"mask-x-to":
|
|
1926
|
+
"mask-x-to": M()
|
|
2204
1927
|
}],
|
|
2205
1928
|
"mask-image-x-from-color": [{
|
|
2206
|
-
"mask-x-from":
|
|
1929
|
+
"mask-x-from": p()
|
|
2207
1930
|
}],
|
|
2208
1931
|
"mask-image-x-to-color": [{
|
|
2209
|
-
"mask-x-to":
|
|
1932
|
+
"mask-x-to": p()
|
|
2210
1933
|
}],
|
|
2211
1934
|
"mask-image-y-from-pos": [{
|
|
2212
|
-
"mask-y-from":
|
|
1935
|
+
"mask-y-from": M()
|
|
2213
1936
|
}],
|
|
2214
1937
|
"mask-image-y-to-pos": [{
|
|
2215
|
-
"mask-y-to":
|
|
1938
|
+
"mask-y-to": M()
|
|
2216
1939
|
}],
|
|
2217
1940
|
"mask-image-y-from-color": [{
|
|
2218
|
-
"mask-y-from":
|
|
1941
|
+
"mask-y-from": p()
|
|
2219
1942
|
}],
|
|
2220
1943
|
"mask-image-y-to-color": [{
|
|
2221
|
-
"mask-y-to":
|
|
1944
|
+
"mask-y-to": p()
|
|
2222
1945
|
}],
|
|
2223
1946
|
"mask-image-radial": [{
|
|
2224
|
-
"mask-radial": [
|
|
1947
|
+
"mask-radial": [f, u]
|
|
2225
1948
|
}],
|
|
2226
1949
|
"mask-image-radial-from-pos": [{
|
|
2227
|
-
"mask-radial-from":
|
|
1950
|
+
"mask-radial-from": M()
|
|
2228
1951
|
}],
|
|
2229
1952
|
"mask-image-radial-to-pos": [{
|
|
2230
|
-
"mask-radial-to":
|
|
1953
|
+
"mask-radial-to": M()
|
|
2231
1954
|
}],
|
|
2232
1955
|
"mask-image-radial-from-color": [{
|
|
2233
|
-
"mask-radial-from":
|
|
1956
|
+
"mask-radial-from": p()
|
|
2234
1957
|
}],
|
|
2235
1958
|
"mask-image-radial-to-color": [{
|
|
2236
|
-
"mask-radial-to":
|
|
1959
|
+
"mask-radial-to": p()
|
|
2237
1960
|
}],
|
|
2238
1961
|
"mask-image-radial-shape": [{
|
|
2239
1962
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -2245,22 +1968,22 @@ const _ = (e) => {
|
|
|
2245
1968
|
}]
|
|
2246
1969
|
}],
|
|
2247
1970
|
"mask-image-radial-pos": [{
|
|
2248
|
-
"mask-radial-at":
|
|
1971
|
+
"mask-radial-at": I()
|
|
2249
1972
|
}],
|
|
2250
1973
|
"mask-image-conic-pos": [{
|
|
2251
|
-
"mask-conic": [
|
|
1974
|
+
"mask-conic": [v]
|
|
2252
1975
|
}],
|
|
2253
1976
|
"mask-image-conic-from-pos": [{
|
|
2254
|
-
"mask-conic-from":
|
|
1977
|
+
"mask-conic-from": M()
|
|
2255
1978
|
}],
|
|
2256
1979
|
"mask-image-conic-to-pos": [{
|
|
2257
|
-
"mask-conic-to":
|
|
1980
|
+
"mask-conic-to": M()
|
|
2258
1981
|
}],
|
|
2259
1982
|
"mask-image-conic-from-color": [{
|
|
2260
|
-
"mask-conic-from":
|
|
1983
|
+
"mask-conic-from": p()
|
|
2261
1984
|
}],
|
|
2262
1985
|
"mask-image-conic-to-color": [{
|
|
2263
|
-
"mask-conic-to":
|
|
1986
|
+
"mask-conic-to": p()
|
|
2264
1987
|
}],
|
|
2265
1988
|
/**
|
|
2266
1989
|
* Mask Mode
|
|
@@ -2281,21 +2004,21 @@ const _ = (e) => {
|
|
|
2281
2004
|
* @see https://tailwindcss.com/docs/mask-position
|
|
2282
2005
|
*/
|
|
2283
2006
|
"mask-position": [{
|
|
2284
|
-
mask:
|
|
2007
|
+
mask: Ee()
|
|
2285
2008
|
}],
|
|
2286
2009
|
/**
|
|
2287
2010
|
* Mask Repeat
|
|
2288
2011
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2289
2012
|
*/
|
|
2290
2013
|
"mask-repeat": [{
|
|
2291
|
-
mask:
|
|
2014
|
+
mask: Me()
|
|
2292
2015
|
}],
|
|
2293
2016
|
/**
|
|
2294
2017
|
* Mask Size
|
|
2295
2018
|
* @see https://tailwindcss.com/docs/mask-size
|
|
2296
2019
|
*/
|
|
2297
2020
|
"mask-size": [{
|
|
2298
|
-
mask:
|
|
2021
|
+
mask: Re()
|
|
2299
2022
|
}],
|
|
2300
2023
|
/**
|
|
2301
2024
|
* Mask Type
|
|
@@ -2309,7 +2032,7 @@ const _ = (e) => {
|
|
|
2309
2032
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2310
2033
|
*/
|
|
2311
2034
|
"mask-image": [{
|
|
2312
|
-
mask: ["none",
|
|
2035
|
+
mask: ["none", f, u]
|
|
2313
2036
|
}],
|
|
2314
2037
|
// ---------------
|
|
2315
2038
|
// --- Filters ---
|
|
@@ -2323,7 +2046,7 @@ const _ = (e) => {
|
|
|
2323
2046
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2324
2047
|
"",
|
|
2325
2048
|
"none",
|
|
2326
|
-
|
|
2049
|
+
f,
|
|
2327
2050
|
u
|
|
2328
2051
|
]
|
|
2329
2052
|
}],
|
|
@@ -2332,21 +2055,21 @@ const _ = (e) => {
|
|
|
2332
2055
|
* @see https://tailwindcss.com/docs/blur
|
|
2333
2056
|
*/
|
|
2334
2057
|
blur: [{
|
|
2335
|
-
blur:
|
|
2058
|
+
blur: Le()
|
|
2336
2059
|
}],
|
|
2337
2060
|
/**
|
|
2338
2061
|
* Brightness
|
|
2339
2062
|
* @see https://tailwindcss.com/docs/brightness
|
|
2340
2063
|
*/
|
|
2341
2064
|
brightness: [{
|
|
2342
|
-
brightness: [
|
|
2065
|
+
brightness: [v, f, u]
|
|
2343
2066
|
}],
|
|
2344
2067
|
/**
|
|
2345
2068
|
* Contrast
|
|
2346
2069
|
* @see https://tailwindcss.com/docs/contrast
|
|
2347
2070
|
*/
|
|
2348
2071
|
contrast: [{
|
|
2349
|
-
contrast: [
|
|
2072
|
+
contrast: [v, f, u]
|
|
2350
2073
|
}],
|
|
2351
2074
|
/**
|
|
2352
2075
|
* Drop Shadow
|
|
@@ -2357,9 +2080,9 @@ const _ = (e) => {
|
|
|
2357
2080
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2358
2081
|
"",
|
|
2359
2082
|
"none",
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2083
|
+
z,
|
|
2084
|
+
ce,
|
|
2085
|
+
le
|
|
2363
2086
|
]
|
|
2364
2087
|
}],
|
|
2365
2088
|
/**
|
|
@@ -2367,42 +2090,42 @@ const _ = (e) => {
|
|
|
2367
2090
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2368
2091
|
*/
|
|
2369
2092
|
"drop-shadow-color": [{
|
|
2370
|
-
"drop-shadow":
|
|
2093
|
+
"drop-shadow": p()
|
|
2371
2094
|
}],
|
|
2372
2095
|
/**
|
|
2373
2096
|
* Grayscale
|
|
2374
2097
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2375
2098
|
*/
|
|
2376
2099
|
grayscale: [{
|
|
2377
|
-
grayscale: ["",
|
|
2100
|
+
grayscale: ["", v, f, u]
|
|
2378
2101
|
}],
|
|
2379
2102
|
/**
|
|
2380
2103
|
* Hue Rotate
|
|
2381
2104
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2382
2105
|
*/
|
|
2383
2106
|
"hue-rotate": [{
|
|
2384
|
-
"hue-rotate": [
|
|
2107
|
+
"hue-rotate": [v, f, u]
|
|
2385
2108
|
}],
|
|
2386
2109
|
/**
|
|
2387
2110
|
* Invert
|
|
2388
2111
|
* @see https://tailwindcss.com/docs/invert
|
|
2389
2112
|
*/
|
|
2390
2113
|
invert: [{
|
|
2391
|
-
invert: ["",
|
|
2114
|
+
invert: ["", v, f, u]
|
|
2392
2115
|
}],
|
|
2393
2116
|
/**
|
|
2394
2117
|
* Saturate
|
|
2395
2118
|
* @see https://tailwindcss.com/docs/saturate
|
|
2396
2119
|
*/
|
|
2397
2120
|
saturate: [{
|
|
2398
|
-
saturate: [
|
|
2121
|
+
saturate: [v, f, u]
|
|
2399
2122
|
}],
|
|
2400
2123
|
/**
|
|
2401
2124
|
* Sepia
|
|
2402
2125
|
* @see https://tailwindcss.com/docs/sepia
|
|
2403
2126
|
*/
|
|
2404
2127
|
sepia: [{
|
|
2405
|
-
sepia: ["",
|
|
2128
|
+
sepia: ["", v, f, u]
|
|
2406
2129
|
}],
|
|
2407
2130
|
/**
|
|
2408
2131
|
* Backdrop Filter
|
|
@@ -2413,7 +2136,7 @@ const _ = (e) => {
|
|
|
2413
2136
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2414
2137
|
"",
|
|
2415
2138
|
"none",
|
|
2416
|
-
|
|
2139
|
+
f,
|
|
2417
2140
|
u
|
|
2418
2141
|
]
|
|
2419
2142
|
}],
|
|
@@ -2422,63 +2145,63 @@ const _ = (e) => {
|
|
|
2422
2145
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2423
2146
|
*/
|
|
2424
2147
|
"backdrop-blur": [{
|
|
2425
|
-
"backdrop-blur":
|
|
2148
|
+
"backdrop-blur": Le()
|
|
2426
2149
|
}],
|
|
2427
2150
|
/**
|
|
2428
2151
|
* Backdrop Brightness
|
|
2429
2152
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2430
2153
|
*/
|
|
2431
2154
|
"backdrop-brightness": [{
|
|
2432
|
-
"backdrop-brightness": [
|
|
2155
|
+
"backdrop-brightness": [v, f, u]
|
|
2433
2156
|
}],
|
|
2434
2157
|
/**
|
|
2435
2158
|
* Backdrop Contrast
|
|
2436
2159
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2437
2160
|
*/
|
|
2438
2161
|
"backdrop-contrast": [{
|
|
2439
|
-
"backdrop-contrast": [
|
|
2162
|
+
"backdrop-contrast": [v, f, u]
|
|
2440
2163
|
}],
|
|
2441
2164
|
/**
|
|
2442
2165
|
* Backdrop Grayscale
|
|
2443
2166
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2444
2167
|
*/
|
|
2445
2168
|
"backdrop-grayscale": [{
|
|
2446
|
-
"backdrop-grayscale": ["",
|
|
2169
|
+
"backdrop-grayscale": ["", v, f, u]
|
|
2447
2170
|
}],
|
|
2448
2171
|
/**
|
|
2449
2172
|
* Backdrop Hue Rotate
|
|
2450
2173
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2451
2174
|
*/
|
|
2452
2175
|
"backdrop-hue-rotate": [{
|
|
2453
|
-
"backdrop-hue-rotate": [
|
|
2176
|
+
"backdrop-hue-rotate": [v, f, u]
|
|
2454
2177
|
}],
|
|
2455
2178
|
/**
|
|
2456
2179
|
* Backdrop Invert
|
|
2457
2180
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2458
2181
|
*/
|
|
2459
2182
|
"backdrop-invert": [{
|
|
2460
|
-
"backdrop-invert": ["",
|
|
2183
|
+
"backdrop-invert": ["", v, f, u]
|
|
2461
2184
|
}],
|
|
2462
2185
|
/**
|
|
2463
2186
|
* Backdrop Opacity
|
|
2464
2187
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2465
2188
|
*/
|
|
2466
2189
|
"backdrop-opacity": [{
|
|
2467
|
-
"backdrop-opacity": [
|
|
2190
|
+
"backdrop-opacity": [v, f, u]
|
|
2468
2191
|
}],
|
|
2469
2192
|
/**
|
|
2470
2193
|
* Backdrop Saturate
|
|
2471
2194
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2472
2195
|
*/
|
|
2473
2196
|
"backdrop-saturate": [{
|
|
2474
|
-
"backdrop-saturate": [
|
|
2197
|
+
"backdrop-saturate": [v, f, u]
|
|
2475
2198
|
}],
|
|
2476
2199
|
/**
|
|
2477
2200
|
* Backdrop Sepia
|
|
2478
2201
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2479
2202
|
*/
|
|
2480
2203
|
"backdrop-sepia": [{
|
|
2481
|
-
"backdrop-sepia": ["",
|
|
2204
|
+
"backdrop-sepia": ["", v, f, u]
|
|
2482
2205
|
}],
|
|
2483
2206
|
// --------------
|
|
2484
2207
|
// --- Tables ---
|
|
@@ -2495,21 +2218,21 @@ const _ = (e) => {
|
|
|
2495
2218
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2496
2219
|
*/
|
|
2497
2220
|
"border-spacing": [{
|
|
2498
|
-
"border-spacing":
|
|
2221
|
+
"border-spacing": b()
|
|
2499
2222
|
}],
|
|
2500
2223
|
/**
|
|
2501
2224
|
* Border Spacing X
|
|
2502
2225
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2503
2226
|
*/
|
|
2504
2227
|
"border-spacing-x": [{
|
|
2505
|
-
"border-spacing-x":
|
|
2228
|
+
"border-spacing-x": b()
|
|
2506
2229
|
}],
|
|
2507
2230
|
/**
|
|
2508
2231
|
* Border Spacing Y
|
|
2509
2232
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2510
2233
|
*/
|
|
2511
2234
|
"border-spacing-y": [{
|
|
2512
|
-
"border-spacing-y":
|
|
2235
|
+
"border-spacing-y": b()
|
|
2513
2236
|
}],
|
|
2514
2237
|
/**
|
|
2515
2238
|
* Table Layout
|
|
@@ -2533,7 +2256,7 @@ const _ = (e) => {
|
|
|
2533
2256
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2534
2257
|
*/
|
|
2535
2258
|
transition: [{
|
|
2536
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2259
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", f, u]
|
|
2537
2260
|
}],
|
|
2538
2261
|
/**
|
|
2539
2262
|
* Transition Behavior
|
|
@@ -2547,28 +2270,28 @@ const _ = (e) => {
|
|
|
2547
2270
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2548
2271
|
*/
|
|
2549
2272
|
duration: [{
|
|
2550
|
-
duration: [
|
|
2273
|
+
duration: [v, "initial", f, u]
|
|
2551
2274
|
}],
|
|
2552
2275
|
/**
|
|
2553
2276
|
* Transition Timing Function
|
|
2554
2277
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2555
2278
|
*/
|
|
2556
2279
|
ease: [{
|
|
2557
|
-
ease: ["linear", "initial",
|
|
2280
|
+
ease: ["linear", "initial", A, f, u]
|
|
2558
2281
|
}],
|
|
2559
2282
|
/**
|
|
2560
2283
|
* Transition Delay
|
|
2561
2284
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2562
2285
|
*/
|
|
2563
2286
|
delay: [{
|
|
2564
|
-
delay: [
|
|
2287
|
+
delay: [v, f, u]
|
|
2565
2288
|
}],
|
|
2566
2289
|
/**
|
|
2567
2290
|
* Animation
|
|
2568
2291
|
* @see https://tailwindcss.com/docs/animation
|
|
2569
2292
|
*/
|
|
2570
2293
|
animate: [{
|
|
2571
|
-
animate: ["none",
|
|
2294
|
+
animate: ["none", _, f, u]
|
|
2572
2295
|
}],
|
|
2573
2296
|
// ------------------
|
|
2574
2297
|
// --- Transforms ---
|
|
@@ -2585,70 +2308,70 @@ const _ = (e) => {
|
|
|
2585
2308
|
* @see https://tailwindcss.com/docs/perspective
|
|
2586
2309
|
*/
|
|
2587
2310
|
perspective: [{
|
|
2588
|
-
perspective: [
|
|
2311
|
+
perspective: [S, f, u]
|
|
2589
2312
|
}],
|
|
2590
2313
|
/**
|
|
2591
2314
|
* Perspective Origin
|
|
2592
2315
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2593
2316
|
*/
|
|
2594
2317
|
"perspective-origin": [{
|
|
2595
|
-
"perspective-origin":
|
|
2318
|
+
"perspective-origin": j()
|
|
2596
2319
|
}],
|
|
2597
2320
|
/**
|
|
2598
2321
|
* Rotate
|
|
2599
2322
|
* @see https://tailwindcss.com/docs/rotate
|
|
2600
2323
|
*/
|
|
2601
2324
|
rotate: [{
|
|
2602
|
-
rotate:
|
|
2325
|
+
rotate: se()
|
|
2603
2326
|
}],
|
|
2604
2327
|
/**
|
|
2605
2328
|
* Rotate X
|
|
2606
2329
|
* @see https://tailwindcss.com/docs/rotate
|
|
2607
2330
|
*/
|
|
2608
2331
|
"rotate-x": [{
|
|
2609
|
-
"rotate-x":
|
|
2332
|
+
"rotate-x": se()
|
|
2610
2333
|
}],
|
|
2611
2334
|
/**
|
|
2612
2335
|
* Rotate Y
|
|
2613
2336
|
* @see https://tailwindcss.com/docs/rotate
|
|
2614
2337
|
*/
|
|
2615
2338
|
"rotate-y": [{
|
|
2616
|
-
"rotate-y":
|
|
2339
|
+
"rotate-y": se()
|
|
2617
2340
|
}],
|
|
2618
2341
|
/**
|
|
2619
2342
|
* Rotate Z
|
|
2620
2343
|
* @see https://tailwindcss.com/docs/rotate
|
|
2621
2344
|
*/
|
|
2622
2345
|
"rotate-z": [{
|
|
2623
|
-
"rotate-z":
|
|
2346
|
+
"rotate-z": se()
|
|
2624
2347
|
}],
|
|
2625
2348
|
/**
|
|
2626
2349
|
* Scale
|
|
2627
2350
|
* @see https://tailwindcss.com/docs/scale
|
|
2628
2351
|
*/
|
|
2629
2352
|
scale: [{
|
|
2630
|
-
scale:
|
|
2353
|
+
scale: ae()
|
|
2631
2354
|
}],
|
|
2632
2355
|
/**
|
|
2633
2356
|
* Scale X
|
|
2634
2357
|
* @see https://tailwindcss.com/docs/scale
|
|
2635
2358
|
*/
|
|
2636
2359
|
"scale-x": [{
|
|
2637
|
-
"scale-x":
|
|
2360
|
+
"scale-x": ae()
|
|
2638
2361
|
}],
|
|
2639
2362
|
/**
|
|
2640
2363
|
* Scale Y
|
|
2641
2364
|
* @see https://tailwindcss.com/docs/scale
|
|
2642
2365
|
*/
|
|
2643
2366
|
"scale-y": [{
|
|
2644
|
-
"scale-y":
|
|
2367
|
+
"scale-y": ae()
|
|
2645
2368
|
}],
|
|
2646
2369
|
/**
|
|
2647
2370
|
* Scale Z
|
|
2648
2371
|
* @see https://tailwindcss.com/docs/scale
|
|
2649
2372
|
*/
|
|
2650
2373
|
"scale-z": [{
|
|
2651
|
-
"scale-z":
|
|
2374
|
+
"scale-z": ae()
|
|
2652
2375
|
}],
|
|
2653
2376
|
/**
|
|
2654
2377
|
* Scale 3D
|
|
@@ -2660,35 +2383,35 @@ const _ = (e) => {
|
|
|
2660
2383
|
* @see https://tailwindcss.com/docs/skew
|
|
2661
2384
|
*/
|
|
2662
2385
|
skew: [{
|
|
2663
|
-
skew:
|
|
2386
|
+
skew: ue()
|
|
2664
2387
|
}],
|
|
2665
2388
|
/**
|
|
2666
2389
|
* Skew X
|
|
2667
2390
|
* @see https://tailwindcss.com/docs/skew
|
|
2668
2391
|
*/
|
|
2669
2392
|
"skew-x": [{
|
|
2670
|
-
"skew-x":
|
|
2393
|
+
"skew-x": ue()
|
|
2671
2394
|
}],
|
|
2672
2395
|
/**
|
|
2673
2396
|
* Skew Y
|
|
2674
2397
|
* @see https://tailwindcss.com/docs/skew
|
|
2675
2398
|
*/
|
|
2676
2399
|
"skew-y": [{
|
|
2677
|
-
"skew-y":
|
|
2400
|
+
"skew-y": ue()
|
|
2678
2401
|
}],
|
|
2679
2402
|
/**
|
|
2680
2403
|
* Transform
|
|
2681
2404
|
* @see https://tailwindcss.com/docs/transform
|
|
2682
2405
|
*/
|
|
2683
2406
|
transform: [{
|
|
2684
|
-
transform: [
|
|
2407
|
+
transform: [f, u, "", "none", "gpu", "cpu"]
|
|
2685
2408
|
}],
|
|
2686
2409
|
/**
|
|
2687
2410
|
* Transform Origin
|
|
2688
2411
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2689
2412
|
*/
|
|
2690
2413
|
"transform-origin": [{
|
|
2691
|
-
origin:
|
|
2414
|
+
origin: j()
|
|
2692
2415
|
}],
|
|
2693
2416
|
/**
|
|
2694
2417
|
* Transform Style
|
|
@@ -2702,28 +2425,28 @@ const _ = (e) => {
|
|
|
2702
2425
|
* @see https://tailwindcss.com/docs/translate
|
|
2703
2426
|
*/
|
|
2704
2427
|
translate: [{
|
|
2705
|
-
translate:
|
|
2428
|
+
translate: ie()
|
|
2706
2429
|
}],
|
|
2707
2430
|
/**
|
|
2708
2431
|
* Translate X
|
|
2709
2432
|
* @see https://tailwindcss.com/docs/translate
|
|
2710
2433
|
*/
|
|
2711
2434
|
"translate-x": [{
|
|
2712
|
-
"translate-x":
|
|
2435
|
+
"translate-x": ie()
|
|
2713
2436
|
}],
|
|
2714
2437
|
/**
|
|
2715
2438
|
* Translate Y
|
|
2716
2439
|
* @see https://tailwindcss.com/docs/translate
|
|
2717
2440
|
*/
|
|
2718
2441
|
"translate-y": [{
|
|
2719
|
-
"translate-y":
|
|
2442
|
+
"translate-y": ie()
|
|
2720
2443
|
}],
|
|
2721
2444
|
/**
|
|
2722
2445
|
* Translate Z
|
|
2723
2446
|
* @see https://tailwindcss.com/docs/translate
|
|
2724
2447
|
*/
|
|
2725
2448
|
"translate-z": [{
|
|
2726
|
-
"translate-z":
|
|
2449
|
+
"translate-z": ie()
|
|
2727
2450
|
}],
|
|
2728
2451
|
/**
|
|
2729
2452
|
* Translate None
|
|
@@ -2738,7 +2461,7 @@ const _ = (e) => {
|
|
|
2738
2461
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2739
2462
|
*/
|
|
2740
2463
|
accent: [{
|
|
2741
|
-
accent:
|
|
2464
|
+
accent: p()
|
|
2742
2465
|
}],
|
|
2743
2466
|
/**
|
|
2744
2467
|
* Appearance
|
|
@@ -2752,7 +2475,7 @@ const _ = (e) => {
|
|
|
2752
2475
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2753
2476
|
*/
|
|
2754
2477
|
"caret-color": [{
|
|
2755
|
-
caret:
|
|
2478
|
+
caret: p()
|
|
2756
2479
|
}],
|
|
2757
2480
|
/**
|
|
2758
2481
|
* Color Scheme
|
|
@@ -2766,7 +2489,7 @@ const _ = (e) => {
|
|
|
2766
2489
|
* @see https://tailwindcss.com/docs/cursor
|
|
2767
2490
|
*/
|
|
2768
2491
|
cursor: [{
|
|
2769
|
-
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",
|
|
2492
|
+
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", f, u]
|
|
2770
2493
|
}],
|
|
2771
2494
|
/**
|
|
2772
2495
|
* Field Sizing
|
|
@@ -2801,126 +2524,126 @@ const _ = (e) => {
|
|
|
2801
2524
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2802
2525
|
*/
|
|
2803
2526
|
"scroll-m": [{
|
|
2804
|
-
"scroll-m":
|
|
2527
|
+
"scroll-m": b()
|
|
2805
2528
|
}],
|
|
2806
2529
|
/**
|
|
2807
2530
|
* Scroll Margin X
|
|
2808
2531
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2809
2532
|
*/
|
|
2810
2533
|
"scroll-mx": [{
|
|
2811
|
-
"scroll-mx":
|
|
2534
|
+
"scroll-mx": b()
|
|
2812
2535
|
}],
|
|
2813
2536
|
/**
|
|
2814
2537
|
* Scroll Margin Y
|
|
2815
2538
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2816
2539
|
*/
|
|
2817
2540
|
"scroll-my": [{
|
|
2818
|
-
"scroll-my":
|
|
2541
|
+
"scroll-my": b()
|
|
2819
2542
|
}],
|
|
2820
2543
|
/**
|
|
2821
2544
|
* Scroll Margin Start
|
|
2822
2545
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2823
2546
|
*/
|
|
2824
2547
|
"scroll-ms": [{
|
|
2825
|
-
"scroll-ms":
|
|
2548
|
+
"scroll-ms": b()
|
|
2826
2549
|
}],
|
|
2827
2550
|
/**
|
|
2828
2551
|
* Scroll Margin End
|
|
2829
2552
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2830
2553
|
*/
|
|
2831
2554
|
"scroll-me": [{
|
|
2832
|
-
"scroll-me":
|
|
2555
|
+
"scroll-me": b()
|
|
2833
2556
|
}],
|
|
2834
2557
|
/**
|
|
2835
2558
|
* Scroll Margin Top
|
|
2836
2559
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2837
2560
|
*/
|
|
2838
2561
|
"scroll-mt": [{
|
|
2839
|
-
"scroll-mt":
|
|
2562
|
+
"scroll-mt": b()
|
|
2840
2563
|
}],
|
|
2841
2564
|
/**
|
|
2842
2565
|
* Scroll Margin Right
|
|
2843
2566
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2844
2567
|
*/
|
|
2845
2568
|
"scroll-mr": [{
|
|
2846
|
-
"scroll-mr":
|
|
2569
|
+
"scroll-mr": b()
|
|
2847
2570
|
}],
|
|
2848
2571
|
/**
|
|
2849
2572
|
* Scroll Margin Bottom
|
|
2850
2573
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2851
2574
|
*/
|
|
2852
2575
|
"scroll-mb": [{
|
|
2853
|
-
"scroll-mb":
|
|
2576
|
+
"scroll-mb": b()
|
|
2854
2577
|
}],
|
|
2855
2578
|
/**
|
|
2856
2579
|
* Scroll Margin Left
|
|
2857
2580
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2858
2581
|
*/
|
|
2859
2582
|
"scroll-ml": [{
|
|
2860
|
-
"scroll-ml":
|
|
2583
|
+
"scroll-ml": b()
|
|
2861
2584
|
}],
|
|
2862
2585
|
/**
|
|
2863
2586
|
* Scroll Padding
|
|
2864
2587
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2865
2588
|
*/
|
|
2866
2589
|
"scroll-p": [{
|
|
2867
|
-
"scroll-p":
|
|
2590
|
+
"scroll-p": b()
|
|
2868
2591
|
}],
|
|
2869
2592
|
/**
|
|
2870
2593
|
* Scroll Padding X
|
|
2871
2594
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2872
2595
|
*/
|
|
2873
2596
|
"scroll-px": [{
|
|
2874
|
-
"scroll-px":
|
|
2597
|
+
"scroll-px": b()
|
|
2875
2598
|
}],
|
|
2876
2599
|
/**
|
|
2877
2600
|
* Scroll Padding Y
|
|
2878
2601
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2879
2602
|
*/
|
|
2880
2603
|
"scroll-py": [{
|
|
2881
|
-
"scroll-py":
|
|
2604
|
+
"scroll-py": b()
|
|
2882
2605
|
}],
|
|
2883
2606
|
/**
|
|
2884
2607
|
* Scroll Padding Start
|
|
2885
2608
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2886
2609
|
*/
|
|
2887
2610
|
"scroll-ps": [{
|
|
2888
|
-
"scroll-ps":
|
|
2611
|
+
"scroll-ps": b()
|
|
2889
2612
|
}],
|
|
2890
2613
|
/**
|
|
2891
2614
|
* Scroll Padding End
|
|
2892
2615
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2893
2616
|
*/
|
|
2894
2617
|
"scroll-pe": [{
|
|
2895
|
-
"scroll-pe":
|
|
2618
|
+
"scroll-pe": b()
|
|
2896
2619
|
}],
|
|
2897
2620
|
/**
|
|
2898
2621
|
* Scroll Padding Top
|
|
2899
2622
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2900
2623
|
*/
|
|
2901
2624
|
"scroll-pt": [{
|
|
2902
|
-
"scroll-pt":
|
|
2625
|
+
"scroll-pt": b()
|
|
2903
2626
|
}],
|
|
2904
2627
|
/**
|
|
2905
2628
|
* Scroll Padding Right
|
|
2906
2629
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2907
2630
|
*/
|
|
2908
2631
|
"scroll-pr": [{
|
|
2909
|
-
"scroll-pr":
|
|
2632
|
+
"scroll-pr": b()
|
|
2910
2633
|
}],
|
|
2911
2634
|
/**
|
|
2912
2635
|
* Scroll Padding Bottom
|
|
2913
2636
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2914
2637
|
*/
|
|
2915
2638
|
"scroll-pb": [{
|
|
2916
|
-
"scroll-pb":
|
|
2639
|
+
"scroll-pb": b()
|
|
2917
2640
|
}],
|
|
2918
2641
|
/**
|
|
2919
2642
|
* Scroll Padding Left
|
|
2920
2643
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2921
2644
|
*/
|
|
2922
2645
|
"scroll-pl": [{
|
|
2923
|
-
"scroll-pl":
|
|
2646
|
+
"scroll-pl": b()
|
|
2924
2647
|
}],
|
|
2925
2648
|
/**
|
|
2926
2649
|
* Scroll Snap Align
|
|
@@ -2988,7 +2711,7 @@ const _ = (e) => {
|
|
|
2988
2711
|
* @see https://tailwindcss.com/docs/will-change
|
|
2989
2712
|
*/
|
|
2990
2713
|
"will-change": [{
|
|
2991
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2714
|
+
"will-change": ["auto", "scroll", "contents", "transform", f, u]
|
|
2992
2715
|
}],
|
|
2993
2716
|
// -----------
|
|
2994
2717
|
// --- SVG ---
|
|
@@ -2998,21 +2721,21 @@ const _ = (e) => {
|
|
|
2998
2721
|
* @see https://tailwindcss.com/docs/fill
|
|
2999
2722
|
*/
|
|
3000
2723
|
fill: [{
|
|
3001
|
-
fill: ["none", ...
|
|
2724
|
+
fill: ["none", ...p()]
|
|
3002
2725
|
}],
|
|
3003
2726
|
/**
|
|
3004
2727
|
* Stroke Width
|
|
3005
2728
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3006
2729
|
*/
|
|
3007
2730
|
"stroke-w": [{
|
|
3008
|
-
stroke: [
|
|
2731
|
+
stroke: [v, te, Z, he]
|
|
3009
2732
|
}],
|
|
3010
2733
|
/**
|
|
3011
2734
|
* Stroke
|
|
3012
2735
|
* @see https://tailwindcss.com/docs/stroke
|
|
3013
2736
|
*/
|
|
3014
2737
|
stroke: [{
|
|
3015
|
-
stroke: ["none", ...
|
|
2738
|
+
stroke: ["none", ...p()]
|
|
3016
2739
|
}],
|
|
3017
2740
|
// ---------------------
|
|
3018
2741
|
// --- Accessibility ---
|
|
@@ -3080,40 +2803,40 @@ const _ = (e) => {
|
|
|
3080
2803
|
},
|
|
3081
2804
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3082
2805
|
};
|
|
3083
|
-
},
|
|
3084
|
-
function
|
|
3085
|
-
return
|
|
2806
|
+
}, ot = /* @__PURE__ */ _r(tt);
|
|
2807
|
+
function h(...e) {
|
|
2808
|
+
return ot(He(e));
|
|
3086
2809
|
}
|
|
3087
|
-
const
|
|
2810
|
+
const De = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, $e = He, rr = (e, r) => (t) => {
|
|
3088
2811
|
var o;
|
|
3089
|
-
if (
|
|
3090
|
-
const { variants: n, defaultVariants:
|
|
3091
|
-
const
|
|
3092
|
-
if (
|
|
3093
|
-
const
|
|
3094
|
-
return n[
|
|
3095
|
-
}), c =
|
|
3096
|
-
let [
|
|
3097
|
-
return
|
|
3098
|
-
}, {}),
|
|
3099
|
-
let { class:
|
|
3100
|
-
return Object.entries(
|
|
3101
|
-
let [
|
|
3102
|
-
return Array.isArray(
|
|
3103
|
-
...
|
|
2812
|
+
if (r?.variants == null) return $e(e, t?.class, t?.className);
|
|
2813
|
+
const { variants: n, defaultVariants: a } = r, i = Object.keys(n).map((d) => {
|
|
2814
|
+
const g = t?.[d], m = a?.[d];
|
|
2815
|
+
if (g === null) return null;
|
|
2816
|
+
const y = De(g) || De(m);
|
|
2817
|
+
return n[d][y];
|
|
2818
|
+
}), c = t && Object.entries(t).reduce((d, g) => {
|
|
2819
|
+
let [m, y] = g;
|
|
2820
|
+
return y === void 0 || (d[m] = y), d;
|
|
2821
|
+
}, {}), l = r == null || (o = r.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((d, g) => {
|
|
2822
|
+
let { class: m, className: y, ...z } = g;
|
|
2823
|
+
return Object.entries(z).every((k) => {
|
|
2824
|
+
let [S, R] = k;
|
|
2825
|
+
return Array.isArray(R) ? R.includes({
|
|
2826
|
+
...a,
|
|
3104
2827
|
...c
|
|
3105
|
-
}[
|
|
3106
|
-
...
|
|
2828
|
+
}[S]) : {
|
|
2829
|
+
...a,
|
|
3107
2830
|
...c
|
|
3108
|
-
}[
|
|
2831
|
+
}[S] === R;
|
|
3109
2832
|
}) ? [
|
|
3110
|
-
...
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
] :
|
|
2833
|
+
...d,
|
|
2834
|
+
m,
|
|
2835
|
+
y
|
|
2836
|
+
] : d;
|
|
3114
2837
|
}, []);
|
|
3115
|
-
return
|
|
3116
|
-
},
|
|
2838
|
+
return $e(e, i, l, t?.class, t?.className);
|
|
2839
|
+
}, nt = rr(
|
|
3117
2840
|
"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
|
3118
2841
|
{
|
|
3119
2842
|
variants: {
|
|
@@ -3137,24 +2860,21 @@ const Fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ve = Be, Z
|
|
|
3137
2860
|
size: "default"
|
|
3138
2861
|
}
|
|
3139
2862
|
}
|
|
3140
|
-
),
|
|
3141
|
-
({ className: e, variant:
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
}
|
|
3153
|
-
);
|
|
3154
|
-
}
|
|
2863
|
+
), K = C.forwardRef(
|
|
2864
|
+
({ className: e, variant: r, size: t, asChild: o = !1, disabled: n, ...a }, i) => /* @__PURE__ */ s(
|
|
2865
|
+
o ? xr : "button",
|
|
2866
|
+
{
|
|
2867
|
+
className: h(nt({ variant: r, size: t, className: e })),
|
|
2868
|
+
ref: i,
|
|
2869
|
+
type: a.type || "button",
|
|
2870
|
+
disabled: n,
|
|
2871
|
+
"aria-disabled": n ? "true" : void 0,
|
|
2872
|
+
...a
|
|
2873
|
+
}
|
|
2874
|
+
)
|
|
3155
2875
|
);
|
|
3156
|
-
|
|
3157
|
-
const
|
|
2876
|
+
K.displayName = "Button";
|
|
2877
|
+
const st = (e) => {
|
|
3158
2878
|
switch (e) {
|
|
3159
2879
|
case "h1":
|
|
3160
2880
|
return "text-4xl font-bold leading-tight tracking-tight";
|
|
@@ -3181,7 +2901,7 @@ const Kr = (e) => {
|
|
|
3181
2901
|
default:
|
|
3182
2902
|
return "text-base font-normal leading-normal";
|
|
3183
2903
|
}
|
|
3184
|
-
},
|
|
2904
|
+
}, at = (e) => {
|
|
3185
2905
|
switch (e) {
|
|
3186
2906
|
case "primary":
|
|
3187
2907
|
return "text-foreground";
|
|
@@ -3198,7 +2918,7 @@ const Kr = (e) => {
|
|
|
3198
2918
|
default:
|
|
3199
2919
|
return "text-foreground";
|
|
3200
2920
|
}
|
|
3201
|
-
},
|
|
2921
|
+
}, it = (e) => {
|
|
3202
2922
|
switch (e) {
|
|
3203
2923
|
case "light":
|
|
3204
2924
|
return "font-light";
|
|
@@ -3213,7 +2933,7 @@ const Kr = (e) => {
|
|
|
3213
2933
|
default:
|
|
3214
2934
|
return "";
|
|
3215
2935
|
}
|
|
3216
|
-
},
|
|
2936
|
+
}, lt = (e) => {
|
|
3217
2937
|
switch (e) {
|
|
3218
2938
|
case "left":
|
|
3219
2939
|
return "text-left";
|
|
@@ -3226,29 +2946,29 @@ const Kr = (e) => {
|
|
|
3226
2946
|
default:
|
|
3227
2947
|
return "text-left";
|
|
3228
2948
|
}
|
|
3229
|
-
},
|
|
2949
|
+
}, P = ({
|
|
3230
2950
|
variant: e = "body",
|
|
3231
|
-
color:
|
|
3232
|
-
weight:
|
|
2951
|
+
color: r = "primary",
|
|
2952
|
+
weight: t,
|
|
3233
2953
|
align: o = "left",
|
|
3234
2954
|
truncate: n = !1,
|
|
3235
|
-
children:
|
|
3236
|
-
className:
|
|
2955
|
+
children: a,
|
|
2956
|
+
className: i,
|
|
3237
2957
|
as: c,
|
|
3238
|
-
...
|
|
2958
|
+
...l
|
|
3239
2959
|
}) => {
|
|
3240
|
-
const
|
|
2960
|
+
const d = c || ct(e), g = h(
|
|
3241
2961
|
"m-0",
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
2962
|
+
st(e),
|
|
2963
|
+
at(r),
|
|
2964
|
+
it(t),
|
|
2965
|
+
lt(o),
|
|
3246
2966
|
n && "truncate",
|
|
3247
|
-
|
|
2967
|
+
i
|
|
3248
2968
|
);
|
|
3249
|
-
return /* @__PURE__ */
|
|
2969
|
+
return /* @__PURE__ */ s(d, { className: g, ...l, children: a });
|
|
3250
2970
|
};
|
|
3251
|
-
function
|
|
2971
|
+
function ct(e) {
|
|
3252
2972
|
switch (e) {
|
|
3253
2973
|
case "h1":
|
|
3254
2974
|
return "h1";
|
|
@@ -3266,7 +2986,7 @@ function ot(e) {
|
|
|
3266
2986
|
return "p";
|
|
3267
2987
|
}
|
|
3268
2988
|
}
|
|
3269
|
-
const
|
|
2989
|
+
const dt = (e) => {
|
|
3270
2990
|
switch (e) {
|
|
3271
2991
|
case "sm":
|
|
3272
2992
|
return "p-4";
|
|
@@ -3277,7 +2997,7 @@ const nt = (e) => {
|
|
|
3277
2997
|
default:
|
|
3278
2998
|
return "p-0";
|
|
3279
2999
|
}
|
|
3280
|
-
},
|
|
3000
|
+
}, mt = (e) => {
|
|
3281
3001
|
switch (e) {
|
|
3282
3002
|
case "sm":
|
|
3283
3003
|
return "shadow-sm";
|
|
@@ -3288,7 +3008,7 @@ const nt = (e) => {
|
|
|
3288
3008
|
default:
|
|
3289
3009
|
return "shadow-none";
|
|
3290
3010
|
}
|
|
3291
|
-
},
|
|
3011
|
+
}, ut = (e) => {
|
|
3292
3012
|
switch (e) {
|
|
3293
3013
|
case "sm":
|
|
3294
3014
|
return "rounded-sm";
|
|
@@ -3299,37 +3019,37 @@ const nt = (e) => {
|
|
|
3299
3019
|
default:
|
|
3300
3020
|
return "rounded-none";
|
|
3301
3021
|
}
|
|
3302
|
-
},
|
|
3022
|
+
}, ft = ({
|
|
3303
3023
|
children: e,
|
|
3304
|
-
title:
|
|
3305
|
-
subtitle:
|
|
3024
|
+
title: r,
|
|
3025
|
+
subtitle: t,
|
|
3306
3026
|
className: o,
|
|
3307
3027
|
padding: n = "md",
|
|
3308
|
-
shadow:
|
|
3309
|
-
borderRadius:
|
|
3028
|
+
shadow: a = "md",
|
|
3029
|
+
borderRadius: i = "md",
|
|
3310
3030
|
onClick: c
|
|
3311
3031
|
}) => {
|
|
3312
|
-
const
|
|
3032
|
+
const l = !!c, d = h(
|
|
3313
3033
|
"bg-card",
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3034
|
+
dt(n),
|
|
3035
|
+
mt(a),
|
|
3036
|
+
ut(i),
|
|
3317
3037
|
"transition-all duration-200 ease-in-out",
|
|
3318
|
-
|
|
3038
|
+
l && "cursor-pointer hover:-translate-y-0.5 hover:shadow-lg active:translate-y-0",
|
|
3319
3039
|
o
|
|
3320
3040
|
);
|
|
3321
|
-
return /* @__PURE__ */
|
|
3322
|
-
(
|
|
3323
|
-
|
|
3324
|
-
|
|
3041
|
+
return /* @__PURE__ */ x("div", { className: d, onClick: c, children: [
|
|
3042
|
+
(r || t) && /* @__PURE__ */ x("div", { className: "mb-4", children: [
|
|
3043
|
+
r && /* @__PURE__ */ s("div", { className: "mb-2", children: /* @__PURE__ */ s(P, { variant: "h3", children: r }) }),
|
|
3044
|
+
t && /* @__PURE__ */ s("div", { className: "text-muted-foreground", children: /* @__PURE__ */ s(P, { variant: "body-sm", color: "muted", children: t }) })
|
|
3325
3045
|
] }),
|
|
3326
|
-
/* @__PURE__ */
|
|
3046
|
+
/* @__PURE__ */ s("div", { className: "flex-1", children: e })
|
|
3327
3047
|
] });
|
|
3328
|
-
},
|
|
3048
|
+
}, gt = ({
|
|
3329
3049
|
children: e
|
|
3330
|
-
}) => /* @__PURE__ */
|
|
3331
|
-
Footer:
|
|
3332
|
-
}),
|
|
3050
|
+
}) => /* @__PURE__ */ s("div", { className: "mt-4 pt-4 border-t border-border", children: e }), so = Object.assign(ft, {
|
|
3051
|
+
Footer: gt
|
|
3052
|
+
}), pt = (e) => {
|
|
3333
3053
|
switch (e) {
|
|
3334
3054
|
case "sm":
|
|
3335
3055
|
return "max-w-md";
|
|
@@ -3342,115 +3062,275 @@ const nt = (e) => {
|
|
|
3342
3062
|
default:
|
|
3343
3063
|
return "max-w-2xl";
|
|
3344
3064
|
}
|
|
3345
|
-
},
|
|
3065
|
+
}, ht = ({
|
|
3346
3066
|
isOpen: e,
|
|
3347
|
-
onClose:
|
|
3348
|
-
title:
|
|
3067
|
+
onClose: r,
|
|
3068
|
+
title: t,
|
|
3349
3069
|
children: o,
|
|
3350
3070
|
size: n = "md",
|
|
3351
|
-
showCloseButton:
|
|
3352
|
-
closeOnOverlayClick:
|
|
3071
|
+
showCloseButton: a = !0,
|
|
3072
|
+
closeOnOverlayClick: i = !0,
|
|
3353
3073
|
closeOnEscape: c = !0
|
|
3354
3074
|
}) => {
|
|
3355
|
-
const
|
|
3356
|
-
if (
|
|
3075
|
+
const l = ke.useRef(null);
|
|
3076
|
+
if (fe(() => {
|
|
3357
3077
|
if (!e || !c) return;
|
|
3358
|
-
const
|
|
3359
|
-
|
|
3078
|
+
const k = (S) => {
|
|
3079
|
+
S.key === "Escape" && r();
|
|
3360
3080
|
};
|
|
3361
|
-
return document.addEventListener("keydown",
|
|
3362
|
-
}, [e, c,
|
|
3081
|
+
return document.addEventListener("keydown", k), () => document.removeEventListener("keydown", k);
|
|
3082
|
+
}, [e, c, r]), fe(() => (e ? document.body.style.overflow = "hidden" : document.body.style.overflow = "unset", () => {
|
|
3363
3083
|
document.body.style.overflow = "unset";
|
|
3364
|
-
}), [e]),
|
|
3365
|
-
e &&
|
|
3084
|
+
}), [e]), fe(() => {
|
|
3085
|
+
e && l.current && l.current.focus();
|
|
3366
3086
|
}, [e]), !e) return null;
|
|
3367
|
-
const
|
|
3087
|
+
const d = h(
|
|
3368
3088
|
"fixed inset-0 bg-black/50 flex items-center justify-center z-50 p-4"
|
|
3369
|
-
),
|
|
3089
|
+
), g = h(
|
|
3370
3090
|
"bg-card rounded-lg shadow-xl w-full max-h-[90vh] overflow-hidden flex flex-col",
|
|
3371
|
-
|
|
3372
|
-
),
|
|
3091
|
+
pt(n)
|
|
3092
|
+
), m = h(
|
|
3373
3093
|
"p-6 border-b border-border flex items-center justify-between"
|
|
3374
|
-
),
|
|
3094
|
+
), y = h("p-6 overflow-y-auto flex-1"), z = h(
|
|
3375
3095
|
"bg-none border-none text-xl cursor-pointer text-muted-foreground p-1 rounded-sm flex items-center justify-center hover:bg-accent hover:text-accent-foreground focus:outline-2 focus:outline-primary focus:outline-offset-2"
|
|
3376
3096
|
);
|
|
3377
|
-
return /* @__PURE__ */
|
|
3097
|
+
return /* @__PURE__ */ s(
|
|
3378
3098
|
"div",
|
|
3379
3099
|
{
|
|
3380
|
-
className:
|
|
3381
|
-
onClick:
|
|
3382
|
-
children: /* @__PURE__ */
|
|
3100
|
+
className: d,
|
|
3101
|
+
onClick: i ? r : void 0,
|
|
3102
|
+
children: /* @__PURE__ */ x(
|
|
3383
3103
|
"div",
|
|
3384
3104
|
{
|
|
3385
|
-
ref:
|
|
3386
|
-
className:
|
|
3387
|
-
onClick: (
|
|
3105
|
+
ref: l,
|
|
3106
|
+
className: g,
|
|
3107
|
+
onClick: (k) => k.stopPropagation(),
|
|
3388
3108
|
tabIndex: -1,
|
|
3389
3109
|
role: "dialog",
|
|
3390
3110
|
"aria-modal": "true",
|
|
3391
|
-
"aria-labelledby":
|
|
3111
|
+
"aria-labelledby": t ? "modal-title" : void 0,
|
|
3392
3112
|
children: [
|
|
3393
|
-
(
|
|
3394
|
-
|
|
3395
|
-
|
|
3113
|
+
(t || a) && /* @__PURE__ */ x("div", { className: m, children: [
|
|
3114
|
+
t && /* @__PURE__ */ s(P, { variant: "h3", className: "text-foreground", children: t }),
|
|
3115
|
+
a && /* @__PURE__ */ s(
|
|
3396
3116
|
"button",
|
|
3397
3117
|
{
|
|
3398
|
-
onClick:
|
|
3118
|
+
onClick: r,
|
|
3399
3119
|
"aria-label": "Close modal",
|
|
3400
|
-
className:
|
|
3120
|
+
className: z,
|
|
3401
3121
|
children: "×"
|
|
3402
3122
|
}
|
|
3403
3123
|
)
|
|
3404
3124
|
] }),
|
|
3405
|
-
/* @__PURE__ */
|
|
3125
|
+
/* @__PURE__ */ s("div", { className: y, children: o })
|
|
3406
3126
|
]
|
|
3407
3127
|
}
|
|
3408
3128
|
)
|
|
3409
3129
|
}
|
|
3410
3130
|
);
|
|
3411
|
-
},
|
|
3131
|
+
}, bt = ({
|
|
3412
3132
|
children: e,
|
|
3413
|
-
actions:
|
|
3414
|
-
...
|
|
3415
|
-
}) => /* @__PURE__ */
|
|
3416
|
-
/* @__PURE__ */
|
|
3417
|
-
|
|
3418
|
-
] }),
|
|
3133
|
+
actions: r,
|
|
3134
|
+
...t
|
|
3135
|
+
}) => /* @__PURE__ */ x(ht, { ...t, children: [
|
|
3136
|
+
/* @__PURE__ */ s("div", { className: "p-6 overflow-y-auto flex-1", children: e }),
|
|
3137
|
+
r && /* @__PURE__ */ s("div", { className: "p-6 border-t border-border flex justify-end gap-3", children: r })
|
|
3138
|
+
] }), ao = ({
|
|
3419
3139
|
isOpen: e,
|
|
3420
|
-
onClose:
|
|
3421
|
-
onConfirm:
|
|
3140
|
+
onClose: r,
|
|
3141
|
+
onConfirm: t,
|
|
3422
3142
|
title: o,
|
|
3423
3143
|
message: n,
|
|
3424
|
-
confirmText:
|
|
3425
|
-
cancelText:
|
|
3426
|
-
}) => /* @__PURE__ */
|
|
3427
|
-
|
|
3144
|
+
confirmText: a = "Confirm",
|
|
3145
|
+
cancelText: i = "Cancel"
|
|
3146
|
+
}) => /* @__PURE__ */ s(
|
|
3147
|
+
bt,
|
|
3428
3148
|
{
|
|
3429
3149
|
isOpen: e,
|
|
3430
|
-
onClose:
|
|
3150
|
+
onClose: r,
|
|
3431
3151
|
title: o,
|
|
3432
|
-
actions: /* @__PURE__ */
|
|
3433
|
-
/* @__PURE__ */
|
|
3434
|
-
/* @__PURE__ */
|
|
3152
|
+
actions: /* @__PURE__ */ x(de, { children: [
|
|
3153
|
+
/* @__PURE__ */ s(K, { variant: "secondary", onClick: r, children: i }),
|
|
3154
|
+
/* @__PURE__ */ s(K, { variant: "default", onClick: t, children: a })
|
|
3435
3155
|
] }),
|
|
3436
|
-
children: /* @__PURE__ */
|
|
3156
|
+
children: /* @__PURE__ */ s(P, { children: n })
|
|
3437
3157
|
}
|
|
3438
3158
|
);
|
|
3159
|
+
function xt(e, r) {
|
|
3160
|
+
return !r || r === "all" ? e : e.filter((t) => t.categoryId === r);
|
|
3161
|
+
}
|
|
3162
|
+
function yt(e, r) {
|
|
3163
|
+
const t = [...e];
|
|
3164
|
+
return t.sort((o, n) => {
|
|
3165
|
+
let a = "", i = "";
|
|
3166
|
+
return r.column === "title" ? (a = o.title.toLowerCase(), i = n.title.toLowerCase()) : r.column === "metric" && (a = Fe(o.metricValue), i = Fe(n.metricValue)), a < i ? r.direction === "asc" ? -1 : 1 : a > i ? r.direction === "asc" ? 1 : -1 : 0;
|
|
3167
|
+
}), t;
|
|
3168
|
+
}
|
|
3169
|
+
function Fe(e) {
|
|
3170
|
+
if (!e) return 0;
|
|
3171
|
+
const r = e.match(/[\d.]+/);
|
|
3172
|
+
return r ? parseFloat(r[0]) : 0;
|
|
3173
|
+
}
|
|
3174
|
+
function vt(e, r) {
|
|
3175
|
+
return r === "all" ? e.length : e.filter((t) => t.categoryId === r).length;
|
|
3176
|
+
}
|
|
3177
|
+
function io(e, r, t = {}) {
|
|
3178
|
+
const {
|
|
3179
|
+
initialCategory: o = null,
|
|
3180
|
+
initialSort: n = null,
|
|
3181
|
+
enableSearch: a = !1
|
|
3182
|
+
} = t, [i, c] = oe(
|
|
3183
|
+
o
|
|
3184
|
+
), [l, d] = oe(n), [g, m] = oe(""), y = ge(() => xt(e, i), [e, i]), z = ge(() => {
|
|
3185
|
+
if (!a || !g.trim())
|
|
3186
|
+
return y;
|
|
3187
|
+
const A = g.toLowerCase();
|
|
3188
|
+
return y.filter(
|
|
3189
|
+
(_) => _.title.toLowerCase().includes(A) || _.subtitle?.toLowerCase().includes(A)
|
|
3190
|
+
);
|
|
3191
|
+
}, [y, g, a]), k = ge(() => l ? yt(z, l) : z, [z, l]), S = Pe(
|
|
3192
|
+
(A) => vt(e, A),
|
|
3193
|
+
[e]
|
|
3194
|
+
), R = Pe(() => {
|
|
3195
|
+
c(o), d(n), m("");
|
|
3196
|
+
}, [o, n]);
|
|
3197
|
+
return {
|
|
3198
|
+
activeCategory: i,
|
|
3199
|
+
setActiveCategory: c,
|
|
3200
|
+
sort: l,
|
|
3201
|
+
setSort: d,
|
|
3202
|
+
searchQuery: g,
|
|
3203
|
+
setSearchQuery: m,
|
|
3204
|
+
filteredEntities: k,
|
|
3205
|
+
getCategoryCount: S,
|
|
3206
|
+
resetFilters: R
|
|
3207
|
+
};
|
|
3208
|
+
}
|
|
3209
|
+
const wt = rr(
|
|
3210
|
+
"inline-flex items-center justify-center whitespace-nowrap rounded-full text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
|
3211
|
+
{
|
|
3212
|
+
variants: {
|
|
3213
|
+
variant: {
|
|
3214
|
+
default: "bg-primary text-primary-foreground hover:bg-primary/90",
|
|
3215
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
3216
|
+
outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
|
|
3217
|
+
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
3218
|
+
selected: "bg-primary text-primary-foreground hover:bg-primary/90 ring-2 ring-primary ring-offset-2"
|
|
3219
|
+
},
|
|
3220
|
+
size: {
|
|
3221
|
+
default: "h-8 px-4 py-1.5",
|
|
3222
|
+
sm: "h-7 px-3 py-1 text-xs",
|
|
3223
|
+
lg: "h-9 px-5 py-2"
|
|
3224
|
+
}
|
|
3225
|
+
},
|
|
3226
|
+
defaultVariants: {
|
|
3227
|
+
variant: "default",
|
|
3228
|
+
size: "default"
|
|
3229
|
+
}
|
|
3230
|
+
}
|
|
3231
|
+
), ze = C.forwardRef(
|
|
3232
|
+
({
|
|
3233
|
+
className: e,
|
|
3234
|
+
variant: r,
|
|
3235
|
+
size: t,
|
|
3236
|
+
icon: o,
|
|
3237
|
+
selected: n,
|
|
3238
|
+
dismissible: a,
|
|
3239
|
+
onDismiss: i,
|
|
3240
|
+
children: c,
|
|
3241
|
+
disabled: l,
|
|
3242
|
+
...d
|
|
3243
|
+
}, g) => /* @__PURE__ */ x(
|
|
3244
|
+
"button",
|
|
3245
|
+
{
|
|
3246
|
+
type: "button",
|
|
3247
|
+
className: h(wt({ variant: n ? "selected" : r, size: t, className: e })),
|
|
3248
|
+
ref: g,
|
|
3249
|
+
disabled: l,
|
|
3250
|
+
"aria-disabled": l ? "true" : void 0,
|
|
3251
|
+
"aria-pressed": n ? "true" : "false",
|
|
3252
|
+
...d,
|
|
3253
|
+
children: [
|
|
3254
|
+
o && /* @__PURE__ */ s("span", { className: "mr-1.5 inline-flex items-center", "aria-hidden": "true", children: o }),
|
|
3255
|
+
/* @__PURE__ */ s("span", { children: c }),
|
|
3256
|
+
a && i && /* @__PURE__ */ s(
|
|
3257
|
+
"button",
|
|
3258
|
+
{
|
|
3259
|
+
type: "button",
|
|
3260
|
+
className: "ml-1.5 inline-flex items-center hover:opacity-70",
|
|
3261
|
+
onClick: (y) => {
|
|
3262
|
+
y.stopPropagation(), i();
|
|
3263
|
+
},
|
|
3264
|
+
"aria-label": "Remove",
|
|
3265
|
+
children: "×"
|
|
3266
|
+
}
|
|
3267
|
+
)
|
|
3268
|
+
]
|
|
3269
|
+
}
|
|
3270
|
+
)
|
|
3271
|
+
);
|
|
3272
|
+
ze.displayName = "Chip";
|
|
3273
|
+
const tr = C.forwardRef(
|
|
3274
|
+
({
|
|
3275
|
+
categories: e,
|
|
3276
|
+
activeCategory: r,
|
|
3277
|
+
onCategoryChange: t,
|
|
3278
|
+
showCount: o,
|
|
3279
|
+
getCategoryCount: n,
|
|
3280
|
+
className: a
|
|
3281
|
+
}, i) => /* @__PURE__ */ s(
|
|
3282
|
+
"div",
|
|
3283
|
+
{
|
|
3284
|
+
ref: i,
|
|
3285
|
+
role: "tablist",
|
|
3286
|
+
"aria-label": "Filter by category",
|
|
3287
|
+
className: h(
|
|
3288
|
+
"flex flex-wrap gap-2 overflow-x-auto pb-2",
|
|
3289
|
+
a
|
|
3290
|
+
),
|
|
3291
|
+
children: e.map((c) => {
|
|
3292
|
+
const l = r === c.id, d = o && n ? n(c.id) : void 0;
|
|
3293
|
+
return /* @__PURE__ */ x(
|
|
3294
|
+
ze,
|
|
3295
|
+
{
|
|
3296
|
+
role: "tab",
|
|
3297
|
+
"aria-selected": l,
|
|
3298
|
+
"aria-controls": `entities-panel-${c.id}`,
|
|
3299
|
+
selected: l,
|
|
3300
|
+
variant: l ? "selected" : "outline",
|
|
3301
|
+
icon: c.icon,
|
|
3302
|
+
onClick: () => t(l ? null : c.id),
|
|
3303
|
+
children: [
|
|
3304
|
+
c.label,
|
|
3305
|
+
d !== void 0 && /* @__PURE__ */ x("span", { className: "ml-1.5 opacity-70", children: [
|
|
3306
|
+
"(",
|
|
3307
|
+
d,
|
|
3308
|
+
")"
|
|
3309
|
+
] })
|
|
3310
|
+
]
|
|
3311
|
+
},
|
|
3312
|
+
c.id
|
|
3313
|
+
);
|
|
3314
|
+
})
|
|
3315
|
+
}
|
|
3316
|
+
)
|
|
3317
|
+
);
|
|
3318
|
+
tr.displayName = "CategoryChips";
|
|
3439
3319
|
/**
|
|
3440
3320
|
* @license lucide-react v0.547.0 - ISC
|
|
3441
3321
|
*
|
|
3442
3322
|
* This source code is licensed under the ISC license.
|
|
3443
3323
|
* See the LICENSE file in the root directory of this source tree.
|
|
3444
3324
|
*/
|
|
3445
|
-
const
|
|
3325
|
+
const kt = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Ct = (e) => e.replace(
|
|
3446
3326
|
/^([A-Z])|[\s-_]+(\w)/g,
|
|
3447
|
-
(
|
|
3327
|
+
(r, t, o) => o ? o.toUpperCase() : t.toLowerCase()
|
|
3448
3328
|
), Ge = (e) => {
|
|
3449
|
-
const
|
|
3450
|
-
return
|
|
3451
|
-
},
|
|
3452
|
-
for (const
|
|
3453
|
-
if (
|
|
3329
|
+
const r = Ct(e);
|
|
3330
|
+
return r.charAt(0).toUpperCase() + r.slice(1);
|
|
3331
|
+
}, or = (...e) => e.filter((r, t, o) => !!r && r.trim() !== "" && o.indexOf(r) === t).join(" ").trim(), Nt = (e) => {
|
|
3332
|
+
for (const r in e)
|
|
3333
|
+
if (r.startsWith("aria-") || r === "role" || r === "title")
|
|
3454
3334
|
return !0;
|
|
3455
3335
|
};
|
|
3456
3336
|
/**
|
|
@@ -3459,7 +3339,7 @@ const mt = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), ft = (
|
|
|
3459
3339
|
* This source code is licensed under the ISC license.
|
|
3460
3340
|
* See the LICENSE file in the root directory of this source tree.
|
|
3461
3341
|
*/
|
|
3462
|
-
var
|
|
3342
|
+
var zt = {
|
|
3463
3343
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3464
3344
|
width: 24,
|
|
3465
3345
|
height: 24,
|
|
@@ -3476,32 +3356,32 @@ var gt = {
|
|
|
3476
3356
|
* This source code is licensed under the ISC license.
|
|
3477
3357
|
* See the LICENSE file in the root directory of this source tree.
|
|
3478
3358
|
*/
|
|
3479
|
-
const
|
|
3359
|
+
const St = Be(
|
|
3480
3360
|
({
|
|
3481
3361
|
color: e = "currentColor",
|
|
3482
|
-
size:
|
|
3483
|
-
strokeWidth:
|
|
3362
|
+
size: r = 24,
|
|
3363
|
+
strokeWidth: t = 2,
|
|
3484
3364
|
absoluteStrokeWidth: o,
|
|
3485
3365
|
className: n = "",
|
|
3486
|
-
children:
|
|
3487
|
-
iconNode:
|
|
3366
|
+
children: a,
|
|
3367
|
+
iconNode: i,
|
|
3488
3368
|
...c
|
|
3489
|
-
},
|
|
3369
|
+
}, l) => xe(
|
|
3490
3370
|
"svg",
|
|
3491
3371
|
{
|
|
3492
|
-
ref:
|
|
3493
|
-
...
|
|
3494
|
-
width:
|
|
3495
|
-
height:
|
|
3372
|
+
ref: l,
|
|
3373
|
+
...zt,
|
|
3374
|
+
width: r,
|
|
3375
|
+
height: r,
|
|
3496
3376
|
stroke: e,
|
|
3497
|
-
strokeWidth: o ? Number(
|
|
3498
|
-
className:
|
|
3499
|
-
...!
|
|
3377
|
+
strokeWidth: o ? Number(t) * 24 / Number(r) : t,
|
|
3378
|
+
className: or("lucide", n),
|
|
3379
|
+
...!a && !Nt(c) && { "aria-hidden": "true" },
|
|
3500
3380
|
...c
|
|
3501
3381
|
},
|
|
3502
3382
|
[
|
|
3503
|
-
...
|
|
3504
|
-
...Array.isArray(
|
|
3383
|
+
...i.map(([d, g]) => xe(d, g)),
|
|
3384
|
+
...Array.isArray(a) ? a : [a]
|
|
3505
3385
|
]
|
|
3506
3386
|
)
|
|
3507
3387
|
);
|
|
@@ -3511,20 +3391,20 @@ const ht = We(
|
|
|
3511
3391
|
* This source code is licensed under the ISC license.
|
|
3512
3392
|
* See the LICENSE file in the root directory of this source tree.
|
|
3513
3393
|
*/
|
|
3514
|
-
const
|
|
3515
|
-
const
|
|
3516
|
-
({ className: o, ...n },
|
|
3517
|
-
ref:
|
|
3518
|
-
iconNode:
|
|
3519
|
-
className:
|
|
3520
|
-
`lucide-${
|
|
3394
|
+
const O = (e, r) => {
|
|
3395
|
+
const t = Be(
|
|
3396
|
+
({ className: o, ...n }, a) => xe(St, {
|
|
3397
|
+
ref: a,
|
|
3398
|
+
iconNode: r,
|
|
3399
|
+
className: or(
|
|
3400
|
+
`lucide-${kt(Ge(e))}`,
|
|
3521
3401
|
`lucide-${e}`,
|
|
3522
3402
|
o
|
|
3523
3403
|
),
|
|
3524
3404
|
...n
|
|
3525
3405
|
})
|
|
3526
3406
|
);
|
|
3527
|
-
return
|
|
3407
|
+
return t.displayName = Ge(e), t;
|
|
3528
3408
|
};
|
|
3529
3409
|
/**
|
|
3530
3410
|
* @license lucide-react v0.547.0 - ISC
|
|
@@ -3532,7 +3412,7 @@ const J = (e, t) => {
|
|
|
3532
3412
|
* This source code is licensed under the ISC license.
|
|
3533
3413
|
* See the LICENSE file in the root directory of this source tree.
|
|
3534
3414
|
*/
|
|
3535
|
-
const
|
|
3415
|
+
const Et = [
|
|
3536
3416
|
["path", { d: "M10 4 8 6", key: "1rru8s" }],
|
|
3537
3417
|
["path", { d: "M17 19v2", key: "ts1sot" }],
|
|
3538
3418
|
["path", { d: "M2 12h20", key: "9i4pu4" }],
|
|
@@ -3544,26 +3424,26 @@ const xt = [
|
|
|
3544
3424
|
key: "14ym8i"
|
|
3545
3425
|
}
|
|
3546
3426
|
]
|
|
3547
|
-
],
|
|
3427
|
+
], Mt = O("bath", Et);
|
|
3548
3428
|
/**
|
|
3549
3429
|
* @license lucide-react v0.547.0 - ISC
|
|
3550
3430
|
*
|
|
3551
3431
|
* This source code is licensed under the ISC license.
|
|
3552
3432
|
* See the LICENSE file in the root directory of this source tree.
|
|
3553
3433
|
*/
|
|
3554
|
-
const
|
|
3434
|
+
const Rt = [
|
|
3555
3435
|
["path", { d: "M2 4v16", key: "vw9hq8" }],
|
|
3556
3436
|
["path", { d: "M2 8h18a2 2 0 0 1 2 2v10", key: "1dgv2r" }],
|
|
3557
3437
|
["path", { d: "M2 17h20", key: "18nfp3" }],
|
|
3558
3438
|
["path", { d: "M6 8v9", key: "1yriud" }]
|
|
3559
|
-
],
|
|
3439
|
+
], At = O("bed", Rt);
|
|
3560
3440
|
/**
|
|
3561
3441
|
* @license lucide-react v0.547.0 - ISC
|
|
3562
3442
|
*
|
|
3563
3443
|
* This source code is licensed under the ISC license.
|
|
3564
3444
|
* See the LICENSE file in the root directory of this source tree.
|
|
3565
3445
|
*/
|
|
3566
|
-
const
|
|
3446
|
+
const Lt = [
|
|
3567
3447
|
[
|
|
3568
3448
|
"path",
|
|
3569
3449
|
{
|
|
@@ -3574,41 +3454,41 @@ const wt = [
|
|
|
3574
3454
|
["circle", { cx: "7", cy: "17", r: "2", key: "u2ysq9" }],
|
|
3575
3455
|
["path", { d: "M9 17h6", key: "r8uit2" }],
|
|
3576
3456
|
["circle", { cx: "17", cy: "17", r: "2", key: "axvx0g" }]
|
|
3577
|
-
],
|
|
3457
|
+
], Pt = O("car", Lt);
|
|
3578
3458
|
/**
|
|
3579
3459
|
* @license lucide-react v0.547.0 - ISC
|
|
3580
3460
|
*
|
|
3581
3461
|
* This source code is licensed under the ISC license.
|
|
3582
3462
|
* See the LICENSE file in the root directory of this source tree.
|
|
3583
3463
|
*/
|
|
3584
|
-
const
|
|
3464
|
+
const It = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], jt = O("chevron-left", It);
|
|
3585
3465
|
/**
|
|
3586
3466
|
* @license lucide-react v0.547.0 - ISC
|
|
3587
3467
|
*
|
|
3588
3468
|
* This source code is licensed under the ISC license.
|
|
3589
3469
|
* See the LICENSE file in the root directory of this source tree.
|
|
3590
3470
|
*/
|
|
3591
|
-
const
|
|
3471
|
+
const Tt = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], Vt = O("chevron-right", Tt);
|
|
3592
3472
|
/**
|
|
3593
3473
|
* @license lucide-react v0.547.0 - ISC
|
|
3594
3474
|
*
|
|
3595
3475
|
* This source code is licensed under the ISC license.
|
|
3596
3476
|
* See the LICENSE file in the root directory of this source tree.
|
|
3597
3477
|
*/
|
|
3598
|
-
const
|
|
3478
|
+
const _t = [
|
|
3599
3479
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
3600
3480
|
["path", { d: "M3 9h18", key: "1pudct" }],
|
|
3601
3481
|
["path", { d: "M3 15h18", key: "5xshup" }],
|
|
3602
3482
|
["path", { d: "M9 3v18", key: "fh3hqa" }],
|
|
3603
3483
|
["path", { d: "M15 3v18", key: "14nvp0" }]
|
|
3604
|
-
],
|
|
3484
|
+
], Dt = O("grid-3x3", _t);
|
|
3605
3485
|
/**
|
|
3606
3486
|
* @license lucide-react v0.547.0 - ISC
|
|
3607
3487
|
*
|
|
3608
3488
|
* This source code is licensed under the ISC license.
|
|
3609
3489
|
* See the LICENSE file in the root directory of this source tree.
|
|
3610
3490
|
*/
|
|
3611
|
-
const
|
|
3491
|
+
const $t = [
|
|
3612
3492
|
[
|
|
3613
3493
|
"path",
|
|
3614
3494
|
{
|
|
@@ -3616,20 +3496,20 @@ const _t = [
|
|
|
3616
3496
|
key: "mvr1a0"
|
|
3617
3497
|
}
|
|
3618
3498
|
]
|
|
3619
|
-
],
|
|
3499
|
+
], Ft = O("heart", $t);
|
|
3620
3500
|
/**
|
|
3621
3501
|
* @license lucide-react v0.547.0 - ISC
|
|
3622
3502
|
*
|
|
3623
3503
|
* This source code is licensed under the ISC license.
|
|
3624
3504
|
* See the LICENSE file in the root directory of this source tree.
|
|
3625
3505
|
*/
|
|
3626
|
-
const
|
|
3506
|
+
const Gt = [
|
|
3627
3507
|
["path", { d: "M8 3H5a2 2 0 0 0-2 2v3", key: "1dcmit" }],
|
|
3628
3508
|
["path", { d: "M21 8V5a2 2 0 0 0-2-2h-3", key: "1e4gt3" }],
|
|
3629
3509
|
["path", { d: "M3 16v3a2 2 0 0 0 2 2h3", key: "wsl5sc" }],
|
|
3630
3510
|
["path", { d: "M16 21h3a2 2 0 0 0 2-2v-3", key: "18trek" }]
|
|
3631
|
-
],
|
|
3632
|
-
switch (e.variant ||
|
|
3511
|
+
], Bt = O("maximize", Gt), Wt = (e) => {
|
|
3512
|
+
switch (e.variant || Ht(e.type)) {
|
|
3633
3513
|
case "primary":
|
|
3634
3514
|
return "bg-primary text-primary-foreground";
|
|
3635
3515
|
case "secondary":
|
|
@@ -3645,7 +3525,7 @@ const At = [
|
|
|
3645
3525
|
default:
|
|
3646
3526
|
return "bg-secondary text-secondary-foreground";
|
|
3647
3527
|
}
|
|
3648
|
-
},
|
|
3528
|
+
}, Ht = (e) => {
|
|
3649
3529
|
switch (e) {
|
|
3650
3530
|
case "Venta":
|
|
3651
3531
|
return "primary";
|
|
@@ -3658,252 +3538,695 @@ const At = [
|
|
|
3658
3538
|
default:
|
|
3659
3539
|
return "secondary";
|
|
3660
3540
|
}
|
|
3661
|
-
},
|
|
3541
|
+
}, lo = ({
|
|
3662
3542
|
property: e,
|
|
3663
|
-
className:
|
|
3664
|
-
onLike:
|
|
3543
|
+
className: r,
|
|
3544
|
+
onLike: t,
|
|
3665
3545
|
onImageClick: o,
|
|
3666
3546
|
showLikeButton: n = !0,
|
|
3667
|
-
showNavigation:
|
|
3547
|
+
showNavigation: a = !0
|
|
3668
3548
|
}) => {
|
|
3669
|
-
const [
|
|
3549
|
+
const [i, c] = oe(0), [l, d] = oe(!1), g = () => {
|
|
3670
3550
|
c(
|
|
3671
3551
|
(w) => w === e.images.length - 1 ? 0 : w + 1
|
|
3672
3552
|
);
|
|
3673
|
-
},
|
|
3553
|
+
}, m = () => {
|
|
3674
3554
|
c(
|
|
3675
3555
|
(w) => w === 0 ? e.images.length - 1 : w - 1
|
|
3676
3556
|
);
|
|
3677
|
-
},
|
|
3557
|
+
}, y = (w) => {
|
|
3678
3558
|
w.preventDefault(), w.stopPropagation();
|
|
3679
|
-
const
|
|
3680
|
-
|
|
3681
|
-
},
|
|
3682
|
-
w.preventDefault(), w.stopPropagation(), o?.(
|
|
3683
|
-
},
|
|
3559
|
+
const N = !l;
|
|
3560
|
+
d(N), t?.(e.id, N);
|
|
3561
|
+
}, z = (w) => {
|
|
3562
|
+
w.preventDefault(), w.stopPropagation(), o?.(i, e.id);
|
|
3563
|
+
}, k = (w, N) => !w || !N ? "Price not available" : `$${w.toLocaleString()} ${N}`, S = h(
|
|
3684
3564
|
"relative overflow-hidden bg-card rounded-2xl shadow-md transition-all duration-300 ease-out cursor-pointer hover:-translate-y-1 hover:shadow-xl",
|
|
3685
|
-
|
|
3686
|
-
),
|
|
3565
|
+
r
|
|
3566
|
+
), R = h("relative overflow-hidden"), A = h(
|
|
3687
3567
|
"w-full h-full object-cover transition-transform duration-300 hover:scale-105"
|
|
3688
|
-
),
|
|
3568
|
+
), _ = h("absolute top-4 left-4 flex flex-wrap gap-1 z-10"), F = h(
|
|
3689
3569
|
"px-2 py-1 rounded-lg text-xs font-medium uppercase tracking-wide"
|
|
3690
|
-
),
|
|
3570
|
+
), I = h(
|
|
3691
3571
|
"absolute top-4 right-4 z-10 bg-background/90 backdrop-blur-sm border border-border/20 text-foreground rounded-full w-10 h-10 flex items-center justify-center cursor-pointer transition-all duration-200 hover:bg-background hover:scale-105"
|
|
3692
|
-
),
|
|
3572
|
+
), j = h(
|
|
3693
3573
|
"absolute top-1/2 -translate-y-1/2 z-10 bg-background/90 backdrop-blur-sm border border-border/20 text-foreground w-10 h-10 rounded-full p-0 flex items-center justify-center cursor-pointer transition-all duration-200 hover:bg-background hover:scale-105"
|
|
3694
|
-
),
|
|
3574
|
+
), D = h(
|
|
3695
3575
|
"absolute bottom-4 left-1/2 -translate-x-1/2 flex gap-1 z-10"
|
|
3696
|
-
),
|
|
3576
|
+
), G = h(
|
|
3697
3577
|
"w-2 h-2 rounded-full border-none cursor-pointer transition-all duration-200 hover:scale-120"
|
|
3698
|
-
),
|
|
3578
|
+
), b = h("p-6"), T = h(
|
|
3699
3579
|
"text-lg font-bold text-foreground mb-2 line-clamp-2 leading-tight"
|
|
3700
|
-
),
|
|
3580
|
+
), J = h("text-xl font-bold text-primary mb-2"), X = h("text-base text-muted-foreground mb-4"), H = h("flex items-center gap-4 mb-4"), B = h(
|
|
3701
3581
|
"flex items-center gap-1 text-sm text-muted-foreground"
|
|
3702
|
-
),
|
|
3703
|
-
/* @__PURE__ */
|
|
3704
|
-
/* @__PURE__ */
|
|
3582
|
+
), q = h("text-sm text-muted-foreground line-clamp-2"), $ = /* @__PURE__ */ x("div", { className: S, children: [
|
|
3583
|
+
/* @__PURE__ */ x("div", { className: h(R, "aspect-[4/3] bg-red-500"), children: [
|
|
3584
|
+
/* @__PURE__ */ s(
|
|
3705
3585
|
"img",
|
|
3706
3586
|
{
|
|
3707
|
-
src: e.images[
|
|
3587
|
+
src: e.images[i],
|
|
3708
3588
|
alt: e.title,
|
|
3709
|
-
className:
|
|
3710
|
-
onClick: o ?
|
|
3589
|
+
className: A,
|
|
3590
|
+
onClick: o ? z : void 0
|
|
3711
3591
|
}
|
|
3712
3592
|
),
|
|
3713
|
-
/* @__PURE__ */
|
|
3593
|
+
/* @__PURE__ */ s("div", { className: _, children: e.transactionTypes.map((w, N) => /* @__PURE__ */ s(
|
|
3714
3594
|
"span",
|
|
3715
3595
|
{
|
|
3716
|
-
className:
|
|
3717
|
-
|
|
3718
|
-
|
|
3596
|
+
className: h(
|
|
3597
|
+
F,
|
|
3598
|
+
Wt(w)
|
|
3719
3599
|
),
|
|
3720
3600
|
children: w.type
|
|
3721
3601
|
},
|
|
3722
|
-
|
|
3602
|
+
N
|
|
3723
3603
|
)) }),
|
|
3724
|
-
n && /* @__PURE__ */
|
|
3604
|
+
n && /* @__PURE__ */ s(
|
|
3725
3605
|
"button",
|
|
3726
3606
|
{
|
|
3727
|
-
onClick:
|
|
3728
|
-
className:
|
|
3729
|
-
"aria-label":
|
|
3730
|
-
children: /* @__PURE__ */
|
|
3731
|
-
|
|
3607
|
+
onClick: y,
|
|
3608
|
+
className: I,
|
|
3609
|
+
"aria-label": l ? "Unlike property" : "Like property",
|
|
3610
|
+
children: /* @__PURE__ */ s(
|
|
3611
|
+
Ft,
|
|
3732
3612
|
{
|
|
3733
3613
|
size: 20,
|
|
3734
|
-
fill:
|
|
3735
|
-
className:
|
|
3614
|
+
fill: l ? "currentColor" : "none",
|
|
3615
|
+
className: l ? "text-destructive" : ""
|
|
3736
3616
|
}
|
|
3737
3617
|
)
|
|
3738
3618
|
}
|
|
3739
3619
|
),
|
|
3740
|
-
|
|
3741
|
-
/* @__PURE__ */
|
|
3742
|
-
|
|
3620
|
+
a && e.images.length > 1 && /* @__PURE__ */ x(de, { children: [
|
|
3621
|
+
/* @__PURE__ */ s(
|
|
3622
|
+
K,
|
|
3743
3623
|
{
|
|
3744
3624
|
onClick: (w) => {
|
|
3745
|
-
w.preventDefault(), w.stopPropagation(),
|
|
3625
|
+
w.preventDefault(), w.stopPropagation(), m();
|
|
3746
3626
|
},
|
|
3747
|
-
className:
|
|
3627
|
+
className: h(j, "left-4"),
|
|
3748
3628
|
"aria-label": "Previous image",
|
|
3749
|
-
children: /* @__PURE__ */
|
|
3629
|
+
children: /* @__PURE__ */ s(jt, { size: 20 })
|
|
3750
3630
|
}
|
|
3751
3631
|
),
|
|
3752
|
-
/* @__PURE__ */
|
|
3753
|
-
|
|
3632
|
+
/* @__PURE__ */ s(
|
|
3633
|
+
K,
|
|
3754
3634
|
{
|
|
3755
3635
|
onClick: (w) => {
|
|
3756
|
-
w.preventDefault(), w.stopPropagation(),
|
|
3636
|
+
w.preventDefault(), w.stopPropagation(), g();
|
|
3757
3637
|
},
|
|
3758
|
-
className:
|
|
3638
|
+
className: h(j, "right-4"),
|
|
3759
3639
|
"aria-label": "Next image",
|
|
3760
|
-
children: /* @__PURE__ */
|
|
3640
|
+
children: /* @__PURE__ */ s(Vt, { size: 20 })
|
|
3761
3641
|
}
|
|
3762
3642
|
),
|
|
3763
|
-
/* @__PURE__ */
|
|
3643
|
+
/* @__PURE__ */ s("div", { className: D, children: e.images.map((w, N) => /* @__PURE__ */ s(
|
|
3764
3644
|
"button",
|
|
3765
3645
|
{
|
|
3766
|
-
className:
|
|
3767
|
-
|
|
3768
|
-
|
|
3646
|
+
className: h(
|
|
3647
|
+
G,
|
|
3648
|
+
N === i ? "bg-background" : "bg-background/50"
|
|
3769
3649
|
),
|
|
3770
|
-
onClick: (
|
|
3771
|
-
|
|
3650
|
+
onClick: (p) => {
|
|
3651
|
+
p.preventDefault(), p.stopPropagation(), c(N);
|
|
3772
3652
|
},
|
|
3773
|
-
"aria-label": `Go to image ${
|
|
3774
|
-
"aria-current":
|
|
3653
|
+
"aria-label": `Go to image ${N + 1}`,
|
|
3654
|
+
"aria-current": N === i
|
|
3775
3655
|
},
|
|
3776
|
-
|
|
3656
|
+
N
|
|
3777
3657
|
)) })
|
|
3778
3658
|
] })
|
|
3779
3659
|
] }),
|
|
3780
|
-
/* @__PURE__ */
|
|
3781
|
-
/* @__PURE__ */
|
|
3782
|
-
/* @__PURE__ */
|
|
3783
|
-
/* @__PURE__ */
|
|
3660
|
+
/* @__PURE__ */ x("div", { className: b, children: [
|
|
3661
|
+
/* @__PURE__ */ s("h3", { className: T, children: e.title }),
|
|
3662
|
+
/* @__PURE__ */ s("p", { className: J, children: k(e.price?.amount, e.price?.currency) }),
|
|
3663
|
+
/* @__PURE__ */ x("p", { className: X, children: [
|
|
3784
3664
|
e.location.city,
|
|
3785
3665
|
", ",
|
|
3786
3666
|
e.location.state
|
|
3787
3667
|
] }),
|
|
3788
|
-
/* @__PURE__ */
|
|
3789
|
-
/* @__PURE__ */
|
|
3790
|
-
/* @__PURE__ */
|
|
3791
|
-
/* @__PURE__ */
|
|
3668
|
+
/* @__PURE__ */ x("div", { className: H, children: [
|
|
3669
|
+
/* @__PURE__ */ x("div", { className: B, children: [
|
|
3670
|
+
/* @__PURE__ */ s(At, { size: 16 }),
|
|
3671
|
+
/* @__PURE__ */ s("span", { children: e.features.bedrooms })
|
|
3792
3672
|
] }),
|
|
3793
|
-
/* @__PURE__ */
|
|
3794
|
-
/* @__PURE__ */
|
|
3795
|
-
/* @__PURE__ */
|
|
3673
|
+
/* @__PURE__ */ x("div", { className: B, children: [
|
|
3674
|
+
/* @__PURE__ */ s(Mt, { size: 16 }),
|
|
3675
|
+
/* @__PURE__ */ s("span", { children: e.features.bathrooms })
|
|
3796
3676
|
] }),
|
|
3797
|
-
/* @__PURE__ */
|
|
3798
|
-
/* @__PURE__ */
|
|
3799
|
-
/* @__PURE__ */
|
|
3677
|
+
/* @__PURE__ */ x("div", { className: B, children: [
|
|
3678
|
+
/* @__PURE__ */ s(Pt, { size: 16 }),
|
|
3679
|
+
/* @__PURE__ */ s("span", { children: e.features.parking })
|
|
3800
3680
|
] }),
|
|
3801
|
-
/* @__PURE__ */
|
|
3802
|
-
/* @__PURE__ */
|
|
3803
|
-
/* @__PURE__ */
|
|
3681
|
+
/* @__PURE__ */ x("div", { className: B, children: [
|
|
3682
|
+
/* @__PURE__ */ s(Bt, { size: 16 }),
|
|
3683
|
+
/* @__PURE__ */ x("span", { children: [
|
|
3804
3684
|
e.features.area,
|
|
3805
3685
|
" m²"
|
|
3806
3686
|
] })
|
|
3807
3687
|
] })
|
|
3808
3688
|
] }),
|
|
3809
|
-
e.amenities.length > 0 && /* @__PURE__ */
|
|
3689
|
+
e.amenities.length > 0 && /* @__PURE__ */ s("p", { className: q, children: e.amenities.join(", ") })
|
|
3810
3690
|
] })
|
|
3811
3691
|
] });
|
|
3812
|
-
return e.href ? /* @__PURE__ */
|
|
3813
|
-
},
|
|
3692
|
+
return e.href ? /* @__PURE__ */ s("a", { href: e.href, className: "no-underline text-inherit", children: $ }) : $;
|
|
3693
|
+
}, Ut = ke.forwardRef(
|
|
3814
3694
|
({
|
|
3815
3695
|
images: e,
|
|
3816
|
-
transactionType:
|
|
3817
|
-
totalPhotos:
|
|
3696
|
+
transactionType: r,
|
|
3697
|
+
totalPhotos: t,
|
|
3818
3698
|
onViewAllClick: o,
|
|
3819
3699
|
onImageClick: n,
|
|
3820
|
-
className:
|
|
3821
|
-
},
|
|
3822
|
-
const c = e.slice(0, 5)
|
|
3823
|
-
|
|
3824
|
-
const d = (p) => {
|
|
3825
|
-
n?.(p);
|
|
3700
|
+
className: a
|
|
3701
|
+
}, i) => {
|
|
3702
|
+
const c = e.slice(0, 5), l = (d) => {
|
|
3703
|
+
n?.(d);
|
|
3826
3704
|
};
|
|
3827
|
-
return /* @__PURE__ */
|
|
3705
|
+
return /* @__PURE__ */ x(
|
|
3828
3706
|
"div",
|
|
3829
3707
|
{
|
|
3830
|
-
ref:
|
|
3831
|
-
className:
|
|
3708
|
+
ref: i,
|
|
3709
|
+
className: h("w-full h-full grid grid-cols-2 gap-2", a),
|
|
3832
3710
|
children: [
|
|
3833
|
-
/* @__PURE__ */
|
|
3834
|
-
/* @__PURE__ */
|
|
3711
|
+
/* @__PURE__ */ s("div", { className: "relative col-span-1 row-span-2 rounded-2xl overflow-hidden group cursor-pointer", children: c[0] ? /* @__PURE__ */ x(de, { children: [
|
|
3712
|
+
/* @__PURE__ */ s(
|
|
3835
3713
|
"img",
|
|
3836
3714
|
{
|
|
3837
3715
|
src: c[0],
|
|
3838
3716
|
alt: "Property main view",
|
|
3839
3717
|
className: "w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",
|
|
3840
|
-
onClick: () =>
|
|
3718
|
+
onClick: () => l(0)
|
|
3841
3719
|
}
|
|
3842
3720
|
),
|
|
3843
|
-
|
|
3844
|
-
] }) : /* @__PURE__ */
|
|
3845
|
-
/* @__PURE__ */
|
|
3721
|
+
r && /* @__PURE__ */ s("div", { className: "absolute top-4 left-4 bg-white rounded-full px-4 py-2 shadow-md", children: /* @__PURE__ */ s("span", { className: "text-sm font-medium text-foreground", children: r }) })
|
|
3722
|
+
] }) : /* @__PURE__ */ s("div", { className: "w-full h-full bg-muted flex items-center justify-center", children: /* @__PURE__ */ s("span", { className: "text-muted-foreground", children: "No image" }) }) }),
|
|
3723
|
+
/* @__PURE__ */ s("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: c[1] ? /* @__PURE__ */ s(
|
|
3846
3724
|
"img",
|
|
3847
3725
|
{
|
|
3848
3726
|
src: c[1],
|
|
3849
3727
|
alt: "Property view 2",
|
|
3850
3728
|
className: "w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",
|
|
3851
|
-
onClick: () =>
|
|
3729
|
+
onClick: () => l(1)
|
|
3852
3730
|
}
|
|
3853
|
-
) : /* @__PURE__ */
|
|
3854
|
-
/* @__PURE__ */
|
|
3731
|
+
) : /* @__PURE__ */ s("div", { className: "w-full h-full bg-muted" }) }),
|
|
3732
|
+
/* @__PURE__ */ s("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: c[2] ? /* @__PURE__ */ s(
|
|
3855
3733
|
"img",
|
|
3856
3734
|
{
|
|
3857
3735
|
src: c[2],
|
|
3858
3736
|
alt: "Property view 3",
|
|
3859
3737
|
className: "w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",
|
|
3860
|
-
onClick: () =>
|
|
3738
|
+
onClick: () => l(2)
|
|
3861
3739
|
}
|
|
3862
|
-
) : /* @__PURE__ */
|
|
3863
|
-
/* @__PURE__ */
|
|
3740
|
+
) : /* @__PURE__ */ s("div", { className: "w-full h-full bg-muted" }) }),
|
|
3741
|
+
/* @__PURE__ */ s("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: c[3] ? /* @__PURE__ */ s(
|
|
3864
3742
|
"img",
|
|
3865
3743
|
{
|
|
3866
3744
|
src: c[3],
|
|
3867
3745
|
alt: "Property view 4",
|
|
3868
3746
|
className: "w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",
|
|
3869
|
-
onClick: () =>
|
|
3747
|
+
onClick: () => l(3)
|
|
3870
3748
|
}
|
|
3871
|
-
) : /* @__PURE__ */
|
|
3872
|
-
/* @__PURE__ */
|
|
3873
|
-
/* @__PURE__ */
|
|
3749
|
+
) : /* @__PURE__ */ s("div", { className: "w-full h-full bg-muted" }) }),
|
|
3750
|
+
/* @__PURE__ */ s("div", { className: "relative col-span-1 row-span-1 rounded-2xl overflow-hidden group cursor-pointer", children: c[4] ? /* @__PURE__ */ x(de, { children: [
|
|
3751
|
+
/* @__PURE__ */ s(
|
|
3874
3752
|
"img",
|
|
3875
3753
|
{
|
|
3876
3754
|
src: c[4],
|
|
3877
3755
|
alt: "Property view 5",
|
|
3878
3756
|
className: "w-full h-full object-cover transition-transform duration-300 group-hover:scale-105",
|
|
3879
|
-
onClick: () =>
|
|
3757
|
+
onClick: () => l(4)
|
|
3880
3758
|
}
|
|
3881
3759
|
),
|
|
3882
|
-
|
|
3760
|
+
t && t > 5 && /* @__PURE__ */ s("div", { className: "absolute bottom-4 right-4", children: /* @__PURE__ */ x(
|
|
3883
3761
|
"button",
|
|
3884
3762
|
{
|
|
3885
|
-
onClick: (
|
|
3886
|
-
|
|
3763
|
+
onClick: (d) => {
|
|
3764
|
+
d.stopPropagation(), o?.();
|
|
3887
3765
|
},
|
|
3888
3766
|
className: "flex items-center gap-2 bg-white rounded-full px-4 py-2 shadow-md hover:shadow-lg transition-all duration-200 hover:scale-105",
|
|
3889
3767
|
children: [
|
|
3890
|
-
/* @__PURE__ */
|
|
3891
|
-
/* @__PURE__ */
|
|
3768
|
+
/* @__PURE__ */ s(Dt, { className: "w-4 h-4 text-foreground" }),
|
|
3769
|
+
/* @__PURE__ */ x("span", { className: "text-sm font-medium text-foreground", children: [
|
|
3892
3770
|
"Ver las ",
|
|
3893
|
-
|
|
3771
|
+
t,
|
|
3894
3772
|
" fotos"
|
|
3895
3773
|
] })
|
|
3896
3774
|
]
|
|
3897
3775
|
}
|
|
3898
3776
|
) })
|
|
3899
|
-
] }) : /* @__PURE__ */
|
|
3777
|
+
] }) : /* @__PURE__ */ s("div", { className: "w-full h-full bg-muted" }) })
|
|
3900
3778
|
]
|
|
3901
3779
|
}
|
|
3902
3780
|
);
|
|
3903
3781
|
}
|
|
3904
3782
|
);
|
|
3905
|
-
|
|
3906
|
-
const
|
|
3783
|
+
Ut.displayName = "PropertyGallery";
|
|
3784
|
+
const nr = C.forwardRef(({ title: e, description: r, className: t }, o) => /* @__PURE__ */ x("div", { ref: o, className: h("space-y-1.5", t), children: [
|
|
3785
|
+
/* @__PURE__ */ s(P, { variant: "heading", size: "2xl", className: "font-bold", children: e }),
|
|
3786
|
+
r && /* @__PURE__ */ s(P, { variant: "body", size: "base", className: "text-muted-foreground", children: r })
|
|
3787
|
+
] }));
|
|
3788
|
+
nr.displayName = "EntityDirectoryHeader";
|
|
3789
|
+
const sr = C.forwardRef(
|
|
3790
|
+
({
|
|
3791
|
+
entity: e,
|
|
3792
|
+
categories: r,
|
|
3793
|
+
showIcon: t = !0,
|
|
3794
|
+
showCategoryBadge: o = !0,
|
|
3795
|
+
showMetric: n = !0,
|
|
3796
|
+
compact: a = !1,
|
|
3797
|
+
className: i
|
|
3798
|
+
}, c) => {
|
|
3799
|
+
const l = r?.find((y) => y.id === e.categoryId), d = !!e.onClick, g = () => {
|
|
3800
|
+
e.onClick && !e.disabled && e.onClick();
|
|
3801
|
+
}, m = (y) => {
|
|
3802
|
+
d && (y.key === "Enter" || y.key === " ") && (y.preventDefault(), g());
|
|
3803
|
+
};
|
|
3804
|
+
return /* @__PURE__ */ x(
|
|
3805
|
+
"div",
|
|
3806
|
+
{
|
|
3807
|
+
ref: c,
|
|
3808
|
+
role: d ? "button" : "listitem",
|
|
3809
|
+
tabIndex: d && !e.disabled ? 0 : void 0,
|
|
3810
|
+
onClick: g,
|
|
3811
|
+
onKeyDown: m,
|
|
3812
|
+
"aria-disabled": e.disabled,
|
|
3813
|
+
className: h(
|
|
3814
|
+
"flex items-center gap-4 border-b border-border transition-colors",
|
|
3815
|
+
a ? "p-3" : "p-4",
|
|
3816
|
+
d && !e.disabled && "cursor-pointer hover:bg-accent/50 focus-visible:bg-accent/50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
3817
|
+
e.disabled && "opacity-50 cursor-not-allowed",
|
|
3818
|
+
i
|
|
3819
|
+
),
|
|
3820
|
+
children: [
|
|
3821
|
+
t && /* @__PURE__ */ s(
|
|
3822
|
+
"div",
|
|
3823
|
+
{
|
|
3824
|
+
className: h(
|
|
3825
|
+
"flex-shrink-0 flex items-center justify-center bg-muted rounded-full",
|
|
3826
|
+
a ? "w-8 h-8 text-lg" : "w-10 h-10 text-xl"
|
|
3827
|
+
),
|
|
3828
|
+
"aria-hidden": "true",
|
|
3829
|
+
children: typeof e.icon == "string" ? /* @__PURE__ */ s("span", { children: e.icon }) : e.icon ? e.icon : /* @__PURE__ */ s("span", { className: "text-muted-foreground", children: "•" })
|
|
3830
|
+
}
|
|
3831
|
+
),
|
|
3832
|
+
/* @__PURE__ */ x("div", { className: "flex-1 min-w-0", children: [
|
|
3833
|
+
/* @__PURE__ */ s(
|
|
3834
|
+
P,
|
|
3835
|
+
{
|
|
3836
|
+
variant: "body",
|
|
3837
|
+
size: a ? "sm" : "base",
|
|
3838
|
+
className: "font-semibold truncate",
|
|
3839
|
+
children: e.title
|
|
3840
|
+
}
|
|
3841
|
+
),
|
|
3842
|
+
e.subtitle && /* @__PURE__ */ s(
|
|
3843
|
+
P,
|
|
3844
|
+
{
|
|
3845
|
+
variant: "body",
|
|
3846
|
+
size: a ? "xs" : "sm",
|
|
3847
|
+
className: "text-muted-foreground truncate",
|
|
3848
|
+
children: e.subtitle
|
|
3849
|
+
}
|
|
3850
|
+
)
|
|
3851
|
+
] }),
|
|
3852
|
+
o && l && /* @__PURE__ */ s(
|
|
3853
|
+
ze,
|
|
3854
|
+
{
|
|
3855
|
+
variant: "secondary",
|
|
3856
|
+
size: a ? "sm" : "default",
|
|
3857
|
+
className: "flex-shrink-0 bg-foreground text-background hover:bg-foreground/90",
|
|
3858
|
+
"aria-label": `Category: ${l.label}`,
|
|
3859
|
+
children: l.label
|
|
3860
|
+
}
|
|
3861
|
+
),
|
|
3862
|
+
n && e.metricValue && /* @__PURE__ */ x("div", { className: "flex-shrink-0 text-right min-w-[4rem]", children: [
|
|
3863
|
+
/* @__PURE__ */ s(
|
|
3864
|
+
P,
|
|
3865
|
+
{
|
|
3866
|
+
variant: "body",
|
|
3867
|
+
size: a ? "sm" : "base",
|
|
3868
|
+
className: "font-medium",
|
|
3869
|
+
children: e.metricValue
|
|
3870
|
+
}
|
|
3871
|
+
),
|
|
3872
|
+
e.metricLabel && /* @__PURE__ */ s(P, { variant: "body", size: "xs", className: "text-muted-foreground", children: e.metricLabel })
|
|
3873
|
+
] })
|
|
3874
|
+
]
|
|
3875
|
+
}
|
|
3876
|
+
);
|
|
3877
|
+
}
|
|
3878
|
+
);
|
|
3879
|
+
sr.displayName = "EntityDirectoryListItem";
|
|
3880
|
+
const ar = C.forwardRef(({ columns: e, showIcon: r, sort: t, onSortChange: o, compact: n, className: a }, i) => {
|
|
3881
|
+
const c = (m) => {
|
|
3882
|
+
if (!o) return;
|
|
3883
|
+
const y = t?.column === m && t?.direction === "asc" ? "desc" : "asc";
|
|
3884
|
+
o({
|
|
3885
|
+
column: m,
|
|
3886
|
+
direction: y
|
|
3887
|
+
});
|
|
3888
|
+
}, l = (m) => {
|
|
3889
|
+
c(m);
|
|
3890
|
+
}, d = (m, y) => {
|
|
3891
|
+
(m.key === "Enter" || m.key === " ") && (m.preventDefault(), c(y));
|
|
3892
|
+
}, g = (m) => m !== "title" && m !== "metric" ? null : !t || t.column !== m ? /* @__PURE__ */ s("span", { className: "ml-1 text-muted-foreground opacity-50", "aria-hidden": "true", children: "⇅" }) : /* @__PURE__ */ s("span", { className: "ml-1", "aria-hidden": "true", children: t.direction === "asc" ? "↑" : "↓" });
|
|
3893
|
+
return /* @__PURE__ */ x(
|
|
3894
|
+
"div",
|
|
3895
|
+
{
|
|
3896
|
+
ref: i,
|
|
3897
|
+
role: "row",
|
|
3898
|
+
className: h(
|
|
3899
|
+
"flex items-center gap-4 bg-background border-b border-border font-medium text-sm text-muted-foreground",
|
|
3900
|
+
n ? "px-3 py-2" : "px-4 py-3",
|
|
3901
|
+
a
|
|
3902
|
+
),
|
|
3903
|
+
children: [
|
|
3904
|
+
r && /* @__PURE__ */ s("div", { className: n ? "w-8" : "w-10" }),
|
|
3905
|
+
e.map((m) => {
|
|
3906
|
+
const y = m.sortable && (m.key === "title" || m.key === "metric"), z = t?.column === m.key;
|
|
3907
|
+
return /* @__PURE__ */ x(
|
|
3908
|
+
"div",
|
|
3909
|
+
{
|
|
3910
|
+
role: "columnheader",
|
|
3911
|
+
"aria-sort": z ? t?.direction === "asc" ? "ascending" : "descending" : void 0,
|
|
3912
|
+
className: h(
|
|
3913
|
+
m.key === "title" && "flex-1",
|
|
3914
|
+
m.key === "category" && "w-40",
|
|
3915
|
+
m.key === "metric" && "w-24 text-right",
|
|
3916
|
+
m.align === "center" && "text-center",
|
|
3917
|
+
m.align === "right" && "text-right",
|
|
3918
|
+
y && "cursor-pointer hover:text-foreground transition-colors select-none",
|
|
3919
|
+
z && "text-foreground"
|
|
3920
|
+
),
|
|
3921
|
+
style: m.width ? { width: m.width } : void 0,
|
|
3922
|
+
onClick: y && (m.key === "title" || m.key === "metric") ? () => l(m.key) : void 0,
|
|
3923
|
+
tabIndex: y ? 0 : void 0,
|
|
3924
|
+
onKeyDown: y && (m.key === "title" || m.key === "metric") ? (k) => d(k, m.key) : void 0,
|
|
3925
|
+
children: [
|
|
3926
|
+
m.label,
|
|
3927
|
+
y && g(m.key)
|
|
3928
|
+
]
|
|
3929
|
+
},
|
|
3930
|
+
m.key
|
|
3931
|
+
);
|
|
3932
|
+
})
|
|
3933
|
+
]
|
|
3934
|
+
}
|
|
3935
|
+
);
|
|
3936
|
+
});
|
|
3937
|
+
ar.displayName = "EntityDirectoryTableHeader";
|
|
3938
|
+
const ir = C.forwardRef(
|
|
3939
|
+
({
|
|
3940
|
+
entities: e,
|
|
3941
|
+
categories: r,
|
|
3942
|
+
showIcons: t = !0,
|
|
3943
|
+
showCategoryBadges: o = !0,
|
|
3944
|
+
showMetric: n = !0,
|
|
3945
|
+
metricLabel: a,
|
|
3946
|
+
sortable: i = !1,
|
|
3947
|
+
sort: c,
|
|
3948
|
+
onSortChange: l,
|
|
3949
|
+
compact: d = !1,
|
|
3950
|
+
renderItem: g,
|
|
3951
|
+
className: m
|
|
3952
|
+
}, y) => {
|
|
3953
|
+
const z = [
|
|
3954
|
+
{
|
|
3955
|
+
key: "title",
|
|
3956
|
+
label: a ? "Nombre" : "Name",
|
|
3957
|
+
sortable: i
|
|
3958
|
+
},
|
|
3959
|
+
...o ? [{ key: "category", label: "Categoría", sortable: !1 }] : [],
|
|
3960
|
+
...n && a ? [
|
|
3961
|
+
{
|
|
3962
|
+
key: "metric",
|
|
3963
|
+
label: a,
|
|
3964
|
+
sortable: i,
|
|
3965
|
+
align: "right"
|
|
3966
|
+
}
|
|
3967
|
+
] : []
|
|
3968
|
+
];
|
|
3969
|
+
return /* @__PURE__ */ x(
|
|
3970
|
+
"div",
|
|
3971
|
+
{
|
|
3972
|
+
ref: y,
|
|
3973
|
+
role: "table",
|
|
3974
|
+
"aria-label": "Entity directory",
|
|
3975
|
+
className: h("border border-border rounded-lg overflow-hidden", m),
|
|
3976
|
+
children: [
|
|
3977
|
+
/* @__PURE__ */ s(
|
|
3978
|
+
ar,
|
|
3979
|
+
{
|
|
3980
|
+
columns: z,
|
|
3981
|
+
showIcon: t,
|
|
3982
|
+
sort: c,
|
|
3983
|
+
onSortChange: l,
|
|
3984
|
+
compact: d
|
|
3985
|
+
}
|
|
3986
|
+
),
|
|
3987
|
+
/* @__PURE__ */ s("div", { role: "rowgroup", children: e.map(
|
|
3988
|
+
(k) => g ? /* @__PURE__ */ s(C.Fragment, { children: g(k) }, k.id) : /* @__PURE__ */ s(
|
|
3989
|
+
sr,
|
|
3990
|
+
{
|
|
3991
|
+
entity: k,
|
|
3992
|
+
categories: r,
|
|
3993
|
+
showIcon: t,
|
|
3994
|
+
showCategoryBadge: o,
|
|
3995
|
+
showMetric: n,
|
|
3996
|
+
compact: d
|
|
3997
|
+
},
|
|
3998
|
+
k.id
|
|
3999
|
+
)
|
|
4000
|
+
) })
|
|
4001
|
+
]
|
|
4002
|
+
}
|
|
4003
|
+
);
|
|
4004
|
+
}
|
|
4005
|
+
);
|
|
4006
|
+
ir.displayName = "EntityDirectoryList";
|
|
4007
|
+
const lr = C.forwardRef(({ message: e = "No entities found", icon: r, action: t, className: o }, n) => /* @__PURE__ */ x(
|
|
4008
|
+
"div",
|
|
4009
|
+
{
|
|
4010
|
+
ref: n,
|
|
4011
|
+
role: "status",
|
|
4012
|
+
"aria-live": "polite",
|
|
4013
|
+
className: h(
|
|
4014
|
+
"flex flex-col items-center justify-center py-12 px-4 text-center",
|
|
4015
|
+
o
|
|
4016
|
+
),
|
|
4017
|
+
children: [
|
|
4018
|
+
r && /* @__PURE__ */ s("div", { className: "mb-4 text-4xl opacity-50", "aria-hidden": "true", children: r }),
|
|
4019
|
+
/* @__PURE__ */ s(P, { variant: "body", size: "lg", className: "text-muted-foreground mb-4", children: e }),
|
|
4020
|
+
t && /* @__PURE__ */ s(K, { variant: "outline", onClick: t.onClick, children: t.label })
|
|
4021
|
+
]
|
|
4022
|
+
}
|
|
4023
|
+
));
|
|
4024
|
+
lr.displayName = "EntityDirectoryEmptyState";
|
|
4025
|
+
const cr = C.forwardRef(({ error: e, onRetry: r, className: t }, o) => {
|
|
4026
|
+
const n = typeof e == "string" ? e : e.message;
|
|
4027
|
+
return /* @__PURE__ */ x(
|
|
4028
|
+
"div",
|
|
4029
|
+
{
|
|
4030
|
+
ref: o,
|
|
4031
|
+
role: "alert",
|
|
4032
|
+
"aria-live": "assertive",
|
|
4033
|
+
className: h(
|
|
4034
|
+
"flex flex-col items-center justify-center py-12 px-4 text-center",
|
|
4035
|
+
t
|
|
4036
|
+
),
|
|
4037
|
+
children: [
|
|
4038
|
+
/* @__PURE__ */ s("div", { className: "mb-4 text-4xl", "aria-hidden": "true", children: "⚠️" }),
|
|
4039
|
+
/* @__PURE__ */ s(P, { variant: "body", size: "lg", className: "text-destructive mb-2 font-semibold", children: "Error" }),
|
|
4040
|
+
/* @__PURE__ */ s(P, { variant: "body", size: "base", className: "text-muted-foreground mb-4", children: n }),
|
|
4041
|
+
r && /* @__PURE__ */ s(K, { variant: "outline", onClick: r, children: "Try Again" })
|
|
4042
|
+
]
|
|
4043
|
+
}
|
|
4044
|
+
);
|
|
4045
|
+
});
|
|
4046
|
+
cr.displayName = "EntityDirectoryErrorState";
|
|
4047
|
+
const dr = C.forwardRef(({ rows: e = 5, className: r }, t) => /* @__PURE__ */ x(
|
|
4048
|
+
"div",
|
|
4049
|
+
{
|
|
4050
|
+
ref: t,
|
|
4051
|
+
role: "status",
|
|
4052
|
+
"aria-live": "polite",
|
|
4053
|
+
"aria-label": "Loading entities",
|
|
4054
|
+
className: h("space-y-3", r),
|
|
4055
|
+
children: [
|
|
4056
|
+
Array.from({ length: e }).map((o, n) => /* @__PURE__ */ x(
|
|
4057
|
+
"div",
|
|
4058
|
+
{
|
|
4059
|
+
className: "flex items-center gap-4 p-4 border border-border rounded-lg animate-pulse",
|
|
4060
|
+
children: [
|
|
4061
|
+
/* @__PURE__ */ s("div", { className: "w-10 h-10 bg-muted rounded-full flex-shrink-0" }),
|
|
4062
|
+
/* @__PURE__ */ x("div", { className: "flex-1 space-y-2", children: [
|
|
4063
|
+
/* @__PURE__ */ s("div", { className: "h-4 bg-muted rounded w-1/3" }),
|
|
4064
|
+
/* @__PURE__ */ s("div", { className: "h-3 bg-muted rounded w-1/2" })
|
|
4065
|
+
] }),
|
|
4066
|
+
/* @__PURE__ */ s("div", { className: "h-6 bg-muted rounded-full w-24 flex-shrink-0" }),
|
|
4067
|
+
/* @__PURE__ */ s("div", { className: "h-4 bg-muted rounded w-16 flex-shrink-0" })
|
|
4068
|
+
]
|
|
4069
|
+
},
|
|
4070
|
+
n
|
|
4071
|
+
)),
|
|
4072
|
+
/* @__PURE__ */ s("span", { className: "sr-only", children: "Loading..." })
|
|
4073
|
+
]
|
|
4074
|
+
}
|
|
4075
|
+
));
|
|
4076
|
+
dr.displayName = "EntityDirectoryLoadingState";
|
|
4077
|
+
const mr = C.forwardRef(({ value: e, onChange: r, placeholder: t = "Search entities...", className: o }, n) => /* @__PURE__ */ x("div", { className: h("relative", o), children: [
|
|
4078
|
+
/* @__PURE__ */ s("div", { className: "absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none", children: /* @__PURE__ */ s(
|
|
4079
|
+
"svg",
|
|
4080
|
+
{
|
|
4081
|
+
className: "w-4 h-4 text-muted-foreground",
|
|
4082
|
+
"aria-hidden": "true",
|
|
4083
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4084
|
+
fill: "none",
|
|
4085
|
+
viewBox: "0 0 20 20",
|
|
4086
|
+
children: /* @__PURE__ */ s(
|
|
4087
|
+
"path",
|
|
4088
|
+
{
|
|
4089
|
+
stroke: "currentColor",
|
|
4090
|
+
strokeLinecap: "round",
|
|
4091
|
+
strokeLinejoin: "round",
|
|
4092
|
+
strokeWidth: "2",
|
|
4093
|
+
d: "m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"
|
|
4094
|
+
}
|
|
4095
|
+
)
|
|
4096
|
+
}
|
|
4097
|
+
) }),
|
|
4098
|
+
/* @__PURE__ */ s(
|
|
4099
|
+
"input",
|
|
4100
|
+
{
|
|
4101
|
+
ref: n,
|
|
4102
|
+
type: "search",
|
|
4103
|
+
value: e,
|
|
4104
|
+
onChange: (a) => r(a.target.value),
|
|
4105
|
+
placeholder: t,
|
|
4106
|
+
className: h(
|
|
4107
|
+
"block w-full pl-10 pr-3 py-2 border border-input rounded-md",
|
|
4108
|
+
"bg-background text-foreground placeholder:text-muted-foreground",
|
|
4109
|
+
"focus:outline-none focus:ring-2 focus:ring-ring focus:border-transparent",
|
|
4110
|
+
"transition-colors"
|
|
4111
|
+
),
|
|
4112
|
+
"aria-label": "Search entities"
|
|
4113
|
+
}
|
|
4114
|
+
),
|
|
4115
|
+
e && /* @__PURE__ */ s(
|
|
4116
|
+
"button",
|
|
4117
|
+
{
|
|
4118
|
+
type: "button",
|
|
4119
|
+
onClick: () => r(""),
|
|
4120
|
+
className: "absolute inset-y-0 right-0 flex items-center pr-3 text-muted-foreground hover:text-foreground",
|
|
4121
|
+
"aria-label": "Clear search",
|
|
4122
|
+
children: /* @__PURE__ */ s(
|
|
4123
|
+
"svg",
|
|
4124
|
+
{
|
|
4125
|
+
className: "w-4 h-4",
|
|
4126
|
+
fill: "none",
|
|
4127
|
+
stroke: "currentColor",
|
|
4128
|
+
viewBox: "0 0 24 24",
|
|
4129
|
+
children: /* @__PURE__ */ s(
|
|
4130
|
+
"path",
|
|
4131
|
+
{
|
|
4132
|
+
strokeLinecap: "round",
|
|
4133
|
+
strokeLinejoin: "round",
|
|
4134
|
+
strokeWidth: 2,
|
|
4135
|
+
d: "M6 18L18 6M6 6l12 12"
|
|
4136
|
+
}
|
|
4137
|
+
)
|
|
4138
|
+
}
|
|
4139
|
+
)
|
|
4140
|
+
}
|
|
4141
|
+
)
|
|
4142
|
+
] }));
|
|
4143
|
+
mr.displayName = "EntityDirectorySearchFilter";
|
|
4144
|
+
const Ot = C.forwardRef(
|
|
4145
|
+
({
|
|
4146
|
+
entities: e,
|
|
4147
|
+
categories: r,
|
|
4148
|
+
title: t,
|
|
4149
|
+
description: o,
|
|
4150
|
+
activeCategory: n,
|
|
4151
|
+
onCategoryChange: a,
|
|
4152
|
+
showCategoryCount: i,
|
|
4153
|
+
getCategoryCount: c,
|
|
4154
|
+
enableSearch: l = !1,
|
|
4155
|
+
searchQuery: d = "",
|
|
4156
|
+
onSearchChange: g,
|
|
4157
|
+
searchPlaceholder: m,
|
|
4158
|
+
sortable: y = !1,
|
|
4159
|
+
sort: z,
|
|
4160
|
+
onSortChange: k,
|
|
4161
|
+
showIcons: S = !0,
|
|
4162
|
+
showCategoryBadges: R = !0,
|
|
4163
|
+
showMetric: A = !0,
|
|
4164
|
+
metricLabel: _,
|
|
4165
|
+
compact: F = !1,
|
|
4166
|
+
loading: I = !1,
|
|
4167
|
+
error: j,
|
|
4168
|
+
emptyMessage: D,
|
|
4169
|
+
onRetry: G,
|
|
4170
|
+
emptyState: b,
|
|
4171
|
+
errorState: T,
|
|
4172
|
+
loadingState: J,
|
|
4173
|
+
renderItem: X,
|
|
4174
|
+
className: H,
|
|
4175
|
+
style: B
|
|
4176
|
+
}, q) => {
|
|
4177
|
+
const $ = r && r.length > 0, w = !I && !j && e.length === 0, N = !I && !!j;
|
|
4178
|
+
return /* @__PURE__ */ x(
|
|
4179
|
+
"div",
|
|
4180
|
+
{
|
|
4181
|
+
ref: q,
|
|
4182
|
+
className: h("space-y-6", H),
|
|
4183
|
+
style: B,
|
|
4184
|
+
children: [
|
|
4185
|
+
/* @__PURE__ */ s(nr, { title: t, description: o }),
|
|
4186
|
+
$ && a && /* @__PURE__ */ s(
|
|
4187
|
+
tr,
|
|
4188
|
+
{
|
|
4189
|
+
categories: r,
|
|
4190
|
+
activeCategory: n,
|
|
4191
|
+
onCategoryChange: a,
|
|
4192
|
+
showCount: i,
|
|
4193
|
+
getCategoryCount: c
|
|
4194
|
+
}
|
|
4195
|
+
),
|
|
4196
|
+
l && g && /* @__PURE__ */ s(
|
|
4197
|
+
mr,
|
|
4198
|
+
{
|
|
4199
|
+
value: d,
|
|
4200
|
+
onChange: g,
|
|
4201
|
+
placeholder: m
|
|
4202
|
+
}
|
|
4203
|
+
),
|
|
4204
|
+
I && (J || /* @__PURE__ */ s(dr, {})),
|
|
4205
|
+
N && (T || /* @__PURE__ */ s(cr, { error: j, onRetry: G })),
|
|
4206
|
+
w && (b || /* @__PURE__ */ s(lr, { message: D })),
|
|
4207
|
+
!I && !N && !w && /* @__PURE__ */ s(
|
|
4208
|
+
ir,
|
|
4209
|
+
{
|
|
4210
|
+
entities: e,
|
|
4211
|
+
categories: r,
|
|
4212
|
+
showIcons: S,
|
|
4213
|
+
showCategoryBadges: R,
|
|
4214
|
+
showMetric: A,
|
|
4215
|
+
metricLabel: _,
|
|
4216
|
+
sortable: y,
|
|
4217
|
+
sort: z,
|
|
4218
|
+
onSortChange: k,
|
|
4219
|
+
compact: F,
|
|
4220
|
+
renderItem: X
|
|
4221
|
+
}
|
|
4222
|
+
)
|
|
4223
|
+
]
|
|
4224
|
+
}
|
|
4225
|
+
);
|
|
4226
|
+
}
|
|
4227
|
+
);
|
|
4228
|
+
Ot.displayName = "EntityDirectory";
|
|
4229
|
+
const qt = (e) => {
|
|
3907
4230
|
switch (e) {
|
|
3908
4231
|
case "sm":
|
|
3909
4232
|
return "p-4";
|
|
@@ -3914,32 +4237,32 @@ const Ot = (e) => {
|
|
|
3914
4237
|
default:
|
|
3915
4238
|
return "p-0";
|
|
3916
4239
|
}
|
|
3917
|
-
},
|
|
4240
|
+
}, Se = ({
|
|
3918
4241
|
children: e,
|
|
3919
|
-
header:
|
|
3920
|
-
sidebar:
|
|
4242
|
+
header: r,
|
|
4243
|
+
sidebar: t,
|
|
3921
4244
|
footer: o,
|
|
3922
4245
|
padding: n = "md"
|
|
3923
4246
|
}) => {
|
|
3924
|
-
const
|
|
4247
|
+
const a = h("min-h-screen flex flex-col"), i = h("bg-card border-b border-border z-10"), c = h("flex flex-1"), l = h("w-70 bg-card border-r border-border p-6"), d = h("flex-1 flex flex-col"), g = h(
|
|
3925
4248
|
"flex-1 mx-auto w-full max-w-7xl",
|
|
3926
|
-
|
|
4249
|
+
qt(n)
|
|
3927
4250
|
);
|
|
3928
|
-
return /* @__PURE__ */
|
|
3929
|
-
|
|
3930
|
-
/* @__PURE__ */
|
|
3931
|
-
|
|
3932
|
-
/* @__PURE__ */
|
|
4251
|
+
return /* @__PURE__ */ x("div", { className: a, children: [
|
|
4252
|
+
r && /* @__PURE__ */ s("header", { className: i, children: r }),
|
|
4253
|
+
/* @__PURE__ */ x("div", { className: c, children: [
|
|
4254
|
+
t && /* @__PURE__ */ s("aside", { className: l, children: t }),
|
|
4255
|
+
/* @__PURE__ */ s("div", { className: d, children: /* @__PURE__ */ s("main", { className: g, children: e }) })
|
|
3933
4256
|
] }),
|
|
3934
|
-
o && /* @__PURE__ */
|
|
4257
|
+
o && /* @__PURE__ */ s("footer", { className: "bg-card border-t border-border mt-auto", children: o })
|
|
3935
4258
|
] });
|
|
3936
|
-
},
|
|
3937
|
-
/* @__PURE__ */
|
|
3938
|
-
|
|
3939
|
-
|
|
4259
|
+
}, co = ({ children: e, header: r, sidebar: t }) => /* @__PURE__ */ s(Se, { header: r, sidebar: t, padding: "lg", children: /* @__PURE__ */ s("div", { className: "max-w-screen-2xl", children: e }) }), mo = ({ children: e, title: r, subtitle: t }) => /* @__PURE__ */ s(Se, { padding: "lg", children: /* @__PURE__ */ x("div", { className: "max-w-md mx-auto", children: [
|
|
4260
|
+
/* @__PURE__ */ x("div", { className: "text-center mb-8", children: [
|
|
4261
|
+
r && /* @__PURE__ */ s(P, { variant: "h2", className: "mb-2", children: r }),
|
|
4262
|
+
t && /* @__PURE__ */ s(P, { variant: "body", color: "muted", children: t })
|
|
3940
4263
|
] }),
|
|
3941
4264
|
e
|
|
3942
|
-
] }) }),
|
|
4265
|
+
] }) }), uo = ({ children: e, header: r, footer: t }) => /* @__PURE__ */ s(Se, { header: r, footer: t, padding: "none", children: e }), Zt = {
|
|
3943
4266
|
name: "light",
|
|
3944
4267
|
colors: {
|
|
3945
4268
|
primary: "#007bff",
|
|
@@ -4005,7 +4328,7 @@ const Ot = (e) => {
|
|
|
4005
4328
|
large: "0 10px 20px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.10)",
|
|
4006
4329
|
xl: "0 15px 25px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.05)"
|
|
4007
4330
|
}
|
|
4008
|
-
},
|
|
4331
|
+
}, Kt = {
|
|
4009
4332
|
name: "dark",
|
|
4010
4333
|
colors: {
|
|
4011
4334
|
primary: "#0d6efd",
|
|
@@ -4071,7 +4394,7 @@ const Ot = (e) => {
|
|
|
4071
4394
|
large: "0 10px 20px rgba(0, 0, 0, 0.4), 0 3px 6px rgba(0, 0, 0, 0.3)",
|
|
4072
4395
|
xl: "0 15px 25px rgba(0, 0, 0, 0.4), 0 5px 10px rgba(0, 0, 0, 0.3)"
|
|
4073
4396
|
}
|
|
4074
|
-
},
|
|
4397
|
+
}, Qt = {
|
|
4075
4398
|
name: "corporate",
|
|
4076
4399
|
colors: {
|
|
4077
4400
|
primary: "#1a365d",
|
|
@@ -4137,7 +4460,7 @@ const Ot = (e) => {
|
|
|
4137
4460
|
large: "0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05)",
|
|
4138
4461
|
xl: "0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04)"
|
|
4139
4462
|
}
|
|
4140
|
-
},
|
|
4463
|
+
}, Jt = {
|
|
4141
4464
|
name: "minimal",
|
|
4142
4465
|
colors: {
|
|
4143
4466
|
primary: "#000000",
|
|
@@ -4203,29 +4526,27 @@ const Ot = (e) => {
|
|
|
4203
4526
|
large: "none",
|
|
4204
4527
|
xl: "none"
|
|
4205
4528
|
}
|
|
4206
|
-
},
|
|
4207
|
-
light:
|
|
4208
|
-
dark:
|
|
4209
|
-
corporate:
|
|
4210
|
-
minimal:
|
|
4211
|
-
},
|
|
4212
|
-
Q.map((e) => e.name);
|
|
4213
|
-
Q.map((e) => e.colors);
|
|
4529
|
+
}, be = {
|
|
4530
|
+
light: Zt,
|
|
4531
|
+
dark: Kt,
|
|
4532
|
+
corporate: Qt,
|
|
4533
|
+
minimal: Jt
|
|
4534
|
+
}, Xt = Ce(), Yt = Ce(), eo = Ce(), Q = pr(be.light).on(Xt, (e, r) => be[r] || e).on(Yt, (e, r) => r).on(eo, () => be.light), fo = Q.map((e) => e.name), go = Q.map((e) => e.colors);
|
|
4214
4535
|
Q.map((e) => e.shapes);
|
|
4215
4536
|
Q.map((e) => e.typography);
|
|
4216
4537
|
Q.map((e) => e.spacing);
|
|
4217
4538
|
Q.map((e) => e.shadows);
|
|
4218
|
-
const
|
|
4219
|
-
const e =
|
|
4539
|
+
const ur = ke.createContext(null), po = () => {
|
|
4540
|
+
const e = fr(ur);
|
|
4220
4541
|
if (!e)
|
|
4221
4542
|
throw new Error("useTheme must be used within a ThemeProvider");
|
|
4222
4543
|
return e;
|
|
4223
|
-
},
|
|
4224
|
-
const
|
|
4225
|
-
theme:
|
|
4544
|
+
}, ho = ({ children: e }) => {
|
|
4545
|
+
const t = {
|
|
4546
|
+
theme: gr(Q)
|
|
4226
4547
|
};
|
|
4227
|
-
return /* @__PURE__ */
|
|
4228
|
-
},
|
|
4548
|
+
return /* @__PURE__ */ s(ur.Provider, { value: t, children: e });
|
|
4549
|
+
}, bo = {
|
|
4229
4550
|
// Spacing scale (in rem)
|
|
4230
4551
|
spacing: {
|
|
4231
4552
|
xs: "0.25rem",
|
|
@@ -4320,7 +4641,7 @@ const tr = xe.createContext(null), Kt = () => {
|
|
|
4320
4641
|
out: "ease-out",
|
|
4321
4642
|
inOut: "ease-in-out"
|
|
4322
4643
|
}
|
|
4323
|
-
},
|
|
4644
|
+
}, xo = {
|
|
4324
4645
|
button: {
|
|
4325
4646
|
size: {
|
|
4326
4647
|
sm: "h-9 px-3 text-sm",
|
|
@@ -4351,22 +4672,22 @@ const tr = xe.createContext(null), Kt = () => {
|
|
|
4351
4672
|
outlined: "bg-card text-card-foreground border-2"
|
|
4352
4673
|
}
|
|
4353
4674
|
}
|
|
4354
|
-
},
|
|
4675
|
+
}, yo = {
|
|
4355
4676
|
sm: "640px",
|
|
4356
4677
|
md: "768px",
|
|
4357
4678
|
lg: "1024px",
|
|
4358
4679
|
xl: "1280px",
|
|
4359
4680
|
"2xl": "1536px"
|
|
4360
|
-
},
|
|
4681
|
+
}, vo = {
|
|
4361
4682
|
/**
|
|
4362
4683
|
* Get a color value with opacity support
|
|
4363
4684
|
*/
|
|
4364
|
-
withOpacity: (e,
|
|
4685
|
+
withOpacity: (e, r) => r !== void 0 ? `hsl(var(${e}) / ${r})` : `hsl(var(${e}))`,
|
|
4365
4686
|
/**
|
|
4366
4687
|
* Get a color from the design system palette
|
|
4367
4688
|
*/
|
|
4368
4689
|
get: (e) => `hsl(var(--${e}))`
|
|
4369
|
-
},
|
|
4690
|
+
}, wo = {
|
|
4370
4691
|
/**
|
|
4371
4692
|
* Generate a unique ID for form elements and their labels
|
|
4372
4693
|
*/
|
|
@@ -4385,7 +4706,7 @@ const tr = xe.createContext(null), Kt = () => {
|
|
|
4385
4706
|
only: "absolute w-px h-px p-0 -m-px overflow-hidden whitespace-nowrap border-0",
|
|
4386
4707
|
not: "not-sr-only"
|
|
4387
4708
|
}
|
|
4388
|
-
},
|
|
4709
|
+
}, ko = {
|
|
4389
4710
|
icon: {
|
|
4390
4711
|
xs: "w-3 h-3",
|
|
4391
4712
|
sm: "w-4 h-4",
|
|
@@ -4400,7 +4721,7 @@ const tr = xe.createContext(null), Kt = () => {
|
|
|
4400
4721
|
lg: "w-12 h-12",
|
|
4401
4722
|
xl: "w-16 h-16"
|
|
4402
4723
|
}
|
|
4403
|
-
},
|
|
4724
|
+
}, Co = {
|
|
4404
4725
|
/**
|
|
4405
4726
|
* Fade animations
|
|
4406
4727
|
*/
|
|
@@ -4424,7 +4745,7 @@ const tr = xe.createContext(null), Kt = () => {
|
|
|
4424
4745
|
in: "animate-in scale-in duration-200",
|
|
4425
4746
|
out: "animate-out scale-out duration-200"
|
|
4426
4747
|
}
|
|
4427
|
-
},
|
|
4748
|
+
}, No = {
|
|
4428
4749
|
/**
|
|
4429
4750
|
* Container utilities
|
|
4430
4751
|
*/
|
|
@@ -4458,7 +4779,7 @@ const tr = xe.createContext(null), Kt = () => {
|
|
|
4458
4779
|
col: "flex flex-col",
|
|
4459
4780
|
colCenter: "flex flex-col items-center justify-center"
|
|
4460
4781
|
}
|
|
4461
|
-
},
|
|
4782
|
+
}, zo = {
|
|
4462
4783
|
/**
|
|
4463
4784
|
* Check if dark mode is active
|
|
4464
4785
|
*/
|
|
@@ -4475,64 +4796,82 @@ const tr = xe.createContext(null), Kt = () => {
|
|
|
4475
4796
|
set: (e) => {
|
|
4476
4797
|
typeof window > "u" || document.documentElement.classList.toggle("dark", e === "dark");
|
|
4477
4798
|
}
|
|
4478
|
-
},
|
|
4799
|
+
}, So = {
|
|
4479
4800
|
/**
|
|
4480
4801
|
* Debounce function for performance optimization
|
|
4481
4802
|
*/
|
|
4482
|
-
debounce: (e,
|
|
4483
|
-
let
|
|
4803
|
+
debounce: (e, r) => {
|
|
4804
|
+
let t;
|
|
4484
4805
|
return (...o) => {
|
|
4485
|
-
clearTimeout(
|
|
4806
|
+
clearTimeout(t), t = setTimeout(() => e(...o), r);
|
|
4486
4807
|
};
|
|
4487
4808
|
},
|
|
4488
4809
|
/**
|
|
4489
4810
|
* Throttle function for performance optimization
|
|
4490
4811
|
*/
|
|
4491
|
-
throttle: (e,
|
|
4492
|
-
let
|
|
4812
|
+
throttle: (e, r) => {
|
|
4813
|
+
let t;
|
|
4493
4814
|
return (...o) => {
|
|
4494
|
-
|
|
4815
|
+
t || (e(...o), t = !0, setTimeout(() => t = !1, r));
|
|
4495
4816
|
};
|
|
4496
4817
|
}
|
|
4497
|
-
}
|
|
4818
|
+
}, Eo = ({ href: e, children: r }) => /* @__PURE__ */ s(
|
|
4819
|
+
"a",
|
|
4820
|
+
{
|
|
4821
|
+
href: e,
|
|
4822
|
+
className: "sr-only focus:not-sr-only focus:absolute focus:top-4 focus:left-4 focus:z-50 focus:px-4 focus:py-2 focus:bg-primary focus:text-white focus:rounded",
|
|
4823
|
+
children: r
|
|
4824
|
+
}
|
|
4825
|
+
);
|
|
4498
4826
|
export {
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4827
|
+
Q as $theme,
|
|
4828
|
+
go as $themeColors,
|
|
4829
|
+
fo as $themeName,
|
|
4830
|
+
mo as AuthLayout,
|
|
4831
|
+
K as Button,
|
|
4832
|
+
ft as Card,
|
|
4833
|
+
tr as CategoryChips,
|
|
4834
|
+
ze as Chip,
|
|
4835
|
+
so as CompoundCard,
|
|
4836
|
+
ao as ConfirmModal,
|
|
4837
|
+
co as DashboardLayout,
|
|
4838
|
+
Ot as EntityDirectory,
|
|
4839
|
+
uo as MarketingLayout,
|
|
4840
|
+
ht as Modal,
|
|
4841
|
+
bt as ModalWithActions,
|
|
4842
|
+
Se as PageLayout,
|
|
4843
|
+
lo as PropertyCard,
|
|
4844
|
+
Ut as PropertyGallery,
|
|
4845
|
+
Eo as SkipLink,
|
|
4846
|
+
P as Text,
|
|
4847
|
+
ho as ThemeProvider,
|
|
4848
|
+
wo as a11y,
|
|
4849
|
+
wo as accessibilityUtils,
|
|
4850
|
+
Co as animationUtils,
|
|
4851
|
+
Co as animations,
|
|
4852
|
+
yo as breakpoints,
|
|
4853
|
+
h as cn,
|
|
4854
|
+
vo as colorUtils,
|
|
4855
|
+
vo as colors,
|
|
4856
|
+
ko as componentSizes,
|
|
4857
|
+
xo as componentVariants,
|
|
4858
|
+
vt as countEntitiesByCategory,
|
|
4859
|
+
bo as designSystem,
|
|
4860
|
+
xt as filterEntitiesByCategory,
|
|
4861
|
+
No as layout,
|
|
4862
|
+
No as layoutUtils,
|
|
4863
|
+
So as performance,
|
|
4864
|
+
So as performanceUtils,
|
|
4865
|
+
eo as resetTheme,
|
|
4866
|
+
yo as responsiveBreakpoints,
|
|
4867
|
+
Yt as setCustomTheme,
|
|
4868
|
+
Xt as setTheme,
|
|
4869
|
+
ko as sizes,
|
|
4870
|
+
yt as sortEntities,
|
|
4871
|
+
zo as theme,
|
|
4872
|
+
zo as themeUtils,
|
|
4873
|
+
io as useEntityFilter,
|
|
4874
|
+
po as useTheme,
|
|
4875
|
+
xo as variants
|
|
4537
4876
|
};
|
|
4538
4877
|
//# sourceMappingURL=design-system.es.js.map
|