@antoniobenincasa/ui 0.1.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +45 -0
- package/dist/index.es.js +2007 -830
- package/dist/index.es.js.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +18 -9
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import * as c from "react";
|
|
2
|
+
import E from "react";
|
|
3
|
+
import "react-dom";
|
|
4
|
+
var ve = { exports: {} }, ue = {};
|
|
4
5
|
/**
|
|
5
6
|
* @license React
|
|
6
7
|
* react-jsx-runtime.production.js
|
|
@@ -10,29 +11,29 @@ var de = { exports: {} }, ne = {};
|
|
|
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
|
-
|
|
17
|
-
var e = Symbol.for("react.transitional.element"),
|
|
18
|
-
function
|
|
19
|
-
var
|
|
20
|
-
if (
|
|
21
|
-
|
|
22
|
-
for (var
|
|
23
|
-
|
|
24
|
-
} else
|
|
25
|
-
return
|
|
14
|
+
var We;
|
|
15
|
+
function Qt() {
|
|
16
|
+
if (We) return ue;
|
|
17
|
+
We = 1;
|
|
18
|
+
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
19
|
+
function r(o, n, s) {
|
|
20
|
+
var a = null;
|
|
21
|
+
if (s !== void 0 && (a = "" + s), n.key !== void 0 && (a = "" + n.key), "key" in n) {
|
|
22
|
+
s = {};
|
|
23
|
+
for (var i in n)
|
|
24
|
+
i !== "key" && (s[i] = n[i]);
|
|
25
|
+
} else s = n;
|
|
26
|
+
return n = s.ref, {
|
|
26
27
|
$$typeof: e,
|
|
27
28
|
type: o,
|
|
28
|
-
key:
|
|
29
|
-
ref:
|
|
30
|
-
props:
|
|
29
|
+
key: a,
|
|
30
|
+
ref: n !== void 0 ? n : null,
|
|
31
|
+
props: s
|
|
31
32
|
};
|
|
32
33
|
}
|
|
33
|
-
return
|
|
34
|
+
return ue.Fragment = t, ue.jsx = r, ue.jsxs = r, ue;
|
|
34
35
|
}
|
|
35
|
-
var
|
|
36
|
+
var de = {};
|
|
36
37
|
/**
|
|
37
38
|
* @license React
|
|
38
39
|
* react-jsx-runtime.development.js
|
|
@@ -42,457 +43,469 @@ var se = {};
|
|
|
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 Ue;
|
|
47
|
+
function er() {
|
|
48
|
+
return Ue || (Ue = 1, process.env.NODE_ENV !== "production" && function() {
|
|
49
|
+
function e(d) {
|
|
50
|
+
if (d == null) return null;
|
|
51
|
+
if (typeof d == "function")
|
|
52
|
+
return d.$$typeof === q ? null : d.displayName || d.name || null;
|
|
53
|
+
if (typeof d == "string") return d;
|
|
54
|
+
switch (d) {
|
|
55
|
+
case b:
|
|
55
56
|
return "Fragment";
|
|
56
|
-
case
|
|
57
|
+
case F:
|
|
57
58
|
return "Profiler";
|
|
58
|
-
case
|
|
59
|
+
case P:
|
|
59
60
|
return "StrictMode";
|
|
60
|
-
case
|
|
61
|
+
case j:
|
|
61
62
|
return "Suspense";
|
|
62
|
-
case
|
|
63
|
+
case L:
|
|
63
64
|
return "SuspenseList";
|
|
64
|
-
case
|
|
65
|
+
case Z:
|
|
65
66
|
return "Activity";
|
|
66
67
|
}
|
|
67
|
-
if (typeof
|
|
68
|
-
switch (typeof
|
|
68
|
+
if (typeof d == "object")
|
|
69
|
+
switch (typeof d.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
|
+
), d.$$typeof) {
|
|
72
|
+
case R:
|
|
72
73
|
return "Portal";
|
|
73
|
-
case
|
|
74
|
-
return
|
|
75
|
-
case U:
|
|
76
|
-
return (n._context.displayName || "Context") + ".Consumer";
|
|
77
|
-
case W:
|
|
78
|
-
var b = n.render;
|
|
79
|
-
return n = n.displayName, n || (n = b.displayName || b.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
|
|
80
|
-
case p:
|
|
81
|
-
return b = n.displayName || null, b !== null ? b : e(n.type) || "Memo";
|
|
74
|
+
case x:
|
|
75
|
+
return d.displayName || "Context";
|
|
82
76
|
case A:
|
|
83
|
-
|
|
77
|
+
return (d._context.displayName || "Context") + ".Consumer";
|
|
78
|
+
case O:
|
|
79
|
+
var k = d.render;
|
|
80
|
+
return d = d.displayName, d || (d = k.displayName || k.name || "", d = d !== "" ? "ForwardRef(" + d + ")" : "ForwardRef"), d;
|
|
81
|
+
case v:
|
|
82
|
+
return k = d.displayName || null, k !== null ? k : e(d.type) || "Memo";
|
|
83
|
+
case V:
|
|
84
|
+
k = d._payload, d = d._init;
|
|
84
85
|
try {
|
|
85
|
-
return e(
|
|
86
|
+
return e(d(k));
|
|
86
87
|
} catch {
|
|
87
88
|
}
|
|
88
89
|
}
|
|
89
90
|
return null;
|
|
90
91
|
}
|
|
91
|
-
function
|
|
92
|
-
return "" +
|
|
92
|
+
function t(d) {
|
|
93
|
+
return "" + d;
|
|
93
94
|
}
|
|
94
|
-
function
|
|
95
|
+
function r(d) {
|
|
95
96
|
try {
|
|
96
|
-
|
|
97
|
-
var
|
|
97
|
+
t(d);
|
|
98
|
+
var k = !1;
|
|
98
99
|
} catch {
|
|
99
|
-
|
|
100
|
+
k = !0;
|
|
100
101
|
}
|
|
101
|
-
if (
|
|
102
|
-
|
|
103
|
-
var
|
|
104
|
-
return
|
|
105
|
-
|
|
102
|
+
if (k) {
|
|
103
|
+
k = console;
|
|
104
|
+
var _ = k.error, N = typeof Symbol == "function" && Symbol.toStringTag && d[Symbol.toStringTag] || d.constructor.name || "Object";
|
|
105
|
+
return _.call(
|
|
106
|
+
k,
|
|
106
107
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
107
|
-
|
|
108
|
-
),
|
|
108
|
+
N
|
|
109
|
+
), t(d);
|
|
109
110
|
}
|
|
110
111
|
}
|
|
111
|
-
function o(
|
|
112
|
-
if (
|
|
113
|
-
if (typeof
|
|
112
|
+
function o(d) {
|
|
113
|
+
if (d === b) return "<>";
|
|
114
|
+
if (typeof d == "object" && d !== null && d.$$typeof === V)
|
|
114
115
|
return "<...>";
|
|
115
116
|
try {
|
|
116
|
-
var
|
|
117
|
-
return
|
|
117
|
+
var k = e(d);
|
|
118
|
+
return k ? "<" + k + ">" : "<...>";
|
|
118
119
|
} catch {
|
|
119
120
|
return "<...>";
|
|
120
121
|
}
|
|
121
122
|
}
|
|
122
|
-
function
|
|
123
|
-
var
|
|
124
|
-
return
|
|
123
|
+
function n() {
|
|
124
|
+
var d = W.A;
|
|
125
|
+
return d === null ? null : d.getOwner();
|
|
125
126
|
}
|
|
126
|
-
function
|
|
127
|
+
function s() {
|
|
127
128
|
return Error("react-stack-top-frame");
|
|
128
129
|
}
|
|
129
|
-
function
|
|
130
|
-
if (
|
|
131
|
-
var
|
|
132
|
-
if (
|
|
130
|
+
function a(d) {
|
|
131
|
+
if (Q.call(d, "key")) {
|
|
132
|
+
var k = Object.getOwnPropertyDescriptor(d, "key").get;
|
|
133
|
+
if (k && k.isReactWarning) return !1;
|
|
133
134
|
}
|
|
134
|
-
return
|
|
135
|
+
return d.key !== void 0;
|
|
135
136
|
}
|
|
136
|
-
function
|
|
137
|
-
function
|
|
138
|
-
|
|
137
|
+
function i(d, k) {
|
|
138
|
+
function _() {
|
|
139
|
+
M || (M = !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
|
+
k
|
|
141
142
|
));
|
|
142
143
|
}
|
|
143
|
-
|
|
144
|
-
get:
|
|
144
|
+
_.isReactWarning = !0, Object.defineProperty(d, "key", {
|
|
145
|
+
get: _,
|
|
145
146
|
configurable: !0
|
|
146
147
|
});
|
|
147
148
|
}
|
|
148
|
-
function
|
|
149
|
-
var
|
|
150
|
-
return
|
|
149
|
+
function l() {
|
|
150
|
+
var d = e(this.type);
|
|
151
|
+
return U[d] || (U[d] = !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
|
+
)), d = this.props.ref, d !== void 0 ? d : null;
|
|
153
154
|
}
|
|
154
|
-
function
|
|
155
|
-
var
|
|
156
|
-
return
|
|
157
|
-
$$typeof:
|
|
158
|
-
type:
|
|
159
|
-
key:
|
|
160
|
-
props:
|
|
161
|
-
_owner:
|
|
162
|
-
}, (
|
|
155
|
+
function u(d, k, _, N, B, oe) {
|
|
156
|
+
var T = _.ref;
|
|
157
|
+
return d = {
|
|
158
|
+
$$typeof: I,
|
|
159
|
+
type: d,
|
|
160
|
+
key: k,
|
|
161
|
+
props: _,
|
|
162
|
+
_owner: N
|
|
163
|
+
}, (T !== void 0 ? T : null) !== null ? Object.defineProperty(d, "ref", {
|
|
163
164
|
enumerable: !1,
|
|
164
|
-
get:
|
|
165
|
-
}) : Object.defineProperty(
|
|
165
|
+
get: l
|
|
166
|
+
}) : Object.defineProperty(d, "ref", { enumerable: !1, value: null }), d._store = {}, Object.defineProperty(d._store, "validated", {
|
|
166
167
|
configurable: !1,
|
|
167
168
|
enumerable: !1,
|
|
168
169
|
writable: !0,
|
|
169
170
|
value: 0
|
|
170
|
-
}), Object.defineProperty(
|
|
171
|
+
}), Object.defineProperty(d, "_debugInfo", {
|
|
171
172
|
configurable: !1,
|
|
172
173
|
enumerable: !1,
|
|
173
174
|
writable: !0,
|
|
174
175
|
value: null
|
|
175
|
-
}), Object.defineProperty(
|
|
176
|
+
}), Object.defineProperty(d, "_debugStack", {
|
|
176
177
|
configurable: !1,
|
|
177
178
|
enumerable: !1,
|
|
178
179
|
writable: !0,
|
|
179
|
-
value:
|
|
180
|
-
}), Object.defineProperty(
|
|
180
|
+
value: B
|
|
181
|
+
}), Object.defineProperty(d, "_debugTask", {
|
|
181
182
|
configurable: !1,
|
|
182
183
|
enumerable: !1,
|
|
183
184
|
writable: !0,
|
|
184
|
-
value:
|
|
185
|
-
}), Object.freeze && (Object.freeze(
|
|
185
|
+
value: oe
|
|
186
|
+
}), Object.freeze && (Object.freeze(d.props), Object.freeze(d)), d;
|
|
186
187
|
}
|
|
187
|
-
function
|
|
188
|
-
var
|
|
189
|
-
if (
|
|
190
|
-
if (
|
|
191
|
-
if (re(
|
|
192
|
-
for (
|
|
193
|
-
|
|
194
|
-
Object.freeze && Object.freeze(
|
|
188
|
+
function f(d, k, _, N, B, oe) {
|
|
189
|
+
var T = k.children;
|
|
190
|
+
if (T !== void 0)
|
|
191
|
+
if (N)
|
|
192
|
+
if (re(T)) {
|
|
193
|
+
for (N = 0; N < T.length; N++)
|
|
194
|
+
m(T[N]);
|
|
195
|
+
Object.freeze && Object.freeze(T);
|
|
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
|
-
|
|
202
|
-
var
|
|
203
|
-
return
|
|
200
|
+
else m(T);
|
|
201
|
+
if (Q.call(k, "key")) {
|
|
202
|
+
T = e(d);
|
|
203
|
+
var Y = Object.keys(k).filter(function(ne) {
|
|
204
|
+
return ne !== "key";
|
|
204
205
|
});
|
|
205
|
-
|
|
206
|
+
N = 0 < Y.length ? "{key: someKey, " + Y.join(": ..., ") + ": ...}" : "{key: someKey}", ce[T + N] || (Y = 0 < Y.length ? "{" + Y.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
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
),
|
|
213
|
+
N,
|
|
214
|
+
T,
|
|
215
|
+
Y,
|
|
216
|
+
T
|
|
217
|
+
), ce[T + N] = !0);
|
|
217
218
|
}
|
|
218
|
-
if (
|
|
219
|
-
|
|
220
|
-
for (var
|
|
221
|
-
|
|
222
|
-
} else
|
|
223
|
-
return
|
|
224
|
-
|
|
225
|
-
typeof
|
|
226
|
-
),
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
219
|
+
if (T = null, _ !== void 0 && (r(_), T = "" + _), a(k) && (r(k.key), T = "" + k.key), "key" in k) {
|
|
220
|
+
_ = {};
|
|
221
|
+
for (var J in k)
|
|
222
|
+
J !== "key" && (_[J] = k[J]);
|
|
223
|
+
} else _ = k;
|
|
224
|
+
return T && i(
|
|
225
|
+
_,
|
|
226
|
+
typeof d == "function" ? d.displayName || d.name || "Unknown" : d
|
|
227
|
+
), u(
|
|
228
|
+
d,
|
|
229
|
+
T,
|
|
230
|
+
_,
|
|
231
|
+
n(),
|
|
232
|
+
B,
|
|
233
|
+
oe
|
|
233
234
|
);
|
|
234
235
|
}
|
|
235
|
-
function
|
|
236
|
-
|
|
236
|
+
function m(d) {
|
|
237
|
+
h(d) ? d._store && (d._store.validated = 1) : typeof d == "object" && d !== null && d.$$typeof === V && (d._payload.status === "fulfilled" ? h(d._payload.value) && d._payload.value._store && (d._payload.value._store.validated = 1) : d._store && (d._store.validated = 1));
|
|
237
238
|
}
|
|
238
|
-
function
|
|
239
|
-
return typeof
|
|
239
|
+
function h(d) {
|
|
240
|
+
return typeof d == "object" && d !== null && d.$$typeof === I;
|
|
240
241
|
}
|
|
241
|
-
var
|
|
242
|
+
var C = E, I = Symbol.for("react.transitional.element"), R = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), P = Symbol.for("react.strict_mode"), F = Symbol.for("react.profiler"), A = Symbol.for("react.consumer"), x = Symbol.for("react.context"), O = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), L = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), V = Symbol.for("react.lazy"), Z = Symbol.for("react.activity"), q = Symbol.for("react.client.reference"), W = C.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Q = Object.prototype.hasOwnProperty, re = Array.isArray, G = console.createTask ? console.createTask : function() {
|
|
242
243
|
return null;
|
|
243
244
|
};
|
|
244
|
-
|
|
245
|
-
react_stack_bottom_frame: function(
|
|
246
|
-
return
|
|
245
|
+
C = {
|
|
246
|
+
react_stack_bottom_frame: function(d) {
|
|
247
|
+
return d();
|
|
247
248
|
}
|
|
248
249
|
};
|
|
249
|
-
var
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
)(),
|
|
253
|
-
|
|
254
|
-
var
|
|
255
|
-
return
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
250
|
+
var M, U = {}, w = C.react_stack_bottom_frame.bind(
|
|
251
|
+
C,
|
|
252
|
+
s
|
|
253
|
+
)(), le = G(o(s)), ce = {};
|
|
254
|
+
de.Fragment = b, de.jsx = function(d, k, _) {
|
|
255
|
+
var N = 1e4 > W.recentlyCreatedOwnerStacks++;
|
|
256
|
+
return f(
|
|
257
|
+
d,
|
|
258
|
+
k,
|
|
259
|
+
_,
|
|
259
260
|
!1,
|
|
260
|
-
|
|
261
|
-
|
|
261
|
+
N ? Error("react-stack-top-frame") : w,
|
|
262
|
+
N ? G(o(d)) : le
|
|
262
263
|
);
|
|
263
|
-
},
|
|
264
|
-
var
|
|
265
|
-
return
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
264
|
+
}, de.jsxs = function(d, k, _) {
|
|
265
|
+
var N = 1e4 > W.recentlyCreatedOwnerStacks++;
|
|
266
|
+
return f(
|
|
267
|
+
d,
|
|
268
|
+
k,
|
|
269
|
+
_,
|
|
269
270
|
!0,
|
|
270
|
-
|
|
271
|
-
|
|
271
|
+
N ? Error("react-stack-top-frame") : w,
|
|
272
|
+
N ? G(o(d)) : le
|
|
272
273
|
);
|
|
273
274
|
};
|
|
274
|
-
}()),
|
|
275
|
+
}()), de;
|
|
275
276
|
}
|
|
276
|
-
var
|
|
277
|
-
function
|
|
278
|
-
return
|
|
277
|
+
var Be;
|
|
278
|
+
function tr() {
|
|
279
|
+
return Be || (Be = 1, process.env.NODE_ENV === "production" ? ve.exports = Qt() : ve.exports = er()), ve.exports;
|
|
279
280
|
}
|
|
280
|
-
var
|
|
281
|
-
function
|
|
281
|
+
var y = tr();
|
|
282
|
+
function Ye(e, t) {
|
|
282
283
|
if (typeof e == "function")
|
|
283
|
-
return e(
|
|
284
|
-
e != null && (e.current =
|
|
285
|
-
}
|
|
286
|
-
function
|
|
287
|
-
return (
|
|
288
|
-
let
|
|
289
|
-
const o = e.map((
|
|
290
|
-
const
|
|
291
|
-
return !
|
|
284
|
+
return e(t);
|
|
285
|
+
e != null && (e.current = t);
|
|
286
|
+
}
|
|
287
|
+
function pe(...e) {
|
|
288
|
+
return (t) => {
|
|
289
|
+
let r = !1;
|
|
290
|
+
const o = e.map((n) => {
|
|
291
|
+
const s = Ye(n, t);
|
|
292
|
+
return !r && typeof s == "function" && (r = !0), s;
|
|
292
293
|
});
|
|
293
|
-
if (
|
|
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() : Ye(e[n], null);
|
|
298
299
|
}
|
|
299
300
|
};
|
|
300
301
|
};
|
|
301
302
|
}
|
|
303
|
+
function ke(...e) {
|
|
304
|
+
return c.useCallback(pe(...e), e);
|
|
305
|
+
}
|
|
306
|
+
var rr = Symbol.for("react.lazy"), Ce = c[" use ".trim().toString()];
|
|
307
|
+
function or(e) {
|
|
308
|
+
return typeof e == "object" && e !== null && "then" in e;
|
|
309
|
+
}
|
|
310
|
+
function at(e) {
|
|
311
|
+
return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === rr && "_payload" in e && or(e._payload);
|
|
312
|
+
}
|
|
302
313
|
// @__NO_SIDE_EFFECTS__
|
|
303
|
-
function
|
|
304
|
-
const
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
314
|
+
function it(e) {
|
|
315
|
+
const t = /* @__PURE__ */ nr(e), r = c.forwardRef((o, n) => {
|
|
316
|
+
let { children: s, ...a } = o;
|
|
317
|
+
at(s) && typeof Ce == "function" && (s = Ce(s._payload));
|
|
318
|
+
const i = c.Children.toArray(s), l = i.find(ar);
|
|
319
|
+
if (l) {
|
|
320
|
+
const u = l.props.children, f = i.map((m) => m === l ? c.Children.count(u) > 1 ? c.Children.only(null) : c.isValidElement(u) ? u.props.children : null : m);
|
|
321
|
+
return /* @__PURE__ */ y.jsx(t, { ...a, ref: n, children: c.isValidElement(u) ? c.cloneElement(u, void 0, f) : null });
|
|
309
322
|
}
|
|
310
|
-
return /* @__PURE__ */
|
|
323
|
+
return /* @__PURE__ */ y.jsx(t, { ...a, ref: n, children: s });
|
|
311
324
|
});
|
|
312
|
-
return
|
|
325
|
+
return r.displayName = `${e}.Slot`, r;
|
|
313
326
|
}
|
|
314
|
-
var
|
|
327
|
+
var lt = /* @__PURE__ */ it("Slot");
|
|
315
328
|
// @__NO_SIDE_EFFECTS__
|
|
316
|
-
function
|
|
317
|
-
const
|
|
318
|
-
|
|
319
|
-
if (
|
|
320
|
-
const
|
|
321
|
-
return
|
|
329
|
+
function nr(e) {
|
|
330
|
+
const t = c.forwardRef((r, o) => {
|
|
331
|
+
let { children: n, ...s } = r;
|
|
332
|
+
if (at(n) && typeof Ce == "function" && (n = Ce(n._payload)), c.isValidElement(n)) {
|
|
333
|
+
const a = lr(n), i = ir(s, n.props);
|
|
334
|
+
return n.type !== c.Fragment && (i.ref = o ? pe(o, a) : a), c.cloneElement(n, i);
|
|
322
335
|
}
|
|
323
|
-
return
|
|
336
|
+
return c.Children.count(n) > 1 ? c.Children.only(null) : null;
|
|
324
337
|
});
|
|
325
|
-
return
|
|
326
|
-
}
|
|
327
|
-
var
|
|
328
|
-
function
|
|
329
|
-
return
|
|
330
|
-
}
|
|
331
|
-
function
|
|
332
|
-
const
|
|
333
|
-
for (const o in
|
|
334
|
-
const
|
|
335
|
-
/^on[A-Z]/.test(o) ?
|
|
336
|
-
const
|
|
337
|
-
return
|
|
338
|
-
} :
|
|
338
|
+
return t.displayName = `${e}.SlotClone`, t;
|
|
339
|
+
}
|
|
340
|
+
var sr = Symbol("radix.slottable");
|
|
341
|
+
function ar(e) {
|
|
342
|
+
return c.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === sr;
|
|
343
|
+
}
|
|
344
|
+
function ir(e, t) {
|
|
345
|
+
const r = { ...t };
|
|
346
|
+
for (const o in t) {
|
|
347
|
+
const n = e[o], s = t[o];
|
|
348
|
+
/^on[A-Z]/.test(o) ? n && s ? r[o] = (...i) => {
|
|
349
|
+
const l = s(...i);
|
|
350
|
+
return n(...i), l;
|
|
351
|
+
} : n && (r[o] = n) : o === "style" ? r[o] = { ...n, ...s } : o === "className" && (r[o] = [n, s].filter(Boolean).join(" "));
|
|
339
352
|
}
|
|
340
|
-
return { ...e, ...
|
|
353
|
+
return { ...e, ...r };
|
|
341
354
|
}
|
|
342
|
-
function
|
|
343
|
-
let
|
|
344
|
-
return
|
|
355
|
+
function lr(e) {
|
|
356
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
357
|
+
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
358
|
}
|
|
346
|
-
function
|
|
347
|
-
var
|
|
359
|
+
function ct(e) {
|
|
360
|
+
var t, r, o = "";
|
|
348
361
|
if (typeof e == "string" || typeof e == "number") o += e;
|
|
349
362
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
350
|
-
var
|
|
351
|
-
for (
|
|
352
|
-
} else for (
|
|
363
|
+
var n = e.length;
|
|
364
|
+
for (t = 0; t < n; t++) e[t] && (r = ct(e[t])) && (o && (o += " "), o += r);
|
|
365
|
+
} else for (r in e) e[r] && (o && (o += " "), o += r);
|
|
353
366
|
return o;
|
|
354
367
|
}
|
|
355
|
-
function
|
|
356
|
-
for (var e,
|
|
368
|
+
function ut() {
|
|
369
|
+
for (var e, t, r = 0, o = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (t = ct(e)) && (o && (o += " "), o += t);
|
|
357
370
|
return o;
|
|
358
371
|
}
|
|
359
|
-
const
|
|
372
|
+
const He = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ke = ut, cr = (e, t) => (r) => {
|
|
360
373
|
var o;
|
|
361
|
-
if (
|
|
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
|
-
}[
|
|
374
|
+
if (t?.variants == null) return Ke(e, r?.class, r?.className);
|
|
375
|
+
const { variants: n, defaultVariants: s } = t, a = Object.keys(n).map((u) => {
|
|
376
|
+
const f = r?.[u], m = s?.[u];
|
|
377
|
+
if (f === null) return null;
|
|
378
|
+
const h = He(f) || He(m);
|
|
379
|
+
return n[u][h];
|
|
380
|
+
}), i = r && Object.entries(r).reduce((u, f) => {
|
|
381
|
+
let [m, h] = f;
|
|
382
|
+
return h === void 0 || (u[m] = h), u;
|
|
383
|
+
}, {}), l = t == null || (o = t.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((u, f) => {
|
|
384
|
+
let { class: m, className: h, ...C } = f;
|
|
385
|
+
return Object.entries(C).every((I) => {
|
|
386
|
+
let [R, b] = I;
|
|
387
|
+
return Array.isArray(b) ? b.includes({
|
|
388
|
+
...s,
|
|
389
|
+
...i
|
|
390
|
+
}[R]) : {
|
|
391
|
+
...s,
|
|
392
|
+
...i
|
|
393
|
+
}[R] === b;
|
|
381
394
|
}) ? [
|
|
382
|
-
...
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
] :
|
|
395
|
+
...u,
|
|
396
|
+
m,
|
|
397
|
+
h
|
|
398
|
+
] : u;
|
|
386
399
|
}, []);
|
|
387
|
-
return
|
|
388
|
-
},
|
|
389
|
-
const
|
|
400
|
+
return Ke(e, a, l, r?.class, r?.className);
|
|
401
|
+
}, ur = (e, t) => {
|
|
402
|
+
const r = new Array(e.length + t.length);
|
|
390
403
|
for (let o = 0; o < e.length; o++)
|
|
391
|
-
|
|
392
|
-
for (let o = 0; o <
|
|
393
|
-
|
|
394
|
-
return
|
|
395
|
-
},
|
|
404
|
+
r[o] = e[o];
|
|
405
|
+
for (let o = 0; o < t.length; o++)
|
|
406
|
+
r[e.length + o] = t[o];
|
|
407
|
+
return r;
|
|
408
|
+
}, dr = (e, t) => ({
|
|
396
409
|
classGroupId: e,
|
|
397
|
-
validator:
|
|
398
|
-
}),
|
|
410
|
+
validator: t
|
|
411
|
+
}), dt = (e = /* @__PURE__ */ new Map(), t = null, r) => ({
|
|
399
412
|
nextPart: e,
|
|
400
|
-
validators:
|
|
401
|
-
classGroupId:
|
|
402
|
-
}),
|
|
403
|
-
const
|
|
404
|
-
conflictingClassGroups:
|
|
413
|
+
validators: t,
|
|
414
|
+
classGroupId: r
|
|
415
|
+
}), Re = "-", qe = [], fr = "arbitrary..", mr = (e) => {
|
|
416
|
+
const t = gr(e), {
|
|
417
|
+
conflictingClassGroups: r,
|
|
405
418
|
conflictingClassGroupModifiers: o
|
|
406
419
|
} = e;
|
|
407
420
|
return {
|
|
408
|
-
getClassGroupId: (
|
|
409
|
-
if (
|
|
410
|
-
return
|
|
411
|
-
const
|
|
412
|
-
return
|
|
421
|
+
getClassGroupId: (a) => {
|
|
422
|
+
if (a.startsWith("[") && a.endsWith("]"))
|
|
423
|
+
return pr(a);
|
|
424
|
+
const i = a.split(Re), l = i[0] === "" && i.length > 1 ? 1 : 0;
|
|
425
|
+
return ft(i, l, t);
|
|
413
426
|
},
|
|
414
|
-
getConflictingClassGroupIds: (
|
|
415
|
-
if (
|
|
416
|
-
const
|
|
417
|
-
return
|
|
427
|
+
getConflictingClassGroupIds: (a, i) => {
|
|
428
|
+
if (i) {
|
|
429
|
+
const l = o[a], u = r[a];
|
|
430
|
+
return l ? u ? ur(u, l) : l : u || qe;
|
|
418
431
|
}
|
|
419
|
-
return
|
|
432
|
+
return r[a] || qe;
|
|
420
433
|
}
|
|
421
434
|
};
|
|
422
|
-
},
|
|
423
|
-
if (e.length -
|
|
424
|
-
return
|
|
425
|
-
const
|
|
426
|
-
if (
|
|
427
|
-
const
|
|
428
|
-
if (
|
|
435
|
+
}, ft = (e, t, r) => {
|
|
436
|
+
if (e.length - t === 0)
|
|
437
|
+
return r.classGroupId;
|
|
438
|
+
const n = e[t], s = r.nextPart.get(n);
|
|
439
|
+
if (s) {
|
|
440
|
+
const u = ft(e, t + 1, s);
|
|
441
|
+
if (u) return u;
|
|
429
442
|
}
|
|
430
|
-
const
|
|
431
|
-
if (
|
|
443
|
+
const a = r.validators;
|
|
444
|
+
if (a === null)
|
|
432
445
|
return;
|
|
433
|
-
const
|
|
434
|
-
for (let
|
|
435
|
-
const
|
|
436
|
-
if (
|
|
437
|
-
return
|
|
446
|
+
const i = t === 0 ? e.join(Re) : e.slice(t).join(Re), l = a.length;
|
|
447
|
+
for (let u = 0; u < l; u++) {
|
|
448
|
+
const f = a[u];
|
|
449
|
+
if (f.validator(i))
|
|
450
|
+
return f.classGroupId;
|
|
438
451
|
}
|
|
439
|
-
},
|
|
440
|
-
const
|
|
441
|
-
return o ?
|
|
442
|
-
})(),
|
|
452
|
+
}, pr = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
453
|
+
const t = e.slice(1, -1), r = t.indexOf(":"), o = t.slice(0, r);
|
|
454
|
+
return o ? fr + o : void 0;
|
|
455
|
+
})(), gr = (e) => {
|
|
443
456
|
const {
|
|
444
|
-
theme:
|
|
445
|
-
classGroups:
|
|
457
|
+
theme: t,
|
|
458
|
+
classGroups: r
|
|
446
459
|
} = e;
|
|
447
|
-
return
|
|
448
|
-
},
|
|
449
|
-
const
|
|
460
|
+
return br(r, t);
|
|
461
|
+
}, br = (e, t) => {
|
|
462
|
+
const r = dt();
|
|
450
463
|
for (const o in e) {
|
|
451
|
-
const
|
|
452
|
-
|
|
464
|
+
const n = e[o];
|
|
465
|
+
$e(n, r, o, t);
|
|
453
466
|
}
|
|
454
|
-
return
|
|
455
|
-
},
|
|
456
|
-
const
|
|
457
|
-
for (let
|
|
458
|
-
const
|
|
459
|
-
|
|
467
|
+
return r;
|
|
468
|
+
}, $e = (e, t, r, o) => {
|
|
469
|
+
const n = e.length;
|
|
470
|
+
for (let s = 0; s < n; s++) {
|
|
471
|
+
const a = e[s];
|
|
472
|
+
vr(a, t, r, o);
|
|
460
473
|
}
|
|
461
|
-
},
|
|
474
|
+
}, vr = (e, t, r, o) => {
|
|
462
475
|
if (typeof e == "string") {
|
|
463
|
-
|
|
476
|
+
hr(e, t, r);
|
|
464
477
|
return;
|
|
465
478
|
}
|
|
466
479
|
if (typeof e == "function") {
|
|
467
|
-
|
|
480
|
+
yr(e, t, r, o);
|
|
468
481
|
return;
|
|
469
482
|
}
|
|
470
|
-
|
|
471
|
-
},
|
|
472
|
-
const o = e === "" ?
|
|
473
|
-
o.classGroupId =
|
|
474
|
-
},
|
|
475
|
-
if (
|
|
476
|
-
|
|
483
|
+
xr(e, t, r, o);
|
|
484
|
+
}, hr = (e, t, r) => {
|
|
485
|
+
const o = e === "" ? t : mt(t, e);
|
|
486
|
+
o.classGroupId = r;
|
|
487
|
+
}, yr = (e, t, r, o) => {
|
|
488
|
+
if (wr(e)) {
|
|
489
|
+
$e(e(o), t, r, o);
|
|
477
490
|
return;
|
|
478
491
|
}
|
|
479
|
-
|
|
480
|
-
},
|
|
481
|
-
const
|
|
482
|
-
for (let i = 0; i < a; i++) {
|
|
483
|
-
const [u, d] = s[i];
|
|
484
|
-
ve(d, Ne(r, u), t, o);
|
|
485
|
-
}
|
|
486
|
-
}, Ne = (e, r) => {
|
|
487
|
-
let t = e;
|
|
488
|
-
const o = r.split(fe), s = o.length;
|
|
492
|
+
t.validators === null && (t.validators = []), t.validators.push(dr(r, e));
|
|
493
|
+
}, xr = (e, t, r, o) => {
|
|
494
|
+
const n = Object.entries(e), s = n.length;
|
|
489
495
|
for (let a = 0; a < s; a++) {
|
|
490
|
-
const i =
|
|
491
|
-
|
|
492
|
-
u || (u = ze(), t.nextPart.set(i, u)), t = u;
|
|
496
|
+
const [i, l] = n[a];
|
|
497
|
+
$e(l, mt(t, i), r, o);
|
|
493
498
|
}
|
|
494
|
-
|
|
495
|
-
|
|
499
|
+
}, mt = (e, t) => {
|
|
500
|
+
let r = e;
|
|
501
|
+
const o = t.split(Re), n = o.length;
|
|
502
|
+
for (let s = 0; s < n; s++) {
|
|
503
|
+
const a = o[s];
|
|
504
|
+
let i = r.nextPart.get(a);
|
|
505
|
+
i || (i = dt(), r.nextPart.set(a, i)), r = i;
|
|
506
|
+
}
|
|
507
|
+
return r;
|
|
508
|
+
}, wr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, kr = (e) => {
|
|
496
509
|
if (e < 1)
|
|
497
510
|
return {
|
|
498
511
|
get: () => {
|
|
@@ -500,178 +513,178 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
500
513
|
set: () => {
|
|
501
514
|
}
|
|
502
515
|
};
|
|
503
|
-
let
|
|
504
|
-
const
|
|
505
|
-
|
|
516
|
+
let t = 0, r = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
|
|
517
|
+
const n = (s, a) => {
|
|
518
|
+
r[s] = a, t++, t > e && (t = 0, o = r, r = /* @__PURE__ */ Object.create(null));
|
|
506
519
|
};
|
|
507
520
|
return {
|
|
508
|
-
get(
|
|
509
|
-
let
|
|
510
|
-
if (
|
|
511
|
-
return
|
|
512
|
-
if ((
|
|
513
|
-
return s
|
|
521
|
+
get(s) {
|
|
522
|
+
let a = r[s];
|
|
523
|
+
if (a !== void 0)
|
|
524
|
+
return a;
|
|
525
|
+
if ((a = o[s]) !== void 0)
|
|
526
|
+
return n(s, a), a;
|
|
514
527
|
},
|
|
515
|
-
set(
|
|
516
|
-
|
|
528
|
+
set(s, a) {
|
|
529
|
+
s in r ? r[s] = a : n(s, a);
|
|
517
530
|
}
|
|
518
531
|
};
|
|
519
|
-
},
|
|
532
|
+
}, je = "!", Je = ":", Cr = [], Xe = (e, t, r, o, n) => ({
|
|
520
533
|
modifiers: e,
|
|
521
|
-
hasImportantModifier:
|
|
522
|
-
baseClassName:
|
|
534
|
+
hasImportantModifier: t,
|
|
535
|
+
baseClassName: r,
|
|
523
536
|
maybePostfixModifierPosition: o,
|
|
524
|
-
isExternal:
|
|
525
|
-
}),
|
|
537
|
+
isExternal: n
|
|
538
|
+
}), Rr = (e) => {
|
|
526
539
|
const {
|
|
527
|
-
prefix:
|
|
528
|
-
experimentalParseClassName:
|
|
540
|
+
prefix: t,
|
|
541
|
+
experimentalParseClassName: r
|
|
529
542
|
} = e;
|
|
530
|
-
let o = (
|
|
531
|
-
const
|
|
532
|
-
let
|
|
533
|
-
const
|
|
534
|
-
for (let
|
|
535
|
-
const
|
|
536
|
-
if (
|
|
537
|
-
if (
|
|
538
|
-
|
|
543
|
+
let o = (n) => {
|
|
544
|
+
const s = [];
|
|
545
|
+
let a = 0, i = 0, l = 0, u;
|
|
546
|
+
const f = n.length;
|
|
547
|
+
for (let R = 0; R < f; R++) {
|
|
548
|
+
const b = n[R];
|
|
549
|
+
if (a === 0 && i === 0) {
|
|
550
|
+
if (b === Je) {
|
|
551
|
+
s.push(n.slice(l, R)), l = R + 1;
|
|
539
552
|
continue;
|
|
540
553
|
}
|
|
541
|
-
if (
|
|
542
|
-
|
|
554
|
+
if (b === "/") {
|
|
555
|
+
u = R;
|
|
543
556
|
continue;
|
|
544
557
|
}
|
|
545
558
|
}
|
|
546
|
-
|
|
559
|
+
b === "[" ? a++ : b === "]" ? a-- : b === "(" ? i++ : b === ")" && i--;
|
|
547
560
|
}
|
|
548
|
-
const
|
|
549
|
-
let
|
|
550
|
-
|
|
561
|
+
const m = s.length === 0 ? n : n.slice(l);
|
|
562
|
+
let h = m, C = !1;
|
|
563
|
+
m.endsWith(je) ? (h = m.slice(0, -1), C = !0) : (
|
|
551
564
|
/**
|
|
552
565
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
553
566
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
554
567
|
*/
|
|
555
|
-
|
|
568
|
+
m.startsWith(je) && (h = m.slice(1), C = !0)
|
|
556
569
|
);
|
|
557
|
-
const
|
|
558
|
-
return
|
|
570
|
+
const I = u && u > l ? u - l : void 0;
|
|
571
|
+
return Xe(s, C, h, I);
|
|
559
572
|
};
|
|
560
|
-
if (r) {
|
|
561
|
-
const s = r + _e, a = o;
|
|
562
|
-
o = (i) => i.startsWith(s) ? a(i.slice(s.length)) : Se(gr, !1, i, void 0, !0);
|
|
563
|
-
}
|
|
564
573
|
if (t) {
|
|
565
|
-
const s = o;
|
|
566
|
-
o = (a) =>
|
|
567
|
-
|
|
568
|
-
|
|
574
|
+
const n = t + Je, s = o;
|
|
575
|
+
o = (a) => a.startsWith(n) ? s(a.slice(n.length)) : Xe(Cr, !1, a, void 0, !0);
|
|
576
|
+
}
|
|
577
|
+
if (r) {
|
|
578
|
+
const n = o;
|
|
579
|
+
o = (s) => r({
|
|
580
|
+
className: s,
|
|
581
|
+
parseClassName: n
|
|
569
582
|
});
|
|
570
583
|
}
|
|
571
584
|
return o;
|
|
572
|
-
},
|
|
573
|
-
const
|
|
574
|
-
return e.orderSensitiveModifiers.forEach((
|
|
575
|
-
|
|
576
|
-
}), (
|
|
585
|
+
}, Sr = (e) => {
|
|
586
|
+
const t = /* @__PURE__ */ new Map();
|
|
587
|
+
return e.orderSensitiveModifiers.forEach((r, o) => {
|
|
588
|
+
t.set(r, 1e6 + o);
|
|
589
|
+
}), (r) => {
|
|
577
590
|
const o = [];
|
|
578
|
-
let
|
|
579
|
-
for (let
|
|
580
|
-
const
|
|
581
|
-
|
|
591
|
+
let n = [];
|
|
592
|
+
for (let s = 0; s < r.length; s++) {
|
|
593
|
+
const a = r[s], i = a[0] === "[", l = t.has(a);
|
|
594
|
+
i || l ? (n.length > 0 && (n.sort(), o.push(...n), n = []), o.push(a)) : n.push(a);
|
|
582
595
|
}
|
|
583
|
-
return
|
|
596
|
+
return n.length > 0 && (n.sort(), o.push(...n)), o;
|
|
584
597
|
};
|
|
585
|
-
},
|
|
586
|
-
cache:
|
|
587
|
-
parseClassName:
|
|
588
|
-
sortModifiers:
|
|
589
|
-
...
|
|
590
|
-
}),
|
|
598
|
+
}, Er = (e) => ({
|
|
599
|
+
cache: kr(e.cacheSize),
|
|
600
|
+
parseClassName: Rr(e),
|
|
601
|
+
sortModifiers: Sr(e),
|
|
602
|
+
...mr(e)
|
|
603
|
+
}), _r = /\s+/, Tr = (e, t) => {
|
|
591
604
|
const {
|
|
592
|
-
parseClassName:
|
|
605
|
+
parseClassName: r,
|
|
593
606
|
getClassGroupId: o,
|
|
594
|
-
getConflictingClassGroupIds:
|
|
595
|
-
sortModifiers:
|
|
596
|
-
} =
|
|
597
|
-
let
|
|
598
|
-
for (let
|
|
599
|
-
const
|
|
600
|
-
isExternal:
|
|
601
|
-
modifiers:
|
|
602
|
-
hasImportantModifier:
|
|
603
|
-
baseClassName:
|
|
604
|
-
maybePostfixModifierPosition:
|
|
605
|
-
} =
|
|
606
|
-
if (
|
|
607
|
-
|
|
607
|
+
getConflictingClassGroupIds: n,
|
|
608
|
+
sortModifiers: s
|
|
609
|
+
} = t, a = [], i = e.trim().split(_r);
|
|
610
|
+
let l = "";
|
|
611
|
+
for (let u = i.length - 1; u >= 0; u -= 1) {
|
|
612
|
+
const f = i[u], {
|
|
613
|
+
isExternal: m,
|
|
614
|
+
modifiers: h,
|
|
615
|
+
hasImportantModifier: C,
|
|
616
|
+
baseClassName: I,
|
|
617
|
+
maybePostfixModifierPosition: R
|
|
618
|
+
} = r(f);
|
|
619
|
+
if (m) {
|
|
620
|
+
l = f + (l.length > 0 ? " " + l : l);
|
|
608
621
|
continue;
|
|
609
622
|
}
|
|
610
|
-
let
|
|
611
|
-
if (!
|
|
612
|
-
if (!
|
|
613
|
-
|
|
623
|
+
let b = !!R, P = o(b ? I.substring(0, R) : I);
|
|
624
|
+
if (!P) {
|
|
625
|
+
if (!b) {
|
|
626
|
+
l = f + (l.length > 0 ? " " + l : l);
|
|
614
627
|
continue;
|
|
615
628
|
}
|
|
616
|
-
if (
|
|
617
|
-
|
|
629
|
+
if (P = o(I), !P) {
|
|
630
|
+
l = f + (l.length > 0 ? " " + l : l);
|
|
618
631
|
continue;
|
|
619
632
|
}
|
|
620
|
-
|
|
633
|
+
b = !1;
|
|
621
634
|
}
|
|
622
|
-
const
|
|
623
|
-
if (
|
|
635
|
+
const F = h.length === 0 ? "" : h.length === 1 ? h[0] : s(h).join(":"), A = C ? F + je : F, x = A + P;
|
|
636
|
+
if (a.indexOf(x) > -1)
|
|
624
637
|
continue;
|
|
625
|
-
|
|
626
|
-
const
|
|
627
|
-
for (let
|
|
628
|
-
const
|
|
629
|
-
|
|
638
|
+
a.push(x);
|
|
639
|
+
const O = n(P, b);
|
|
640
|
+
for (let j = 0; j < O.length; ++j) {
|
|
641
|
+
const L = O[j];
|
|
642
|
+
a.push(A + L);
|
|
630
643
|
}
|
|
631
|
-
|
|
644
|
+
l = f + (l.length > 0 ? " " + l : l);
|
|
632
645
|
}
|
|
633
|
-
return
|
|
634
|
-
},
|
|
635
|
-
let
|
|
636
|
-
for (;
|
|
637
|
-
(
|
|
638
|
-
return
|
|
639
|
-
},
|
|
646
|
+
return l;
|
|
647
|
+
}, Ar = (...e) => {
|
|
648
|
+
let t = 0, r, o, n = "";
|
|
649
|
+
for (; t < e.length; )
|
|
650
|
+
(r = e[t++]) && (o = pt(r)) && (n && (n += " "), n += o);
|
|
651
|
+
return n;
|
|
652
|
+
}, pt = (e) => {
|
|
640
653
|
if (typeof e == "string")
|
|
641
654
|
return e;
|
|
642
|
-
let
|
|
655
|
+
let t, r = "";
|
|
643
656
|
for (let o = 0; o < e.length; o++)
|
|
644
|
-
e[o] && (
|
|
645
|
-
return
|
|
646
|
-
},
|
|
647
|
-
let
|
|
648
|
-
const
|
|
649
|
-
const
|
|
650
|
-
return
|
|
651
|
-
},
|
|
652
|
-
const
|
|
653
|
-
if (
|
|
654
|
-
return
|
|
655
|
-
const
|
|
656
|
-
return
|
|
657
|
+
e[o] && (t = pt(e[o])) && (r && (r += " "), r += t);
|
|
658
|
+
return r;
|
|
659
|
+
}, Ir = (e, ...t) => {
|
|
660
|
+
let r, o, n, s;
|
|
661
|
+
const a = (l) => {
|
|
662
|
+
const u = t.reduce((f, m) => m(f), e());
|
|
663
|
+
return r = Er(u), o = r.cache.get, n = r.cache.set, s = i, i(l);
|
|
664
|
+
}, i = (l) => {
|
|
665
|
+
const u = o(l);
|
|
666
|
+
if (u)
|
|
667
|
+
return u;
|
|
668
|
+
const f = Tr(l, r);
|
|
669
|
+
return n(l, f), f;
|
|
657
670
|
};
|
|
658
|
-
return
|
|
659
|
-
},
|
|
660
|
-
const
|
|
661
|
-
return
|
|
662
|
-
},
|
|
671
|
+
return s = a, (...l) => s(Ar(...l));
|
|
672
|
+
}, Nr = [], $ = (e) => {
|
|
673
|
+
const t = (r) => r[e] || Nr;
|
|
674
|
+
return t.isThemeGetter = !0, t;
|
|
675
|
+
}, gt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, bt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Pr = /^\d+\/\d+$/, Or = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Fr = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, jr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Mr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Vr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, se = (e) => Pr.test(e), S = (e) => !!e && !Number.isNaN(Number(e)), X = (e) => !!e && Number.isInteger(Number(e)), Ne = (e) => e.endsWith("%") && S(e.slice(0, -1)), H = (e) => Or.test(e), $r = () => !0, Dr = (e) => (
|
|
663
676
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
664
677
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
665
678
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
666
|
-
|
|
667
|
-
),
|
|
668
|
-
const o =
|
|
669
|
-
return o ? o[1] ?
|
|
670
|
-
},
|
|
671
|
-
const o =
|
|
672
|
-
return o ? o[1] ?
|
|
673
|
-
},
|
|
674
|
-
const e =
|
|
679
|
+
Fr.test(e) && !jr.test(e)
|
|
680
|
+
), vt = () => !1, Lr = (e) => Mr.test(e), zr = (e) => Vr.test(e), Gr = (e) => !p(e) && !g(e), Wr = (e) => ae(e, xt, vt), p = (e) => gt.test(e), ee = (e) => ae(e, wt, Dr), Pe = (e) => ae(e, Kr, S), Ze = (e) => ae(e, ht, vt), Ur = (e) => ae(e, yt, zr), he = (e) => ae(e, kt, Lr), g = (e) => bt.test(e), fe = (e) => ie(e, wt), Br = (e) => ie(e, qr), Qe = (e) => ie(e, ht), Yr = (e) => ie(e, xt), Hr = (e) => ie(e, yt), ye = (e) => ie(e, kt, !0), ae = (e, t, r) => {
|
|
681
|
+
const o = gt.exec(e);
|
|
682
|
+
return o ? o[1] ? t(o[1]) : r(o[2]) : !1;
|
|
683
|
+
}, ie = (e, t, r = !1) => {
|
|
684
|
+
const o = bt.exec(e);
|
|
685
|
+
return o ? o[1] ? t(o[1]) : r : !1;
|
|
686
|
+
}, ht = (e) => e === "position" || e === "percentage", yt = (e) => e === "image" || e === "url", xt = (e) => e === "length" || e === "size" || e === "bg-size", wt = (e) => e === "length", Kr = (e) => e === "number", qr = (e) => e === "family-name", kt = (e) => e === "shadow", Jr = () => {
|
|
687
|
+
const e = $("color"), t = $("font"), r = $("text"), o = $("font-weight"), n = $("tracking"), s = $("leading"), a = $("breakpoint"), i = $("container"), l = $("spacing"), u = $("radius"), f = $("shadow"), m = $("inset-shadow"), h = $("text-shadow"), C = $("drop-shadow"), I = $("blur"), R = $("perspective"), b = $("aspect"), P = $("ease"), F = $("animate"), A = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], x = () => [
|
|
675
688
|
"center",
|
|
676
689
|
"top",
|
|
677
690
|
"bottom",
|
|
@@ -689,51 +702,51 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
689
702
|
"bottom-left",
|
|
690
703
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
691
704
|
"left-bottom"
|
|
692
|
-
],
|
|
693
|
-
span: ["full",
|
|
694
|
-
},
|
|
695
|
-
position: [
|
|
696
|
-
}],
|
|
705
|
+
], O = () => [...x(), g, p], j = () => ["auto", "hidden", "clip", "visible", "scroll"], L = () => ["auto", "contain", "none"], v = () => [g, p, l], V = () => [se, "full", "auto", ...v()], Z = () => [X, "none", "subgrid", g, p], q = () => ["auto", {
|
|
706
|
+
span: ["full", X, g, p]
|
|
707
|
+
}, X, g, p], W = () => [X, "auto", g, p], Q = () => ["auto", "min", "max", "fr", g, p], re = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], G = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], M = () => ["auto", ...v()], U = () => [se, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...v()], w = () => [e, g, p], le = () => [...x(), Qe, Ze, {
|
|
708
|
+
position: [g, p]
|
|
709
|
+
}], ce = () => ["no-repeat", {
|
|
697
710
|
repeat: ["", "x", "y", "space", "round"]
|
|
698
|
-
}],
|
|
699
|
-
size: [
|
|
700
|
-
}],
|
|
711
|
+
}], d = () => ["auto", "cover", "contain", Yr, Wr, {
|
|
712
|
+
size: [g, p]
|
|
713
|
+
}], k = () => [Ne, fe, ee], _ = () => [
|
|
701
714
|
// Deprecated since Tailwind CSS v4.0.0
|
|
702
715
|
"",
|
|
703
716
|
"none",
|
|
704
717
|
"full",
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
],
|
|
718
|
+
u,
|
|
719
|
+
g,
|
|
720
|
+
p
|
|
721
|
+
], N = () => ["", S, fe, ee], B = () => ["solid", "dashed", "dotted", "double"], oe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], T = () => [S, Ne, Qe, Ze], Y = () => [
|
|
709
722
|
// Deprecated since Tailwind CSS v4.0.0
|
|
710
723
|
"",
|
|
711
724
|
"none",
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
],
|
|
725
|
+
I,
|
|
726
|
+
g,
|
|
727
|
+
p
|
|
728
|
+
], J = () => ["none", S, g, p], ne = () => ["none", S, g, p], Ie = () => [S, g, p], be = () => [se, "full", ...v()];
|
|
716
729
|
return {
|
|
717
730
|
cacheSize: 500,
|
|
718
731
|
theme: {
|
|
719
732
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
720
733
|
aspect: ["video"],
|
|
721
|
-
blur: [
|
|
722
|
-
breakpoint: [
|
|
723
|
-
color: [
|
|
724
|
-
container: [
|
|
725
|
-
"drop-shadow": [
|
|
734
|
+
blur: [H],
|
|
735
|
+
breakpoint: [H],
|
|
736
|
+
color: [$r],
|
|
737
|
+
container: [H],
|
|
738
|
+
"drop-shadow": [H],
|
|
726
739
|
ease: ["in", "out", "in-out"],
|
|
727
|
-
font: [
|
|
740
|
+
font: [Gr],
|
|
728
741
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
729
|
-
"inset-shadow": [
|
|
742
|
+
"inset-shadow": [H],
|
|
730
743
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
731
744
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
732
|
-
radius: [
|
|
733
|
-
shadow: [
|
|
734
|
-
spacing: ["px",
|
|
735
|
-
text: [
|
|
736
|
-
"text-shadow": [
|
|
745
|
+
radius: [H],
|
|
746
|
+
shadow: [H],
|
|
747
|
+
spacing: ["px", S],
|
|
748
|
+
text: [H],
|
|
749
|
+
"text-shadow": [H],
|
|
737
750
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
738
751
|
},
|
|
739
752
|
classGroups: {
|
|
@@ -745,7 +758,7 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
745
758
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
746
759
|
*/
|
|
747
760
|
aspect: [{
|
|
748
|
-
aspect: ["auto", "square",
|
|
761
|
+
aspect: ["auto", "square", se, p, g, b]
|
|
749
762
|
}],
|
|
750
763
|
/**
|
|
751
764
|
* Container
|
|
@@ -758,21 +771,21 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
758
771
|
* @see https://tailwindcss.com/docs/columns
|
|
759
772
|
*/
|
|
760
773
|
columns: [{
|
|
761
|
-
columns: [
|
|
774
|
+
columns: [S, p, g, i]
|
|
762
775
|
}],
|
|
763
776
|
/**
|
|
764
777
|
* Break After
|
|
765
778
|
* @see https://tailwindcss.com/docs/break-after
|
|
766
779
|
*/
|
|
767
780
|
"break-after": [{
|
|
768
|
-
"break-after":
|
|
781
|
+
"break-after": A()
|
|
769
782
|
}],
|
|
770
783
|
/**
|
|
771
784
|
* Break Before
|
|
772
785
|
* @see https://tailwindcss.com/docs/break-before
|
|
773
786
|
*/
|
|
774
787
|
"break-before": [{
|
|
775
|
-
"break-before":
|
|
788
|
+
"break-before": A()
|
|
776
789
|
}],
|
|
777
790
|
/**
|
|
778
791
|
* Break Inside
|
|
@@ -836,49 +849,49 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
836
849
|
* @see https://tailwindcss.com/docs/object-position
|
|
837
850
|
*/
|
|
838
851
|
"object-position": [{
|
|
839
|
-
object:
|
|
852
|
+
object: O()
|
|
840
853
|
}],
|
|
841
854
|
/**
|
|
842
855
|
* Overflow
|
|
843
856
|
* @see https://tailwindcss.com/docs/overflow
|
|
844
857
|
*/
|
|
845
858
|
overflow: [{
|
|
846
|
-
overflow:
|
|
859
|
+
overflow: j()
|
|
847
860
|
}],
|
|
848
861
|
/**
|
|
849
862
|
* Overflow X
|
|
850
863
|
* @see https://tailwindcss.com/docs/overflow
|
|
851
864
|
*/
|
|
852
865
|
"overflow-x": [{
|
|
853
|
-
"overflow-x":
|
|
866
|
+
"overflow-x": j()
|
|
854
867
|
}],
|
|
855
868
|
/**
|
|
856
869
|
* Overflow Y
|
|
857
870
|
* @see https://tailwindcss.com/docs/overflow
|
|
858
871
|
*/
|
|
859
872
|
"overflow-y": [{
|
|
860
|
-
"overflow-y":
|
|
873
|
+
"overflow-y": j()
|
|
861
874
|
}],
|
|
862
875
|
/**
|
|
863
876
|
* Overscroll Behavior
|
|
864
877
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
865
878
|
*/
|
|
866
879
|
overscroll: [{
|
|
867
|
-
overscroll:
|
|
880
|
+
overscroll: L()
|
|
868
881
|
}],
|
|
869
882
|
/**
|
|
870
883
|
* Overscroll Behavior X
|
|
871
884
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
872
885
|
*/
|
|
873
886
|
"overscroll-x": [{
|
|
874
|
-
"overscroll-x":
|
|
887
|
+
"overscroll-x": L()
|
|
875
888
|
}],
|
|
876
889
|
/**
|
|
877
890
|
* Overscroll Behavior Y
|
|
878
891
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
879
892
|
*/
|
|
880
893
|
"overscroll-y": [{
|
|
881
|
-
"overscroll-y":
|
|
894
|
+
"overscroll-y": L()
|
|
882
895
|
}],
|
|
883
896
|
/**
|
|
884
897
|
* Position
|
|
@@ -890,63 +903,63 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
890
903
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
891
904
|
*/
|
|
892
905
|
inset: [{
|
|
893
|
-
inset:
|
|
906
|
+
inset: V()
|
|
894
907
|
}],
|
|
895
908
|
/**
|
|
896
909
|
* Right / Left
|
|
897
910
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
898
911
|
*/
|
|
899
912
|
"inset-x": [{
|
|
900
|
-
"inset-x":
|
|
913
|
+
"inset-x": V()
|
|
901
914
|
}],
|
|
902
915
|
/**
|
|
903
916
|
* Top / Bottom
|
|
904
917
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
905
918
|
*/
|
|
906
919
|
"inset-y": [{
|
|
907
|
-
"inset-y":
|
|
920
|
+
"inset-y": V()
|
|
908
921
|
}],
|
|
909
922
|
/**
|
|
910
923
|
* Start
|
|
911
924
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
912
925
|
*/
|
|
913
926
|
start: [{
|
|
914
|
-
start:
|
|
927
|
+
start: V()
|
|
915
928
|
}],
|
|
916
929
|
/**
|
|
917
930
|
* End
|
|
918
931
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
919
932
|
*/
|
|
920
933
|
end: [{
|
|
921
|
-
end:
|
|
934
|
+
end: V()
|
|
922
935
|
}],
|
|
923
936
|
/**
|
|
924
937
|
* Top
|
|
925
938
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
926
939
|
*/
|
|
927
940
|
top: [{
|
|
928
|
-
top:
|
|
941
|
+
top: V()
|
|
929
942
|
}],
|
|
930
943
|
/**
|
|
931
944
|
* Right
|
|
932
945
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
933
946
|
*/
|
|
934
947
|
right: [{
|
|
935
|
-
right:
|
|
948
|
+
right: V()
|
|
936
949
|
}],
|
|
937
950
|
/**
|
|
938
951
|
* Bottom
|
|
939
952
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
940
953
|
*/
|
|
941
954
|
bottom: [{
|
|
942
|
-
bottom:
|
|
955
|
+
bottom: V()
|
|
943
956
|
}],
|
|
944
957
|
/**
|
|
945
958
|
* Left
|
|
946
959
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
947
960
|
*/
|
|
948
961
|
left: [{
|
|
949
|
-
left:
|
|
962
|
+
left: V()
|
|
950
963
|
}],
|
|
951
964
|
/**
|
|
952
965
|
* Visibility
|
|
@@ -958,7 +971,7 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
958
971
|
* @see https://tailwindcss.com/docs/z-index
|
|
959
972
|
*/
|
|
960
973
|
z: [{
|
|
961
|
-
z: [
|
|
974
|
+
z: [X, "auto", g, p]
|
|
962
975
|
}],
|
|
963
976
|
// ------------------------
|
|
964
977
|
// --- Flexbox and Grid ---
|
|
@@ -968,7 +981,7 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
968
981
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
969
982
|
*/
|
|
970
983
|
basis: [{
|
|
971
|
-
basis: [
|
|
984
|
+
basis: [se, "full", "auto", i, ...v()]
|
|
972
985
|
}],
|
|
973
986
|
/**
|
|
974
987
|
* Flex Direction
|
|
@@ -989,84 +1002,84 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
989
1002
|
* @see https://tailwindcss.com/docs/flex
|
|
990
1003
|
*/
|
|
991
1004
|
flex: [{
|
|
992
|
-
flex: [
|
|
1005
|
+
flex: [S, se, "auto", "initial", "none", p]
|
|
993
1006
|
}],
|
|
994
1007
|
/**
|
|
995
1008
|
* Flex Grow
|
|
996
1009
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
997
1010
|
*/
|
|
998
1011
|
grow: [{
|
|
999
|
-
grow: ["",
|
|
1012
|
+
grow: ["", S, g, p]
|
|
1000
1013
|
}],
|
|
1001
1014
|
/**
|
|
1002
1015
|
* Flex Shrink
|
|
1003
1016
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1004
1017
|
*/
|
|
1005
1018
|
shrink: [{
|
|
1006
|
-
shrink: ["",
|
|
1019
|
+
shrink: ["", S, g, p]
|
|
1007
1020
|
}],
|
|
1008
1021
|
/**
|
|
1009
1022
|
* Order
|
|
1010
1023
|
* @see https://tailwindcss.com/docs/order
|
|
1011
1024
|
*/
|
|
1012
1025
|
order: [{
|
|
1013
|
-
order: [
|
|
1026
|
+
order: [X, "first", "last", "none", g, p]
|
|
1014
1027
|
}],
|
|
1015
1028
|
/**
|
|
1016
1029
|
* Grid Template Columns
|
|
1017
1030
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1018
1031
|
*/
|
|
1019
1032
|
"grid-cols": [{
|
|
1020
|
-
"grid-cols":
|
|
1033
|
+
"grid-cols": Z()
|
|
1021
1034
|
}],
|
|
1022
1035
|
/**
|
|
1023
1036
|
* Grid Column Start / End
|
|
1024
1037
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1025
1038
|
*/
|
|
1026
1039
|
"col-start-end": [{
|
|
1027
|
-
col:
|
|
1040
|
+
col: q()
|
|
1028
1041
|
}],
|
|
1029
1042
|
/**
|
|
1030
1043
|
* Grid Column Start
|
|
1031
1044
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1032
1045
|
*/
|
|
1033
1046
|
"col-start": [{
|
|
1034
|
-
"col-start":
|
|
1047
|
+
"col-start": W()
|
|
1035
1048
|
}],
|
|
1036
1049
|
/**
|
|
1037
1050
|
* Grid Column End
|
|
1038
1051
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1039
1052
|
*/
|
|
1040
1053
|
"col-end": [{
|
|
1041
|
-
"col-end":
|
|
1054
|
+
"col-end": W()
|
|
1042
1055
|
}],
|
|
1043
1056
|
/**
|
|
1044
1057
|
* Grid Template Rows
|
|
1045
1058
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1046
1059
|
*/
|
|
1047
1060
|
"grid-rows": [{
|
|
1048
|
-
"grid-rows":
|
|
1061
|
+
"grid-rows": Z()
|
|
1049
1062
|
}],
|
|
1050
1063
|
/**
|
|
1051
1064
|
* Grid Row Start / End
|
|
1052
1065
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1053
1066
|
*/
|
|
1054
1067
|
"row-start-end": [{
|
|
1055
|
-
row:
|
|
1068
|
+
row: q()
|
|
1056
1069
|
}],
|
|
1057
1070
|
/**
|
|
1058
1071
|
* Grid Row Start
|
|
1059
1072
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1060
1073
|
*/
|
|
1061
1074
|
"row-start": [{
|
|
1062
|
-
"row-start":
|
|
1075
|
+
"row-start": W()
|
|
1063
1076
|
}],
|
|
1064
1077
|
/**
|
|
1065
1078
|
* Grid Row End
|
|
1066
1079
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1067
1080
|
*/
|
|
1068
1081
|
"row-end": [{
|
|
1069
|
-
"row-end":
|
|
1082
|
+
"row-end": W()
|
|
1070
1083
|
}],
|
|
1071
1084
|
/**
|
|
1072
1085
|
* Grid Auto Flow
|
|
@@ -1080,35 +1093,35 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1080
1093
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1081
1094
|
*/
|
|
1082
1095
|
"auto-cols": [{
|
|
1083
|
-
"auto-cols":
|
|
1096
|
+
"auto-cols": Q()
|
|
1084
1097
|
}],
|
|
1085
1098
|
/**
|
|
1086
1099
|
* Grid Auto Rows
|
|
1087
1100
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1088
1101
|
*/
|
|
1089
1102
|
"auto-rows": [{
|
|
1090
|
-
"auto-rows":
|
|
1103
|
+
"auto-rows": Q()
|
|
1091
1104
|
}],
|
|
1092
1105
|
/**
|
|
1093
1106
|
* Gap
|
|
1094
1107
|
* @see https://tailwindcss.com/docs/gap
|
|
1095
1108
|
*/
|
|
1096
1109
|
gap: [{
|
|
1097
|
-
gap:
|
|
1110
|
+
gap: v()
|
|
1098
1111
|
}],
|
|
1099
1112
|
/**
|
|
1100
1113
|
* Gap X
|
|
1101
1114
|
* @see https://tailwindcss.com/docs/gap
|
|
1102
1115
|
*/
|
|
1103
1116
|
"gap-x": [{
|
|
1104
|
-
"gap-x":
|
|
1117
|
+
"gap-x": v()
|
|
1105
1118
|
}],
|
|
1106
1119
|
/**
|
|
1107
1120
|
* Gap Y
|
|
1108
1121
|
* @see https://tailwindcss.com/docs/gap
|
|
1109
1122
|
*/
|
|
1110
1123
|
"gap-y": [{
|
|
1111
|
-
"gap-y":
|
|
1124
|
+
"gap-y": v()
|
|
1112
1125
|
}],
|
|
1113
1126
|
/**
|
|
1114
1127
|
* Justify Content
|
|
@@ -1122,14 +1135,14 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1122
1135
|
* @see https://tailwindcss.com/docs/justify-items
|
|
1123
1136
|
*/
|
|
1124
1137
|
"justify-items": [{
|
|
1125
|
-
"justify-items": [...
|
|
1138
|
+
"justify-items": [...G(), "normal"]
|
|
1126
1139
|
}],
|
|
1127
1140
|
/**
|
|
1128
1141
|
* Justify Self
|
|
1129
1142
|
* @see https://tailwindcss.com/docs/justify-self
|
|
1130
1143
|
*/
|
|
1131
1144
|
"justify-self": [{
|
|
1132
|
-
"justify-self": ["auto", ...
|
|
1145
|
+
"justify-self": ["auto", ...G()]
|
|
1133
1146
|
}],
|
|
1134
1147
|
/**
|
|
1135
1148
|
* Align Content
|
|
@@ -1143,7 +1156,7 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1143
1156
|
* @see https://tailwindcss.com/docs/align-items
|
|
1144
1157
|
*/
|
|
1145
1158
|
"align-items": [{
|
|
1146
|
-
items: [...
|
|
1159
|
+
items: [...G(), {
|
|
1147
1160
|
baseline: ["", "last"]
|
|
1148
1161
|
}]
|
|
1149
1162
|
}],
|
|
@@ -1152,7 +1165,7 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1152
1165
|
* @see https://tailwindcss.com/docs/align-self
|
|
1153
1166
|
*/
|
|
1154
1167
|
"align-self": [{
|
|
1155
|
-
self: ["auto", ...
|
|
1168
|
+
self: ["auto", ...G(), {
|
|
1156
1169
|
baseline: ["", "last"]
|
|
1157
1170
|
}]
|
|
1158
1171
|
}],
|
|
@@ -1168,14 +1181,14 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1168
1181
|
* @see https://tailwindcss.com/docs/place-items
|
|
1169
1182
|
*/
|
|
1170
1183
|
"place-items": [{
|
|
1171
|
-
"place-items": [...
|
|
1184
|
+
"place-items": [...G(), "baseline"]
|
|
1172
1185
|
}],
|
|
1173
1186
|
/**
|
|
1174
1187
|
* Place Self
|
|
1175
1188
|
* @see https://tailwindcss.com/docs/place-self
|
|
1176
1189
|
*/
|
|
1177
1190
|
"place-self": [{
|
|
1178
|
-
"place-self": ["auto", ...
|
|
1191
|
+
"place-self": ["auto", ...G()]
|
|
1179
1192
|
}],
|
|
1180
1193
|
// Spacing
|
|
1181
1194
|
/**
|
|
@@ -1183,133 +1196,133 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1183
1196
|
* @see https://tailwindcss.com/docs/padding
|
|
1184
1197
|
*/
|
|
1185
1198
|
p: [{
|
|
1186
|
-
p:
|
|
1199
|
+
p: v()
|
|
1187
1200
|
}],
|
|
1188
1201
|
/**
|
|
1189
1202
|
* Padding X
|
|
1190
1203
|
* @see https://tailwindcss.com/docs/padding
|
|
1191
1204
|
*/
|
|
1192
1205
|
px: [{
|
|
1193
|
-
px:
|
|
1206
|
+
px: v()
|
|
1194
1207
|
}],
|
|
1195
1208
|
/**
|
|
1196
1209
|
* Padding Y
|
|
1197
1210
|
* @see https://tailwindcss.com/docs/padding
|
|
1198
1211
|
*/
|
|
1199
1212
|
py: [{
|
|
1200
|
-
py:
|
|
1213
|
+
py: v()
|
|
1201
1214
|
}],
|
|
1202
1215
|
/**
|
|
1203
1216
|
* Padding Start
|
|
1204
1217
|
* @see https://tailwindcss.com/docs/padding
|
|
1205
1218
|
*/
|
|
1206
1219
|
ps: [{
|
|
1207
|
-
ps:
|
|
1220
|
+
ps: v()
|
|
1208
1221
|
}],
|
|
1209
1222
|
/**
|
|
1210
1223
|
* Padding End
|
|
1211
1224
|
* @see https://tailwindcss.com/docs/padding
|
|
1212
1225
|
*/
|
|
1213
1226
|
pe: [{
|
|
1214
|
-
pe:
|
|
1227
|
+
pe: v()
|
|
1215
1228
|
}],
|
|
1216
1229
|
/**
|
|
1217
1230
|
* Padding Top
|
|
1218
1231
|
* @see https://tailwindcss.com/docs/padding
|
|
1219
1232
|
*/
|
|
1220
1233
|
pt: [{
|
|
1221
|
-
pt:
|
|
1234
|
+
pt: v()
|
|
1222
1235
|
}],
|
|
1223
1236
|
/**
|
|
1224
1237
|
* Padding Right
|
|
1225
1238
|
* @see https://tailwindcss.com/docs/padding
|
|
1226
1239
|
*/
|
|
1227
1240
|
pr: [{
|
|
1228
|
-
pr:
|
|
1241
|
+
pr: v()
|
|
1229
1242
|
}],
|
|
1230
1243
|
/**
|
|
1231
1244
|
* Padding Bottom
|
|
1232
1245
|
* @see https://tailwindcss.com/docs/padding
|
|
1233
1246
|
*/
|
|
1234
1247
|
pb: [{
|
|
1235
|
-
pb:
|
|
1248
|
+
pb: v()
|
|
1236
1249
|
}],
|
|
1237
1250
|
/**
|
|
1238
1251
|
* Padding Left
|
|
1239
1252
|
* @see https://tailwindcss.com/docs/padding
|
|
1240
1253
|
*/
|
|
1241
1254
|
pl: [{
|
|
1242
|
-
pl:
|
|
1255
|
+
pl: v()
|
|
1243
1256
|
}],
|
|
1244
1257
|
/**
|
|
1245
1258
|
* Margin
|
|
1246
1259
|
* @see https://tailwindcss.com/docs/margin
|
|
1247
1260
|
*/
|
|
1248
1261
|
m: [{
|
|
1249
|
-
m:
|
|
1262
|
+
m: M()
|
|
1250
1263
|
}],
|
|
1251
1264
|
/**
|
|
1252
1265
|
* Margin X
|
|
1253
1266
|
* @see https://tailwindcss.com/docs/margin
|
|
1254
1267
|
*/
|
|
1255
1268
|
mx: [{
|
|
1256
|
-
mx:
|
|
1269
|
+
mx: M()
|
|
1257
1270
|
}],
|
|
1258
1271
|
/**
|
|
1259
1272
|
* Margin Y
|
|
1260
1273
|
* @see https://tailwindcss.com/docs/margin
|
|
1261
1274
|
*/
|
|
1262
1275
|
my: [{
|
|
1263
|
-
my:
|
|
1276
|
+
my: M()
|
|
1264
1277
|
}],
|
|
1265
1278
|
/**
|
|
1266
1279
|
* Margin Start
|
|
1267
1280
|
* @see https://tailwindcss.com/docs/margin
|
|
1268
1281
|
*/
|
|
1269
1282
|
ms: [{
|
|
1270
|
-
ms:
|
|
1283
|
+
ms: M()
|
|
1271
1284
|
}],
|
|
1272
1285
|
/**
|
|
1273
1286
|
* Margin End
|
|
1274
1287
|
* @see https://tailwindcss.com/docs/margin
|
|
1275
1288
|
*/
|
|
1276
1289
|
me: [{
|
|
1277
|
-
me:
|
|
1290
|
+
me: M()
|
|
1278
1291
|
}],
|
|
1279
1292
|
/**
|
|
1280
1293
|
* Margin Top
|
|
1281
1294
|
* @see https://tailwindcss.com/docs/margin
|
|
1282
1295
|
*/
|
|
1283
1296
|
mt: [{
|
|
1284
|
-
mt:
|
|
1297
|
+
mt: M()
|
|
1285
1298
|
}],
|
|
1286
1299
|
/**
|
|
1287
1300
|
* Margin Right
|
|
1288
1301
|
* @see https://tailwindcss.com/docs/margin
|
|
1289
1302
|
*/
|
|
1290
1303
|
mr: [{
|
|
1291
|
-
mr:
|
|
1304
|
+
mr: M()
|
|
1292
1305
|
}],
|
|
1293
1306
|
/**
|
|
1294
1307
|
* Margin Bottom
|
|
1295
1308
|
* @see https://tailwindcss.com/docs/margin
|
|
1296
1309
|
*/
|
|
1297
1310
|
mb: [{
|
|
1298
|
-
mb:
|
|
1311
|
+
mb: M()
|
|
1299
1312
|
}],
|
|
1300
1313
|
/**
|
|
1301
1314
|
* Margin Left
|
|
1302
1315
|
* @see https://tailwindcss.com/docs/margin
|
|
1303
1316
|
*/
|
|
1304
1317
|
ml: [{
|
|
1305
|
-
ml:
|
|
1318
|
+
ml: M()
|
|
1306
1319
|
}],
|
|
1307
1320
|
/**
|
|
1308
1321
|
* Space Between X
|
|
1309
1322
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1310
1323
|
*/
|
|
1311
1324
|
"space-x": [{
|
|
1312
|
-
"space-x":
|
|
1325
|
+
"space-x": v()
|
|
1313
1326
|
}],
|
|
1314
1327
|
/**
|
|
1315
1328
|
* Space Between X Reverse
|
|
@@ -1321,7 +1334,7 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1321
1334
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1322
1335
|
*/
|
|
1323
1336
|
"space-y": [{
|
|
1324
|
-
"space-y":
|
|
1337
|
+
"space-y": v()
|
|
1325
1338
|
}],
|
|
1326
1339
|
/**
|
|
1327
1340
|
* Space Between Y Reverse
|
|
@@ -1336,14 +1349,14 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1336
1349
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1337
1350
|
*/
|
|
1338
1351
|
size: [{
|
|
1339
|
-
size:
|
|
1352
|
+
size: U()
|
|
1340
1353
|
}],
|
|
1341
1354
|
/**
|
|
1342
1355
|
* Width
|
|
1343
1356
|
* @see https://tailwindcss.com/docs/width
|
|
1344
1357
|
*/
|
|
1345
1358
|
w: [{
|
|
1346
|
-
w: [
|
|
1359
|
+
w: [i, "screen", ...U()]
|
|
1347
1360
|
}],
|
|
1348
1361
|
/**
|
|
1349
1362
|
* Min-Width
|
|
@@ -1351,11 +1364,11 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1351
1364
|
*/
|
|
1352
1365
|
"min-w": [{
|
|
1353
1366
|
"min-w": [
|
|
1354
|
-
|
|
1367
|
+
i,
|
|
1355
1368
|
"screen",
|
|
1356
1369
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1357
1370
|
"none",
|
|
1358
|
-
...
|
|
1371
|
+
...U()
|
|
1359
1372
|
]
|
|
1360
1373
|
}],
|
|
1361
1374
|
/**
|
|
@@ -1364,16 +1377,16 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1364
1377
|
*/
|
|
1365
1378
|
"max-w": [{
|
|
1366
1379
|
"max-w": [
|
|
1367
|
-
|
|
1380
|
+
i,
|
|
1368
1381
|
"screen",
|
|
1369
1382
|
"none",
|
|
1370
1383
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1371
1384
|
"prose",
|
|
1372
1385
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1373
1386
|
{
|
|
1374
|
-
screen: [
|
|
1387
|
+
screen: [a]
|
|
1375
1388
|
},
|
|
1376
|
-
...
|
|
1389
|
+
...U()
|
|
1377
1390
|
]
|
|
1378
1391
|
}],
|
|
1379
1392
|
/**
|
|
@@ -1381,21 +1394,21 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1381
1394
|
* @see https://tailwindcss.com/docs/height
|
|
1382
1395
|
*/
|
|
1383
1396
|
h: [{
|
|
1384
|
-
h: ["screen", "lh", ...
|
|
1397
|
+
h: ["screen", "lh", ...U()]
|
|
1385
1398
|
}],
|
|
1386
1399
|
/**
|
|
1387
1400
|
* Min-Height
|
|
1388
1401
|
* @see https://tailwindcss.com/docs/min-height
|
|
1389
1402
|
*/
|
|
1390
1403
|
"min-h": [{
|
|
1391
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1404
|
+
"min-h": ["screen", "lh", "none", ...U()]
|
|
1392
1405
|
}],
|
|
1393
1406
|
/**
|
|
1394
1407
|
* Max-Height
|
|
1395
1408
|
* @see https://tailwindcss.com/docs/max-height
|
|
1396
1409
|
*/
|
|
1397
1410
|
"max-h": [{
|
|
1398
|
-
"max-h": ["screen", "lh", ...
|
|
1411
|
+
"max-h": ["screen", "lh", ...U()]
|
|
1399
1412
|
}],
|
|
1400
1413
|
// ------------------
|
|
1401
1414
|
// --- Typography ---
|
|
@@ -1405,7 +1418,7 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1405
1418
|
* @see https://tailwindcss.com/docs/font-size
|
|
1406
1419
|
*/
|
|
1407
1420
|
"font-size": [{
|
|
1408
|
-
text: ["base",
|
|
1421
|
+
text: ["base", r, fe, ee]
|
|
1409
1422
|
}],
|
|
1410
1423
|
/**
|
|
1411
1424
|
* Font Smoothing
|
|
@@ -1422,21 +1435,21 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1422
1435
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1423
1436
|
*/
|
|
1424
1437
|
"font-weight": [{
|
|
1425
|
-
font: [o,
|
|
1438
|
+
font: [o, g, Pe]
|
|
1426
1439
|
}],
|
|
1427
1440
|
/**
|
|
1428
1441
|
* Font Stretch
|
|
1429
1442
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1430
1443
|
*/
|
|
1431
1444
|
"font-stretch": [{
|
|
1432
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1445
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Ne, p]
|
|
1433
1446
|
}],
|
|
1434
1447
|
/**
|
|
1435
1448
|
* Font Family
|
|
1436
1449
|
* @see https://tailwindcss.com/docs/font-family
|
|
1437
1450
|
*/
|
|
1438
1451
|
"font-family": [{
|
|
1439
|
-
font: [
|
|
1452
|
+
font: [Br, p, t]
|
|
1440
1453
|
}],
|
|
1441
1454
|
/**
|
|
1442
1455
|
* Font Variant Numeric
|
|
@@ -1473,14 +1486,14 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1473
1486
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1474
1487
|
*/
|
|
1475
1488
|
tracking: [{
|
|
1476
|
-
tracking: [
|
|
1489
|
+
tracking: [n, g, p]
|
|
1477
1490
|
}],
|
|
1478
1491
|
/**
|
|
1479
1492
|
* Line Clamp
|
|
1480
1493
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1481
1494
|
*/
|
|
1482
1495
|
"line-clamp": [{
|
|
1483
|
-
"line-clamp": [
|
|
1496
|
+
"line-clamp": [S, "none", g, Pe]
|
|
1484
1497
|
}],
|
|
1485
1498
|
/**
|
|
1486
1499
|
* Line Height
|
|
@@ -1489,8 +1502,8 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1489
1502
|
leading: [{
|
|
1490
1503
|
leading: [
|
|
1491
1504
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1492
|
-
|
|
1493
|
-
...
|
|
1505
|
+
s,
|
|
1506
|
+
...v()
|
|
1494
1507
|
]
|
|
1495
1508
|
}],
|
|
1496
1509
|
/**
|
|
@@ -1498,7 +1511,7 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1498
1511
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1499
1512
|
*/
|
|
1500
1513
|
"list-image": [{
|
|
1501
|
-
"list-image": ["none",
|
|
1514
|
+
"list-image": ["none", g, p]
|
|
1502
1515
|
}],
|
|
1503
1516
|
/**
|
|
1504
1517
|
* List Style Position
|
|
@@ -1512,7 +1525,7 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1512
1525
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1513
1526
|
*/
|
|
1514
1527
|
"list-style-type": [{
|
|
1515
|
-
list: ["disc", "decimal", "none",
|
|
1528
|
+
list: ["disc", "decimal", "none", g, p]
|
|
1516
1529
|
}],
|
|
1517
1530
|
/**
|
|
1518
1531
|
* Text Alignment
|
|
@@ -1527,14 +1540,14 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1527
1540
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1528
1541
|
*/
|
|
1529
1542
|
"placeholder-color": [{
|
|
1530
|
-
placeholder:
|
|
1543
|
+
placeholder: w()
|
|
1531
1544
|
}],
|
|
1532
1545
|
/**
|
|
1533
1546
|
* Text Color
|
|
1534
1547
|
* @see https://tailwindcss.com/docs/text-color
|
|
1535
1548
|
*/
|
|
1536
1549
|
"text-color": [{
|
|
1537
|
-
text:
|
|
1550
|
+
text: w()
|
|
1538
1551
|
}],
|
|
1539
1552
|
/**
|
|
1540
1553
|
* Text Decoration
|
|
@@ -1546,28 +1559,28 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1546
1559
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1547
1560
|
*/
|
|
1548
1561
|
"text-decoration-style": [{
|
|
1549
|
-
decoration: [...
|
|
1562
|
+
decoration: [...B(), "wavy"]
|
|
1550
1563
|
}],
|
|
1551
1564
|
/**
|
|
1552
1565
|
* Text Decoration Thickness
|
|
1553
1566
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1554
1567
|
*/
|
|
1555
1568
|
"text-decoration-thickness": [{
|
|
1556
|
-
decoration: [
|
|
1569
|
+
decoration: [S, "from-font", "auto", g, ee]
|
|
1557
1570
|
}],
|
|
1558
1571
|
/**
|
|
1559
1572
|
* Text Decoration Color
|
|
1560
1573
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1561
1574
|
*/
|
|
1562
1575
|
"text-decoration-color": [{
|
|
1563
|
-
decoration:
|
|
1576
|
+
decoration: w()
|
|
1564
1577
|
}],
|
|
1565
1578
|
/**
|
|
1566
1579
|
* Text Underline Offset
|
|
1567
1580
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1568
1581
|
*/
|
|
1569
1582
|
"underline-offset": [{
|
|
1570
|
-
"underline-offset": [
|
|
1583
|
+
"underline-offset": [S, "auto", g, p]
|
|
1571
1584
|
}],
|
|
1572
1585
|
/**
|
|
1573
1586
|
* Text Transform
|
|
@@ -1591,14 +1604,14 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1591
1604
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1592
1605
|
*/
|
|
1593
1606
|
indent: [{
|
|
1594
|
-
indent:
|
|
1607
|
+
indent: v()
|
|
1595
1608
|
}],
|
|
1596
1609
|
/**
|
|
1597
1610
|
* Vertical Alignment
|
|
1598
1611
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1599
1612
|
*/
|
|
1600
1613
|
"vertical-align": [{
|
|
1601
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1614
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", g, p]
|
|
1602
1615
|
}],
|
|
1603
1616
|
/**
|
|
1604
1617
|
* Whitespace
|
|
@@ -1633,7 +1646,7 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1633
1646
|
* @see https://tailwindcss.com/docs/content
|
|
1634
1647
|
*/
|
|
1635
1648
|
content: [{
|
|
1636
|
-
content: ["none",
|
|
1649
|
+
content: ["none", g, p]
|
|
1637
1650
|
}],
|
|
1638
1651
|
// -------------------
|
|
1639
1652
|
// --- Backgrounds ---
|
|
@@ -1664,21 +1677,21 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1664
1677
|
* @see https://tailwindcss.com/docs/background-position
|
|
1665
1678
|
*/
|
|
1666
1679
|
"bg-position": [{
|
|
1667
|
-
bg:
|
|
1680
|
+
bg: le()
|
|
1668
1681
|
}],
|
|
1669
1682
|
/**
|
|
1670
1683
|
* Background Repeat
|
|
1671
1684
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1672
1685
|
*/
|
|
1673
1686
|
"bg-repeat": [{
|
|
1674
|
-
bg:
|
|
1687
|
+
bg: ce()
|
|
1675
1688
|
}],
|
|
1676
1689
|
/**
|
|
1677
1690
|
* Background Size
|
|
1678
1691
|
* @see https://tailwindcss.com/docs/background-size
|
|
1679
1692
|
*/
|
|
1680
1693
|
"bg-size": [{
|
|
1681
|
-
bg:
|
|
1694
|
+
bg: d()
|
|
1682
1695
|
}],
|
|
1683
1696
|
/**
|
|
1684
1697
|
* Background Image
|
|
@@ -1688,59 +1701,59 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1688
1701
|
bg: ["none", {
|
|
1689
1702
|
linear: [{
|
|
1690
1703
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1691
|
-
},
|
|
1692
|
-
radial: ["",
|
|
1693
|
-
conic: [
|
|
1694
|
-
},
|
|
1704
|
+
}, X, g, p],
|
|
1705
|
+
radial: ["", g, p],
|
|
1706
|
+
conic: [X, g, p]
|
|
1707
|
+
}, Hr, Ur]
|
|
1695
1708
|
}],
|
|
1696
1709
|
/**
|
|
1697
1710
|
* Background Color
|
|
1698
1711
|
* @see https://tailwindcss.com/docs/background-color
|
|
1699
1712
|
*/
|
|
1700
1713
|
"bg-color": [{
|
|
1701
|
-
bg:
|
|
1714
|
+
bg: w()
|
|
1702
1715
|
}],
|
|
1703
1716
|
/**
|
|
1704
1717
|
* Gradient Color Stops From Position
|
|
1705
1718
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1706
1719
|
*/
|
|
1707
1720
|
"gradient-from-pos": [{
|
|
1708
|
-
from:
|
|
1721
|
+
from: k()
|
|
1709
1722
|
}],
|
|
1710
1723
|
/**
|
|
1711
1724
|
* Gradient Color Stops Via Position
|
|
1712
1725
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1713
1726
|
*/
|
|
1714
1727
|
"gradient-via-pos": [{
|
|
1715
|
-
via:
|
|
1728
|
+
via: k()
|
|
1716
1729
|
}],
|
|
1717
1730
|
/**
|
|
1718
1731
|
* Gradient Color Stops To Position
|
|
1719
1732
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1720
1733
|
*/
|
|
1721
1734
|
"gradient-to-pos": [{
|
|
1722
|
-
to:
|
|
1735
|
+
to: k()
|
|
1723
1736
|
}],
|
|
1724
1737
|
/**
|
|
1725
1738
|
* Gradient Color Stops From
|
|
1726
1739
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1727
1740
|
*/
|
|
1728
1741
|
"gradient-from": [{
|
|
1729
|
-
from:
|
|
1742
|
+
from: w()
|
|
1730
1743
|
}],
|
|
1731
1744
|
/**
|
|
1732
1745
|
* Gradient Color Stops Via
|
|
1733
1746
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1734
1747
|
*/
|
|
1735
1748
|
"gradient-via": [{
|
|
1736
|
-
via:
|
|
1749
|
+
via: w()
|
|
1737
1750
|
}],
|
|
1738
1751
|
/**
|
|
1739
1752
|
* Gradient Color Stops To
|
|
1740
1753
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1741
1754
|
*/
|
|
1742
1755
|
"gradient-to": [{
|
|
1743
|
-
to:
|
|
1756
|
+
to: w()
|
|
1744
1757
|
}],
|
|
1745
1758
|
// ---------------
|
|
1746
1759
|
// --- Borders ---
|
|
@@ -1750,175 +1763,175 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1750
1763
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1751
1764
|
*/
|
|
1752
1765
|
rounded: [{
|
|
1753
|
-
rounded:
|
|
1766
|
+
rounded: _()
|
|
1754
1767
|
}],
|
|
1755
1768
|
/**
|
|
1756
1769
|
* Border Radius Start
|
|
1757
1770
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1758
1771
|
*/
|
|
1759
1772
|
"rounded-s": [{
|
|
1760
|
-
"rounded-s":
|
|
1773
|
+
"rounded-s": _()
|
|
1761
1774
|
}],
|
|
1762
1775
|
/**
|
|
1763
1776
|
* Border Radius End
|
|
1764
1777
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1765
1778
|
*/
|
|
1766
1779
|
"rounded-e": [{
|
|
1767
|
-
"rounded-e":
|
|
1780
|
+
"rounded-e": _()
|
|
1768
1781
|
}],
|
|
1769
1782
|
/**
|
|
1770
1783
|
* Border Radius Top
|
|
1771
1784
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1772
1785
|
*/
|
|
1773
1786
|
"rounded-t": [{
|
|
1774
|
-
"rounded-t":
|
|
1787
|
+
"rounded-t": _()
|
|
1775
1788
|
}],
|
|
1776
1789
|
/**
|
|
1777
1790
|
* Border Radius Right
|
|
1778
1791
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1779
1792
|
*/
|
|
1780
1793
|
"rounded-r": [{
|
|
1781
|
-
"rounded-r":
|
|
1794
|
+
"rounded-r": _()
|
|
1782
1795
|
}],
|
|
1783
1796
|
/**
|
|
1784
1797
|
* Border Radius Bottom
|
|
1785
1798
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1786
1799
|
*/
|
|
1787
1800
|
"rounded-b": [{
|
|
1788
|
-
"rounded-b":
|
|
1801
|
+
"rounded-b": _()
|
|
1789
1802
|
}],
|
|
1790
1803
|
/**
|
|
1791
1804
|
* Border Radius Left
|
|
1792
1805
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1793
1806
|
*/
|
|
1794
1807
|
"rounded-l": [{
|
|
1795
|
-
"rounded-l":
|
|
1808
|
+
"rounded-l": _()
|
|
1796
1809
|
}],
|
|
1797
1810
|
/**
|
|
1798
1811
|
* Border Radius Start Start
|
|
1799
1812
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1800
1813
|
*/
|
|
1801
1814
|
"rounded-ss": [{
|
|
1802
|
-
"rounded-ss":
|
|
1815
|
+
"rounded-ss": _()
|
|
1803
1816
|
}],
|
|
1804
1817
|
/**
|
|
1805
1818
|
* Border Radius Start End
|
|
1806
1819
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1807
1820
|
*/
|
|
1808
1821
|
"rounded-se": [{
|
|
1809
|
-
"rounded-se":
|
|
1822
|
+
"rounded-se": _()
|
|
1810
1823
|
}],
|
|
1811
1824
|
/**
|
|
1812
1825
|
* Border Radius End End
|
|
1813
1826
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1814
1827
|
*/
|
|
1815
1828
|
"rounded-ee": [{
|
|
1816
|
-
"rounded-ee":
|
|
1829
|
+
"rounded-ee": _()
|
|
1817
1830
|
}],
|
|
1818
1831
|
/**
|
|
1819
1832
|
* Border Radius End Start
|
|
1820
1833
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1821
1834
|
*/
|
|
1822
1835
|
"rounded-es": [{
|
|
1823
|
-
"rounded-es":
|
|
1836
|
+
"rounded-es": _()
|
|
1824
1837
|
}],
|
|
1825
1838
|
/**
|
|
1826
1839
|
* Border Radius Top Left
|
|
1827
1840
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1828
1841
|
*/
|
|
1829
1842
|
"rounded-tl": [{
|
|
1830
|
-
"rounded-tl":
|
|
1843
|
+
"rounded-tl": _()
|
|
1831
1844
|
}],
|
|
1832
1845
|
/**
|
|
1833
1846
|
* Border Radius Top Right
|
|
1834
1847
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1835
1848
|
*/
|
|
1836
1849
|
"rounded-tr": [{
|
|
1837
|
-
"rounded-tr":
|
|
1850
|
+
"rounded-tr": _()
|
|
1838
1851
|
}],
|
|
1839
1852
|
/**
|
|
1840
1853
|
* Border Radius Bottom Right
|
|
1841
1854
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1842
1855
|
*/
|
|
1843
1856
|
"rounded-br": [{
|
|
1844
|
-
"rounded-br":
|
|
1857
|
+
"rounded-br": _()
|
|
1845
1858
|
}],
|
|
1846
1859
|
/**
|
|
1847
1860
|
* Border Radius Bottom Left
|
|
1848
1861
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1849
1862
|
*/
|
|
1850
1863
|
"rounded-bl": [{
|
|
1851
|
-
"rounded-bl":
|
|
1864
|
+
"rounded-bl": _()
|
|
1852
1865
|
}],
|
|
1853
1866
|
/**
|
|
1854
1867
|
* Border Width
|
|
1855
1868
|
* @see https://tailwindcss.com/docs/border-width
|
|
1856
1869
|
*/
|
|
1857
1870
|
"border-w": [{
|
|
1858
|
-
border:
|
|
1871
|
+
border: N()
|
|
1859
1872
|
}],
|
|
1860
1873
|
/**
|
|
1861
1874
|
* Border Width X
|
|
1862
1875
|
* @see https://tailwindcss.com/docs/border-width
|
|
1863
1876
|
*/
|
|
1864
1877
|
"border-w-x": [{
|
|
1865
|
-
"border-x":
|
|
1878
|
+
"border-x": N()
|
|
1866
1879
|
}],
|
|
1867
1880
|
/**
|
|
1868
1881
|
* Border Width Y
|
|
1869
1882
|
* @see https://tailwindcss.com/docs/border-width
|
|
1870
1883
|
*/
|
|
1871
1884
|
"border-w-y": [{
|
|
1872
|
-
"border-y":
|
|
1885
|
+
"border-y": N()
|
|
1873
1886
|
}],
|
|
1874
1887
|
/**
|
|
1875
1888
|
* Border Width Start
|
|
1876
1889
|
* @see https://tailwindcss.com/docs/border-width
|
|
1877
1890
|
*/
|
|
1878
1891
|
"border-w-s": [{
|
|
1879
|
-
"border-s":
|
|
1892
|
+
"border-s": N()
|
|
1880
1893
|
}],
|
|
1881
1894
|
/**
|
|
1882
1895
|
* Border Width End
|
|
1883
1896
|
* @see https://tailwindcss.com/docs/border-width
|
|
1884
1897
|
*/
|
|
1885
1898
|
"border-w-e": [{
|
|
1886
|
-
"border-e":
|
|
1899
|
+
"border-e": N()
|
|
1887
1900
|
}],
|
|
1888
1901
|
/**
|
|
1889
1902
|
* Border Width Top
|
|
1890
1903
|
* @see https://tailwindcss.com/docs/border-width
|
|
1891
1904
|
*/
|
|
1892
1905
|
"border-w-t": [{
|
|
1893
|
-
"border-t":
|
|
1906
|
+
"border-t": N()
|
|
1894
1907
|
}],
|
|
1895
1908
|
/**
|
|
1896
1909
|
* Border Width Right
|
|
1897
1910
|
* @see https://tailwindcss.com/docs/border-width
|
|
1898
1911
|
*/
|
|
1899
1912
|
"border-w-r": [{
|
|
1900
|
-
"border-r":
|
|
1913
|
+
"border-r": N()
|
|
1901
1914
|
}],
|
|
1902
1915
|
/**
|
|
1903
1916
|
* Border Width Bottom
|
|
1904
1917
|
* @see https://tailwindcss.com/docs/border-width
|
|
1905
1918
|
*/
|
|
1906
1919
|
"border-w-b": [{
|
|
1907
|
-
"border-b":
|
|
1920
|
+
"border-b": N()
|
|
1908
1921
|
}],
|
|
1909
1922
|
/**
|
|
1910
1923
|
* Border Width Left
|
|
1911
1924
|
* @see https://tailwindcss.com/docs/border-width
|
|
1912
1925
|
*/
|
|
1913
1926
|
"border-w-l": [{
|
|
1914
|
-
"border-l":
|
|
1927
|
+
"border-l": N()
|
|
1915
1928
|
}],
|
|
1916
1929
|
/**
|
|
1917
1930
|
* Divide Width X
|
|
1918
1931
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1919
1932
|
*/
|
|
1920
1933
|
"divide-x": [{
|
|
1921
|
-
"divide-x":
|
|
1934
|
+
"divide-x": N()
|
|
1922
1935
|
}],
|
|
1923
1936
|
/**
|
|
1924
1937
|
* Divide Width X Reverse
|
|
@@ -1930,7 +1943,7 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1930
1943
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1931
1944
|
*/
|
|
1932
1945
|
"divide-y": [{
|
|
1933
|
-
"divide-y":
|
|
1946
|
+
"divide-y": N()
|
|
1934
1947
|
}],
|
|
1935
1948
|
/**
|
|
1936
1949
|
* Divide Width Y Reverse
|
|
@@ -1942,112 +1955,112 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
1942
1955
|
* @see https://tailwindcss.com/docs/border-style
|
|
1943
1956
|
*/
|
|
1944
1957
|
"border-style": [{
|
|
1945
|
-
border: [...
|
|
1958
|
+
border: [...B(), "hidden", "none"]
|
|
1946
1959
|
}],
|
|
1947
1960
|
/**
|
|
1948
1961
|
* Divide Style
|
|
1949
1962
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1950
1963
|
*/
|
|
1951
1964
|
"divide-style": [{
|
|
1952
|
-
divide: [...
|
|
1965
|
+
divide: [...B(), "hidden", "none"]
|
|
1953
1966
|
}],
|
|
1954
1967
|
/**
|
|
1955
1968
|
* Border Color
|
|
1956
1969
|
* @see https://tailwindcss.com/docs/border-color
|
|
1957
1970
|
*/
|
|
1958
1971
|
"border-color": [{
|
|
1959
|
-
border:
|
|
1972
|
+
border: w()
|
|
1960
1973
|
}],
|
|
1961
1974
|
/**
|
|
1962
1975
|
* Border Color X
|
|
1963
1976
|
* @see https://tailwindcss.com/docs/border-color
|
|
1964
1977
|
*/
|
|
1965
1978
|
"border-color-x": [{
|
|
1966
|
-
"border-x":
|
|
1979
|
+
"border-x": w()
|
|
1967
1980
|
}],
|
|
1968
1981
|
/**
|
|
1969
1982
|
* Border Color Y
|
|
1970
1983
|
* @see https://tailwindcss.com/docs/border-color
|
|
1971
1984
|
*/
|
|
1972
1985
|
"border-color-y": [{
|
|
1973
|
-
"border-y":
|
|
1986
|
+
"border-y": w()
|
|
1974
1987
|
}],
|
|
1975
1988
|
/**
|
|
1976
1989
|
* Border Color S
|
|
1977
1990
|
* @see https://tailwindcss.com/docs/border-color
|
|
1978
1991
|
*/
|
|
1979
1992
|
"border-color-s": [{
|
|
1980
|
-
"border-s":
|
|
1993
|
+
"border-s": w()
|
|
1981
1994
|
}],
|
|
1982
1995
|
/**
|
|
1983
1996
|
* Border Color E
|
|
1984
1997
|
* @see https://tailwindcss.com/docs/border-color
|
|
1985
1998
|
*/
|
|
1986
1999
|
"border-color-e": [{
|
|
1987
|
-
"border-e":
|
|
2000
|
+
"border-e": w()
|
|
1988
2001
|
}],
|
|
1989
2002
|
/**
|
|
1990
2003
|
* Border Color Top
|
|
1991
2004
|
* @see https://tailwindcss.com/docs/border-color
|
|
1992
2005
|
*/
|
|
1993
2006
|
"border-color-t": [{
|
|
1994
|
-
"border-t":
|
|
2007
|
+
"border-t": w()
|
|
1995
2008
|
}],
|
|
1996
2009
|
/**
|
|
1997
2010
|
* Border Color Right
|
|
1998
2011
|
* @see https://tailwindcss.com/docs/border-color
|
|
1999
2012
|
*/
|
|
2000
2013
|
"border-color-r": [{
|
|
2001
|
-
"border-r":
|
|
2014
|
+
"border-r": w()
|
|
2002
2015
|
}],
|
|
2003
2016
|
/**
|
|
2004
2017
|
* Border Color Bottom
|
|
2005
2018
|
* @see https://tailwindcss.com/docs/border-color
|
|
2006
2019
|
*/
|
|
2007
2020
|
"border-color-b": [{
|
|
2008
|
-
"border-b":
|
|
2021
|
+
"border-b": w()
|
|
2009
2022
|
}],
|
|
2010
2023
|
/**
|
|
2011
2024
|
* Border Color Left
|
|
2012
2025
|
* @see https://tailwindcss.com/docs/border-color
|
|
2013
2026
|
*/
|
|
2014
2027
|
"border-color-l": [{
|
|
2015
|
-
"border-l":
|
|
2028
|
+
"border-l": w()
|
|
2016
2029
|
}],
|
|
2017
2030
|
/**
|
|
2018
2031
|
* Divide Color
|
|
2019
2032
|
* @see https://tailwindcss.com/docs/divide-color
|
|
2020
2033
|
*/
|
|
2021
2034
|
"divide-color": [{
|
|
2022
|
-
divide:
|
|
2035
|
+
divide: w()
|
|
2023
2036
|
}],
|
|
2024
2037
|
/**
|
|
2025
2038
|
* Outline Style
|
|
2026
2039
|
* @see https://tailwindcss.com/docs/outline-style
|
|
2027
2040
|
*/
|
|
2028
2041
|
"outline-style": [{
|
|
2029
|
-
outline: [...
|
|
2042
|
+
outline: [...B(), "none", "hidden"]
|
|
2030
2043
|
}],
|
|
2031
2044
|
/**
|
|
2032
2045
|
* Outline Offset
|
|
2033
2046
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2034
2047
|
*/
|
|
2035
2048
|
"outline-offset": [{
|
|
2036
|
-
"outline-offset": [
|
|
2049
|
+
"outline-offset": [S, g, p]
|
|
2037
2050
|
}],
|
|
2038
2051
|
/**
|
|
2039
2052
|
* Outline Width
|
|
2040
2053
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2041
2054
|
*/
|
|
2042
2055
|
"outline-w": [{
|
|
2043
|
-
outline: ["",
|
|
2056
|
+
outline: ["", S, fe, ee]
|
|
2044
2057
|
}],
|
|
2045
2058
|
/**
|
|
2046
2059
|
* Outline Color
|
|
2047
2060
|
* @see https://tailwindcss.com/docs/outline-color
|
|
2048
2061
|
*/
|
|
2049
2062
|
"outline-color": [{
|
|
2050
|
-
outline:
|
|
2063
|
+
outline: w()
|
|
2051
2064
|
}],
|
|
2052
2065
|
// ---------------
|
|
2053
2066
|
// --- Effects ---
|
|
@@ -2061,9 +2074,9 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2061
2074
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2062
2075
|
"",
|
|
2063
2076
|
"none",
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2077
|
+
f,
|
|
2078
|
+
ye,
|
|
2079
|
+
he
|
|
2067
2080
|
]
|
|
2068
2081
|
}],
|
|
2069
2082
|
/**
|
|
@@ -2071,28 +2084,28 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2071
2084
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
2072
2085
|
*/
|
|
2073
2086
|
"shadow-color": [{
|
|
2074
|
-
shadow:
|
|
2087
|
+
shadow: w()
|
|
2075
2088
|
}],
|
|
2076
2089
|
/**
|
|
2077
2090
|
* Inset Box Shadow
|
|
2078
2091
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2079
2092
|
*/
|
|
2080
2093
|
"inset-shadow": [{
|
|
2081
|
-
"inset-shadow": ["none",
|
|
2094
|
+
"inset-shadow": ["none", m, ye, he]
|
|
2082
2095
|
}],
|
|
2083
2096
|
/**
|
|
2084
2097
|
* Inset Box Shadow Color
|
|
2085
2098
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
2086
2099
|
*/
|
|
2087
2100
|
"inset-shadow-color": [{
|
|
2088
|
-
"inset-shadow":
|
|
2101
|
+
"inset-shadow": w()
|
|
2089
2102
|
}],
|
|
2090
2103
|
/**
|
|
2091
2104
|
* Ring Width
|
|
2092
2105
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
2093
2106
|
*/
|
|
2094
2107
|
"ring-w": [{
|
|
2095
|
-
ring:
|
|
2108
|
+
ring: N()
|
|
2096
2109
|
}],
|
|
2097
2110
|
/**
|
|
2098
2111
|
* Ring Width Inset
|
|
@@ -2106,7 +2119,7 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2106
2119
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
2107
2120
|
*/
|
|
2108
2121
|
"ring-color": [{
|
|
2109
|
-
ring:
|
|
2122
|
+
ring: w()
|
|
2110
2123
|
}],
|
|
2111
2124
|
/**
|
|
2112
2125
|
* Ring Offset Width
|
|
@@ -2115,7 +2128,7 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2115
2128
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2116
2129
|
*/
|
|
2117
2130
|
"ring-offset-w": [{
|
|
2118
|
-
"ring-offset": [
|
|
2131
|
+
"ring-offset": [S, ee]
|
|
2119
2132
|
}],
|
|
2120
2133
|
/**
|
|
2121
2134
|
* Ring Offset Color
|
|
@@ -2124,56 +2137,56 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2124
2137
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2125
2138
|
*/
|
|
2126
2139
|
"ring-offset-color": [{
|
|
2127
|
-
"ring-offset":
|
|
2140
|
+
"ring-offset": w()
|
|
2128
2141
|
}],
|
|
2129
2142
|
/**
|
|
2130
2143
|
* Inset Ring Width
|
|
2131
2144
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2132
2145
|
*/
|
|
2133
2146
|
"inset-ring-w": [{
|
|
2134
|
-
"inset-ring":
|
|
2147
|
+
"inset-ring": N()
|
|
2135
2148
|
}],
|
|
2136
2149
|
/**
|
|
2137
2150
|
* Inset Ring Color
|
|
2138
2151
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2139
2152
|
*/
|
|
2140
2153
|
"inset-ring-color": [{
|
|
2141
|
-
"inset-ring":
|
|
2154
|
+
"inset-ring": w()
|
|
2142
2155
|
}],
|
|
2143
2156
|
/**
|
|
2144
2157
|
* Text Shadow
|
|
2145
2158
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2146
2159
|
*/
|
|
2147
2160
|
"text-shadow": [{
|
|
2148
|
-
"text-shadow": ["none",
|
|
2161
|
+
"text-shadow": ["none", h, ye, he]
|
|
2149
2162
|
}],
|
|
2150
2163
|
/**
|
|
2151
2164
|
* Text Shadow Color
|
|
2152
2165
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2153
2166
|
*/
|
|
2154
2167
|
"text-shadow-color": [{
|
|
2155
|
-
"text-shadow":
|
|
2168
|
+
"text-shadow": w()
|
|
2156
2169
|
}],
|
|
2157
2170
|
/**
|
|
2158
2171
|
* Opacity
|
|
2159
2172
|
* @see https://tailwindcss.com/docs/opacity
|
|
2160
2173
|
*/
|
|
2161
2174
|
opacity: [{
|
|
2162
|
-
opacity: [
|
|
2175
|
+
opacity: [S, g, p]
|
|
2163
2176
|
}],
|
|
2164
2177
|
/**
|
|
2165
2178
|
* Mix Blend Mode
|
|
2166
2179
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2167
2180
|
*/
|
|
2168
2181
|
"mix-blend": [{
|
|
2169
|
-
"mix-blend": [...
|
|
2182
|
+
"mix-blend": [...oe(), "plus-darker", "plus-lighter"]
|
|
2170
2183
|
}],
|
|
2171
2184
|
/**
|
|
2172
2185
|
* Background Blend Mode
|
|
2173
2186
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2174
2187
|
*/
|
|
2175
2188
|
"bg-blend": [{
|
|
2176
|
-
"bg-blend":
|
|
2189
|
+
"bg-blend": oe()
|
|
2177
2190
|
}],
|
|
2178
2191
|
/**
|
|
2179
2192
|
* Mask Clip
|
|
@@ -2194,106 +2207,106 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2194
2207
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2195
2208
|
*/
|
|
2196
2209
|
"mask-image-linear-pos": [{
|
|
2197
|
-
"mask-linear": [
|
|
2210
|
+
"mask-linear": [S]
|
|
2198
2211
|
}],
|
|
2199
2212
|
"mask-image-linear-from-pos": [{
|
|
2200
|
-
"mask-linear-from":
|
|
2213
|
+
"mask-linear-from": T()
|
|
2201
2214
|
}],
|
|
2202
2215
|
"mask-image-linear-to-pos": [{
|
|
2203
|
-
"mask-linear-to":
|
|
2216
|
+
"mask-linear-to": T()
|
|
2204
2217
|
}],
|
|
2205
2218
|
"mask-image-linear-from-color": [{
|
|
2206
|
-
"mask-linear-from":
|
|
2219
|
+
"mask-linear-from": w()
|
|
2207
2220
|
}],
|
|
2208
2221
|
"mask-image-linear-to-color": [{
|
|
2209
|
-
"mask-linear-to":
|
|
2222
|
+
"mask-linear-to": w()
|
|
2210
2223
|
}],
|
|
2211
2224
|
"mask-image-t-from-pos": [{
|
|
2212
|
-
"mask-t-from":
|
|
2225
|
+
"mask-t-from": T()
|
|
2213
2226
|
}],
|
|
2214
2227
|
"mask-image-t-to-pos": [{
|
|
2215
|
-
"mask-t-to":
|
|
2228
|
+
"mask-t-to": T()
|
|
2216
2229
|
}],
|
|
2217
2230
|
"mask-image-t-from-color": [{
|
|
2218
|
-
"mask-t-from":
|
|
2231
|
+
"mask-t-from": w()
|
|
2219
2232
|
}],
|
|
2220
2233
|
"mask-image-t-to-color": [{
|
|
2221
|
-
"mask-t-to":
|
|
2234
|
+
"mask-t-to": w()
|
|
2222
2235
|
}],
|
|
2223
2236
|
"mask-image-r-from-pos": [{
|
|
2224
|
-
"mask-r-from":
|
|
2237
|
+
"mask-r-from": T()
|
|
2225
2238
|
}],
|
|
2226
2239
|
"mask-image-r-to-pos": [{
|
|
2227
|
-
"mask-r-to":
|
|
2240
|
+
"mask-r-to": T()
|
|
2228
2241
|
}],
|
|
2229
2242
|
"mask-image-r-from-color": [{
|
|
2230
|
-
"mask-r-from":
|
|
2243
|
+
"mask-r-from": w()
|
|
2231
2244
|
}],
|
|
2232
2245
|
"mask-image-r-to-color": [{
|
|
2233
|
-
"mask-r-to":
|
|
2246
|
+
"mask-r-to": w()
|
|
2234
2247
|
}],
|
|
2235
2248
|
"mask-image-b-from-pos": [{
|
|
2236
|
-
"mask-b-from":
|
|
2249
|
+
"mask-b-from": T()
|
|
2237
2250
|
}],
|
|
2238
2251
|
"mask-image-b-to-pos": [{
|
|
2239
|
-
"mask-b-to":
|
|
2252
|
+
"mask-b-to": T()
|
|
2240
2253
|
}],
|
|
2241
2254
|
"mask-image-b-from-color": [{
|
|
2242
|
-
"mask-b-from":
|
|
2255
|
+
"mask-b-from": w()
|
|
2243
2256
|
}],
|
|
2244
2257
|
"mask-image-b-to-color": [{
|
|
2245
|
-
"mask-b-to":
|
|
2258
|
+
"mask-b-to": w()
|
|
2246
2259
|
}],
|
|
2247
2260
|
"mask-image-l-from-pos": [{
|
|
2248
|
-
"mask-l-from":
|
|
2261
|
+
"mask-l-from": T()
|
|
2249
2262
|
}],
|
|
2250
2263
|
"mask-image-l-to-pos": [{
|
|
2251
|
-
"mask-l-to":
|
|
2264
|
+
"mask-l-to": T()
|
|
2252
2265
|
}],
|
|
2253
2266
|
"mask-image-l-from-color": [{
|
|
2254
|
-
"mask-l-from":
|
|
2267
|
+
"mask-l-from": w()
|
|
2255
2268
|
}],
|
|
2256
2269
|
"mask-image-l-to-color": [{
|
|
2257
|
-
"mask-l-to":
|
|
2270
|
+
"mask-l-to": w()
|
|
2258
2271
|
}],
|
|
2259
2272
|
"mask-image-x-from-pos": [{
|
|
2260
|
-
"mask-x-from":
|
|
2273
|
+
"mask-x-from": T()
|
|
2261
2274
|
}],
|
|
2262
2275
|
"mask-image-x-to-pos": [{
|
|
2263
|
-
"mask-x-to":
|
|
2276
|
+
"mask-x-to": T()
|
|
2264
2277
|
}],
|
|
2265
2278
|
"mask-image-x-from-color": [{
|
|
2266
|
-
"mask-x-from":
|
|
2279
|
+
"mask-x-from": w()
|
|
2267
2280
|
}],
|
|
2268
2281
|
"mask-image-x-to-color": [{
|
|
2269
|
-
"mask-x-to":
|
|
2282
|
+
"mask-x-to": w()
|
|
2270
2283
|
}],
|
|
2271
2284
|
"mask-image-y-from-pos": [{
|
|
2272
|
-
"mask-y-from":
|
|
2285
|
+
"mask-y-from": T()
|
|
2273
2286
|
}],
|
|
2274
2287
|
"mask-image-y-to-pos": [{
|
|
2275
|
-
"mask-y-to":
|
|
2288
|
+
"mask-y-to": T()
|
|
2276
2289
|
}],
|
|
2277
2290
|
"mask-image-y-from-color": [{
|
|
2278
|
-
"mask-y-from":
|
|
2291
|
+
"mask-y-from": w()
|
|
2279
2292
|
}],
|
|
2280
2293
|
"mask-image-y-to-color": [{
|
|
2281
|
-
"mask-y-to":
|
|
2294
|
+
"mask-y-to": w()
|
|
2282
2295
|
}],
|
|
2283
2296
|
"mask-image-radial": [{
|
|
2284
|
-
"mask-radial": [
|
|
2297
|
+
"mask-radial": [g, p]
|
|
2285
2298
|
}],
|
|
2286
2299
|
"mask-image-radial-from-pos": [{
|
|
2287
|
-
"mask-radial-from":
|
|
2300
|
+
"mask-radial-from": T()
|
|
2288
2301
|
}],
|
|
2289
2302
|
"mask-image-radial-to-pos": [{
|
|
2290
|
-
"mask-radial-to":
|
|
2303
|
+
"mask-radial-to": T()
|
|
2291
2304
|
}],
|
|
2292
2305
|
"mask-image-radial-from-color": [{
|
|
2293
|
-
"mask-radial-from":
|
|
2306
|
+
"mask-radial-from": w()
|
|
2294
2307
|
}],
|
|
2295
2308
|
"mask-image-radial-to-color": [{
|
|
2296
|
-
"mask-radial-to":
|
|
2309
|
+
"mask-radial-to": w()
|
|
2297
2310
|
}],
|
|
2298
2311
|
"mask-image-radial-shape": [{
|
|
2299
2312
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -2305,22 +2318,22 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2305
2318
|
}]
|
|
2306
2319
|
}],
|
|
2307
2320
|
"mask-image-radial-pos": [{
|
|
2308
|
-
"mask-radial-at":
|
|
2321
|
+
"mask-radial-at": x()
|
|
2309
2322
|
}],
|
|
2310
2323
|
"mask-image-conic-pos": [{
|
|
2311
|
-
"mask-conic": [
|
|
2324
|
+
"mask-conic": [S]
|
|
2312
2325
|
}],
|
|
2313
2326
|
"mask-image-conic-from-pos": [{
|
|
2314
|
-
"mask-conic-from":
|
|
2327
|
+
"mask-conic-from": T()
|
|
2315
2328
|
}],
|
|
2316
2329
|
"mask-image-conic-to-pos": [{
|
|
2317
|
-
"mask-conic-to":
|
|
2330
|
+
"mask-conic-to": T()
|
|
2318
2331
|
}],
|
|
2319
2332
|
"mask-image-conic-from-color": [{
|
|
2320
|
-
"mask-conic-from":
|
|
2333
|
+
"mask-conic-from": w()
|
|
2321
2334
|
}],
|
|
2322
2335
|
"mask-image-conic-to-color": [{
|
|
2323
|
-
"mask-conic-to":
|
|
2336
|
+
"mask-conic-to": w()
|
|
2324
2337
|
}],
|
|
2325
2338
|
/**
|
|
2326
2339
|
* Mask Mode
|
|
@@ -2341,21 +2354,21 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2341
2354
|
* @see https://tailwindcss.com/docs/mask-position
|
|
2342
2355
|
*/
|
|
2343
2356
|
"mask-position": [{
|
|
2344
|
-
mask:
|
|
2357
|
+
mask: le()
|
|
2345
2358
|
}],
|
|
2346
2359
|
/**
|
|
2347
2360
|
* Mask Repeat
|
|
2348
2361
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2349
2362
|
*/
|
|
2350
2363
|
"mask-repeat": [{
|
|
2351
|
-
mask:
|
|
2364
|
+
mask: ce()
|
|
2352
2365
|
}],
|
|
2353
2366
|
/**
|
|
2354
2367
|
* Mask Size
|
|
2355
2368
|
* @see https://tailwindcss.com/docs/mask-size
|
|
2356
2369
|
*/
|
|
2357
2370
|
"mask-size": [{
|
|
2358
|
-
mask:
|
|
2371
|
+
mask: d()
|
|
2359
2372
|
}],
|
|
2360
2373
|
/**
|
|
2361
2374
|
* Mask Type
|
|
@@ -2369,7 +2382,7 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2369
2382
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2370
2383
|
*/
|
|
2371
2384
|
"mask-image": [{
|
|
2372
|
-
mask: ["none",
|
|
2385
|
+
mask: ["none", g, p]
|
|
2373
2386
|
}],
|
|
2374
2387
|
// ---------------
|
|
2375
2388
|
// --- Filters ---
|
|
@@ -2383,8 +2396,8 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2383
2396
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2384
2397
|
"",
|
|
2385
2398
|
"none",
|
|
2386
|
-
|
|
2387
|
-
|
|
2399
|
+
g,
|
|
2400
|
+
p
|
|
2388
2401
|
]
|
|
2389
2402
|
}],
|
|
2390
2403
|
/**
|
|
@@ -2392,21 +2405,21 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2392
2405
|
* @see https://tailwindcss.com/docs/blur
|
|
2393
2406
|
*/
|
|
2394
2407
|
blur: [{
|
|
2395
|
-
blur:
|
|
2408
|
+
blur: Y()
|
|
2396
2409
|
}],
|
|
2397
2410
|
/**
|
|
2398
2411
|
* Brightness
|
|
2399
2412
|
* @see https://tailwindcss.com/docs/brightness
|
|
2400
2413
|
*/
|
|
2401
2414
|
brightness: [{
|
|
2402
|
-
brightness: [
|
|
2415
|
+
brightness: [S, g, p]
|
|
2403
2416
|
}],
|
|
2404
2417
|
/**
|
|
2405
2418
|
* Contrast
|
|
2406
2419
|
* @see https://tailwindcss.com/docs/contrast
|
|
2407
2420
|
*/
|
|
2408
2421
|
contrast: [{
|
|
2409
|
-
contrast: [
|
|
2422
|
+
contrast: [S, g, p]
|
|
2410
2423
|
}],
|
|
2411
2424
|
/**
|
|
2412
2425
|
* Drop Shadow
|
|
@@ -2417,9 +2430,9 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2417
2430
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2418
2431
|
"",
|
|
2419
2432
|
"none",
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2433
|
+
C,
|
|
2434
|
+
ye,
|
|
2435
|
+
he
|
|
2423
2436
|
]
|
|
2424
2437
|
}],
|
|
2425
2438
|
/**
|
|
@@ -2427,42 +2440,42 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2427
2440
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2428
2441
|
*/
|
|
2429
2442
|
"drop-shadow-color": [{
|
|
2430
|
-
"drop-shadow":
|
|
2443
|
+
"drop-shadow": w()
|
|
2431
2444
|
}],
|
|
2432
2445
|
/**
|
|
2433
2446
|
* Grayscale
|
|
2434
2447
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2435
2448
|
*/
|
|
2436
2449
|
grayscale: [{
|
|
2437
|
-
grayscale: ["",
|
|
2450
|
+
grayscale: ["", S, g, p]
|
|
2438
2451
|
}],
|
|
2439
2452
|
/**
|
|
2440
2453
|
* Hue Rotate
|
|
2441
2454
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2442
2455
|
*/
|
|
2443
2456
|
"hue-rotate": [{
|
|
2444
|
-
"hue-rotate": [
|
|
2457
|
+
"hue-rotate": [S, g, p]
|
|
2445
2458
|
}],
|
|
2446
2459
|
/**
|
|
2447
2460
|
* Invert
|
|
2448
2461
|
* @see https://tailwindcss.com/docs/invert
|
|
2449
2462
|
*/
|
|
2450
2463
|
invert: [{
|
|
2451
|
-
invert: ["",
|
|
2464
|
+
invert: ["", S, g, p]
|
|
2452
2465
|
}],
|
|
2453
2466
|
/**
|
|
2454
2467
|
* Saturate
|
|
2455
2468
|
* @see https://tailwindcss.com/docs/saturate
|
|
2456
2469
|
*/
|
|
2457
2470
|
saturate: [{
|
|
2458
|
-
saturate: [
|
|
2471
|
+
saturate: [S, g, p]
|
|
2459
2472
|
}],
|
|
2460
2473
|
/**
|
|
2461
2474
|
* Sepia
|
|
2462
2475
|
* @see https://tailwindcss.com/docs/sepia
|
|
2463
2476
|
*/
|
|
2464
2477
|
sepia: [{
|
|
2465
|
-
sepia: ["",
|
|
2478
|
+
sepia: ["", S, g, p]
|
|
2466
2479
|
}],
|
|
2467
2480
|
/**
|
|
2468
2481
|
* Backdrop Filter
|
|
@@ -2473,8 +2486,8 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2473
2486
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2474
2487
|
"",
|
|
2475
2488
|
"none",
|
|
2476
|
-
|
|
2477
|
-
|
|
2489
|
+
g,
|
|
2490
|
+
p
|
|
2478
2491
|
]
|
|
2479
2492
|
}],
|
|
2480
2493
|
/**
|
|
@@ -2482,63 +2495,63 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2482
2495
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2483
2496
|
*/
|
|
2484
2497
|
"backdrop-blur": [{
|
|
2485
|
-
"backdrop-blur":
|
|
2498
|
+
"backdrop-blur": Y()
|
|
2486
2499
|
}],
|
|
2487
2500
|
/**
|
|
2488
2501
|
* Backdrop Brightness
|
|
2489
2502
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2490
2503
|
*/
|
|
2491
2504
|
"backdrop-brightness": [{
|
|
2492
|
-
"backdrop-brightness": [
|
|
2505
|
+
"backdrop-brightness": [S, g, p]
|
|
2493
2506
|
}],
|
|
2494
2507
|
/**
|
|
2495
2508
|
* Backdrop Contrast
|
|
2496
2509
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2497
2510
|
*/
|
|
2498
2511
|
"backdrop-contrast": [{
|
|
2499
|
-
"backdrop-contrast": [
|
|
2512
|
+
"backdrop-contrast": [S, g, p]
|
|
2500
2513
|
}],
|
|
2501
2514
|
/**
|
|
2502
2515
|
* Backdrop Grayscale
|
|
2503
2516
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2504
2517
|
*/
|
|
2505
2518
|
"backdrop-grayscale": [{
|
|
2506
|
-
"backdrop-grayscale": ["",
|
|
2519
|
+
"backdrop-grayscale": ["", S, g, p]
|
|
2507
2520
|
}],
|
|
2508
2521
|
/**
|
|
2509
2522
|
* Backdrop Hue Rotate
|
|
2510
2523
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2511
2524
|
*/
|
|
2512
2525
|
"backdrop-hue-rotate": [{
|
|
2513
|
-
"backdrop-hue-rotate": [
|
|
2526
|
+
"backdrop-hue-rotate": [S, g, p]
|
|
2514
2527
|
}],
|
|
2515
2528
|
/**
|
|
2516
2529
|
* Backdrop Invert
|
|
2517
2530
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2518
2531
|
*/
|
|
2519
2532
|
"backdrop-invert": [{
|
|
2520
|
-
"backdrop-invert": ["",
|
|
2533
|
+
"backdrop-invert": ["", S, g, p]
|
|
2521
2534
|
}],
|
|
2522
2535
|
/**
|
|
2523
2536
|
* Backdrop Opacity
|
|
2524
2537
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2525
2538
|
*/
|
|
2526
2539
|
"backdrop-opacity": [{
|
|
2527
|
-
"backdrop-opacity": [
|
|
2540
|
+
"backdrop-opacity": [S, g, p]
|
|
2528
2541
|
}],
|
|
2529
2542
|
/**
|
|
2530
2543
|
* Backdrop Saturate
|
|
2531
2544
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2532
2545
|
*/
|
|
2533
2546
|
"backdrop-saturate": [{
|
|
2534
|
-
"backdrop-saturate": [
|
|
2547
|
+
"backdrop-saturate": [S, g, p]
|
|
2535
2548
|
}],
|
|
2536
2549
|
/**
|
|
2537
2550
|
* Backdrop Sepia
|
|
2538
2551
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2539
2552
|
*/
|
|
2540
2553
|
"backdrop-sepia": [{
|
|
2541
|
-
"backdrop-sepia": ["",
|
|
2554
|
+
"backdrop-sepia": ["", S, g, p]
|
|
2542
2555
|
}],
|
|
2543
2556
|
// --------------
|
|
2544
2557
|
// --- Tables ---
|
|
@@ -2555,21 +2568,21 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2555
2568
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2556
2569
|
*/
|
|
2557
2570
|
"border-spacing": [{
|
|
2558
|
-
"border-spacing":
|
|
2571
|
+
"border-spacing": v()
|
|
2559
2572
|
}],
|
|
2560
2573
|
/**
|
|
2561
2574
|
* Border Spacing X
|
|
2562
2575
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2563
2576
|
*/
|
|
2564
2577
|
"border-spacing-x": [{
|
|
2565
|
-
"border-spacing-x":
|
|
2578
|
+
"border-spacing-x": v()
|
|
2566
2579
|
}],
|
|
2567
2580
|
/**
|
|
2568
2581
|
* Border Spacing Y
|
|
2569
2582
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2570
2583
|
*/
|
|
2571
2584
|
"border-spacing-y": [{
|
|
2572
|
-
"border-spacing-y":
|
|
2585
|
+
"border-spacing-y": v()
|
|
2573
2586
|
}],
|
|
2574
2587
|
/**
|
|
2575
2588
|
* Table Layout
|
|
@@ -2593,7 +2606,7 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2593
2606
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2594
2607
|
*/
|
|
2595
2608
|
transition: [{
|
|
2596
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2609
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", g, p]
|
|
2597
2610
|
}],
|
|
2598
2611
|
/**
|
|
2599
2612
|
* Transition Behavior
|
|
@@ -2607,28 +2620,28 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2607
2620
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2608
2621
|
*/
|
|
2609
2622
|
duration: [{
|
|
2610
|
-
duration: [
|
|
2623
|
+
duration: [S, "initial", g, p]
|
|
2611
2624
|
}],
|
|
2612
2625
|
/**
|
|
2613
2626
|
* Transition Timing Function
|
|
2614
2627
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2615
2628
|
*/
|
|
2616
2629
|
ease: [{
|
|
2617
|
-
ease: ["linear", "initial",
|
|
2630
|
+
ease: ["linear", "initial", P, g, p]
|
|
2618
2631
|
}],
|
|
2619
2632
|
/**
|
|
2620
2633
|
* Transition Delay
|
|
2621
2634
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2622
2635
|
*/
|
|
2623
2636
|
delay: [{
|
|
2624
|
-
delay: [
|
|
2637
|
+
delay: [S, g, p]
|
|
2625
2638
|
}],
|
|
2626
2639
|
/**
|
|
2627
2640
|
* Animation
|
|
2628
2641
|
* @see https://tailwindcss.com/docs/animation
|
|
2629
2642
|
*/
|
|
2630
2643
|
animate: [{
|
|
2631
|
-
animate: ["none",
|
|
2644
|
+
animate: ["none", F, g, p]
|
|
2632
2645
|
}],
|
|
2633
2646
|
// ------------------
|
|
2634
2647
|
// --- Transforms ---
|
|
@@ -2645,70 +2658,70 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2645
2658
|
* @see https://tailwindcss.com/docs/perspective
|
|
2646
2659
|
*/
|
|
2647
2660
|
perspective: [{
|
|
2648
|
-
perspective: [
|
|
2661
|
+
perspective: [R, g, p]
|
|
2649
2662
|
}],
|
|
2650
2663
|
/**
|
|
2651
2664
|
* Perspective Origin
|
|
2652
2665
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2653
2666
|
*/
|
|
2654
2667
|
"perspective-origin": [{
|
|
2655
|
-
"perspective-origin":
|
|
2668
|
+
"perspective-origin": O()
|
|
2656
2669
|
}],
|
|
2657
2670
|
/**
|
|
2658
2671
|
* Rotate
|
|
2659
2672
|
* @see https://tailwindcss.com/docs/rotate
|
|
2660
2673
|
*/
|
|
2661
2674
|
rotate: [{
|
|
2662
|
-
rotate:
|
|
2675
|
+
rotate: J()
|
|
2663
2676
|
}],
|
|
2664
2677
|
/**
|
|
2665
2678
|
* Rotate X
|
|
2666
2679
|
* @see https://tailwindcss.com/docs/rotate
|
|
2667
2680
|
*/
|
|
2668
2681
|
"rotate-x": [{
|
|
2669
|
-
"rotate-x":
|
|
2682
|
+
"rotate-x": J()
|
|
2670
2683
|
}],
|
|
2671
2684
|
/**
|
|
2672
2685
|
* Rotate Y
|
|
2673
2686
|
* @see https://tailwindcss.com/docs/rotate
|
|
2674
2687
|
*/
|
|
2675
2688
|
"rotate-y": [{
|
|
2676
|
-
"rotate-y":
|
|
2689
|
+
"rotate-y": J()
|
|
2677
2690
|
}],
|
|
2678
2691
|
/**
|
|
2679
2692
|
* Rotate Z
|
|
2680
2693
|
* @see https://tailwindcss.com/docs/rotate
|
|
2681
2694
|
*/
|
|
2682
2695
|
"rotate-z": [{
|
|
2683
|
-
"rotate-z":
|
|
2696
|
+
"rotate-z": J()
|
|
2684
2697
|
}],
|
|
2685
2698
|
/**
|
|
2686
2699
|
* Scale
|
|
2687
2700
|
* @see https://tailwindcss.com/docs/scale
|
|
2688
2701
|
*/
|
|
2689
2702
|
scale: [{
|
|
2690
|
-
scale:
|
|
2703
|
+
scale: ne()
|
|
2691
2704
|
}],
|
|
2692
2705
|
/**
|
|
2693
2706
|
* Scale X
|
|
2694
2707
|
* @see https://tailwindcss.com/docs/scale
|
|
2695
2708
|
*/
|
|
2696
2709
|
"scale-x": [{
|
|
2697
|
-
"scale-x":
|
|
2710
|
+
"scale-x": ne()
|
|
2698
2711
|
}],
|
|
2699
2712
|
/**
|
|
2700
2713
|
* Scale Y
|
|
2701
2714
|
* @see https://tailwindcss.com/docs/scale
|
|
2702
2715
|
*/
|
|
2703
2716
|
"scale-y": [{
|
|
2704
|
-
"scale-y":
|
|
2717
|
+
"scale-y": ne()
|
|
2705
2718
|
}],
|
|
2706
2719
|
/**
|
|
2707
2720
|
* Scale Z
|
|
2708
2721
|
* @see https://tailwindcss.com/docs/scale
|
|
2709
2722
|
*/
|
|
2710
2723
|
"scale-z": [{
|
|
2711
|
-
"scale-z":
|
|
2724
|
+
"scale-z": ne()
|
|
2712
2725
|
}],
|
|
2713
2726
|
/**
|
|
2714
2727
|
* Scale 3D
|
|
@@ -2720,35 +2733,35 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2720
2733
|
* @see https://tailwindcss.com/docs/skew
|
|
2721
2734
|
*/
|
|
2722
2735
|
skew: [{
|
|
2723
|
-
skew:
|
|
2736
|
+
skew: Ie()
|
|
2724
2737
|
}],
|
|
2725
2738
|
/**
|
|
2726
2739
|
* Skew X
|
|
2727
2740
|
* @see https://tailwindcss.com/docs/skew
|
|
2728
2741
|
*/
|
|
2729
2742
|
"skew-x": [{
|
|
2730
|
-
"skew-x":
|
|
2743
|
+
"skew-x": Ie()
|
|
2731
2744
|
}],
|
|
2732
2745
|
/**
|
|
2733
2746
|
* Skew Y
|
|
2734
2747
|
* @see https://tailwindcss.com/docs/skew
|
|
2735
2748
|
*/
|
|
2736
2749
|
"skew-y": [{
|
|
2737
|
-
"skew-y":
|
|
2750
|
+
"skew-y": Ie()
|
|
2738
2751
|
}],
|
|
2739
2752
|
/**
|
|
2740
2753
|
* Transform
|
|
2741
2754
|
* @see https://tailwindcss.com/docs/transform
|
|
2742
2755
|
*/
|
|
2743
2756
|
transform: [{
|
|
2744
|
-
transform: [
|
|
2757
|
+
transform: [g, p, "", "none", "gpu", "cpu"]
|
|
2745
2758
|
}],
|
|
2746
2759
|
/**
|
|
2747
2760
|
* Transform Origin
|
|
2748
2761
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2749
2762
|
*/
|
|
2750
2763
|
"transform-origin": [{
|
|
2751
|
-
origin:
|
|
2764
|
+
origin: O()
|
|
2752
2765
|
}],
|
|
2753
2766
|
/**
|
|
2754
2767
|
* Transform Style
|
|
@@ -2762,28 +2775,28 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2762
2775
|
* @see https://tailwindcss.com/docs/translate
|
|
2763
2776
|
*/
|
|
2764
2777
|
translate: [{
|
|
2765
|
-
translate:
|
|
2778
|
+
translate: be()
|
|
2766
2779
|
}],
|
|
2767
2780
|
/**
|
|
2768
2781
|
* Translate X
|
|
2769
2782
|
* @see https://tailwindcss.com/docs/translate
|
|
2770
2783
|
*/
|
|
2771
2784
|
"translate-x": [{
|
|
2772
|
-
"translate-x":
|
|
2785
|
+
"translate-x": be()
|
|
2773
2786
|
}],
|
|
2774
2787
|
/**
|
|
2775
2788
|
* Translate Y
|
|
2776
2789
|
* @see https://tailwindcss.com/docs/translate
|
|
2777
2790
|
*/
|
|
2778
2791
|
"translate-y": [{
|
|
2779
|
-
"translate-y":
|
|
2792
|
+
"translate-y": be()
|
|
2780
2793
|
}],
|
|
2781
2794
|
/**
|
|
2782
2795
|
* Translate Z
|
|
2783
2796
|
* @see https://tailwindcss.com/docs/translate
|
|
2784
2797
|
*/
|
|
2785
2798
|
"translate-z": [{
|
|
2786
|
-
"translate-z":
|
|
2799
|
+
"translate-z": be()
|
|
2787
2800
|
}],
|
|
2788
2801
|
/**
|
|
2789
2802
|
* Translate None
|
|
@@ -2798,7 +2811,7 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2798
2811
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2799
2812
|
*/
|
|
2800
2813
|
accent: [{
|
|
2801
|
-
accent:
|
|
2814
|
+
accent: w()
|
|
2802
2815
|
}],
|
|
2803
2816
|
/**
|
|
2804
2817
|
* Appearance
|
|
@@ -2812,7 +2825,7 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2812
2825
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2813
2826
|
*/
|
|
2814
2827
|
"caret-color": [{
|
|
2815
|
-
caret:
|
|
2828
|
+
caret: w()
|
|
2816
2829
|
}],
|
|
2817
2830
|
/**
|
|
2818
2831
|
* Color Scheme
|
|
@@ -2826,7 +2839,7 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2826
2839
|
* @see https://tailwindcss.com/docs/cursor
|
|
2827
2840
|
*/
|
|
2828
2841
|
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",
|
|
2842
|
+
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", g, p]
|
|
2830
2843
|
}],
|
|
2831
2844
|
/**
|
|
2832
2845
|
* Field Sizing
|
|
@@ -2861,126 +2874,126 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
2861
2874
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2862
2875
|
*/
|
|
2863
2876
|
"scroll-m": [{
|
|
2864
|
-
"scroll-m":
|
|
2877
|
+
"scroll-m": v()
|
|
2865
2878
|
}],
|
|
2866
2879
|
/**
|
|
2867
2880
|
* Scroll Margin X
|
|
2868
2881
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2869
2882
|
*/
|
|
2870
2883
|
"scroll-mx": [{
|
|
2871
|
-
"scroll-mx":
|
|
2884
|
+
"scroll-mx": v()
|
|
2872
2885
|
}],
|
|
2873
2886
|
/**
|
|
2874
2887
|
* Scroll Margin Y
|
|
2875
2888
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2876
2889
|
*/
|
|
2877
2890
|
"scroll-my": [{
|
|
2878
|
-
"scroll-my":
|
|
2891
|
+
"scroll-my": v()
|
|
2879
2892
|
}],
|
|
2880
2893
|
/**
|
|
2881
2894
|
* Scroll Margin Start
|
|
2882
2895
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2883
2896
|
*/
|
|
2884
2897
|
"scroll-ms": [{
|
|
2885
|
-
"scroll-ms":
|
|
2898
|
+
"scroll-ms": v()
|
|
2886
2899
|
}],
|
|
2887
2900
|
/**
|
|
2888
2901
|
* Scroll Margin End
|
|
2889
2902
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2890
2903
|
*/
|
|
2891
2904
|
"scroll-me": [{
|
|
2892
|
-
"scroll-me":
|
|
2905
|
+
"scroll-me": v()
|
|
2893
2906
|
}],
|
|
2894
2907
|
/**
|
|
2895
2908
|
* Scroll Margin Top
|
|
2896
2909
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2897
2910
|
*/
|
|
2898
2911
|
"scroll-mt": [{
|
|
2899
|
-
"scroll-mt":
|
|
2912
|
+
"scroll-mt": v()
|
|
2900
2913
|
}],
|
|
2901
2914
|
/**
|
|
2902
2915
|
* Scroll Margin Right
|
|
2903
2916
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2904
2917
|
*/
|
|
2905
2918
|
"scroll-mr": [{
|
|
2906
|
-
"scroll-mr":
|
|
2919
|
+
"scroll-mr": v()
|
|
2907
2920
|
}],
|
|
2908
2921
|
/**
|
|
2909
2922
|
* Scroll Margin Bottom
|
|
2910
2923
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2911
2924
|
*/
|
|
2912
2925
|
"scroll-mb": [{
|
|
2913
|
-
"scroll-mb":
|
|
2926
|
+
"scroll-mb": v()
|
|
2914
2927
|
}],
|
|
2915
2928
|
/**
|
|
2916
2929
|
* Scroll Margin Left
|
|
2917
2930
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2918
2931
|
*/
|
|
2919
2932
|
"scroll-ml": [{
|
|
2920
|
-
"scroll-ml":
|
|
2933
|
+
"scroll-ml": v()
|
|
2921
2934
|
}],
|
|
2922
2935
|
/**
|
|
2923
2936
|
* Scroll Padding
|
|
2924
2937
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2925
2938
|
*/
|
|
2926
2939
|
"scroll-p": [{
|
|
2927
|
-
"scroll-p":
|
|
2940
|
+
"scroll-p": v()
|
|
2928
2941
|
}],
|
|
2929
2942
|
/**
|
|
2930
2943
|
* Scroll Padding X
|
|
2931
2944
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2932
2945
|
*/
|
|
2933
2946
|
"scroll-px": [{
|
|
2934
|
-
"scroll-px":
|
|
2947
|
+
"scroll-px": v()
|
|
2935
2948
|
}],
|
|
2936
2949
|
/**
|
|
2937
2950
|
* Scroll Padding Y
|
|
2938
2951
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2939
2952
|
*/
|
|
2940
2953
|
"scroll-py": [{
|
|
2941
|
-
"scroll-py":
|
|
2954
|
+
"scroll-py": v()
|
|
2942
2955
|
}],
|
|
2943
2956
|
/**
|
|
2944
2957
|
* Scroll Padding Start
|
|
2945
2958
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2946
2959
|
*/
|
|
2947
2960
|
"scroll-ps": [{
|
|
2948
|
-
"scroll-ps":
|
|
2961
|
+
"scroll-ps": v()
|
|
2949
2962
|
}],
|
|
2950
2963
|
/**
|
|
2951
2964
|
* Scroll Padding End
|
|
2952
2965
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2953
2966
|
*/
|
|
2954
2967
|
"scroll-pe": [{
|
|
2955
|
-
"scroll-pe":
|
|
2968
|
+
"scroll-pe": v()
|
|
2956
2969
|
}],
|
|
2957
2970
|
/**
|
|
2958
2971
|
* Scroll Padding Top
|
|
2959
2972
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2960
2973
|
*/
|
|
2961
2974
|
"scroll-pt": [{
|
|
2962
|
-
"scroll-pt":
|
|
2975
|
+
"scroll-pt": v()
|
|
2963
2976
|
}],
|
|
2964
2977
|
/**
|
|
2965
2978
|
* Scroll Padding Right
|
|
2966
2979
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2967
2980
|
*/
|
|
2968
2981
|
"scroll-pr": [{
|
|
2969
|
-
"scroll-pr":
|
|
2982
|
+
"scroll-pr": v()
|
|
2970
2983
|
}],
|
|
2971
2984
|
/**
|
|
2972
2985
|
* Scroll Padding Bottom
|
|
2973
2986
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2974
2987
|
*/
|
|
2975
2988
|
"scroll-pb": [{
|
|
2976
|
-
"scroll-pb":
|
|
2989
|
+
"scroll-pb": v()
|
|
2977
2990
|
}],
|
|
2978
2991
|
/**
|
|
2979
2992
|
* Scroll Padding Left
|
|
2980
2993
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2981
2994
|
*/
|
|
2982
2995
|
"scroll-pl": [{
|
|
2983
|
-
"scroll-pl":
|
|
2996
|
+
"scroll-pl": v()
|
|
2984
2997
|
}],
|
|
2985
2998
|
/**
|
|
2986
2999
|
* Scroll Snap Align
|
|
@@ -3048,7 +3061,7 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
3048
3061
|
* @see https://tailwindcss.com/docs/will-change
|
|
3049
3062
|
*/
|
|
3050
3063
|
"will-change": [{
|
|
3051
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
3064
|
+
"will-change": ["auto", "scroll", "contents", "transform", g, p]
|
|
3052
3065
|
}],
|
|
3053
3066
|
// -----------
|
|
3054
3067
|
// --- SVG ---
|
|
@@ -3058,21 +3071,21 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
3058
3071
|
* @see https://tailwindcss.com/docs/fill
|
|
3059
3072
|
*/
|
|
3060
3073
|
fill: [{
|
|
3061
|
-
fill: ["none", ...
|
|
3074
|
+
fill: ["none", ...w()]
|
|
3062
3075
|
}],
|
|
3063
3076
|
/**
|
|
3064
3077
|
* Stroke Width
|
|
3065
3078
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3066
3079
|
*/
|
|
3067
3080
|
"stroke-w": [{
|
|
3068
|
-
stroke: [
|
|
3081
|
+
stroke: [S, fe, ee, Pe]
|
|
3069
3082
|
}],
|
|
3070
3083
|
/**
|
|
3071
3084
|
* Stroke
|
|
3072
3085
|
* @see https://tailwindcss.com/docs/stroke
|
|
3073
3086
|
*/
|
|
3074
3087
|
stroke: [{
|
|
3075
|
-
stroke: ["none", ...
|
|
3088
|
+
stroke: ["none", ...w()]
|
|
3076
3089
|
}],
|
|
3077
3090
|
// ---------------------
|
|
3078
3091
|
// --- Accessibility ---
|
|
@@ -3140,11 +3153,11 @@ const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, t
|
|
|
3140
3153
|
},
|
|
3141
3154
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3142
3155
|
};
|
|
3143
|
-
},
|
|
3144
|
-
function
|
|
3145
|
-
return
|
|
3156
|
+
}, Xr = /* @__PURE__ */ Ir(Jr);
|
|
3157
|
+
function D(...e) {
|
|
3158
|
+
return Xr(ut(e));
|
|
3146
3159
|
}
|
|
3147
|
-
const
|
|
3160
|
+
const Zr = cr(
|
|
3148
3161
|
"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
3162
|
{
|
|
3150
3163
|
variants: {
|
|
@@ -3169,128 +3182,1292 @@ const Ur = tr(
|
|
|
3169
3182
|
}
|
|
3170
3183
|
}
|
|
3171
3184
|
);
|
|
3172
|
-
function
|
|
3185
|
+
function bn({
|
|
3173
3186
|
className: e,
|
|
3174
|
-
variant:
|
|
3175
|
-
size:
|
|
3187
|
+
variant: t,
|
|
3188
|
+
size: r,
|
|
3176
3189
|
asChild: o = !1,
|
|
3177
|
-
...
|
|
3190
|
+
...n
|
|
3178
3191
|
}) {
|
|
3179
|
-
const
|
|
3180
|
-
return /* @__PURE__ */
|
|
3181
|
-
|
|
3192
|
+
const s = o ? lt : "button";
|
|
3193
|
+
return /* @__PURE__ */ y.jsx(
|
|
3194
|
+
s,
|
|
3182
3195
|
{
|
|
3183
3196
|
"data-slot": "button",
|
|
3184
|
-
className:
|
|
3185
|
-
...
|
|
3197
|
+
className: D(Zr({ variant: t, size: r, className: e })),
|
|
3198
|
+
...n
|
|
3186
3199
|
}
|
|
3187
3200
|
);
|
|
3188
3201
|
}
|
|
3189
|
-
function
|
|
3190
|
-
return /* @__PURE__ */
|
|
3202
|
+
function vn({ className: e, type: t, ...r }) {
|
|
3203
|
+
return /* @__PURE__ */ y.jsx(
|
|
3191
3204
|
"input",
|
|
3192
3205
|
{
|
|
3193
|
-
type:
|
|
3206
|
+
type: t,
|
|
3194
3207
|
"data-slot": "input",
|
|
3195
|
-
className:
|
|
3208
|
+
className: D(
|
|
3196
3209
|
"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
3210
|
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
|
3198
3211
|
"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
3199
3212
|
e
|
|
3200
3213
|
),
|
|
3201
|
-
...
|
|
3214
|
+
...r
|
|
3202
3215
|
}
|
|
3203
3216
|
);
|
|
3204
3217
|
}
|
|
3205
|
-
function
|
|
3206
|
-
return /* @__PURE__ */
|
|
3218
|
+
function hn({ className: e, ...t }) {
|
|
3219
|
+
return /* @__PURE__ */ y.jsx(
|
|
3207
3220
|
"div",
|
|
3208
3221
|
{
|
|
3209
3222
|
"data-slot": "card",
|
|
3210
|
-
className:
|
|
3223
|
+
className: D(
|
|
3211
3224
|
"bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
|
|
3212
3225
|
e
|
|
3213
3226
|
),
|
|
3214
|
-
...
|
|
3227
|
+
...t
|
|
3215
3228
|
}
|
|
3216
3229
|
);
|
|
3217
3230
|
}
|
|
3218
|
-
function
|
|
3219
|
-
return /* @__PURE__ */
|
|
3231
|
+
function yn({ className: e, ...t }) {
|
|
3232
|
+
return /* @__PURE__ */ y.jsx(
|
|
3220
3233
|
"div",
|
|
3221
3234
|
{
|
|
3222
3235
|
"data-slot": "card-header",
|
|
3223
|
-
className:
|
|
3236
|
+
className: D(
|
|
3224
3237
|
"@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",
|
|
3225
3238
|
e
|
|
3226
3239
|
),
|
|
3227
|
-
...
|
|
3240
|
+
...t
|
|
3228
3241
|
}
|
|
3229
3242
|
);
|
|
3230
3243
|
}
|
|
3231
|
-
function
|
|
3232
|
-
return /* @__PURE__ */
|
|
3244
|
+
function xn({ className: e, ...t }) {
|
|
3245
|
+
return /* @__PURE__ */ y.jsx(
|
|
3233
3246
|
"div",
|
|
3234
3247
|
{
|
|
3235
3248
|
"data-slot": "card-title",
|
|
3236
|
-
className:
|
|
3237
|
-
...
|
|
3249
|
+
className: D("leading-none font-semibold", e),
|
|
3250
|
+
...t
|
|
3238
3251
|
}
|
|
3239
3252
|
);
|
|
3240
3253
|
}
|
|
3241
|
-
function
|
|
3242
|
-
return /* @__PURE__ */
|
|
3254
|
+
function wn({ className: e, ...t }) {
|
|
3255
|
+
return /* @__PURE__ */ y.jsx(
|
|
3243
3256
|
"div",
|
|
3244
3257
|
{
|
|
3245
3258
|
"data-slot": "card-description",
|
|
3246
|
-
className:
|
|
3247
|
-
...
|
|
3259
|
+
className: D("text-muted-foreground text-sm", e),
|
|
3260
|
+
...t
|
|
3248
3261
|
}
|
|
3249
3262
|
);
|
|
3250
3263
|
}
|
|
3251
|
-
function
|
|
3252
|
-
return /* @__PURE__ */
|
|
3264
|
+
function kn({ className: e, ...t }) {
|
|
3265
|
+
return /* @__PURE__ */ y.jsx(
|
|
3253
3266
|
"div",
|
|
3254
3267
|
{
|
|
3255
3268
|
"data-slot": "card-action",
|
|
3256
|
-
className:
|
|
3269
|
+
className: D(
|
|
3257
3270
|
"col-start-2 row-span-2 row-start-1 self-start justify-self-end",
|
|
3258
3271
|
e
|
|
3259
3272
|
),
|
|
3260
|
-
...
|
|
3273
|
+
...t
|
|
3261
3274
|
}
|
|
3262
3275
|
);
|
|
3263
3276
|
}
|
|
3264
|
-
function
|
|
3265
|
-
return /* @__PURE__ */
|
|
3277
|
+
function Cn({ className: e, ...t }) {
|
|
3278
|
+
return /* @__PURE__ */ y.jsx(
|
|
3266
3279
|
"div",
|
|
3267
3280
|
{
|
|
3268
3281
|
"data-slot": "card-content",
|
|
3269
|
-
className:
|
|
3270
|
-
...
|
|
3282
|
+
className: D("px-6", e),
|
|
3283
|
+
...t
|
|
3271
3284
|
}
|
|
3272
3285
|
);
|
|
3273
3286
|
}
|
|
3274
|
-
function
|
|
3275
|
-
return /* @__PURE__ */
|
|
3287
|
+
function Rn({ className: e, ...t }) {
|
|
3288
|
+
return /* @__PURE__ */ y.jsx(
|
|
3276
3289
|
"div",
|
|
3277
3290
|
{
|
|
3278
3291
|
"data-slot": "card-footer",
|
|
3279
|
-
className:
|
|
3280
|
-
...
|
|
3292
|
+
className: D("flex items-center px-6 [.border-t]:pt-6", e),
|
|
3293
|
+
...t
|
|
3294
|
+
}
|
|
3295
|
+
);
|
|
3296
|
+
}
|
|
3297
|
+
var Qr = [
|
|
3298
|
+
"a",
|
|
3299
|
+
"button",
|
|
3300
|
+
"div",
|
|
3301
|
+
"form",
|
|
3302
|
+
"h2",
|
|
3303
|
+
"h3",
|
|
3304
|
+
"img",
|
|
3305
|
+
"input",
|
|
3306
|
+
"label",
|
|
3307
|
+
"li",
|
|
3308
|
+
"nav",
|
|
3309
|
+
"ol",
|
|
3310
|
+
"p",
|
|
3311
|
+
"select",
|
|
3312
|
+
"span",
|
|
3313
|
+
"svg",
|
|
3314
|
+
"ul"
|
|
3315
|
+
], eo = Qr.reduce((e, t) => {
|
|
3316
|
+
const r = /* @__PURE__ */ it(`Primitive.${t}`), o = c.forwardRef((n, s) => {
|
|
3317
|
+
const { asChild: a, ...i } = n, l = a ? r : t;
|
|
3318
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ y.jsx(l, { ...i, ref: s });
|
|
3319
|
+
});
|
|
3320
|
+
return o.displayName = `Primitive.${t}`, { ...e, [t]: o };
|
|
3321
|
+
}, {}), to = "Label", Ct = c.forwardRef((e, t) => /* @__PURE__ */ y.jsx(
|
|
3322
|
+
eo.label,
|
|
3323
|
+
{
|
|
3324
|
+
...e,
|
|
3325
|
+
ref: t,
|
|
3326
|
+
onMouseDown: (r) => {
|
|
3327
|
+
r.target.closest("button, input, select, textarea") || (e.onMouseDown?.(r), !r.defaultPrevented && r.detail > 1 && r.preventDefault());
|
|
3328
|
+
}
|
|
3329
|
+
}
|
|
3330
|
+
));
|
|
3331
|
+
Ct.displayName = to;
|
|
3332
|
+
var ro = Ct;
|
|
3333
|
+
function oo({
|
|
3334
|
+
className: e,
|
|
3335
|
+
...t
|
|
3336
|
+
}) {
|
|
3337
|
+
return /* @__PURE__ */ y.jsx(
|
|
3338
|
+
ro,
|
|
3339
|
+
{
|
|
3340
|
+
"data-slot": "label",
|
|
3341
|
+
className: D(
|
|
3342
|
+
"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",
|
|
3343
|
+
e
|
|
3344
|
+
),
|
|
3345
|
+
...t
|
|
3346
|
+
}
|
|
3347
|
+
);
|
|
3348
|
+
}
|
|
3349
|
+
var no = (e) => e.type === "checkbox", me = (e) => e instanceof Date, De = (e) => e == null;
|
|
3350
|
+
const Rt = (e) => typeof e == "object";
|
|
3351
|
+
var te = (e) => !De(e) && !Array.isArray(e) && Rt(e) && !me(e), so = (e) => te(e) && e.target ? no(e.target) ? e.target.checked : e.target.value : e, ao = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, io = (e, t) => e.has(ao(t)), lo = (e) => {
|
|
3352
|
+
const t = e.constructor && e.constructor.prototype;
|
|
3353
|
+
return te(t) && t.hasOwnProperty("isPrototypeOf");
|
|
3354
|
+
}, co = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
3355
|
+
function St(e) {
|
|
3356
|
+
let t;
|
|
3357
|
+
const r = Array.isArray(e), o = typeof FileList < "u" ? e instanceof FileList : !1;
|
|
3358
|
+
if (e instanceof Date)
|
|
3359
|
+
t = new Date(e);
|
|
3360
|
+
else if (!(co && (e instanceof Blob || o)) && (r || te(e)))
|
|
3361
|
+
if (t = r ? [] : Object.create(Object.getPrototypeOf(e)), !r && !lo(e))
|
|
3362
|
+
t = e;
|
|
3363
|
+
else
|
|
3364
|
+
for (const n in e)
|
|
3365
|
+
e.hasOwnProperty(n) && (t[n] = St(e[n]));
|
|
3366
|
+
else
|
|
3367
|
+
return e;
|
|
3368
|
+
return t;
|
|
3369
|
+
}
|
|
3370
|
+
var Et = (e) => /^\w*$/.test(e), Me = (e) => e === void 0, uo = (e) => Array.isArray(e) ? e.filter(Boolean) : [], _t = (e) => uo(e.replace(/["|']|\]/g, "").split(/\.|\[/)), z = (e, t, r) => {
|
|
3371
|
+
if (!t || !te(e))
|
|
3372
|
+
return r;
|
|
3373
|
+
const o = (Et(t) ? [t] : _t(t)).reduce((n, s) => De(n) ? n : n[s], e);
|
|
3374
|
+
return Me(o) || o === e ? Me(e[t]) ? r : e[t] : o;
|
|
3375
|
+
}, Oe = (e) => typeof e == "boolean", et = (e, t, r) => {
|
|
3376
|
+
let o = -1;
|
|
3377
|
+
const n = Et(t) ? [t] : _t(t), s = n.length, a = s - 1;
|
|
3378
|
+
for (; ++o < s; ) {
|
|
3379
|
+
const i = n[o];
|
|
3380
|
+
let l = r;
|
|
3381
|
+
if (o !== a) {
|
|
3382
|
+
const u = e[i];
|
|
3383
|
+
l = te(u) || Array.isArray(u) ? u : isNaN(+n[o + 1]) ? {} : [];
|
|
3384
|
+
}
|
|
3385
|
+
if (i === "__proto__" || i === "constructor" || i === "prototype")
|
|
3386
|
+
return;
|
|
3387
|
+
e[i] = l, e = e[i];
|
|
3388
|
+
}
|
|
3389
|
+
};
|
|
3390
|
+
const tt = {
|
|
3391
|
+
BLUR: "blur",
|
|
3392
|
+
CHANGE: "change"
|
|
3393
|
+
}, rt = {
|
|
3394
|
+
all: "all"
|
|
3395
|
+
}, Le = E.createContext(null);
|
|
3396
|
+
Le.displayName = "HookFormContext";
|
|
3397
|
+
const Ee = () => E.useContext(Le), fo = (e) => {
|
|
3398
|
+
const { children: t, ...r } = e;
|
|
3399
|
+
return E.createElement(Le.Provider, { value: r }, t);
|
|
3400
|
+
};
|
|
3401
|
+
var mo = (e, t, r, o = !0) => {
|
|
3402
|
+
const n = {
|
|
3403
|
+
defaultValues: t._defaultValues
|
|
3404
|
+
};
|
|
3405
|
+
for (const s in e)
|
|
3406
|
+
Object.defineProperty(n, s, {
|
|
3407
|
+
get: () => {
|
|
3408
|
+
const a = s;
|
|
3409
|
+
return t._proxyFormState[a] !== rt.all && (t._proxyFormState[a] = !o || rt.all), r && (r[a] = !0), e[a];
|
|
3410
|
+
}
|
|
3411
|
+
});
|
|
3412
|
+
return n;
|
|
3413
|
+
};
|
|
3414
|
+
const Tt = typeof window < "u" ? E.useLayoutEffect : E.useEffect;
|
|
3415
|
+
function At(e) {
|
|
3416
|
+
const t = Ee(), { control: r = t.control, disabled: o, name: n, exact: s } = e || {}, [a, i] = E.useState(r._formState), l = E.useRef({
|
|
3417
|
+
isDirty: !1,
|
|
3418
|
+
isLoading: !1,
|
|
3419
|
+
dirtyFields: !1,
|
|
3420
|
+
touchedFields: !1,
|
|
3421
|
+
validatingFields: !1,
|
|
3422
|
+
isValidating: !1,
|
|
3423
|
+
isValid: !1,
|
|
3424
|
+
errors: !1
|
|
3425
|
+
});
|
|
3426
|
+
return Tt(() => r._subscribe({
|
|
3427
|
+
name: n,
|
|
3428
|
+
formState: l.current,
|
|
3429
|
+
exact: s,
|
|
3430
|
+
callback: (u) => {
|
|
3431
|
+
!o && i({
|
|
3432
|
+
...r._formState,
|
|
3433
|
+
...u
|
|
3434
|
+
});
|
|
3435
|
+
}
|
|
3436
|
+
}), [n, o, s]), E.useEffect(() => {
|
|
3437
|
+
l.current.isValid && r._setValid(!0);
|
|
3438
|
+
}, [r]), E.useMemo(() => mo(a, r, l.current, !1), [a, r]);
|
|
3439
|
+
}
|
|
3440
|
+
var po = (e) => typeof e == "string", ot = (e, t, r, o, n) => po(e) ? z(r, e, n) : Array.isArray(e) ? e.map((s) => z(r, s)) : r, nt = (e) => De(e) || !Rt(e);
|
|
3441
|
+
function we(e, t, r = /* @__PURE__ */ new WeakSet()) {
|
|
3442
|
+
if (nt(e) || nt(t))
|
|
3443
|
+
return Object.is(e, t);
|
|
3444
|
+
if (me(e) && me(t))
|
|
3445
|
+
return e.getTime() === t.getTime();
|
|
3446
|
+
const o = Object.keys(e), n = Object.keys(t);
|
|
3447
|
+
if (o.length !== n.length)
|
|
3448
|
+
return !1;
|
|
3449
|
+
if (r.has(e) || r.has(t))
|
|
3450
|
+
return !0;
|
|
3451
|
+
r.add(e), r.add(t);
|
|
3452
|
+
for (const s of o) {
|
|
3453
|
+
const a = e[s];
|
|
3454
|
+
if (!n.includes(s))
|
|
3455
|
+
return !1;
|
|
3456
|
+
if (s !== "ref") {
|
|
3457
|
+
const i = t[s];
|
|
3458
|
+
if (me(a) && me(i) || te(a) && te(i) || Array.isArray(a) && Array.isArray(i) ? !we(a, i, r) : !Object.is(a, i))
|
|
3459
|
+
return !1;
|
|
3460
|
+
}
|
|
3461
|
+
}
|
|
3462
|
+
return !0;
|
|
3463
|
+
}
|
|
3464
|
+
function go(e) {
|
|
3465
|
+
const t = Ee(), { control: r = t.control, name: o, defaultValue: n, disabled: s, exact: a, compute: i } = e || {}, l = E.useRef(n), u = E.useRef(i), f = E.useRef(void 0), m = E.useRef(r), h = E.useRef(o);
|
|
3466
|
+
u.current = i;
|
|
3467
|
+
const [C, I] = E.useState(() => {
|
|
3468
|
+
const x = r._getWatch(o, l.current);
|
|
3469
|
+
return u.current ? u.current(x) : x;
|
|
3470
|
+
}), R = E.useCallback((x) => {
|
|
3471
|
+
const O = ot(o, r._names, x || r._formValues, !1, l.current);
|
|
3472
|
+
return u.current ? u.current(O) : O;
|
|
3473
|
+
}, [r._formValues, r._names, o]), b = E.useCallback((x) => {
|
|
3474
|
+
if (!s) {
|
|
3475
|
+
const O = ot(o, r._names, x || r._formValues, !1, l.current);
|
|
3476
|
+
if (u.current) {
|
|
3477
|
+
const j = u.current(O);
|
|
3478
|
+
we(j, f.current) || (I(j), f.current = j);
|
|
3479
|
+
} else
|
|
3480
|
+
I(O);
|
|
3481
|
+
}
|
|
3482
|
+
}, [r._formValues, r._names, s, o]);
|
|
3483
|
+
Tt(() => ((m.current !== r || !we(h.current, o)) && (m.current = r, h.current = o, b()), r._subscribe({
|
|
3484
|
+
name: o,
|
|
3485
|
+
formState: {
|
|
3486
|
+
values: !0
|
|
3487
|
+
},
|
|
3488
|
+
exact: a,
|
|
3489
|
+
callback: (x) => {
|
|
3490
|
+
b(x.values);
|
|
3491
|
+
}
|
|
3492
|
+
})), [r, a, o, b]), E.useEffect(() => r._removeUnmounted());
|
|
3493
|
+
const P = m.current !== r, F = h.current, A = E.useMemo(() => {
|
|
3494
|
+
if (s)
|
|
3495
|
+
return null;
|
|
3496
|
+
const x = !P && !we(F, o);
|
|
3497
|
+
return P || x ? R() : null;
|
|
3498
|
+
}, [s, P, o, F, R]);
|
|
3499
|
+
return A !== null ? A : C;
|
|
3500
|
+
}
|
|
3501
|
+
function bo(e) {
|
|
3502
|
+
const t = Ee(), { name: r, disabled: o, control: n = t.control, shouldUnregister: s, defaultValue: a, exact: i = !0 } = e, l = io(n._names.array, r), u = E.useMemo(() => z(n._formValues, r, z(n._defaultValues, r, a)), [n, r, a]), f = go({
|
|
3503
|
+
control: n,
|
|
3504
|
+
name: r,
|
|
3505
|
+
defaultValue: u,
|
|
3506
|
+
exact: i
|
|
3507
|
+
}), m = At({
|
|
3508
|
+
control: n,
|
|
3509
|
+
name: r,
|
|
3510
|
+
exact: i
|
|
3511
|
+
}), h = E.useRef(e), C = E.useRef(void 0), I = E.useRef(n.register(r, {
|
|
3512
|
+
...e.rules,
|
|
3513
|
+
value: f,
|
|
3514
|
+
...Oe(e.disabled) ? { disabled: e.disabled } : {}
|
|
3515
|
+
}));
|
|
3516
|
+
h.current = e;
|
|
3517
|
+
const R = E.useMemo(() => Object.defineProperties({}, {
|
|
3518
|
+
invalid: {
|
|
3519
|
+
enumerable: !0,
|
|
3520
|
+
get: () => !!z(m.errors, r)
|
|
3521
|
+
},
|
|
3522
|
+
isDirty: {
|
|
3523
|
+
enumerable: !0,
|
|
3524
|
+
get: () => !!z(m.dirtyFields, r)
|
|
3525
|
+
},
|
|
3526
|
+
isTouched: {
|
|
3527
|
+
enumerable: !0,
|
|
3528
|
+
get: () => !!z(m.touchedFields, r)
|
|
3529
|
+
},
|
|
3530
|
+
isValidating: {
|
|
3531
|
+
enumerable: !0,
|
|
3532
|
+
get: () => !!z(m.validatingFields, r)
|
|
3533
|
+
},
|
|
3534
|
+
error: {
|
|
3535
|
+
enumerable: !0,
|
|
3536
|
+
get: () => z(m.errors, r)
|
|
3537
|
+
}
|
|
3538
|
+
}), [m, r]), b = E.useCallback((x) => I.current.onChange({
|
|
3539
|
+
target: {
|
|
3540
|
+
value: so(x),
|
|
3541
|
+
name: r
|
|
3542
|
+
},
|
|
3543
|
+
type: tt.CHANGE
|
|
3544
|
+
}), [r]), P = E.useCallback(() => I.current.onBlur({
|
|
3545
|
+
target: {
|
|
3546
|
+
value: z(n._formValues, r),
|
|
3547
|
+
name: r
|
|
3548
|
+
},
|
|
3549
|
+
type: tt.BLUR
|
|
3550
|
+
}), [r, n._formValues]), F = E.useCallback((x) => {
|
|
3551
|
+
const O = z(n._fields, r);
|
|
3552
|
+
O && x && (O._f.ref = {
|
|
3553
|
+
focus: () => x.focus && x.focus(),
|
|
3554
|
+
select: () => x.select && x.select(),
|
|
3555
|
+
setCustomValidity: (j) => x.setCustomValidity(j),
|
|
3556
|
+
reportValidity: () => x.reportValidity()
|
|
3557
|
+
});
|
|
3558
|
+
}, [n._fields, r]), A = E.useMemo(() => ({
|
|
3559
|
+
name: r,
|
|
3560
|
+
value: f,
|
|
3561
|
+
...Oe(o) || m.disabled ? { disabled: m.disabled || o } : {},
|
|
3562
|
+
onChange: b,
|
|
3563
|
+
onBlur: P,
|
|
3564
|
+
ref: F
|
|
3565
|
+
}), [r, o, m.disabled, b, P, F, f]);
|
|
3566
|
+
return E.useEffect(() => {
|
|
3567
|
+
const x = n._options.shouldUnregister || s, O = C.current;
|
|
3568
|
+
O && O !== r && !l && n.unregister(O), n.register(r, {
|
|
3569
|
+
...h.current.rules,
|
|
3570
|
+
...Oe(h.current.disabled) ? { disabled: h.current.disabled } : {}
|
|
3571
|
+
});
|
|
3572
|
+
const j = (L, v) => {
|
|
3573
|
+
const V = z(n._fields, L);
|
|
3574
|
+
V && V._f && (V._f.mount = v);
|
|
3575
|
+
};
|
|
3576
|
+
if (j(r, !0), x) {
|
|
3577
|
+
const L = St(z(n._options.defaultValues, r, h.current.defaultValue));
|
|
3578
|
+
et(n._defaultValues, r, L), Me(z(n._formValues, r)) && et(n._formValues, r, L);
|
|
3579
|
+
}
|
|
3580
|
+
return !l && n.register(r), C.current = r, () => {
|
|
3581
|
+
(l ? x && !n._state.action : x) ? n.unregister(r) : j(r, !1);
|
|
3582
|
+
};
|
|
3583
|
+
}, [r, n, l, s]), E.useEffect(() => {
|
|
3584
|
+
n._setDisabledField({
|
|
3585
|
+
disabled: o,
|
|
3586
|
+
name: r
|
|
3587
|
+
});
|
|
3588
|
+
}, [o, r, n]), E.useMemo(() => ({
|
|
3589
|
+
field: A,
|
|
3590
|
+
formState: m,
|
|
3591
|
+
fieldState: R
|
|
3592
|
+
}), [A, m, R]);
|
|
3593
|
+
}
|
|
3594
|
+
const vo = (e) => e.render(bo(e)), Sn = fo, It = c.createContext(
|
|
3595
|
+
{}
|
|
3596
|
+
), En = ({
|
|
3597
|
+
...e
|
|
3598
|
+
}) => /* @__PURE__ */ y.jsx(It.Provider, { value: { name: e.name }, children: /* @__PURE__ */ y.jsx(vo, { ...e }) }), _e = () => {
|
|
3599
|
+
const e = c.useContext(It), t = c.useContext(Nt), { getFieldState: r } = Ee(), o = At({ name: e.name }), n = r(e.name, o);
|
|
3600
|
+
if (!e)
|
|
3601
|
+
throw new Error("useFormField should be used within <FormField>");
|
|
3602
|
+
const { id: s } = t;
|
|
3603
|
+
return {
|
|
3604
|
+
id: s,
|
|
3605
|
+
name: e.name,
|
|
3606
|
+
formItemId: `${s}-form-item`,
|
|
3607
|
+
formDescriptionId: `${s}-form-item-description`,
|
|
3608
|
+
formMessageId: `${s}-form-item-message`,
|
|
3609
|
+
...n
|
|
3610
|
+
};
|
|
3611
|
+
}, Nt = c.createContext(
|
|
3612
|
+
{}
|
|
3613
|
+
);
|
|
3614
|
+
function _n({ className: e, ...t }) {
|
|
3615
|
+
const r = c.useId();
|
|
3616
|
+
return /* @__PURE__ */ y.jsx(Nt.Provider, { value: { id: r }, children: /* @__PURE__ */ y.jsx(
|
|
3617
|
+
"div",
|
|
3618
|
+
{
|
|
3619
|
+
"data-slot": "form-item",
|
|
3620
|
+
className: D("grid gap-2", e),
|
|
3621
|
+
...t
|
|
3622
|
+
}
|
|
3623
|
+
) });
|
|
3624
|
+
}
|
|
3625
|
+
function Tn({
|
|
3626
|
+
className: e,
|
|
3627
|
+
...t
|
|
3628
|
+
}) {
|
|
3629
|
+
const { error: r, formItemId: o } = _e();
|
|
3630
|
+
return /* @__PURE__ */ y.jsx(
|
|
3631
|
+
oo,
|
|
3632
|
+
{
|
|
3633
|
+
"data-slot": "form-label",
|
|
3634
|
+
"data-error": !!r,
|
|
3635
|
+
className: D("data-[error=true]:text-destructive", e),
|
|
3636
|
+
htmlFor: o,
|
|
3637
|
+
...t
|
|
3638
|
+
}
|
|
3639
|
+
);
|
|
3640
|
+
}
|
|
3641
|
+
function An({ ...e }) {
|
|
3642
|
+
const { error: t, formItemId: r, formDescriptionId: o, formMessageId: n } = _e();
|
|
3643
|
+
return /* @__PURE__ */ y.jsx(
|
|
3644
|
+
lt,
|
|
3645
|
+
{
|
|
3646
|
+
"data-slot": "form-control",
|
|
3647
|
+
id: r,
|
|
3648
|
+
"aria-describedby": t ? `${o} ${n}` : `${o}`,
|
|
3649
|
+
"aria-invalid": !!t,
|
|
3650
|
+
...e
|
|
3651
|
+
}
|
|
3652
|
+
);
|
|
3653
|
+
}
|
|
3654
|
+
function In({ className: e, ...t }) {
|
|
3655
|
+
const { formDescriptionId: r } = _e();
|
|
3656
|
+
return /* @__PURE__ */ y.jsx(
|
|
3657
|
+
"p",
|
|
3658
|
+
{
|
|
3659
|
+
"data-slot": "form-description",
|
|
3660
|
+
id: r,
|
|
3661
|
+
className: D("text-muted-foreground text-sm", e),
|
|
3662
|
+
...t
|
|
3663
|
+
}
|
|
3664
|
+
);
|
|
3665
|
+
}
|
|
3666
|
+
function Nn({ className: e, ...t }) {
|
|
3667
|
+
const { error: r, formMessageId: o } = _e(), n = r ? String(r?.message ?? "") : t.children;
|
|
3668
|
+
return n ? /* @__PURE__ */ y.jsx(
|
|
3669
|
+
"p",
|
|
3670
|
+
{
|
|
3671
|
+
"data-slot": "form-message",
|
|
3672
|
+
id: o,
|
|
3673
|
+
className: D("text-destructive text-sm", e),
|
|
3674
|
+
...t,
|
|
3675
|
+
children: n
|
|
3676
|
+
}
|
|
3677
|
+
) : null;
|
|
3678
|
+
}
|
|
3679
|
+
function K(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
|
|
3680
|
+
return function(n) {
|
|
3681
|
+
if (e?.(n), r === !1 || !n.defaultPrevented)
|
|
3682
|
+
return t?.(n);
|
|
3683
|
+
};
|
|
3684
|
+
}
|
|
3685
|
+
function ze(e, t = []) {
|
|
3686
|
+
let r = [];
|
|
3687
|
+
function o(s, a) {
|
|
3688
|
+
const i = c.createContext(a), l = r.length;
|
|
3689
|
+
r = [...r, a];
|
|
3690
|
+
const u = (m) => {
|
|
3691
|
+
const { scope: h, children: C, ...I } = m, R = h?.[e]?.[l] || i, b = c.useMemo(() => I, Object.values(I));
|
|
3692
|
+
return /* @__PURE__ */ y.jsx(R.Provider, { value: b, children: C });
|
|
3693
|
+
};
|
|
3694
|
+
u.displayName = s + "Provider";
|
|
3695
|
+
function f(m, h) {
|
|
3696
|
+
const C = h?.[e]?.[l] || i, I = c.useContext(C);
|
|
3697
|
+
if (I) return I;
|
|
3698
|
+
if (a !== void 0) return a;
|
|
3699
|
+
throw new Error(`\`${m}\` must be used within \`${s}\``);
|
|
3700
|
+
}
|
|
3701
|
+
return [u, f];
|
|
3702
|
+
}
|
|
3703
|
+
const n = () => {
|
|
3704
|
+
const s = r.map((a) => c.createContext(a));
|
|
3705
|
+
return function(i) {
|
|
3706
|
+
const l = i?.[e] || s;
|
|
3707
|
+
return c.useMemo(
|
|
3708
|
+
() => ({ [`__scope${e}`]: { ...i, [e]: l } }),
|
|
3709
|
+
[i, l]
|
|
3710
|
+
);
|
|
3711
|
+
};
|
|
3712
|
+
};
|
|
3713
|
+
return n.scopeName = e, [o, ho(n, ...t)];
|
|
3714
|
+
}
|
|
3715
|
+
function ho(...e) {
|
|
3716
|
+
const t = e[0];
|
|
3717
|
+
if (e.length === 1) return t;
|
|
3718
|
+
const r = () => {
|
|
3719
|
+
const o = e.map((n) => ({
|
|
3720
|
+
useScope: n(),
|
|
3721
|
+
scopeName: n.scopeName
|
|
3722
|
+
}));
|
|
3723
|
+
return function(s) {
|
|
3724
|
+
const a = o.reduce((i, { useScope: l, scopeName: u }) => {
|
|
3725
|
+
const m = l(s)[`__scope${u}`];
|
|
3726
|
+
return { ...i, ...m };
|
|
3727
|
+
}, {});
|
|
3728
|
+
return c.useMemo(() => ({ [`__scope${t.scopeName}`]: a }), [a]);
|
|
3729
|
+
};
|
|
3730
|
+
};
|
|
3731
|
+
return r.scopeName = t.scopeName, r;
|
|
3732
|
+
}
|
|
3733
|
+
// @__NO_SIDE_EFFECTS__
|
|
3734
|
+
function st(e) {
|
|
3735
|
+
const t = /* @__PURE__ */ yo(e), r = c.forwardRef((o, n) => {
|
|
3736
|
+
const { children: s, ...a } = o, i = c.Children.toArray(s), l = i.find(wo);
|
|
3737
|
+
if (l) {
|
|
3738
|
+
const u = l.props.children, f = i.map((m) => m === l ? c.Children.count(u) > 1 ? c.Children.only(null) : c.isValidElement(u) ? u.props.children : null : m);
|
|
3739
|
+
return /* @__PURE__ */ y.jsx(t, { ...a, ref: n, children: c.isValidElement(u) ? c.cloneElement(u, void 0, f) : null });
|
|
3740
|
+
}
|
|
3741
|
+
return /* @__PURE__ */ y.jsx(t, { ...a, ref: n, children: s });
|
|
3742
|
+
});
|
|
3743
|
+
return r.displayName = `${e}.Slot`, r;
|
|
3744
|
+
}
|
|
3745
|
+
// @__NO_SIDE_EFFECTS__
|
|
3746
|
+
function yo(e) {
|
|
3747
|
+
const t = c.forwardRef((r, o) => {
|
|
3748
|
+
const { children: n, ...s } = r;
|
|
3749
|
+
if (c.isValidElement(n)) {
|
|
3750
|
+
const a = Co(n), i = ko(s, n.props);
|
|
3751
|
+
return n.type !== c.Fragment && (i.ref = o ? pe(o, a) : a), c.cloneElement(n, i);
|
|
3752
|
+
}
|
|
3753
|
+
return c.Children.count(n) > 1 ? c.Children.only(null) : null;
|
|
3754
|
+
});
|
|
3755
|
+
return t.displayName = `${e}.SlotClone`, t;
|
|
3756
|
+
}
|
|
3757
|
+
var xo = Symbol("radix.slottable");
|
|
3758
|
+
function wo(e) {
|
|
3759
|
+
return c.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === xo;
|
|
3760
|
+
}
|
|
3761
|
+
function ko(e, t) {
|
|
3762
|
+
const r = { ...t };
|
|
3763
|
+
for (const o in t) {
|
|
3764
|
+
const n = e[o], s = t[o];
|
|
3765
|
+
/^on[A-Z]/.test(o) ? n && s ? r[o] = (...i) => {
|
|
3766
|
+
const l = s(...i);
|
|
3767
|
+
return n(...i), l;
|
|
3768
|
+
} : n && (r[o] = n) : o === "style" ? r[o] = { ...n, ...s } : o === "className" && (r[o] = [n, s].filter(Boolean).join(" "));
|
|
3769
|
+
}
|
|
3770
|
+
return { ...e, ...r };
|
|
3771
|
+
}
|
|
3772
|
+
function Co(e) {
|
|
3773
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
3774
|
+
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);
|
|
3775
|
+
}
|
|
3776
|
+
function Ro(e) {
|
|
3777
|
+
const t = e + "CollectionProvider", [r, o] = ze(t), [n, s] = r(
|
|
3778
|
+
t,
|
|
3779
|
+
{ collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
|
|
3780
|
+
), a = (R) => {
|
|
3781
|
+
const { scope: b, children: P } = R, F = E.useRef(null), A = E.useRef(/* @__PURE__ */ new Map()).current;
|
|
3782
|
+
return /* @__PURE__ */ y.jsx(n, { scope: b, itemMap: A, collectionRef: F, children: P });
|
|
3783
|
+
};
|
|
3784
|
+
a.displayName = t;
|
|
3785
|
+
const i = e + "CollectionSlot", l = /* @__PURE__ */ st(i), u = E.forwardRef(
|
|
3786
|
+
(R, b) => {
|
|
3787
|
+
const { scope: P, children: F } = R, A = s(i, P), x = ke(b, A.collectionRef);
|
|
3788
|
+
return /* @__PURE__ */ y.jsx(l, { ref: x, children: F });
|
|
3789
|
+
}
|
|
3790
|
+
);
|
|
3791
|
+
u.displayName = i;
|
|
3792
|
+
const f = e + "CollectionItemSlot", m = "data-radix-collection-item", h = /* @__PURE__ */ st(f), C = E.forwardRef(
|
|
3793
|
+
(R, b) => {
|
|
3794
|
+
const { scope: P, children: F, ...A } = R, x = E.useRef(null), O = ke(b, x), j = s(f, P);
|
|
3795
|
+
return E.useEffect(() => (j.itemMap.set(x, { ref: x, ...A }), () => void j.itemMap.delete(x))), /* @__PURE__ */ y.jsx(h, { [m]: "", ref: O, children: F });
|
|
3796
|
+
}
|
|
3797
|
+
);
|
|
3798
|
+
C.displayName = f;
|
|
3799
|
+
function I(R) {
|
|
3800
|
+
const b = s(e + "CollectionConsumer", R);
|
|
3801
|
+
return E.useCallback(() => {
|
|
3802
|
+
const F = b.collectionRef.current;
|
|
3803
|
+
if (!F) return [];
|
|
3804
|
+
const A = Array.from(F.querySelectorAll(`[${m}]`));
|
|
3805
|
+
return Array.from(b.itemMap.values()).sort(
|
|
3806
|
+
(j, L) => A.indexOf(j.ref.current) - A.indexOf(L.ref.current)
|
|
3807
|
+
);
|
|
3808
|
+
}, [b.collectionRef, b.itemMap]);
|
|
3809
|
+
}
|
|
3810
|
+
return [
|
|
3811
|
+
{ Provider: a, Slot: u, ItemSlot: C },
|
|
3812
|
+
I,
|
|
3813
|
+
o
|
|
3814
|
+
];
|
|
3815
|
+
}
|
|
3816
|
+
var Se = globalThis?.document ? c.useLayoutEffect : () => {
|
|
3817
|
+
}, So = c[" useId ".trim().toString()] || (() => {
|
|
3818
|
+
}), Eo = 0;
|
|
3819
|
+
function Pt(e) {
|
|
3820
|
+
const [t, r] = c.useState(So());
|
|
3821
|
+
return Se(() => {
|
|
3822
|
+
r((o) => o ?? String(Eo++));
|
|
3823
|
+
}, [e]), e || (t ? `radix-${t}` : "");
|
|
3824
|
+
}
|
|
3825
|
+
// @__NO_SIDE_EFFECTS__
|
|
3826
|
+
function _o(e) {
|
|
3827
|
+
const t = /* @__PURE__ */ To(e), r = c.forwardRef((o, n) => {
|
|
3828
|
+
const { children: s, ...a } = o, i = c.Children.toArray(s), l = i.find(Io);
|
|
3829
|
+
if (l) {
|
|
3830
|
+
const u = l.props.children, f = i.map((m) => m === l ? c.Children.count(u) > 1 ? c.Children.only(null) : c.isValidElement(u) ? u.props.children : null : m);
|
|
3831
|
+
return /* @__PURE__ */ y.jsx(t, { ...a, ref: n, children: c.isValidElement(u) ? c.cloneElement(u, void 0, f) : null });
|
|
3832
|
+
}
|
|
3833
|
+
return /* @__PURE__ */ y.jsx(t, { ...a, ref: n, children: s });
|
|
3834
|
+
});
|
|
3835
|
+
return r.displayName = `${e}.Slot`, r;
|
|
3836
|
+
}
|
|
3837
|
+
// @__NO_SIDE_EFFECTS__
|
|
3838
|
+
function To(e) {
|
|
3839
|
+
const t = c.forwardRef((r, o) => {
|
|
3840
|
+
const { children: n, ...s } = r;
|
|
3841
|
+
if (c.isValidElement(n)) {
|
|
3842
|
+
const a = Po(n), i = No(s, n.props);
|
|
3843
|
+
return n.type !== c.Fragment && (i.ref = o ? pe(o, a) : a), c.cloneElement(n, i);
|
|
3844
|
+
}
|
|
3845
|
+
return c.Children.count(n) > 1 ? c.Children.only(null) : null;
|
|
3846
|
+
});
|
|
3847
|
+
return t.displayName = `${e}.SlotClone`, t;
|
|
3848
|
+
}
|
|
3849
|
+
var Ao = Symbol("radix.slottable");
|
|
3850
|
+
function Io(e) {
|
|
3851
|
+
return c.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Ao;
|
|
3852
|
+
}
|
|
3853
|
+
function No(e, t) {
|
|
3854
|
+
const r = { ...t };
|
|
3855
|
+
for (const o in t) {
|
|
3856
|
+
const n = e[o], s = t[o];
|
|
3857
|
+
/^on[A-Z]/.test(o) ? n && s ? r[o] = (...i) => {
|
|
3858
|
+
const l = s(...i);
|
|
3859
|
+
return n(...i), l;
|
|
3860
|
+
} : n && (r[o] = n) : o === "style" ? r[o] = { ...n, ...s } : o === "className" && (r[o] = [n, s].filter(Boolean).join(" "));
|
|
3861
|
+
}
|
|
3862
|
+
return { ...e, ...r };
|
|
3863
|
+
}
|
|
3864
|
+
function Po(e) {
|
|
3865
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
3866
|
+
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);
|
|
3867
|
+
}
|
|
3868
|
+
var Oo = [
|
|
3869
|
+
"a",
|
|
3870
|
+
"button",
|
|
3871
|
+
"div",
|
|
3872
|
+
"form",
|
|
3873
|
+
"h2",
|
|
3874
|
+
"h3",
|
|
3875
|
+
"img",
|
|
3876
|
+
"input",
|
|
3877
|
+
"label",
|
|
3878
|
+
"li",
|
|
3879
|
+
"nav",
|
|
3880
|
+
"ol",
|
|
3881
|
+
"p",
|
|
3882
|
+
"select",
|
|
3883
|
+
"span",
|
|
3884
|
+
"svg",
|
|
3885
|
+
"ul"
|
|
3886
|
+
], Ot = Oo.reduce((e, t) => {
|
|
3887
|
+
const r = /* @__PURE__ */ _o(`Primitive.${t}`), o = c.forwardRef((n, s) => {
|
|
3888
|
+
const { asChild: a, ...i } = n, l = a ? r : t;
|
|
3889
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ y.jsx(l, { ...i, ref: s });
|
|
3890
|
+
});
|
|
3891
|
+
return o.displayName = `Primitive.${t}`, { ...e, [t]: o };
|
|
3892
|
+
}, {});
|
|
3893
|
+
function Fo(e) {
|
|
3894
|
+
const t = c.useRef(e);
|
|
3895
|
+
return c.useEffect(() => {
|
|
3896
|
+
t.current = e;
|
|
3897
|
+
}), c.useMemo(() => (...r) => t.current?.(...r), []);
|
|
3898
|
+
}
|
|
3899
|
+
var jo = c[" useInsertionEffect ".trim().toString()] || Se;
|
|
3900
|
+
function Ft({
|
|
3901
|
+
prop: e,
|
|
3902
|
+
defaultProp: t,
|
|
3903
|
+
onChange: r = () => {
|
|
3904
|
+
},
|
|
3905
|
+
caller: o
|
|
3906
|
+
}) {
|
|
3907
|
+
const [n, s, a] = Mo({
|
|
3908
|
+
defaultProp: t,
|
|
3909
|
+
onChange: r
|
|
3910
|
+
}), i = e !== void 0, l = i ? e : n;
|
|
3911
|
+
{
|
|
3912
|
+
const f = c.useRef(e !== void 0);
|
|
3913
|
+
c.useEffect(() => {
|
|
3914
|
+
const m = f.current;
|
|
3915
|
+
m !== i && console.warn(
|
|
3916
|
+
`${o} is changing from ${m ? "controlled" : "uncontrolled"} to ${i ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
|
|
3917
|
+
), f.current = i;
|
|
3918
|
+
}, [i, o]);
|
|
3919
|
+
}
|
|
3920
|
+
const u = c.useCallback(
|
|
3921
|
+
(f) => {
|
|
3922
|
+
if (i) {
|
|
3923
|
+
const m = Vo(f) ? f(e) : f;
|
|
3924
|
+
m !== e && a.current?.(m);
|
|
3925
|
+
} else
|
|
3926
|
+
s(f);
|
|
3927
|
+
},
|
|
3928
|
+
[i, e, s, a]
|
|
3929
|
+
);
|
|
3930
|
+
return [l, u];
|
|
3931
|
+
}
|
|
3932
|
+
function Mo({
|
|
3933
|
+
defaultProp: e,
|
|
3934
|
+
onChange: t
|
|
3935
|
+
}) {
|
|
3936
|
+
const [r, o] = c.useState(e), n = c.useRef(r), s = c.useRef(t);
|
|
3937
|
+
return jo(() => {
|
|
3938
|
+
s.current = t;
|
|
3939
|
+
}, [t]), c.useEffect(() => {
|
|
3940
|
+
n.current !== r && (s.current?.(r), n.current = r);
|
|
3941
|
+
}, [r, n]), [r, o, s];
|
|
3942
|
+
}
|
|
3943
|
+
function Vo(e) {
|
|
3944
|
+
return typeof e == "function";
|
|
3945
|
+
}
|
|
3946
|
+
var $o = c.createContext(void 0);
|
|
3947
|
+
function jt(e) {
|
|
3948
|
+
const t = c.useContext($o);
|
|
3949
|
+
return e || t || "ltr";
|
|
3950
|
+
}
|
|
3951
|
+
var Fe = "rovingFocusGroup.onEntryFocus", Do = { bubbles: !1, cancelable: !0 }, ge = "RovingFocusGroup", [Ve, Mt, Lo] = Ro(ge), [zo, Vt] = ze(
|
|
3952
|
+
ge,
|
|
3953
|
+
[Lo]
|
|
3954
|
+
), [Go, Wo] = zo(ge), $t = c.forwardRef(
|
|
3955
|
+
(e, t) => /* @__PURE__ */ y.jsx(Ve.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ y.jsx(Ve.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ y.jsx(Uo, { ...e, ref: t }) }) })
|
|
3956
|
+
);
|
|
3957
|
+
$t.displayName = ge;
|
|
3958
|
+
var Uo = c.forwardRef((e, t) => {
|
|
3959
|
+
const {
|
|
3960
|
+
__scopeRovingFocusGroup: r,
|
|
3961
|
+
orientation: o,
|
|
3962
|
+
loop: n = !1,
|
|
3963
|
+
dir: s,
|
|
3964
|
+
currentTabStopId: a,
|
|
3965
|
+
defaultCurrentTabStopId: i,
|
|
3966
|
+
onCurrentTabStopIdChange: l,
|
|
3967
|
+
onEntryFocus: u,
|
|
3968
|
+
preventScrollOnEntryFocus: f = !1,
|
|
3969
|
+
...m
|
|
3970
|
+
} = e, h = c.useRef(null), C = ke(t, h), I = jt(s), [R, b] = Ft({
|
|
3971
|
+
prop: a,
|
|
3972
|
+
defaultProp: i ?? null,
|
|
3973
|
+
onChange: l,
|
|
3974
|
+
caller: ge
|
|
3975
|
+
}), [P, F] = c.useState(!1), A = Fo(u), x = Mt(r), O = c.useRef(!1), [j, L] = c.useState(0);
|
|
3976
|
+
return c.useEffect(() => {
|
|
3977
|
+
const v = h.current;
|
|
3978
|
+
if (v)
|
|
3979
|
+
return v.addEventListener(Fe, A), () => v.removeEventListener(Fe, A);
|
|
3980
|
+
}, [A]), /* @__PURE__ */ y.jsx(
|
|
3981
|
+
Go,
|
|
3982
|
+
{
|
|
3983
|
+
scope: r,
|
|
3984
|
+
orientation: o,
|
|
3985
|
+
dir: I,
|
|
3986
|
+
loop: n,
|
|
3987
|
+
currentTabStopId: R,
|
|
3988
|
+
onItemFocus: c.useCallback(
|
|
3989
|
+
(v) => b(v),
|
|
3990
|
+
[b]
|
|
3991
|
+
),
|
|
3992
|
+
onItemShiftTab: c.useCallback(() => F(!0), []),
|
|
3993
|
+
onFocusableItemAdd: c.useCallback(
|
|
3994
|
+
() => L((v) => v + 1),
|
|
3995
|
+
[]
|
|
3996
|
+
),
|
|
3997
|
+
onFocusableItemRemove: c.useCallback(
|
|
3998
|
+
() => L((v) => v - 1),
|
|
3999
|
+
[]
|
|
4000
|
+
),
|
|
4001
|
+
children: /* @__PURE__ */ y.jsx(
|
|
4002
|
+
Ot.div,
|
|
4003
|
+
{
|
|
4004
|
+
tabIndex: P || j === 0 ? -1 : 0,
|
|
4005
|
+
"data-orientation": o,
|
|
4006
|
+
...m,
|
|
4007
|
+
ref: C,
|
|
4008
|
+
style: { outline: "none", ...e.style },
|
|
4009
|
+
onMouseDown: K(e.onMouseDown, () => {
|
|
4010
|
+
O.current = !0;
|
|
4011
|
+
}),
|
|
4012
|
+
onFocus: K(e.onFocus, (v) => {
|
|
4013
|
+
const V = !O.current;
|
|
4014
|
+
if (v.target === v.currentTarget && V && !P) {
|
|
4015
|
+
const Z = new CustomEvent(Fe, Do);
|
|
4016
|
+
if (v.currentTarget.dispatchEvent(Z), !Z.defaultPrevented) {
|
|
4017
|
+
const q = x().filter((M) => M.focusable), W = q.find((M) => M.active), Q = q.find((M) => M.id === R), G = [W, Q, ...q].filter(
|
|
4018
|
+
Boolean
|
|
4019
|
+
).map((M) => M.ref.current);
|
|
4020
|
+
zt(G, f);
|
|
4021
|
+
}
|
|
4022
|
+
}
|
|
4023
|
+
O.current = !1;
|
|
4024
|
+
}),
|
|
4025
|
+
onBlur: K(e.onBlur, () => F(!1))
|
|
4026
|
+
}
|
|
4027
|
+
)
|
|
4028
|
+
}
|
|
4029
|
+
);
|
|
4030
|
+
}), Dt = "RovingFocusGroupItem", Lt = c.forwardRef(
|
|
4031
|
+
(e, t) => {
|
|
4032
|
+
const {
|
|
4033
|
+
__scopeRovingFocusGroup: r,
|
|
4034
|
+
focusable: o = !0,
|
|
4035
|
+
active: n = !1,
|
|
4036
|
+
tabStopId: s,
|
|
4037
|
+
children: a,
|
|
4038
|
+
...i
|
|
4039
|
+
} = e, l = Pt(), u = s || l, f = Wo(Dt, r), m = f.currentTabStopId === u, h = Mt(r), { onFocusableItemAdd: C, onFocusableItemRemove: I, currentTabStopId: R } = f;
|
|
4040
|
+
return c.useEffect(() => {
|
|
4041
|
+
if (o)
|
|
4042
|
+
return C(), () => I();
|
|
4043
|
+
}, [o, C, I]), /* @__PURE__ */ y.jsx(
|
|
4044
|
+
Ve.ItemSlot,
|
|
4045
|
+
{
|
|
4046
|
+
scope: r,
|
|
4047
|
+
id: u,
|
|
4048
|
+
focusable: o,
|
|
4049
|
+
active: n,
|
|
4050
|
+
children: /* @__PURE__ */ y.jsx(
|
|
4051
|
+
Ot.span,
|
|
4052
|
+
{
|
|
4053
|
+
tabIndex: m ? 0 : -1,
|
|
4054
|
+
"data-orientation": f.orientation,
|
|
4055
|
+
...i,
|
|
4056
|
+
ref: t,
|
|
4057
|
+
onMouseDown: K(e.onMouseDown, (b) => {
|
|
4058
|
+
o ? f.onItemFocus(u) : b.preventDefault();
|
|
4059
|
+
}),
|
|
4060
|
+
onFocus: K(e.onFocus, () => f.onItemFocus(u)),
|
|
4061
|
+
onKeyDown: K(e.onKeyDown, (b) => {
|
|
4062
|
+
if (b.key === "Tab" && b.shiftKey) {
|
|
4063
|
+
f.onItemShiftTab();
|
|
4064
|
+
return;
|
|
4065
|
+
}
|
|
4066
|
+
if (b.target !== b.currentTarget) return;
|
|
4067
|
+
const P = Ho(b, f.orientation, f.dir);
|
|
4068
|
+
if (P !== void 0) {
|
|
4069
|
+
if (b.metaKey || b.ctrlKey || b.altKey || b.shiftKey) return;
|
|
4070
|
+
b.preventDefault();
|
|
4071
|
+
let A = h().filter((x) => x.focusable).map((x) => x.ref.current);
|
|
4072
|
+
if (P === "last") A.reverse();
|
|
4073
|
+
else if (P === "prev" || P === "next") {
|
|
4074
|
+
P === "prev" && A.reverse();
|
|
4075
|
+
const x = A.indexOf(b.currentTarget);
|
|
4076
|
+
A = f.loop ? Ko(A, x + 1) : A.slice(x + 1);
|
|
4077
|
+
}
|
|
4078
|
+
setTimeout(() => zt(A));
|
|
4079
|
+
}
|
|
4080
|
+
}),
|
|
4081
|
+
children: typeof a == "function" ? a({ isCurrentTabStop: m, hasTabStop: R != null }) : a
|
|
4082
|
+
}
|
|
4083
|
+
)
|
|
4084
|
+
}
|
|
4085
|
+
);
|
|
4086
|
+
}
|
|
4087
|
+
);
|
|
4088
|
+
Lt.displayName = Dt;
|
|
4089
|
+
var Bo = {
|
|
4090
|
+
ArrowLeft: "prev",
|
|
4091
|
+
ArrowUp: "prev",
|
|
4092
|
+
ArrowRight: "next",
|
|
4093
|
+
ArrowDown: "next",
|
|
4094
|
+
PageUp: "first",
|
|
4095
|
+
Home: "first",
|
|
4096
|
+
PageDown: "last",
|
|
4097
|
+
End: "last"
|
|
4098
|
+
};
|
|
4099
|
+
function Yo(e, t) {
|
|
4100
|
+
return t !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e;
|
|
4101
|
+
}
|
|
4102
|
+
function Ho(e, t, r) {
|
|
4103
|
+
const o = Yo(e.key, r);
|
|
4104
|
+
if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(o)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(o)))
|
|
4105
|
+
return Bo[o];
|
|
4106
|
+
}
|
|
4107
|
+
function zt(e, t = !1) {
|
|
4108
|
+
const r = document.activeElement;
|
|
4109
|
+
for (const o of e)
|
|
4110
|
+
if (o === r || (o.focus({ preventScroll: t }), document.activeElement !== r)) return;
|
|
4111
|
+
}
|
|
4112
|
+
function Ko(e, t) {
|
|
4113
|
+
return e.map((r, o) => e[(t + o) % e.length]);
|
|
4114
|
+
}
|
|
4115
|
+
var qo = $t, Jo = Lt;
|
|
4116
|
+
function Xo(e, t) {
|
|
4117
|
+
return c.useReducer((r, o) => t[r][o] ?? r, e);
|
|
4118
|
+
}
|
|
4119
|
+
var Gt = (e) => {
|
|
4120
|
+
const { present: t, children: r } = e, o = Zo(t), n = typeof r == "function" ? r({ present: o.isPresent }) : c.Children.only(r), s = ke(o.ref, Qo(n));
|
|
4121
|
+
return typeof r == "function" || o.isPresent ? c.cloneElement(n, { ref: s }) : null;
|
|
4122
|
+
};
|
|
4123
|
+
Gt.displayName = "Presence";
|
|
4124
|
+
function Zo(e) {
|
|
4125
|
+
const [t, r] = c.useState(), o = c.useRef(null), n = c.useRef(e), s = c.useRef("none"), a = e ? "mounted" : "unmounted", [i, l] = Xo(a, {
|
|
4126
|
+
mounted: {
|
|
4127
|
+
UNMOUNT: "unmounted",
|
|
4128
|
+
ANIMATION_OUT: "unmountSuspended"
|
|
4129
|
+
},
|
|
4130
|
+
unmountSuspended: {
|
|
4131
|
+
MOUNT: "mounted",
|
|
4132
|
+
ANIMATION_END: "unmounted"
|
|
4133
|
+
},
|
|
4134
|
+
unmounted: {
|
|
4135
|
+
MOUNT: "mounted"
|
|
4136
|
+
}
|
|
4137
|
+
});
|
|
4138
|
+
return c.useEffect(() => {
|
|
4139
|
+
const u = xe(o.current);
|
|
4140
|
+
s.current = i === "mounted" ? u : "none";
|
|
4141
|
+
}, [i]), Se(() => {
|
|
4142
|
+
const u = o.current, f = n.current;
|
|
4143
|
+
if (f !== e) {
|
|
4144
|
+
const h = s.current, C = xe(u);
|
|
4145
|
+
e ? l("MOUNT") : C === "none" || u?.display === "none" ? l("UNMOUNT") : l(f && h !== C ? "ANIMATION_OUT" : "UNMOUNT"), n.current = e;
|
|
4146
|
+
}
|
|
4147
|
+
}, [e, l]), Se(() => {
|
|
4148
|
+
if (t) {
|
|
4149
|
+
let u;
|
|
4150
|
+
const f = t.ownerDocument.defaultView ?? window, m = (C) => {
|
|
4151
|
+
const R = xe(o.current).includes(CSS.escape(C.animationName));
|
|
4152
|
+
if (C.target === t && R && (l("ANIMATION_END"), !n.current)) {
|
|
4153
|
+
const b = t.style.animationFillMode;
|
|
4154
|
+
t.style.animationFillMode = "forwards", u = f.setTimeout(() => {
|
|
4155
|
+
t.style.animationFillMode === "forwards" && (t.style.animationFillMode = b);
|
|
4156
|
+
});
|
|
4157
|
+
}
|
|
4158
|
+
}, h = (C) => {
|
|
4159
|
+
C.target === t && (s.current = xe(o.current));
|
|
4160
|
+
};
|
|
4161
|
+
return t.addEventListener("animationstart", h), t.addEventListener("animationcancel", m), t.addEventListener("animationend", m), () => {
|
|
4162
|
+
f.clearTimeout(u), t.removeEventListener("animationstart", h), t.removeEventListener("animationcancel", m), t.removeEventListener("animationend", m);
|
|
4163
|
+
};
|
|
4164
|
+
} else
|
|
4165
|
+
l("ANIMATION_END");
|
|
4166
|
+
}, [t, l]), {
|
|
4167
|
+
isPresent: ["mounted", "unmountSuspended"].includes(i),
|
|
4168
|
+
ref: c.useCallback((u) => {
|
|
4169
|
+
o.current = u ? getComputedStyle(u) : null, r(u);
|
|
4170
|
+
}, [])
|
|
4171
|
+
};
|
|
4172
|
+
}
|
|
4173
|
+
function xe(e) {
|
|
4174
|
+
return e?.animationName || "none";
|
|
4175
|
+
}
|
|
4176
|
+
function Qo(e) {
|
|
4177
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
4178
|
+
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);
|
|
4179
|
+
}
|
|
4180
|
+
// @__NO_SIDE_EFFECTS__
|
|
4181
|
+
function en(e) {
|
|
4182
|
+
const t = /* @__PURE__ */ tn(e), r = c.forwardRef((o, n) => {
|
|
4183
|
+
const { children: s, ...a } = o, i = c.Children.toArray(s), l = i.find(on);
|
|
4184
|
+
if (l) {
|
|
4185
|
+
const u = l.props.children, f = i.map((m) => m === l ? c.Children.count(u) > 1 ? c.Children.only(null) : c.isValidElement(u) ? u.props.children : null : m);
|
|
4186
|
+
return /* @__PURE__ */ y.jsx(t, { ...a, ref: n, children: c.isValidElement(u) ? c.cloneElement(u, void 0, f) : null });
|
|
4187
|
+
}
|
|
4188
|
+
return /* @__PURE__ */ y.jsx(t, { ...a, ref: n, children: s });
|
|
4189
|
+
});
|
|
4190
|
+
return r.displayName = `${e}.Slot`, r;
|
|
4191
|
+
}
|
|
4192
|
+
// @__NO_SIDE_EFFECTS__
|
|
4193
|
+
function tn(e) {
|
|
4194
|
+
const t = c.forwardRef((r, o) => {
|
|
4195
|
+
const { children: n, ...s } = r;
|
|
4196
|
+
if (c.isValidElement(n)) {
|
|
4197
|
+
const a = sn(n), i = nn(s, n.props);
|
|
4198
|
+
return n.type !== c.Fragment && (i.ref = o ? pe(o, a) : a), c.cloneElement(n, i);
|
|
4199
|
+
}
|
|
4200
|
+
return c.Children.count(n) > 1 ? c.Children.only(null) : null;
|
|
4201
|
+
});
|
|
4202
|
+
return t.displayName = `${e}.SlotClone`, t;
|
|
4203
|
+
}
|
|
4204
|
+
var rn = Symbol("radix.slottable");
|
|
4205
|
+
function on(e) {
|
|
4206
|
+
return c.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === rn;
|
|
4207
|
+
}
|
|
4208
|
+
function nn(e, t) {
|
|
4209
|
+
const r = { ...t };
|
|
4210
|
+
for (const o in t) {
|
|
4211
|
+
const n = e[o], s = t[o];
|
|
4212
|
+
/^on[A-Z]/.test(o) ? n && s ? r[o] = (...i) => {
|
|
4213
|
+
const l = s(...i);
|
|
4214
|
+
return n(...i), l;
|
|
4215
|
+
} : n && (r[o] = n) : o === "style" ? r[o] = { ...n, ...s } : o === "className" && (r[o] = [n, s].filter(Boolean).join(" "));
|
|
4216
|
+
}
|
|
4217
|
+
return { ...e, ...r };
|
|
4218
|
+
}
|
|
4219
|
+
function sn(e) {
|
|
4220
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
4221
|
+
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);
|
|
4222
|
+
}
|
|
4223
|
+
var an = [
|
|
4224
|
+
"a",
|
|
4225
|
+
"button",
|
|
4226
|
+
"div",
|
|
4227
|
+
"form",
|
|
4228
|
+
"h2",
|
|
4229
|
+
"h3",
|
|
4230
|
+
"img",
|
|
4231
|
+
"input",
|
|
4232
|
+
"label",
|
|
4233
|
+
"li",
|
|
4234
|
+
"nav",
|
|
4235
|
+
"ol",
|
|
4236
|
+
"p",
|
|
4237
|
+
"select",
|
|
4238
|
+
"span",
|
|
4239
|
+
"svg",
|
|
4240
|
+
"ul"
|
|
4241
|
+
], Te = an.reduce((e, t) => {
|
|
4242
|
+
const r = /* @__PURE__ */ en(`Primitive.${t}`), o = c.forwardRef((n, s) => {
|
|
4243
|
+
const { asChild: a, ...i } = n, l = a ? r : t;
|
|
4244
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ y.jsx(l, { ...i, ref: s });
|
|
4245
|
+
});
|
|
4246
|
+
return o.displayName = `Primitive.${t}`, { ...e, [t]: o };
|
|
4247
|
+
}, {}), Ae = "Tabs", [ln, Pn] = ze(Ae, [
|
|
4248
|
+
Vt
|
|
4249
|
+
]), Wt = Vt(), [cn, Ge] = ln(Ae), Ut = c.forwardRef(
|
|
4250
|
+
(e, t) => {
|
|
4251
|
+
const {
|
|
4252
|
+
__scopeTabs: r,
|
|
4253
|
+
value: o,
|
|
4254
|
+
onValueChange: n,
|
|
4255
|
+
defaultValue: s,
|
|
4256
|
+
orientation: a = "horizontal",
|
|
4257
|
+
dir: i,
|
|
4258
|
+
activationMode: l = "automatic",
|
|
4259
|
+
...u
|
|
4260
|
+
} = e, f = jt(i), [m, h] = Ft({
|
|
4261
|
+
prop: o,
|
|
4262
|
+
onChange: n,
|
|
4263
|
+
defaultProp: s ?? "",
|
|
4264
|
+
caller: Ae
|
|
4265
|
+
});
|
|
4266
|
+
return /* @__PURE__ */ y.jsx(
|
|
4267
|
+
cn,
|
|
4268
|
+
{
|
|
4269
|
+
scope: r,
|
|
4270
|
+
baseId: Pt(),
|
|
4271
|
+
value: m,
|
|
4272
|
+
onValueChange: h,
|
|
4273
|
+
orientation: a,
|
|
4274
|
+
dir: f,
|
|
4275
|
+
activationMode: l,
|
|
4276
|
+
children: /* @__PURE__ */ y.jsx(
|
|
4277
|
+
Te.div,
|
|
4278
|
+
{
|
|
4279
|
+
dir: f,
|
|
4280
|
+
"data-orientation": a,
|
|
4281
|
+
...u,
|
|
4282
|
+
ref: t
|
|
4283
|
+
}
|
|
4284
|
+
)
|
|
4285
|
+
}
|
|
4286
|
+
);
|
|
4287
|
+
}
|
|
4288
|
+
);
|
|
4289
|
+
Ut.displayName = Ae;
|
|
4290
|
+
var Bt = "TabsList", Yt = c.forwardRef(
|
|
4291
|
+
(e, t) => {
|
|
4292
|
+
const { __scopeTabs: r, loop: o = !0, ...n } = e, s = Ge(Bt, r), a = Wt(r);
|
|
4293
|
+
return /* @__PURE__ */ y.jsx(
|
|
4294
|
+
qo,
|
|
4295
|
+
{
|
|
4296
|
+
asChild: !0,
|
|
4297
|
+
...a,
|
|
4298
|
+
orientation: s.orientation,
|
|
4299
|
+
dir: s.dir,
|
|
4300
|
+
loop: o,
|
|
4301
|
+
children: /* @__PURE__ */ y.jsx(
|
|
4302
|
+
Te.div,
|
|
4303
|
+
{
|
|
4304
|
+
role: "tablist",
|
|
4305
|
+
"aria-orientation": s.orientation,
|
|
4306
|
+
...n,
|
|
4307
|
+
ref: t
|
|
4308
|
+
}
|
|
4309
|
+
)
|
|
4310
|
+
}
|
|
4311
|
+
);
|
|
4312
|
+
}
|
|
4313
|
+
);
|
|
4314
|
+
Yt.displayName = Bt;
|
|
4315
|
+
var Ht = "TabsTrigger", Kt = c.forwardRef(
|
|
4316
|
+
(e, t) => {
|
|
4317
|
+
const { __scopeTabs: r, value: o, disabled: n = !1, ...s } = e, a = Ge(Ht, r), i = Wt(r), l = Xt(a.baseId, o), u = Zt(a.baseId, o), f = o === a.value;
|
|
4318
|
+
return /* @__PURE__ */ y.jsx(
|
|
4319
|
+
Jo,
|
|
4320
|
+
{
|
|
4321
|
+
asChild: !0,
|
|
4322
|
+
...i,
|
|
4323
|
+
focusable: !n,
|
|
4324
|
+
active: f,
|
|
4325
|
+
children: /* @__PURE__ */ y.jsx(
|
|
4326
|
+
Te.button,
|
|
4327
|
+
{
|
|
4328
|
+
type: "button",
|
|
4329
|
+
role: "tab",
|
|
4330
|
+
"aria-selected": f,
|
|
4331
|
+
"aria-controls": u,
|
|
4332
|
+
"data-state": f ? "active" : "inactive",
|
|
4333
|
+
"data-disabled": n ? "" : void 0,
|
|
4334
|
+
disabled: n,
|
|
4335
|
+
id: l,
|
|
4336
|
+
...s,
|
|
4337
|
+
ref: t,
|
|
4338
|
+
onMouseDown: K(e.onMouseDown, (m) => {
|
|
4339
|
+
!n && m.button === 0 && m.ctrlKey === !1 ? a.onValueChange(o) : m.preventDefault();
|
|
4340
|
+
}),
|
|
4341
|
+
onKeyDown: K(e.onKeyDown, (m) => {
|
|
4342
|
+
[" ", "Enter"].includes(m.key) && a.onValueChange(o);
|
|
4343
|
+
}),
|
|
4344
|
+
onFocus: K(e.onFocus, () => {
|
|
4345
|
+
const m = a.activationMode !== "manual";
|
|
4346
|
+
!f && !n && m && a.onValueChange(o);
|
|
4347
|
+
})
|
|
4348
|
+
}
|
|
4349
|
+
)
|
|
4350
|
+
}
|
|
4351
|
+
);
|
|
4352
|
+
}
|
|
4353
|
+
);
|
|
4354
|
+
Kt.displayName = Ht;
|
|
4355
|
+
var qt = "TabsContent", Jt = c.forwardRef(
|
|
4356
|
+
(e, t) => {
|
|
4357
|
+
const { __scopeTabs: r, value: o, forceMount: n, children: s, ...a } = e, i = Ge(qt, r), l = Xt(i.baseId, o), u = Zt(i.baseId, o), f = o === i.value, m = c.useRef(f);
|
|
4358
|
+
return c.useEffect(() => {
|
|
4359
|
+
const h = requestAnimationFrame(() => m.current = !1);
|
|
4360
|
+
return () => cancelAnimationFrame(h);
|
|
4361
|
+
}, []), /* @__PURE__ */ y.jsx(Gt, { present: n || f, children: ({ present: h }) => /* @__PURE__ */ y.jsx(
|
|
4362
|
+
Te.div,
|
|
4363
|
+
{
|
|
4364
|
+
"data-state": f ? "active" : "inactive",
|
|
4365
|
+
"data-orientation": i.orientation,
|
|
4366
|
+
role: "tabpanel",
|
|
4367
|
+
"aria-labelledby": l,
|
|
4368
|
+
hidden: !h,
|
|
4369
|
+
id: u,
|
|
4370
|
+
tabIndex: 0,
|
|
4371
|
+
...a,
|
|
4372
|
+
ref: t,
|
|
4373
|
+
style: {
|
|
4374
|
+
...e.style,
|
|
4375
|
+
animationDuration: m.current ? "0s" : void 0
|
|
4376
|
+
},
|
|
4377
|
+
children: h && s
|
|
4378
|
+
}
|
|
4379
|
+
) });
|
|
4380
|
+
}
|
|
4381
|
+
);
|
|
4382
|
+
Jt.displayName = qt;
|
|
4383
|
+
function Xt(e, t) {
|
|
4384
|
+
return `${e}-trigger-${t}`;
|
|
4385
|
+
}
|
|
4386
|
+
function Zt(e, t) {
|
|
4387
|
+
return `${e}-content-${t}`;
|
|
4388
|
+
}
|
|
4389
|
+
var un = Ut, dn = Yt, fn = Kt, mn = Jt;
|
|
4390
|
+
function On({
|
|
4391
|
+
className: e,
|
|
4392
|
+
...t
|
|
4393
|
+
}) {
|
|
4394
|
+
return /* @__PURE__ */ y.jsx(
|
|
4395
|
+
un,
|
|
4396
|
+
{
|
|
4397
|
+
"data-slot": "tabs",
|
|
4398
|
+
className: D("flex flex-col gap-2", e),
|
|
4399
|
+
...t
|
|
4400
|
+
}
|
|
4401
|
+
);
|
|
4402
|
+
}
|
|
4403
|
+
function Fn({
|
|
4404
|
+
className: e,
|
|
4405
|
+
...t
|
|
4406
|
+
}) {
|
|
4407
|
+
return /* @__PURE__ */ y.jsx(
|
|
4408
|
+
dn,
|
|
4409
|
+
{
|
|
4410
|
+
"data-slot": "tabs-list",
|
|
4411
|
+
className: D(
|
|
4412
|
+
"bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",
|
|
4413
|
+
e
|
|
4414
|
+
),
|
|
4415
|
+
...t
|
|
4416
|
+
}
|
|
4417
|
+
);
|
|
4418
|
+
}
|
|
4419
|
+
function jn({
|
|
4420
|
+
className: e,
|
|
4421
|
+
...t
|
|
4422
|
+
}) {
|
|
4423
|
+
return /* @__PURE__ */ y.jsx(
|
|
4424
|
+
fn,
|
|
4425
|
+
{
|
|
4426
|
+
"data-slot": "tabs-trigger",
|
|
4427
|
+
className: D(
|
|
4428
|
+
"data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
4429
|
+
e
|
|
4430
|
+
),
|
|
4431
|
+
...t
|
|
4432
|
+
}
|
|
4433
|
+
);
|
|
4434
|
+
}
|
|
4435
|
+
function Mn({
|
|
4436
|
+
className: e,
|
|
4437
|
+
...t
|
|
4438
|
+
}) {
|
|
4439
|
+
return /* @__PURE__ */ y.jsx(
|
|
4440
|
+
mn,
|
|
4441
|
+
{
|
|
4442
|
+
"data-slot": "tabs-content",
|
|
4443
|
+
className: D("flex-1 outline-none", e),
|
|
4444
|
+
...t
|
|
3281
4445
|
}
|
|
3282
4446
|
);
|
|
3283
4447
|
}
|
|
3284
4448
|
export {
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
4449
|
+
bn as Button,
|
|
4450
|
+
hn as Card,
|
|
4451
|
+
kn as CardAction,
|
|
4452
|
+
Cn as CardContent,
|
|
4453
|
+
wn as CardDescription,
|
|
4454
|
+
Rn as CardFooter,
|
|
4455
|
+
yn as CardHeader,
|
|
4456
|
+
xn as CardTitle,
|
|
4457
|
+
Sn as Form,
|
|
4458
|
+
An as FormControl,
|
|
4459
|
+
In as FormDescription,
|
|
4460
|
+
En as FormField,
|
|
4461
|
+
_n as FormItem,
|
|
4462
|
+
Tn as FormLabel,
|
|
4463
|
+
Nn as FormMessage,
|
|
4464
|
+
vn as Input,
|
|
4465
|
+
oo as Label,
|
|
4466
|
+
On as Tabs,
|
|
4467
|
+
Mn as TabsContent,
|
|
4468
|
+
Fn as TabsList,
|
|
4469
|
+
jn as TabsTrigger,
|
|
4470
|
+
Zr as buttonVariants,
|
|
4471
|
+
_e as useFormField
|
|
3295
4472
|
};
|
|
3296
4473
|
//# sourceMappingURL=index.es.js.map
|