@sudobility/subscription-components 1.0.1 → 1.0.4
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 +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +772 -606
- package/dist/index.umd.js +1 -1
- package/dist/segmented-control.d.ts +41 -0
- package/dist/segmented-control.d.ts.map +1 -0
- package/dist/subscription-layout.d.ts +18 -3
- package/dist/subscription-layout.d.ts.map +1 -1
- package/dist/subscription-tile.d.ts +3 -1
- package/dist/subscription-tile.d.ts.map +1 -1
- package/dist/types.d.ts +11 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as D, jsx as g, Fragment as $e } from "react/jsx-runtime";
|
|
2
2
|
import { textVariants as be } from "@sudobility/design";
|
|
3
3
|
import { Card as We, CardContent as Ue, Button as ve } from "@sudobility/components";
|
|
4
4
|
import { createContext as Be, useState as B, useCallback as W, useEffect as Ye, useContext as Ke } from "react";
|
|
5
|
-
function
|
|
5
|
+
function Se(e) {
|
|
6
6
|
var o, r, t = "";
|
|
7
7
|
if (typeof e == "string" || typeof e == "number") t += e;
|
|
8
8
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
9
|
-
var
|
|
10
|
-
for (o = 0; o <
|
|
9
|
+
var n = e.length;
|
|
10
|
+
for (o = 0; o < n; o++) e[o] && (r = Se(e[o])) && (t && (t += " "), t += r);
|
|
11
11
|
} else for (r in e) e[r] && (t && (t += " "), t += r);
|
|
12
12
|
return t;
|
|
13
13
|
}
|
|
14
14
|
function qe() {
|
|
15
|
-
for (var e, o, r = 0, t = "",
|
|
15
|
+
for (var e, o, r = 0, t = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (o = Se(e)) && (t && (t += " "), t += o);
|
|
16
16
|
return t;
|
|
17
17
|
}
|
|
18
18
|
const Xe = (e, o) => {
|
|
@@ -35,36 +35,36 @@ const Xe = (e, o) => {
|
|
|
35
35
|
conflictingClassGroupModifiers: t
|
|
36
36
|
} = e;
|
|
37
37
|
return {
|
|
38
|
-
getClassGroupId: (
|
|
39
|
-
if (
|
|
40
|
-
return Ze(
|
|
41
|
-
const
|
|
42
|
-
return Ie(
|
|
38
|
+
getClassGroupId: (a) => {
|
|
39
|
+
if (a.startsWith("[") && a.endsWith("]"))
|
|
40
|
+
return Ze(a);
|
|
41
|
+
const m = a.split(ce), c = m[0] === "" && m.length > 1 ? 1 : 0;
|
|
42
|
+
return Ie(m, c, o);
|
|
43
43
|
},
|
|
44
|
-
getConflictingClassGroupIds: (
|
|
45
|
-
if (
|
|
46
|
-
const
|
|
47
|
-
return
|
|
44
|
+
getConflictingClassGroupIds: (a, m) => {
|
|
45
|
+
if (m) {
|
|
46
|
+
const c = t[a], p = r[a];
|
|
47
|
+
return c ? p ? Xe(p, c) : c : p || Ce;
|
|
48
48
|
}
|
|
49
|
-
return r[
|
|
49
|
+
return r[a] || Ce;
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
}, Ie = (e, o, r) => {
|
|
53
53
|
if (e.length - o === 0)
|
|
54
54
|
return r.classGroupId;
|
|
55
|
-
const
|
|
56
|
-
if (
|
|
57
|
-
const
|
|
58
|
-
if (
|
|
55
|
+
const n = e[o], s = r.nextPart.get(n);
|
|
56
|
+
if (s) {
|
|
57
|
+
const p = Ie(e, o + 1, s);
|
|
58
|
+
if (p) return p;
|
|
59
59
|
}
|
|
60
|
-
const
|
|
61
|
-
if (
|
|
60
|
+
const a = r.validators;
|
|
61
|
+
if (a === null)
|
|
62
62
|
return;
|
|
63
|
-
const
|
|
64
|
-
for (let
|
|
65
|
-
const
|
|
66
|
-
if (
|
|
67
|
-
return
|
|
63
|
+
const m = o === 0 ? e.join(ce) : e.slice(o).join(ce), c = a.length;
|
|
64
|
+
for (let p = 0; p < c; p++) {
|
|
65
|
+
const y = a[p];
|
|
66
|
+
if (y.validator(m))
|
|
67
|
+
return y.classGroupId;
|
|
68
68
|
}
|
|
69
69
|
}, Ze = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
70
70
|
const o = e.slice(1, -1), r = o.indexOf(":"), t = o.slice(0, r);
|
|
@@ -78,15 +78,15 @@ const Xe = (e, o) => {
|
|
|
78
78
|
}, rr = (e, o) => {
|
|
79
79
|
const r = Re();
|
|
80
80
|
for (const t in e) {
|
|
81
|
-
const
|
|
82
|
-
xe(
|
|
81
|
+
const n = e[t];
|
|
82
|
+
xe(n, r, t, o);
|
|
83
83
|
}
|
|
84
84
|
return r;
|
|
85
85
|
}, xe = (e, o, r, t) => {
|
|
86
|
-
const
|
|
87
|
-
for (let
|
|
88
|
-
const
|
|
89
|
-
tr(
|
|
86
|
+
const n = e.length;
|
|
87
|
+
for (let s = 0; s < n; s++) {
|
|
88
|
+
const a = e[s];
|
|
89
|
+
tr(a, o, r, t);
|
|
90
90
|
}
|
|
91
91
|
}, tr = (e, o, r, t) => {
|
|
92
92
|
if (typeof e == "string") {
|
|
@@ -94,32 +94,32 @@ const Xe = (e, o) => {
|
|
|
94
94
|
return;
|
|
95
95
|
}
|
|
96
96
|
if (typeof e == "function") {
|
|
97
|
-
|
|
97
|
+
nr(e, o, r, t);
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
|
-
|
|
100
|
+
sr(e, o, r, t);
|
|
101
101
|
}, or = (e, o, r) => {
|
|
102
102
|
const t = e === "" ? o : Me(o, e);
|
|
103
103
|
t.classGroupId = r;
|
|
104
|
-
},
|
|
104
|
+
}, nr = (e, o, r, t) => {
|
|
105
105
|
if (ar(e)) {
|
|
106
106
|
xe(e(t), o, r, t);
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
109
|
o.validators === null && (o.validators = []), o.validators.push(Je(r, e));
|
|
110
|
-
},
|
|
111
|
-
const
|
|
112
|
-
for (let
|
|
113
|
-
const [
|
|
114
|
-
xe(
|
|
110
|
+
}, sr = (e, o, r, t) => {
|
|
111
|
+
const n = Object.entries(e), s = n.length;
|
|
112
|
+
for (let a = 0; a < s; a++) {
|
|
113
|
+
const [m, c] = n[a];
|
|
114
|
+
xe(c, Me(o, m), r, t);
|
|
115
115
|
}
|
|
116
116
|
}, Me = (e, o) => {
|
|
117
117
|
let r = e;
|
|
118
|
-
const t = o.split(ce),
|
|
119
|
-
for (let
|
|
120
|
-
const
|
|
121
|
-
let
|
|
122
|
-
|
|
118
|
+
const t = o.split(ce), n = t.length;
|
|
119
|
+
for (let s = 0; s < n; s++) {
|
|
120
|
+
const a = t[s];
|
|
121
|
+
let m = r.nextPart.get(a);
|
|
122
|
+
m || (m = Re(), r.nextPart.set(a, m)), r = m;
|
|
123
123
|
}
|
|
124
124
|
return r;
|
|
125
125
|
}, ar = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, ir = (e) => {
|
|
@@ -131,71 +131,71 @@ const Xe = (e, o) => {
|
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
let o = 0, r = /* @__PURE__ */ Object.create(null), t = /* @__PURE__ */ Object.create(null);
|
|
134
|
-
const
|
|
135
|
-
r[
|
|
134
|
+
const n = (s, a) => {
|
|
135
|
+
r[s] = a, o++, o > e && (o = 0, t = r, r = /* @__PURE__ */ Object.create(null));
|
|
136
136
|
};
|
|
137
137
|
return {
|
|
138
|
-
get(
|
|
139
|
-
let
|
|
140
|
-
if (
|
|
141
|
-
return
|
|
142
|
-
if ((
|
|
143
|
-
return s
|
|
138
|
+
get(s) {
|
|
139
|
+
let a = r[s];
|
|
140
|
+
if (a !== void 0)
|
|
141
|
+
return a;
|
|
142
|
+
if ((a = t[s]) !== void 0)
|
|
143
|
+
return n(s, a), a;
|
|
144
144
|
},
|
|
145
|
-
set(
|
|
146
|
-
|
|
145
|
+
set(s, a) {
|
|
146
|
+
s in r ? r[s] = a : n(s, a);
|
|
147
147
|
}
|
|
148
148
|
};
|
|
149
|
-
}, he = "!",
|
|
149
|
+
}, he = "!", Ne = ":", lr = [], Pe = (e, o, r, t, n) => ({
|
|
150
150
|
modifiers: e,
|
|
151
151
|
hasImportantModifier: o,
|
|
152
152
|
baseClassName: r,
|
|
153
153
|
maybePostfixModifierPosition: t,
|
|
154
|
-
isExternal:
|
|
154
|
+
isExternal: n
|
|
155
155
|
}), cr = (e) => {
|
|
156
156
|
const {
|
|
157
157
|
prefix: o,
|
|
158
158
|
experimentalParseClassName: r
|
|
159
159
|
} = e;
|
|
160
|
-
let t = (
|
|
161
|
-
const
|
|
162
|
-
let
|
|
163
|
-
const
|
|
164
|
-
for (let
|
|
165
|
-
const
|
|
166
|
-
if (
|
|
167
|
-
if (
|
|
168
|
-
|
|
160
|
+
let t = (n) => {
|
|
161
|
+
const s = [];
|
|
162
|
+
let a = 0, m = 0, c = 0, p;
|
|
163
|
+
const y = n.length;
|
|
164
|
+
for (let P = 0; P < y; P++) {
|
|
165
|
+
const w = n[P];
|
|
166
|
+
if (a === 0 && m === 0) {
|
|
167
|
+
if (w === Ne) {
|
|
168
|
+
s.push(n.slice(c, P)), c = P + 1;
|
|
169
169
|
continue;
|
|
170
170
|
}
|
|
171
|
-
if (
|
|
172
|
-
|
|
171
|
+
if (w === "/") {
|
|
172
|
+
p = P;
|
|
173
173
|
continue;
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
|
-
|
|
176
|
+
w === "[" ? a++ : w === "]" ? a-- : w === "(" ? m++ : w === ")" && m--;
|
|
177
177
|
}
|
|
178
|
-
const
|
|
179
|
-
let
|
|
180
|
-
|
|
178
|
+
const C = s.length === 0 ? n : n.slice(c);
|
|
179
|
+
let T = C, x = !1;
|
|
180
|
+
C.endsWith(he) ? (T = C.slice(0, -1), x = !0) : (
|
|
181
181
|
/**
|
|
182
182
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
183
183
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
184
184
|
*/
|
|
185
|
-
|
|
185
|
+
C.startsWith(he) && (T = C.slice(1), x = !0)
|
|
186
186
|
);
|
|
187
|
-
const
|
|
188
|
-
return Pe(
|
|
187
|
+
const R = p && p > c ? p - c : void 0;
|
|
188
|
+
return Pe(s, x, T, R);
|
|
189
189
|
};
|
|
190
190
|
if (o) {
|
|
191
|
-
const
|
|
192
|
-
t = (
|
|
191
|
+
const n = o + Ne, s = t;
|
|
192
|
+
t = (a) => a.startsWith(n) ? s(a.slice(n.length)) : Pe(lr, !1, a, void 0, !0);
|
|
193
193
|
}
|
|
194
194
|
if (r) {
|
|
195
|
-
const
|
|
196
|
-
t = (
|
|
197
|
-
className:
|
|
198
|
-
parseClassName:
|
|
195
|
+
const n = t;
|
|
196
|
+
t = (s) => r({
|
|
197
|
+
className: s,
|
|
198
|
+
parseClassName: n
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
201
|
return t;
|
|
@@ -205,67 +205,67 @@ const Xe = (e, o) => {
|
|
|
205
205
|
o.set(r, 1e6 + t);
|
|
206
206
|
}), (r) => {
|
|
207
207
|
const t = [];
|
|
208
|
-
let
|
|
209
|
-
for (let
|
|
210
|
-
const
|
|
211
|
-
|
|
208
|
+
let n = [];
|
|
209
|
+
for (let s = 0; s < r.length; s++) {
|
|
210
|
+
const a = r[s], m = a[0] === "[", c = o.has(a);
|
|
211
|
+
m || c ? (n.length > 0 && (n.sort(), t.push(...n), n = []), t.push(a)) : n.push(a);
|
|
212
212
|
}
|
|
213
|
-
return
|
|
213
|
+
return n.length > 0 && (n.sort(), t.push(...n)), t;
|
|
214
214
|
};
|
|
215
215
|
}, mr = (e) => ({
|
|
216
216
|
cache: ir(e.cacheSize),
|
|
217
217
|
parseClassName: cr(e),
|
|
218
218
|
sortModifiers: dr(e),
|
|
219
219
|
...Qe(e)
|
|
220
|
-
}), ur = /\s+/,
|
|
220
|
+
}), ur = /\s+/, fr = (e, o) => {
|
|
221
221
|
const {
|
|
222
222
|
parseClassName: r,
|
|
223
223
|
getClassGroupId: t,
|
|
224
|
-
getConflictingClassGroupIds:
|
|
225
|
-
sortModifiers:
|
|
226
|
-
} = o,
|
|
227
|
-
let
|
|
228
|
-
for (let
|
|
229
|
-
const
|
|
230
|
-
isExternal:
|
|
231
|
-
modifiers:
|
|
224
|
+
getConflictingClassGroupIds: n,
|
|
225
|
+
sortModifiers: s
|
|
226
|
+
} = o, a = [], m = e.trim().split(ur);
|
|
227
|
+
let c = "";
|
|
228
|
+
for (let p = m.length - 1; p >= 0; p -= 1) {
|
|
229
|
+
const y = m[p], {
|
|
230
|
+
isExternal: C,
|
|
231
|
+
modifiers: T,
|
|
232
232
|
hasImportantModifier: x,
|
|
233
|
-
baseClassName:
|
|
234
|
-
maybePostfixModifierPosition:
|
|
235
|
-
} = r(
|
|
236
|
-
if (
|
|
237
|
-
|
|
233
|
+
baseClassName: R,
|
|
234
|
+
maybePostfixModifierPosition: P
|
|
235
|
+
} = r(y);
|
|
236
|
+
if (C) {
|
|
237
|
+
c = y + (c.length > 0 ? " " + c : c);
|
|
238
238
|
continue;
|
|
239
239
|
}
|
|
240
|
-
let
|
|
241
|
-
if (!
|
|
242
|
-
if (!
|
|
243
|
-
|
|
240
|
+
let w = !!P, L = t(w ? R.substring(0, P) : R);
|
|
241
|
+
if (!L) {
|
|
242
|
+
if (!w) {
|
|
243
|
+
c = y + (c.length > 0 ? " " + c : c);
|
|
244
244
|
continue;
|
|
245
245
|
}
|
|
246
|
-
if (
|
|
247
|
-
|
|
246
|
+
if (L = t(R), !L) {
|
|
247
|
+
c = y + (c.length > 0 ? " " + c : c);
|
|
248
248
|
continue;
|
|
249
249
|
}
|
|
250
|
-
|
|
250
|
+
w = !1;
|
|
251
251
|
}
|
|
252
|
-
const
|
|
253
|
-
if (
|
|
252
|
+
const I = T.length === 0 ? "" : T.length === 1 ? T[0] : s(T).join(":"), V = x ? I + he : I, z = V + L;
|
|
253
|
+
if (a.indexOf(z) > -1)
|
|
254
254
|
continue;
|
|
255
|
-
|
|
256
|
-
const
|
|
257
|
-
for (let
|
|
258
|
-
const
|
|
259
|
-
|
|
255
|
+
a.push(z);
|
|
256
|
+
const _ = n(L, w);
|
|
257
|
+
for (let G = 0; G < _.length; ++G) {
|
|
258
|
+
const k = _[G];
|
|
259
|
+
a.push(V + k);
|
|
260
260
|
}
|
|
261
|
-
|
|
261
|
+
c = y + (c.length > 0 ? " " + c : c);
|
|
262
262
|
}
|
|
263
|
-
return
|
|
264
|
-
},
|
|
265
|
-
let o = 0, r, t,
|
|
263
|
+
return c;
|
|
264
|
+
}, pr = (...e) => {
|
|
265
|
+
let o = 0, r, t, n = "";
|
|
266
266
|
for (; o < e.length; )
|
|
267
|
-
(r = e[o++]) && (t = De(r)) && (
|
|
268
|
-
return
|
|
267
|
+
(r = e[o++]) && (t = De(r)) && (n && (n += " "), n += t);
|
|
268
|
+
return n;
|
|
269
269
|
}, De = (e) => {
|
|
270
270
|
if (typeof e == "string")
|
|
271
271
|
return e;
|
|
@@ -274,34 +274,34 @@ const Xe = (e, o) => {
|
|
|
274
274
|
e[t] && (o = De(e[t])) && (r && (r += " "), r += o);
|
|
275
275
|
return r;
|
|
276
276
|
}, gr = (e, ...o) => {
|
|
277
|
-
let r, t,
|
|
278
|
-
const
|
|
279
|
-
const
|
|
280
|
-
return r = mr(
|
|
281
|
-
},
|
|
282
|
-
const
|
|
283
|
-
if (
|
|
284
|
-
return
|
|
285
|
-
const
|
|
286
|
-
return
|
|
277
|
+
let r, t, n, s;
|
|
278
|
+
const a = (c) => {
|
|
279
|
+
const p = o.reduce((y, C) => C(y), e());
|
|
280
|
+
return r = mr(p), t = r.cache.get, n = r.cache.set, s = m, m(c);
|
|
281
|
+
}, m = (c) => {
|
|
282
|
+
const p = t(c);
|
|
283
|
+
if (p)
|
|
284
|
+
return p;
|
|
285
|
+
const y = fr(c, r);
|
|
286
|
+
return n(c, y), y;
|
|
287
287
|
};
|
|
288
|
-
return
|
|
289
|
-
}, br = [],
|
|
288
|
+
return s = a, (...c) => s(pr(...c));
|
|
289
|
+
}, br = [], A = (e) => {
|
|
290
290
|
const o = (r) => r[e] || br;
|
|
291
291
|
return o.isThemeGetter = !0, o;
|
|
292
|
-
}, Te = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ee = /^\((?:(\w[\w-]*):)?(.+)\)$/i, hr = /^\d+\/\d+$/, xr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, wr = /\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$/,
|
|
292
|
+
}, Te = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ee = /^\((?:(\w[\w-]*):)?(.+)\)$/i, hr = /^\d+\/\d+$/, xr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, wr = /\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$/, yr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, kr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, vr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, X = (e) => hr.test(e), b = (e) => !!e && !Number.isNaN(Number(e)), U = (e) => !!e && Number.isInteger(Number(e)), ue = (e) => e.endsWith("%") && b(e.slice(0, -1)), $ = (e) => xr.test(e), Cr = () => !0, Nr = (e) => (
|
|
293
293
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
294
294
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
295
295
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
296
|
-
wr.test(e) && !
|
|
297
|
-
), Ge = () => !1, Pr = (e) =>
|
|
296
|
+
wr.test(e) && !yr.test(e)
|
|
297
|
+
), Ge = () => !1, Pr = (e) => kr.test(e), zr = (e) => vr.test(e), Ar = (e) => !i(e) && !l(e), Sr = (e) => J(e, Le, Ge), i = (e) => Te.test(e), Y = (e) => J(e, _e, Nr), fe = (e) => J(e, Tr, b), ze = (e) => J(e, Oe, Ge), Rr = (e) => J(e, je, zr), ie = (e) => J(e, Fe, Pr), l = (e) => Ee.test(e), Q = (e) => H(e, _e), Ir = (e) => H(e, Er), Ae = (e) => H(e, Oe), Mr = (e) => H(e, Le), Dr = (e) => H(e, je), le = (e) => H(e, Fe, !0), J = (e, o, r) => {
|
|
298
298
|
const t = Te.exec(e);
|
|
299
299
|
return t ? t[1] ? o(t[1]) : r(t[2]) : !1;
|
|
300
300
|
}, H = (e, o, r = !1) => {
|
|
301
301
|
const t = Ee.exec(e);
|
|
302
302
|
return t ? t[1] ? o(t[1]) : r : !1;
|
|
303
303
|
}, Oe = (e) => e === "position" || e === "percentage", je = (e) => e === "image" || e === "url", Le = (e) => e === "length" || e === "size" || e === "bg-size", _e = (e) => e === "length", Tr = (e) => e === "number", Er = (e) => e === "family-name", Fe = (e) => e === "shadow", Gr = () => {
|
|
304
|
-
const e =
|
|
304
|
+
const e = A("color"), o = A("font"), r = A("text"), t = A("font-weight"), n = A("tracking"), s = A("leading"), a = A("breakpoint"), m = A("container"), c = A("spacing"), p = A("radius"), y = A("shadow"), C = A("inset-shadow"), T = A("text-shadow"), x = A("drop-shadow"), R = A("blur"), P = A("perspective"), w = A("aspect"), L = A("ease"), I = A("animate"), V = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], z = () => [
|
|
305
305
|
"center",
|
|
306
306
|
"top",
|
|
307
307
|
"bottom",
|
|
@@ -319,30 +319,30 @@ const Xe = (e, o) => {
|
|
|
319
319
|
"bottom-left",
|
|
320
320
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
321
321
|
"left-bottom"
|
|
322
|
-
],
|
|
323
|
-
span: ["full", U,
|
|
324
|
-
}, U,
|
|
325
|
-
position: [
|
|
322
|
+
], _ = () => [...z(), l, i], G = () => ["auto", "hidden", "clip", "visible", "scroll"], k = () => ["auto", "contain", "none"], u = () => [l, i, c], F = () => [X, "full", "auto", ...u()], Z = () => [U, "none", "subgrid", l, i], ee = () => ["auto", {
|
|
323
|
+
span: ["full", U, l, i]
|
|
324
|
+
}, U, l, i], K = () => [U, "auto", l, i], re = () => ["auto", "min", "max", "fr", l, i], f = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], h = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], v = () => ["auto", ...u()], O = () => [X, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], d = () => [e, l, i], q = () => [...z(), Ae, ze, {
|
|
325
|
+
position: [l, i]
|
|
326
326
|
}], te = () => ["no-repeat", {
|
|
327
327
|
repeat: ["", "x", "y", "space", "round"]
|
|
328
|
-
}], we = () => ["auto", "cover", "contain", Mr,
|
|
329
|
-
size: [
|
|
330
|
-
}], de = () => [ue, Q, Y],
|
|
328
|
+
}], we = () => ["auto", "cover", "contain", Mr, Sr, {
|
|
329
|
+
size: [l, i]
|
|
330
|
+
}], de = () => [ue, Q, Y], E = () => [
|
|
331
331
|
// Deprecated since Tailwind CSS v4.0.0
|
|
332
332
|
"",
|
|
333
333
|
"none",
|
|
334
334
|
"full",
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
],
|
|
335
|
+
p,
|
|
336
|
+
l,
|
|
337
|
+
i
|
|
338
|
+
], j = () => ["", b, Q, Y], oe = () => ["solid", "dashed", "dotted", "double"], ye = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], S = () => [b, ue, Ae, ze], ke = () => [
|
|
339
339
|
// Deprecated since Tailwind CSS v4.0.0
|
|
340
340
|
"",
|
|
341
341
|
"none",
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
],
|
|
342
|
+
R,
|
|
343
|
+
l,
|
|
344
|
+
i
|
|
345
|
+
], ne = () => ["none", b, l, i], se = () => ["none", b, l, i], me = () => [b, l, i], ae = () => [X, "full", ...u()];
|
|
346
346
|
return {
|
|
347
347
|
cacheSize: 500,
|
|
348
348
|
theme: {
|
|
@@ -354,14 +354,14 @@ const Xe = (e, o) => {
|
|
|
354
354
|
container: [$],
|
|
355
355
|
"drop-shadow": [$],
|
|
356
356
|
ease: ["in", "out", "in-out"],
|
|
357
|
-
font: [
|
|
357
|
+
font: [Ar],
|
|
358
358
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
359
359
|
"inset-shadow": [$],
|
|
360
360
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
361
361
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
362
362
|
radius: [$],
|
|
363
363
|
shadow: [$],
|
|
364
|
-
spacing: ["px",
|
|
364
|
+
spacing: ["px", b],
|
|
365
365
|
text: [$],
|
|
366
366
|
"text-shadow": [$],
|
|
367
367
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -375,7 +375,7 @@ const Xe = (e, o) => {
|
|
|
375
375
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
376
376
|
*/
|
|
377
377
|
aspect: [{
|
|
378
|
-
aspect: ["auto", "square", X,
|
|
378
|
+
aspect: ["auto", "square", X, i, l, w]
|
|
379
379
|
}],
|
|
380
380
|
/**
|
|
381
381
|
* Container
|
|
@@ -388,21 +388,21 @@ const Xe = (e, o) => {
|
|
|
388
388
|
* @see https://tailwindcss.com/docs/columns
|
|
389
389
|
*/
|
|
390
390
|
columns: [{
|
|
391
|
-
columns: [
|
|
391
|
+
columns: [b, i, l, m]
|
|
392
392
|
}],
|
|
393
393
|
/**
|
|
394
394
|
* Break After
|
|
395
395
|
* @see https://tailwindcss.com/docs/break-after
|
|
396
396
|
*/
|
|
397
397
|
"break-after": [{
|
|
398
|
-
"break-after":
|
|
398
|
+
"break-after": V()
|
|
399
399
|
}],
|
|
400
400
|
/**
|
|
401
401
|
* Break Before
|
|
402
402
|
* @see https://tailwindcss.com/docs/break-before
|
|
403
403
|
*/
|
|
404
404
|
"break-before": [{
|
|
405
|
-
"break-before":
|
|
405
|
+
"break-before": V()
|
|
406
406
|
}],
|
|
407
407
|
/**
|
|
408
408
|
* Break Inside
|
|
@@ -466,49 +466,49 @@ const Xe = (e, o) => {
|
|
|
466
466
|
* @see https://tailwindcss.com/docs/object-position
|
|
467
467
|
*/
|
|
468
468
|
"object-position": [{
|
|
469
|
-
object:
|
|
469
|
+
object: _()
|
|
470
470
|
}],
|
|
471
471
|
/**
|
|
472
472
|
* Overflow
|
|
473
473
|
* @see https://tailwindcss.com/docs/overflow
|
|
474
474
|
*/
|
|
475
475
|
overflow: [{
|
|
476
|
-
overflow:
|
|
476
|
+
overflow: G()
|
|
477
477
|
}],
|
|
478
478
|
/**
|
|
479
479
|
* Overflow X
|
|
480
480
|
* @see https://tailwindcss.com/docs/overflow
|
|
481
481
|
*/
|
|
482
482
|
"overflow-x": [{
|
|
483
|
-
"overflow-x":
|
|
483
|
+
"overflow-x": G()
|
|
484
484
|
}],
|
|
485
485
|
/**
|
|
486
486
|
* Overflow Y
|
|
487
487
|
* @see https://tailwindcss.com/docs/overflow
|
|
488
488
|
*/
|
|
489
489
|
"overflow-y": [{
|
|
490
|
-
"overflow-y":
|
|
490
|
+
"overflow-y": G()
|
|
491
491
|
}],
|
|
492
492
|
/**
|
|
493
493
|
* Overscroll Behavior
|
|
494
494
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
495
495
|
*/
|
|
496
496
|
overscroll: [{
|
|
497
|
-
overscroll:
|
|
497
|
+
overscroll: k()
|
|
498
498
|
}],
|
|
499
499
|
/**
|
|
500
500
|
* Overscroll Behavior X
|
|
501
501
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
502
502
|
*/
|
|
503
503
|
"overscroll-x": [{
|
|
504
|
-
"overscroll-x":
|
|
504
|
+
"overscroll-x": k()
|
|
505
505
|
}],
|
|
506
506
|
/**
|
|
507
507
|
* Overscroll Behavior Y
|
|
508
508
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
509
509
|
*/
|
|
510
510
|
"overscroll-y": [{
|
|
511
|
-
"overscroll-y":
|
|
511
|
+
"overscroll-y": k()
|
|
512
512
|
}],
|
|
513
513
|
/**
|
|
514
514
|
* Position
|
|
@@ -520,63 +520,63 @@ const Xe = (e, o) => {
|
|
|
520
520
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
521
521
|
*/
|
|
522
522
|
inset: [{
|
|
523
|
-
inset:
|
|
523
|
+
inset: F()
|
|
524
524
|
}],
|
|
525
525
|
/**
|
|
526
526
|
* Right / Left
|
|
527
527
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
528
528
|
*/
|
|
529
529
|
"inset-x": [{
|
|
530
|
-
"inset-x":
|
|
530
|
+
"inset-x": F()
|
|
531
531
|
}],
|
|
532
532
|
/**
|
|
533
533
|
* Top / Bottom
|
|
534
534
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
535
535
|
*/
|
|
536
536
|
"inset-y": [{
|
|
537
|
-
"inset-y":
|
|
537
|
+
"inset-y": F()
|
|
538
538
|
}],
|
|
539
539
|
/**
|
|
540
540
|
* Start
|
|
541
541
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
542
542
|
*/
|
|
543
543
|
start: [{
|
|
544
|
-
start:
|
|
544
|
+
start: F()
|
|
545
545
|
}],
|
|
546
546
|
/**
|
|
547
547
|
* End
|
|
548
548
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
549
549
|
*/
|
|
550
550
|
end: [{
|
|
551
|
-
end:
|
|
551
|
+
end: F()
|
|
552
552
|
}],
|
|
553
553
|
/**
|
|
554
554
|
* Top
|
|
555
555
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
556
556
|
*/
|
|
557
557
|
top: [{
|
|
558
|
-
top:
|
|
558
|
+
top: F()
|
|
559
559
|
}],
|
|
560
560
|
/**
|
|
561
561
|
* Right
|
|
562
562
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
563
563
|
*/
|
|
564
564
|
right: [{
|
|
565
|
-
right:
|
|
565
|
+
right: F()
|
|
566
566
|
}],
|
|
567
567
|
/**
|
|
568
568
|
* Bottom
|
|
569
569
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
570
570
|
*/
|
|
571
571
|
bottom: [{
|
|
572
|
-
bottom:
|
|
572
|
+
bottom: F()
|
|
573
573
|
}],
|
|
574
574
|
/**
|
|
575
575
|
* Left
|
|
576
576
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
577
577
|
*/
|
|
578
578
|
left: [{
|
|
579
|
-
left:
|
|
579
|
+
left: F()
|
|
580
580
|
}],
|
|
581
581
|
/**
|
|
582
582
|
* Visibility
|
|
@@ -588,7 +588,7 @@ const Xe = (e, o) => {
|
|
|
588
588
|
* @see https://tailwindcss.com/docs/z-index
|
|
589
589
|
*/
|
|
590
590
|
z: [{
|
|
591
|
-
z: [U, "auto",
|
|
591
|
+
z: [U, "auto", l, i]
|
|
592
592
|
}],
|
|
593
593
|
// ------------------------
|
|
594
594
|
// --- Flexbox and Grid ---
|
|
@@ -598,7 +598,7 @@ const Xe = (e, o) => {
|
|
|
598
598
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
599
599
|
*/
|
|
600
600
|
basis: [{
|
|
601
|
-
basis: [X, "full", "auto",
|
|
601
|
+
basis: [X, "full", "auto", m, ...u()]
|
|
602
602
|
}],
|
|
603
603
|
/**
|
|
604
604
|
* Flex Direction
|
|
@@ -619,28 +619,28 @@ const Xe = (e, o) => {
|
|
|
619
619
|
* @see https://tailwindcss.com/docs/flex
|
|
620
620
|
*/
|
|
621
621
|
flex: [{
|
|
622
|
-
flex: [
|
|
622
|
+
flex: [b, X, "auto", "initial", "none", i]
|
|
623
623
|
}],
|
|
624
624
|
/**
|
|
625
625
|
* Flex Grow
|
|
626
626
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
627
627
|
*/
|
|
628
628
|
grow: [{
|
|
629
|
-
grow: ["",
|
|
629
|
+
grow: ["", b, l, i]
|
|
630
630
|
}],
|
|
631
631
|
/**
|
|
632
632
|
* Flex Shrink
|
|
633
633
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
634
634
|
*/
|
|
635
635
|
shrink: [{
|
|
636
|
-
shrink: ["",
|
|
636
|
+
shrink: ["", b, l, i]
|
|
637
637
|
}],
|
|
638
638
|
/**
|
|
639
639
|
* Order
|
|
640
640
|
* @see https://tailwindcss.com/docs/order
|
|
641
641
|
*/
|
|
642
642
|
order: [{
|
|
643
|
-
order: [U, "first", "last", "none",
|
|
643
|
+
order: [U, "first", "last", "none", l, i]
|
|
644
644
|
}],
|
|
645
645
|
/**
|
|
646
646
|
* Grid Template Columns
|
|
@@ -724,56 +724,56 @@ const Xe = (e, o) => {
|
|
|
724
724
|
* @see https://tailwindcss.com/docs/gap
|
|
725
725
|
*/
|
|
726
726
|
gap: [{
|
|
727
|
-
gap:
|
|
727
|
+
gap: u()
|
|
728
728
|
}],
|
|
729
729
|
/**
|
|
730
730
|
* Gap X
|
|
731
731
|
* @see https://tailwindcss.com/docs/gap
|
|
732
732
|
*/
|
|
733
733
|
"gap-x": [{
|
|
734
|
-
"gap-x":
|
|
734
|
+
"gap-x": u()
|
|
735
735
|
}],
|
|
736
736
|
/**
|
|
737
737
|
* Gap Y
|
|
738
738
|
* @see https://tailwindcss.com/docs/gap
|
|
739
739
|
*/
|
|
740
740
|
"gap-y": [{
|
|
741
|
-
"gap-y":
|
|
741
|
+
"gap-y": u()
|
|
742
742
|
}],
|
|
743
743
|
/**
|
|
744
744
|
* Justify Content
|
|
745
745
|
* @see https://tailwindcss.com/docs/justify-content
|
|
746
746
|
*/
|
|
747
747
|
"justify-content": [{
|
|
748
|
-
justify: [...
|
|
748
|
+
justify: [...f(), "normal"]
|
|
749
749
|
}],
|
|
750
750
|
/**
|
|
751
751
|
* Justify Items
|
|
752
752
|
* @see https://tailwindcss.com/docs/justify-items
|
|
753
753
|
*/
|
|
754
754
|
"justify-items": [{
|
|
755
|
-
"justify-items": [...
|
|
755
|
+
"justify-items": [...h(), "normal"]
|
|
756
756
|
}],
|
|
757
757
|
/**
|
|
758
758
|
* Justify Self
|
|
759
759
|
* @see https://tailwindcss.com/docs/justify-self
|
|
760
760
|
*/
|
|
761
761
|
"justify-self": [{
|
|
762
|
-
"justify-self": ["auto", ...
|
|
762
|
+
"justify-self": ["auto", ...h()]
|
|
763
763
|
}],
|
|
764
764
|
/**
|
|
765
765
|
* Align Content
|
|
766
766
|
* @see https://tailwindcss.com/docs/align-content
|
|
767
767
|
*/
|
|
768
768
|
"align-content": [{
|
|
769
|
-
content: ["normal", ...
|
|
769
|
+
content: ["normal", ...f()]
|
|
770
770
|
}],
|
|
771
771
|
/**
|
|
772
772
|
* Align Items
|
|
773
773
|
* @see https://tailwindcss.com/docs/align-items
|
|
774
774
|
*/
|
|
775
775
|
"align-items": [{
|
|
776
|
-
items: [...
|
|
776
|
+
items: [...h(), {
|
|
777
777
|
baseline: ["", "last"]
|
|
778
778
|
}]
|
|
779
779
|
}],
|
|
@@ -782,7 +782,7 @@ const Xe = (e, o) => {
|
|
|
782
782
|
* @see https://tailwindcss.com/docs/align-self
|
|
783
783
|
*/
|
|
784
784
|
"align-self": [{
|
|
785
|
-
self: ["auto", ...
|
|
785
|
+
self: ["auto", ...h(), {
|
|
786
786
|
baseline: ["", "last"]
|
|
787
787
|
}]
|
|
788
788
|
}],
|
|
@@ -791,21 +791,21 @@ const Xe = (e, o) => {
|
|
|
791
791
|
* @see https://tailwindcss.com/docs/place-content
|
|
792
792
|
*/
|
|
793
793
|
"place-content": [{
|
|
794
|
-
"place-content":
|
|
794
|
+
"place-content": f()
|
|
795
795
|
}],
|
|
796
796
|
/**
|
|
797
797
|
* Place Items
|
|
798
798
|
* @see https://tailwindcss.com/docs/place-items
|
|
799
799
|
*/
|
|
800
800
|
"place-items": [{
|
|
801
|
-
"place-items": [...
|
|
801
|
+
"place-items": [...h(), "baseline"]
|
|
802
802
|
}],
|
|
803
803
|
/**
|
|
804
804
|
* Place Self
|
|
805
805
|
* @see https://tailwindcss.com/docs/place-self
|
|
806
806
|
*/
|
|
807
807
|
"place-self": [{
|
|
808
|
-
"place-self": ["auto", ...
|
|
808
|
+
"place-self": ["auto", ...h()]
|
|
809
809
|
}],
|
|
810
810
|
// Spacing
|
|
811
811
|
/**
|
|
@@ -813,133 +813,133 @@ const Xe = (e, o) => {
|
|
|
813
813
|
* @see https://tailwindcss.com/docs/padding
|
|
814
814
|
*/
|
|
815
815
|
p: [{
|
|
816
|
-
p:
|
|
816
|
+
p: u()
|
|
817
817
|
}],
|
|
818
818
|
/**
|
|
819
819
|
* Padding X
|
|
820
820
|
* @see https://tailwindcss.com/docs/padding
|
|
821
821
|
*/
|
|
822
822
|
px: [{
|
|
823
|
-
px:
|
|
823
|
+
px: u()
|
|
824
824
|
}],
|
|
825
825
|
/**
|
|
826
826
|
* Padding Y
|
|
827
827
|
* @see https://tailwindcss.com/docs/padding
|
|
828
828
|
*/
|
|
829
829
|
py: [{
|
|
830
|
-
py:
|
|
830
|
+
py: u()
|
|
831
831
|
}],
|
|
832
832
|
/**
|
|
833
833
|
* Padding Start
|
|
834
834
|
* @see https://tailwindcss.com/docs/padding
|
|
835
835
|
*/
|
|
836
836
|
ps: [{
|
|
837
|
-
ps:
|
|
837
|
+
ps: u()
|
|
838
838
|
}],
|
|
839
839
|
/**
|
|
840
840
|
* Padding End
|
|
841
841
|
* @see https://tailwindcss.com/docs/padding
|
|
842
842
|
*/
|
|
843
843
|
pe: [{
|
|
844
|
-
pe:
|
|
844
|
+
pe: u()
|
|
845
845
|
}],
|
|
846
846
|
/**
|
|
847
847
|
* Padding Top
|
|
848
848
|
* @see https://tailwindcss.com/docs/padding
|
|
849
849
|
*/
|
|
850
850
|
pt: [{
|
|
851
|
-
pt:
|
|
851
|
+
pt: u()
|
|
852
852
|
}],
|
|
853
853
|
/**
|
|
854
854
|
* Padding Right
|
|
855
855
|
* @see https://tailwindcss.com/docs/padding
|
|
856
856
|
*/
|
|
857
857
|
pr: [{
|
|
858
|
-
pr:
|
|
858
|
+
pr: u()
|
|
859
859
|
}],
|
|
860
860
|
/**
|
|
861
861
|
* Padding Bottom
|
|
862
862
|
* @see https://tailwindcss.com/docs/padding
|
|
863
863
|
*/
|
|
864
864
|
pb: [{
|
|
865
|
-
pb:
|
|
865
|
+
pb: u()
|
|
866
866
|
}],
|
|
867
867
|
/**
|
|
868
868
|
* Padding Left
|
|
869
869
|
* @see https://tailwindcss.com/docs/padding
|
|
870
870
|
*/
|
|
871
871
|
pl: [{
|
|
872
|
-
pl:
|
|
872
|
+
pl: u()
|
|
873
873
|
}],
|
|
874
874
|
/**
|
|
875
875
|
* Margin
|
|
876
876
|
* @see https://tailwindcss.com/docs/margin
|
|
877
877
|
*/
|
|
878
878
|
m: [{
|
|
879
|
-
m:
|
|
879
|
+
m: v()
|
|
880
880
|
}],
|
|
881
881
|
/**
|
|
882
882
|
* Margin X
|
|
883
883
|
* @see https://tailwindcss.com/docs/margin
|
|
884
884
|
*/
|
|
885
885
|
mx: [{
|
|
886
|
-
mx:
|
|
886
|
+
mx: v()
|
|
887
887
|
}],
|
|
888
888
|
/**
|
|
889
889
|
* Margin Y
|
|
890
890
|
* @see https://tailwindcss.com/docs/margin
|
|
891
891
|
*/
|
|
892
892
|
my: [{
|
|
893
|
-
my:
|
|
893
|
+
my: v()
|
|
894
894
|
}],
|
|
895
895
|
/**
|
|
896
896
|
* Margin Start
|
|
897
897
|
* @see https://tailwindcss.com/docs/margin
|
|
898
898
|
*/
|
|
899
899
|
ms: [{
|
|
900
|
-
ms:
|
|
900
|
+
ms: v()
|
|
901
901
|
}],
|
|
902
902
|
/**
|
|
903
903
|
* Margin End
|
|
904
904
|
* @see https://tailwindcss.com/docs/margin
|
|
905
905
|
*/
|
|
906
906
|
me: [{
|
|
907
|
-
me:
|
|
907
|
+
me: v()
|
|
908
908
|
}],
|
|
909
909
|
/**
|
|
910
910
|
* Margin Top
|
|
911
911
|
* @see https://tailwindcss.com/docs/margin
|
|
912
912
|
*/
|
|
913
913
|
mt: [{
|
|
914
|
-
mt:
|
|
914
|
+
mt: v()
|
|
915
915
|
}],
|
|
916
916
|
/**
|
|
917
917
|
* Margin Right
|
|
918
918
|
* @see https://tailwindcss.com/docs/margin
|
|
919
919
|
*/
|
|
920
920
|
mr: [{
|
|
921
|
-
mr:
|
|
921
|
+
mr: v()
|
|
922
922
|
}],
|
|
923
923
|
/**
|
|
924
924
|
* Margin Bottom
|
|
925
925
|
* @see https://tailwindcss.com/docs/margin
|
|
926
926
|
*/
|
|
927
927
|
mb: [{
|
|
928
|
-
mb:
|
|
928
|
+
mb: v()
|
|
929
929
|
}],
|
|
930
930
|
/**
|
|
931
931
|
* Margin Left
|
|
932
932
|
* @see https://tailwindcss.com/docs/margin
|
|
933
933
|
*/
|
|
934
934
|
ml: [{
|
|
935
|
-
ml:
|
|
935
|
+
ml: v()
|
|
936
936
|
}],
|
|
937
937
|
/**
|
|
938
938
|
* Space Between X
|
|
939
939
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
940
940
|
*/
|
|
941
941
|
"space-x": [{
|
|
942
|
-
"space-x":
|
|
942
|
+
"space-x": u()
|
|
943
943
|
}],
|
|
944
944
|
/**
|
|
945
945
|
* Space Between X Reverse
|
|
@@ -951,7 +951,7 @@ const Xe = (e, o) => {
|
|
|
951
951
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
952
952
|
*/
|
|
953
953
|
"space-y": [{
|
|
954
|
-
"space-y":
|
|
954
|
+
"space-y": u()
|
|
955
955
|
}],
|
|
956
956
|
/**
|
|
957
957
|
* Space Between Y Reverse
|
|
@@ -966,14 +966,14 @@ const Xe = (e, o) => {
|
|
|
966
966
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
967
967
|
*/
|
|
968
968
|
size: [{
|
|
969
|
-
size:
|
|
969
|
+
size: O()
|
|
970
970
|
}],
|
|
971
971
|
/**
|
|
972
972
|
* Width
|
|
973
973
|
* @see https://tailwindcss.com/docs/width
|
|
974
974
|
*/
|
|
975
975
|
w: [{
|
|
976
|
-
w: [
|
|
976
|
+
w: [m, "screen", ...O()]
|
|
977
977
|
}],
|
|
978
978
|
/**
|
|
979
979
|
* Min-Width
|
|
@@ -981,11 +981,11 @@ const Xe = (e, o) => {
|
|
|
981
981
|
*/
|
|
982
982
|
"min-w": [{
|
|
983
983
|
"min-w": [
|
|
984
|
-
|
|
984
|
+
m,
|
|
985
985
|
"screen",
|
|
986
986
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
987
987
|
"none",
|
|
988
|
-
...
|
|
988
|
+
...O()
|
|
989
989
|
]
|
|
990
990
|
}],
|
|
991
991
|
/**
|
|
@@ -994,16 +994,16 @@ const Xe = (e, o) => {
|
|
|
994
994
|
*/
|
|
995
995
|
"max-w": [{
|
|
996
996
|
"max-w": [
|
|
997
|
-
|
|
997
|
+
m,
|
|
998
998
|
"screen",
|
|
999
999
|
"none",
|
|
1000
1000
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1001
1001
|
"prose",
|
|
1002
1002
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1003
1003
|
{
|
|
1004
|
-
screen: [
|
|
1004
|
+
screen: [a]
|
|
1005
1005
|
},
|
|
1006
|
-
...
|
|
1006
|
+
...O()
|
|
1007
1007
|
]
|
|
1008
1008
|
}],
|
|
1009
1009
|
/**
|
|
@@ -1011,21 +1011,21 @@ const Xe = (e, o) => {
|
|
|
1011
1011
|
* @see https://tailwindcss.com/docs/height
|
|
1012
1012
|
*/
|
|
1013
1013
|
h: [{
|
|
1014
|
-
h: ["screen", "lh", ...
|
|
1014
|
+
h: ["screen", "lh", ...O()]
|
|
1015
1015
|
}],
|
|
1016
1016
|
/**
|
|
1017
1017
|
* Min-Height
|
|
1018
1018
|
* @see https://tailwindcss.com/docs/min-height
|
|
1019
1019
|
*/
|
|
1020
1020
|
"min-h": [{
|
|
1021
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1021
|
+
"min-h": ["screen", "lh", "none", ...O()]
|
|
1022
1022
|
}],
|
|
1023
1023
|
/**
|
|
1024
1024
|
* Max-Height
|
|
1025
1025
|
* @see https://tailwindcss.com/docs/max-height
|
|
1026
1026
|
*/
|
|
1027
1027
|
"max-h": [{
|
|
1028
|
-
"max-h": ["screen", "lh", ...
|
|
1028
|
+
"max-h": ["screen", "lh", ...O()]
|
|
1029
1029
|
}],
|
|
1030
1030
|
// ------------------
|
|
1031
1031
|
// --- Typography ---
|
|
@@ -1052,21 +1052,21 @@ const Xe = (e, o) => {
|
|
|
1052
1052
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1053
1053
|
*/
|
|
1054
1054
|
"font-weight": [{
|
|
1055
|
-
font: [t,
|
|
1055
|
+
font: [t, l, fe]
|
|
1056
1056
|
}],
|
|
1057
1057
|
/**
|
|
1058
1058
|
* Font Stretch
|
|
1059
1059
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1060
1060
|
*/
|
|
1061
1061
|
"font-stretch": [{
|
|
1062
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ue,
|
|
1062
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ue, i]
|
|
1063
1063
|
}],
|
|
1064
1064
|
/**
|
|
1065
1065
|
* Font Family
|
|
1066
1066
|
* @see https://tailwindcss.com/docs/font-family
|
|
1067
1067
|
*/
|
|
1068
1068
|
"font-family": [{
|
|
1069
|
-
font: [Ir,
|
|
1069
|
+
font: [Ir, i, o]
|
|
1070
1070
|
}],
|
|
1071
1071
|
/**
|
|
1072
1072
|
* Font Variant Numeric
|
|
@@ -1103,14 +1103,14 @@ const Xe = (e, o) => {
|
|
|
1103
1103
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1104
1104
|
*/
|
|
1105
1105
|
tracking: [{
|
|
1106
|
-
tracking: [
|
|
1106
|
+
tracking: [n, l, i]
|
|
1107
1107
|
}],
|
|
1108
1108
|
/**
|
|
1109
1109
|
* Line Clamp
|
|
1110
1110
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1111
1111
|
*/
|
|
1112
1112
|
"line-clamp": [{
|
|
1113
|
-
"line-clamp": [
|
|
1113
|
+
"line-clamp": [b, "none", l, fe]
|
|
1114
1114
|
}],
|
|
1115
1115
|
/**
|
|
1116
1116
|
* Line Height
|
|
@@ -1119,8 +1119,8 @@ const Xe = (e, o) => {
|
|
|
1119
1119
|
leading: [{
|
|
1120
1120
|
leading: [
|
|
1121
1121
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1122
|
-
|
|
1123
|
-
...
|
|
1122
|
+
s,
|
|
1123
|
+
...u()
|
|
1124
1124
|
]
|
|
1125
1125
|
}],
|
|
1126
1126
|
/**
|
|
@@ -1128,7 +1128,7 @@ const Xe = (e, o) => {
|
|
|
1128
1128
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1129
1129
|
*/
|
|
1130
1130
|
"list-image": [{
|
|
1131
|
-
"list-image": ["none",
|
|
1131
|
+
"list-image": ["none", l, i]
|
|
1132
1132
|
}],
|
|
1133
1133
|
/**
|
|
1134
1134
|
* List Style Position
|
|
@@ -1142,7 +1142,7 @@ const Xe = (e, o) => {
|
|
|
1142
1142
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1143
1143
|
*/
|
|
1144
1144
|
"list-style-type": [{
|
|
1145
|
-
list: ["disc", "decimal", "none",
|
|
1145
|
+
list: ["disc", "decimal", "none", l, i]
|
|
1146
1146
|
}],
|
|
1147
1147
|
/**
|
|
1148
1148
|
* Text Alignment
|
|
@@ -1157,14 +1157,14 @@ const Xe = (e, o) => {
|
|
|
1157
1157
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1158
1158
|
*/
|
|
1159
1159
|
"placeholder-color": [{
|
|
1160
|
-
placeholder:
|
|
1160
|
+
placeholder: d()
|
|
1161
1161
|
}],
|
|
1162
1162
|
/**
|
|
1163
1163
|
* Text Color
|
|
1164
1164
|
* @see https://tailwindcss.com/docs/text-color
|
|
1165
1165
|
*/
|
|
1166
1166
|
"text-color": [{
|
|
1167
|
-
text:
|
|
1167
|
+
text: d()
|
|
1168
1168
|
}],
|
|
1169
1169
|
/**
|
|
1170
1170
|
* Text Decoration
|
|
@@ -1183,21 +1183,21 @@ const Xe = (e, o) => {
|
|
|
1183
1183
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1184
1184
|
*/
|
|
1185
1185
|
"text-decoration-thickness": [{
|
|
1186
|
-
decoration: [
|
|
1186
|
+
decoration: [b, "from-font", "auto", l, Y]
|
|
1187
1187
|
}],
|
|
1188
1188
|
/**
|
|
1189
1189
|
* Text Decoration Color
|
|
1190
1190
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1191
1191
|
*/
|
|
1192
1192
|
"text-decoration-color": [{
|
|
1193
|
-
decoration:
|
|
1193
|
+
decoration: d()
|
|
1194
1194
|
}],
|
|
1195
1195
|
/**
|
|
1196
1196
|
* Text Underline Offset
|
|
1197
1197
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1198
1198
|
*/
|
|
1199
1199
|
"underline-offset": [{
|
|
1200
|
-
"underline-offset": [
|
|
1200
|
+
"underline-offset": [b, "auto", l, i]
|
|
1201
1201
|
}],
|
|
1202
1202
|
/**
|
|
1203
1203
|
* Text Transform
|
|
@@ -1221,14 +1221,14 @@ const Xe = (e, o) => {
|
|
|
1221
1221
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1222
1222
|
*/
|
|
1223
1223
|
indent: [{
|
|
1224
|
-
indent:
|
|
1224
|
+
indent: u()
|
|
1225
1225
|
}],
|
|
1226
1226
|
/**
|
|
1227
1227
|
* Vertical Alignment
|
|
1228
1228
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1229
1229
|
*/
|
|
1230
1230
|
"vertical-align": [{
|
|
1231
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1231
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", l, i]
|
|
1232
1232
|
}],
|
|
1233
1233
|
/**
|
|
1234
1234
|
* Whitespace
|
|
@@ -1263,7 +1263,7 @@ const Xe = (e, o) => {
|
|
|
1263
1263
|
* @see https://tailwindcss.com/docs/content
|
|
1264
1264
|
*/
|
|
1265
1265
|
content: [{
|
|
1266
|
-
content: ["none",
|
|
1266
|
+
content: ["none", l, i]
|
|
1267
1267
|
}],
|
|
1268
1268
|
// -------------------
|
|
1269
1269
|
// --- Backgrounds ---
|
|
@@ -1318,9 +1318,9 @@ const Xe = (e, o) => {
|
|
|
1318
1318
|
bg: ["none", {
|
|
1319
1319
|
linear: [{
|
|
1320
1320
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1321
|
-
}, U,
|
|
1322
|
-
radial: ["",
|
|
1323
|
-
conic: [U,
|
|
1321
|
+
}, U, l, i],
|
|
1322
|
+
radial: ["", l, i],
|
|
1323
|
+
conic: [U, l, i]
|
|
1324
1324
|
}, Dr, Rr]
|
|
1325
1325
|
}],
|
|
1326
1326
|
/**
|
|
@@ -1328,7 +1328,7 @@ const Xe = (e, o) => {
|
|
|
1328
1328
|
* @see https://tailwindcss.com/docs/background-color
|
|
1329
1329
|
*/
|
|
1330
1330
|
"bg-color": [{
|
|
1331
|
-
bg:
|
|
1331
|
+
bg: d()
|
|
1332
1332
|
}],
|
|
1333
1333
|
/**
|
|
1334
1334
|
* Gradient Color Stops From Position
|
|
@@ -1356,21 +1356,21 @@ const Xe = (e, o) => {
|
|
|
1356
1356
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1357
1357
|
*/
|
|
1358
1358
|
"gradient-from": [{
|
|
1359
|
-
from:
|
|
1359
|
+
from: d()
|
|
1360
1360
|
}],
|
|
1361
1361
|
/**
|
|
1362
1362
|
* Gradient Color Stops Via
|
|
1363
1363
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1364
1364
|
*/
|
|
1365
1365
|
"gradient-via": [{
|
|
1366
|
-
via:
|
|
1366
|
+
via: d()
|
|
1367
1367
|
}],
|
|
1368
1368
|
/**
|
|
1369
1369
|
* Gradient Color Stops To
|
|
1370
1370
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1371
1371
|
*/
|
|
1372
1372
|
"gradient-to": [{
|
|
1373
|
-
to:
|
|
1373
|
+
to: d()
|
|
1374
1374
|
}],
|
|
1375
1375
|
// ---------------
|
|
1376
1376
|
// --- Borders ---
|
|
@@ -1380,175 +1380,175 @@ const Xe = (e, o) => {
|
|
|
1380
1380
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1381
1381
|
*/
|
|
1382
1382
|
rounded: [{
|
|
1383
|
-
rounded:
|
|
1383
|
+
rounded: E()
|
|
1384
1384
|
}],
|
|
1385
1385
|
/**
|
|
1386
1386
|
* Border Radius Start
|
|
1387
1387
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1388
1388
|
*/
|
|
1389
1389
|
"rounded-s": [{
|
|
1390
|
-
"rounded-s":
|
|
1390
|
+
"rounded-s": E()
|
|
1391
1391
|
}],
|
|
1392
1392
|
/**
|
|
1393
1393
|
* Border Radius End
|
|
1394
1394
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1395
1395
|
*/
|
|
1396
1396
|
"rounded-e": [{
|
|
1397
|
-
"rounded-e":
|
|
1397
|
+
"rounded-e": E()
|
|
1398
1398
|
}],
|
|
1399
1399
|
/**
|
|
1400
1400
|
* Border Radius Top
|
|
1401
1401
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1402
1402
|
*/
|
|
1403
1403
|
"rounded-t": [{
|
|
1404
|
-
"rounded-t":
|
|
1404
|
+
"rounded-t": E()
|
|
1405
1405
|
}],
|
|
1406
1406
|
/**
|
|
1407
1407
|
* Border Radius Right
|
|
1408
1408
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1409
1409
|
*/
|
|
1410
1410
|
"rounded-r": [{
|
|
1411
|
-
"rounded-r":
|
|
1411
|
+
"rounded-r": E()
|
|
1412
1412
|
}],
|
|
1413
1413
|
/**
|
|
1414
1414
|
* Border Radius Bottom
|
|
1415
1415
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1416
1416
|
*/
|
|
1417
1417
|
"rounded-b": [{
|
|
1418
|
-
"rounded-b":
|
|
1418
|
+
"rounded-b": E()
|
|
1419
1419
|
}],
|
|
1420
1420
|
/**
|
|
1421
1421
|
* Border Radius Left
|
|
1422
1422
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1423
1423
|
*/
|
|
1424
1424
|
"rounded-l": [{
|
|
1425
|
-
"rounded-l":
|
|
1425
|
+
"rounded-l": E()
|
|
1426
1426
|
}],
|
|
1427
1427
|
/**
|
|
1428
1428
|
* Border Radius Start Start
|
|
1429
1429
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1430
1430
|
*/
|
|
1431
1431
|
"rounded-ss": [{
|
|
1432
|
-
"rounded-ss":
|
|
1432
|
+
"rounded-ss": E()
|
|
1433
1433
|
}],
|
|
1434
1434
|
/**
|
|
1435
1435
|
* Border Radius Start End
|
|
1436
1436
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1437
1437
|
*/
|
|
1438
1438
|
"rounded-se": [{
|
|
1439
|
-
"rounded-se":
|
|
1439
|
+
"rounded-se": E()
|
|
1440
1440
|
}],
|
|
1441
1441
|
/**
|
|
1442
1442
|
* Border Radius End End
|
|
1443
1443
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1444
1444
|
*/
|
|
1445
1445
|
"rounded-ee": [{
|
|
1446
|
-
"rounded-ee":
|
|
1446
|
+
"rounded-ee": E()
|
|
1447
1447
|
}],
|
|
1448
1448
|
/**
|
|
1449
1449
|
* Border Radius End Start
|
|
1450
1450
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1451
1451
|
*/
|
|
1452
1452
|
"rounded-es": [{
|
|
1453
|
-
"rounded-es":
|
|
1453
|
+
"rounded-es": E()
|
|
1454
1454
|
}],
|
|
1455
1455
|
/**
|
|
1456
1456
|
* Border Radius Top Left
|
|
1457
1457
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1458
1458
|
*/
|
|
1459
1459
|
"rounded-tl": [{
|
|
1460
|
-
"rounded-tl":
|
|
1460
|
+
"rounded-tl": E()
|
|
1461
1461
|
}],
|
|
1462
1462
|
/**
|
|
1463
1463
|
* Border Radius Top Right
|
|
1464
1464
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1465
1465
|
*/
|
|
1466
1466
|
"rounded-tr": [{
|
|
1467
|
-
"rounded-tr":
|
|
1467
|
+
"rounded-tr": E()
|
|
1468
1468
|
}],
|
|
1469
1469
|
/**
|
|
1470
1470
|
* Border Radius Bottom Right
|
|
1471
1471
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1472
1472
|
*/
|
|
1473
1473
|
"rounded-br": [{
|
|
1474
|
-
"rounded-br":
|
|
1474
|
+
"rounded-br": E()
|
|
1475
1475
|
}],
|
|
1476
1476
|
/**
|
|
1477
1477
|
* Border Radius Bottom Left
|
|
1478
1478
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1479
1479
|
*/
|
|
1480
1480
|
"rounded-bl": [{
|
|
1481
|
-
"rounded-bl":
|
|
1481
|
+
"rounded-bl": E()
|
|
1482
1482
|
}],
|
|
1483
1483
|
/**
|
|
1484
1484
|
* Border Width
|
|
1485
1485
|
* @see https://tailwindcss.com/docs/border-width
|
|
1486
1486
|
*/
|
|
1487
1487
|
"border-w": [{
|
|
1488
|
-
border:
|
|
1488
|
+
border: j()
|
|
1489
1489
|
}],
|
|
1490
1490
|
/**
|
|
1491
1491
|
* Border Width X
|
|
1492
1492
|
* @see https://tailwindcss.com/docs/border-width
|
|
1493
1493
|
*/
|
|
1494
1494
|
"border-w-x": [{
|
|
1495
|
-
"border-x":
|
|
1495
|
+
"border-x": j()
|
|
1496
1496
|
}],
|
|
1497
1497
|
/**
|
|
1498
1498
|
* Border Width Y
|
|
1499
1499
|
* @see https://tailwindcss.com/docs/border-width
|
|
1500
1500
|
*/
|
|
1501
1501
|
"border-w-y": [{
|
|
1502
|
-
"border-y":
|
|
1502
|
+
"border-y": j()
|
|
1503
1503
|
}],
|
|
1504
1504
|
/**
|
|
1505
1505
|
* Border Width Start
|
|
1506
1506
|
* @see https://tailwindcss.com/docs/border-width
|
|
1507
1507
|
*/
|
|
1508
1508
|
"border-w-s": [{
|
|
1509
|
-
"border-s":
|
|
1509
|
+
"border-s": j()
|
|
1510
1510
|
}],
|
|
1511
1511
|
/**
|
|
1512
1512
|
* Border Width End
|
|
1513
1513
|
* @see https://tailwindcss.com/docs/border-width
|
|
1514
1514
|
*/
|
|
1515
1515
|
"border-w-e": [{
|
|
1516
|
-
"border-e":
|
|
1516
|
+
"border-e": j()
|
|
1517
1517
|
}],
|
|
1518
1518
|
/**
|
|
1519
1519
|
* Border Width Top
|
|
1520
1520
|
* @see https://tailwindcss.com/docs/border-width
|
|
1521
1521
|
*/
|
|
1522
1522
|
"border-w-t": [{
|
|
1523
|
-
"border-t":
|
|
1523
|
+
"border-t": j()
|
|
1524
1524
|
}],
|
|
1525
1525
|
/**
|
|
1526
1526
|
* Border Width Right
|
|
1527
1527
|
* @see https://tailwindcss.com/docs/border-width
|
|
1528
1528
|
*/
|
|
1529
1529
|
"border-w-r": [{
|
|
1530
|
-
"border-r":
|
|
1530
|
+
"border-r": j()
|
|
1531
1531
|
}],
|
|
1532
1532
|
/**
|
|
1533
1533
|
* Border Width Bottom
|
|
1534
1534
|
* @see https://tailwindcss.com/docs/border-width
|
|
1535
1535
|
*/
|
|
1536
1536
|
"border-w-b": [{
|
|
1537
|
-
"border-b":
|
|
1537
|
+
"border-b": j()
|
|
1538
1538
|
}],
|
|
1539
1539
|
/**
|
|
1540
1540
|
* Border Width Left
|
|
1541
1541
|
* @see https://tailwindcss.com/docs/border-width
|
|
1542
1542
|
*/
|
|
1543
1543
|
"border-w-l": [{
|
|
1544
|
-
"border-l":
|
|
1544
|
+
"border-l": j()
|
|
1545
1545
|
}],
|
|
1546
1546
|
/**
|
|
1547
1547
|
* Divide Width X
|
|
1548
1548
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1549
1549
|
*/
|
|
1550
1550
|
"divide-x": [{
|
|
1551
|
-
"divide-x":
|
|
1551
|
+
"divide-x": j()
|
|
1552
1552
|
}],
|
|
1553
1553
|
/**
|
|
1554
1554
|
* Divide Width X Reverse
|
|
@@ -1560,7 +1560,7 @@ const Xe = (e, o) => {
|
|
|
1560
1560
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1561
1561
|
*/
|
|
1562
1562
|
"divide-y": [{
|
|
1563
|
-
"divide-y":
|
|
1563
|
+
"divide-y": j()
|
|
1564
1564
|
}],
|
|
1565
1565
|
/**
|
|
1566
1566
|
* Divide Width Y Reverse
|
|
@@ -1586,70 +1586,70 @@ const Xe = (e, o) => {
|
|
|
1586
1586
|
* @see https://tailwindcss.com/docs/border-color
|
|
1587
1587
|
*/
|
|
1588
1588
|
"border-color": [{
|
|
1589
|
-
border:
|
|
1589
|
+
border: d()
|
|
1590
1590
|
}],
|
|
1591
1591
|
/**
|
|
1592
1592
|
* Border Color X
|
|
1593
1593
|
* @see https://tailwindcss.com/docs/border-color
|
|
1594
1594
|
*/
|
|
1595
1595
|
"border-color-x": [{
|
|
1596
|
-
"border-x":
|
|
1596
|
+
"border-x": d()
|
|
1597
1597
|
}],
|
|
1598
1598
|
/**
|
|
1599
1599
|
* Border Color Y
|
|
1600
1600
|
* @see https://tailwindcss.com/docs/border-color
|
|
1601
1601
|
*/
|
|
1602
1602
|
"border-color-y": [{
|
|
1603
|
-
"border-y":
|
|
1603
|
+
"border-y": d()
|
|
1604
1604
|
}],
|
|
1605
1605
|
/**
|
|
1606
1606
|
* Border Color S
|
|
1607
1607
|
* @see https://tailwindcss.com/docs/border-color
|
|
1608
1608
|
*/
|
|
1609
1609
|
"border-color-s": [{
|
|
1610
|
-
"border-s":
|
|
1610
|
+
"border-s": d()
|
|
1611
1611
|
}],
|
|
1612
1612
|
/**
|
|
1613
1613
|
* Border Color E
|
|
1614
1614
|
* @see https://tailwindcss.com/docs/border-color
|
|
1615
1615
|
*/
|
|
1616
1616
|
"border-color-e": [{
|
|
1617
|
-
"border-e":
|
|
1617
|
+
"border-e": d()
|
|
1618
1618
|
}],
|
|
1619
1619
|
/**
|
|
1620
1620
|
* Border Color Top
|
|
1621
1621
|
* @see https://tailwindcss.com/docs/border-color
|
|
1622
1622
|
*/
|
|
1623
1623
|
"border-color-t": [{
|
|
1624
|
-
"border-t":
|
|
1624
|
+
"border-t": d()
|
|
1625
1625
|
}],
|
|
1626
1626
|
/**
|
|
1627
1627
|
* Border Color Right
|
|
1628
1628
|
* @see https://tailwindcss.com/docs/border-color
|
|
1629
1629
|
*/
|
|
1630
1630
|
"border-color-r": [{
|
|
1631
|
-
"border-r":
|
|
1631
|
+
"border-r": d()
|
|
1632
1632
|
}],
|
|
1633
1633
|
/**
|
|
1634
1634
|
* Border Color Bottom
|
|
1635
1635
|
* @see https://tailwindcss.com/docs/border-color
|
|
1636
1636
|
*/
|
|
1637
1637
|
"border-color-b": [{
|
|
1638
|
-
"border-b":
|
|
1638
|
+
"border-b": d()
|
|
1639
1639
|
}],
|
|
1640
1640
|
/**
|
|
1641
1641
|
* Border Color Left
|
|
1642
1642
|
* @see https://tailwindcss.com/docs/border-color
|
|
1643
1643
|
*/
|
|
1644
1644
|
"border-color-l": [{
|
|
1645
|
-
"border-l":
|
|
1645
|
+
"border-l": d()
|
|
1646
1646
|
}],
|
|
1647
1647
|
/**
|
|
1648
1648
|
* Divide Color
|
|
1649
1649
|
* @see https://tailwindcss.com/docs/divide-color
|
|
1650
1650
|
*/
|
|
1651
1651
|
"divide-color": [{
|
|
1652
|
-
divide:
|
|
1652
|
+
divide: d()
|
|
1653
1653
|
}],
|
|
1654
1654
|
/**
|
|
1655
1655
|
* Outline Style
|
|
@@ -1663,21 +1663,21 @@ const Xe = (e, o) => {
|
|
|
1663
1663
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1664
1664
|
*/
|
|
1665
1665
|
"outline-offset": [{
|
|
1666
|
-
"outline-offset": [
|
|
1666
|
+
"outline-offset": [b, l, i]
|
|
1667
1667
|
}],
|
|
1668
1668
|
/**
|
|
1669
1669
|
* Outline Width
|
|
1670
1670
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1671
1671
|
*/
|
|
1672
1672
|
"outline-w": [{
|
|
1673
|
-
outline: ["",
|
|
1673
|
+
outline: ["", b, Q, Y]
|
|
1674
1674
|
}],
|
|
1675
1675
|
/**
|
|
1676
1676
|
* Outline Color
|
|
1677
1677
|
* @see https://tailwindcss.com/docs/outline-color
|
|
1678
1678
|
*/
|
|
1679
1679
|
"outline-color": [{
|
|
1680
|
-
outline:
|
|
1680
|
+
outline: d()
|
|
1681
1681
|
}],
|
|
1682
1682
|
// ---------------
|
|
1683
1683
|
// --- Effects ---
|
|
@@ -1691,7 +1691,7 @@ const Xe = (e, o) => {
|
|
|
1691
1691
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1692
1692
|
"",
|
|
1693
1693
|
"none",
|
|
1694
|
-
|
|
1694
|
+
y,
|
|
1695
1695
|
le,
|
|
1696
1696
|
ie
|
|
1697
1697
|
]
|
|
@@ -1701,28 +1701,28 @@ const Xe = (e, o) => {
|
|
|
1701
1701
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
1702
1702
|
*/
|
|
1703
1703
|
"shadow-color": [{
|
|
1704
|
-
shadow:
|
|
1704
|
+
shadow: d()
|
|
1705
1705
|
}],
|
|
1706
1706
|
/**
|
|
1707
1707
|
* Inset Box Shadow
|
|
1708
1708
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1709
1709
|
*/
|
|
1710
1710
|
"inset-shadow": [{
|
|
1711
|
-
"inset-shadow": ["none",
|
|
1711
|
+
"inset-shadow": ["none", C, le, ie]
|
|
1712
1712
|
}],
|
|
1713
1713
|
/**
|
|
1714
1714
|
* Inset Box Shadow Color
|
|
1715
1715
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
1716
1716
|
*/
|
|
1717
1717
|
"inset-shadow-color": [{
|
|
1718
|
-
"inset-shadow":
|
|
1718
|
+
"inset-shadow": d()
|
|
1719
1719
|
}],
|
|
1720
1720
|
/**
|
|
1721
1721
|
* Ring Width
|
|
1722
1722
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1723
1723
|
*/
|
|
1724
1724
|
"ring-w": [{
|
|
1725
|
-
ring:
|
|
1725
|
+
ring: j()
|
|
1726
1726
|
}],
|
|
1727
1727
|
/**
|
|
1728
1728
|
* Ring Width Inset
|
|
@@ -1736,7 +1736,7 @@ const Xe = (e, o) => {
|
|
|
1736
1736
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
1737
1737
|
*/
|
|
1738
1738
|
"ring-color": [{
|
|
1739
|
-
ring:
|
|
1739
|
+
ring: d()
|
|
1740
1740
|
}],
|
|
1741
1741
|
/**
|
|
1742
1742
|
* Ring Offset Width
|
|
@@ -1745,7 +1745,7 @@ const Xe = (e, o) => {
|
|
|
1745
1745
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1746
1746
|
*/
|
|
1747
1747
|
"ring-offset-w": [{
|
|
1748
|
-
"ring-offset": [
|
|
1748
|
+
"ring-offset": [b, Y]
|
|
1749
1749
|
}],
|
|
1750
1750
|
/**
|
|
1751
1751
|
* Ring Offset Color
|
|
@@ -1754,56 +1754,56 @@ const Xe = (e, o) => {
|
|
|
1754
1754
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1755
1755
|
*/
|
|
1756
1756
|
"ring-offset-color": [{
|
|
1757
|
-
"ring-offset":
|
|
1757
|
+
"ring-offset": d()
|
|
1758
1758
|
}],
|
|
1759
1759
|
/**
|
|
1760
1760
|
* Inset Ring Width
|
|
1761
1761
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
1762
1762
|
*/
|
|
1763
1763
|
"inset-ring-w": [{
|
|
1764
|
-
"inset-ring":
|
|
1764
|
+
"inset-ring": j()
|
|
1765
1765
|
}],
|
|
1766
1766
|
/**
|
|
1767
1767
|
* Inset Ring Color
|
|
1768
1768
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
1769
1769
|
*/
|
|
1770
1770
|
"inset-ring-color": [{
|
|
1771
|
-
"inset-ring":
|
|
1771
|
+
"inset-ring": d()
|
|
1772
1772
|
}],
|
|
1773
1773
|
/**
|
|
1774
1774
|
* Text Shadow
|
|
1775
1775
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
1776
1776
|
*/
|
|
1777
1777
|
"text-shadow": [{
|
|
1778
|
-
"text-shadow": ["none",
|
|
1778
|
+
"text-shadow": ["none", T, le, ie]
|
|
1779
1779
|
}],
|
|
1780
1780
|
/**
|
|
1781
1781
|
* Text Shadow Color
|
|
1782
1782
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
1783
1783
|
*/
|
|
1784
1784
|
"text-shadow-color": [{
|
|
1785
|
-
"text-shadow":
|
|
1785
|
+
"text-shadow": d()
|
|
1786
1786
|
}],
|
|
1787
1787
|
/**
|
|
1788
1788
|
* Opacity
|
|
1789
1789
|
* @see https://tailwindcss.com/docs/opacity
|
|
1790
1790
|
*/
|
|
1791
1791
|
opacity: [{
|
|
1792
|
-
opacity: [
|
|
1792
|
+
opacity: [b, l, i]
|
|
1793
1793
|
}],
|
|
1794
1794
|
/**
|
|
1795
1795
|
* Mix Blend Mode
|
|
1796
1796
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1797
1797
|
*/
|
|
1798
1798
|
"mix-blend": [{
|
|
1799
|
-
"mix-blend": [...
|
|
1799
|
+
"mix-blend": [...ye(), "plus-darker", "plus-lighter"]
|
|
1800
1800
|
}],
|
|
1801
1801
|
/**
|
|
1802
1802
|
* Background Blend Mode
|
|
1803
1803
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1804
1804
|
*/
|
|
1805
1805
|
"bg-blend": [{
|
|
1806
|
-
"bg-blend":
|
|
1806
|
+
"bg-blend": ye()
|
|
1807
1807
|
}],
|
|
1808
1808
|
/**
|
|
1809
1809
|
* Mask Clip
|
|
@@ -1824,7 +1824,7 @@ const Xe = (e, o) => {
|
|
|
1824
1824
|
* @see https://tailwindcss.com/docs/mask-image
|
|
1825
1825
|
*/
|
|
1826
1826
|
"mask-image-linear-pos": [{
|
|
1827
|
-
"mask-linear": [
|
|
1827
|
+
"mask-linear": [b]
|
|
1828
1828
|
}],
|
|
1829
1829
|
"mask-image-linear-from-pos": [{
|
|
1830
1830
|
"mask-linear-from": S()
|
|
@@ -1833,10 +1833,10 @@ const Xe = (e, o) => {
|
|
|
1833
1833
|
"mask-linear-to": S()
|
|
1834
1834
|
}],
|
|
1835
1835
|
"mask-image-linear-from-color": [{
|
|
1836
|
-
"mask-linear-from":
|
|
1836
|
+
"mask-linear-from": d()
|
|
1837
1837
|
}],
|
|
1838
1838
|
"mask-image-linear-to-color": [{
|
|
1839
|
-
"mask-linear-to":
|
|
1839
|
+
"mask-linear-to": d()
|
|
1840
1840
|
}],
|
|
1841
1841
|
"mask-image-t-from-pos": [{
|
|
1842
1842
|
"mask-t-from": S()
|
|
@@ -1845,10 +1845,10 @@ const Xe = (e, o) => {
|
|
|
1845
1845
|
"mask-t-to": S()
|
|
1846
1846
|
}],
|
|
1847
1847
|
"mask-image-t-from-color": [{
|
|
1848
|
-
"mask-t-from":
|
|
1848
|
+
"mask-t-from": d()
|
|
1849
1849
|
}],
|
|
1850
1850
|
"mask-image-t-to-color": [{
|
|
1851
|
-
"mask-t-to":
|
|
1851
|
+
"mask-t-to": d()
|
|
1852
1852
|
}],
|
|
1853
1853
|
"mask-image-r-from-pos": [{
|
|
1854
1854
|
"mask-r-from": S()
|
|
@@ -1857,10 +1857,10 @@ const Xe = (e, o) => {
|
|
|
1857
1857
|
"mask-r-to": S()
|
|
1858
1858
|
}],
|
|
1859
1859
|
"mask-image-r-from-color": [{
|
|
1860
|
-
"mask-r-from":
|
|
1860
|
+
"mask-r-from": d()
|
|
1861
1861
|
}],
|
|
1862
1862
|
"mask-image-r-to-color": [{
|
|
1863
|
-
"mask-r-to":
|
|
1863
|
+
"mask-r-to": d()
|
|
1864
1864
|
}],
|
|
1865
1865
|
"mask-image-b-from-pos": [{
|
|
1866
1866
|
"mask-b-from": S()
|
|
@@ -1869,10 +1869,10 @@ const Xe = (e, o) => {
|
|
|
1869
1869
|
"mask-b-to": S()
|
|
1870
1870
|
}],
|
|
1871
1871
|
"mask-image-b-from-color": [{
|
|
1872
|
-
"mask-b-from":
|
|
1872
|
+
"mask-b-from": d()
|
|
1873
1873
|
}],
|
|
1874
1874
|
"mask-image-b-to-color": [{
|
|
1875
|
-
"mask-b-to":
|
|
1875
|
+
"mask-b-to": d()
|
|
1876
1876
|
}],
|
|
1877
1877
|
"mask-image-l-from-pos": [{
|
|
1878
1878
|
"mask-l-from": S()
|
|
@@ -1881,10 +1881,10 @@ const Xe = (e, o) => {
|
|
|
1881
1881
|
"mask-l-to": S()
|
|
1882
1882
|
}],
|
|
1883
1883
|
"mask-image-l-from-color": [{
|
|
1884
|
-
"mask-l-from":
|
|
1884
|
+
"mask-l-from": d()
|
|
1885
1885
|
}],
|
|
1886
1886
|
"mask-image-l-to-color": [{
|
|
1887
|
-
"mask-l-to":
|
|
1887
|
+
"mask-l-to": d()
|
|
1888
1888
|
}],
|
|
1889
1889
|
"mask-image-x-from-pos": [{
|
|
1890
1890
|
"mask-x-from": S()
|
|
@@ -1893,10 +1893,10 @@ const Xe = (e, o) => {
|
|
|
1893
1893
|
"mask-x-to": S()
|
|
1894
1894
|
}],
|
|
1895
1895
|
"mask-image-x-from-color": [{
|
|
1896
|
-
"mask-x-from":
|
|
1896
|
+
"mask-x-from": d()
|
|
1897
1897
|
}],
|
|
1898
1898
|
"mask-image-x-to-color": [{
|
|
1899
|
-
"mask-x-to":
|
|
1899
|
+
"mask-x-to": d()
|
|
1900
1900
|
}],
|
|
1901
1901
|
"mask-image-y-from-pos": [{
|
|
1902
1902
|
"mask-y-from": S()
|
|
@@ -1905,13 +1905,13 @@ const Xe = (e, o) => {
|
|
|
1905
1905
|
"mask-y-to": S()
|
|
1906
1906
|
}],
|
|
1907
1907
|
"mask-image-y-from-color": [{
|
|
1908
|
-
"mask-y-from":
|
|
1908
|
+
"mask-y-from": d()
|
|
1909
1909
|
}],
|
|
1910
1910
|
"mask-image-y-to-color": [{
|
|
1911
|
-
"mask-y-to":
|
|
1911
|
+
"mask-y-to": d()
|
|
1912
1912
|
}],
|
|
1913
1913
|
"mask-image-radial": [{
|
|
1914
|
-
"mask-radial": [
|
|
1914
|
+
"mask-radial": [l, i]
|
|
1915
1915
|
}],
|
|
1916
1916
|
"mask-image-radial-from-pos": [{
|
|
1917
1917
|
"mask-radial-from": S()
|
|
@@ -1920,10 +1920,10 @@ const Xe = (e, o) => {
|
|
|
1920
1920
|
"mask-radial-to": S()
|
|
1921
1921
|
}],
|
|
1922
1922
|
"mask-image-radial-from-color": [{
|
|
1923
|
-
"mask-radial-from":
|
|
1923
|
+
"mask-radial-from": d()
|
|
1924
1924
|
}],
|
|
1925
1925
|
"mask-image-radial-to-color": [{
|
|
1926
|
-
"mask-radial-to":
|
|
1926
|
+
"mask-radial-to": d()
|
|
1927
1927
|
}],
|
|
1928
1928
|
"mask-image-radial-shape": [{
|
|
1929
1929
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -1935,10 +1935,10 @@ const Xe = (e, o) => {
|
|
|
1935
1935
|
}]
|
|
1936
1936
|
}],
|
|
1937
1937
|
"mask-image-radial-pos": [{
|
|
1938
|
-
"mask-radial-at":
|
|
1938
|
+
"mask-radial-at": z()
|
|
1939
1939
|
}],
|
|
1940
1940
|
"mask-image-conic-pos": [{
|
|
1941
|
-
"mask-conic": [
|
|
1941
|
+
"mask-conic": [b]
|
|
1942
1942
|
}],
|
|
1943
1943
|
"mask-image-conic-from-pos": [{
|
|
1944
1944
|
"mask-conic-from": S()
|
|
@@ -1947,10 +1947,10 @@ const Xe = (e, o) => {
|
|
|
1947
1947
|
"mask-conic-to": S()
|
|
1948
1948
|
}],
|
|
1949
1949
|
"mask-image-conic-from-color": [{
|
|
1950
|
-
"mask-conic-from":
|
|
1950
|
+
"mask-conic-from": d()
|
|
1951
1951
|
}],
|
|
1952
1952
|
"mask-image-conic-to-color": [{
|
|
1953
|
-
"mask-conic-to":
|
|
1953
|
+
"mask-conic-to": d()
|
|
1954
1954
|
}],
|
|
1955
1955
|
/**
|
|
1956
1956
|
* Mask Mode
|
|
@@ -1999,7 +1999,7 @@ const Xe = (e, o) => {
|
|
|
1999
1999
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2000
2000
|
*/
|
|
2001
2001
|
"mask-image": [{
|
|
2002
|
-
mask: ["none",
|
|
2002
|
+
mask: ["none", l, i]
|
|
2003
2003
|
}],
|
|
2004
2004
|
// ---------------
|
|
2005
2005
|
// --- Filters ---
|
|
@@ -2013,8 +2013,8 @@ const Xe = (e, o) => {
|
|
|
2013
2013
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2014
2014
|
"",
|
|
2015
2015
|
"none",
|
|
2016
|
-
|
|
2017
|
-
|
|
2016
|
+
l,
|
|
2017
|
+
i
|
|
2018
2018
|
]
|
|
2019
2019
|
}],
|
|
2020
2020
|
/**
|
|
@@ -2022,21 +2022,21 @@ const Xe = (e, o) => {
|
|
|
2022
2022
|
* @see https://tailwindcss.com/docs/blur
|
|
2023
2023
|
*/
|
|
2024
2024
|
blur: [{
|
|
2025
|
-
blur:
|
|
2025
|
+
blur: ke()
|
|
2026
2026
|
}],
|
|
2027
2027
|
/**
|
|
2028
2028
|
* Brightness
|
|
2029
2029
|
* @see https://tailwindcss.com/docs/brightness
|
|
2030
2030
|
*/
|
|
2031
2031
|
brightness: [{
|
|
2032
|
-
brightness: [
|
|
2032
|
+
brightness: [b, l, i]
|
|
2033
2033
|
}],
|
|
2034
2034
|
/**
|
|
2035
2035
|
* Contrast
|
|
2036
2036
|
* @see https://tailwindcss.com/docs/contrast
|
|
2037
2037
|
*/
|
|
2038
2038
|
contrast: [{
|
|
2039
|
-
contrast: [
|
|
2039
|
+
contrast: [b, l, i]
|
|
2040
2040
|
}],
|
|
2041
2041
|
/**
|
|
2042
2042
|
* Drop Shadow
|
|
@@ -2057,42 +2057,42 @@ const Xe = (e, o) => {
|
|
|
2057
2057
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2058
2058
|
*/
|
|
2059
2059
|
"drop-shadow-color": [{
|
|
2060
|
-
"drop-shadow":
|
|
2060
|
+
"drop-shadow": d()
|
|
2061
2061
|
}],
|
|
2062
2062
|
/**
|
|
2063
2063
|
* Grayscale
|
|
2064
2064
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2065
2065
|
*/
|
|
2066
2066
|
grayscale: [{
|
|
2067
|
-
grayscale: ["",
|
|
2067
|
+
grayscale: ["", b, l, i]
|
|
2068
2068
|
}],
|
|
2069
2069
|
/**
|
|
2070
2070
|
* Hue Rotate
|
|
2071
2071
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2072
2072
|
*/
|
|
2073
2073
|
"hue-rotate": [{
|
|
2074
|
-
"hue-rotate": [
|
|
2074
|
+
"hue-rotate": [b, l, i]
|
|
2075
2075
|
}],
|
|
2076
2076
|
/**
|
|
2077
2077
|
* Invert
|
|
2078
2078
|
* @see https://tailwindcss.com/docs/invert
|
|
2079
2079
|
*/
|
|
2080
2080
|
invert: [{
|
|
2081
|
-
invert: ["",
|
|
2081
|
+
invert: ["", b, l, i]
|
|
2082
2082
|
}],
|
|
2083
2083
|
/**
|
|
2084
2084
|
* Saturate
|
|
2085
2085
|
* @see https://tailwindcss.com/docs/saturate
|
|
2086
2086
|
*/
|
|
2087
2087
|
saturate: [{
|
|
2088
|
-
saturate: [
|
|
2088
|
+
saturate: [b, l, i]
|
|
2089
2089
|
}],
|
|
2090
2090
|
/**
|
|
2091
2091
|
* Sepia
|
|
2092
2092
|
* @see https://tailwindcss.com/docs/sepia
|
|
2093
2093
|
*/
|
|
2094
2094
|
sepia: [{
|
|
2095
|
-
sepia: ["",
|
|
2095
|
+
sepia: ["", b, l, i]
|
|
2096
2096
|
}],
|
|
2097
2097
|
/**
|
|
2098
2098
|
* Backdrop Filter
|
|
@@ -2103,8 +2103,8 @@ const Xe = (e, o) => {
|
|
|
2103
2103
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2104
2104
|
"",
|
|
2105
2105
|
"none",
|
|
2106
|
-
|
|
2107
|
-
|
|
2106
|
+
l,
|
|
2107
|
+
i
|
|
2108
2108
|
]
|
|
2109
2109
|
}],
|
|
2110
2110
|
/**
|
|
@@ -2112,63 +2112,63 @@ const Xe = (e, o) => {
|
|
|
2112
2112
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2113
2113
|
*/
|
|
2114
2114
|
"backdrop-blur": [{
|
|
2115
|
-
"backdrop-blur":
|
|
2115
|
+
"backdrop-blur": ke()
|
|
2116
2116
|
}],
|
|
2117
2117
|
/**
|
|
2118
2118
|
* Backdrop Brightness
|
|
2119
2119
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2120
2120
|
*/
|
|
2121
2121
|
"backdrop-brightness": [{
|
|
2122
|
-
"backdrop-brightness": [
|
|
2122
|
+
"backdrop-brightness": [b, l, i]
|
|
2123
2123
|
}],
|
|
2124
2124
|
/**
|
|
2125
2125
|
* Backdrop Contrast
|
|
2126
2126
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2127
2127
|
*/
|
|
2128
2128
|
"backdrop-contrast": [{
|
|
2129
|
-
"backdrop-contrast": [
|
|
2129
|
+
"backdrop-contrast": [b, l, i]
|
|
2130
2130
|
}],
|
|
2131
2131
|
/**
|
|
2132
2132
|
* Backdrop Grayscale
|
|
2133
2133
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2134
2134
|
*/
|
|
2135
2135
|
"backdrop-grayscale": [{
|
|
2136
|
-
"backdrop-grayscale": ["",
|
|
2136
|
+
"backdrop-grayscale": ["", b, l, i]
|
|
2137
2137
|
}],
|
|
2138
2138
|
/**
|
|
2139
2139
|
* Backdrop Hue Rotate
|
|
2140
2140
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2141
2141
|
*/
|
|
2142
2142
|
"backdrop-hue-rotate": [{
|
|
2143
|
-
"backdrop-hue-rotate": [
|
|
2143
|
+
"backdrop-hue-rotate": [b, l, i]
|
|
2144
2144
|
}],
|
|
2145
2145
|
/**
|
|
2146
2146
|
* Backdrop Invert
|
|
2147
2147
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2148
2148
|
*/
|
|
2149
2149
|
"backdrop-invert": [{
|
|
2150
|
-
"backdrop-invert": ["",
|
|
2150
|
+
"backdrop-invert": ["", b, l, i]
|
|
2151
2151
|
}],
|
|
2152
2152
|
/**
|
|
2153
2153
|
* Backdrop Opacity
|
|
2154
2154
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2155
2155
|
*/
|
|
2156
2156
|
"backdrop-opacity": [{
|
|
2157
|
-
"backdrop-opacity": [
|
|
2157
|
+
"backdrop-opacity": [b, l, i]
|
|
2158
2158
|
}],
|
|
2159
2159
|
/**
|
|
2160
2160
|
* Backdrop Saturate
|
|
2161
2161
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2162
2162
|
*/
|
|
2163
2163
|
"backdrop-saturate": [{
|
|
2164
|
-
"backdrop-saturate": [
|
|
2164
|
+
"backdrop-saturate": [b, l, i]
|
|
2165
2165
|
}],
|
|
2166
2166
|
/**
|
|
2167
2167
|
* Backdrop Sepia
|
|
2168
2168
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2169
2169
|
*/
|
|
2170
2170
|
"backdrop-sepia": [{
|
|
2171
|
-
"backdrop-sepia": ["",
|
|
2171
|
+
"backdrop-sepia": ["", b, l, i]
|
|
2172
2172
|
}],
|
|
2173
2173
|
// --------------
|
|
2174
2174
|
// --- Tables ---
|
|
@@ -2185,21 +2185,21 @@ const Xe = (e, o) => {
|
|
|
2185
2185
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2186
2186
|
*/
|
|
2187
2187
|
"border-spacing": [{
|
|
2188
|
-
"border-spacing":
|
|
2188
|
+
"border-spacing": u()
|
|
2189
2189
|
}],
|
|
2190
2190
|
/**
|
|
2191
2191
|
* Border Spacing X
|
|
2192
2192
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2193
2193
|
*/
|
|
2194
2194
|
"border-spacing-x": [{
|
|
2195
|
-
"border-spacing-x":
|
|
2195
|
+
"border-spacing-x": u()
|
|
2196
2196
|
}],
|
|
2197
2197
|
/**
|
|
2198
2198
|
* Border Spacing Y
|
|
2199
2199
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2200
2200
|
*/
|
|
2201
2201
|
"border-spacing-y": [{
|
|
2202
|
-
"border-spacing-y":
|
|
2202
|
+
"border-spacing-y": u()
|
|
2203
2203
|
}],
|
|
2204
2204
|
/**
|
|
2205
2205
|
* Table Layout
|
|
@@ -2223,7 +2223,7 @@ const Xe = (e, o) => {
|
|
|
2223
2223
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2224
2224
|
*/
|
|
2225
2225
|
transition: [{
|
|
2226
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2226
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", l, i]
|
|
2227
2227
|
}],
|
|
2228
2228
|
/**
|
|
2229
2229
|
* Transition Behavior
|
|
@@ -2237,28 +2237,28 @@ const Xe = (e, o) => {
|
|
|
2237
2237
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2238
2238
|
*/
|
|
2239
2239
|
duration: [{
|
|
2240
|
-
duration: [
|
|
2240
|
+
duration: [b, "initial", l, i]
|
|
2241
2241
|
}],
|
|
2242
2242
|
/**
|
|
2243
2243
|
* Transition Timing Function
|
|
2244
2244
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2245
2245
|
*/
|
|
2246
2246
|
ease: [{
|
|
2247
|
-
ease: ["linear", "initial",
|
|
2247
|
+
ease: ["linear", "initial", L, l, i]
|
|
2248
2248
|
}],
|
|
2249
2249
|
/**
|
|
2250
2250
|
* Transition Delay
|
|
2251
2251
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2252
2252
|
*/
|
|
2253
2253
|
delay: [{
|
|
2254
|
-
delay: [
|
|
2254
|
+
delay: [b, l, i]
|
|
2255
2255
|
}],
|
|
2256
2256
|
/**
|
|
2257
2257
|
* Animation
|
|
2258
2258
|
* @see https://tailwindcss.com/docs/animation
|
|
2259
2259
|
*/
|
|
2260
2260
|
animate: [{
|
|
2261
|
-
animate: ["none",
|
|
2261
|
+
animate: ["none", I, l, i]
|
|
2262
2262
|
}],
|
|
2263
2263
|
// ------------------
|
|
2264
2264
|
// --- Transforms ---
|
|
@@ -2275,70 +2275,70 @@ const Xe = (e, o) => {
|
|
|
2275
2275
|
* @see https://tailwindcss.com/docs/perspective
|
|
2276
2276
|
*/
|
|
2277
2277
|
perspective: [{
|
|
2278
|
-
perspective: [
|
|
2278
|
+
perspective: [P, l, i]
|
|
2279
2279
|
}],
|
|
2280
2280
|
/**
|
|
2281
2281
|
* Perspective Origin
|
|
2282
2282
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2283
2283
|
*/
|
|
2284
2284
|
"perspective-origin": [{
|
|
2285
|
-
"perspective-origin":
|
|
2285
|
+
"perspective-origin": _()
|
|
2286
2286
|
}],
|
|
2287
2287
|
/**
|
|
2288
2288
|
* Rotate
|
|
2289
2289
|
* @see https://tailwindcss.com/docs/rotate
|
|
2290
2290
|
*/
|
|
2291
2291
|
rotate: [{
|
|
2292
|
-
rotate:
|
|
2292
|
+
rotate: ne()
|
|
2293
2293
|
}],
|
|
2294
2294
|
/**
|
|
2295
2295
|
* Rotate X
|
|
2296
2296
|
* @see https://tailwindcss.com/docs/rotate
|
|
2297
2297
|
*/
|
|
2298
2298
|
"rotate-x": [{
|
|
2299
|
-
"rotate-x":
|
|
2299
|
+
"rotate-x": ne()
|
|
2300
2300
|
}],
|
|
2301
2301
|
/**
|
|
2302
2302
|
* Rotate Y
|
|
2303
2303
|
* @see https://tailwindcss.com/docs/rotate
|
|
2304
2304
|
*/
|
|
2305
2305
|
"rotate-y": [{
|
|
2306
|
-
"rotate-y":
|
|
2306
|
+
"rotate-y": ne()
|
|
2307
2307
|
}],
|
|
2308
2308
|
/**
|
|
2309
2309
|
* Rotate Z
|
|
2310
2310
|
* @see https://tailwindcss.com/docs/rotate
|
|
2311
2311
|
*/
|
|
2312
2312
|
"rotate-z": [{
|
|
2313
|
-
"rotate-z":
|
|
2313
|
+
"rotate-z": ne()
|
|
2314
2314
|
}],
|
|
2315
2315
|
/**
|
|
2316
2316
|
* Scale
|
|
2317
2317
|
* @see https://tailwindcss.com/docs/scale
|
|
2318
2318
|
*/
|
|
2319
2319
|
scale: [{
|
|
2320
|
-
scale:
|
|
2320
|
+
scale: se()
|
|
2321
2321
|
}],
|
|
2322
2322
|
/**
|
|
2323
2323
|
* Scale X
|
|
2324
2324
|
* @see https://tailwindcss.com/docs/scale
|
|
2325
2325
|
*/
|
|
2326
2326
|
"scale-x": [{
|
|
2327
|
-
"scale-x":
|
|
2327
|
+
"scale-x": se()
|
|
2328
2328
|
}],
|
|
2329
2329
|
/**
|
|
2330
2330
|
* Scale Y
|
|
2331
2331
|
* @see https://tailwindcss.com/docs/scale
|
|
2332
2332
|
*/
|
|
2333
2333
|
"scale-y": [{
|
|
2334
|
-
"scale-y":
|
|
2334
|
+
"scale-y": se()
|
|
2335
2335
|
}],
|
|
2336
2336
|
/**
|
|
2337
2337
|
* Scale Z
|
|
2338
2338
|
* @see https://tailwindcss.com/docs/scale
|
|
2339
2339
|
*/
|
|
2340
2340
|
"scale-z": [{
|
|
2341
|
-
"scale-z":
|
|
2341
|
+
"scale-z": se()
|
|
2342
2342
|
}],
|
|
2343
2343
|
/**
|
|
2344
2344
|
* Scale 3D
|
|
@@ -2371,14 +2371,14 @@ const Xe = (e, o) => {
|
|
|
2371
2371
|
* @see https://tailwindcss.com/docs/transform
|
|
2372
2372
|
*/
|
|
2373
2373
|
transform: [{
|
|
2374
|
-
transform: [
|
|
2374
|
+
transform: [l, i, "", "none", "gpu", "cpu"]
|
|
2375
2375
|
}],
|
|
2376
2376
|
/**
|
|
2377
2377
|
* Transform Origin
|
|
2378
2378
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2379
2379
|
*/
|
|
2380
2380
|
"transform-origin": [{
|
|
2381
|
-
origin:
|
|
2381
|
+
origin: _()
|
|
2382
2382
|
}],
|
|
2383
2383
|
/**
|
|
2384
2384
|
* Transform Style
|
|
@@ -2428,7 +2428,7 @@ const Xe = (e, o) => {
|
|
|
2428
2428
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2429
2429
|
*/
|
|
2430
2430
|
accent: [{
|
|
2431
|
-
accent:
|
|
2431
|
+
accent: d()
|
|
2432
2432
|
}],
|
|
2433
2433
|
/**
|
|
2434
2434
|
* Appearance
|
|
@@ -2442,7 +2442,7 @@ const Xe = (e, o) => {
|
|
|
2442
2442
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2443
2443
|
*/
|
|
2444
2444
|
"caret-color": [{
|
|
2445
|
-
caret:
|
|
2445
|
+
caret: d()
|
|
2446
2446
|
}],
|
|
2447
2447
|
/**
|
|
2448
2448
|
* Color Scheme
|
|
@@ -2456,7 +2456,7 @@ const Xe = (e, o) => {
|
|
|
2456
2456
|
* @see https://tailwindcss.com/docs/cursor
|
|
2457
2457
|
*/
|
|
2458
2458
|
cursor: [{
|
|
2459
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
2459
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", l, i]
|
|
2460
2460
|
}],
|
|
2461
2461
|
/**
|
|
2462
2462
|
* Field Sizing
|
|
@@ -2491,126 +2491,126 @@ const Xe = (e, o) => {
|
|
|
2491
2491
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2492
2492
|
*/
|
|
2493
2493
|
"scroll-m": [{
|
|
2494
|
-
"scroll-m":
|
|
2494
|
+
"scroll-m": u()
|
|
2495
2495
|
}],
|
|
2496
2496
|
/**
|
|
2497
2497
|
* Scroll Margin X
|
|
2498
2498
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2499
2499
|
*/
|
|
2500
2500
|
"scroll-mx": [{
|
|
2501
|
-
"scroll-mx":
|
|
2501
|
+
"scroll-mx": u()
|
|
2502
2502
|
}],
|
|
2503
2503
|
/**
|
|
2504
2504
|
* Scroll Margin Y
|
|
2505
2505
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2506
2506
|
*/
|
|
2507
2507
|
"scroll-my": [{
|
|
2508
|
-
"scroll-my":
|
|
2508
|
+
"scroll-my": u()
|
|
2509
2509
|
}],
|
|
2510
2510
|
/**
|
|
2511
2511
|
* Scroll Margin Start
|
|
2512
2512
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2513
2513
|
*/
|
|
2514
2514
|
"scroll-ms": [{
|
|
2515
|
-
"scroll-ms":
|
|
2515
|
+
"scroll-ms": u()
|
|
2516
2516
|
}],
|
|
2517
2517
|
/**
|
|
2518
2518
|
* Scroll Margin End
|
|
2519
2519
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2520
2520
|
*/
|
|
2521
2521
|
"scroll-me": [{
|
|
2522
|
-
"scroll-me":
|
|
2522
|
+
"scroll-me": u()
|
|
2523
2523
|
}],
|
|
2524
2524
|
/**
|
|
2525
2525
|
* Scroll Margin Top
|
|
2526
2526
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2527
2527
|
*/
|
|
2528
2528
|
"scroll-mt": [{
|
|
2529
|
-
"scroll-mt":
|
|
2529
|
+
"scroll-mt": u()
|
|
2530
2530
|
}],
|
|
2531
2531
|
/**
|
|
2532
2532
|
* Scroll Margin Right
|
|
2533
2533
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2534
2534
|
*/
|
|
2535
2535
|
"scroll-mr": [{
|
|
2536
|
-
"scroll-mr":
|
|
2536
|
+
"scroll-mr": u()
|
|
2537
2537
|
}],
|
|
2538
2538
|
/**
|
|
2539
2539
|
* Scroll Margin Bottom
|
|
2540
2540
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2541
2541
|
*/
|
|
2542
2542
|
"scroll-mb": [{
|
|
2543
|
-
"scroll-mb":
|
|
2543
|
+
"scroll-mb": u()
|
|
2544
2544
|
}],
|
|
2545
2545
|
/**
|
|
2546
2546
|
* Scroll Margin Left
|
|
2547
2547
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2548
2548
|
*/
|
|
2549
2549
|
"scroll-ml": [{
|
|
2550
|
-
"scroll-ml":
|
|
2550
|
+
"scroll-ml": u()
|
|
2551
2551
|
}],
|
|
2552
2552
|
/**
|
|
2553
2553
|
* Scroll Padding
|
|
2554
2554
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2555
2555
|
*/
|
|
2556
2556
|
"scroll-p": [{
|
|
2557
|
-
"scroll-p":
|
|
2557
|
+
"scroll-p": u()
|
|
2558
2558
|
}],
|
|
2559
2559
|
/**
|
|
2560
2560
|
* Scroll Padding X
|
|
2561
2561
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2562
2562
|
*/
|
|
2563
2563
|
"scroll-px": [{
|
|
2564
|
-
"scroll-px":
|
|
2564
|
+
"scroll-px": u()
|
|
2565
2565
|
}],
|
|
2566
2566
|
/**
|
|
2567
2567
|
* Scroll Padding Y
|
|
2568
2568
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2569
2569
|
*/
|
|
2570
2570
|
"scroll-py": [{
|
|
2571
|
-
"scroll-py":
|
|
2571
|
+
"scroll-py": u()
|
|
2572
2572
|
}],
|
|
2573
2573
|
/**
|
|
2574
2574
|
* Scroll Padding Start
|
|
2575
2575
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2576
2576
|
*/
|
|
2577
2577
|
"scroll-ps": [{
|
|
2578
|
-
"scroll-ps":
|
|
2578
|
+
"scroll-ps": u()
|
|
2579
2579
|
}],
|
|
2580
2580
|
/**
|
|
2581
2581
|
* Scroll Padding End
|
|
2582
2582
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2583
2583
|
*/
|
|
2584
2584
|
"scroll-pe": [{
|
|
2585
|
-
"scroll-pe":
|
|
2585
|
+
"scroll-pe": u()
|
|
2586
2586
|
}],
|
|
2587
2587
|
/**
|
|
2588
2588
|
* Scroll Padding Top
|
|
2589
2589
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2590
2590
|
*/
|
|
2591
2591
|
"scroll-pt": [{
|
|
2592
|
-
"scroll-pt":
|
|
2592
|
+
"scroll-pt": u()
|
|
2593
2593
|
}],
|
|
2594
2594
|
/**
|
|
2595
2595
|
* Scroll Padding Right
|
|
2596
2596
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2597
2597
|
*/
|
|
2598
2598
|
"scroll-pr": [{
|
|
2599
|
-
"scroll-pr":
|
|
2599
|
+
"scroll-pr": u()
|
|
2600
2600
|
}],
|
|
2601
2601
|
/**
|
|
2602
2602
|
* Scroll Padding Bottom
|
|
2603
2603
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2604
2604
|
*/
|
|
2605
2605
|
"scroll-pb": [{
|
|
2606
|
-
"scroll-pb":
|
|
2606
|
+
"scroll-pb": u()
|
|
2607
2607
|
}],
|
|
2608
2608
|
/**
|
|
2609
2609
|
* Scroll Padding Left
|
|
2610
2610
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2611
2611
|
*/
|
|
2612
2612
|
"scroll-pl": [{
|
|
2613
|
-
"scroll-pl":
|
|
2613
|
+
"scroll-pl": u()
|
|
2614
2614
|
}],
|
|
2615
2615
|
/**
|
|
2616
2616
|
* Scroll Snap Align
|
|
@@ -2678,7 +2678,7 @@ const Xe = (e, o) => {
|
|
|
2678
2678
|
* @see https://tailwindcss.com/docs/will-change
|
|
2679
2679
|
*/
|
|
2680
2680
|
"will-change": [{
|
|
2681
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2681
|
+
"will-change": ["auto", "scroll", "contents", "transform", l, i]
|
|
2682
2682
|
}],
|
|
2683
2683
|
// -----------
|
|
2684
2684
|
// --- SVG ---
|
|
@@ -2688,21 +2688,21 @@ const Xe = (e, o) => {
|
|
|
2688
2688
|
* @see https://tailwindcss.com/docs/fill
|
|
2689
2689
|
*/
|
|
2690
2690
|
fill: [{
|
|
2691
|
-
fill: ["none", ...
|
|
2691
|
+
fill: ["none", ...d()]
|
|
2692
2692
|
}],
|
|
2693
2693
|
/**
|
|
2694
2694
|
* Stroke Width
|
|
2695
2695
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2696
2696
|
*/
|
|
2697
2697
|
"stroke-w": [{
|
|
2698
|
-
stroke: [
|
|
2698
|
+
stroke: [b, Q, Y, fe]
|
|
2699
2699
|
}],
|
|
2700
2700
|
/**
|
|
2701
2701
|
* Stroke
|
|
2702
2702
|
* @see https://tailwindcss.com/docs/stroke
|
|
2703
2703
|
*/
|
|
2704
2704
|
stroke: [{
|
|
2705
|
-
stroke: ["none", ...
|
|
2705
|
+
stroke: ["none", ...d()]
|
|
2706
2706
|
}],
|
|
2707
2707
|
// ---------------------
|
|
2708
2708
|
// --- Accessibility ---
|
|
@@ -2771,137 +2771,253 @@ const Xe = (e, o) => {
|
|
|
2771
2771
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
2772
2772
|
};
|
|
2773
2773
|
}, Or = /* @__PURE__ */ gr(Gr);
|
|
2774
|
-
function
|
|
2774
|
+
function N(...e) {
|
|
2775
2775
|
return Or(qe(e));
|
|
2776
2776
|
}
|
|
2777
2777
|
const jr = {
|
|
2778
2778
|
purple: "bg-purple-500",
|
|
2779
2779
|
green: "bg-green-500",
|
|
2780
2780
|
blue: "bg-blue-500",
|
|
2781
|
-
yellow: "bg-yellow-
|
|
2781
|
+
yellow: "bg-yellow-400 !text-yellow-900",
|
|
2782
2782
|
red: "bg-red-500"
|
|
2783
2783
|
}, Br = ({
|
|
2784
2784
|
id: e,
|
|
2785
2785
|
title: o,
|
|
2786
2786
|
price: r,
|
|
2787
2787
|
periodLabel: t,
|
|
2788
|
-
features:
|
|
2789
|
-
isSelected:
|
|
2790
|
-
onSelect:
|
|
2791
|
-
topBadge:
|
|
2792
|
-
discountBadge:
|
|
2793
|
-
premiumCallout:
|
|
2794
|
-
bottomNote:
|
|
2795
|
-
introPriceNote:
|
|
2796
|
-
isBestValue:
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2788
|
+
features: n,
|
|
2789
|
+
isSelected: s,
|
|
2790
|
+
onSelect: a,
|
|
2791
|
+
topBadge: m,
|
|
2792
|
+
discountBadge: c,
|
|
2793
|
+
premiumCallout: p,
|
|
2794
|
+
bottomNote: y,
|
|
2795
|
+
introPriceNote: C,
|
|
2796
|
+
isBestValue: T = !1,
|
|
2797
|
+
ctaButton: x,
|
|
2798
|
+
className: R,
|
|
2799
|
+
children: P,
|
|
2800
|
+
disabled: w = !1,
|
|
2801
|
+
ariaLabel: L
|
|
2801
2802
|
}) => {
|
|
2802
|
-
const
|
|
2803
|
-
|
|
2804
|
-
},
|
|
2805
|
-
!
|
|
2803
|
+
const I = !!x, V = s ? "bg-blue-600 text-white ring-4 ring-blue-600 ring-offset-4 ring-offset-white dark:ring-offset-gray-900 border-transparent" : "bg-gray-100 dark:bg-gray-800 border border-gray-200 dark:border-gray-700 hover:border-gray-300 dark:hover:border-gray-600 hover:shadow-md", z = () => {
|
|
2804
|
+
!w && !I && a();
|
|
2805
|
+
}, _ = (k) => {
|
|
2806
|
+
!w && !I && (k.key === "Enter" || k.key === " ") && (k.preventDefault(), a());
|
|
2807
|
+
}, G = (k) => {
|
|
2808
|
+
k.stopPropagation(), x?.onClick && x.onClick();
|
|
2806
2809
|
};
|
|
2807
|
-
return /* @__PURE__ */
|
|
2810
|
+
return /* @__PURE__ */ D(
|
|
2808
2811
|
"div",
|
|
2809
2812
|
{
|
|
2810
|
-
className:
|
|
2811
|
-
"relative
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2813
|
+
className: N(
|
|
2814
|
+
"relative rounded-2xl p-6 transition-all flex flex-col",
|
|
2815
|
+
w ? "opacity-50 cursor-not-allowed" : I ? "cursor-default" : "cursor-pointer",
|
|
2816
|
+
V,
|
|
2817
|
+
R
|
|
2815
2818
|
),
|
|
2816
|
-
onClick:
|
|
2817
|
-
onKeyDown:
|
|
2818
|
-
role: "radio",
|
|
2819
|
-
"aria-checked":
|
|
2820
|
-
"aria-label":
|
|
2821
|
-
"aria-disabled":
|
|
2822
|
-
tabIndex:
|
|
2819
|
+
onClick: z,
|
|
2820
|
+
onKeyDown: _,
|
|
2821
|
+
role: I ? "article" : "radio",
|
|
2822
|
+
"aria-checked": I ? void 0 : s,
|
|
2823
|
+
"aria-label": L || `${o} - ${r}${t || ""}`,
|
|
2824
|
+
"aria-disabled": w,
|
|
2825
|
+
tabIndex: I || w ? -1 : 0,
|
|
2823
2826
|
children: [
|
|
2824
|
-
|
|
2827
|
+
m && /* @__PURE__ */ g("div", { className: "absolute -top-3 left-1/2 transform -translate-x-1/2", children: /* @__PURE__ */ g(
|
|
2825
2828
|
"span",
|
|
2826
2829
|
{
|
|
2827
|
-
className:
|
|
2828
|
-
jr[
|
|
2830
|
+
className: N(
|
|
2831
|
+
jr[m.color],
|
|
2829
2832
|
"text-white px-3 py-1 rounded-full text-sm font-semibold shadow-lg whitespace-nowrap"
|
|
2830
2833
|
),
|
|
2831
|
-
children:
|
|
2834
|
+
children: m.text
|
|
2832
2835
|
}
|
|
2833
2836
|
) }),
|
|
2834
|
-
/* @__PURE__ */
|
|
2835
|
-
/* @__PURE__ */
|
|
2836
|
-
/* @__PURE__ */
|
|
2837
|
-
|
|
2838
|
-
|
|
2837
|
+
/* @__PURE__ */ D("div", { className: "flex flex-col flex-grow", children: [
|
|
2838
|
+
/* @__PURE__ */ D("div", { className: "text-center mb-6", children: [
|
|
2839
|
+
/* @__PURE__ */ g(
|
|
2840
|
+
"h3",
|
|
2841
|
+
{
|
|
2842
|
+
className: N(
|
|
2843
|
+
be.heading.h4(),
|
|
2844
|
+
"mb-2",
|
|
2845
|
+
s ? "text-white" : ""
|
|
2846
|
+
),
|
|
2847
|
+
children: o
|
|
2848
|
+
}
|
|
2849
|
+
),
|
|
2850
|
+
/* @__PURE__ */ D("div", { className: "mb-3", children: [
|
|
2851
|
+
/* @__PURE__ */ g(
|
|
2839
2852
|
"span",
|
|
2840
2853
|
{
|
|
2841
|
-
className:
|
|
2854
|
+
className: N(
|
|
2842
2855
|
"text-4xl font-bold",
|
|
2843
|
-
|
|
2856
|
+
s ? "text-white" : "text-gray-900 dark:text-gray-100"
|
|
2844
2857
|
),
|
|
2845
2858
|
children: r
|
|
2846
2859
|
}
|
|
2847
2860
|
),
|
|
2848
|
-
t && /* @__PURE__ */
|
|
2861
|
+
t && /* @__PURE__ */ g(
|
|
2862
|
+
"span",
|
|
2863
|
+
{
|
|
2864
|
+
className: N(
|
|
2865
|
+
"text-lg",
|
|
2866
|
+
s ? "text-blue-100" : "text-gray-500 dark:text-gray-400"
|
|
2867
|
+
),
|
|
2868
|
+
children: t
|
|
2869
|
+
}
|
|
2870
|
+
)
|
|
2849
2871
|
] }),
|
|
2850
|
-
|
|
2872
|
+
c && /* @__PURE__ */ g(
|
|
2851
2873
|
"div",
|
|
2852
2874
|
{
|
|
2853
|
-
className:
|
|
2875
|
+
className: N(
|
|
2854
2876
|
"inline-flex items-center px-2 py-1 rounded-full text-sm font-semibold",
|
|
2855
|
-
|
|
2877
|
+
s ? "bg-blue-500 text-white" : "bg-green-100 text-green-700 dark:bg-green-900/50 dark:text-green-300"
|
|
2856
2878
|
),
|
|
2857
|
-
children:
|
|
2879
|
+
children: c.text
|
|
2858
2880
|
}
|
|
2859
2881
|
)
|
|
2860
2882
|
] }),
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
/* @__PURE__ */
|
|
2864
|
-
"
|
|
2883
|
+
P,
|
|
2884
|
+
n.length > 0 && /* @__PURE__ */ g("div", { className: "space-y-3 mb-6 flex-grow", children: n.map((k, u) => /* @__PURE__ */ D("div", { className: "flex items-start", children: [
|
|
2885
|
+
/* @__PURE__ */ g(
|
|
2886
|
+
"svg",
|
|
2865
2887
|
{
|
|
2866
|
-
className:
|
|
2867
|
-
"
|
|
2868
|
-
|
|
2888
|
+
className: N(
|
|
2889
|
+
"w-5 h-5 mr-3 flex-shrink-0",
|
|
2890
|
+
s ? "text-blue-200" : "text-green-500"
|
|
2869
2891
|
),
|
|
2870
|
-
|
|
2892
|
+
fill: "none",
|
|
2893
|
+
stroke: "currentColor",
|
|
2894
|
+
viewBox: "0 0 24 24",
|
|
2895
|
+
children: /* @__PURE__ */ g(
|
|
2896
|
+
"path",
|
|
2897
|
+
{
|
|
2898
|
+
strokeLinecap: "round",
|
|
2899
|
+
strokeLinejoin: "round",
|
|
2900
|
+
strokeWidth: 2,
|
|
2901
|
+
d: "M5 13l4 4L19 7"
|
|
2902
|
+
}
|
|
2903
|
+
)
|
|
2871
2904
|
}
|
|
2872
2905
|
),
|
|
2873
|
-
/* @__PURE__ */
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2906
|
+
/* @__PURE__ */ g(
|
|
2907
|
+
"span",
|
|
2908
|
+
{
|
|
2909
|
+
className: N(
|
|
2910
|
+
"text-sm text-left",
|
|
2911
|
+
s ? "text-white" : "text-gray-700 dark:text-gray-300"
|
|
2912
|
+
),
|
|
2913
|
+
children: k.replace(/^✓\s*/, "")
|
|
2914
|
+
}
|
|
2915
|
+
)
|
|
2916
|
+
] }, u)) }),
|
|
2917
|
+
p && /* @__PURE__ */ D(
|
|
2883
2918
|
"div",
|
|
2884
2919
|
{
|
|
2885
|
-
className:
|
|
2920
|
+
className: N(
|
|
2921
|
+
"rounded-lg p-4 mb-4",
|
|
2922
|
+
s ? "bg-blue-500/30" : "bg-gradient-to-r from-purple-50 to-blue-50 dark:from-purple-900/20 dark:to-blue-900/20"
|
|
2923
|
+
),
|
|
2924
|
+
children: [
|
|
2925
|
+
/* @__PURE__ */ g("div", { className: "flex items-center mb-2", children: /* @__PURE__ */ g(
|
|
2926
|
+
"span",
|
|
2927
|
+
{
|
|
2928
|
+
className: N(
|
|
2929
|
+
"font-semibold text-sm",
|
|
2930
|
+
s ? "text-white" : "text-purple-600 dark:text-purple-400"
|
|
2931
|
+
),
|
|
2932
|
+
children: p.title
|
|
2933
|
+
}
|
|
2934
|
+
) }),
|
|
2935
|
+
/* @__PURE__ */ g(
|
|
2936
|
+
"ul",
|
|
2937
|
+
{
|
|
2938
|
+
className: N(
|
|
2939
|
+
"text-xs space-y-1",
|
|
2940
|
+
s ? "text-blue-100" : "text-gray-600 dark:text-gray-400"
|
|
2941
|
+
),
|
|
2942
|
+
children: p.features.map((k, u) => /* @__PURE__ */ D("li", { children: [
|
|
2943
|
+
"• ",
|
|
2944
|
+
k
|
|
2945
|
+
] }, u))
|
|
2946
|
+
}
|
|
2947
|
+
)
|
|
2948
|
+
]
|
|
2949
|
+
}
|
|
2950
|
+
),
|
|
2951
|
+
y && /* @__PURE__ */ g(
|
|
2952
|
+
"div",
|
|
2953
|
+
{
|
|
2954
|
+
className: N(
|
|
2886
2955
|
"text-center text-sm font-medium mb-4",
|
|
2887
|
-
|
|
2956
|
+
s ? "text-blue-100" : "text-blue-600 dark:text-blue-400"
|
|
2888
2957
|
),
|
|
2889
|
-
children:
|
|
2958
|
+
children: y
|
|
2890
2959
|
}
|
|
2891
2960
|
)
|
|
2892
2961
|
] }),
|
|
2893
|
-
/* @__PURE__ */
|
|
2894
|
-
|
|
2895
|
-
/* @__PURE__ */ h("div", { className: "flex justify-center", children: /* @__PURE__ */ h(
|
|
2962
|
+
/* @__PURE__ */ D("div", { className: "mt-auto space-y-4", children: [
|
|
2963
|
+
C && /* @__PURE__ */ g(
|
|
2896
2964
|
"div",
|
|
2897
2965
|
{
|
|
2898
|
-
className:
|
|
2899
|
-
"
|
|
2900
|
-
|
|
2966
|
+
className: N(
|
|
2967
|
+
"p-3 rounded-lg",
|
|
2968
|
+
s ? "bg-blue-500/30" : "bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800"
|
|
2901
2969
|
),
|
|
2902
|
-
children:
|
|
2970
|
+
children: /* @__PURE__ */ g(
|
|
2971
|
+
"p",
|
|
2972
|
+
{
|
|
2973
|
+
className: N(
|
|
2974
|
+
"text-sm font-semibold text-center",
|
|
2975
|
+
s ? "text-white" : "text-yellow-700 dark:text-yellow-300"
|
|
2976
|
+
),
|
|
2977
|
+
children: C
|
|
2978
|
+
}
|
|
2979
|
+
)
|
|
2903
2980
|
}
|
|
2904
|
-
)
|
|
2981
|
+
),
|
|
2982
|
+
I ? (
|
|
2983
|
+
// CTA Button - like pricing page
|
|
2984
|
+
x.href ? /* @__PURE__ */ g(
|
|
2985
|
+
"a",
|
|
2986
|
+
{
|
|
2987
|
+
href: x.href,
|
|
2988
|
+
className: N(
|
|
2989
|
+
"block w-full py-3 font-semibold rounded-lg text-center transition-colors",
|
|
2990
|
+
s ? "bg-white text-blue-600 hover:bg-gray-100" : "bg-blue-600 text-white hover:bg-blue-700"
|
|
2991
|
+
),
|
|
2992
|
+
onClick: (k) => k.stopPropagation(),
|
|
2993
|
+
children: x.label
|
|
2994
|
+
}
|
|
2995
|
+
) : /* @__PURE__ */ g(
|
|
2996
|
+
"button",
|
|
2997
|
+
{
|
|
2998
|
+
onClick: G,
|
|
2999
|
+
disabled: w,
|
|
3000
|
+
className: N(
|
|
3001
|
+
"w-full py-3 font-semibold rounded-lg transition-colors",
|
|
3002
|
+
s ? "bg-white text-blue-600 hover:bg-gray-100" : "bg-blue-600 text-white hover:bg-blue-700",
|
|
3003
|
+
w && "opacity-50 cursor-not-allowed"
|
|
3004
|
+
),
|
|
3005
|
+
children: x.label
|
|
3006
|
+
}
|
|
3007
|
+
)
|
|
3008
|
+
) : (
|
|
3009
|
+
// Radio button indicator (Style 1)
|
|
3010
|
+
/* @__PURE__ */ g("div", { className: "flex justify-center", children: /* @__PURE__ */ g(
|
|
3011
|
+
"div",
|
|
3012
|
+
{
|
|
3013
|
+
className: N(
|
|
3014
|
+
"w-5 h-5 rounded-full border-2 flex items-center justify-center",
|
|
3015
|
+
s ? "border-white bg-white" : "border-gray-300 dark:border-gray-600"
|
|
3016
|
+
),
|
|
3017
|
+
children: s && /* @__PURE__ */ g("div", { className: "w-2 h-2 rounded-full bg-blue-600" })
|
|
3018
|
+
}
|
|
3019
|
+
) })
|
|
3020
|
+
)
|
|
2905
3021
|
] })
|
|
2906
3022
|
]
|
|
2907
3023
|
}
|
|
@@ -2910,59 +3026,62 @@ const jr = {
|
|
|
2910
3026
|
title: e,
|
|
2911
3027
|
children: o,
|
|
2912
3028
|
error: r,
|
|
2913
|
-
|
|
3029
|
+
variant: t = "selection",
|
|
3030
|
+
currentStatus: n,
|
|
2914
3031
|
primaryAction: s,
|
|
2915
|
-
secondaryAction:
|
|
2916
|
-
minTileWidth:
|
|
2917
|
-
className:
|
|
2918
|
-
headerContent:
|
|
2919
|
-
|
|
2920
|
-
|
|
3032
|
+
secondaryAction: a,
|
|
3033
|
+
minTileWidth: m = 240,
|
|
3034
|
+
className: c,
|
|
3035
|
+
headerContent: p,
|
|
3036
|
+
aboveProducts: y,
|
|
3037
|
+
footerContent: C,
|
|
3038
|
+
currentStatusLabel: T = "Current Status"
|
|
2921
3039
|
}) => {
|
|
2922
|
-
const
|
|
3040
|
+
const x = t === "selection" && s, R = {
|
|
2923
3041
|
display: "grid",
|
|
2924
|
-
gridTemplateColumns: `repeat(auto-fit, minmax(min(100%, ${
|
|
3042
|
+
gridTemplateColumns: `repeat(auto-fit, minmax(min(100%, ${m}px), 1fr))`,
|
|
2925
3043
|
gap: "1.5rem"
|
|
2926
3044
|
};
|
|
2927
|
-
return /* @__PURE__ */
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
/* @__PURE__ */
|
|
2931
|
-
|
|
2932
|
-
/* @__PURE__ */
|
|
2933
|
-
/* @__PURE__ */
|
|
2934
|
-
/* @__PURE__ */
|
|
3045
|
+
return /* @__PURE__ */ g(We, { className: c, children: /* @__PURE__ */ D(Ue, { className: "pt-6", children: [
|
|
3046
|
+
p,
|
|
3047
|
+
n && /* @__PURE__ */ D($e, { children: [
|
|
3048
|
+
/* @__PURE__ */ g("h2", { className: N(be.heading.h3(), "mb-4"), children: T }),
|
|
3049
|
+
n.isActive ? /* @__PURE__ */ D("div", { className: "bg-green-50 dark:bg-green-900/20 border border-green-200 dark:border-green-800 rounded-lg p-4 mb-6", children: [
|
|
3050
|
+
/* @__PURE__ */ D("div", { className: "flex items-center mb-2", children: [
|
|
3051
|
+
/* @__PURE__ */ g("div", { className: "w-3 h-3 bg-green-500 rounded-full mr-3" }),
|
|
3052
|
+
/* @__PURE__ */ g("span", { className: "font-semibold text-green-800 dark:text-green-300", children: n.activeContent?.title || "Active Subscription" })
|
|
2935
3053
|
] }),
|
|
2936
|
-
|
|
2937
|
-
(
|
|
2938
|
-
/* @__PURE__ */
|
|
2939
|
-
/* @__PURE__ */
|
|
2940
|
-
] },
|
|
3054
|
+
n.activeContent?.fields && n.activeContent.fields.length > 0 && /* @__PURE__ */ g("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4 mt-4", children: n.activeContent.fields.map(
|
|
3055
|
+
(P, w) => /* @__PURE__ */ D("div", { children: [
|
|
3056
|
+
/* @__PURE__ */ g("p", { className: "text-sm text-green-600 dark:text-green-400", children: P.label }),
|
|
3057
|
+
/* @__PURE__ */ g("p", { className: "font-semibold text-green-800 dark:text-green-300", children: P.value })
|
|
3058
|
+
] }, w)
|
|
2941
3059
|
) })
|
|
2942
|
-
] }) : /* @__PURE__ */
|
|
2943
|
-
/* @__PURE__ */
|
|
2944
|
-
/* @__PURE__ */
|
|
2945
|
-
/* @__PURE__ */
|
|
3060
|
+
] }) : /* @__PURE__ */ D("div", { className: "bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg p-4 mb-6", children: [
|
|
3061
|
+
/* @__PURE__ */ D("div", { className: "flex items-center mb-2", children: [
|
|
3062
|
+
/* @__PURE__ */ g("div", { className: "w-3 h-3 bg-yellow-500 rounded-full mr-3" }),
|
|
3063
|
+
/* @__PURE__ */ g("span", { className: "font-semibold text-yellow-800 dark:text-yellow-300", children: n.inactiveContent?.title || "No Active Subscription" })
|
|
2946
3064
|
] }),
|
|
2947
|
-
|
|
3065
|
+
n.inactiveContent?.message && /* @__PURE__ */ g("p", { className: "text-yellow-700 dark:text-yellow-400", children: n.inactiveContent.message })
|
|
2948
3066
|
] })
|
|
2949
3067
|
] }),
|
|
2950
|
-
/* @__PURE__ */
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
/* @__PURE__ */
|
|
2955
|
-
|
|
3068
|
+
/* @__PURE__ */ g("h2", { className: N(be.heading.h3(), "mb-4"), children: e }),
|
|
3069
|
+
y,
|
|
3070
|
+
/* @__PURE__ */ g("div", { style: R, children: o }),
|
|
3071
|
+
C,
|
|
3072
|
+
r && /* @__PURE__ */ g("div", { className: "bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-lg p-4 mt-6", children: /* @__PURE__ */ g("p", { className: "text-red-600 dark:text-red-400", children: r }) }),
|
|
3073
|
+
x && /* @__PURE__ */ D("div", { className: "flex flex-col sm:flex-row gap-3 mt-6", children: [
|
|
3074
|
+
a && /* @__PURE__ */ g(
|
|
2956
3075
|
ve,
|
|
2957
3076
|
{
|
|
2958
|
-
onClick:
|
|
2959
|
-
disabled:
|
|
3077
|
+
onClick: a.onClick,
|
|
3078
|
+
disabled: a.disabled || a.loading,
|
|
2960
3079
|
variant: "outline",
|
|
2961
3080
|
className: "sm:flex-shrink-0",
|
|
2962
|
-
children:
|
|
3081
|
+
children: a.label
|
|
2963
3082
|
}
|
|
2964
3083
|
),
|
|
2965
|
-
/* @__PURE__ */
|
|
3084
|
+
/* @__PURE__ */ g(
|
|
2966
3085
|
ve,
|
|
2967
3086
|
{
|
|
2968
3087
|
onClick: s.onClick,
|
|
@@ -2974,9 +3093,55 @@ const jr = {
|
|
|
2974
3093
|
] })
|
|
2975
3094
|
] }) });
|
|
2976
3095
|
};
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
3096
|
+
function Kr({
|
|
3097
|
+
options: e,
|
|
3098
|
+
value: o,
|
|
3099
|
+
onChange: r,
|
|
3100
|
+
className: t,
|
|
3101
|
+
disabled: n = !1,
|
|
3102
|
+
size: s = "md"
|
|
3103
|
+
}) {
|
|
3104
|
+
const a = {
|
|
3105
|
+
sm: "px-3 py-1.5 text-xs",
|
|
3106
|
+
md: "px-4 py-2 text-sm",
|
|
3107
|
+
lg: "px-6 py-3 text-base"
|
|
3108
|
+
};
|
|
3109
|
+
return /* @__PURE__ */ g(
|
|
3110
|
+
"div",
|
|
3111
|
+
{
|
|
3112
|
+
className: N(
|
|
3113
|
+
"inline-flex rounded-lg bg-gray-100 dark:bg-gray-800 p-1",
|
|
3114
|
+
n && "opacity-50",
|
|
3115
|
+
t
|
|
3116
|
+
),
|
|
3117
|
+
role: "radiogroup",
|
|
3118
|
+
children: e.map((m) => {
|
|
3119
|
+
const c = o === m.value;
|
|
3120
|
+
return /* @__PURE__ */ g(
|
|
3121
|
+
"button",
|
|
3122
|
+
{
|
|
3123
|
+
type: "button",
|
|
3124
|
+
role: "radio",
|
|
3125
|
+
"aria-checked": c,
|
|
3126
|
+
disabled: n,
|
|
3127
|
+
onClick: () => !n && r(m.value),
|
|
3128
|
+
className: N(
|
|
3129
|
+
a[s],
|
|
3130
|
+
"font-medium rounded-md transition-all focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2",
|
|
3131
|
+
c ? "bg-white dark:bg-gray-700 text-gray-900 dark:text-white shadow-sm" : "text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white",
|
|
3132
|
+
n && "cursor-not-allowed"
|
|
3133
|
+
),
|
|
3134
|
+
children: m.label
|
|
3135
|
+
},
|
|
3136
|
+
m.value
|
|
3137
|
+
);
|
|
3138
|
+
})
|
|
3139
|
+
}
|
|
3140
|
+
);
|
|
3141
|
+
}
|
|
3142
|
+
let pe = null;
|
|
3143
|
+
const Lr = async () => (pe || (pe = await import("@revenuecat/purchases-js")), pe);
|
|
3144
|
+
let M = null;
|
|
2980
3145
|
const _r = (e) => {
|
|
2981
3146
|
const o = e.rcBillingProduct, r = o?.defaultSubscriptionOption;
|
|
2982
3147
|
return {
|
|
@@ -3007,171 +3172,171 @@ const _r = (e) => {
|
|
|
3007
3172
|
} : { isActive: !1 };
|
|
3008
3173
|
}, Ve = Be(
|
|
3009
3174
|
void 0
|
|
3010
|
-
),
|
|
3175
|
+
), qr = ({
|
|
3011
3176
|
apiKey: e,
|
|
3012
3177
|
entitlementId: o,
|
|
3013
3178
|
userEmail: r,
|
|
3014
3179
|
onError: t,
|
|
3015
|
-
onPurchaseSuccess:
|
|
3016
|
-
children:
|
|
3180
|
+
onPurchaseSuccess: n,
|
|
3181
|
+
children: s
|
|
3017
3182
|
}) => {
|
|
3018
|
-
const [
|
|
3019
|
-
|
|
3020
|
-
}, []),
|
|
3021
|
-
if (
|
|
3183
|
+
const [a, m] = B([]), [c, p] = B(null), [y, C] = B(!1), [T, x] = B(null), [R, P] = B(!1), [w, L] = B(null), [I, V] = B(null), z = !e || e === "your_revenuecat_api_key_here", _ = W(() => {
|
|
3184
|
+
m([]), p(null), V(null), x(null), P(!1), L(null), M = null;
|
|
3185
|
+
}, []), G = W(async () => {
|
|
3186
|
+
if (M)
|
|
3022
3187
|
try {
|
|
3023
|
-
const
|
|
3024
|
-
if (
|
|
3025
|
-
|
|
3026
|
-
const
|
|
3188
|
+
const f = await M.getOfferings();
|
|
3189
|
+
if (f.current) {
|
|
3190
|
+
V(f.current);
|
|
3191
|
+
const h = f.current.availablePackages.map(
|
|
3027
3192
|
_r
|
|
3028
3193
|
);
|
|
3029
|
-
|
|
3194
|
+
m(h);
|
|
3030
3195
|
}
|
|
3031
|
-
} catch (
|
|
3032
|
-
const
|
|
3033
|
-
x(
|
|
3196
|
+
} catch (f) {
|
|
3197
|
+
const h = f instanceof Error ? f.message : "Failed to load offerings";
|
|
3198
|
+
x(h), t?.(f instanceof Error ? f : new Error(h));
|
|
3034
3199
|
}
|
|
3035
|
-
}, [t]),
|
|
3036
|
-
if (
|
|
3200
|
+
}, [t]), k = W(async () => {
|
|
3201
|
+
if (M)
|
|
3037
3202
|
try {
|
|
3038
|
-
const
|
|
3039
|
-
|
|
3040
|
-
} catch (
|
|
3041
|
-
const
|
|
3042
|
-
x(
|
|
3203
|
+
const f = await M.getCustomerInfo(), h = ge(f, o);
|
|
3204
|
+
p(h.isActive ? h : null);
|
|
3205
|
+
} catch (f) {
|
|
3206
|
+
const h = f instanceof Error ? f.message : "Failed to load subscription status";
|
|
3207
|
+
x(h), t?.(f instanceof Error ? f : new Error(h));
|
|
3043
3208
|
}
|
|
3044
|
-
}, [o, t]),
|
|
3045
|
-
async (
|
|
3046
|
-
if (
|
|
3209
|
+
}, [o, t]), u = W(
|
|
3210
|
+
async (f, h) => {
|
|
3211
|
+
if (w && w !== f && _(), !(R && w === f))
|
|
3047
3212
|
try {
|
|
3048
|
-
if (
|
|
3213
|
+
if (C(!0), x(null), z)
|
|
3049
3214
|
console.warn(
|
|
3050
3215
|
"[SubscriptionProvider] RevenueCat API key not configured"
|
|
3051
|
-
),
|
|
3216
|
+
), m([]), p(null);
|
|
3052
3217
|
else {
|
|
3053
|
-
const
|
|
3218
|
+
const v = await Lr(), O = {
|
|
3054
3219
|
apiKey: e,
|
|
3055
|
-
appUserId:
|
|
3220
|
+
appUserId: f
|
|
3056
3221
|
};
|
|
3057
|
-
|
|
3058
|
-
const
|
|
3059
|
-
if (
|
|
3222
|
+
M = v.Purchases.configure(O);
|
|
3223
|
+
const d = h || r;
|
|
3224
|
+
if (d && M)
|
|
3060
3225
|
try {
|
|
3061
|
-
await
|
|
3226
|
+
await M.setAttributes({ email: d });
|
|
3062
3227
|
} catch {
|
|
3063
3228
|
}
|
|
3064
|
-
await Promise.all([
|
|
3229
|
+
await Promise.all([G(), k()]);
|
|
3065
3230
|
}
|
|
3066
|
-
|
|
3067
|
-
} catch (
|
|
3068
|
-
const
|
|
3069
|
-
x(
|
|
3231
|
+
L(f), P(!0);
|
|
3232
|
+
} catch (v) {
|
|
3233
|
+
const O = v instanceof Error ? v.message : "Failed to initialize";
|
|
3234
|
+
x(O), p(null), m([]), t?.(v instanceof Error ? v : new Error(O));
|
|
3070
3235
|
} finally {
|
|
3071
|
-
|
|
3236
|
+
C(!1);
|
|
3072
3237
|
}
|
|
3073
3238
|
},
|
|
3074
3239
|
[
|
|
3075
|
-
P,
|
|
3076
|
-
M,
|
|
3077
3240
|
w,
|
|
3241
|
+
R,
|
|
3242
|
+
z,
|
|
3078
3243
|
e,
|
|
3079
3244
|
r,
|
|
3080
|
-
|
|
3081
|
-
|
|
3245
|
+
G,
|
|
3246
|
+
k,
|
|
3082
3247
|
t,
|
|
3083
|
-
|
|
3248
|
+
_
|
|
3084
3249
|
]
|
|
3085
|
-
),
|
|
3086
|
-
async (
|
|
3250
|
+
), F = W(
|
|
3251
|
+
async (f) => {
|
|
3087
3252
|
try {
|
|
3088
|
-
if (
|
|
3253
|
+
if (C(!0), x(null), z) {
|
|
3089
3254
|
await new Promise((te) => setTimeout(te, 2e3));
|
|
3090
3255
|
const q = {
|
|
3091
3256
|
isActive: !0,
|
|
3092
3257
|
expirationDate: new Date(Date.now() + 365 * 24 * 60 * 60 * 1e3),
|
|
3093
3258
|
purchaseDate: /* @__PURE__ */ new Date(),
|
|
3094
|
-
productIdentifier:
|
|
3259
|
+
productIdentifier: f,
|
|
3095
3260
|
willRenew: !0
|
|
3096
3261
|
};
|
|
3097
|
-
return
|
|
3262
|
+
return p(q), n?.(f), !0;
|
|
3098
3263
|
}
|
|
3099
|
-
if (!
|
|
3264
|
+
if (!M || !I)
|
|
3100
3265
|
throw new Error("Subscription service not initialized");
|
|
3101
|
-
const
|
|
3102
|
-
(q) => q.identifier ===
|
|
3266
|
+
const v = I.availablePackages.find(
|
|
3267
|
+
(q) => q.identifier === f
|
|
3103
3268
|
);
|
|
3104
|
-
if (!
|
|
3105
|
-
throw new Error(`Package not found: ${
|
|
3106
|
-
const
|
|
3107
|
-
rcPackage:
|
|
3269
|
+
if (!v)
|
|
3270
|
+
throw new Error(`Package not found: ${f}`);
|
|
3271
|
+
const O = await M.purchase({
|
|
3272
|
+
rcPackage: v,
|
|
3108
3273
|
...r ? { customerEmail: r } : {}
|
|
3109
|
-
}),
|
|
3110
|
-
return
|
|
3111
|
-
} catch (
|
|
3112
|
-
const
|
|
3113
|
-
return x(
|
|
3274
|
+
}), d = ge(O.customerInfo, o);
|
|
3275
|
+
return p(d.isActive ? d : null), d.isActive && n?.(f), d.isActive;
|
|
3276
|
+
} catch (h) {
|
|
3277
|
+
const v = h instanceof Error ? h.message : "Purchase failed";
|
|
3278
|
+
return x(v), t?.(h instanceof Error ? h : new Error(v)), !1;
|
|
3114
3279
|
} finally {
|
|
3115
|
-
|
|
3280
|
+
C(!1);
|
|
3116
3281
|
}
|
|
3117
3282
|
},
|
|
3118
3283
|
[
|
|
3119
|
-
|
|
3120
|
-
|
|
3284
|
+
z,
|
|
3285
|
+
I,
|
|
3121
3286
|
r,
|
|
3122
3287
|
o,
|
|
3123
|
-
|
|
3288
|
+
n,
|
|
3124
3289
|
t
|
|
3125
3290
|
]
|
|
3126
3291
|
), Z = W(async () => {
|
|
3127
3292
|
try {
|
|
3128
|
-
if (
|
|
3129
|
-
return await new Promise((
|
|
3130
|
-
if (!
|
|
3293
|
+
if (C(!0), x(null), z)
|
|
3294
|
+
return await new Promise((v) => setTimeout(v, 1e3)), x("No previous purchases found"), !1;
|
|
3295
|
+
if (!M)
|
|
3131
3296
|
throw new Error("Subscription service not initialized");
|
|
3132
|
-
const
|
|
3133
|
-
return
|
|
3134
|
-
} catch (
|
|
3135
|
-
const
|
|
3136
|
-
return x(
|
|
3297
|
+
const f = await M.getCustomerInfo(), h = ge(f, o);
|
|
3298
|
+
return p(h.isActive ? h : null), h.isActive || x("No previous purchases found"), h.isActive;
|
|
3299
|
+
} catch (f) {
|
|
3300
|
+
const h = f instanceof Error ? f.message : "Restore failed";
|
|
3301
|
+
return x(h), t?.(f instanceof Error ? f : new Error(h)), !1;
|
|
3137
3302
|
} finally {
|
|
3138
|
-
|
|
3303
|
+
C(!1);
|
|
3139
3304
|
}
|
|
3140
|
-
}, [
|
|
3141
|
-
if (!
|
|
3305
|
+
}, [z, o, t]), ee = W(async () => {
|
|
3306
|
+
if (!z)
|
|
3142
3307
|
try {
|
|
3143
|
-
x(null), await Promise.all([
|
|
3144
|
-
} catch (
|
|
3145
|
-
const
|
|
3146
|
-
x(
|
|
3308
|
+
x(null), await Promise.all([k(), G()]);
|
|
3309
|
+
} catch (f) {
|
|
3310
|
+
const h = f instanceof Error ? f.message : "Refresh failed";
|
|
3311
|
+
x(h), t?.(f instanceof Error ? f : new Error(h));
|
|
3147
3312
|
}
|
|
3148
|
-
}, [
|
|
3313
|
+
}, [z, k, G, t]), K = W(() => {
|
|
3149
3314
|
x(null);
|
|
3150
3315
|
}, []);
|
|
3151
3316
|
Ye(() => {
|
|
3152
|
-
if (!
|
|
3153
|
-
const
|
|
3317
|
+
if (!R || z || !M) return;
|
|
3318
|
+
const f = setInterval(
|
|
3154
3319
|
() => {
|
|
3155
|
-
|
|
3320
|
+
k().catch(() => {
|
|
3156
3321
|
});
|
|
3157
3322
|
},
|
|
3158
3323
|
300 * 1e3
|
|
3159
3324
|
);
|
|
3160
|
-
return () => clearInterval(
|
|
3161
|
-
}, [
|
|
3325
|
+
return () => clearInterval(f);
|
|
3326
|
+
}, [R, z, k]);
|
|
3162
3327
|
const re = {
|
|
3163
|
-
products:
|
|
3164
|
-
currentSubscription:
|
|
3165
|
-
isLoading:
|
|
3166
|
-
error:
|
|
3167
|
-
initialize:
|
|
3168
|
-
purchase:
|
|
3328
|
+
products: a,
|
|
3329
|
+
currentSubscription: c,
|
|
3330
|
+
isLoading: y,
|
|
3331
|
+
error: T,
|
|
3332
|
+
initialize: u,
|
|
3333
|
+
purchase: F,
|
|
3169
3334
|
restore: Z,
|
|
3170
3335
|
refresh: ee,
|
|
3171
3336
|
clearError: K
|
|
3172
3337
|
};
|
|
3173
|
-
return /* @__PURE__ */
|
|
3174
|
-
},
|
|
3338
|
+
return /* @__PURE__ */ g(Ve.Provider, { value: re, children: s });
|
|
3339
|
+
}, Xr = () => {
|
|
3175
3340
|
const e = Ke(Ve);
|
|
3176
3341
|
if (!e)
|
|
3177
3342
|
throw new Error(
|
|
@@ -3194,18 +3359,19 @@ const _r = (e) => {
|
|
|
3194
3359
|
o.forEach((r) => sessionStorage.removeItem(r));
|
|
3195
3360
|
} catch {
|
|
3196
3361
|
}
|
|
3197
|
-
},
|
|
3362
|
+
}, Jr = () => {
|
|
3198
3363
|
try {
|
|
3199
|
-
|
|
3364
|
+
M && (M.close(), M = null), Fr();
|
|
3200
3365
|
} catch {
|
|
3201
3366
|
}
|
|
3202
3367
|
};
|
|
3203
3368
|
export {
|
|
3369
|
+
Kr as SegmentedControl,
|
|
3204
3370
|
Yr as SubscriptionLayout,
|
|
3205
|
-
|
|
3371
|
+
qr as SubscriptionProvider,
|
|
3206
3372
|
Br as SubscriptionTile,
|
|
3207
3373
|
Fr as clearRevenueCatCheckoutSessions,
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3374
|
+
Jr as closeRevenueCatInstance,
|
|
3375
|
+
N as cn,
|
|
3376
|
+
Xr as useSubscriptionContext
|
|
3211
3377
|
};
|