boottent-design 0.1.5 → 0.1.7
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/boottent-design.hooks.cjs.js +1 -0
- package/dist/boottent-design.hooks.es.js +17 -0
- package/dist/boottent-design.main.cjs.js +1 -1
- package/dist/boottent-design.main.es.js +27 -16
- package/dist/boottent-design.provider.cjs.js +1 -0
- package/dist/boottent-design.provider.es.js +106 -0
- package/dist/boottent-design.ui.cjs.js +1 -1
- package/dist/boottent-design.ui.es.js +17 -11
- package/dist/boottent-design.utils.cjs.js +1 -1
- package/dist/boottent-design.utils.es.js +285 -188
- package/dist/index-JOCM_DIz.cjs +1 -0
- package/dist/index-j8ablNp2.js +384 -0
- package/dist/portal-manager-6YGufJVr.cjs +1 -0
- package/dist/portal-manager-CttMAZAu.js +73 -0
- package/dist/tooltip-Dbl2Hiq4.cjs +51 -0
- package/dist/tooltip-x7XcU5XA.js +6638 -0
- package/dist/types/hooks.d.ts +543 -0
- package/dist/types/main.d.ts +172 -0
- package/dist/types/provider.d.ts +478 -0
- package/dist/types/ui.d.ts +59 -0
- package/dist/types/utils.d.ts +149 -0
- package/package.json +13 -1
- package/dist/index-B6iCl6qu.js +0 -5080
- package/dist/index-rBCrnu6e.cjs +0 -1
|
@@ -1,51 +1,53 @@
|
|
|
1
|
-
|
|
1
|
+
import { p as Ke } from "./portal-manager-CttMAZAu.js";
|
|
2
|
+
import * as re from "react";
|
|
3
|
+
function se(e) {
|
|
2
4
|
var r, t, o = "";
|
|
3
5
|
if (typeof e == "string" || typeof e == "number") o += e;
|
|
4
6
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
5
|
-
var
|
|
6
|
-
for (r = 0; r <
|
|
7
|
+
var i = e.length;
|
|
8
|
+
for (r = 0; r < i; r++) e[r] && (t = se(e[r])) && (o && (o += " "), o += t);
|
|
7
9
|
} else for (t in e) e[t] && (o && (o += " "), o += t);
|
|
8
10
|
return o;
|
|
9
11
|
}
|
|
10
|
-
function
|
|
11
|
-
for (var e, r, t = 0, o = "",
|
|
12
|
+
function pe() {
|
|
13
|
+
for (var e, r, t = 0, o = "", i = arguments.length; t < i; t++) (e = arguments[t]) && (r = se(e)) && (o && (o += " "), o += r);
|
|
12
14
|
return o;
|
|
13
15
|
}
|
|
14
|
-
const
|
|
15
|
-
const r =
|
|
16
|
+
const X = "-", ue = (e) => {
|
|
17
|
+
const r = ge(e), {
|
|
16
18
|
conflictingClassGroups: t,
|
|
17
19
|
conflictingClassGroupModifiers: o
|
|
18
20
|
} = e;
|
|
19
21
|
return {
|
|
20
22
|
getClassGroupId: (a) => {
|
|
21
|
-
const s = a.split(
|
|
22
|
-
return s[0] === "" && s.length !== 1 && s.shift(),
|
|
23
|
+
const s = a.split(X);
|
|
24
|
+
return s[0] === "" && s.length !== 1 && s.shift(), ie(s, r) || be(a);
|
|
23
25
|
},
|
|
24
26
|
getConflictingClassGroupIds: (a, s) => {
|
|
25
27
|
const u = t[a] || [];
|
|
26
28
|
return s && o[a] ? [...u, ...o[a]] : u;
|
|
27
29
|
}
|
|
28
30
|
};
|
|
29
|
-
},
|
|
31
|
+
}, ie = (e, r) => {
|
|
30
32
|
var a;
|
|
31
33
|
if (e.length === 0)
|
|
32
34
|
return r.classGroupId;
|
|
33
|
-
const t = e[0], o = r.nextPart.get(t),
|
|
34
|
-
if (
|
|
35
|
-
return
|
|
35
|
+
const t = e[0], o = r.nextPart.get(t), i = o ? ie(e.slice(1), o) : void 0;
|
|
36
|
+
if (i)
|
|
37
|
+
return i;
|
|
36
38
|
if (r.validators.length === 0)
|
|
37
39
|
return;
|
|
38
|
-
const n = e.join(
|
|
40
|
+
const n = e.join(X);
|
|
39
41
|
return (a = r.validators.find(({
|
|
40
42
|
validator: s
|
|
41
43
|
}) => s(n))) == null ? void 0 : a.classGroupId;
|
|
42
|
-
},
|
|
43
|
-
if (
|
|
44
|
-
const r =
|
|
44
|
+
}, te = /^\[(.+)\]$/, be = (e) => {
|
|
45
|
+
if (te.test(e)) {
|
|
46
|
+
const r = te.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
|
|
45
47
|
if (t)
|
|
46
48
|
return "arbitrary.." + t;
|
|
47
49
|
}
|
|
48
|
-
},
|
|
50
|
+
}, ge = (e) => {
|
|
49
51
|
const {
|
|
50
52
|
theme: r,
|
|
51
53
|
prefix: t
|
|
@@ -53,43 +55,43 @@ const B = "-", se = (e) => {
|
|
|
53
55
|
nextPart: /* @__PURE__ */ new Map(),
|
|
54
56
|
validators: []
|
|
55
57
|
};
|
|
56
|
-
return
|
|
57
|
-
|
|
58
|
+
return me(Object.entries(e.classGroups), t).forEach(([n, a]) => {
|
|
59
|
+
D(a, o, n, r);
|
|
58
60
|
}), o;
|
|
59
|
-
},
|
|
60
|
-
e.forEach((
|
|
61
|
-
if (typeof
|
|
62
|
-
const n =
|
|
61
|
+
}, D = (e, r, t, o) => {
|
|
62
|
+
e.forEach((i) => {
|
|
63
|
+
if (typeof i == "string") {
|
|
64
|
+
const n = i === "" ? r : oe(r, i);
|
|
63
65
|
n.classGroupId = t;
|
|
64
66
|
return;
|
|
65
67
|
}
|
|
66
|
-
if (typeof
|
|
67
|
-
if (
|
|
68
|
-
|
|
68
|
+
if (typeof i == "function") {
|
|
69
|
+
if (fe(i)) {
|
|
70
|
+
D(i(o), r, t, o);
|
|
69
71
|
return;
|
|
70
72
|
}
|
|
71
73
|
r.validators.push({
|
|
72
|
-
validator:
|
|
74
|
+
validator: i,
|
|
73
75
|
classGroupId: t
|
|
74
76
|
});
|
|
75
77
|
return;
|
|
76
78
|
}
|
|
77
|
-
Object.entries(
|
|
78
|
-
|
|
79
|
+
Object.entries(i).forEach(([n, a]) => {
|
|
80
|
+
D(a, oe(r, n), t, o);
|
|
79
81
|
});
|
|
80
82
|
});
|
|
81
|
-
},
|
|
83
|
+
}, oe = (e, r) => {
|
|
82
84
|
let t = e;
|
|
83
|
-
return r.split(
|
|
85
|
+
return r.split(X).forEach((o) => {
|
|
84
86
|
t.nextPart.has(o) || t.nextPart.set(o, {
|
|
85
87
|
nextPart: /* @__PURE__ */ new Map(),
|
|
86
88
|
validators: []
|
|
87
89
|
}), t = t.nextPart.get(o);
|
|
88
90
|
}), t;
|
|
89
|
-
},
|
|
90
|
-
const
|
|
91
|
-
return [t,
|
|
92
|
-
}) : e,
|
|
91
|
+
}, fe = (e) => e.isThemeGetter, me = (e, r) => r ? e.map(([t, o]) => {
|
|
92
|
+
const i = o.map((n) => typeof n == "string" ? r + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([a, s]) => [r + a, s])) : n);
|
|
93
|
+
return [t, i];
|
|
94
|
+
}) : e, he = (e) => {
|
|
93
95
|
if (e < 1)
|
|
94
96
|
return {
|
|
95
97
|
get: () => {
|
|
@@ -98,7 +100,7 @@ const B = "-", se = (e) => {
|
|
|
98
100
|
}
|
|
99
101
|
};
|
|
100
102
|
let r = 0, t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
|
|
101
|
-
const
|
|
103
|
+
const i = (n, a) => {
|
|
102
104
|
t.set(n, a), r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ new Map());
|
|
103
105
|
};
|
|
104
106
|
return {
|
|
@@ -107,23 +109,23 @@ const B = "-", se = (e) => {
|
|
|
107
109
|
if (a !== void 0)
|
|
108
110
|
return a;
|
|
109
111
|
if ((a = o.get(n)) !== void 0)
|
|
110
|
-
return
|
|
112
|
+
return i(n, a), a;
|
|
111
113
|
},
|
|
112
114
|
set(n, a) {
|
|
113
|
-
t.has(n) ? t.set(n, a) :
|
|
115
|
+
t.has(n) ? t.set(n, a) : i(n, a);
|
|
114
116
|
}
|
|
115
117
|
};
|
|
116
|
-
},
|
|
118
|
+
}, le = "!", ye = (e) => {
|
|
117
119
|
const {
|
|
118
120
|
separator: r,
|
|
119
121
|
experimentalParseClassName: t
|
|
120
|
-
} = e, o = r.length === 1,
|
|
122
|
+
} = e, o = r.length === 1, i = r[0], n = r.length, a = (s) => {
|
|
121
123
|
const u = [];
|
|
122
124
|
let g = 0, m = 0, y;
|
|
123
125
|
for (let p = 0; p < s.length; p++) {
|
|
124
126
|
let f = s[p];
|
|
125
127
|
if (g === 0) {
|
|
126
|
-
if (f ===
|
|
128
|
+
if (f === i && (o || s.slice(p, p + n) === r)) {
|
|
127
129
|
u.push(s.slice(m, p)), m = p + n;
|
|
128
130
|
continue;
|
|
129
131
|
}
|
|
@@ -134,7 +136,7 @@ const B = "-", se = (e) => {
|
|
|
134
136
|
}
|
|
135
137
|
f === "[" ? g++ : f === "]" && g--;
|
|
136
138
|
}
|
|
137
|
-
const x = u.length === 0 ? s : s.substring(m), v = x.startsWith(
|
|
139
|
+
const x = u.length === 0 ? s : s.substring(m), v = x.startsWith(le), w = v ? x.substring(1) : x, b = y && y > m ? y - m : void 0;
|
|
138
140
|
return {
|
|
139
141
|
modifiers: u,
|
|
140
142
|
hasImportantModifier: v,
|
|
@@ -146,7 +148,7 @@ const B = "-", se = (e) => {
|
|
|
146
148
|
className: s,
|
|
147
149
|
parseClassName: a
|
|
148
150
|
}) : a;
|
|
149
|
-
},
|
|
151
|
+
}, xe = (e) => {
|
|
150
152
|
if (e.length <= 1)
|
|
151
153
|
return e;
|
|
152
154
|
const r = [];
|
|
@@ -154,16 +156,16 @@ const B = "-", se = (e) => {
|
|
|
154
156
|
return e.forEach((o) => {
|
|
155
157
|
o[0] === "[" ? (r.push(...t.sort(), o), t = []) : t.push(o);
|
|
156
158
|
}), r.push(...t.sort()), r;
|
|
157
|
-
},
|
|
158
|
-
cache:
|
|
159
|
-
parseClassName:
|
|
160
|
-
...
|
|
161
|
-
}),
|
|
159
|
+
}, we = (e) => ({
|
|
160
|
+
cache: he(e.cacheSize),
|
|
161
|
+
parseClassName: ye(e),
|
|
162
|
+
...ue(e)
|
|
163
|
+
}), ve = /\s+/, Se = (e, r) => {
|
|
162
164
|
const {
|
|
163
165
|
parseClassName: t,
|
|
164
166
|
getClassGroupId: o,
|
|
165
|
-
getConflictingClassGroupIds:
|
|
166
|
-
} = r, n = [], a = e.trim().split(
|
|
167
|
+
getConflictingClassGroupIds: i
|
|
168
|
+
} = r, n = [], a = e.trim().split(ve);
|
|
167
169
|
let s = "";
|
|
168
170
|
for (let u = a.length - 1; u >= 0; u -= 1) {
|
|
169
171
|
const g = a[u], {
|
|
@@ -184,90 +186,90 @@ const B = "-", se = (e) => {
|
|
|
184
186
|
}
|
|
185
187
|
w = !1;
|
|
186
188
|
}
|
|
187
|
-
const p =
|
|
189
|
+
const p = xe(m).join(":"), f = y ? p + le : p, h = f + b;
|
|
188
190
|
if (n.includes(h))
|
|
189
191
|
continue;
|
|
190
192
|
n.push(h);
|
|
191
|
-
const
|
|
192
|
-
for (let
|
|
193
|
-
const
|
|
194
|
-
n.push(f +
|
|
193
|
+
const I = i(b, w);
|
|
194
|
+
for (let z = 0; z < I.length; ++z) {
|
|
195
|
+
const P = I[z];
|
|
196
|
+
n.push(f + P);
|
|
195
197
|
}
|
|
196
198
|
s = g + (s.length > 0 ? " " + s : s);
|
|
197
199
|
}
|
|
198
200
|
return s;
|
|
199
201
|
};
|
|
200
|
-
function
|
|
202
|
+
function Ce() {
|
|
201
203
|
let e = 0, r, t, o = "";
|
|
202
204
|
for (; e < arguments.length; )
|
|
203
|
-
(r = arguments[e++]) && (t =
|
|
205
|
+
(r = arguments[e++]) && (t = ae(r)) && (o && (o += " "), o += t);
|
|
204
206
|
return o;
|
|
205
207
|
}
|
|
206
|
-
const
|
|
208
|
+
const ae = (e) => {
|
|
207
209
|
if (typeof e == "string")
|
|
208
210
|
return e;
|
|
209
211
|
let r, t = "";
|
|
210
212
|
for (let o = 0; o < e.length; o++)
|
|
211
|
-
e[o] && (r =
|
|
213
|
+
e[o] && (r = ae(e[o])) && (t && (t += " "), t += r);
|
|
212
214
|
return t;
|
|
213
215
|
};
|
|
214
|
-
function
|
|
215
|
-
let t, o,
|
|
216
|
+
function ke(e, ...r) {
|
|
217
|
+
let t, o, i, n = a;
|
|
216
218
|
function a(u) {
|
|
217
219
|
const g = r.reduce((m, y) => y(m), e());
|
|
218
|
-
return t =
|
|
220
|
+
return t = we(g), o = t.cache.get, i = t.cache.set, n = s, s(u);
|
|
219
221
|
}
|
|
220
222
|
function s(u) {
|
|
221
223
|
const g = o(u);
|
|
222
224
|
if (g)
|
|
223
225
|
return g;
|
|
224
|
-
const m =
|
|
225
|
-
return
|
|
226
|
+
const m = Se(u, t);
|
|
227
|
+
return i(u, m), m;
|
|
226
228
|
}
|
|
227
229
|
return function() {
|
|
228
|
-
return n(
|
|
230
|
+
return n(Ce.apply(null, arguments));
|
|
229
231
|
};
|
|
230
232
|
}
|
|
231
233
|
const c = (e) => {
|
|
232
234
|
const r = (t) => t[e] || [];
|
|
233
235
|
return r.isThemeGetter = !0, r;
|
|
234
|
-
},
|
|
235
|
-
const o =
|
|
236
|
+
}, ce = /^\[(?:([a-z-]+):)?(.+)\]$/i, Ae = /^\d+\/\d+$/, ze = /* @__PURE__ */ new Set(["px", "full", "screen"]), Te = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Me = /\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$/, Ie = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Ee = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Re = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, C = (e) => T(e) || ze.has(e) || Ae.test(e), k = (e) => M(e, "length", Ve), T = (e) => !!e && !Number.isNaN(Number(e)), B = (e) => M(e, "number", T), R = (e) => !!e && Number.isInteger(Number(e)), Ge = (e) => e.endsWith("%") && T(e.slice(0, -1)), l = (e) => ce.test(e), A = (e) => Te.test(e), Oe = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Pe = (e) => M(e, Oe, de), _e = (e) => M(e, "position", de), je = /* @__PURE__ */ new Set(["image", "url"]), Ne = (e) => M(e, je, Ue), Le = (e) => M(e, "", We), G = () => !0, M = (e, r, t) => {
|
|
237
|
+
const o = ce.exec(e);
|
|
236
238
|
return o ? o[1] ? typeof r == "string" ? o[1] === r : r.has(o[1]) : t(o[2]) : !1;
|
|
237
|
-
},
|
|
239
|
+
}, Ve = (e) => (
|
|
238
240
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
239
241
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
240
242
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
241
|
-
|
|
242
|
-
),
|
|
243
|
-
const e = c("colors"), r = c("spacing"), t = c("blur"), o = c("brightness"),
|
|
243
|
+
Me.test(e) && !Ie.test(e)
|
|
244
|
+
), de = () => !1, We = (e) => Ee.test(e), Ue = (e) => Re.test(e), $e = () => {
|
|
245
|
+
const e = c("colors"), r = c("spacing"), t = c("blur"), o = c("brightness"), i = c("borderColor"), n = c("borderRadius"), a = c("borderSpacing"), s = c("borderWidth"), u = c("contrast"), g = c("grayscale"), m = c("hueRotate"), y = c("invert"), x = c("gap"), v = c("gradientColorStops"), w = c("gradientColorStopPositions"), b = c("inset"), p = c("margin"), f = c("opacity"), h = c("padding"), I = c("saturate"), z = c("scale"), P = c("sepia"), J = c("skew"), Q = c("space"), Y = c("translate"), V = () => ["auto", "contain", "none"], W = () => ["auto", "hidden", "clip", "visible", "scroll"], U = () => ["auto", l, r], d = () => [l, r], Z = () => ["", C, k], _ = () => ["auto", T, l], H = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], j = () => ["solid", "dashed", "dotted", "double", "none"], K = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], $ = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], E = () => ["", "0", l], ee = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], S = () => [T, l];
|
|
244
246
|
return {
|
|
245
247
|
cacheSize: 500,
|
|
246
248
|
separator: ":",
|
|
247
249
|
theme: {
|
|
248
|
-
colors: [
|
|
249
|
-
spacing: [C,
|
|
250
|
-
blur: ["none", "", A,
|
|
251
|
-
brightness:
|
|
250
|
+
colors: [G],
|
|
251
|
+
spacing: [C, k],
|
|
252
|
+
blur: ["none", "", A, l],
|
|
253
|
+
brightness: S(),
|
|
252
254
|
borderColor: [e],
|
|
253
|
-
borderRadius: ["none", "", "full", A,
|
|
255
|
+
borderRadius: ["none", "", "full", A, l],
|
|
254
256
|
borderSpacing: d(),
|
|
255
|
-
borderWidth:
|
|
256
|
-
contrast:
|
|
257
|
-
grayscale:
|
|
258
|
-
hueRotate:
|
|
259
|
-
invert:
|
|
257
|
+
borderWidth: Z(),
|
|
258
|
+
contrast: S(),
|
|
259
|
+
grayscale: E(),
|
|
260
|
+
hueRotate: S(),
|
|
261
|
+
invert: E(),
|
|
260
262
|
gap: d(),
|
|
261
263
|
gradientColorStops: [e],
|
|
262
|
-
gradientColorStopPositions: [
|
|
263
|
-
inset:
|
|
264
|
-
margin:
|
|
265
|
-
opacity:
|
|
264
|
+
gradientColorStopPositions: [Ge, k],
|
|
265
|
+
inset: U(),
|
|
266
|
+
margin: U(),
|
|
267
|
+
opacity: S(),
|
|
266
268
|
padding: d(),
|
|
267
|
-
saturate:
|
|
268
|
-
scale:
|
|
269
|
-
sepia:
|
|
270
|
-
skew:
|
|
269
|
+
saturate: S(),
|
|
270
|
+
scale: S(),
|
|
271
|
+
sepia: E(),
|
|
272
|
+
skew: S(),
|
|
271
273
|
space: d(),
|
|
272
274
|
translate: d()
|
|
273
275
|
},
|
|
@@ -278,7 +280,7 @@ const c = (e) => {
|
|
|
278
280
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
279
281
|
*/
|
|
280
282
|
aspect: [{
|
|
281
|
-
aspect: ["auto", "square", "video",
|
|
283
|
+
aspect: ["auto", "square", "video", l]
|
|
282
284
|
}],
|
|
283
285
|
/**
|
|
284
286
|
* Container
|
|
@@ -297,14 +299,14 @@ const c = (e) => {
|
|
|
297
299
|
* @see https://tailwindcss.com/docs/break-after
|
|
298
300
|
*/
|
|
299
301
|
"break-after": [{
|
|
300
|
-
"break-after":
|
|
302
|
+
"break-after": ee()
|
|
301
303
|
}],
|
|
302
304
|
/**
|
|
303
305
|
* Break Before
|
|
304
306
|
* @see https://tailwindcss.com/docs/break-before
|
|
305
307
|
*/
|
|
306
308
|
"break-before": [{
|
|
307
|
-
"break-before":
|
|
309
|
+
"break-before": ee()
|
|
308
310
|
}],
|
|
309
311
|
/**
|
|
310
312
|
* Break Inside
|
|
@@ -363,7 +365,7 @@ const c = (e) => {
|
|
|
363
365
|
* @see https://tailwindcss.com/docs/object-position
|
|
364
366
|
*/
|
|
365
367
|
"object-position": [{
|
|
366
|
-
object: [...
|
|
368
|
+
object: [...H(), l]
|
|
367
369
|
}],
|
|
368
370
|
/**
|
|
369
371
|
* Overflow
|
|
@@ -391,21 +393,21 @@ const c = (e) => {
|
|
|
391
393
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
392
394
|
*/
|
|
393
395
|
overscroll: [{
|
|
394
|
-
overscroll:
|
|
396
|
+
overscroll: V()
|
|
395
397
|
}],
|
|
396
398
|
/**
|
|
397
399
|
* Overscroll Behavior X
|
|
398
400
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
399
401
|
*/
|
|
400
402
|
"overscroll-x": [{
|
|
401
|
-
"overscroll-x":
|
|
403
|
+
"overscroll-x": V()
|
|
402
404
|
}],
|
|
403
405
|
/**
|
|
404
406
|
* Overscroll Behavior Y
|
|
405
407
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
406
408
|
*/
|
|
407
409
|
"overscroll-y": [{
|
|
408
|
-
"overscroll-y":
|
|
410
|
+
"overscroll-y": V()
|
|
409
411
|
}],
|
|
410
412
|
/**
|
|
411
413
|
* Position
|
|
@@ -485,7 +487,7 @@ const c = (e) => {
|
|
|
485
487
|
* @see https://tailwindcss.com/docs/z-index
|
|
486
488
|
*/
|
|
487
489
|
z: [{
|
|
488
|
-
z: ["auto",
|
|
490
|
+
z: ["auto", R, l]
|
|
489
491
|
}],
|
|
490
492
|
// Flexbox and Grid
|
|
491
493
|
/**
|
|
@@ -493,7 +495,7 @@ const c = (e) => {
|
|
|
493
495
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
494
496
|
*/
|
|
495
497
|
basis: [{
|
|
496
|
-
basis:
|
|
498
|
+
basis: U()
|
|
497
499
|
}],
|
|
498
500
|
/**
|
|
499
501
|
* Flex Direction
|
|
@@ -514,35 +516,35 @@ const c = (e) => {
|
|
|
514
516
|
* @see https://tailwindcss.com/docs/flex
|
|
515
517
|
*/
|
|
516
518
|
flex: [{
|
|
517
|
-
flex: ["1", "auto", "initial", "none",
|
|
519
|
+
flex: ["1", "auto", "initial", "none", l]
|
|
518
520
|
}],
|
|
519
521
|
/**
|
|
520
522
|
* Flex Grow
|
|
521
523
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
522
524
|
*/
|
|
523
525
|
grow: [{
|
|
524
|
-
grow:
|
|
526
|
+
grow: E()
|
|
525
527
|
}],
|
|
526
528
|
/**
|
|
527
529
|
* Flex Shrink
|
|
528
530
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
529
531
|
*/
|
|
530
532
|
shrink: [{
|
|
531
|
-
shrink:
|
|
533
|
+
shrink: E()
|
|
532
534
|
}],
|
|
533
535
|
/**
|
|
534
536
|
* Order
|
|
535
537
|
* @see https://tailwindcss.com/docs/order
|
|
536
538
|
*/
|
|
537
539
|
order: [{
|
|
538
|
-
order: ["first", "last", "none",
|
|
540
|
+
order: ["first", "last", "none", R, l]
|
|
539
541
|
}],
|
|
540
542
|
/**
|
|
541
543
|
* Grid Template Columns
|
|
542
544
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
543
545
|
*/
|
|
544
546
|
"grid-cols": [{
|
|
545
|
-
"grid-cols": [
|
|
547
|
+
"grid-cols": [G]
|
|
546
548
|
}],
|
|
547
549
|
/**
|
|
548
550
|
* Grid Column Start / End
|
|
@@ -550,29 +552,29 @@ const c = (e) => {
|
|
|
550
552
|
*/
|
|
551
553
|
"col-start-end": [{
|
|
552
554
|
col: ["auto", {
|
|
553
|
-
span: ["full",
|
|
554
|
-
},
|
|
555
|
+
span: ["full", R, l]
|
|
556
|
+
}, l]
|
|
555
557
|
}],
|
|
556
558
|
/**
|
|
557
559
|
* Grid Column Start
|
|
558
560
|
* @see https://tailwindcss.com/docs/grid-column
|
|
559
561
|
*/
|
|
560
562
|
"col-start": [{
|
|
561
|
-
"col-start":
|
|
563
|
+
"col-start": _()
|
|
562
564
|
}],
|
|
563
565
|
/**
|
|
564
566
|
* Grid Column End
|
|
565
567
|
* @see https://tailwindcss.com/docs/grid-column
|
|
566
568
|
*/
|
|
567
569
|
"col-end": [{
|
|
568
|
-
"col-end":
|
|
570
|
+
"col-end": _()
|
|
569
571
|
}],
|
|
570
572
|
/**
|
|
571
573
|
* Grid Template Rows
|
|
572
574
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
573
575
|
*/
|
|
574
576
|
"grid-rows": [{
|
|
575
|
-
"grid-rows": [
|
|
577
|
+
"grid-rows": [G]
|
|
576
578
|
}],
|
|
577
579
|
/**
|
|
578
580
|
* Grid Row Start / End
|
|
@@ -580,22 +582,22 @@ const c = (e) => {
|
|
|
580
582
|
*/
|
|
581
583
|
"row-start-end": [{
|
|
582
584
|
row: ["auto", {
|
|
583
|
-
span: [
|
|
584
|
-
},
|
|
585
|
+
span: [R, l]
|
|
586
|
+
}, l]
|
|
585
587
|
}],
|
|
586
588
|
/**
|
|
587
589
|
* Grid Row Start
|
|
588
590
|
* @see https://tailwindcss.com/docs/grid-row
|
|
589
591
|
*/
|
|
590
592
|
"row-start": [{
|
|
591
|
-
"row-start":
|
|
593
|
+
"row-start": _()
|
|
592
594
|
}],
|
|
593
595
|
/**
|
|
594
596
|
* Grid Row End
|
|
595
597
|
* @see https://tailwindcss.com/docs/grid-row
|
|
596
598
|
*/
|
|
597
599
|
"row-end": [{
|
|
598
|
-
"row-end":
|
|
600
|
+
"row-end": _()
|
|
599
601
|
}],
|
|
600
602
|
/**
|
|
601
603
|
* Grid Auto Flow
|
|
@@ -609,14 +611,14 @@ const c = (e) => {
|
|
|
609
611
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
610
612
|
*/
|
|
611
613
|
"auto-cols": [{
|
|
612
|
-
"auto-cols": ["auto", "min", "max", "fr",
|
|
614
|
+
"auto-cols": ["auto", "min", "max", "fr", l]
|
|
613
615
|
}],
|
|
614
616
|
/**
|
|
615
617
|
* Grid Auto Rows
|
|
616
618
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
617
619
|
*/
|
|
618
620
|
"auto-rows": [{
|
|
619
|
-
"auto-rows": ["auto", "min", "max", "fr",
|
|
621
|
+
"auto-rows": ["auto", "min", "max", "fr", l]
|
|
620
622
|
}],
|
|
621
623
|
/**
|
|
622
624
|
* Gap
|
|
@@ -644,7 +646,7 @@ const c = (e) => {
|
|
|
644
646
|
* @see https://tailwindcss.com/docs/justify-content
|
|
645
647
|
*/
|
|
646
648
|
"justify-content": [{
|
|
647
|
-
justify: ["normal",
|
|
649
|
+
justify: ["normal", ...$()]
|
|
648
650
|
}],
|
|
649
651
|
/**
|
|
650
652
|
* Justify Items
|
|
@@ -665,7 +667,7 @@ const c = (e) => {
|
|
|
665
667
|
* @see https://tailwindcss.com/docs/align-content
|
|
666
668
|
*/
|
|
667
669
|
"align-content": [{
|
|
668
|
-
content: ["normal",
|
|
670
|
+
content: ["normal", ...$(), "baseline"]
|
|
669
671
|
}],
|
|
670
672
|
/**
|
|
671
673
|
* Align Items
|
|
@@ -686,7 +688,7 @@ const c = (e) => {
|
|
|
686
688
|
* @see https://tailwindcss.com/docs/place-content
|
|
687
689
|
*/
|
|
688
690
|
"place-content": [{
|
|
689
|
-
"place-content": [
|
|
691
|
+
"place-content": [...$(), "baseline"]
|
|
690
692
|
}],
|
|
691
693
|
/**
|
|
692
694
|
* Place Items
|
|
@@ -834,7 +836,7 @@ const c = (e) => {
|
|
|
834
836
|
* @see https://tailwindcss.com/docs/space
|
|
835
837
|
*/
|
|
836
838
|
"space-x": [{
|
|
837
|
-
"space-x": [
|
|
839
|
+
"space-x": [Q]
|
|
838
840
|
}],
|
|
839
841
|
/**
|
|
840
842
|
* Space Between X Reverse
|
|
@@ -846,7 +848,7 @@ const c = (e) => {
|
|
|
846
848
|
* @see https://tailwindcss.com/docs/space
|
|
847
849
|
*/
|
|
848
850
|
"space-y": [{
|
|
849
|
-
"space-y": [
|
|
851
|
+
"space-y": [Q]
|
|
850
852
|
}],
|
|
851
853
|
/**
|
|
852
854
|
* Space Between Y Reverse
|
|
@@ -859,21 +861,21 @@ const c = (e) => {
|
|
|
859
861
|
* @see https://tailwindcss.com/docs/width
|
|
860
862
|
*/
|
|
861
863
|
w: [{
|
|
862
|
-
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw",
|
|
864
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", l, r]
|
|
863
865
|
}],
|
|
864
866
|
/**
|
|
865
867
|
* Min-Width
|
|
866
868
|
* @see https://tailwindcss.com/docs/min-width
|
|
867
869
|
*/
|
|
868
870
|
"min-w": [{
|
|
869
|
-
"min-w": [
|
|
871
|
+
"min-w": [l, r, "min", "max", "fit"]
|
|
870
872
|
}],
|
|
871
873
|
/**
|
|
872
874
|
* Max-Width
|
|
873
875
|
* @see https://tailwindcss.com/docs/max-width
|
|
874
876
|
*/
|
|
875
877
|
"max-w": [{
|
|
876
|
-
"max-w": [
|
|
878
|
+
"max-w": [l, r, "none", "full", "min", "max", "fit", "prose", {
|
|
877
879
|
screen: [A]
|
|
878
880
|
}, A]
|
|
879
881
|
}],
|
|
@@ -882,28 +884,28 @@ const c = (e) => {
|
|
|
882
884
|
* @see https://tailwindcss.com/docs/height
|
|
883
885
|
*/
|
|
884
886
|
h: [{
|
|
885
|
-
h: [
|
|
887
|
+
h: [l, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
886
888
|
}],
|
|
887
889
|
/**
|
|
888
890
|
* Min-Height
|
|
889
891
|
* @see https://tailwindcss.com/docs/min-height
|
|
890
892
|
*/
|
|
891
893
|
"min-h": [{
|
|
892
|
-
"min-h": [
|
|
894
|
+
"min-h": [l, r, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
893
895
|
}],
|
|
894
896
|
/**
|
|
895
897
|
* Max-Height
|
|
896
898
|
* @see https://tailwindcss.com/docs/max-height
|
|
897
899
|
*/
|
|
898
900
|
"max-h": [{
|
|
899
|
-
"max-h": [
|
|
901
|
+
"max-h": [l, r, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
900
902
|
}],
|
|
901
903
|
/**
|
|
902
904
|
* Size
|
|
903
905
|
* @see https://tailwindcss.com/docs/size
|
|
904
906
|
*/
|
|
905
907
|
size: [{
|
|
906
|
-
size: [
|
|
908
|
+
size: [l, r, "auto", "min", "max", "fit"]
|
|
907
909
|
}],
|
|
908
910
|
// Typography
|
|
909
911
|
/**
|
|
@@ -911,7 +913,7 @@ const c = (e) => {
|
|
|
911
913
|
* @see https://tailwindcss.com/docs/font-size
|
|
912
914
|
*/
|
|
913
915
|
"font-size": [{
|
|
914
|
-
text: ["base", A,
|
|
916
|
+
text: ["base", A, k]
|
|
915
917
|
}],
|
|
916
918
|
/**
|
|
917
919
|
* Font Smoothing
|
|
@@ -928,14 +930,14 @@ const c = (e) => {
|
|
|
928
930
|
* @see https://tailwindcss.com/docs/font-weight
|
|
929
931
|
*/
|
|
930
932
|
"font-weight": [{
|
|
931
|
-
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black",
|
|
933
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", B]
|
|
932
934
|
}],
|
|
933
935
|
/**
|
|
934
936
|
* Font Family
|
|
935
937
|
* @see https://tailwindcss.com/docs/font-family
|
|
936
938
|
*/
|
|
937
939
|
"font-family": [{
|
|
938
|
-
font: [
|
|
940
|
+
font: [G]
|
|
939
941
|
}],
|
|
940
942
|
/**
|
|
941
943
|
* Font Variant Numeric
|
|
@@ -972,35 +974,35 @@ const c = (e) => {
|
|
|
972
974
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
973
975
|
*/
|
|
974
976
|
tracking: [{
|
|
975
|
-
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest",
|
|
977
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", l]
|
|
976
978
|
}],
|
|
977
979
|
/**
|
|
978
980
|
* Line Clamp
|
|
979
981
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
980
982
|
*/
|
|
981
983
|
"line-clamp": [{
|
|
982
|
-
"line-clamp": ["none",
|
|
984
|
+
"line-clamp": ["none", T, B]
|
|
983
985
|
}],
|
|
984
986
|
/**
|
|
985
987
|
* Line Height
|
|
986
988
|
* @see https://tailwindcss.com/docs/line-height
|
|
987
989
|
*/
|
|
988
990
|
leading: [{
|
|
989
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", C,
|
|
991
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", C, l]
|
|
990
992
|
}],
|
|
991
993
|
/**
|
|
992
994
|
* List Style Image
|
|
993
995
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
994
996
|
*/
|
|
995
997
|
"list-image": [{
|
|
996
|
-
"list-image": ["none",
|
|
998
|
+
"list-image": ["none", l]
|
|
997
999
|
}],
|
|
998
1000
|
/**
|
|
999
1001
|
* List Style Type
|
|
1000
1002
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1001
1003
|
*/
|
|
1002
1004
|
"list-style-type": [{
|
|
1003
|
-
list: ["none", "disc", "decimal",
|
|
1005
|
+
list: ["none", "disc", "decimal", l]
|
|
1004
1006
|
}],
|
|
1005
1007
|
/**
|
|
1006
1008
|
* List Style Position
|
|
@@ -1055,21 +1057,21 @@ const c = (e) => {
|
|
|
1055
1057
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1056
1058
|
*/
|
|
1057
1059
|
"text-decoration-style": [{
|
|
1058
|
-
decoration: [...
|
|
1060
|
+
decoration: [...j(), "wavy"]
|
|
1059
1061
|
}],
|
|
1060
1062
|
/**
|
|
1061
1063
|
* Text Decoration Thickness
|
|
1062
1064
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1063
1065
|
*/
|
|
1064
1066
|
"text-decoration-thickness": [{
|
|
1065
|
-
decoration: ["auto", "from-font", C,
|
|
1067
|
+
decoration: ["auto", "from-font", C, k]
|
|
1066
1068
|
}],
|
|
1067
1069
|
/**
|
|
1068
1070
|
* Text Underline Offset
|
|
1069
1071
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1070
1072
|
*/
|
|
1071
1073
|
"underline-offset": [{
|
|
1072
|
-
"underline-offset": ["auto", C,
|
|
1074
|
+
"underline-offset": ["auto", C, l]
|
|
1073
1075
|
}],
|
|
1074
1076
|
/**
|
|
1075
1077
|
* Text Decoration Color
|
|
@@ -1107,7 +1109,7 @@ const c = (e) => {
|
|
|
1107
1109
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1108
1110
|
*/
|
|
1109
1111
|
"vertical-align": [{
|
|
1110
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1112
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", l]
|
|
1111
1113
|
}],
|
|
1112
1114
|
/**
|
|
1113
1115
|
* Whitespace
|
|
@@ -1135,7 +1137,7 @@ const c = (e) => {
|
|
|
1135
1137
|
* @see https://tailwindcss.com/docs/content
|
|
1136
1138
|
*/
|
|
1137
1139
|
content: [{
|
|
1138
|
-
content: ["none",
|
|
1140
|
+
content: ["none", l]
|
|
1139
1141
|
}],
|
|
1140
1142
|
// Backgrounds
|
|
1141
1143
|
/**
|
|
@@ -1172,7 +1174,7 @@ const c = (e) => {
|
|
|
1172
1174
|
* @see https://tailwindcss.com/docs/background-position
|
|
1173
1175
|
*/
|
|
1174
1176
|
"bg-position": [{
|
|
1175
|
-
bg: [...
|
|
1177
|
+
bg: [...H(), _e]
|
|
1176
1178
|
}],
|
|
1177
1179
|
/**
|
|
1178
1180
|
* Background Repeat
|
|
@@ -1188,7 +1190,7 @@ const c = (e) => {
|
|
|
1188
1190
|
* @see https://tailwindcss.com/docs/background-size
|
|
1189
1191
|
*/
|
|
1190
1192
|
"bg-size": [{
|
|
1191
|
-
bg: ["auto", "cover", "contain",
|
|
1193
|
+
bg: ["auto", "cover", "contain", Pe]
|
|
1192
1194
|
}],
|
|
1193
1195
|
/**
|
|
1194
1196
|
* Background Image
|
|
@@ -1197,7 +1199,7 @@ const c = (e) => {
|
|
|
1197
1199
|
"bg-image": [{
|
|
1198
1200
|
bg: ["none", {
|
|
1199
1201
|
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1200
|
-
},
|
|
1202
|
+
}, Ne]
|
|
1201
1203
|
}],
|
|
1202
1204
|
/**
|
|
1203
1205
|
* Background Color
|
|
@@ -1429,7 +1431,7 @@ const c = (e) => {
|
|
|
1429
1431
|
* @see https://tailwindcss.com/docs/border-style
|
|
1430
1432
|
*/
|
|
1431
1433
|
"border-style": [{
|
|
1432
|
-
border: [...
|
|
1434
|
+
border: [...j(), "hidden"]
|
|
1433
1435
|
}],
|
|
1434
1436
|
/**
|
|
1435
1437
|
* Divide Width X
|
|
@@ -1467,98 +1469,98 @@ const c = (e) => {
|
|
|
1467
1469
|
* @see https://tailwindcss.com/docs/divide-style
|
|
1468
1470
|
*/
|
|
1469
1471
|
"divide-style": [{
|
|
1470
|
-
divide:
|
|
1472
|
+
divide: j()
|
|
1471
1473
|
}],
|
|
1472
1474
|
/**
|
|
1473
1475
|
* Border Color
|
|
1474
1476
|
* @see https://tailwindcss.com/docs/border-color
|
|
1475
1477
|
*/
|
|
1476
1478
|
"border-color": [{
|
|
1477
|
-
border: [
|
|
1479
|
+
border: [i]
|
|
1478
1480
|
}],
|
|
1479
1481
|
/**
|
|
1480
1482
|
* Border Color X
|
|
1481
1483
|
* @see https://tailwindcss.com/docs/border-color
|
|
1482
1484
|
*/
|
|
1483
1485
|
"border-color-x": [{
|
|
1484
|
-
"border-x": [
|
|
1486
|
+
"border-x": [i]
|
|
1485
1487
|
}],
|
|
1486
1488
|
/**
|
|
1487
1489
|
* Border Color Y
|
|
1488
1490
|
* @see https://tailwindcss.com/docs/border-color
|
|
1489
1491
|
*/
|
|
1490
1492
|
"border-color-y": [{
|
|
1491
|
-
"border-y": [
|
|
1493
|
+
"border-y": [i]
|
|
1492
1494
|
}],
|
|
1493
1495
|
/**
|
|
1494
1496
|
* Border Color S
|
|
1495
1497
|
* @see https://tailwindcss.com/docs/border-color
|
|
1496
1498
|
*/
|
|
1497
1499
|
"border-color-s": [{
|
|
1498
|
-
"border-s": [
|
|
1500
|
+
"border-s": [i]
|
|
1499
1501
|
}],
|
|
1500
1502
|
/**
|
|
1501
1503
|
* Border Color E
|
|
1502
1504
|
* @see https://tailwindcss.com/docs/border-color
|
|
1503
1505
|
*/
|
|
1504
1506
|
"border-color-e": [{
|
|
1505
|
-
"border-e": [
|
|
1507
|
+
"border-e": [i]
|
|
1506
1508
|
}],
|
|
1507
1509
|
/**
|
|
1508
1510
|
* Border Color Top
|
|
1509
1511
|
* @see https://tailwindcss.com/docs/border-color
|
|
1510
1512
|
*/
|
|
1511
1513
|
"border-color-t": [{
|
|
1512
|
-
"border-t": [
|
|
1514
|
+
"border-t": [i]
|
|
1513
1515
|
}],
|
|
1514
1516
|
/**
|
|
1515
1517
|
* Border Color Right
|
|
1516
1518
|
* @see https://tailwindcss.com/docs/border-color
|
|
1517
1519
|
*/
|
|
1518
1520
|
"border-color-r": [{
|
|
1519
|
-
"border-r": [
|
|
1521
|
+
"border-r": [i]
|
|
1520
1522
|
}],
|
|
1521
1523
|
/**
|
|
1522
1524
|
* Border Color Bottom
|
|
1523
1525
|
* @see https://tailwindcss.com/docs/border-color
|
|
1524
1526
|
*/
|
|
1525
1527
|
"border-color-b": [{
|
|
1526
|
-
"border-b": [
|
|
1528
|
+
"border-b": [i]
|
|
1527
1529
|
}],
|
|
1528
1530
|
/**
|
|
1529
1531
|
* Border Color Left
|
|
1530
1532
|
* @see https://tailwindcss.com/docs/border-color
|
|
1531
1533
|
*/
|
|
1532
1534
|
"border-color-l": [{
|
|
1533
|
-
"border-l": [
|
|
1535
|
+
"border-l": [i]
|
|
1534
1536
|
}],
|
|
1535
1537
|
/**
|
|
1536
1538
|
* Divide Color
|
|
1537
1539
|
* @see https://tailwindcss.com/docs/divide-color
|
|
1538
1540
|
*/
|
|
1539
1541
|
"divide-color": [{
|
|
1540
|
-
divide: [
|
|
1542
|
+
divide: [i]
|
|
1541
1543
|
}],
|
|
1542
1544
|
/**
|
|
1543
1545
|
* Outline Style
|
|
1544
1546
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1545
1547
|
*/
|
|
1546
1548
|
"outline-style": [{
|
|
1547
|
-
outline: ["", ...
|
|
1549
|
+
outline: ["", ...j()]
|
|
1548
1550
|
}],
|
|
1549
1551
|
/**
|
|
1550
1552
|
* Outline Offset
|
|
1551
1553
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1552
1554
|
*/
|
|
1553
1555
|
"outline-offset": [{
|
|
1554
|
-
"outline-offset": [C,
|
|
1556
|
+
"outline-offset": [C, l]
|
|
1555
1557
|
}],
|
|
1556
1558
|
/**
|
|
1557
1559
|
* Outline Width
|
|
1558
1560
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1559
1561
|
*/
|
|
1560
1562
|
"outline-w": [{
|
|
1561
|
-
outline: [C,
|
|
1563
|
+
outline: [C, k]
|
|
1562
1564
|
}],
|
|
1563
1565
|
/**
|
|
1564
1566
|
* Outline Color
|
|
@@ -1572,7 +1574,7 @@ const c = (e) => {
|
|
|
1572
1574
|
* @see https://tailwindcss.com/docs/ring-width
|
|
1573
1575
|
*/
|
|
1574
1576
|
"ring-w": [{
|
|
1575
|
-
ring:
|
|
1577
|
+
ring: Z()
|
|
1576
1578
|
}],
|
|
1577
1579
|
/**
|
|
1578
1580
|
* Ring Width Inset
|
|
@@ -1598,7 +1600,7 @@ const c = (e) => {
|
|
|
1598
1600
|
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
1599
1601
|
*/
|
|
1600
1602
|
"ring-offset-w": [{
|
|
1601
|
-
"ring-offset": [C,
|
|
1603
|
+
"ring-offset": [C, k]
|
|
1602
1604
|
}],
|
|
1603
1605
|
/**
|
|
1604
1606
|
* Ring Offset Color
|
|
@@ -1613,14 +1615,14 @@ const c = (e) => {
|
|
|
1613
1615
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
1614
1616
|
*/
|
|
1615
1617
|
shadow: [{
|
|
1616
|
-
shadow: ["", "inner", "none", A,
|
|
1618
|
+
shadow: ["", "inner", "none", A, Le]
|
|
1617
1619
|
}],
|
|
1618
1620
|
/**
|
|
1619
1621
|
* Box Shadow Color
|
|
1620
1622
|
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
1621
1623
|
*/
|
|
1622
1624
|
"shadow-color": [{
|
|
1623
|
-
shadow: [
|
|
1625
|
+
shadow: [G]
|
|
1624
1626
|
}],
|
|
1625
1627
|
/**
|
|
1626
1628
|
* Opacity
|
|
@@ -1634,14 +1636,14 @@ const c = (e) => {
|
|
|
1634
1636
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1635
1637
|
*/
|
|
1636
1638
|
"mix-blend": [{
|
|
1637
|
-
"mix-blend": [...
|
|
1639
|
+
"mix-blend": [...K(), "plus-lighter", "plus-darker"]
|
|
1638
1640
|
}],
|
|
1639
1641
|
/**
|
|
1640
1642
|
* Background Blend Mode
|
|
1641
1643
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1642
1644
|
*/
|
|
1643
1645
|
"bg-blend": [{
|
|
1644
|
-
"bg-blend":
|
|
1646
|
+
"bg-blend": K()
|
|
1645
1647
|
}],
|
|
1646
1648
|
// Filters
|
|
1647
1649
|
/**
|
|
@@ -1678,7 +1680,7 @@ const c = (e) => {
|
|
|
1678
1680
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
1679
1681
|
*/
|
|
1680
1682
|
"drop-shadow": [{
|
|
1681
|
-
"drop-shadow": ["", "none", A,
|
|
1683
|
+
"drop-shadow": ["", "none", A, l]
|
|
1682
1684
|
}],
|
|
1683
1685
|
/**
|
|
1684
1686
|
* Grayscale
|
|
@@ -1706,14 +1708,14 @@ const c = (e) => {
|
|
|
1706
1708
|
* @see https://tailwindcss.com/docs/saturate
|
|
1707
1709
|
*/
|
|
1708
1710
|
saturate: [{
|
|
1709
|
-
saturate: [
|
|
1711
|
+
saturate: [I]
|
|
1710
1712
|
}],
|
|
1711
1713
|
/**
|
|
1712
1714
|
* Sepia
|
|
1713
1715
|
* @see https://tailwindcss.com/docs/sepia
|
|
1714
1716
|
*/
|
|
1715
1717
|
sepia: [{
|
|
1716
|
-
sepia: [
|
|
1718
|
+
sepia: [P]
|
|
1717
1719
|
}],
|
|
1718
1720
|
/**
|
|
1719
1721
|
* Backdrop Filter
|
|
@@ -1777,14 +1779,14 @@ const c = (e) => {
|
|
|
1777
1779
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
1778
1780
|
*/
|
|
1779
1781
|
"backdrop-saturate": [{
|
|
1780
|
-
"backdrop-saturate": [
|
|
1782
|
+
"backdrop-saturate": [I]
|
|
1781
1783
|
}],
|
|
1782
1784
|
/**
|
|
1783
1785
|
* Backdrop Sepia
|
|
1784
1786
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
1785
1787
|
*/
|
|
1786
1788
|
"backdrop-sepia": [{
|
|
1787
|
-
"backdrop-sepia": [
|
|
1789
|
+
"backdrop-sepia": [P]
|
|
1788
1790
|
}],
|
|
1789
1791
|
// Tables
|
|
1790
1792
|
/**
|
|
@@ -1835,35 +1837,35 @@ const c = (e) => {
|
|
|
1835
1837
|
* @see https://tailwindcss.com/docs/transition-property
|
|
1836
1838
|
*/
|
|
1837
1839
|
transition: [{
|
|
1838
|
-
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform",
|
|
1840
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", l]
|
|
1839
1841
|
}],
|
|
1840
1842
|
/**
|
|
1841
1843
|
* Transition Duration
|
|
1842
1844
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
1843
1845
|
*/
|
|
1844
1846
|
duration: [{
|
|
1845
|
-
duration:
|
|
1847
|
+
duration: S()
|
|
1846
1848
|
}],
|
|
1847
1849
|
/**
|
|
1848
1850
|
* Transition Timing Function
|
|
1849
1851
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
1850
1852
|
*/
|
|
1851
1853
|
ease: [{
|
|
1852
|
-
ease: ["linear", "in", "out", "in-out",
|
|
1854
|
+
ease: ["linear", "in", "out", "in-out", l]
|
|
1853
1855
|
}],
|
|
1854
1856
|
/**
|
|
1855
1857
|
* Transition Delay
|
|
1856
1858
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
1857
1859
|
*/
|
|
1858
1860
|
delay: [{
|
|
1859
|
-
delay:
|
|
1861
|
+
delay: S()
|
|
1860
1862
|
}],
|
|
1861
1863
|
/**
|
|
1862
1864
|
* Animation
|
|
1863
1865
|
* @see https://tailwindcss.com/docs/animation
|
|
1864
1866
|
*/
|
|
1865
1867
|
animate: [{
|
|
1866
|
-
animate: ["none", "spin", "ping", "pulse", "bounce",
|
|
1868
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", l]
|
|
1867
1869
|
}],
|
|
1868
1870
|
// Transforms
|
|
1869
1871
|
/**
|
|
@@ -1878,63 +1880,63 @@ const c = (e) => {
|
|
|
1878
1880
|
* @see https://tailwindcss.com/docs/scale
|
|
1879
1881
|
*/
|
|
1880
1882
|
scale: [{
|
|
1881
|
-
scale: [
|
|
1883
|
+
scale: [z]
|
|
1882
1884
|
}],
|
|
1883
1885
|
/**
|
|
1884
1886
|
* Scale X
|
|
1885
1887
|
* @see https://tailwindcss.com/docs/scale
|
|
1886
1888
|
*/
|
|
1887
1889
|
"scale-x": [{
|
|
1888
|
-
"scale-x": [
|
|
1890
|
+
"scale-x": [z]
|
|
1889
1891
|
}],
|
|
1890
1892
|
/**
|
|
1891
1893
|
* Scale Y
|
|
1892
1894
|
* @see https://tailwindcss.com/docs/scale
|
|
1893
1895
|
*/
|
|
1894
1896
|
"scale-y": [{
|
|
1895
|
-
"scale-y": [
|
|
1897
|
+
"scale-y": [z]
|
|
1896
1898
|
}],
|
|
1897
1899
|
/**
|
|
1898
1900
|
* Rotate
|
|
1899
1901
|
* @see https://tailwindcss.com/docs/rotate
|
|
1900
1902
|
*/
|
|
1901
1903
|
rotate: [{
|
|
1902
|
-
rotate: [
|
|
1904
|
+
rotate: [R, l]
|
|
1903
1905
|
}],
|
|
1904
1906
|
/**
|
|
1905
1907
|
* Translate X
|
|
1906
1908
|
* @see https://tailwindcss.com/docs/translate
|
|
1907
1909
|
*/
|
|
1908
1910
|
"translate-x": [{
|
|
1909
|
-
"translate-x": [
|
|
1911
|
+
"translate-x": [Y]
|
|
1910
1912
|
}],
|
|
1911
1913
|
/**
|
|
1912
1914
|
* Translate Y
|
|
1913
1915
|
* @see https://tailwindcss.com/docs/translate
|
|
1914
1916
|
*/
|
|
1915
1917
|
"translate-y": [{
|
|
1916
|
-
"translate-y": [
|
|
1918
|
+
"translate-y": [Y]
|
|
1917
1919
|
}],
|
|
1918
1920
|
/**
|
|
1919
1921
|
* Skew X
|
|
1920
1922
|
* @see https://tailwindcss.com/docs/skew
|
|
1921
1923
|
*/
|
|
1922
1924
|
"skew-x": [{
|
|
1923
|
-
"skew-x": [
|
|
1925
|
+
"skew-x": [J]
|
|
1924
1926
|
}],
|
|
1925
1927
|
/**
|
|
1926
1928
|
* Skew Y
|
|
1927
1929
|
* @see https://tailwindcss.com/docs/skew
|
|
1928
1930
|
*/
|
|
1929
1931
|
"skew-y": [{
|
|
1930
|
-
"skew-y": [
|
|
1932
|
+
"skew-y": [J]
|
|
1931
1933
|
}],
|
|
1932
1934
|
/**
|
|
1933
1935
|
* Transform Origin
|
|
1934
1936
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
1935
1937
|
*/
|
|
1936
1938
|
"transform-origin": [{
|
|
1937
|
-
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left",
|
|
1939
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", l]
|
|
1938
1940
|
}],
|
|
1939
1941
|
// Interactivity
|
|
1940
1942
|
/**
|
|
@@ -1956,7 +1958,7 @@ const c = (e) => {
|
|
|
1956
1958
|
* @see https://tailwindcss.com/docs/cursor
|
|
1957
1959
|
*/
|
|
1958
1960
|
cursor: [{
|
|
1959
|
-
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",
|
|
1961
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", l]
|
|
1960
1962
|
}],
|
|
1961
1963
|
/**
|
|
1962
1964
|
* Caret Color
|
|
@@ -2178,7 +2180,7 @@ const c = (e) => {
|
|
|
2178
2180
|
* @see https://tailwindcss.com/docs/will-change
|
|
2179
2181
|
*/
|
|
2180
2182
|
"will-change": [{
|
|
2181
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2183
|
+
"will-change": ["auto", "scroll", "contents", "transform", l]
|
|
2182
2184
|
}],
|
|
2183
2185
|
// SVG
|
|
2184
2186
|
/**
|
|
@@ -2193,7 +2195,7 @@ const c = (e) => {
|
|
|
2193
2195
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2194
2196
|
*/
|
|
2195
2197
|
"stroke-w": [{
|
|
2196
|
-
stroke: [C,
|
|
2198
|
+
stroke: [C, k, B]
|
|
2197
2199
|
}],
|
|
2198
2200
|
/**
|
|
2199
2201
|
* Stroke
|
|
@@ -2268,7 +2270,102 @@ const c = (e) => {
|
|
|
2268
2270
|
"font-size": ["leading"]
|
|
2269
2271
|
}
|
|
2270
2272
|
};
|
|
2271
|
-
},
|
|
2273
|
+
}, Be = /* @__PURE__ */ ke($e), Fe = 5, qe = 2e3;
|
|
2274
|
+
let F = 0;
|
|
2275
|
+
function De() {
|
|
2276
|
+
return F = (F + 1) % Number.MAX_SAFE_INTEGER, F.toString();
|
|
2277
|
+
}
|
|
2278
|
+
const q = /* @__PURE__ */ new Map(), ne = (e) => {
|
|
2279
|
+
if (q.has(e))
|
|
2280
|
+
return;
|
|
2281
|
+
const r = setTimeout(() => {
|
|
2282
|
+
q.delete(e), O({
|
|
2283
|
+
type: "REMOVE_TOAST",
|
|
2284
|
+
toastId: e
|
|
2285
|
+
});
|
|
2286
|
+
}, qe);
|
|
2287
|
+
q.set(e, r);
|
|
2288
|
+
}, Xe = (e, r) => {
|
|
2289
|
+
switch (r.type) {
|
|
2290
|
+
case "ADD_TOAST":
|
|
2291
|
+
return {
|
|
2292
|
+
...e,
|
|
2293
|
+
toasts: [r.toast, ...e.toasts].slice(0, Fe)
|
|
2294
|
+
};
|
|
2295
|
+
case "UPDATE_TOAST":
|
|
2296
|
+
return {
|
|
2297
|
+
...e,
|
|
2298
|
+
toasts: e.toasts.map(
|
|
2299
|
+
(t) => t.id === r.toast.id ? { ...t, ...r.toast } : t
|
|
2300
|
+
)
|
|
2301
|
+
};
|
|
2302
|
+
case "DISMISS_TOAST": {
|
|
2303
|
+
const { toastId: t } = r;
|
|
2304
|
+
return t ? ne(t) : e.toasts.forEach((o) => {
|
|
2305
|
+
ne(o.id);
|
|
2306
|
+
}), {
|
|
2307
|
+
...e,
|
|
2308
|
+
toasts: e.toasts.map(
|
|
2309
|
+
(o) => o.id === t || t === void 0 ? {
|
|
2310
|
+
...o,
|
|
2311
|
+
open: !1
|
|
2312
|
+
} : o
|
|
2313
|
+
)
|
|
2314
|
+
};
|
|
2315
|
+
}
|
|
2316
|
+
case "REMOVE_TOAST":
|
|
2317
|
+
return r.toastId === void 0 ? {
|
|
2318
|
+
...e,
|
|
2319
|
+
toasts: []
|
|
2320
|
+
} : {
|
|
2321
|
+
...e,
|
|
2322
|
+
toasts: e.toasts.filter((t) => t.id !== r.toastId)
|
|
2323
|
+
};
|
|
2324
|
+
}
|
|
2325
|
+
}, N = [];
|
|
2326
|
+
let L = { toasts: [] };
|
|
2327
|
+
function O(e) {
|
|
2328
|
+
L = Xe(L, e), N.forEach((r) => {
|
|
2329
|
+
r(L);
|
|
2330
|
+
});
|
|
2331
|
+
}
|
|
2332
|
+
function Je({ ...e }) {
|
|
2333
|
+
const r = De(), t = (i) => O({
|
|
2334
|
+
type: "UPDATE_TOAST",
|
|
2335
|
+
toast: { ...i, id: r }
|
|
2336
|
+
}), o = () => O({ type: "DISMISS_TOAST", toastId: r });
|
|
2337
|
+
return O({
|
|
2338
|
+
type: "ADD_TOAST",
|
|
2339
|
+
toast: {
|
|
2340
|
+
...e,
|
|
2341
|
+
id: r,
|
|
2342
|
+
open: !0,
|
|
2343
|
+
onOpenChange: (i) => {
|
|
2344
|
+
i || (o(), e.onClose && e.onClose());
|
|
2345
|
+
}
|
|
2346
|
+
}
|
|
2347
|
+
}), {
|
|
2348
|
+
id: r,
|
|
2349
|
+
dismiss: o,
|
|
2350
|
+
update: t
|
|
2351
|
+
};
|
|
2352
|
+
}
|
|
2353
|
+
function Qe() {
|
|
2354
|
+
const [e, r] = re.useState(L);
|
|
2355
|
+
return re.useEffect(() => (N.push(r), () => {
|
|
2356
|
+
const t = N.indexOf(r);
|
|
2357
|
+
t > -1 && N.splice(t, 1);
|
|
2358
|
+
}), [e]), {
|
|
2359
|
+
...e,
|
|
2360
|
+
toast: Je,
|
|
2361
|
+
dismiss: (t) => O({ type: "DISMISS_TOAST", toastId: t })
|
|
2362
|
+
};
|
|
2363
|
+
}
|
|
2364
|
+
const Ye = (...e) => Be(pe(e));
|
|
2272
2365
|
export {
|
|
2273
|
-
|
|
2366
|
+
Ye as cn,
|
|
2367
|
+
Ke as portalManager,
|
|
2368
|
+
Xe as reducer,
|
|
2369
|
+
Je as toast,
|
|
2370
|
+
Qe as toaster
|
|
2274
2371
|
};
|