@workokay/atom 0.2.15 → 0.2.17
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/atom.css +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +698 -509
- package/dist/index.js.map +1 -1
- package/package.json +4 -5
- package/dist/src/components/button/Button.d.ts +0 -15
- package/dist/src/components/button/index.d.ts +0 -1
- package/dist/src/components/form/Input.d.ts +0 -18
- package/dist/src/components/form/index.d.ts +0 -1
- package/dist/src/hooks/index.d.ts +0 -1
- package/dist/src/index.d.ts +0 -3
- package/dist/src/lib/cn.d.ts +0 -2
package/dist/index.js
CHANGED
|
@@ -1,173 +1,173 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
var de = { exports: {} },
|
|
4
|
-
var
|
|
5
|
-
function
|
|
6
|
-
if (
|
|
7
|
-
|
|
1
|
+
import * as A from "react";
|
|
2
|
+
import Je from "react";
|
|
3
|
+
var de = { exports: {} }, se = {};
|
|
4
|
+
var we;
|
|
5
|
+
function Xe() {
|
|
6
|
+
if (we) return se;
|
|
7
|
+
we = 1;
|
|
8
8
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
9
|
-
function r(o,
|
|
9
|
+
function r(o, n, s) {
|
|
10
10
|
var i = null;
|
|
11
|
-
if (
|
|
12
|
-
|
|
13
|
-
for (var d in
|
|
14
|
-
d !== "key" && (
|
|
15
|
-
} else
|
|
16
|
-
return
|
|
11
|
+
if (s !== void 0 && (i = "" + s), n.key !== void 0 && (i = "" + n.key), "key" in n) {
|
|
12
|
+
s = {};
|
|
13
|
+
for (var d in n)
|
|
14
|
+
d !== "key" && (s[d] = n[d]);
|
|
15
|
+
} else s = n;
|
|
16
|
+
return n = s.ref, {
|
|
17
17
|
$$typeof: e,
|
|
18
18
|
type: o,
|
|
19
19
|
key: i,
|
|
20
|
-
ref:
|
|
21
|
-
props:
|
|
20
|
+
ref: n !== void 0 ? n : null,
|
|
21
|
+
props: s
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
|
-
return
|
|
24
|
+
return se.Fragment = t, se.jsx = r, se.jsxs = r, se;
|
|
25
25
|
}
|
|
26
26
|
var ie = {};
|
|
27
|
-
var
|
|
28
|
-
function
|
|
29
|
-
return
|
|
30
|
-
function e(
|
|
31
|
-
if (
|
|
32
|
-
if (typeof
|
|
33
|
-
return
|
|
34
|
-
if (typeof
|
|
35
|
-
switch (
|
|
27
|
+
var ke;
|
|
28
|
+
function He() {
|
|
29
|
+
return ke || (ke = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
30
|
+
function e(a) {
|
|
31
|
+
if (a == null) return null;
|
|
32
|
+
if (typeof a == "function")
|
|
33
|
+
return a.$$typeof === H ? null : a.displayName || a.name || null;
|
|
34
|
+
if (typeof a == "string") return a;
|
|
35
|
+
switch (a) {
|
|
36
36
|
case R:
|
|
37
37
|
return "Fragment";
|
|
38
|
-
case
|
|
38
|
+
case P:
|
|
39
39
|
return "Profiler";
|
|
40
40
|
case E:
|
|
41
41
|
return "StrictMode";
|
|
42
|
-
case
|
|
42
|
+
case z:
|
|
43
43
|
return "Suspense";
|
|
44
44
|
case $:
|
|
45
45
|
return "SuspenseList";
|
|
46
|
-
case
|
|
46
|
+
case X:
|
|
47
47
|
return "Activity";
|
|
48
48
|
}
|
|
49
|
-
if (typeof
|
|
50
|
-
switch (typeof
|
|
49
|
+
if (typeof a == "object")
|
|
50
|
+
switch (typeof a.tag == "number" && console.error(
|
|
51
51
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
52
|
-
),
|
|
52
|
+
), a.$$typeof) {
|
|
53
53
|
case _:
|
|
54
54
|
return "Portal";
|
|
55
55
|
case V:
|
|
56
|
-
return
|
|
57
|
-
case
|
|
58
|
-
return (
|
|
56
|
+
return a.displayName || "Context";
|
|
57
|
+
case O:
|
|
58
|
+
return (a._context.displayName || "Context") + ".Consumer";
|
|
59
59
|
case L:
|
|
60
|
-
var
|
|
61
|
-
return
|
|
62
|
-
case
|
|
63
|
-
return
|
|
60
|
+
var f = a.render;
|
|
61
|
+
return a = a.displayName, a || (a = f.displayName || f.name || "", a = a !== "" ? "ForwardRef(" + a + ")" : "ForwardRef"), a;
|
|
62
|
+
case b:
|
|
63
|
+
return f = a.displayName || null, f !== null ? f : e(a.type) || "Memo";
|
|
64
64
|
case S:
|
|
65
|
-
|
|
65
|
+
f = a._payload, a = a._init;
|
|
66
66
|
try {
|
|
67
|
-
return e(
|
|
67
|
+
return e(a(f));
|
|
68
68
|
} catch {
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
return null;
|
|
72
72
|
}
|
|
73
|
-
function t(
|
|
74
|
-
return "" +
|
|
73
|
+
function t(a) {
|
|
74
|
+
return "" + a;
|
|
75
75
|
}
|
|
76
|
-
function r(
|
|
76
|
+
function r(a) {
|
|
77
77
|
try {
|
|
78
|
-
t(
|
|
79
|
-
var
|
|
78
|
+
t(a);
|
|
79
|
+
var f = !1;
|
|
80
80
|
} catch {
|
|
81
|
-
|
|
81
|
+
f = !0;
|
|
82
82
|
}
|
|
83
|
-
if (
|
|
84
|
-
|
|
85
|
-
var h =
|
|
83
|
+
if (f) {
|
|
84
|
+
f = console;
|
|
85
|
+
var h = f.error, y = typeof Symbol == "function" && Symbol.toStringTag && a[Symbol.toStringTag] || a.constructor.name || "Object";
|
|
86
86
|
return h.call(
|
|
87
|
-
|
|
87
|
+
f,
|
|
88
88
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
89
89
|
y
|
|
90
|
-
), t(
|
|
90
|
+
), t(a);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
function o(
|
|
94
|
-
if (
|
|
95
|
-
if (typeof
|
|
93
|
+
function o(a) {
|
|
94
|
+
if (a === R) return "<>";
|
|
95
|
+
if (typeof a == "object" && a !== null && a.$$typeof === S)
|
|
96
96
|
return "<...>";
|
|
97
97
|
try {
|
|
98
|
-
var
|
|
99
|
-
return
|
|
98
|
+
var f = e(a);
|
|
99
|
+
return f ? "<" + f + ">" : "<...>";
|
|
100
100
|
} catch {
|
|
101
101
|
return "<...>";
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
var
|
|
106
|
-
return
|
|
104
|
+
function n() {
|
|
105
|
+
var a = Y.A;
|
|
106
|
+
return a === null ? null : a.getOwner();
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function s() {
|
|
109
109
|
return Error("react-stack-top-frame");
|
|
110
110
|
}
|
|
111
|
-
function i(
|
|
112
|
-
if (te.call(
|
|
113
|
-
var
|
|
114
|
-
if (
|
|
111
|
+
function i(a) {
|
|
112
|
+
if (te.call(a, "key")) {
|
|
113
|
+
var f = Object.getOwnPropertyDescriptor(a, "key").get;
|
|
114
|
+
if (f && f.isReactWarning) return !1;
|
|
115
115
|
}
|
|
116
|
-
return
|
|
116
|
+
return a.key !== void 0;
|
|
117
117
|
}
|
|
118
|
-
function d(
|
|
118
|
+
function d(a, f) {
|
|
119
119
|
function h() {
|
|
120
120
|
I || (I = !0, console.error(
|
|
121
121
|
"%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)",
|
|
122
|
-
|
|
122
|
+
f
|
|
123
123
|
));
|
|
124
124
|
}
|
|
125
|
-
h.isReactWarning = !0, Object.defineProperty(
|
|
125
|
+
h.isReactWarning = !0, Object.defineProperty(a, "key", {
|
|
126
126
|
get: h,
|
|
127
127
|
configurable: !0
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
|
-
function
|
|
131
|
-
var
|
|
132
|
-
return M[
|
|
130
|
+
function m() {
|
|
131
|
+
var a = e(this.type);
|
|
132
|
+
return M[a] || (M[a] = !0, console.error(
|
|
133
133
|
"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."
|
|
134
|
-
)),
|
|
134
|
+
)), a = this.props.ref, a !== void 0 ? a : null;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function u(a, f, h, y, q, Z) {
|
|
137
137
|
var v = h.ref;
|
|
138
|
-
return
|
|
139
|
-
$$typeof:
|
|
140
|
-
type:
|
|
141
|
-
key:
|
|
138
|
+
return a = {
|
|
139
|
+
$$typeof: T,
|
|
140
|
+
type: a,
|
|
141
|
+
key: f,
|
|
142
142
|
props: h,
|
|
143
143
|
_owner: y
|
|
144
|
-
}, (v !== void 0 ? v : null) !== null ? Object.defineProperty(
|
|
144
|
+
}, (v !== void 0 ? v : null) !== null ? Object.defineProperty(a, "ref", {
|
|
145
145
|
enumerable: !1,
|
|
146
|
-
get:
|
|
147
|
-
}) : Object.defineProperty(
|
|
146
|
+
get: m
|
|
147
|
+
}) : Object.defineProperty(a, "ref", { enumerable: !1, value: null }), a._store = {}, Object.defineProperty(a._store, "validated", {
|
|
148
148
|
configurable: !1,
|
|
149
149
|
enumerable: !1,
|
|
150
150
|
writable: !0,
|
|
151
151
|
value: 0
|
|
152
|
-
}), Object.defineProperty(
|
|
152
|
+
}), Object.defineProperty(a, "_debugInfo", {
|
|
153
153
|
configurable: !1,
|
|
154
154
|
enumerable: !1,
|
|
155
155
|
writable: !0,
|
|
156
156
|
value: null
|
|
157
|
-
}), Object.defineProperty(
|
|
157
|
+
}), Object.defineProperty(a, "_debugStack", {
|
|
158
158
|
configurable: !1,
|
|
159
159
|
enumerable: !1,
|
|
160
160
|
writable: !0,
|
|
161
161
|
value: q
|
|
162
|
-
}), Object.defineProperty(
|
|
162
|
+
}), Object.defineProperty(a, "_debugTask", {
|
|
163
163
|
configurable: !1,
|
|
164
164
|
enumerable: !1,
|
|
165
165
|
writable: !0,
|
|
166
|
-
value:
|
|
167
|
-
}), Object.freeze && (Object.freeze(
|
|
166
|
+
value: Z
|
|
167
|
+
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
|
168
168
|
}
|
|
169
|
-
function x(
|
|
170
|
-
var v =
|
|
169
|
+
function x(a, f, h, y, q, Z) {
|
|
170
|
+
var v = f.children;
|
|
171
171
|
if (v !== void 0)
|
|
172
172
|
if (y)
|
|
173
173
|
if (oe(v)) {
|
|
@@ -179,12 +179,12 @@ function Xe() {
|
|
|
179
179
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
180
180
|
);
|
|
181
181
|
else w(v);
|
|
182
|
-
if (te.call(
|
|
183
|
-
v = e(
|
|
184
|
-
var W = Object.keys(
|
|
185
|
-
return
|
|
182
|
+
if (te.call(f, "key")) {
|
|
183
|
+
v = e(a);
|
|
184
|
+
var W = Object.keys(f).filter(function(Q) {
|
|
185
|
+
return Q !== "key";
|
|
186
186
|
});
|
|
187
|
-
y = 0 < W.length ? "{key: someKey, " + W.join(": ..., ") + ": ...}" : "{key: someKey}",
|
|
187
|
+
y = 0 < W.length ? "{key: someKey, " + W.join(": ..., ") + ": ...}" : "{key: someKey}", ne[v + y] || (W = 0 < W.length ? "{" + W.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
188
188
|
`A props object containing a "key" prop is being spread into JSX:
|
|
189
189
|
let props = %s;
|
|
190
190
|
<%s {...props} />
|
|
@@ -195,185 +195,185 @@ React keys must be passed directly to JSX without using spread:
|
|
|
195
195
|
v,
|
|
196
196
|
W,
|
|
197
197
|
v
|
|
198
|
-
),
|
|
198
|
+
), ne[v + y] = !0);
|
|
199
199
|
}
|
|
200
|
-
if (v = null, h !== void 0 && (r(h), v = "" + h), i(
|
|
200
|
+
if (v = null, h !== void 0 && (r(h), v = "" + h), i(f) && (r(f.key), v = "" + f.key), "key" in f) {
|
|
201
201
|
h = {};
|
|
202
|
-
for (var D in
|
|
203
|
-
D !== "key" && (h[D] =
|
|
204
|
-
} else h =
|
|
202
|
+
for (var D in f)
|
|
203
|
+
D !== "key" && (h[D] = f[D]);
|
|
204
|
+
} else h = f;
|
|
205
205
|
return v && d(
|
|
206
206
|
h,
|
|
207
|
-
typeof
|
|
208
|
-
),
|
|
209
|
-
|
|
207
|
+
typeof a == "function" ? a.displayName || a.name || "Unknown" : a
|
|
208
|
+
), u(
|
|
209
|
+
a,
|
|
210
210
|
v,
|
|
211
211
|
h,
|
|
212
|
-
|
|
212
|
+
n(),
|
|
213
213
|
q,
|
|
214
|
-
|
|
214
|
+
Z
|
|
215
215
|
);
|
|
216
216
|
}
|
|
217
|
-
function w(
|
|
218
|
-
k(
|
|
217
|
+
function w(a) {
|
|
218
|
+
k(a) ? a._store && (a._store.validated = 1) : typeof a == "object" && a !== null && a.$$typeof === S && (a._payload.status === "fulfilled" ? k(a._payload.value) && a._payload.value._store && (a._payload.value._store.validated = 1) : a._store && (a._store.validated = 1));
|
|
219
219
|
}
|
|
220
|
-
function k(
|
|
221
|
-
return typeof
|
|
220
|
+
function k(a) {
|
|
221
|
+
return typeof a == "object" && a !== null && a.$$typeof === T;
|
|
222
222
|
}
|
|
223
|
-
var C =
|
|
223
|
+
var C = Je, T = Symbol.for("react.transitional.element"), _ = Symbol.for("react.portal"), R = Symbol.for("react.fragment"), E = Symbol.for("react.strict_mode"), P = Symbol.for("react.profiler"), O = Symbol.for("react.consumer"), V = Symbol.for("react.context"), L = Symbol.for("react.forward_ref"), z = Symbol.for("react.suspense"), $ = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), X = Symbol.for("react.activity"), H = Symbol.for("react.client.reference"), Y = C.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, te = Object.prototype.hasOwnProperty, oe = Array.isArray, G = console.createTask ? console.createTask : function() {
|
|
224
224
|
return null;
|
|
225
225
|
};
|
|
226
226
|
C = {
|
|
227
|
-
react_stack_bottom_frame: function(
|
|
228
|
-
return
|
|
227
|
+
react_stack_bottom_frame: function(a) {
|
|
228
|
+
return a();
|
|
229
229
|
}
|
|
230
230
|
};
|
|
231
|
-
var I, M = {},
|
|
231
|
+
var I, M = {}, g = C.react_stack_bottom_frame.bind(
|
|
232
232
|
C,
|
|
233
|
-
|
|
234
|
-
)(),
|
|
235
|
-
ie.Fragment = R, ie.jsx = function(
|
|
233
|
+
s
|
|
234
|
+
)(), ae = G(o(s)), ne = {};
|
|
235
|
+
ie.Fragment = R, ie.jsx = function(a, f, h) {
|
|
236
236
|
var y = 1e4 > Y.recentlyCreatedOwnerStacks++;
|
|
237
237
|
return x(
|
|
238
|
-
|
|
239
|
-
|
|
238
|
+
a,
|
|
239
|
+
f,
|
|
240
240
|
h,
|
|
241
241
|
!1,
|
|
242
|
-
y ? Error("react-stack-top-frame") :
|
|
243
|
-
y ? G(o(
|
|
242
|
+
y ? Error("react-stack-top-frame") : g,
|
|
243
|
+
y ? G(o(a)) : ae
|
|
244
244
|
);
|
|
245
|
-
}, ie.jsxs = function(
|
|
245
|
+
}, ie.jsxs = function(a, f, h) {
|
|
246
246
|
var y = 1e4 > Y.recentlyCreatedOwnerStacks++;
|
|
247
247
|
return x(
|
|
248
|
-
|
|
249
|
-
|
|
248
|
+
a,
|
|
249
|
+
f,
|
|
250
250
|
h,
|
|
251
251
|
!0,
|
|
252
|
-
y ? Error("react-stack-top-frame") :
|
|
253
|
-
y ? G(o(
|
|
252
|
+
y ? Error("react-stack-top-frame") : g,
|
|
253
|
+
y ? G(o(a)) : ae
|
|
254
254
|
);
|
|
255
255
|
};
|
|
256
256
|
})()), ie;
|
|
257
257
|
}
|
|
258
|
-
var
|
|
259
|
-
function
|
|
260
|
-
return
|
|
258
|
+
var Re;
|
|
259
|
+
function Ze() {
|
|
260
|
+
return Re || (Re = 1, process.env.NODE_ENV === "production" ? de.exports = Xe() : de.exports = He()), de.exports;
|
|
261
261
|
}
|
|
262
|
-
var j =
|
|
263
|
-
function
|
|
262
|
+
var j = Ze();
|
|
263
|
+
function ze(e) {
|
|
264
264
|
var t, r, o = "";
|
|
265
265
|
if (typeof e == "string" || typeof e == "number") o += e;
|
|
266
266
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
267
|
-
var
|
|
268
|
-
for (t = 0; t <
|
|
267
|
+
var n = e.length;
|
|
268
|
+
for (t = 0; t < n; t++) e[t] && (r = ze(e[t])) && (o && (o += " "), o += r);
|
|
269
269
|
} else for (r in e) e[r] && (o && (o += " "), o += r);
|
|
270
270
|
return o;
|
|
271
271
|
}
|
|
272
272
|
function Pe() {
|
|
273
|
-
for (var e, t, r = 0, o = "",
|
|
273
|
+
for (var e, t, r = 0, o = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (t = ze(e)) && (o && (o += " "), o += t);
|
|
274
274
|
return o;
|
|
275
275
|
}
|
|
276
|
-
const
|
|
276
|
+
const _e = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Se = Pe, xe = (e, t) => (r) => {
|
|
277
277
|
var o;
|
|
278
|
-
if (t?.variants == null) return
|
|
279
|
-
const { variants:
|
|
280
|
-
const x = r?.[
|
|
278
|
+
if (t?.variants == null) return Se(e, r?.class, r?.className);
|
|
279
|
+
const { variants: n, defaultVariants: s } = t, i = Object.keys(n).map((u) => {
|
|
280
|
+
const x = r?.[u], w = s?.[u];
|
|
281
281
|
if (x === null) return null;
|
|
282
|
-
const k =
|
|
283
|
-
return
|
|
284
|
-
}), d = r && Object.entries(r).reduce((
|
|
282
|
+
const k = _e(x) || _e(w);
|
|
283
|
+
return n[u][k];
|
|
284
|
+
}), d = r && Object.entries(r).reduce((u, x) => {
|
|
285
285
|
let [w, k] = x;
|
|
286
|
-
return k === void 0 || (
|
|
287
|
-
}, {}),
|
|
286
|
+
return k === void 0 || (u[w] = k), u;
|
|
287
|
+
}, {}), m = t == null || (o = t.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((u, x) => {
|
|
288
288
|
let { class: w, className: k, ...C } = x;
|
|
289
|
-
return Object.entries(C).every((
|
|
290
|
-
let [_, R] =
|
|
289
|
+
return Object.entries(C).every((T) => {
|
|
290
|
+
let [_, R] = T;
|
|
291
291
|
return Array.isArray(R) ? R.includes({
|
|
292
|
-
...
|
|
292
|
+
...s,
|
|
293
293
|
...d
|
|
294
294
|
}[_]) : {
|
|
295
|
-
...
|
|
295
|
+
...s,
|
|
296
296
|
...d
|
|
297
297
|
}[_] === R;
|
|
298
298
|
}) ? [
|
|
299
|
-
...
|
|
299
|
+
...u,
|
|
300
300
|
w,
|
|
301
301
|
k
|
|
302
|
-
] :
|
|
302
|
+
] : u;
|
|
303
303
|
}, []);
|
|
304
|
-
return
|
|
304
|
+
return Se(e, i, m, r?.class, r?.className);
|
|
305
305
|
};
|
|
306
|
-
function
|
|
306
|
+
function Ee(e, t) {
|
|
307
307
|
if (typeof e == "function")
|
|
308
308
|
return e(t);
|
|
309
309
|
e != null && (e.current = t);
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function Qe(...e) {
|
|
312
312
|
return (t) => {
|
|
313
313
|
let r = !1;
|
|
314
|
-
const o = e.map((
|
|
315
|
-
const
|
|
316
|
-
return !r && typeof
|
|
314
|
+
const o = e.map((n) => {
|
|
315
|
+
const s = Ee(n, t);
|
|
316
|
+
return !r && typeof s == "function" && (r = !0), s;
|
|
317
317
|
});
|
|
318
318
|
if (r)
|
|
319
319
|
return () => {
|
|
320
|
-
for (let
|
|
321
|
-
const
|
|
322
|
-
typeof
|
|
320
|
+
for (let n = 0; n < o.length; n++) {
|
|
321
|
+
const s = o[n];
|
|
322
|
+
typeof s == "function" ? s() : Ee(e[n], null);
|
|
323
323
|
}
|
|
324
324
|
};
|
|
325
325
|
};
|
|
326
326
|
}
|
|
327
|
-
var
|
|
328
|
-
function
|
|
327
|
+
var Ke = Symbol.for("react.lazy"), ge = A[" use ".trim().toString()];
|
|
328
|
+
function er(e) {
|
|
329
329
|
return typeof e == "object" && e !== null && "then" in e;
|
|
330
330
|
}
|
|
331
|
-
function
|
|
332
|
-
return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof ===
|
|
331
|
+
function Oe(e) {
|
|
332
|
+
return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === Ke && "_payload" in e && er(e._payload);
|
|
333
333
|
}
|
|
334
334
|
// @__NO_SIDE_EFFECTS__
|
|
335
|
-
function
|
|
336
|
-
const t = /* @__PURE__ */ tr(e), r =
|
|
337
|
-
let { children:
|
|
338
|
-
|
|
339
|
-
const d =
|
|
340
|
-
if (
|
|
341
|
-
const
|
|
342
|
-
return /* @__PURE__ */ j.jsx(t, { ...i, ref:
|
|
335
|
+
function rr(e) {
|
|
336
|
+
const t = /* @__PURE__ */ tr(e), r = A.forwardRef((o, n) => {
|
|
337
|
+
let { children: s, ...i } = o;
|
|
338
|
+
Oe(s) && typeof ge == "function" && (s = ge(s._payload));
|
|
339
|
+
const d = A.Children.toArray(s), m = d.find(ar);
|
|
340
|
+
if (m) {
|
|
341
|
+
const u = m.props.children, x = d.map((w) => w === m ? A.Children.count(u) > 1 ? A.Children.only(null) : A.isValidElement(u) ? u.props.children : null : w);
|
|
342
|
+
return /* @__PURE__ */ j.jsx(t, { ...i, ref: n, children: A.isValidElement(u) ? A.cloneElement(u, void 0, x) : null });
|
|
343
343
|
}
|
|
344
|
-
return /* @__PURE__ */ j.jsx(t, { ...i, ref:
|
|
344
|
+
return /* @__PURE__ */ j.jsx(t, { ...i, ref: n, children: s });
|
|
345
345
|
});
|
|
346
346
|
return r.displayName = `${e}.Slot`, r;
|
|
347
347
|
}
|
|
348
|
-
var
|
|
348
|
+
var Ie = /* @__PURE__ */ rr("Slot");
|
|
349
349
|
// @__NO_SIDE_EFFECTS__
|
|
350
350
|
function tr(e) {
|
|
351
|
-
const t =
|
|
352
|
-
let { children:
|
|
353
|
-
if (
|
|
354
|
-
const i =
|
|
355
|
-
return
|
|
351
|
+
const t = A.forwardRef((r, o) => {
|
|
352
|
+
let { children: n, ...s } = r;
|
|
353
|
+
if (Oe(n) && typeof ge == "function" && (n = ge(n._payload)), A.isValidElement(n)) {
|
|
354
|
+
const i = sr(n), d = nr(s, n.props);
|
|
355
|
+
return n.type !== A.Fragment && (d.ref = o ? Qe(o, i) : i), A.cloneElement(n, d);
|
|
356
356
|
}
|
|
357
|
-
return
|
|
357
|
+
return A.Children.count(n) > 1 ? A.Children.only(null) : null;
|
|
358
358
|
});
|
|
359
359
|
return t.displayName = `${e}.SlotClone`, t;
|
|
360
360
|
}
|
|
361
361
|
var or = Symbol("radix.slottable");
|
|
362
|
-
function
|
|
363
|
-
return
|
|
362
|
+
function ar(e) {
|
|
363
|
+
return A.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === or;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function nr(e, t) {
|
|
366
366
|
const r = { ...t };
|
|
367
367
|
for (const o in t) {
|
|
368
|
-
const
|
|
369
|
-
/^on[A-Z]/.test(o) ?
|
|
370
|
-
const
|
|
371
|
-
return
|
|
372
|
-
} :
|
|
368
|
+
const n = e[o], s = t[o];
|
|
369
|
+
/^on[A-Z]/.test(o) ? n && s ? r[o] = (...d) => {
|
|
370
|
+
const m = s(...d);
|
|
371
|
+
return n(...d), m;
|
|
372
|
+
} : n && (r[o] = n) : o === "style" ? r[o] = { ...n, ...s } : o === "className" && (r[o] = [n, s].filter(Boolean).join(" "));
|
|
373
373
|
}
|
|
374
374
|
return { ...e, ...r };
|
|
375
375
|
}
|
|
376
|
-
function
|
|
376
|
+
function sr(e) {
|
|
377
377
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
378
378
|
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);
|
|
379
379
|
}
|
|
@@ -387,101 +387,101 @@ const ir = (e, t) => {
|
|
|
387
387
|
}, lr = (e, t) => ({
|
|
388
388
|
classGroupId: e,
|
|
389
389
|
validator: t
|
|
390
|
-
}),
|
|
390
|
+
}), Ge = (e = /* @__PURE__ */ new Map(), t = null, r) => ({
|
|
391
391
|
nextPart: e,
|
|
392
392
|
validators: t,
|
|
393
393
|
classGroupId: r
|
|
394
|
-
}),
|
|
395
|
-
const t =
|
|
394
|
+
}), be = "-", Ce = [], cr = "arbitrary..", dr = (e) => {
|
|
395
|
+
const t = ur(e), {
|
|
396
396
|
conflictingClassGroups: r,
|
|
397
397
|
conflictingClassGroupModifiers: o
|
|
398
398
|
} = e;
|
|
399
399
|
return {
|
|
400
400
|
getClassGroupId: (i) => {
|
|
401
401
|
if (i.startsWith("[") && i.endsWith("]"))
|
|
402
|
-
return
|
|
403
|
-
const d = i.split(
|
|
404
|
-
return
|
|
402
|
+
return mr(i);
|
|
403
|
+
const d = i.split(be), m = d[0] === "" && d.length > 1 ? 1 : 0;
|
|
404
|
+
return Me(d, m, t);
|
|
405
405
|
},
|
|
406
406
|
getConflictingClassGroupIds: (i, d) => {
|
|
407
407
|
if (d) {
|
|
408
|
-
const
|
|
409
|
-
return
|
|
408
|
+
const m = o[i], u = r[i];
|
|
409
|
+
return m ? u ? ir(u, m) : m : u || Ce;
|
|
410
410
|
}
|
|
411
|
-
return r[i] ||
|
|
411
|
+
return r[i] || Ce;
|
|
412
412
|
}
|
|
413
413
|
};
|
|
414
|
-
},
|
|
414
|
+
}, Me = (e, t, r) => {
|
|
415
415
|
if (e.length - t === 0)
|
|
416
416
|
return r.classGroupId;
|
|
417
|
-
const
|
|
418
|
-
if (
|
|
419
|
-
const
|
|
420
|
-
if (
|
|
417
|
+
const n = e[t], s = r.nextPart.get(n);
|
|
418
|
+
if (s) {
|
|
419
|
+
const u = Me(e, t + 1, s);
|
|
420
|
+
if (u) return u;
|
|
421
421
|
}
|
|
422
422
|
const i = r.validators;
|
|
423
423
|
if (i === null)
|
|
424
424
|
return;
|
|
425
|
-
const d = t === 0 ? e.join(
|
|
426
|
-
for (let
|
|
427
|
-
const x = i[
|
|
425
|
+
const d = t === 0 ? e.join(be) : e.slice(t).join(be), m = i.length;
|
|
426
|
+
for (let u = 0; u < m; u++) {
|
|
427
|
+
const x = i[u];
|
|
428
428
|
if (x.validator(d))
|
|
429
429
|
return x.classGroupId;
|
|
430
430
|
}
|
|
431
|
-
},
|
|
431
|
+
}, mr = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
432
432
|
const t = e.slice(1, -1), r = t.indexOf(":"), o = t.slice(0, r);
|
|
433
433
|
return o ? cr + o : void 0;
|
|
434
|
-
})(),
|
|
434
|
+
})(), ur = (e) => {
|
|
435
435
|
const {
|
|
436
436
|
theme: t,
|
|
437
437
|
classGroups: r
|
|
438
438
|
} = e;
|
|
439
|
-
return
|
|
440
|
-
},
|
|
441
|
-
const r =
|
|
439
|
+
return gr(r, t);
|
|
440
|
+
}, gr = (e, t) => {
|
|
441
|
+
const r = Ge();
|
|
442
442
|
for (const o in e) {
|
|
443
|
-
const
|
|
444
|
-
|
|
443
|
+
const n = e[o];
|
|
444
|
+
ye(n, r, o, t);
|
|
445
445
|
}
|
|
446
446
|
return r;
|
|
447
|
-
},
|
|
448
|
-
const
|
|
449
|
-
for (let
|
|
450
|
-
const i = e[
|
|
451
|
-
|
|
447
|
+
}, ye = (e, t, r, o) => {
|
|
448
|
+
const n = e.length;
|
|
449
|
+
for (let s = 0; s < n; s++) {
|
|
450
|
+
const i = e[s];
|
|
451
|
+
br(i, t, r, o);
|
|
452
452
|
}
|
|
453
|
-
},
|
|
453
|
+
}, br = (e, t, r, o) => {
|
|
454
454
|
if (typeof e == "string") {
|
|
455
|
-
|
|
455
|
+
fr(e, t, r);
|
|
456
456
|
return;
|
|
457
457
|
}
|
|
458
458
|
if (typeof e == "function") {
|
|
459
|
-
|
|
459
|
+
pr(e, t, r, o);
|
|
460
460
|
return;
|
|
461
461
|
}
|
|
462
462
|
hr(e, t, r, o);
|
|
463
|
-
},
|
|
464
|
-
const o = e === "" ? t :
|
|
463
|
+
}, fr = (e, t, r) => {
|
|
464
|
+
const o = e === "" ? t : Ve(t, e);
|
|
465
465
|
o.classGroupId = r;
|
|
466
|
-
},
|
|
466
|
+
}, pr = (e, t, r, o) => {
|
|
467
467
|
if (vr(e)) {
|
|
468
|
-
|
|
468
|
+
ye(e(o), t, r, o);
|
|
469
469
|
return;
|
|
470
470
|
}
|
|
471
471
|
t.validators === null && (t.validators = []), t.validators.push(lr(r, e));
|
|
472
472
|
}, hr = (e, t, r, o) => {
|
|
473
|
-
const
|
|
474
|
-
for (let i = 0; i <
|
|
475
|
-
const [d,
|
|
476
|
-
|
|
473
|
+
const n = Object.entries(e), s = n.length;
|
|
474
|
+
for (let i = 0; i < s; i++) {
|
|
475
|
+
const [d, m] = n[i];
|
|
476
|
+
ye(m, Ve(t, d), r, o);
|
|
477
477
|
}
|
|
478
|
-
},
|
|
478
|
+
}, Ve = (e, t) => {
|
|
479
479
|
let r = e;
|
|
480
|
-
const o = t.split(
|
|
481
|
-
for (let
|
|
482
|
-
const i = o[
|
|
480
|
+
const o = t.split(be), n = o.length;
|
|
481
|
+
for (let s = 0; s < n; s++) {
|
|
482
|
+
const i = o[s];
|
|
483
483
|
let d = r.nextPart.get(i);
|
|
484
|
-
d || (d =
|
|
484
|
+
d || (d = Ge(), r.nextPart.set(i, d)), r = d;
|
|
485
485
|
}
|
|
486
486
|
return r;
|
|
487
487
|
}, vr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, xr = (e) => {
|
|
@@ -493,51 +493,51 @@ const ir = (e, t) => {
|
|
|
493
493
|
}
|
|
494
494
|
};
|
|
495
495
|
let t = 0, r = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
|
|
496
|
-
const
|
|
497
|
-
r[
|
|
496
|
+
const n = (s, i) => {
|
|
497
|
+
r[s] = i, t++, t > e && (t = 0, o = r, r = /* @__PURE__ */ Object.create(null));
|
|
498
498
|
};
|
|
499
499
|
return {
|
|
500
|
-
get(
|
|
501
|
-
let i = r[
|
|
500
|
+
get(s) {
|
|
501
|
+
let i = r[s];
|
|
502
502
|
if (i !== void 0)
|
|
503
503
|
return i;
|
|
504
|
-
if ((i = o[
|
|
505
|
-
return s
|
|
504
|
+
if ((i = o[s]) !== void 0)
|
|
505
|
+
return n(s, i), i;
|
|
506
506
|
},
|
|
507
|
-
set(
|
|
508
|
-
|
|
507
|
+
set(s, i) {
|
|
508
|
+
s in r ? r[s] = i : n(s, i);
|
|
509
509
|
}
|
|
510
510
|
};
|
|
511
|
-
}, ve = "!",
|
|
511
|
+
}, ve = "!", Ne = ":", yr = [], Ae = (e, t, r, o, n) => ({
|
|
512
512
|
modifiers: e,
|
|
513
513
|
hasImportantModifier: t,
|
|
514
514
|
baseClassName: r,
|
|
515
515
|
maybePostfixModifierPosition: o,
|
|
516
|
-
isExternal:
|
|
516
|
+
isExternal: n
|
|
517
517
|
}), wr = (e) => {
|
|
518
518
|
const {
|
|
519
519
|
prefix: t,
|
|
520
520
|
experimentalParseClassName: r
|
|
521
521
|
} = e;
|
|
522
|
-
let o = (
|
|
523
|
-
const
|
|
524
|
-
let i = 0, d = 0,
|
|
525
|
-
const x =
|
|
522
|
+
let o = (n) => {
|
|
523
|
+
const s = [];
|
|
524
|
+
let i = 0, d = 0, m = 0, u;
|
|
525
|
+
const x = n.length;
|
|
526
526
|
for (let _ = 0; _ < x; _++) {
|
|
527
|
-
const R =
|
|
527
|
+
const R = n[_];
|
|
528
528
|
if (i === 0 && d === 0) {
|
|
529
|
-
if (R ===
|
|
530
|
-
|
|
529
|
+
if (R === Ne) {
|
|
530
|
+
s.push(n.slice(m, _)), m = _ + 1;
|
|
531
531
|
continue;
|
|
532
532
|
}
|
|
533
533
|
if (R === "/") {
|
|
534
|
-
|
|
534
|
+
u = _;
|
|
535
535
|
continue;
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
R === "[" ? i++ : R === "]" ? i-- : R === "(" ? d++ : R === ")" && d--;
|
|
539
539
|
}
|
|
540
|
-
const w =
|
|
540
|
+
const w = s.length === 0 ? n : n.slice(m);
|
|
541
541
|
let k = w, C = !1;
|
|
542
542
|
w.endsWith(ve) ? (k = w.slice(0, -1), C = !0) : (
|
|
543
543
|
/**
|
|
@@ -546,18 +546,18 @@ const ir = (e, t) => {
|
|
|
546
546
|
*/
|
|
547
547
|
w.startsWith(ve) && (k = w.slice(1), C = !0)
|
|
548
548
|
);
|
|
549
|
-
const
|
|
550
|
-
return Ae(
|
|
549
|
+
const T = u && u > m ? u - m : void 0;
|
|
550
|
+
return Ae(s, C, k, T);
|
|
551
551
|
};
|
|
552
552
|
if (t) {
|
|
553
|
-
const
|
|
554
|
-
o = (i) => i.startsWith(
|
|
553
|
+
const n = t + Ne, s = o;
|
|
554
|
+
o = (i) => i.startsWith(n) ? s(i.slice(n.length)) : Ae(yr, !1, i, void 0, !0);
|
|
555
555
|
}
|
|
556
556
|
if (r) {
|
|
557
|
-
const
|
|
558
|
-
o = (
|
|
559
|
-
className:
|
|
560
|
-
parseClassName:
|
|
557
|
+
const n = o;
|
|
558
|
+
o = (s) => r({
|
|
559
|
+
className: s,
|
|
560
|
+
parseClassName: n
|
|
561
561
|
});
|
|
562
562
|
}
|
|
563
563
|
return o;
|
|
@@ -567,12 +567,12 @@ const ir = (e, t) => {
|
|
|
567
567
|
t.set(r, 1e6 + o);
|
|
568
568
|
}), (r) => {
|
|
569
569
|
const o = [];
|
|
570
|
-
let
|
|
571
|
-
for (let
|
|
572
|
-
const i = r[
|
|
573
|
-
d ||
|
|
570
|
+
let n = [];
|
|
571
|
+
for (let s = 0; s < r.length; s++) {
|
|
572
|
+
const i = r[s], d = i[0] === "[", m = t.has(i);
|
|
573
|
+
d || m ? (n.length > 0 && (n.sort(), o.push(...n), n = []), o.push(i)) : n.push(i);
|
|
574
574
|
}
|
|
575
|
-
return
|
|
575
|
+
return n.length > 0 && (n.sort(), o.push(...n)), o;
|
|
576
576
|
};
|
|
577
577
|
}, Rr = (e) => ({
|
|
578
578
|
cache: xr(e.cacheSize),
|
|
@@ -583,87 +583,87 @@ const ir = (e, t) => {
|
|
|
583
583
|
const {
|
|
584
584
|
parseClassName: r,
|
|
585
585
|
getClassGroupId: o,
|
|
586
|
-
getConflictingClassGroupIds:
|
|
587
|
-
sortModifiers:
|
|
586
|
+
getConflictingClassGroupIds: n,
|
|
587
|
+
sortModifiers: s
|
|
588
588
|
} = t, i = [], d = e.trim().split(_r);
|
|
589
|
-
let
|
|
590
|
-
for (let
|
|
591
|
-
const x = d[
|
|
589
|
+
let m = "";
|
|
590
|
+
for (let u = d.length - 1; u >= 0; u -= 1) {
|
|
591
|
+
const x = d[u], {
|
|
592
592
|
isExternal: w,
|
|
593
593
|
modifiers: k,
|
|
594
594
|
hasImportantModifier: C,
|
|
595
|
-
baseClassName:
|
|
595
|
+
baseClassName: T,
|
|
596
596
|
maybePostfixModifierPosition: _
|
|
597
597
|
} = r(x);
|
|
598
598
|
if (w) {
|
|
599
|
-
|
|
599
|
+
m = x + (m.length > 0 ? " " + m : m);
|
|
600
600
|
continue;
|
|
601
601
|
}
|
|
602
|
-
let R = !!_, E = o(R ?
|
|
602
|
+
let R = !!_, E = o(R ? T.substring(0, _) : T);
|
|
603
603
|
if (!E) {
|
|
604
604
|
if (!R) {
|
|
605
|
-
|
|
605
|
+
m = x + (m.length > 0 ? " " + m : m);
|
|
606
606
|
continue;
|
|
607
607
|
}
|
|
608
|
-
if (E = o(
|
|
609
|
-
|
|
608
|
+
if (E = o(T), !E) {
|
|
609
|
+
m = x + (m.length > 0 ? " " + m : m);
|
|
610
610
|
continue;
|
|
611
611
|
}
|
|
612
612
|
R = !1;
|
|
613
613
|
}
|
|
614
|
-
const
|
|
614
|
+
const P = k.length === 0 ? "" : k.length === 1 ? k[0] : s(k).join(":"), O = C ? P + ve : P, V = O + E;
|
|
615
615
|
if (i.indexOf(V) > -1)
|
|
616
616
|
continue;
|
|
617
617
|
i.push(V);
|
|
618
|
-
const L =
|
|
619
|
-
for (let
|
|
620
|
-
const $ = L[
|
|
621
|
-
i.push(
|
|
618
|
+
const L = n(E, R);
|
|
619
|
+
for (let z = 0; z < L.length; ++z) {
|
|
620
|
+
const $ = L[z];
|
|
621
|
+
i.push(O + $);
|
|
622
622
|
}
|
|
623
|
-
|
|
623
|
+
m = x + (m.length > 0 ? " " + m : m);
|
|
624
624
|
}
|
|
625
|
-
return
|
|
625
|
+
return m;
|
|
626
626
|
}, Er = (...e) => {
|
|
627
|
-
let t = 0, r, o,
|
|
627
|
+
let t = 0, r, o, n = "";
|
|
628
628
|
for (; t < e.length; )
|
|
629
|
-
(r = e[t++]) && (o =
|
|
630
|
-
return
|
|
631
|
-
},
|
|
629
|
+
(r = e[t++]) && (o = Le(r)) && (n && (n += " "), n += o);
|
|
630
|
+
return n;
|
|
631
|
+
}, Le = (e) => {
|
|
632
632
|
if (typeof e == "string")
|
|
633
633
|
return e;
|
|
634
634
|
let t, r = "";
|
|
635
635
|
for (let o = 0; o < e.length; o++)
|
|
636
|
-
e[o] && (t =
|
|
636
|
+
e[o] && (t = Le(e[o])) && (r && (r += " "), r += t);
|
|
637
637
|
return r;
|
|
638
638
|
}, Cr = (e, ...t) => {
|
|
639
|
-
let r, o,
|
|
640
|
-
const i = (
|
|
641
|
-
const
|
|
642
|
-
return r = Rr(
|
|
643
|
-
}, d = (
|
|
644
|
-
const
|
|
645
|
-
if (
|
|
646
|
-
return
|
|
647
|
-
const x = Sr(
|
|
648
|
-
return
|
|
639
|
+
let r, o, n, s;
|
|
640
|
+
const i = (m) => {
|
|
641
|
+
const u = t.reduce((x, w) => w(x), e());
|
|
642
|
+
return r = Rr(u), o = r.cache.get, n = r.cache.set, s = d, d(m);
|
|
643
|
+
}, d = (m) => {
|
|
644
|
+
const u = o(m);
|
|
645
|
+
if (u)
|
|
646
|
+
return u;
|
|
647
|
+
const x = Sr(m, r);
|
|
648
|
+
return n(m, x), x;
|
|
649
649
|
};
|
|
650
|
-
return
|
|
651
|
-
},
|
|
652
|
-
const t = (r) => r[e] ||
|
|
650
|
+
return s = i, (...m) => s(Er(...m));
|
|
651
|
+
}, Nr = [], N = (e) => {
|
|
652
|
+
const t = (r) => r[e] || Nr;
|
|
653
653
|
return t.isThemeGetter = !0, t;
|
|
654
|
-
},
|
|
654
|
+
}, $e = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, qe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ar = /^\d+\/\d+$/, Tr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, jr = /\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$/, zr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Pr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Or = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, K = (e) => Ar.test(e), p = (e) => !!e && !Number.isNaN(Number(e)), B = (e) => !!e && Number.isInteger(Number(e)), pe = (e) => e.endsWith("%") && p(e.slice(0, -1)), F = (e) => Tr.test(e), Ir = () => !0, Gr = (e) => (
|
|
655
655
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
656
656
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
657
657
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
658
|
-
jr.test(e) && !
|
|
659
|
-
),
|
|
660
|
-
const o =
|
|
658
|
+
jr.test(e) && !zr.test(e)
|
|
659
|
+
), We = () => !1, Mr = (e) => Pr.test(e), Vr = (e) => Or.test(e), Lr = (e) => !l(e) && !c(e), $r = (e) => ee(e, De, We), l = (e) => $e.test(e), U = (e) => ee(e, Be, Gr), he = (e) => ee(e, Dr, p), Te = (e) => ee(e, Fe, We), qr = (e) => ee(e, Ye, Vr), me = (e) => ee(e, Ue, Mr), c = (e) => qe.test(e), le = (e) => re(e, Be), Wr = (e) => re(e, Br), je = (e) => re(e, Fe), Fr = (e) => re(e, De), Yr = (e) => re(e, Ye), ue = (e) => re(e, Ue, !0), ee = (e, t, r) => {
|
|
660
|
+
const o = $e.exec(e);
|
|
661
661
|
return o ? o[1] ? t(o[1]) : r(o[2]) : !1;
|
|
662
662
|
}, re = (e, t, r = !1) => {
|
|
663
|
-
const o =
|
|
663
|
+
const o = qe.exec(e);
|
|
664
664
|
return o ? o[1] ? t(o[1]) : r : !1;
|
|
665
|
-
},
|
|
666
|
-
const e =
|
|
665
|
+
}, Fe = (e) => e === "position" || e === "percentage", Ye = (e) => e === "image" || e === "url", De = (e) => e === "length" || e === "size" || e === "bg-size", Be = (e) => e === "length", Dr = (e) => e === "number", Br = (e) => e === "family-name", Ue = (e) => e === "shadow", Ur = () => {
|
|
666
|
+
const e = N("color"), t = N("font"), r = N("text"), o = N("font-weight"), n = N("tracking"), s = N("leading"), i = N("breakpoint"), d = N("container"), m = N("spacing"), u = N("radius"), x = N("shadow"), w = N("inset-shadow"), k = N("text-shadow"), C = N("drop-shadow"), T = N("blur"), _ = N("perspective"), R = N("aspect"), E = N("ease"), P = N("animate"), O = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], V = () => [
|
|
667
667
|
"center",
|
|
668
668
|
"top",
|
|
669
669
|
"bottom",
|
|
@@ -681,30 +681,30 @@ const ir = (e, t) => {
|
|
|
681
681
|
"bottom-left",
|
|
682
682
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
683
683
|
"left-bottom"
|
|
684
|
-
], L = () => [...V(), c, l],
|
|
684
|
+
], L = () => [...V(), c, l], z = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], b = () => [c, l, m], S = () => [K, "full", "auto", ...b()], X = () => [B, "none", "subgrid", c, l], H = () => ["auto", {
|
|
685
685
|
span: ["full", B, c, l]
|
|
686
|
-
}, B, c, l], Y = () => [B, "auto", c, l], te = () => ["auto", "min", "max", "fr", c, l], oe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], G = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], I = () => ["auto", ...
|
|
686
|
+
}, B, c, l], Y = () => [B, "auto", c, l], te = () => ["auto", "min", "max", "fr", c, l], oe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], G = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], I = () => ["auto", ...b()], M = () => [K, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...b()], g = () => [e, c, l], ae = () => [...V(), je, Te, {
|
|
687
687
|
position: [c, l]
|
|
688
|
-
}],
|
|
688
|
+
}], ne = () => ["no-repeat", {
|
|
689
689
|
repeat: ["", "x", "y", "space", "round"]
|
|
690
|
-
}],
|
|
690
|
+
}], a = () => ["auto", "cover", "contain", Fr, $r, {
|
|
691
691
|
size: [c, l]
|
|
692
|
-
}],
|
|
692
|
+
}], f = () => [pe, le, U], h = () => [
|
|
693
693
|
// Deprecated since Tailwind CSS v4.0.0
|
|
694
694
|
"",
|
|
695
695
|
"none",
|
|
696
696
|
"full",
|
|
697
|
-
|
|
697
|
+
u,
|
|
698
698
|
c,
|
|
699
699
|
l
|
|
700
|
-
], y = () => ["",
|
|
700
|
+
], y = () => ["", p, le, U], q = () => ["solid", "dashed", "dotted", "double"], Z = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], v = () => [p, pe, je, Te], W = () => [
|
|
701
701
|
// Deprecated since Tailwind CSS v4.0.0
|
|
702
702
|
"",
|
|
703
703
|
"none",
|
|
704
|
-
|
|
704
|
+
T,
|
|
705
705
|
c,
|
|
706
706
|
l
|
|
707
|
-
], D = () => ["none",
|
|
707
|
+
], D = () => ["none", p, c, l], Q = () => ["none", p, c, l], fe = () => [p, c, l], ce = () => [K, "full", ...b()];
|
|
708
708
|
return {
|
|
709
709
|
cacheSize: 500,
|
|
710
710
|
theme: {
|
|
@@ -723,7 +723,7 @@ const ir = (e, t) => {
|
|
|
723
723
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
724
724
|
radius: [F],
|
|
725
725
|
shadow: [F],
|
|
726
|
-
spacing: ["px",
|
|
726
|
+
spacing: ["px", p],
|
|
727
727
|
text: [F],
|
|
728
728
|
"text-shadow": [F],
|
|
729
729
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -737,7 +737,7 @@ const ir = (e, t) => {
|
|
|
737
737
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
738
738
|
*/
|
|
739
739
|
aspect: [{
|
|
740
|
-
aspect: ["auto", "square",
|
|
740
|
+
aspect: ["auto", "square", K, l, c, R]
|
|
741
741
|
}],
|
|
742
742
|
/**
|
|
743
743
|
* Container
|
|
@@ -750,21 +750,21 @@ const ir = (e, t) => {
|
|
|
750
750
|
* @see https://tailwindcss.com/docs/columns
|
|
751
751
|
*/
|
|
752
752
|
columns: [{
|
|
753
|
-
columns: [
|
|
753
|
+
columns: [p, l, c, d]
|
|
754
754
|
}],
|
|
755
755
|
/**
|
|
756
756
|
* Break After
|
|
757
757
|
* @see https://tailwindcss.com/docs/break-after
|
|
758
758
|
*/
|
|
759
759
|
"break-after": [{
|
|
760
|
-
"break-after":
|
|
760
|
+
"break-after": O()
|
|
761
761
|
}],
|
|
762
762
|
/**
|
|
763
763
|
* Break Before
|
|
764
764
|
* @see https://tailwindcss.com/docs/break-before
|
|
765
765
|
*/
|
|
766
766
|
"break-before": [{
|
|
767
|
-
"break-before":
|
|
767
|
+
"break-before": O()
|
|
768
768
|
}],
|
|
769
769
|
/**
|
|
770
770
|
* Break Inside
|
|
@@ -835,21 +835,21 @@ const ir = (e, t) => {
|
|
|
835
835
|
* @see https://tailwindcss.com/docs/overflow
|
|
836
836
|
*/
|
|
837
837
|
overflow: [{
|
|
838
|
-
overflow:
|
|
838
|
+
overflow: z()
|
|
839
839
|
}],
|
|
840
840
|
/**
|
|
841
841
|
* Overflow X
|
|
842
842
|
* @see https://tailwindcss.com/docs/overflow
|
|
843
843
|
*/
|
|
844
844
|
"overflow-x": [{
|
|
845
|
-
"overflow-x":
|
|
845
|
+
"overflow-x": z()
|
|
846
846
|
}],
|
|
847
847
|
/**
|
|
848
848
|
* Overflow Y
|
|
849
849
|
* @see https://tailwindcss.com/docs/overflow
|
|
850
850
|
*/
|
|
851
851
|
"overflow-y": [{
|
|
852
|
-
"overflow-y":
|
|
852
|
+
"overflow-y": z()
|
|
853
853
|
}],
|
|
854
854
|
/**
|
|
855
855
|
* Overscroll Behavior
|
|
@@ -960,7 +960,7 @@ const ir = (e, t) => {
|
|
|
960
960
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
961
961
|
*/
|
|
962
962
|
basis: [{
|
|
963
|
-
basis: [
|
|
963
|
+
basis: [K, "full", "auto", d, ...b()]
|
|
964
964
|
}],
|
|
965
965
|
/**
|
|
966
966
|
* Flex Direction
|
|
@@ -981,21 +981,21 @@ const ir = (e, t) => {
|
|
|
981
981
|
* @see https://tailwindcss.com/docs/flex
|
|
982
982
|
*/
|
|
983
983
|
flex: [{
|
|
984
|
-
flex: [
|
|
984
|
+
flex: [p, K, "auto", "initial", "none", l]
|
|
985
985
|
}],
|
|
986
986
|
/**
|
|
987
987
|
* Flex Grow
|
|
988
988
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
989
989
|
*/
|
|
990
990
|
grow: [{
|
|
991
|
-
grow: ["",
|
|
991
|
+
grow: ["", p, c, l]
|
|
992
992
|
}],
|
|
993
993
|
/**
|
|
994
994
|
* Flex Shrink
|
|
995
995
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
996
996
|
*/
|
|
997
997
|
shrink: [{
|
|
998
|
-
shrink: ["",
|
|
998
|
+
shrink: ["", p, c, l]
|
|
999
999
|
}],
|
|
1000
1000
|
/**
|
|
1001
1001
|
* Order
|
|
@@ -1009,14 +1009,14 @@ const ir = (e, t) => {
|
|
|
1009
1009
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1010
1010
|
*/
|
|
1011
1011
|
"grid-cols": [{
|
|
1012
|
-
"grid-cols":
|
|
1012
|
+
"grid-cols": X()
|
|
1013
1013
|
}],
|
|
1014
1014
|
/**
|
|
1015
1015
|
* Grid Column Start / End
|
|
1016
1016
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1017
1017
|
*/
|
|
1018
1018
|
"col-start-end": [{
|
|
1019
|
-
col:
|
|
1019
|
+
col: H()
|
|
1020
1020
|
}],
|
|
1021
1021
|
/**
|
|
1022
1022
|
* Grid Column Start
|
|
@@ -1037,14 +1037,14 @@ const ir = (e, t) => {
|
|
|
1037
1037
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1038
1038
|
*/
|
|
1039
1039
|
"grid-rows": [{
|
|
1040
|
-
"grid-rows":
|
|
1040
|
+
"grid-rows": X()
|
|
1041
1041
|
}],
|
|
1042
1042
|
/**
|
|
1043
1043
|
* Grid Row Start / End
|
|
1044
1044
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1045
1045
|
*/
|
|
1046
1046
|
"row-start-end": [{
|
|
1047
|
-
row:
|
|
1047
|
+
row: H()
|
|
1048
1048
|
}],
|
|
1049
1049
|
/**
|
|
1050
1050
|
* Grid Row Start
|
|
@@ -1086,21 +1086,21 @@ const ir = (e, t) => {
|
|
|
1086
1086
|
* @see https://tailwindcss.com/docs/gap
|
|
1087
1087
|
*/
|
|
1088
1088
|
gap: [{
|
|
1089
|
-
gap:
|
|
1089
|
+
gap: b()
|
|
1090
1090
|
}],
|
|
1091
1091
|
/**
|
|
1092
1092
|
* Gap X
|
|
1093
1093
|
* @see https://tailwindcss.com/docs/gap
|
|
1094
1094
|
*/
|
|
1095
1095
|
"gap-x": [{
|
|
1096
|
-
"gap-x":
|
|
1096
|
+
"gap-x": b()
|
|
1097
1097
|
}],
|
|
1098
1098
|
/**
|
|
1099
1099
|
* Gap Y
|
|
1100
1100
|
* @see https://tailwindcss.com/docs/gap
|
|
1101
1101
|
*/
|
|
1102
1102
|
"gap-y": [{
|
|
1103
|
-
"gap-y":
|
|
1103
|
+
"gap-y": b()
|
|
1104
1104
|
}],
|
|
1105
1105
|
/**
|
|
1106
1106
|
* Justify Content
|
|
@@ -1175,63 +1175,63 @@ const ir = (e, t) => {
|
|
|
1175
1175
|
* @see https://tailwindcss.com/docs/padding
|
|
1176
1176
|
*/
|
|
1177
1177
|
p: [{
|
|
1178
|
-
p:
|
|
1178
|
+
p: b()
|
|
1179
1179
|
}],
|
|
1180
1180
|
/**
|
|
1181
1181
|
* Padding X
|
|
1182
1182
|
* @see https://tailwindcss.com/docs/padding
|
|
1183
1183
|
*/
|
|
1184
1184
|
px: [{
|
|
1185
|
-
px:
|
|
1185
|
+
px: b()
|
|
1186
1186
|
}],
|
|
1187
1187
|
/**
|
|
1188
1188
|
* Padding Y
|
|
1189
1189
|
* @see https://tailwindcss.com/docs/padding
|
|
1190
1190
|
*/
|
|
1191
1191
|
py: [{
|
|
1192
|
-
py:
|
|
1192
|
+
py: b()
|
|
1193
1193
|
}],
|
|
1194
1194
|
/**
|
|
1195
1195
|
* Padding Start
|
|
1196
1196
|
* @see https://tailwindcss.com/docs/padding
|
|
1197
1197
|
*/
|
|
1198
1198
|
ps: [{
|
|
1199
|
-
ps:
|
|
1199
|
+
ps: b()
|
|
1200
1200
|
}],
|
|
1201
1201
|
/**
|
|
1202
1202
|
* Padding End
|
|
1203
1203
|
* @see https://tailwindcss.com/docs/padding
|
|
1204
1204
|
*/
|
|
1205
1205
|
pe: [{
|
|
1206
|
-
pe:
|
|
1206
|
+
pe: b()
|
|
1207
1207
|
}],
|
|
1208
1208
|
/**
|
|
1209
1209
|
* Padding Top
|
|
1210
1210
|
* @see https://tailwindcss.com/docs/padding
|
|
1211
1211
|
*/
|
|
1212
1212
|
pt: [{
|
|
1213
|
-
pt:
|
|
1213
|
+
pt: b()
|
|
1214
1214
|
}],
|
|
1215
1215
|
/**
|
|
1216
1216
|
* Padding Right
|
|
1217
1217
|
* @see https://tailwindcss.com/docs/padding
|
|
1218
1218
|
*/
|
|
1219
1219
|
pr: [{
|
|
1220
|
-
pr:
|
|
1220
|
+
pr: b()
|
|
1221
1221
|
}],
|
|
1222
1222
|
/**
|
|
1223
1223
|
* Padding Bottom
|
|
1224
1224
|
* @see https://tailwindcss.com/docs/padding
|
|
1225
1225
|
*/
|
|
1226
1226
|
pb: [{
|
|
1227
|
-
pb:
|
|
1227
|
+
pb: b()
|
|
1228
1228
|
}],
|
|
1229
1229
|
/**
|
|
1230
1230
|
* Padding Left
|
|
1231
1231
|
* @see https://tailwindcss.com/docs/padding
|
|
1232
1232
|
*/
|
|
1233
1233
|
pl: [{
|
|
1234
|
-
pl:
|
|
1234
|
+
pl: b()
|
|
1235
1235
|
}],
|
|
1236
1236
|
/**
|
|
1237
1237
|
* Margin
|
|
@@ -1301,7 +1301,7 @@ const ir = (e, t) => {
|
|
|
1301
1301
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1302
1302
|
*/
|
|
1303
1303
|
"space-x": [{
|
|
1304
|
-
"space-x":
|
|
1304
|
+
"space-x": b()
|
|
1305
1305
|
}],
|
|
1306
1306
|
/**
|
|
1307
1307
|
* Space Between X Reverse
|
|
@@ -1313,7 +1313,7 @@ const ir = (e, t) => {
|
|
|
1313
1313
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1314
1314
|
*/
|
|
1315
1315
|
"space-y": [{
|
|
1316
|
-
"space-y":
|
|
1316
|
+
"space-y": b()
|
|
1317
1317
|
}],
|
|
1318
1318
|
/**
|
|
1319
1319
|
* Space Between Y Reverse
|
|
@@ -1421,7 +1421,7 @@ const ir = (e, t) => {
|
|
|
1421
1421
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1422
1422
|
*/
|
|
1423
1423
|
"font-stretch": [{
|
|
1424
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1424
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", pe, l]
|
|
1425
1425
|
}],
|
|
1426
1426
|
/**
|
|
1427
1427
|
* Font Family
|
|
@@ -1465,14 +1465,14 @@ const ir = (e, t) => {
|
|
|
1465
1465
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1466
1466
|
*/
|
|
1467
1467
|
tracking: [{
|
|
1468
|
-
tracking: [
|
|
1468
|
+
tracking: [n, c, l]
|
|
1469
1469
|
}],
|
|
1470
1470
|
/**
|
|
1471
1471
|
* Line Clamp
|
|
1472
1472
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1473
1473
|
*/
|
|
1474
1474
|
"line-clamp": [{
|
|
1475
|
-
"line-clamp": [
|
|
1475
|
+
"line-clamp": [p, "none", c, he]
|
|
1476
1476
|
}],
|
|
1477
1477
|
/**
|
|
1478
1478
|
* Line Height
|
|
@@ -1481,8 +1481,8 @@ const ir = (e, t) => {
|
|
|
1481
1481
|
leading: [{
|
|
1482
1482
|
leading: [
|
|
1483
1483
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1484
|
-
|
|
1485
|
-
...
|
|
1484
|
+
s,
|
|
1485
|
+
...b()
|
|
1486
1486
|
]
|
|
1487
1487
|
}],
|
|
1488
1488
|
/**
|
|
@@ -1519,14 +1519,14 @@ const ir = (e, t) => {
|
|
|
1519
1519
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1520
1520
|
*/
|
|
1521
1521
|
"placeholder-color": [{
|
|
1522
|
-
placeholder:
|
|
1522
|
+
placeholder: g()
|
|
1523
1523
|
}],
|
|
1524
1524
|
/**
|
|
1525
1525
|
* Text Color
|
|
1526
1526
|
* @see https://tailwindcss.com/docs/text-color
|
|
1527
1527
|
*/
|
|
1528
1528
|
"text-color": [{
|
|
1529
|
-
text:
|
|
1529
|
+
text: g()
|
|
1530
1530
|
}],
|
|
1531
1531
|
/**
|
|
1532
1532
|
* Text Decoration
|
|
@@ -1545,21 +1545,21 @@ const ir = (e, t) => {
|
|
|
1545
1545
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1546
1546
|
*/
|
|
1547
1547
|
"text-decoration-thickness": [{
|
|
1548
|
-
decoration: [
|
|
1548
|
+
decoration: [p, "from-font", "auto", c, U]
|
|
1549
1549
|
}],
|
|
1550
1550
|
/**
|
|
1551
1551
|
* Text Decoration Color
|
|
1552
1552
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1553
1553
|
*/
|
|
1554
1554
|
"text-decoration-color": [{
|
|
1555
|
-
decoration:
|
|
1555
|
+
decoration: g()
|
|
1556
1556
|
}],
|
|
1557
1557
|
/**
|
|
1558
1558
|
* Text Underline Offset
|
|
1559
1559
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1560
1560
|
*/
|
|
1561
1561
|
"underline-offset": [{
|
|
1562
|
-
"underline-offset": [
|
|
1562
|
+
"underline-offset": [p, "auto", c, l]
|
|
1563
1563
|
}],
|
|
1564
1564
|
/**
|
|
1565
1565
|
* Text Transform
|
|
@@ -1583,7 +1583,7 @@ const ir = (e, t) => {
|
|
|
1583
1583
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1584
1584
|
*/
|
|
1585
1585
|
indent: [{
|
|
1586
|
-
indent:
|
|
1586
|
+
indent: b()
|
|
1587
1587
|
}],
|
|
1588
1588
|
/**
|
|
1589
1589
|
* Vertical Alignment
|
|
@@ -1656,21 +1656,21 @@ const ir = (e, t) => {
|
|
|
1656
1656
|
* @see https://tailwindcss.com/docs/background-position
|
|
1657
1657
|
*/
|
|
1658
1658
|
"bg-position": [{
|
|
1659
|
-
bg:
|
|
1659
|
+
bg: ae()
|
|
1660
1660
|
}],
|
|
1661
1661
|
/**
|
|
1662
1662
|
* Background Repeat
|
|
1663
1663
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1664
1664
|
*/
|
|
1665
1665
|
"bg-repeat": [{
|
|
1666
|
-
bg:
|
|
1666
|
+
bg: ne()
|
|
1667
1667
|
}],
|
|
1668
1668
|
/**
|
|
1669
1669
|
* Background Size
|
|
1670
1670
|
* @see https://tailwindcss.com/docs/background-size
|
|
1671
1671
|
*/
|
|
1672
1672
|
"bg-size": [{
|
|
1673
|
-
bg:
|
|
1673
|
+
bg: a()
|
|
1674
1674
|
}],
|
|
1675
1675
|
/**
|
|
1676
1676
|
* Background Image
|
|
@@ -1690,49 +1690,49 @@ const ir = (e, t) => {
|
|
|
1690
1690
|
* @see https://tailwindcss.com/docs/background-color
|
|
1691
1691
|
*/
|
|
1692
1692
|
"bg-color": [{
|
|
1693
|
-
bg:
|
|
1693
|
+
bg: g()
|
|
1694
1694
|
}],
|
|
1695
1695
|
/**
|
|
1696
1696
|
* Gradient Color Stops From Position
|
|
1697
1697
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1698
1698
|
*/
|
|
1699
1699
|
"gradient-from-pos": [{
|
|
1700
|
-
from:
|
|
1700
|
+
from: f()
|
|
1701
1701
|
}],
|
|
1702
1702
|
/**
|
|
1703
1703
|
* Gradient Color Stops Via Position
|
|
1704
1704
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1705
1705
|
*/
|
|
1706
1706
|
"gradient-via-pos": [{
|
|
1707
|
-
via:
|
|
1707
|
+
via: f()
|
|
1708
1708
|
}],
|
|
1709
1709
|
/**
|
|
1710
1710
|
* Gradient Color Stops To Position
|
|
1711
1711
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1712
1712
|
*/
|
|
1713
1713
|
"gradient-to-pos": [{
|
|
1714
|
-
to:
|
|
1714
|
+
to: f()
|
|
1715
1715
|
}],
|
|
1716
1716
|
/**
|
|
1717
1717
|
* Gradient Color Stops From
|
|
1718
1718
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1719
1719
|
*/
|
|
1720
1720
|
"gradient-from": [{
|
|
1721
|
-
from:
|
|
1721
|
+
from: g()
|
|
1722
1722
|
}],
|
|
1723
1723
|
/**
|
|
1724
1724
|
* Gradient Color Stops Via
|
|
1725
1725
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1726
1726
|
*/
|
|
1727
1727
|
"gradient-via": [{
|
|
1728
|
-
via:
|
|
1728
|
+
via: g()
|
|
1729
1729
|
}],
|
|
1730
1730
|
/**
|
|
1731
1731
|
* Gradient Color Stops To
|
|
1732
1732
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1733
1733
|
*/
|
|
1734
1734
|
"gradient-to": [{
|
|
1735
|
-
to:
|
|
1735
|
+
to: g()
|
|
1736
1736
|
}],
|
|
1737
1737
|
// ---------------
|
|
1738
1738
|
// --- Borders ---
|
|
@@ -1948,70 +1948,70 @@ const ir = (e, t) => {
|
|
|
1948
1948
|
* @see https://tailwindcss.com/docs/border-color
|
|
1949
1949
|
*/
|
|
1950
1950
|
"border-color": [{
|
|
1951
|
-
border:
|
|
1951
|
+
border: g()
|
|
1952
1952
|
}],
|
|
1953
1953
|
/**
|
|
1954
1954
|
* Border Color X
|
|
1955
1955
|
* @see https://tailwindcss.com/docs/border-color
|
|
1956
1956
|
*/
|
|
1957
1957
|
"border-color-x": [{
|
|
1958
|
-
"border-x":
|
|
1958
|
+
"border-x": g()
|
|
1959
1959
|
}],
|
|
1960
1960
|
/**
|
|
1961
1961
|
* Border Color Y
|
|
1962
1962
|
* @see https://tailwindcss.com/docs/border-color
|
|
1963
1963
|
*/
|
|
1964
1964
|
"border-color-y": [{
|
|
1965
|
-
"border-y":
|
|
1965
|
+
"border-y": g()
|
|
1966
1966
|
}],
|
|
1967
1967
|
/**
|
|
1968
1968
|
* Border Color S
|
|
1969
1969
|
* @see https://tailwindcss.com/docs/border-color
|
|
1970
1970
|
*/
|
|
1971
1971
|
"border-color-s": [{
|
|
1972
|
-
"border-s":
|
|
1972
|
+
"border-s": g()
|
|
1973
1973
|
}],
|
|
1974
1974
|
/**
|
|
1975
1975
|
* Border Color E
|
|
1976
1976
|
* @see https://tailwindcss.com/docs/border-color
|
|
1977
1977
|
*/
|
|
1978
1978
|
"border-color-e": [{
|
|
1979
|
-
"border-e":
|
|
1979
|
+
"border-e": g()
|
|
1980
1980
|
}],
|
|
1981
1981
|
/**
|
|
1982
1982
|
* Border Color Top
|
|
1983
1983
|
* @see https://tailwindcss.com/docs/border-color
|
|
1984
1984
|
*/
|
|
1985
1985
|
"border-color-t": [{
|
|
1986
|
-
"border-t":
|
|
1986
|
+
"border-t": g()
|
|
1987
1987
|
}],
|
|
1988
1988
|
/**
|
|
1989
1989
|
* Border Color Right
|
|
1990
1990
|
* @see https://tailwindcss.com/docs/border-color
|
|
1991
1991
|
*/
|
|
1992
1992
|
"border-color-r": [{
|
|
1993
|
-
"border-r":
|
|
1993
|
+
"border-r": g()
|
|
1994
1994
|
}],
|
|
1995
1995
|
/**
|
|
1996
1996
|
* Border Color Bottom
|
|
1997
1997
|
* @see https://tailwindcss.com/docs/border-color
|
|
1998
1998
|
*/
|
|
1999
1999
|
"border-color-b": [{
|
|
2000
|
-
"border-b":
|
|
2000
|
+
"border-b": g()
|
|
2001
2001
|
}],
|
|
2002
2002
|
/**
|
|
2003
2003
|
* Border Color Left
|
|
2004
2004
|
* @see https://tailwindcss.com/docs/border-color
|
|
2005
2005
|
*/
|
|
2006
2006
|
"border-color-l": [{
|
|
2007
|
-
"border-l":
|
|
2007
|
+
"border-l": g()
|
|
2008
2008
|
}],
|
|
2009
2009
|
/**
|
|
2010
2010
|
* Divide Color
|
|
2011
2011
|
* @see https://tailwindcss.com/docs/divide-color
|
|
2012
2012
|
*/
|
|
2013
2013
|
"divide-color": [{
|
|
2014
|
-
divide:
|
|
2014
|
+
divide: g()
|
|
2015
2015
|
}],
|
|
2016
2016
|
/**
|
|
2017
2017
|
* Outline Style
|
|
@@ -2025,21 +2025,21 @@ const ir = (e, t) => {
|
|
|
2025
2025
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2026
2026
|
*/
|
|
2027
2027
|
"outline-offset": [{
|
|
2028
|
-
"outline-offset": [
|
|
2028
|
+
"outline-offset": [p, c, l]
|
|
2029
2029
|
}],
|
|
2030
2030
|
/**
|
|
2031
2031
|
* Outline Width
|
|
2032
2032
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2033
2033
|
*/
|
|
2034
2034
|
"outline-w": [{
|
|
2035
|
-
outline: ["",
|
|
2035
|
+
outline: ["", p, le, U]
|
|
2036
2036
|
}],
|
|
2037
2037
|
/**
|
|
2038
2038
|
* Outline Color
|
|
2039
2039
|
* @see https://tailwindcss.com/docs/outline-color
|
|
2040
2040
|
*/
|
|
2041
2041
|
"outline-color": [{
|
|
2042
|
-
outline:
|
|
2042
|
+
outline: g()
|
|
2043
2043
|
}],
|
|
2044
2044
|
// ---------------
|
|
2045
2045
|
// --- Effects ---
|
|
@@ -2054,8 +2054,8 @@ const ir = (e, t) => {
|
|
|
2054
2054
|
"",
|
|
2055
2055
|
"none",
|
|
2056
2056
|
x,
|
|
2057
|
-
|
|
2058
|
-
|
|
2057
|
+
ue,
|
|
2058
|
+
me
|
|
2059
2059
|
]
|
|
2060
2060
|
}],
|
|
2061
2061
|
/**
|
|
@@ -2063,21 +2063,21 @@ const ir = (e, t) => {
|
|
|
2063
2063
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
2064
2064
|
*/
|
|
2065
2065
|
"shadow-color": [{
|
|
2066
|
-
shadow:
|
|
2066
|
+
shadow: g()
|
|
2067
2067
|
}],
|
|
2068
2068
|
/**
|
|
2069
2069
|
* Inset Box Shadow
|
|
2070
2070
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2071
2071
|
*/
|
|
2072
2072
|
"inset-shadow": [{
|
|
2073
|
-
"inset-shadow": ["none", w,
|
|
2073
|
+
"inset-shadow": ["none", w, ue, me]
|
|
2074
2074
|
}],
|
|
2075
2075
|
/**
|
|
2076
2076
|
* Inset Box Shadow Color
|
|
2077
2077
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
2078
2078
|
*/
|
|
2079
2079
|
"inset-shadow-color": [{
|
|
2080
|
-
"inset-shadow":
|
|
2080
|
+
"inset-shadow": g()
|
|
2081
2081
|
}],
|
|
2082
2082
|
/**
|
|
2083
2083
|
* Ring Width
|
|
@@ -2098,7 +2098,7 @@ const ir = (e, t) => {
|
|
|
2098
2098
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
2099
2099
|
*/
|
|
2100
2100
|
"ring-color": [{
|
|
2101
|
-
ring:
|
|
2101
|
+
ring: g()
|
|
2102
2102
|
}],
|
|
2103
2103
|
/**
|
|
2104
2104
|
* Ring Offset Width
|
|
@@ -2107,7 +2107,7 @@ const ir = (e, t) => {
|
|
|
2107
2107
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2108
2108
|
*/
|
|
2109
2109
|
"ring-offset-w": [{
|
|
2110
|
-
"ring-offset": [
|
|
2110
|
+
"ring-offset": [p, U]
|
|
2111
2111
|
}],
|
|
2112
2112
|
/**
|
|
2113
2113
|
* Ring Offset Color
|
|
@@ -2116,7 +2116,7 @@ const ir = (e, t) => {
|
|
|
2116
2116
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2117
2117
|
*/
|
|
2118
2118
|
"ring-offset-color": [{
|
|
2119
|
-
"ring-offset":
|
|
2119
|
+
"ring-offset": g()
|
|
2120
2120
|
}],
|
|
2121
2121
|
/**
|
|
2122
2122
|
* Inset Ring Width
|
|
@@ -2130,42 +2130,42 @@ const ir = (e, t) => {
|
|
|
2130
2130
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2131
2131
|
*/
|
|
2132
2132
|
"inset-ring-color": [{
|
|
2133
|
-
"inset-ring":
|
|
2133
|
+
"inset-ring": g()
|
|
2134
2134
|
}],
|
|
2135
2135
|
/**
|
|
2136
2136
|
* Text Shadow
|
|
2137
2137
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2138
2138
|
*/
|
|
2139
2139
|
"text-shadow": [{
|
|
2140
|
-
"text-shadow": ["none", k,
|
|
2140
|
+
"text-shadow": ["none", k, ue, me]
|
|
2141
2141
|
}],
|
|
2142
2142
|
/**
|
|
2143
2143
|
* Text Shadow Color
|
|
2144
2144
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2145
2145
|
*/
|
|
2146
2146
|
"text-shadow-color": [{
|
|
2147
|
-
"text-shadow":
|
|
2147
|
+
"text-shadow": g()
|
|
2148
2148
|
}],
|
|
2149
2149
|
/**
|
|
2150
2150
|
* Opacity
|
|
2151
2151
|
* @see https://tailwindcss.com/docs/opacity
|
|
2152
2152
|
*/
|
|
2153
2153
|
opacity: [{
|
|
2154
|
-
opacity: [
|
|
2154
|
+
opacity: [p, c, l]
|
|
2155
2155
|
}],
|
|
2156
2156
|
/**
|
|
2157
2157
|
* Mix Blend Mode
|
|
2158
2158
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2159
2159
|
*/
|
|
2160
2160
|
"mix-blend": [{
|
|
2161
|
-
"mix-blend": [...
|
|
2161
|
+
"mix-blend": [...Z(), "plus-darker", "plus-lighter"]
|
|
2162
2162
|
}],
|
|
2163
2163
|
/**
|
|
2164
2164
|
* Background Blend Mode
|
|
2165
2165
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2166
2166
|
*/
|
|
2167
2167
|
"bg-blend": [{
|
|
2168
|
-
"bg-blend":
|
|
2168
|
+
"bg-blend": Z()
|
|
2169
2169
|
}],
|
|
2170
2170
|
/**
|
|
2171
2171
|
* Mask Clip
|
|
@@ -2186,7 +2186,7 @@ const ir = (e, t) => {
|
|
|
2186
2186
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2187
2187
|
*/
|
|
2188
2188
|
"mask-image-linear-pos": [{
|
|
2189
|
-
"mask-linear": [
|
|
2189
|
+
"mask-linear": [p]
|
|
2190
2190
|
}],
|
|
2191
2191
|
"mask-image-linear-from-pos": [{
|
|
2192
2192
|
"mask-linear-from": v()
|
|
@@ -2195,10 +2195,10 @@ const ir = (e, t) => {
|
|
|
2195
2195
|
"mask-linear-to": v()
|
|
2196
2196
|
}],
|
|
2197
2197
|
"mask-image-linear-from-color": [{
|
|
2198
|
-
"mask-linear-from":
|
|
2198
|
+
"mask-linear-from": g()
|
|
2199
2199
|
}],
|
|
2200
2200
|
"mask-image-linear-to-color": [{
|
|
2201
|
-
"mask-linear-to":
|
|
2201
|
+
"mask-linear-to": g()
|
|
2202
2202
|
}],
|
|
2203
2203
|
"mask-image-t-from-pos": [{
|
|
2204
2204
|
"mask-t-from": v()
|
|
@@ -2207,10 +2207,10 @@ const ir = (e, t) => {
|
|
|
2207
2207
|
"mask-t-to": v()
|
|
2208
2208
|
}],
|
|
2209
2209
|
"mask-image-t-from-color": [{
|
|
2210
|
-
"mask-t-from":
|
|
2210
|
+
"mask-t-from": g()
|
|
2211
2211
|
}],
|
|
2212
2212
|
"mask-image-t-to-color": [{
|
|
2213
|
-
"mask-t-to":
|
|
2213
|
+
"mask-t-to": g()
|
|
2214
2214
|
}],
|
|
2215
2215
|
"mask-image-r-from-pos": [{
|
|
2216
2216
|
"mask-r-from": v()
|
|
@@ -2219,10 +2219,10 @@ const ir = (e, t) => {
|
|
|
2219
2219
|
"mask-r-to": v()
|
|
2220
2220
|
}],
|
|
2221
2221
|
"mask-image-r-from-color": [{
|
|
2222
|
-
"mask-r-from":
|
|
2222
|
+
"mask-r-from": g()
|
|
2223
2223
|
}],
|
|
2224
2224
|
"mask-image-r-to-color": [{
|
|
2225
|
-
"mask-r-to":
|
|
2225
|
+
"mask-r-to": g()
|
|
2226
2226
|
}],
|
|
2227
2227
|
"mask-image-b-from-pos": [{
|
|
2228
2228
|
"mask-b-from": v()
|
|
@@ -2231,10 +2231,10 @@ const ir = (e, t) => {
|
|
|
2231
2231
|
"mask-b-to": v()
|
|
2232
2232
|
}],
|
|
2233
2233
|
"mask-image-b-from-color": [{
|
|
2234
|
-
"mask-b-from":
|
|
2234
|
+
"mask-b-from": g()
|
|
2235
2235
|
}],
|
|
2236
2236
|
"mask-image-b-to-color": [{
|
|
2237
|
-
"mask-b-to":
|
|
2237
|
+
"mask-b-to": g()
|
|
2238
2238
|
}],
|
|
2239
2239
|
"mask-image-l-from-pos": [{
|
|
2240
2240
|
"mask-l-from": v()
|
|
@@ -2243,10 +2243,10 @@ const ir = (e, t) => {
|
|
|
2243
2243
|
"mask-l-to": v()
|
|
2244
2244
|
}],
|
|
2245
2245
|
"mask-image-l-from-color": [{
|
|
2246
|
-
"mask-l-from":
|
|
2246
|
+
"mask-l-from": g()
|
|
2247
2247
|
}],
|
|
2248
2248
|
"mask-image-l-to-color": [{
|
|
2249
|
-
"mask-l-to":
|
|
2249
|
+
"mask-l-to": g()
|
|
2250
2250
|
}],
|
|
2251
2251
|
"mask-image-x-from-pos": [{
|
|
2252
2252
|
"mask-x-from": v()
|
|
@@ -2255,10 +2255,10 @@ const ir = (e, t) => {
|
|
|
2255
2255
|
"mask-x-to": v()
|
|
2256
2256
|
}],
|
|
2257
2257
|
"mask-image-x-from-color": [{
|
|
2258
|
-
"mask-x-from":
|
|
2258
|
+
"mask-x-from": g()
|
|
2259
2259
|
}],
|
|
2260
2260
|
"mask-image-x-to-color": [{
|
|
2261
|
-
"mask-x-to":
|
|
2261
|
+
"mask-x-to": g()
|
|
2262
2262
|
}],
|
|
2263
2263
|
"mask-image-y-from-pos": [{
|
|
2264
2264
|
"mask-y-from": v()
|
|
@@ -2267,10 +2267,10 @@ const ir = (e, t) => {
|
|
|
2267
2267
|
"mask-y-to": v()
|
|
2268
2268
|
}],
|
|
2269
2269
|
"mask-image-y-from-color": [{
|
|
2270
|
-
"mask-y-from":
|
|
2270
|
+
"mask-y-from": g()
|
|
2271
2271
|
}],
|
|
2272
2272
|
"mask-image-y-to-color": [{
|
|
2273
|
-
"mask-y-to":
|
|
2273
|
+
"mask-y-to": g()
|
|
2274
2274
|
}],
|
|
2275
2275
|
"mask-image-radial": [{
|
|
2276
2276
|
"mask-radial": [c, l]
|
|
@@ -2282,10 +2282,10 @@ const ir = (e, t) => {
|
|
|
2282
2282
|
"mask-radial-to": v()
|
|
2283
2283
|
}],
|
|
2284
2284
|
"mask-image-radial-from-color": [{
|
|
2285
|
-
"mask-radial-from":
|
|
2285
|
+
"mask-radial-from": g()
|
|
2286
2286
|
}],
|
|
2287
2287
|
"mask-image-radial-to-color": [{
|
|
2288
|
-
"mask-radial-to":
|
|
2288
|
+
"mask-radial-to": g()
|
|
2289
2289
|
}],
|
|
2290
2290
|
"mask-image-radial-shape": [{
|
|
2291
2291
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -2300,7 +2300,7 @@ const ir = (e, t) => {
|
|
|
2300
2300
|
"mask-radial-at": V()
|
|
2301
2301
|
}],
|
|
2302
2302
|
"mask-image-conic-pos": [{
|
|
2303
|
-
"mask-conic": [
|
|
2303
|
+
"mask-conic": [p]
|
|
2304
2304
|
}],
|
|
2305
2305
|
"mask-image-conic-from-pos": [{
|
|
2306
2306
|
"mask-conic-from": v()
|
|
@@ -2309,10 +2309,10 @@ const ir = (e, t) => {
|
|
|
2309
2309
|
"mask-conic-to": v()
|
|
2310
2310
|
}],
|
|
2311
2311
|
"mask-image-conic-from-color": [{
|
|
2312
|
-
"mask-conic-from":
|
|
2312
|
+
"mask-conic-from": g()
|
|
2313
2313
|
}],
|
|
2314
2314
|
"mask-image-conic-to-color": [{
|
|
2315
|
-
"mask-conic-to":
|
|
2315
|
+
"mask-conic-to": g()
|
|
2316
2316
|
}],
|
|
2317
2317
|
/**
|
|
2318
2318
|
* Mask Mode
|
|
@@ -2333,21 +2333,21 @@ const ir = (e, t) => {
|
|
|
2333
2333
|
* @see https://tailwindcss.com/docs/mask-position
|
|
2334
2334
|
*/
|
|
2335
2335
|
"mask-position": [{
|
|
2336
|
-
mask:
|
|
2336
|
+
mask: ae()
|
|
2337
2337
|
}],
|
|
2338
2338
|
/**
|
|
2339
2339
|
* Mask Repeat
|
|
2340
2340
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2341
2341
|
*/
|
|
2342
2342
|
"mask-repeat": [{
|
|
2343
|
-
mask:
|
|
2343
|
+
mask: ne()
|
|
2344
2344
|
}],
|
|
2345
2345
|
/**
|
|
2346
2346
|
* Mask Size
|
|
2347
2347
|
* @see https://tailwindcss.com/docs/mask-size
|
|
2348
2348
|
*/
|
|
2349
2349
|
"mask-size": [{
|
|
2350
|
-
mask:
|
|
2350
|
+
mask: a()
|
|
2351
2351
|
}],
|
|
2352
2352
|
/**
|
|
2353
2353
|
* Mask Type
|
|
@@ -2391,14 +2391,14 @@ const ir = (e, t) => {
|
|
|
2391
2391
|
* @see https://tailwindcss.com/docs/brightness
|
|
2392
2392
|
*/
|
|
2393
2393
|
brightness: [{
|
|
2394
|
-
brightness: [
|
|
2394
|
+
brightness: [p, c, l]
|
|
2395
2395
|
}],
|
|
2396
2396
|
/**
|
|
2397
2397
|
* Contrast
|
|
2398
2398
|
* @see https://tailwindcss.com/docs/contrast
|
|
2399
2399
|
*/
|
|
2400
2400
|
contrast: [{
|
|
2401
|
-
contrast: [
|
|
2401
|
+
contrast: [p, c, l]
|
|
2402
2402
|
}],
|
|
2403
2403
|
/**
|
|
2404
2404
|
* Drop Shadow
|
|
@@ -2410,8 +2410,8 @@ const ir = (e, t) => {
|
|
|
2410
2410
|
"",
|
|
2411
2411
|
"none",
|
|
2412
2412
|
C,
|
|
2413
|
-
|
|
2414
|
-
|
|
2413
|
+
ue,
|
|
2414
|
+
me
|
|
2415
2415
|
]
|
|
2416
2416
|
}],
|
|
2417
2417
|
/**
|
|
@@ -2419,42 +2419,42 @@ const ir = (e, t) => {
|
|
|
2419
2419
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2420
2420
|
*/
|
|
2421
2421
|
"drop-shadow-color": [{
|
|
2422
|
-
"drop-shadow":
|
|
2422
|
+
"drop-shadow": g()
|
|
2423
2423
|
}],
|
|
2424
2424
|
/**
|
|
2425
2425
|
* Grayscale
|
|
2426
2426
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2427
2427
|
*/
|
|
2428
2428
|
grayscale: [{
|
|
2429
|
-
grayscale: ["",
|
|
2429
|
+
grayscale: ["", p, c, l]
|
|
2430
2430
|
}],
|
|
2431
2431
|
/**
|
|
2432
2432
|
* Hue Rotate
|
|
2433
2433
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2434
2434
|
*/
|
|
2435
2435
|
"hue-rotate": [{
|
|
2436
|
-
"hue-rotate": [
|
|
2436
|
+
"hue-rotate": [p, c, l]
|
|
2437
2437
|
}],
|
|
2438
2438
|
/**
|
|
2439
2439
|
* Invert
|
|
2440
2440
|
* @see https://tailwindcss.com/docs/invert
|
|
2441
2441
|
*/
|
|
2442
2442
|
invert: [{
|
|
2443
|
-
invert: ["",
|
|
2443
|
+
invert: ["", p, c, l]
|
|
2444
2444
|
}],
|
|
2445
2445
|
/**
|
|
2446
2446
|
* Saturate
|
|
2447
2447
|
* @see https://tailwindcss.com/docs/saturate
|
|
2448
2448
|
*/
|
|
2449
2449
|
saturate: [{
|
|
2450
|
-
saturate: [
|
|
2450
|
+
saturate: [p, c, l]
|
|
2451
2451
|
}],
|
|
2452
2452
|
/**
|
|
2453
2453
|
* Sepia
|
|
2454
2454
|
* @see https://tailwindcss.com/docs/sepia
|
|
2455
2455
|
*/
|
|
2456
2456
|
sepia: [{
|
|
2457
|
-
sepia: ["",
|
|
2457
|
+
sepia: ["", p, c, l]
|
|
2458
2458
|
}],
|
|
2459
2459
|
/**
|
|
2460
2460
|
* Backdrop Filter
|
|
@@ -2481,56 +2481,56 @@ const ir = (e, t) => {
|
|
|
2481
2481
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2482
2482
|
*/
|
|
2483
2483
|
"backdrop-brightness": [{
|
|
2484
|
-
"backdrop-brightness": [
|
|
2484
|
+
"backdrop-brightness": [p, c, l]
|
|
2485
2485
|
}],
|
|
2486
2486
|
/**
|
|
2487
2487
|
* Backdrop Contrast
|
|
2488
2488
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2489
2489
|
*/
|
|
2490
2490
|
"backdrop-contrast": [{
|
|
2491
|
-
"backdrop-contrast": [
|
|
2491
|
+
"backdrop-contrast": [p, c, l]
|
|
2492
2492
|
}],
|
|
2493
2493
|
/**
|
|
2494
2494
|
* Backdrop Grayscale
|
|
2495
2495
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2496
2496
|
*/
|
|
2497
2497
|
"backdrop-grayscale": [{
|
|
2498
|
-
"backdrop-grayscale": ["",
|
|
2498
|
+
"backdrop-grayscale": ["", p, c, l]
|
|
2499
2499
|
}],
|
|
2500
2500
|
/**
|
|
2501
2501
|
* Backdrop Hue Rotate
|
|
2502
2502
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2503
2503
|
*/
|
|
2504
2504
|
"backdrop-hue-rotate": [{
|
|
2505
|
-
"backdrop-hue-rotate": [
|
|
2505
|
+
"backdrop-hue-rotate": [p, c, l]
|
|
2506
2506
|
}],
|
|
2507
2507
|
/**
|
|
2508
2508
|
* Backdrop Invert
|
|
2509
2509
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2510
2510
|
*/
|
|
2511
2511
|
"backdrop-invert": [{
|
|
2512
|
-
"backdrop-invert": ["",
|
|
2512
|
+
"backdrop-invert": ["", p, c, l]
|
|
2513
2513
|
}],
|
|
2514
2514
|
/**
|
|
2515
2515
|
* Backdrop Opacity
|
|
2516
2516
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2517
2517
|
*/
|
|
2518
2518
|
"backdrop-opacity": [{
|
|
2519
|
-
"backdrop-opacity": [
|
|
2519
|
+
"backdrop-opacity": [p, c, l]
|
|
2520
2520
|
}],
|
|
2521
2521
|
/**
|
|
2522
2522
|
* Backdrop Saturate
|
|
2523
2523
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2524
2524
|
*/
|
|
2525
2525
|
"backdrop-saturate": [{
|
|
2526
|
-
"backdrop-saturate": [
|
|
2526
|
+
"backdrop-saturate": [p, c, l]
|
|
2527
2527
|
}],
|
|
2528
2528
|
/**
|
|
2529
2529
|
* Backdrop Sepia
|
|
2530
2530
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2531
2531
|
*/
|
|
2532
2532
|
"backdrop-sepia": [{
|
|
2533
|
-
"backdrop-sepia": ["",
|
|
2533
|
+
"backdrop-sepia": ["", p, c, l]
|
|
2534
2534
|
}],
|
|
2535
2535
|
// --------------
|
|
2536
2536
|
// --- Tables ---
|
|
@@ -2547,21 +2547,21 @@ const ir = (e, t) => {
|
|
|
2547
2547
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2548
2548
|
*/
|
|
2549
2549
|
"border-spacing": [{
|
|
2550
|
-
"border-spacing":
|
|
2550
|
+
"border-spacing": b()
|
|
2551
2551
|
}],
|
|
2552
2552
|
/**
|
|
2553
2553
|
* Border Spacing X
|
|
2554
2554
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2555
2555
|
*/
|
|
2556
2556
|
"border-spacing-x": [{
|
|
2557
|
-
"border-spacing-x":
|
|
2557
|
+
"border-spacing-x": b()
|
|
2558
2558
|
}],
|
|
2559
2559
|
/**
|
|
2560
2560
|
* Border Spacing Y
|
|
2561
2561
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2562
2562
|
*/
|
|
2563
2563
|
"border-spacing-y": [{
|
|
2564
|
-
"border-spacing-y":
|
|
2564
|
+
"border-spacing-y": b()
|
|
2565
2565
|
}],
|
|
2566
2566
|
/**
|
|
2567
2567
|
* Table Layout
|
|
@@ -2599,7 +2599,7 @@ const ir = (e, t) => {
|
|
|
2599
2599
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2600
2600
|
*/
|
|
2601
2601
|
duration: [{
|
|
2602
|
-
duration: [
|
|
2602
|
+
duration: [p, "initial", c, l]
|
|
2603
2603
|
}],
|
|
2604
2604
|
/**
|
|
2605
2605
|
* Transition Timing Function
|
|
@@ -2613,14 +2613,14 @@ const ir = (e, t) => {
|
|
|
2613
2613
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2614
2614
|
*/
|
|
2615
2615
|
delay: [{
|
|
2616
|
-
delay: [
|
|
2616
|
+
delay: [p, c, l]
|
|
2617
2617
|
}],
|
|
2618
2618
|
/**
|
|
2619
2619
|
* Animation
|
|
2620
2620
|
* @see https://tailwindcss.com/docs/animation
|
|
2621
2621
|
*/
|
|
2622
2622
|
animate: [{
|
|
2623
|
-
animate: ["none",
|
|
2623
|
+
animate: ["none", P, c, l]
|
|
2624
2624
|
}],
|
|
2625
2625
|
// ------------------
|
|
2626
2626
|
// --- Transforms ---
|
|
@@ -2679,28 +2679,28 @@ const ir = (e, t) => {
|
|
|
2679
2679
|
* @see https://tailwindcss.com/docs/scale
|
|
2680
2680
|
*/
|
|
2681
2681
|
scale: [{
|
|
2682
|
-
scale:
|
|
2682
|
+
scale: Q()
|
|
2683
2683
|
}],
|
|
2684
2684
|
/**
|
|
2685
2685
|
* Scale X
|
|
2686
2686
|
* @see https://tailwindcss.com/docs/scale
|
|
2687
2687
|
*/
|
|
2688
2688
|
"scale-x": [{
|
|
2689
|
-
"scale-x":
|
|
2689
|
+
"scale-x": Q()
|
|
2690
2690
|
}],
|
|
2691
2691
|
/**
|
|
2692
2692
|
* Scale Y
|
|
2693
2693
|
* @see https://tailwindcss.com/docs/scale
|
|
2694
2694
|
*/
|
|
2695
2695
|
"scale-y": [{
|
|
2696
|
-
"scale-y":
|
|
2696
|
+
"scale-y": Q()
|
|
2697
2697
|
}],
|
|
2698
2698
|
/**
|
|
2699
2699
|
* Scale Z
|
|
2700
2700
|
* @see https://tailwindcss.com/docs/scale
|
|
2701
2701
|
*/
|
|
2702
2702
|
"scale-z": [{
|
|
2703
|
-
"scale-z":
|
|
2703
|
+
"scale-z": Q()
|
|
2704
2704
|
}],
|
|
2705
2705
|
/**
|
|
2706
2706
|
* Scale 3D
|
|
@@ -2712,21 +2712,21 @@ const ir = (e, t) => {
|
|
|
2712
2712
|
* @see https://tailwindcss.com/docs/skew
|
|
2713
2713
|
*/
|
|
2714
2714
|
skew: [{
|
|
2715
|
-
skew:
|
|
2715
|
+
skew: fe()
|
|
2716
2716
|
}],
|
|
2717
2717
|
/**
|
|
2718
2718
|
* Skew X
|
|
2719
2719
|
* @see https://tailwindcss.com/docs/skew
|
|
2720
2720
|
*/
|
|
2721
2721
|
"skew-x": [{
|
|
2722
|
-
"skew-x":
|
|
2722
|
+
"skew-x": fe()
|
|
2723
2723
|
}],
|
|
2724
2724
|
/**
|
|
2725
2725
|
* Skew Y
|
|
2726
2726
|
* @see https://tailwindcss.com/docs/skew
|
|
2727
2727
|
*/
|
|
2728
2728
|
"skew-y": [{
|
|
2729
|
-
"skew-y":
|
|
2729
|
+
"skew-y": fe()
|
|
2730
2730
|
}],
|
|
2731
2731
|
/**
|
|
2732
2732
|
* Transform
|
|
@@ -2790,7 +2790,7 @@ const ir = (e, t) => {
|
|
|
2790
2790
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2791
2791
|
*/
|
|
2792
2792
|
accent: [{
|
|
2793
|
-
accent:
|
|
2793
|
+
accent: g()
|
|
2794
2794
|
}],
|
|
2795
2795
|
/**
|
|
2796
2796
|
* Appearance
|
|
@@ -2804,7 +2804,7 @@ const ir = (e, t) => {
|
|
|
2804
2804
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2805
2805
|
*/
|
|
2806
2806
|
"caret-color": [{
|
|
2807
|
-
caret:
|
|
2807
|
+
caret: g()
|
|
2808
2808
|
}],
|
|
2809
2809
|
/**
|
|
2810
2810
|
* Color Scheme
|
|
@@ -2853,126 +2853,126 @@ const ir = (e, t) => {
|
|
|
2853
2853
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2854
2854
|
*/
|
|
2855
2855
|
"scroll-m": [{
|
|
2856
|
-
"scroll-m":
|
|
2856
|
+
"scroll-m": b()
|
|
2857
2857
|
}],
|
|
2858
2858
|
/**
|
|
2859
2859
|
* Scroll Margin X
|
|
2860
2860
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2861
2861
|
*/
|
|
2862
2862
|
"scroll-mx": [{
|
|
2863
|
-
"scroll-mx":
|
|
2863
|
+
"scroll-mx": b()
|
|
2864
2864
|
}],
|
|
2865
2865
|
/**
|
|
2866
2866
|
* Scroll Margin Y
|
|
2867
2867
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2868
2868
|
*/
|
|
2869
2869
|
"scroll-my": [{
|
|
2870
|
-
"scroll-my":
|
|
2870
|
+
"scroll-my": b()
|
|
2871
2871
|
}],
|
|
2872
2872
|
/**
|
|
2873
2873
|
* Scroll Margin Start
|
|
2874
2874
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2875
2875
|
*/
|
|
2876
2876
|
"scroll-ms": [{
|
|
2877
|
-
"scroll-ms":
|
|
2877
|
+
"scroll-ms": b()
|
|
2878
2878
|
}],
|
|
2879
2879
|
/**
|
|
2880
2880
|
* Scroll Margin End
|
|
2881
2881
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2882
2882
|
*/
|
|
2883
2883
|
"scroll-me": [{
|
|
2884
|
-
"scroll-me":
|
|
2884
|
+
"scroll-me": b()
|
|
2885
2885
|
}],
|
|
2886
2886
|
/**
|
|
2887
2887
|
* Scroll Margin Top
|
|
2888
2888
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2889
2889
|
*/
|
|
2890
2890
|
"scroll-mt": [{
|
|
2891
|
-
"scroll-mt":
|
|
2891
|
+
"scroll-mt": b()
|
|
2892
2892
|
}],
|
|
2893
2893
|
/**
|
|
2894
2894
|
* Scroll Margin Right
|
|
2895
2895
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2896
2896
|
*/
|
|
2897
2897
|
"scroll-mr": [{
|
|
2898
|
-
"scroll-mr":
|
|
2898
|
+
"scroll-mr": b()
|
|
2899
2899
|
}],
|
|
2900
2900
|
/**
|
|
2901
2901
|
* Scroll Margin Bottom
|
|
2902
2902
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2903
2903
|
*/
|
|
2904
2904
|
"scroll-mb": [{
|
|
2905
|
-
"scroll-mb":
|
|
2905
|
+
"scroll-mb": b()
|
|
2906
2906
|
}],
|
|
2907
2907
|
/**
|
|
2908
2908
|
* Scroll Margin Left
|
|
2909
2909
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2910
2910
|
*/
|
|
2911
2911
|
"scroll-ml": [{
|
|
2912
|
-
"scroll-ml":
|
|
2912
|
+
"scroll-ml": b()
|
|
2913
2913
|
}],
|
|
2914
2914
|
/**
|
|
2915
2915
|
* Scroll Padding
|
|
2916
2916
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2917
2917
|
*/
|
|
2918
2918
|
"scroll-p": [{
|
|
2919
|
-
"scroll-p":
|
|
2919
|
+
"scroll-p": b()
|
|
2920
2920
|
}],
|
|
2921
2921
|
/**
|
|
2922
2922
|
* Scroll Padding X
|
|
2923
2923
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2924
2924
|
*/
|
|
2925
2925
|
"scroll-px": [{
|
|
2926
|
-
"scroll-px":
|
|
2926
|
+
"scroll-px": b()
|
|
2927
2927
|
}],
|
|
2928
2928
|
/**
|
|
2929
2929
|
* Scroll Padding Y
|
|
2930
2930
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2931
2931
|
*/
|
|
2932
2932
|
"scroll-py": [{
|
|
2933
|
-
"scroll-py":
|
|
2933
|
+
"scroll-py": b()
|
|
2934
2934
|
}],
|
|
2935
2935
|
/**
|
|
2936
2936
|
* Scroll Padding Start
|
|
2937
2937
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2938
2938
|
*/
|
|
2939
2939
|
"scroll-ps": [{
|
|
2940
|
-
"scroll-ps":
|
|
2940
|
+
"scroll-ps": b()
|
|
2941
2941
|
}],
|
|
2942
2942
|
/**
|
|
2943
2943
|
* Scroll Padding End
|
|
2944
2944
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2945
2945
|
*/
|
|
2946
2946
|
"scroll-pe": [{
|
|
2947
|
-
"scroll-pe":
|
|
2947
|
+
"scroll-pe": b()
|
|
2948
2948
|
}],
|
|
2949
2949
|
/**
|
|
2950
2950
|
* Scroll Padding Top
|
|
2951
2951
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2952
2952
|
*/
|
|
2953
2953
|
"scroll-pt": [{
|
|
2954
|
-
"scroll-pt":
|
|
2954
|
+
"scroll-pt": b()
|
|
2955
2955
|
}],
|
|
2956
2956
|
/**
|
|
2957
2957
|
* Scroll Padding Right
|
|
2958
2958
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2959
2959
|
*/
|
|
2960
2960
|
"scroll-pr": [{
|
|
2961
|
-
"scroll-pr":
|
|
2961
|
+
"scroll-pr": b()
|
|
2962
2962
|
}],
|
|
2963
2963
|
/**
|
|
2964
2964
|
* Scroll Padding Bottom
|
|
2965
2965
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2966
2966
|
*/
|
|
2967
2967
|
"scroll-pb": [{
|
|
2968
|
-
"scroll-pb":
|
|
2968
|
+
"scroll-pb": b()
|
|
2969
2969
|
}],
|
|
2970
2970
|
/**
|
|
2971
2971
|
* Scroll Padding Left
|
|
2972
2972
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2973
2973
|
*/
|
|
2974
2974
|
"scroll-pl": [{
|
|
2975
|
-
"scroll-pl":
|
|
2975
|
+
"scroll-pl": b()
|
|
2976
2976
|
}],
|
|
2977
2977
|
/**
|
|
2978
2978
|
* Scroll Snap Align
|
|
@@ -3050,21 +3050,21 @@ const ir = (e, t) => {
|
|
|
3050
3050
|
* @see https://tailwindcss.com/docs/fill
|
|
3051
3051
|
*/
|
|
3052
3052
|
fill: [{
|
|
3053
|
-
fill: ["none", ...
|
|
3053
|
+
fill: ["none", ...g()]
|
|
3054
3054
|
}],
|
|
3055
3055
|
/**
|
|
3056
3056
|
* Stroke Width
|
|
3057
3057
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3058
3058
|
*/
|
|
3059
3059
|
"stroke-w": [{
|
|
3060
|
-
stroke: [
|
|
3060
|
+
stroke: [p, le, U, he]
|
|
3061
3061
|
}],
|
|
3062
3062
|
/**
|
|
3063
3063
|
* Stroke
|
|
3064
3064
|
* @see https://tailwindcss.com/docs/stroke
|
|
3065
3065
|
*/
|
|
3066
3066
|
stroke: [{
|
|
3067
|
-
stroke: ["none", ...
|
|
3067
|
+
stroke: ["none", ...g()]
|
|
3068
3068
|
}],
|
|
3069
3069
|
// ---------------------
|
|
3070
3070
|
// --- Accessibility ---
|
|
@@ -3133,10 +3133,10 @@ const ir = (e, t) => {
|
|
|
3133
3133
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3134
3134
|
};
|
|
3135
3135
|
}, Jr = /* @__PURE__ */ Cr(Ur);
|
|
3136
|
-
function
|
|
3136
|
+
function J(...e) {
|
|
3137
3137
|
return Jr(Pe(e));
|
|
3138
3138
|
}
|
|
3139
|
-
const Xr =
|
|
3139
|
+
const Xr = xe(
|
|
3140
3140
|
"inline-flex items-center justify-center whitespace-nowrap select-none disabled:opacity-50 disabled:pointer-events-none rounded-md font-medium leading-none focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-[var(--atom-ring-color)] focus-visible:ring-offset-[var(--atom-ring-offset)] transition-colors transition-transform duration-150 ease-in-out relative overflow-hidden isolate [&>svg]:fill-current [&>svg]:stroke-current motion-reduce:transform-none motion-reduce:transition-none",
|
|
3141
3141
|
{
|
|
3142
3142
|
variants: {
|
|
@@ -3184,49 +3184,236 @@ const Xr = Oe(
|
|
|
3184
3184
|
],
|
|
3185
3185
|
defaultVariants: { variant: "primary", size: "md" }
|
|
3186
3186
|
}
|
|
3187
|
-
), Hr =
|
|
3187
|
+
), Hr = A.forwardRef(
|
|
3188
3188
|
({
|
|
3189
3189
|
className: e,
|
|
3190
3190
|
variant: t,
|
|
3191
3191
|
size: r,
|
|
3192
3192
|
fullWidth: o,
|
|
3193
|
-
asChild:
|
|
3194
|
-
ripple:
|
|
3193
|
+
asChild: n,
|
|
3194
|
+
ripple: s = !0,
|
|
3195
3195
|
onPointerDown: i,
|
|
3196
3196
|
disabled: d,
|
|
3197
|
-
type:
|
|
3198
|
-
...
|
|
3197
|
+
type: m,
|
|
3198
|
+
...u
|
|
3199
3199
|
}, x) => {
|
|
3200
|
-
const w = !!
|
|
3201
|
-
if (i?.(E), !
|
|
3202
|
-
const
|
|
3203
|
-
if (!
|
|
3204
|
-
const
|
|
3205
|
-
S.className = "atom-ripple", S.style.width = `${
|
|
3206
|
-
const
|
|
3207
|
-
|
|
3200
|
+
const w = !!n, k = w ? Ie : "button", C = A.useRef(null), T = d ? "" : void 0, _ = w ? void 0 : m ?? "button", R = (E) => {
|
|
3201
|
+
if (i?.(E), !s || d || E.button !== 0) return;
|
|
3202
|
+
const P = C.current;
|
|
3203
|
+
if (!P) return;
|
|
3204
|
+
const O = P.getBoundingClientRect(), z = Math.max(O.width, O.height) * (r === "sm" ? 0.5 : r === "lg" ? 0.7 : 0.6), $ = E.clientX - O.left - z, b = E.clientY - O.top - z, S = document.createElement("span");
|
|
3205
|
+
S.className = "atom-ripple", S.style.width = `${z * 2}px`, S.style.height = `${z * 2}px`, S.style.left = `${$}px`, S.style.top = `${b}px`;
|
|
3206
|
+
const X = (t ?? "primary") === "ghost" || t === "icon" || t === "iconGhost" || t === "iconSquare" || t === "iconSquareGhost" || t === "secondary", H = getComputedStyle(P).getPropertyValue(
|
|
3207
|
+
X ? "--atom-ripple-color-ghost" : "--atom-ripple-color-solid"
|
|
3208
3208
|
).trim();
|
|
3209
|
-
S.style.background =
|
|
3209
|
+
S.style.background = H || "currentColor", P.appendChild(S), S.addEventListener("animationend", () => S.remove(), { once: !0 });
|
|
3210
3210
|
};
|
|
3211
3211
|
return /* @__PURE__ */ j.jsx(
|
|
3212
3212
|
k,
|
|
3213
3213
|
{
|
|
3214
|
-
...
|
|
3215
|
-
"data-disabled":
|
|
3214
|
+
...u,
|
|
3215
|
+
"data-disabled": T,
|
|
3216
3216
|
"aria-disabled": w && d ? !0 : void 0,
|
|
3217
3217
|
type: _,
|
|
3218
3218
|
ref: (E) => {
|
|
3219
3219
|
C.current = E, typeof x == "function" ? x(E) : x && (x.current = E);
|
|
3220
3220
|
},
|
|
3221
3221
|
onPointerDown: R,
|
|
3222
|
-
className:
|
|
3222
|
+
className: J(Xr({ variant: t, size: r, fullWidth: o }), e),
|
|
3223
3223
|
disabled: w ? void 0 : d
|
|
3224
3224
|
}
|
|
3225
3225
|
);
|
|
3226
3226
|
}
|
|
3227
3227
|
);
|
|
3228
3228
|
Hr.displayName = "Button";
|
|
3229
|
-
const Zr =
|
|
3229
|
+
const Zr = xe(
|
|
3230
|
+
[
|
|
3231
|
+
"inline-flex items-center justify-center",
|
|
3232
|
+
"whitespace-nowrap shrink-0 w-fit",
|
|
3233
|
+
"gap-1",
|
|
3234
|
+
"rounded-md border",
|
|
3235
|
+
"px-2 py-0.5",
|
|
3236
|
+
"text-xs font-medium",
|
|
3237
|
+
"[&>svg]:size-3 [&>svg]:pointer-events-none",
|
|
3238
|
+
"transition-[color,background-color,border-color,box-shadow]",
|
|
3239
|
+
"overflow-hidden",
|
|
3240
|
+
"focus-visible:outline-none",
|
|
3241
|
+
// token-driven focus ring (your theme maps ring vars)
|
|
3242
|
+
"focus-visible:ring-[3px] focus-visible:ring-[color:var(--atom-ring-color)]",
|
|
3243
|
+
"focus-visible:ring-offset-2 focus-visible:ring-offset-[color:var(--atom-ring-offset)]"
|
|
3244
|
+
].join(" "),
|
|
3245
|
+
{
|
|
3246
|
+
variants: {
|
|
3247
|
+
variant: {
|
|
3248
|
+
primary: "",
|
|
3249
|
+
secondary: "",
|
|
3250
|
+
success: "",
|
|
3251
|
+
warning: "",
|
|
3252
|
+
danger: "",
|
|
3253
|
+
info: "",
|
|
3254
|
+
neutral: "",
|
|
3255
|
+
accent: ""
|
|
3256
|
+
},
|
|
3257
|
+
tone: {
|
|
3258
|
+
low: "",
|
|
3259
|
+
medium: "",
|
|
3260
|
+
high: ""
|
|
3261
|
+
}
|
|
3262
|
+
},
|
|
3263
|
+
compoundVariants: [
|
|
3264
|
+
// PRIMARY
|
|
3265
|
+
{
|
|
3266
|
+
variant: "primary",
|
|
3267
|
+
tone: "low",
|
|
3268
|
+
className: "bg-[var(--atom-badge-primary-bg-low)] text-[var(--atom-badge-primary-fg-low)] border-[var(--atom-badge-primary-border-low)]"
|
|
3269
|
+
},
|
|
3270
|
+
{
|
|
3271
|
+
variant: "primary",
|
|
3272
|
+
tone: "medium",
|
|
3273
|
+
className: "bg-[var(--atom-badge-primary-bg-medium)] text-[var(--atom-badge-primary-fg-medium)] border-[var(--atom-badge-primary-border-medium)]"
|
|
3274
|
+
},
|
|
3275
|
+
{
|
|
3276
|
+
variant: "primary",
|
|
3277
|
+
tone: "high",
|
|
3278
|
+
className: "bg-[var(--atom-badge-primary-bg-high)] text-[var(--atom-badge-primary-fg-high)] border-[var(--atom-badge-primary-border-high)]"
|
|
3279
|
+
},
|
|
3280
|
+
// SECONDARY
|
|
3281
|
+
{
|
|
3282
|
+
variant: "secondary",
|
|
3283
|
+
tone: "low",
|
|
3284
|
+
className: "bg-[var(--atom-badge-secondary-bg-low)] text-[var(--atom-badge-secondary-fg-low)] border-[var(--atom-badge-secondary-border-low)]"
|
|
3285
|
+
},
|
|
3286
|
+
{
|
|
3287
|
+
variant: "secondary",
|
|
3288
|
+
tone: "medium",
|
|
3289
|
+
className: "bg-[var(--atom-badge-secondary-bg-medium)] text-[var(--atom-badge-secondary-fg-medium)] border-[var(--atom-badge-secondary-border-medium)]"
|
|
3290
|
+
},
|
|
3291
|
+
{
|
|
3292
|
+
variant: "secondary",
|
|
3293
|
+
tone: "high",
|
|
3294
|
+
className: "bg-[var(--atom-badge-secondary-bg-high)] text-[var(--atom-badge-secondary-fg-high)] border-[var(--atom-badge-secondary-border-high)]"
|
|
3295
|
+
},
|
|
3296
|
+
// SUCCESS
|
|
3297
|
+
{
|
|
3298
|
+
variant: "success",
|
|
3299
|
+
tone: "low",
|
|
3300
|
+
className: "bg-[var(--atom-badge-success-bg-low)] text-[var(--atom-badge-success-fg-low)] border-[var(--atom-badge-success-border-low)]"
|
|
3301
|
+
},
|
|
3302
|
+
{
|
|
3303
|
+
variant: "success",
|
|
3304
|
+
tone: "medium",
|
|
3305
|
+
className: "bg-[var(--atom-badge-success-bg-medium)] text-[var(--atom-badge-success-fg-medium)] border-[var(--atom-badge-success-border-medium)]"
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
variant: "success",
|
|
3309
|
+
tone: "high",
|
|
3310
|
+
className: "bg-[var(--atom-badge-success-bg-high)] text-[var(--atom-badge-success-fg-high)] border-[var(--atom-badge-success-border-high)]"
|
|
3311
|
+
},
|
|
3312
|
+
// WARNING
|
|
3313
|
+
{
|
|
3314
|
+
variant: "warning",
|
|
3315
|
+
tone: "low",
|
|
3316
|
+
className: "bg-[var(--atom-badge-warning-bg-low)] text-[var(--atom-badge-warning-fg-low)] border-[var(--atom-badge-warning-border-low)]"
|
|
3317
|
+
},
|
|
3318
|
+
{
|
|
3319
|
+
variant: "warning",
|
|
3320
|
+
tone: "medium",
|
|
3321
|
+
className: "bg-[var(--atom-badge-warning-bg-medium)] text-[var(--atom-badge-warning-fg-medium)] border-[var(--atom-badge-warning-border-medium)]"
|
|
3322
|
+
},
|
|
3323
|
+
{
|
|
3324
|
+
variant: "warning",
|
|
3325
|
+
tone: "high",
|
|
3326
|
+
className: "bg-[var(--atom-badge-warning-bg-high)] text-[var(--atom-badge-warning-fg-high)] border-[var(--atom-badge-warning-border-high)]"
|
|
3327
|
+
},
|
|
3328
|
+
// DANGER
|
|
3329
|
+
{
|
|
3330
|
+
variant: "danger",
|
|
3331
|
+
tone: "low",
|
|
3332
|
+
className: "bg-[var(--atom-badge-danger-bg-low)] text-[var(--atom-badge-danger-fg-low)] border-[var(--atom-badge-danger-border-low)]"
|
|
3333
|
+
},
|
|
3334
|
+
{
|
|
3335
|
+
variant: "danger",
|
|
3336
|
+
tone: "medium",
|
|
3337
|
+
className: "bg-[var(--atom-badge-danger-bg-medium)] text-[var(--atom-badge-danger-fg-medium)] border-[var(--atom-badge-danger-border-medium)]"
|
|
3338
|
+
},
|
|
3339
|
+
{
|
|
3340
|
+
variant: "danger",
|
|
3341
|
+
tone: "high",
|
|
3342
|
+
className: "bg-[var(--atom-badge-danger-bg-high)] text-[var(--atom-badge-danger-fg-high)] border-[var(--atom-badge-danger-border-high)]"
|
|
3343
|
+
},
|
|
3344
|
+
// INFO
|
|
3345
|
+
{
|
|
3346
|
+
variant: "info",
|
|
3347
|
+
tone: "low",
|
|
3348
|
+
className: "bg-[var(--atom-badge-info-bg-low)] text-[var(--atom-badge-info-fg-low)] border-[var(--atom-badge-info-border-low)]"
|
|
3349
|
+
},
|
|
3350
|
+
{
|
|
3351
|
+
variant: "info",
|
|
3352
|
+
tone: "medium",
|
|
3353
|
+
className: "bg-[var(--atom-badge-info-bg-medium)] text-[var(--atom-badge-info-fg-medium)] border-[var(--atom-badge-info-border-medium)]"
|
|
3354
|
+
},
|
|
3355
|
+
{
|
|
3356
|
+
variant: "info",
|
|
3357
|
+
tone: "high",
|
|
3358
|
+
className: "bg-[var(--atom-badge-info-bg-high)] text-[var(--atom-badge-info-fg-high)] border-[var(--atom-badge-info-border-high)]"
|
|
3359
|
+
},
|
|
3360
|
+
// NEUTRAL
|
|
3361
|
+
{
|
|
3362
|
+
variant: "neutral",
|
|
3363
|
+
tone: "low",
|
|
3364
|
+
className: "bg-[var(--atom-badge-neutral-bg-low)] text-[var(--atom-badge-neutral-fg-low)] border-[var(--atom-badge-neutral-border-low)]"
|
|
3365
|
+
},
|
|
3366
|
+
{
|
|
3367
|
+
variant: "neutral",
|
|
3368
|
+
tone: "medium",
|
|
3369
|
+
className: "bg-[var(--atom-badge-neutral-bg-medium)] text-[var(--atom-badge-neutral-fg-medium)] border-[var(--atom-badge-neutral-border-medium)]"
|
|
3370
|
+
},
|
|
3371
|
+
{
|
|
3372
|
+
variant: "neutral",
|
|
3373
|
+
tone: "high",
|
|
3374
|
+
className: "bg-[var(--atom-badge-neutral-bg-high)] text-[var(--atom-badge-neutral-fg-high)] border-[var(--atom-badge-neutral-border-high)]"
|
|
3375
|
+
},
|
|
3376
|
+
// ACCENT
|
|
3377
|
+
{
|
|
3378
|
+
variant: "accent",
|
|
3379
|
+
tone: "low",
|
|
3380
|
+
className: "bg-[var(--atom-badge-accent-bg-low)] text-[var(--atom-badge-accent-fg-low)] border-[var(--atom-badge-accent-border-low)]"
|
|
3381
|
+
},
|
|
3382
|
+
{
|
|
3383
|
+
variant: "accent",
|
|
3384
|
+
tone: "medium",
|
|
3385
|
+
className: "bg-[var(--atom-badge-accent-bg-medium)] text-[var(--atom-badge-accent-fg-medium)] border-[var(--atom-badge-accent-border-medium)]"
|
|
3386
|
+
},
|
|
3387
|
+
{
|
|
3388
|
+
variant: "accent",
|
|
3389
|
+
tone: "high",
|
|
3390
|
+
className: "bg-[var(--atom-badge-accent-bg-high)] text-[var(--atom-badge-accent-fg-high)] border-[var(--atom-badge-accent-border-high)]"
|
|
3391
|
+
}
|
|
3392
|
+
],
|
|
3393
|
+
defaultVariants: {
|
|
3394
|
+
variant: "primary",
|
|
3395
|
+
tone: "low"
|
|
3396
|
+
}
|
|
3397
|
+
}
|
|
3398
|
+
);
|
|
3399
|
+
function rt({
|
|
3400
|
+
className: e,
|
|
3401
|
+
variant: t,
|
|
3402
|
+
tone: r,
|
|
3403
|
+
asChild: o = !1,
|
|
3404
|
+
...n
|
|
3405
|
+
}) {
|
|
3406
|
+
const s = o ? Ie : "span";
|
|
3407
|
+
return /* @__PURE__ */ j.jsx(
|
|
3408
|
+
s,
|
|
3409
|
+
{
|
|
3410
|
+
"data-slot": "badge",
|
|
3411
|
+
className: J(Zr({ variant: t, tone: r }), e),
|
|
3412
|
+
...n
|
|
3413
|
+
}
|
|
3414
|
+
);
|
|
3415
|
+
}
|
|
3416
|
+
const Qr = xe(
|
|
3230
3417
|
"block w-full rounded-md outline-none leading-none bg-[var(--atom-input-bg)] text-[var(--atom-input-fg)] placeholder:text-[color-mix(in srgb, var(--atom-input-fg) 55%, transparent)] border border-[var(--atom-input-border)] transition-colors duration-150 ease-in-out hover:bg-[color-mix(in srgb, var(--atom-primary) 6%, transparent)] hover:border-[color-mix(in srgb, var(--atom-input-border) 70%, var(--atom-primary) 30%)] focus:outline-none focus:border-[var(--atom-input-focus,var(--atom-primary))] caret-[var(--atom-primary)] selection:bg-[color-mix(in srgb, var(--atom-primary) 30%, transparent)] disabled:opacity-60 disabled:cursor-not-allowed disabled:hover:bg-[var(--atom-input-bg)] disabled:hover:border-[var(--atom-input-border)] read-only:bg-[color-mix(in srgb, var(--atom-input-bg) 90%, var(--atom-border) 10%)] read-only:cursor-default read-only:hover:bg-[color-mix(in srgb, var(--atom-input-bg) 90%, var(--atom-border) 10%)]",
|
|
3231
3418
|
{
|
|
3232
3419
|
variants: {
|
|
@@ -3245,28 +3432,28 @@ const Zr = Oe(
|
|
|
3245
3432
|
},
|
|
3246
3433
|
defaultVariants: { size: "md", tone: "default" }
|
|
3247
3434
|
}
|
|
3248
|
-
),
|
|
3435
|
+
), Kr = A.forwardRef(
|
|
3249
3436
|
({
|
|
3250
3437
|
className: e,
|
|
3251
3438
|
size: t,
|
|
3252
3439
|
tone: r = "default",
|
|
3253
3440
|
leftIcon: o,
|
|
3254
|
-
rightIcon:
|
|
3255
|
-
hint:
|
|
3441
|
+
rightIcon: n,
|
|
3442
|
+
hint: s,
|
|
3256
3443
|
errorText: i,
|
|
3257
3444
|
loading: d = !1,
|
|
3258
|
-
id:
|
|
3259
|
-
...
|
|
3445
|
+
id: m,
|
|
3446
|
+
...u
|
|
3260
3447
|
}, x) => {
|
|
3261
|
-
const w =
|
|
3262
|
-
|
|
3263
|
-
const R = t === "lg" ? "w-10" : t === "sm" ? "w-8" : "w-9", E = t === "lg" ? "[&>svg]:w-5 [&>svg]:h-5" : t === "sm" ? "[&>svg]:w-4 [&>svg]:h-4" : "[&>svg]:w-5 [&>svg]:h-5",
|
|
3448
|
+
const w = A.useId(), k = m ?? `inp_${w}`, C = !!o, T = !!n || d, _ = [];
|
|
3449
|
+
s && _.push(`${k}__hint`), i && _.push(`${k}__err`);
|
|
3450
|
+
const R = t === "lg" ? "w-10" : t === "sm" ? "w-8" : "w-9", E = t === "lg" ? "[&>svg]:w-5 [&>svg]:h-5" : t === "sm" ? "[&>svg]:w-4 [&>svg]:h-4" : "[&>svg]:w-5 [&>svg]:h-5", P = r === "invalid" ? "hover:bg-[color-mix(in srgb, var(--atom-error) 6%, transparent)] hover:border-[color-mix(in srgb, var(--atom-input-border) 70%, var(--atom-error) 30%)] focus:border-[var(--atom-error)]" : r === "success" ? "hover:bg-[color-mix(in srgb, var(--atom-success) 6%, transparent)] hover:border-[color-mix(in srgb, var(--atom-input-border) 70%, var(--atom-success) 30%)] focus:border-[var(--atom-success)]" : "";
|
|
3264
3451
|
return /* @__PURE__ */ j.jsxs("div", { children: [
|
|
3265
3452
|
/* @__PURE__ */ j.jsxs("div", { className: "relative", children: [
|
|
3266
3453
|
C && /* @__PURE__ */ j.jsx(
|
|
3267
3454
|
"span",
|
|
3268
3455
|
{
|
|
3269
|
-
className:
|
|
3456
|
+
className: J(
|
|
3270
3457
|
"pointer-events-none absolute left-0 top-1/2 -translate-y-1/2 flex items-center justify-center",
|
|
3271
3458
|
R
|
|
3272
3459
|
),
|
|
@@ -3274,7 +3461,7 @@ const Zr = Oe(
|
|
|
3274
3461
|
children: /* @__PURE__ */ j.jsx(
|
|
3275
3462
|
"span",
|
|
3276
3463
|
{
|
|
3277
|
-
className:
|
|
3464
|
+
className: J(
|
|
3278
3465
|
E,
|
|
3279
3466
|
"text-[var(--atom-muted)] [&>svg]:fill-current [&>svg]:stroke-current"
|
|
3280
3467
|
),
|
|
@@ -3283,24 +3470,24 @@ const Zr = Oe(
|
|
|
3283
3470
|
)
|
|
3284
3471
|
}
|
|
3285
3472
|
),
|
|
3286
|
-
|
|
3473
|
+
T && /* @__PURE__ */ j.jsx(
|
|
3287
3474
|
"span",
|
|
3288
3475
|
{
|
|
3289
|
-
className:
|
|
3476
|
+
className: J(
|
|
3290
3477
|
"absolute right-0 top-1/2 -translate-y-1/2 flex items-center justify-center",
|
|
3291
3478
|
R
|
|
3292
3479
|
),
|
|
3293
3480
|
children: /* @__PURE__ */ j.jsx(
|
|
3294
3481
|
"span",
|
|
3295
3482
|
{
|
|
3296
|
-
className:
|
|
3483
|
+
className: J(
|
|
3297
3484
|
E,
|
|
3298
3485
|
"text-[var(--atom-muted)] [&>svg]:fill-current [&>svg]:stroke-current"
|
|
3299
3486
|
),
|
|
3300
3487
|
children: d ? /* @__PURE__ */ j.jsxs("svg", { viewBox: "0 0 24 24", className: "animate-spin", fill: "none", stroke: "currentColor", children: [
|
|
3301
3488
|
/* @__PURE__ */ j.jsx("circle", { cx: "12", cy: "12", r: "9", strokeOpacity: ".2", strokeWidth: "3" }),
|
|
3302
3489
|
/* @__PURE__ */ j.jsx("path", { d: "M21 12a9 9 0 0 1-9 9", strokeWidth: "3", strokeLinecap: "round" })
|
|
3303
|
-
] }) :
|
|
3490
|
+
] }) : n
|
|
3304
3491
|
}
|
|
3305
3492
|
)
|
|
3306
3493
|
}
|
|
@@ -3310,25 +3497,27 @@ const Zr = Oe(
|
|
|
3310
3497
|
{
|
|
3311
3498
|
id: k,
|
|
3312
3499
|
ref: x,
|
|
3313
|
-
className:
|
|
3500
|
+
className: J(Qr({ size: t, tone: r, hasLeft: C, hasRight: T }), P, e),
|
|
3314
3501
|
"aria-invalid": r === "invalid" || !!i || void 0,
|
|
3315
|
-
"aria-readonly":
|
|
3502
|
+
"aria-readonly": u.readOnly || void 0,
|
|
3316
3503
|
"aria-busy": d || void 0,
|
|
3317
3504
|
"aria-describedby": _.length ? _.join(" ") : void 0,
|
|
3318
|
-
...
|
|
3505
|
+
...u
|
|
3319
3506
|
}
|
|
3320
3507
|
)
|
|
3321
3508
|
] }),
|
|
3322
|
-
(
|
|
3509
|
+
(s || i) && /* @__PURE__ */ j.jsxs("div", { className: "mt-1 text-xs leading-snug", children: [
|
|
3323
3510
|
i && /* @__PURE__ */ j.jsx("p", { id: `${k}__err`, className: "text-(--atom-error)", children: i }),
|
|
3324
|
-
|
|
3511
|
+
s && /* @__PURE__ */ j.jsx("p", { id: `${k}__hint`, className: "text-(--atom-error)", children: s })
|
|
3325
3512
|
] })
|
|
3326
3513
|
] });
|
|
3327
3514
|
}
|
|
3328
3515
|
);
|
|
3329
|
-
|
|
3516
|
+
Kr.displayName = "Input";
|
|
3330
3517
|
export {
|
|
3518
|
+
rt as Badge,
|
|
3331
3519
|
Hr as Button,
|
|
3332
|
-
|
|
3520
|
+
Kr as Input,
|
|
3521
|
+
Zr as badgeVariants
|
|
3333
3522
|
};
|
|
3334
3523
|
//# sourceMappingURL=index.js.map
|