@antoniobenincasa/ui 0.2.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 +9 -0
- package/dist/index.es.js +1669 -893
- package/dist/index.es.js.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +2 -1
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
1
|
+
import * as c from "react";
|
|
2
|
+
import E from "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
var
|
|
4
|
+
var ve = { exports: {} }, ue = {};
|
|
5
5
|
/**
|
|
6
6
|
* @license React
|
|
7
7
|
* react-jsx-runtime.production.js
|
|
@@ -11,29 +11,29 @@ var pe = { exports: {} }, ie = {};
|
|
|
11
11
|
* This source code is licensed under the MIT license found in the
|
|
12
12
|
* LICENSE file in the root directory of this source tree.
|
|
13
13
|
*/
|
|
14
|
-
var
|
|
15
|
-
function
|
|
16
|
-
if (
|
|
17
|
-
|
|
14
|
+
var We;
|
|
15
|
+
function Qt() {
|
|
16
|
+
if (We) return ue;
|
|
17
|
+
We = 1;
|
|
18
18
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
19
19
|
function r(o, n, s) {
|
|
20
|
-
var
|
|
21
|
-
if (s !== void 0 && (
|
|
20
|
+
var a = null;
|
|
21
|
+
if (s !== void 0 && (a = "" + s), n.key !== void 0 && (a = "" + n.key), "key" in n) {
|
|
22
22
|
s = {};
|
|
23
|
-
for (var
|
|
24
|
-
|
|
23
|
+
for (var i in n)
|
|
24
|
+
i !== "key" && (s[i] = n[i]);
|
|
25
25
|
} else s = n;
|
|
26
26
|
return n = s.ref, {
|
|
27
27
|
$$typeof: e,
|
|
28
28
|
type: o,
|
|
29
|
-
key:
|
|
29
|
+
key: a,
|
|
30
30
|
ref: n !== void 0 ? n : null,
|
|
31
31
|
props: s
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
return
|
|
34
|
+
return ue.Fragment = t, ue.jsx = r, ue.jsxs = r, ue;
|
|
35
35
|
}
|
|
36
|
-
var
|
|
36
|
+
var de = {};
|
|
37
37
|
/**
|
|
38
38
|
* @license React
|
|
39
39
|
* react-jsx-runtime.development.js
|
|
@@ -43,466 +43,469 @@ var le = {};
|
|
|
43
43
|
* This source code is licensed under the MIT license found in the
|
|
44
44
|
* LICENSE file in the root directory of this source tree.
|
|
45
45
|
*/
|
|
46
|
-
var
|
|
47
|
-
function
|
|
48
|
-
return
|
|
49
|
-
function e(
|
|
50
|
-
if (
|
|
51
|
-
if (typeof
|
|
52
|
-
return
|
|
53
|
-
if (typeof
|
|
54
|
-
switch (
|
|
55
|
-
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:
|
|
56
56
|
return "Fragment";
|
|
57
|
-
case
|
|
57
|
+
case F:
|
|
58
58
|
return "Profiler";
|
|
59
|
-
case
|
|
59
|
+
case P:
|
|
60
60
|
return "StrictMode";
|
|
61
61
|
case j:
|
|
62
62
|
return "Suspense";
|
|
63
|
-
case
|
|
63
|
+
case L:
|
|
64
64
|
return "SuspenseList";
|
|
65
|
-
case
|
|
65
|
+
case Z:
|
|
66
66
|
return "Activity";
|
|
67
67
|
}
|
|
68
|
-
if (typeof
|
|
69
|
-
switch (typeof
|
|
68
|
+
if (typeof d == "object")
|
|
69
|
+
switch (typeof d.tag == "number" && console.error(
|
|
70
70
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
71
|
-
),
|
|
72
|
-
case
|
|
71
|
+
), d.$$typeof) {
|
|
72
|
+
case R:
|
|
73
73
|
return "Portal";
|
|
74
|
-
case
|
|
75
|
-
return
|
|
76
|
-
case
|
|
77
|
-
return (
|
|
78
|
-
case
|
|
79
|
-
var
|
|
80
|
-
return
|
|
81
|
-
case
|
|
82
|
-
return
|
|
83
|
-
case
|
|
84
|
-
|
|
74
|
+
case x:
|
|
75
|
+
return d.displayName || "Context";
|
|
76
|
+
case A:
|
|
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;
|
|
85
85
|
try {
|
|
86
|
-
return e(
|
|
86
|
+
return e(d(k));
|
|
87
87
|
} catch {
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
return null;
|
|
91
91
|
}
|
|
92
|
-
function t(
|
|
93
|
-
return "" +
|
|
92
|
+
function t(d) {
|
|
93
|
+
return "" + d;
|
|
94
94
|
}
|
|
95
|
-
function r(
|
|
95
|
+
function r(d) {
|
|
96
96
|
try {
|
|
97
|
-
t(
|
|
98
|
-
var
|
|
97
|
+
t(d);
|
|
98
|
+
var k = !1;
|
|
99
99
|
} catch {
|
|
100
|
-
|
|
100
|
+
k = !0;
|
|
101
101
|
}
|
|
102
|
-
if (
|
|
103
|
-
|
|
104
|
-
var
|
|
105
|
-
return
|
|
106
|
-
|
|
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,
|
|
107
107
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
108
|
-
|
|
109
|
-
), t(
|
|
108
|
+
N
|
|
109
|
+
), t(d);
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
-
function o(
|
|
113
|
-
if (
|
|
114
|
-
if (typeof
|
|
112
|
+
function o(d) {
|
|
113
|
+
if (d === b) return "<>";
|
|
114
|
+
if (typeof d == "object" && d !== null && d.$$typeof === V)
|
|
115
115
|
return "<...>";
|
|
116
116
|
try {
|
|
117
|
-
var
|
|
118
|
-
return
|
|
117
|
+
var k = e(d);
|
|
118
|
+
return k ? "<" + k + ">" : "<...>";
|
|
119
119
|
} catch {
|
|
120
120
|
return "<...>";
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
function n() {
|
|
124
|
-
var
|
|
125
|
-
return
|
|
124
|
+
var d = W.A;
|
|
125
|
+
return d === null ? null : d.getOwner();
|
|
126
126
|
}
|
|
127
127
|
function s() {
|
|
128
128
|
return Error("react-stack-top-frame");
|
|
129
129
|
}
|
|
130
|
-
function
|
|
131
|
-
if (
|
|
132
|
-
var
|
|
133
|
-
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;
|
|
134
134
|
}
|
|
135
|
-
return
|
|
135
|
+
return d.key !== void 0;
|
|
136
136
|
}
|
|
137
|
-
function
|
|
138
|
-
function
|
|
139
|
-
|
|
137
|
+
function i(d, k) {
|
|
138
|
+
function _() {
|
|
139
|
+
M || (M = !0, console.error(
|
|
140
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)",
|
|
141
|
-
|
|
141
|
+
k
|
|
142
142
|
));
|
|
143
143
|
}
|
|
144
|
-
|
|
145
|
-
get:
|
|
144
|
+
_.isReactWarning = !0, Object.defineProperty(d, "key", {
|
|
145
|
+
get: _,
|
|
146
146
|
configurable: !0
|
|
147
147
|
});
|
|
148
148
|
}
|
|
149
|
-
function
|
|
150
|
-
var
|
|
151
|
-
return
|
|
149
|
+
function l() {
|
|
150
|
+
var d = e(this.type);
|
|
151
|
+
return U[d] || (U[d] = !0, console.error(
|
|
152
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."
|
|
153
|
-
)),
|
|
153
|
+
)), d = this.props.ref, d !== void 0 ? d : null;
|
|
154
154
|
}
|
|
155
|
-
function
|
|
156
|
-
var
|
|
157
|
-
return
|
|
158
|
-
$$typeof:
|
|
159
|
-
type:
|
|
160
|
-
key:
|
|
161
|
-
props:
|
|
162
|
-
_owner:
|
|
163
|
-
}, (
|
|
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", {
|
|
164
164
|
enumerable: !1,
|
|
165
|
-
get:
|
|
166
|
-
}) : Object.defineProperty(
|
|
165
|
+
get: l
|
|
166
|
+
}) : Object.defineProperty(d, "ref", { enumerable: !1, value: null }), d._store = {}, Object.defineProperty(d._store, "validated", {
|
|
167
167
|
configurable: !1,
|
|
168
168
|
enumerable: !1,
|
|
169
169
|
writable: !0,
|
|
170
170
|
value: 0
|
|
171
|
-
}), Object.defineProperty(
|
|
171
|
+
}), Object.defineProperty(d, "_debugInfo", {
|
|
172
172
|
configurable: !1,
|
|
173
173
|
enumerable: !1,
|
|
174
174
|
writable: !0,
|
|
175
175
|
value: null
|
|
176
|
-
}), Object.defineProperty(
|
|
176
|
+
}), Object.defineProperty(d, "_debugStack", {
|
|
177
177
|
configurable: !1,
|
|
178
178
|
enumerable: !1,
|
|
179
179
|
writable: !0,
|
|
180
|
-
value:
|
|
181
|
-
}), Object.defineProperty(
|
|
180
|
+
value: B
|
|
181
|
+
}), Object.defineProperty(d, "_debugTask", {
|
|
182
182
|
configurable: !1,
|
|
183
183
|
enumerable: !1,
|
|
184
184
|
writable: !0,
|
|
185
|
-
value:
|
|
186
|
-
}), Object.freeze && (Object.freeze(
|
|
185
|
+
value: oe
|
|
186
|
+
}), Object.freeze && (Object.freeze(d.props), Object.freeze(d)), d;
|
|
187
187
|
}
|
|
188
|
-
function
|
|
189
|
-
var
|
|
190
|
-
if (
|
|
191
|
-
if (
|
|
192
|
-
if (
|
|
193
|
-
for (
|
|
194
|
-
|
|
195
|
-
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);
|
|
196
196
|
} else
|
|
197
197
|
console.error(
|
|
198
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."
|
|
199
199
|
);
|
|
200
|
-
else
|
|
201
|
-
if (
|
|
202
|
-
|
|
203
|
-
var
|
|
204
|
-
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";
|
|
205
205
|
});
|
|
206
|
-
|
|
206
|
+
N = 0 < Y.length ? "{key: someKey, " + Y.join(": ..., ") + ": ...}" : "{key: someKey}", ce[T + N] || (Y = 0 < Y.length ? "{" + Y.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
207
207
|
`A props object containing a "key" prop is being spread into JSX:
|
|
208
208
|
let props = %s;
|
|
209
209
|
<%s {...props} />
|
|
210
210
|
React keys must be passed directly to JSX without using spread:
|
|
211
211
|
let props = %s;
|
|
212
212
|
<%s key={someKey} {...props} />`,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
),
|
|
213
|
+
N,
|
|
214
|
+
T,
|
|
215
|
+
Y,
|
|
216
|
+
T
|
|
217
|
+
), ce[T + N] = !0);
|
|
218
218
|
}
|
|
219
|
-
if (
|
|
220
|
-
|
|
221
|
-
for (var
|
|
222
|
-
|
|
223
|
-
} else
|
|
224
|
-
return
|
|
225
|
-
|
|
226
|
-
typeof
|
|
227
|
-
),
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
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
231
|
n(),
|
|
232
|
-
|
|
233
|
-
|
|
232
|
+
B,
|
|
233
|
+
oe
|
|
234
234
|
);
|
|
235
235
|
}
|
|
236
|
-
function
|
|
237
|
-
|
|
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));
|
|
238
238
|
}
|
|
239
|
-
function
|
|
240
|
-
return typeof
|
|
239
|
+
function h(d) {
|
|
240
|
+
return typeof d == "object" && d !== null && d.$$typeof === I;
|
|
241
241
|
}
|
|
242
|
-
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() {
|
|
243
243
|
return null;
|
|
244
244
|
};
|
|
245
|
-
|
|
246
|
-
react_stack_bottom_frame: function(
|
|
247
|
-
return
|
|
245
|
+
C = {
|
|
246
|
+
react_stack_bottom_frame: function(d) {
|
|
247
|
+
return d();
|
|
248
248
|
}
|
|
249
249
|
};
|
|
250
|
-
var
|
|
251
|
-
|
|
250
|
+
var M, U = {}, w = C.react_stack_bottom_frame.bind(
|
|
251
|
+
C,
|
|
252
252
|
s
|
|
253
|
-
)(),
|
|
254
|
-
|
|
255
|
-
var
|
|
256
|
-
return
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
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
|
+
_,
|
|
260
260
|
!1,
|
|
261
|
-
|
|
262
|
-
|
|
261
|
+
N ? Error("react-stack-top-frame") : w,
|
|
262
|
+
N ? G(o(d)) : le
|
|
263
263
|
);
|
|
264
|
-
},
|
|
265
|
-
var
|
|
266
|
-
return
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
264
|
+
}, de.jsxs = function(d, k, _) {
|
|
265
|
+
var N = 1e4 > W.recentlyCreatedOwnerStacks++;
|
|
266
|
+
return f(
|
|
267
|
+
d,
|
|
268
|
+
k,
|
|
269
|
+
_,
|
|
270
270
|
!0,
|
|
271
|
-
|
|
272
|
-
|
|
271
|
+
N ? Error("react-stack-top-frame") : w,
|
|
272
|
+
N ? G(o(d)) : le
|
|
273
273
|
);
|
|
274
274
|
};
|
|
275
|
-
}()),
|
|
275
|
+
}()), de;
|
|
276
276
|
}
|
|
277
|
-
var
|
|
278
|
-
function
|
|
279
|
-
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;
|
|
280
280
|
}
|
|
281
|
-
var
|
|
282
|
-
function
|
|
281
|
+
var y = tr();
|
|
282
|
+
function Ye(e, t) {
|
|
283
283
|
if (typeof e == "function")
|
|
284
284
|
return e(t);
|
|
285
285
|
e != null && (e.current = t);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function pe(...e) {
|
|
288
288
|
return (t) => {
|
|
289
289
|
let r = !1;
|
|
290
290
|
const o = e.map((n) => {
|
|
291
|
-
const s =
|
|
291
|
+
const s = Ye(n, t);
|
|
292
292
|
return !r && typeof s == "function" && (r = !0), s;
|
|
293
293
|
});
|
|
294
294
|
if (r)
|
|
295
295
|
return () => {
|
|
296
296
|
for (let n = 0; n < o.length; n++) {
|
|
297
297
|
const s = o[n];
|
|
298
|
-
typeof s == "function" ? s() :
|
|
298
|
+
typeof s == "function" ? s() : Ye(e[n], null);
|
|
299
299
|
}
|
|
300
300
|
};
|
|
301
301
|
};
|
|
302
302
|
}
|
|
303
|
-
|
|
304
|
-
|
|
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) {
|
|
305
308
|
return typeof e == "object" && e !== null && "then" in e;
|
|
306
309
|
}
|
|
307
|
-
function
|
|
308
|
-
return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof ===
|
|
310
|
+
function at(e) {
|
|
311
|
+
return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === rr && "_payload" in e && or(e._payload);
|
|
309
312
|
}
|
|
310
313
|
// @__NO_SIDE_EFFECTS__
|
|
311
|
-
function
|
|
312
|
-
const t = /* @__PURE__ */
|
|
313
|
-
let { children: s, ...
|
|
314
|
-
|
|
315
|
-
const
|
|
316
|
-
if (
|
|
317
|
-
const
|
|
318
|
-
return /* @__PURE__ */
|
|
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 });
|
|
319
322
|
}
|
|
320
|
-
return /* @__PURE__ */
|
|
323
|
+
return /* @__PURE__ */ y.jsx(t, { ...a, ref: n, children: s });
|
|
321
324
|
});
|
|
322
325
|
return r.displayName = `${e}.Slot`, r;
|
|
323
326
|
}
|
|
324
|
-
var
|
|
327
|
+
var lt = /* @__PURE__ */ it("Slot");
|
|
325
328
|
// @__NO_SIDE_EFFECTS__
|
|
326
|
-
function
|
|
327
|
-
const t =
|
|
329
|
+
function nr(e) {
|
|
330
|
+
const t = c.forwardRef((r, o) => {
|
|
328
331
|
let { children: n, ...s } = r;
|
|
329
|
-
if (
|
|
330
|
-
const
|
|
331
|
-
return n.type !==
|
|
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);
|
|
332
335
|
}
|
|
333
|
-
return
|
|
336
|
+
return c.Children.count(n) > 1 ? c.Children.only(null) : null;
|
|
334
337
|
});
|
|
335
338
|
return t.displayName = `${e}.SlotClone`, t;
|
|
336
339
|
}
|
|
337
|
-
var
|
|
338
|
-
function
|
|
339
|
-
return
|
|
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;
|
|
340
343
|
}
|
|
341
|
-
function
|
|
344
|
+
function ir(e, t) {
|
|
342
345
|
const r = { ...t };
|
|
343
346
|
for (const o in t) {
|
|
344
347
|
const n = e[o], s = t[o];
|
|
345
|
-
/^on[A-Z]/.test(o) ? n && s ? r[o] = (...
|
|
346
|
-
const
|
|
347
|
-
return n(...
|
|
348
|
+
/^on[A-Z]/.test(o) ? n && s ? r[o] = (...i) => {
|
|
349
|
+
const l = s(...i);
|
|
350
|
+
return n(...i), l;
|
|
348
351
|
} : n && (r[o] = n) : o === "style" ? r[o] = { ...n, ...s } : o === "className" && (r[o] = [n, s].filter(Boolean).join(" "));
|
|
349
352
|
}
|
|
350
353
|
return { ...e, ...r };
|
|
351
354
|
}
|
|
352
|
-
function
|
|
355
|
+
function lr(e) {
|
|
353
356
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
354
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);
|
|
355
358
|
}
|
|
356
|
-
function
|
|
359
|
+
function ct(e) {
|
|
357
360
|
var t, r, o = "";
|
|
358
361
|
if (typeof e == "string" || typeof e == "number") o += e;
|
|
359
362
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
360
363
|
var n = e.length;
|
|
361
|
-
for (t = 0; t < n; t++) e[t] && (r =
|
|
364
|
+
for (t = 0; t < n; t++) e[t] && (r = ct(e[t])) && (o && (o += " "), o += r);
|
|
362
365
|
} else for (r in e) e[r] && (o && (o += " "), o += r);
|
|
363
366
|
return o;
|
|
364
367
|
}
|
|
365
|
-
function
|
|
366
|
-
for (var e, t, r = 0, o = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (t =
|
|
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);
|
|
367
370
|
return o;
|
|
368
371
|
}
|
|
369
|
-
const
|
|
372
|
+
const He = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ke = ut, cr = (e, t) => (r) => {
|
|
370
373
|
var o;
|
|
371
|
-
if (t?.variants == null) return
|
|
372
|
-
const { variants: n, defaultVariants: s } = t,
|
|
373
|
-
const
|
|
374
|
-
if (
|
|
375
|
-
const
|
|
376
|
-
return n[
|
|
377
|
-
}),
|
|
378
|
-
let [
|
|
379
|
-
return
|
|
380
|
-
}, {}),
|
|
381
|
-
let { class:
|
|
382
|
-
return Object.entries(
|
|
383
|
-
let [
|
|
384
|
-
return Array.isArray(
|
|
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({
|
|
385
388
|
...s,
|
|
386
|
-
...
|
|
387
|
-
}[
|
|
389
|
+
...i
|
|
390
|
+
}[R]) : {
|
|
388
391
|
...s,
|
|
389
|
-
...
|
|
390
|
-
}[
|
|
392
|
+
...i
|
|
393
|
+
}[R] === b;
|
|
391
394
|
}) ? [
|
|
392
|
-
...
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
] :
|
|
395
|
+
...u,
|
|
396
|
+
m,
|
|
397
|
+
h
|
|
398
|
+
] : u;
|
|
396
399
|
}, []);
|
|
397
|
-
return
|
|
398
|
-
},
|
|
400
|
+
return Ke(e, a, l, r?.class, r?.className);
|
|
401
|
+
}, ur = (e, t) => {
|
|
399
402
|
const r = new Array(e.length + t.length);
|
|
400
403
|
for (let o = 0; o < e.length; o++)
|
|
401
404
|
r[o] = e[o];
|
|
402
405
|
for (let o = 0; o < t.length; o++)
|
|
403
406
|
r[e.length + o] = t[o];
|
|
404
407
|
return r;
|
|
405
|
-
},
|
|
408
|
+
}, dr = (e, t) => ({
|
|
406
409
|
classGroupId: e,
|
|
407
410
|
validator: t
|
|
408
|
-
}),
|
|
411
|
+
}), dt = (e = /* @__PURE__ */ new Map(), t = null, r) => ({
|
|
409
412
|
nextPart: e,
|
|
410
413
|
validators: t,
|
|
411
414
|
classGroupId: r
|
|
412
|
-
}),
|
|
413
|
-
const t =
|
|
415
|
+
}), Re = "-", qe = [], fr = "arbitrary..", mr = (e) => {
|
|
416
|
+
const t = gr(e), {
|
|
414
417
|
conflictingClassGroups: r,
|
|
415
418
|
conflictingClassGroupModifiers: o
|
|
416
419
|
} = e;
|
|
417
420
|
return {
|
|
418
|
-
getClassGroupId: (
|
|
419
|
-
if (
|
|
420
|
-
return
|
|
421
|
-
const
|
|
422
|
-
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);
|
|
423
426
|
},
|
|
424
|
-
getConflictingClassGroupIds: (
|
|
425
|
-
if (
|
|
426
|
-
const
|
|
427
|
-
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;
|
|
428
431
|
}
|
|
429
|
-
return r[
|
|
432
|
+
return r[a] || qe;
|
|
430
433
|
}
|
|
431
434
|
};
|
|
432
|
-
},
|
|
435
|
+
}, ft = (e, t, r) => {
|
|
433
436
|
if (e.length - t === 0)
|
|
434
437
|
return r.classGroupId;
|
|
435
438
|
const n = e[t], s = r.nextPart.get(n);
|
|
436
439
|
if (s) {
|
|
437
|
-
const
|
|
438
|
-
if (
|
|
440
|
+
const u = ft(e, t + 1, s);
|
|
441
|
+
if (u) return u;
|
|
439
442
|
}
|
|
440
|
-
const
|
|
441
|
-
if (
|
|
443
|
+
const a = r.validators;
|
|
444
|
+
if (a === null)
|
|
442
445
|
return;
|
|
443
|
-
const
|
|
444
|
-
for (let
|
|
445
|
-
const
|
|
446
|
-
if (
|
|
447
|
-
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;
|
|
448
451
|
}
|
|
449
|
-
},
|
|
452
|
+
}, pr = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
450
453
|
const t = e.slice(1, -1), r = t.indexOf(":"), o = t.slice(0, r);
|
|
451
|
-
return o ?
|
|
452
|
-
})(),
|
|
454
|
+
return o ? fr + o : void 0;
|
|
455
|
+
})(), gr = (e) => {
|
|
453
456
|
const {
|
|
454
457
|
theme: t,
|
|
455
458
|
classGroups: r
|
|
456
459
|
} = e;
|
|
457
|
-
return
|
|
458
|
-
},
|
|
459
|
-
const r =
|
|
460
|
+
return br(r, t);
|
|
461
|
+
}, br = (e, t) => {
|
|
462
|
+
const r = dt();
|
|
460
463
|
for (const o in e) {
|
|
461
464
|
const n = e[o];
|
|
462
|
-
|
|
465
|
+
$e(n, r, o, t);
|
|
463
466
|
}
|
|
464
467
|
return r;
|
|
465
|
-
},
|
|
468
|
+
}, $e = (e, t, r, o) => {
|
|
466
469
|
const n = e.length;
|
|
467
470
|
for (let s = 0; s < n; s++) {
|
|
468
|
-
const
|
|
469
|
-
|
|
471
|
+
const a = e[s];
|
|
472
|
+
vr(a, t, r, o);
|
|
470
473
|
}
|
|
471
|
-
},
|
|
474
|
+
}, vr = (e, t, r, o) => {
|
|
472
475
|
if (typeof e == "string") {
|
|
473
|
-
|
|
476
|
+
hr(e, t, r);
|
|
474
477
|
return;
|
|
475
478
|
}
|
|
476
479
|
if (typeof e == "function") {
|
|
477
|
-
|
|
480
|
+
yr(e, t, r, o);
|
|
478
481
|
return;
|
|
479
482
|
}
|
|
480
|
-
|
|
481
|
-
},
|
|
482
|
-
const o = e === "" ? t :
|
|
483
|
+
xr(e, t, r, o);
|
|
484
|
+
}, hr = (e, t, r) => {
|
|
485
|
+
const o = e === "" ? t : mt(t, e);
|
|
483
486
|
o.classGroupId = r;
|
|
484
|
-
},
|
|
485
|
-
if (
|
|
486
|
-
|
|
487
|
+
}, yr = (e, t, r, o) => {
|
|
488
|
+
if (wr(e)) {
|
|
489
|
+
$e(e(o), t, r, o);
|
|
487
490
|
return;
|
|
488
491
|
}
|
|
489
|
-
t.validators === null && (t.validators = []), t.validators.push(
|
|
490
|
-
},
|
|
492
|
+
t.validators === null && (t.validators = []), t.validators.push(dr(r, e));
|
|
493
|
+
}, xr = (e, t, r, o) => {
|
|
491
494
|
const n = Object.entries(e), s = n.length;
|
|
492
|
-
for (let
|
|
493
|
-
const [
|
|
494
|
-
|
|
495
|
+
for (let a = 0; a < s; a++) {
|
|
496
|
+
const [i, l] = n[a];
|
|
497
|
+
$e(l, mt(t, i), r, o);
|
|
495
498
|
}
|
|
496
|
-
},
|
|
499
|
+
}, mt = (e, t) => {
|
|
497
500
|
let r = e;
|
|
498
|
-
const o = t.split(
|
|
501
|
+
const o = t.split(Re), n = o.length;
|
|
499
502
|
for (let s = 0; s < n; s++) {
|
|
500
|
-
const
|
|
501
|
-
let
|
|
502
|
-
|
|
503
|
+
const a = o[s];
|
|
504
|
+
let i = r.nextPart.get(a);
|
|
505
|
+
i || (i = dt(), r.nextPart.set(a, i)), r = i;
|
|
503
506
|
}
|
|
504
507
|
return r;
|
|
505
|
-
},
|
|
508
|
+
}, wr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, kr = (e) => {
|
|
506
509
|
if (e < 1)
|
|
507
510
|
return {
|
|
508
511
|
get: () => {
|
|
@@ -511,65 +514,65 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
511
514
|
}
|
|
512
515
|
};
|
|
513
516
|
let t = 0, r = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
|
|
514
|
-
const n = (s,
|
|
515
|
-
r[s] =
|
|
517
|
+
const n = (s, a) => {
|
|
518
|
+
r[s] = a, t++, t > e && (t = 0, o = r, r = /* @__PURE__ */ Object.create(null));
|
|
516
519
|
};
|
|
517
520
|
return {
|
|
518
521
|
get(s) {
|
|
519
|
-
let
|
|
520
|
-
if (
|
|
521
|
-
return
|
|
522
|
-
if ((
|
|
523
|
-
return n(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;
|
|
524
527
|
},
|
|
525
|
-
set(s,
|
|
526
|
-
s in r ? r[s] =
|
|
528
|
+
set(s, a) {
|
|
529
|
+
s in r ? r[s] = a : n(s, a);
|
|
527
530
|
}
|
|
528
531
|
};
|
|
529
|
-
},
|
|
532
|
+
}, je = "!", Je = ":", Cr = [], Xe = (e, t, r, o, n) => ({
|
|
530
533
|
modifiers: e,
|
|
531
534
|
hasImportantModifier: t,
|
|
532
535
|
baseClassName: r,
|
|
533
536
|
maybePostfixModifierPosition: o,
|
|
534
537
|
isExternal: n
|
|
535
|
-
}),
|
|
538
|
+
}), Rr = (e) => {
|
|
536
539
|
const {
|
|
537
540
|
prefix: t,
|
|
538
541
|
experimentalParseClassName: r
|
|
539
542
|
} = e;
|
|
540
543
|
let o = (n) => {
|
|
541
544
|
const s = [];
|
|
542
|
-
let
|
|
543
|
-
const
|
|
544
|
-
for (let
|
|
545
|
-
const
|
|
546
|
-
if (
|
|
547
|
-
if (
|
|
548
|
-
s.push(n.slice(
|
|
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;
|
|
549
552
|
continue;
|
|
550
553
|
}
|
|
551
|
-
if (
|
|
552
|
-
|
|
554
|
+
if (b === "/") {
|
|
555
|
+
u = R;
|
|
553
556
|
continue;
|
|
554
557
|
}
|
|
555
558
|
}
|
|
556
|
-
|
|
559
|
+
b === "[" ? a++ : b === "]" ? a-- : b === "(" ? i++ : b === ")" && i--;
|
|
557
560
|
}
|
|
558
|
-
const
|
|
559
|
-
let
|
|
560
|
-
|
|
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) : (
|
|
561
564
|
/**
|
|
562
565
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
563
566
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
564
567
|
*/
|
|
565
|
-
|
|
568
|
+
m.startsWith(je) && (h = m.slice(1), C = !0)
|
|
566
569
|
);
|
|
567
|
-
const
|
|
568
|
-
return
|
|
570
|
+
const I = u && u > l ? u - l : void 0;
|
|
571
|
+
return Xe(s, C, h, I);
|
|
569
572
|
};
|
|
570
573
|
if (t) {
|
|
571
|
-
const n = t +
|
|
572
|
-
o = (
|
|
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);
|
|
573
576
|
}
|
|
574
577
|
if (r) {
|
|
575
578
|
const n = o;
|
|
@@ -579,7 +582,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
579
582
|
});
|
|
580
583
|
}
|
|
581
584
|
return o;
|
|
582
|
-
},
|
|
585
|
+
}, Sr = (e) => {
|
|
583
586
|
const t = /* @__PURE__ */ new Map();
|
|
584
587
|
return e.orderSensitiveModifiers.forEach((r, o) => {
|
|
585
588
|
t.set(r, 1e6 + o);
|
|
@@ -587,101 +590,101 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
587
590
|
const o = [];
|
|
588
591
|
let n = [];
|
|
589
592
|
for (let s = 0; s < r.length; s++) {
|
|
590
|
-
const
|
|
591
|
-
|
|
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);
|
|
592
595
|
}
|
|
593
596
|
return n.length > 0 && (n.sort(), o.push(...n)), o;
|
|
594
597
|
};
|
|
595
|
-
},
|
|
596
|
-
cache:
|
|
597
|
-
parseClassName:
|
|
598
|
-
sortModifiers:
|
|
599
|
-
...
|
|
600
|
-
}),
|
|
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) => {
|
|
601
604
|
const {
|
|
602
605
|
parseClassName: r,
|
|
603
606
|
getClassGroupId: o,
|
|
604
607
|
getConflictingClassGroupIds: n,
|
|
605
608
|
sortModifiers: s
|
|
606
|
-
} = t,
|
|
607
|
-
let
|
|
608
|
-
for (let
|
|
609
|
-
const
|
|
610
|
-
isExternal:
|
|
611
|
-
modifiers:
|
|
612
|
-
hasImportantModifier:
|
|
613
|
-
baseClassName:
|
|
614
|
-
maybePostfixModifierPosition:
|
|
615
|
-
} = r(
|
|
616
|
-
if (
|
|
617
|
-
|
|
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);
|
|
618
621
|
continue;
|
|
619
622
|
}
|
|
620
|
-
let
|
|
621
|
-
if (!
|
|
622
|
-
if (!
|
|
623
|
-
|
|
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);
|
|
624
627
|
continue;
|
|
625
628
|
}
|
|
626
|
-
if (
|
|
627
|
-
|
|
629
|
+
if (P = o(I), !P) {
|
|
630
|
+
l = f + (l.length > 0 ? " " + l : l);
|
|
628
631
|
continue;
|
|
629
632
|
}
|
|
630
|
-
|
|
633
|
+
b = !1;
|
|
631
634
|
}
|
|
632
|
-
const
|
|
633
|
-
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)
|
|
634
637
|
continue;
|
|
635
|
-
|
|
636
|
-
const
|
|
637
|
-
for (let j = 0; j <
|
|
638
|
-
const
|
|
639
|
-
|
|
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);
|
|
640
643
|
}
|
|
641
|
-
|
|
644
|
+
l = f + (l.length > 0 ? " " + l : l);
|
|
642
645
|
}
|
|
643
|
-
return
|
|
644
|
-
},
|
|
646
|
+
return l;
|
|
647
|
+
}, Ar = (...e) => {
|
|
645
648
|
let t = 0, r, o, n = "";
|
|
646
649
|
for (; t < e.length; )
|
|
647
|
-
(r = e[t++]) && (o =
|
|
650
|
+
(r = e[t++]) && (o = pt(r)) && (n && (n += " "), n += o);
|
|
648
651
|
return n;
|
|
649
|
-
},
|
|
652
|
+
}, pt = (e) => {
|
|
650
653
|
if (typeof e == "string")
|
|
651
654
|
return e;
|
|
652
655
|
let t, r = "";
|
|
653
656
|
for (let o = 0; o < e.length; o++)
|
|
654
|
-
e[o] && (t =
|
|
657
|
+
e[o] && (t = pt(e[o])) && (r && (r += " "), r += t);
|
|
655
658
|
return r;
|
|
656
|
-
},
|
|
659
|
+
}, Ir = (e, ...t) => {
|
|
657
660
|
let r, o, n, s;
|
|
658
|
-
const
|
|
659
|
-
const
|
|
660
|
-
return r =
|
|
661
|
-
},
|
|
662
|
-
const
|
|
663
|
-
if (
|
|
664
|
-
return
|
|
665
|
-
const
|
|
666
|
-
return n(
|
|
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;
|
|
667
670
|
};
|
|
668
|
-
return s =
|
|
669
|
-
},
|
|
670
|
-
const t = (r) => r[e] ||
|
|
671
|
+
return s = a, (...l) => s(Ar(...l));
|
|
672
|
+
}, Nr = [], $ = (e) => {
|
|
673
|
+
const t = (r) => r[e] || Nr;
|
|
671
674
|
return t.isThemeGetter = !0, t;
|
|
672
|
-
},
|
|
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) => (
|
|
673
676
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
674
677
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
675
678
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
676
|
-
|
|
677
|
-
),
|
|
678
|
-
const o =
|
|
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);
|
|
679
682
|
return o ? o[1] ? t(o[1]) : r(o[2]) : !1;
|
|
680
|
-
},
|
|
681
|
-
const o =
|
|
683
|
+
}, ie = (e, t, r = !1) => {
|
|
684
|
+
const o = bt.exec(e);
|
|
682
685
|
return o ? o[1] ? t(o[1]) : r : !1;
|
|
683
|
-
},
|
|
684
|
-
const e =
|
|
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 = () => [
|
|
685
688
|
"center",
|
|
686
689
|
"top",
|
|
687
690
|
"bottom",
|
|
@@ -699,51 +702,51 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
699
702
|
"bottom-left",
|
|
700
703
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
701
704
|
"left-bottom"
|
|
702
|
-
],
|
|
703
|
-
span: ["full",
|
|
704
|
-
},
|
|
705
|
-
position: [
|
|
706
|
-
}],
|
|
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", {
|
|
707
710
|
repeat: ["", "x", "y", "space", "round"]
|
|
708
|
-
}],
|
|
709
|
-
size: [
|
|
710
|
-
}],
|
|
711
|
+
}], d = () => ["auto", "cover", "contain", Yr, Wr, {
|
|
712
|
+
size: [g, p]
|
|
713
|
+
}], k = () => [Ne, fe, ee], _ = () => [
|
|
711
714
|
// Deprecated since Tailwind CSS v4.0.0
|
|
712
715
|
"",
|
|
713
716
|
"none",
|
|
714
717
|
"full",
|
|
715
|
-
f,
|
|
716
718
|
u,
|
|
717
|
-
|
|
718
|
-
|
|
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 = () => [
|
|
719
722
|
// Deprecated since Tailwind CSS v4.0.0
|
|
720
723
|
"",
|
|
721
724
|
"none",
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
],
|
|
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()];
|
|
726
729
|
return {
|
|
727
730
|
cacheSize: 500,
|
|
728
731
|
theme: {
|
|
729
732
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
730
733
|
aspect: ["video"],
|
|
731
|
-
blur: [
|
|
732
|
-
breakpoint: [
|
|
733
|
-
color: [
|
|
734
|
-
container: [
|
|
735
|
-
"drop-shadow": [
|
|
734
|
+
blur: [H],
|
|
735
|
+
breakpoint: [H],
|
|
736
|
+
color: [$r],
|
|
737
|
+
container: [H],
|
|
738
|
+
"drop-shadow": [H],
|
|
736
739
|
ease: ["in", "out", "in-out"],
|
|
737
|
-
font: [
|
|
740
|
+
font: [Gr],
|
|
738
741
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
739
|
-
"inset-shadow": [
|
|
742
|
+
"inset-shadow": [H],
|
|
740
743
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
741
744
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
742
|
-
radius: [
|
|
743
|
-
shadow: [
|
|
744
|
-
spacing: ["px",
|
|
745
|
-
text: [
|
|
746
|
-
"text-shadow": [
|
|
745
|
+
radius: [H],
|
|
746
|
+
shadow: [H],
|
|
747
|
+
spacing: ["px", S],
|
|
748
|
+
text: [H],
|
|
749
|
+
"text-shadow": [H],
|
|
747
750
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
748
751
|
},
|
|
749
752
|
classGroups: {
|
|
@@ -755,7 +758,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
755
758
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
756
759
|
*/
|
|
757
760
|
aspect: [{
|
|
758
|
-
aspect: ["auto", "square",
|
|
761
|
+
aspect: ["auto", "square", se, p, g, b]
|
|
759
762
|
}],
|
|
760
763
|
/**
|
|
761
764
|
* Container
|
|
@@ -768,21 +771,21 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
768
771
|
* @see https://tailwindcss.com/docs/columns
|
|
769
772
|
*/
|
|
770
773
|
columns: [{
|
|
771
|
-
columns: [
|
|
774
|
+
columns: [S, p, g, i]
|
|
772
775
|
}],
|
|
773
776
|
/**
|
|
774
777
|
* Break After
|
|
775
778
|
* @see https://tailwindcss.com/docs/break-after
|
|
776
779
|
*/
|
|
777
780
|
"break-after": [{
|
|
778
|
-
"break-after":
|
|
781
|
+
"break-after": A()
|
|
779
782
|
}],
|
|
780
783
|
/**
|
|
781
784
|
* Break Before
|
|
782
785
|
* @see https://tailwindcss.com/docs/break-before
|
|
783
786
|
*/
|
|
784
787
|
"break-before": [{
|
|
785
|
-
"break-before":
|
|
788
|
+
"break-before": A()
|
|
786
789
|
}],
|
|
787
790
|
/**
|
|
788
791
|
* Break Inside
|
|
@@ -846,7 +849,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
846
849
|
* @see https://tailwindcss.com/docs/object-position
|
|
847
850
|
*/
|
|
848
851
|
"object-position": [{
|
|
849
|
-
object:
|
|
852
|
+
object: O()
|
|
850
853
|
}],
|
|
851
854
|
/**
|
|
852
855
|
* Overflow
|
|
@@ -874,21 +877,21 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
874
877
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
875
878
|
*/
|
|
876
879
|
overscroll: [{
|
|
877
|
-
overscroll:
|
|
880
|
+
overscroll: L()
|
|
878
881
|
}],
|
|
879
882
|
/**
|
|
880
883
|
* Overscroll Behavior X
|
|
881
884
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
882
885
|
*/
|
|
883
886
|
"overscroll-x": [{
|
|
884
|
-
"overscroll-x":
|
|
887
|
+
"overscroll-x": L()
|
|
885
888
|
}],
|
|
886
889
|
/**
|
|
887
890
|
* Overscroll Behavior Y
|
|
888
891
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
889
892
|
*/
|
|
890
893
|
"overscroll-y": [{
|
|
891
|
-
"overscroll-y":
|
|
894
|
+
"overscroll-y": L()
|
|
892
895
|
}],
|
|
893
896
|
/**
|
|
894
897
|
* Position
|
|
@@ -900,63 +903,63 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
900
903
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
901
904
|
*/
|
|
902
905
|
inset: [{
|
|
903
|
-
inset:
|
|
906
|
+
inset: V()
|
|
904
907
|
}],
|
|
905
908
|
/**
|
|
906
909
|
* Right / Left
|
|
907
910
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
908
911
|
*/
|
|
909
912
|
"inset-x": [{
|
|
910
|
-
"inset-x":
|
|
913
|
+
"inset-x": V()
|
|
911
914
|
}],
|
|
912
915
|
/**
|
|
913
916
|
* Top / Bottom
|
|
914
917
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
915
918
|
*/
|
|
916
919
|
"inset-y": [{
|
|
917
|
-
"inset-y":
|
|
920
|
+
"inset-y": V()
|
|
918
921
|
}],
|
|
919
922
|
/**
|
|
920
923
|
* Start
|
|
921
924
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
922
925
|
*/
|
|
923
926
|
start: [{
|
|
924
|
-
start:
|
|
927
|
+
start: V()
|
|
925
928
|
}],
|
|
926
929
|
/**
|
|
927
930
|
* End
|
|
928
931
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
929
932
|
*/
|
|
930
933
|
end: [{
|
|
931
|
-
end:
|
|
934
|
+
end: V()
|
|
932
935
|
}],
|
|
933
936
|
/**
|
|
934
937
|
* Top
|
|
935
938
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
936
939
|
*/
|
|
937
940
|
top: [{
|
|
938
|
-
top:
|
|
941
|
+
top: V()
|
|
939
942
|
}],
|
|
940
943
|
/**
|
|
941
944
|
* Right
|
|
942
945
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
943
946
|
*/
|
|
944
947
|
right: [{
|
|
945
|
-
right:
|
|
948
|
+
right: V()
|
|
946
949
|
}],
|
|
947
950
|
/**
|
|
948
951
|
* Bottom
|
|
949
952
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
950
953
|
*/
|
|
951
954
|
bottom: [{
|
|
952
|
-
bottom:
|
|
955
|
+
bottom: V()
|
|
953
956
|
}],
|
|
954
957
|
/**
|
|
955
958
|
* Left
|
|
956
959
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
957
960
|
*/
|
|
958
961
|
left: [{
|
|
959
|
-
left:
|
|
962
|
+
left: V()
|
|
960
963
|
}],
|
|
961
964
|
/**
|
|
962
965
|
* Visibility
|
|
@@ -968,7 +971,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
968
971
|
* @see https://tailwindcss.com/docs/z-index
|
|
969
972
|
*/
|
|
970
973
|
z: [{
|
|
971
|
-
z: [
|
|
974
|
+
z: [X, "auto", g, p]
|
|
972
975
|
}],
|
|
973
976
|
// ------------------------
|
|
974
977
|
// --- Flexbox and Grid ---
|
|
@@ -978,7 +981,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
978
981
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
979
982
|
*/
|
|
980
983
|
basis: [{
|
|
981
|
-
basis: [
|
|
984
|
+
basis: [se, "full", "auto", i, ...v()]
|
|
982
985
|
}],
|
|
983
986
|
/**
|
|
984
987
|
* Flex Direction
|
|
@@ -999,84 +1002,84 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
999
1002
|
* @see https://tailwindcss.com/docs/flex
|
|
1000
1003
|
*/
|
|
1001
1004
|
flex: [{
|
|
1002
|
-
flex: [
|
|
1005
|
+
flex: [S, se, "auto", "initial", "none", p]
|
|
1003
1006
|
}],
|
|
1004
1007
|
/**
|
|
1005
1008
|
* Flex Grow
|
|
1006
1009
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
1007
1010
|
*/
|
|
1008
1011
|
grow: [{
|
|
1009
|
-
grow: ["",
|
|
1012
|
+
grow: ["", S, g, p]
|
|
1010
1013
|
}],
|
|
1011
1014
|
/**
|
|
1012
1015
|
* Flex Shrink
|
|
1013
1016
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1014
1017
|
*/
|
|
1015
1018
|
shrink: [{
|
|
1016
|
-
shrink: ["",
|
|
1019
|
+
shrink: ["", S, g, p]
|
|
1017
1020
|
}],
|
|
1018
1021
|
/**
|
|
1019
1022
|
* Order
|
|
1020
1023
|
* @see https://tailwindcss.com/docs/order
|
|
1021
1024
|
*/
|
|
1022
1025
|
order: [{
|
|
1023
|
-
order: [
|
|
1026
|
+
order: [X, "first", "last", "none", g, p]
|
|
1024
1027
|
}],
|
|
1025
1028
|
/**
|
|
1026
1029
|
* Grid Template Columns
|
|
1027
1030
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1028
1031
|
*/
|
|
1029
1032
|
"grid-cols": [{
|
|
1030
|
-
"grid-cols":
|
|
1033
|
+
"grid-cols": Z()
|
|
1031
1034
|
}],
|
|
1032
1035
|
/**
|
|
1033
1036
|
* Grid Column Start / End
|
|
1034
1037
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1035
1038
|
*/
|
|
1036
1039
|
"col-start-end": [{
|
|
1037
|
-
col:
|
|
1040
|
+
col: q()
|
|
1038
1041
|
}],
|
|
1039
1042
|
/**
|
|
1040
1043
|
* Grid Column Start
|
|
1041
1044
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1042
1045
|
*/
|
|
1043
1046
|
"col-start": [{
|
|
1044
|
-
"col-start":
|
|
1047
|
+
"col-start": W()
|
|
1045
1048
|
}],
|
|
1046
1049
|
/**
|
|
1047
1050
|
* Grid Column End
|
|
1048
1051
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1049
1052
|
*/
|
|
1050
1053
|
"col-end": [{
|
|
1051
|
-
"col-end":
|
|
1054
|
+
"col-end": W()
|
|
1052
1055
|
}],
|
|
1053
1056
|
/**
|
|
1054
1057
|
* Grid Template Rows
|
|
1055
1058
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1056
1059
|
*/
|
|
1057
1060
|
"grid-rows": [{
|
|
1058
|
-
"grid-rows":
|
|
1061
|
+
"grid-rows": Z()
|
|
1059
1062
|
}],
|
|
1060
1063
|
/**
|
|
1061
1064
|
* Grid Row Start / End
|
|
1062
1065
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1063
1066
|
*/
|
|
1064
1067
|
"row-start-end": [{
|
|
1065
|
-
row:
|
|
1068
|
+
row: q()
|
|
1066
1069
|
}],
|
|
1067
1070
|
/**
|
|
1068
1071
|
* Grid Row Start
|
|
1069
1072
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1070
1073
|
*/
|
|
1071
1074
|
"row-start": [{
|
|
1072
|
-
"row-start":
|
|
1075
|
+
"row-start": W()
|
|
1073
1076
|
}],
|
|
1074
1077
|
/**
|
|
1075
1078
|
* Grid Row End
|
|
1076
1079
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1077
1080
|
*/
|
|
1078
1081
|
"row-end": [{
|
|
1079
|
-
"row-end":
|
|
1082
|
+
"row-end": W()
|
|
1080
1083
|
}],
|
|
1081
1084
|
/**
|
|
1082
1085
|
* Grid Auto Flow
|
|
@@ -1090,42 +1093,42 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1090
1093
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1091
1094
|
*/
|
|
1092
1095
|
"auto-cols": [{
|
|
1093
|
-
"auto-cols":
|
|
1096
|
+
"auto-cols": Q()
|
|
1094
1097
|
}],
|
|
1095
1098
|
/**
|
|
1096
1099
|
* Grid Auto Rows
|
|
1097
1100
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1098
1101
|
*/
|
|
1099
1102
|
"auto-rows": [{
|
|
1100
|
-
"auto-rows":
|
|
1103
|
+
"auto-rows": Q()
|
|
1101
1104
|
}],
|
|
1102
1105
|
/**
|
|
1103
1106
|
* Gap
|
|
1104
1107
|
* @see https://tailwindcss.com/docs/gap
|
|
1105
1108
|
*/
|
|
1106
1109
|
gap: [{
|
|
1107
|
-
gap:
|
|
1110
|
+
gap: v()
|
|
1108
1111
|
}],
|
|
1109
1112
|
/**
|
|
1110
1113
|
* Gap X
|
|
1111
1114
|
* @see https://tailwindcss.com/docs/gap
|
|
1112
1115
|
*/
|
|
1113
1116
|
"gap-x": [{
|
|
1114
|
-
"gap-x":
|
|
1117
|
+
"gap-x": v()
|
|
1115
1118
|
}],
|
|
1116
1119
|
/**
|
|
1117
1120
|
* Gap Y
|
|
1118
1121
|
* @see https://tailwindcss.com/docs/gap
|
|
1119
1122
|
*/
|
|
1120
1123
|
"gap-y": [{
|
|
1121
|
-
"gap-y":
|
|
1124
|
+
"gap-y": v()
|
|
1122
1125
|
}],
|
|
1123
1126
|
/**
|
|
1124
1127
|
* Justify Content
|
|
1125
1128
|
* @see https://tailwindcss.com/docs/justify-content
|
|
1126
1129
|
*/
|
|
1127
1130
|
"justify-content": [{
|
|
1128
|
-
justify: [...
|
|
1131
|
+
justify: [...re(), "normal"]
|
|
1129
1132
|
}],
|
|
1130
1133
|
/**
|
|
1131
1134
|
* Justify Items
|
|
@@ -1146,7 +1149,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1146
1149
|
* @see https://tailwindcss.com/docs/align-content
|
|
1147
1150
|
*/
|
|
1148
1151
|
"align-content": [{
|
|
1149
|
-
content: ["normal", ...
|
|
1152
|
+
content: ["normal", ...re()]
|
|
1150
1153
|
}],
|
|
1151
1154
|
/**
|
|
1152
1155
|
* Align Items
|
|
@@ -1171,7 +1174,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1171
1174
|
* @see https://tailwindcss.com/docs/place-content
|
|
1172
1175
|
*/
|
|
1173
1176
|
"place-content": [{
|
|
1174
|
-
"place-content":
|
|
1177
|
+
"place-content": re()
|
|
1175
1178
|
}],
|
|
1176
1179
|
/**
|
|
1177
1180
|
* Place Items
|
|
@@ -1193,133 +1196,133 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1193
1196
|
* @see https://tailwindcss.com/docs/padding
|
|
1194
1197
|
*/
|
|
1195
1198
|
p: [{
|
|
1196
|
-
p:
|
|
1199
|
+
p: v()
|
|
1197
1200
|
}],
|
|
1198
1201
|
/**
|
|
1199
1202
|
* Padding X
|
|
1200
1203
|
* @see https://tailwindcss.com/docs/padding
|
|
1201
1204
|
*/
|
|
1202
1205
|
px: [{
|
|
1203
|
-
px:
|
|
1206
|
+
px: v()
|
|
1204
1207
|
}],
|
|
1205
1208
|
/**
|
|
1206
1209
|
* Padding Y
|
|
1207
1210
|
* @see https://tailwindcss.com/docs/padding
|
|
1208
1211
|
*/
|
|
1209
1212
|
py: [{
|
|
1210
|
-
py:
|
|
1213
|
+
py: v()
|
|
1211
1214
|
}],
|
|
1212
1215
|
/**
|
|
1213
1216
|
* Padding Start
|
|
1214
1217
|
* @see https://tailwindcss.com/docs/padding
|
|
1215
1218
|
*/
|
|
1216
1219
|
ps: [{
|
|
1217
|
-
ps:
|
|
1220
|
+
ps: v()
|
|
1218
1221
|
}],
|
|
1219
1222
|
/**
|
|
1220
1223
|
* Padding End
|
|
1221
1224
|
* @see https://tailwindcss.com/docs/padding
|
|
1222
1225
|
*/
|
|
1223
1226
|
pe: [{
|
|
1224
|
-
pe:
|
|
1227
|
+
pe: v()
|
|
1225
1228
|
}],
|
|
1226
1229
|
/**
|
|
1227
1230
|
* Padding Top
|
|
1228
1231
|
* @see https://tailwindcss.com/docs/padding
|
|
1229
1232
|
*/
|
|
1230
1233
|
pt: [{
|
|
1231
|
-
pt:
|
|
1234
|
+
pt: v()
|
|
1232
1235
|
}],
|
|
1233
1236
|
/**
|
|
1234
1237
|
* Padding Right
|
|
1235
1238
|
* @see https://tailwindcss.com/docs/padding
|
|
1236
1239
|
*/
|
|
1237
1240
|
pr: [{
|
|
1238
|
-
pr:
|
|
1241
|
+
pr: v()
|
|
1239
1242
|
}],
|
|
1240
1243
|
/**
|
|
1241
1244
|
* Padding Bottom
|
|
1242
1245
|
* @see https://tailwindcss.com/docs/padding
|
|
1243
1246
|
*/
|
|
1244
1247
|
pb: [{
|
|
1245
|
-
pb:
|
|
1248
|
+
pb: v()
|
|
1246
1249
|
}],
|
|
1247
1250
|
/**
|
|
1248
1251
|
* Padding Left
|
|
1249
1252
|
* @see https://tailwindcss.com/docs/padding
|
|
1250
1253
|
*/
|
|
1251
1254
|
pl: [{
|
|
1252
|
-
pl:
|
|
1255
|
+
pl: v()
|
|
1253
1256
|
}],
|
|
1254
1257
|
/**
|
|
1255
1258
|
* Margin
|
|
1256
1259
|
* @see https://tailwindcss.com/docs/margin
|
|
1257
1260
|
*/
|
|
1258
1261
|
m: [{
|
|
1259
|
-
m:
|
|
1262
|
+
m: M()
|
|
1260
1263
|
}],
|
|
1261
1264
|
/**
|
|
1262
1265
|
* Margin X
|
|
1263
1266
|
* @see https://tailwindcss.com/docs/margin
|
|
1264
1267
|
*/
|
|
1265
1268
|
mx: [{
|
|
1266
|
-
mx:
|
|
1269
|
+
mx: M()
|
|
1267
1270
|
}],
|
|
1268
1271
|
/**
|
|
1269
1272
|
* Margin Y
|
|
1270
1273
|
* @see https://tailwindcss.com/docs/margin
|
|
1271
1274
|
*/
|
|
1272
1275
|
my: [{
|
|
1273
|
-
my:
|
|
1276
|
+
my: M()
|
|
1274
1277
|
}],
|
|
1275
1278
|
/**
|
|
1276
1279
|
* Margin Start
|
|
1277
1280
|
* @see https://tailwindcss.com/docs/margin
|
|
1278
1281
|
*/
|
|
1279
1282
|
ms: [{
|
|
1280
|
-
ms:
|
|
1283
|
+
ms: M()
|
|
1281
1284
|
}],
|
|
1282
1285
|
/**
|
|
1283
1286
|
* Margin End
|
|
1284
1287
|
* @see https://tailwindcss.com/docs/margin
|
|
1285
1288
|
*/
|
|
1286
1289
|
me: [{
|
|
1287
|
-
me:
|
|
1290
|
+
me: M()
|
|
1288
1291
|
}],
|
|
1289
1292
|
/**
|
|
1290
1293
|
* Margin Top
|
|
1291
1294
|
* @see https://tailwindcss.com/docs/margin
|
|
1292
1295
|
*/
|
|
1293
1296
|
mt: [{
|
|
1294
|
-
mt:
|
|
1297
|
+
mt: M()
|
|
1295
1298
|
}],
|
|
1296
1299
|
/**
|
|
1297
1300
|
* Margin Right
|
|
1298
1301
|
* @see https://tailwindcss.com/docs/margin
|
|
1299
1302
|
*/
|
|
1300
1303
|
mr: [{
|
|
1301
|
-
mr:
|
|
1304
|
+
mr: M()
|
|
1302
1305
|
}],
|
|
1303
1306
|
/**
|
|
1304
1307
|
* Margin Bottom
|
|
1305
1308
|
* @see https://tailwindcss.com/docs/margin
|
|
1306
1309
|
*/
|
|
1307
1310
|
mb: [{
|
|
1308
|
-
mb:
|
|
1311
|
+
mb: M()
|
|
1309
1312
|
}],
|
|
1310
1313
|
/**
|
|
1311
1314
|
* Margin Left
|
|
1312
1315
|
* @see https://tailwindcss.com/docs/margin
|
|
1313
1316
|
*/
|
|
1314
1317
|
ml: [{
|
|
1315
|
-
ml:
|
|
1318
|
+
ml: M()
|
|
1316
1319
|
}],
|
|
1317
1320
|
/**
|
|
1318
1321
|
* Space Between X
|
|
1319
1322
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1320
1323
|
*/
|
|
1321
1324
|
"space-x": [{
|
|
1322
|
-
"space-x":
|
|
1325
|
+
"space-x": v()
|
|
1323
1326
|
}],
|
|
1324
1327
|
/**
|
|
1325
1328
|
* Space Between X Reverse
|
|
@@ -1331,7 +1334,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1331
1334
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1332
1335
|
*/
|
|
1333
1336
|
"space-y": [{
|
|
1334
|
-
"space-y":
|
|
1337
|
+
"space-y": v()
|
|
1335
1338
|
}],
|
|
1336
1339
|
/**
|
|
1337
1340
|
* Space Between Y Reverse
|
|
@@ -1346,14 +1349,14 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1346
1349
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1347
1350
|
*/
|
|
1348
1351
|
size: [{
|
|
1349
|
-
size:
|
|
1352
|
+
size: U()
|
|
1350
1353
|
}],
|
|
1351
1354
|
/**
|
|
1352
1355
|
* Width
|
|
1353
1356
|
* @see https://tailwindcss.com/docs/width
|
|
1354
1357
|
*/
|
|
1355
1358
|
w: [{
|
|
1356
|
-
w: [
|
|
1359
|
+
w: [i, "screen", ...U()]
|
|
1357
1360
|
}],
|
|
1358
1361
|
/**
|
|
1359
1362
|
* Min-Width
|
|
@@ -1361,11 +1364,11 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1361
1364
|
*/
|
|
1362
1365
|
"min-w": [{
|
|
1363
1366
|
"min-w": [
|
|
1364
|
-
|
|
1367
|
+
i,
|
|
1365
1368
|
"screen",
|
|
1366
1369
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1367
1370
|
"none",
|
|
1368
|
-
...
|
|
1371
|
+
...U()
|
|
1369
1372
|
]
|
|
1370
1373
|
}],
|
|
1371
1374
|
/**
|
|
@@ -1374,16 +1377,16 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1374
1377
|
*/
|
|
1375
1378
|
"max-w": [{
|
|
1376
1379
|
"max-w": [
|
|
1377
|
-
|
|
1380
|
+
i,
|
|
1378
1381
|
"screen",
|
|
1379
1382
|
"none",
|
|
1380
1383
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1381
1384
|
"prose",
|
|
1382
1385
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1383
1386
|
{
|
|
1384
|
-
screen: [
|
|
1387
|
+
screen: [a]
|
|
1385
1388
|
},
|
|
1386
|
-
...
|
|
1389
|
+
...U()
|
|
1387
1390
|
]
|
|
1388
1391
|
}],
|
|
1389
1392
|
/**
|
|
@@ -1391,21 +1394,21 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1391
1394
|
* @see https://tailwindcss.com/docs/height
|
|
1392
1395
|
*/
|
|
1393
1396
|
h: [{
|
|
1394
|
-
h: ["screen", "lh", ...
|
|
1397
|
+
h: ["screen", "lh", ...U()]
|
|
1395
1398
|
}],
|
|
1396
1399
|
/**
|
|
1397
1400
|
* Min-Height
|
|
1398
1401
|
* @see https://tailwindcss.com/docs/min-height
|
|
1399
1402
|
*/
|
|
1400
1403
|
"min-h": [{
|
|
1401
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1404
|
+
"min-h": ["screen", "lh", "none", ...U()]
|
|
1402
1405
|
}],
|
|
1403
1406
|
/**
|
|
1404
1407
|
* Max-Height
|
|
1405
1408
|
* @see https://tailwindcss.com/docs/max-height
|
|
1406
1409
|
*/
|
|
1407
1410
|
"max-h": [{
|
|
1408
|
-
"max-h": ["screen", "lh", ...
|
|
1411
|
+
"max-h": ["screen", "lh", ...U()]
|
|
1409
1412
|
}],
|
|
1410
1413
|
// ------------------
|
|
1411
1414
|
// --- Typography ---
|
|
@@ -1415,7 +1418,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1415
1418
|
* @see https://tailwindcss.com/docs/font-size
|
|
1416
1419
|
*/
|
|
1417
1420
|
"font-size": [{
|
|
1418
|
-
text: ["base", r,
|
|
1421
|
+
text: ["base", r, fe, ee]
|
|
1419
1422
|
}],
|
|
1420
1423
|
/**
|
|
1421
1424
|
* Font Smoothing
|
|
@@ -1432,21 +1435,21 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1432
1435
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1433
1436
|
*/
|
|
1434
1437
|
"font-weight": [{
|
|
1435
|
-
font: [o,
|
|
1438
|
+
font: [o, g, Pe]
|
|
1436
1439
|
}],
|
|
1437
1440
|
/**
|
|
1438
1441
|
* Font Stretch
|
|
1439
1442
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1440
1443
|
*/
|
|
1441
1444
|
"font-stretch": [{
|
|
1442
|
-
"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]
|
|
1443
1446
|
}],
|
|
1444
1447
|
/**
|
|
1445
1448
|
* Font Family
|
|
1446
1449
|
* @see https://tailwindcss.com/docs/font-family
|
|
1447
1450
|
*/
|
|
1448
1451
|
"font-family": [{
|
|
1449
|
-
font: [
|
|
1452
|
+
font: [Br, p, t]
|
|
1450
1453
|
}],
|
|
1451
1454
|
/**
|
|
1452
1455
|
* Font Variant Numeric
|
|
@@ -1483,14 +1486,14 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1483
1486
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1484
1487
|
*/
|
|
1485
1488
|
tracking: [{
|
|
1486
|
-
tracking: [n,
|
|
1489
|
+
tracking: [n, g, p]
|
|
1487
1490
|
}],
|
|
1488
1491
|
/**
|
|
1489
1492
|
* Line Clamp
|
|
1490
1493
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1491
1494
|
*/
|
|
1492
1495
|
"line-clamp": [{
|
|
1493
|
-
"line-clamp": [
|
|
1496
|
+
"line-clamp": [S, "none", g, Pe]
|
|
1494
1497
|
}],
|
|
1495
1498
|
/**
|
|
1496
1499
|
* Line Height
|
|
@@ -1500,7 +1503,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1500
1503
|
leading: [
|
|
1501
1504
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1502
1505
|
s,
|
|
1503
|
-
...
|
|
1506
|
+
...v()
|
|
1504
1507
|
]
|
|
1505
1508
|
}],
|
|
1506
1509
|
/**
|
|
@@ -1508,7 +1511,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1508
1511
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1509
1512
|
*/
|
|
1510
1513
|
"list-image": [{
|
|
1511
|
-
"list-image": ["none",
|
|
1514
|
+
"list-image": ["none", g, p]
|
|
1512
1515
|
}],
|
|
1513
1516
|
/**
|
|
1514
1517
|
* List Style Position
|
|
@@ -1522,7 +1525,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1522
1525
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1523
1526
|
*/
|
|
1524
1527
|
"list-style-type": [{
|
|
1525
|
-
list: ["disc", "decimal", "none",
|
|
1528
|
+
list: ["disc", "decimal", "none", g, p]
|
|
1526
1529
|
}],
|
|
1527
1530
|
/**
|
|
1528
1531
|
* Text Alignment
|
|
@@ -1537,14 +1540,14 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1537
1540
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1538
1541
|
*/
|
|
1539
1542
|
"placeholder-color": [{
|
|
1540
|
-
placeholder:
|
|
1543
|
+
placeholder: w()
|
|
1541
1544
|
}],
|
|
1542
1545
|
/**
|
|
1543
1546
|
* Text Color
|
|
1544
1547
|
* @see https://tailwindcss.com/docs/text-color
|
|
1545
1548
|
*/
|
|
1546
1549
|
"text-color": [{
|
|
1547
|
-
text:
|
|
1550
|
+
text: w()
|
|
1548
1551
|
}],
|
|
1549
1552
|
/**
|
|
1550
1553
|
* Text Decoration
|
|
@@ -1556,28 +1559,28 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1556
1559
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1557
1560
|
*/
|
|
1558
1561
|
"text-decoration-style": [{
|
|
1559
|
-
decoration: [...
|
|
1562
|
+
decoration: [...B(), "wavy"]
|
|
1560
1563
|
}],
|
|
1561
1564
|
/**
|
|
1562
1565
|
* Text Decoration Thickness
|
|
1563
1566
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1564
1567
|
*/
|
|
1565
1568
|
"text-decoration-thickness": [{
|
|
1566
|
-
decoration: [
|
|
1569
|
+
decoration: [S, "from-font", "auto", g, ee]
|
|
1567
1570
|
}],
|
|
1568
1571
|
/**
|
|
1569
1572
|
* Text Decoration Color
|
|
1570
1573
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1571
1574
|
*/
|
|
1572
1575
|
"text-decoration-color": [{
|
|
1573
|
-
decoration:
|
|
1576
|
+
decoration: w()
|
|
1574
1577
|
}],
|
|
1575
1578
|
/**
|
|
1576
1579
|
* Text Underline Offset
|
|
1577
1580
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1578
1581
|
*/
|
|
1579
1582
|
"underline-offset": [{
|
|
1580
|
-
"underline-offset": [
|
|
1583
|
+
"underline-offset": [S, "auto", g, p]
|
|
1581
1584
|
}],
|
|
1582
1585
|
/**
|
|
1583
1586
|
* Text Transform
|
|
@@ -1601,14 +1604,14 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1601
1604
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1602
1605
|
*/
|
|
1603
1606
|
indent: [{
|
|
1604
|
-
indent:
|
|
1607
|
+
indent: v()
|
|
1605
1608
|
}],
|
|
1606
1609
|
/**
|
|
1607
1610
|
* Vertical Alignment
|
|
1608
1611
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1609
1612
|
*/
|
|
1610
1613
|
"vertical-align": [{
|
|
1611
|
-
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]
|
|
1612
1615
|
}],
|
|
1613
1616
|
/**
|
|
1614
1617
|
* Whitespace
|
|
@@ -1643,7 +1646,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1643
1646
|
* @see https://tailwindcss.com/docs/content
|
|
1644
1647
|
*/
|
|
1645
1648
|
content: [{
|
|
1646
|
-
content: ["none",
|
|
1649
|
+
content: ["none", g, p]
|
|
1647
1650
|
}],
|
|
1648
1651
|
// -------------------
|
|
1649
1652
|
// --- Backgrounds ---
|
|
@@ -1674,21 +1677,21 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1674
1677
|
* @see https://tailwindcss.com/docs/background-position
|
|
1675
1678
|
*/
|
|
1676
1679
|
"bg-position": [{
|
|
1677
|
-
bg:
|
|
1680
|
+
bg: le()
|
|
1678
1681
|
}],
|
|
1679
1682
|
/**
|
|
1680
1683
|
* Background Repeat
|
|
1681
1684
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1682
1685
|
*/
|
|
1683
1686
|
"bg-repeat": [{
|
|
1684
|
-
bg:
|
|
1687
|
+
bg: ce()
|
|
1685
1688
|
}],
|
|
1686
1689
|
/**
|
|
1687
1690
|
* Background Size
|
|
1688
1691
|
* @see https://tailwindcss.com/docs/background-size
|
|
1689
1692
|
*/
|
|
1690
1693
|
"bg-size": [{
|
|
1691
|
-
bg:
|
|
1694
|
+
bg: d()
|
|
1692
1695
|
}],
|
|
1693
1696
|
/**
|
|
1694
1697
|
* Background Image
|
|
@@ -1698,59 +1701,59 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1698
1701
|
bg: ["none", {
|
|
1699
1702
|
linear: [{
|
|
1700
1703
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1701
|
-
},
|
|
1702
|
-
radial: ["",
|
|
1703
|
-
conic: [
|
|
1704
|
-
},
|
|
1704
|
+
}, X, g, p],
|
|
1705
|
+
radial: ["", g, p],
|
|
1706
|
+
conic: [X, g, p]
|
|
1707
|
+
}, Hr, Ur]
|
|
1705
1708
|
}],
|
|
1706
1709
|
/**
|
|
1707
1710
|
* Background Color
|
|
1708
1711
|
* @see https://tailwindcss.com/docs/background-color
|
|
1709
1712
|
*/
|
|
1710
1713
|
"bg-color": [{
|
|
1711
|
-
bg:
|
|
1714
|
+
bg: w()
|
|
1712
1715
|
}],
|
|
1713
1716
|
/**
|
|
1714
1717
|
* Gradient Color Stops From Position
|
|
1715
1718
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1716
1719
|
*/
|
|
1717
1720
|
"gradient-from-pos": [{
|
|
1718
|
-
from:
|
|
1721
|
+
from: k()
|
|
1719
1722
|
}],
|
|
1720
1723
|
/**
|
|
1721
1724
|
* Gradient Color Stops Via Position
|
|
1722
1725
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1723
1726
|
*/
|
|
1724
1727
|
"gradient-via-pos": [{
|
|
1725
|
-
via:
|
|
1728
|
+
via: k()
|
|
1726
1729
|
}],
|
|
1727
1730
|
/**
|
|
1728
1731
|
* Gradient Color Stops To Position
|
|
1729
1732
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1730
1733
|
*/
|
|
1731
1734
|
"gradient-to-pos": [{
|
|
1732
|
-
to:
|
|
1735
|
+
to: k()
|
|
1733
1736
|
}],
|
|
1734
1737
|
/**
|
|
1735
1738
|
* Gradient Color Stops From
|
|
1736
1739
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1737
1740
|
*/
|
|
1738
1741
|
"gradient-from": [{
|
|
1739
|
-
from:
|
|
1742
|
+
from: w()
|
|
1740
1743
|
}],
|
|
1741
1744
|
/**
|
|
1742
1745
|
* Gradient Color Stops Via
|
|
1743
1746
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1744
1747
|
*/
|
|
1745
1748
|
"gradient-via": [{
|
|
1746
|
-
via:
|
|
1749
|
+
via: w()
|
|
1747
1750
|
}],
|
|
1748
1751
|
/**
|
|
1749
1752
|
* Gradient Color Stops To
|
|
1750
1753
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1751
1754
|
*/
|
|
1752
1755
|
"gradient-to": [{
|
|
1753
|
-
to:
|
|
1756
|
+
to: w()
|
|
1754
1757
|
}],
|
|
1755
1758
|
// ---------------
|
|
1756
1759
|
// --- Borders ---
|
|
@@ -1760,175 +1763,175 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1760
1763
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1761
1764
|
*/
|
|
1762
1765
|
rounded: [{
|
|
1763
|
-
rounded:
|
|
1766
|
+
rounded: _()
|
|
1764
1767
|
}],
|
|
1765
1768
|
/**
|
|
1766
1769
|
* Border Radius Start
|
|
1767
1770
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1768
1771
|
*/
|
|
1769
1772
|
"rounded-s": [{
|
|
1770
|
-
"rounded-s":
|
|
1773
|
+
"rounded-s": _()
|
|
1771
1774
|
}],
|
|
1772
1775
|
/**
|
|
1773
1776
|
* Border Radius End
|
|
1774
1777
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1775
1778
|
*/
|
|
1776
1779
|
"rounded-e": [{
|
|
1777
|
-
"rounded-e":
|
|
1780
|
+
"rounded-e": _()
|
|
1778
1781
|
}],
|
|
1779
1782
|
/**
|
|
1780
1783
|
* Border Radius Top
|
|
1781
1784
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1782
1785
|
*/
|
|
1783
1786
|
"rounded-t": [{
|
|
1784
|
-
"rounded-t":
|
|
1787
|
+
"rounded-t": _()
|
|
1785
1788
|
}],
|
|
1786
1789
|
/**
|
|
1787
1790
|
* Border Radius Right
|
|
1788
1791
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1789
1792
|
*/
|
|
1790
1793
|
"rounded-r": [{
|
|
1791
|
-
"rounded-r":
|
|
1794
|
+
"rounded-r": _()
|
|
1792
1795
|
}],
|
|
1793
1796
|
/**
|
|
1794
1797
|
* Border Radius Bottom
|
|
1795
1798
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1796
1799
|
*/
|
|
1797
1800
|
"rounded-b": [{
|
|
1798
|
-
"rounded-b":
|
|
1801
|
+
"rounded-b": _()
|
|
1799
1802
|
}],
|
|
1800
1803
|
/**
|
|
1801
1804
|
* Border Radius Left
|
|
1802
1805
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1803
1806
|
*/
|
|
1804
1807
|
"rounded-l": [{
|
|
1805
|
-
"rounded-l":
|
|
1808
|
+
"rounded-l": _()
|
|
1806
1809
|
}],
|
|
1807
1810
|
/**
|
|
1808
1811
|
* Border Radius Start Start
|
|
1809
1812
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1810
1813
|
*/
|
|
1811
1814
|
"rounded-ss": [{
|
|
1812
|
-
"rounded-ss":
|
|
1815
|
+
"rounded-ss": _()
|
|
1813
1816
|
}],
|
|
1814
1817
|
/**
|
|
1815
1818
|
* Border Radius Start End
|
|
1816
1819
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1817
1820
|
*/
|
|
1818
1821
|
"rounded-se": [{
|
|
1819
|
-
"rounded-se":
|
|
1822
|
+
"rounded-se": _()
|
|
1820
1823
|
}],
|
|
1821
1824
|
/**
|
|
1822
1825
|
* Border Radius End End
|
|
1823
1826
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1824
1827
|
*/
|
|
1825
1828
|
"rounded-ee": [{
|
|
1826
|
-
"rounded-ee":
|
|
1829
|
+
"rounded-ee": _()
|
|
1827
1830
|
}],
|
|
1828
1831
|
/**
|
|
1829
1832
|
* Border Radius End Start
|
|
1830
1833
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1831
1834
|
*/
|
|
1832
1835
|
"rounded-es": [{
|
|
1833
|
-
"rounded-es":
|
|
1836
|
+
"rounded-es": _()
|
|
1834
1837
|
}],
|
|
1835
1838
|
/**
|
|
1836
1839
|
* Border Radius Top Left
|
|
1837
1840
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1838
1841
|
*/
|
|
1839
1842
|
"rounded-tl": [{
|
|
1840
|
-
"rounded-tl":
|
|
1843
|
+
"rounded-tl": _()
|
|
1841
1844
|
}],
|
|
1842
1845
|
/**
|
|
1843
1846
|
* Border Radius Top Right
|
|
1844
1847
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1845
1848
|
*/
|
|
1846
1849
|
"rounded-tr": [{
|
|
1847
|
-
"rounded-tr":
|
|
1850
|
+
"rounded-tr": _()
|
|
1848
1851
|
}],
|
|
1849
1852
|
/**
|
|
1850
1853
|
* Border Radius Bottom Right
|
|
1851
1854
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1852
1855
|
*/
|
|
1853
1856
|
"rounded-br": [{
|
|
1854
|
-
"rounded-br":
|
|
1857
|
+
"rounded-br": _()
|
|
1855
1858
|
}],
|
|
1856
1859
|
/**
|
|
1857
1860
|
* Border Radius Bottom Left
|
|
1858
1861
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1859
1862
|
*/
|
|
1860
1863
|
"rounded-bl": [{
|
|
1861
|
-
"rounded-bl":
|
|
1864
|
+
"rounded-bl": _()
|
|
1862
1865
|
}],
|
|
1863
1866
|
/**
|
|
1864
1867
|
* Border Width
|
|
1865
1868
|
* @see https://tailwindcss.com/docs/border-width
|
|
1866
1869
|
*/
|
|
1867
1870
|
"border-w": [{
|
|
1868
|
-
border:
|
|
1871
|
+
border: N()
|
|
1869
1872
|
}],
|
|
1870
1873
|
/**
|
|
1871
1874
|
* Border Width X
|
|
1872
1875
|
* @see https://tailwindcss.com/docs/border-width
|
|
1873
1876
|
*/
|
|
1874
1877
|
"border-w-x": [{
|
|
1875
|
-
"border-x":
|
|
1878
|
+
"border-x": N()
|
|
1876
1879
|
}],
|
|
1877
1880
|
/**
|
|
1878
1881
|
* Border Width Y
|
|
1879
1882
|
* @see https://tailwindcss.com/docs/border-width
|
|
1880
1883
|
*/
|
|
1881
1884
|
"border-w-y": [{
|
|
1882
|
-
"border-y":
|
|
1885
|
+
"border-y": N()
|
|
1883
1886
|
}],
|
|
1884
1887
|
/**
|
|
1885
1888
|
* Border Width Start
|
|
1886
1889
|
* @see https://tailwindcss.com/docs/border-width
|
|
1887
1890
|
*/
|
|
1888
1891
|
"border-w-s": [{
|
|
1889
|
-
"border-s":
|
|
1892
|
+
"border-s": N()
|
|
1890
1893
|
}],
|
|
1891
1894
|
/**
|
|
1892
1895
|
* Border Width End
|
|
1893
1896
|
* @see https://tailwindcss.com/docs/border-width
|
|
1894
1897
|
*/
|
|
1895
1898
|
"border-w-e": [{
|
|
1896
|
-
"border-e":
|
|
1899
|
+
"border-e": N()
|
|
1897
1900
|
}],
|
|
1898
1901
|
/**
|
|
1899
1902
|
* Border Width Top
|
|
1900
1903
|
* @see https://tailwindcss.com/docs/border-width
|
|
1901
1904
|
*/
|
|
1902
1905
|
"border-w-t": [{
|
|
1903
|
-
"border-t":
|
|
1906
|
+
"border-t": N()
|
|
1904
1907
|
}],
|
|
1905
1908
|
/**
|
|
1906
1909
|
* Border Width Right
|
|
1907
1910
|
* @see https://tailwindcss.com/docs/border-width
|
|
1908
1911
|
*/
|
|
1909
1912
|
"border-w-r": [{
|
|
1910
|
-
"border-r":
|
|
1913
|
+
"border-r": N()
|
|
1911
1914
|
}],
|
|
1912
1915
|
/**
|
|
1913
1916
|
* Border Width Bottom
|
|
1914
1917
|
* @see https://tailwindcss.com/docs/border-width
|
|
1915
1918
|
*/
|
|
1916
1919
|
"border-w-b": [{
|
|
1917
|
-
"border-b":
|
|
1920
|
+
"border-b": N()
|
|
1918
1921
|
}],
|
|
1919
1922
|
/**
|
|
1920
1923
|
* Border Width Left
|
|
1921
1924
|
* @see https://tailwindcss.com/docs/border-width
|
|
1922
1925
|
*/
|
|
1923
1926
|
"border-w-l": [{
|
|
1924
|
-
"border-l":
|
|
1927
|
+
"border-l": N()
|
|
1925
1928
|
}],
|
|
1926
1929
|
/**
|
|
1927
1930
|
* Divide Width X
|
|
1928
1931
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1929
1932
|
*/
|
|
1930
1933
|
"divide-x": [{
|
|
1931
|
-
"divide-x":
|
|
1934
|
+
"divide-x": N()
|
|
1932
1935
|
}],
|
|
1933
1936
|
/**
|
|
1934
1937
|
* Divide Width X Reverse
|
|
@@ -1940,7 +1943,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1940
1943
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1941
1944
|
*/
|
|
1942
1945
|
"divide-y": [{
|
|
1943
|
-
"divide-y":
|
|
1946
|
+
"divide-y": N()
|
|
1944
1947
|
}],
|
|
1945
1948
|
/**
|
|
1946
1949
|
* Divide Width Y Reverse
|
|
@@ -1952,112 +1955,112 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
1952
1955
|
* @see https://tailwindcss.com/docs/border-style
|
|
1953
1956
|
*/
|
|
1954
1957
|
"border-style": [{
|
|
1955
|
-
border: [...
|
|
1958
|
+
border: [...B(), "hidden", "none"]
|
|
1956
1959
|
}],
|
|
1957
1960
|
/**
|
|
1958
1961
|
* Divide Style
|
|
1959
1962
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1960
1963
|
*/
|
|
1961
1964
|
"divide-style": [{
|
|
1962
|
-
divide: [...
|
|
1965
|
+
divide: [...B(), "hidden", "none"]
|
|
1963
1966
|
}],
|
|
1964
1967
|
/**
|
|
1965
1968
|
* Border Color
|
|
1966
1969
|
* @see https://tailwindcss.com/docs/border-color
|
|
1967
1970
|
*/
|
|
1968
1971
|
"border-color": [{
|
|
1969
|
-
border:
|
|
1972
|
+
border: w()
|
|
1970
1973
|
}],
|
|
1971
1974
|
/**
|
|
1972
1975
|
* Border Color X
|
|
1973
1976
|
* @see https://tailwindcss.com/docs/border-color
|
|
1974
1977
|
*/
|
|
1975
1978
|
"border-color-x": [{
|
|
1976
|
-
"border-x":
|
|
1979
|
+
"border-x": w()
|
|
1977
1980
|
}],
|
|
1978
1981
|
/**
|
|
1979
1982
|
* Border Color Y
|
|
1980
1983
|
* @see https://tailwindcss.com/docs/border-color
|
|
1981
1984
|
*/
|
|
1982
1985
|
"border-color-y": [{
|
|
1983
|
-
"border-y":
|
|
1986
|
+
"border-y": w()
|
|
1984
1987
|
}],
|
|
1985
1988
|
/**
|
|
1986
1989
|
* Border Color S
|
|
1987
1990
|
* @see https://tailwindcss.com/docs/border-color
|
|
1988
1991
|
*/
|
|
1989
1992
|
"border-color-s": [{
|
|
1990
|
-
"border-s":
|
|
1993
|
+
"border-s": w()
|
|
1991
1994
|
}],
|
|
1992
1995
|
/**
|
|
1993
1996
|
* Border Color E
|
|
1994
1997
|
* @see https://tailwindcss.com/docs/border-color
|
|
1995
1998
|
*/
|
|
1996
1999
|
"border-color-e": [{
|
|
1997
|
-
"border-e":
|
|
2000
|
+
"border-e": w()
|
|
1998
2001
|
}],
|
|
1999
2002
|
/**
|
|
2000
2003
|
* Border Color Top
|
|
2001
2004
|
* @see https://tailwindcss.com/docs/border-color
|
|
2002
2005
|
*/
|
|
2003
2006
|
"border-color-t": [{
|
|
2004
|
-
"border-t":
|
|
2007
|
+
"border-t": w()
|
|
2005
2008
|
}],
|
|
2006
2009
|
/**
|
|
2007
2010
|
* Border Color Right
|
|
2008
2011
|
* @see https://tailwindcss.com/docs/border-color
|
|
2009
2012
|
*/
|
|
2010
2013
|
"border-color-r": [{
|
|
2011
|
-
"border-r":
|
|
2014
|
+
"border-r": w()
|
|
2012
2015
|
}],
|
|
2013
2016
|
/**
|
|
2014
2017
|
* Border Color Bottom
|
|
2015
2018
|
* @see https://tailwindcss.com/docs/border-color
|
|
2016
2019
|
*/
|
|
2017
2020
|
"border-color-b": [{
|
|
2018
|
-
"border-b":
|
|
2021
|
+
"border-b": w()
|
|
2019
2022
|
}],
|
|
2020
2023
|
/**
|
|
2021
2024
|
* Border Color Left
|
|
2022
2025
|
* @see https://tailwindcss.com/docs/border-color
|
|
2023
2026
|
*/
|
|
2024
2027
|
"border-color-l": [{
|
|
2025
|
-
"border-l":
|
|
2028
|
+
"border-l": w()
|
|
2026
2029
|
}],
|
|
2027
2030
|
/**
|
|
2028
2031
|
* Divide Color
|
|
2029
2032
|
* @see https://tailwindcss.com/docs/divide-color
|
|
2030
2033
|
*/
|
|
2031
2034
|
"divide-color": [{
|
|
2032
|
-
divide:
|
|
2035
|
+
divide: w()
|
|
2033
2036
|
}],
|
|
2034
2037
|
/**
|
|
2035
2038
|
* Outline Style
|
|
2036
2039
|
* @see https://tailwindcss.com/docs/outline-style
|
|
2037
2040
|
*/
|
|
2038
2041
|
"outline-style": [{
|
|
2039
|
-
outline: [...
|
|
2042
|
+
outline: [...B(), "none", "hidden"]
|
|
2040
2043
|
}],
|
|
2041
2044
|
/**
|
|
2042
2045
|
* Outline Offset
|
|
2043
2046
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2044
2047
|
*/
|
|
2045
2048
|
"outline-offset": [{
|
|
2046
|
-
"outline-offset": [
|
|
2049
|
+
"outline-offset": [S, g, p]
|
|
2047
2050
|
}],
|
|
2048
2051
|
/**
|
|
2049
2052
|
* Outline Width
|
|
2050
2053
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2051
2054
|
*/
|
|
2052
2055
|
"outline-w": [{
|
|
2053
|
-
outline: ["",
|
|
2056
|
+
outline: ["", S, fe, ee]
|
|
2054
2057
|
}],
|
|
2055
2058
|
/**
|
|
2056
2059
|
* Outline Color
|
|
2057
2060
|
* @see https://tailwindcss.com/docs/outline-color
|
|
2058
2061
|
*/
|
|
2059
2062
|
"outline-color": [{
|
|
2060
|
-
outline:
|
|
2063
|
+
outline: w()
|
|
2061
2064
|
}],
|
|
2062
2065
|
// ---------------
|
|
2063
2066
|
// --- Effects ---
|
|
@@ -2071,9 +2074,9 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2071
2074
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2072
2075
|
"",
|
|
2073
2076
|
"none",
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
+
f,
|
|
2078
|
+
ye,
|
|
2079
|
+
he
|
|
2077
2080
|
]
|
|
2078
2081
|
}],
|
|
2079
2082
|
/**
|
|
@@ -2081,28 +2084,28 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2081
2084
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
2082
2085
|
*/
|
|
2083
2086
|
"shadow-color": [{
|
|
2084
|
-
shadow:
|
|
2087
|
+
shadow: w()
|
|
2085
2088
|
}],
|
|
2086
2089
|
/**
|
|
2087
2090
|
* Inset Box Shadow
|
|
2088
2091
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2089
2092
|
*/
|
|
2090
2093
|
"inset-shadow": [{
|
|
2091
|
-
"inset-shadow": ["none",
|
|
2094
|
+
"inset-shadow": ["none", m, ye, he]
|
|
2092
2095
|
}],
|
|
2093
2096
|
/**
|
|
2094
2097
|
* Inset Box Shadow Color
|
|
2095
2098
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
2096
2099
|
*/
|
|
2097
2100
|
"inset-shadow-color": [{
|
|
2098
|
-
"inset-shadow":
|
|
2101
|
+
"inset-shadow": w()
|
|
2099
2102
|
}],
|
|
2100
2103
|
/**
|
|
2101
2104
|
* Ring Width
|
|
2102
2105
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
2103
2106
|
*/
|
|
2104
2107
|
"ring-w": [{
|
|
2105
|
-
ring:
|
|
2108
|
+
ring: N()
|
|
2106
2109
|
}],
|
|
2107
2110
|
/**
|
|
2108
2111
|
* Ring Width Inset
|
|
@@ -2116,7 +2119,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2116
2119
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
2117
2120
|
*/
|
|
2118
2121
|
"ring-color": [{
|
|
2119
|
-
ring:
|
|
2122
|
+
ring: w()
|
|
2120
2123
|
}],
|
|
2121
2124
|
/**
|
|
2122
2125
|
* Ring Offset Width
|
|
@@ -2125,7 +2128,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2125
2128
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2126
2129
|
*/
|
|
2127
2130
|
"ring-offset-w": [{
|
|
2128
|
-
"ring-offset": [
|
|
2131
|
+
"ring-offset": [S, ee]
|
|
2129
2132
|
}],
|
|
2130
2133
|
/**
|
|
2131
2134
|
* Ring Offset Color
|
|
@@ -2134,56 +2137,56 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2134
2137
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2135
2138
|
*/
|
|
2136
2139
|
"ring-offset-color": [{
|
|
2137
|
-
"ring-offset":
|
|
2140
|
+
"ring-offset": w()
|
|
2138
2141
|
}],
|
|
2139
2142
|
/**
|
|
2140
2143
|
* Inset Ring Width
|
|
2141
2144
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2142
2145
|
*/
|
|
2143
2146
|
"inset-ring-w": [{
|
|
2144
|
-
"inset-ring":
|
|
2147
|
+
"inset-ring": N()
|
|
2145
2148
|
}],
|
|
2146
2149
|
/**
|
|
2147
2150
|
* Inset Ring Color
|
|
2148
2151
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2149
2152
|
*/
|
|
2150
2153
|
"inset-ring-color": [{
|
|
2151
|
-
"inset-ring":
|
|
2154
|
+
"inset-ring": w()
|
|
2152
2155
|
}],
|
|
2153
2156
|
/**
|
|
2154
2157
|
* Text Shadow
|
|
2155
2158
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2156
2159
|
*/
|
|
2157
2160
|
"text-shadow": [{
|
|
2158
|
-
"text-shadow": ["none",
|
|
2161
|
+
"text-shadow": ["none", h, ye, he]
|
|
2159
2162
|
}],
|
|
2160
2163
|
/**
|
|
2161
2164
|
* Text Shadow Color
|
|
2162
2165
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2163
2166
|
*/
|
|
2164
2167
|
"text-shadow-color": [{
|
|
2165
|
-
"text-shadow":
|
|
2168
|
+
"text-shadow": w()
|
|
2166
2169
|
}],
|
|
2167
2170
|
/**
|
|
2168
2171
|
* Opacity
|
|
2169
2172
|
* @see https://tailwindcss.com/docs/opacity
|
|
2170
2173
|
*/
|
|
2171
2174
|
opacity: [{
|
|
2172
|
-
opacity: [
|
|
2175
|
+
opacity: [S, g, p]
|
|
2173
2176
|
}],
|
|
2174
2177
|
/**
|
|
2175
2178
|
* Mix Blend Mode
|
|
2176
2179
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2177
2180
|
*/
|
|
2178
2181
|
"mix-blend": [{
|
|
2179
|
-
"mix-blend": [...
|
|
2182
|
+
"mix-blend": [...oe(), "plus-darker", "plus-lighter"]
|
|
2180
2183
|
}],
|
|
2181
2184
|
/**
|
|
2182
2185
|
* Background Blend Mode
|
|
2183
2186
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2184
2187
|
*/
|
|
2185
2188
|
"bg-blend": [{
|
|
2186
|
-
"bg-blend":
|
|
2189
|
+
"bg-blend": oe()
|
|
2187
2190
|
}],
|
|
2188
2191
|
/**
|
|
2189
2192
|
* Mask Clip
|
|
@@ -2204,106 +2207,106 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2204
2207
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2205
2208
|
*/
|
|
2206
2209
|
"mask-image-linear-pos": [{
|
|
2207
|
-
"mask-linear": [
|
|
2210
|
+
"mask-linear": [S]
|
|
2208
2211
|
}],
|
|
2209
2212
|
"mask-image-linear-from-pos": [{
|
|
2210
|
-
"mask-linear-from":
|
|
2213
|
+
"mask-linear-from": T()
|
|
2211
2214
|
}],
|
|
2212
2215
|
"mask-image-linear-to-pos": [{
|
|
2213
|
-
"mask-linear-to":
|
|
2216
|
+
"mask-linear-to": T()
|
|
2214
2217
|
}],
|
|
2215
2218
|
"mask-image-linear-from-color": [{
|
|
2216
|
-
"mask-linear-from":
|
|
2219
|
+
"mask-linear-from": w()
|
|
2217
2220
|
}],
|
|
2218
2221
|
"mask-image-linear-to-color": [{
|
|
2219
|
-
"mask-linear-to":
|
|
2222
|
+
"mask-linear-to": w()
|
|
2220
2223
|
}],
|
|
2221
2224
|
"mask-image-t-from-pos": [{
|
|
2222
|
-
"mask-t-from":
|
|
2225
|
+
"mask-t-from": T()
|
|
2223
2226
|
}],
|
|
2224
2227
|
"mask-image-t-to-pos": [{
|
|
2225
|
-
"mask-t-to":
|
|
2228
|
+
"mask-t-to": T()
|
|
2226
2229
|
}],
|
|
2227
2230
|
"mask-image-t-from-color": [{
|
|
2228
|
-
"mask-t-from":
|
|
2231
|
+
"mask-t-from": w()
|
|
2229
2232
|
}],
|
|
2230
2233
|
"mask-image-t-to-color": [{
|
|
2231
|
-
"mask-t-to":
|
|
2234
|
+
"mask-t-to": w()
|
|
2232
2235
|
}],
|
|
2233
2236
|
"mask-image-r-from-pos": [{
|
|
2234
|
-
"mask-r-from":
|
|
2237
|
+
"mask-r-from": T()
|
|
2235
2238
|
}],
|
|
2236
2239
|
"mask-image-r-to-pos": [{
|
|
2237
|
-
"mask-r-to":
|
|
2240
|
+
"mask-r-to": T()
|
|
2238
2241
|
}],
|
|
2239
2242
|
"mask-image-r-from-color": [{
|
|
2240
|
-
"mask-r-from":
|
|
2243
|
+
"mask-r-from": w()
|
|
2241
2244
|
}],
|
|
2242
2245
|
"mask-image-r-to-color": [{
|
|
2243
|
-
"mask-r-to":
|
|
2246
|
+
"mask-r-to": w()
|
|
2244
2247
|
}],
|
|
2245
2248
|
"mask-image-b-from-pos": [{
|
|
2246
|
-
"mask-b-from":
|
|
2249
|
+
"mask-b-from": T()
|
|
2247
2250
|
}],
|
|
2248
2251
|
"mask-image-b-to-pos": [{
|
|
2249
|
-
"mask-b-to":
|
|
2252
|
+
"mask-b-to": T()
|
|
2250
2253
|
}],
|
|
2251
2254
|
"mask-image-b-from-color": [{
|
|
2252
|
-
"mask-b-from":
|
|
2255
|
+
"mask-b-from": w()
|
|
2253
2256
|
}],
|
|
2254
2257
|
"mask-image-b-to-color": [{
|
|
2255
|
-
"mask-b-to":
|
|
2258
|
+
"mask-b-to": w()
|
|
2256
2259
|
}],
|
|
2257
2260
|
"mask-image-l-from-pos": [{
|
|
2258
|
-
"mask-l-from":
|
|
2261
|
+
"mask-l-from": T()
|
|
2259
2262
|
}],
|
|
2260
2263
|
"mask-image-l-to-pos": [{
|
|
2261
|
-
"mask-l-to":
|
|
2264
|
+
"mask-l-to": T()
|
|
2262
2265
|
}],
|
|
2263
2266
|
"mask-image-l-from-color": [{
|
|
2264
|
-
"mask-l-from":
|
|
2267
|
+
"mask-l-from": w()
|
|
2265
2268
|
}],
|
|
2266
2269
|
"mask-image-l-to-color": [{
|
|
2267
|
-
"mask-l-to":
|
|
2270
|
+
"mask-l-to": w()
|
|
2268
2271
|
}],
|
|
2269
2272
|
"mask-image-x-from-pos": [{
|
|
2270
|
-
"mask-x-from":
|
|
2273
|
+
"mask-x-from": T()
|
|
2271
2274
|
}],
|
|
2272
2275
|
"mask-image-x-to-pos": [{
|
|
2273
|
-
"mask-x-to":
|
|
2276
|
+
"mask-x-to": T()
|
|
2274
2277
|
}],
|
|
2275
2278
|
"mask-image-x-from-color": [{
|
|
2276
|
-
"mask-x-from":
|
|
2279
|
+
"mask-x-from": w()
|
|
2277
2280
|
}],
|
|
2278
2281
|
"mask-image-x-to-color": [{
|
|
2279
|
-
"mask-x-to":
|
|
2282
|
+
"mask-x-to": w()
|
|
2280
2283
|
}],
|
|
2281
2284
|
"mask-image-y-from-pos": [{
|
|
2282
|
-
"mask-y-from":
|
|
2285
|
+
"mask-y-from": T()
|
|
2283
2286
|
}],
|
|
2284
2287
|
"mask-image-y-to-pos": [{
|
|
2285
|
-
"mask-y-to":
|
|
2288
|
+
"mask-y-to": T()
|
|
2286
2289
|
}],
|
|
2287
2290
|
"mask-image-y-from-color": [{
|
|
2288
|
-
"mask-y-from":
|
|
2291
|
+
"mask-y-from": w()
|
|
2289
2292
|
}],
|
|
2290
2293
|
"mask-image-y-to-color": [{
|
|
2291
|
-
"mask-y-to":
|
|
2294
|
+
"mask-y-to": w()
|
|
2292
2295
|
}],
|
|
2293
2296
|
"mask-image-radial": [{
|
|
2294
|
-
"mask-radial": [
|
|
2297
|
+
"mask-radial": [g, p]
|
|
2295
2298
|
}],
|
|
2296
2299
|
"mask-image-radial-from-pos": [{
|
|
2297
|
-
"mask-radial-from":
|
|
2300
|
+
"mask-radial-from": T()
|
|
2298
2301
|
}],
|
|
2299
2302
|
"mask-image-radial-to-pos": [{
|
|
2300
|
-
"mask-radial-to":
|
|
2303
|
+
"mask-radial-to": T()
|
|
2301
2304
|
}],
|
|
2302
2305
|
"mask-image-radial-from-color": [{
|
|
2303
|
-
"mask-radial-from":
|
|
2306
|
+
"mask-radial-from": w()
|
|
2304
2307
|
}],
|
|
2305
2308
|
"mask-image-radial-to-color": [{
|
|
2306
|
-
"mask-radial-to":
|
|
2309
|
+
"mask-radial-to": w()
|
|
2307
2310
|
}],
|
|
2308
2311
|
"mask-image-radial-shape": [{
|
|
2309
2312
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -2315,22 +2318,22 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2315
2318
|
}]
|
|
2316
2319
|
}],
|
|
2317
2320
|
"mask-image-radial-pos": [{
|
|
2318
|
-
"mask-radial-at":
|
|
2321
|
+
"mask-radial-at": x()
|
|
2319
2322
|
}],
|
|
2320
2323
|
"mask-image-conic-pos": [{
|
|
2321
|
-
"mask-conic": [
|
|
2324
|
+
"mask-conic": [S]
|
|
2322
2325
|
}],
|
|
2323
2326
|
"mask-image-conic-from-pos": [{
|
|
2324
|
-
"mask-conic-from":
|
|
2327
|
+
"mask-conic-from": T()
|
|
2325
2328
|
}],
|
|
2326
2329
|
"mask-image-conic-to-pos": [{
|
|
2327
|
-
"mask-conic-to":
|
|
2330
|
+
"mask-conic-to": T()
|
|
2328
2331
|
}],
|
|
2329
2332
|
"mask-image-conic-from-color": [{
|
|
2330
|
-
"mask-conic-from":
|
|
2333
|
+
"mask-conic-from": w()
|
|
2331
2334
|
}],
|
|
2332
2335
|
"mask-image-conic-to-color": [{
|
|
2333
|
-
"mask-conic-to":
|
|
2336
|
+
"mask-conic-to": w()
|
|
2334
2337
|
}],
|
|
2335
2338
|
/**
|
|
2336
2339
|
* Mask Mode
|
|
@@ -2351,21 +2354,21 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2351
2354
|
* @see https://tailwindcss.com/docs/mask-position
|
|
2352
2355
|
*/
|
|
2353
2356
|
"mask-position": [{
|
|
2354
|
-
mask:
|
|
2357
|
+
mask: le()
|
|
2355
2358
|
}],
|
|
2356
2359
|
/**
|
|
2357
2360
|
* Mask Repeat
|
|
2358
2361
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2359
2362
|
*/
|
|
2360
2363
|
"mask-repeat": [{
|
|
2361
|
-
mask:
|
|
2364
|
+
mask: ce()
|
|
2362
2365
|
}],
|
|
2363
2366
|
/**
|
|
2364
2367
|
* Mask Size
|
|
2365
2368
|
* @see https://tailwindcss.com/docs/mask-size
|
|
2366
2369
|
*/
|
|
2367
2370
|
"mask-size": [{
|
|
2368
|
-
mask:
|
|
2371
|
+
mask: d()
|
|
2369
2372
|
}],
|
|
2370
2373
|
/**
|
|
2371
2374
|
* Mask Type
|
|
@@ -2379,7 +2382,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2379
2382
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2380
2383
|
*/
|
|
2381
2384
|
"mask-image": [{
|
|
2382
|
-
mask: ["none",
|
|
2385
|
+
mask: ["none", g, p]
|
|
2383
2386
|
}],
|
|
2384
2387
|
// ---------------
|
|
2385
2388
|
// --- Filters ---
|
|
@@ -2393,8 +2396,8 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2393
2396
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2394
2397
|
"",
|
|
2395
2398
|
"none",
|
|
2396
|
-
|
|
2397
|
-
|
|
2399
|
+
g,
|
|
2400
|
+
p
|
|
2398
2401
|
]
|
|
2399
2402
|
}],
|
|
2400
2403
|
/**
|
|
@@ -2402,21 +2405,21 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2402
2405
|
* @see https://tailwindcss.com/docs/blur
|
|
2403
2406
|
*/
|
|
2404
2407
|
blur: [{
|
|
2405
|
-
blur:
|
|
2408
|
+
blur: Y()
|
|
2406
2409
|
}],
|
|
2407
2410
|
/**
|
|
2408
2411
|
* Brightness
|
|
2409
2412
|
* @see https://tailwindcss.com/docs/brightness
|
|
2410
2413
|
*/
|
|
2411
2414
|
brightness: [{
|
|
2412
|
-
brightness: [
|
|
2415
|
+
brightness: [S, g, p]
|
|
2413
2416
|
}],
|
|
2414
2417
|
/**
|
|
2415
2418
|
* Contrast
|
|
2416
2419
|
* @see https://tailwindcss.com/docs/contrast
|
|
2417
2420
|
*/
|
|
2418
2421
|
contrast: [{
|
|
2419
|
-
contrast: [
|
|
2422
|
+
contrast: [S, g, p]
|
|
2420
2423
|
}],
|
|
2421
2424
|
/**
|
|
2422
2425
|
* Drop Shadow
|
|
@@ -2427,9 +2430,9 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2427
2430
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2428
2431
|
"",
|
|
2429
2432
|
"none",
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
+
C,
|
|
2434
|
+
ye,
|
|
2435
|
+
he
|
|
2433
2436
|
]
|
|
2434
2437
|
}],
|
|
2435
2438
|
/**
|
|
@@ -2437,42 +2440,42 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2437
2440
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2438
2441
|
*/
|
|
2439
2442
|
"drop-shadow-color": [{
|
|
2440
|
-
"drop-shadow":
|
|
2443
|
+
"drop-shadow": w()
|
|
2441
2444
|
}],
|
|
2442
2445
|
/**
|
|
2443
2446
|
* Grayscale
|
|
2444
2447
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2445
2448
|
*/
|
|
2446
2449
|
grayscale: [{
|
|
2447
|
-
grayscale: ["",
|
|
2450
|
+
grayscale: ["", S, g, p]
|
|
2448
2451
|
}],
|
|
2449
2452
|
/**
|
|
2450
2453
|
* Hue Rotate
|
|
2451
2454
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2452
2455
|
*/
|
|
2453
2456
|
"hue-rotate": [{
|
|
2454
|
-
"hue-rotate": [
|
|
2457
|
+
"hue-rotate": [S, g, p]
|
|
2455
2458
|
}],
|
|
2456
2459
|
/**
|
|
2457
2460
|
* Invert
|
|
2458
2461
|
* @see https://tailwindcss.com/docs/invert
|
|
2459
2462
|
*/
|
|
2460
2463
|
invert: [{
|
|
2461
|
-
invert: ["",
|
|
2464
|
+
invert: ["", S, g, p]
|
|
2462
2465
|
}],
|
|
2463
2466
|
/**
|
|
2464
2467
|
* Saturate
|
|
2465
2468
|
* @see https://tailwindcss.com/docs/saturate
|
|
2466
2469
|
*/
|
|
2467
2470
|
saturate: [{
|
|
2468
|
-
saturate: [
|
|
2471
|
+
saturate: [S, g, p]
|
|
2469
2472
|
}],
|
|
2470
2473
|
/**
|
|
2471
2474
|
* Sepia
|
|
2472
2475
|
* @see https://tailwindcss.com/docs/sepia
|
|
2473
2476
|
*/
|
|
2474
2477
|
sepia: [{
|
|
2475
|
-
sepia: ["",
|
|
2478
|
+
sepia: ["", S, g, p]
|
|
2476
2479
|
}],
|
|
2477
2480
|
/**
|
|
2478
2481
|
* Backdrop Filter
|
|
@@ -2483,8 +2486,8 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2483
2486
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2484
2487
|
"",
|
|
2485
2488
|
"none",
|
|
2486
|
-
|
|
2487
|
-
|
|
2489
|
+
g,
|
|
2490
|
+
p
|
|
2488
2491
|
]
|
|
2489
2492
|
}],
|
|
2490
2493
|
/**
|
|
@@ -2492,63 +2495,63 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2492
2495
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2493
2496
|
*/
|
|
2494
2497
|
"backdrop-blur": [{
|
|
2495
|
-
"backdrop-blur":
|
|
2498
|
+
"backdrop-blur": Y()
|
|
2496
2499
|
}],
|
|
2497
2500
|
/**
|
|
2498
2501
|
* Backdrop Brightness
|
|
2499
2502
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2500
2503
|
*/
|
|
2501
2504
|
"backdrop-brightness": [{
|
|
2502
|
-
"backdrop-brightness": [
|
|
2505
|
+
"backdrop-brightness": [S, g, p]
|
|
2503
2506
|
}],
|
|
2504
2507
|
/**
|
|
2505
2508
|
* Backdrop Contrast
|
|
2506
2509
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2507
2510
|
*/
|
|
2508
2511
|
"backdrop-contrast": [{
|
|
2509
|
-
"backdrop-contrast": [
|
|
2512
|
+
"backdrop-contrast": [S, g, p]
|
|
2510
2513
|
}],
|
|
2511
2514
|
/**
|
|
2512
2515
|
* Backdrop Grayscale
|
|
2513
2516
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2514
2517
|
*/
|
|
2515
2518
|
"backdrop-grayscale": [{
|
|
2516
|
-
"backdrop-grayscale": ["",
|
|
2519
|
+
"backdrop-grayscale": ["", S, g, p]
|
|
2517
2520
|
}],
|
|
2518
2521
|
/**
|
|
2519
2522
|
* Backdrop Hue Rotate
|
|
2520
2523
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2521
2524
|
*/
|
|
2522
2525
|
"backdrop-hue-rotate": [{
|
|
2523
|
-
"backdrop-hue-rotate": [
|
|
2526
|
+
"backdrop-hue-rotate": [S, g, p]
|
|
2524
2527
|
}],
|
|
2525
2528
|
/**
|
|
2526
2529
|
* Backdrop Invert
|
|
2527
2530
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2528
2531
|
*/
|
|
2529
2532
|
"backdrop-invert": [{
|
|
2530
|
-
"backdrop-invert": ["",
|
|
2533
|
+
"backdrop-invert": ["", S, g, p]
|
|
2531
2534
|
}],
|
|
2532
2535
|
/**
|
|
2533
2536
|
* Backdrop Opacity
|
|
2534
2537
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2535
2538
|
*/
|
|
2536
2539
|
"backdrop-opacity": [{
|
|
2537
|
-
"backdrop-opacity": [
|
|
2540
|
+
"backdrop-opacity": [S, g, p]
|
|
2538
2541
|
}],
|
|
2539
2542
|
/**
|
|
2540
2543
|
* Backdrop Saturate
|
|
2541
2544
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2542
2545
|
*/
|
|
2543
2546
|
"backdrop-saturate": [{
|
|
2544
|
-
"backdrop-saturate": [
|
|
2547
|
+
"backdrop-saturate": [S, g, p]
|
|
2545
2548
|
}],
|
|
2546
2549
|
/**
|
|
2547
2550
|
* Backdrop Sepia
|
|
2548
2551
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2549
2552
|
*/
|
|
2550
2553
|
"backdrop-sepia": [{
|
|
2551
|
-
"backdrop-sepia": ["",
|
|
2554
|
+
"backdrop-sepia": ["", S, g, p]
|
|
2552
2555
|
}],
|
|
2553
2556
|
// --------------
|
|
2554
2557
|
// --- Tables ---
|
|
@@ -2565,21 +2568,21 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2565
2568
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2566
2569
|
*/
|
|
2567
2570
|
"border-spacing": [{
|
|
2568
|
-
"border-spacing":
|
|
2571
|
+
"border-spacing": v()
|
|
2569
2572
|
}],
|
|
2570
2573
|
/**
|
|
2571
2574
|
* Border Spacing X
|
|
2572
2575
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2573
2576
|
*/
|
|
2574
2577
|
"border-spacing-x": [{
|
|
2575
|
-
"border-spacing-x":
|
|
2578
|
+
"border-spacing-x": v()
|
|
2576
2579
|
}],
|
|
2577
2580
|
/**
|
|
2578
2581
|
* Border Spacing Y
|
|
2579
2582
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2580
2583
|
*/
|
|
2581
2584
|
"border-spacing-y": [{
|
|
2582
|
-
"border-spacing-y":
|
|
2585
|
+
"border-spacing-y": v()
|
|
2583
2586
|
}],
|
|
2584
2587
|
/**
|
|
2585
2588
|
* Table Layout
|
|
@@ -2603,7 +2606,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2603
2606
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2604
2607
|
*/
|
|
2605
2608
|
transition: [{
|
|
2606
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2609
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", g, p]
|
|
2607
2610
|
}],
|
|
2608
2611
|
/**
|
|
2609
2612
|
* Transition Behavior
|
|
@@ -2617,28 +2620,28 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2617
2620
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2618
2621
|
*/
|
|
2619
2622
|
duration: [{
|
|
2620
|
-
duration: [
|
|
2623
|
+
duration: [S, "initial", g, p]
|
|
2621
2624
|
}],
|
|
2622
2625
|
/**
|
|
2623
2626
|
* Transition Timing Function
|
|
2624
2627
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2625
2628
|
*/
|
|
2626
2629
|
ease: [{
|
|
2627
|
-
ease: ["linear", "initial",
|
|
2630
|
+
ease: ["linear", "initial", P, g, p]
|
|
2628
2631
|
}],
|
|
2629
2632
|
/**
|
|
2630
2633
|
* Transition Delay
|
|
2631
2634
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2632
2635
|
*/
|
|
2633
2636
|
delay: [{
|
|
2634
|
-
delay: [
|
|
2637
|
+
delay: [S, g, p]
|
|
2635
2638
|
}],
|
|
2636
2639
|
/**
|
|
2637
2640
|
* Animation
|
|
2638
2641
|
* @see https://tailwindcss.com/docs/animation
|
|
2639
2642
|
*/
|
|
2640
2643
|
animate: [{
|
|
2641
|
-
animate: ["none",
|
|
2644
|
+
animate: ["none", F, g, p]
|
|
2642
2645
|
}],
|
|
2643
2646
|
// ------------------
|
|
2644
2647
|
// --- Transforms ---
|
|
@@ -2655,70 +2658,70 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2655
2658
|
* @see https://tailwindcss.com/docs/perspective
|
|
2656
2659
|
*/
|
|
2657
2660
|
perspective: [{
|
|
2658
|
-
perspective: [
|
|
2661
|
+
perspective: [R, g, p]
|
|
2659
2662
|
}],
|
|
2660
2663
|
/**
|
|
2661
2664
|
* Perspective Origin
|
|
2662
2665
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2663
2666
|
*/
|
|
2664
2667
|
"perspective-origin": [{
|
|
2665
|
-
"perspective-origin":
|
|
2668
|
+
"perspective-origin": O()
|
|
2666
2669
|
}],
|
|
2667
2670
|
/**
|
|
2668
2671
|
* Rotate
|
|
2669
2672
|
* @see https://tailwindcss.com/docs/rotate
|
|
2670
2673
|
*/
|
|
2671
2674
|
rotate: [{
|
|
2672
|
-
rotate:
|
|
2675
|
+
rotate: J()
|
|
2673
2676
|
}],
|
|
2674
2677
|
/**
|
|
2675
2678
|
* Rotate X
|
|
2676
2679
|
* @see https://tailwindcss.com/docs/rotate
|
|
2677
2680
|
*/
|
|
2678
2681
|
"rotate-x": [{
|
|
2679
|
-
"rotate-x":
|
|
2682
|
+
"rotate-x": J()
|
|
2680
2683
|
}],
|
|
2681
2684
|
/**
|
|
2682
2685
|
* Rotate Y
|
|
2683
2686
|
* @see https://tailwindcss.com/docs/rotate
|
|
2684
2687
|
*/
|
|
2685
2688
|
"rotate-y": [{
|
|
2686
|
-
"rotate-y":
|
|
2689
|
+
"rotate-y": J()
|
|
2687
2690
|
}],
|
|
2688
2691
|
/**
|
|
2689
2692
|
* Rotate Z
|
|
2690
2693
|
* @see https://tailwindcss.com/docs/rotate
|
|
2691
2694
|
*/
|
|
2692
2695
|
"rotate-z": [{
|
|
2693
|
-
"rotate-z":
|
|
2696
|
+
"rotate-z": J()
|
|
2694
2697
|
}],
|
|
2695
2698
|
/**
|
|
2696
2699
|
* Scale
|
|
2697
2700
|
* @see https://tailwindcss.com/docs/scale
|
|
2698
2701
|
*/
|
|
2699
2702
|
scale: [{
|
|
2700
|
-
scale:
|
|
2703
|
+
scale: ne()
|
|
2701
2704
|
}],
|
|
2702
2705
|
/**
|
|
2703
2706
|
* Scale X
|
|
2704
2707
|
* @see https://tailwindcss.com/docs/scale
|
|
2705
2708
|
*/
|
|
2706
2709
|
"scale-x": [{
|
|
2707
|
-
"scale-x":
|
|
2710
|
+
"scale-x": ne()
|
|
2708
2711
|
}],
|
|
2709
2712
|
/**
|
|
2710
2713
|
* Scale Y
|
|
2711
2714
|
* @see https://tailwindcss.com/docs/scale
|
|
2712
2715
|
*/
|
|
2713
2716
|
"scale-y": [{
|
|
2714
|
-
"scale-y":
|
|
2717
|
+
"scale-y": ne()
|
|
2715
2718
|
}],
|
|
2716
2719
|
/**
|
|
2717
2720
|
* Scale Z
|
|
2718
2721
|
* @see https://tailwindcss.com/docs/scale
|
|
2719
2722
|
*/
|
|
2720
2723
|
"scale-z": [{
|
|
2721
|
-
"scale-z":
|
|
2724
|
+
"scale-z": ne()
|
|
2722
2725
|
}],
|
|
2723
2726
|
/**
|
|
2724
2727
|
* Scale 3D
|
|
@@ -2730,35 +2733,35 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2730
2733
|
* @see https://tailwindcss.com/docs/skew
|
|
2731
2734
|
*/
|
|
2732
2735
|
skew: [{
|
|
2733
|
-
skew:
|
|
2736
|
+
skew: Ie()
|
|
2734
2737
|
}],
|
|
2735
2738
|
/**
|
|
2736
2739
|
* Skew X
|
|
2737
2740
|
* @see https://tailwindcss.com/docs/skew
|
|
2738
2741
|
*/
|
|
2739
2742
|
"skew-x": [{
|
|
2740
|
-
"skew-x":
|
|
2743
|
+
"skew-x": Ie()
|
|
2741
2744
|
}],
|
|
2742
2745
|
/**
|
|
2743
2746
|
* Skew Y
|
|
2744
2747
|
* @see https://tailwindcss.com/docs/skew
|
|
2745
2748
|
*/
|
|
2746
2749
|
"skew-y": [{
|
|
2747
|
-
"skew-y":
|
|
2750
|
+
"skew-y": Ie()
|
|
2748
2751
|
}],
|
|
2749
2752
|
/**
|
|
2750
2753
|
* Transform
|
|
2751
2754
|
* @see https://tailwindcss.com/docs/transform
|
|
2752
2755
|
*/
|
|
2753
2756
|
transform: [{
|
|
2754
|
-
transform: [
|
|
2757
|
+
transform: [g, p, "", "none", "gpu", "cpu"]
|
|
2755
2758
|
}],
|
|
2756
2759
|
/**
|
|
2757
2760
|
* Transform Origin
|
|
2758
2761
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2759
2762
|
*/
|
|
2760
2763
|
"transform-origin": [{
|
|
2761
|
-
origin:
|
|
2764
|
+
origin: O()
|
|
2762
2765
|
}],
|
|
2763
2766
|
/**
|
|
2764
2767
|
* Transform Style
|
|
@@ -2772,28 +2775,28 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2772
2775
|
* @see https://tailwindcss.com/docs/translate
|
|
2773
2776
|
*/
|
|
2774
2777
|
translate: [{
|
|
2775
|
-
translate:
|
|
2778
|
+
translate: be()
|
|
2776
2779
|
}],
|
|
2777
2780
|
/**
|
|
2778
2781
|
* Translate X
|
|
2779
2782
|
* @see https://tailwindcss.com/docs/translate
|
|
2780
2783
|
*/
|
|
2781
2784
|
"translate-x": [{
|
|
2782
|
-
"translate-x":
|
|
2785
|
+
"translate-x": be()
|
|
2783
2786
|
}],
|
|
2784
2787
|
/**
|
|
2785
2788
|
* Translate Y
|
|
2786
2789
|
* @see https://tailwindcss.com/docs/translate
|
|
2787
2790
|
*/
|
|
2788
2791
|
"translate-y": [{
|
|
2789
|
-
"translate-y":
|
|
2792
|
+
"translate-y": be()
|
|
2790
2793
|
}],
|
|
2791
2794
|
/**
|
|
2792
2795
|
* Translate Z
|
|
2793
2796
|
* @see https://tailwindcss.com/docs/translate
|
|
2794
2797
|
*/
|
|
2795
2798
|
"translate-z": [{
|
|
2796
|
-
"translate-z":
|
|
2799
|
+
"translate-z": be()
|
|
2797
2800
|
}],
|
|
2798
2801
|
/**
|
|
2799
2802
|
* Translate None
|
|
@@ -2808,7 +2811,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2808
2811
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2809
2812
|
*/
|
|
2810
2813
|
accent: [{
|
|
2811
|
-
accent:
|
|
2814
|
+
accent: w()
|
|
2812
2815
|
}],
|
|
2813
2816
|
/**
|
|
2814
2817
|
* Appearance
|
|
@@ -2822,7 +2825,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2822
2825
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2823
2826
|
*/
|
|
2824
2827
|
"caret-color": [{
|
|
2825
|
-
caret:
|
|
2828
|
+
caret: w()
|
|
2826
2829
|
}],
|
|
2827
2830
|
/**
|
|
2828
2831
|
* Color Scheme
|
|
@@ -2836,7 +2839,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2836
2839
|
* @see https://tailwindcss.com/docs/cursor
|
|
2837
2840
|
*/
|
|
2838
2841
|
cursor: [{
|
|
2839
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
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]
|
|
2840
2843
|
}],
|
|
2841
2844
|
/**
|
|
2842
2845
|
* Field Sizing
|
|
@@ -2871,126 +2874,126 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
2871
2874
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2872
2875
|
*/
|
|
2873
2876
|
"scroll-m": [{
|
|
2874
|
-
"scroll-m":
|
|
2877
|
+
"scroll-m": v()
|
|
2875
2878
|
}],
|
|
2876
2879
|
/**
|
|
2877
2880
|
* Scroll Margin X
|
|
2878
2881
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2879
2882
|
*/
|
|
2880
2883
|
"scroll-mx": [{
|
|
2881
|
-
"scroll-mx":
|
|
2884
|
+
"scroll-mx": v()
|
|
2882
2885
|
}],
|
|
2883
2886
|
/**
|
|
2884
2887
|
* Scroll Margin Y
|
|
2885
2888
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2886
2889
|
*/
|
|
2887
2890
|
"scroll-my": [{
|
|
2888
|
-
"scroll-my":
|
|
2891
|
+
"scroll-my": v()
|
|
2889
2892
|
}],
|
|
2890
2893
|
/**
|
|
2891
2894
|
* Scroll Margin Start
|
|
2892
2895
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2893
2896
|
*/
|
|
2894
2897
|
"scroll-ms": [{
|
|
2895
|
-
"scroll-ms":
|
|
2898
|
+
"scroll-ms": v()
|
|
2896
2899
|
}],
|
|
2897
2900
|
/**
|
|
2898
2901
|
* Scroll Margin End
|
|
2899
2902
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2900
2903
|
*/
|
|
2901
2904
|
"scroll-me": [{
|
|
2902
|
-
"scroll-me":
|
|
2905
|
+
"scroll-me": v()
|
|
2903
2906
|
}],
|
|
2904
2907
|
/**
|
|
2905
2908
|
* Scroll Margin Top
|
|
2906
2909
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2907
2910
|
*/
|
|
2908
2911
|
"scroll-mt": [{
|
|
2909
|
-
"scroll-mt":
|
|
2912
|
+
"scroll-mt": v()
|
|
2910
2913
|
}],
|
|
2911
2914
|
/**
|
|
2912
2915
|
* Scroll Margin Right
|
|
2913
2916
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2914
2917
|
*/
|
|
2915
2918
|
"scroll-mr": [{
|
|
2916
|
-
"scroll-mr":
|
|
2919
|
+
"scroll-mr": v()
|
|
2917
2920
|
}],
|
|
2918
2921
|
/**
|
|
2919
2922
|
* Scroll Margin Bottom
|
|
2920
2923
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2921
2924
|
*/
|
|
2922
2925
|
"scroll-mb": [{
|
|
2923
|
-
"scroll-mb":
|
|
2926
|
+
"scroll-mb": v()
|
|
2924
2927
|
}],
|
|
2925
2928
|
/**
|
|
2926
2929
|
* Scroll Margin Left
|
|
2927
2930
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2928
2931
|
*/
|
|
2929
2932
|
"scroll-ml": [{
|
|
2930
|
-
"scroll-ml":
|
|
2933
|
+
"scroll-ml": v()
|
|
2931
2934
|
}],
|
|
2932
2935
|
/**
|
|
2933
2936
|
* Scroll Padding
|
|
2934
2937
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2935
2938
|
*/
|
|
2936
2939
|
"scroll-p": [{
|
|
2937
|
-
"scroll-p":
|
|
2940
|
+
"scroll-p": v()
|
|
2938
2941
|
}],
|
|
2939
2942
|
/**
|
|
2940
2943
|
* Scroll Padding X
|
|
2941
2944
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2942
2945
|
*/
|
|
2943
2946
|
"scroll-px": [{
|
|
2944
|
-
"scroll-px":
|
|
2947
|
+
"scroll-px": v()
|
|
2945
2948
|
}],
|
|
2946
2949
|
/**
|
|
2947
2950
|
* Scroll Padding Y
|
|
2948
2951
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2949
2952
|
*/
|
|
2950
2953
|
"scroll-py": [{
|
|
2951
|
-
"scroll-py":
|
|
2954
|
+
"scroll-py": v()
|
|
2952
2955
|
}],
|
|
2953
2956
|
/**
|
|
2954
2957
|
* Scroll Padding Start
|
|
2955
2958
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2956
2959
|
*/
|
|
2957
2960
|
"scroll-ps": [{
|
|
2958
|
-
"scroll-ps":
|
|
2961
|
+
"scroll-ps": v()
|
|
2959
2962
|
}],
|
|
2960
2963
|
/**
|
|
2961
2964
|
* Scroll Padding End
|
|
2962
2965
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2963
2966
|
*/
|
|
2964
2967
|
"scroll-pe": [{
|
|
2965
|
-
"scroll-pe":
|
|
2968
|
+
"scroll-pe": v()
|
|
2966
2969
|
}],
|
|
2967
2970
|
/**
|
|
2968
2971
|
* Scroll Padding Top
|
|
2969
2972
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2970
2973
|
*/
|
|
2971
2974
|
"scroll-pt": [{
|
|
2972
|
-
"scroll-pt":
|
|
2975
|
+
"scroll-pt": v()
|
|
2973
2976
|
}],
|
|
2974
2977
|
/**
|
|
2975
2978
|
* Scroll Padding Right
|
|
2976
2979
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2977
2980
|
*/
|
|
2978
2981
|
"scroll-pr": [{
|
|
2979
|
-
"scroll-pr":
|
|
2982
|
+
"scroll-pr": v()
|
|
2980
2983
|
}],
|
|
2981
2984
|
/**
|
|
2982
2985
|
* Scroll Padding Bottom
|
|
2983
2986
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2984
2987
|
*/
|
|
2985
2988
|
"scroll-pb": [{
|
|
2986
|
-
"scroll-pb":
|
|
2989
|
+
"scroll-pb": v()
|
|
2987
2990
|
}],
|
|
2988
2991
|
/**
|
|
2989
2992
|
* Scroll Padding Left
|
|
2990
2993
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2991
2994
|
*/
|
|
2992
2995
|
"scroll-pl": [{
|
|
2993
|
-
"scroll-pl":
|
|
2996
|
+
"scroll-pl": v()
|
|
2994
2997
|
}],
|
|
2995
2998
|
/**
|
|
2996
2999
|
* Scroll Snap Align
|
|
@@ -3058,7 +3061,7 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
3058
3061
|
* @see https://tailwindcss.com/docs/will-change
|
|
3059
3062
|
*/
|
|
3060
3063
|
"will-change": [{
|
|
3061
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
3064
|
+
"will-change": ["auto", "scroll", "contents", "transform", g, p]
|
|
3062
3065
|
}],
|
|
3063
3066
|
// -----------
|
|
3064
3067
|
// --- SVG ---
|
|
@@ -3068,21 +3071,21 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
3068
3071
|
* @see https://tailwindcss.com/docs/fill
|
|
3069
3072
|
*/
|
|
3070
3073
|
fill: [{
|
|
3071
|
-
fill: ["none", ...
|
|
3074
|
+
fill: ["none", ...w()]
|
|
3072
3075
|
}],
|
|
3073
3076
|
/**
|
|
3074
3077
|
* Stroke Width
|
|
3075
3078
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3076
3079
|
*/
|
|
3077
3080
|
"stroke-w": [{
|
|
3078
|
-
stroke: [
|
|
3081
|
+
stroke: [S, fe, ee, Pe]
|
|
3079
3082
|
}],
|
|
3080
3083
|
/**
|
|
3081
3084
|
* Stroke
|
|
3082
3085
|
* @see https://tailwindcss.com/docs/stroke
|
|
3083
3086
|
*/
|
|
3084
3087
|
stroke: [{
|
|
3085
|
-
stroke: ["none", ...
|
|
3088
|
+
stroke: ["none", ...w()]
|
|
3086
3089
|
}],
|
|
3087
3090
|
// ---------------------
|
|
3088
3091
|
// --- Accessibility ---
|
|
@@ -3150,11 +3153,11 @@ const Ve = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ze = Ze, P
|
|
|
3150
3153
|
},
|
|
3151
3154
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3152
3155
|
};
|
|
3153
|
-
},
|
|
3154
|
-
function
|
|
3155
|
-
return
|
|
3156
|
+
}, Xr = /* @__PURE__ */ Ir(Jr);
|
|
3157
|
+
function D(...e) {
|
|
3158
|
+
return Xr(ut(e));
|
|
3156
3159
|
}
|
|
3157
|
-
const
|
|
3160
|
+
const Zr = cr(
|
|
3158
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",
|
|
3159
3162
|
{
|
|
3160
3163
|
variants: {
|
|
@@ -3179,30 +3182,30 @@ const vt = Pr(
|
|
|
3179
3182
|
}
|
|
3180
3183
|
}
|
|
3181
3184
|
);
|
|
3182
|
-
function
|
|
3185
|
+
function bn({
|
|
3183
3186
|
className: e,
|
|
3184
3187
|
variant: t,
|
|
3185
3188
|
size: r,
|
|
3186
3189
|
asChild: o = !1,
|
|
3187
3190
|
...n
|
|
3188
3191
|
}) {
|
|
3189
|
-
const s = o ?
|
|
3190
|
-
return /* @__PURE__ */
|
|
3192
|
+
const s = o ? lt : "button";
|
|
3193
|
+
return /* @__PURE__ */ y.jsx(
|
|
3191
3194
|
s,
|
|
3192
3195
|
{
|
|
3193
3196
|
"data-slot": "button",
|
|
3194
|
-
className:
|
|
3197
|
+
className: D(Zr({ variant: t, size: r, className: e })),
|
|
3195
3198
|
...n
|
|
3196
3199
|
}
|
|
3197
3200
|
);
|
|
3198
3201
|
}
|
|
3199
|
-
function
|
|
3200
|
-
return /* @__PURE__ */
|
|
3202
|
+
function vn({ className: e, type: t, ...r }) {
|
|
3203
|
+
return /* @__PURE__ */ y.jsx(
|
|
3201
3204
|
"input",
|
|
3202
3205
|
{
|
|
3203
3206
|
type: t,
|
|
3204
3207
|
"data-slot": "input",
|
|
3205
|
-
className:
|
|
3208
|
+
className: D(
|
|
3206
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",
|
|
3207
3210
|
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
|
3208
3211
|
"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
@@ -3212,12 +3215,12 @@ function Dt({ className: e, type: t, ...r }) {
|
|
|
3212
3215
|
}
|
|
3213
3216
|
);
|
|
3214
3217
|
}
|
|
3215
|
-
function
|
|
3216
|
-
return /* @__PURE__ */
|
|
3218
|
+
function hn({ className: e, ...t }) {
|
|
3219
|
+
return /* @__PURE__ */ y.jsx(
|
|
3217
3220
|
"div",
|
|
3218
3221
|
{
|
|
3219
3222
|
"data-slot": "card",
|
|
3220
|
-
className:
|
|
3223
|
+
className: D(
|
|
3221
3224
|
"bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
|
|
3222
3225
|
e
|
|
3223
3226
|
),
|
|
@@ -3225,12 +3228,12 @@ function Gt({ className: e, ...t }) {
|
|
|
3225
3228
|
}
|
|
3226
3229
|
);
|
|
3227
3230
|
}
|
|
3228
|
-
function
|
|
3229
|
-
return /* @__PURE__ */
|
|
3231
|
+
function yn({ className: e, ...t }) {
|
|
3232
|
+
return /* @__PURE__ */ y.jsx(
|
|
3230
3233
|
"div",
|
|
3231
3234
|
{
|
|
3232
3235
|
"data-slot": "card-header",
|
|
3233
|
-
className:
|
|
3236
|
+
className: D(
|
|
3234
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",
|
|
3235
3238
|
e
|
|
3236
3239
|
),
|
|
@@ -3238,32 +3241,32 @@ function Wt({ className: e, ...t }) {
|
|
|
3238
3241
|
}
|
|
3239
3242
|
);
|
|
3240
3243
|
}
|
|
3241
|
-
function
|
|
3242
|
-
return /* @__PURE__ */
|
|
3244
|
+
function xn({ className: e, ...t }) {
|
|
3245
|
+
return /* @__PURE__ */ y.jsx(
|
|
3243
3246
|
"div",
|
|
3244
3247
|
{
|
|
3245
3248
|
"data-slot": "card-title",
|
|
3246
|
-
className:
|
|
3249
|
+
className: D("leading-none font-semibold", e),
|
|
3247
3250
|
...t
|
|
3248
3251
|
}
|
|
3249
3252
|
);
|
|
3250
3253
|
}
|
|
3251
|
-
function
|
|
3252
|
-
return /* @__PURE__ */
|
|
3254
|
+
function wn({ className: e, ...t }) {
|
|
3255
|
+
return /* @__PURE__ */ y.jsx(
|
|
3253
3256
|
"div",
|
|
3254
3257
|
{
|
|
3255
3258
|
"data-slot": "card-description",
|
|
3256
|
-
className:
|
|
3259
|
+
className: D("text-muted-foreground text-sm", e),
|
|
3257
3260
|
...t
|
|
3258
3261
|
}
|
|
3259
3262
|
);
|
|
3260
3263
|
}
|
|
3261
|
-
function
|
|
3262
|
-
return /* @__PURE__ */
|
|
3264
|
+
function kn({ className: e, ...t }) {
|
|
3265
|
+
return /* @__PURE__ */ y.jsx(
|
|
3263
3266
|
"div",
|
|
3264
3267
|
{
|
|
3265
3268
|
"data-slot": "card-action",
|
|
3266
|
-
className:
|
|
3269
|
+
className: D(
|
|
3267
3270
|
"col-start-2 row-span-2 row-start-1 self-start justify-self-end",
|
|
3268
3271
|
e
|
|
3269
3272
|
),
|
|
@@ -3271,27 +3274,27 @@ function Bt({ className: e, ...t }) {
|
|
|
3271
3274
|
}
|
|
3272
3275
|
);
|
|
3273
3276
|
}
|
|
3274
|
-
function
|
|
3275
|
-
return /* @__PURE__ */
|
|
3277
|
+
function Cn({ className: e, ...t }) {
|
|
3278
|
+
return /* @__PURE__ */ y.jsx(
|
|
3276
3279
|
"div",
|
|
3277
3280
|
{
|
|
3278
3281
|
"data-slot": "card-content",
|
|
3279
|
-
className:
|
|
3282
|
+
className: D("px-6", e),
|
|
3280
3283
|
...t
|
|
3281
3284
|
}
|
|
3282
3285
|
);
|
|
3283
3286
|
}
|
|
3284
|
-
function
|
|
3285
|
-
return /* @__PURE__ */
|
|
3287
|
+
function Rn({ className: e, ...t }) {
|
|
3288
|
+
return /* @__PURE__ */ y.jsx(
|
|
3286
3289
|
"div",
|
|
3287
3290
|
{
|
|
3288
3291
|
"data-slot": "card-footer",
|
|
3289
|
-
className:
|
|
3292
|
+
className: D("flex items-center px-6 [.border-t]:pt-6", e),
|
|
3290
3293
|
...t
|
|
3291
3294
|
}
|
|
3292
3295
|
);
|
|
3293
3296
|
}
|
|
3294
|
-
var
|
|
3297
|
+
var Qr = [
|
|
3295
3298
|
"a",
|
|
3296
3299
|
"button",
|
|
3297
3300
|
"div",
|
|
@@ -3309,14 +3312,14 @@ var xt = [
|
|
|
3309
3312
|
"span",
|
|
3310
3313
|
"svg",
|
|
3311
3314
|
"ul"
|
|
3312
|
-
],
|
|
3313
|
-
const r = /* @__PURE__ */
|
|
3314
|
-
const { asChild:
|
|
3315
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */
|
|
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 });
|
|
3316
3319
|
});
|
|
3317
3320
|
return o.displayName = `Primitive.${t}`, { ...e, [t]: o };
|
|
3318
|
-
}, {}),
|
|
3319
|
-
|
|
3321
|
+
}, {}), to = "Label", Ct = c.forwardRef((e, t) => /* @__PURE__ */ y.jsx(
|
|
3322
|
+
eo.label,
|
|
3320
3323
|
{
|
|
3321
3324
|
...e,
|
|
3322
3325
|
ref: t,
|
|
@@ -3325,17 +3328,17 @@ var xt = [
|
|
|
3325
3328
|
}
|
|
3326
3329
|
}
|
|
3327
3330
|
));
|
|
3328
|
-
|
|
3329
|
-
var
|
|
3330
|
-
function
|
|
3331
|
+
Ct.displayName = to;
|
|
3332
|
+
var ro = Ct;
|
|
3333
|
+
function oo({
|
|
3331
3334
|
className: e,
|
|
3332
3335
|
...t
|
|
3333
3336
|
}) {
|
|
3334
|
-
return /* @__PURE__ */
|
|
3335
|
-
|
|
3337
|
+
return /* @__PURE__ */ y.jsx(
|
|
3338
|
+
ro,
|
|
3336
3339
|
{
|
|
3337
3340
|
"data-slot": "label",
|
|
3338
|
-
className:
|
|
3341
|
+
className: D(
|
|
3339
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",
|
|
3340
3343
|
e
|
|
3341
3344
|
),
|
|
@@ -3343,74 +3346,74 @@ function Ct({
|
|
|
3343
3346
|
}
|
|
3344
3347
|
);
|
|
3345
3348
|
}
|
|
3346
|
-
var
|
|
3347
|
-
const
|
|
3348
|
-
var
|
|
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) => {
|
|
3349
3352
|
const t = e.constructor && e.constructor.prototype;
|
|
3350
|
-
return
|
|
3351
|
-
},
|
|
3352
|
-
function
|
|
3353
|
+
return te(t) && t.hasOwnProperty("isPrototypeOf");
|
|
3354
|
+
}, co = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
3355
|
+
function St(e) {
|
|
3353
3356
|
let t;
|
|
3354
3357
|
const r = Array.isArray(e), o = typeof FileList < "u" ? e instanceof FileList : !1;
|
|
3355
3358
|
if (e instanceof Date)
|
|
3356
3359
|
t = new Date(e);
|
|
3357
|
-
else if (!(
|
|
3358
|
-
if (t = r ? [] : Object.create(Object.getPrototypeOf(e)), !r && !
|
|
3360
|
+
else if (!(co && (e instanceof Blob || o)) && (r || te(e)))
|
|
3361
|
+
if (t = r ? [] : Object.create(Object.getPrototypeOf(e)), !r && !lo(e))
|
|
3359
3362
|
t = e;
|
|
3360
3363
|
else
|
|
3361
3364
|
for (const n in e)
|
|
3362
|
-
e.hasOwnProperty(n) && (t[n] =
|
|
3365
|
+
e.hasOwnProperty(n) && (t[n] = St(e[n]));
|
|
3363
3366
|
else
|
|
3364
3367
|
return e;
|
|
3365
3368
|
return t;
|
|
3366
3369
|
}
|
|
3367
|
-
var
|
|
3368
|
-
if (!t || !
|
|
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))
|
|
3369
3372
|
return r;
|
|
3370
|
-
const o = (
|
|
3371
|
-
return
|
|
3372
|
-
},
|
|
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) => {
|
|
3373
3376
|
let o = -1;
|
|
3374
|
-
const n =
|
|
3377
|
+
const n = Et(t) ? [t] : _t(t), s = n.length, a = s - 1;
|
|
3375
3378
|
for (; ++o < s; ) {
|
|
3376
|
-
const
|
|
3377
|
-
let
|
|
3378
|
-
if (o !==
|
|
3379
|
-
const
|
|
3380
|
-
|
|
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]) ? {} : [];
|
|
3381
3384
|
}
|
|
3382
|
-
if (
|
|
3385
|
+
if (i === "__proto__" || i === "constructor" || i === "prototype")
|
|
3383
3386
|
return;
|
|
3384
|
-
e[
|
|
3387
|
+
e[i] = l, e = e[i];
|
|
3385
3388
|
}
|
|
3386
3389
|
};
|
|
3387
|
-
const
|
|
3390
|
+
const tt = {
|
|
3388
3391
|
BLUR: "blur",
|
|
3389
3392
|
CHANGE: "change"
|
|
3390
|
-
},
|
|
3393
|
+
}, rt = {
|
|
3391
3394
|
all: "all"
|
|
3392
|
-
},
|
|
3393
|
-
|
|
3394
|
-
const
|
|
3395
|
+
}, Le = E.createContext(null);
|
|
3396
|
+
Le.displayName = "HookFormContext";
|
|
3397
|
+
const Ee = () => E.useContext(Le), fo = (e) => {
|
|
3395
3398
|
const { children: t, ...r } = e;
|
|
3396
|
-
return
|
|
3399
|
+
return E.createElement(Le.Provider, { value: r }, t);
|
|
3397
3400
|
};
|
|
3398
|
-
var
|
|
3401
|
+
var mo = (e, t, r, o = !0) => {
|
|
3399
3402
|
const n = {
|
|
3400
3403
|
defaultValues: t._defaultValues
|
|
3401
3404
|
};
|
|
3402
3405
|
for (const s in e)
|
|
3403
3406
|
Object.defineProperty(n, s, {
|
|
3404
3407
|
get: () => {
|
|
3405
|
-
const
|
|
3406
|
-
return t._proxyFormState[
|
|
3408
|
+
const a = s;
|
|
3409
|
+
return t._proxyFormState[a] !== rt.all && (t._proxyFormState[a] = !o || rt.all), r && (r[a] = !0), e[a];
|
|
3407
3410
|
}
|
|
3408
3411
|
});
|
|
3409
3412
|
return n;
|
|
3410
3413
|
};
|
|
3411
|
-
const
|
|
3412
|
-
function
|
|
3413
|
-
const t =
|
|
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({
|
|
3414
3417
|
isDirty: !1,
|
|
3415
3418
|
isLoading: !1,
|
|
3416
3419
|
dirtyFields: !1,
|
|
@@ -3420,25 +3423,25 @@ function gr(e) {
|
|
|
3420
3423
|
isValid: !1,
|
|
3421
3424
|
errors: !1
|
|
3422
3425
|
});
|
|
3423
|
-
return
|
|
3426
|
+
return Tt(() => r._subscribe({
|
|
3424
3427
|
name: n,
|
|
3425
|
-
formState:
|
|
3428
|
+
formState: l.current,
|
|
3426
3429
|
exact: s,
|
|
3427
|
-
callback: (
|
|
3428
|
-
!o &&
|
|
3430
|
+
callback: (u) => {
|
|
3431
|
+
!o && i({
|
|
3429
3432
|
...r._formState,
|
|
3430
|
-
...
|
|
3433
|
+
...u
|
|
3431
3434
|
});
|
|
3432
3435
|
}
|
|
3433
|
-
}), [n, o, s]),
|
|
3434
|
-
|
|
3435
|
-
}, [r]),
|
|
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]);
|
|
3436
3439
|
}
|
|
3437
|
-
var
|
|
3438
|
-
function
|
|
3439
|
-
if (
|
|
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))
|
|
3440
3443
|
return Object.is(e, t);
|
|
3441
|
-
if (
|
|
3444
|
+
if (me(e) && me(t))
|
|
3442
3445
|
return e.getTime() === t.getTime();
|
|
3443
3446
|
const o = Object.keys(e), n = Object.keys(t);
|
|
3444
3447
|
if (o.length !== n.length)
|
|
@@ -3447,153 +3450,153 @@ function he(e, t, r = /* @__PURE__ */ new WeakSet()) {
|
|
|
3447
3450
|
return !0;
|
|
3448
3451
|
r.add(e), r.add(t);
|
|
3449
3452
|
for (const s of o) {
|
|
3450
|
-
const
|
|
3453
|
+
const a = e[s];
|
|
3451
3454
|
if (!n.includes(s))
|
|
3452
3455
|
return !1;
|
|
3453
3456
|
if (s !== "ref") {
|
|
3454
|
-
const
|
|
3455
|
-
if (
|
|
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))
|
|
3456
3459
|
return !1;
|
|
3457
3460
|
}
|
|
3458
3461
|
}
|
|
3459
3462
|
return !0;
|
|
3460
3463
|
}
|
|
3461
|
-
function
|
|
3462
|
-
const t =
|
|
3463
|
-
|
|
3464
|
-
const [
|
|
3465
|
-
const
|
|
3466
|
-
return
|
|
3467
|
-
}),
|
|
3468
|
-
const
|
|
3469
|
-
return
|
|
3470
|
-
}, [r._formValues, r._names, o]),
|
|
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) => {
|
|
3471
3474
|
if (!s) {
|
|
3472
|
-
const
|
|
3473
|
-
if (
|
|
3474
|
-
const j =
|
|
3475
|
-
|
|
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);
|
|
3476
3479
|
} else
|
|
3477
|
-
|
|
3480
|
+
I(O);
|
|
3478
3481
|
}
|
|
3479
3482
|
}, [r._formValues, r._names, s, o]);
|
|
3480
|
-
|
|
3483
|
+
Tt(() => ((m.current !== r || !we(h.current, o)) && (m.current = r, h.current = o, b()), r._subscribe({
|
|
3481
3484
|
name: o,
|
|
3482
3485
|
formState: {
|
|
3483
3486
|
values: !0
|
|
3484
3487
|
},
|
|
3485
|
-
exact:
|
|
3486
|
-
callback: (
|
|
3487
|
-
|
|
3488
|
+
exact: a,
|
|
3489
|
+
callback: (x) => {
|
|
3490
|
+
b(x.values);
|
|
3488
3491
|
}
|
|
3489
|
-
})), [r,
|
|
3490
|
-
const
|
|
3492
|
+
})), [r, a, o, b]), E.useEffect(() => r._removeUnmounted());
|
|
3493
|
+
const P = m.current !== r, F = h.current, A = E.useMemo(() => {
|
|
3491
3494
|
if (s)
|
|
3492
3495
|
return null;
|
|
3493
|
-
const
|
|
3494
|
-
return
|
|
3495
|
-
}, [s,
|
|
3496
|
-
return
|
|
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;
|
|
3497
3500
|
}
|
|
3498
|
-
function
|
|
3499
|
-
const t =
|
|
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({
|
|
3500
3503
|
control: n,
|
|
3501
3504
|
name: r,
|
|
3502
|
-
defaultValue:
|
|
3503
|
-
exact:
|
|
3504
|
-
}),
|
|
3505
|
+
defaultValue: u,
|
|
3506
|
+
exact: i
|
|
3507
|
+
}), m = At({
|
|
3505
3508
|
control: n,
|
|
3506
3509
|
name: r,
|
|
3507
|
-
exact:
|
|
3508
|
-
}),
|
|
3510
|
+
exact: i
|
|
3511
|
+
}), h = E.useRef(e), C = E.useRef(void 0), I = E.useRef(n.register(r, {
|
|
3509
3512
|
...e.rules,
|
|
3510
|
-
value:
|
|
3511
|
-
...
|
|
3513
|
+
value: f,
|
|
3514
|
+
...Oe(e.disabled) ? { disabled: e.disabled } : {}
|
|
3512
3515
|
}));
|
|
3513
|
-
|
|
3514
|
-
const
|
|
3516
|
+
h.current = e;
|
|
3517
|
+
const R = E.useMemo(() => Object.defineProperties({}, {
|
|
3515
3518
|
invalid: {
|
|
3516
3519
|
enumerable: !0,
|
|
3517
|
-
get: () => !!z(
|
|
3520
|
+
get: () => !!z(m.errors, r)
|
|
3518
3521
|
},
|
|
3519
3522
|
isDirty: {
|
|
3520
3523
|
enumerable: !0,
|
|
3521
|
-
get: () => !!z(
|
|
3524
|
+
get: () => !!z(m.dirtyFields, r)
|
|
3522
3525
|
},
|
|
3523
3526
|
isTouched: {
|
|
3524
3527
|
enumerable: !0,
|
|
3525
|
-
get: () => !!z(
|
|
3528
|
+
get: () => !!z(m.touchedFields, r)
|
|
3526
3529
|
},
|
|
3527
3530
|
isValidating: {
|
|
3528
3531
|
enumerable: !0,
|
|
3529
|
-
get: () => !!z(
|
|
3532
|
+
get: () => !!z(m.validatingFields, r)
|
|
3530
3533
|
},
|
|
3531
3534
|
error: {
|
|
3532
3535
|
enumerable: !0,
|
|
3533
|
-
get: () => z(
|
|
3536
|
+
get: () => z(m.errors, r)
|
|
3534
3537
|
}
|
|
3535
|
-
}), [
|
|
3538
|
+
}), [m, r]), b = E.useCallback((x) => I.current.onChange({
|
|
3536
3539
|
target: {
|
|
3537
|
-
value:
|
|
3540
|
+
value: so(x),
|
|
3538
3541
|
name: r
|
|
3539
3542
|
},
|
|
3540
|
-
type:
|
|
3541
|
-
}), [r]),
|
|
3543
|
+
type: tt.CHANGE
|
|
3544
|
+
}), [r]), P = E.useCallback(() => I.current.onBlur({
|
|
3542
3545
|
target: {
|
|
3543
3546
|
value: z(n._formValues, r),
|
|
3544
3547
|
name: r
|
|
3545
3548
|
},
|
|
3546
|
-
type:
|
|
3547
|
-
}), [r, n._formValues]),
|
|
3548
|
-
const
|
|
3549
|
-
|
|
3550
|
-
focus: () =>
|
|
3551
|
-
select: () =>
|
|
3552
|
-
setCustomValidity: (j) =>
|
|
3553
|
-
reportValidity: () =>
|
|
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()
|
|
3554
3557
|
});
|
|
3555
|
-
}, [n._fields, r]),
|
|
3558
|
+
}, [n._fields, r]), A = E.useMemo(() => ({
|
|
3556
3559
|
name: r,
|
|
3557
|
-
value:
|
|
3558
|
-
...
|
|
3559
|
-
onChange:
|
|
3560
|
-
onBlur:
|
|
3561
|
-
ref:
|
|
3562
|
-
}), [r, o,
|
|
3563
|
-
return
|
|
3564
|
-
const
|
|
3565
|
-
|
|
3566
|
-
...
|
|
3567
|
-
...
|
|
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 } : {}
|
|
3568
3571
|
});
|
|
3569
|
-
const j = (
|
|
3570
|
-
const
|
|
3571
|
-
|
|
3572
|
+
const j = (L, v) => {
|
|
3573
|
+
const V = z(n._fields, L);
|
|
3574
|
+
V && V._f && (V._f.mount = v);
|
|
3572
3575
|
};
|
|
3573
|
-
if (j(r, !0),
|
|
3574
|
-
const
|
|
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);
|
|
3576
3579
|
}
|
|
3577
|
-
return !
|
|
3578
|
-
(
|
|
3580
|
+
return !l && n.register(r), C.current = r, () => {
|
|
3581
|
+
(l ? x && !n._state.action : x) ? n.unregister(r) : j(r, !1);
|
|
3579
3582
|
};
|
|
3580
|
-
}, [r, n,
|
|
3583
|
+
}, [r, n, l, s]), E.useEffect(() => {
|
|
3581
3584
|
n._setDisabledField({
|
|
3582
3585
|
disabled: o,
|
|
3583
3586
|
name: r
|
|
3584
3587
|
});
|
|
3585
|
-
}, [o, r, n]),
|
|
3586
|
-
field:
|
|
3587
|
-
formState:
|
|
3588
|
-
fieldState:
|
|
3589
|
-
}), [
|
|
3588
|
+
}, [o, r, n]), E.useMemo(() => ({
|
|
3589
|
+
field: A,
|
|
3590
|
+
formState: m,
|
|
3591
|
+
fieldState: R
|
|
3592
|
+
}), [A, m, R]);
|
|
3590
3593
|
}
|
|
3591
|
-
const
|
|
3594
|
+
const vo = (e) => e.render(bo(e)), Sn = fo, It = c.createContext(
|
|
3592
3595
|
{}
|
|
3593
|
-
),
|
|
3596
|
+
), En = ({
|
|
3594
3597
|
...e
|
|
3595
|
-
}) => /* @__PURE__ */
|
|
3596
|
-
const 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);
|
|
3597
3600
|
if (!e)
|
|
3598
3601
|
throw new Error("useFormField should be used within <FormField>");
|
|
3599
3602
|
const { id: s } = t;
|
|
@@ -3605,40 +3608,40 @@ const Ft = (e) => e.render(zt(e)), Jt = Nt, hr = A.createContext(
|
|
|
3605
3608
|
formMessageId: `${s}-form-item-message`,
|
|
3606
3609
|
...n
|
|
3607
3610
|
};
|
|
3608
|
-
},
|
|
3611
|
+
}, Nt = c.createContext(
|
|
3609
3612
|
{}
|
|
3610
3613
|
);
|
|
3611
|
-
function
|
|
3612
|
-
const r =
|
|
3613
|
-
return /* @__PURE__ */
|
|
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(
|
|
3614
3617
|
"div",
|
|
3615
3618
|
{
|
|
3616
3619
|
"data-slot": "form-item",
|
|
3617
|
-
className:
|
|
3620
|
+
className: D("grid gap-2", e),
|
|
3618
3621
|
...t
|
|
3619
3622
|
}
|
|
3620
3623
|
) });
|
|
3621
3624
|
}
|
|
3622
|
-
function
|
|
3625
|
+
function Tn({
|
|
3623
3626
|
className: e,
|
|
3624
3627
|
...t
|
|
3625
3628
|
}) {
|
|
3626
|
-
const { error: r, formItemId: o } =
|
|
3627
|
-
return /* @__PURE__ */
|
|
3628
|
-
|
|
3629
|
+
const { error: r, formItemId: o } = _e();
|
|
3630
|
+
return /* @__PURE__ */ y.jsx(
|
|
3631
|
+
oo,
|
|
3629
3632
|
{
|
|
3630
3633
|
"data-slot": "form-label",
|
|
3631
3634
|
"data-error": !!r,
|
|
3632
|
-
className:
|
|
3635
|
+
className: D("data-[error=true]:text-destructive", e),
|
|
3633
3636
|
htmlFor: o,
|
|
3634
3637
|
...t
|
|
3635
3638
|
}
|
|
3636
3639
|
);
|
|
3637
3640
|
}
|
|
3638
|
-
function
|
|
3639
|
-
const { error: t, formItemId: r, formDescriptionId: o, formMessageId: n } =
|
|
3640
|
-
return /* @__PURE__ */
|
|
3641
|
-
|
|
3641
|
+
function An({ ...e }) {
|
|
3642
|
+
const { error: t, formItemId: r, formDescriptionId: o, formMessageId: n } = _e();
|
|
3643
|
+
return /* @__PURE__ */ y.jsx(
|
|
3644
|
+
lt,
|
|
3642
3645
|
{
|
|
3643
3646
|
"data-slot": "form-control",
|
|
3644
3647
|
id: r,
|
|
@@ -3648,50 +3651,823 @@ function Kt({ ...e }) {
|
|
|
3648
3651
|
}
|
|
3649
3652
|
);
|
|
3650
3653
|
}
|
|
3651
|
-
function
|
|
3652
|
-
const { formDescriptionId: r } =
|
|
3653
|
-
return /* @__PURE__ */
|
|
3654
|
+
function In({ className: e, ...t }) {
|
|
3655
|
+
const { formDescriptionId: r } = _e();
|
|
3656
|
+
return /* @__PURE__ */ y.jsx(
|
|
3654
3657
|
"p",
|
|
3655
3658
|
{
|
|
3656
3659
|
"data-slot": "form-description",
|
|
3657
3660
|
id: r,
|
|
3658
|
-
className:
|
|
3661
|
+
className: D("text-muted-foreground text-sm", e),
|
|
3659
3662
|
...t
|
|
3660
3663
|
}
|
|
3661
3664
|
);
|
|
3662
3665
|
}
|
|
3663
|
-
function
|
|
3664
|
-
const { error: r, formMessageId: o } =
|
|
3665
|
-
return n ? /* @__PURE__ */
|
|
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(
|
|
3666
3669
|
"p",
|
|
3667
3670
|
{
|
|
3668
3671
|
"data-slot": "form-message",
|
|
3669
3672
|
id: o,
|
|
3670
|
-
className:
|
|
3673
|
+
className: D("text-destructive text-sm", e),
|
|
3671
3674
|
...t,
|
|
3672
3675
|
children: n
|
|
3673
3676
|
}
|
|
3674
3677
|
) : null;
|
|
3675
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
|
|
4445
|
+
}
|
|
4446
|
+
);
|
|
4447
|
+
}
|
|
3676
4448
|
export {
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
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
|
|
3696
4472
|
};
|
|
3697
4473
|
//# sourceMappingURL=index.es.js.map
|