@svp-chain-sdk/ui 0.1.3 → 0.1.5
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/README.md +124 -5
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/feedback-widget/feedback-widget.d.ts +4 -0
- package/dist/components/feedback-widget/index.d.ts +2 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/components/notice-marquee/index.d.ts +2 -0
- package/dist/components/notice-marquee/notice-marquee.d.ts +18 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +769 -383
- package/dist/styles.css +107 -0
- package/dist/tailwind.d.ts +90 -6
- package/dist/tailwind.js +57 -13
- package/package.json +1 -1
- /package/dist/{button.d.ts → components/button/button.d.ts} +0 -0
- /package/dist/{utils.d.ts → lib/utils.d.ts} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,126 +1,127 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as Q from "react";
|
|
2
|
+
import Se from "react";
|
|
3
|
+
import { Slot as Te } from "@radix-ui/react-slot";
|
|
4
|
+
function xe(e) {
|
|
5
|
+
var o, r, n = "";
|
|
6
|
+
if (typeof e == "string" || typeof e == "number") n += e;
|
|
6
7
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
7
8
|
var i = e.length;
|
|
8
|
-
for (
|
|
9
|
-
} else for (r in e) e[r] && (
|
|
10
|
-
return
|
|
9
|
+
for (o = 0; o < i; o++) e[o] && (r = xe(e[o])) && (n && (n += " "), n += r);
|
|
10
|
+
} else for (r in e) e[r] && (n && (n += " "), n += r);
|
|
11
|
+
return n;
|
|
11
12
|
}
|
|
12
|
-
function
|
|
13
|
-
for (var e,
|
|
14
|
-
return
|
|
13
|
+
function we() {
|
|
14
|
+
for (var e, o, r = 0, n = "", i = arguments.length; r < i; r++) (e = arguments[r]) && (o = xe(e)) && (n && (n += " "), n += o);
|
|
15
|
+
return n;
|
|
15
16
|
}
|
|
16
|
-
const
|
|
17
|
-
var
|
|
18
|
-
if ((
|
|
19
|
-
const { variants: i, defaultVariants:
|
|
20
|
-
const
|
|
21
|
-
if (
|
|
22
|
-
const
|
|
23
|
-
return i[
|
|
24
|
-
}),
|
|
25
|
-
let [
|
|
26
|
-
return
|
|
27
|
-
}, {}), b =
|
|
28
|
-
let { class:
|
|
29
|
-
return Object.entries(
|
|
30
|
-
let [
|
|
31
|
-
return Array.isArray(
|
|
32
|
-
...
|
|
33
|
-
...
|
|
34
|
-
}[
|
|
35
|
-
...
|
|
36
|
-
...
|
|
37
|
-
}[
|
|
17
|
+
const fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, pe = we, Ne = (e, o) => (r) => {
|
|
18
|
+
var n;
|
|
19
|
+
if ((o == null ? void 0 : o.variants) == null) return pe(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
|
|
20
|
+
const { variants: i, defaultVariants: s } = o, l = Object.keys(i).map((f) => {
|
|
21
|
+
const p = r == null ? void 0 : r[f], y = s == null ? void 0 : s[f];
|
|
22
|
+
if (p === null) return null;
|
|
23
|
+
const g = fe(p) || fe(y);
|
|
24
|
+
return i[f][g];
|
|
25
|
+
}), a = r && Object.entries(r).reduce((f, p) => {
|
|
26
|
+
let [y, g] = p;
|
|
27
|
+
return g === void 0 || (f[y] = g), f;
|
|
28
|
+
}, {}), b = o == null || (n = o.compoundVariants) === null || n === void 0 ? void 0 : n.reduce((f, p) => {
|
|
29
|
+
let { class: y, className: g, ...k } = p;
|
|
30
|
+
return Object.entries(k).every((R) => {
|
|
31
|
+
let [h, u] = R;
|
|
32
|
+
return Array.isArray(u) ? u.includes({
|
|
33
|
+
...s,
|
|
34
|
+
...a
|
|
35
|
+
}[h]) : {
|
|
36
|
+
...s,
|
|
37
|
+
...a
|
|
38
|
+
}[h] === u;
|
|
38
39
|
}) ? [
|
|
39
|
-
...
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
] :
|
|
40
|
+
...f,
|
|
41
|
+
y,
|
|
42
|
+
g
|
|
43
|
+
] : f;
|
|
43
44
|
}, []);
|
|
44
|
-
return
|
|
45
|
-
},
|
|
46
|
-
const
|
|
45
|
+
return pe(e, l, b, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
|
|
46
|
+
}, de = "-", je = (e) => {
|
|
47
|
+
const o = ze(e), {
|
|
47
48
|
conflictingClassGroups: r,
|
|
48
|
-
conflictingClassGroupModifiers:
|
|
49
|
+
conflictingClassGroupModifiers: n
|
|
49
50
|
} = e;
|
|
50
51
|
return {
|
|
51
52
|
getClassGroupId: (l) => {
|
|
52
|
-
const
|
|
53
|
-
return
|
|
53
|
+
const a = l.split(de);
|
|
54
|
+
return a[0] === "" && a.length !== 1 && a.shift(), ke(a, o) || Oe(l);
|
|
54
55
|
},
|
|
55
|
-
getConflictingClassGroupIds: (l,
|
|
56
|
+
getConflictingClassGroupIds: (l, a) => {
|
|
56
57
|
const b = r[l] || [];
|
|
57
|
-
return
|
|
58
|
+
return a && n[l] ? [...b, ...n[l]] : b;
|
|
58
59
|
}
|
|
59
60
|
};
|
|
60
|
-
},
|
|
61
|
+
}, ke = (e, o) => {
|
|
61
62
|
var l;
|
|
62
63
|
if (e.length === 0)
|
|
63
|
-
return
|
|
64
|
-
const r = e[0],
|
|
64
|
+
return o.classGroupId;
|
|
65
|
+
const r = e[0], n = o.nextPart.get(r), i = n ? ke(e.slice(1), n) : void 0;
|
|
65
66
|
if (i)
|
|
66
67
|
return i;
|
|
67
|
-
if (
|
|
68
|
+
if (o.validators.length === 0)
|
|
68
69
|
return;
|
|
69
|
-
const
|
|
70
|
-
return (l =
|
|
71
|
-
validator:
|
|
72
|
-
}) => s
|
|
73
|
-
},
|
|
74
|
-
if (
|
|
75
|
-
const
|
|
70
|
+
const s = e.join(de);
|
|
71
|
+
return (l = o.validators.find(({
|
|
72
|
+
validator: a
|
|
73
|
+
}) => a(s))) == null ? void 0 : l.classGroupId;
|
|
74
|
+
}, be = /^\[(.+)\]$/, Oe = (e) => {
|
|
75
|
+
if (be.test(e)) {
|
|
76
|
+
const o = be.exec(e)[1], r = o == null ? void 0 : o.substring(0, o.indexOf(":"));
|
|
76
77
|
if (r)
|
|
77
78
|
return "arbitrary.." + r;
|
|
78
79
|
}
|
|
79
|
-
},
|
|
80
|
+
}, ze = (e) => {
|
|
80
81
|
const {
|
|
81
|
-
theme:
|
|
82
|
+
theme: o,
|
|
82
83
|
prefix: r
|
|
83
|
-
} = e,
|
|
84
|
+
} = e, n = {
|
|
84
85
|
nextPart: /* @__PURE__ */ new Map(),
|
|
85
86
|
validators: []
|
|
86
87
|
};
|
|
87
|
-
return
|
|
88
|
-
|
|
89
|
-
}),
|
|
90
|
-
},
|
|
88
|
+
return Ie(Object.entries(e.classGroups), r).forEach(([s, l]) => {
|
|
89
|
+
le(l, n, s, o);
|
|
90
|
+
}), n;
|
|
91
|
+
}, le = (e, o, r, n) => {
|
|
91
92
|
e.forEach((i) => {
|
|
92
93
|
if (typeof i == "string") {
|
|
93
|
-
const
|
|
94
|
-
|
|
94
|
+
const s = i === "" ? o : me(o, i);
|
|
95
|
+
s.classGroupId = r;
|
|
95
96
|
return;
|
|
96
97
|
}
|
|
97
98
|
if (typeof i == "function") {
|
|
98
|
-
if (
|
|
99
|
-
|
|
99
|
+
if (Pe(i)) {
|
|
100
|
+
le(i(n), o, r, n);
|
|
100
101
|
return;
|
|
101
102
|
}
|
|
102
|
-
|
|
103
|
+
o.validators.push({
|
|
103
104
|
validator: i,
|
|
104
105
|
classGroupId: r
|
|
105
106
|
});
|
|
106
107
|
return;
|
|
107
108
|
}
|
|
108
|
-
Object.entries(i).forEach(([
|
|
109
|
-
|
|
109
|
+
Object.entries(i).forEach(([s, l]) => {
|
|
110
|
+
le(l, me(o, s), r, n);
|
|
110
111
|
});
|
|
111
112
|
});
|
|
112
|
-
},
|
|
113
|
+
}, me = (e, o) => {
|
|
113
114
|
let r = e;
|
|
114
|
-
return
|
|
115
|
-
r.nextPart.has(
|
|
115
|
+
return o.split(de).forEach((n) => {
|
|
116
|
+
r.nextPart.has(n) || r.nextPart.set(n, {
|
|
116
117
|
nextPart: /* @__PURE__ */ new Map(),
|
|
117
118
|
validators: []
|
|
118
|
-
}), r = r.nextPart.get(
|
|
119
|
+
}), r = r.nextPart.get(n);
|
|
119
120
|
}), r;
|
|
120
|
-
},
|
|
121
|
-
const i =
|
|
121
|
+
}, Pe = (e) => e.isThemeGetter, Ie = (e, o) => o ? e.map(([r, n]) => {
|
|
122
|
+
const i = n.map((s) => typeof s == "string" ? o + s : typeof s == "object" ? Object.fromEntries(Object.entries(s).map(([l, a]) => [o + l, a])) : s);
|
|
122
123
|
return [r, i];
|
|
123
|
-
}) : e,
|
|
124
|
+
}) : e, Me = (e) => {
|
|
124
125
|
if (e < 1)
|
|
125
126
|
return {
|
|
126
127
|
get: () => {
|
|
@@ -128,179 +129,179 @@ const Q = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Y = te, ce
|
|
|
128
129
|
set: () => {
|
|
129
130
|
}
|
|
130
131
|
};
|
|
131
|
-
let
|
|
132
|
-
const i = (
|
|
133
|
-
r.set(
|
|
132
|
+
let o = 0, r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
|
|
133
|
+
const i = (s, l) => {
|
|
134
|
+
r.set(s, l), o++, o > e && (o = 0, n = r, r = /* @__PURE__ */ new Map());
|
|
134
135
|
};
|
|
135
136
|
return {
|
|
136
|
-
get(
|
|
137
|
-
let l = r.get(
|
|
137
|
+
get(s) {
|
|
138
|
+
let l = r.get(s);
|
|
138
139
|
if (l !== void 0)
|
|
139
140
|
return l;
|
|
140
|
-
if ((l =
|
|
141
|
-
return i(
|
|
141
|
+
if ((l = n.get(s)) !== void 0)
|
|
142
|
+
return i(s, l), l;
|
|
142
143
|
},
|
|
143
|
-
set(
|
|
144
|
-
r.has(
|
|
144
|
+
set(s, l) {
|
|
145
|
+
r.has(s) ? r.set(s, l) : i(s, l);
|
|
145
146
|
}
|
|
146
147
|
};
|
|
147
|
-
},
|
|
148
|
+
}, Ee = "!", Ge = (e) => {
|
|
148
149
|
const {
|
|
149
|
-
separator:
|
|
150
|
+
separator: o,
|
|
150
151
|
experimentalParseClassName: r
|
|
151
|
-
} = e,
|
|
152
|
+
} = e, n = o.length === 1, i = o[0], s = o.length, l = (a) => {
|
|
152
153
|
const b = [];
|
|
153
|
-
let
|
|
154
|
-
for (let
|
|
155
|
-
let
|
|
156
|
-
if (
|
|
157
|
-
if (
|
|
158
|
-
b.push(
|
|
154
|
+
let f = 0, p = 0, y;
|
|
155
|
+
for (let u = 0; u < a.length; u++) {
|
|
156
|
+
let w = a[u];
|
|
157
|
+
if (f === 0) {
|
|
158
|
+
if (w === i && (n || a.slice(u, u + s) === o)) {
|
|
159
|
+
b.push(a.slice(p, u)), p = u + s;
|
|
159
160
|
continue;
|
|
160
161
|
}
|
|
161
|
-
if (
|
|
162
|
-
|
|
162
|
+
if (w === "/") {
|
|
163
|
+
y = u;
|
|
163
164
|
continue;
|
|
164
165
|
}
|
|
165
166
|
}
|
|
166
|
-
|
|
167
|
+
w === "[" ? f++ : w === "]" && f--;
|
|
167
168
|
}
|
|
168
|
-
const
|
|
169
|
+
const g = b.length === 0 ? a : a.substring(p), k = g.startsWith(Ee), R = k ? g.substring(1) : g, h = y && y > p ? y - p : void 0;
|
|
169
170
|
return {
|
|
170
171
|
modifiers: b,
|
|
171
|
-
hasImportantModifier:
|
|
172
|
-
baseClassName:
|
|
173
|
-
maybePostfixModifierPosition:
|
|
172
|
+
hasImportantModifier: k,
|
|
173
|
+
baseClassName: R,
|
|
174
|
+
maybePostfixModifierPosition: h
|
|
174
175
|
};
|
|
175
176
|
};
|
|
176
|
-
return r ? (
|
|
177
|
-
className:
|
|
177
|
+
return r ? (a) => r({
|
|
178
|
+
className: a,
|
|
178
179
|
parseClassName: l
|
|
179
180
|
}) : l;
|
|
180
|
-
},
|
|
181
|
+
}, Le = (e) => {
|
|
181
182
|
if (e.length <= 1)
|
|
182
183
|
return e;
|
|
183
|
-
const
|
|
184
|
+
const o = [];
|
|
184
185
|
let r = [];
|
|
185
|
-
return e.forEach((
|
|
186
|
-
|
|
187
|
-
}),
|
|
188
|
-
},
|
|
189
|
-
cache:
|
|
190
|
-
parseClassName:
|
|
191
|
-
...
|
|
192
|
-
}),
|
|
186
|
+
return e.forEach((n) => {
|
|
187
|
+
n[0] === "[" ? (o.push(...r.sort(), n), r = []) : r.push(n);
|
|
188
|
+
}), o.push(...r.sort()), o;
|
|
189
|
+
}, Ve = (e) => ({
|
|
190
|
+
cache: Me(e.cacheSize),
|
|
191
|
+
parseClassName: Ge(e),
|
|
192
|
+
...je(e)
|
|
193
|
+
}), Fe = /\s+/, $e = (e, o) => {
|
|
193
194
|
const {
|
|
194
195
|
parseClassName: r,
|
|
195
|
-
getClassGroupId:
|
|
196
|
+
getClassGroupId: n,
|
|
196
197
|
getConflictingClassGroupIds: i
|
|
197
|
-
} =
|
|
198
|
-
let
|
|
198
|
+
} = o, s = [], l = e.trim().split(Fe);
|
|
199
|
+
let a = "";
|
|
199
200
|
for (let b = l.length - 1; b >= 0; b -= 1) {
|
|
200
|
-
const
|
|
201
|
-
modifiers:
|
|
202
|
-
hasImportantModifier:
|
|
203
|
-
baseClassName:
|
|
204
|
-
maybePostfixModifierPosition:
|
|
205
|
-
} = r(
|
|
206
|
-
let
|
|
207
|
-
if (!
|
|
208
|
-
if (!
|
|
209
|
-
|
|
201
|
+
const f = l[b], {
|
|
202
|
+
modifiers: p,
|
|
203
|
+
hasImportantModifier: y,
|
|
204
|
+
baseClassName: g,
|
|
205
|
+
maybePostfixModifierPosition: k
|
|
206
|
+
} = r(f);
|
|
207
|
+
let R = !!k, h = n(R ? g.substring(0, k) : g);
|
|
208
|
+
if (!h) {
|
|
209
|
+
if (!R) {
|
|
210
|
+
a = f + (a.length > 0 ? " " + a : a);
|
|
210
211
|
continue;
|
|
211
212
|
}
|
|
212
|
-
if (
|
|
213
|
-
|
|
213
|
+
if (h = n(g), !h) {
|
|
214
|
+
a = f + (a.length > 0 ? " " + a : a);
|
|
214
215
|
continue;
|
|
215
216
|
}
|
|
216
|
-
|
|
217
|
+
R = !1;
|
|
217
218
|
}
|
|
218
|
-
const
|
|
219
|
-
if (
|
|
219
|
+
const u = Le(p).join(":"), w = y ? u + Ee : u, A = w + h;
|
|
220
|
+
if (s.includes(A))
|
|
220
221
|
continue;
|
|
221
|
-
|
|
222
|
-
const
|
|
223
|
-
for (let S = 0; S <
|
|
224
|
-
const
|
|
225
|
-
|
|
222
|
+
s.push(A);
|
|
223
|
+
const C = i(h, R);
|
|
224
|
+
for (let S = 0; S < C.length; ++S) {
|
|
225
|
+
const M = C[S];
|
|
226
|
+
s.push(w + M);
|
|
226
227
|
}
|
|
227
|
-
|
|
228
|
+
a = f + (a.length > 0 ? " " + a : a);
|
|
228
229
|
}
|
|
229
|
-
return
|
|
230
|
+
return a;
|
|
230
231
|
};
|
|
231
|
-
function
|
|
232
|
-
let e = 0,
|
|
232
|
+
function We() {
|
|
233
|
+
let e = 0, o, r, n = "";
|
|
233
234
|
for (; e < arguments.length; )
|
|
234
|
-
(
|
|
235
|
-
return
|
|
235
|
+
(o = arguments[e++]) && (r = _e(o)) && (n && (n += " "), n += r);
|
|
236
|
+
return n;
|
|
236
237
|
}
|
|
237
|
-
const
|
|
238
|
+
const _e = (e) => {
|
|
238
239
|
if (typeof e == "string")
|
|
239
240
|
return e;
|
|
240
|
-
let
|
|
241
|
-
for (let
|
|
242
|
-
e[
|
|
241
|
+
let o, r = "";
|
|
242
|
+
for (let n = 0; n < e.length; n++)
|
|
243
|
+
e[n] && (o = _e(e[n])) && (r && (r += " "), r += o);
|
|
243
244
|
return r;
|
|
244
245
|
};
|
|
245
|
-
function
|
|
246
|
-
let r,
|
|
246
|
+
function qe(e, ...o) {
|
|
247
|
+
let r, n, i, s = l;
|
|
247
248
|
function l(b) {
|
|
248
|
-
const
|
|
249
|
-
return r =
|
|
249
|
+
const f = o.reduce((p, y) => y(p), e());
|
|
250
|
+
return r = Ve(f), n = r.cache.get, i = r.cache.set, s = a, a(b);
|
|
250
251
|
}
|
|
251
|
-
function
|
|
252
|
-
const
|
|
253
|
-
if (
|
|
254
|
-
return
|
|
255
|
-
const
|
|
256
|
-
return i(b,
|
|
252
|
+
function a(b) {
|
|
253
|
+
const f = n(b);
|
|
254
|
+
if (f)
|
|
255
|
+
return f;
|
|
256
|
+
const p = $e(b, r);
|
|
257
|
+
return i(b, p), p;
|
|
257
258
|
}
|
|
258
259
|
return function() {
|
|
259
|
-
return
|
|
260
|
+
return s(We.apply(null, arguments));
|
|
260
261
|
};
|
|
261
262
|
}
|
|
262
|
-
const
|
|
263
|
-
const
|
|
264
|
-
return
|
|
265
|
-
},
|
|
266
|
-
const
|
|
267
|
-
return
|
|
268
|
-
},
|
|
263
|
+
const v = (e) => {
|
|
264
|
+
const o = (r) => r[e] || [];
|
|
265
|
+
return o.isThemeGetter = !0, o;
|
|
266
|
+
}, Re = /^\[(?:([a-z-]+):)?(.+)\]$/i, Ue = /^\d+\/\d+$/, Ye = /* @__PURE__ */ new Set(["px", "full", "screen"]), Je = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Be = /\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$/, De = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, He = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Xe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, T = (e) => $(e) || Ye.has(e) || Ue.test(e), j = (e) => W(e, "length", nr), $ = (e) => !!e && !Number.isNaN(Number(e)), ie = (e) => W(e, "number", $), D = (e) => !!e && Number.isInteger(Number(e)), Ze = (e) => e.endsWith("%") && $(e.slice(0, -1)), c = (e) => Re.test(e), O = (e) => Je.test(e), Qe = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Ke = (e) => W(e, Qe, Ae), er = (e) => W(e, "position", Ae), rr = /* @__PURE__ */ new Set(["image", "url"]), tr = (e) => W(e, rr, ar), or = (e) => W(e, "", sr), H = () => !0, W = (e, o, r) => {
|
|
267
|
+
const n = Re.exec(e);
|
|
268
|
+
return n ? n[1] ? typeof o == "string" ? n[1] === o : o.has(n[1]) : r(n[2]) : !1;
|
|
269
|
+
}, nr = (e) => (
|
|
269
270
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
270
271
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
271
272
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
272
|
-
|
|
273
|
-
),
|
|
274
|
-
const e =
|
|
273
|
+
Be.test(e) && !De.test(e)
|
|
274
|
+
), Ae = () => !1, sr = (e) => He.test(e), ar = (e) => Xe.test(e), ir = () => {
|
|
275
|
+
const e = v("colors"), o = v("spacing"), r = v("blur"), n = v("brightness"), i = v("borderColor"), s = v("borderRadius"), l = v("borderSpacing"), a = v("borderWidth"), b = v("contrast"), f = v("grayscale"), p = v("hueRotate"), y = v("invert"), g = v("gap"), k = v("gradientColorStops"), R = v("gradientColorStopPositions"), h = v("inset"), u = v("margin"), w = v("opacity"), A = v("padding"), C = v("saturate"), S = v("scale"), M = v("sepia"), K = v("skew"), ee = v("space"), re = v("translate"), z = () => ["auto", "contain", "none"], q = () => ["auto", "hidden", "clip", "visible", "scroll"], U = () => ["auto", c, o], m = () => [c, o], Y = () => ["", T, j], G = () => ["auto", $, c], L = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], P = () => ["solid", "dashed", "dotted", "double", "none"], J = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], V = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], N = () => ["", "0", c], B = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], t = () => [$, c];
|
|
275
276
|
return {
|
|
276
277
|
cacheSize: 500,
|
|
277
278
|
separator: ":",
|
|
278
279
|
theme: {
|
|
279
|
-
colors: [
|
|
280
|
-
spacing: [
|
|
281
|
-
blur: ["none", "",
|
|
282
|
-
brightness:
|
|
280
|
+
colors: [H],
|
|
281
|
+
spacing: [T, j],
|
|
282
|
+
blur: ["none", "", O, c],
|
|
283
|
+
brightness: t(),
|
|
283
284
|
borderColor: [e],
|
|
284
|
-
borderRadius: ["none", "", "full",
|
|
285
|
-
borderSpacing:
|
|
286
|
-
borderWidth:
|
|
287
|
-
contrast:
|
|
285
|
+
borderRadius: ["none", "", "full", O, c],
|
|
286
|
+
borderSpacing: m(),
|
|
287
|
+
borderWidth: Y(),
|
|
288
|
+
contrast: t(),
|
|
288
289
|
grayscale: N(),
|
|
289
|
-
hueRotate:
|
|
290
|
+
hueRotate: t(),
|
|
290
291
|
invert: N(),
|
|
291
|
-
gap:
|
|
292
|
+
gap: m(),
|
|
292
293
|
gradientColorStops: [e],
|
|
293
|
-
gradientColorStopPositions: [
|
|
294
|
-
inset:
|
|
295
|
-
margin:
|
|
296
|
-
opacity:
|
|
297
|
-
padding:
|
|
298
|
-
saturate:
|
|
299
|
-
scale:
|
|
294
|
+
gradientColorStopPositions: [Ze, j],
|
|
295
|
+
inset: U(),
|
|
296
|
+
margin: U(),
|
|
297
|
+
opacity: t(),
|
|
298
|
+
padding: m(),
|
|
299
|
+
saturate: t(),
|
|
300
|
+
scale: t(),
|
|
300
301
|
sepia: N(),
|
|
301
|
-
skew:
|
|
302
|
-
space:
|
|
303
|
-
translate:
|
|
302
|
+
skew: t(),
|
|
303
|
+
space: m(),
|
|
304
|
+
translate: m()
|
|
304
305
|
},
|
|
305
306
|
classGroups: {
|
|
306
307
|
// Layout
|
|
@@ -309,7 +310,7 @@ const u = (e) => {
|
|
|
309
310
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
310
311
|
*/
|
|
311
312
|
aspect: [{
|
|
312
|
-
aspect: ["auto", "square", "video",
|
|
313
|
+
aspect: ["auto", "square", "video", c]
|
|
313
314
|
}],
|
|
314
315
|
/**
|
|
315
316
|
* Container
|
|
@@ -321,21 +322,21 @@ const u = (e) => {
|
|
|
321
322
|
* @see https://tailwindcss.com/docs/columns
|
|
322
323
|
*/
|
|
323
324
|
columns: [{
|
|
324
|
-
columns: [
|
|
325
|
+
columns: [O]
|
|
325
326
|
}],
|
|
326
327
|
/**
|
|
327
328
|
* Break After
|
|
328
329
|
* @see https://tailwindcss.com/docs/break-after
|
|
329
330
|
*/
|
|
330
331
|
"break-after": [{
|
|
331
|
-
"break-after":
|
|
332
|
+
"break-after": B()
|
|
332
333
|
}],
|
|
333
334
|
/**
|
|
334
335
|
* Break Before
|
|
335
336
|
* @see https://tailwindcss.com/docs/break-before
|
|
336
337
|
*/
|
|
337
338
|
"break-before": [{
|
|
338
|
-
"break-before":
|
|
339
|
+
"break-before": B()
|
|
339
340
|
}],
|
|
340
341
|
/**
|
|
341
342
|
* Break Inside
|
|
@@ -394,49 +395,49 @@ const u = (e) => {
|
|
|
394
395
|
* @see https://tailwindcss.com/docs/object-position
|
|
395
396
|
*/
|
|
396
397
|
"object-position": [{
|
|
397
|
-
object: [...
|
|
398
|
+
object: [...L(), c]
|
|
398
399
|
}],
|
|
399
400
|
/**
|
|
400
401
|
* Overflow
|
|
401
402
|
* @see https://tailwindcss.com/docs/overflow
|
|
402
403
|
*/
|
|
403
404
|
overflow: [{
|
|
404
|
-
overflow:
|
|
405
|
+
overflow: q()
|
|
405
406
|
}],
|
|
406
407
|
/**
|
|
407
408
|
* Overflow X
|
|
408
409
|
* @see https://tailwindcss.com/docs/overflow
|
|
409
410
|
*/
|
|
410
411
|
"overflow-x": [{
|
|
411
|
-
"overflow-x":
|
|
412
|
+
"overflow-x": q()
|
|
412
413
|
}],
|
|
413
414
|
/**
|
|
414
415
|
* Overflow Y
|
|
415
416
|
* @see https://tailwindcss.com/docs/overflow
|
|
416
417
|
*/
|
|
417
418
|
"overflow-y": [{
|
|
418
|
-
"overflow-y":
|
|
419
|
+
"overflow-y": q()
|
|
419
420
|
}],
|
|
420
421
|
/**
|
|
421
422
|
* Overscroll Behavior
|
|
422
423
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
423
424
|
*/
|
|
424
425
|
overscroll: [{
|
|
425
|
-
overscroll:
|
|
426
|
+
overscroll: z()
|
|
426
427
|
}],
|
|
427
428
|
/**
|
|
428
429
|
* Overscroll Behavior X
|
|
429
430
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
430
431
|
*/
|
|
431
432
|
"overscroll-x": [{
|
|
432
|
-
"overscroll-x":
|
|
433
|
+
"overscroll-x": z()
|
|
433
434
|
}],
|
|
434
435
|
/**
|
|
435
436
|
* Overscroll Behavior Y
|
|
436
437
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
437
438
|
*/
|
|
438
439
|
"overscroll-y": [{
|
|
439
|
-
"overscroll-y":
|
|
440
|
+
"overscroll-y": z()
|
|
440
441
|
}],
|
|
441
442
|
/**
|
|
442
443
|
* Position
|
|
@@ -448,63 +449,63 @@ const u = (e) => {
|
|
|
448
449
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
449
450
|
*/
|
|
450
451
|
inset: [{
|
|
451
|
-
inset: [
|
|
452
|
+
inset: [h]
|
|
452
453
|
}],
|
|
453
454
|
/**
|
|
454
455
|
* Right / Left
|
|
455
456
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
456
457
|
*/
|
|
457
458
|
"inset-x": [{
|
|
458
|
-
"inset-x": [
|
|
459
|
+
"inset-x": [h]
|
|
459
460
|
}],
|
|
460
461
|
/**
|
|
461
462
|
* Top / Bottom
|
|
462
463
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
463
464
|
*/
|
|
464
465
|
"inset-y": [{
|
|
465
|
-
"inset-y": [
|
|
466
|
+
"inset-y": [h]
|
|
466
467
|
}],
|
|
467
468
|
/**
|
|
468
469
|
* Start
|
|
469
470
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
470
471
|
*/
|
|
471
472
|
start: [{
|
|
472
|
-
start: [
|
|
473
|
+
start: [h]
|
|
473
474
|
}],
|
|
474
475
|
/**
|
|
475
476
|
* End
|
|
476
477
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
477
478
|
*/
|
|
478
479
|
end: [{
|
|
479
|
-
end: [
|
|
480
|
+
end: [h]
|
|
480
481
|
}],
|
|
481
482
|
/**
|
|
482
483
|
* Top
|
|
483
484
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
484
485
|
*/
|
|
485
486
|
top: [{
|
|
486
|
-
top: [
|
|
487
|
+
top: [h]
|
|
487
488
|
}],
|
|
488
489
|
/**
|
|
489
490
|
* Right
|
|
490
491
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
491
492
|
*/
|
|
492
493
|
right: [{
|
|
493
|
-
right: [
|
|
494
|
+
right: [h]
|
|
494
495
|
}],
|
|
495
496
|
/**
|
|
496
497
|
* Bottom
|
|
497
498
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
498
499
|
*/
|
|
499
500
|
bottom: [{
|
|
500
|
-
bottom: [
|
|
501
|
+
bottom: [h]
|
|
501
502
|
}],
|
|
502
503
|
/**
|
|
503
504
|
* Left
|
|
504
505
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
505
506
|
*/
|
|
506
507
|
left: [{
|
|
507
|
-
left: [
|
|
508
|
+
left: [h]
|
|
508
509
|
}],
|
|
509
510
|
/**
|
|
510
511
|
* Visibility
|
|
@@ -516,7 +517,7 @@ const u = (e) => {
|
|
|
516
517
|
* @see https://tailwindcss.com/docs/z-index
|
|
517
518
|
*/
|
|
518
519
|
z: [{
|
|
519
|
-
z: ["auto",
|
|
520
|
+
z: ["auto", D, c]
|
|
520
521
|
}],
|
|
521
522
|
// Flexbox and Grid
|
|
522
523
|
/**
|
|
@@ -524,7 +525,7 @@ const u = (e) => {
|
|
|
524
525
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
525
526
|
*/
|
|
526
527
|
basis: [{
|
|
527
|
-
basis:
|
|
528
|
+
basis: U()
|
|
528
529
|
}],
|
|
529
530
|
/**
|
|
530
531
|
* Flex Direction
|
|
@@ -545,7 +546,7 @@ const u = (e) => {
|
|
|
545
546
|
* @see https://tailwindcss.com/docs/flex
|
|
546
547
|
*/
|
|
547
548
|
flex: [{
|
|
548
|
-
flex: ["1", "auto", "initial", "none",
|
|
549
|
+
flex: ["1", "auto", "initial", "none", c]
|
|
549
550
|
}],
|
|
550
551
|
/**
|
|
551
552
|
* Flex Grow
|
|
@@ -566,14 +567,14 @@ const u = (e) => {
|
|
|
566
567
|
* @see https://tailwindcss.com/docs/order
|
|
567
568
|
*/
|
|
568
569
|
order: [{
|
|
569
|
-
order: ["first", "last", "none",
|
|
570
|
+
order: ["first", "last", "none", D, c]
|
|
570
571
|
}],
|
|
571
572
|
/**
|
|
572
573
|
* Grid Template Columns
|
|
573
574
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
574
575
|
*/
|
|
575
576
|
"grid-cols": [{
|
|
576
|
-
"grid-cols": [
|
|
577
|
+
"grid-cols": [H]
|
|
577
578
|
}],
|
|
578
579
|
/**
|
|
579
580
|
* Grid Column Start / End
|
|
@@ -581,29 +582,29 @@ const u = (e) => {
|
|
|
581
582
|
*/
|
|
582
583
|
"col-start-end": [{
|
|
583
584
|
col: ["auto", {
|
|
584
|
-
span: ["full",
|
|
585
|
-
},
|
|
585
|
+
span: ["full", D, c]
|
|
586
|
+
}, c]
|
|
586
587
|
}],
|
|
587
588
|
/**
|
|
588
589
|
* Grid Column Start
|
|
589
590
|
* @see https://tailwindcss.com/docs/grid-column
|
|
590
591
|
*/
|
|
591
592
|
"col-start": [{
|
|
592
|
-
"col-start":
|
|
593
|
+
"col-start": G()
|
|
593
594
|
}],
|
|
594
595
|
/**
|
|
595
596
|
* Grid Column End
|
|
596
597
|
* @see https://tailwindcss.com/docs/grid-column
|
|
597
598
|
*/
|
|
598
599
|
"col-end": [{
|
|
599
|
-
"col-end":
|
|
600
|
+
"col-end": G()
|
|
600
601
|
}],
|
|
601
602
|
/**
|
|
602
603
|
* Grid Template Rows
|
|
603
604
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
604
605
|
*/
|
|
605
606
|
"grid-rows": [{
|
|
606
|
-
"grid-rows": [
|
|
607
|
+
"grid-rows": [H]
|
|
607
608
|
}],
|
|
608
609
|
/**
|
|
609
610
|
* Grid Row Start / End
|
|
@@ -611,22 +612,22 @@ const u = (e) => {
|
|
|
611
612
|
*/
|
|
612
613
|
"row-start-end": [{
|
|
613
614
|
row: ["auto", {
|
|
614
|
-
span: [
|
|
615
|
-
},
|
|
615
|
+
span: [D, c]
|
|
616
|
+
}, c]
|
|
616
617
|
}],
|
|
617
618
|
/**
|
|
618
619
|
* Grid Row Start
|
|
619
620
|
* @see https://tailwindcss.com/docs/grid-row
|
|
620
621
|
*/
|
|
621
622
|
"row-start": [{
|
|
622
|
-
"row-start":
|
|
623
|
+
"row-start": G()
|
|
623
624
|
}],
|
|
624
625
|
/**
|
|
625
626
|
* Grid Row End
|
|
626
627
|
* @see https://tailwindcss.com/docs/grid-row
|
|
627
628
|
*/
|
|
628
629
|
"row-end": [{
|
|
629
|
-
"row-end":
|
|
630
|
+
"row-end": G()
|
|
630
631
|
}],
|
|
631
632
|
/**
|
|
632
633
|
* Grid Auto Flow
|
|
@@ -640,42 +641,42 @@ const u = (e) => {
|
|
|
640
641
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
641
642
|
*/
|
|
642
643
|
"auto-cols": [{
|
|
643
|
-
"auto-cols": ["auto", "min", "max", "fr",
|
|
644
|
+
"auto-cols": ["auto", "min", "max", "fr", c]
|
|
644
645
|
}],
|
|
645
646
|
/**
|
|
646
647
|
* Grid Auto Rows
|
|
647
648
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
648
649
|
*/
|
|
649
650
|
"auto-rows": [{
|
|
650
|
-
"auto-rows": ["auto", "min", "max", "fr",
|
|
651
|
+
"auto-rows": ["auto", "min", "max", "fr", c]
|
|
651
652
|
}],
|
|
652
653
|
/**
|
|
653
654
|
* Gap
|
|
654
655
|
* @see https://tailwindcss.com/docs/gap
|
|
655
656
|
*/
|
|
656
657
|
gap: [{
|
|
657
|
-
gap: [
|
|
658
|
+
gap: [g]
|
|
658
659
|
}],
|
|
659
660
|
/**
|
|
660
661
|
* Gap X
|
|
661
662
|
* @see https://tailwindcss.com/docs/gap
|
|
662
663
|
*/
|
|
663
664
|
"gap-x": [{
|
|
664
|
-
"gap-x": [
|
|
665
|
+
"gap-x": [g]
|
|
665
666
|
}],
|
|
666
667
|
/**
|
|
667
668
|
* Gap Y
|
|
668
669
|
* @see https://tailwindcss.com/docs/gap
|
|
669
670
|
*/
|
|
670
671
|
"gap-y": [{
|
|
671
|
-
"gap-y": [
|
|
672
|
+
"gap-y": [g]
|
|
672
673
|
}],
|
|
673
674
|
/**
|
|
674
675
|
* Justify Content
|
|
675
676
|
* @see https://tailwindcss.com/docs/justify-content
|
|
676
677
|
*/
|
|
677
678
|
"justify-content": [{
|
|
678
|
-
justify: ["normal", ...
|
|
679
|
+
justify: ["normal", ...V()]
|
|
679
680
|
}],
|
|
680
681
|
/**
|
|
681
682
|
* Justify Items
|
|
@@ -696,7 +697,7 @@ const u = (e) => {
|
|
|
696
697
|
* @see https://tailwindcss.com/docs/align-content
|
|
697
698
|
*/
|
|
698
699
|
"align-content": [{
|
|
699
|
-
content: ["normal", ...
|
|
700
|
+
content: ["normal", ...V(), "baseline"]
|
|
700
701
|
}],
|
|
701
702
|
/**
|
|
702
703
|
* Align Items
|
|
@@ -717,7 +718,7 @@ const u = (e) => {
|
|
|
717
718
|
* @see https://tailwindcss.com/docs/place-content
|
|
718
719
|
*/
|
|
719
720
|
"place-content": [{
|
|
720
|
-
"place-content": [...
|
|
721
|
+
"place-content": [...V(), "baseline"]
|
|
721
722
|
}],
|
|
722
723
|
/**
|
|
723
724
|
* Place Items
|
|
@@ -739,133 +740,133 @@ const u = (e) => {
|
|
|
739
740
|
* @see https://tailwindcss.com/docs/padding
|
|
740
741
|
*/
|
|
741
742
|
p: [{
|
|
742
|
-
p: [
|
|
743
|
+
p: [A]
|
|
743
744
|
}],
|
|
744
745
|
/**
|
|
745
746
|
* Padding X
|
|
746
747
|
* @see https://tailwindcss.com/docs/padding
|
|
747
748
|
*/
|
|
748
749
|
px: [{
|
|
749
|
-
px: [
|
|
750
|
+
px: [A]
|
|
750
751
|
}],
|
|
751
752
|
/**
|
|
752
753
|
* Padding Y
|
|
753
754
|
* @see https://tailwindcss.com/docs/padding
|
|
754
755
|
*/
|
|
755
756
|
py: [{
|
|
756
|
-
py: [
|
|
757
|
+
py: [A]
|
|
757
758
|
}],
|
|
758
759
|
/**
|
|
759
760
|
* Padding Start
|
|
760
761
|
* @see https://tailwindcss.com/docs/padding
|
|
761
762
|
*/
|
|
762
763
|
ps: [{
|
|
763
|
-
ps: [
|
|
764
|
+
ps: [A]
|
|
764
765
|
}],
|
|
765
766
|
/**
|
|
766
767
|
* Padding End
|
|
767
768
|
* @see https://tailwindcss.com/docs/padding
|
|
768
769
|
*/
|
|
769
770
|
pe: [{
|
|
770
|
-
pe: [
|
|
771
|
+
pe: [A]
|
|
771
772
|
}],
|
|
772
773
|
/**
|
|
773
774
|
* Padding Top
|
|
774
775
|
* @see https://tailwindcss.com/docs/padding
|
|
775
776
|
*/
|
|
776
777
|
pt: [{
|
|
777
|
-
pt: [
|
|
778
|
+
pt: [A]
|
|
778
779
|
}],
|
|
779
780
|
/**
|
|
780
781
|
* Padding Right
|
|
781
782
|
* @see https://tailwindcss.com/docs/padding
|
|
782
783
|
*/
|
|
783
784
|
pr: [{
|
|
784
|
-
pr: [
|
|
785
|
+
pr: [A]
|
|
785
786
|
}],
|
|
786
787
|
/**
|
|
787
788
|
* Padding Bottom
|
|
788
789
|
* @see https://tailwindcss.com/docs/padding
|
|
789
790
|
*/
|
|
790
791
|
pb: [{
|
|
791
|
-
pb: [
|
|
792
|
+
pb: [A]
|
|
792
793
|
}],
|
|
793
794
|
/**
|
|
794
795
|
* Padding Left
|
|
795
796
|
* @see https://tailwindcss.com/docs/padding
|
|
796
797
|
*/
|
|
797
798
|
pl: [{
|
|
798
|
-
pl: [
|
|
799
|
+
pl: [A]
|
|
799
800
|
}],
|
|
800
801
|
/**
|
|
801
802
|
* Margin
|
|
802
803
|
* @see https://tailwindcss.com/docs/margin
|
|
803
804
|
*/
|
|
804
805
|
m: [{
|
|
805
|
-
m: [
|
|
806
|
+
m: [u]
|
|
806
807
|
}],
|
|
807
808
|
/**
|
|
808
809
|
* Margin X
|
|
809
810
|
* @see https://tailwindcss.com/docs/margin
|
|
810
811
|
*/
|
|
811
812
|
mx: [{
|
|
812
|
-
mx: [
|
|
813
|
+
mx: [u]
|
|
813
814
|
}],
|
|
814
815
|
/**
|
|
815
816
|
* Margin Y
|
|
816
817
|
* @see https://tailwindcss.com/docs/margin
|
|
817
818
|
*/
|
|
818
819
|
my: [{
|
|
819
|
-
my: [
|
|
820
|
+
my: [u]
|
|
820
821
|
}],
|
|
821
822
|
/**
|
|
822
823
|
* Margin Start
|
|
823
824
|
* @see https://tailwindcss.com/docs/margin
|
|
824
825
|
*/
|
|
825
826
|
ms: [{
|
|
826
|
-
ms: [
|
|
827
|
+
ms: [u]
|
|
827
828
|
}],
|
|
828
829
|
/**
|
|
829
830
|
* Margin End
|
|
830
831
|
* @see https://tailwindcss.com/docs/margin
|
|
831
832
|
*/
|
|
832
833
|
me: [{
|
|
833
|
-
me: [
|
|
834
|
+
me: [u]
|
|
834
835
|
}],
|
|
835
836
|
/**
|
|
836
837
|
* Margin Top
|
|
837
838
|
* @see https://tailwindcss.com/docs/margin
|
|
838
839
|
*/
|
|
839
840
|
mt: [{
|
|
840
|
-
mt: [
|
|
841
|
+
mt: [u]
|
|
841
842
|
}],
|
|
842
843
|
/**
|
|
843
844
|
* Margin Right
|
|
844
845
|
* @see https://tailwindcss.com/docs/margin
|
|
845
846
|
*/
|
|
846
847
|
mr: [{
|
|
847
|
-
mr: [
|
|
848
|
+
mr: [u]
|
|
848
849
|
}],
|
|
849
850
|
/**
|
|
850
851
|
* Margin Bottom
|
|
851
852
|
* @see https://tailwindcss.com/docs/margin
|
|
852
853
|
*/
|
|
853
854
|
mb: [{
|
|
854
|
-
mb: [
|
|
855
|
+
mb: [u]
|
|
855
856
|
}],
|
|
856
857
|
/**
|
|
857
858
|
* Margin Left
|
|
858
859
|
* @see https://tailwindcss.com/docs/margin
|
|
859
860
|
*/
|
|
860
861
|
ml: [{
|
|
861
|
-
ml: [
|
|
862
|
+
ml: [u]
|
|
862
863
|
}],
|
|
863
864
|
/**
|
|
864
865
|
* Space Between X
|
|
865
866
|
* @see https://tailwindcss.com/docs/space
|
|
866
867
|
*/
|
|
867
868
|
"space-x": [{
|
|
868
|
-
"space-x": [
|
|
869
|
+
"space-x": [ee]
|
|
869
870
|
}],
|
|
870
871
|
/**
|
|
871
872
|
* Space Between X Reverse
|
|
@@ -877,7 +878,7 @@ const u = (e) => {
|
|
|
877
878
|
* @see https://tailwindcss.com/docs/space
|
|
878
879
|
*/
|
|
879
880
|
"space-y": [{
|
|
880
|
-
"space-y": [
|
|
881
|
+
"space-y": [ee]
|
|
881
882
|
}],
|
|
882
883
|
/**
|
|
883
884
|
* Space Between Y Reverse
|
|
@@ -890,51 +891,51 @@ const u = (e) => {
|
|
|
890
891
|
* @see https://tailwindcss.com/docs/width
|
|
891
892
|
*/
|
|
892
893
|
w: [{
|
|
893
|
-
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw",
|
|
894
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", c, o]
|
|
894
895
|
}],
|
|
895
896
|
/**
|
|
896
897
|
* Min-Width
|
|
897
898
|
* @see https://tailwindcss.com/docs/min-width
|
|
898
899
|
*/
|
|
899
900
|
"min-w": [{
|
|
900
|
-
"min-w": [
|
|
901
|
+
"min-w": [c, o, "min", "max", "fit"]
|
|
901
902
|
}],
|
|
902
903
|
/**
|
|
903
904
|
* Max-Width
|
|
904
905
|
* @see https://tailwindcss.com/docs/max-width
|
|
905
906
|
*/
|
|
906
907
|
"max-w": [{
|
|
907
|
-
"max-w": [
|
|
908
|
-
screen: [
|
|
909
|
-
},
|
|
908
|
+
"max-w": [c, o, "none", "full", "min", "max", "fit", "prose", {
|
|
909
|
+
screen: [O]
|
|
910
|
+
}, O]
|
|
910
911
|
}],
|
|
911
912
|
/**
|
|
912
913
|
* Height
|
|
913
914
|
* @see https://tailwindcss.com/docs/height
|
|
914
915
|
*/
|
|
915
916
|
h: [{
|
|
916
|
-
h: [
|
|
917
|
+
h: [c, o, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
917
918
|
}],
|
|
918
919
|
/**
|
|
919
920
|
* Min-Height
|
|
920
921
|
* @see https://tailwindcss.com/docs/min-height
|
|
921
922
|
*/
|
|
922
923
|
"min-h": [{
|
|
923
|
-
"min-h": [
|
|
924
|
+
"min-h": [c, o, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
924
925
|
}],
|
|
925
926
|
/**
|
|
926
927
|
* Max-Height
|
|
927
928
|
* @see https://tailwindcss.com/docs/max-height
|
|
928
929
|
*/
|
|
929
930
|
"max-h": [{
|
|
930
|
-
"max-h": [
|
|
931
|
+
"max-h": [c, o, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
931
932
|
}],
|
|
932
933
|
/**
|
|
933
934
|
* Size
|
|
934
935
|
* @see https://tailwindcss.com/docs/size
|
|
935
936
|
*/
|
|
936
937
|
size: [{
|
|
937
|
-
size: [
|
|
938
|
+
size: [c, o, "auto", "min", "max", "fit"]
|
|
938
939
|
}],
|
|
939
940
|
// Typography
|
|
940
941
|
/**
|
|
@@ -942,7 +943,7 @@ const u = (e) => {
|
|
|
942
943
|
* @see https://tailwindcss.com/docs/font-size
|
|
943
944
|
*/
|
|
944
945
|
"font-size": [{
|
|
945
|
-
text: ["base",
|
|
946
|
+
text: ["base", O, j]
|
|
946
947
|
}],
|
|
947
948
|
/**
|
|
948
949
|
* Font Smoothing
|
|
@@ -959,14 +960,14 @@ const u = (e) => {
|
|
|
959
960
|
* @see https://tailwindcss.com/docs/font-weight
|
|
960
961
|
*/
|
|
961
962
|
"font-weight": [{
|
|
962
|
-
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black",
|
|
963
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", ie]
|
|
963
964
|
}],
|
|
964
965
|
/**
|
|
965
966
|
* Font Family
|
|
966
967
|
* @see https://tailwindcss.com/docs/font-family
|
|
967
968
|
*/
|
|
968
969
|
"font-family": [{
|
|
969
|
-
font: [
|
|
970
|
+
font: [H]
|
|
970
971
|
}],
|
|
971
972
|
/**
|
|
972
973
|
* Font Variant Numeric
|
|
@@ -1003,35 +1004,35 @@ const u = (e) => {
|
|
|
1003
1004
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1004
1005
|
*/
|
|
1005
1006
|
tracking: [{
|
|
1006
|
-
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest",
|
|
1007
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", c]
|
|
1007
1008
|
}],
|
|
1008
1009
|
/**
|
|
1009
1010
|
* Line Clamp
|
|
1010
1011
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1011
1012
|
*/
|
|
1012
1013
|
"line-clamp": [{
|
|
1013
|
-
"line-clamp": ["none",
|
|
1014
|
+
"line-clamp": ["none", $, ie]
|
|
1014
1015
|
}],
|
|
1015
1016
|
/**
|
|
1016
1017
|
* Line Height
|
|
1017
1018
|
* @see https://tailwindcss.com/docs/line-height
|
|
1018
1019
|
*/
|
|
1019
1020
|
leading: [{
|
|
1020
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose",
|
|
1021
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", T, c]
|
|
1021
1022
|
}],
|
|
1022
1023
|
/**
|
|
1023
1024
|
* List Style Image
|
|
1024
1025
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1025
1026
|
*/
|
|
1026
1027
|
"list-image": [{
|
|
1027
|
-
"list-image": ["none",
|
|
1028
|
+
"list-image": ["none", c]
|
|
1028
1029
|
}],
|
|
1029
1030
|
/**
|
|
1030
1031
|
* List Style Type
|
|
1031
1032
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1032
1033
|
*/
|
|
1033
1034
|
"list-style-type": [{
|
|
1034
|
-
list: ["none", "disc", "decimal",
|
|
1035
|
+
list: ["none", "disc", "decimal", c]
|
|
1035
1036
|
}],
|
|
1036
1037
|
/**
|
|
1037
1038
|
* List Style Position
|
|
@@ -1053,7 +1054,7 @@ const u = (e) => {
|
|
|
1053
1054
|
* @see https://tailwindcss.com/docs/placeholder-opacity
|
|
1054
1055
|
*/
|
|
1055
1056
|
"placeholder-opacity": [{
|
|
1056
|
-
"placeholder-opacity": [
|
|
1057
|
+
"placeholder-opacity": [w]
|
|
1057
1058
|
}],
|
|
1058
1059
|
/**
|
|
1059
1060
|
* Text Alignment
|
|
@@ -1074,7 +1075,7 @@ const u = (e) => {
|
|
|
1074
1075
|
* @see https://tailwindcss.com/docs/text-opacity
|
|
1075
1076
|
*/
|
|
1076
1077
|
"text-opacity": [{
|
|
1077
|
-
"text-opacity": [
|
|
1078
|
+
"text-opacity": [w]
|
|
1078
1079
|
}],
|
|
1079
1080
|
/**
|
|
1080
1081
|
* Text Decoration
|
|
@@ -1086,21 +1087,21 @@ const u = (e) => {
|
|
|
1086
1087
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1087
1088
|
*/
|
|
1088
1089
|
"text-decoration-style": [{
|
|
1089
|
-
decoration: [...
|
|
1090
|
+
decoration: [...P(), "wavy"]
|
|
1090
1091
|
}],
|
|
1091
1092
|
/**
|
|
1092
1093
|
* Text Decoration Thickness
|
|
1093
1094
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1094
1095
|
*/
|
|
1095
1096
|
"text-decoration-thickness": [{
|
|
1096
|
-
decoration: ["auto", "from-font",
|
|
1097
|
+
decoration: ["auto", "from-font", T, j]
|
|
1097
1098
|
}],
|
|
1098
1099
|
/**
|
|
1099
1100
|
* Text Underline Offset
|
|
1100
1101
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1101
1102
|
*/
|
|
1102
1103
|
"underline-offset": [{
|
|
1103
|
-
"underline-offset": ["auto",
|
|
1104
|
+
"underline-offset": ["auto", T, c]
|
|
1104
1105
|
}],
|
|
1105
1106
|
/**
|
|
1106
1107
|
* Text Decoration Color
|
|
@@ -1131,14 +1132,14 @@ const u = (e) => {
|
|
|
1131
1132
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1132
1133
|
*/
|
|
1133
1134
|
indent: [{
|
|
1134
|
-
indent:
|
|
1135
|
+
indent: m()
|
|
1135
1136
|
}],
|
|
1136
1137
|
/**
|
|
1137
1138
|
* Vertical Alignment
|
|
1138
1139
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1139
1140
|
*/
|
|
1140
1141
|
"vertical-align": [{
|
|
1141
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1142
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", c]
|
|
1142
1143
|
}],
|
|
1143
1144
|
/**
|
|
1144
1145
|
* Whitespace
|
|
@@ -1166,7 +1167,7 @@ const u = (e) => {
|
|
|
1166
1167
|
* @see https://tailwindcss.com/docs/content
|
|
1167
1168
|
*/
|
|
1168
1169
|
content: [{
|
|
1169
|
-
content: ["none",
|
|
1170
|
+
content: ["none", c]
|
|
1170
1171
|
}],
|
|
1171
1172
|
// Backgrounds
|
|
1172
1173
|
/**
|
|
@@ -1189,7 +1190,7 @@ const u = (e) => {
|
|
|
1189
1190
|
* @see https://tailwindcss.com/docs/background-opacity
|
|
1190
1191
|
*/
|
|
1191
1192
|
"bg-opacity": [{
|
|
1192
|
-
"bg-opacity": [
|
|
1193
|
+
"bg-opacity": [w]
|
|
1193
1194
|
}],
|
|
1194
1195
|
/**
|
|
1195
1196
|
* Background Origin
|
|
@@ -1203,7 +1204,7 @@ const u = (e) => {
|
|
|
1203
1204
|
* @see https://tailwindcss.com/docs/background-position
|
|
1204
1205
|
*/
|
|
1205
1206
|
"bg-position": [{
|
|
1206
|
-
bg: [...
|
|
1207
|
+
bg: [...L(), er]
|
|
1207
1208
|
}],
|
|
1208
1209
|
/**
|
|
1209
1210
|
* Background Repeat
|
|
@@ -1219,7 +1220,7 @@ const u = (e) => {
|
|
|
1219
1220
|
* @see https://tailwindcss.com/docs/background-size
|
|
1220
1221
|
*/
|
|
1221
1222
|
"bg-size": [{
|
|
1222
|
-
bg: ["auto", "cover", "contain",
|
|
1223
|
+
bg: ["auto", "cover", "contain", Ke]
|
|
1223
1224
|
}],
|
|
1224
1225
|
/**
|
|
1225
1226
|
* Background Image
|
|
@@ -1228,7 +1229,7 @@ const u = (e) => {
|
|
|
1228
1229
|
"bg-image": [{
|
|
1229
1230
|
bg: ["none", {
|
|
1230
1231
|
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1231
|
-
},
|
|
1232
|
+
}, tr]
|
|
1232
1233
|
}],
|
|
1233
1234
|
/**
|
|
1234
1235
|
* Background Color
|
|
@@ -1242,42 +1243,42 @@ const u = (e) => {
|
|
|
1242
1243
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1243
1244
|
*/
|
|
1244
1245
|
"gradient-from-pos": [{
|
|
1245
|
-
from: [
|
|
1246
|
+
from: [R]
|
|
1246
1247
|
}],
|
|
1247
1248
|
/**
|
|
1248
1249
|
* Gradient Color Stops Via Position
|
|
1249
1250
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1250
1251
|
*/
|
|
1251
1252
|
"gradient-via-pos": [{
|
|
1252
|
-
via: [
|
|
1253
|
+
via: [R]
|
|
1253
1254
|
}],
|
|
1254
1255
|
/**
|
|
1255
1256
|
* Gradient Color Stops To Position
|
|
1256
1257
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1257
1258
|
*/
|
|
1258
1259
|
"gradient-to-pos": [{
|
|
1259
|
-
to: [
|
|
1260
|
+
to: [R]
|
|
1260
1261
|
}],
|
|
1261
1262
|
/**
|
|
1262
1263
|
* Gradient Color Stops From
|
|
1263
1264
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1264
1265
|
*/
|
|
1265
1266
|
"gradient-from": [{
|
|
1266
|
-
from: [
|
|
1267
|
+
from: [k]
|
|
1267
1268
|
}],
|
|
1268
1269
|
/**
|
|
1269
1270
|
* Gradient Color Stops Via
|
|
1270
1271
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1271
1272
|
*/
|
|
1272
1273
|
"gradient-via": [{
|
|
1273
|
-
via: [
|
|
1274
|
+
via: [k]
|
|
1274
1275
|
}],
|
|
1275
1276
|
/**
|
|
1276
1277
|
* Gradient Color Stops To
|
|
1277
1278
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1278
1279
|
*/
|
|
1279
1280
|
"gradient-to": [{
|
|
1280
|
-
to: [
|
|
1281
|
+
to: [k]
|
|
1281
1282
|
}],
|
|
1282
1283
|
// Borders
|
|
1283
1284
|
/**
|
|
@@ -1285,189 +1286,189 @@ const u = (e) => {
|
|
|
1285
1286
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1286
1287
|
*/
|
|
1287
1288
|
rounded: [{
|
|
1288
|
-
rounded: [
|
|
1289
|
+
rounded: [s]
|
|
1289
1290
|
}],
|
|
1290
1291
|
/**
|
|
1291
1292
|
* Border Radius Start
|
|
1292
1293
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1293
1294
|
*/
|
|
1294
1295
|
"rounded-s": [{
|
|
1295
|
-
"rounded-s": [
|
|
1296
|
+
"rounded-s": [s]
|
|
1296
1297
|
}],
|
|
1297
1298
|
/**
|
|
1298
1299
|
* Border Radius End
|
|
1299
1300
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1300
1301
|
*/
|
|
1301
1302
|
"rounded-e": [{
|
|
1302
|
-
"rounded-e": [
|
|
1303
|
+
"rounded-e": [s]
|
|
1303
1304
|
}],
|
|
1304
1305
|
/**
|
|
1305
1306
|
* Border Radius Top
|
|
1306
1307
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1307
1308
|
*/
|
|
1308
1309
|
"rounded-t": [{
|
|
1309
|
-
"rounded-t": [
|
|
1310
|
+
"rounded-t": [s]
|
|
1310
1311
|
}],
|
|
1311
1312
|
/**
|
|
1312
1313
|
* Border Radius Right
|
|
1313
1314
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1314
1315
|
*/
|
|
1315
1316
|
"rounded-r": [{
|
|
1316
|
-
"rounded-r": [
|
|
1317
|
+
"rounded-r": [s]
|
|
1317
1318
|
}],
|
|
1318
1319
|
/**
|
|
1319
1320
|
* Border Radius Bottom
|
|
1320
1321
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1321
1322
|
*/
|
|
1322
1323
|
"rounded-b": [{
|
|
1323
|
-
"rounded-b": [
|
|
1324
|
+
"rounded-b": [s]
|
|
1324
1325
|
}],
|
|
1325
1326
|
/**
|
|
1326
1327
|
* Border Radius Left
|
|
1327
1328
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1328
1329
|
*/
|
|
1329
1330
|
"rounded-l": [{
|
|
1330
|
-
"rounded-l": [
|
|
1331
|
+
"rounded-l": [s]
|
|
1331
1332
|
}],
|
|
1332
1333
|
/**
|
|
1333
1334
|
* Border Radius Start Start
|
|
1334
1335
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1335
1336
|
*/
|
|
1336
1337
|
"rounded-ss": [{
|
|
1337
|
-
"rounded-ss": [
|
|
1338
|
+
"rounded-ss": [s]
|
|
1338
1339
|
}],
|
|
1339
1340
|
/**
|
|
1340
1341
|
* Border Radius Start End
|
|
1341
1342
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1342
1343
|
*/
|
|
1343
1344
|
"rounded-se": [{
|
|
1344
|
-
"rounded-se": [
|
|
1345
|
+
"rounded-se": [s]
|
|
1345
1346
|
}],
|
|
1346
1347
|
/**
|
|
1347
1348
|
* Border Radius End End
|
|
1348
1349
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1349
1350
|
*/
|
|
1350
1351
|
"rounded-ee": [{
|
|
1351
|
-
"rounded-ee": [
|
|
1352
|
+
"rounded-ee": [s]
|
|
1352
1353
|
}],
|
|
1353
1354
|
/**
|
|
1354
1355
|
* Border Radius End Start
|
|
1355
1356
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1356
1357
|
*/
|
|
1357
1358
|
"rounded-es": [{
|
|
1358
|
-
"rounded-es": [
|
|
1359
|
+
"rounded-es": [s]
|
|
1359
1360
|
}],
|
|
1360
1361
|
/**
|
|
1361
1362
|
* Border Radius Top Left
|
|
1362
1363
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1363
1364
|
*/
|
|
1364
1365
|
"rounded-tl": [{
|
|
1365
|
-
"rounded-tl": [
|
|
1366
|
+
"rounded-tl": [s]
|
|
1366
1367
|
}],
|
|
1367
1368
|
/**
|
|
1368
1369
|
* Border Radius Top Right
|
|
1369
1370
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1370
1371
|
*/
|
|
1371
1372
|
"rounded-tr": [{
|
|
1372
|
-
"rounded-tr": [
|
|
1373
|
+
"rounded-tr": [s]
|
|
1373
1374
|
}],
|
|
1374
1375
|
/**
|
|
1375
1376
|
* Border Radius Bottom Right
|
|
1376
1377
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1377
1378
|
*/
|
|
1378
1379
|
"rounded-br": [{
|
|
1379
|
-
"rounded-br": [
|
|
1380
|
+
"rounded-br": [s]
|
|
1380
1381
|
}],
|
|
1381
1382
|
/**
|
|
1382
1383
|
* Border Radius Bottom Left
|
|
1383
1384
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1384
1385
|
*/
|
|
1385
1386
|
"rounded-bl": [{
|
|
1386
|
-
"rounded-bl": [
|
|
1387
|
+
"rounded-bl": [s]
|
|
1387
1388
|
}],
|
|
1388
1389
|
/**
|
|
1389
1390
|
* Border Width
|
|
1390
1391
|
* @see https://tailwindcss.com/docs/border-width
|
|
1391
1392
|
*/
|
|
1392
1393
|
"border-w": [{
|
|
1393
|
-
border: [
|
|
1394
|
+
border: [a]
|
|
1394
1395
|
}],
|
|
1395
1396
|
/**
|
|
1396
1397
|
* Border Width X
|
|
1397
1398
|
* @see https://tailwindcss.com/docs/border-width
|
|
1398
1399
|
*/
|
|
1399
1400
|
"border-w-x": [{
|
|
1400
|
-
"border-x": [
|
|
1401
|
+
"border-x": [a]
|
|
1401
1402
|
}],
|
|
1402
1403
|
/**
|
|
1403
1404
|
* Border Width Y
|
|
1404
1405
|
* @see https://tailwindcss.com/docs/border-width
|
|
1405
1406
|
*/
|
|
1406
1407
|
"border-w-y": [{
|
|
1407
|
-
"border-y": [
|
|
1408
|
+
"border-y": [a]
|
|
1408
1409
|
}],
|
|
1409
1410
|
/**
|
|
1410
1411
|
* Border Width Start
|
|
1411
1412
|
* @see https://tailwindcss.com/docs/border-width
|
|
1412
1413
|
*/
|
|
1413
1414
|
"border-w-s": [{
|
|
1414
|
-
"border-s": [
|
|
1415
|
+
"border-s": [a]
|
|
1415
1416
|
}],
|
|
1416
1417
|
/**
|
|
1417
1418
|
* Border Width End
|
|
1418
1419
|
* @see https://tailwindcss.com/docs/border-width
|
|
1419
1420
|
*/
|
|
1420
1421
|
"border-w-e": [{
|
|
1421
|
-
"border-e": [
|
|
1422
|
+
"border-e": [a]
|
|
1422
1423
|
}],
|
|
1423
1424
|
/**
|
|
1424
1425
|
* Border Width Top
|
|
1425
1426
|
* @see https://tailwindcss.com/docs/border-width
|
|
1426
1427
|
*/
|
|
1427
1428
|
"border-w-t": [{
|
|
1428
|
-
"border-t": [
|
|
1429
|
+
"border-t": [a]
|
|
1429
1430
|
}],
|
|
1430
1431
|
/**
|
|
1431
1432
|
* Border Width Right
|
|
1432
1433
|
* @see https://tailwindcss.com/docs/border-width
|
|
1433
1434
|
*/
|
|
1434
1435
|
"border-w-r": [{
|
|
1435
|
-
"border-r": [
|
|
1436
|
+
"border-r": [a]
|
|
1436
1437
|
}],
|
|
1437
1438
|
/**
|
|
1438
1439
|
* Border Width Bottom
|
|
1439
1440
|
* @see https://tailwindcss.com/docs/border-width
|
|
1440
1441
|
*/
|
|
1441
1442
|
"border-w-b": [{
|
|
1442
|
-
"border-b": [
|
|
1443
|
+
"border-b": [a]
|
|
1443
1444
|
}],
|
|
1444
1445
|
/**
|
|
1445
1446
|
* Border Width Left
|
|
1446
1447
|
* @see https://tailwindcss.com/docs/border-width
|
|
1447
1448
|
*/
|
|
1448
1449
|
"border-w-l": [{
|
|
1449
|
-
"border-l": [
|
|
1450
|
+
"border-l": [a]
|
|
1450
1451
|
}],
|
|
1451
1452
|
/**
|
|
1452
1453
|
* Border Opacity
|
|
1453
1454
|
* @see https://tailwindcss.com/docs/border-opacity
|
|
1454
1455
|
*/
|
|
1455
1456
|
"border-opacity": [{
|
|
1456
|
-
"border-opacity": [
|
|
1457
|
+
"border-opacity": [w]
|
|
1457
1458
|
}],
|
|
1458
1459
|
/**
|
|
1459
1460
|
* Border Style
|
|
1460
1461
|
* @see https://tailwindcss.com/docs/border-style
|
|
1461
1462
|
*/
|
|
1462
1463
|
"border-style": [{
|
|
1463
|
-
border: [...
|
|
1464
|
+
border: [...P(), "hidden"]
|
|
1464
1465
|
}],
|
|
1465
1466
|
/**
|
|
1466
1467
|
* Divide Width X
|
|
1467
1468
|
* @see https://tailwindcss.com/docs/divide-width
|
|
1468
1469
|
*/
|
|
1469
1470
|
"divide-x": [{
|
|
1470
|
-
"divide-x": [
|
|
1471
|
+
"divide-x": [a]
|
|
1471
1472
|
}],
|
|
1472
1473
|
/**
|
|
1473
1474
|
* Divide Width X Reverse
|
|
@@ -1479,7 +1480,7 @@ const u = (e) => {
|
|
|
1479
1480
|
* @see https://tailwindcss.com/docs/divide-width
|
|
1480
1481
|
*/
|
|
1481
1482
|
"divide-y": [{
|
|
1482
|
-
"divide-y": [
|
|
1483
|
+
"divide-y": [a]
|
|
1483
1484
|
}],
|
|
1484
1485
|
/**
|
|
1485
1486
|
* Divide Width Y Reverse
|
|
@@ -1491,14 +1492,14 @@ const u = (e) => {
|
|
|
1491
1492
|
* @see https://tailwindcss.com/docs/divide-opacity
|
|
1492
1493
|
*/
|
|
1493
1494
|
"divide-opacity": [{
|
|
1494
|
-
"divide-opacity": [
|
|
1495
|
+
"divide-opacity": [w]
|
|
1495
1496
|
}],
|
|
1496
1497
|
/**
|
|
1497
1498
|
* Divide Style
|
|
1498
1499
|
* @see https://tailwindcss.com/docs/divide-style
|
|
1499
1500
|
*/
|
|
1500
1501
|
"divide-style": [{
|
|
1501
|
-
divide:
|
|
1502
|
+
divide: P()
|
|
1502
1503
|
}],
|
|
1503
1504
|
/**
|
|
1504
1505
|
* Border Color
|
|
@@ -1575,21 +1576,21 @@ const u = (e) => {
|
|
|
1575
1576
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1576
1577
|
*/
|
|
1577
1578
|
"outline-style": [{
|
|
1578
|
-
outline: ["", ...
|
|
1579
|
+
outline: ["", ...P()]
|
|
1579
1580
|
}],
|
|
1580
1581
|
/**
|
|
1581
1582
|
* Outline Offset
|
|
1582
1583
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1583
1584
|
*/
|
|
1584
1585
|
"outline-offset": [{
|
|
1585
|
-
"outline-offset": [
|
|
1586
|
+
"outline-offset": [T, c]
|
|
1586
1587
|
}],
|
|
1587
1588
|
/**
|
|
1588
1589
|
* Outline Width
|
|
1589
1590
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1590
1591
|
*/
|
|
1591
1592
|
"outline-w": [{
|
|
1592
|
-
outline: [
|
|
1593
|
+
outline: [T, j]
|
|
1593
1594
|
}],
|
|
1594
1595
|
/**
|
|
1595
1596
|
* Outline Color
|
|
@@ -1603,7 +1604,7 @@ const u = (e) => {
|
|
|
1603
1604
|
* @see https://tailwindcss.com/docs/ring-width
|
|
1604
1605
|
*/
|
|
1605
1606
|
"ring-w": [{
|
|
1606
|
-
ring:
|
|
1607
|
+
ring: Y()
|
|
1607
1608
|
}],
|
|
1608
1609
|
/**
|
|
1609
1610
|
* Ring Width Inset
|
|
@@ -1622,14 +1623,14 @@ const u = (e) => {
|
|
|
1622
1623
|
* @see https://tailwindcss.com/docs/ring-opacity
|
|
1623
1624
|
*/
|
|
1624
1625
|
"ring-opacity": [{
|
|
1625
|
-
"ring-opacity": [
|
|
1626
|
+
"ring-opacity": [w]
|
|
1626
1627
|
}],
|
|
1627
1628
|
/**
|
|
1628
1629
|
* Ring Offset Width
|
|
1629
1630
|
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
1630
1631
|
*/
|
|
1631
1632
|
"ring-offset-w": [{
|
|
1632
|
-
"ring-offset": [
|
|
1633
|
+
"ring-offset": [T, j]
|
|
1633
1634
|
}],
|
|
1634
1635
|
/**
|
|
1635
1636
|
* Ring Offset Color
|
|
@@ -1644,35 +1645,35 @@ const u = (e) => {
|
|
|
1644
1645
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
1645
1646
|
*/
|
|
1646
1647
|
shadow: [{
|
|
1647
|
-
shadow: ["", "inner", "none",
|
|
1648
|
+
shadow: ["", "inner", "none", O, or]
|
|
1648
1649
|
}],
|
|
1649
1650
|
/**
|
|
1650
1651
|
* Box Shadow Color
|
|
1651
1652
|
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
1652
1653
|
*/
|
|
1653
1654
|
"shadow-color": [{
|
|
1654
|
-
shadow: [
|
|
1655
|
+
shadow: [H]
|
|
1655
1656
|
}],
|
|
1656
1657
|
/**
|
|
1657
1658
|
* Opacity
|
|
1658
1659
|
* @see https://tailwindcss.com/docs/opacity
|
|
1659
1660
|
*/
|
|
1660
1661
|
opacity: [{
|
|
1661
|
-
opacity: [
|
|
1662
|
+
opacity: [w]
|
|
1662
1663
|
}],
|
|
1663
1664
|
/**
|
|
1664
1665
|
* Mix Blend Mode
|
|
1665
1666
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1666
1667
|
*/
|
|
1667
1668
|
"mix-blend": [{
|
|
1668
|
-
"mix-blend": [...
|
|
1669
|
+
"mix-blend": [...J(), "plus-lighter", "plus-darker"]
|
|
1669
1670
|
}],
|
|
1670
1671
|
/**
|
|
1671
1672
|
* Background Blend Mode
|
|
1672
1673
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1673
1674
|
*/
|
|
1674
1675
|
"bg-blend": [{
|
|
1675
|
-
"bg-blend":
|
|
1676
|
+
"bg-blend": J()
|
|
1676
1677
|
}],
|
|
1677
1678
|
// Filters
|
|
1678
1679
|
/**
|
|
@@ -1695,7 +1696,7 @@ const u = (e) => {
|
|
|
1695
1696
|
* @see https://tailwindcss.com/docs/brightness
|
|
1696
1697
|
*/
|
|
1697
1698
|
brightness: [{
|
|
1698
|
-
brightness: [
|
|
1699
|
+
brightness: [n]
|
|
1699
1700
|
}],
|
|
1700
1701
|
/**
|
|
1701
1702
|
* Contrast
|
|
@@ -1709,42 +1710,42 @@ const u = (e) => {
|
|
|
1709
1710
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
1710
1711
|
*/
|
|
1711
1712
|
"drop-shadow": [{
|
|
1712
|
-
"drop-shadow": ["", "none",
|
|
1713
|
+
"drop-shadow": ["", "none", O, c]
|
|
1713
1714
|
}],
|
|
1714
1715
|
/**
|
|
1715
1716
|
* Grayscale
|
|
1716
1717
|
* @see https://tailwindcss.com/docs/grayscale
|
|
1717
1718
|
*/
|
|
1718
1719
|
grayscale: [{
|
|
1719
|
-
grayscale: [
|
|
1720
|
+
grayscale: [f]
|
|
1720
1721
|
}],
|
|
1721
1722
|
/**
|
|
1722
1723
|
* Hue Rotate
|
|
1723
1724
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
1724
1725
|
*/
|
|
1725
1726
|
"hue-rotate": [{
|
|
1726
|
-
"hue-rotate": [
|
|
1727
|
+
"hue-rotate": [p]
|
|
1727
1728
|
}],
|
|
1728
1729
|
/**
|
|
1729
1730
|
* Invert
|
|
1730
1731
|
* @see https://tailwindcss.com/docs/invert
|
|
1731
1732
|
*/
|
|
1732
1733
|
invert: [{
|
|
1733
|
-
invert: [
|
|
1734
|
+
invert: [y]
|
|
1734
1735
|
}],
|
|
1735
1736
|
/**
|
|
1736
1737
|
* Saturate
|
|
1737
1738
|
* @see https://tailwindcss.com/docs/saturate
|
|
1738
1739
|
*/
|
|
1739
1740
|
saturate: [{
|
|
1740
|
-
saturate: [
|
|
1741
|
+
saturate: [C]
|
|
1741
1742
|
}],
|
|
1742
1743
|
/**
|
|
1743
1744
|
* Sepia
|
|
1744
1745
|
* @see https://tailwindcss.com/docs/sepia
|
|
1745
1746
|
*/
|
|
1746
1747
|
sepia: [{
|
|
1747
|
-
sepia: [
|
|
1748
|
+
sepia: [M]
|
|
1748
1749
|
}],
|
|
1749
1750
|
/**
|
|
1750
1751
|
* Backdrop Filter
|
|
@@ -1766,7 +1767,7 @@ const u = (e) => {
|
|
|
1766
1767
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
1767
1768
|
*/
|
|
1768
1769
|
"backdrop-brightness": [{
|
|
1769
|
-
"backdrop-brightness": [
|
|
1770
|
+
"backdrop-brightness": [n]
|
|
1770
1771
|
}],
|
|
1771
1772
|
/**
|
|
1772
1773
|
* Backdrop Contrast
|
|
@@ -1780,42 +1781,42 @@ const u = (e) => {
|
|
|
1780
1781
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
1781
1782
|
*/
|
|
1782
1783
|
"backdrop-grayscale": [{
|
|
1783
|
-
"backdrop-grayscale": [
|
|
1784
|
+
"backdrop-grayscale": [f]
|
|
1784
1785
|
}],
|
|
1785
1786
|
/**
|
|
1786
1787
|
* Backdrop Hue Rotate
|
|
1787
1788
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
1788
1789
|
*/
|
|
1789
1790
|
"backdrop-hue-rotate": [{
|
|
1790
|
-
"backdrop-hue-rotate": [
|
|
1791
|
+
"backdrop-hue-rotate": [p]
|
|
1791
1792
|
}],
|
|
1792
1793
|
/**
|
|
1793
1794
|
* Backdrop Invert
|
|
1794
1795
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
1795
1796
|
*/
|
|
1796
1797
|
"backdrop-invert": [{
|
|
1797
|
-
"backdrop-invert": [
|
|
1798
|
+
"backdrop-invert": [y]
|
|
1798
1799
|
}],
|
|
1799
1800
|
/**
|
|
1800
1801
|
* Backdrop Opacity
|
|
1801
1802
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
1802
1803
|
*/
|
|
1803
1804
|
"backdrop-opacity": [{
|
|
1804
|
-
"backdrop-opacity": [
|
|
1805
|
+
"backdrop-opacity": [w]
|
|
1805
1806
|
}],
|
|
1806
1807
|
/**
|
|
1807
1808
|
* Backdrop Saturate
|
|
1808
1809
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
1809
1810
|
*/
|
|
1810
1811
|
"backdrop-saturate": [{
|
|
1811
|
-
"backdrop-saturate": [
|
|
1812
|
+
"backdrop-saturate": [C]
|
|
1812
1813
|
}],
|
|
1813
1814
|
/**
|
|
1814
1815
|
* Backdrop Sepia
|
|
1815
1816
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
1816
1817
|
*/
|
|
1817
1818
|
"backdrop-sepia": [{
|
|
1818
|
-
"backdrop-sepia": [
|
|
1819
|
+
"backdrop-sepia": [M]
|
|
1819
1820
|
}],
|
|
1820
1821
|
// Tables
|
|
1821
1822
|
/**
|
|
@@ -1866,35 +1867,35 @@ const u = (e) => {
|
|
|
1866
1867
|
* @see https://tailwindcss.com/docs/transition-property
|
|
1867
1868
|
*/
|
|
1868
1869
|
transition: [{
|
|
1869
|
-
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform",
|
|
1870
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", c]
|
|
1870
1871
|
}],
|
|
1871
1872
|
/**
|
|
1872
1873
|
* Transition Duration
|
|
1873
1874
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
1874
1875
|
*/
|
|
1875
1876
|
duration: [{
|
|
1876
|
-
duration:
|
|
1877
|
+
duration: t()
|
|
1877
1878
|
}],
|
|
1878
1879
|
/**
|
|
1879
1880
|
* Transition Timing Function
|
|
1880
1881
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
1881
1882
|
*/
|
|
1882
1883
|
ease: [{
|
|
1883
|
-
ease: ["linear", "in", "out", "in-out",
|
|
1884
|
+
ease: ["linear", "in", "out", "in-out", c]
|
|
1884
1885
|
}],
|
|
1885
1886
|
/**
|
|
1886
1887
|
* Transition Delay
|
|
1887
1888
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
1888
1889
|
*/
|
|
1889
1890
|
delay: [{
|
|
1890
|
-
delay:
|
|
1891
|
+
delay: t()
|
|
1891
1892
|
}],
|
|
1892
1893
|
/**
|
|
1893
1894
|
* Animation
|
|
1894
1895
|
* @see https://tailwindcss.com/docs/animation
|
|
1895
1896
|
*/
|
|
1896
1897
|
animate: [{
|
|
1897
|
-
animate: ["none", "spin", "ping", "pulse", "bounce",
|
|
1898
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", c]
|
|
1898
1899
|
}],
|
|
1899
1900
|
// Transforms
|
|
1900
1901
|
/**
|
|
@@ -1930,42 +1931,42 @@ const u = (e) => {
|
|
|
1930
1931
|
* @see https://tailwindcss.com/docs/rotate
|
|
1931
1932
|
*/
|
|
1932
1933
|
rotate: [{
|
|
1933
|
-
rotate: [
|
|
1934
|
+
rotate: [D, c]
|
|
1934
1935
|
}],
|
|
1935
1936
|
/**
|
|
1936
1937
|
* Translate X
|
|
1937
1938
|
* @see https://tailwindcss.com/docs/translate
|
|
1938
1939
|
*/
|
|
1939
1940
|
"translate-x": [{
|
|
1940
|
-
"translate-x": [
|
|
1941
|
+
"translate-x": [re]
|
|
1941
1942
|
}],
|
|
1942
1943
|
/**
|
|
1943
1944
|
* Translate Y
|
|
1944
1945
|
* @see https://tailwindcss.com/docs/translate
|
|
1945
1946
|
*/
|
|
1946
1947
|
"translate-y": [{
|
|
1947
|
-
"translate-y": [
|
|
1948
|
+
"translate-y": [re]
|
|
1948
1949
|
}],
|
|
1949
1950
|
/**
|
|
1950
1951
|
* Skew X
|
|
1951
1952
|
* @see https://tailwindcss.com/docs/skew
|
|
1952
1953
|
*/
|
|
1953
1954
|
"skew-x": [{
|
|
1954
|
-
"skew-x": [
|
|
1955
|
+
"skew-x": [K]
|
|
1955
1956
|
}],
|
|
1956
1957
|
/**
|
|
1957
1958
|
* Skew Y
|
|
1958
1959
|
* @see https://tailwindcss.com/docs/skew
|
|
1959
1960
|
*/
|
|
1960
1961
|
"skew-y": [{
|
|
1961
|
-
"skew-y": [
|
|
1962
|
+
"skew-y": [K]
|
|
1962
1963
|
}],
|
|
1963
1964
|
/**
|
|
1964
1965
|
* Transform Origin
|
|
1965
1966
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
1966
1967
|
*/
|
|
1967
1968
|
"transform-origin": [{
|
|
1968
|
-
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left",
|
|
1969
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", c]
|
|
1969
1970
|
}],
|
|
1970
1971
|
// Interactivity
|
|
1971
1972
|
/**
|
|
@@ -1987,7 +1988,7 @@ const u = (e) => {
|
|
|
1987
1988
|
* @see https://tailwindcss.com/docs/cursor
|
|
1988
1989
|
*/
|
|
1989
1990
|
cursor: [{
|
|
1990
|
-
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",
|
|
1991
|
+
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]
|
|
1991
1992
|
}],
|
|
1992
1993
|
/**
|
|
1993
1994
|
* Caret Color
|
|
@@ -2022,126 +2023,126 @@ const u = (e) => {
|
|
|
2022
2023
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2023
2024
|
*/
|
|
2024
2025
|
"scroll-m": [{
|
|
2025
|
-
"scroll-m":
|
|
2026
|
+
"scroll-m": m()
|
|
2026
2027
|
}],
|
|
2027
2028
|
/**
|
|
2028
2029
|
* Scroll Margin X
|
|
2029
2030
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2030
2031
|
*/
|
|
2031
2032
|
"scroll-mx": [{
|
|
2032
|
-
"scroll-mx":
|
|
2033
|
+
"scroll-mx": m()
|
|
2033
2034
|
}],
|
|
2034
2035
|
/**
|
|
2035
2036
|
* Scroll Margin Y
|
|
2036
2037
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2037
2038
|
*/
|
|
2038
2039
|
"scroll-my": [{
|
|
2039
|
-
"scroll-my":
|
|
2040
|
+
"scroll-my": m()
|
|
2040
2041
|
}],
|
|
2041
2042
|
/**
|
|
2042
2043
|
* Scroll Margin Start
|
|
2043
2044
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2044
2045
|
*/
|
|
2045
2046
|
"scroll-ms": [{
|
|
2046
|
-
"scroll-ms":
|
|
2047
|
+
"scroll-ms": m()
|
|
2047
2048
|
}],
|
|
2048
2049
|
/**
|
|
2049
2050
|
* Scroll Margin End
|
|
2050
2051
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2051
2052
|
*/
|
|
2052
2053
|
"scroll-me": [{
|
|
2053
|
-
"scroll-me":
|
|
2054
|
+
"scroll-me": m()
|
|
2054
2055
|
}],
|
|
2055
2056
|
/**
|
|
2056
2057
|
* Scroll Margin Top
|
|
2057
2058
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2058
2059
|
*/
|
|
2059
2060
|
"scroll-mt": [{
|
|
2060
|
-
"scroll-mt":
|
|
2061
|
+
"scroll-mt": m()
|
|
2061
2062
|
}],
|
|
2062
2063
|
/**
|
|
2063
2064
|
* Scroll Margin Right
|
|
2064
2065
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2065
2066
|
*/
|
|
2066
2067
|
"scroll-mr": [{
|
|
2067
|
-
"scroll-mr":
|
|
2068
|
+
"scroll-mr": m()
|
|
2068
2069
|
}],
|
|
2069
2070
|
/**
|
|
2070
2071
|
* Scroll Margin Bottom
|
|
2071
2072
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2072
2073
|
*/
|
|
2073
2074
|
"scroll-mb": [{
|
|
2074
|
-
"scroll-mb":
|
|
2075
|
+
"scroll-mb": m()
|
|
2075
2076
|
}],
|
|
2076
2077
|
/**
|
|
2077
2078
|
* Scroll Margin Left
|
|
2078
2079
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2079
2080
|
*/
|
|
2080
2081
|
"scroll-ml": [{
|
|
2081
|
-
"scroll-ml":
|
|
2082
|
+
"scroll-ml": m()
|
|
2082
2083
|
}],
|
|
2083
2084
|
/**
|
|
2084
2085
|
* Scroll Padding
|
|
2085
2086
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2086
2087
|
*/
|
|
2087
2088
|
"scroll-p": [{
|
|
2088
|
-
"scroll-p":
|
|
2089
|
+
"scroll-p": m()
|
|
2089
2090
|
}],
|
|
2090
2091
|
/**
|
|
2091
2092
|
* Scroll Padding X
|
|
2092
2093
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2093
2094
|
*/
|
|
2094
2095
|
"scroll-px": [{
|
|
2095
|
-
"scroll-px":
|
|
2096
|
+
"scroll-px": m()
|
|
2096
2097
|
}],
|
|
2097
2098
|
/**
|
|
2098
2099
|
* Scroll Padding Y
|
|
2099
2100
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2100
2101
|
*/
|
|
2101
2102
|
"scroll-py": [{
|
|
2102
|
-
"scroll-py":
|
|
2103
|
+
"scroll-py": m()
|
|
2103
2104
|
}],
|
|
2104
2105
|
/**
|
|
2105
2106
|
* Scroll Padding Start
|
|
2106
2107
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2107
2108
|
*/
|
|
2108
2109
|
"scroll-ps": [{
|
|
2109
|
-
"scroll-ps":
|
|
2110
|
+
"scroll-ps": m()
|
|
2110
2111
|
}],
|
|
2111
2112
|
/**
|
|
2112
2113
|
* Scroll Padding End
|
|
2113
2114
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2114
2115
|
*/
|
|
2115
2116
|
"scroll-pe": [{
|
|
2116
|
-
"scroll-pe":
|
|
2117
|
+
"scroll-pe": m()
|
|
2117
2118
|
}],
|
|
2118
2119
|
/**
|
|
2119
2120
|
* Scroll Padding Top
|
|
2120
2121
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2121
2122
|
*/
|
|
2122
2123
|
"scroll-pt": [{
|
|
2123
|
-
"scroll-pt":
|
|
2124
|
+
"scroll-pt": m()
|
|
2124
2125
|
}],
|
|
2125
2126
|
/**
|
|
2126
2127
|
* Scroll Padding Right
|
|
2127
2128
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2128
2129
|
*/
|
|
2129
2130
|
"scroll-pr": [{
|
|
2130
|
-
"scroll-pr":
|
|
2131
|
+
"scroll-pr": m()
|
|
2131
2132
|
}],
|
|
2132
2133
|
/**
|
|
2133
2134
|
* Scroll Padding Bottom
|
|
2134
2135
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2135
2136
|
*/
|
|
2136
2137
|
"scroll-pb": [{
|
|
2137
|
-
"scroll-pb":
|
|
2138
|
+
"scroll-pb": m()
|
|
2138
2139
|
}],
|
|
2139
2140
|
/**
|
|
2140
2141
|
* Scroll Padding Left
|
|
2141
2142
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2142
2143
|
*/
|
|
2143
2144
|
"scroll-pl": [{
|
|
2144
|
-
"scroll-pl":
|
|
2145
|
+
"scroll-pl": m()
|
|
2145
2146
|
}],
|
|
2146
2147
|
/**
|
|
2147
2148
|
* Scroll Snap Align
|
|
@@ -2209,7 +2210,7 @@ const u = (e) => {
|
|
|
2209
2210
|
* @see https://tailwindcss.com/docs/will-change
|
|
2210
2211
|
*/
|
|
2211
2212
|
"will-change": [{
|
|
2212
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2213
|
+
"will-change": ["auto", "scroll", "contents", "transform", c]
|
|
2213
2214
|
}],
|
|
2214
2215
|
// SVG
|
|
2215
2216
|
/**
|
|
@@ -2224,7 +2225,7 @@ const u = (e) => {
|
|
|
2224
2225
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2225
2226
|
*/
|
|
2226
2227
|
"stroke-w": [{
|
|
2227
|
-
stroke: [
|
|
2228
|
+
stroke: [T, j, ie]
|
|
2228
2229
|
}],
|
|
2229
2230
|
/**
|
|
2230
2231
|
* Stroke
|
|
@@ -2299,11 +2300,11 @@ const u = (e) => {
|
|
|
2299
2300
|
"font-size": ["leading"]
|
|
2300
2301
|
}
|
|
2301
2302
|
};
|
|
2302
|
-
},
|
|
2303
|
-
function
|
|
2304
|
-
return
|
|
2303
|
+
}, lr = /* @__PURE__ */ qe(ir);
|
|
2304
|
+
function ue(...e) {
|
|
2305
|
+
return lr(we(e));
|
|
2305
2306
|
}
|
|
2306
|
-
const
|
|
2307
|
+
const cr = Ne(
|
|
2307
2308
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
|
2308
2309
|
{
|
|
2309
2310
|
variants: {
|
|
@@ -2312,13 +2313,398 @@ const Ue = ce(
|
|
|
2312
2313
|
},
|
|
2313
2314
|
defaultVariants: { variant: "default", size: "md" }
|
|
2314
2315
|
}
|
|
2315
|
-
),
|
|
2316
|
-
const
|
|
2317
|
-
return
|
|
2316
|
+
), dr = Q.forwardRef(({ className: e, variant: o, size: r, asChild: n = !1, type: i = "button", ...s }, l) => {
|
|
2317
|
+
const a = n ? Te : "button";
|
|
2318
|
+
return Q.createElement(a, { ref: l, className: ue(cr({ variant: o, size: r, className: e })), ...n ? s : { type: i, ...s } });
|
|
2318
2319
|
});
|
|
2319
|
-
|
|
2320
|
+
dr.displayName = "Button";
|
|
2321
|
+
var oe = { exports: {} }, X = {};
|
|
2322
|
+
/**
|
|
2323
|
+
* @license React
|
|
2324
|
+
* react-jsx-runtime.production.js
|
|
2325
|
+
*
|
|
2326
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2327
|
+
*
|
|
2328
|
+
* This source code is licensed under the MIT license found in the
|
|
2329
|
+
* LICENSE file in the root directory of this source tree.
|
|
2330
|
+
*/
|
|
2331
|
+
var ge;
|
|
2332
|
+
function ur() {
|
|
2333
|
+
if (ge) return X;
|
|
2334
|
+
ge = 1;
|
|
2335
|
+
var e = Symbol.for("react.transitional.element"), o = Symbol.for("react.fragment");
|
|
2336
|
+
function r(n, i, s) {
|
|
2337
|
+
var l = null;
|
|
2338
|
+
if (s !== void 0 && (l = "" + s), i.key !== void 0 && (l = "" + i.key), "key" in i) {
|
|
2339
|
+
s = {};
|
|
2340
|
+
for (var a in i)
|
|
2341
|
+
a !== "key" && (s[a] = i[a]);
|
|
2342
|
+
} else s = i;
|
|
2343
|
+
return i = s.ref, {
|
|
2344
|
+
$$typeof: e,
|
|
2345
|
+
type: n,
|
|
2346
|
+
key: l,
|
|
2347
|
+
ref: i !== void 0 ? i : null,
|
|
2348
|
+
props: s
|
|
2349
|
+
};
|
|
2350
|
+
}
|
|
2351
|
+
return X.Fragment = o, X.jsx = r, X.jsxs = r, X;
|
|
2352
|
+
}
|
|
2353
|
+
var Z = {};
|
|
2354
|
+
/**
|
|
2355
|
+
* @license React
|
|
2356
|
+
* react-jsx-runtime.development.js
|
|
2357
|
+
*
|
|
2358
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2359
|
+
*
|
|
2360
|
+
* This source code is licensed under the MIT license found in the
|
|
2361
|
+
* LICENSE file in the root directory of this source tree.
|
|
2362
|
+
*/
|
|
2363
|
+
var he;
|
|
2364
|
+
function fr() {
|
|
2365
|
+
return he || (he = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
2366
|
+
function e(t) {
|
|
2367
|
+
if (t == null) return null;
|
|
2368
|
+
if (typeof t == "function")
|
|
2369
|
+
return t.$$typeof === U ? null : t.displayName || t.name || null;
|
|
2370
|
+
if (typeof t == "string") return t;
|
|
2371
|
+
switch (t) {
|
|
2372
|
+
case u:
|
|
2373
|
+
return "Fragment";
|
|
2374
|
+
case A:
|
|
2375
|
+
return "Profiler";
|
|
2376
|
+
case w:
|
|
2377
|
+
return "StrictMode";
|
|
2378
|
+
case K:
|
|
2379
|
+
return "Suspense";
|
|
2380
|
+
case ee:
|
|
2381
|
+
return "SuspenseList";
|
|
2382
|
+
case q:
|
|
2383
|
+
return "Activity";
|
|
2384
|
+
}
|
|
2385
|
+
if (typeof t == "object")
|
|
2386
|
+
switch (typeof t.tag == "number" && console.error(
|
|
2387
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
2388
|
+
), t.$$typeof) {
|
|
2389
|
+
case h:
|
|
2390
|
+
return "Portal";
|
|
2391
|
+
case S:
|
|
2392
|
+
return t.displayName || "Context";
|
|
2393
|
+
case C:
|
|
2394
|
+
return (t._context.displayName || "Context") + ".Consumer";
|
|
2395
|
+
case M:
|
|
2396
|
+
var d = t.render;
|
|
2397
|
+
return t = t.displayName, t || (t = d.displayName || d.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
|
|
2398
|
+
case re:
|
|
2399
|
+
return d = t.displayName || null, d !== null ? d : e(t.type) || "Memo";
|
|
2400
|
+
case z:
|
|
2401
|
+
d = t._payload, t = t._init;
|
|
2402
|
+
try {
|
|
2403
|
+
return e(t(d));
|
|
2404
|
+
} catch {
|
|
2405
|
+
}
|
|
2406
|
+
}
|
|
2407
|
+
return null;
|
|
2408
|
+
}
|
|
2409
|
+
function o(t) {
|
|
2410
|
+
return "" + t;
|
|
2411
|
+
}
|
|
2412
|
+
function r(t) {
|
|
2413
|
+
try {
|
|
2414
|
+
o(t);
|
|
2415
|
+
var d = !1;
|
|
2416
|
+
} catch {
|
|
2417
|
+
d = !0;
|
|
2418
|
+
}
|
|
2419
|
+
if (d) {
|
|
2420
|
+
d = console;
|
|
2421
|
+
var x = d.error, E = typeof Symbol == "function" && Symbol.toStringTag && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
2422
|
+
return x.call(
|
|
2423
|
+
d,
|
|
2424
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
2425
|
+
E
|
|
2426
|
+
), o(t);
|
|
2427
|
+
}
|
|
2428
|
+
}
|
|
2429
|
+
function n(t) {
|
|
2430
|
+
if (t === u) return "<>";
|
|
2431
|
+
if (typeof t == "object" && t !== null && t.$$typeof === z)
|
|
2432
|
+
return "<...>";
|
|
2433
|
+
try {
|
|
2434
|
+
var d = e(t);
|
|
2435
|
+
return d ? "<" + d + ">" : "<...>";
|
|
2436
|
+
} catch {
|
|
2437
|
+
return "<...>";
|
|
2438
|
+
}
|
|
2439
|
+
}
|
|
2440
|
+
function i() {
|
|
2441
|
+
var t = m.A;
|
|
2442
|
+
return t === null ? null : t.getOwner();
|
|
2443
|
+
}
|
|
2444
|
+
function s() {
|
|
2445
|
+
return Error("react-stack-top-frame");
|
|
2446
|
+
}
|
|
2447
|
+
function l(t) {
|
|
2448
|
+
if (Y.call(t, "key")) {
|
|
2449
|
+
var d = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
2450
|
+
if (d && d.isReactWarning) return !1;
|
|
2451
|
+
}
|
|
2452
|
+
return t.key !== void 0;
|
|
2453
|
+
}
|
|
2454
|
+
function a(t, d) {
|
|
2455
|
+
function x() {
|
|
2456
|
+
P || (P = !0, console.error(
|
|
2457
|
+
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
2458
|
+
d
|
|
2459
|
+
));
|
|
2460
|
+
}
|
|
2461
|
+
x.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
2462
|
+
get: x,
|
|
2463
|
+
configurable: !0
|
|
2464
|
+
});
|
|
2465
|
+
}
|
|
2466
|
+
function b() {
|
|
2467
|
+
var t = e(this.type);
|
|
2468
|
+
return J[t] || (J[t] = !0, console.error(
|
|
2469
|
+
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
2470
|
+
)), t = this.props.ref, t !== void 0 ? t : null;
|
|
2471
|
+
}
|
|
2472
|
+
function f(t, d, x, E, te, se) {
|
|
2473
|
+
var _ = x.ref;
|
|
2474
|
+
return t = {
|
|
2475
|
+
$$typeof: R,
|
|
2476
|
+
type: t,
|
|
2477
|
+
key: d,
|
|
2478
|
+
props: x,
|
|
2479
|
+
_owner: E
|
|
2480
|
+
}, (_ !== void 0 ? _ : null) !== null ? Object.defineProperty(t, "ref", {
|
|
2481
|
+
enumerable: !1,
|
|
2482
|
+
get: b
|
|
2483
|
+
}) : Object.defineProperty(t, "ref", { enumerable: !1, value: null }), t._store = {}, Object.defineProperty(t._store, "validated", {
|
|
2484
|
+
configurable: !1,
|
|
2485
|
+
enumerable: !1,
|
|
2486
|
+
writable: !0,
|
|
2487
|
+
value: 0
|
|
2488
|
+
}), Object.defineProperty(t, "_debugInfo", {
|
|
2489
|
+
configurable: !1,
|
|
2490
|
+
enumerable: !1,
|
|
2491
|
+
writable: !0,
|
|
2492
|
+
value: null
|
|
2493
|
+
}), Object.defineProperty(t, "_debugStack", {
|
|
2494
|
+
configurable: !1,
|
|
2495
|
+
enumerable: !1,
|
|
2496
|
+
writable: !0,
|
|
2497
|
+
value: te
|
|
2498
|
+
}), Object.defineProperty(t, "_debugTask", {
|
|
2499
|
+
configurable: !1,
|
|
2500
|
+
enumerable: !1,
|
|
2501
|
+
writable: !0,
|
|
2502
|
+
value: se
|
|
2503
|
+
}), Object.freeze && (Object.freeze(t.props), Object.freeze(t)), t;
|
|
2504
|
+
}
|
|
2505
|
+
function p(t, d, x, E, te, se) {
|
|
2506
|
+
var _ = d.children;
|
|
2507
|
+
if (_ !== void 0)
|
|
2508
|
+
if (E)
|
|
2509
|
+
if (G(_)) {
|
|
2510
|
+
for (E = 0; E < _.length; E++)
|
|
2511
|
+
y(_[E]);
|
|
2512
|
+
Object.freeze && Object.freeze(_);
|
|
2513
|
+
} else
|
|
2514
|
+
console.error(
|
|
2515
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
2516
|
+
);
|
|
2517
|
+
else y(_);
|
|
2518
|
+
if (Y.call(d, "key")) {
|
|
2519
|
+
_ = e(t);
|
|
2520
|
+
var F = Object.keys(d).filter(function(Ce) {
|
|
2521
|
+
return Ce !== "key";
|
|
2522
|
+
});
|
|
2523
|
+
E = 0 < F.length ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}", B[_ + E] || (F = 0 < F.length ? "{" + F.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
2524
|
+
`A props object containing a "key" prop is being spread into JSX:
|
|
2525
|
+
let props = %s;
|
|
2526
|
+
<%s {...props} />
|
|
2527
|
+
React keys must be passed directly to JSX without using spread:
|
|
2528
|
+
let props = %s;
|
|
2529
|
+
<%s key={someKey} {...props} />`,
|
|
2530
|
+
E,
|
|
2531
|
+
_,
|
|
2532
|
+
F,
|
|
2533
|
+
_
|
|
2534
|
+
), B[_ + E] = !0);
|
|
2535
|
+
}
|
|
2536
|
+
if (_ = null, x !== void 0 && (r(x), _ = "" + x), l(d) && (r(d.key), _ = "" + d.key), "key" in d) {
|
|
2537
|
+
x = {};
|
|
2538
|
+
for (var ae in d)
|
|
2539
|
+
ae !== "key" && (x[ae] = d[ae]);
|
|
2540
|
+
} else x = d;
|
|
2541
|
+
return _ && a(
|
|
2542
|
+
x,
|
|
2543
|
+
typeof t == "function" ? t.displayName || t.name || "Unknown" : t
|
|
2544
|
+
), f(
|
|
2545
|
+
t,
|
|
2546
|
+
_,
|
|
2547
|
+
x,
|
|
2548
|
+
i(),
|
|
2549
|
+
te,
|
|
2550
|
+
se
|
|
2551
|
+
);
|
|
2552
|
+
}
|
|
2553
|
+
function y(t) {
|
|
2554
|
+
g(t) ? t._store && (t._store.validated = 1) : typeof t == "object" && t !== null && t.$$typeof === z && (t._payload.status === "fulfilled" ? g(t._payload.value) && t._payload.value._store && (t._payload.value._store.validated = 1) : t._store && (t._store.validated = 1));
|
|
2555
|
+
}
|
|
2556
|
+
function g(t) {
|
|
2557
|
+
return typeof t == "object" && t !== null && t.$$typeof === R;
|
|
2558
|
+
}
|
|
2559
|
+
var k = Se, R = Symbol.for("react.transitional.element"), h = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), C = Symbol.for("react.consumer"), S = Symbol.for("react.context"), M = Symbol.for("react.forward_ref"), K = Symbol.for("react.suspense"), ee = Symbol.for("react.suspense_list"), re = Symbol.for("react.memo"), z = Symbol.for("react.lazy"), q = Symbol.for("react.activity"), U = Symbol.for("react.client.reference"), m = k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Y = Object.prototype.hasOwnProperty, G = Array.isArray, L = console.createTask ? console.createTask : function() {
|
|
2560
|
+
return null;
|
|
2561
|
+
};
|
|
2562
|
+
k = {
|
|
2563
|
+
react_stack_bottom_frame: function(t) {
|
|
2564
|
+
return t();
|
|
2565
|
+
}
|
|
2566
|
+
};
|
|
2567
|
+
var P, J = {}, V = k.react_stack_bottom_frame.bind(
|
|
2568
|
+
k,
|
|
2569
|
+
s
|
|
2570
|
+
)(), N = L(n(s)), B = {};
|
|
2571
|
+
Z.Fragment = u, Z.jsx = function(t, d, x) {
|
|
2572
|
+
var E = 1e4 > m.recentlyCreatedOwnerStacks++;
|
|
2573
|
+
return p(
|
|
2574
|
+
t,
|
|
2575
|
+
d,
|
|
2576
|
+
x,
|
|
2577
|
+
!1,
|
|
2578
|
+
E ? Error("react-stack-top-frame") : V,
|
|
2579
|
+
E ? L(n(t)) : N
|
|
2580
|
+
);
|
|
2581
|
+
}, Z.jsxs = function(t, d, x) {
|
|
2582
|
+
var E = 1e4 > m.recentlyCreatedOwnerStacks++;
|
|
2583
|
+
return p(
|
|
2584
|
+
t,
|
|
2585
|
+
d,
|
|
2586
|
+
x,
|
|
2587
|
+
!0,
|
|
2588
|
+
E ? Error("react-stack-top-frame") : V,
|
|
2589
|
+
E ? L(n(t)) : N
|
|
2590
|
+
);
|
|
2591
|
+
};
|
|
2592
|
+
})()), Z;
|
|
2593
|
+
}
|
|
2594
|
+
var ve;
|
|
2595
|
+
function pr() {
|
|
2596
|
+
return ve || (ve = 1, process.env.NODE_ENV === "production" ? oe.exports = ur() : oe.exports = fr()), oe.exports;
|
|
2597
|
+
}
|
|
2598
|
+
var I = pr();
|
|
2599
|
+
const br = "https://forms.gle/6semmo55DSLtcbnw7";
|
|
2600
|
+
function Er({ className: e } = {}) {
|
|
2601
|
+
return /* @__PURE__ */ I.jsx(
|
|
2602
|
+
"a",
|
|
2603
|
+
{
|
|
2604
|
+
className: ue("svp-contact-fab js-contact-us", e),
|
|
2605
|
+
href: br,
|
|
2606
|
+
target: "_blank",
|
|
2607
|
+
rel: "noopener noreferrer",
|
|
2608
|
+
"aria-label": "Feedback",
|
|
2609
|
+
title: "Feedback",
|
|
2610
|
+
children: /* @__PURE__ */ I.jsx(
|
|
2611
|
+
"svg",
|
|
2612
|
+
{
|
|
2613
|
+
className: "svp-contact-fab-icon",
|
|
2614
|
+
viewBox: "0 0 24 24",
|
|
2615
|
+
"aria-hidden": "true",
|
|
2616
|
+
children: /* @__PURE__ */ I.jsx("path", { d: "M4 20q-.825 0-1.412-.587T2 18V6q0-.825.588-1.412T4 4h16q.825 0 1.413.588T22 6v9q0 .825-.587 1.413T20 17H7l-3 3Zm2.15-5H20V6H4v9.125L6.15 15Z" })
|
|
2617
|
+
}
|
|
2618
|
+
)
|
|
2619
|
+
}
|
|
2620
|
+
);
|
|
2621
|
+
}
|
|
2622
|
+
const mr = "https://moccasin-glad-tyrannosaurus-244.mypinata.cloud/ipfs/bafkreiavwd7xwacprggfzpdcicluvv4tzdxdfzj6brlzayxsk64upezdwa", gr = "@svp-chain-sdk/ui:notice-marquee", hr = 300 * 1e3, ye = /* @__PURE__ */ new Map();
|
|
2623
|
+
function ne(e) {
|
|
2624
|
+
return typeof e == "string" && e.trim() ? e.trim() : null;
|
|
2625
|
+
}
|
|
2626
|
+
function vr(e, o) {
|
|
2627
|
+
const r = o.toLowerCase(), n = r.startsWith("zh") ? "zh" : r.startsWith("fr") ? "fr" : "en";
|
|
2628
|
+
return ne(e[n]) ?? ne(e.en) ?? Object.values(e).map(ne).find(Boolean) ?? null;
|
|
2629
|
+
}
|
|
2630
|
+
function ce(e) {
|
|
2631
|
+
return Array.isArray(e) ? `[${e.map(ce).join(",")}]` : e && typeof e == "object" ? `{${Object.entries(e).filter(([, r]) => r !== void 0).sort(([r], [n]) => r < n ? -1 : r > n ? 1 : 0).map(([r, n]) => `${JSON.stringify(r)}:${ce(n)}`).join(",")}}` : JSON.stringify(e) ?? "null";
|
|
2632
|
+
}
|
|
2633
|
+
function yr(e) {
|
|
2634
|
+
try {
|
|
2635
|
+
const o = window.localStorage.getItem(e);
|
|
2636
|
+
if (!o) return null;
|
|
2637
|
+
const r = JSON.parse(o);
|
|
2638
|
+
return !Number.isFinite(r.seenAt) || !ne(r.content) ? null : { seenAt: r.seenAt, content: r.content };
|
|
2639
|
+
} catch {
|
|
2640
|
+
return null;
|
|
2641
|
+
}
|
|
2642
|
+
}
|
|
2643
|
+
function xr(e, o) {
|
|
2644
|
+
try {
|
|
2645
|
+
const r = { seenAt: Date.now(), content: o };
|
|
2646
|
+
window.localStorage.setItem(e, JSON.stringify(r));
|
|
2647
|
+
} catch {
|
|
2648
|
+
}
|
|
2649
|
+
}
|
|
2650
|
+
function _r({
|
|
2651
|
+
url: e = mr,
|
|
2652
|
+
storageKey: o = gr,
|
|
2653
|
+
refreshIntervalMs: r = hr,
|
|
2654
|
+
className: n
|
|
2655
|
+
} = {}) {
|
|
2656
|
+
const [i, s] = Q.useState(null), l = Q.useRef(null);
|
|
2657
|
+
return Q.useEffect(() => {
|
|
2658
|
+
const a = new AbortController(), b = {};
|
|
2659
|
+
l.current = b;
|
|
2660
|
+
let f = !1, p, y = null, g = !1;
|
|
2661
|
+
const k = () => !f && !a.signal.aborted && l.current === b;
|
|
2662
|
+
async function R() {
|
|
2663
|
+
if (!g) {
|
|
2664
|
+
g = !0;
|
|
2665
|
+
try {
|
|
2666
|
+
const h = await fetch(e, { signal: a.signal, cache: "no-cache" });
|
|
2667
|
+
if (!k() || !h.ok) return;
|
|
2668
|
+
const u = await h.json();
|
|
2669
|
+
if (!k() || !u || typeof u != "object" || Array.isArray(u)) return;
|
|
2670
|
+
const w = u, A = vr(w, navigator.language);
|
|
2671
|
+
if (!A) return;
|
|
2672
|
+
const C = ce(w);
|
|
2673
|
+
if (C === y) return;
|
|
2674
|
+
const S = yr(o);
|
|
2675
|
+
if ((S == null ? void 0 : S.content) === C || ye.get(o) === C) {
|
|
2676
|
+
y = null, s(null);
|
|
2677
|
+
return;
|
|
2678
|
+
}
|
|
2679
|
+
ye.set(o, C), xr(o, C), y = C, s({ content: A });
|
|
2680
|
+
} catch {
|
|
2681
|
+
} finally {
|
|
2682
|
+
g = !1;
|
|
2683
|
+
}
|
|
2684
|
+
}
|
|
2685
|
+
}
|
|
2686
|
+
return s(null), R(), Number.isFinite(r) && r > 0 && (p = setInterval(() => {
|
|
2687
|
+
R();
|
|
2688
|
+
}, r)), () => {
|
|
2689
|
+
f = !0, l.current === b && (l.current = null), a.abort(), p && clearInterval(p);
|
|
2690
|
+
};
|
|
2691
|
+
}, [e, o, r]), i ? /* @__PURE__ */ I.jsx("aside", { className: ue("ui-notice-marquee", n), "aria-label": "通知", children: /* @__PURE__ */ I.jsx("div", { className: "ui-notice-marquee__track", children: [0, 1].map((a) => /* @__PURE__ */ I.jsx(
|
|
2692
|
+
"div",
|
|
2693
|
+
{
|
|
2694
|
+
className: "ui-notice-marquee__group",
|
|
2695
|
+
"aria-hidden": a === 1,
|
|
2696
|
+
children: /* @__PURE__ */ I.jsx("span", { className: "ui-notice-marquee__item", children: i.content })
|
|
2697
|
+
},
|
|
2698
|
+
a
|
|
2699
|
+
)) }) }) : null;
|
|
2700
|
+
}
|
|
2320
2701
|
export {
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2702
|
+
dr as Button,
|
|
2703
|
+
hr as DEFAULT_NOTICE_REFRESH_INTERVAL_MS,
|
|
2704
|
+
gr as DEFAULT_NOTICE_STORAGE_KEY,
|
|
2705
|
+
mr as DEFAULT_NOTICE_URL,
|
|
2706
|
+
Er as FeedbackWidget,
|
|
2707
|
+
_r as NoticeMarquee,
|
|
2708
|
+
cr as buttonVariants,
|
|
2709
|
+
ue as cn
|
|
2324
2710
|
};
|