@antoniobenincasa/ui 0.0.3 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +50 -0
- package/dist/index.es.js +1089 -602
- package/dist/index.es.js.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +17 -9
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import * as A from "react";
|
|
2
|
+
import _ from "react";
|
|
3
|
+
import "react-dom";
|
|
4
|
+
var pe = { exports: {} }, ie = {};
|
|
4
5
|
/**
|
|
5
6
|
* @license React
|
|
6
7
|
* react-jsx-runtime.production.js
|
|
@@ -10,29 +11,29 @@ var le = { exports: {} }, te = {};
|
|
|
10
11
|
* This source code is licensed under the MIT license found in the
|
|
11
12
|
* LICENSE file in the root directory of this source tree.
|
|
12
13
|
*/
|
|
13
|
-
var
|
|
14
|
-
function
|
|
15
|
-
if (
|
|
16
|
-
|
|
14
|
+
var Oe;
|
|
15
|
+
function vr() {
|
|
16
|
+
if (Oe) return ie;
|
|
17
|
+
Oe = 1;
|
|
17
18
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
18
|
-
function r(o,
|
|
19
|
+
function r(o, n, s) {
|
|
19
20
|
var i = null;
|
|
20
|
-
if (
|
|
21
|
-
|
|
22
|
-
for (var
|
|
23
|
-
|
|
24
|
-
} else
|
|
25
|
-
return
|
|
21
|
+
if (s !== void 0 && (i = "" + s), n.key !== void 0 && (i = "" + n.key), "key" in n) {
|
|
22
|
+
s = {};
|
|
23
|
+
for (var l in n)
|
|
24
|
+
l !== "key" && (s[l] = n[l]);
|
|
25
|
+
} else s = n;
|
|
26
|
+
return n = s.ref, {
|
|
26
27
|
$$typeof: e,
|
|
27
28
|
type: o,
|
|
28
29
|
key: i,
|
|
29
|
-
ref:
|
|
30
|
-
props:
|
|
30
|
+
ref: n !== void 0 ? n : null,
|
|
31
|
+
props: s
|
|
31
32
|
};
|
|
32
33
|
}
|
|
33
|
-
return
|
|
34
|
+
return ie.Fragment = t, ie.jsx = r, ie.jsxs = r, ie;
|
|
34
35
|
}
|
|
35
|
-
var
|
|
36
|
+
var le = {};
|
|
36
37
|
/**
|
|
37
38
|
* @license React
|
|
38
39
|
* react-jsx-runtime.development.js
|
|
@@ -42,457 +43,466 @@ var oe = {};
|
|
|
42
43
|
* This source code is licensed under the MIT license found in the
|
|
43
44
|
* LICENSE file in the root directory of this source tree.
|
|
44
45
|
*/
|
|
45
|
-
var
|
|
46
|
-
function
|
|
47
|
-
return
|
|
48
|
-
function e(
|
|
49
|
-
if (
|
|
50
|
-
if (typeof
|
|
51
|
-
return
|
|
52
|
-
if (typeof
|
|
53
|
-
switch (
|
|
54
|
-
case
|
|
46
|
+
var Ne;
|
|
47
|
+
function xr() {
|
|
48
|
+
return Ne || (Ne = 1, process.env.NODE_ENV !== "production" && function() {
|
|
49
|
+
function e(a) {
|
|
50
|
+
if (a == null) return null;
|
|
51
|
+
if (typeof a == "function")
|
|
52
|
+
return a.$$typeof === fe ? null : a.displayName || a.name || null;
|
|
53
|
+
if (typeof a == "string") return a;
|
|
54
|
+
switch (a) {
|
|
55
|
+
case R:
|
|
55
56
|
return "Fragment";
|
|
56
|
-
case
|
|
57
|
+
case L:
|
|
57
58
|
return "Profiler";
|
|
58
|
-
case
|
|
59
|
+
case V:
|
|
59
60
|
return "StrictMode";
|
|
60
|
-
case
|
|
61
|
+
case j:
|
|
61
62
|
return "Suspense";
|
|
62
|
-
case
|
|
63
|
+
case $:
|
|
63
64
|
return "SuspenseList";
|
|
64
|
-
case
|
|
65
|
+
case ue:
|
|
65
66
|
return "Activity";
|
|
66
67
|
}
|
|
67
|
-
if (typeof
|
|
68
|
-
switch (typeof
|
|
68
|
+
if (typeof a == "object")
|
|
69
|
+
switch (typeof a.tag == "number" && console.error(
|
|
69
70
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
70
|
-
),
|
|
71
|
-
case
|
|
71
|
+
), a.$$typeof) {
|
|
72
|
+
case E:
|
|
72
73
|
return "Portal";
|
|
73
|
-
case
|
|
74
|
-
return
|
|
75
|
-
case
|
|
76
|
-
return (
|
|
77
|
-
case
|
|
78
|
-
var b =
|
|
79
|
-
return
|
|
74
|
+
case k:
|
|
75
|
+
return a.displayName || "Context";
|
|
76
|
+
case M:
|
|
77
|
+
return (a._context.displayName || "Context") + ".Consumer";
|
|
78
|
+
case S:
|
|
79
|
+
var b = a.render;
|
|
80
|
+
return a = a.displayName, a || (a = b.displayName || b.name || "", a = a !== "" ? "ForwardRef(" + a + ")" : "ForwardRef"), a;
|
|
80
81
|
case p:
|
|
81
|
-
return b =
|
|
82
|
-
case
|
|
83
|
-
b =
|
|
82
|
+
return b = a.displayName || null, b !== null ? b : e(a.type) || "Memo";
|
|
83
|
+
case I:
|
|
84
|
+
b = a._payload, a = a._init;
|
|
84
85
|
try {
|
|
85
|
-
return e(
|
|
86
|
+
return e(a(b));
|
|
86
87
|
} catch {
|
|
87
88
|
}
|
|
88
89
|
}
|
|
89
90
|
return null;
|
|
90
91
|
}
|
|
91
|
-
function t(
|
|
92
|
-
return "" +
|
|
92
|
+
function t(a) {
|
|
93
|
+
return "" + a;
|
|
93
94
|
}
|
|
94
|
-
function r(
|
|
95
|
+
function r(a) {
|
|
95
96
|
try {
|
|
96
|
-
t(
|
|
97
|
+
t(a);
|
|
97
98
|
var b = !1;
|
|
98
99
|
} catch {
|
|
99
100
|
b = !0;
|
|
100
101
|
}
|
|
101
102
|
if (b) {
|
|
102
103
|
b = console;
|
|
103
|
-
var
|
|
104
|
-
return
|
|
104
|
+
var y = b.error, w = typeof Symbol == "function" && Symbol.toStringTag && a[Symbol.toStringTag] || a.constructor.name || "Object";
|
|
105
|
+
return y.call(
|
|
105
106
|
b,
|
|
106
107
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
107
|
-
|
|
108
|
-
), t(
|
|
108
|
+
w
|
|
109
|
+
), t(a);
|
|
109
110
|
}
|
|
110
111
|
}
|
|
111
|
-
function o(
|
|
112
|
-
if (
|
|
113
|
-
if (typeof
|
|
112
|
+
function o(a) {
|
|
113
|
+
if (a === R) return "<>";
|
|
114
|
+
if (typeof a == "object" && a !== null && a.$$typeof === I)
|
|
114
115
|
return "<...>";
|
|
115
116
|
try {
|
|
116
|
-
var b = e(
|
|
117
|
+
var b = e(a);
|
|
117
118
|
return b ? "<" + b + ">" : "<...>";
|
|
118
119
|
} catch {
|
|
119
120
|
return "<...>";
|
|
120
121
|
}
|
|
121
122
|
}
|
|
122
|
-
function
|
|
123
|
-
var
|
|
124
|
-
return
|
|
123
|
+
function n() {
|
|
124
|
+
var a = q.A;
|
|
125
|
+
return a === null ? null : a.getOwner();
|
|
125
126
|
}
|
|
126
|
-
function
|
|
127
|
+
function s() {
|
|
127
128
|
return Error("react-stack-top-frame");
|
|
128
129
|
}
|
|
129
|
-
function i(
|
|
130
|
-
if (
|
|
131
|
-
var b = Object.getOwnPropertyDescriptor(
|
|
130
|
+
function i(a) {
|
|
131
|
+
if (oe.call(a, "key")) {
|
|
132
|
+
var b = Object.getOwnPropertyDescriptor(a, "key").get;
|
|
132
133
|
if (b && b.isReactWarning) return !1;
|
|
133
134
|
}
|
|
134
|
-
return
|
|
135
|
+
return a.key !== void 0;
|
|
135
136
|
}
|
|
136
|
-
function
|
|
137
|
-
function
|
|
138
|
-
|
|
137
|
+
function l(a, b) {
|
|
138
|
+
function y() {
|
|
139
|
+
D || (D = !0, console.error(
|
|
139
140
|
"%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)",
|
|
140
141
|
b
|
|
141
142
|
));
|
|
142
143
|
}
|
|
143
|
-
|
|
144
|
-
get:
|
|
144
|
+
y.isReactWarning = !0, Object.defineProperty(a, "key", {
|
|
145
|
+
get: y,
|
|
145
146
|
configurable: !0
|
|
146
147
|
});
|
|
147
148
|
}
|
|
148
|
-
function
|
|
149
|
-
var
|
|
150
|
-
return
|
|
149
|
+
function c() {
|
|
150
|
+
var a = e(this.type);
|
|
151
|
+
return W[a] || (W[a] = !0, console.error(
|
|
151
152
|
"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."
|
|
152
|
-
)),
|
|
153
|
+
)), a = this.props.ref, a !== void 0 ? a : null;
|
|
153
154
|
}
|
|
154
|
-
function f(
|
|
155
|
-
var v =
|
|
156
|
-
return
|
|
157
|
-
$$typeof:
|
|
158
|
-
type:
|
|
155
|
+
function f(a, b, y, w, Y, Q) {
|
|
156
|
+
var v = y.ref;
|
|
157
|
+
return a = {
|
|
158
|
+
$$typeof: N,
|
|
159
|
+
type: a,
|
|
159
160
|
key: b,
|
|
160
|
-
props:
|
|
161
|
-
_owner:
|
|
162
|
-
}, (v !== void 0 ? v : null) !== null ? Object.defineProperty(
|
|
161
|
+
props: y,
|
|
162
|
+
_owner: w
|
|
163
|
+
}, (v !== void 0 ? v : null) !== null ? Object.defineProperty(a, "ref", {
|
|
163
164
|
enumerable: !1,
|
|
164
|
-
get:
|
|
165
|
-
}) : Object.defineProperty(
|
|
165
|
+
get: c
|
|
166
|
+
}) : Object.defineProperty(a, "ref", { enumerable: !1, value: null }), a._store = {}, Object.defineProperty(a._store, "validated", {
|
|
166
167
|
configurable: !1,
|
|
167
168
|
enumerable: !1,
|
|
168
169
|
writable: !0,
|
|
169
170
|
value: 0
|
|
170
|
-
}), Object.defineProperty(
|
|
171
|
+
}), Object.defineProperty(a, "_debugInfo", {
|
|
171
172
|
configurable: !1,
|
|
172
173
|
enumerable: !1,
|
|
173
174
|
writable: !0,
|
|
174
175
|
value: null
|
|
175
|
-
}), Object.defineProperty(
|
|
176
|
+
}), Object.defineProperty(a, "_debugStack", {
|
|
176
177
|
configurable: !1,
|
|
177
178
|
enumerable: !1,
|
|
178
179
|
writable: !0,
|
|
179
|
-
value:
|
|
180
|
-
}), Object.defineProperty(
|
|
180
|
+
value: Y
|
|
181
|
+
}), Object.defineProperty(a, "_debugTask", {
|
|
181
182
|
configurable: !1,
|
|
182
183
|
enumerable: !1,
|
|
183
184
|
writable: !0,
|
|
184
|
-
value:
|
|
185
|
-
}), Object.freeze && (Object.freeze(
|
|
185
|
+
value: Q
|
|
186
|
+
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
|
186
187
|
}
|
|
187
|
-
function
|
|
188
|
+
function x(a, b, y, w, Y, Q) {
|
|
188
189
|
var v = b.children;
|
|
189
190
|
if (v !== void 0)
|
|
190
|
-
if (
|
|
191
|
-
if (
|
|
192
|
-
for (
|
|
193
|
-
|
|
191
|
+
if (w)
|
|
192
|
+
if (ne(v)) {
|
|
193
|
+
for (w = 0; w < v.length; w++)
|
|
194
|
+
g(v[w]);
|
|
194
195
|
Object.freeze && Object.freeze(v);
|
|
195
196
|
} else
|
|
196
197
|
console.error(
|
|
197
198
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
198
199
|
);
|
|
199
|
-
else
|
|
200
|
-
if (
|
|
201
|
-
v = e(
|
|
202
|
-
var
|
|
203
|
-
return
|
|
200
|
+
else g(v);
|
|
201
|
+
if (oe.call(b, "key")) {
|
|
202
|
+
v = e(a);
|
|
203
|
+
var U = Object.keys(b).filter(function(K) {
|
|
204
|
+
return K !== "key";
|
|
204
205
|
});
|
|
205
|
-
|
|
206
|
+
w = 0 < U.length ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}", ae[v + w] || (U = 0 < U.length ? "{" + U.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
206
207
|
`A props object containing a "key" prop is being spread into JSX:
|
|
207
208
|
let props = %s;
|
|
208
209
|
<%s {...props} />
|
|
209
210
|
React keys must be passed directly to JSX without using spread:
|
|
210
211
|
let props = %s;
|
|
211
212
|
<%s key={someKey} {...props} />`,
|
|
212
|
-
|
|
213
|
+
w,
|
|
213
214
|
v,
|
|
214
|
-
|
|
215
|
+
U,
|
|
215
216
|
v
|
|
216
|
-
),
|
|
217
|
+
), ae[v + w] = !0);
|
|
217
218
|
}
|
|
218
|
-
if (v = null,
|
|
219
|
-
|
|
220
|
-
for (var
|
|
221
|
-
|
|
222
|
-
} else
|
|
223
|
-
return v &&
|
|
224
|
-
|
|
225
|
-
typeof
|
|
219
|
+
if (v = null, y !== void 0 && (r(y), v = "" + y), i(b) && (r(b.key), v = "" + b.key), "key" in b) {
|
|
220
|
+
y = {};
|
|
221
|
+
for (var H in b)
|
|
222
|
+
H !== "key" && (y[H] = b[H]);
|
|
223
|
+
} else y = b;
|
|
224
|
+
return v && l(
|
|
225
|
+
y,
|
|
226
|
+
typeof a == "function" ? a.displayName || a.name || "Unknown" : a
|
|
226
227
|
), f(
|
|
227
|
-
|
|
228
|
+
a,
|
|
228
229
|
v,
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
230
|
+
y,
|
|
231
|
+
n(),
|
|
232
|
+
Y,
|
|
233
|
+
Q
|
|
233
234
|
);
|
|
234
235
|
}
|
|
235
|
-
function
|
|
236
|
-
|
|
236
|
+
function g(a) {
|
|
237
|
+
C(a) ? a._store && (a._store.validated = 1) : typeof a == "object" && a !== null && a.$$typeof === I && (a._payload.status === "fulfilled" ? C(a._payload.value) && a._payload.value._store && (a._payload.value._store.validated = 1) : a._store && (a._store.validated = 1));
|
|
237
238
|
}
|
|
238
|
-
function
|
|
239
|
-
return typeof
|
|
239
|
+
function C(a) {
|
|
240
|
+
return typeof a == "object" && a !== null && a.$$typeof === N;
|
|
240
241
|
}
|
|
241
|
-
var
|
|
242
|
+
var P = _, N = Symbol.for("react.transitional.element"), E = Symbol.for("react.portal"), R = Symbol.for("react.fragment"), V = Symbol.for("react.strict_mode"), L = Symbol.for("react.profiler"), M = Symbol.for("react.consumer"), k = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), $ = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), ue = Symbol.for("react.activity"), fe = Symbol.for("react.client.reference"), q = P.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, oe = Object.prototype.hasOwnProperty, ne = Array.isArray, G = console.createTask ? console.createTask : function() {
|
|
242
243
|
return null;
|
|
243
244
|
};
|
|
244
|
-
|
|
245
|
-
react_stack_bottom_frame: function(
|
|
246
|
-
return
|
|
245
|
+
P = {
|
|
246
|
+
react_stack_bottom_frame: function(a) {
|
|
247
|
+
return a();
|
|
247
248
|
}
|
|
248
249
|
};
|
|
249
|
-
var
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
)(),
|
|
253
|
-
|
|
254
|
-
var
|
|
255
|
-
return
|
|
256
|
-
|
|
250
|
+
var D, W = {}, m = P.react_stack_bottom_frame.bind(
|
|
251
|
+
P,
|
|
252
|
+
s
|
|
253
|
+
)(), se = G(o(s)), ae = {};
|
|
254
|
+
le.Fragment = R, le.jsx = function(a, b, y) {
|
|
255
|
+
var w = 1e4 > q.recentlyCreatedOwnerStacks++;
|
|
256
|
+
return x(
|
|
257
|
+
a,
|
|
257
258
|
b,
|
|
258
|
-
|
|
259
|
+
y,
|
|
259
260
|
!1,
|
|
260
|
-
|
|
261
|
-
|
|
261
|
+
w ? Error("react-stack-top-frame") : m,
|
|
262
|
+
w ? G(o(a)) : se
|
|
262
263
|
);
|
|
263
|
-
},
|
|
264
|
-
var
|
|
265
|
-
return
|
|
266
|
-
|
|
264
|
+
}, le.jsxs = function(a, b, y) {
|
|
265
|
+
var w = 1e4 > q.recentlyCreatedOwnerStacks++;
|
|
266
|
+
return x(
|
|
267
|
+
a,
|
|
267
268
|
b,
|
|
268
|
-
|
|
269
|
+
y,
|
|
269
270
|
!0,
|
|
270
|
-
|
|
271
|
-
|
|
271
|
+
w ? Error("react-stack-top-frame") : m,
|
|
272
|
+
w ? G(o(a)) : se
|
|
272
273
|
);
|
|
273
274
|
};
|
|
274
|
-
}()),
|
|
275
|
+
}()), le;
|
|
275
276
|
}
|
|
276
|
-
var
|
|
277
|
-
function
|
|
278
|
-
return
|
|
277
|
+
var je;
|
|
278
|
+
function kr() {
|
|
279
|
+
return je || (je = 1, process.env.NODE_ENV === "production" ? pe.exports = vr() : pe.exports = xr()), pe.exports;
|
|
279
280
|
}
|
|
280
|
-
var
|
|
281
|
-
function
|
|
281
|
+
var T = kr();
|
|
282
|
+
function Ie(e, t) {
|
|
282
283
|
if (typeof e == "function")
|
|
283
284
|
return e(t);
|
|
284
285
|
e != null && (e.current = t);
|
|
285
286
|
}
|
|
286
|
-
function
|
|
287
|
+
function wr(...e) {
|
|
287
288
|
return (t) => {
|
|
288
289
|
let r = !1;
|
|
289
|
-
const o = e.map((
|
|
290
|
-
const
|
|
291
|
-
return !r && typeof
|
|
290
|
+
const o = e.map((n) => {
|
|
291
|
+
const s = Ie(n, t);
|
|
292
|
+
return !r && typeof s == "function" && (r = !0), s;
|
|
292
293
|
});
|
|
293
294
|
if (r)
|
|
294
295
|
return () => {
|
|
295
|
-
for (let
|
|
296
|
-
const
|
|
297
|
-
typeof
|
|
296
|
+
for (let n = 0; n < o.length; n++) {
|
|
297
|
+
const s = o[n];
|
|
298
|
+
typeof s == "function" ? s() : Ie(e[n], null);
|
|
298
299
|
}
|
|
299
300
|
};
|
|
300
301
|
};
|
|
301
302
|
}
|
|
303
|
+
var _r = Symbol.for("react.lazy"), ye = A[" use ".trim().toString()];
|
|
304
|
+
function Cr(e) {
|
|
305
|
+
return typeof e == "object" && e !== null && "then" in e;
|
|
306
|
+
}
|
|
307
|
+
function qe(e) {
|
|
308
|
+
return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === _r && "_payload" in e && Cr(e._payload);
|
|
309
|
+
}
|
|
302
310
|
// @__NO_SIDE_EFFECTS__
|
|
303
|
-
function
|
|
304
|
-
const t = /* @__PURE__ */
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
311
|
+
function He(e) {
|
|
312
|
+
const t = /* @__PURE__ */ Rr(e), r = A.forwardRef((o, n) => {
|
|
313
|
+
let { children: s, ...i } = o;
|
|
314
|
+
qe(s) && typeof ye == "function" && (s = ye(s._payload));
|
|
315
|
+
const l = A.Children.toArray(s), c = l.find(Sr);
|
|
316
|
+
if (c) {
|
|
317
|
+
const f = c.props.children, x = l.map((g) => g === c ? A.Children.count(f) > 1 ? A.Children.only(null) : A.isValidElement(f) ? f.props.children : null : g);
|
|
318
|
+
return /* @__PURE__ */ T.jsx(t, { ...i, ref: n, children: A.isValidElement(f) ? A.cloneElement(f, void 0, x) : null });
|
|
309
319
|
}
|
|
310
|
-
return /* @__PURE__ */
|
|
320
|
+
return /* @__PURE__ */ T.jsx(t, { ...i, ref: n, children: s });
|
|
311
321
|
});
|
|
312
322
|
return r.displayName = `${e}.Slot`, r;
|
|
313
323
|
}
|
|
314
|
-
var
|
|
324
|
+
var Je = /* @__PURE__ */ He("Slot");
|
|
315
325
|
// @__NO_SIDE_EFFECTS__
|
|
316
|
-
function
|
|
317
|
-
const t =
|
|
318
|
-
|
|
319
|
-
if (
|
|
320
|
-
const i =
|
|
321
|
-
return
|
|
326
|
+
function Rr(e) {
|
|
327
|
+
const t = A.forwardRef((r, o) => {
|
|
328
|
+
let { children: n, ...s } = r;
|
|
329
|
+
if (qe(n) && typeof ye == "function" && (n = ye(n._payload)), A.isValidElement(n)) {
|
|
330
|
+
const i = Tr(n), l = Ar(s, n.props);
|
|
331
|
+
return n.type !== A.Fragment && (l.ref = o ? wr(o, i) : i), A.cloneElement(n, l);
|
|
322
332
|
}
|
|
323
|
-
return
|
|
333
|
+
return A.Children.count(n) > 1 ? A.Children.only(null) : null;
|
|
324
334
|
});
|
|
325
335
|
return t.displayName = `${e}.SlotClone`, t;
|
|
326
336
|
}
|
|
327
|
-
var
|
|
328
|
-
function
|
|
329
|
-
return
|
|
337
|
+
var Er = Symbol("radix.slottable");
|
|
338
|
+
function Sr(e) {
|
|
339
|
+
return A.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Er;
|
|
330
340
|
}
|
|
331
|
-
function
|
|
341
|
+
function Ar(e, t) {
|
|
332
342
|
const r = { ...t };
|
|
333
343
|
for (const o in t) {
|
|
334
|
-
const
|
|
335
|
-
/^on[A-Z]/.test(o) ?
|
|
336
|
-
const
|
|
337
|
-
return
|
|
338
|
-
} :
|
|
344
|
+
const n = e[o], s = t[o];
|
|
345
|
+
/^on[A-Z]/.test(o) ? n && s ? r[o] = (...l) => {
|
|
346
|
+
const c = s(...l);
|
|
347
|
+
return n(...l), c;
|
|
348
|
+
} : n && (r[o] = n) : o === "style" ? r[o] = { ...n, ...s } : o === "className" && (r[o] = [n, s].filter(Boolean).join(" "));
|
|
339
349
|
}
|
|
340
350
|
return { ...e, ...r };
|
|
341
351
|
}
|
|
342
|
-
function
|
|
352
|
+
function Tr(e) {
|
|
343
353
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
344
354
|
return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
|
|
345
355
|
}
|
|
346
|
-
function
|
|
356
|
+
function Xe(e) {
|
|
347
357
|
var t, r, o = "";
|
|
348
358
|
if (typeof e == "string" || typeof e == "number") o += e;
|
|
349
359
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
350
|
-
var
|
|
351
|
-
for (t = 0; t <
|
|
360
|
+
var n = e.length;
|
|
361
|
+
for (t = 0; t < n; t++) e[t] && (r = Xe(e[t])) && (o && (o += " "), o += r);
|
|
352
362
|
} else for (r in e) e[r] && (o && (o += " "), o += r);
|
|
353
363
|
return o;
|
|
354
364
|
}
|
|
355
|
-
function
|
|
356
|
-
for (var e, t, r = 0, o = "",
|
|
365
|
+
function Ze() {
|
|
366
|
+
for (var e, t, r = 0, o = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (t = Xe(e)) && (o && (o += " "), o += t);
|
|
357
367
|
return o;
|
|
358
368
|
}
|
|
359
|
-
const
|
|
369
|
+
const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, Pr = (e, t) => (r) => {
|
|
360
370
|
var o;
|
|
361
|
-
if (t?.variants == null) return
|
|
362
|
-
const { variants:
|
|
363
|
-
const
|
|
364
|
-
if (
|
|
365
|
-
const
|
|
366
|
-
return
|
|
367
|
-
}),
|
|
368
|
-
let [
|
|
369
|
-
return
|
|
370
|
-
}, {}),
|
|
371
|
-
let { class:
|
|
372
|
-
return Object.entries(
|
|
373
|
-
let [
|
|
374
|
-
return Array.isArray(
|
|
375
|
-
...
|
|
376
|
-
...
|
|
377
|
-
}[
|
|
378
|
-
...
|
|
379
|
-
...
|
|
380
|
-
}[
|
|
371
|
+
if (t?.variants == null) return ze(e, r?.class, r?.className);
|
|
372
|
+
const { variants: n, defaultVariants: s } = t, i = Object.keys(n).map((f) => {
|
|
373
|
+
const x = r?.[f], g = s?.[f];
|
|
374
|
+
if (x === null) return null;
|
|
375
|
+
const C = Ve(x) || Ve(g);
|
|
376
|
+
return n[f][C];
|
|
377
|
+
}), l = r && Object.entries(r).reduce((f, x) => {
|
|
378
|
+
let [g, C] = x;
|
|
379
|
+
return C === void 0 || (f[g] = C), f;
|
|
380
|
+
}, {}), c = t == null || (o = t.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((f, x) => {
|
|
381
|
+
let { class: g, className: C, ...P } = x;
|
|
382
|
+
return Object.entries(P).every((N) => {
|
|
383
|
+
let [E, R] = N;
|
|
384
|
+
return Array.isArray(R) ? R.includes({
|
|
385
|
+
...s,
|
|
386
|
+
...l
|
|
387
|
+
}[E]) : {
|
|
388
|
+
...s,
|
|
389
|
+
...l
|
|
390
|
+
}[E] === R;
|
|
381
391
|
}) ? [
|
|
382
392
|
...f,
|
|
383
|
-
|
|
384
|
-
|
|
393
|
+
g,
|
|
394
|
+
C
|
|
385
395
|
] : f;
|
|
386
396
|
}, []);
|
|
387
|
-
return
|
|
388
|
-
},
|
|
397
|
+
return ze(e, i, c, r?.class, r?.className);
|
|
398
|
+
}, Or = (e, t) => {
|
|
389
399
|
const r = new Array(e.length + t.length);
|
|
390
400
|
for (let o = 0; o < e.length; o++)
|
|
391
401
|
r[o] = e[o];
|
|
392
402
|
for (let o = 0; o < t.length; o++)
|
|
393
403
|
r[e.length + o] = t[o];
|
|
394
404
|
return r;
|
|
395
|
-
},
|
|
405
|
+
}, Nr = (e, t) => ({
|
|
396
406
|
classGroupId: e,
|
|
397
407
|
validator: t
|
|
398
|
-
}),
|
|
408
|
+
}), Qe = (e = /* @__PURE__ */ new Map(), t = null, r) => ({
|
|
399
409
|
nextPart: e,
|
|
400
410
|
validators: t,
|
|
401
411
|
classGroupId: r
|
|
402
|
-
}),
|
|
403
|
-
const t =
|
|
412
|
+
}), ve = "-", Fe = [], jr = "arbitrary..", Ir = (e) => {
|
|
413
|
+
const t = zr(e), {
|
|
404
414
|
conflictingClassGroups: r,
|
|
405
415
|
conflictingClassGroupModifiers: o
|
|
406
416
|
} = e;
|
|
407
417
|
return {
|
|
408
418
|
getClassGroupId: (i) => {
|
|
409
419
|
if (i.startsWith("[") && i.endsWith("]"))
|
|
410
|
-
return
|
|
411
|
-
const
|
|
412
|
-
return
|
|
420
|
+
return Vr(i);
|
|
421
|
+
const l = i.split(ve), c = l[0] === "" && l.length > 1 ? 1 : 0;
|
|
422
|
+
return Ke(l, c, t);
|
|
413
423
|
},
|
|
414
|
-
getConflictingClassGroupIds: (i,
|
|
415
|
-
if (
|
|
416
|
-
const
|
|
417
|
-
return
|
|
424
|
+
getConflictingClassGroupIds: (i, l) => {
|
|
425
|
+
if (l) {
|
|
426
|
+
const c = o[i], f = r[i];
|
|
427
|
+
return c ? f ? Or(f, c) : c : f || Fe;
|
|
418
428
|
}
|
|
419
|
-
return r[i] ||
|
|
429
|
+
return r[i] || Fe;
|
|
420
430
|
}
|
|
421
431
|
};
|
|
422
|
-
},
|
|
432
|
+
}, Ke = (e, t, r) => {
|
|
423
433
|
if (e.length - t === 0)
|
|
424
434
|
return r.classGroupId;
|
|
425
|
-
const
|
|
426
|
-
if (
|
|
427
|
-
const f =
|
|
435
|
+
const n = e[t], s = r.nextPart.get(n);
|
|
436
|
+
if (s) {
|
|
437
|
+
const f = Ke(e, t + 1, s);
|
|
428
438
|
if (f) return f;
|
|
429
439
|
}
|
|
430
440
|
const i = r.validators;
|
|
431
441
|
if (i === null)
|
|
432
442
|
return;
|
|
433
|
-
const
|
|
434
|
-
for (let f = 0; f <
|
|
435
|
-
const
|
|
436
|
-
if (
|
|
437
|
-
return
|
|
443
|
+
const l = t === 0 ? e.join(ve) : e.slice(t).join(ve), c = i.length;
|
|
444
|
+
for (let f = 0; f < c; f++) {
|
|
445
|
+
const x = i[f];
|
|
446
|
+
if (x.validator(l))
|
|
447
|
+
return x.classGroupId;
|
|
438
448
|
}
|
|
439
|
-
},
|
|
449
|
+
}, Vr = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
440
450
|
const t = e.slice(1, -1), r = t.indexOf(":"), o = t.slice(0, r);
|
|
441
|
-
return o ?
|
|
442
|
-
})(),
|
|
451
|
+
return o ? jr + o : void 0;
|
|
452
|
+
})(), zr = (e) => {
|
|
443
453
|
const {
|
|
444
454
|
theme: t,
|
|
445
455
|
classGroups: r
|
|
446
456
|
} = e;
|
|
447
|
-
return
|
|
448
|
-
},
|
|
449
|
-
const r =
|
|
457
|
+
return Fr(r, t);
|
|
458
|
+
}, Fr = (e, t) => {
|
|
459
|
+
const r = Qe();
|
|
450
460
|
for (const o in e) {
|
|
451
|
-
const
|
|
452
|
-
|
|
461
|
+
const n = e[o];
|
|
462
|
+
Ae(n, r, o, t);
|
|
453
463
|
}
|
|
454
464
|
return r;
|
|
455
|
-
},
|
|
456
|
-
const
|
|
457
|
-
for (let
|
|
458
|
-
const i = e[
|
|
459
|
-
|
|
465
|
+
}, Ae = (e, t, r, o) => {
|
|
466
|
+
const n = e.length;
|
|
467
|
+
for (let s = 0; s < n; s++) {
|
|
468
|
+
const i = e[s];
|
|
469
|
+
Mr(i, t, r, o);
|
|
460
470
|
}
|
|
461
|
-
},
|
|
471
|
+
}, Mr = (e, t, r, o) => {
|
|
462
472
|
if (typeof e == "string") {
|
|
463
|
-
|
|
473
|
+
Lr(e, t, r);
|
|
464
474
|
return;
|
|
465
475
|
}
|
|
466
476
|
if (typeof e == "function") {
|
|
467
|
-
|
|
477
|
+
$r(e, t, r, o);
|
|
468
478
|
return;
|
|
469
479
|
}
|
|
470
|
-
|
|
471
|
-
},
|
|
472
|
-
const o = e === "" ? t :
|
|
480
|
+
Dr(e, t, r, o);
|
|
481
|
+
}, Lr = (e, t, r) => {
|
|
482
|
+
const o = e === "" ? t : er(t, e);
|
|
473
483
|
o.classGroupId = r;
|
|
474
|
-
},
|
|
475
|
-
if (
|
|
476
|
-
|
|
484
|
+
}, $r = (e, t, r, o) => {
|
|
485
|
+
if (Gr(e)) {
|
|
486
|
+
Ae(e(o), t, r, o);
|
|
477
487
|
return;
|
|
478
488
|
}
|
|
479
|
-
t.validators === null && (t.validators = []), t.validators.push(
|
|
480
|
-
},
|
|
481
|
-
const
|
|
482
|
-
for (let i = 0; i <
|
|
483
|
-
const [
|
|
484
|
-
|
|
489
|
+
t.validators === null && (t.validators = []), t.validators.push(Nr(r, e));
|
|
490
|
+
}, Dr = (e, t, r, o) => {
|
|
491
|
+
const n = Object.entries(e), s = n.length;
|
|
492
|
+
for (let i = 0; i < s; i++) {
|
|
493
|
+
const [l, c] = n[i];
|
|
494
|
+
Ae(c, er(t, l), r, o);
|
|
485
495
|
}
|
|
486
|
-
},
|
|
496
|
+
}, er = (e, t) => {
|
|
487
497
|
let r = e;
|
|
488
|
-
const o = t.split(
|
|
489
|
-
for (let
|
|
490
|
-
const i = o[
|
|
491
|
-
let
|
|
492
|
-
|
|
498
|
+
const o = t.split(ve), n = o.length;
|
|
499
|
+
for (let s = 0; s < n; s++) {
|
|
500
|
+
const i = o[s];
|
|
501
|
+
let l = r.nextPart.get(i);
|
|
502
|
+
l || (l = Qe(), r.nextPart.set(i, l)), r = l;
|
|
493
503
|
}
|
|
494
504
|
return r;
|
|
495
|
-
},
|
|
505
|
+
}, Gr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Wr = (e) => {
|
|
496
506
|
if (e < 1)
|
|
497
507
|
return {
|
|
498
508
|
get: () => {
|
|
@@ -501,177 +511,177 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
501
511
|
}
|
|
502
512
|
};
|
|
503
513
|
let t = 0, r = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
|
|
504
|
-
const
|
|
505
|
-
r[
|
|
514
|
+
const n = (s, i) => {
|
|
515
|
+
r[s] = i, t++, t > e && (t = 0, o = r, r = /* @__PURE__ */ Object.create(null));
|
|
506
516
|
};
|
|
507
517
|
return {
|
|
508
|
-
get(
|
|
509
|
-
let i = r[
|
|
518
|
+
get(s) {
|
|
519
|
+
let i = r[s];
|
|
510
520
|
if (i !== void 0)
|
|
511
521
|
return i;
|
|
512
|
-
if ((i = o[
|
|
513
|
-
return s
|
|
522
|
+
if ((i = o[s]) !== void 0)
|
|
523
|
+
return n(s, i), i;
|
|
514
524
|
},
|
|
515
|
-
set(
|
|
516
|
-
|
|
525
|
+
set(s, i) {
|
|
526
|
+
s in r ? r[s] = i : n(s, i);
|
|
517
527
|
}
|
|
518
528
|
};
|
|
519
|
-
},
|
|
529
|
+
}, Ee = "!", Me = ":", Yr = [], Le = (e, t, r, o, n) => ({
|
|
520
530
|
modifiers: e,
|
|
521
531
|
hasImportantModifier: t,
|
|
522
532
|
baseClassName: r,
|
|
523
533
|
maybePostfixModifierPosition: o,
|
|
524
|
-
isExternal:
|
|
525
|
-
}),
|
|
534
|
+
isExternal: n
|
|
535
|
+
}), Ur = (e) => {
|
|
526
536
|
const {
|
|
527
537
|
prefix: t,
|
|
528
538
|
experimentalParseClassName: r
|
|
529
539
|
} = e;
|
|
530
|
-
let o = (
|
|
531
|
-
const
|
|
532
|
-
let i = 0,
|
|
533
|
-
const
|
|
534
|
-
for (let
|
|
535
|
-
const
|
|
536
|
-
if (i === 0 &&
|
|
537
|
-
if (
|
|
538
|
-
|
|
540
|
+
let o = (n) => {
|
|
541
|
+
const s = [];
|
|
542
|
+
let i = 0, l = 0, c = 0, f;
|
|
543
|
+
const x = n.length;
|
|
544
|
+
for (let E = 0; E < x; E++) {
|
|
545
|
+
const R = n[E];
|
|
546
|
+
if (i === 0 && l === 0) {
|
|
547
|
+
if (R === Me) {
|
|
548
|
+
s.push(n.slice(c, E)), c = E + 1;
|
|
539
549
|
continue;
|
|
540
550
|
}
|
|
541
|
-
if (
|
|
542
|
-
f =
|
|
551
|
+
if (R === "/") {
|
|
552
|
+
f = E;
|
|
543
553
|
continue;
|
|
544
554
|
}
|
|
545
555
|
}
|
|
546
|
-
|
|
556
|
+
R === "[" ? i++ : R === "]" ? i-- : R === "(" ? l++ : R === ")" && l--;
|
|
547
557
|
}
|
|
548
|
-
const
|
|
549
|
-
let
|
|
550
|
-
|
|
558
|
+
const g = s.length === 0 ? n : n.slice(c);
|
|
559
|
+
let C = g, P = !1;
|
|
560
|
+
g.endsWith(Ee) ? (C = g.slice(0, -1), P = !0) : (
|
|
551
561
|
/**
|
|
552
562
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
553
563
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
554
564
|
*/
|
|
555
|
-
|
|
565
|
+
g.startsWith(Ee) && (C = g.slice(1), P = !0)
|
|
556
566
|
);
|
|
557
|
-
const
|
|
558
|
-
return
|
|
567
|
+
const N = f && f > c ? f - c : void 0;
|
|
568
|
+
return Le(s, P, C, N);
|
|
559
569
|
};
|
|
560
570
|
if (t) {
|
|
561
|
-
const
|
|
562
|
-
o = (i) => i.startsWith(
|
|
571
|
+
const n = t + Me, s = o;
|
|
572
|
+
o = (i) => i.startsWith(n) ? s(i.slice(n.length)) : Le(Yr, !1, i, void 0, !0);
|
|
563
573
|
}
|
|
564
574
|
if (r) {
|
|
565
|
-
const
|
|
566
|
-
o = (
|
|
567
|
-
className:
|
|
568
|
-
parseClassName:
|
|
575
|
+
const n = o;
|
|
576
|
+
o = (s) => r({
|
|
577
|
+
className: s,
|
|
578
|
+
parseClassName: n
|
|
569
579
|
});
|
|
570
580
|
}
|
|
571
581
|
return o;
|
|
572
|
-
},
|
|
582
|
+
}, Br = (e) => {
|
|
573
583
|
const t = /* @__PURE__ */ new Map();
|
|
574
584
|
return e.orderSensitiveModifiers.forEach((r, o) => {
|
|
575
585
|
t.set(r, 1e6 + o);
|
|
576
586
|
}), (r) => {
|
|
577
587
|
const o = [];
|
|
578
|
-
let
|
|
579
|
-
for (let
|
|
580
|
-
const i = r[
|
|
581
|
-
|
|
588
|
+
let n = [];
|
|
589
|
+
for (let s = 0; s < r.length; s++) {
|
|
590
|
+
const i = r[s], l = i[0] === "[", c = t.has(i);
|
|
591
|
+
l || c ? (n.length > 0 && (n.sort(), o.push(...n), n = []), o.push(i)) : n.push(i);
|
|
582
592
|
}
|
|
583
|
-
return
|
|
593
|
+
return n.length > 0 && (n.sort(), o.push(...n)), o;
|
|
584
594
|
};
|
|
585
|
-
},
|
|
586
|
-
cache:
|
|
587
|
-
parseClassName:
|
|
588
|
-
sortModifiers:
|
|
589
|
-
...
|
|
590
|
-
}),
|
|
595
|
+
}, qr = (e) => ({
|
|
596
|
+
cache: Wr(e.cacheSize),
|
|
597
|
+
parseClassName: Ur(e),
|
|
598
|
+
sortModifiers: Br(e),
|
|
599
|
+
...Ir(e)
|
|
600
|
+
}), Hr = /\s+/, Jr = (e, t) => {
|
|
591
601
|
const {
|
|
592
602
|
parseClassName: r,
|
|
593
603
|
getClassGroupId: o,
|
|
594
|
-
getConflictingClassGroupIds:
|
|
595
|
-
sortModifiers:
|
|
596
|
-
} = t, i = [],
|
|
597
|
-
let
|
|
598
|
-
for (let f =
|
|
599
|
-
const
|
|
600
|
-
isExternal:
|
|
601
|
-
modifiers:
|
|
602
|
-
hasImportantModifier:
|
|
603
|
-
baseClassName:
|
|
604
|
-
maybePostfixModifierPosition:
|
|
605
|
-
} = r(
|
|
606
|
-
if (
|
|
607
|
-
|
|
604
|
+
getConflictingClassGroupIds: n,
|
|
605
|
+
sortModifiers: s
|
|
606
|
+
} = t, i = [], l = e.trim().split(Hr);
|
|
607
|
+
let c = "";
|
|
608
|
+
for (let f = l.length - 1; f >= 0; f -= 1) {
|
|
609
|
+
const x = l[f], {
|
|
610
|
+
isExternal: g,
|
|
611
|
+
modifiers: C,
|
|
612
|
+
hasImportantModifier: P,
|
|
613
|
+
baseClassName: N,
|
|
614
|
+
maybePostfixModifierPosition: E
|
|
615
|
+
} = r(x);
|
|
616
|
+
if (g) {
|
|
617
|
+
c = x + (c.length > 0 ? " " + c : c);
|
|
608
618
|
continue;
|
|
609
619
|
}
|
|
610
|
-
let
|
|
611
|
-
if (!
|
|
612
|
-
if (!
|
|
613
|
-
|
|
620
|
+
let R = !!E, V = o(R ? N.substring(0, E) : N);
|
|
621
|
+
if (!V) {
|
|
622
|
+
if (!R) {
|
|
623
|
+
c = x + (c.length > 0 ? " " + c : c);
|
|
614
624
|
continue;
|
|
615
625
|
}
|
|
616
|
-
if (
|
|
617
|
-
|
|
626
|
+
if (V = o(N), !V) {
|
|
627
|
+
c = x + (c.length > 0 ? " " + c : c);
|
|
618
628
|
continue;
|
|
619
629
|
}
|
|
620
|
-
|
|
630
|
+
R = !1;
|
|
621
631
|
}
|
|
622
|
-
const
|
|
623
|
-
if (i.indexOf(
|
|
632
|
+
const L = C.length === 0 ? "" : C.length === 1 ? C[0] : s(C).join(":"), M = P ? L + Ee : L, k = M + V;
|
|
633
|
+
if (i.indexOf(k) > -1)
|
|
624
634
|
continue;
|
|
625
|
-
i.push(
|
|
626
|
-
const
|
|
627
|
-
for (let
|
|
628
|
-
const
|
|
629
|
-
i.push(
|
|
635
|
+
i.push(k);
|
|
636
|
+
const S = n(V, R);
|
|
637
|
+
for (let j = 0; j < S.length; ++j) {
|
|
638
|
+
const $ = S[j];
|
|
639
|
+
i.push(M + $);
|
|
630
640
|
}
|
|
631
|
-
|
|
641
|
+
c = x + (c.length > 0 ? " " + c : c);
|
|
632
642
|
}
|
|
633
|
-
return
|
|
634
|
-
},
|
|
635
|
-
let t = 0, r, o,
|
|
643
|
+
return c;
|
|
644
|
+
}, Xr = (...e) => {
|
|
645
|
+
let t = 0, r, o, n = "";
|
|
636
646
|
for (; t < e.length; )
|
|
637
|
-
(r = e[t++]) && (o =
|
|
638
|
-
return
|
|
639
|
-
},
|
|
647
|
+
(r = e[t++]) && (o = rr(r)) && (n && (n += " "), n += o);
|
|
648
|
+
return n;
|
|
649
|
+
}, rr = (e) => {
|
|
640
650
|
if (typeof e == "string")
|
|
641
651
|
return e;
|
|
642
652
|
let t, r = "";
|
|
643
653
|
for (let o = 0; o < e.length; o++)
|
|
644
|
-
e[o] && (t =
|
|
654
|
+
e[o] && (t = rr(e[o])) && (r && (r += " "), r += t);
|
|
645
655
|
return r;
|
|
646
|
-
},
|
|
647
|
-
let r, o,
|
|
648
|
-
const i = (
|
|
649
|
-
const f = t.reduce((
|
|
650
|
-
return r =
|
|
651
|
-
},
|
|
652
|
-
const f = o(
|
|
656
|
+
}, Zr = (e, ...t) => {
|
|
657
|
+
let r, o, n, s;
|
|
658
|
+
const i = (c) => {
|
|
659
|
+
const f = t.reduce((x, g) => g(x), e());
|
|
660
|
+
return r = qr(f), o = r.cache.get, n = r.cache.set, s = l, l(c);
|
|
661
|
+
}, l = (c) => {
|
|
662
|
+
const f = o(c);
|
|
653
663
|
if (f)
|
|
654
664
|
return f;
|
|
655
|
-
const
|
|
656
|
-
return
|
|
665
|
+
const x = Jr(c, r);
|
|
666
|
+
return n(c, x), x;
|
|
657
667
|
};
|
|
658
|
-
return
|
|
659
|
-
},
|
|
660
|
-
const t = (r) => r[e] ||
|
|
668
|
+
return s = i, (...c) => s(Xr(...c));
|
|
669
|
+
}, Qr = [], O = (e) => {
|
|
670
|
+
const t = (r) => r[e] || Qr;
|
|
661
671
|
return t.isThemeGetter = !0, t;
|
|
662
|
-
},
|
|
672
|
+
}, tr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, or = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Kr = /^\d+\/\d+$/, et = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, rt = /\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$/, tt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, ot = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, nt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ee = (e) => Kr.test(e), h = (e) => !!e && !Number.isNaN(Number(e)), J = (e) => !!e && Number.isInteger(Number(e)), _e = (e) => e.endsWith("%") && h(e.slice(0, -1)), B = (e) => et.test(e), st = () => !0, at = (e) => (
|
|
663
673
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
664
674
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
665
675
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
666
|
-
|
|
667
|
-
),
|
|
668
|
-
const o =
|
|
676
|
+
rt.test(e) && !tt.test(e)
|
|
677
|
+
), nr = () => !1, it = (e) => ot.test(e), lt = (e) => nt.test(e), ct = (e) => !d(e) && !u(e), dt = (e) => re(e, ir, nr), d = (e) => tr.test(e), X = (e) => re(e, lr, at), Ce = (e) => re(e, bt, h), $e = (e) => re(e, sr, nr), ut = (e) => re(e, ar, lt), be = (e) => re(e, cr, it), u = (e) => or.test(e), ce = (e) => te(e, lr), ft = (e) => te(e, gt), De = (e) => te(e, sr), mt = (e) => te(e, ir), pt = (e) => te(e, ar), ge = (e) => te(e, cr, !0), re = (e, t, r) => {
|
|
678
|
+
const o = tr.exec(e);
|
|
669
679
|
return o ? o[1] ? t(o[1]) : r(o[2]) : !1;
|
|
670
|
-
},
|
|
671
|
-
const o =
|
|
680
|
+
}, te = (e, t, r = !1) => {
|
|
681
|
+
const o = or.exec(e);
|
|
672
682
|
return o ? o[1] ? t(o[1]) : r : !1;
|
|
673
|
-
},
|
|
674
|
-
const e =
|
|
683
|
+
}, sr = (e) => e === "position" || e === "percentage", ar = (e) => e === "image" || e === "url", ir = (e) => e === "length" || e === "size" || e === "bg-size", lr = (e) => e === "length", bt = (e) => e === "number", gt = (e) => e === "family-name", cr = (e) => e === "shadow", ht = () => {
|
|
684
|
+
const e = O("color"), t = O("font"), r = O("text"), o = O("font-weight"), n = O("tracking"), s = O("leading"), i = O("breakpoint"), l = O("container"), c = O("spacing"), f = O("radius"), x = O("shadow"), g = O("inset-shadow"), C = O("text-shadow"), P = O("drop-shadow"), N = O("blur"), E = O("perspective"), R = O("aspect"), V = O("ease"), L = O("animate"), M = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], k = () => [
|
|
675
685
|
"center",
|
|
676
686
|
"top",
|
|
677
687
|
"bottom",
|
|
@@ -689,51 +699,51 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
689
699
|
"bottom-left",
|
|
690
700
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
691
701
|
"left-bottom"
|
|
692
|
-
],
|
|
693
|
-
span: ["full",
|
|
694
|
-
},
|
|
695
|
-
position: [
|
|
696
|
-
}],
|
|
702
|
+
], S = () => [...k(), u, d], j = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], p = () => [u, d, c], I = () => [ee, "full", "auto", ...p()], ue = () => [J, "none", "subgrid", u, d], fe = () => ["auto", {
|
|
703
|
+
span: ["full", J, u, d]
|
|
704
|
+
}, J, u, d], q = () => [J, "auto", u, d], oe = () => ["auto", "min", "max", "fr", u, d], ne = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], G = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], D = () => ["auto", ...p()], W = () => [ee, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...p()], m = () => [e, u, d], se = () => [...k(), De, $e, {
|
|
705
|
+
position: [u, d]
|
|
706
|
+
}], ae = () => ["no-repeat", {
|
|
697
707
|
repeat: ["", "x", "y", "space", "round"]
|
|
698
|
-
}],
|
|
699
|
-
size: [
|
|
700
|
-
}], b = () => [
|
|
708
|
+
}], a = () => ["auto", "cover", "contain", mt, dt, {
|
|
709
|
+
size: [u, d]
|
|
710
|
+
}], b = () => [_e, ce, X], y = () => [
|
|
701
711
|
// Deprecated since Tailwind CSS v4.0.0
|
|
702
712
|
"",
|
|
703
713
|
"none",
|
|
704
714
|
"full",
|
|
705
715
|
f,
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
],
|
|
716
|
+
u,
|
|
717
|
+
d
|
|
718
|
+
], w = () => ["", h, ce, X], Y = () => ["solid", "dashed", "dotted", "double"], Q = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], v = () => [h, _e, De, $e], U = () => [
|
|
709
719
|
// Deprecated since Tailwind CSS v4.0.0
|
|
710
720
|
"",
|
|
711
721
|
"none",
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
],
|
|
722
|
+
N,
|
|
723
|
+
u,
|
|
724
|
+
d
|
|
725
|
+
], H = () => ["none", h, u, d], K = () => ["none", h, u, d], we = () => [h, u, d], me = () => [ee, "full", ...p()];
|
|
716
726
|
return {
|
|
717
727
|
cacheSize: 500,
|
|
718
728
|
theme: {
|
|
719
729
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
720
730
|
aspect: ["video"],
|
|
721
|
-
blur: [
|
|
722
|
-
breakpoint: [
|
|
723
|
-
color: [
|
|
724
|
-
container: [
|
|
725
|
-
"drop-shadow": [
|
|
731
|
+
blur: [B],
|
|
732
|
+
breakpoint: [B],
|
|
733
|
+
color: [st],
|
|
734
|
+
container: [B],
|
|
735
|
+
"drop-shadow": [B],
|
|
726
736
|
ease: ["in", "out", "in-out"],
|
|
727
|
-
font: [
|
|
737
|
+
font: [ct],
|
|
728
738
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
729
|
-
"inset-shadow": [
|
|
739
|
+
"inset-shadow": [B],
|
|
730
740
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
731
741
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
732
|
-
radius: [
|
|
733
|
-
shadow: [
|
|
734
|
-
spacing: ["px",
|
|
735
|
-
text: [
|
|
736
|
-
"text-shadow": [
|
|
742
|
+
radius: [B],
|
|
743
|
+
shadow: [B],
|
|
744
|
+
spacing: ["px", h],
|
|
745
|
+
text: [B],
|
|
746
|
+
"text-shadow": [B],
|
|
737
747
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
738
748
|
},
|
|
739
749
|
classGroups: {
|
|
@@ -745,7 +755,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
745
755
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
746
756
|
*/
|
|
747
757
|
aspect: [{
|
|
748
|
-
aspect: ["auto", "square",
|
|
758
|
+
aspect: ["auto", "square", ee, d, u, R]
|
|
749
759
|
}],
|
|
750
760
|
/**
|
|
751
761
|
* Container
|
|
@@ -758,21 +768,21 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
758
768
|
* @see https://tailwindcss.com/docs/columns
|
|
759
769
|
*/
|
|
760
770
|
columns: [{
|
|
761
|
-
columns: [
|
|
771
|
+
columns: [h, d, u, l]
|
|
762
772
|
}],
|
|
763
773
|
/**
|
|
764
774
|
* Break After
|
|
765
775
|
* @see https://tailwindcss.com/docs/break-after
|
|
766
776
|
*/
|
|
767
777
|
"break-after": [{
|
|
768
|
-
"break-after":
|
|
778
|
+
"break-after": M()
|
|
769
779
|
}],
|
|
770
780
|
/**
|
|
771
781
|
* Break Before
|
|
772
782
|
* @see https://tailwindcss.com/docs/break-before
|
|
773
783
|
*/
|
|
774
784
|
"break-before": [{
|
|
775
|
-
"break-before":
|
|
785
|
+
"break-before": M()
|
|
776
786
|
}],
|
|
777
787
|
/**
|
|
778
788
|
* Break Inside
|
|
@@ -836,49 +846,49 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
836
846
|
* @see https://tailwindcss.com/docs/object-position
|
|
837
847
|
*/
|
|
838
848
|
"object-position": [{
|
|
839
|
-
object:
|
|
849
|
+
object: S()
|
|
840
850
|
}],
|
|
841
851
|
/**
|
|
842
852
|
* Overflow
|
|
843
853
|
* @see https://tailwindcss.com/docs/overflow
|
|
844
854
|
*/
|
|
845
855
|
overflow: [{
|
|
846
|
-
overflow:
|
|
856
|
+
overflow: j()
|
|
847
857
|
}],
|
|
848
858
|
/**
|
|
849
859
|
* Overflow X
|
|
850
860
|
* @see https://tailwindcss.com/docs/overflow
|
|
851
861
|
*/
|
|
852
862
|
"overflow-x": [{
|
|
853
|
-
"overflow-x":
|
|
863
|
+
"overflow-x": j()
|
|
854
864
|
}],
|
|
855
865
|
/**
|
|
856
866
|
* Overflow Y
|
|
857
867
|
* @see https://tailwindcss.com/docs/overflow
|
|
858
868
|
*/
|
|
859
869
|
"overflow-y": [{
|
|
860
|
-
"overflow-y":
|
|
870
|
+
"overflow-y": j()
|
|
861
871
|
}],
|
|
862
872
|
/**
|
|
863
873
|
* Overscroll Behavior
|
|
864
874
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
865
875
|
*/
|
|
866
876
|
overscroll: [{
|
|
867
|
-
overscroll:
|
|
877
|
+
overscroll: $()
|
|
868
878
|
}],
|
|
869
879
|
/**
|
|
870
880
|
* Overscroll Behavior X
|
|
871
881
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
872
882
|
*/
|
|
873
883
|
"overscroll-x": [{
|
|
874
|
-
"overscroll-x":
|
|
884
|
+
"overscroll-x": $()
|
|
875
885
|
}],
|
|
876
886
|
/**
|
|
877
887
|
* Overscroll Behavior Y
|
|
878
888
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
879
889
|
*/
|
|
880
890
|
"overscroll-y": [{
|
|
881
|
-
"overscroll-y":
|
|
891
|
+
"overscroll-y": $()
|
|
882
892
|
}],
|
|
883
893
|
/**
|
|
884
894
|
* Position
|
|
@@ -890,63 +900,63 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
890
900
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
891
901
|
*/
|
|
892
902
|
inset: [{
|
|
893
|
-
inset:
|
|
903
|
+
inset: I()
|
|
894
904
|
}],
|
|
895
905
|
/**
|
|
896
906
|
* Right / Left
|
|
897
907
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
898
908
|
*/
|
|
899
909
|
"inset-x": [{
|
|
900
|
-
"inset-x":
|
|
910
|
+
"inset-x": I()
|
|
901
911
|
}],
|
|
902
912
|
/**
|
|
903
913
|
* Top / Bottom
|
|
904
914
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
905
915
|
*/
|
|
906
916
|
"inset-y": [{
|
|
907
|
-
"inset-y":
|
|
917
|
+
"inset-y": I()
|
|
908
918
|
}],
|
|
909
919
|
/**
|
|
910
920
|
* Start
|
|
911
921
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
912
922
|
*/
|
|
913
923
|
start: [{
|
|
914
|
-
start:
|
|
924
|
+
start: I()
|
|
915
925
|
}],
|
|
916
926
|
/**
|
|
917
927
|
* End
|
|
918
928
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
919
929
|
*/
|
|
920
930
|
end: [{
|
|
921
|
-
end:
|
|
931
|
+
end: I()
|
|
922
932
|
}],
|
|
923
933
|
/**
|
|
924
934
|
* Top
|
|
925
935
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
926
936
|
*/
|
|
927
937
|
top: [{
|
|
928
|
-
top:
|
|
938
|
+
top: I()
|
|
929
939
|
}],
|
|
930
940
|
/**
|
|
931
941
|
* Right
|
|
932
942
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
933
943
|
*/
|
|
934
944
|
right: [{
|
|
935
|
-
right:
|
|
945
|
+
right: I()
|
|
936
946
|
}],
|
|
937
947
|
/**
|
|
938
948
|
* Bottom
|
|
939
949
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
940
950
|
*/
|
|
941
951
|
bottom: [{
|
|
942
|
-
bottom:
|
|
952
|
+
bottom: I()
|
|
943
953
|
}],
|
|
944
954
|
/**
|
|
945
955
|
* Left
|
|
946
956
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
947
957
|
*/
|
|
948
958
|
left: [{
|
|
949
|
-
left:
|
|
959
|
+
left: I()
|
|
950
960
|
}],
|
|
951
961
|
/**
|
|
952
962
|
* Visibility
|
|
@@ -958,7 +968,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
958
968
|
* @see https://tailwindcss.com/docs/z-index
|
|
959
969
|
*/
|
|
960
970
|
z: [{
|
|
961
|
-
z: [
|
|
971
|
+
z: [J, "auto", u, d]
|
|
962
972
|
}],
|
|
963
973
|
// ------------------------
|
|
964
974
|
// --- Flexbox and Grid ---
|
|
@@ -968,7 +978,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
968
978
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
969
979
|
*/
|
|
970
980
|
basis: [{
|
|
971
|
-
basis: [
|
|
981
|
+
basis: [ee, "full", "auto", l, ...p()]
|
|
972
982
|
}],
|
|
973
983
|
/**
|
|
974
984
|
* Flex Direction
|
|
@@ -989,84 +999,84 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
989
999
|
* @see https://tailwindcss.com/docs/flex
|
|
990
1000
|
*/
|
|
991
1001
|
flex: [{
|
|
992
|
-
flex: [
|
|
1002
|
+
flex: [h, ee, "auto", "initial", "none", d]
|
|
993
1003
|
}],
|
|
994
1004
|
/**
|
|
995
1005
|
* Flex Grow
|
|
996
1006
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
997
1007
|
*/
|
|
998
1008
|
grow: [{
|
|
999
|
-
grow: ["",
|
|
1009
|
+
grow: ["", h, u, d]
|
|
1000
1010
|
}],
|
|
1001
1011
|
/**
|
|
1002
1012
|
* Flex Shrink
|
|
1003
1013
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1004
1014
|
*/
|
|
1005
1015
|
shrink: [{
|
|
1006
|
-
shrink: ["",
|
|
1016
|
+
shrink: ["", h, u, d]
|
|
1007
1017
|
}],
|
|
1008
1018
|
/**
|
|
1009
1019
|
* Order
|
|
1010
1020
|
* @see https://tailwindcss.com/docs/order
|
|
1011
1021
|
*/
|
|
1012
1022
|
order: [{
|
|
1013
|
-
order: [
|
|
1023
|
+
order: [J, "first", "last", "none", u, d]
|
|
1014
1024
|
}],
|
|
1015
1025
|
/**
|
|
1016
1026
|
* Grid Template Columns
|
|
1017
1027
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1018
1028
|
*/
|
|
1019
1029
|
"grid-cols": [{
|
|
1020
|
-
"grid-cols":
|
|
1030
|
+
"grid-cols": ue()
|
|
1021
1031
|
}],
|
|
1022
1032
|
/**
|
|
1023
1033
|
* Grid Column Start / End
|
|
1024
1034
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1025
1035
|
*/
|
|
1026
1036
|
"col-start-end": [{
|
|
1027
|
-
col:
|
|
1037
|
+
col: fe()
|
|
1028
1038
|
}],
|
|
1029
1039
|
/**
|
|
1030
1040
|
* Grid Column Start
|
|
1031
1041
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1032
1042
|
*/
|
|
1033
1043
|
"col-start": [{
|
|
1034
|
-
"col-start":
|
|
1044
|
+
"col-start": q()
|
|
1035
1045
|
}],
|
|
1036
1046
|
/**
|
|
1037
1047
|
* Grid Column End
|
|
1038
1048
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1039
1049
|
*/
|
|
1040
1050
|
"col-end": [{
|
|
1041
|
-
"col-end":
|
|
1051
|
+
"col-end": q()
|
|
1042
1052
|
}],
|
|
1043
1053
|
/**
|
|
1044
1054
|
* Grid Template Rows
|
|
1045
1055
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1046
1056
|
*/
|
|
1047
1057
|
"grid-rows": [{
|
|
1048
|
-
"grid-rows":
|
|
1058
|
+
"grid-rows": ue()
|
|
1049
1059
|
}],
|
|
1050
1060
|
/**
|
|
1051
1061
|
* Grid Row Start / End
|
|
1052
1062
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1053
1063
|
*/
|
|
1054
1064
|
"row-start-end": [{
|
|
1055
|
-
row:
|
|
1065
|
+
row: fe()
|
|
1056
1066
|
}],
|
|
1057
1067
|
/**
|
|
1058
1068
|
* Grid Row Start
|
|
1059
1069
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1060
1070
|
*/
|
|
1061
1071
|
"row-start": [{
|
|
1062
|
-
"row-start":
|
|
1072
|
+
"row-start": q()
|
|
1063
1073
|
}],
|
|
1064
1074
|
/**
|
|
1065
1075
|
* Grid Row End
|
|
1066
1076
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1067
1077
|
*/
|
|
1068
1078
|
"row-end": [{
|
|
1069
|
-
"row-end":
|
|
1079
|
+
"row-end": q()
|
|
1070
1080
|
}],
|
|
1071
1081
|
/**
|
|
1072
1082
|
* Grid Auto Flow
|
|
@@ -1080,14 +1090,14 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1080
1090
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1081
1091
|
*/
|
|
1082
1092
|
"auto-cols": [{
|
|
1083
|
-
"auto-cols":
|
|
1093
|
+
"auto-cols": oe()
|
|
1084
1094
|
}],
|
|
1085
1095
|
/**
|
|
1086
1096
|
* Grid Auto Rows
|
|
1087
1097
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1088
1098
|
*/
|
|
1089
1099
|
"auto-rows": [{
|
|
1090
|
-
"auto-rows":
|
|
1100
|
+
"auto-rows": oe()
|
|
1091
1101
|
}],
|
|
1092
1102
|
/**
|
|
1093
1103
|
* Gap
|
|
@@ -1115,35 +1125,35 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1115
1125
|
* @see https://tailwindcss.com/docs/justify-content
|
|
1116
1126
|
*/
|
|
1117
1127
|
"justify-content": [{
|
|
1118
|
-
justify: [...
|
|
1128
|
+
justify: [...ne(), "normal"]
|
|
1119
1129
|
}],
|
|
1120
1130
|
/**
|
|
1121
1131
|
* Justify Items
|
|
1122
1132
|
* @see https://tailwindcss.com/docs/justify-items
|
|
1123
1133
|
*/
|
|
1124
1134
|
"justify-items": [{
|
|
1125
|
-
"justify-items": [...
|
|
1135
|
+
"justify-items": [...G(), "normal"]
|
|
1126
1136
|
}],
|
|
1127
1137
|
/**
|
|
1128
1138
|
* Justify Self
|
|
1129
1139
|
* @see https://tailwindcss.com/docs/justify-self
|
|
1130
1140
|
*/
|
|
1131
1141
|
"justify-self": [{
|
|
1132
|
-
"justify-self": ["auto", ...
|
|
1142
|
+
"justify-self": ["auto", ...G()]
|
|
1133
1143
|
}],
|
|
1134
1144
|
/**
|
|
1135
1145
|
* Align Content
|
|
1136
1146
|
* @see https://tailwindcss.com/docs/align-content
|
|
1137
1147
|
*/
|
|
1138
1148
|
"align-content": [{
|
|
1139
|
-
content: ["normal", ...
|
|
1149
|
+
content: ["normal", ...ne()]
|
|
1140
1150
|
}],
|
|
1141
1151
|
/**
|
|
1142
1152
|
* Align Items
|
|
1143
1153
|
* @see https://tailwindcss.com/docs/align-items
|
|
1144
1154
|
*/
|
|
1145
1155
|
"align-items": [{
|
|
1146
|
-
items: [...
|
|
1156
|
+
items: [...G(), {
|
|
1147
1157
|
baseline: ["", "last"]
|
|
1148
1158
|
}]
|
|
1149
1159
|
}],
|
|
@@ -1152,7 +1162,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1152
1162
|
* @see https://tailwindcss.com/docs/align-self
|
|
1153
1163
|
*/
|
|
1154
1164
|
"align-self": [{
|
|
1155
|
-
self: ["auto", ...
|
|
1165
|
+
self: ["auto", ...G(), {
|
|
1156
1166
|
baseline: ["", "last"]
|
|
1157
1167
|
}]
|
|
1158
1168
|
}],
|
|
@@ -1161,21 +1171,21 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1161
1171
|
* @see https://tailwindcss.com/docs/place-content
|
|
1162
1172
|
*/
|
|
1163
1173
|
"place-content": [{
|
|
1164
|
-
"place-content":
|
|
1174
|
+
"place-content": ne()
|
|
1165
1175
|
}],
|
|
1166
1176
|
/**
|
|
1167
1177
|
* Place Items
|
|
1168
1178
|
* @see https://tailwindcss.com/docs/place-items
|
|
1169
1179
|
*/
|
|
1170
1180
|
"place-items": [{
|
|
1171
|
-
"place-items": [...
|
|
1181
|
+
"place-items": [...G(), "baseline"]
|
|
1172
1182
|
}],
|
|
1173
1183
|
/**
|
|
1174
1184
|
* Place Self
|
|
1175
1185
|
* @see https://tailwindcss.com/docs/place-self
|
|
1176
1186
|
*/
|
|
1177
1187
|
"place-self": [{
|
|
1178
|
-
"place-self": ["auto", ...
|
|
1188
|
+
"place-self": ["auto", ...G()]
|
|
1179
1189
|
}],
|
|
1180
1190
|
// Spacing
|
|
1181
1191
|
/**
|
|
@@ -1246,63 +1256,63 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1246
1256
|
* @see https://tailwindcss.com/docs/margin
|
|
1247
1257
|
*/
|
|
1248
1258
|
m: [{
|
|
1249
|
-
m:
|
|
1259
|
+
m: D()
|
|
1250
1260
|
}],
|
|
1251
1261
|
/**
|
|
1252
1262
|
* Margin X
|
|
1253
1263
|
* @see https://tailwindcss.com/docs/margin
|
|
1254
1264
|
*/
|
|
1255
1265
|
mx: [{
|
|
1256
|
-
mx:
|
|
1266
|
+
mx: D()
|
|
1257
1267
|
}],
|
|
1258
1268
|
/**
|
|
1259
1269
|
* Margin Y
|
|
1260
1270
|
* @see https://tailwindcss.com/docs/margin
|
|
1261
1271
|
*/
|
|
1262
1272
|
my: [{
|
|
1263
|
-
my:
|
|
1273
|
+
my: D()
|
|
1264
1274
|
}],
|
|
1265
1275
|
/**
|
|
1266
1276
|
* Margin Start
|
|
1267
1277
|
* @see https://tailwindcss.com/docs/margin
|
|
1268
1278
|
*/
|
|
1269
1279
|
ms: [{
|
|
1270
|
-
ms:
|
|
1280
|
+
ms: D()
|
|
1271
1281
|
}],
|
|
1272
1282
|
/**
|
|
1273
1283
|
* Margin End
|
|
1274
1284
|
* @see https://tailwindcss.com/docs/margin
|
|
1275
1285
|
*/
|
|
1276
1286
|
me: [{
|
|
1277
|
-
me:
|
|
1287
|
+
me: D()
|
|
1278
1288
|
}],
|
|
1279
1289
|
/**
|
|
1280
1290
|
* Margin Top
|
|
1281
1291
|
* @see https://tailwindcss.com/docs/margin
|
|
1282
1292
|
*/
|
|
1283
1293
|
mt: [{
|
|
1284
|
-
mt:
|
|
1294
|
+
mt: D()
|
|
1285
1295
|
}],
|
|
1286
1296
|
/**
|
|
1287
1297
|
* Margin Right
|
|
1288
1298
|
* @see https://tailwindcss.com/docs/margin
|
|
1289
1299
|
*/
|
|
1290
1300
|
mr: [{
|
|
1291
|
-
mr:
|
|
1301
|
+
mr: D()
|
|
1292
1302
|
}],
|
|
1293
1303
|
/**
|
|
1294
1304
|
* Margin Bottom
|
|
1295
1305
|
* @see https://tailwindcss.com/docs/margin
|
|
1296
1306
|
*/
|
|
1297
1307
|
mb: [{
|
|
1298
|
-
mb:
|
|
1308
|
+
mb: D()
|
|
1299
1309
|
}],
|
|
1300
1310
|
/**
|
|
1301
1311
|
* Margin Left
|
|
1302
1312
|
* @see https://tailwindcss.com/docs/margin
|
|
1303
1313
|
*/
|
|
1304
1314
|
ml: [{
|
|
1305
|
-
ml:
|
|
1315
|
+
ml: D()
|
|
1306
1316
|
}],
|
|
1307
1317
|
/**
|
|
1308
1318
|
* Space Between X
|
|
@@ -1336,14 +1346,14 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1336
1346
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1337
1347
|
*/
|
|
1338
1348
|
size: [{
|
|
1339
|
-
size:
|
|
1349
|
+
size: W()
|
|
1340
1350
|
}],
|
|
1341
1351
|
/**
|
|
1342
1352
|
* Width
|
|
1343
1353
|
* @see https://tailwindcss.com/docs/width
|
|
1344
1354
|
*/
|
|
1345
1355
|
w: [{
|
|
1346
|
-
w: [
|
|
1356
|
+
w: [l, "screen", ...W()]
|
|
1347
1357
|
}],
|
|
1348
1358
|
/**
|
|
1349
1359
|
* Min-Width
|
|
@@ -1351,11 +1361,11 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1351
1361
|
*/
|
|
1352
1362
|
"min-w": [{
|
|
1353
1363
|
"min-w": [
|
|
1354
|
-
|
|
1364
|
+
l,
|
|
1355
1365
|
"screen",
|
|
1356
1366
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1357
1367
|
"none",
|
|
1358
|
-
...
|
|
1368
|
+
...W()
|
|
1359
1369
|
]
|
|
1360
1370
|
}],
|
|
1361
1371
|
/**
|
|
@@ -1364,7 +1374,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1364
1374
|
*/
|
|
1365
1375
|
"max-w": [{
|
|
1366
1376
|
"max-w": [
|
|
1367
|
-
|
|
1377
|
+
l,
|
|
1368
1378
|
"screen",
|
|
1369
1379
|
"none",
|
|
1370
1380
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
@@ -1373,7 +1383,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1373
1383
|
{
|
|
1374
1384
|
screen: [i]
|
|
1375
1385
|
},
|
|
1376
|
-
...
|
|
1386
|
+
...W()
|
|
1377
1387
|
]
|
|
1378
1388
|
}],
|
|
1379
1389
|
/**
|
|
@@ -1381,21 +1391,21 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1381
1391
|
* @see https://tailwindcss.com/docs/height
|
|
1382
1392
|
*/
|
|
1383
1393
|
h: [{
|
|
1384
|
-
h: ["screen", "lh", ...
|
|
1394
|
+
h: ["screen", "lh", ...W()]
|
|
1385
1395
|
}],
|
|
1386
1396
|
/**
|
|
1387
1397
|
* Min-Height
|
|
1388
1398
|
* @see https://tailwindcss.com/docs/min-height
|
|
1389
1399
|
*/
|
|
1390
1400
|
"min-h": [{
|
|
1391
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1401
|
+
"min-h": ["screen", "lh", "none", ...W()]
|
|
1392
1402
|
}],
|
|
1393
1403
|
/**
|
|
1394
1404
|
* Max-Height
|
|
1395
1405
|
* @see https://tailwindcss.com/docs/max-height
|
|
1396
1406
|
*/
|
|
1397
1407
|
"max-h": [{
|
|
1398
|
-
"max-h": ["screen", "lh", ...
|
|
1408
|
+
"max-h": ["screen", "lh", ...W()]
|
|
1399
1409
|
}],
|
|
1400
1410
|
// ------------------
|
|
1401
1411
|
// --- Typography ---
|
|
@@ -1405,7 +1415,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1405
1415
|
* @see https://tailwindcss.com/docs/font-size
|
|
1406
1416
|
*/
|
|
1407
1417
|
"font-size": [{
|
|
1408
|
-
text: ["base", r,
|
|
1418
|
+
text: ["base", r, ce, X]
|
|
1409
1419
|
}],
|
|
1410
1420
|
/**
|
|
1411
1421
|
* Font Smoothing
|
|
@@ -1422,21 +1432,21 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1422
1432
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1423
1433
|
*/
|
|
1424
1434
|
"font-weight": [{
|
|
1425
|
-
font: [o,
|
|
1435
|
+
font: [o, u, Ce]
|
|
1426
1436
|
}],
|
|
1427
1437
|
/**
|
|
1428
1438
|
* Font Stretch
|
|
1429
1439
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1430
1440
|
*/
|
|
1431
1441
|
"font-stretch": [{
|
|
1432
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1442
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", _e, d]
|
|
1433
1443
|
}],
|
|
1434
1444
|
/**
|
|
1435
1445
|
* Font Family
|
|
1436
1446
|
* @see https://tailwindcss.com/docs/font-family
|
|
1437
1447
|
*/
|
|
1438
1448
|
"font-family": [{
|
|
1439
|
-
font: [
|
|
1449
|
+
font: [ft, d, t]
|
|
1440
1450
|
}],
|
|
1441
1451
|
/**
|
|
1442
1452
|
* Font Variant Numeric
|
|
@@ -1473,14 +1483,14 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1473
1483
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1474
1484
|
*/
|
|
1475
1485
|
tracking: [{
|
|
1476
|
-
tracking: [
|
|
1486
|
+
tracking: [n, u, d]
|
|
1477
1487
|
}],
|
|
1478
1488
|
/**
|
|
1479
1489
|
* Line Clamp
|
|
1480
1490
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1481
1491
|
*/
|
|
1482
1492
|
"line-clamp": [{
|
|
1483
|
-
"line-clamp": [
|
|
1493
|
+
"line-clamp": [h, "none", u, Ce]
|
|
1484
1494
|
}],
|
|
1485
1495
|
/**
|
|
1486
1496
|
* Line Height
|
|
@@ -1489,7 +1499,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1489
1499
|
leading: [{
|
|
1490
1500
|
leading: [
|
|
1491
1501
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1492
|
-
|
|
1502
|
+
s,
|
|
1493
1503
|
...p()
|
|
1494
1504
|
]
|
|
1495
1505
|
}],
|
|
@@ -1498,7 +1508,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1498
1508
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1499
1509
|
*/
|
|
1500
1510
|
"list-image": [{
|
|
1501
|
-
"list-image": ["none",
|
|
1511
|
+
"list-image": ["none", u, d]
|
|
1502
1512
|
}],
|
|
1503
1513
|
/**
|
|
1504
1514
|
* List Style Position
|
|
@@ -1512,7 +1522,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1512
1522
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1513
1523
|
*/
|
|
1514
1524
|
"list-style-type": [{
|
|
1515
|
-
list: ["disc", "decimal", "none",
|
|
1525
|
+
list: ["disc", "decimal", "none", u, d]
|
|
1516
1526
|
}],
|
|
1517
1527
|
/**
|
|
1518
1528
|
* Text Alignment
|
|
@@ -1546,14 +1556,14 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1546
1556
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1547
1557
|
*/
|
|
1548
1558
|
"text-decoration-style": [{
|
|
1549
|
-
decoration: [...
|
|
1559
|
+
decoration: [...Y(), "wavy"]
|
|
1550
1560
|
}],
|
|
1551
1561
|
/**
|
|
1552
1562
|
* Text Decoration Thickness
|
|
1553
1563
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1554
1564
|
*/
|
|
1555
1565
|
"text-decoration-thickness": [{
|
|
1556
|
-
decoration: [
|
|
1566
|
+
decoration: [h, "from-font", "auto", u, X]
|
|
1557
1567
|
}],
|
|
1558
1568
|
/**
|
|
1559
1569
|
* Text Decoration Color
|
|
@@ -1567,7 +1577,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1567
1577
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1568
1578
|
*/
|
|
1569
1579
|
"underline-offset": [{
|
|
1570
|
-
"underline-offset": [
|
|
1580
|
+
"underline-offset": [h, "auto", u, d]
|
|
1571
1581
|
}],
|
|
1572
1582
|
/**
|
|
1573
1583
|
* Text Transform
|
|
@@ -1598,7 +1608,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1598
1608
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1599
1609
|
*/
|
|
1600
1610
|
"vertical-align": [{
|
|
1601
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1611
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", u, d]
|
|
1602
1612
|
}],
|
|
1603
1613
|
/**
|
|
1604
1614
|
* Whitespace
|
|
@@ -1633,7 +1643,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1633
1643
|
* @see https://tailwindcss.com/docs/content
|
|
1634
1644
|
*/
|
|
1635
1645
|
content: [{
|
|
1636
|
-
content: ["none",
|
|
1646
|
+
content: ["none", u, d]
|
|
1637
1647
|
}],
|
|
1638
1648
|
// -------------------
|
|
1639
1649
|
// --- Backgrounds ---
|
|
@@ -1664,21 +1674,21 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1664
1674
|
* @see https://tailwindcss.com/docs/background-position
|
|
1665
1675
|
*/
|
|
1666
1676
|
"bg-position": [{
|
|
1667
|
-
bg:
|
|
1677
|
+
bg: se()
|
|
1668
1678
|
}],
|
|
1669
1679
|
/**
|
|
1670
1680
|
* Background Repeat
|
|
1671
1681
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1672
1682
|
*/
|
|
1673
1683
|
"bg-repeat": [{
|
|
1674
|
-
bg:
|
|
1684
|
+
bg: ae()
|
|
1675
1685
|
}],
|
|
1676
1686
|
/**
|
|
1677
1687
|
* Background Size
|
|
1678
1688
|
* @see https://tailwindcss.com/docs/background-size
|
|
1679
1689
|
*/
|
|
1680
1690
|
"bg-size": [{
|
|
1681
|
-
bg:
|
|
1691
|
+
bg: a()
|
|
1682
1692
|
}],
|
|
1683
1693
|
/**
|
|
1684
1694
|
* Background Image
|
|
@@ -1688,10 +1698,10 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1688
1698
|
bg: ["none", {
|
|
1689
1699
|
linear: [{
|
|
1690
1700
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1691
|
-
},
|
|
1692
|
-
radial: ["",
|
|
1693
|
-
conic: [
|
|
1694
|
-
},
|
|
1701
|
+
}, J, u, d],
|
|
1702
|
+
radial: ["", u, d],
|
|
1703
|
+
conic: [J, u, d]
|
|
1704
|
+
}, pt, ut]
|
|
1695
1705
|
}],
|
|
1696
1706
|
/**
|
|
1697
1707
|
* Background Color
|
|
@@ -1750,175 +1760,175 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1750
1760
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1751
1761
|
*/
|
|
1752
1762
|
rounded: [{
|
|
1753
|
-
rounded:
|
|
1763
|
+
rounded: y()
|
|
1754
1764
|
}],
|
|
1755
1765
|
/**
|
|
1756
1766
|
* Border Radius Start
|
|
1757
1767
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1758
1768
|
*/
|
|
1759
1769
|
"rounded-s": [{
|
|
1760
|
-
"rounded-s":
|
|
1770
|
+
"rounded-s": y()
|
|
1761
1771
|
}],
|
|
1762
1772
|
/**
|
|
1763
1773
|
* Border Radius End
|
|
1764
1774
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1765
1775
|
*/
|
|
1766
1776
|
"rounded-e": [{
|
|
1767
|
-
"rounded-e":
|
|
1777
|
+
"rounded-e": y()
|
|
1768
1778
|
}],
|
|
1769
1779
|
/**
|
|
1770
1780
|
* Border Radius Top
|
|
1771
1781
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1772
1782
|
*/
|
|
1773
1783
|
"rounded-t": [{
|
|
1774
|
-
"rounded-t":
|
|
1784
|
+
"rounded-t": y()
|
|
1775
1785
|
}],
|
|
1776
1786
|
/**
|
|
1777
1787
|
* Border Radius Right
|
|
1778
1788
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1779
1789
|
*/
|
|
1780
1790
|
"rounded-r": [{
|
|
1781
|
-
"rounded-r":
|
|
1791
|
+
"rounded-r": y()
|
|
1782
1792
|
}],
|
|
1783
1793
|
/**
|
|
1784
1794
|
* Border Radius Bottom
|
|
1785
1795
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1786
1796
|
*/
|
|
1787
1797
|
"rounded-b": [{
|
|
1788
|
-
"rounded-b":
|
|
1798
|
+
"rounded-b": y()
|
|
1789
1799
|
}],
|
|
1790
1800
|
/**
|
|
1791
1801
|
* Border Radius Left
|
|
1792
1802
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1793
1803
|
*/
|
|
1794
1804
|
"rounded-l": [{
|
|
1795
|
-
"rounded-l":
|
|
1805
|
+
"rounded-l": y()
|
|
1796
1806
|
}],
|
|
1797
1807
|
/**
|
|
1798
1808
|
* Border Radius Start Start
|
|
1799
1809
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1800
1810
|
*/
|
|
1801
1811
|
"rounded-ss": [{
|
|
1802
|
-
"rounded-ss":
|
|
1812
|
+
"rounded-ss": y()
|
|
1803
1813
|
}],
|
|
1804
1814
|
/**
|
|
1805
1815
|
* Border Radius Start End
|
|
1806
1816
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1807
1817
|
*/
|
|
1808
1818
|
"rounded-se": [{
|
|
1809
|
-
"rounded-se":
|
|
1819
|
+
"rounded-se": y()
|
|
1810
1820
|
}],
|
|
1811
1821
|
/**
|
|
1812
1822
|
* Border Radius End End
|
|
1813
1823
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1814
1824
|
*/
|
|
1815
1825
|
"rounded-ee": [{
|
|
1816
|
-
"rounded-ee":
|
|
1826
|
+
"rounded-ee": y()
|
|
1817
1827
|
}],
|
|
1818
1828
|
/**
|
|
1819
1829
|
* Border Radius End Start
|
|
1820
1830
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1821
1831
|
*/
|
|
1822
1832
|
"rounded-es": [{
|
|
1823
|
-
"rounded-es":
|
|
1833
|
+
"rounded-es": y()
|
|
1824
1834
|
}],
|
|
1825
1835
|
/**
|
|
1826
1836
|
* Border Radius Top Left
|
|
1827
1837
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1828
1838
|
*/
|
|
1829
1839
|
"rounded-tl": [{
|
|
1830
|
-
"rounded-tl":
|
|
1840
|
+
"rounded-tl": y()
|
|
1831
1841
|
}],
|
|
1832
1842
|
/**
|
|
1833
1843
|
* Border Radius Top Right
|
|
1834
1844
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1835
1845
|
*/
|
|
1836
1846
|
"rounded-tr": [{
|
|
1837
|
-
"rounded-tr":
|
|
1847
|
+
"rounded-tr": y()
|
|
1838
1848
|
}],
|
|
1839
1849
|
/**
|
|
1840
1850
|
* Border Radius Bottom Right
|
|
1841
1851
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1842
1852
|
*/
|
|
1843
1853
|
"rounded-br": [{
|
|
1844
|
-
"rounded-br":
|
|
1854
|
+
"rounded-br": y()
|
|
1845
1855
|
}],
|
|
1846
1856
|
/**
|
|
1847
1857
|
* Border Radius Bottom Left
|
|
1848
1858
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1849
1859
|
*/
|
|
1850
1860
|
"rounded-bl": [{
|
|
1851
|
-
"rounded-bl":
|
|
1861
|
+
"rounded-bl": y()
|
|
1852
1862
|
}],
|
|
1853
1863
|
/**
|
|
1854
1864
|
* Border Width
|
|
1855
1865
|
* @see https://tailwindcss.com/docs/border-width
|
|
1856
1866
|
*/
|
|
1857
1867
|
"border-w": [{
|
|
1858
|
-
border:
|
|
1868
|
+
border: w()
|
|
1859
1869
|
}],
|
|
1860
1870
|
/**
|
|
1861
1871
|
* Border Width X
|
|
1862
1872
|
* @see https://tailwindcss.com/docs/border-width
|
|
1863
1873
|
*/
|
|
1864
1874
|
"border-w-x": [{
|
|
1865
|
-
"border-x":
|
|
1875
|
+
"border-x": w()
|
|
1866
1876
|
}],
|
|
1867
1877
|
/**
|
|
1868
1878
|
* Border Width Y
|
|
1869
1879
|
* @see https://tailwindcss.com/docs/border-width
|
|
1870
1880
|
*/
|
|
1871
1881
|
"border-w-y": [{
|
|
1872
|
-
"border-y":
|
|
1882
|
+
"border-y": w()
|
|
1873
1883
|
}],
|
|
1874
1884
|
/**
|
|
1875
1885
|
* Border Width Start
|
|
1876
1886
|
* @see https://tailwindcss.com/docs/border-width
|
|
1877
1887
|
*/
|
|
1878
1888
|
"border-w-s": [{
|
|
1879
|
-
"border-s":
|
|
1889
|
+
"border-s": w()
|
|
1880
1890
|
}],
|
|
1881
1891
|
/**
|
|
1882
1892
|
* Border Width End
|
|
1883
1893
|
* @see https://tailwindcss.com/docs/border-width
|
|
1884
1894
|
*/
|
|
1885
1895
|
"border-w-e": [{
|
|
1886
|
-
"border-e":
|
|
1896
|
+
"border-e": w()
|
|
1887
1897
|
}],
|
|
1888
1898
|
/**
|
|
1889
1899
|
* Border Width Top
|
|
1890
1900
|
* @see https://tailwindcss.com/docs/border-width
|
|
1891
1901
|
*/
|
|
1892
1902
|
"border-w-t": [{
|
|
1893
|
-
"border-t":
|
|
1903
|
+
"border-t": w()
|
|
1894
1904
|
}],
|
|
1895
1905
|
/**
|
|
1896
1906
|
* Border Width Right
|
|
1897
1907
|
* @see https://tailwindcss.com/docs/border-width
|
|
1898
1908
|
*/
|
|
1899
1909
|
"border-w-r": [{
|
|
1900
|
-
"border-r":
|
|
1910
|
+
"border-r": w()
|
|
1901
1911
|
}],
|
|
1902
1912
|
/**
|
|
1903
1913
|
* Border Width Bottom
|
|
1904
1914
|
* @see https://tailwindcss.com/docs/border-width
|
|
1905
1915
|
*/
|
|
1906
1916
|
"border-w-b": [{
|
|
1907
|
-
"border-b":
|
|
1917
|
+
"border-b": w()
|
|
1908
1918
|
}],
|
|
1909
1919
|
/**
|
|
1910
1920
|
* Border Width Left
|
|
1911
1921
|
* @see https://tailwindcss.com/docs/border-width
|
|
1912
1922
|
*/
|
|
1913
1923
|
"border-w-l": [{
|
|
1914
|
-
"border-l":
|
|
1924
|
+
"border-l": w()
|
|
1915
1925
|
}],
|
|
1916
1926
|
/**
|
|
1917
1927
|
* Divide Width X
|
|
1918
1928
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1919
1929
|
*/
|
|
1920
1930
|
"divide-x": [{
|
|
1921
|
-
"divide-x":
|
|
1931
|
+
"divide-x": w()
|
|
1922
1932
|
}],
|
|
1923
1933
|
/**
|
|
1924
1934
|
* Divide Width X Reverse
|
|
@@ -1930,7 +1940,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1930
1940
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1931
1941
|
*/
|
|
1932
1942
|
"divide-y": [{
|
|
1933
|
-
"divide-y":
|
|
1943
|
+
"divide-y": w()
|
|
1934
1944
|
}],
|
|
1935
1945
|
/**
|
|
1936
1946
|
* Divide Width Y Reverse
|
|
@@ -1942,14 +1952,14 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1942
1952
|
* @see https://tailwindcss.com/docs/border-style
|
|
1943
1953
|
*/
|
|
1944
1954
|
"border-style": [{
|
|
1945
|
-
border: [...
|
|
1955
|
+
border: [...Y(), "hidden", "none"]
|
|
1946
1956
|
}],
|
|
1947
1957
|
/**
|
|
1948
1958
|
* Divide Style
|
|
1949
1959
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1950
1960
|
*/
|
|
1951
1961
|
"divide-style": [{
|
|
1952
|
-
divide: [...
|
|
1962
|
+
divide: [...Y(), "hidden", "none"]
|
|
1953
1963
|
}],
|
|
1954
1964
|
/**
|
|
1955
1965
|
* Border Color
|
|
@@ -2026,21 +2036,21 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2026
2036
|
* @see https://tailwindcss.com/docs/outline-style
|
|
2027
2037
|
*/
|
|
2028
2038
|
"outline-style": [{
|
|
2029
|
-
outline: [...
|
|
2039
|
+
outline: [...Y(), "none", "hidden"]
|
|
2030
2040
|
}],
|
|
2031
2041
|
/**
|
|
2032
2042
|
* Outline Offset
|
|
2033
2043
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2034
2044
|
*/
|
|
2035
2045
|
"outline-offset": [{
|
|
2036
|
-
"outline-offset": [
|
|
2046
|
+
"outline-offset": [h, u, d]
|
|
2037
2047
|
}],
|
|
2038
2048
|
/**
|
|
2039
2049
|
* Outline Width
|
|
2040
2050
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2041
2051
|
*/
|
|
2042
2052
|
"outline-w": [{
|
|
2043
|
-
outline: ["",
|
|
2053
|
+
outline: ["", h, ce, X]
|
|
2044
2054
|
}],
|
|
2045
2055
|
/**
|
|
2046
2056
|
* Outline Color
|
|
@@ -2061,9 +2071,9 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2061
2071
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2062
2072
|
"",
|
|
2063
2073
|
"none",
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2074
|
+
x,
|
|
2075
|
+
ge,
|
|
2076
|
+
be
|
|
2067
2077
|
]
|
|
2068
2078
|
}],
|
|
2069
2079
|
/**
|
|
@@ -2078,7 +2088,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2078
2088
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2079
2089
|
*/
|
|
2080
2090
|
"inset-shadow": [{
|
|
2081
|
-
"inset-shadow": ["none",
|
|
2091
|
+
"inset-shadow": ["none", g, ge, be]
|
|
2082
2092
|
}],
|
|
2083
2093
|
/**
|
|
2084
2094
|
* Inset Box Shadow Color
|
|
@@ -2092,7 +2102,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2092
2102
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
2093
2103
|
*/
|
|
2094
2104
|
"ring-w": [{
|
|
2095
|
-
ring:
|
|
2105
|
+
ring: w()
|
|
2096
2106
|
}],
|
|
2097
2107
|
/**
|
|
2098
2108
|
* Ring Width Inset
|
|
@@ -2115,7 +2125,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2115
2125
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2116
2126
|
*/
|
|
2117
2127
|
"ring-offset-w": [{
|
|
2118
|
-
"ring-offset": [
|
|
2128
|
+
"ring-offset": [h, X]
|
|
2119
2129
|
}],
|
|
2120
2130
|
/**
|
|
2121
2131
|
* Ring Offset Color
|
|
@@ -2131,7 +2141,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2131
2141
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2132
2142
|
*/
|
|
2133
2143
|
"inset-ring-w": [{
|
|
2134
|
-
"inset-ring":
|
|
2144
|
+
"inset-ring": w()
|
|
2135
2145
|
}],
|
|
2136
2146
|
/**
|
|
2137
2147
|
* Inset Ring Color
|
|
@@ -2145,7 +2155,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2145
2155
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2146
2156
|
*/
|
|
2147
2157
|
"text-shadow": [{
|
|
2148
|
-
"text-shadow": ["none",
|
|
2158
|
+
"text-shadow": ["none", C, ge, be]
|
|
2149
2159
|
}],
|
|
2150
2160
|
/**
|
|
2151
2161
|
* Text Shadow Color
|
|
@@ -2159,21 +2169,21 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2159
2169
|
* @see https://tailwindcss.com/docs/opacity
|
|
2160
2170
|
*/
|
|
2161
2171
|
opacity: [{
|
|
2162
|
-
opacity: [
|
|
2172
|
+
opacity: [h, u, d]
|
|
2163
2173
|
}],
|
|
2164
2174
|
/**
|
|
2165
2175
|
* Mix Blend Mode
|
|
2166
2176
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2167
2177
|
*/
|
|
2168
2178
|
"mix-blend": [{
|
|
2169
|
-
"mix-blend": [...
|
|
2179
|
+
"mix-blend": [...Q(), "plus-darker", "plus-lighter"]
|
|
2170
2180
|
}],
|
|
2171
2181
|
/**
|
|
2172
2182
|
* Background Blend Mode
|
|
2173
2183
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2174
2184
|
*/
|
|
2175
2185
|
"bg-blend": [{
|
|
2176
|
-
"bg-blend":
|
|
2186
|
+
"bg-blend": Q()
|
|
2177
2187
|
}],
|
|
2178
2188
|
/**
|
|
2179
2189
|
* Mask Clip
|
|
@@ -2194,7 +2204,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2194
2204
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2195
2205
|
*/
|
|
2196
2206
|
"mask-image-linear-pos": [{
|
|
2197
|
-
"mask-linear": [
|
|
2207
|
+
"mask-linear": [h]
|
|
2198
2208
|
}],
|
|
2199
2209
|
"mask-image-linear-from-pos": [{
|
|
2200
2210
|
"mask-linear-from": v()
|
|
@@ -2281,7 +2291,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2281
2291
|
"mask-y-to": m()
|
|
2282
2292
|
}],
|
|
2283
2293
|
"mask-image-radial": [{
|
|
2284
|
-
"mask-radial": [
|
|
2294
|
+
"mask-radial": [u, d]
|
|
2285
2295
|
}],
|
|
2286
2296
|
"mask-image-radial-from-pos": [{
|
|
2287
2297
|
"mask-radial-from": v()
|
|
@@ -2305,10 +2315,10 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2305
2315
|
}]
|
|
2306
2316
|
}],
|
|
2307
2317
|
"mask-image-radial-pos": [{
|
|
2308
|
-
"mask-radial-at":
|
|
2318
|
+
"mask-radial-at": k()
|
|
2309
2319
|
}],
|
|
2310
2320
|
"mask-image-conic-pos": [{
|
|
2311
|
-
"mask-conic": [
|
|
2321
|
+
"mask-conic": [h]
|
|
2312
2322
|
}],
|
|
2313
2323
|
"mask-image-conic-from-pos": [{
|
|
2314
2324
|
"mask-conic-from": v()
|
|
@@ -2341,21 +2351,21 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2341
2351
|
* @see https://tailwindcss.com/docs/mask-position
|
|
2342
2352
|
*/
|
|
2343
2353
|
"mask-position": [{
|
|
2344
|
-
mask:
|
|
2354
|
+
mask: se()
|
|
2345
2355
|
}],
|
|
2346
2356
|
/**
|
|
2347
2357
|
* Mask Repeat
|
|
2348
2358
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2349
2359
|
*/
|
|
2350
2360
|
"mask-repeat": [{
|
|
2351
|
-
mask:
|
|
2361
|
+
mask: ae()
|
|
2352
2362
|
}],
|
|
2353
2363
|
/**
|
|
2354
2364
|
* Mask Size
|
|
2355
2365
|
* @see https://tailwindcss.com/docs/mask-size
|
|
2356
2366
|
*/
|
|
2357
2367
|
"mask-size": [{
|
|
2358
|
-
mask:
|
|
2368
|
+
mask: a()
|
|
2359
2369
|
}],
|
|
2360
2370
|
/**
|
|
2361
2371
|
* Mask Type
|
|
@@ -2369,7 +2379,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2369
2379
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2370
2380
|
*/
|
|
2371
2381
|
"mask-image": [{
|
|
2372
|
-
mask: ["none",
|
|
2382
|
+
mask: ["none", u, d]
|
|
2373
2383
|
}],
|
|
2374
2384
|
// ---------------
|
|
2375
2385
|
// --- Filters ---
|
|
@@ -2383,8 +2393,8 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2383
2393
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2384
2394
|
"",
|
|
2385
2395
|
"none",
|
|
2386
|
-
|
|
2387
|
-
|
|
2396
|
+
u,
|
|
2397
|
+
d
|
|
2388
2398
|
]
|
|
2389
2399
|
}],
|
|
2390
2400
|
/**
|
|
@@ -2392,21 +2402,21 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2392
2402
|
* @see https://tailwindcss.com/docs/blur
|
|
2393
2403
|
*/
|
|
2394
2404
|
blur: [{
|
|
2395
|
-
blur:
|
|
2405
|
+
blur: U()
|
|
2396
2406
|
}],
|
|
2397
2407
|
/**
|
|
2398
2408
|
* Brightness
|
|
2399
2409
|
* @see https://tailwindcss.com/docs/brightness
|
|
2400
2410
|
*/
|
|
2401
2411
|
brightness: [{
|
|
2402
|
-
brightness: [
|
|
2412
|
+
brightness: [h, u, d]
|
|
2403
2413
|
}],
|
|
2404
2414
|
/**
|
|
2405
2415
|
* Contrast
|
|
2406
2416
|
* @see https://tailwindcss.com/docs/contrast
|
|
2407
2417
|
*/
|
|
2408
2418
|
contrast: [{
|
|
2409
|
-
contrast: [
|
|
2419
|
+
contrast: [h, u, d]
|
|
2410
2420
|
}],
|
|
2411
2421
|
/**
|
|
2412
2422
|
* Drop Shadow
|
|
@@ -2417,9 +2427,9 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2417
2427
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2418
2428
|
"",
|
|
2419
2429
|
"none",
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2430
|
+
P,
|
|
2431
|
+
ge,
|
|
2432
|
+
be
|
|
2423
2433
|
]
|
|
2424
2434
|
}],
|
|
2425
2435
|
/**
|
|
@@ -2434,35 +2444,35 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2434
2444
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2435
2445
|
*/
|
|
2436
2446
|
grayscale: [{
|
|
2437
|
-
grayscale: ["",
|
|
2447
|
+
grayscale: ["", h, u, d]
|
|
2438
2448
|
}],
|
|
2439
2449
|
/**
|
|
2440
2450
|
* Hue Rotate
|
|
2441
2451
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2442
2452
|
*/
|
|
2443
2453
|
"hue-rotate": [{
|
|
2444
|
-
"hue-rotate": [
|
|
2454
|
+
"hue-rotate": [h, u, d]
|
|
2445
2455
|
}],
|
|
2446
2456
|
/**
|
|
2447
2457
|
* Invert
|
|
2448
2458
|
* @see https://tailwindcss.com/docs/invert
|
|
2449
2459
|
*/
|
|
2450
2460
|
invert: [{
|
|
2451
|
-
invert: ["",
|
|
2461
|
+
invert: ["", h, u, d]
|
|
2452
2462
|
}],
|
|
2453
2463
|
/**
|
|
2454
2464
|
* Saturate
|
|
2455
2465
|
* @see https://tailwindcss.com/docs/saturate
|
|
2456
2466
|
*/
|
|
2457
2467
|
saturate: [{
|
|
2458
|
-
saturate: [
|
|
2468
|
+
saturate: [h, u, d]
|
|
2459
2469
|
}],
|
|
2460
2470
|
/**
|
|
2461
2471
|
* Sepia
|
|
2462
2472
|
* @see https://tailwindcss.com/docs/sepia
|
|
2463
2473
|
*/
|
|
2464
2474
|
sepia: [{
|
|
2465
|
-
sepia: ["",
|
|
2475
|
+
sepia: ["", h, u, d]
|
|
2466
2476
|
}],
|
|
2467
2477
|
/**
|
|
2468
2478
|
* Backdrop Filter
|
|
@@ -2473,8 +2483,8 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2473
2483
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2474
2484
|
"",
|
|
2475
2485
|
"none",
|
|
2476
|
-
|
|
2477
|
-
|
|
2486
|
+
u,
|
|
2487
|
+
d
|
|
2478
2488
|
]
|
|
2479
2489
|
}],
|
|
2480
2490
|
/**
|
|
@@ -2482,63 +2492,63 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2482
2492
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2483
2493
|
*/
|
|
2484
2494
|
"backdrop-blur": [{
|
|
2485
|
-
"backdrop-blur":
|
|
2495
|
+
"backdrop-blur": U()
|
|
2486
2496
|
}],
|
|
2487
2497
|
/**
|
|
2488
2498
|
* Backdrop Brightness
|
|
2489
2499
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2490
2500
|
*/
|
|
2491
2501
|
"backdrop-brightness": [{
|
|
2492
|
-
"backdrop-brightness": [
|
|
2502
|
+
"backdrop-brightness": [h, u, d]
|
|
2493
2503
|
}],
|
|
2494
2504
|
/**
|
|
2495
2505
|
* Backdrop Contrast
|
|
2496
2506
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2497
2507
|
*/
|
|
2498
2508
|
"backdrop-contrast": [{
|
|
2499
|
-
"backdrop-contrast": [
|
|
2509
|
+
"backdrop-contrast": [h, u, d]
|
|
2500
2510
|
}],
|
|
2501
2511
|
/**
|
|
2502
2512
|
* Backdrop Grayscale
|
|
2503
2513
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2504
2514
|
*/
|
|
2505
2515
|
"backdrop-grayscale": [{
|
|
2506
|
-
"backdrop-grayscale": ["",
|
|
2516
|
+
"backdrop-grayscale": ["", h, u, d]
|
|
2507
2517
|
}],
|
|
2508
2518
|
/**
|
|
2509
2519
|
* Backdrop Hue Rotate
|
|
2510
2520
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2511
2521
|
*/
|
|
2512
2522
|
"backdrop-hue-rotate": [{
|
|
2513
|
-
"backdrop-hue-rotate": [
|
|
2523
|
+
"backdrop-hue-rotate": [h, u, d]
|
|
2514
2524
|
}],
|
|
2515
2525
|
/**
|
|
2516
2526
|
* Backdrop Invert
|
|
2517
2527
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2518
2528
|
*/
|
|
2519
2529
|
"backdrop-invert": [{
|
|
2520
|
-
"backdrop-invert": ["",
|
|
2530
|
+
"backdrop-invert": ["", h, u, d]
|
|
2521
2531
|
}],
|
|
2522
2532
|
/**
|
|
2523
2533
|
* Backdrop Opacity
|
|
2524
2534
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2525
2535
|
*/
|
|
2526
2536
|
"backdrop-opacity": [{
|
|
2527
|
-
"backdrop-opacity": [
|
|
2537
|
+
"backdrop-opacity": [h, u, d]
|
|
2528
2538
|
}],
|
|
2529
2539
|
/**
|
|
2530
2540
|
* Backdrop Saturate
|
|
2531
2541
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2532
2542
|
*/
|
|
2533
2543
|
"backdrop-saturate": [{
|
|
2534
|
-
"backdrop-saturate": [
|
|
2544
|
+
"backdrop-saturate": [h, u, d]
|
|
2535
2545
|
}],
|
|
2536
2546
|
/**
|
|
2537
2547
|
* Backdrop Sepia
|
|
2538
2548
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2539
2549
|
*/
|
|
2540
2550
|
"backdrop-sepia": [{
|
|
2541
|
-
"backdrop-sepia": ["",
|
|
2551
|
+
"backdrop-sepia": ["", h, u, d]
|
|
2542
2552
|
}],
|
|
2543
2553
|
// --------------
|
|
2544
2554
|
// --- Tables ---
|
|
@@ -2593,7 +2603,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2593
2603
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2594
2604
|
*/
|
|
2595
2605
|
transition: [{
|
|
2596
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2606
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", u, d]
|
|
2597
2607
|
}],
|
|
2598
2608
|
/**
|
|
2599
2609
|
* Transition Behavior
|
|
@@ -2607,28 +2617,28 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2607
2617
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2608
2618
|
*/
|
|
2609
2619
|
duration: [{
|
|
2610
|
-
duration: [
|
|
2620
|
+
duration: [h, "initial", u, d]
|
|
2611
2621
|
}],
|
|
2612
2622
|
/**
|
|
2613
2623
|
* Transition Timing Function
|
|
2614
2624
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2615
2625
|
*/
|
|
2616
2626
|
ease: [{
|
|
2617
|
-
ease: ["linear", "initial",
|
|
2627
|
+
ease: ["linear", "initial", V, u, d]
|
|
2618
2628
|
}],
|
|
2619
2629
|
/**
|
|
2620
2630
|
* Transition Delay
|
|
2621
2631
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2622
2632
|
*/
|
|
2623
2633
|
delay: [{
|
|
2624
|
-
delay: [
|
|
2634
|
+
delay: [h, u, d]
|
|
2625
2635
|
}],
|
|
2626
2636
|
/**
|
|
2627
2637
|
* Animation
|
|
2628
2638
|
* @see https://tailwindcss.com/docs/animation
|
|
2629
2639
|
*/
|
|
2630
2640
|
animate: [{
|
|
2631
|
-
animate: ["none",
|
|
2641
|
+
animate: ["none", L, u, d]
|
|
2632
2642
|
}],
|
|
2633
2643
|
// ------------------
|
|
2634
2644
|
// --- Transforms ---
|
|
@@ -2645,70 +2655,70 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2645
2655
|
* @see https://tailwindcss.com/docs/perspective
|
|
2646
2656
|
*/
|
|
2647
2657
|
perspective: [{
|
|
2648
|
-
perspective: [
|
|
2658
|
+
perspective: [E, u, d]
|
|
2649
2659
|
}],
|
|
2650
2660
|
/**
|
|
2651
2661
|
* Perspective Origin
|
|
2652
2662
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2653
2663
|
*/
|
|
2654
2664
|
"perspective-origin": [{
|
|
2655
|
-
"perspective-origin":
|
|
2665
|
+
"perspective-origin": S()
|
|
2656
2666
|
}],
|
|
2657
2667
|
/**
|
|
2658
2668
|
* Rotate
|
|
2659
2669
|
* @see https://tailwindcss.com/docs/rotate
|
|
2660
2670
|
*/
|
|
2661
2671
|
rotate: [{
|
|
2662
|
-
rotate:
|
|
2672
|
+
rotate: H()
|
|
2663
2673
|
}],
|
|
2664
2674
|
/**
|
|
2665
2675
|
* Rotate X
|
|
2666
2676
|
* @see https://tailwindcss.com/docs/rotate
|
|
2667
2677
|
*/
|
|
2668
2678
|
"rotate-x": [{
|
|
2669
|
-
"rotate-x":
|
|
2679
|
+
"rotate-x": H()
|
|
2670
2680
|
}],
|
|
2671
2681
|
/**
|
|
2672
2682
|
* Rotate Y
|
|
2673
2683
|
* @see https://tailwindcss.com/docs/rotate
|
|
2674
2684
|
*/
|
|
2675
2685
|
"rotate-y": [{
|
|
2676
|
-
"rotate-y":
|
|
2686
|
+
"rotate-y": H()
|
|
2677
2687
|
}],
|
|
2678
2688
|
/**
|
|
2679
2689
|
* Rotate Z
|
|
2680
2690
|
* @see https://tailwindcss.com/docs/rotate
|
|
2681
2691
|
*/
|
|
2682
2692
|
"rotate-z": [{
|
|
2683
|
-
"rotate-z":
|
|
2693
|
+
"rotate-z": H()
|
|
2684
2694
|
}],
|
|
2685
2695
|
/**
|
|
2686
2696
|
* Scale
|
|
2687
2697
|
* @see https://tailwindcss.com/docs/scale
|
|
2688
2698
|
*/
|
|
2689
2699
|
scale: [{
|
|
2690
|
-
scale:
|
|
2700
|
+
scale: K()
|
|
2691
2701
|
}],
|
|
2692
2702
|
/**
|
|
2693
2703
|
* Scale X
|
|
2694
2704
|
* @see https://tailwindcss.com/docs/scale
|
|
2695
2705
|
*/
|
|
2696
2706
|
"scale-x": [{
|
|
2697
|
-
"scale-x":
|
|
2707
|
+
"scale-x": K()
|
|
2698
2708
|
}],
|
|
2699
2709
|
/**
|
|
2700
2710
|
* Scale Y
|
|
2701
2711
|
* @see https://tailwindcss.com/docs/scale
|
|
2702
2712
|
*/
|
|
2703
2713
|
"scale-y": [{
|
|
2704
|
-
"scale-y":
|
|
2714
|
+
"scale-y": K()
|
|
2705
2715
|
}],
|
|
2706
2716
|
/**
|
|
2707
2717
|
* Scale Z
|
|
2708
2718
|
* @see https://tailwindcss.com/docs/scale
|
|
2709
2719
|
*/
|
|
2710
2720
|
"scale-z": [{
|
|
2711
|
-
"scale-z":
|
|
2721
|
+
"scale-z": K()
|
|
2712
2722
|
}],
|
|
2713
2723
|
/**
|
|
2714
2724
|
* Scale 3D
|
|
@@ -2720,35 +2730,35 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2720
2730
|
* @see https://tailwindcss.com/docs/skew
|
|
2721
2731
|
*/
|
|
2722
2732
|
skew: [{
|
|
2723
|
-
skew:
|
|
2733
|
+
skew: we()
|
|
2724
2734
|
}],
|
|
2725
2735
|
/**
|
|
2726
2736
|
* Skew X
|
|
2727
2737
|
* @see https://tailwindcss.com/docs/skew
|
|
2728
2738
|
*/
|
|
2729
2739
|
"skew-x": [{
|
|
2730
|
-
"skew-x":
|
|
2740
|
+
"skew-x": we()
|
|
2731
2741
|
}],
|
|
2732
2742
|
/**
|
|
2733
2743
|
* Skew Y
|
|
2734
2744
|
* @see https://tailwindcss.com/docs/skew
|
|
2735
2745
|
*/
|
|
2736
2746
|
"skew-y": [{
|
|
2737
|
-
"skew-y":
|
|
2747
|
+
"skew-y": we()
|
|
2738
2748
|
}],
|
|
2739
2749
|
/**
|
|
2740
2750
|
* Transform
|
|
2741
2751
|
* @see https://tailwindcss.com/docs/transform
|
|
2742
2752
|
*/
|
|
2743
2753
|
transform: [{
|
|
2744
|
-
transform: [
|
|
2754
|
+
transform: [u, d, "", "none", "gpu", "cpu"]
|
|
2745
2755
|
}],
|
|
2746
2756
|
/**
|
|
2747
2757
|
* Transform Origin
|
|
2748
2758
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2749
2759
|
*/
|
|
2750
2760
|
"transform-origin": [{
|
|
2751
|
-
origin:
|
|
2761
|
+
origin: S()
|
|
2752
2762
|
}],
|
|
2753
2763
|
/**
|
|
2754
2764
|
* Transform Style
|
|
@@ -2762,28 +2772,28 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2762
2772
|
* @see https://tailwindcss.com/docs/translate
|
|
2763
2773
|
*/
|
|
2764
2774
|
translate: [{
|
|
2765
|
-
translate:
|
|
2775
|
+
translate: me()
|
|
2766
2776
|
}],
|
|
2767
2777
|
/**
|
|
2768
2778
|
* Translate X
|
|
2769
2779
|
* @see https://tailwindcss.com/docs/translate
|
|
2770
2780
|
*/
|
|
2771
2781
|
"translate-x": [{
|
|
2772
|
-
"translate-x":
|
|
2782
|
+
"translate-x": me()
|
|
2773
2783
|
}],
|
|
2774
2784
|
/**
|
|
2775
2785
|
* Translate Y
|
|
2776
2786
|
* @see https://tailwindcss.com/docs/translate
|
|
2777
2787
|
*/
|
|
2778
2788
|
"translate-y": [{
|
|
2779
|
-
"translate-y":
|
|
2789
|
+
"translate-y": me()
|
|
2780
2790
|
}],
|
|
2781
2791
|
/**
|
|
2782
2792
|
* Translate Z
|
|
2783
2793
|
* @see https://tailwindcss.com/docs/translate
|
|
2784
2794
|
*/
|
|
2785
2795
|
"translate-z": [{
|
|
2786
|
-
"translate-z":
|
|
2796
|
+
"translate-z": me()
|
|
2787
2797
|
}],
|
|
2788
2798
|
/**
|
|
2789
2799
|
* Translate None
|
|
@@ -2826,7 +2836,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2826
2836
|
* @see https://tailwindcss.com/docs/cursor
|
|
2827
2837
|
*/
|
|
2828
2838
|
cursor: [{
|
|
2829
|
-
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",
|
|
2839
|
+
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", u, d]
|
|
2830
2840
|
}],
|
|
2831
2841
|
/**
|
|
2832
2842
|
* Field Sizing
|
|
@@ -3048,7 +3058,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
3048
3058
|
* @see https://tailwindcss.com/docs/will-change
|
|
3049
3059
|
*/
|
|
3050
3060
|
"will-change": [{
|
|
3051
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
3061
|
+
"will-change": ["auto", "scroll", "contents", "transform", u, d]
|
|
3052
3062
|
}],
|
|
3053
3063
|
// -----------
|
|
3054
3064
|
// --- SVG ---
|
|
@@ -3065,7 +3075,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
3065
3075
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3066
3076
|
*/
|
|
3067
3077
|
"stroke-w": [{
|
|
3068
|
-
stroke: [
|
|
3078
|
+
stroke: [h, ce, X, Ce]
|
|
3069
3079
|
}],
|
|
3070
3080
|
/**
|
|
3071
3081
|
* Stroke
|
|
@@ -3140,11 +3150,11 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
3140
3150
|
},
|
|
3141
3151
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3142
3152
|
};
|
|
3143
|
-
},
|
|
3144
|
-
function
|
|
3145
|
-
return
|
|
3153
|
+
}, yt = /* @__PURE__ */ Zr(ht);
|
|
3154
|
+
function F(...e) {
|
|
3155
|
+
return yt(Ze(e));
|
|
3146
3156
|
}
|
|
3147
|
-
const
|
|
3157
|
+
const vt = Pr(
|
|
3148
3158
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all cursor-pointer disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
3149
3159
|
{
|
|
3150
3160
|
variants: {
|
|
@@ -3169,30 +3179,30 @@ const Ur = tr(
|
|
|
3169
3179
|
}
|
|
3170
3180
|
}
|
|
3171
3181
|
);
|
|
3172
|
-
function
|
|
3182
|
+
function $t({
|
|
3173
3183
|
className: e,
|
|
3174
3184
|
variant: t,
|
|
3175
3185
|
size: r,
|
|
3176
3186
|
asChild: o = !1,
|
|
3177
|
-
...
|
|
3187
|
+
...n
|
|
3178
3188
|
}) {
|
|
3179
|
-
const
|
|
3180
|
-
return /* @__PURE__ */
|
|
3181
|
-
|
|
3189
|
+
const s = o ? Je : "button";
|
|
3190
|
+
return /* @__PURE__ */ T.jsx(
|
|
3191
|
+
s,
|
|
3182
3192
|
{
|
|
3183
3193
|
"data-slot": "button",
|
|
3184
|
-
className:
|
|
3185
|
-
...
|
|
3194
|
+
className: F(vt({ variant: t, size: r, className: e })),
|
|
3195
|
+
...n
|
|
3186
3196
|
}
|
|
3187
3197
|
);
|
|
3188
3198
|
}
|
|
3189
|
-
function
|
|
3190
|
-
return /* @__PURE__ */
|
|
3199
|
+
function Dt({ className: e, type: t, ...r }) {
|
|
3200
|
+
return /* @__PURE__ */ T.jsx(
|
|
3191
3201
|
"input",
|
|
3192
3202
|
{
|
|
3193
3203
|
type: t,
|
|
3194
3204
|
"data-slot": "input",
|
|
3195
|
-
className:
|
|
3205
|
+
className: F(
|
|
3196
3206
|
"file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
3197
3207
|
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
|
3198
3208
|
"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
@@ -3202,9 +3212,486 @@ function Jr({ className: e, type: t, ...r }) {
|
|
|
3202
3212
|
}
|
|
3203
3213
|
);
|
|
3204
3214
|
}
|
|
3215
|
+
function Gt({ className: e, ...t }) {
|
|
3216
|
+
return /* @__PURE__ */ T.jsx(
|
|
3217
|
+
"div",
|
|
3218
|
+
{
|
|
3219
|
+
"data-slot": "card",
|
|
3220
|
+
className: F(
|
|
3221
|
+
"bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
|
|
3222
|
+
e
|
|
3223
|
+
),
|
|
3224
|
+
...t
|
|
3225
|
+
}
|
|
3226
|
+
);
|
|
3227
|
+
}
|
|
3228
|
+
function Wt({ className: e, ...t }) {
|
|
3229
|
+
return /* @__PURE__ */ T.jsx(
|
|
3230
|
+
"div",
|
|
3231
|
+
{
|
|
3232
|
+
"data-slot": "card-header",
|
|
3233
|
+
className: F(
|
|
3234
|
+
"@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
|
|
3235
|
+
e
|
|
3236
|
+
),
|
|
3237
|
+
...t
|
|
3238
|
+
}
|
|
3239
|
+
);
|
|
3240
|
+
}
|
|
3241
|
+
function Yt({ className: e, ...t }) {
|
|
3242
|
+
return /* @__PURE__ */ T.jsx(
|
|
3243
|
+
"div",
|
|
3244
|
+
{
|
|
3245
|
+
"data-slot": "card-title",
|
|
3246
|
+
className: F("leading-none font-semibold", e),
|
|
3247
|
+
...t
|
|
3248
|
+
}
|
|
3249
|
+
);
|
|
3250
|
+
}
|
|
3251
|
+
function Ut({ className: e, ...t }) {
|
|
3252
|
+
return /* @__PURE__ */ T.jsx(
|
|
3253
|
+
"div",
|
|
3254
|
+
{
|
|
3255
|
+
"data-slot": "card-description",
|
|
3256
|
+
className: F("text-muted-foreground text-sm", e),
|
|
3257
|
+
...t
|
|
3258
|
+
}
|
|
3259
|
+
);
|
|
3260
|
+
}
|
|
3261
|
+
function Bt({ className: e, ...t }) {
|
|
3262
|
+
return /* @__PURE__ */ T.jsx(
|
|
3263
|
+
"div",
|
|
3264
|
+
{
|
|
3265
|
+
"data-slot": "card-action",
|
|
3266
|
+
className: F(
|
|
3267
|
+
"col-start-2 row-span-2 row-start-1 self-start justify-self-end",
|
|
3268
|
+
e
|
|
3269
|
+
),
|
|
3270
|
+
...t
|
|
3271
|
+
}
|
|
3272
|
+
);
|
|
3273
|
+
}
|
|
3274
|
+
function qt({ className: e, ...t }) {
|
|
3275
|
+
return /* @__PURE__ */ T.jsx(
|
|
3276
|
+
"div",
|
|
3277
|
+
{
|
|
3278
|
+
"data-slot": "card-content",
|
|
3279
|
+
className: F("px-6", e),
|
|
3280
|
+
...t
|
|
3281
|
+
}
|
|
3282
|
+
);
|
|
3283
|
+
}
|
|
3284
|
+
function Ht({ className: e, ...t }) {
|
|
3285
|
+
return /* @__PURE__ */ T.jsx(
|
|
3286
|
+
"div",
|
|
3287
|
+
{
|
|
3288
|
+
"data-slot": "card-footer",
|
|
3289
|
+
className: F("flex items-center px-6 [.border-t]:pt-6", e),
|
|
3290
|
+
...t
|
|
3291
|
+
}
|
|
3292
|
+
);
|
|
3293
|
+
}
|
|
3294
|
+
var xt = [
|
|
3295
|
+
"a",
|
|
3296
|
+
"button",
|
|
3297
|
+
"div",
|
|
3298
|
+
"form",
|
|
3299
|
+
"h2",
|
|
3300
|
+
"h3",
|
|
3301
|
+
"img",
|
|
3302
|
+
"input",
|
|
3303
|
+
"label",
|
|
3304
|
+
"li",
|
|
3305
|
+
"nav",
|
|
3306
|
+
"ol",
|
|
3307
|
+
"p",
|
|
3308
|
+
"select",
|
|
3309
|
+
"span",
|
|
3310
|
+
"svg",
|
|
3311
|
+
"ul"
|
|
3312
|
+
], kt = xt.reduce((e, t) => {
|
|
3313
|
+
const r = /* @__PURE__ */ He(`Primitive.${t}`), o = A.forwardRef((n, s) => {
|
|
3314
|
+
const { asChild: i, ...l } = n, c = i ? r : t;
|
|
3315
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ T.jsx(c, { ...l, ref: s });
|
|
3316
|
+
});
|
|
3317
|
+
return o.displayName = `Primitive.${t}`, { ...e, [t]: o };
|
|
3318
|
+
}, {}), wt = "Label", dr = A.forwardRef((e, t) => /* @__PURE__ */ T.jsx(
|
|
3319
|
+
kt.label,
|
|
3320
|
+
{
|
|
3321
|
+
...e,
|
|
3322
|
+
ref: t,
|
|
3323
|
+
onMouseDown: (r) => {
|
|
3324
|
+
r.target.closest("button, input, select, textarea") || (e.onMouseDown?.(r), !r.defaultPrevented && r.detail > 1 && r.preventDefault());
|
|
3325
|
+
}
|
|
3326
|
+
}
|
|
3327
|
+
));
|
|
3328
|
+
dr.displayName = wt;
|
|
3329
|
+
var _t = dr;
|
|
3330
|
+
function Ct({
|
|
3331
|
+
className: e,
|
|
3332
|
+
...t
|
|
3333
|
+
}) {
|
|
3334
|
+
return /* @__PURE__ */ T.jsx(
|
|
3335
|
+
_t,
|
|
3336
|
+
{
|
|
3337
|
+
"data-slot": "label",
|
|
3338
|
+
className: F(
|
|
3339
|
+
"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
|
|
3340
|
+
e
|
|
3341
|
+
),
|
|
3342
|
+
...t
|
|
3343
|
+
}
|
|
3344
|
+
);
|
|
3345
|
+
}
|
|
3346
|
+
var Rt = (e) => e.type === "checkbox", de = (e) => e instanceof Date, Te = (e) => e == null;
|
|
3347
|
+
const ur = (e) => typeof e == "object";
|
|
3348
|
+
var Z = (e) => !Te(e) && !Array.isArray(e) && ur(e) && !de(e), Et = (e) => Z(e) && e.target ? Rt(e.target) ? e.target.checked : e.target.value : e, St = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, At = (e, t) => e.has(St(t)), Tt = (e) => {
|
|
3349
|
+
const t = e.constructor && e.constructor.prototype;
|
|
3350
|
+
return Z(t) && t.hasOwnProperty("isPrototypeOf");
|
|
3351
|
+
}, Pt = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
3352
|
+
function fr(e) {
|
|
3353
|
+
let t;
|
|
3354
|
+
const r = Array.isArray(e), o = typeof FileList < "u" ? e instanceof FileList : !1;
|
|
3355
|
+
if (e instanceof Date)
|
|
3356
|
+
t = new Date(e);
|
|
3357
|
+
else if (!(Pt && (e instanceof Blob || o)) && (r || Z(e)))
|
|
3358
|
+
if (t = r ? [] : Object.create(Object.getPrototypeOf(e)), !r && !Tt(e))
|
|
3359
|
+
t = e;
|
|
3360
|
+
else
|
|
3361
|
+
for (const n in e)
|
|
3362
|
+
e.hasOwnProperty(n) && (t[n] = fr(e[n]));
|
|
3363
|
+
else
|
|
3364
|
+
return e;
|
|
3365
|
+
return t;
|
|
3366
|
+
}
|
|
3367
|
+
var mr = (e) => /^\w*$/.test(e), Se = (e) => e === void 0, Ot = (e) => Array.isArray(e) ? e.filter(Boolean) : [], pr = (e) => Ot(e.replace(/["|']|\]/g, "").split(/\.|\[/)), z = (e, t, r) => {
|
|
3368
|
+
if (!t || !Z(e))
|
|
3369
|
+
return r;
|
|
3370
|
+
const o = (mr(t) ? [t] : pr(t)).reduce((n, s) => Te(n) ? n : n[s], e);
|
|
3371
|
+
return Se(o) || o === e ? Se(e[t]) ? r : e[t] : o;
|
|
3372
|
+
}, Re = (e) => typeof e == "boolean", Ge = (e, t, r) => {
|
|
3373
|
+
let o = -1;
|
|
3374
|
+
const n = mr(t) ? [t] : pr(t), s = n.length, i = s - 1;
|
|
3375
|
+
for (; ++o < s; ) {
|
|
3376
|
+
const l = n[o];
|
|
3377
|
+
let c = r;
|
|
3378
|
+
if (o !== i) {
|
|
3379
|
+
const f = e[l];
|
|
3380
|
+
c = Z(f) || Array.isArray(f) ? f : isNaN(+n[o + 1]) ? {} : [];
|
|
3381
|
+
}
|
|
3382
|
+
if (l === "__proto__" || l === "constructor" || l === "prototype")
|
|
3383
|
+
return;
|
|
3384
|
+
e[l] = c, e = e[l];
|
|
3385
|
+
}
|
|
3386
|
+
};
|
|
3387
|
+
const We = {
|
|
3388
|
+
BLUR: "blur",
|
|
3389
|
+
CHANGE: "change"
|
|
3390
|
+
}, Ye = {
|
|
3391
|
+
all: "all"
|
|
3392
|
+
}, Pe = _.createContext(null);
|
|
3393
|
+
Pe.displayName = "HookFormContext";
|
|
3394
|
+
const xe = () => _.useContext(Pe), Nt = (e) => {
|
|
3395
|
+
const { children: t, ...r } = e;
|
|
3396
|
+
return _.createElement(Pe.Provider, { value: r }, t);
|
|
3397
|
+
};
|
|
3398
|
+
var jt = (e, t, r, o = !0) => {
|
|
3399
|
+
const n = {
|
|
3400
|
+
defaultValues: t._defaultValues
|
|
3401
|
+
};
|
|
3402
|
+
for (const s in e)
|
|
3403
|
+
Object.defineProperty(n, s, {
|
|
3404
|
+
get: () => {
|
|
3405
|
+
const i = s;
|
|
3406
|
+
return t._proxyFormState[i] !== Ye.all && (t._proxyFormState[i] = !o || Ye.all), r && (r[i] = !0), e[i];
|
|
3407
|
+
}
|
|
3408
|
+
});
|
|
3409
|
+
return n;
|
|
3410
|
+
};
|
|
3411
|
+
const br = typeof window < "u" ? _.useLayoutEffect : _.useEffect;
|
|
3412
|
+
function gr(e) {
|
|
3413
|
+
const t = xe(), { control: r = t.control, disabled: o, name: n, exact: s } = e || {}, [i, l] = _.useState(r._formState), c = _.useRef({
|
|
3414
|
+
isDirty: !1,
|
|
3415
|
+
isLoading: !1,
|
|
3416
|
+
dirtyFields: !1,
|
|
3417
|
+
touchedFields: !1,
|
|
3418
|
+
validatingFields: !1,
|
|
3419
|
+
isValidating: !1,
|
|
3420
|
+
isValid: !1,
|
|
3421
|
+
errors: !1
|
|
3422
|
+
});
|
|
3423
|
+
return br(() => r._subscribe({
|
|
3424
|
+
name: n,
|
|
3425
|
+
formState: c.current,
|
|
3426
|
+
exact: s,
|
|
3427
|
+
callback: (f) => {
|
|
3428
|
+
!o && l({
|
|
3429
|
+
...r._formState,
|
|
3430
|
+
...f
|
|
3431
|
+
});
|
|
3432
|
+
}
|
|
3433
|
+
}), [n, o, s]), _.useEffect(() => {
|
|
3434
|
+
c.current.isValid && r._setValid(!0);
|
|
3435
|
+
}, [r]), _.useMemo(() => jt(i, r, c.current, !1), [i, r]);
|
|
3436
|
+
}
|
|
3437
|
+
var It = (e) => typeof e == "string", Ue = (e, t, r, o, n) => It(e) ? z(r, e, n) : Array.isArray(e) ? e.map((s) => z(r, s)) : r, Be = (e) => Te(e) || !ur(e);
|
|
3438
|
+
function he(e, t, r = /* @__PURE__ */ new WeakSet()) {
|
|
3439
|
+
if (Be(e) || Be(t))
|
|
3440
|
+
return Object.is(e, t);
|
|
3441
|
+
if (de(e) && de(t))
|
|
3442
|
+
return e.getTime() === t.getTime();
|
|
3443
|
+
const o = Object.keys(e), n = Object.keys(t);
|
|
3444
|
+
if (o.length !== n.length)
|
|
3445
|
+
return !1;
|
|
3446
|
+
if (r.has(e) || r.has(t))
|
|
3447
|
+
return !0;
|
|
3448
|
+
r.add(e), r.add(t);
|
|
3449
|
+
for (const s of o) {
|
|
3450
|
+
const i = e[s];
|
|
3451
|
+
if (!n.includes(s))
|
|
3452
|
+
return !1;
|
|
3453
|
+
if (s !== "ref") {
|
|
3454
|
+
const l = t[s];
|
|
3455
|
+
if (de(i) && de(l) || Z(i) && Z(l) || Array.isArray(i) && Array.isArray(l) ? !he(i, l, r) : !Object.is(i, l))
|
|
3456
|
+
return !1;
|
|
3457
|
+
}
|
|
3458
|
+
}
|
|
3459
|
+
return !0;
|
|
3460
|
+
}
|
|
3461
|
+
function Vt(e) {
|
|
3462
|
+
const t = xe(), { control: r = t.control, name: o, defaultValue: n, disabled: s, exact: i, compute: l } = e || {}, c = _.useRef(n), f = _.useRef(l), x = _.useRef(void 0), g = _.useRef(r), C = _.useRef(o);
|
|
3463
|
+
f.current = l;
|
|
3464
|
+
const [P, N] = _.useState(() => {
|
|
3465
|
+
const k = r._getWatch(o, c.current);
|
|
3466
|
+
return f.current ? f.current(k) : k;
|
|
3467
|
+
}), E = _.useCallback((k) => {
|
|
3468
|
+
const S = Ue(o, r._names, k || r._formValues, !1, c.current);
|
|
3469
|
+
return f.current ? f.current(S) : S;
|
|
3470
|
+
}, [r._formValues, r._names, o]), R = _.useCallback((k) => {
|
|
3471
|
+
if (!s) {
|
|
3472
|
+
const S = Ue(o, r._names, k || r._formValues, !1, c.current);
|
|
3473
|
+
if (f.current) {
|
|
3474
|
+
const j = f.current(S);
|
|
3475
|
+
he(j, x.current) || (N(j), x.current = j);
|
|
3476
|
+
} else
|
|
3477
|
+
N(S);
|
|
3478
|
+
}
|
|
3479
|
+
}, [r._formValues, r._names, s, o]);
|
|
3480
|
+
br(() => ((g.current !== r || !he(C.current, o)) && (g.current = r, C.current = o, R()), r._subscribe({
|
|
3481
|
+
name: o,
|
|
3482
|
+
formState: {
|
|
3483
|
+
values: !0
|
|
3484
|
+
},
|
|
3485
|
+
exact: i,
|
|
3486
|
+
callback: (k) => {
|
|
3487
|
+
R(k.values);
|
|
3488
|
+
}
|
|
3489
|
+
})), [r, i, o, R]), _.useEffect(() => r._removeUnmounted());
|
|
3490
|
+
const V = g.current !== r, L = C.current, M = _.useMemo(() => {
|
|
3491
|
+
if (s)
|
|
3492
|
+
return null;
|
|
3493
|
+
const k = !V && !he(L, o);
|
|
3494
|
+
return V || k ? E() : null;
|
|
3495
|
+
}, [s, V, o, L, E]);
|
|
3496
|
+
return M !== null ? M : P;
|
|
3497
|
+
}
|
|
3498
|
+
function zt(e) {
|
|
3499
|
+
const t = xe(), { name: r, disabled: o, control: n = t.control, shouldUnregister: s, defaultValue: i, exact: l = !0 } = e, c = At(n._names.array, r), f = _.useMemo(() => z(n._formValues, r, z(n._defaultValues, r, i)), [n, r, i]), x = Vt({
|
|
3500
|
+
control: n,
|
|
3501
|
+
name: r,
|
|
3502
|
+
defaultValue: f,
|
|
3503
|
+
exact: l
|
|
3504
|
+
}), g = gr({
|
|
3505
|
+
control: n,
|
|
3506
|
+
name: r,
|
|
3507
|
+
exact: l
|
|
3508
|
+
}), C = _.useRef(e), P = _.useRef(void 0), N = _.useRef(n.register(r, {
|
|
3509
|
+
...e.rules,
|
|
3510
|
+
value: x,
|
|
3511
|
+
...Re(e.disabled) ? { disabled: e.disabled } : {}
|
|
3512
|
+
}));
|
|
3513
|
+
C.current = e;
|
|
3514
|
+
const E = _.useMemo(() => Object.defineProperties({}, {
|
|
3515
|
+
invalid: {
|
|
3516
|
+
enumerable: !0,
|
|
3517
|
+
get: () => !!z(g.errors, r)
|
|
3518
|
+
},
|
|
3519
|
+
isDirty: {
|
|
3520
|
+
enumerable: !0,
|
|
3521
|
+
get: () => !!z(g.dirtyFields, r)
|
|
3522
|
+
},
|
|
3523
|
+
isTouched: {
|
|
3524
|
+
enumerable: !0,
|
|
3525
|
+
get: () => !!z(g.touchedFields, r)
|
|
3526
|
+
},
|
|
3527
|
+
isValidating: {
|
|
3528
|
+
enumerable: !0,
|
|
3529
|
+
get: () => !!z(g.validatingFields, r)
|
|
3530
|
+
},
|
|
3531
|
+
error: {
|
|
3532
|
+
enumerable: !0,
|
|
3533
|
+
get: () => z(g.errors, r)
|
|
3534
|
+
}
|
|
3535
|
+
}), [g, r]), R = _.useCallback((k) => N.current.onChange({
|
|
3536
|
+
target: {
|
|
3537
|
+
value: Et(k),
|
|
3538
|
+
name: r
|
|
3539
|
+
},
|
|
3540
|
+
type: We.CHANGE
|
|
3541
|
+
}), [r]), V = _.useCallback(() => N.current.onBlur({
|
|
3542
|
+
target: {
|
|
3543
|
+
value: z(n._formValues, r),
|
|
3544
|
+
name: r
|
|
3545
|
+
},
|
|
3546
|
+
type: We.BLUR
|
|
3547
|
+
}), [r, n._formValues]), L = _.useCallback((k) => {
|
|
3548
|
+
const S = z(n._fields, r);
|
|
3549
|
+
S && k && (S._f.ref = {
|
|
3550
|
+
focus: () => k.focus && k.focus(),
|
|
3551
|
+
select: () => k.select && k.select(),
|
|
3552
|
+
setCustomValidity: (j) => k.setCustomValidity(j),
|
|
3553
|
+
reportValidity: () => k.reportValidity()
|
|
3554
|
+
});
|
|
3555
|
+
}, [n._fields, r]), M = _.useMemo(() => ({
|
|
3556
|
+
name: r,
|
|
3557
|
+
value: x,
|
|
3558
|
+
...Re(o) || g.disabled ? { disabled: g.disabled || o } : {},
|
|
3559
|
+
onChange: R,
|
|
3560
|
+
onBlur: V,
|
|
3561
|
+
ref: L
|
|
3562
|
+
}), [r, o, g.disabled, R, V, L, x]);
|
|
3563
|
+
return _.useEffect(() => {
|
|
3564
|
+
const k = n._options.shouldUnregister || s, S = P.current;
|
|
3565
|
+
S && S !== r && !c && n.unregister(S), n.register(r, {
|
|
3566
|
+
...C.current.rules,
|
|
3567
|
+
...Re(C.current.disabled) ? { disabled: C.current.disabled } : {}
|
|
3568
|
+
});
|
|
3569
|
+
const j = ($, p) => {
|
|
3570
|
+
const I = z(n._fields, $);
|
|
3571
|
+
I && I._f && (I._f.mount = p);
|
|
3572
|
+
};
|
|
3573
|
+
if (j(r, !0), k) {
|
|
3574
|
+
const $ = fr(z(n._options.defaultValues, r, C.current.defaultValue));
|
|
3575
|
+
Ge(n._defaultValues, r, $), Se(z(n._formValues, r)) && Ge(n._formValues, r, $);
|
|
3576
|
+
}
|
|
3577
|
+
return !c && n.register(r), P.current = r, () => {
|
|
3578
|
+
(c ? k && !n._state.action : k) ? n.unregister(r) : j(r, !1);
|
|
3579
|
+
};
|
|
3580
|
+
}, [r, n, c, s]), _.useEffect(() => {
|
|
3581
|
+
n._setDisabledField({
|
|
3582
|
+
disabled: o,
|
|
3583
|
+
name: r
|
|
3584
|
+
});
|
|
3585
|
+
}, [o, r, n]), _.useMemo(() => ({
|
|
3586
|
+
field: M,
|
|
3587
|
+
formState: g,
|
|
3588
|
+
fieldState: E
|
|
3589
|
+
}), [M, g, E]);
|
|
3590
|
+
}
|
|
3591
|
+
const Ft = (e) => e.render(zt(e)), Jt = Nt, hr = A.createContext(
|
|
3592
|
+
{}
|
|
3593
|
+
), Xt = ({
|
|
3594
|
+
...e
|
|
3595
|
+
}) => /* @__PURE__ */ T.jsx(hr.Provider, { value: { name: e.name }, children: /* @__PURE__ */ T.jsx(Ft, { ...e }) }), ke = () => {
|
|
3596
|
+
const e = A.useContext(hr), t = A.useContext(yr), { getFieldState: r } = xe(), o = gr({ name: e.name }), n = r(e.name, o);
|
|
3597
|
+
if (!e)
|
|
3598
|
+
throw new Error("useFormField should be used within <FormField>");
|
|
3599
|
+
const { id: s } = t;
|
|
3600
|
+
return {
|
|
3601
|
+
id: s,
|
|
3602
|
+
name: e.name,
|
|
3603
|
+
formItemId: `${s}-form-item`,
|
|
3604
|
+
formDescriptionId: `${s}-form-item-description`,
|
|
3605
|
+
formMessageId: `${s}-form-item-message`,
|
|
3606
|
+
...n
|
|
3607
|
+
};
|
|
3608
|
+
}, yr = A.createContext(
|
|
3609
|
+
{}
|
|
3610
|
+
);
|
|
3611
|
+
function Zt({ className: e, ...t }) {
|
|
3612
|
+
const r = A.useId();
|
|
3613
|
+
return /* @__PURE__ */ T.jsx(yr.Provider, { value: { id: r }, children: /* @__PURE__ */ T.jsx(
|
|
3614
|
+
"div",
|
|
3615
|
+
{
|
|
3616
|
+
"data-slot": "form-item",
|
|
3617
|
+
className: F("grid gap-2", e),
|
|
3618
|
+
...t
|
|
3619
|
+
}
|
|
3620
|
+
) });
|
|
3621
|
+
}
|
|
3622
|
+
function Qt({
|
|
3623
|
+
className: e,
|
|
3624
|
+
...t
|
|
3625
|
+
}) {
|
|
3626
|
+
const { error: r, formItemId: o } = ke();
|
|
3627
|
+
return /* @__PURE__ */ T.jsx(
|
|
3628
|
+
Ct,
|
|
3629
|
+
{
|
|
3630
|
+
"data-slot": "form-label",
|
|
3631
|
+
"data-error": !!r,
|
|
3632
|
+
className: F("data-[error=true]:text-destructive", e),
|
|
3633
|
+
htmlFor: o,
|
|
3634
|
+
...t
|
|
3635
|
+
}
|
|
3636
|
+
);
|
|
3637
|
+
}
|
|
3638
|
+
function Kt({ ...e }) {
|
|
3639
|
+
const { error: t, formItemId: r, formDescriptionId: o, formMessageId: n } = ke();
|
|
3640
|
+
return /* @__PURE__ */ T.jsx(
|
|
3641
|
+
Je,
|
|
3642
|
+
{
|
|
3643
|
+
"data-slot": "form-control",
|
|
3644
|
+
id: r,
|
|
3645
|
+
"aria-describedby": t ? `${o} ${n}` : `${o}`,
|
|
3646
|
+
"aria-invalid": !!t,
|
|
3647
|
+
...e
|
|
3648
|
+
}
|
|
3649
|
+
);
|
|
3650
|
+
}
|
|
3651
|
+
function eo({ className: e, ...t }) {
|
|
3652
|
+
const { formDescriptionId: r } = ke();
|
|
3653
|
+
return /* @__PURE__ */ T.jsx(
|
|
3654
|
+
"p",
|
|
3655
|
+
{
|
|
3656
|
+
"data-slot": "form-description",
|
|
3657
|
+
id: r,
|
|
3658
|
+
className: F("text-muted-foreground text-sm", e),
|
|
3659
|
+
...t
|
|
3660
|
+
}
|
|
3661
|
+
);
|
|
3662
|
+
}
|
|
3663
|
+
function ro({ className: e, ...t }) {
|
|
3664
|
+
const { error: r, formMessageId: o } = ke(), n = r ? String(r?.message ?? "") : t.children;
|
|
3665
|
+
return n ? /* @__PURE__ */ T.jsx(
|
|
3666
|
+
"p",
|
|
3667
|
+
{
|
|
3668
|
+
"data-slot": "form-message",
|
|
3669
|
+
id: o,
|
|
3670
|
+
className: F("text-destructive text-sm", e),
|
|
3671
|
+
...t,
|
|
3672
|
+
children: n
|
|
3673
|
+
}
|
|
3674
|
+
) : null;
|
|
3675
|
+
}
|
|
3205
3676
|
export {
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3677
|
+
$t as Button,
|
|
3678
|
+
Gt as Card,
|
|
3679
|
+
Bt as CardAction,
|
|
3680
|
+
qt as CardContent,
|
|
3681
|
+
Ut as CardDescription,
|
|
3682
|
+
Ht as CardFooter,
|
|
3683
|
+
Wt as CardHeader,
|
|
3684
|
+
Yt as CardTitle,
|
|
3685
|
+
Jt as Form,
|
|
3686
|
+
Kt as FormControl,
|
|
3687
|
+
eo as FormDescription,
|
|
3688
|
+
Xt as FormField,
|
|
3689
|
+
Zt as FormItem,
|
|
3690
|
+
Qt as FormLabel,
|
|
3691
|
+
ro as FormMessage,
|
|
3692
|
+
Dt as Input,
|
|
3693
|
+
Ct as Label,
|
|
3694
|
+
vt as buttonVariants,
|
|
3695
|
+
ke as useFormField
|
|
3209
3696
|
};
|
|
3210
3697
|
//# sourceMappingURL=index.es.js.map
|