@turystack/ui 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +8 -4
- package/dist/index.js +452 -450
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,214 +1,214 @@
|
|
|
1
1
|
import { jsx as Z, jsxs as Qe, Fragment as Ze } from "react/jsx-runtime";
|
|
2
|
-
import { Slot as
|
|
3
|
-
import { Loader2 as
|
|
4
|
-
import { createContext as
|
|
5
|
-
var
|
|
6
|
-
const o = [],
|
|
7
|
-
if (!
|
|
8
|
-
if (Array.isArray(
|
|
9
|
-
for (let s = 0, a =
|
|
2
|
+
import { Slot as et } from "@radix-ui/react-slot";
|
|
3
|
+
import { Loader2 as tt } from "lucide-react";
|
|
4
|
+
import { createContext as rt, useContext as ot } from "react";
|
|
5
|
+
var st = /\s+/g, nt = (e) => typeof e != "string" || !e ? e : e.replace(st, " ").trim(), fe = (...e) => {
|
|
6
|
+
const o = [], r = (t) => {
|
|
7
|
+
if (!t && t !== 0 && t !== 0n) return;
|
|
8
|
+
if (Array.isArray(t)) {
|
|
9
|
+
for (let s = 0, a = t.length; s < a; s++) r(t[s]);
|
|
10
10
|
return;
|
|
11
11
|
}
|
|
12
|
-
const n = typeof
|
|
12
|
+
const n = typeof t;
|
|
13
13
|
if (n === "string" || n === "number" || n === "bigint") {
|
|
14
|
-
if (n === "number" &&
|
|
15
|
-
o.push(String(
|
|
14
|
+
if (n === "number" && t !== t) return;
|
|
15
|
+
o.push(String(t));
|
|
16
16
|
} else if (n === "object") {
|
|
17
|
-
const s = Object.keys(
|
|
17
|
+
const s = Object.keys(t);
|
|
18
18
|
for (let a = 0, m = s.length; a < m; a++) {
|
|
19
19
|
const d = s[a];
|
|
20
|
-
|
|
20
|
+
t[d] && o.push(d);
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
|
-
for (let
|
|
25
|
-
const s = e[
|
|
26
|
-
s != null &&
|
|
24
|
+
for (let t = 0, n = e.length; t < n; t++) {
|
|
25
|
+
const s = e[t];
|
|
26
|
+
s != null && r(s);
|
|
27
27
|
}
|
|
28
|
-
return o.length > 0 ?
|
|
29
|
-
}, Se = (e) => e === !1 ? "false" : e === !0 ? "true" : e === 0 ? "0" : e,
|
|
28
|
+
return o.length > 0 ? nt(o.join(" ")) : void 0;
|
|
29
|
+
}, Se = (e) => e === !1 ? "false" : e === !0 ? "true" : e === 0 ? "0" : e, L = (e) => {
|
|
30
30
|
if (!e || typeof e != "object") return !0;
|
|
31
31
|
for (const o in e) return !1;
|
|
32
32
|
return !0;
|
|
33
|
-
},
|
|
33
|
+
}, at = (e, o) => {
|
|
34
34
|
if (e === o) return !0;
|
|
35
35
|
if (!e || !o) return !1;
|
|
36
|
-
const
|
|
37
|
-
if (
|
|
38
|
-
for (let n = 0; n <
|
|
39
|
-
const s =
|
|
40
|
-
if (!
|
|
36
|
+
const r = Object.keys(e), t = Object.keys(o);
|
|
37
|
+
if (r.length !== t.length) return !1;
|
|
38
|
+
for (let n = 0; n < r.length; n++) {
|
|
39
|
+
const s = r[n];
|
|
40
|
+
if (!t.includes(s) || e[s] !== o[s]) return !1;
|
|
41
41
|
}
|
|
42
42
|
return !0;
|
|
43
|
-
},
|
|
44
|
-
for (const
|
|
45
|
-
if (Object.prototype.hasOwnProperty.call(o,
|
|
46
|
-
const
|
|
47
|
-
|
|
43
|
+
}, it = (e, o) => {
|
|
44
|
+
for (const r in o)
|
|
45
|
+
if (Object.prototype.hasOwnProperty.call(o, r)) {
|
|
46
|
+
const t = o[r];
|
|
47
|
+
r in e ? e[r] = fe(e[r], t) : e[r] = t;
|
|
48
48
|
}
|
|
49
49
|
return e;
|
|
50
50
|
}, Ne = (e, o) => {
|
|
51
|
-
for (let
|
|
52
|
-
const
|
|
53
|
-
Array.isArray(
|
|
51
|
+
for (let r = 0; r < e.length; r++) {
|
|
52
|
+
const t = e[r];
|
|
53
|
+
Array.isArray(t) ? Ne(t, o) : t && o.push(t);
|
|
54
54
|
}
|
|
55
55
|
}, Re = (...e) => {
|
|
56
56
|
const o = [];
|
|
57
57
|
Ne(e, o);
|
|
58
|
-
const
|
|
59
|
-
for (let
|
|
60
|
-
o[
|
|
61
|
-
return
|
|
58
|
+
const r = [];
|
|
59
|
+
for (let t = 0; t < o.length; t++)
|
|
60
|
+
o[t] && r.push(o[t]);
|
|
61
|
+
return r;
|
|
62
62
|
}, he = (e, o) => {
|
|
63
|
-
const
|
|
64
|
-
for (const
|
|
65
|
-
const n = e[
|
|
66
|
-
if (
|
|
67
|
-
const s = o[
|
|
68
|
-
Array.isArray(n) || Array.isArray(s) ? t
|
|
63
|
+
const r = {};
|
|
64
|
+
for (const t in e) {
|
|
65
|
+
const n = e[t];
|
|
66
|
+
if (t in o) {
|
|
67
|
+
const s = o[t];
|
|
68
|
+
Array.isArray(n) || Array.isArray(s) ? r[t] = Re(s, n) : typeof n == "object" && typeof s == "object" && n && s ? r[t] = he(n, s) : r[t] = s + " " + n;
|
|
69
69
|
} else
|
|
70
|
-
t
|
|
70
|
+
r[t] = n;
|
|
71
71
|
}
|
|
72
|
-
for (const
|
|
73
|
-
|
|
74
|
-
return
|
|
75
|
-
},
|
|
72
|
+
for (const t in o)
|
|
73
|
+
t in e || (r[t] = o[t]);
|
|
74
|
+
return r;
|
|
75
|
+
}, lt = {
|
|
76
76
|
twMerge: !0,
|
|
77
77
|
twMergeConfig: {}
|
|
78
78
|
};
|
|
79
|
-
function
|
|
80
|
-
let e = null, o = {},
|
|
79
|
+
function ct() {
|
|
80
|
+
let e = null, o = {}, r = !1;
|
|
81
81
|
return {
|
|
82
82
|
get cachedTwMerge() {
|
|
83
83
|
return e;
|
|
84
84
|
},
|
|
85
|
-
set cachedTwMerge(
|
|
86
|
-
e =
|
|
85
|
+
set cachedTwMerge(t) {
|
|
86
|
+
e = t;
|
|
87
87
|
},
|
|
88
88
|
get cachedTwMergeConfig() {
|
|
89
89
|
return o;
|
|
90
90
|
},
|
|
91
|
-
set cachedTwMergeConfig(
|
|
92
|
-
o =
|
|
91
|
+
set cachedTwMergeConfig(t) {
|
|
92
|
+
o = t;
|
|
93
93
|
},
|
|
94
94
|
get didTwMergeConfigChange() {
|
|
95
|
-
return
|
|
95
|
+
return r;
|
|
96
96
|
},
|
|
97
|
-
set didTwMergeConfigChange(
|
|
98
|
-
|
|
97
|
+
set didTwMergeConfigChange(t) {
|
|
98
|
+
r = t;
|
|
99
99
|
},
|
|
100
100
|
reset() {
|
|
101
|
-
e = null, o = {},
|
|
101
|
+
e = null, o = {}, r = !1;
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
-
var U =
|
|
106
|
-
const o = (
|
|
105
|
+
var U = ct(), dt = (e) => {
|
|
106
|
+
const o = (t, n) => {
|
|
107
107
|
const {
|
|
108
108
|
extend: s = null,
|
|
109
109
|
slots: a = {},
|
|
110
110
|
variants: m = {},
|
|
111
111
|
compoundVariants: d = [],
|
|
112
112
|
compoundSlots: g = [],
|
|
113
|
-
defaultVariants:
|
|
114
|
-
} =
|
|
115
|
-
!
|
|
116
|
-
const
|
|
113
|
+
defaultVariants: S = {}
|
|
114
|
+
} = t, A = { ...lt, ...n }, G = s?.base ? fe(s.base, t?.base) : t?.base, C = s?.variants && !L(s.variants) ? he(m, s.variants) : m, P = s?.defaultVariants && !L(s.defaultVariants) ? { ...s.defaultVariants, ...S } : S;
|
|
115
|
+
!L(A.twMergeConfig) && !at(A.twMergeConfig, U.cachedTwMergeConfig) && (U.didTwMergeConfigChange = !0, U.cachedTwMergeConfig = A.twMergeConfig);
|
|
116
|
+
const w = L(s?.slots), v = L(a) ? {} : {
|
|
117
117
|
// add "base" to the slots object
|
|
118
|
-
base: fe(
|
|
118
|
+
base: fe(t?.base, w && s?.base),
|
|
119
119
|
...a
|
|
120
|
-
},
|
|
120
|
+
}, I = w ? v : it(
|
|
121
121
|
{ ...s?.slots },
|
|
122
|
-
|
|
123
|
-
),
|
|
124
|
-
if (
|
|
125
|
-
return e(
|
|
126
|
-
if (
|
|
122
|
+
L(v) ? { base: t?.base } : v
|
|
123
|
+
), j = L(s?.compoundVariants) ? d : Re(s?.compoundVariants, d), O = (N) => {
|
|
124
|
+
if (L(C) && L(a) && w)
|
|
125
|
+
return e(G, N?.class, N?.className)(A);
|
|
126
|
+
if (j && !Array.isArray(j))
|
|
127
127
|
throw new TypeError(
|
|
128
|
-
`The "compoundVariants" prop must be an array. Received: ${typeof
|
|
128
|
+
`The "compoundVariants" prop must be an array. Received: ${typeof j}`
|
|
129
129
|
);
|
|
130
130
|
if (g && !Array.isArray(g))
|
|
131
131
|
throw new TypeError(
|
|
132
132
|
`The "compoundSlots" prop must be an array. Received: ${typeof g}`
|
|
133
133
|
);
|
|
134
|
-
const B = (b, h =
|
|
134
|
+
const B = (b, h = C, f = null, y = null) => {
|
|
135
135
|
const k = h[b];
|
|
136
|
-
if (!k ||
|
|
136
|
+
if (!k || L(k))
|
|
137
137
|
return null;
|
|
138
|
-
const
|
|
139
|
-
if (
|
|
140
|
-
const c = Se(
|
|
138
|
+
const z = y?.[b] ?? N?.[b];
|
|
139
|
+
if (z === null) return null;
|
|
140
|
+
const c = Se(z);
|
|
141
141
|
if (typeof c == "object")
|
|
142
142
|
return null;
|
|
143
|
-
const _ =
|
|
144
|
-
return k[
|
|
143
|
+
const _ = P?.[b], E = c ?? Se(_);
|
|
144
|
+
return k[E || "false"];
|
|
145
145
|
}, X = () => {
|
|
146
|
-
if (!
|
|
147
|
-
const b = Object.keys(
|
|
146
|
+
if (!C) return null;
|
|
147
|
+
const b = Object.keys(C), h = [];
|
|
148
148
|
for (let f = 0; f < b.length; f++) {
|
|
149
|
-
const y = B(b[f],
|
|
149
|
+
const y = B(b[f], C);
|
|
150
150
|
y && h.push(y);
|
|
151
151
|
}
|
|
152
152
|
return h;
|
|
153
153
|
}, u = (b, h) => {
|
|
154
|
-
if (!
|
|
154
|
+
if (!C || typeof C != "object") return null;
|
|
155
155
|
const f = [];
|
|
156
|
-
for (const y in
|
|
157
|
-
const k = B(y,
|
|
158
|
-
|
|
156
|
+
for (const y in C) {
|
|
157
|
+
const k = B(y, C, b, h), z = b === "base" && typeof k == "string" ? k : k && k[b];
|
|
158
|
+
z && f.push(z);
|
|
159
159
|
}
|
|
160
160
|
return f;
|
|
161
|
-
},
|
|
162
|
-
for (const b in
|
|
163
|
-
const h =
|
|
164
|
-
h !== void 0 && (
|
|
161
|
+
}, R = {};
|
|
162
|
+
for (const b in N) {
|
|
163
|
+
const h = N[b];
|
|
164
|
+
h !== void 0 && (R[b] = h);
|
|
165
165
|
}
|
|
166
166
|
const ee = (b, h) => {
|
|
167
|
-
const f = typeof
|
|
168
|
-
[b]:
|
|
167
|
+
const f = typeof N?.[b] == "object" ? {
|
|
168
|
+
[b]: N[b]?.initial
|
|
169
169
|
} : {};
|
|
170
170
|
return {
|
|
171
|
-
...
|
|
172
|
-
...
|
|
171
|
+
...P,
|
|
172
|
+
...R,
|
|
173
173
|
...f,
|
|
174
174
|
...h
|
|
175
175
|
};
|
|
176
|
-
},
|
|
176
|
+
}, te = (b = [], h) => {
|
|
177
177
|
const f = [], y = b.length;
|
|
178
178
|
for (let k = 0; k < y; k++) {
|
|
179
|
-
const { class:
|
|
180
|
-
let
|
|
179
|
+
const { class: z, className: c, ..._ } = b[k];
|
|
180
|
+
let E = !0;
|
|
181
181
|
const F = ee(null, h);
|
|
182
182
|
for (const W in _) {
|
|
183
|
-
const
|
|
184
|
-
if (Array.isArray(
|
|
185
|
-
if (!
|
|
186
|
-
|
|
183
|
+
const x = _[W], M = F[W];
|
|
184
|
+
if (Array.isArray(x)) {
|
|
185
|
+
if (!x.includes(M)) {
|
|
186
|
+
E = !1;
|
|
187
187
|
break;
|
|
188
188
|
}
|
|
189
189
|
} else {
|
|
190
|
-
if ((
|
|
190
|
+
if ((x == null || x === !1) && (M == null || M === !1))
|
|
191
191
|
continue;
|
|
192
|
-
if (
|
|
193
|
-
|
|
192
|
+
if (M !== x) {
|
|
193
|
+
E = !1;
|
|
194
194
|
break;
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
-
|
|
198
|
+
E && (z && f.push(z), c && f.push(c));
|
|
199
199
|
}
|
|
200
200
|
return f;
|
|
201
201
|
}, Q = (b) => {
|
|
202
|
-
const h =
|
|
202
|
+
const h = te(j, b);
|
|
203
203
|
if (!Array.isArray(h)) return h;
|
|
204
204
|
const f = {}, y = e;
|
|
205
205
|
for (let k = 0; k < h.length; k++) {
|
|
206
|
-
const
|
|
207
|
-
if (typeof
|
|
208
|
-
f.base = y(f.base,
|
|
209
|
-
else if (typeof
|
|
210
|
-
for (const c in
|
|
211
|
-
f[c] = y(f[c],
|
|
206
|
+
const z = h[k];
|
|
207
|
+
if (typeof z == "string")
|
|
208
|
+
f.base = y(f.base, z)(A);
|
|
209
|
+
else if (typeof z == "object")
|
|
210
|
+
for (const c in z)
|
|
211
|
+
f[c] = y(f[c], z[c])(A);
|
|
212
212
|
}
|
|
213
213
|
return f;
|
|
214
214
|
}, se = (b) => {
|
|
@@ -217,173 +217,173 @@ var U = cr(), dr = (e) => {
|
|
|
217
217
|
for (let y = 0; y < g.length; y++) {
|
|
218
218
|
const {
|
|
219
219
|
slots: k = [],
|
|
220
|
-
class:
|
|
220
|
+
class: z,
|
|
221
221
|
className: c,
|
|
222
222
|
..._
|
|
223
223
|
} = g[y];
|
|
224
|
-
if (!
|
|
225
|
-
let
|
|
224
|
+
if (!L(_)) {
|
|
225
|
+
let E = !0;
|
|
226
226
|
for (const F in _) {
|
|
227
|
-
const W = f[F],
|
|
228
|
-
if (W === void 0 || (Array.isArray(
|
|
229
|
-
|
|
227
|
+
const W = f[F], x = _[F];
|
|
228
|
+
if (W === void 0 || (Array.isArray(x) ? !x.includes(W) : x !== W)) {
|
|
229
|
+
E = !1;
|
|
230
230
|
break;
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
|
-
if (!
|
|
233
|
+
if (!E) continue;
|
|
234
234
|
}
|
|
235
|
-
for (let
|
|
236
|
-
const F = k[
|
|
237
|
-
h[F] || (h[F] = []), h[F].push([
|
|
235
|
+
for (let E = 0; E < k.length; E++) {
|
|
236
|
+
const F = k[E];
|
|
237
|
+
h[F] || (h[F] = []), h[F].push([z, c]);
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
return h;
|
|
241
241
|
};
|
|
242
|
-
if (!
|
|
242
|
+
if (!L(a) || !w) {
|
|
243
243
|
const b = {};
|
|
244
|
-
if (typeof
|
|
244
|
+
if (typeof I == "object" && !L(I)) {
|
|
245
245
|
const h = e;
|
|
246
|
-
for (const f in
|
|
246
|
+
for (const f in I)
|
|
247
247
|
b[f] = (y) => {
|
|
248
|
-
const k = Q(y),
|
|
248
|
+
const k = Q(y), z = se(y);
|
|
249
249
|
return h(
|
|
250
|
-
|
|
250
|
+
I[f],
|
|
251
251
|
u(f, y),
|
|
252
252
|
k ? k[f] : void 0,
|
|
253
|
-
|
|
253
|
+
z ? z[f] : void 0,
|
|
254
254
|
y?.class,
|
|
255
255
|
y?.className
|
|
256
|
-
)(
|
|
256
|
+
)(A);
|
|
257
257
|
};
|
|
258
258
|
}
|
|
259
259
|
return b;
|
|
260
260
|
}
|
|
261
261
|
return e(
|
|
262
|
-
|
|
262
|
+
G,
|
|
263
263
|
X(),
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
)(
|
|
264
|
+
te(j),
|
|
265
|
+
N?.class,
|
|
266
|
+
N?.className
|
|
267
|
+
)(A);
|
|
268
268
|
}, D = () => {
|
|
269
|
-
if (!(!
|
|
270
|
-
return Object.keys(
|
|
269
|
+
if (!(!C || typeof C != "object"))
|
|
270
|
+
return Object.keys(C);
|
|
271
271
|
};
|
|
272
|
-
return
|
|
272
|
+
return O.variantKeys = D(), O.extend = s, O.base = G, O.slots = I, O.variants = C, O.defaultVariants = P, O.compoundSlots = g, O.compoundVariants = j, O;
|
|
273
273
|
};
|
|
274
274
|
return {
|
|
275
275
|
tv: o,
|
|
276
|
-
createTV: (
|
|
276
|
+
createTV: (t) => (n, s) => o(n, s ? he(t, s) : t)
|
|
277
277
|
};
|
|
278
278
|
};
|
|
279
|
-
const
|
|
280
|
-
const
|
|
281
|
-
for (let
|
|
282
|
-
t
|
|
283
|
-
for (let
|
|
284
|
-
|
|
285
|
-
return
|
|
286
|
-
},
|
|
279
|
+
const ut = (e, o) => {
|
|
280
|
+
const r = new Array(e.length + o.length);
|
|
281
|
+
for (let t = 0; t < e.length; t++)
|
|
282
|
+
r[t] = e[t];
|
|
283
|
+
for (let t = 0; t < o.length; t++)
|
|
284
|
+
r[e.length + t] = o[t];
|
|
285
|
+
return r;
|
|
286
|
+
}, mt = (e, o) => ({
|
|
287
287
|
classGroupId: e,
|
|
288
288
|
validator: o
|
|
289
|
-
}), Ie = (e = /* @__PURE__ */ new Map(), o = null,
|
|
289
|
+
}), Ie = (e = /* @__PURE__ */ new Map(), o = null, r) => ({
|
|
290
290
|
nextPart: e,
|
|
291
291
|
validators: o,
|
|
292
|
-
classGroupId:
|
|
293
|
-
}), pe = "-", Ae = [],
|
|
294
|
-
const o =
|
|
295
|
-
conflictingClassGroups:
|
|
296
|
-
conflictingClassGroupModifiers:
|
|
292
|
+
classGroupId: r
|
|
293
|
+
}), pe = "-", Ae = [], ft = "arbitrary..", pt = (e) => {
|
|
294
|
+
const o = bt(e), {
|
|
295
|
+
conflictingClassGroups: r,
|
|
296
|
+
conflictingClassGroupModifiers: t
|
|
297
297
|
} = e;
|
|
298
298
|
return {
|
|
299
299
|
getClassGroupId: (a) => {
|
|
300
300
|
if (a.startsWith("[") && a.endsWith("]"))
|
|
301
|
-
return
|
|
301
|
+
return gt(a);
|
|
302
302
|
const m = a.split(pe), d = m[0] === "" && m.length > 1 ? 1 : 0;
|
|
303
303
|
return Oe(m, d, o);
|
|
304
304
|
},
|
|
305
305
|
getConflictingClassGroupIds: (a, m) => {
|
|
306
306
|
if (m) {
|
|
307
|
-
const d =
|
|
308
|
-
return d ? g ?
|
|
307
|
+
const d = t[a], g = r[a];
|
|
308
|
+
return d ? g ? ut(g, d) : d : g || Ae;
|
|
309
309
|
}
|
|
310
|
-
return
|
|
310
|
+
return r[a] || Ae;
|
|
311
311
|
}
|
|
312
312
|
};
|
|
313
|
-
}, Oe = (e, o,
|
|
313
|
+
}, Oe = (e, o, r) => {
|
|
314
314
|
if (e.length - o === 0)
|
|
315
|
-
return
|
|
316
|
-
const n = e[o], s =
|
|
315
|
+
return r.classGroupId;
|
|
316
|
+
const n = e[o], s = r.nextPart.get(n);
|
|
317
317
|
if (s) {
|
|
318
318
|
const g = Oe(e, o + 1, s);
|
|
319
319
|
if (g) return g;
|
|
320
320
|
}
|
|
321
|
-
const a =
|
|
321
|
+
const a = r.validators;
|
|
322
322
|
if (a === null)
|
|
323
323
|
return;
|
|
324
324
|
const m = o === 0 ? e.join(pe) : e.slice(o).join(pe), d = a.length;
|
|
325
325
|
for (let g = 0; g < d; g++) {
|
|
326
|
-
const
|
|
327
|
-
if (
|
|
328
|
-
return
|
|
326
|
+
const S = a[g];
|
|
327
|
+
if (S.validator(m))
|
|
328
|
+
return S.classGroupId;
|
|
329
329
|
}
|
|
330
|
-
},
|
|
331
|
-
const o = e.slice(1, -1),
|
|
332
|
-
return
|
|
333
|
-
})(),
|
|
330
|
+
}, gt = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
331
|
+
const o = e.slice(1, -1), r = o.indexOf(":"), t = o.slice(0, r);
|
|
332
|
+
return t ? ft + t : void 0;
|
|
333
|
+
})(), bt = (e) => {
|
|
334
334
|
const {
|
|
335
335
|
theme: o,
|
|
336
|
-
classGroups:
|
|
336
|
+
classGroups: r
|
|
337
337
|
} = e;
|
|
338
|
-
return
|
|
339
|
-
},
|
|
340
|
-
const
|
|
341
|
-
for (const
|
|
342
|
-
const n = e[
|
|
343
|
-
we(n,
|
|
338
|
+
return ht(r, o);
|
|
339
|
+
}, ht = (e, o) => {
|
|
340
|
+
const r = Ie();
|
|
341
|
+
for (const t in e) {
|
|
342
|
+
const n = e[t];
|
|
343
|
+
we(n, r, t, o);
|
|
344
344
|
}
|
|
345
|
-
return
|
|
346
|
-
}, we = (e, o,
|
|
345
|
+
return r;
|
|
346
|
+
}, we = (e, o, r, t) => {
|
|
347
347
|
const n = e.length;
|
|
348
348
|
for (let s = 0; s < n; s++) {
|
|
349
349
|
const a = e[s];
|
|
350
|
-
|
|
350
|
+
yt(a, o, r, t);
|
|
351
351
|
}
|
|
352
|
-
},
|
|
352
|
+
}, yt = (e, o, r, t) => {
|
|
353
353
|
if (typeof e == "string") {
|
|
354
|
-
|
|
354
|
+
vt(e, o, r);
|
|
355
355
|
return;
|
|
356
356
|
}
|
|
357
357
|
if (typeof e == "function") {
|
|
358
|
-
|
|
358
|
+
kt(e, o, r, t);
|
|
359
359
|
return;
|
|
360
360
|
}
|
|
361
|
-
|
|
362
|
-
},
|
|
363
|
-
const
|
|
364
|
-
|
|
365
|
-
},
|
|
366
|
-
if (
|
|
367
|
-
we(e(
|
|
361
|
+
wt(e, o, r, t);
|
|
362
|
+
}, vt = (e, o, r) => {
|
|
363
|
+
const t = e === "" ? o : Ee(o, e);
|
|
364
|
+
t.classGroupId = r;
|
|
365
|
+
}, kt = (e, o, r, t) => {
|
|
366
|
+
if (xt(e)) {
|
|
367
|
+
we(e(t), o, r, t);
|
|
368
368
|
return;
|
|
369
369
|
}
|
|
370
|
-
o.validators === null && (o.validators = []), o.validators.push(
|
|
371
|
-
},
|
|
370
|
+
o.validators === null && (o.validators = []), o.validators.push(mt(r, e));
|
|
371
|
+
}, wt = (e, o, r, t) => {
|
|
372
372
|
const n = Object.entries(e), s = n.length;
|
|
373
373
|
for (let a = 0; a < s; a++) {
|
|
374
374
|
const [m, d] = n[a];
|
|
375
|
-
we(d, Ee(o, m),
|
|
375
|
+
we(d, Ee(o, m), r, t);
|
|
376
376
|
}
|
|
377
377
|
}, Ee = (e, o) => {
|
|
378
|
-
let
|
|
379
|
-
const
|
|
378
|
+
let r = e;
|
|
379
|
+
const t = o.split(pe), n = t.length;
|
|
380
380
|
for (let s = 0; s < n; s++) {
|
|
381
|
-
const a =
|
|
382
|
-
let m =
|
|
383
|
-
m || (m = Ie(),
|
|
381
|
+
const a = t[s];
|
|
382
|
+
let m = r.nextPart.get(a);
|
|
383
|
+
m || (m = Ie(), r.nextPart.set(a, m)), r = m;
|
|
384
384
|
}
|
|
385
|
-
return
|
|
386
|
-
},
|
|
385
|
+
return r;
|
|
386
|
+
}, xt = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Ct = (e) => {
|
|
387
387
|
if (e < 1)
|
|
388
388
|
return {
|
|
389
389
|
get: () => {
|
|
@@ -391,178 +391,178 @@ const ur = (e, o) => {
|
|
|
391
391
|
set: () => {
|
|
392
392
|
}
|
|
393
393
|
};
|
|
394
|
-
let o = 0,
|
|
394
|
+
let o = 0, r = /* @__PURE__ */ Object.create(null), t = /* @__PURE__ */ Object.create(null);
|
|
395
395
|
const n = (s, a) => {
|
|
396
|
-
|
|
396
|
+
r[s] = a, o++, o > e && (o = 0, t = r, r = /* @__PURE__ */ Object.create(null));
|
|
397
397
|
};
|
|
398
398
|
return {
|
|
399
399
|
get(s) {
|
|
400
|
-
let a =
|
|
400
|
+
let a = r[s];
|
|
401
401
|
if (a !== void 0)
|
|
402
402
|
return a;
|
|
403
|
-
if ((a =
|
|
403
|
+
if ((a = t[s]) !== void 0)
|
|
404
404
|
return n(s, a), a;
|
|
405
405
|
},
|
|
406
406
|
set(s, a) {
|
|
407
|
-
s in
|
|
407
|
+
s in r ? r[s] = a : n(s, a);
|
|
408
408
|
}
|
|
409
409
|
};
|
|
410
|
-
}, ye = "!", Me = ":",
|
|
410
|
+
}, ye = "!", Me = ":", zt = [], Ve = (e, o, r, t, n) => ({
|
|
411
411
|
modifiers: e,
|
|
412
412
|
hasImportantModifier: o,
|
|
413
|
-
baseClassName:
|
|
414
|
-
maybePostfixModifierPosition:
|
|
413
|
+
baseClassName: r,
|
|
414
|
+
maybePostfixModifierPosition: t,
|
|
415
415
|
isExternal: n
|
|
416
|
-
}),
|
|
416
|
+
}), St = (e) => {
|
|
417
417
|
const {
|
|
418
418
|
prefix: o,
|
|
419
|
-
experimentalParseClassName:
|
|
419
|
+
experimentalParseClassName: r
|
|
420
420
|
} = e;
|
|
421
|
-
let
|
|
421
|
+
let t = (n) => {
|
|
422
422
|
const s = [];
|
|
423
423
|
let a = 0, m = 0, d = 0, g;
|
|
424
|
-
const
|
|
425
|
-
for (let
|
|
426
|
-
const
|
|
424
|
+
const S = n.length;
|
|
425
|
+
for (let w = 0; w < S; w++) {
|
|
426
|
+
const v = n[w];
|
|
427
427
|
if (a === 0 && m === 0) {
|
|
428
|
-
if (
|
|
429
|
-
s.push(n.slice(d,
|
|
428
|
+
if (v === Me) {
|
|
429
|
+
s.push(n.slice(d, w)), d = w + 1;
|
|
430
430
|
continue;
|
|
431
431
|
}
|
|
432
|
-
if (
|
|
433
|
-
g =
|
|
432
|
+
if (v === "/") {
|
|
433
|
+
g = w;
|
|
434
434
|
continue;
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
|
-
|
|
437
|
+
v === "[" ? a++ : v === "]" ? a-- : v === "(" ? m++ : v === ")" && m--;
|
|
438
438
|
}
|
|
439
|
-
const
|
|
440
|
-
let
|
|
441
|
-
|
|
439
|
+
const A = s.length === 0 ? n : n.slice(d);
|
|
440
|
+
let G = A, C = !1;
|
|
441
|
+
A.endsWith(ye) ? (G = A.slice(0, -1), C = !0) : (
|
|
442
442
|
/**
|
|
443
443
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
444
444
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
445
445
|
*/
|
|
446
|
-
|
|
446
|
+
A.startsWith(ye) && (G = A.slice(1), C = !0)
|
|
447
447
|
);
|
|
448
|
-
const
|
|
449
|
-
return Ve(s,
|
|
448
|
+
const P = g && g > d ? g - d : void 0;
|
|
449
|
+
return Ve(s, C, G, P);
|
|
450
450
|
};
|
|
451
451
|
if (o) {
|
|
452
|
-
const n = o + Me, s =
|
|
453
|
-
|
|
452
|
+
const n = o + Me, s = t;
|
|
453
|
+
t = (a) => a.startsWith(n) ? s(a.slice(n.length)) : Ve(zt, !1, a, void 0, !0);
|
|
454
454
|
}
|
|
455
|
-
if (
|
|
456
|
-
const n =
|
|
457
|
-
|
|
455
|
+
if (r) {
|
|
456
|
+
const n = t;
|
|
457
|
+
t = (s) => r({
|
|
458
458
|
className: s,
|
|
459
459
|
parseClassName: n
|
|
460
460
|
});
|
|
461
461
|
}
|
|
462
|
-
return
|
|
463
|
-
},
|
|
462
|
+
return t;
|
|
463
|
+
}, At = (e) => {
|
|
464
464
|
const o = /* @__PURE__ */ new Map();
|
|
465
|
-
return e.orderSensitiveModifiers.forEach((
|
|
466
|
-
o.set(
|
|
467
|
-
}), (
|
|
468
|
-
const
|
|
465
|
+
return e.orderSensitiveModifiers.forEach((r, t) => {
|
|
466
|
+
o.set(r, 1e6 + t);
|
|
467
|
+
}), (r) => {
|
|
468
|
+
const t = [];
|
|
469
469
|
let n = [];
|
|
470
|
-
for (let s = 0; s <
|
|
471
|
-
const a =
|
|
472
|
-
m || d ? (n.length > 0 && (n.sort(),
|
|
470
|
+
for (let s = 0; s < r.length; s++) {
|
|
471
|
+
const a = r[s], m = a[0] === "[", d = o.has(a);
|
|
472
|
+
m || d ? (n.length > 0 && (n.sort(), t.push(...n), n = []), t.push(a)) : n.push(a);
|
|
473
473
|
}
|
|
474
|
-
return n.length > 0 && (n.sort(),
|
|
474
|
+
return n.length > 0 && (n.sort(), t.push(...n)), t;
|
|
475
475
|
};
|
|
476
|
-
},
|
|
477
|
-
cache:
|
|
478
|
-
parseClassName:
|
|
479
|
-
sortModifiers:
|
|
480
|
-
...
|
|
481
|
-
}),
|
|
476
|
+
}, Mt = (e) => ({
|
|
477
|
+
cache: Ct(e.cacheSize),
|
|
478
|
+
parseClassName: St(e),
|
|
479
|
+
sortModifiers: At(e),
|
|
480
|
+
...pt(e)
|
|
481
|
+
}), Vt = /\s+/, Tt = (e, o) => {
|
|
482
482
|
const {
|
|
483
|
-
parseClassName:
|
|
484
|
-
getClassGroupId:
|
|
483
|
+
parseClassName: r,
|
|
484
|
+
getClassGroupId: t,
|
|
485
485
|
getConflictingClassGroupIds: n,
|
|
486
486
|
sortModifiers: s
|
|
487
|
-
} = o, a = [], m = e.trim().split(
|
|
487
|
+
} = o, a = [], m = e.trim().split(Vt);
|
|
488
488
|
let d = "";
|
|
489
489
|
for (let g = m.length - 1; g >= 0; g -= 1) {
|
|
490
|
-
const
|
|
491
|
-
isExternal:
|
|
492
|
-
modifiers:
|
|
493
|
-
hasImportantModifier:
|
|
494
|
-
baseClassName:
|
|
495
|
-
maybePostfixModifierPosition:
|
|
496
|
-
} =
|
|
497
|
-
if (
|
|
498
|
-
d =
|
|
490
|
+
const S = m[g], {
|
|
491
|
+
isExternal: A,
|
|
492
|
+
modifiers: G,
|
|
493
|
+
hasImportantModifier: C,
|
|
494
|
+
baseClassName: P,
|
|
495
|
+
maybePostfixModifierPosition: w
|
|
496
|
+
} = r(S);
|
|
497
|
+
if (A) {
|
|
498
|
+
d = S + (d.length > 0 ? " " + d : d);
|
|
499
499
|
continue;
|
|
500
500
|
}
|
|
501
|
-
let
|
|
502
|
-
if (!
|
|
503
|
-
if (!
|
|
504
|
-
d =
|
|
501
|
+
let v = !!w, I = t(v ? P.substring(0, w) : P);
|
|
502
|
+
if (!I) {
|
|
503
|
+
if (!v) {
|
|
504
|
+
d = S + (d.length > 0 ? " " + d : d);
|
|
505
505
|
continue;
|
|
506
506
|
}
|
|
507
|
-
if (
|
|
508
|
-
d =
|
|
507
|
+
if (I = t(P), !I) {
|
|
508
|
+
d = S + (d.length > 0 ? " " + d : d);
|
|
509
509
|
continue;
|
|
510
510
|
}
|
|
511
|
-
|
|
511
|
+
v = !1;
|
|
512
512
|
}
|
|
513
|
-
const
|
|
513
|
+
const j = G.length === 0 ? "" : G.length === 1 ? G[0] : s(G).join(":"), O = C ? j + ye : j, D = O + I;
|
|
514
514
|
if (a.indexOf(D) > -1)
|
|
515
515
|
continue;
|
|
516
516
|
a.push(D);
|
|
517
|
-
const
|
|
518
|
-
for (let B = 0; B <
|
|
519
|
-
const X =
|
|
520
|
-
a.push(
|
|
517
|
+
const N = n(I, v);
|
|
518
|
+
for (let B = 0; B < N.length; ++B) {
|
|
519
|
+
const X = N[B];
|
|
520
|
+
a.push(O + X);
|
|
521
521
|
}
|
|
522
|
-
d =
|
|
522
|
+
d = S + (d.length > 0 ? " " + d : d);
|
|
523
523
|
}
|
|
524
524
|
return d;
|
|
525
|
-
},
|
|
526
|
-
let o = 0,
|
|
525
|
+
}, Gt = (...e) => {
|
|
526
|
+
let o = 0, r, t, n = "";
|
|
527
527
|
for (; o < e.length; )
|
|
528
|
-
(
|
|
528
|
+
(r = e[o++]) && (t = Le(r)) && (n && (n += " "), n += t);
|
|
529
529
|
return n;
|
|
530
530
|
}, Le = (e) => {
|
|
531
531
|
if (typeof e == "string")
|
|
532
532
|
return e;
|
|
533
|
-
let o,
|
|
534
|
-
for (let
|
|
535
|
-
e[
|
|
536
|
-
return
|
|
533
|
+
let o, r = "";
|
|
534
|
+
for (let t = 0; t < e.length; t++)
|
|
535
|
+
e[t] && (o = Le(e[t])) && (r && (r += " "), r += o);
|
|
536
|
+
return r;
|
|
537
537
|
}, ve = (e, ...o) => {
|
|
538
|
-
let
|
|
538
|
+
let r, t, n, s;
|
|
539
539
|
const a = (d) => {
|
|
540
|
-
const g = o.reduce((
|
|
541
|
-
return
|
|
540
|
+
const g = o.reduce((S, A) => A(S), e());
|
|
541
|
+
return r = Mt(g), t = r.cache.get, n = r.cache.set, s = m, m(d);
|
|
542
542
|
}, m = (d) => {
|
|
543
|
-
const g =
|
|
543
|
+
const g = t(d);
|
|
544
544
|
if (g)
|
|
545
545
|
return g;
|
|
546
|
-
const
|
|
547
|
-
return n(d,
|
|
546
|
+
const S = Tt(d, r);
|
|
547
|
+
return n(d, S), S;
|
|
548
548
|
};
|
|
549
|
-
return s = a, (...d) => s(
|
|
550
|
-
},
|
|
551
|
-
const o = (
|
|
549
|
+
return s = a, (...d) => s(Gt(...d));
|
|
550
|
+
}, Pt = [], V = (e) => {
|
|
551
|
+
const o = (r) => r[e] || Pt;
|
|
552
552
|
return o.isThemeGetter = !0, o;
|
|
553
|
-
}, je = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Fe = /^\((?:(\w[\w-]*):)?(.+)\)$/i,
|
|
553
|
+
}, je = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Fe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Nt = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Rt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, It = /\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$/, Ot = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Et = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Lt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, K = (e) => Nt.test(e), p = (e) => !!e && !Number.isNaN(Number(e)), Y = (e) => !!e && Number.isInteger(Number(e)), be = (e) => e.endsWith("%") && p(e.slice(0, -1)), $ = (e) => Rt.test(e), _e = () => !0, jt = (e) => (
|
|
554
554
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
555
555
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
556
556
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
557
|
-
|
|
558
|
-
), xe = () => !1,
|
|
559
|
-
const
|
|
560
|
-
return
|
|
561
|
-
}, H = (e, o,
|
|
562
|
-
const
|
|
563
|
-
return
|
|
564
|
-
}, Be = (e) => e === "position" || e === "percentage", We = (e) => e === "image" || e === "url", $e = (e) => e === "length" || e === "size" || e === "bg-size", Ue = (e) => e === "length",
|
|
565
|
-
const e = V("color"), o = V("font"),
|
|
557
|
+
It.test(e) && !Ot.test(e)
|
|
558
|
+
), xe = () => !1, Ft = (e) => Et.test(e), _t = (e) => Lt.test(e), Bt = (e) => !i(e) && !l(e), Wt = (e) => q(e, $e, xe), i = (e) => je.test(e), J = (e) => q(e, Ue, jt), Te = (e) => q(e, Jt, p), $t = (e) => q(e, Ke, _e), Ut = (e) => q(e, De, xe), Ge = (e) => q(e, Be, xe), Dt = (e) => q(e, We, _t), ce = (e) => q(e, Ye, Ft), l = (e) => Fe.test(e), re = (e) => H(e, Ue), Kt = (e) => H(e, De), Pe = (e) => H(e, Be), Yt = (e) => H(e, $e), qt = (e) => H(e, We), de = (e) => H(e, Ye, !0), Xt = (e) => H(e, Ke, !0), q = (e, o, r) => {
|
|
559
|
+
const t = je.exec(e);
|
|
560
|
+
return t ? t[1] ? o(t[1]) : r(t[2]) : !1;
|
|
561
|
+
}, H = (e, o, r = !1) => {
|
|
562
|
+
const t = Fe.exec(e);
|
|
563
|
+
return t ? t[1] ? o(t[1]) : r : !1;
|
|
564
|
+
}, Be = (e) => e === "position" || e === "percentage", We = (e) => e === "image" || e === "url", $e = (e) => e === "length" || e === "size" || e === "bg-size", Ue = (e) => e === "length", Jt = (e) => e === "number", De = (e) => e === "family-name", Ke = (e) => e === "number" || e === "weight", Ye = (e) => e === "shadow", ke = () => {
|
|
565
|
+
const e = V("color"), o = V("font"), r = V("text"), t = V("font-weight"), n = V("tracking"), s = V("leading"), a = V("breakpoint"), m = V("container"), d = V("spacing"), g = V("radius"), S = V("shadow"), A = V("inset-shadow"), G = V("text-shadow"), C = V("drop-shadow"), P = V("blur"), w = V("perspective"), v = V("aspect"), I = V("ease"), j = V("animate"), O = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], D = () => [
|
|
566
566
|
"center",
|
|
567
567
|
"top",
|
|
568
568
|
"bottom",
|
|
@@ -580,15 +580,15 @@ const ur = (e, o) => {
|
|
|
580
580
|
"bottom-left",
|
|
581
581
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
582
582
|
"left-bottom"
|
|
583
|
-
],
|
|
583
|
+
], N = () => [...D(), l, i], B = () => ["auto", "hidden", "clip", "visible", "scroll"], X = () => ["auto", "contain", "none"], u = () => [l, i, d], R = () => [K, "full", "auto", ...u()], ee = () => [Y, "none", "subgrid", l, i], te = () => ["auto", {
|
|
584
584
|
span: ["full", Y, l, i]
|
|
585
|
-
}, Y, l, i], Q = () => [Y, "auto", l, i], se = () => ["auto", "min", "max", "fr", l, i], b = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], h = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], f = () => ["auto", ...u()], y = () => [K, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], k = () => [K, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...u()],
|
|
585
|
+
}, Y, l, i], Q = () => [Y, "auto", l, i], se = () => ["auto", "min", "max", "fr", l, i], b = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], h = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], f = () => ["auto", ...u()], y = () => [K, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], k = () => [K, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...u()], z = () => [K, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...u()], c = () => [e, l, i], _ = () => [...D(), Pe, Ge, {
|
|
586
586
|
position: [l, i]
|
|
587
|
-
}],
|
|
587
|
+
}], E = () => ["no-repeat", {
|
|
588
588
|
repeat: ["", "x", "y", "space", "round"]
|
|
589
|
-
}], F = () => ["auto", "cover", "contain",
|
|
589
|
+
}], F = () => ["auto", "cover", "contain", Yt, Wt, {
|
|
590
590
|
size: [l, i]
|
|
591
|
-
}], W = () => [be,
|
|
591
|
+
}], W = () => [be, re, J], x = () => [
|
|
592
592
|
// Deprecated since Tailwind CSS v4.0.0
|
|
593
593
|
"",
|
|
594
594
|
"none",
|
|
@@ -596,11 +596,11 @@ const ur = (e, o) => {
|
|
|
596
596
|
g,
|
|
597
597
|
l,
|
|
598
598
|
i
|
|
599
|
-
],
|
|
599
|
+
], M = () => ["", p, re, J], ne = () => ["solid", "dashed", "dotted", "double"], Ce = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], T = () => [p, be, Pe, Ge], ze = () => [
|
|
600
600
|
// Deprecated since Tailwind CSS v4.0.0
|
|
601
601
|
"",
|
|
602
602
|
"none",
|
|
603
|
-
|
|
603
|
+
P,
|
|
604
604
|
l,
|
|
605
605
|
i
|
|
606
606
|
], ae = () => ["none", p, l, i], ie = () => ["none", p, l, i], ge = () => [p, l, i], le = () => [K, "full", ...u()];
|
|
@@ -615,7 +615,7 @@ const ur = (e, o) => {
|
|
|
615
615
|
container: [$],
|
|
616
616
|
"drop-shadow": [$],
|
|
617
617
|
ease: ["in", "out", "in-out"],
|
|
618
|
-
font: [
|
|
618
|
+
font: [Bt],
|
|
619
619
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
620
620
|
"inset-shadow": [$],
|
|
621
621
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
@@ -636,7 +636,7 @@ const ur = (e, o) => {
|
|
|
636
636
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
637
637
|
*/
|
|
638
638
|
aspect: [{
|
|
639
|
-
aspect: ["auto", "square", K, i, l,
|
|
639
|
+
aspect: ["auto", "square", K, i, l, v]
|
|
640
640
|
}],
|
|
641
641
|
/**
|
|
642
642
|
* Container
|
|
@@ -656,14 +656,14 @@ const ur = (e, o) => {
|
|
|
656
656
|
* @see https://tailwindcss.com/docs/break-after
|
|
657
657
|
*/
|
|
658
658
|
"break-after": [{
|
|
659
|
-
"break-after":
|
|
659
|
+
"break-after": O()
|
|
660
660
|
}],
|
|
661
661
|
/**
|
|
662
662
|
* Break Before
|
|
663
663
|
* @see https://tailwindcss.com/docs/break-before
|
|
664
664
|
*/
|
|
665
665
|
"break-before": [{
|
|
666
|
-
"break-before":
|
|
666
|
+
"break-before": O()
|
|
667
667
|
}],
|
|
668
668
|
/**
|
|
669
669
|
* Break Inside
|
|
@@ -727,7 +727,7 @@ const ur = (e, o) => {
|
|
|
727
727
|
* @see https://tailwindcss.com/docs/object-position
|
|
728
728
|
*/
|
|
729
729
|
"object-position": [{
|
|
730
|
-
object:
|
|
730
|
+
object: N()
|
|
731
731
|
}],
|
|
732
732
|
/**
|
|
733
733
|
* Overflow
|
|
@@ -781,21 +781,21 @@ const ur = (e, o) => {
|
|
|
781
781
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
782
782
|
*/
|
|
783
783
|
inset: [{
|
|
784
|
-
inset:
|
|
784
|
+
inset: R()
|
|
785
785
|
}],
|
|
786
786
|
/**
|
|
787
787
|
* Inset Inline
|
|
788
788
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
789
789
|
*/
|
|
790
790
|
"inset-x": [{
|
|
791
|
-
"inset-x":
|
|
791
|
+
"inset-x": R()
|
|
792
792
|
}],
|
|
793
793
|
/**
|
|
794
794
|
* Inset Block
|
|
795
795
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
796
796
|
*/
|
|
797
797
|
"inset-y": [{
|
|
798
|
-
"inset-y":
|
|
798
|
+
"inset-y": R()
|
|
799
799
|
}],
|
|
800
800
|
/**
|
|
801
801
|
* Inset Inline Start
|
|
@@ -803,12 +803,12 @@ const ur = (e, o) => {
|
|
|
803
803
|
* @todo class group will be renamed to `inset-s` in next major release
|
|
804
804
|
*/
|
|
805
805
|
start: [{
|
|
806
|
-
"inset-s":
|
|
806
|
+
"inset-s": R(),
|
|
807
807
|
/**
|
|
808
808
|
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
|
|
809
809
|
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
810
810
|
*/
|
|
811
|
-
start:
|
|
811
|
+
start: R()
|
|
812
812
|
}],
|
|
813
813
|
/**
|
|
814
814
|
* Inset Inline End
|
|
@@ -816,54 +816,54 @@ const ur = (e, o) => {
|
|
|
816
816
|
* @todo class group will be renamed to `inset-e` in next major release
|
|
817
817
|
*/
|
|
818
818
|
end: [{
|
|
819
|
-
"inset-e":
|
|
819
|
+
"inset-e": R(),
|
|
820
820
|
/**
|
|
821
821
|
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
|
|
822
822
|
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
823
823
|
*/
|
|
824
|
-
end:
|
|
824
|
+
end: R()
|
|
825
825
|
}],
|
|
826
826
|
/**
|
|
827
827
|
* Inset Block Start
|
|
828
828
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
829
829
|
*/
|
|
830
830
|
"inset-bs": [{
|
|
831
|
-
"inset-bs":
|
|
831
|
+
"inset-bs": R()
|
|
832
832
|
}],
|
|
833
833
|
/**
|
|
834
834
|
* Inset Block End
|
|
835
835
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
836
836
|
*/
|
|
837
837
|
"inset-be": [{
|
|
838
|
-
"inset-be":
|
|
838
|
+
"inset-be": R()
|
|
839
839
|
}],
|
|
840
840
|
/**
|
|
841
841
|
* Top
|
|
842
842
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
843
843
|
*/
|
|
844
844
|
top: [{
|
|
845
|
-
top:
|
|
845
|
+
top: R()
|
|
846
846
|
}],
|
|
847
847
|
/**
|
|
848
848
|
* Right
|
|
849
849
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
850
850
|
*/
|
|
851
851
|
right: [{
|
|
852
|
-
right:
|
|
852
|
+
right: R()
|
|
853
853
|
}],
|
|
854
854
|
/**
|
|
855
855
|
* Bottom
|
|
856
856
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
857
857
|
*/
|
|
858
858
|
bottom: [{
|
|
859
|
-
bottom:
|
|
859
|
+
bottom: R()
|
|
860
860
|
}],
|
|
861
861
|
/**
|
|
862
862
|
* Left
|
|
863
863
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
864
864
|
*/
|
|
865
865
|
left: [{
|
|
866
|
-
left:
|
|
866
|
+
left: R()
|
|
867
867
|
}],
|
|
868
868
|
/**
|
|
869
869
|
* Visibility
|
|
@@ -941,7 +941,7 @@ const ur = (e, o) => {
|
|
|
941
941
|
* @see https://tailwindcss.com/docs/grid-column
|
|
942
942
|
*/
|
|
943
943
|
"col-start-end": [{
|
|
944
|
-
col:
|
|
944
|
+
col: te()
|
|
945
945
|
}],
|
|
946
946
|
/**
|
|
947
947
|
* Grid Column Start
|
|
@@ -969,7 +969,7 @@ const ur = (e, o) => {
|
|
|
969
969
|
* @see https://tailwindcss.com/docs/grid-row
|
|
970
970
|
*/
|
|
971
971
|
"row-start-end": [{
|
|
972
|
-
row:
|
|
972
|
+
row: te()
|
|
973
973
|
}],
|
|
974
974
|
/**
|
|
975
975
|
* Grid Row Start
|
|
@@ -1309,21 +1309,21 @@ const ur = (e, o) => {
|
|
|
1309
1309
|
* @see https://tailwindcss.com/docs/height
|
|
1310
1310
|
*/
|
|
1311
1311
|
"block-size": [{
|
|
1312
|
-
block: ["auto", ...
|
|
1312
|
+
block: ["auto", ...z()]
|
|
1313
1313
|
}],
|
|
1314
1314
|
/**
|
|
1315
1315
|
* Min-Block Size
|
|
1316
1316
|
* @see https://tailwindcss.com/docs/min-height
|
|
1317
1317
|
*/
|
|
1318
1318
|
"min-block-size": [{
|
|
1319
|
-
"min-block": ["auto", ...
|
|
1319
|
+
"min-block": ["auto", ...z()]
|
|
1320
1320
|
}],
|
|
1321
1321
|
/**
|
|
1322
1322
|
* Max-Block Size
|
|
1323
1323
|
* @see https://tailwindcss.com/docs/max-height
|
|
1324
1324
|
*/
|
|
1325
1325
|
"max-block-size": [{
|
|
1326
|
-
"max-block": ["none", ...
|
|
1326
|
+
"max-block": ["none", ...z()]
|
|
1327
1327
|
}],
|
|
1328
1328
|
/**
|
|
1329
1329
|
* Width
|
|
@@ -1392,7 +1392,7 @@ const ur = (e, o) => {
|
|
|
1392
1392
|
* @see https://tailwindcss.com/docs/font-size
|
|
1393
1393
|
*/
|
|
1394
1394
|
"font-size": [{
|
|
1395
|
-
text: ["base",
|
|
1395
|
+
text: ["base", r, re, J]
|
|
1396
1396
|
}],
|
|
1397
1397
|
/**
|
|
1398
1398
|
* Font Smoothing
|
|
@@ -1409,7 +1409,7 @@ const ur = (e, o) => {
|
|
|
1409
1409
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1410
1410
|
*/
|
|
1411
1411
|
"font-weight": [{
|
|
1412
|
-
font: [
|
|
1412
|
+
font: [t, Xt, $t]
|
|
1413
1413
|
}],
|
|
1414
1414
|
/**
|
|
1415
1415
|
* Font Stretch
|
|
@@ -1423,7 +1423,7 @@ const ur = (e, o) => {
|
|
|
1423
1423
|
* @see https://tailwindcss.com/docs/font-family
|
|
1424
1424
|
*/
|
|
1425
1425
|
"font-family": [{
|
|
1426
|
-
font: [
|
|
1426
|
+
font: [Kt, Ut, o]
|
|
1427
1427
|
}],
|
|
1428
1428
|
/**
|
|
1429
1429
|
* Font Feature Settings
|
|
@@ -1665,7 +1665,7 @@ const ur = (e, o) => {
|
|
|
1665
1665
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1666
1666
|
*/
|
|
1667
1667
|
"bg-repeat": [{
|
|
1668
|
-
bg:
|
|
1668
|
+
bg: E()
|
|
1669
1669
|
}],
|
|
1670
1670
|
/**
|
|
1671
1671
|
* Background Size
|
|
@@ -1685,7 +1685,7 @@ const ur = (e, o) => {
|
|
|
1685
1685
|
}, Y, l, i],
|
|
1686
1686
|
radial: ["", l, i],
|
|
1687
1687
|
conic: [Y, l, i]
|
|
1688
|
-
},
|
|
1688
|
+
}, qt, Dt]
|
|
1689
1689
|
}],
|
|
1690
1690
|
/**
|
|
1691
1691
|
* Background Color
|
|
@@ -1744,189 +1744,189 @@ const ur = (e, o) => {
|
|
|
1744
1744
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1745
1745
|
*/
|
|
1746
1746
|
rounded: [{
|
|
1747
|
-
rounded:
|
|
1747
|
+
rounded: x()
|
|
1748
1748
|
}],
|
|
1749
1749
|
/**
|
|
1750
1750
|
* Border Radius Start
|
|
1751
1751
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1752
1752
|
*/
|
|
1753
1753
|
"rounded-s": [{
|
|
1754
|
-
"rounded-s":
|
|
1754
|
+
"rounded-s": x()
|
|
1755
1755
|
}],
|
|
1756
1756
|
/**
|
|
1757
1757
|
* Border Radius End
|
|
1758
1758
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1759
1759
|
*/
|
|
1760
1760
|
"rounded-e": [{
|
|
1761
|
-
"rounded-e":
|
|
1761
|
+
"rounded-e": x()
|
|
1762
1762
|
}],
|
|
1763
1763
|
/**
|
|
1764
1764
|
* Border Radius Top
|
|
1765
1765
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1766
1766
|
*/
|
|
1767
1767
|
"rounded-t": [{
|
|
1768
|
-
"rounded-t":
|
|
1768
|
+
"rounded-t": x()
|
|
1769
1769
|
}],
|
|
1770
1770
|
/**
|
|
1771
1771
|
* Border Radius Right
|
|
1772
1772
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1773
1773
|
*/
|
|
1774
1774
|
"rounded-r": [{
|
|
1775
|
-
"rounded-r":
|
|
1775
|
+
"rounded-r": x()
|
|
1776
1776
|
}],
|
|
1777
1777
|
/**
|
|
1778
1778
|
* Border Radius Bottom
|
|
1779
1779
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1780
1780
|
*/
|
|
1781
1781
|
"rounded-b": [{
|
|
1782
|
-
"rounded-b":
|
|
1782
|
+
"rounded-b": x()
|
|
1783
1783
|
}],
|
|
1784
1784
|
/**
|
|
1785
1785
|
* Border Radius Left
|
|
1786
1786
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1787
1787
|
*/
|
|
1788
1788
|
"rounded-l": [{
|
|
1789
|
-
"rounded-l":
|
|
1789
|
+
"rounded-l": x()
|
|
1790
1790
|
}],
|
|
1791
1791
|
/**
|
|
1792
1792
|
* Border Radius Start Start
|
|
1793
1793
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1794
1794
|
*/
|
|
1795
1795
|
"rounded-ss": [{
|
|
1796
|
-
"rounded-ss":
|
|
1796
|
+
"rounded-ss": x()
|
|
1797
1797
|
}],
|
|
1798
1798
|
/**
|
|
1799
1799
|
* Border Radius Start End
|
|
1800
1800
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1801
1801
|
*/
|
|
1802
1802
|
"rounded-se": [{
|
|
1803
|
-
"rounded-se":
|
|
1803
|
+
"rounded-se": x()
|
|
1804
1804
|
}],
|
|
1805
1805
|
/**
|
|
1806
1806
|
* Border Radius End End
|
|
1807
1807
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1808
1808
|
*/
|
|
1809
1809
|
"rounded-ee": [{
|
|
1810
|
-
"rounded-ee":
|
|
1810
|
+
"rounded-ee": x()
|
|
1811
1811
|
}],
|
|
1812
1812
|
/**
|
|
1813
1813
|
* Border Radius End Start
|
|
1814
1814
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1815
1815
|
*/
|
|
1816
1816
|
"rounded-es": [{
|
|
1817
|
-
"rounded-es":
|
|
1817
|
+
"rounded-es": x()
|
|
1818
1818
|
}],
|
|
1819
1819
|
/**
|
|
1820
1820
|
* Border Radius Top Left
|
|
1821
1821
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1822
1822
|
*/
|
|
1823
1823
|
"rounded-tl": [{
|
|
1824
|
-
"rounded-tl":
|
|
1824
|
+
"rounded-tl": x()
|
|
1825
1825
|
}],
|
|
1826
1826
|
/**
|
|
1827
1827
|
* Border Radius Top Right
|
|
1828
1828
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1829
1829
|
*/
|
|
1830
1830
|
"rounded-tr": [{
|
|
1831
|
-
"rounded-tr":
|
|
1831
|
+
"rounded-tr": x()
|
|
1832
1832
|
}],
|
|
1833
1833
|
/**
|
|
1834
1834
|
* Border Radius Bottom Right
|
|
1835
1835
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1836
1836
|
*/
|
|
1837
1837
|
"rounded-br": [{
|
|
1838
|
-
"rounded-br":
|
|
1838
|
+
"rounded-br": x()
|
|
1839
1839
|
}],
|
|
1840
1840
|
/**
|
|
1841
1841
|
* Border Radius Bottom Left
|
|
1842
1842
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1843
1843
|
*/
|
|
1844
1844
|
"rounded-bl": [{
|
|
1845
|
-
"rounded-bl":
|
|
1845
|
+
"rounded-bl": x()
|
|
1846
1846
|
}],
|
|
1847
1847
|
/**
|
|
1848
1848
|
* Border Width
|
|
1849
1849
|
* @see https://tailwindcss.com/docs/border-width
|
|
1850
1850
|
*/
|
|
1851
1851
|
"border-w": [{
|
|
1852
|
-
border:
|
|
1852
|
+
border: M()
|
|
1853
1853
|
}],
|
|
1854
1854
|
/**
|
|
1855
1855
|
* Border Width Inline
|
|
1856
1856
|
* @see https://tailwindcss.com/docs/border-width
|
|
1857
1857
|
*/
|
|
1858
1858
|
"border-w-x": [{
|
|
1859
|
-
"border-x":
|
|
1859
|
+
"border-x": M()
|
|
1860
1860
|
}],
|
|
1861
1861
|
/**
|
|
1862
1862
|
* Border Width Block
|
|
1863
1863
|
* @see https://tailwindcss.com/docs/border-width
|
|
1864
1864
|
*/
|
|
1865
1865
|
"border-w-y": [{
|
|
1866
|
-
"border-y":
|
|
1866
|
+
"border-y": M()
|
|
1867
1867
|
}],
|
|
1868
1868
|
/**
|
|
1869
1869
|
* Border Width Inline Start
|
|
1870
1870
|
* @see https://tailwindcss.com/docs/border-width
|
|
1871
1871
|
*/
|
|
1872
1872
|
"border-w-s": [{
|
|
1873
|
-
"border-s":
|
|
1873
|
+
"border-s": M()
|
|
1874
1874
|
}],
|
|
1875
1875
|
/**
|
|
1876
1876
|
* Border Width Inline End
|
|
1877
1877
|
* @see https://tailwindcss.com/docs/border-width
|
|
1878
1878
|
*/
|
|
1879
1879
|
"border-w-e": [{
|
|
1880
|
-
"border-e":
|
|
1880
|
+
"border-e": M()
|
|
1881
1881
|
}],
|
|
1882
1882
|
/**
|
|
1883
1883
|
* Border Width Block Start
|
|
1884
1884
|
* @see https://tailwindcss.com/docs/border-width
|
|
1885
1885
|
*/
|
|
1886
1886
|
"border-w-bs": [{
|
|
1887
|
-
"border-bs":
|
|
1887
|
+
"border-bs": M()
|
|
1888
1888
|
}],
|
|
1889
1889
|
/**
|
|
1890
1890
|
* Border Width Block End
|
|
1891
1891
|
* @see https://tailwindcss.com/docs/border-width
|
|
1892
1892
|
*/
|
|
1893
1893
|
"border-w-be": [{
|
|
1894
|
-
"border-be":
|
|
1894
|
+
"border-be": M()
|
|
1895
1895
|
}],
|
|
1896
1896
|
/**
|
|
1897
1897
|
* Border Width Top
|
|
1898
1898
|
* @see https://tailwindcss.com/docs/border-width
|
|
1899
1899
|
*/
|
|
1900
1900
|
"border-w-t": [{
|
|
1901
|
-
"border-t":
|
|
1901
|
+
"border-t": M()
|
|
1902
1902
|
}],
|
|
1903
1903
|
/**
|
|
1904
1904
|
* Border Width Right
|
|
1905
1905
|
* @see https://tailwindcss.com/docs/border-width
|
|
1906
1906
|
*/
|
|
1907
1907
|
"border-w-r": [{
|
|
1908
|
-
"border-r":
|
|
1908
|
+
"border-r": M()
|
|
1909
1909
|
}],
|
|
1910
1910
|
/**
|
|
1911
1911
|
* Border Width Bottom
|
|
1912
1912
|
* @see https://tailwindcss.com/docs/border-width
|
|
1913
1913
|
*/
|
|
1914
1914
|
"border-w-b": [{
|
|
1915
|
-
"border-b":
|
|
1915
|
+
"border-b": M()
|
|
1916
1916
|
}],
|
|
1917
1917
|
/**
|
|
1918
1918
|
* Border Width Left
|
|
1919
1919
|
* @see https://tailwindcss.com/docs/border-width
|
|
1920
1920
|
*/
|
|
1921
1921
|
"border-w-l": [{
|
|
1922
|
-
"border-l":
|
|
1922
|
+
"border-l": M()
|
|
1923
1923
|
}],
|
|
1924
1924
|
/**
|
|
1925
1925
|
* Divide Width X
|
|
1926
1926
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1927
1927
|
*/
|
|
1928
1928
|
"divide-x": [{
|
|
1929
|
-
"divide-x":
|
|
1929
|
+
"divide-x": M()
|
|
1930
1930
|
}],
|
|
1931
1931
|
/**
|
|
1932
1932
|
* Divide Width X Reverse
|
|
@@ -1938,7 +1938,7 @@ const ur = (e, o) => {
|
|
|
1938
1938
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1939
1939
|
*/
|
|
1940
1940
|
"divide-y": [{
|
|
1941
|
-
"divide-y":
|
|
1941
|
+
"divide-y": M()
|
|
1942
1942
|
}],
|
|
1943
1943
|
/**
|
|
1944
1944
|
* Divide Width Y Reverse
|
|
@@ -2062,7 +2062,7 @@ const ur = (e, o) => {
|
|
|
2062
2062
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2063
2063
|
*/
|
|
2064
2064
|
"outline-w": [{
|
|
2065
|
-
outline: ["", p,
|
|
2065
|
+
outline: ["", p, re, J]
|
|
2066
2066
|
}],
|
|
2067
2067
|
/**
|
|
2068
2068
|
* Outline Color
|
|
@@ -2083,7 +2083,7 @@ const ur = (e, o) => {
|
|
|
2083
2083
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2084
2084
|
"",
|
|
2085
2085
|
"none",
|
|
2086
|
-
|
|
2086
|
+
S,
|
|
2087
2087
|
de,
|
|
2088
2088
|
ce
|
|
2089
2089
|
]
|
|
@@ -2100,7 +2100,7 @@ const ur = (e, o) => {
|
|
|
2100
2100
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2101
2101
|
*/
|
|
2102
2102
|
"inset-shadow": [{
|
|
2103
|
-
"inset-shadow": ["none",
|
|
2103
|
+
"inset-shadow": ["none", A, de, ce]
|
|
2104
2104
|
}],
|
|
2105
2105
|
/**
|
|
2106
2106
|
* Inset Box Shadow Color
|
|
@@ -2114,7 +2114,7 @@ const ur = (e, o) => {
|
|
|
2114
2114
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
2115
2115
|
*/
|
|
2116
2116
|
"ring-w": [{
|
|
2117
|
-
ring:
|
|
2117
|
+
ring: M()
|
|
2118
2118
|
}],
|
|
2119
2119
|
/**
|
|
2120
2120
|
* Ring Width Inset
|
|
@@ -2153,7 +2153,7 @@ const ur = (e, o) => {
|
|
|
2153
2153
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2154
2154
|
*/
|
|
2155
2155
|
"inset-ring-w": [{
|
|
2156
|
-
"inset-ring":
|
|
2156
|
+
"inset-ring": M()
|
|
2157
2157
|
}],
|
|
2158
2158
|
/**
|
|
2159
2159
|
* Inset Ring Color
|
|
@@ -2167,7 +2167,7 @@ const ur = (e, o) => {
|
|
|
2167
2167
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2168
2168
|
*/
|
|
2169
2169
|
"text-shadow": [{
|
|
2170
|
-
"text-shadow": ["none",
|
|
2170
|
+
"text-shadow": ["none", G, de, ce]
|
|
2171
2171
|
}],
|
|
2172
2172
|
/**
|
|
2173
2173
|
* Text Shadow Color
|
|
@@ -2219,10 +2219,10 @@ const ur = (e, o) => {
|
|
|
2219
2219
|
"mask-linear": [p]
|
|
2220
2220
|
}],
|
|
2221
2221
|
"mask-image-linear-from-pos": [{
|
|
2222
|
-
"mask-linear-from":
|
|
2222
|
+
"mask-linear-from": T()
|
|
2223
2223
|
}],
|
|
2224
2224
|
"mask-image-linear-to-pos": [{
|
|
2225
|
-
"mask-linear-to":
|
|
2225
|
+
"mask-linear-to": T()
|
|
2226
2226
|
}],
|
|
2227
2227
|
"mask-image-linear-from-color": [{
|
|
2228
2228
|
"mask-linear-from": c()
|
|
@@ -2231,10 +2231,10 @@ const ur = (e, o) => {
|
|
|
2231
2231
|
"mask-linear-to": c()
|
|
2232
2232
|
}],
|
|
2233
2233
|
"mask-image-t-from-pos": [{
|
|
2234
|
-
"mask-t-from":
|
|
2234
|
+
"mask-t-from": T()
|
|
2235
2235
|
}],
|
|
2236
2236
|
"mask-image-t-to-pos": [{
|
|
2237
|
-
"mask-t-to":
|
|
2237
|
+
"mask-t-to": T()
|
|
2238
2238
|
}],
|
|
2239
2239
|
"mask-image-t-from-color": [{
|
|
2240
2240
|
"mask-t-from": c()
|
|
@@ -2243,10 +2243,10 @@ const ur = (e, o) => {
|
|
|
2243
2243
|
"mask-t-to": c()
|
|
2244
2244
|
}],
|
|
2245
2245
|
"mask-image-r-from-pos": [{
|
|
2246
|
-
"mask-r-from":
|
|
2246
|
+
"mask-r-from": T()
|
|
2247
2247
|
}],
|
|
2248
2248
|
"mask-image-r-to-pos": [{
|
|
2249
|
-
"mask-r-to":
|
|
2249
|
+
"mask-r-to": T()
|
|
2250
2250
|
}],
|
|
2251
2251
|
"mask-image-r-from-color": [{
|
|
2252
2252
|
"mask-r-from": c()
|
|
@@ -2255,10 +2255,10 @@ const ur = (e, o) => {
|
|
|
2255
2255
|
"mask-r-to": c()
|
|
2256
2256
|
}],
|
|
2257
2257
|
"mask-image-b-from-pos": [{
|
|
2258
|
-
"mask-b-from":
|
|
2258
|
+
"mask-b-from": T()
|
|
2259
2259
|
}],
|
|
2260
2260
|
"mask-image-b-to-pos": [{
|
|
2261
|
-
"mask-b-to":
|
|
2261
|
+
"mask-b-to": T()
|
|
2262
2262
|
}],
|
|
2263
2263
|
"mask-image-b-from-color": [{
|
|
2264
2264
|
"mask-b-from": c()
|
|
@@ -2267,10 +2267,10 @@ const ur = (e, o) => {
|
|
|
2267
2267
|
"mask-b-to": c()
|
|
2268
2268
|
}],
|
|
2269
2269
|
"mask-image-l-from-pos": [{
|
|
2270
|
-
"mask-l-from":
|
|
2270
|
+
"mask-l-from": T()
|
|
2271
2271
|
}],
|
|
2272
2272
|
"mask-image-l-to-pos": [{
|
|
2273
|
-
"mask-l-to":
|
|
2273
|
+
"mask-l-to": T()
|
|
2274
2274
|
}],
|
|
2275
2275
|
"mask-image-l-from-color": [{
|
|
2276
2276
|
"mask-l-from": c()
|
|
@@ -2279,10 +2279,10 @@ const ur = (e, o) => {
|
|
|
2279
2279
|
"mask-l-to": c()
|
|
2280
2280
|
}],
|
|
2281
2281
|
"mask-image-x-from-pos": [{
|
|
2282
|
-
"mask-x-from":
|
|
2282
|
+
"mask-x-from": T()
|
|
2283
2283
|
}],
|
|
2284
2284
|
"mask-image-x-to-pos": [{
|
|
2285
|
-
"mask-x-to":
|
|
2285
|
+
"mask-x-to": T()
|
|
2286
2286
|
}],
|
|
2287
2287
|
"mask-image-x-from-color": [{
|
|
2288
2288
|
"mask-x-from": c()
|
|
@@ -2291,10 +2291,10 @@ const ur = (e, o) => {
|
|
|
2291
2291
|
"mask-x-to": c()
|
|
2292
2292
|
}],
|
|
2293
2293
|
"mask-image-y-from-pos": [{
|
|
2294
|
-
"mask-y-from":
|
|
2294
|
+
"mask-y-from": T()
|
|
2295
2295
|
}],
|
|
2296
2296
|
"mask-image-y-to-pos": [{
|
|
2297
|
-
"mask-y-to":
|
|
2297
|
+
"mask-y-to": T()
|
|
2298
2298
|
}],
|
|
2299
2299
|
"mask-image-y-from-color": [{
|
|
2300
2300
|
"mask-y-from": c()
|
|
@@ -2306,10 +2306,10 @@ const ur = (e, o) => {
|
|
|
2306
2306
|
"mask-radial": [l, i]
|
|
2307
2307
|
}],
|
|
2308
2308
|
"mask-image-radial-from-pos": [{
|
|
2309
|
-
"mask-radial-from":
|
|
2309
|
+
"mask-radial-from": T()
|
|
2310
2310
|
}],
|
|
2311
2311
|
"mask-image-radial-to-pos": [{
|
|
2312
|
-
"mask-radial-to":
|
|
2312
|
+
"mask-radial-to": T()
|
|
2313
2313
|
}],
|
|
2314
2314
|
"mask-image-radial-from-color": [{
|
|
2315
2315
|
"mask-radial-from": c()
|
|
@@ -2333,10 +2333,10 @@ const ur = (e, o) => {
|
|
|
2333
2333
|
"mask-conic": [p]
|
|
2334
2334
|
}],
|
|
2335
2335
|
"mask-image-conic-from-pos": [{
|
|
2336
|
-
"mask-conic-from":
|
|
2336
|
+
"mask-conic-from": T()
|
|
2337
2337
|
}],
|
|
2338
2338
|
"mask-image-conic-to-pos": [{
|
|
2339
|
-
"mask-conic-to":
|
|
2339
|
+
"mask-conic-to": T()
|
|
2340
2340
|
}],
|
|
2341
2341
|
"mask-image-conic-from-color": [{
|
|
2342
2342
|
"mask-conic-from": c()
|
|
@@ -2370,7 +2370,7 @@ const ur = (e, o) => {
|
|
|
2370
2370
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2371
2371
|
*/
|
|
2372
2372
|
"mask-repeat": [{
|
|
2373
|
-
mask:
|
|
2373
|
+
mask: E()
|
|
2374
2374
|
}],
|
|
2375
2375
|
/**
|
|
2376
2376
|
* Mask Size
|
|
@@ -2439,7 +2439,7 @@ const ur = (e, o) => {
|
|
|
2439
2439
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2440
2440
|
"",
|
|
2441
2441
|
"none",
|
|
2442
|
-
|
|
2442
|
+
C,
|
|
2443
2443
|
de,
|
|
2444
2444
|
ce
|
|
2445
2445
|
]
|
|
@@ -2636,7 +2636,7 @@ const ur = (e, o) => {
|
|
|
2636
2636
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2637
2637
|
*/
|
|
2638
2638
|
ease: [{
|
|
2639
|
-
ease: ["linear", "initial",
|
|
2639
|
+
ease: ["linear", "initial", I, l, i]
|
|
2640
2640
|
}],
|
|
2641
2641
|
/**
|
|
2642
2642
|
* Transition Delay
|
|
@@ -2650,7 +2650,7 @@ const ur = (e, o) => {
|
|
|
2650
2650
|
* @see https://tailwindcss.com/docs/animation
|
|
2651
2651
|
*/
|
|
2652
2652
|
animate: [{
|
|
2653
|
-
animate: ["none",
|
|
2653
|
+
animate: ["none", j, l, i]
|
|
2654
2654
|
}],
|
|
2655
2655
|
// ------------------
|
|
2656
2656
|
// --- Transforms ---
|
|
@@ -2667,14 +2667,14 @@ const ur = (e, o) => {
|
|
|
2667
2667
|
* @see https://tailwindcss.com/docs/perspective
|
|
2668
2668
|
*/
|
|
2669
2669
|
perspective: [{
|
|
2670
|
-
perspective: [
|
|
2670
|
+
perspective: [w, l, i]
|
|
2671
2671
|
}],
|
|
2672
2672
|
/**
|
|
2673
2673
|
* Perspective Origin
|
|
2674
2674
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2675
2675
|
*/
|
|
2676
2676
|
"perspective-origin": [{
|
|
2677
|
-
"perspective-origin":
|
|
2677
|
+
"perspective-origin": N()
|
|
2678
2678
|
}],
|
|
2679
2679
|
/**
|
|
2680
2680
|
* Rotate
|
|
@@ -2770,7 +2770,7 @@ const ur = (e, o) => {
|
|
|
2770
2770
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2771
2771
|
*/
|
|
2772
2772
|
"transform-origin": [{
|
|
2773
|
-
origin:
|
|
2773
|
+
origin: N()
|
|
2774
2774
|
}],
|
|
2775
2775
|
/**
|
|
2776
2776
|
* Transform Style
|
|
@@ -3115,7 +3115,7 @@ const ur = (e, o) => {
|
|
|
3115
3115
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3116
3116
|
*/
|
|
3117
3117
|
"stroke-w": [{
|
|
3118
|
-
stroke: [p,
|
|
3118
|
+
stroke: [p, re, J, Te]
|
|
3119
3119
|
}],
|
|
3120
3120
|
/**
|
|
3121
3121
|
* Stroke
|
|
@@ -3190,27 +3190,27 @@ const ur = (e, o) => {
|
|
|
3190
3190
|
},
|
|
3191
3191
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3192
3192
|
};
|
|
3193
|
-
},
|
|
3193
|
+
}, Ht = (e, {
|
|
3194
3194
|
cacheSize: o,
|
|
3195
|
-
prefix:
|
|
3196
|
-
experimentalParseClassName:
|
|
3195
|
+
prefix: r,
|
|
3196
|
+
experimentalParseClassName: t,
|
|
3197
3197
|
extend: n = {},
|
|
3198
3198
|
override: s = {}
|
|
3199
|
-
}) => (oe(e, "cacheSize", o), oe(e, "prefix",
|
|
3200
|
-
|
|
3199
|
+
}) => (oe(e, "cacheSize", o), oe(e, "prefix", r), oe(e, "experimentalParseClassName", t), ue(e.theme, s.theme), ue(e.classGroups, s.classGroups), ue(e.conflictingClassGroups, s.conflictingClassGroups), ue(e.conflictingClassGroupModifiers, s.conflictingClassGroupModifiers), oe(e, "orderSensitiveModifiers", s.orderSensitiveModifiers), me(e.theme, n.theme), me(e.classGroups, n.classGroups), me(e.conflictingClassGroups, n.conflictingClassGroups), me(e.conflictingClassGroupModifiers, n.conflictingClassGroupModifiers), qe(e, n, "orderSensitiveModifiers"), e), oe = (e, o, r) => {
|
|
3200
|
+
r !== void 0 && (e[o] = r);
|
|
3201
3201
|
}, ue = (e, o) => {
|
|
3202
3202
|
if (o)
|
|
3203
|
-
for (const
|
|
3204
|
-
oe(e,
|
|
3203
|
+
for (const r in o)
|
|
3204
|
+
oe(e, r, o[r]);
|
|
3205
3205
|
}, me = (e, o) => {
|
|
3206
3206
|
if (o)
|
|
3207
|
-
for (const
|
|
3208
|
-
qe(e, o,
|
|
3209
|
-
}, qe = (e, o,
|
|
3210
|
-
const
|
|
3211
|
-
|
|
3212
|
-
},
|
|
3213
|
-
var
|
|
3207
|
+
for (const r in o)
|
|
3208
|
+
qe(e, o, r);
|
|
3209
|
+
}, qe = (e, o, r) => {
|
|
3210
|
+
const t = o[r];
|
|
3211
|
+
t !== void 0 && (e[r] = e[r] ? e[r].concat(t) : t);
|
|
3212
|
+
}, Qt = (e, ...o) => typeof e == "function" ? ve(ke, e, ...o) : ve(() => Ht(ke(), e), ...o), Xe = /* @__PURE__ */ ve(ke);
|
|
3213
|
+
var Zt = (e) => L(e) ? Xe : Qt({
|
|
3214
3214
|
...e,
|
|
3215
3215
|
extend: {
|
|
3216
3216
|
theme: e.theme,
|
|
@@ -3219,31 +3219,31 @@ var Zr = (e) => j(e) ? Xe : Qr({
|
|
|
3219
3219
|
conflictingClassGroups: e.conflictingClassGroups,
|
|
3220
3220
|
...e.extend
|
|
3221
3221
|
}
|
|
3222
|
-
}),
|
|
3223
|
-
const
|
|
3224
|
-
return !
|
|
3225
|
-
},
|
|
3226
|
-
const Je =
|
|
3227
|
-
function
|
|
3228
|
-
return
|
|
3222
|
+
}), er = (e, o) => {
|
|
3223
|
+
const r = fe(e);
|
|
3224
|
+
return !r || !(o?.twMerge ?? !0) ? r : ((!U.cachedTwMerge || U.didTwMergeConfigChange) && (U.didTwMergeConfigChange = !1, U.cachedTwMerge = Zt(U.cachedTwMergeConfig)), U.cachedTwMerge(r) || void 0);
|
|
3225
|
+
}, tr = (...e) => (o) => er(e, o), { tv: rr } = dt(tr);
|
|
3226
|
+
const Je = rt(void 0);
|
|
3227
|
+
function or() {
|
|
3228
|
+
return ot(Je);
|
|
3229
3229
|
}
|
|
3230
3230
|
function He(e) {
|
|
3231
|
-
var o,
|
|
3232
|
-
if (typeof e == "string" || typeof e == "number")
|
|
3231
|
+
var o, r, t = "";
|
|
3232
|
+
if (typeof e == "string" || typeof e == "number") t += e;
|
|
3233
3233
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
3234
3234
|
var n = e.length;
|
|
3235
|
-
for (o = 0; o < n; o++) e[o] && (
|
|
3236
|
-
} else for (
|
|
3237
|
-
return
|
|
3235
|
+
for (o = 0; o < n; o++) e[o] && (r = He(e[o])) && (t && (t += " "), t += r);
|
|
3236
|
+
} else for (r in e) e[r] && (t && (t += " "), t += r);
|
|
3237
|
+
return t;
|
|
3238
3238
|
}
|
|
3239
|
-
function
|
|
3240
|
-
for (var e, o,
|
|
3241
|
-
return
|
|
3239
|
+
function sr() {
|
|
3240
|
+
for (var e, o, r = 0, t = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (o = He(e)) && (t && (t += " "), t += o);
|
|
3241
|
+
return t;
|
|
3242
3242
|
}
|
|
3243
|
-
function
|
|
3244
|
-
return Xe(
|
|
3243
|
+
function nr(...e) {
|
|
3244
|
+
return Xe(sr(e));
|
|
3245
3245
|
}
|
|
3246
|
-
const
|
|
3246
|
+
const ar = rr({
|
|
3247
3247
|
base: "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md font-medium text-sm ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
3248
3248
|
defaultVariants: {
|
|
3249
3249
|
size: "md",
|
|
@@ -3270,60 +3270,62 @@ const at = tt({
|
|
|
3270
3270
|
}
|
|
3271
3271
|
}
|
|
3272
3272
|
});
|
|
3273
|
-
function
|
|
3273
|
+
function ur(e) {
|
|
3274
3274
|
const {
|
|
3275
3275
|
form: o,
|
|
3276
|
-
type:
|
|
3277
|
-
size:
|
|
3276
|
+
type: r = "button",
|
|
3277
|
+
size: t,
|
|
3278
3278
|
variant: n,
|
|
3279
3279
|
leftSection: s,
|
|
3280
3280
|
rightSection: a,
|
|
3281
3281
|
block: m,
|
|
3282
3282
|
loading: d,
|
|
3283
3283
|
disabled: g,
|
|
3284
|
-
asChild:
|
|
3285
|
-
onClick:
|
|
3286
|
-
children:
|
|
3287
|
-
} = e,
|
|
3288
|
-
asChild:
|
|
3289
|
-
block: m ??
|
|
3290
|
-
disabled: g ??
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3284
|
+
asChild: S,
|
|
3285
|
+
onClick: A,
|
|
3286
|
+
children: G
|
|
3287
|
+
} = e, C = or(), P = C?.components?.button?.classNames, w = C?.components?.button?.defaultProps, v = {
|
|
3288
|
+
asChild: S ?? w?.asChild ?? !1,
|
|
3289
|
+
block: m ?? w?.block ?? !1,
|
|
3290
|
+
disabled: g ?? w?.disabled ?? !1,
|
|
3291
|
+
form: o ?? w?.form ?? void 0,
|
|
3292
|
+
loading: d ?? w?.loading ?? !1,
|
|
3293
|
+
size: t ?? w?.size ?? "md",
|
|
3294
|
+
type: r ?? w?.type ?? "button",
|
|
3295
|
+
variant: n ?? w?.variant ?? "default"
|
|
3296
|
+
}, I = v.asChild ? et : "button", j = v.disabled || v.loading;
|
|
3295
3297
|
return /* @__PURE__ */ Z(
|
|
3296
|
-
|
|
3298
|
+
I,
|
|
3297
3299
|
{
|
|
3298
|
-
className:
|
|
3299
|
-
|
|
3300
|
+
className: nr(
|
|
3301
|
+
ar({
|
|
3300
3302
|
block: v.block,
|
|
3301
3303
|
size: v.size,
|
|
3302
3304
|
variant: v.variant
|
|
3303
3305
|
}),
|
|
3304
|
-
|
|
3306
|
+
P?.root
|
|
3305
3307
|
),
|
|
3306
|
-
disabled:
|
|
3307
|
-
form: v.
|
|
3308
|
-
onClick:
|
|
3309
|
-
type: v.
|
|
3310
|
-
children: v.loading ? /* @__PURE__ */ Z("
|
|
3311
|
-
s && /* @__PURE__ */ Z("
|
|
3312
|
-
|
|
3313
|
-
a && /* @__PURE__ */ Z("
|
|
3308
|
+
disabled: j,
|
|
3309
|
+
form: v.form,
|
|
3310
|
+
onClick: A,
|
|
3311
|
+
type: v.type,
|
|
3312
|
+
children: v.loading ? /* @__PURE__ */ Z("div", { className: P?.loading, children: /* @__PURE__ */ Z(tt, { className: "animate-spin" }) }) : /* @__PURE__ */ Qe(Ze, { children: [
|
|
3313
|
+
s && /* @__PURE__ */ Z("div", { className: P?.leftSection, children: s }),
|
|
3314
|
+
G,
|
|
3315
|
+
a && /* @__PURE__ */ Z("div", { className: P?.rightSection, children: a })
|
|
3314
3316
|
] })
|
|
3315
3317
|
}
|
|
3316
3318
|
);
|
|
3317
3319
|
}
|
|
3318
|
-
function
|
|
3320
|
+
function mr({
|
|
3319
3321
|
children: e,
|
|
3320
3322
|
...o
|
|
3321
3323
|
}) {
|
|
3322
3324
|
return /* @__PURE__ */ Z(Je.Provider, { value: o, children: e });
|
|
3323
3325
|
}
|
|
3324
3326
|
export {
|
|
3325
|
-
|
|
3327
|
+
ur as Button,
|
|
3326
3328
|
Je as TuryStackContext,
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
+
mr as TuryStackProvider,
|
|
3330
|
+
or as useTuryStack
|
|
3329
3331
|
};
|