@sudobility/subscription-components 1.0.5 → 1.0.9
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.esm.js +832 -802
- package/dist/index.umd.js +1 -1
- package/dist/subscription-layout.d.ts +7 -1
- package/dist/subscription-layout.d.ts.map +1 -1
- package/dist/subscription-provider.d.ts.map +1 -1
- package/dist/subscription-tile.d.ts +7 -1
- package/dist/subscription-tile.d.ts.map +1 -1
- package/dist/types.d.ts +14 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -1,128 +1,128 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { textVariants as
|
|
3
|
-
import { Card as Be, CardContent as
|
|
4
|
-
import { createContext as
|
|
5
|
-
function
|
|
6
|
-
var o,
|
|
7
|
-
if (typeof e == "string" || typeof e == "number")
|
|
1
|
+
import { jsxs as G, jsx as g, Fragment as We } from "react/jsx-runtime";
|
|
2
|
+
import { textVariants as he } from "@sudobility/design";
|
|
3
|
+
import { Card as Be, CardContent as Ue, Button as ve } from "@sudobility/components";
|
|
4
|
+
import { createContext as Ke, useState as Y, useCallback as q, useEffect as Ye, useContext as qe } from "react";
|
|
5
|
+
function Re(e) {
|
|
6
|
+
var o, t, r = "";
|
|
7
|
+
if (typeof e == "string" || typeof e == "number") r += e;
|
|
8
8
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
9
9
|
var s = e.length;
|
|
10
|
-
for (o = 0; o < s; o++) e[o] && (
|
|
11
|
-
} else for (
|
|
12
|
-
return
|
|
13
|
-
}
|
|
14
|
-
function qe() {
|
|
15
|
-
for (var e, o, r = 0, t = "", s = arguments.length; r < s; r++) (e = arguments[r]) && (o = Se(e)) && (t && (t += " "), t += o);
|
|
16
|
-
return t;
|
|
10
|
+
for (o = 0; o < s; o++) e[o] && (t = Re(e[o])) && (r && (r += " "), r += t);
|
|
11
|
+
} else for (t in e) e[t] && (r && (r += " "), r += t);
|
|
12
|
+
return r;
|
|
17
13
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
for (let t = 0; t < e.length; t++)
|
|
21
|
-
r[t] = e[t];
|
|
22
|
-
for (let t = 0; t < o.length; t++)
|
|
23
|
-
r[e.length + t] = o[t];
|
|
14
|
+
function Xe() {
|
|
15
|
+
for (var e, o, t = 0, r = "", s = arguments.length; t < s; t++) (e = arguments[t]) && (o = Re(e)) && (r && (r += " "), r += o);
|
|
24
16
|
return r;
|
|
25
|
-
}
|
|
17
|
+
}
|
|
18
|
+
const Je = (e, o) => {
|
|
19
|
+
const t = new Array(e.length + o.length);
|
|
20
|
+
for (let r = 0; r < e.length; r++)
|
|
21
|
+
t[r] = e[r];
|
|
22
|
+
for (let r = 0; r < o.length; r++)
|
|
23
|
+
t[e.length + r] = o[r];
|
|
24
|
+
return t;
|
|
25
|
+
}, He = (e, o) => ({
|
|
26
26
|
classGroupId: e,
|
|
27
27
|
validator: o
|
|
28
|
-
}),
|
|
28
|
+
}), Ie = (e = /* @__PURE__ */ new Map(), o = null, t) => ({
|
|
29
29
|
nextPart: e,
|
|
30
30
|
validators: o,
|
|
31
|
-
classGroupId:
|
|
32
|
-
}),
|
|
33
|
-
const o =
|
|
34
|
-
conflictingClassGroups:
|
|
35
|
-
conflictingClassGroupModifiers:
|
|
31
|
+
classGroupId: t
|
|
32
|
+
}), me = "-", Ce = [], Qe = "arbitrary..", Ze = (e) => {
|
|
33
|
+
const o = tt(e), {
|
|
34
|
+
conflictingClassGroups: t,
|
|
35
|
+
conflictingClassGroupModifiers: r
|
|
36
36
|
} = e;
|
|
37
37
|
return {
|
|
38
38
|
getClassGroupId: (a) => {
|
|
39
39
|
if (a.startsWith("[") && a.endsWith("]"))
|
|
40
|
-
return
|
|
41
|
-
const
|
|
42
|
-
return
|
|
40
|
+
return et(a);
|
|
41
|
+
const u = a.split(me), d = u[0] === "" && u.length > 1 ? 1 : 0;
|
|
42
|
+
return Me(u, d, o);
|
|
43
43
|
},
|
|
44
|
-
getConflictingClassGroupIds: (a,
|
|
45
|
-
if (
|
|
46
|
-
const
|
|
47
|
-
return
|
|
44
|
+
getConflictingClassGroupIds: (a, u) => {
|
|
45
|
+
if (u) {
|
|
46
|
+
const d = r[a], b = t[a];
|
|
47
|
+
return d ? b ? Je(b, d) : d : b || Ce;
|
|
48
48
|
}
|
|
49
|
-
return
|
|
49
|
+
return t[a] || Ce;
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
|
-
},
|
|
52
|
+
}, Me = (e, o, t) => {
|
|
53
53
|
if (e.length - o === 0)
|
|
54
|
-
return
|
|
55
|
-
const s = e[o], n =
|
|
54
|
+
return t.classGroupId;
|
|
55
|
+
const s = e[o], n = t.nextPart.get(s);
|
|
56
56
|
if (n) {
|
|
57
|
-
const
|
|
58
|
-
if (
|
|
57
|
+
const b = Me(e, o + 1, n);
|
|
58
|
+
if (b) return b;
|
|
59
59
|
}
|
|
60
|
-
const a =
|
|
60
|
+
const a = t.validators;
|
|
61
61
|
if (a === null)
|
|
62
62
|
return;
|
|
63
|
-
const
|
|
64
|
-
for (let
|
|
65
|
-
const y = a[
|
|
66
|
-
if (y.validator(
|
|
63
|
+
const u = o === 0 ? e.join(me) : e.slice(o).join(me), d = a.length;
|
|
64
|
+
for (let b = 0; b < d; b++) {
|
|
65
|
+
const y = a[b];
|
|
66
|
+
if (y.validator(u))
|
|
67
67
|
return y.classGroupId;
|
|
68
68
|
}
|
|
69
|
-
},
|
|
70
|
-
const o = e.slice(1, -1),
|
|
71
|
-
return
|
|
72
|
-
})(),
|
|
69
|
+
}, et = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
70
|
+
const o = e.slice(1, -1), t = o.indexOf(":"), r = o.slice(0, t);
|
|
71
|
+
return r ? Qe + r : void 0;
|
|
72
|
+
})(), tt = (e) => {
|
|
73
73
|
const {
|
|
74
74
|
theme: o,
|
|
75
|
-
classGroups:
|
|
75
|
+
classGroups: t
|
|
76
76
|
} = e;
|
|
77
|
-
return
|
|
78
|
-
},
|
|
79
|
-
const
|
|
80
|
-
for (const
|
|
81
|
-
const s = e[
|
|
82
|
-
|
|
77
|
+
return rt(t, o);
|
|
78
|
+
}, rt = (e, o) => {
|
|
79
|
+
const t = Ie();
|
|
80
|
+
for (const r in e) {
|
|
81
|
+
const s = e[r];
|
|
82
|
+
we(s, t, r, o);
|
|
83
83
|
}
|
|
84
|
-
return
|
|
85
|
-
},
|
|
84
|
+
return t;
|
|
85
|
+
}, we = (e, o, t, r) => {
|
|
86
86
|
const s = e.length;
|
|
87
87
|
for (let n = 0; n < s; n++) {
|
|
88
88
|
const a = e[n];
|
|
89
|
-
|
|
89
|
+
ot(a, o, t, r);
|
|
90
90
|
}
|
|
91
|
-
},
|
|
91
|
+
}, ot = (e, o, t, r) => {
|
|
92
92
|
if (typeof e == "string") {
|
|
93
|
-
|
|
93
|
+
st(e, o, t);
|
|
94
94
|
return;
|
|
95
95
|
}
|
|
96
96
|
if (typeof e == "function") {
|
|
97
|
-
|
|
97
|
+
nt(e, o, t, r);
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
|
-
|
|
101
|
-
},
|
|
102
|
-
const
|
|
103
|
-
|
|
104
|
-
},
|
|
105
|
-
if (
|
|
106
|
-
|
|
100
|
+
at(e, o, t, r);
|
|
101
|
+
}, st = (e, o, t) => {
|
|
102
|
+
const r = e === "" ? o : De(o, e);
|
|
103
|
+
r.classGroupId = t;
|
|
104
|
+
}, nt = (e, o, t, r) => {
|
|
105
|
+
if (it(e)) {
|
|
106
|
+
we(e(r), o, t, r);
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
|
-
o.validators === null && (o.validators = []), o.validators.push(
|
|
110
|
-
},
|
|
109
|
+
o.validators === null && (o.validators = []), o.validators.push(He(t, e));
|
|
110
|
+
}, at = (e, o, t, r) => {
|
|
111
111
|
const s = Object.entries(e), n = s.length;
|
|
112
112
|
for (let a = 0; a < n; a++) {
|
|
113
|
-
const [
|
|
114
|
-
|
|
113
|
+
const [u, d] = s[a];
|
|
114
|
+
we(d, De(o, u), t, r);
|
|
115
115
|
}
|
|
116
|
-
},
|
|
117
|
-
let
|
|
118
|
-
const
|
|
116
|
+
}, De = (e, o) => {
|
|
117
|
+
let t = e;
|
|
118
|
+
const r = o.split(me), s = r.length;
|
|
119
119
|
for (let n = 0; n < s; n++) {
|
|
120
|
-
const a =
|
|
121
|
-
let
|
|
122
|
-
|
|
120
|
+
const a = r[n];
|
|
121
|
+
let u = t.nextPart.get(a);
|
|
122
|
+
u || (u = Ie(), t.nextPart.set(a, u)), t = u;
|
|
123
123
|
}
|
|
124
|
-
return
|
|
125
|
-
},
|
|
124
|
+
return t;
|
|
125
|
+
}, it = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, lt = (e) => {
|
|
126
126
|
if (e < 1)
|
|
127
127
|
return {
|
|
128
128
|
get: () => {
|
|
@@ -130,178 +130,178 @@ const Xe = (e, o) => {
|
|
|
130
130
|
set: () => {
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
|
-
let o = 0,
|
|
133
|
+
let o = 0, t = /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ Object.create(null);
|
|
134
134
|
const s = (n, a) => {
|
|
135
|
-
|
|
135
|
+
t[n] = a, o++, o > e && (o = 0, r = t, t = /* @__PURE__ */ Object.create(null));
|
|
136
136
|
};
|
|
137
137
|
return {
|
|
138
138
|
get(n) {
|
|
139
|
-
let a =
|
|
139
|
+
let a = t[n];
|
|
140
140
|
if (a !== void 0)
|
|
141
141
|
return a;
|
|
142
|
-
if ((a =
|
|
142
|
+
if ((a = r[n]) !== void 0)
|
|
143
143
|
return s(n, a), a;
|
|
144
144
|
},
|
|
145
145
|
set(n, a) {
|
|
146
|
-
n in
|
|
146
|
+
n in t ? t[n] = a : s(n, a);
|
|
147
147
|
}
|
|
148
148
|
};
|
|
149
|
-
},
|
|
149
|
+
}, xe = "!", Pe = ":", ct = [], ze = (e, o, t, r, s) => ({
|
|
150
150
|
modifiers: e,
|
|
151
151
|
hasImportantModifier: o,
|
|
152
|
-
baseClassName:
|
|
153
|
-
maybePostfixModifierPosition:
|
|
152
|
+
baseClassName: t,
|
|
153
|
+
maybePostfixModifierPosition: r,
|
|
154
154
|
isExternal: s
|
|
155
|
-
}),
|
|
155
|
+
}), dt = (e) => {
|
|
156
156
|
const {
|
|
157
157
|
prefix: o,
|
|
158
|
-
experimentalParseClassName:
|
|
158
|
+
experimentalParseClassName: t
|
|
159
159
|
} = e;
|
|
160
|
-
let
|
|
160
|
+
let r = (s) => {
|
|
161
161
|
const n = [];
|
|
162
|
-
let a = 0,
|
|
162
|
+
let a = 0, u = 0, d = 0, b;
|
|
163
163
|
const y = s.length;
|
|
164
|
-
for (let
|
|
165
|
-
const w = s[
|
|
166
|
-
if (a === 0 &&
|
|
167
|
-
if (w ===
|
|
168
|
-
n.push(s.slice(
|
|
164
|
+
for (let z = 0; z < y; z++) {
|
|
165
|
+
const w = s[z];
|
|
166
|
+
if (a === 0 && u === 0) {
|
|
167
|
+
if (w === Pe) {
|
|
168
|
+
n.push(s.slice(d, z)), d = z + 1;
|
|
169
169
|
continue;
|
|
170
170
|
}
|
|
171
171
|
if (w === "/") {
|
|
172
|
-
|
|
172
|
+
b = z;
|
|
173
173
|
continue;
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
|
-
w === "[" ? a++ : w === "]" ? a-- : w === "(" ?
|
|
176
|
+
w === "[" ? a++ : w === "]" ? a-- : w === "(" ? u++ : w === ")" && u--;
|
|
177
177
|
}
|
|
178
|
-
const
|
|
179
|
-
let
|
|
180
|
-
|
|
178
|
+
const k = n.length === 0 ? s : s.slice(d);
|
|
179
|
+
let j = k, x = !1;
|
|
180
|
+
k.endsWith(xe) ? (j = k.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
|
+
k.startsWith(xe) && (j = k.slice(1), x = !0)
|
|
186
186
|
);
|
|
187
|
-
const
|
|
188
|
-
return
|
|
187
|
+
const I = b && b > d ? b - d : void 0;
|
|
188
|
+
return ze(n, x, j, I);
|
|
189
189
|
};
|
|
190
190
|
if (o) {
|
|
191
|
-
const s = o +
|
|
192
|
-
|
|
191
|
+
const s = o + Pe, n = r;
|
|
192
|
+
r = (a) => a.startsWith(s) ? n(a.slice(s.length)) : ze(ct, !1, a, void 0, !0);
|
|
193
193
|
}
|
|
194
|
-
if (
|
|
195
|
-
const s =
|
|
196
|
-
|
|
194
|
+
if (t) {
|
|
195
|
+
const s = r;
|
|
196
|
+
r = (n) => t({
|
|
197
197
|
className: n,
|
|
198
198
|
parseClassName: s
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
|
-
return
|
|
202
|
-
},
|
|
201
|
+
return r;
|
|
202
|
+
}, mt = (e) => {
|
|
203
203
|
const o = /* @__PURE__ */ new Map();
|
|
204
|
-
return e.orderSensitiveModifiers.forEach((
|
|
205
|
-
o.set(
|
|
206
|
-
}), (
|
|
207
|
-
const
|
|
204
|
+
return e.orderSensitiveModifiers.forEach((t, r) => {
|
|
205
|
+
o.set(t, 1e6 + r);
|
|
206
|
+
}), (t) => {
|
|
207
|
+
const r = [];
|
|
208
208
|
let s = [];
|
|
209
|
-
for (let n = 0; n <
|
|
210
|
-
const a =
|
|
211
|
-
|
|
209
|
+
for (let n = 0; n < t.length; n++) {
|
|
210
|
+
const a = t[n], u = a[0] === "[", d = o.has(a);
|
|
211
|
+
u || d ? (s.length > 0 && (s.sort(), r.push(...s), s = []), r.push(a)) : s.push(a);
|
|
212
212
|
}
|
|
213
|
-
return s.length > 0 && (s.sort(),
|
|
213
|
+
return s.length > 0 && (s.sort(), r.push(...s)), r;
|
|
214
214
|
};
|
|
215
|
-
},
|
|
216
|
-
cache:
|
|
217
|
-
parseClassName:
|
|
218
|
-
sortModifiers:
|
|
219
|
-
...
|
|
220
|
-
}),
|
|
215
|
+
}, ut = (e) => ({
|
|
216
|
+
cache: lt(e.cacheSize),
|
|
217
|
+
parseClassName: dt(e),
|
|
218
|
+
sortModifiers: mt(e),
|
|
219
|
+
...Ze(e)
|
|
220
|
+
}), ft = /\s+/, pt = (e, o) => {
|
|
221
221
|
const {
|
|
222
|
-
parseClassName:
|
|
223
|
-
getClassGroupId:
|
|
222
|
+
parseClassName: t,
|
|
223
|
+
getClassGroupId: r,
|
|
224
224
|
getConflictingClassGroupIds: s,
|
|
225
225
|
sortModifiers: n
|
|
226
|
-
} = o, a = [],
|
|
227
|
-
let
|
|
228
|
-
for (let
|
|
229
|
-
const y =
|
|
230
|
-
isExternal:
|
|
231
|
-
modifiers:
|
|
232
|
-
hasImportantModifier:
|
|
233
|
-
baseClassName:
|
|
234
|
-
maybePostfixModifierPosition:
|
|
235
|
-
} =
|
|
236
|
-
if (
|
|
237
|
-
|
|
226
|
+
} = o, a = [], u = e.trim().split(ft);
|
|
227
|
+
let d = "";
|
|
228
|
+
for (let b = u.length - 1; b >= 0; b -= 1) {
|
|
229
|
+
const y = u[b], {
|
|
230
|
+
isExternal: k,
|
|
231
|
+
modifiers: j,
|
|
232
|
+
hasImportantModifier: x,
|
|
233
|
+
baseClassName: I,
|
|
234
|
+
maybePostfixModifierPosition: z
|
|
235
|
+
} = t(y);
|
|
236
|
+
if (k) {
|
|
237
|
+
d = y + (d.length > 0 ? " " + d : d);
|
|
238
238
|
continue;
|
|
239
239
|
}
|
|
240
|
-
let w = !!
|
|
241
|
-
if (!
|
|
240
|
+
let w = !!z, _ = r(w ? I.substring(0, z) : I);
|
|
241
|
+
if (!_) {
|
|
242
242
|
if (!w) {
|
|
243
|
-
|
|
243
|
+
d = y + (d.length > 0 ? " " + d : d);
|
|
244
244
|
continue;
|
|
245
245
|
}
|
|
246
|
-
if (
|
|
247
|
-
|
|
246
|
+
if (_ = r(I), !_) {
|
|
247
|
+
d = y + (d.length > 0 ? " " + d : d);
|
|
248
248
|
continue;
|
|
249
249
|
}
|
|
250
250
|
w = !1;
|
|
251
251
|
}
|
|
252
|
-
const
|
|
253
|
-
if (a.indexOf(
|
|
252
|
+
const L = j.length === 0 ? "" : j.length === 1 ? j[0] : n(j).join(":"), F = x ? L + xe : L, A = F + _;
|
|
253
|
+
if (a.indexOf(A) > -1)
|
|
254
254
|
continue;
|
|
255
|
-
a.push(
|
|
256
|
-
const
|
|
257
|
-
for (let
|
|
258
|
-
const
|
|
259
|
-
a.push(
|
|
255
|
+
a.push(A);
|
|
256
|
+
const P = s(_, w);
|
|
257
|
+
for (let v = 0; v < P.length; ++v) {
|
|
258
|
+
const $ = P[v];
|
|
259
|
+
a.push(F + $);
|
|
260
260
|
}
|
|
261
|
-
|
|
261
|
+
d = y + (d.length > 0 ? " " + d : d);
|
|
262
262
|
}
|
|
263
|
-
return
|
|
264
|
-
},
|
|
265
|
-
let o = 0,
|
|
263
|
+
return d;
|
|
264
|
+
}, gt = (...e) => {
|
|
265
|
+
let o = 0, t, r, s = "";
|
|
266
266
|
for (; o < e.length; )
|
|
267
|
-
(
|
|
267
|
+
(t = e[o++]) && (r = Oe(t)) && (s && (s += " "), s += r);
|
|
268
268
|
return s;
|
|
269
|
-
},
|
|
269
|
+
}, Oe = (e) => {
|
|
270
270
|
if (typeof e == "string")
|
|
271
271
|
return e;
|
|
272
|
-
let o,
|
|
273
|
-
for (let
|
|
274
|
-
e[
|
|
275
|
-
return
|
|
276
|
-
},
|
|
277
|
-
let
|
|
278
|
-
const a = (
|
|
279
|
-
const
|
|
280
|
-
return
|
|
281
|
-
},
|
|
282
|
-
const
|
|
283
|
-
if (
|
|
284
|
-
return
|
|
285
|
-
const y =
|
|
286
|
-
return s(
|
|
272
|
+
let o, t = "";
|
|
273
|
+
for (let r = 0; r < e.length; r++)
|
|
274
|
+
e[r] && (o = Oe(e[r])) && (t && (t += " "), t += o);
|
|
275
|
+
return t;
|
|
276
|
+
}, bt = (e, ...o) => {
|
|
277
|
+
let t, r, s, n;
|
|
278
|
+
const a = (d) => {
|
|
279
|
+
const b = o.reduce((y, k) => k(y), e());
|
|
280
|
+
return t = ut(b), r = t.cache.get, s = t.cache.set, n = u, u(d);
|
|
281
|
+
}, u = (d) => {
|
|
282
|
+
const b = r(d);
|
|
283
|
+
if (b)
|
|
284
|
+
return b;
|
|
285
|
+
const y = pt(d, t);
|
|
286
|
+
return s(d, y), y;
|
|
287
287
|
};
|
|
288
|
-
return n = a, (...
|
|
289
|
-
},
|
|
290
|
-
const o = (
|
|
288
|
+
return n = a, (...d) => n(gt(...d));
|
|
289
|
+
}, ht = [], N = (e) => {
|
|
290
|
+
const o = (t) => t[e] || ht;
|
|
291
291
|
return o.isThemeGetter = !0, o;
|
|
292
|
-
}, Ee = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Te = /^\((?:(\w[\w-]*):)?(.+)\)$/i,
|
|
292
|
+
}, Ee = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Te = /^\((?:(\w[\w-]*):)?(.+)\)$/i, xt = /^\d+\/\d+$/, wt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, yt = /\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$/, kt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, vt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ct = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Z = (e) => xt.test(e), h = (e) => !!e && !Number.isNaN(Number(e)), X = (e) => !!e && Number.isInteger(Number(e)), fe = (e) => e.endsWith("%") && h(e.slice(0, -1)), B = (e) => wt.test(e), Pt = () => !0, zt = (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
|
-
|
|
297
|
-
), Ge = () => !1,
|
|
298
|
-
const
|
|
299
|
-
return
|
|
300
|
-
},
|
|
301
|
-
const
|
|
302
|
-
return
|
|
303
|
-
},
|
|
304
|
-
const e =
|
|
296
|
+
yt.test(e) && !kt.test(e)
|
|
297
|
+
), Ge = () => !1, Nt = (e) => vt.test(e), At = (e) => Ct.test(e), St = (e) => !l(e) && !c(e), Rt = (e) => ee(e, _e, Ge), l = (e) => Ee.test(e), H = (e) => ee(e, Fe, zt), pe = (e) => ee(e, Et, h), Ne = (e) => ee(e, je, Ge), It = (e) => ee(e, Le, At), ce = (e) => ee(e, Ve, Nt), c = (e) => Te.test(e), oe = (e) => te(e, Fe), Mt = (e) => te(e, Tt), Ae = (e) => te(e, je), Dt = (e) => te(e, _e), Ot = (e) => te(e, Le), de = (e) => te(e, Ve, !0), ee = (e, o, t) => {
|
|
298
|
+
const r = Ee.exec(e);
|
|
299
|
+
return r ? r[1] ? o(r[1]) : t(r[2]) : !1;
|
|
300
|
+
}, te = (e, o, t = !1) => {
|
|
301
|
+
const r = Te.exec(e);
|
|
302
|
+
return r ? r[1] ? o(r[1]) : t : !1;
|
|
303
|
+
}, je = (e) => e === "position" || e === "percentage", Le = (e) => e === "image" || e === "url", _e = (e) => e === "length" || e === "size" || e === "bg-size", Fe = (e) => e === "length", Et = (e) => e === "number", Tt = (e) => e === "family-name", Ve = (e) => e === "shadow", Gt = () => {
|
|
304
|
+
const e = N("color"), o = N("font"), t = N("text"), r = N("font-weight"), s = N("tracking"), n = N("leading"), a = N("breakpoint"), u = N("container"), d = N("spacing"), b = N("radius"), y = N("shadow"), k = N("inset-shadow"), j = N("text-shadow"), x = N("drop-shadow"), I = N("blur"), z = N("perspective"), w = N("aspect"), _ = N("ease"), L = N("animate"), F = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], A = () => [
|
|
305
305
|
"center",
|
|
306
306
|
"top",
|
|
307
307
|
"bottom",
|
|
@@ -319,51 +319,51 @@ 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",
|
|
324
|
-
},
|
|
325
|
-
position: [
|
|
326
|
-
}],
|
|
322
|
+
], P = () => [...A(), c, l], v = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], f = () => [c, l, d], S = () => [Z, "full", "auto", ...f()], D = () => [X, "none", "subgrid", c, l], U = () => ["auto", {
|
|
323
|
+
span: ["full", X, c, l]
|
|
324
|
+
}, X, c, l], Q = () => [X, "auto", c, l], se = () => ["auto", "min", "max", "fr", c, l], re = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], K = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], m = () => ["auto", ...f()], p = () => [Z, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...f()], i = () => [e, c, l], O = () => [...A(), Ae, Ne, {
|
|
325
|
+
position: [c, l]
|
|
326
|
+
}], E = () => ["no-repeat", {
|
|
327
327
|
repeat: ["", "x", "y", "space", "round"]
|
|
328
|
-
}],
|
|
329
|
-
size: [
|
|
330
|
-
}],
|
|
328
|
+
}], W = () => ["auto", "cover", "contain", Dt, Rt, {
|
|
329
|
+
size: [c, l]
|
|
330
|
+
}], J = () => [fe, oe, H], M = () => [
|
|
331
331
|
// Deprecated since Tailwind CSS v4.0.0
|
|
332
332
|
"",
|
|
333
333
|
"none",
|
|
334
334
|
"full",
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
],
|
|
335
|
+
b,
|
|
336
|
+
c,
|
|
337
|
+
l
|
|
338
|
+
], V = () => ["", h, oe, H], ne = () => ["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"], R = () => [h, fe, Ae, Ne], ke = () => [
|
|
339
339
|
// Deprecated since Tailwind CSS v4.0.0
|
|
340
340
|
"",
|
|
341
341
|
"none",
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
],
|
|
342
|
+
I,
|
|
343
|
+
c,
|
|
344
|
+
l
|
|
345
|
+
], ae = () => ["none", h, c, l], ie = () => ["none", h, c, l], ue = () => [h, c, l], le = () => [Z, "full", ...f()];
|
|
346
346
|
return {
|
|
347
347
|
cacheSize: 500,
|
|
348
348
|
theme: {
|
|
349
349
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
350
350
|
aspect: ["video"],
|
|
351
|
-
blur: [
|
|
352
|
-
breakpoint: [
|
|
353
|
-
color: [
|
|
354
|
-
container: [
|
|
355
|
-
"drop-shadow": [
|
|
351
|
+
blur: [B],
|
|
352
|
+
breakpoint: [B],
|
|
353
|
+
color: [Pt],
|
|
354
|
+
container: [B],
|
|
355
|
+
"drop-shadow": [B],
|
|
356
356
|
ease: ["in", "out", "in-out"],
|
|
357
|
-
font: [
|
|
357
|
+
font: [St],
|
|
358
358
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
359
|
-
"inset-shadow": [
|
|
359
|
+
"inset-shadow": [B],
|
|
360
360
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
361
361
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
362
|
-
radius: [
|
|
363
|
-
shadow: [
|
|
364
|
-
spacing: ["px",
|
|
365
|
-
text: [
|
|
366
|
-
"text-shadow": [
|
|
362
|
+
radius: [B],
|
|
363
|
+
shadow: [B],
|
|
364
|
+
spacing: ["px", h],
|
|
365
|
+
text: [B],
|
|
366
|
+
"text-shadow": [B],
|
|
367
367
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
368
368
|
},
|
|
369
369
|
classGroups: {
|
|
@@ -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",
|
|
378
|
+
aspect: ["auto", "square", Z, l, c, 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: [h, l, c, u]
|
|
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": F()
|
|
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": F()
|
|
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: P()
|
|
470
470
|
}],
|
|
471
471
|
/**
|
|
472
472
|
* Overflow
|
|
473
473
|
* @see https://tailwindcss.com/docs/overflow
|
|
474
474
|
*/
|
|
475
475
|
overflow: [{
|
|
476
|
-
overflow:
|
|
476
|
+
overflow: v()
|
|
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": v()
|
|
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": v()
|
|
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: $()
|
|
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": $()
|
|
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": $()
|
|
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: S()
|
|
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": S()
|
|
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": S()
|
|
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: S()
|
|
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: S()
|
|
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: S()
|
|
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: S()
|
|
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: S()
|
|
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: S()
|
|
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: [
|
|
591
|
+
z: [X, "auto", c, l]
|
|
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: [
|
|
601
|
+
basis: [Z, "full", "auto", u, ...f()]
|
|
602
602
|
}],
|
|
603
603
|
/**
|
|
604
604
|
* Flex Direction
|
|
@@ -619,84 +619,84 @@ const Xe = (e, o) => {
|
|
|
619
619
|
* @see https://tailwindcss.com/docs/flex
|
|
620
620
|
*/
|
|
621
621
|
flex: [{
|
|
622
|
-
flex: [
|
|
622
|
+
flex: [h, Z, "auto", "initial", "none", l]
|
|
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: ["", h, c, l]
|
|
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: ["", h, c, l]
|
|
637
637
|
}],
|
|
638
638
|
/**
|
|
639
639
|
* Order
|
|
640
640
|
* @see https://tailwindcss.com/docs/order
|
|
641
641
|
*/
|
|
642
642
|
order: [{
|
|
643
|
-
order: [
|
|
643
|
+
order: [X, "first", "last", "none", c, l]
|
|
644
644
|
}],
|
|
645
645
|
/**
|
|
646
646
|
* Grid Template Columns
|
|
647
647
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
648
648
|
*/
|
|
649
649
|
"grid-cols": [{
|
|
650
|
-
"grid-cols":
|
|
650
|
+
"grid-cols": D()
|
|
651
651
|
}],
|
|
652
652
|
/**
|
|
653
653
|
* Grid Column Start / End
|
|
654
654
|
* @see https://tailwindcss.com/docs/grid-column
|
|
655
655
|
*/
|
|
656
656
|
"col-start-end": [{
|
|
657
|
-
col:
|
|
657
|
+
col: U()
|
|
658
658
|
}],
|
|
659
659
|
/**
|
|
660
660
|
* Grid Column Start
|
|
661
661
|
* @see https://tailwindcss.com/docs/grid-column
|
|
662
662
|
*/
|
|
663
663
|
"col-start": [{
|
|
664
|
-
"col-start":
|
|
664
|
+
"col-start": Q()
|
|
665
665
|
}],
|
|
666
666
|
/**
|
|
667
667
|
* Grid Column End
|
|
668
668
|
* @see https://tailwindcss.com/docs/grid-column
|
|
669
669
|
*/
|
|
670
670
|
"col-end": [{
|
|
671
|
-
"col-end":
|
|
671
|
+
"col-end": Q()
|
|
672
672
|
}],
|
|
673
673
|
/**
|
|
674
674
|
* Grid Template Rows
|
|
675
675
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
676
676
|
*/
|
|
677
677
|
"grid-rows": [{
|
|
678
|
-
"grid-rows":
|
|
678
|
+
"grid-rows": D()
|
|
679
679
|
}],
|
|
680
680
|
/**
|
|
681
681
|
* Grid Row Start / End
|
|
682
682
|
* @see https://tailwindcss.com/docs/grid-row
|
|
683
683
|
*/
|
|
684
684
|
"row-start-end": [{
|
|
685
|
-
row:
|
|
685
|
+
row: U()
|
|
686
686
|
}],
|
|
687
687
|
/**
|
|
688
688
|
* Grid Row Start
|
|
689
689
|
* @see https://tailwindcss.com/docs/grid-row
|
|
690
690
|
*/
|
|
691
691
|
"row-start": [{
|
|
692
|
-
"row-start":
|
|
692
|
+
"row-start": Q()
|
|
693
693
|
}],
|
|
694
694
|
/**
|
|
695
695
|
* Grid Row End
|
|
696
696
|
* @see https://tailwindcss.com/docs/grid-row
|
|
697
697
|
*/
|
|
698
698
|
"row-end": [{
|
|
699
|
-
"row-end":
|
|
699
|
+
"row-end": Q()
|
|
700
700
|
}],
|
|
701
701
|
/**
|
|
702
702
|
* Grid Auto Flow
|
|
@@ -710,70 +710,70 @@ const Xe = (e, o) => {
|
|
|
710
710
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
711
711
|
*/
|
|
712
712
|
"auto-cols": [{
|
|
713
|
-
"auto-cols":
|
|
713
|
+
"auto-cols": se()
|
|
714
714
|
}],
|
|
715
715
|
/**
|
|
716
716
|
* Grid Auto Rows
|
|
717
717
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
718
718
|
*/
|
|
719
719
|
"auto-rows": [{
|
|
720
|
-
"auto-rows":
|
|
720
|
+
"auto-rows": se()
|
|
721
721
|
}],
|
|
722
722
|
/**
|
|
723
723
|
* Gap
|
|
724
724
|
* @see https://tailwindcss.com/docs/gap
|
|
725
725
|
*/
|
|
726
726
|
gap: [{
|
|
727
|
-
gap:
|
|
727
|
+
gap: f()
|
|
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": f()
|
|
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": f()
|
|
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: [...re(), "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": [...K(), "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", ...K()]
|
|
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", ...re()]
|
|
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: [...K(), {
|
|
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", ...K(), {
|
|
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": re()
|
|
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": [...K(), "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", ...K()]
|
|
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: f()
|
|
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: f()
|
|
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: f()
|
|
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: f()
|
|
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: f()
|
|
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: f()
|
|
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: f()
|
|
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: f()
|
|
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: f()
|
|
873
873
|
}],
|
|
874
874
|
/**
|
|
875
875
|
* Margin
|
|
876
876
|
* @see https://tailwindcss.com/docs/margin
|
|
877
877
|
*/
|
|
878
878
|
m: [{
|
|
879
|
-
m:
|
|
879
|
+
m: m()
|
|
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: m()
|
|
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: m()
|
|
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: m()
|
|
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: m()
|
|
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: m()
|
|
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: m()
|
|
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: m()
|
|
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: m()
|
|
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": f()
|
|
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": f()
|
|
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: p()
|
|
970
970
|
}],
|
|
971
971
|
/**
|
|
972
972
|
* Width
|
|
973
973
|
* @see https://tailwindcss.com/docs/width
|
|
974
974
|
*/
|
|
975
975
|
w: [{
|
|
976
|
-
w: [
|
|
976
|
+
w: [u, "screen", ...p()]
|
|
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
|
+
u,
|
|
985
985
|
"screen",
|
|
986
986
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
987
987
|
"none",
|
|
988
|
-
...
|
|
988
|
+
...p()
|
|
989
989
|
]
|
|
990
990
|
}],
|
|
991
991
|
/**
|
|
@@ -994,7 +994,7 @@ const Xe = (e, o) => {
|
|
|
994
994
|
*/
|
|
995
995
|
"max-w": [{
|
|
996
996
|
"max-w": [
|
|
997
|
-
|
|
997
|
+
u,
|
|
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 */
|
|
@@ -1003,7 +1003,7 @@ const Xe = (e, o) => {
|
|
|
1003
1003
|
{
|
|
1004
1004
|
screen: [a]
|
|
1005
1005
|
},
|
|
1006
|
-
...
|
|
1006
|
+
...p()
|
|
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", ...p()]
|
|
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", ...p()]
|
|
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", ...p()]
|
|
1029
1029
|
}],
|
|
1030
1030
|
// ------------------
|
|
1031
1031
|
// --- Typography ---
|
|
@@ -1035,7 +1035,7 @@ const Xe = (e, o) => {
|
|
|
1035
1035
|
* @see https://tailwindcss.com/docs/font-size
|
|
1036
1036
|
*/
|
|
1037
1037
|
"font-size": [{
|
|
1038
|
-
text: ["base",
|
|
1038
|
+
text: ["base", t, oe, H]
|
|
1039
1039
|
}],
|
|
1040
1040
|
/**
|
|
1041
1041
|
* Font Smoothing
|
|
@@ -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: [
|
|
1055
|
+
font: [r, c, pe]
|
|
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",
|
|
1062
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", fe, l]
|
|
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: [
|
|
1069
|
+
font: [Mt, l, 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: [s,
|
|
1106
|
+
tracking: [s, c, l]
|
|
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": [h, "none", c, pe]
|
|
1114
1114
|
}],
|
|
1115
1115
|
/**
|
|
1116
1116
|
* Line Height
|
|
@@ -1120,7 +1120,7 @@ const Xe = (e, o) => {
|
|
|
1120
1120
|
leading: [
|
|
1121
1121
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1122
1122
|
n,
|
|
1123
|
-
...
|
|
1123
|
+
...f()
|
|
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", c, l]
|
|
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", c, l]
|
|
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: i()
|
|
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: i()
|
|
1168
1168
|
}],
|
|
1169
1169
|
/**
|
|
1170
1170
|
* Text Decoration
|
|
@@ -1176,28 +1176,28 @@ const Xe = (e, o) => {
|
|
|
1176
1176
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1177
1177
|
*/
|
|
1178
1178
|
"text-decoration-style": [{
|
|
1179
|
-
decoration: [...
|
|
1179
|
+
decoration: [...ne(), "wavy"]
|
|
1180
1180
|
}],
|
|
1181
1181
|
/**
|
|
1182
1182
|
* Text Decoration Thickness
|
|
1183
1183
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1184
1184
|
*/
|
|
1185
1185
|
"text-decoration-thickness": [{
|
|
1186
|
-
decoration: [
|
|
1186
|
+
decoration: [h, "from-font", "auto", c, H]
|
|
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: i()
|
|
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": [h, "auto", c, l]
|
|
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: f()
|
|
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", c, l]
|
|
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", c, l]
|
|
1267
1267
|
}],
|
|
1268
1268
|
// -------------------
|
|
1269
1269
|
// --- Backgrounds ---
|
|
@@ -1294,21 +1294,21 @@ const Xe = (e, o) => {
|
|
|
1294
1294
|
* @see https://tailwindcss.com/docs/background-position
|
|
1295
1295
|
*/
|
|
1296
1296
|
"bg-position": [{
|
|
1297
|
-
bg:
|
|
1297
|
+
bg: O()
|
|
1298
1298
|
}],
|
|
1299
1299
|
/**
|
|
1300
1300
|
* Background Repeat
|
|
1301
1301
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1302
1302
|
*/
|
|
1303
1303
|
"bg-repeat": [{
|
|
1304
|
-
bg:
|
|
1304
|
+
bg: E()
|
|
1305
1305
|
}],
|
|
1306
1306
|
/**
|
|
1307
1307
|
* Background Size
|
|
1308
1308
|
* @see https://tailwindcss.com/docs/background-size
|
|
1309
1309
|
*/
|
|
1310
1310
|
"bg-size": [{
|
|
1311
|
-
bg:
|
|
1311
|
+
bg: W()
|
|
1312
1312
|
}],
|
|
1313
1313
|
/**
|
|
1314
1314
|
* Background Image
|
|
@@ -1318,59 +1318,59 @@ const Xe = (e, o) => {
|
|
|
1318
1318
|
bg: ["none", {
|
|
1319
1319
|
linear: [{
|
|
1320
1320
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1321
|
-
},
|
|
1322
|
-
radial: ["",
|
|
1323
|
-
conic: [
|
|
1324
|
-
},
|
|
1321
|
+
}, X, c, l],
|
|
1322
|
+
radial: ["", c, l],
|
|
1323
|
+
conic: [X, c, l]
|
|
1324
|
+
}, Ot, It]
|
|
1325
1325
|
}],
|
|
1326
1326
|
/**
|
|
1327
1327
|
* Background Color
|
|
1328
1328
|
* @see https://tailwindcss.com/docs/background-color
|
|
1329
1329
|
*/
|
|
1330
1330
|
"bg-color": [{
|
|
1331
|
-
bg:
|
|
1331
|
+
bg: i()
|
|
1332
1332
|
}],
|
|
1333
1333
|
/**
|
|
1334
1334
|
* Gradient Color Stops From Position
|
|
1335
1335
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1336
1336
|
*/
|
|
1337
1337
|
"gradient-from-pos": [{
|
|
1338
|
-
from:
|
|
1338
|
+
from: J()
|
|
1339
1339
|
}],
|
|
1340
1340
|
/**
|
|
1341
1341
|
* Gradient Color Stops Via Position
|
|
1342
1342
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1343
1343
|
*/
|
|
1344
1344
|
"gradient-via-pos": [{
|
|
1345
|
-
via:
|
|
1345
|
+
via: J()
|
|
1346
1346
|
}],
|
|
1347
1347
|
/**
|
|
1348
1348
|
* Gradient Color Stops To Position
|
|
1349
1349
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1350
1350
|
*/
|
|
1351
1351
|
"gradient-to-pos": [{
|
|
1352
|
-
to:
|
|
1352
|
+
to: J()
|
|
1353
1353
|
}],
|
|
1354
1354
|
/**
|
|
1355
1355
|
* Gradient Color Stops From
|
|
1356
1356
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1357
1357
|
*/
|
|
1358
1358
|
"gradient-from": [{
|
|
1359
|
-
from:
|
|
1359
|
+
from: i()
|
|
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: i()
|
|
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: i()
|
|
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: M()
|
|
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": M()
|
|
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": M()
|
|
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": M()
|
|
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": M()
|
|
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": M()
|
|
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": M()
|
|
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": M()
|
|
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": M()
|
|
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": M()
|
|
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": M()
|
|
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": M()
|
|
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": M()
|
|
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": M()
|
|
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": M()
|
|
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: V()
|
|
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": V()
|
|
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": V()
|
|
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": V()
|
|
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": V()
|
|
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": V()
|
|
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": V()
|
|
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": V()
|
|
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": V()
|
|
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": V()
|
|
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": V()
|
|
1564
1564
|
}],
|
|
1565
1565
|
/**
|
|
1566
1566
|
* Divide Width Y Reverse
|
|
@@ -1572,112 +1572,112 @@ const Xe = (e, o) => {
|
|
|
1572
1572
|
* @see https://tailwindcss.com/docs/border-style
|
|
1573
1573
|
*/
|
|
1574
1574
|
"border-style": [{
|
|
1575
|
-
border: [...
|
|
1575
|
+
border: [...ne(), "hidden", "none"]
|
|
1576
1576
|
}],
|
|
1577
1577
|
/**
|
|
1578
1578
|
* Divide Style
|
|
1579
1579
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1580
1580
|
*/
|
|
1581
1581
|
"divide-style": [{
|
|
1582
|
-
divide: [...
|
|
1582
|
+
divide: [...ne(), "hidden", "none"]
|
|
1583
1583
|
}],
|
|
1584
1584
|
/**
|
|
1585
1585
|
* Border Color
|
|
1586
1586
|
* @see https://tailwindcss.com/docs/border-color
|
|
1587
1587
|
*/
|
|
1588
1588
|
"border-color": [{
|
|
1589
|
-
border:
|
|
1589
|
+
border: i()
|
|
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": i()
|
|
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": i()
|
|
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": i()
|
|
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": i()
|
|
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": i()
|
|
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": i()
|
|
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": i()
|
|
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": i()
|
|
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: i()
|
|
1653
1653
|
}],
|
|
1654
1654
|
/**
|
|
1655
1655
|
* Outline Style
|
|
1656
1656
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1657
1657
|
*/
|
|
1658
1658
|
"outline-style": [{
|
|
1659
|
-
outline: [...
|
|
1659
|
+
outline: [...ne(), "none", "hidden"]
|
|
1660
1660
|
}],
|
|
1661
1661
|
/**
|
|
1662
1662
|
* Outline Offset
|
|
1663
1663
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1664
1664
|
*/
|
|
1665
1665
|
"outline-offset": [{
|
|
1666
|
-
"outline-offset": [
|
|
1666
|
+
"outline-offset": [h, c, l]
|
|
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: ["", h, oe, H]
|
|
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: i()
|
|
1681
1681
|
}],
|
|
1682
1682
|
// ---------------
|
|
1683
1683
|
// --- Effects ---
|
|
@@ -1692,8 +1692,8 @@ const Xe = (e, o) => {
|
|
|
1692
1692
|
"",
|
|
1693
1693
|
"none",
|
|
1694
1694
|
y,
|
|
1695
|
-
|
|
1696
|
-
|
|
1695
|
+
de,
|
|
1696
|
+
ce
|
|
1697
1697
|
]
|
|
1698
1698
|
}],
|
|
1699
1699
|
/**
|
|
@@ -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: i()
|
|
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", k, de, ce]
|
|
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": i()
|
|
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: V()
|
|
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: i()
|
|
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": [h, H]
|
|
1749
1749
|
}],
|
|
1750
1750
|
/**
|
|
1751
1751
|
* Ring Offset Color
|
|
@@ -1754,42 +1754,42 @@ 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": i()
|
|
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": V()
|
|
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": i()
|
|
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", j, de, ce]
|
|
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": i()
|
|
1786
1786
|
}],
|
|
1787
1787
|
/**
|
|
1788
1788
|
* Opacity
|
|
1789
1789
|
* @see https://tailwindcss.com/docs/opacity
|
|
1790
1790
|
*/
|
|
1791
1791
|
opacity: [{
|
|
1792
|
-
opacity: [
|
|
1792
|
+
opacity: [h, c, l]
|
|
1793
1793
|
}],
|
|
1794
1794
|
/**
|
|
1795
1795
|
* Mix Blend Mode
|
|
@@ -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": [h]
|
|
1828
1828
|
}],
|
|
1829
1829
|
"mask-image-linear-from-pos": [{
|
|
1830
1830
|
"mask-linear-from": R()
|
|
@@ -1833,10 +1833,10 @@ const Xe = (e, o) => {
|
|
|
1833
1833
|
"mask-linear-to": R()
|
|
1834
1834
|
}],
|
|
1835
1835
|
"mask-image-linear-from-color": [{
|
|
1836
|
-
"mask-linear-from":
|
|
1836
|
+
"mask-linear-from": i()
|
|
1837
1837
|
}],
|
|
1838
1838
|
"mask-image-linear-to-color": [{
|
|
1839
|
-
"mask-linear-to":
|
|
1839
|
+
"mask-linear-to": i()
|
|
1840
1840
|
}],
|
|
1841
1841
|
"mask-image-t-from-pos": [{
|
|
1842
1842
|
"mask-t-from": R()
|
|
@@ -1845,10 +1845,10 @@ const Xe = (e, o) => {
|
|
|
1845
1845
|
"mask-t-to": R()
|
|
1846
1846
|
}],
|
|
1847
1847
|
"mask-image-t-from-color": [{
|
|
1848
|
-
"mask-t-from":
|
|
1848
|
+
"mask-t-from": i()
|
|
1849
1849
|
}],
|
|
1850
1850
|
"mask-image-t-to-color": [{
|
|
1851
|
-
"mask-t-to":
|
|
1851
|
+
"mask-t-to": i()
|
|
1852
1852
|
}],
|
|
1853
1853
|
"mask-image-r-from-pos": [{
|
|
1854
1854
|
"mask-r-from": R()
|
|
@@ -1857,10 +1857,10 @@ const Xe = (e, o) => {
|
|
|
1857
1857
|
"mask-r-to": R()
|
|
1858
1858
|
}],
|
|
1859
1859
|
"mask-image-r-from-color": [{
|
|
1860
|
-
"mask-r-from":
|
|
1860
|
+
"mask-r-from": i()
|
|
1861
1861
|
}],
|
|
1862
1862
|
"mask-image-r-to-color": [{
|
|
1863
|
-
"mask-r-to":
|
|
1863
|
+
"mask-r-to": i()
|
|
1864
1864
|
}],
|
|
1865
1865
|
"mask-image-b-from-pos": [{
|
|
1866
1866
|
"mask-b-from": R()
|
|
@@ -1869,10 +1869,10 @@ const Xe = (e, o) => {
|
|
|
1869
1869
|
"mask-b-to": R()
|
|
1870
1870
|
}],
|
|
1871
1871
|
"mask-image-b-from-color": [{
|
|
1872
|
-
"mask-b-from":
|
|
1872
|
+
"mask-b-from": i()
|
|
1873
1873
|
}],
|
|
1874
1874
|
"mask-image-b-to-color": [{
|
|
1875
|
-
"mask-b-to":
|
|
1875
|
+
"mask-b-to": i()
|
|
1876
1876
|
}],
|
|
1877
1877
|
"mask-image-l-from-pos": [{
|
|
1878
1878
|
"mask-l-from": R()
|
|
@@ -1881,10 +1881,10 @@ const Xe = (e, o) => {
|
|
|
1881
1881
|
"mask-l-to": R()
|
|
1882
1882
|
}],
|
|
1883
1883
|
"mask-image-l-from-color": [{
|
|
1884
|
-
"mask-l-from":
|
|
1884
|
+
"mask-l-from": i()
|
|
1885
1885
|
}],
|
|
1886
1886
|
"mask-image-l-to-color": [{
|
|
1887
|
-
"mask-l-to":
|
|
1887
|
+
"mask-l-to": i()
|
|
1888
1888
|
}],
|
|
1889
1889
|
"mask-image-x-from-pos": [{
|
|
1890
1890
|
"mask-x-from": R()
|
|
@@ -1893,10 +1893,10 @@ const Xe = (e, o) => {
|
|
|
1893
1893
|
"mask-x-to": R()
|
|
1894
1894
|
}],
|
|
1895
1895
|
"mask-image-x-from-color": [{
|
|
1896
|
-
"mask-x-from":
|
|
1896
|
+
"mask-x-from": i()
|
|
1897
1897
|
}],
|
|
1898
1898
|
"mask-image-x-to-color": [{
|
|
1899
|
-
"mask-x-to":
|
|
1899
|
+
"mask-x-to": i()
|
|
1900
1900
|
}],
|
|
1901
1901
|
"mask-image-y-from-pos": [{
|
|
1902
1902
|
"mask-y-from": R()
|
|
@@ -1905,13 +1905,13 @@ const Xe = (e, o) => {
|
|
|
1905
1905
|
"mask-y-to": R()
|
|
1906
1906
|
}],
|
|
1907
1907
|
"mask-image-y-from-color": [{
|
|
1908
|
-
"mask-y-from":
|
|
1908
|
+
"mask-y-from": i()
|
|
1909
1909
|
}],
|
|
1910
1910
|
"mask-image-y-to-color": [{
|
|
1911
|
-
"mask-y-to":
|
|
1911
|
+
"mask-y-to": i()
|
|
1912
1912
|
}],
|
|
1913
1913
|
"mask-image-radial": [{
|
|
1914
|
-
"mask-radial": [
|
|
1914
|
+
"mask-radial": [c, l]
|
|
1915
1915
|
}],
|
|
1916
1916
|
"mask-image-radial-from-pos": [{
|
|
1917
1917
|
"mask-radial-from": R()
|
|
@@ -1920,10 +1920,10 @@ const Xe = (e, o) => {
|
|
|
1920
1920
|
"mask-radial-to": R()
|
|
1921
1921
|
}],
|
|
1922
1922
|
"mask-image-radial-from-color": [{
|
|
1923
|
-
"mask-radial-from":
|
|
1923
|
+
"mask-radial-from": i()
|
|
1924
1924
|
}],
|
|
1925
1925
|
"mask-image-radial-to-color": [{
|
|
1926
|
-
"mask-radial-to":
|
|
1926
|
+
"mask-radial-to": i()
|
|
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": A()
|
|
1939
1939
|
}],
|
|
1940
1940
|
"mask-image-conic-pos": [{
|
|
1941
|
-
"mask-conic": [
|
|
1941
|
+
"mask-conic": [h]
|
|
1942
1942
|
}],
|
|
1943
1943
|
"mask-image-conic-from-pos": [{
|
|
1944
1944
|
"mask-conic-from": R()
|
|
@@ -1947,10 +1947,10 @@ const Xe = (e, o) => {
|
|
|
1947
1947
|
"mask-conic-to": R()
|
|
1948
1948
|
}],
|
|
1949
1949
|
"mask-image-conic-from-color": [{
|
|
1950
|
-
"mask-conic-from":
|
|
1950
|
+
"mask-conic-from": i()
|
|
1951
1951
|
}],
|
|
1952
1952
|
"mask-image-conic-to-color": [{
|
|
1953
|
-
"mask-conic-to":
|
|
1953
|
+
"mask-conic-to": i()
|
|
1954
1954
|
}],
|
|
1955
1955
|
/**
|
|
1956
1956
|
* Mask Mode
|
|
@@ -1971,21 +1971,21 @@ const Xe = (e, o) => {
|
|
|
1971
1971
|
* @see https://tailwindcss.com/docs/mask-position
|
|
1972
1972
|
*/
|
|
1973
1973
|
"mask-position": [{
|
|
1974
|
-
mask:
|
|
1974
|
+
mask: O()
|
|
1975
1975
|
}],
|
|
1976
1976
|
/**
|
|
1977
1977
|
* Mask Repeat
|
|
1978
1978
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
1979
1979
|
*/
|
|
1980
1980
|
"mask-repeat": [{
|
|
1981
|
-
mask:
|
|
1981
|
+
mask: E()
|
|
1982
1982
|
}],
|
|
1983
1983
|
/**
|
|
1984
1984
|
* Mask Size
|
|
1985
1985
|
* @see https://tailwindcss.com/docs/mask-size
|
|
1986
1986
|
*/
|
|
1987
1987
|
"mask-size": [{
|
|
1988
|
-
mask:
|
|
1988
|
+
mask: W()
|
|
1989
1989
|
}],
|
|
1990
1990
|
/**
|
|
1991
1991
|
* Mask Type
|
|
@@ -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", c, l]
|
|
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
|
+
c,
|
|
2017
|
+
l
|
|
2018
2018
|
]
|
|
2019
2019
|
}],
|
|
2020
2020
|
/**
|
|
@@ -2029,14 +2029,14 @@ const Xe = (e, o) => {
|
|
|
2029
2029
|
* @see https://tailwindcss.com/docs/brightness
|
|
2030
2030
|
*/
|
|
2031
2031
|
brightness: [{
|
|
2032
|
-
brightness: [
|
|
2032
|
+
brightness: [h, c, l]
|
|
2033
2033
|
}],
|
|
2034
2034
|
/**
|
|
2035
2035
|
* Contrast
|
|
2036
2036
|
* @see https://tailwindcss.com/docs/contrast
|
|
2037
2037
|
*/
|
|
2038
2038
|
contrast: [{
|
|
2039
|
-
contrast: [
|
|
2039
|
+
contrast: [h, c, l]
|
|
2040
2040
|
}],
|
|
2041
2041
|
/**
|
|
2042
2042
|
* Drop Shadow
|
|
@@ -2047,9 +2047,9 @@ const Xe = (e, o) => {
|
|
|
2047
2047
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2048
2048
|
"",
|
|
2049
2049
|
"none",
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2050
|
+
x,
|
|
2051
|
+
de,
|
|
2052
|
+
ce
|
|
2053
2053
|
]
|
|
2054
2054
|
}],
|
|
2055
2055
|
/**
|
|
@@ -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": i()
|
|
2061
2061
|
}],
|
|
2062
2062
|
/**
|
|
2063
2063
|
* Grayscale
|
|
2064
2064
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2065
2065
|
*/
|
|
2066
2066
|
grayscale: [{
|
|
2067
|
-
grayscale: ["",
|
|
2067
|
+
grayscale: ["", h, c, l]
|
|
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": [h, c, l]
|
|
2075
2075
|
}],
|
|
2076
2076
|
/**
|
|
2077
2077
|
* Invert
|
|
2078
2078
|
* @see https://tailwindcss.com/docs/invert
|
|
2079
2079
|
*/
|
|
2080
2080
|
invert: [{
|
|
2081
|
-
invert: ["",
|
|
2081
|
+
invert: ["", h, c, l]
|
|
2082
2082
|
}],
|
|
2083
2083
|
/**
|
|
2084
2084
|
* Saturate
|
|
2085
2085
|
* @see https://tailwindcss.com/docs/saturate
|
|
2086
2086
|
*/
|
|
2087
2087
|
saturate: [{
|
|
2088
|
-
saturate: [
|
|
2088
|
+
saturate: [h, c, l]
|
|
2089
2089
|
}],
|
|
2090
2090
|
/**
|
|
2091
2091
|
* Sepia
|
|
2092
2092
|
* @see https://tailwindcss.com/docs/sepia
|
|
2093
2093
|
*/
|
|
2094
2094
|
sepia: [{
|
|
2095
|
-
sepia: ["",
|
|
2095
|
+
sepia: ["", h, c, l]
|
|
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
|
+
c,
|
|
2107
|
+
l
|
|
2108
2108
|
]
|
|
2109
2109
|
}],
|
|
2110
2110
|
/**
|
|
@@ -2119,56 +2119,56 @@ const Xe = (e, o) => {
|
|
|
2119
2119
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2120
2120
|
*/
|
|
2121
2121
|
"backdrop-brightness": [{
|
|
2122
|
-
"backdrop-brightness": [
|
|
2122
|
+
"backdrop-brightness": [h, c, l]
|
|
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": [h, c, l]
|
|
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": ["", h, c, l]
|
|
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": [h, c, l]
|
|
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": ["", h, c, l]
|
|
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": [h, c, l]
|
|
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": [h, c, l]
|
|
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": ["", h, c, l]
|
|
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": f()
|
|
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": f()
|
|
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": f()
|
|
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", c, l]
|
|
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: [h, "initial", c, l]
|
|
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", _, c, l]
|
|
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: [h, c, l]
|
|
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", L, c, l]
|
|
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: [z, c, l]
|
|
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": P()
|
|
2286
2286
|
}],
|
|
2287
2287
|
/**
|
|
2288
2288
|
* Rotate
|
|
2289
2289
|
* @see https://tailwindcss.com/docs/rotate
|
|
2290
2290
|
*/
|
|
2291
2291
|
rotate: [{
|
|
2292
|
-
rotate:
|
|
2292
|
+
rotate: ae()
|
|
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": ae()
|
|
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": ae()
|
|
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": ae()
|
|
2314
2314
|
}],
|
|
2315
2315
|
/**
|
|
2316
2316
|
* Scale
|
|
2317
2317
|
* @see https://tailwindcss.com/docs/scale
|
|
2318
2318
|
*/
|
|
2319
2319
|
scale: [{
|
|
2320
|
-
scale:
|
|
2320
|
+
scale: ie()
|
|
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": ie()
|
|
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": ie()
|
|
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": ie()
|
|
2342
2342
|
}],
|
|
2343
2343
|
/**
|
|
2344
2344
|
* Scale 3D
|
|
@@ -2350,35 +2350,35 @@ const Xe = (e, o) => {
|
|
|
2350
2350
|
* @see https://tailwindcss.com/docs/skew
|
|
2351
2351
|
*/
|
|
2352
2352
|
skew: [{
|
|
2353
|
-
skew:
|
|
2353
|
+
skew: ue()
|
|
2354
2354
|
}],
|
|
2355
2355
|
/**
|
|
2356
2356
|
* Skew X
|
|
2357
2357
|
* @see https://tailwindcss.com/docs/skew
|
|
2358
2358
|
*/
|
|
2359
2359
|
"skew-x": [{
|
|
2360
|
-
"skew-x":
|
|
2360
|
+
"skew-x": ue()
|
|
2361
2361
|
}],
|
|
2362
2362
|
/**
|
|
2363
2363
|
* Skew Y
|
|
2364
2364
|
* @see https://tailwindcss.com/docs/skew
|
|
2365
2365
|
*/
|
|
2366
2366
|
"skew-y": [{
|
|
2367
|
-
"skew-y":
|
|
2367
|
+
"skew-y": ue()
|
|
2368
2368
|
}],
|
|
2369
2369
|
/**
|
|
2370
2370
|
* Transform
|
|
2371
2371
|
* @see https://tailwindcss.com/docs/transform
|
|
2372
2372
|
*/
|
|
2373
2373
|
transform: [{
|
|
2374
|
-
transform: [
|
|
2374
|
+
transform: [c, l, "", "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: P()
|
|
2382
2382
|
}],
|
|
2383
2383
|
/**
|
|
2384
2384
|
* Transform Style
|
|
@@ -2392,28 +2392,28 @@ const Xe = (e, o) => {
|
|
|
2392
2392
|
* @see https://tailwindcss.com/docs/translate
|
|
2393
2393
|
*/
|
|
2394
2394
|
translate: [{
|
|
2395
|
-
translate:
|
|
2395
|
+
translate: le()
|
|
2396
2396
|
}],
|
|
2397
2397
|
/**
|
|
2398
2398
|
* Translate X
|
|
2399
2399
|
* @see https://tailwindcss.com/docs/translate
|
|
2400
2400
|
*/
|
|
2401
2401
|
"translate-x": [{
|
|
2402
|
-
"translate-x":
|
|
2402
|
+
"translate-x": le()
|
|
2403
2403
|
}],
|
|
2404
2404
|
/**
|
|
2405
2405
|
* Translate Y
|
|
2406
2406
|
* @see https://tailwindcss.com/docs/translate
|
|
2407
2407
|
*/
|
|
2408
2408
|
"translate-y": [{
|
|
2409
|
-
"translate-y":
|
|
2409
|
+
"translate-y": le()
|
|
2410
2410
|
}],
|
|
2411
2411
|
/**
|
|
2412
2412
|
* Translate Z
|
|
2413
2413
|
* @see https://tailwindcss.com/docs/translate
|
|
2414
2414
|
*/
|
|
2415
2415
|
"translate-z": [{
|
|
2416
|
-
"translate-z":
|
|
2416
|
+
"translate-z": le()
|
|
2417
2417
|
}],
|
|
2418
2418
|
/**
|
|
2419
2419
|
* Translate None
|
|
@@ -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: i()
|
|
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: i()
|
|
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", c, l]
|
|
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": f()
|
|
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": f()
|
|
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": f()
|
|
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": f()
|
|
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": f()
|
|
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": f()
|
|
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": f()
|
|
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": f()
|
|
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": f()
|
|
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": f()
|
|
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": f()
|
|
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": f()
|
|
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": f()
|
|
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": f()
|
|
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": f()
|
|
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": f()
|
|
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": f()
|
|
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": f()
|
|
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", c, l]
|
|
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", ...i()]
|
|
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: [h, oe, H, pe]
|
|
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", ...i()]
|
|
2706
2706
|
}],
|
|
2707
2707
|
// ---------------------
|
|
2708
2708
|
// --- Accessibility ---
|
|
@@ -2770,122 +2770,127 @@ const Xe = (e, o) => {
|
|
|
2770
2770
|
},
|
|
2771
2771
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
2772
2772
|
};
|
|
2773
|
-
},
|
|
2774
|
-
function
|
|
2775
|
-
return
|
|
2773
|
+
}, jt = /* @__PURE__ */ bt(Gt);
|
|
2774
|
+
function C(...e) {
|
|
2775
|
+
return jt(Xe(e));
|
|
2776
2776
|
}
|
|
2777
|
-
const
|
|
2777
|
+
const Lt = {
|
|
2778
2778
|
purple: "bg-purple-500",
|
|
2779
2779
|
green: "bg-green-500",
|
|
2780
2780
|
blue: "bg-blue-500",
|
|
2781
2781
|
yellow: "bg-yellow-400 !text-yellow-900",
|
|
2782
2782
|
red: "bg-red-500"
|
|
2783
|
-
},
|
|
2783
|
+
}, _t = ({
|
|
2784
2784
|
id: e,
|
|
2785
2785
|
title: o,
|
|
2786
|
-
price:
|
|
2787
|
-
periodLabel:
|
|
2786
|
+
price: t,
|
|
2787
|
+
periodLabel: r,
|
|
2788
2788
|
features: s,
|
|
2789
2789
|
isSelected: n,
|
|
2790
2790
|
onSelect: a,
|
|
2791
|
-
topBadge:
|
|
2792
|
-
discountBadge:
|
|
2793
|
-
premiumCallout:
|
|
2791
|
+
topBadge: u,
|
|
2792
|
+
discountBadge: d,
|
|
2793
|
+
premiumCallout: b,
|
|
2794
2794
|
bottomNote: y,
|
|
2795
|
-
introPriceNote:
|
|
2796
|
-
isBestValue:
|
|
2797
|
-
ctaButton:
|
|
2798
|
-
className:
|
|
2799
|
-
children:
|
|
2795
|
+
introPriceNote: k,
|
|
2796
|
+
isBestValue: j = !1,
|
|
2797
|
+
ctaButton: x,
|
|
2798
|
+
className: I,
|
|
2799
|
+
children: z,
|
|
2800
2800
|
disabled: w = !1,
|
|
2801
|
-
ariaLabel:
|
|
2801
|
+
ariaLabel: _,
|
|
2802
|
+
onTrack: L,
|
|
2803
|
+
trackingLabel: F,
|
|
2804
|
+
componentName: A = "SubscriptionTile"
|
|
2802
2805
|
}) => {
|
|
2803
|
-
const
|
|
2804
|
-
!w && !
|
|
2805
|
-
},
|
|
2806
|
-
!w && !
|
|
2807
|
-
},
|
|
2808
|
-
|
|
2806
|
+
const P = !!x, v = n ? "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", $ = () => {
|
|
2807
|
+
!w && !P && (L?.({ action: "select", trackingLabel: F, componentName: A }), a());
|
|
2808
|
+
}, f = (D) => {
|
|
2809
|
+
!w && !P && (D.key === "Enter" || D.key === " ") && (D.preventDefault(), L?.({ action: "select", trackingLabel: F, componentName: A }), a());
|
|
2810
|
+
}, S = (D) => {
|
|
2811
|
+
D.stopPropagation(), L?.({ action: "cta_click", trackingLabel: F, componentName: A }), x?.onClick && x.onClick();
|
|
2809
2812
|
};
|
|
2810
|
-
return /* @__PURE__ */
|
|
2813
|
+
return /* @__PURE__ */ G(
|
|
2811
2814
|
"div",
|
|
2812
2815
|
{
|
|
2813
|
-
className:
|
|
2814
|
-
"relative rounded-2xl p-6 transition-all flex flex-col",
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2816
|
+
className: C(
|
|
2817
|
+
"relative rounded-2xl p-6 transition-all flex flex-col h-full",
|
|
2818
|
+
// Add extra bottom padding for radio button when not in CTA mode
|
|
2819
|
+
!P && "pb-14",
|
|
2820
|
+
w ? "opacity-50 cursor-not-allowed" : P ? "cursor-default" : "cursor-pointer",
|
|
2821
|
+
v,
|
|
2822
|
+
I
|
|
2818
2823
|
),
|
|
2819
|
-
onClick:
|
|
2820
|
-
onKeyDown:
|
|
2821
|
-
role:
|
|
2822
|
-
"aria-checked":
|
|
2823
|
-
"aria-label":
|
|
2824
|
+
onClick: $,
|
|
2825
|
+
onKeyDown: f,
|
|
2826
|
+
role: P ? "article" : "radio",
|
|
2827
|
+
"aria-checked": P ? void 0 : n,
|
|
2828
|
+
"aria-label": _ || `${o} - ${t}${r || ""}`,
|
|
2824
2829
|
"aria-disabled": w,
|
|
2825
|
-
tabIndex:
|
|
2830
|
+
tabIndex: P || w ? -1 : 0,
|
|
2826
2831
|
children: [
|
|
2827
|
-
|
|
2832
|
+
u && /* @__PURE__ */ g("div", { className: "absolute top-0 left-1/2 -translate-x-1/2 -translate-y-1/2 z-10", children: /* @__PURE__ */ g(
|
|
2828
2833
|
"span",
|
|
2829
2834
|
{
|
|
2830
|
-
className:
|
|
2831
|
-
|
|
2832
|
-
"text-white px-
|
|
2835
|
+
className: C(
|
|
2836
|
+
Lt[u.color],
|
|
2837
|
+
"text-white px-4 py-1.5 rounded-full text-sm font-semibold shadow-lg whitespace-nowrap"
|
|
2833
2838
|
),
|
|
2834
|
-
children:
|
|
2839
|
+
children: u.text
|
|
2835
2840
|
}
|
|
2836
2841
|
) }),
|
|
2837
|
-
/* @__PURE__ */
|
|
2838
|
-
/* @__PURE__ */
|
|
2842
|
+
/* @__PURE__ */ G("div", { className: "flex flex-col flex-grow", children: [
|
|
2843
|
+
/* @__PURE__ */ G("div", { className: C("text-center mb-6", u && "mt-2"), children: [
|
|
2839
2844
|
/* @__PURE__ */ g(
|
|
2840
2845
|
"h3",
|
|
2841
2846
|
{
|
|
2842
|
-
className:
|
|
2843
|
-
|
|
2847
|
+
className: C(
|
|
2848
|
+
he.heading.h4(),
|
|
2844
2849
|
"mb-2",
|
|
2845
2850
|
n ? "text-white" : ""
|
|
2846
2851
|
),
|
|
2847
2852
|
children: o
|
|
2848
2853
|
}
|
|
2849
2854
|
),
|
|
2850
|
-
/* @__PURE__ */
|
|
2855
|
+
/* @__PURE__ */ G("div", { className: "mb-3", children: [
|
|
2851
2856
|
/* @__PURE__ */ g(
|
|
2852
2857
|
"span",
|
|
2853
2858
|
{
|
|
2854
|
-
className:
|
|
2859
|
+
className: C(
|
|
2855
2860
|
"text-4xl font-bold",
|
|
2856
2861
|
n ? "text-white" : "text-gray-900 dark:text-gray-100"
|
|
2857
2862
|
),
|
|
2858
|
-
children:
|
|
2863
|
+
children: t
|
|
2859
2864
|
}
|
|
2860
2865
|
),
|
|
2861
|
-
|
|
2866
|
+
r && /* @__PURE__ */ g(
|
|
2862
2867
|
"span",
|
|
2863
2868
|
{
|
|
2864
|
-
className:
|
|
2869
|
+
className: C(
|
|
2865
2870
|
"text-lg",
|
|
2866
2871
|
n ? "text-blue-100" : "text-gray-500 dark:text-gray-400"
|
|
2867
2872
|
),
|
|
2868
|
-
children:
|
|
2873
|
+
children: r
|
|
2869
2874
|
}
|
|
2870
2875
|
)
|
|
2871
2876
|
] }),
|
|
2872
|
-
|
|
2877
|
+
d && /* @__PURE__ */ g(
|
|
2873
2878
|
"div",
|
|
2874
2879
|
{
|
|
2875
|
-
className:
|
|
2880
|
+
className: C(
|
|
2876
2881
|
"inline-flex items-center px-2 py-1 rounded-full text-sm font-semibold",
|
|
2877
2882
|
n ? "bg-blue-500 text-white" : "bg-green-100 text-green-700 dark:bg-green-900/50 dark:text-green-300"
|
|
2878
2883
|
),
|
|
2879
|
-
children:
|
|
2884
|
+
children: d.text
|
|
2880
2885
|
}
|
|
2881
2886
|
)
|
|
2882
2887
|
] }),
|
|
2883
|
-
|
|
2884
|
-
s.length > 0 && /* @__PURE__ */ g("div", { className: "space-y-3 mb-6 flex-grow", children: s.map((
|
|
2888
|
+
z,
|
|
2889
|
+
s.length > 0 && /* @__PURE__ */ g("div", { className: "space-y-3 mb-6 flex-grow", children: s.map((D, U) => /* @__PURE__ */ G("div", { className: "flex items-start", children: [
|
|
2885
2890
|
/* @__PURE__ */ g(
|
|
2886
2891
|
"svg",
|
|
2887
2892
|
{
|
|
2888
|
-
className:
|
|
2893
|
+
className: C(
|
|
2889
2894
|
"w-5 h-5 mr-3 flex-shrink-0",
|
|
2890
2895
|
n ? "text-blue-200" : "text-green-500"
|
|
2891
2896
|
),
|
|
@@ -2906,18 +2911,18 @@ const Lr = {
|
|
|
2906
2911
|
/* @__PURE__ */ g(
|
|
2907
2912
|
"span",
|
|
2908
2913
|
{
|
|
2909
|
-
className:
|
|
2914
|
+
className: C(
|
|
2910
2915
|
"text-sm text-left",
|
|
2911
2916
|
n ? "text-white" : "text-gray-700 dark:text-gray-300"
|
|
2912
2917
|
),
|
|
2913
|
-
children:
|
|
2918
|
+
children: D.replace(/^✓\s*/, "")
|
|
2914
2919
|
}
|
|
2915
2920
|
)
|
|
2916
|
-
] },
|
|
2917
|
-
|
|
2921
|
+
] }, U)) }),
|
|
2922
|
+
b && /* @__PURE__ */ G(
|
|
2918
2923
|
"div",
|
|
2919
2924
|
{
|
|
2920
|
-
className:
|
|
2925
|
+
className: C(
|
|
2921
2926
|
"rounded-lg p-4 mb-4",
|
|
2922
2927
|
n ? "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
2928
|
),
|
|
@@ -2925,24 +2930,24 @@ const Lr = {
|
|
|
2925
2930
|
/* @__PURE__ */ g("div", { className: "flex items-center mb-2", children: /* @__PURE__ */ g(
|
|
2926
2931
|
"span",
|
|
2927
2932
|
{
|
|
2928
|
-
className:
|
|
2933
|
+
className: C(
|
|
2929
2934
|
"font-semibold text-sm",
|
|
2930
2935
|
n ? "text-white" : "text-purple-600 dark:text-purple-400"
|
|
2931
2936
|
),
|
|
2932
|
-
children:
|
|
2937
|
+
children: b.title
|
|
2933
2938
|
}
|
|
2934
2939
|
) }),
|
|
2935
2940
|
/* @__PURE__ */ g(
|
|
2936
2941
|
"ul",
|
|
2937
2942
|
{
|
|
2938
|
-
className:
|
|
2943
|
+
className: C(
|
|
2939
2944
|
"text-xs space-y-1",
|
|
2940
2945
|
n ? "text-blue-100" : "text-gray-600 dark:text-gray-400"
|
|
2941
2946
|
),
|
|
2942
|
-
children:
|
|
2947
|
+
children: b.features.map((D, U) => /* @__PURE__ */ G("li", { children: [
|
|
2943
2948
|
"• ",
|
|
2944
|
-
|
|
2945
|
-
] },
|
|
2949
|
+
D
|
|
2950
|
+
] }, U))
|
|
2946
2951
|
}
|
|
2947
2952
|
)
|
|
2948
2953
|
]
|
|
@@ -2951,7 +2956,7 @@ const Lr = {
|
|
|
2951
2956
|
y && /* @__PURE__ */ g(
|
|
2952
2957
|
"div",
|
|
2953
2958
|
{
|
|
2954
|
-
className:
|
|
2959
|
+
className: C(
|
|
2955
2960
|
"text-center text-sm font-medium mb-4",
|
|
2956
2961
|
n ? "text-blue-100" : "text-blue-600 dark:text-blue-400"
|
|
2957
2962
|
),
|
|
@@ -2959,140 +2964,140 @@ const Lr = {
|
|
|
2959
2964
|
}
|
|
2960
2965
|
)
|
|
2961
2966
|
] }),
|
|
2962
|
-
/* @__PURE__ */
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
"p",
|
|
2972
|
-
{
|
|
2973
|
-
className: N(
|
|
2974
|
-
"text-sm font-semibold text-center",
|
|
2975
|
-
n ? "text-white" : "text-yellow-700 dark:text-yellow-300"
|
|
2976
|
-
),
|
|
2977
|
-
children: C
|
|
2978
|
-
}
|
|
2979
|
-
)
|
|
2980
|
-
}
|
|
2981
|
-
),
|
|
2982
|
-
S ? (
|
|
2983
|
-
// CTA Button - like pricing page
|
|
2984
|
-
h.href ? /* @__PURE__ */ g(
|
|
2985
|
-
"a",
|
|
2986
|
-
{
|
|
2987
|
-
href: h.href,
|
|
2988
|
-
className: N(
|
|
2989
|
-
"block w-full py-3 font-semibold rounded-lg text-center transition-colors",
|
|
2990
|
-
n ? "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: h.label
|
|
2994
|
-
}
|
|
2995
|
-
) : /* @__PURE__ */ g(
|
|
2996
|
-
"button",
|
|
2967
|
+
k && /* @__PURE__ */ g(
|
|
2968
|
+
"div",
|
|
2969
|
+
{
|
|
2970
|
+
className: C(
|
|
2971
|
+
"p-3 rounded-lg mt-auto",
|
|
2972
|
+
n ? "bg-blue-500/30" : "bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800"
|
|
2973
|
+
),
|
|
2974
|
+
children: /* @__PURE__ */ g(
|
|
2975
|
+
"p",
|
|
2997
2976
|
{
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
"w-full py-3 font-semibold rounded-lg transition-colors",
|
|
3002
|
-
n ? "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"
|
|
2977
|
+
className: C(
|
|
2978
|
+
"text-sm font-semibold text-center",
|
|
2979
|
+
n ? "text-white" : "text-yellow-700 dark:text-yellow-300"
|
|
3004
2980
|
),
|
|
3005
|
-
children:
|
|
2981
|
+
children: k
|
|
3006
2982
|
}
|
|
3007
2983
|
)
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
2984
|
+
}
|
|
2985
|
+
),
|
|
2986
|
+
P && /* @__PURE__ */ g("div", { className: "mt-auto", children: x.href ? /* @__PURE__ */ g(
|
|
2987
|
+
"a",
|
|
2988
|
+
{
|
|
2989
|
+
href: x.href,
|
|
2990
|
+
className: C(
|
|
2991
|
+
"block w-full py-3 font-semibold rounded-lg text-center transition-colors",
|
|
2992
|
+
n ? "bg-white text-blue-600 hover:bg-gray-100" : "bg-blue-600 text-white hover:bg-blue-700"
|
|
2993
|
+
),
|
|
2994
|
+
onClick: (D) => D.stopPropagation(),
|
|
2995
|
+
children: x.label
|
|
2996
|
+
}
|
|
2997
|
+
) : /* @__PURE__ */ g(
|
|
2998
|
+
"button",
|
|
2999
|
+
{
|
|
3000
|
+
onClick: S,
|
|
3001
|
+
disabled: w,
|
|
3002
|
+
className: C(
|
|
3003
|
+
"w-full py-3 font-semibold rounded-lg transition-colors",
|
|
3004
|
+
n ? "bg-white text-blue-600 hover:bg-gray-100" : "bg-blue-600 text-white hover:bg-blue-700",
|
|
3005
|
+
w && "opacity-50 cursor-not-allowed"
|
|
3006
|
+
),
|
|
3007
|
+
children: x.label
|
|
3008
|
+
}
|
|
3009
|
+
) }),
|
|
3010
|
+
!P && /* @__PURE__ */ g("div", { className: "absolute bottom-4 left-1/2 -translate-x-1/2", children: /* @__PURE__ */ g(
|
|
3011
|
+
"div",
|
|
3012
|
+
{
|
|
3013
|
+
className: C(
|
|
3014
|
+
"w-5 h-5 rounded-full border-2 flex items-center justify-center",
|
|
3015
|
+
n ? "border-white bg-white" : "border-gray-300 dark:border-gray-600"
|
|
3016
|
+
),
|
|
3017
|
+
children: n && /* @__PURE__ */ g("div", { className: "w-2 h-2 rounded-full bg-blue-600" })
|
|
3018
|
+
}
|
|
3019
|
+
) })
|
|
3022
3020
|
]
|
|
3023
3021
|
}
|
|
3024
3022
|
);
|
|
3025
|
-
},
|
|
3023
|
+
}, Kt = ({
|
|
3026
3024
|
title: e,
|
|
3027
3025
|
children: o,
|
|
3028
|
-
error:
|
|
3029
|
-
variant:
|
|
3026
|
+
error: t,
|
|
3027
|
+
variant: r = "selection",
|
|
3030
3028
|
currentStatus: s,
|
|
3031
3029
|
primaryAction: n,
|
|
3032
3030
|
secondaryAction: a,
|
|
3033
|
-
minTileWidth:
|
|
3034
|
-
className:
|
|
3035
|
-
headerContent:
|
|
3031
|
+
minTileWidth: u = 240,
|
|
3032
|
+
className: d,
|
|
3033
|
+
headerContent: b,
|
|
3036
3034
|
aboveProducts: y,
|
|
3037
|
-
footerContent:
|
|
3038
|
-
currentStatusLabel:
|
|
3039
|
-
freeTileConfig:
|
|
3035
|
+
footerContent: k,
|
|
3036
|
+
currentStatusLabel: j = "Current Status",
|
|
3037
|
+
freeTileConfig: x,
|
|
3038
|
+
onTrack: I,
|
|
3039
|
+
trackingLabel: z,
|
|
3040
|
+
componentName: w = "SubscriptionLayout"
|
|
3040
3041
|
}) => {
|
|
3041
|
-
const
|
|
3042
|
+
const _ = r === "selection" && n, L = () => {
|
|
3043
|
+
I?.({ action: "primary_action", trackingLabel: z, componentName: w }), n?.onClick();
|
|
3044
|
+
}, F = () => {
|
|
3045
|
+
I?.({ action: "secondary_action", trackingLabel: z, componentName: w }), a?.onClick();
|
|
3046
|
+
}, A = r === "cta" && x, P = {
|
|
3042
3047
|
display: "grid",
|
|
3043
|
-
gridTemplateColumns: `repeat(auto-fit, minmax(min(100%, ${
|
|
3048
|
+
gridTemplateColumns: `repeat(auto-fit, minmax(min(100%, ${u}px), 1fr))`,
|
|
3044
3049
|
gap: "1.5rem"
|
|
3045
3050
|
};
|
|
3046
|
-
return /* @__PURE__ */ g(Be, { className:
|
|
3047
|
-
|
|
3048
|
-
s && /* @__PURE__ */
|
|
3049
|
-
/* @__PURE__ */ g("h2", { className:
|
|
3050
|
-
s.isActive ? /* @__PURE__ */
|
|
3051
|
-
/* @__PURE__ */
|
|
3051
|
+
return /* @__PURE__ */ g(Be, { className: d, children: /* @__PURE__ */ G(Ue, { className: "pt-6", children: [
|
|
3052
|
+
b,
|
|
3053
|
+
s && /* @__PURE__ */ G(We, { children: [
|
|
3054
|
+
/* @__PURE__ */ g("h2", { className: C(he.heading.h3(), "mb-4"), children: j }),
|
|
3055
|
+
s.isActive ? /* @__PURE__ */ G("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: [
|
|
3056
|
+
/* @__PURE__ */ G("div", { className: "flex items-center mb-2", children: [
|
|
3052
3057
|
/* @__PURE__ */ g("div", { className: "w-3 h-3 bg-green-500 rounded-full mr-3" }),
|
|
3053
3058
|
/* @__PURE__ */ g("span", { className: "font-semibold text-green-800 dark:text-green-300", children: s.activeContent?.title || "Active Subscription" })
|
|
3054
3059
|
] }),
|
|
3055
3060
|
s.activeContent?.fields && s.activeContent.fields.length > 0 && /* @__PURE__ */ g("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4 mt-4", children: s.activeContent.fields.map(
|
|
3056
|
-
(
|
|
3057
|
-
/* @__PURE__ */ g("p", { className: "text-sm text-green-600 dark:text-green-400", children:
|
|
3058
|
-
/* @__PURE__ */ g("p", { className: "font-semibold text-green-800 dark:text-green-300", children:
|
|
3059
|
-
] },
|
|
3061
|
+
(v, $) => /* @__PURE__ */ G("div", { children: [
|
|
3062
|
+
/* @__PURE__ */ g("p", { className: "text-sm text-green-600 dark:text-green-400", children: v.label }),
|
|
3063
|
+
/* @__PURE__ */ g("p", { className: "font-semibold text-green-800 dark:text-green-300", children: v.value })
|
|
3064
|
+
] }, $)
|
|
3060
3065
|
) })
|
|
3061
|
-
] }) : /* @__PURE__ */
|
|
3062
|
-
/* @__PURE__ */
|
|
3066
|
+
] }) : /* @__PURE__ */ G("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: [
|
|
3067
|
+
/* @__PURE__ */ G("div", { className: "flex items-center mb-2", children: [
|
|
3063
3068
|
/* @__PURE__ */ g("div", { className: "w-3 h-3 bg-yellow-500 rounded-full mr-3" }),
|
|
3064
3069
|
/* @__PURE__ */ g("span", { className: "font-semibold text-yellow-800 dark:text-yellow-300", children: s.inactiveContent?.title || "No Active Subscription" })
|
|
3065
3070
|
] }),
|
|
3066
3071
|
s.inactiveContent?.message && /* @__PURE__ */ g("p", { className: "text-yellow-700 dark:text-yellow-400", children: s.inactiveContent.message })
|
|
3067
3072
|
] })
|
|
3068
3073
|
] }),
|
|
3069
|
-
/* @__PURE__ */ g("h2", { className:
|
|
3074
|
+
/* @__PURE__ */ g("h2", { className: C(he.heading.h3(), "mb-4"), children: e }),
|
|
3070
3075
|
y,
|
|
3071
|
-
/* @__PURE__ */
|
|
3076
|
+
/* @__PURE__ */ G("div", { style: P, children: [
|
|
3072
3077
|
A && /* @__PURE__ */ g(
|
|
3073
|
-
|
|
3078
|
+
_t,
|
|
3074
3079
|
{
|
|
3075
3080
|
id: "free",
|
|
3076
|
-
title:
|
|
3077
|
-
price:
|
|
3078
|
-
periodLabel:
|
|
3079
|
-
features:
|
|
3081
|
+
title: x.title,
|
|
3082
|
+
price: x.price,
|
|
3083
|
+
periodLabel: x.periodLabel,
|
|
3084
|
+
features: x.features,
|
|
3080
3085
|
isSelected: !1,
|
|
3081
3086
|
onSelect: () => {
|
|
3082
3087
|
},
|
|
3083
|
-
topBadge:
|
|
3084
|
-
ctaButton:
|
|
3088
|
+
topBadge: x.topBadge,
|
|
3089
|
+
ctaButton: x.ctaButton
|
|
3085
3090
|
}
|
|
3086
3091
|
),
|
|
3087
3092
|
o
|
|
3088
3093
|
] }),
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3094
|
+
k,
|
|
3095
|
+
t && /* @__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: t }) }),
|
|
3096
|
+
_ && /* @__PURE__ */ G("div", { className: "flex flex-col sm:flex-row gap-3 mt-6", children: [
|
|
3092
3097
|
a && /* @__PURE__ */ g(
|
|
3093
3098
|
ve,
|
|
3094
3099
|
{
|
|
3095
|
-
onClick:
|
|
3100
|
+
onClick: F,
|
|
3096
3101
|
disabled: a.disabled || a.loading,
|
|
3097
3102
|
variant: "outline",
|
|
3098
3103
|
className: "sm:flex-shrink-0",
|
|
@@ -3102,7 +3107,7 @@ const Lr = {
|
|
|
3102
3107
|
/* @__PURE__ */ g(
|
|
3103
3108
|
ve,
|
|
3104
3109
|
{
|
|
3105
|
-
onClick:
|
|
3110
|
+
onClick: L,
|
|
3106
3111
|
disabled: n.disabled || n.loading,
|
|
3107
3112
|
className: "flex-1",
|
|
3108
3113
|
children: n.label
|
|
@@ -3111,11 +3116,11 @@ const Lr = {
|
|
|
3111
3116
|
] })
|
|
3112
3117
|
] }) });
|
|
3113
3118
|
};
|
|
3114
|
-
function
|
|
3119
|
+
function Yt({
|
|
3115
3120
|
options: e,
|
|
3116
3121
|
value: o,
|
|
3117
|
-
onChange:
|
|
3118
|
-
className:
|
|
3122
|
+
onChange: t,
|
|
3123
|
+
className: r,
|
|
3119
3124
|
disabled: s = !1,
|
|
3120
3125
|
size: n = "md"
|
|
3121
3126
|
}) {
|
|
@@ -3127,269 +3132,294 @@ function Kr({
|
|
|
3127
3132
|
return /* @__PURE__ */ g(
|
|
3128
3133
|
"div",
|
|
3129
3134
|
{
|
|
3130
|
-
className:
|
|
3135
|
+
className: C(
|
|
3131
3136
|
"inline-flex rounded-lg bg-gray-100 dark:bg-gray-800 p-1",
|
|
3132
3137
|
s && "opacity-50",
|
|
3133
|
-
|
|
3138
|
+
r
|
|
3134
3139
|
),
|
|
3135
3140
|
role: "radiogroup",
|
|
3136
|
-
children: e.map((
|
|
3137
|
-
const
|
|
3141
|
+
children: e.map((u) => {
|
|
3142
|
+
const d = o === u.value;
|
|
3138
3143
|
return /* @__PURE__ */ g(
|
|
3139
3144
|
"button",
|
|
3140
3145
|
{
|
|
3141
3146
|
type: "button",
|
|
3142
3147
|
role: "radio",
|
|
3143
|
-
"aria-checked":
|
|
3148
|
+
"aria-checked": d,
|
|
3144
3149
|
disabled: s,
|
|
3145
|
-
onClick: () => !s &&
|
|
3146
|
-
className:
|
|
3150
|
+
onClick: () => !s && t(u.value),
|
|
3151
|
+
className: C(
|
|
3147
3152
|
a[n],
|
|
3148
3153
|
"font-medium rounded-md transition-all focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2",
|
|
3149
|
-
|
|
3154
|
+
d ? "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",
|
|
3150
3155
|
s && "cursor-not-allowed"
|
|
3151
3156
|
),
|
|
3152
|
-
children:
|
|
3157
|
+
children: u.label
|
|
3153
3158
|
},
|
|
3154
|
-
|
|
3159
|
+
u.value
|
|
3155
3160
|
);
|
|
3156
3161
|
})
|
|
3157
3162
|
}
|
|
3158
3163
|
);
|
|
3159
3164
|
}
|
|
3160
|
-
let
|
|
3161
|
-
const
|
|
3162
|
-
let
|
|
3163
|
-
const
|
|
3164
|
-
const
|
|
3165
|
+
let ge = null;
|
|
3166
|
+
const Ft = async () => (ge || (ge = await import("@revenuecat/purchases-js")), ge);
|
|
3167
|
+
let T = null;
|
|
3168
|
+
const Se = (e, o) => {
|
|
3169
|
+
const t = e.rcBillingProduct, r = t?.defaultSubscriptionOption, s = typeof o?.entitlement == "string" ? o.entitlement : void 0;
|
|
3165
3170
|
return {
|
|
3166
3171
|
identifier: e.identifier,
|
|
3167
|
-
productId:
|
|
3168
|
-
price:
|
|
3169
|
-
priceString:
|
|
3170
|
-
title:
|
|
3171
|
-
description:
|
|
3172
|
-
period:
|
|
3172
|
+
productId: t?.identifier || void 0,
|
|
3173
|
+
price: t?.currentPrice?.amountMicros ? (t.currentPrice.amountMicros / 1e6).toFixed(2) : "0",
|
|
3174
|
+
priceString: t?.currentPrice?.formattedPrice || "$0",
|
|
3175
|
+
title: t?.title || e.identifier,
|
|
3176
|
+
description: t?.description || "",
|
|
3177
|
+
period: t?.normalPeriodDuration || void 0,
|
|
3173
3178
|
introPrice: r?.introPrice?.price?.formattedPrice || void 0,
|
|
3174
3179
|
introPriceAmount: r?.introPrice?.price?.amountMicros ? (r.introPrice.price.amountMicros / 1e6).toFixed(2) : void 0,
|
|
3175
3180
|
introPricePeriod: r?.introPrice?.periodDuration || void 0,
|
|
3176
3181
|
introPriceCycles: r?.introPrice?.cycleCount || void 0,
|
|
3177
|
-
freeTrialPeriod: r?.trial?.periodDuration || void 0
|
|
3182
|
+
freeTrialPeriod: r?.trial?.periodDuration || void 0,
|
|
3183
|
+
entitlement: s
|
|
3178
3184
|
};
|
|
3179
|
-
},
|
|
3180
|
-
const
|
|
3181
|
-
return
|
|
3185
|
+
}, be = (e, o) => {
|
|
3186
|
+
const t = e.entitlements.active[o];
|
|
3187
|
+
return t ? {
|
|
3182
3188
|
isActive: !0,
|
|
3183
|
-
expirationDate:
|
|
3184
|
-
purchaseDate:
|
|
3185
|
-
productIdentifier:
|
|
3186
|
-
willRenew:
|
|
3187
|
-
isSandbox:
|
|
3188
|
-
unsubscribeDetectedAt:
|
|
3189
|
-
billingIssueDetectedAt:
|
|
3189
|
+
expirationDate: t.expirationDate ? new Date(t.expirationDate) : void 0,
|
|
3190
|
+
purchaseDate: t.latestPurchaseDate ? new Date(t.latestPurchaseDate) : void 0,
|
|
3191
|
+
productIdentifier: t.productIdentifier,
|
|
3192
|
+
willRenew: t.willRenew,
|
|
3193
|
+
isSandbox: t.isSandbox,
|
|
3194
|
+
unsubscribeDetectedAt: t.unsubscribeDetectedAt ? new Date(t.unsubscribeDetectedAt) : void 0,
|
|
3195
|
+
billingIssueDetectedAt: t.billingIssueDetectedAt ? new Date(t.billingIssueDetectedAt) : void 0
|
|
3190
3196
|
} : { isActive: !1 };
|
|
3191
|
-
},
|
|
3197
|
+
}, $e = Ke(
|
|
3192
3198
|
void 0
|
|
3193
|
-
),
|
|
3199
|
+
), qt = ({
|
|
3194
3200
|
apiKey: e,
|
|
3195
3201
|
entitlementId: o,
|
|
3196
|
-
userEmail:
|
|
3197
|
-
onError:
|
|
3202
|
+
userEmail: t,
|
|
3203
|
+
onError: r,
|
|
3198
3204
|
onPurchaseSuccess: s,
|
|
3199
3205
|
children: n
|
|
3200
3206
|
}) => {
|
|
3201
|
-
const [a,
|
|
3202
|
-
|
|
3203
|
-
}, []),
|
|
3204
|
-
if (
|
|
3207
|
+
const [a, u] = Y([]), [d, b] = Y(null), [y, k] = Y(!1), [j, x] = Y(null), [I, z] = Y(!1), [w, _] = Y(null), [L, F] = Y(null), [A, P] = Y(null), v = !e || e === "your_revenuecat_api_key_here", $ = q(() => {
|
|
3208
|
+
u([]), b(null), F(null), P(null), x(null), z(!1), _(null), T = null;
|
|
3209
|
+
}, []), f = q(async () => {
|
|
3210
|
+
if (T)
|
|
3205
3211
|
try {
|
|
3206
|
-
const
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3212
|
+
const m = await T.getOfferings();
|
|
3213
|
+
m.current && F(m.current);
|
|
3214
|
+
const p = m.all;
|
|
3215
|
+
if (p) {
|
|
3216
|
+
P(p);
|
|
3217
|
+
const i = [];
|
|
3218
|
+
for (const O of Object.keys(p)) {
|
|
3219
|
+
const E = p[O];
|
|
3220
|
+
if (E?.availablePackages) {
|
|
3221
|
+
const W = E.metadata, J = E.availablePackages.map(
|
|
3222
|
+
(M) => Se(M, W)
|
|
3223
|
+
);
|
|
3224
|
+
i.push(...J);
|
|
3225
|
+
}
|
|
3226
|
+
}
|
|
3227
|
+
u(i);
|
|
3228
|
+
} else if (m.current) {
|
|
3229
|
+
const i = m.current.metadata, O = m.current.availablePackages.map(
|
|
3230
|
+
(E) => Se(E, i)
|
|
3211
3231
|
);
|
|
3212
|
-
|
|
3232
|
+
u(O);
|
|
3213
3233
|
}
|
|
3214
|
-
} catch (
|
|
3215
|
-
const
|
|
3216
|
-
|
|
3234
|
+
} catch (m) {
|
|
3235
|
+
const p = m instanceof Error ? m.message : "Failed to load offerings";
|
|
3236
|
+
x(p), r?.(m instanceof Error ? m : new Error(p));
|
|
3217
3237
|
}
|
|
3218
|
-
}, [
|
|
3219
|
-
if (
|
|
3238
|
+
}, [r]), S = q(async () => {
|
|
3239
|
+
if (T)
|
|
3220
3240
|
try {
|
|
3221
|
-
const
|
|
3222
|
-
|
|
3223
|
-
} catch (
|
|
3224
|
-
const
|
|
3225
|
-
|
|
3241
|
+
const m = await T.getCustomerInfo(), p = be(m, o);
|
|
3242
|
+
b(p.isActive ? p : null);
|
|
3243
|
+
} catch (m) {
|
|
3244
|
+
const p = m instanceof Error ? m.message : "Failed to load subscription status";
|
|
3245
|
+
x(p), r?.(m instanceof Error ? m : new Error(p));
|
|
3226
3246
|
}
|
|
3227
|
-
}, [o,
|
|
3228
|
-
async (
|
|
3229
|
-
if (w && w !==
|
|
3247
|
+
}, [o, r]), D = q(
|
|
3248
|
+
async (m, p) => {
|
|
3249
|
+
if (w && w !== m && $(), !(I && w === m))
|
|
3230
3250
|
try {
|
|
3231
|
-
if (
|
|
3251
|
+
if (k(!0), x(null), v)
|
|
3232
3252
|
console.warn(
|
|
3233
3253
|
"[SubscriptionProvider] RevenueCat API key not configured"
|
|
3234
|
-
),
|
|
3254
|
+
), u([]), b(null);
|
|
3235
3255
|
else {
|
|
3236
|
-
const
|
|
3256
|
+
const i = await Ft(), O = {
|
|
3237
3257
|
apiKey: e,
|
|
3238
|
-
appUserId:
|
|
3258
|
+
appUserId: m
|
|
3239
3259
|
};
|
|
3240
|
-
|
|
3241
|
-
const
|
|
3242
|
-
if (
|
|
3260
|
+
T = i.Purchases.configure(O);
|
|
3261
|
+
const E = p || t;
|
|
3262
|
+
if (E && T)
|
|
3243
3263
|
try {
|
|
3244
|
-
await
|
|
3264
|
+
await T.setAttributes({ email: E });
|
|
3245
3265
|
} catch {
|
|
3246
3266
|
}
|
|
3247
|
-
await Promise.all([
|
|
3267
|
+
await Promise.all([f(), S()]);
|
|
3248
3268
|
}
|
|
3249
|
-
|
|
3250
|
-
} catch (
|
|
3251
|
-
const
|
|
3252
|
-
|
|
3269
|
+
_(m), z(!0);
|
|
3270
|
+
} catch (i) {
|
|
3271
|
+
const O = i instanceof Error ? i.message : "Failed to initialize";
|
|
3272
|
+
x(O), b(null), u([]), r?.(i instanceof Error ? i : new Error(O));
|
|
3253
3273
|
} finally {
|
|
3254
|
-
|
|
3274
|
+
k(!1);
|
|
3255
3275
|
}
|
|
3256
3276
|
},
|
|
3257
3277
|
[
|
|
3258
3278
|
w,
|
|
3259
|
-
|
|
3260
|
-
|
|
3279
|
+
I,
|
|
3280
|
+
v,
|
|
3261
3281
|
e,
|
|
3262
|
-
r,
|
|
3263
|
-
O,
|
|
3264
|
-
k,
|
|
3265
3282
|
t,
|
|
3266
|
-
|
|
3283
|
+
f,
|
|
3284
|
+
S,
|
|
3285
|
+
r,
|
|
3286
|
+
$
|
|
3267
3287
|
]
|
|
3268
|
-
),
|
|
3269
|
-
async (
|
|
3288
|
+
), U = q(
|
|
3289
|
+
async (m) => {
|
|
3270
3290
|
try {
|
|
3271
|
-
if (
|
|
3272
|
-
await new Promise((
|
|
3273
|
-
const
|
|
3291
|
+
if (k(!0), x(null), v) {
|
|
3292
|
+
await new Promise((W) => setTimeout(W, 2e3));
|
|
3293
|
+
const E = {
|
|
3274
3294
|
isActive: !0,
|
|
3275
3295
|
expirationDate: new Date(Date.now() + 365 * 24 * 60 * 60 * 1e3),
|
|
3276
3296
|
purchaseDate: /* @__PURE__ */ new Date(),
|
|
3277
|
-
productIdentifier:
|
|
3297
|
+
productIdentifier: m,
|
|
3278
3298
|
willRenew: !0
|
|
3279
3299
|
};
|
|
3280
|
-
return
|
|
3300
|
+
return b(E), s?.(m), !0;
|
|
3281
3301
|
}
|
|
3282
|
-
if (!
|
|
3302
|
+
if (!T || !L && !A)
|
|
3283
3303
|
throw new Error("Subscription service not initialized");
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3304
|
+
let p;
|
|
3305
|
+
if (A)
|
|
3306
|
+
for (const E of Object.keys(A)) {
|
|
3307
|
+
const W = A[E];
|
|
3308
|
+
if (W?.availablePackages && (p = W.availablePackages.find(
|
|
3309
|
+
(J) => J.identifier === m
|
|
3310
|
+
), p))
|
|
3311
|
+
break;
|
|
3312
|
+
}
|
|
3313
|
+
else L && (p = L.availablePackages.find(
|
|
3314
|
+
(W) => W.identifier === m
|
|
3315
|
+
));
|
|
3316
|
+
if (!p)
|
|
3317
|
+
throw new Error(`Package not found: ${m}`);
|
|
3318
|
+
const i = await T.purchase({
|
|
3319
|
+
rcPackage: p,
|
|
3320
|
+
...t ? { customerEmail: t } : {}
|
|
3321
|
+
}), O = be(i.customerInfo, o);
|
|
3322
|
+
return b(O.isActive ? O : null), O.isActive && s?.(m), O.isActive;
|
|
3323
|
+
} catch (p) {
|
|
3324
|
+
const i = p instanceof Error ? p.message : "Purchase failed";
|
|
3325
|
+
return x(i), r?.(p instanceof Error ? p : new Error(i)), !1;
|
|
3297
3326
|
} finally {
|
|
3298
|
-
|
|
3327
|
+
k(!1);
|
|
3299
3328
|
}
|
|
3300
3329
|
},
|
|
3301
3330
|
[
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3331
|
+
v,
|
|
3332
|
+
L,
|
|
3333
|
+
A,
|
|
3334
|
+
t,
|
|
3305
3335
|
o,
|
|
3306
3336
|
s,
|
|
3307
|
-
|
|
3337
|
+
r
|
|
3308
3338
|
]
|
|
3309
|
-
),
|
|
3339
|
+
), Q = q(async () => {
|
|
3310
3340
|
try {
|
|
3311
|
-
if (
|
|
3312
|
-
return await new Promise((
|
|
3313
|
-
if (!
|
|
3341
|
+
if (k(!0), x(null), v)
|
|
3342
|
+
return await new Promise((i) => setTimeout(i, 1e3)), x("No previous purchases found"), !1;
|
|
3343
|
+
if (!T)
|
|
3314
3344
|
throw new Error("Subscription service not initialized");
|
|
3315
|
-
const
|
|
3316
|
-
return
|
|
3317
|
-
} catch (
|
|
3318
|
-
const
|
|
3319
|
-
return
|
|
3345
|
+
const m = await T.getCustomerInfo(), p = be(m, o);
|
|
3346
|
+
return b(p.isActive ? p : null), p.isActive || x("No previous purchases found"), p.isActive;
|
|
3347
|
+
} catch (m) {
|
|
3348
|
+
const p = m instanceof Error ? m.message : "Restore failed";
|
|
3349
|
+
return x(p), r?.(m instanceof Error ? m : new Error(p)), !1;
|
|
3320
3350
|
} finally {
|
|
3321
|
-
|
|
3351
|
+
k(!1);
|
|
3322
3352
|
}
|
|
3323
|
-
}, [
|
|
3324
|
-
if (!
|
|
3353
|
+
}, [v, o, r]), se = q(async () => {
|
|
3354
|
+
if (!v)
|
|
3325
3355
|
try {
|
|
3326
|
-
|
|
3327
|
-
} catch (
|
|
3328
|
-
const
|
|
3329
|
-
|
|
3356
|
+
x(null), await Promise.all([S(), f()]);
|
|
3357
|
+
} catch (m) {
|
|
3358
|
+
const p = m instanceof Error ? m.message : "Refresh failed";
|
|
3359
|
+
x(p), r?.(m instanceof Error ? m : new Error(p));
|
|
3330
3360
|
}
|
|
3331
|
-
}, [
|
|
3332
|
-
|
|
3361
|
+
}, [v, S, f, r]), re = q(() => {
|
|
3362
|
+
x(null);
|
|
3333
3363
|
}, []);
|
|
3334
3364
|
Ye(() => {
|
|
3335
|
-
if (!
|
|
3336
|
-
const
|
|
3365
|
+
if (!I || v || !T) return;
|
|
3366
|
+
const m = setInterval(
|
|
3337
3367
|
() => {
|
|
3338
|
-
|
|
3368
|
+
S().catch(() => {
|
|
3339
3369
|
});
|
|
3340
3370
|
},
|
|
3341
3371
|
300 * 1e3
|
|
3342
3372
|
);
|
|
3343
|
-
return () => clearInterval(
|
|
3344
|
-
}, [
|
|
3345
|
-
const
|
|
3373
|
+
return () => clearInterval(m);
|
|
3374
|
+
}, [I, v, S]);
|
|
3375
|
+
const K = {
|
|
3346
3376
|
products: a,
|
|
3347
|
-
currentSubscription:
|
|
3377
|
+
currentSubscription: d,
|
|
3348
3378
|
isLoading: y,
|
|
3349
|
-
error:
|
|
3350
|
-
initialize:
|
|
3351
|
-
purchase:
|
|
3352
|
-
restore:
|
|
3353
|
-
refresh:
|
|
3354
|
-
clearError:
|
|
3379
|
+
error: j,
|
|
3380
|
+
initialize: D,
|
|
3381
|
+
purchase: U,
|
|
3382
|
+
restore: Q,
|
|
3383
|
+
refresh: se,
|
|
3384
|
+
clearError: re
|
|
3355
3385
|
};
|
|
3356
|
-
return /* @__PURE__ */ g(
|
|
3357
|
-
},
|
|
3358
|
-
const e =
|
|
3386
|
+
return /* @__PURE__ */ g($e.Provider, { value: K, children: n });
|
|
3387
|
+
}, Xt = () => {
|
|
3388
|
+
const e = qe($e);
|
|
3359
3389
|
if (!e)
|
|
3360
3390
|
throw new Error(
|
|
3361
3391
|
"useSubscriptionContext must be used within a SubscriptionProvider"
|
|
3362
3392
|
);
|
|
3363
3393
|
return e;
|
|
3364
|
-
},
|
|
3394
|
+
}, Vt = () => {
|
|
3365
3395
|
try {
|
|
3366
3396
|
const e = [];
|
|
3367
|
-
for (let
|
|
3368
|
-
const
|
|
3369
|
-
|
|
3397
|
+
for (let t = 0; t < localStorage.length; t++) {
|
|
3398
|
+
const r = localStorage.key(t);
|
|
3399
|
+
r && (r.includes("revenuecat") || r.includes("rcb") || r.includes("rc_")) && e.push(r);
|
|
3370
3400
|
}
|
|
3371
|
-
e.forEach((
|
|
3401
|
+
e.forEach((t) => localStorage.removeItem(t));
|
|
3372
3402
|
const o = [];
|
|
3373
|
-
for (let
|
|
3374
|
-
const
|
|
3375
|
-
|
|
3403
|
+
for (let t = 0; t < sessionStorage.length; t++) {
|
|
3404
|
+
const r = sessionStorage.key(t);
|
|
3405
|
+
r && (r.includes("revenuecat") || r.includes("rcb") || r.includes("rc_")) && o.push(r);
|
|
3376
3406
|
}
|
|
3377
|
-
o.forEach((
|
|
3407
|
+
o.forEach((t) => sessionStorage.removeItem(t));
|
|
3378
3408
|
} catch {
|
|
3379
3409
|
}
|
|
3380
|
-
},
|
|
3410
|
+
}, Jt = () => {
|
|
3381
3411
|
try {
|
|
3382
|
-
|
|
3412
|
+
T && (T.close(), T = null), Vt();
|
|
3383
3413
|
} catch {
|
|
3384
3414
|
}
|
|
3385
3415
|
};
|
|
3386
3416
|
export {
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3417
|
+
Yt as SegmentedControl,
|
|
3418
|
+
Kt as SubscriptionLayout,
|
|
3419
|
+
qt as SubscriptionProvider,
|
|
3420
|
+
_t as SubscriptionTile,
|
|
3421
|
+
Vt as clearRevenueCatCheckoutSessions,
|
|
3422
|
+
Jt as closeRevenueCatInstance,
|
|
3423
|
+
C as cn,
|
|
3424
|
+
Xt as useSubscriptionContext
|
|
3395
3425
|
};
|