@aminnausin/cedar-ui 0.0.9 → 0.0.11
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/cedar-ui.mjs +924 -873
- package/dist/cedar-ui.umd.js +1 -1
- package/dist/index.d.ts +260 -29
- package/package.json +1 -1
package/dist/cedar-ui.mjs
CHANGED
|
@@ -1,125 +1,71 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import {
|
|
5
|
-
function
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
return !1;
|
|
27
|
-
},
|
|
28
|
-
async selectScrollToActiveItem(n, a = !0) {
|
|
29
|
-
let i = document.getElementById(n + "-" + this.selectId);
|
|
30
|
-
i && (i.scrollIntoView({ behavior: "smooth", block: "center" }), a && i.focus({ preventScroll: !1 }));
|
|
31
|
-
},
|
|
32
|
-
selectKeydown(n) {
|
|
33
|
-
if (n.keyCode < 65 || n.keyCode > 90) return;
|
|
34
|
-
this.selectKeydownValue += n.key;
|
|
35
|
-
let a = this.selectItemsFindBestMatch();
|
|
36
|
-
a && this.selectOpen && (this.selectableItemActive = a), this.selectKeydownValue !== "" && (clearTimeout(this.selectKeydownClearTimeout), this.selectKeydownClearTimeout = window.setTimeout(() => {
|
|
37
|
-
this.selectKeydownValue = "";
|
|
38
|
-
}, this.selectKeydownTimeout));
|
|
39
|
-
},
|
|
40
|
-
selectItemsFindBestMatch() {
|
|
41
|
-
let n = this.selectKeydownValue.toLowerCase(), a = null, i = -1;
|
|
42
|
-
for (const d of this.selectableItems) {
|
|
43
|
-
let g = d.name.toLowerCase().indexOf(n);
|
|
44
|
-
g > -1 && (i == -1 || g < i) && !d.disabled && (a = d, i = g);
|
|
45
|
-
}
|
|
46
|
-
return a;
|
|
47
|
-
},
|
|
48
|
-
selectPositionUpdate() {
|
|
49
|
-
var a;
|
|
50
|
-
if (!this.selectButton || !this.selectableItemsList) return;
|
|
51
|
-
let n = ((a = this.selectButton) == null ? void 0 : a.getBoundingClientRect().top) + this.selectButton.offsetHeight + parseInt(window.getComputedStyle(this.selectableItemsList).maxHeight);
|
|
52
|
-
this.selectDropdownPosition = window.innerHeight < n ? "top" : "bottom";
|
|
53
|
-
},
|
|
54
|
-
setOptions(n) {
|
|
55
|
-
Array.isArray(n) && (this.selectableItems = n);
|
|
56
|
-
}
|
|
57
|
-
}), o = () => {
|
|
58
|
-
r.selectOpen && r.selectPositionUpdate();
|
|
59
|
-
};
|
|
60
|
-
return X(
|
|
61
|
-
() => r.selectOpen,
|
|
62
|
-
function(n) {
|
|
63
|
-
if (r.selectedItems ? r.selectableItemActive = r.selectedItem : r.selectableItemActive = r.selectableItems[0], !n) {
|
|
64
|
-
window.removeEventListener("resize", o);
|
|
65
|
-
return;
|
|
66
|
-
}
|
|
67
|
-
o(), window.addEventListener("resize", o);
|
|
68
|
-
},
|
|
69
|
-
{ immediate: !1 }
|
|
70
|
-
), r;
|
|
71
|
-
}
|
|
72
|
-
function Ut(e, t, s) {
|
|
73
|
-
var te;
|
|
74
|
-
const r = y(!1), o = y(((te = e.model) == null ? void 0 : te.value) ?? e.defaultDate ?? ""), n = y("F d, Y"), a = y(0), i = y(0), d = y(0), h = y([]), g = y([]), w = y("bottom"), x = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], S = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], b = y("D"), k = he(() => {
|
|
75
|
-
let f = Math.max(a.value, 0);
|
|
76
|
-
return f >= x.length && (f = 0), x[f];
|
|
77
|
-
}), F = he(() => {
|
|
78
|
-
const f = Math.floor(i.value / 10) * 10;
|
|
79
|
-
return Array.from({ length: 10 }, (I, v) => f + v);
|
|
1
|
+
var Xe = Object.defineProperty;
|
|
2
|
+
var Ze = (e, t, o) => t in e ? Xe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
3
|
+
var E = (e, t, o) => Ze(e, typeof t != "symbol" ? t + "" : t, o);
|
|
4
|
+
import { ref as y, computed as ue, onMounted as Qe, watch as J, nextTick as et, reactive as se, onBeforeUnmount as tt, shallowRef as ge, readonly as Pe } from "vue";
|
|
5
|
+
function Xt(e, t, o) {
|
|
6
|
+
var ee;
|
|
7
|
+
const r = y(!1), s = y(((ee = e.model) == null ? void 0 : ee.value) ?? e.defaultDate ?? ""), n = y("F d, Y"), a = y(0), i = y(0), l = y(0), f = y([]), p = y([]), g = y("bottom"), M = [
|
|
8
|
+
"January",
|
|
9
|
+
"February",
|
|
10
|
+
"March",
|
|
11
|
+
"April",
|
|
12
|
+
"May",
|
|
13
|
+
"June",
|
|
14
|
+
"July",
|
|
15
|
+
"August",
|
|
16
|
+
"September",
|
|
17
|
+
"October",
|
|
18
|
+
"November",
|
|
19
|
+
"December"
|
|
20
|
+
], R = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], k = y("D"), A = ue(() => {
|
|
21
|
+
let h = Math.max(a.value, 0);
|
|
22
|
+
return h >= M.length && (h = 0), M[h];
|
|
23
|
+
}), F = ue(() => {
|
|
24
|
+
const h = Math.floor(i.value / 10) * 10;
|
|
25
|
+
return Array.from({ length: 10 }, (I, x) => h + x);
|
|
80
26
|
});
|
|
81
|
-
function
|
|
82
|
-
r.value =
|
|
27
|
+
function O(h) {
|
|
28
|
+
r.value = h ?? !r.value, k.value = "D";
|
|
83
29
|
}
|
|
84
|
-
function
|
|
85
|
-
|
|
30
|
+
function G(h = "D") {
|
|
31
|
+
k.value = h;
|
|
86
32
|
}
|
|
87
|
-
function
|
|
88
|
-
const I =
|
|
33
|
+
function z(h) {
|
|
34
|
+
const I = R[h.getDay()], x = ("0" + h.getDate()).slice(-2), P = M[h.getMonth()], m = P.substring(0, 3), U = ("0" + (h.getMonth() + 1)).slice(-2), B = h.getFullYear();
|
|
89
35
|
switch (n.value) {
|
|
90
36
|
case "F d, Y":
|
|
91
|
-
return `${
|
|
37
|
+
return `${P} ${x}, ${B}`;
|
|
92
38
|
case "d M, Y":
|
|
93
|
-
return `${
|
|
39
|
+
return `${x} ${m}, ${B}`;
|
|
94
40
|
case "Y M d":
|
|
95
|
-
return `${
|
|
41
|
+
return `${B} ${m} ${x}`;
|
|
96
42
|
case "MM-DD-YYYY":
|
|
97
|
-
return `${
|
|
43
|
+
return `${U}-${x}-${B}`;
|
|
98
44
|
case "DD-MM-YYYY":
|
|
99
|
-
return `${
|
|
45
|
+
return `${x}-${U}-${B}`;
|
|
100
46
|
case "YYYY-MM-DD":
|
|
101
|
-
return `${
|
|
47
|
+
return `${B}-${U}-${x}`;
|
|
102
48
|
case "D d M, Y":
|
|
103
|
-
return `${I} ${
|
|
49
|
+
return `${I} ${x} ${m} ${B}`;
|
|
104
50
|
default:
|
|
105
|
-
return `${
|
|
51
|
+
return `${P} ${x}, ${B}`;
|
|
106
52
|
}
|
|
107
53
|
}
|
|
108
|
-
function N(
|
|
109
|
-
switch (
|
|
54
|
+
function N(h) {
|
|
55
|
+
switch (k.value) {
|
|
110
56
|
case "Y":
|
|
111
|
-
i.value =
|
|
57
|
+
i.value = h, k.value = "M";
|
|
112
58
|
break;
|
|
113
59
|
case "M":
|
|
114
|
-
a.value =
|
|
60
|
+
a.value = h, k.value = "D", v();
|
|
115
61
|
break;
|
|
116
62
|
default:
|
|
117
|
-
|
|
63
|
+
l.value = h, s.value = z(new Date(i.value, a.value, h)), r.value = !1, e.model && (e.model.value = s.value);
|
|
118
64
|
break;
|
|
119
65
|
}
|
|
120
66
|
}
|
|
121
|
-
function
|
|
122
|
-
switch (
|
|
67
|
+
function _() {
|
|
68
|
+
switch (k.value) {
|
|
123
69
|
case "Y":
|
|
124
70
|
i.value -= 10;
|
|
125
71
|
break;
|
|
@@ -127,12 +73,12 @@ function Ut(e, t, s) {
|
|
|
127
73
|
i.value -= 1;
|
|
128
74
|
break;
|
|
129
75
|
default:
|
|
130
|
-
a.value === 0 ? (i.value--, a.value = 11) : a.value--,
|
|
76
|
+
a.value === 0 ? (i.value--, a.value = 11) : a.value--, v();
|
|
131
77
|
break;
|
|
132
78
|
}
|
|
133
79
|
}
|
|
134
80
|
function L() {
|
|
135
|
-
switch (
|
|
81
|
+
switch (k.value) {
|
|
136
82
|
case "Y":
|
|
137
83
|
i.value += 10;
|
|
138
84
|
break;
|
|
@@ -140,148 +86,138 @@ function Ut(e, t, s) {
|
|
|
140
86
|
i.value += 1;
|
|
141
87
|
break;
|
|
142
88
|
default:
|
|
143
|
-
a.value === 11 ? (a.value = 0, i.value++) : a.value++,
|
|
89
|
+
a.value === 11 ? (a.value = 0, i.value++) : a.value++, v();
|
|
144
90
|
break;
|
|
145
91
|
}
|
|
146
92
|
}
|
|
147
|
-
function
|
|
148
|
-
const I = new Date(i.value, a.value,
|
|
149
|
-
return
|
|
93
|
+
function w(h) {
|
|
94
|
+
const I = new Date(i.value, a.value, h);
|
|
95
|
+
return s.value === z(I);
|
|
150
96
|
}
|
|
151
|
-
function
|
|
152
|
-
const I = /* @__PURE__ */ new Date(),
|
|
153
|
-
return I.toDateString() ===
|
|
97
|
+
function c(h) {
|
|
98
|
+
const I = /* @__PURE__ */ new Date(), x = new Date(i.value, a.value, h);
|
|
99
|
+
return I.toDateString() === x.toDateString();
|
|
154
100
|
}
|
|
155
|
-
function
|
|
156
|
-
const
|
|
157
|
-
|
|
101
|
+
function v() {
|
|
102
|
+
const h = new Date(i.value, a.value + 1, 0).getDate(), I = new Date(i.value, a.value).getDay();
|
|
103
|
+
p.value = Array.from({ length: I }, (x, P) => P + 1), f.value = Array.from({ length: h }, (x, P) => P + 1);
|
|
158
104
|
}
|
|
159
|
-
function
|
|
160
|
-
if (!t.value || !
|
|
161
|
-
const
|
|
162
|
-
|
|
105
|
+
function V() {
|
|
106
|
+
if (!t.value || !o.value || !r.value) return;
|
|
107
|
+
const h = t.value.getBoundingClientRect(), I = o.value.offsetHeight, x = h.top + h.height + I;
|
|
108
|
+
g.value = x > window.innerHeight ? "top" : "bottom";
|
|
163
109
|
}
|
|
164
|
-
function
|
|
165
|
-
a.value =
|
|
110
|
+
function Q(h, I = !0) {
|
|
111
|
+
a.value = h.getMonth(), i.value = h.getFullYear(), l.value = h.getDate(), I && (s.value = z(h)), v();
|
|
166
112
|
}
|
|
167
|
-
function
|
|
168
|
-
if (
|
|
169
|
-
return
|
|
170
|
-
|
|
113
|
+
function j() {
|
|
114
|
+
if (s.value)
|
|
115
|
+
return Q(new Date(Date.parse(s.value)));
|
|
116
|
+
Q(/* @__PURE__ */ new Date(), e.useDefaultDate);
|
|
171
117
|
}
|
|
172
|
-
return
|
|
173
|
-
|
|
174
|
-
}),
|
|
175
|
-
if (!
|
|
176
|
-
window.removeEventListener("resize",
|
|
118
|
+
return Qe(() => {
|
|
119
|
+
j();
|
|
120
|
+
}), J(r, async (h) => {
|
|
121
|
+
if (!h) {
|
|
122
|
+
window.removeEventListener("resize", V);
|
|
177
123
|
return;
|
|
178
124
|
}
|
|
179
|
-
await
|
|
125
|
+
await et(), j(), V(), window.addEventListener("resize", V);
|
|
180
126
|
}), {
|
|
181
127
|
datePickerInput: t,
|
|
182
|
-
datePickerCalendar:
|
|
128
|
+
datePickerCalendar: o,
|
|
183
129
|
datePickerOpen: r,
|
|
184
|
-
datePickerValue:
|
|
185
|
-
datePickerPanel:
|
|
130
|
+
datePickerValue: s,
|
|
131
|
+
datePickerPanel: k,
|
|
186
132
|
datePickerFormat: n,
|
|
187
133
|
datePickerMonth: a,
|
|
188
|
-
datePickerMonthVerbose:
|
|
134
|
+
datePickerMonthVerbose: A,
|
|
189
135
|
datePickerYear: i,
|
|
190
136
|
datePickerDecade: F,
|
|
191
|
-
datePickerDay:
|
|
192
|
-
datePickerDaysInMonth:
|
|
193
|
-
datePickerBlankDaysInMonth:
|
|
194
|
-
datePickerMonthNames:
|
|
195
|
-
datePickerDays:
|
|
196
|
-
datePickerPosition:
|
|
197
|
-
toggleDatePicker:
|
|
137
|
+
datePickerDay: l,
|
|
138
|
+
datePickerDaysInMonth: f,
|
|
139
|
+
datePickerBlankDaysInMonth: p,
|
|
140
|
+
datePickerMonthNames: M,
|
|
141
|
+
datePickerDays: R,
|
|
142
|
+
datePickerPosition: g,
|
|
143
|
+
toggleDatePicker: O,
|
|
198
144
|
datePickerValueClicked: N,
|
|
199
|
-
datePickerPrevious:
|
|
145
|
+
datePickerPrevious: _,
|
|
200
146
|
datePickerNext: L,
|
|
201
|
-
datePickerIsSelectedDate:
|
|
202
|
-
datePickerIsToday:
|
|
203
|
-
showDatePickerPanel:
|
|
147
|
+
datePickerIsSelectedDate: w,
|
|
148
|
+
datePickerIsToday: c,
|
|
149
|
+
showDatePickerPanel: G
|
|
204
150
|
};
|
|
205
151
|
}
|
|
206
|
-
function
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
D(this, "success", (t, s) => this.create(t, { type: "success", ...s }));
|
|
247
|
-
D(this, "error", (t, s) => this.create(t, { type: "danger", ...s }));
|
|
248
|
-
D(this, "info", (t, s) => this.create(t, { type: "info", ...s }));
|
|
249
|
-
D(this, "warning", (t, s) => this.create(t, { type: "warning", ...s }));
|
|
250
|
-
this.subscribers = [], this.toasts = [];
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
const Y = new Xe();
|
|
254
|
-
function Ze(e, t) {
|
|
255
|
-
const s = De("toast_");
|
|
256
|
-
return Y.create(e, { ...t, id: s }), s;
|
|
257
|
-
}
|
|
258
|
-
const Qe = Object.assign(Ze, {
|
|
259
|
-
add: Y.add,
|
|
260
|
-
success: Y.success,
|
|
261
|
-
error: Y.error,
|
|
262
|
-
info: Y.info,
|
|
263
|
-
warning: Y.warning,
|
|
264
|
-
dismiss: Y.dismiss
|
|
265
|
-
});
|
|
266
|
-
function Ht(e) {
|
|
267
|
-
const t = y(!1);
|
|
268
|
-
return {
|
|
269
|
-
copyNotification: t,
|
|
270
|
-
copyToClipboard: async () => {
|
|
271
|
-
try {
|
|
272
|
-
await navigator.clipboard.writeText(e.value), t.value = !0, setTimeout(() => {
|
|
273
|
-
t.value = !1;
|
|
274
|
-
}, 3e3);
|
|
275
|
-
} catch (r) {
|
|
276
|
-
console.error(r), Qe.error("Error", {
|
|
277
|
-
description: "Unable to copy. Network is not secure."
|
|
278
|
-
});
|
|
152
|
+
function Zt({ options: e, defaultItems: t }, o) {
|
|
153
|
+
const r = se({
|
|
154
|
+
selectOpen: !1,
|
|
155
|
+
selectedItems: t,
|
|
156
|
+
selectableItems: e,
|
|
157
|
+
selectableItemActive: null,
|
|
158
|
+
selectId: "select-12",
|
|
159
|
+
selectKeydownValue: "",
|
|
160
|
+
selectKeydownTimeout: 1e3,
|
|
161
|
+
selectKeydownClearTimeout: null,
|
|
162
|
+
selectDropdownPosition: "bottom",
|
|
163
|
+
selectableItemsList: o.selectableItemsList,
|
|
164
|
+
selectButton: o.selectButton,
|
|
165
|
+
toggleSelect(n) {
|
|
166
|
+
n !== void 0 ? this.selectOpen = n === !0 : this.selectOpen = !this.selectOpen;
|
|
167
|
+
},
|
|
168
|
+
updateRefs(n) {
|
|
169
|
+
this.selectButton = n.selectButton, this.selectableItemsList = n.selectableItemsList, this.selectPositionUpdate();
|
|
170
|
+
},
|
|
171
|
+
// In a multiselect (combobox) nothing is ever selected in the list. It appears elsewhere and is removed from the list
|
|
172
|
+
selectableItemIsActive() {
|
|
173
|
+
return !1;
|
|
174
|
+
},
|
|
175
|
+
async selectScrollToActiveItem(n, a = !0) {
|
|
176
|
+
let i = document.getElementById(n + "-" + this.selectId);
|
|
177
|
+
i && (i.scrollIntoView({ behavior: "smooth", block: "center" }), a && i.focus({ preventScroll: !1 }));
|
|
178
|
+
},
|
|
179
|
+
selectKeydown(n) {
|
|
180
|
+
if (n.keyCode < 65 || n.keyCode > 90) return;
|
|
181
|
+
this.selectKeydownValue += n.key;
|
|
182
|
+
let a = this.selectItemsFindBestMatch();
|
|
183
|
+
a && this.selectOpen && (this.selectableItemActive = a), this.selectKeydownValue !== "" && (clearTimeout(this.selectKeydownClearTimeout), this.selectKeydownClearTimeout = window.setTimeout(() => {
|
|
184
|
+
this.selectKeydownValue = "";
|
|
185
|
+
}, this.selectKeydownTimeout));
|
|
186
|
+
},
|
|
187
|
+
selectItemsFindBestMatch() {
|
|
188
|
+
let n = this.selectKeydownValue.toLowerCase(), a = null, i = -1;
|
|
189
|
+
for (const l of this.selectableItems) {
|
|
190
|
+
let p = l.name.toLowerCase().indexOf(n);
|
|
191
|
+
p > -1 && (i == -1 || p < i) && !l.disabled && (a = l, i = p);
|
|
279
192
|
}
|
|
193
|
+
return a;
|
|
194
|
+
},
|
|
195
|
+
selectPositionUpdate() {
|
|
196
|
+
var a;
|
|
197
|
+
if (!this.selectButton || !this.selectableItemsList) return;
|
|
198
|
+
let n = ((a = this.selectButton) == null ? void 0 : a.getBoundingClientRect().top) + this.selectButton.offsetHeight + parseInt(window.getComputedStyle(this.selectableItemsList).maxHeight);
|
|
199
|
+
this.selectDropdownPosition = window.innerHeight < n ? "top" : "bottom";
|
|
200
|
+
},
|
|
201
|
+
setOptions(n) {
|
|
202
|
+
Array.isArray(n) && (this.selectableItems = n);
|
|
280
203
|
}
|
|
204
|
+
}), s = () => {
|
|
205
|
+
r.selectOpen && r.selectPositionUpdate();
|
|
281
206
|
};
|
|
207
|
+
return J(
|
|
208
|
+
() => r.selectOpen,
|
|
209
|
+
function(n) {
|
|
210
|
+
if (r.selectedItems ? r.selectableItemActive = r.selectedItem : r.selectableItemActive = r.selectableItems[0], !n) {
|
|
211
|
+
window.removeEventListener("resize", s);
|
|
212
|
+
return;
|
|
213
|
+
}
|
|
214
|
+
s(), window.addEventListener("resize", s);
|
|
215
|
+
},
|
|
216
|
+
{ immediate: !1 }
|
|
217
|
+
), r;
|
|
282
218
|
}
|
|
283
|
-
function
|
|
284
|
-
const
|
|
219
|
+
function Qt(e, t) {
|
|
220
|
+
const o = se({
|
|
285
221
|
selectOpen: !1,
|
|
286
222
|
selectedItem: "",
|
|
287
223
|
selectableItems: e,
|
|
@@ -293,31 +229,31 @@ function Wt(e, t) {
|
|
|
293
229
|
selectDropdownPosition: "bottom",
|
|
294
230
|
selectableItemsList: t.selectableItemsList,
|
|
295
231
|
selectButton: t.selectButton,
|
|
296
|
-
toggleSelect(
|
|
297
|
-
|
|
232
|
+
toggleSelect(s) {
|
|
233
|
+
s !== void 0 ? this.selectOpen = s === !0 : this.selectOpen = !this.selectOpen;
|
|
298
234
|
},
|
|
299
|
-
updateRefs(
|
|
300
|
-
this.selectButton =
|
|
235
|
+
updateRefs(s) {
|
|
236
|
+
this.selectButton = s.selectButton, this.selectableItemsList = s.selectableItemsList;
|
|
301
237
|
},
|
|
302
|
-
selectableItemIsActive(
|
|
303
|
-
return this.selectableItemActive && this.selectableItemActive.value ==
|
|
238
|
+
selectableItemIsActive(s) {
|
|
239
|
+
return this.selectableItemActive && this.selectableItemActive.value == s.value;
|
|
304
240
|
},
|
|
305
241
|
selectableItemActiveNext() {
|
|
306
|
-
let
|
|
307
|
-
|
|
242
|
+
let s = this.selectableItems.indexOf(this.selectableItemActive);
|
|
243
|
+
s < this.selectableItems.length - 1 && (this.selectableItemActive = this.selectableItems[s + 1], this.selectScrollToActiveItem());
|
|
308
244
|
},
|
|
309
245
|
selectableItemActivePrevious() {
|
|
310
|
-
let
|
|
311
|
-
|
|
246
|
+
let s = this.selectableItems.indexOf(this.selectableItemActive);
|
|
247
|
+
s > 0 && (this.selectableItemActive = this.selectableItems[s - 1], this.selectScrollToActiveItem());
|
|
312
248
|
},
|
|
313
249
|
selectScrollToActiveItem() {
|
|
314
250
|
if (!this.selectableItemActive) return;
|
|
315
|
-
let
|
|
316
|
-
|
|
251
|
+
let s = document.getElementById(this.selectableItemActive.value + "-" + this.selectId);
|
|
252
|
+
s && s.focus();
|
|
317
253
|
},
|
|
318
|
-
selectKeydown(
|
|
319
|
-
if (
|
|
320
|
-
this.selectKeydownValue +=
|
|
254
|
+
selectKeydown(s) {
|
|
255
|
+
if (s.keyCode >= 65 && s.keyCode <= 90) {
|
|
256
|
+
this.selectKeydownValue += s.key;
|
|
321
257
|
let n = this.selectItemsFindBestMatch();
|
|
322
258
|
n && (this.selectOpen ? (this.selectableItemActive = n, this.selectScrollToActiveItem()) : this.selectedItem = this.selectableItemActive === n), this.selectKeydownValue != "" && (clearTimeout(this.selectKeydownClearTimeout), this.selectKeydownClearTimeout = window.setTimeout(() => {
|
|
323
259
|
this.selectKeydownValue = "";
|
|
@@ -325,114 +261,173 @@ function Wt(e, t) {
|
|
|
325
261
|
}
|
|
326
262
|
},
|
|
327
263
|
selectItemsFindBestMatch() {
|
|
328
|
-
let
|
|
264
|
+
let s = this.selectKeydownValue.toLowerCase(), n = null, a = -1;
|
|
329
265
|
for (const i of this.selectableItems) {
|
|
330
|
-
let
|
|
331
|
-
|
|
266
|
+
let f = i.title.toLowerCase().indexOf(s);
|
|
267
|
+
f > -1 && (a == -1 || f < a) && !i.disabled && (n = i, a = f);
|
|
332
268
|
}
|
|
333
269
|
return n;
|
|
334
270
|
},
|
|
335
271
|
selectPositionUpdate() {
|
|
336
272
|
var n;
|
|
337
273
|
if (!this.selectableItemsList || !this.selectButton) return;
|
|
338
|
-
let
|
|
339
|
-
window.innerHeight <
|
|
274
|
+
let s = ((n = this.selectButton) == null ? void 0 : n.getBoundingClientRect().top) + this.selectButton.offsetHeight + parseInt(window.getComputedStyle(this.selectableItemsList).maxHeight);
|
|
275
|
+
window.innerHeight < s ? this.selectDropdownPosition = "top" : this.selectDropdownPosition = "bottom";
|
|
340
276
|
}
|
|
341
277
|
}), r = () => {
|
|
342
|
-
|
|
278
|
+
o.selectOpen && o.selectPositionUpdate();
|
|
343
279
|
};
|
|
344
|
-
return
|
|
345
|
-
() =>
|
|
346
|
-
function(
|
|
347
|
-
if (
|
|
280
|
+
return J(
|
|
281
|
+
() => o.selectOpen,
|
|
282
|
+
function(s) {
|
|
283
|
+
if (o.selectedItem ? o.selectableItemActive = o.selectedItem : o.selectableItemActive = o.selectableItems[0], !s) {
|
|
348
284
|
window.removeEventListener("resize", r);
|
|
349
285
|
return;
|
|
350
286
|
}
|
|
351
287
|
window.setTimeout(function() {
|
|
352
|
-
|
|
288
|
+
o.selectScrollToActiveItem();
|
|
353
289
|
}, 10), r(), window.addEventListener("resize", r);
|
|
354
290
|
},
|
|
355
291
|
{ immediate: !1 }
|
|
356
|
-
),
|
|
357
|
-
}
|
|
358
|
-
function qt(e) {
|
|
359
|
-
const t = y(null);
|
|
360
|
-
return J({
|
|
361
|
-
title: "",
|
|
362
|
-
...e,
|
|
363
|
-
modalOpen: !1,
|
|
364
|
-
isAnimating: !1,
|
|
365
|
-
animationTime: e.animationTime ?? 300,
|
|
366
|
-
toggleModal(s = null) {
|
|
367
|
-
this.isAnimating || (t.value && clearTimeout(t.value), s != null ? this.modalOpen = s : this.modalOpen = !this.modalOpen, this.isAnimating = !0, t.value = window.setTimeout(() => {
|
|
368
|
-
this.isAnimating = !1;
|
|
369
|
-
}, this.animationTime));
|
|
370
|
-
},
|
|
371
|
-
setTitle(s) {
|
|
372
|
-
this.title = s;
|
|
373
|
-
}
|
|
374
|
-
});
|
|
292
|
+
), o;
|
|
375
293
|
}
|
|
376
|
-
function
|
|
377
|
-
const t = y(1),
|
|
378
|
-
filteredPage:
|
|
379
|
-
const
|
|
380
|
-
return e.data.slice(
|
|
294
|
+
function eo(e) {
|
|
295
|
+
const t = y(1), o = y(e.itemsPerPage ?? 10), r = se({
|
|
296
|
+
filteredPage: ue(() => {
|
|
297
|
+
const s = o.value * (t.value - 1), n = Math.min(o.value * t.value, e.data.length);
|
|
298
|
+
return e.data.slice(s, n);
|
|
381
299
|
}),
|
|
382
300
|
props: e,
|
|
383
|
-
fields: { currentPage: t, itemsPerPage:
|
|
384
|
-
handlePageChange(
|
|
385
|
-
t.value =
|
|
301
|
+
fields: { currentPage: t, itemsPerPage: o },
|
|
302
|
+
handlePageChange(s) {
|
|
303
|
+
t.value = s;
|
|
386
304
|
},
|
|
387
305
|
handlePageReset() {
|
|
388
306
|
t.value = 1;
|
|
389
307
|
}
|
|
390
308
|
});
|
|
391
|
-
return
|
|
309
|
+
return J(
|
|
392
310
|
() => e.data,
|
|
393
|
-
(
|
|
311
|
+
(s, n) => {
|
|
394
312
|
var a, i;
|
|
395
|
-
((
|
|
313
|
+
((s == null ? void 0 : s.length) !== (n == null ? void 0 : n.length) || s[0] && n[0] && ((a = s[0]) == null ? void 0 : a.id) !== ((i = n[0]) == null ? void 0 : i.id)) && r.handlePageReset();
|
|
396
314
|
},
|
|
397
315
|
{ immediate: !0 }
|
|
398
316
|
), r;
|
|
399
317
|
}
|
|
400
|
-
function
|
|
318
|
+
function Fe(e = "pv_id_") {
|
|
319
|
+
return e + Math.random().toString(16).slice(2);
|
|
320
|
+
}
|
|
321
|
+
class ot {
|
|
322
|
+
constructor() {
|
|
323
|
+
E(this, "subscribers");
|
|
324
|
+
E(this, "toasts");
|
|
325
|
+
// We use arrow functions to maintain the correct `this` reference
|
|
326
|
+
E(this, "subscribe", (t) => (this.subscribers.push(t), () => {
|
|
327
|
+
const o = this.subscribers.indexOf(t);
|
|
328
|
+
this.subscribers.splice(o, 1);
|
|
329
|
+
}));
|
|
330
|
+
E(this, "publish", (t) => {
|
|
331
|
+
this.subscribers.forEach((o) => o(t));
|
|
332
|
+
});
|
|
333
|
+
E(this, "addToast", (t) => {
|
|
334
|
+
this.publish(t), this.toasts = [...this.toasts, t];
|
|
335
|
+
});
|
|
336
|
+
E(this, "create", (t, o) => {
|
|
337
|
+
const r = o.id ?? Fe("toast_");
|
|
338
|
+
return this.toasts.find((n) => n.id === r) ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({ ...n, ...o, id: r, title: t }), {
|
|
339
|
+
...n,
|
|
340
|
+
...o,
|
|
341
|
+
id: r,
|
|
342
|
+
title: t
|
|
343
|
+
}) : n) : this.addToast({
|
|
344
|
+
title: t,
|
|
345
|
+
id: r,
|
|
346
|
+
scale: 1,
|
|
347
|
+
zIndex: 200,
|
|
348
|
+
offsetY: 0,
|
|
349
|
+
...o
|
|
350
|
+
}), r;
|
|
351
|
+
});
|
|
352
|
+
E(this, "dismiss", (t) => {
|
|
353
|
+
t ? (this.publish({ id: t, dismiss: !0 }), this.toasts = this.toasts.filter((o) => o.id !== t)) : (this.toasts.forEach((o) => {
|
|
354
|
+
this.publish({ id: o.id, dismiss: !0 });
|
|
355
|
+
}), this.toasts = []);
|
|
356
|
+
});
|
|
357
|
+
E(this, "add", (t, o) => this.create(t, { ...o }));
|
|
358
|
+
E(this, "success", (t, o) => this.create(t, { type: "success", ...o }));
|
|
359
|
+
E(this, "error", (t, o) => this.create(t, { type: "danger", ...o }));
|
|
360
|
+
E(this, "info", (t, o) => this.create(t, { type: "info", ...o }));
|
|
361
|
+
E(this, "warning", (t, o) => this.create(t, { type: "warning", ...o }));
|
|
362
|
+
this.subscribers = [], this.toasts = [];
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
const H = new ot();
|
|
366
|
+
function st(e, t) {
|
|
367
|
+
const o = Fe("toast_");
|
|
368
|
+
return H.create(e, { ...t, id: o }), o;
|
|
369
|
+
}
|
|
370
|
+
const rt = Object.assign(st, {
|
|
371
|
+
add: H.add,
|
|
372
|
+
success: H.success,
|
|
373
|
+
error: H.error,
|
|
374
|
+
info: H.info,
|
|
375
|
+
warning: H.warning,
|
|
376
|
+
dismiss: H.dismiss
|
|
377
|
+
});
|
|
378
|
+
function to(e) {
|
|
379
|
+
const t = y(!1);
|
|
380
|
+
return {
|
|
381
|
+
copyNotification: t,
|
|
382
|
+
copyToClipboard: async () => {
|
|
383
|
+
try {
|
|
384
|
+
await navigator.clipboard.writeText(e.value), t.value = !0, setTimeout(() => {
|
|
385
|
+
t.value = !1;
|
|
386
|
+
}, 3e3);
|
|
387
|
+
} catch (r) {
|
|
388
|
+
console.error(r), rt.error("Error", {
|
|
389
|
+
description: "Unable to copy. Network is not secure."
|
|
390
|
+
});
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
};
|
|
394
|
+
}
|
|
395
|
+
function nt(e) {
|
|
401
396
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
402
397
|
}
|
|
403
|
-
var
|
|
404
|
-
function
|
|
405
|
-
return
|
|
406
|
-
if (t ===
|
|
407
|
-
if (t &&
|
|
408
|
-
if (t.constructor !==
|
|
409
|
-
var r,
|
|
398
|
+
var fe, De;
|
|
399
|
+
function at() {
|
|
400
|
+
return De || (De = 1, fe = function e(t, o) {
|
|
401
|
+
if (t === o) return !0;
|
|
402
|
+
if (t && o && typeof t == "object" && typeof o == "object") {
|
|
403
|
+
if (t.constructor !== o.constructor) return !1;
|
|
404
|
+
var r, s, n;
|
|
410
405
|
if (Array.isArray(t)) {
|
|
411
|
-
if (r = t.length, r !=
|
|
412
|
-
for (
|
|
413
|
-
if (!e(t[
|
|
406
|
+
if (r = t.length, r != o.length) return !1;
|
|
407
|
+
for (s = r; s-- !== 0; )
|
|
408
|
+
if (!e(t[s], o[s])) return !1;
|
|
414
409
|
return !0;
|
|
415
410
|
}
|
|
416
|
-
if (t.constructor === RegExp) return t.source ===
|
|
417
|
-
if (t.valueOf !== Object.prototype.valueOf) return t.valueOf() ===
|
|
418
|
-
if (t.toString !== Object.prototype.toString) return t.toString() ===
|
|
419
|
-
if (n = Object.keys(t), r = n.length, r !== Object.keys(
|
|
420
|
-
for (
|
|
421
|
-
if (!Object.prototype.hasOwnProperty.call(
|
|
422
|
-
for (
|
|
423
|
-
var a = n[
|
|
424
|
-
if (!e(t[a],
|
|
411
|
+
if (t.constructor === RegExp) return t.source === o.source && t.flags === o.flags;
|
|
412
|
+
if (t.valueOf !== Object.prototype.valueOf) return t.valueOf() === o.valueOf();
|
|
413
|
+
if (t.toString !== Object.prototype.toString) return t.toString() === o.toString();
|
|
414
|
+
if (n = Object.keys(t), r = n.length, r !== Object.keys(o).length) return !1;
|
|
415
|
+
for (s = r; s-- !== 0; )
|
|
416
|
+
if (!Object.prototype.hasOwnProperty.call(o, n[s])) return !1;
|
|
417
|
+
for (s = r; s-- !== 0; ) {
|
|
418
|
+
var a = n[s];
|
|
419
|
+
if (!e(t[a], o[a])) return !1;
|
|
425
420
|
}
|
|
426
421
|
return !0;
|
|
427
422
|
}
|
|
428
|
-
return t !== t &&
|
|
429
|
-
}),
|
|
423
|
+
return t !== t && o !== o;
|
|
424
|
+
}), fe;
|
|
430
425
|
}
|
|
431
|
-
var
|
|
432
|
-
const
|
|
433
|
-
function
|
|
434
|
-
let t = e,
|
|
435
|
-
const r =
|
|
426
|
+
var it = at();
|
|
427
|
+
const lt = /* @__PURE__ */ nt(it);
|
|
428
|
+
function oo(e) {
|
|
429
|
+
let t = e, o;
|
|
430
|
+
const r = se({
|
|
436
431
|
fields: structuredClone(e),
|
|
437
432
|
errors: {},
|
|
438
433
|
dirty: !1,
|
|
@@ -440,22 +435,22 @@ function Xt(e) {
|
|
|
440
435
|
processing: !1,
|
|
441
436
|
wasSuccessful: !1,
|
|
442
437
|
recentlySuccessful: !1,
|
|
443
|
-
async submit(
|
|
438
|
+
async submit(s, n = {}) {
|
|
444
439
|
if (this.processing) return;
|
|
445
440
|
const a = {
|
|
446
441
|
onBefore: async () => {
|
|
447
|
-
this.processing = !0, this.wasSuccessful = !1, this.recentlySuccessful = !1, clearTimeout(
|
|
442
|
+
this.processing = !0, this.wasSuccessful = !1, this.recentlySuccessful = !1, clearTimeout(o), n.onBefore && await n.onBefore();
|
|
448
443
|
},
|
|
449
444
|
onSuccess: async (i) => {
|
|
450
|
-
this.clearErrors(), this.wasSuccessful = !0, this.recentlySuccessful = !0,
|
|
445
|
+
this.clearErrors(), this.wasSuccessful = !0, this.recentlySuccessful = !0, o = window.setTimeout(() => {
|
|
451
446
|
this.recentlySuccessful = !1;
|
|
452
447
|
}, 2e3), n.onSuccess && await n.onSuccess(i), t = structuredClone(this.fields);
|
|
453
448
|
},
|
|
454
449
|
onError: async (i) => {
|
|
455
|
-
var
|
|
456
|
-
this.hasErrors = !0, (((
|
|
457
|
-
message: (
|
|
458
|
-
...(
|
|
450
|
+
var l, f, p, g, M;
|
|
451
|
+
this.hasErrors = !0, (((l = i == null ? void 0 : i.response) == null ? void 0 : l.status) === 422 || ((f = i == null ? void 0 : i.response) == null ? void 0 : f.status) === 401) && (this.clearErrors(), this.setErrors({
|
|
452
|
+
message: (p = i == null ? void 0 : i.response) == null ? void 0 : p.data.message,
|
|
453
|
+
...(M = (g = i == null ? void 0 : i.response) == null ? void 0 : g.data) == null ? void 0 : M.errors
|
|
459
454
|
})), n.onError && await n.onError(i);
|
|
460
455
|
},
|
|
461
456
|
onFinish: async () => {
|
|
@@ -464,7 +459,7 @@ function Xt(e) {
|
|
|
464
459
|
};
|
|
465
460
|
await a.onBefore();
|
|
466
461
|
try {
|
|
467
|
-
const i = await
|
|
462
|
+
const i = await s(this.fields);
|
|
468
463
|
await a.onSuccess(i);
|
|
469
464
|
} catch (i) {
|
|
470
465
|
await a.onError(i);
|
|
@@ -472,185 +467,272 @@ function Xt(e) {
|
|
|
472
467
|
await a.onFinish();
|
|
473
468
|
}
|
|
474
469
|
},
|
|
475
|
-
reset(...
|
|
470
|
+
reset(...s) {
|
|
476
471
|
const n = structuredClone(t);
|
|
477
|
-
|
|
472
|
+
s.length === 0 ? this.fields = n : s.forEach((a) => {
|
|
478
473
|
n[a] !== void 0 && (this.fields[a] = n[a]);
|
|
479
474
|
});
|
|
480
475
|
},
|
|
481
|
-
clearErrors(...
|
|
482
|
-
|
|
476
|
+
clearErrors(...s) {
|
|
477
|
+
s.length === 0 ? this.errors = {} : s.forEach((n) => delete this.errors[n]), this.hasErrors = Object.keys(this.errors).length > 0;
|
|
483
478
|
},
|
|
484
|
-
setErrors(
|
|
485
|
-
this.errors = { ...this.errors, ...
|
|
479
|
+
setErrors(s) {
|
|
480
|
+
this.errors = { ...this.errors, ...s }, this.hasErrors = Object.keys(this.errors).length > 0;
|
|
486
481
|
}
|
|
487
482
|
});
|
|
488
|
-
return
|
|
483
|
+
return J(
|
|
489
484
|
() => r.fields,
|
|
490
485
|
() => {
|
|
491
|
-
r.dirty = !
|
|
486
|
+
r.dirty = !lt(r.fields, t);
|
|
492
487
|
},
|
|
493
488
|
{ immediate: !0, deep: !0 }
|
|
494
489
|
), r;
|
|
495
490
|
}
|
|
496
|
-
function
|
|
497
|
-
const
|
|
498
|
-
function d(w) {
|
|
499
|
-
n.value = Date.now(), w.target.setPointerCapture(w.pointerId), !w.target.closest("button, a, input, textarea, select") && (a.value = { x: w.clientX, y: w.clientY }, r.value = !0);
|
|
500
|
-
}
|
|
501
|
-
function h(w) {
|
|
502
|
-
if (!r.value) return;
|
|
503
|
-
const x = { x: 0, y: 0 }, S = w.clientX - a.value.x, b = w.clientY - a.value.y;
|
|
504
|
-
if (e.value.includes("left") && S < 0 || e.value.includes("right") && S > 0)
|
|
505
|
-
x.x = S;
|
|
506
|
-
else {
|
|
507
|
-
const k = S * i(S);
|
|
508
|
-
x.x = Math.abs(k) < Math.abs(S) ? k : S;
|
|
509
|
-
}
|
|
510
|
-
if (e.value.includes("top") && b < 0 || e.value.includes("bottom") && b > 0)
|
|
511
|
-
x.y = b;
|
|
512
|
-
else {
|
|
513
|
-
const k = b * i(b);
|
|
514
|
-
x.y = Math.abs(k) < Math.abs(b) ? k : b;
|
|
515
|
-
}
|
|
516
|
-
o.value = x;
|
|
517
|
-
}
|
|
518
|
-
function g() {
|
|
519
|
-
if (!r.value) return;
|
|
520
|
-
const w = Date.now() - (n.value ?? 0), x = o.value.x, S = Math.abs(x) / w;
|
|
521
|
-
if (Math.abs(x) >= t || S > 0.11) {
|
|
522
|
-
s();
|
|
523
|
-
return;
|
|
524
|
-
}
|
|
525
|
-
r.value = !1, o.value = { x: 0, y: 0 };
|
|
526
|
-
}
|
|
527
|
-
return {
|
|
528
|
-
offset: o,
|
|
529
|
-
isSwiping: r,
|
|
530
|
-
onPointerDown: d,
|
|
531
|
-
onPointerMove: h,
|
|
532
|
-
onPointerUp: g
|
|
533
|
-
};
|
|
534
|
-
}
|
|
535
|
-
function Qt({ duration: e, isPaused: t, onTimeout: s, immediate: r = !0 }) {
|
|
536
|
-
const o = y(), n = y(0), a = y(e);
|
|
491
|
+
function so({ duration: e, isPaused: t, onTimeout: o, immediate: r = !0 }) {
|
|
492
|
+
const s = y(), n = y(0), a = y(e);
|
|
537
493
|
function i() {
|
|
538
|
-
a.value === 1 / 0 || t() || (n.value = Date.now(),
|
|
539
|
-
|
|
494
|
+
a.value === 1 / 0 || t() || (n.value = Date.now(), s.value = window.setTimeout(() => {
|
|
495
|
+
o();
|
|
540
496
|
}, a.value));
|
|
541
497
|
}
|
|
542
|
-
function
|
|
543
|
-
|
|
544
|
-
const
|
|
545
|
-
a.value -=
|
|
498
|
+
function l() {
|
|
499
|
+
f();
|
|
500
|
+
const p = Date.now() - n.value;
|
|
501
|
+
a.value -= p;
|
|
546
502
|
}
|
|
547
|
-
function
|
|
548
|
-
|
|
503
|
+
function f() {
|
|
504
|
+
s.value && (clearTimeout(s.value), s.value = null);
|
|
549
505
|
}
|
|
550
|
-
return
|
|
506
|
+
return J(
|
|
551
507
|
t,
|
|
552
|
-
(
|
|
553
|
-
if (
|
|
554
|
-
|
|
508
|
+
(p) => {
|
|
509
|
+
if (p) {
|
|
510
|
+
l();
|
|
555
511
|
return;
|
|
556
512
|
}
|
|
557
513
|
i();
|
|
558
514
|
},
|
|
559
515
|
{ immediate: r }
|
|
560
|
-
),
|
|
561
|
-
|
|
562
|
-
}), { cancel:
|
|
516
|
+
), tt(() => {
|
|
517
|
+
f();
|
|
518
|
+
}), { cancel: f };
|
|
519
|
+
}
|
|
520
|
+
const ro = 3, no = "24px", ao = "16px", io = 0, lo = 3e3, co = 16, uo = 45, mo = 10, fo = 0.06, po = 16, Ce = 4, Ee = 6;
|
|
521
|
+
function ho({ directions: e, swipeThreshold: t, velocityThreshold: o, getElementSize: r, onSwipeOut: s }) {
|
|
522
|
+
const n = y(!1), a = y({ x: 0, y: 0 }), i = y({ x: 0, y: 0 }), l = y({ x: 0, y: 0 }), f = y(), p = ue(() => A(e.value)), g = y(null);
|
|
523
|
+
function M(w) {
|
|
524
|
+
return 1 / (1.5 + Math.abs(w) / 20);
|
|
525
|
+
}
|
|
526
|
+
function R(w, c) {
|
|
527
|
+
return Math.min(c.maxDelta, Math.max(c.minDelta, w));
|
|
528
|
+
}
|
|
529
|
+
function k(w) {
|
|
530
|
+
const c = p.value[w];
|
|
531
|
+
return c.minDelta !== 0 || c.maxDelta !== 0;
|
|
532
|
+
}
|
|
533
|
+
function A(w) {
|
|
534
|
+
const c = {
|
|
535
|
+
x: { minDelta: 0, maxDelta: 0 },
|
|
536
|
+
y: { minDelta: 0, maxDelta: 0 }
|
|
537
|
+
};
|
|
538
|
+
for (const v of w)
|
|
539
|
+
v === "left" && (c.x.minDelta = -1 / 0), v === "right" && (c.x.maxDelta = 1 / 0), v === "top" && (c.y.minDelta = -1 / 0), v === "bottom" && (c.y.maxDelta = 1 / 0);
|
|
540
|
+
return c;
|
|
541
|
+
}
|
|
542
|
+
function F(w) {
|
|
543
|
+
const c = Math.abs(w.x) > Math.abs(w.y) ? "x" : "y";
|
|
544
|
+
return k(c) ? c : null;
|
|
545
|
+
}
|
|
546
|
+
function O(w) {
|
|
547
|
+
return t.px ? t.px : w && t.percent && r ? r(w) * t.percent : 1 / 0;
|
|
548
|
+
}
|
|
549
|
+
function G(w) {
|
|
550
|
+
w.target.closest("button, a, input, textarea, select") || (f.value = Date.now(), w.target.setPointerCapture(w.pointerId), i.value = { x: w.clientX, y: w.clientY }, n.value = !0);
|
|
551
|
+
}
|
|
552
|
+
function z(w) {
|
|
553
|
+
if (!n.value) return;
|
|
554
|
+
const c = { x: 0, y: 0 }, v = { x: w.clientX - i.value.x, y: w.clientY - i.value.y };
|
|
555
|
+
if (l.value.x = Math.max(l.value.x, Math.abs(v.x)), l.value.y = Math.max(l.value.y, Math.abs(v.y)), !g.value && (Math.abs(v.x) > Ce || Math.abs(v.y) > Ce) && (g.value = F(v)), !!g.value) {
|
|
556
|
+
if (c[g.value] = R(v[g.value], p.value[g.value]), c[g.value] === 0 && v[g.value] !== 0) {
|
|
557
|
+
const V = v[g.value] * M(v[g.value]);
|
|
558
|
+
c[g.value] = Math.abs(V) < Math.abs(v[g.value]) ? V : v[g.value];
|
|
559
|
+
}
|
|
560
|
+
a.value = c;
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
function N() {
|
|
564
|
+
if (!n.value) return;
|
|
565
|
+
const w = Date.now() - (f.value ?? 0), c = g.value ? a.value[g.value] : 0, v = Math.abs(c) / w;
|
|
566
|
+
(Math.abs(c) >= O(g.value) || v > (o ?? 0.11)) && s(), n.value = !1, g.value = null, a.value = { x: 0, y: 0 };
|
|
567
|
+
}
|
|
568
|
+
function _() {
|
|
569
|
+
n.value = !1, g.value = null, a.value = { x: 0, y: 0 };
|
|
570
|
+
}
|
|
571
|
+
function L() {
|
|
572
|
+
return l.value.x <= Ee && l.value.y <= Ee;
|
|
573
|
+
}
|
|
574
|
+
return {
|
|
575
|
+
offset: a,
|
|
576
|
+
isSwiping: n,
|
|
577
|
+
onPointerDown: G,
|
|
578
|
+
onPointerMove: z,
|
|
579
|
+
onPointerUp: N,
|
|
580
|
+
onPointerCancel: _,
|
|
581
|
+
isTapGesture: L
|
|
582
|
+
};
|
|
563
583
|
}
|
|
564
|
-
const oe = y(!1),
|
|
565
|
-
function
|
|
566
|
-
q.value && clearTimeout(q.value),
|
|
584
|
+
const bo = 45, go = 0.11, oe = y(!1), ke = y(!1), Ie = y(300), q = y(null), Ne = se({}), _e = ge(null);
|
|
585
|
+
function ct(e, t = {}) {
|
|
586
|
+
q.value && clearTimeout(q.value), _e.value = e, Object.assign(Ne, t), ke.value = !0, oe.value = !0, q.value = window.setTimeout(() => {
|
|
567
587
|
oe.value = !1;
|
|
568
|
-
},
|
|
588
|
+
}, Ie.value);
|
|
569
589
|
}
|
|
570
|
-
function
|
|
571
|
-
q.value && clearTimeout(q.value),
|
|
590
|
+
function ut() {
|
|
591
|
+
q.value && clearTimeout(q.value), ke.value = !1, oe.value = !0, q.value = window.setTimeout(() => {
|
|
572
592
|
oe.value = !1;
|
|
573
|
-
},
|
|
593
|
+
}, Ie.value);
|
|
574
594
|
}
|
|
575
|
-
function
|
|
576
|
-
return { isOpen:
|
|
595
|
+
function vo() {
|
|
596
|
+
return { isOpen: ke, isAnimating: oe, animationTime: Ie, props: Ne, component: _e, open: ct, close: ut };
|
|
577
597
|
}
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
598
|
+
let pe = null;
|
|
599
|
+
function dt() {
|
|
600
|
+
const e = y(!1), t = y(!1), o = y(200), r = y(null), s = ge({}), n = ge(null);
|
|
601
|
+
function a(l, f = {}) {
|
|
602
|
+
var p, g;
|
|
603
|
+
t.value && i("programmatic"), r.value && clearTimeout(r.value), s.value = f, n.value = l, t.value = !0, e.value = !0, (g = (p = s.value) == null ? void 0 : p.onOpen) == null || g.call(p), r.value = window.setTimeout(() => {
|
|
604
|
+
e.value = !1;
|
|
605
|
+
}, o.value);
|
|
606
|
+
}
|
|
607
|
+
function i(l) {
|
|
608
|
+
var f, p;
|
|
609
|
+
r.value && clearTimeout(r.value), !(l !== "programmatic" && s.value.preventClose) && (l === "escape" && !(s.value.closeOnEsc ?? !0) || l === "user" && !(s.value.closeOnBackdrop ?? !0) || (t.value = !1, e.value = !0, (p = (f = s.value) == null ? void 0 : f.onClose) == null || p.call(f), r.value = window.setTimeout(() => {
|
|
610
|
+
e.value = !1, n.value = null, s.value = {};
|
|
611
|
+
}, o.value)));
|
|
612
|
+
}
|
|
613
|
+
return { isOpen: Pe(t), isAnimating: Pe(e), animationTime: o, props: s, component: n, open: a, close: i };
|
|
614
|
+
}
|
|
615
|
+
function ve() {
|
|
616
|
+
return pe || (pe = dt()), pe;
|
|
617
|
+
}
|
|
618
|
+
function wo() {
|
|
619
|
+
return ve();
|
|
620
|
+
}
|
|
621
|
+
const yo = {
|
|
622
|
+
open: (e, t) => ve().open(e, t),
|
|
623
|
+
close: (e) => ve().close(e)
|
|
624
|
+
}, mt = {
|
|
625
|
+
stringInsensitive: (e, t) => Oe(e).localeCompare(Oe(t)),
|
|
626
|
+
date: (e, t) => new Date(e).getTime() - new Date(t).getTime(),
|
|
627
|
+
number: (e, t) => parseFloat(e) - parseFloat(t)
|
|
628
|
+
};
|
|
629
|
+
function Oe(e) {
|
|
630
|
+
return String(e ?? "").toLowerCase().replace(/\s+/g, " ").trim();
|
|
631
|
+
}
|
|
632
|
+
function xo(e, t = 1, o = ["date", "date_released"]) {
|
|
633
|
+
return (r, s) => {
|
|
634
|
+
const n = r[e], a = s[e];
|
|
635
|
+
if (n instanceof Date && a instanceof Date || o.includes(String(e))) {
|
|
636
|
+
const f = new Date(String(n));
|
|
637
|
+
return (new Date(String(a)).getTime() - f.getTime()) * t;
|
|
638
|
+
}
|
|
639
|
+
const i = parseFloat(n), l = parseFloat(a);
|
|
640
|
+
return !isNaN(i) && !isNaN(l) ? (i - l) * t : String(n).toLowerCase().replace(/\s+/g, " ").localeCompare(String(a).toLowerCase().replace(/\s+/g, " ")) * t;
|
|
641
|
+
};
|
|
642
|
+
}
|
|
643
|
+
function ko(e, t = 1) {
|
|
644
|
+
return (o, r) => {
|
|
645
|
+
for (const { key: s, compareFn: n } of e) {
|
|
646
|
+
const a = s ? o[s] ?? "" : void 0, i = s ? r[s] ?? "" : void 0;
|
|
647
|
+
let l;
|
|
648
|
+
if (n ? l = s ? n(a, i) : n(o, r) : l = ft(a, i), l !== 0) return l * t;
|
|
649
|
+
}
|
|
650
|
+
return 0;
|
|
651
|
+
};
|
|
652
|
+
}
|
|
653
|
+
function ft(e, t) {
|
|
654
|
+
const o = parseFloat(e), r = parseFloat(t);
|
|
655
|
+
if (!isNaN(o) && !isNaN(r))
|
|
656
|
+
return o - r;
|
|
657
|
+
const s = new Date(e), n = new Date(t);
|
|
658
|
+
return !isNaN(s.getTime()) && !isNaN(n.getTime()) ? s.getTime() - n.getTime() : mt.stringInsensitive(e, t);
|
|
659
|
+
}
|
|
660
|
+
const Te = "-", pt = (e) => {
|
|
661
|
+
const t = bt(e), {
|
|
662
|
+
conflictingClassGroups: o,
|
|
581
663
|
conflictingClassGroupModifiers: r
|
|
582
664
|
} = e;
|
|
583
665
|
return {
|
|
584
666
|
getClassGroupId: (a) => {
|
|
585
|
-
const i = a.split(
|
|
586
|
-
return i[0] === "" && i.length !== 1 && i.shift(),
|
|
667
|
+
const i = a.split(Te);
|
|
668
|
+
return i[0] === "" && i.length !== 1 && i.shift(), Ve(i, t) || ht(a);
|
|
587
669
|
},
|
|
588
670
|
getConflictingClassGroupIds: (a, i) => {
|
|
589
|
-
const
|
|
590
|
-
return i && r[a] ? [...
|
|
671
|
+
const l = o[a] || [];
|
|
672
|
+
return i && r[a] ? [...l, ...r[a]] : l;
|
|
591
673
|
}
|
|
592
674
|
};
|
|
593
|
-
},
|
|
675
|
+
}, Ve = (e, t) => {
|
|
594
676
|
var a;
|
|
595
677
|
if (e.length === 0)
|
|
596
678
|
return t.classGroupId;
|
|
597
|
-
const
|
|
598
|
-
if (
|
|
599
|
-
return
|
|
679
|
+
const o = e[0], r = t.nextPart.get(o), s = r ? Ve(e.slice(1), r) : void 0;
|
|
680
|
+
if (s)
|
|
681
|
+
return s;
|
|
600
682
|
if (t.validators.length === 0)
|
|
601
683
|
return;
|
|
602
|
-
const n = e.join(
|
|
684
|
+
const n = e.join(Te);
|
|
603
685
|
return (a = t.validators.find(({
|
|
604
686
|
validator: i
|
|
605
687
|
}) => i(n))) == null ? void 0 : a.classGroupId;
|
|
606
|
-
},
|
|
607
|
-
if (
|
|
608
|
-
const t =
|
|
609
|
-
if (
|
|
610
|
-
return "arbitrary.." +
|
|
688
|
+
}, ze = /^\[(.+)\]$/, ht = (e) => {
|
|
689
|
+
if (ze.test(e)) {
|
|
690
|
+
const t = ze.exec(e)[1], o = t == null ? void 0 : t.substring(0, t.indexOf(":"));
|
|
691
|
+
if (o)
|
|
692
|
+
return "arbitrary.." + o;
|
|
611
693
|
}
|
|
612
|
-
},
|
|
694
|
+
}, bt = (e) => {
|
|
613
695
|
const {
|
|
614
696
|
theme: t,
|
|
615
|
-
classGroups:
|
|
697
|
+
classGroups: o
|
|
616
698
|
} = e, r = {
|
|
617
699
|
nextPart: /* @__PURE__ */ new Map(),
|
|
618
700
|
validators: []
|
|
619
701
|
};
|
|
620
|
-
for (const
|
|
621
|
-
|
|
702
|
+
for (const s in o)
|
|
703
|
+
we(o[s], r, s, t);
|
|
622
704
|
return r;
|
|
623
|
-
},
|
|
624
|
-
e.forEach((
|
|
625
|
-
if (typeof
|
|
626
|
-
const n =
|
|
627
|
-
n.classGroupId =
|
|
705
|
+
}, we = (e, t, o, r) => {
|
|
706
|
+
e.forEach((s) => {
|
|
707
|
+
if (typeof s == "string") {
|
|
708
|
+
const n = s === "" ? t : Le(t, s);
|
|
709
|
+
n.classGroupId = o;
|
|
628
710
|
return;
|
|
629
711
|
}
|
|
630
|
-
if (typeof
|
|
631
|
-
if (
|
|
632
|
-
|
|
712
|
+
if (typeof s == "function") {
|
|
713
|
+
if (gt(s)) {
|
|
714
|
+
we(s(r), t, o, r);
|
|
633
715
|
return;
|
|
634
716
|
}
|
|
635
717
|
t.validators.push({
|
|
636
|
-
validator:
|
|
637
|
-
classGroupId:
|
|
718
|
+
validator: s,
|
|
719
|
+
classGroupId: o
|
|
638
720
|
});
|
|
639
721
|
return;
|
|
640
722
|
}
|
|
641
|
-
Object.entries(
|
|
642
|
-
|
|
723
|
+
Object.entries(s).forEach(([n, a]) => {
|
|
724
|
+
we(a, Le(t, n), o, r);
|
|
643
725
|
});
|
|
644
726
|
});
|
|
645
|
-
},
|
|
646
|
-
let
|
|
647
|
-
return t.split(
|
|
648
|
-
|
|
727
|
+
}, Le = (e, t) => {
|
|
728
|
+
let o = e;
|
|
729
|
+
return t.split(Te).forEach((r) => {
|
|
730
|
+
o.nextPart.has(r) || o.nextPart.set(r, {
|
|
649
731
|
nextPart: /* @__PURE__ */ new Map(),
|
|
650
732
|
validators: []
|
|
651
|
-
}),
|
|
652
|
-
}),
|
|
653
|
-
},
|
|
733
|
+
}), o = o.nextPart.get(r);
|
|
734
|
+
}), o;
|
|
735
|
+
}, gt = (e) => e.isThemeGetter, vt = (e) => {
|
|
654
736
|
if (e < 1)
|
|
655
737
|
return {
|
|
656
738
|
get: () => {
|
|
@@ -658,55 +740,55 @@ const xe = "-", at = (e) => {
|
|
|
658
740
|
set: () => {
|
|
659
741
|
}
|
|
660
742
|
};
|
|
661
|
-
let t = 0,
|
|
662
|
-
const
|
|
663
|
-
|
|
743
|
+
let t = 0, o = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
|
|
744
|
+
const s = (n, a) => {
|
|
745
|
+
o.set(n, a), t++, t > e && (t = 0, r = o, o = /* @__PURE__ */ new Map());
|
|
664
746
|
};
|
|
665
747
|
return {
|
|
666
748
|
get(n) {
|
|
667
|
-
let a =
|
|
749
|
+
let a = o.get(n);
|
|
668
750
|
if (a !== void 0)
|
|
669
751
|
return a;
|
|
670
752
|
if ((a = r.get(n)) !== void 0)
|
|
671
|
-
return
|
|
753
|
+
return s(n, a), a;
|
|
672
754
|
},
|
|
673
755
|
set(n, a) {
|
|
674
|
-
|
|
756
|
+
o.has(n) ? o.set(n, a) : s(n, a);
|
|
675
757
|
}
|
|
676
758
|
};
|
|
677
|
-
},
|
|
759
|
+
}, ye = "!", xe = ":", wt = xe.length, yt = (e) => {
|
|
678
760
|
const {
|
|
679
761
|
prefix: t,
|
|
680
|
-
experimentalParseClassName:
|
|
762
|
+
experimentalParseClassName: o
|
|
681
763
|
} = e;
|
|
682
|
-
let r = (
|
|
764
|
+
let r = (s) => {
|
|
683
765
|
const n = [];
|
|
684
|
-
let a = 0, i = 0,
|
|
685
|
-
for (let
|
|
686
|
-
let
|
|
766
|
+
let a = 0, i = 0, l = 0, f;
|
|
767
|
+
for (let k = 0; k < s.length; k++) {
|
|
768
|
+
let A = s[k];
|
|
687
769
|
if (a === 0 && i === 0) {
|
|
688
|
-
if (
|
|
689
|
-
n.push(
|
|
770
|
+
if (A === xe) {
|
|
771
|
+
n.push(s.slice(l, k)), l = k + wt;
|
|
690
772
|
continue;
|
|
691
773
|
}
|
|
692
|
-
if (
|
|
693
|
-
|
|
774
|
+
if (A === "/") {
|
|
775
|
+
f = k;
|
|
694
776
|
continue;
|
|
695
777
|
}
|
|
696
778
|
}
|
|
697
|
-
|
|
779
|
+
A === "[" ? a++ : A === "]" ? a-- : A === "(" ? i++ : A === ")" && i--;
|
|
698
780
|
}
|
|
699
|
-
const
|
|
781
|
+
const p = n.length === 0 ? s : s.substring(l), g = xt(p), M = g !== p, R = f && f > l ? f - l : void 0;
|
|
700
782
|
return {
|
|
701
783
|
modifiers: n,
|
|
702
|
-
hasImportantModifier:
|
|
703
|
-
baseClassName:
|
|
704
|
-
maybePostfixModifierPosition:
|
|
784
|
+
hasImportantModifier: M,
|
|
785
|
+
baseClassName: g,
|
|
786
|
+
maybePostfixModifierPosition: R
|
|
705
787
|
};
|
|
706
788
|
};
|
|
707
789
|
if (t) {
|
|
708
|
-
const
|
|
709
|
-
r = (a) => a.startsWith(
|
|
790
|
+
const s = t + xe, n = r;
|
|
791
|
+
r = (a) => a.startsWith(s) ? n(a.substring(s.length)) : {
|
|
710
792
|
isExternal: !0,
|
|
711
793
|
modifiers: [],
|
|
712
794
|
hasImportantModifier: !1,
|
|
@@ -714,122 +796,122 @@ const xe = "-", at = (e) => {
|
|
|
714
796
|
maybePostfixModifierPosition: void 0
|
|
715
797
|
};
|
|
716
798
|
}
|
|
717
|
-
if (
|
|
718
|
-
const
|
|
719
|
-
r = (n) =>
|
|
799
|
+
if (o) {
|
|
800
|
+
const s = r;
|
|
801
|
+
r = (n) => o({
|
|
720
802
|
className: n,
|
|
721
|
-
parseClassName:
|
|
803
|
+
parseClassName: s
|
|
722
804
|
});
|
|
723
805
|
}
|
|
724
806
|
return r;
|
|
725
|
-
},
|
|
807
|
+
}, xt = (e) => e.endsWith(ye) ? e.substring(0, e.length - 1) : e.startsWith(ye) ? e.substring(1) : e, kt = (e) => {
|
|
726
808
|
const t = Object.fromEntries(e.orderSensitiveModifiers.map((r) => [r, !0]));
|
|
727
809
|
return (r) => {
|
|
728
810
|
if (r.length <= 1)
|
|
729
811
|
return r;
|
|
730
|
-
const
|
|
812
|
+
const s = [];
|
|
731
813
|
let n = [];
|
|
732
814
|
return r.forEach((a) => {
|
|
733
|
-
a[0] === "[" || t[a] ? (
|
|
734
|
-
}),
|
|
815
|
+
a[0] === "[" || t[a] ? (s.push(...n.sort(), a), n = []) : n.push(a);
|
|
816
|
+
}), s.push(...n.sort()), s;
|
|
735
817
|
};
|
|
736
|
-
},
|
|
737
|
-
cache:
|
|
738
|
-
parseClassName:
|
|
739
|
-
sortModifiers:
|
|
740
|
-
...
|
|
741
|
-
}),
|
|
818
|
+
}, It = (e) => ({
|
|
819
|
+
cache: vt(e.cacheSize),
|
|
820
|
+
parseClassName: yt(e),
|
|
821
|
+
sortModifiers: kt(e),
|
|
822
|
+
...pt(e)
|
|
823
|
+
}), Tt = /\s+/, St = (e, t) => {
|
|
742
824
|
const {
|
|
743
|
-
parseClassName:
|
|
825
|
+
parseClassName: o,
|
|
744
826
|
getClassGroupId: r,
|
|
745
|
-
getConflictingClassGroupIds:
|
|
827
|
+
getConflictingClassGroupIds: s,
|
|
746
828
|
sortModifiers: n
|
|
747
|
-
} = t, a = [], i = e.trim().split(
|
|
748
|
-
let
|
|
749
|
-
for (let
|
|
750
|
-
const
|
|
751
|
-
isExternal:
|
|
752
|
-
modifiers:
|
|
753
|
-
hasImportantModifier:
|
|
754
|
-
baseClassName:
|
|
755
|
-
maybePostfixModifierPosition:
|
|
756
|
-
} =
|
|
757
|
-
if (
|
|
758
|
-
|
|
829
|
+
} = t, a = [], i = e.trim().split(Tt);
|
|
830
|
+
let l = "";
|
|
831
|
+
for (let f = i.length - 1; f >= 0; f -= 1) {
|
|
832
|
+
const p = i[f], {
|
|
833
|
+
isExternal: g,
|
|
834
|
+
modifiers: M,
|
|
835
|
+
hasImportantModifier: R,
|
|
836
|
+
baseClassName: k,
|
|
837
|
+
maybePostfixModifierPosition: A
|
|
838
|
+
} = o(p);
|
|
839
|
+
if (g) {
|
|
840
|
+
l = p + (l.length > 0 ? " " + l : l);
|
|
759
841
|
continue;
|
|
760
842
|
}
|
|
761
|
-
let F = !!
|
|
762
|
-
if (!
|
|
843
|
+
let F = !!A, O = r(F ? k.substring(0, A) : k);
|
|
844
|
+
if (!O) {
|
|
763
845
|
if (!F) {
|
|
764
|
-
|
|
846
|
+
l = p + (l.length > 0 ? " " + l : l);
|
|
765
847
|
continue;
|
|
766
848
|
}
|
|
767
|
-
if (
|
|
768
|
-
|
|
849
|
+
if (O = r(k), !O) {
|
|
850
|
+
l = p + (l.length > 0 ? " " + l : l);
|
|
769
851
|
continue;
|
|
770
852
|
}
|
|
771
853
|
F = !1;
|
|
772
854
|
}
|
|
773
|
-
const
|
|
855
|
+
const G = n(M).join(":"), z = R ? G + ye : G, N = z + O;
|
|
774
856
|
if (a.includes(N))
|
|
775
857
|
continue;
|
|
776
858
|
a.push(N);
|
|
777
|
-
const
|
|
778
|
-
for (let L = 0; L <
|
|
779
|
-
const
|
|
780
|
-
a.push(
|
|
859
|
+
const _ = s(O, F);
|
|
860
|
+
for (let L = 0; L < _.length; ++L) {
|
|
861
|
+
const w = _[L];
|
|
862
|
+
a.push(z + w);
|
|
781
863
|
}
|
|
782
|
-
|
|
864
|
+
l = p + (l.length > 0 ? " " + l : l);
|
|
783
865
|
}
|
|
784
|
-
return
|
|
866
|
+
return l;
|
|
785
867
|
};
|
|
786
|
-
function
|
|
787
|
-
let e = 0, t,
|
|
868
|
+
function Mt() {
|
|
869
|
+
let e = 0, t, o, r = "";
|
|
788
870
|
for (; e < arguments.length; )
|
|
789
|
-
(t = arguments[e++]) && (
|
|
871
|
+
(t = arguments[e++]) && (o = $e(t)) && (r && (r += " "), r += o);
|
|
790
872
|
return r;
|
|
791
873
|
}
|
|
792
|
-
const
|
|
874
|
+
const $e = (e) => {
|
|
793
875
|
if (typeof e == "string")
|
|
794
876
|
return e;
|
|
795
|
-
let t,
|
|
877
|
+
let t, o = "";
|
|
796
878
|
for (let r = 0; r < e.length; r++)
|
|
797
|
-
e[r] && (t =
|
|
798
|
-
return
|
|
879
|
+
e[r] && (t = $e(e[r])) && (o && (o += " "), o += t);
|
|
880
|
+
return o;
|
|
799
881
|
};
|
|
800
|
-
function
|
|
801
|
-
let
|
|
802
|
-
function a(
|
|
803
|
-
const
|
|
804
|
-
return
|
|
882
|
+
function At(e, ...t) {
|
|
883
|
+
let o, r, s, n = a;
|
|
884
|
+
function a(l) {
|
|
885
|
+
const f = t.reduce((p, g) => g(p), e());
|
|
886
|
+
return o = It(f), r = o.cache.get, s = o.cache.set, n = i, i(l);
|
|
805
887
|
}
|
|
806
|
-
function i(
|
|
807
|
-
const
|
|
808
|
-
if (
|
|
809
|
-
return
|
|
810
|
-
const
|
|
811
|
-
return
|
|
888
|
+
function i(l) {
|
|
889
|
+
const f = r(l);
|
|
890
|
+
if (f)
|
|
891
|
+
return f;
|
|
892
|
+
const p = St(l, o);
|
|
893
|
+
return s(l, p), p;
|
|
812
894
|
}
|
|
813
895
|
return function() {
|
|
814
|
-
return n(
|
|
896
|
+
return n(Mt.apply(null, arguments));
|
|
815
897
|
};
|
|
816
898
|
}
|
|
817
899
|
const T = (e) => {
|
|
818
|
-
const t = (
|
|
900
|
+
const t = (o) => o[e] || [];
|
|
819
901
|
return t.isThemeGetter = !0, t;
|
|
820
|
-
},
|
|
902
|
+
}, Ge = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ye = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Pt = /^\d+\/\d+$/, Dt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ct = /\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$/, Et = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ot = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, zt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, W = (e) => Pt.test(e), b = (e) => !!e && !Number.isNaN(Number(e)), Y = (e) => !!e && Number.isInteger(Number(e)), he = (e) => e.endsWith("%") && b(e.slice(0, -1)), $ = (e) => Dt.test(e), Lt = () => !0, Bt = (e) => (
|
|
821
903
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
822
904
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
823
905
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
824
|
-
|
|
825
|
-
),
|
|
826
|
-
const r =
|
|
827
|
-
return r ? r[1] ? t(r[1]) :
|
|
828
|
-
},
|
|
829
|
-
const r =
|
|
830
|
-
return r ? r[1] ? t(r[1]) :
|
|
831
|
-
},
|
|
832
|
-
const e = T("color"), t = T("font"),
|
|
906
|
+
Ct.test(e) && !Et.test(e)
|
|
907
|
+
), je = () => !1, Rt = (e) => Ot.test(e), Ft = (e) => zt.test(e), Nt = (e) => !u(e) && !d(e), _t = (e) => X(e, Ue, je), u = (e) => Ge.test(e), K = (e) => X(e, We, Bt), be = (e) => X(e, jt, b), Be = (e) => X(e, Ke, je), Vt = (e) => X(e, He, Ft), le = (e) => X(e, qe, Rt), d = (e) => Ye.test(e), te = (e) => Z(e, We), $t = (e) => Z(e, Kt), Re = (e) => Z(e, Ke), Gt = (e) => Z(e, Ue), Yt = (e) => Z(e, He), ce = (e) => Z(e, qe, !0), X = (e, t, o) => {
|
|
908
|
+
const r = Ge.exec(e);
|
|
909
|
+
return r ? r[1] ? t(r[1]) : o(r[2]) : !1;
|
|
910
|
+
}, Z = (e, t, o = !1) => {
|
|
911
|
+
const r = Ye.exec(e);
|
|
912
|
+
return r ? r[1] ? t(r[1]) : o : !1;
|
|
913
|
+
}, Ke = (e) => e === "position" || e === "percentage", He = (e) => e === "image" || e === "url", Ue = (e) => e === "length" || e === "size" || e === "bg-size", We = (e) => e === "length", jt = (e) => e === "number", Kt = (e) => e === "family-name", qe = (e) => e === "shadow", Ht = () => {
|
|
914
|
+
const e = T("color"), t = T("font"), o = T("text"), r = T("font-weight"), s = T("tracking"), n = T("leading"), a = T("breakpoint"), i = T("container"), l = T("spacing"), f = T("radius"), p = T("shadow"), g = T("inset-shadow"), M = T("text-shadow"), R = T("drop-shadow"), k = T("blur"), A = T("perspective"), F = T("aspect"), O = T("ease"), G = T("animate"), z = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], N = () => [
|
|
833
915
|
"center",
|
|
834
916
|
"top",
|
|
835
917
|
"bottom",
|
|
@@ -847,51 +929,51 @@ const T = (e) => {
|
|
|
847
929
|
"bottom-left",
|
|
848
930
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
849
931
|
"left-bottom"
|
|
850
|
-
],
|
|
851
|
-
span: ["full",
|
|
852
|
-
},
|
|
853
|
-
position: [
|
|
854
|
-
}],
|
|
932
|
+
], _ = () => [...N(), d, u], L = () => ["auto", "hidden", "clip", "visible", "scroll"], w = () => ["auto", "contain", "none"], c = () => [d, u, l], v = () => [W, "full", "auto", ...c()], V = () => [Y, "none", "subgrid", d, u], Q = () => ["auto", {
|
|
933
|
+
span: ["full", Y, d, u]
|
|
934
|
+
}, Y, d, u], j = () => [Y, "auto", d, u], ee = () => ["auto", "min", "max", "fr", d, u], h = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], I = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], x = () => ["auto", ...c()], P = () => [W, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...c()], m = () => [e, d, u], U = () => [...N(), Re, Be, {
|
|
935
|
+
position: [d, u]
|
|
936
|
+
}], B = () => ["no-repeat", {
|
|
855
937
|
repeat: ["", "x", "y", "space", "round"]
|
|
856
|
-
}],
|
|
857
|
-
size: [
|
|
858
|
-
}], de = () => [
|
|
938
|
+
}], Se = () => ["auto", "cover", "contain", Gt, _t, {
|
|
939
|
+
size: [d, u]
|
|
940
|
+
}], de = () => [he, te, K], D = () => [
|
|
859
941
|
// Deprecated since Tailwind CSS v4.0.0
|
|
860
942
|
"",
|
|
861
943
|
"none",
|
|
862
944
|
"full",
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
],
|
|
945
|
+
f,
|
|
946
|
+
d,
|
|
947
|
+
u
|
|
948
|
+
], C = () => ["", b, te, K], re = () => ["solid", "dashed", "dotted", "double"], Me = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], S = () => [b, he, Re, Be], Ae = () => [
|
|
867
949
|
// Deprecated since Tailwind CSS v4.0.0
|
|
868
950
|
"",
|
|
869
951
|
"none",
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
], ne = () => ["none",
|
|
952
|
+
k,
|
|
953
|
+
d,
|
|
954
|
+
u
|
|
955
|
+
], ne = () => ["none", b, d, u], ae = () => ["none", b, d, u], me = () => [b, d, u], ie = () => [W, "full", ...c()];
|
|
874
956
|
return {
|
|
875
957
|
cacheSize: 500,
|
|
876
958
|
theme: {
|
|
877
959
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
878
960
|
aspect: ["video"],
|
|
879
|
-
blur: [
|
|
880
|
-
breakpoint: [
|
|
881
|
-
color: [
|
|
882
|
-
container: [
|
|
883
|
-
"drop-shadow": [
|
|
961
|
+
blur: [$],
|
|
962
|
+
breakpoint: [$],
|
|
963
|
+
color: [Lt],
|
|
964
|
+
container: [$],
|
|
965
|
+
"drop-shadow": [$],
|
|
884
966
|
ease: ["in", "out", "in-out"],
|
|
885
|
-
font: [
|
|
967
|
+
font: [Nt],
|
|
886
968
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
887
|
-
"inset-shadow": [
|
|
969
|
+
"inset-shadow": [$],
|
|
888
970
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
889
971
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
890
|
-
radius: [
|
|
891
|
-
shadow: [
|
|
892
|
-
spacing: ["px",
|
|
893
|
-
text: [
|
|
894
|
-
"text-shadow": [
|
|
972
|
+
radius: [$],
|
|
973
|
+
shadow: [$],
|
|
974
|
+
spacing: ["px", b],
|
|
975
|
+
text: [$],
|
|
976
|
+
"text-shadow": [$],
|
|
895
977
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
896
978
|
},
|
|
897
979
|
classGroups: {
|
|
@@ -903,7 +985,7 @@ const T = (e) => {
|
|
|
903
985
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
904
986
|
*/
|
|
905
987
|
aspect: [{
|
|
906
|
-
aspect: ["auto", "square", W,
|
|
988
|
+
aspect: ["auto", "square", W, u, d, F]
|
|
907
989
|
}],
|
|
908
990
|
/**
|
|
909
991
|
* Container
|
|
@@ -916,21 +998,21 @@ const T = (e) => {
|
|
|
916
998
|
* @see https://tailwindcss.com/docs/columns
|
|
917
999
|
*/
|
|
918
1000
|
columns: [{
|
|
919
|
-
columns: [
|
|
1001
|
+
columns: [b, u, d, i]
|
|
920
1002
|
}],
|
|
921
1003
|
/**
|
|
922
1004
|
* Break After
|
|
923
1005
|
* @see https://tailwindcss.com/docs/break-after
|
|
924
1006
|
*/
|
|
925
1007
|
"break-after": [{
|
|
926
|
-
"break-after":
|
|
1008
|
+
"break-after": z()
|
|
927
1009
|
}],
|
|
928
1010
|
/**
|
|
929
1011
|
* Break Before
|
|
930
1012
|
* @see https://tailwindcss.com/docs/break-before
|
|
931
1013
|
*/
|
|
932
1014
|
"break-before": [{
|
|
933
|
-
"break-before":
|
|
1015
|
+
"break-before": z()
|
|
934
1016
|
}],
|
|
935
1017
|
/**
|
|
936
1018
|
* Break Inside
|
|
@@ -994,7 +1076,7 @@ const T = (e) => {
|
|
|
994
1076
|
* @see https://tailwindcss.com/docs/object-position
|
|
995
1077
|
*/
|
|
996
1078
|
"object-position": [{
|
|
997
|
-
object:
|
|
1079
|
+
object: _()
|
|
998
1080
|
}],
|
|
999
1081
|
/**
|
|
1000
1082
|
* Overflow
|
|
@@ -1022,21 +1104,21 @@ const T = (e) => {
|
|
|
1022
1104
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1023
1105
|
*/
|
|
1024
1106
|
overscroll: [{
|
|
1025
|
-
overscroll:
|
|
1107
|
+
overscroll: w()
|
|
1026
1108
|
}],
|
|
1027
1109
|
/**
|
|
1028
1110
|
* Overscroll Behavior X
|
|
1029
1111
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1030
1112
|
*/
|
|
1031
1113
|
"overscroll-x": [{
|
|
1032
|
-
"overscroll-x":
|
|
1114
|
+
"overscroll-x": w()
|
|
1033
1115
|
}],
|
|
1034
1116
|
/**
|
|
1035
1117
|
* Overscroll Behavior Y
|
|
1036
1118
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1037
1119
|
*/
|
|
1038
1120
|
"overscroll-y": [{
|
|
1039
|
-
"overscroll-y":
|
|
1121
|
+
"overscroll-y": w()
|
|
1040
1122
|
}],
|
|
1041
1123
|
/**
|
|
1042
1124
|
* Position
|
|
@@ -1048,63 +1130,63 @@ const T = (e) => {
|
|
|
1048
1130
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1049
1131
|
*/
|
|
1050
1132
|
inset: [{
|
|
1051
|
-
inset:
|
|
1133
|
+
inset: v()
|
|
1052
1134
|
}],
|
|
1053
1135
|
/**
|
|
1054
1136
|
* Right / Left
|
|
1055
1137
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1056
1138
|
*/
|
|
1057
1139
|
"inset-x": [{
|
|
1058
|
-
"inset-x":
|
|
1140
|
+
"inset-x": v()
|
|
1059
1141
|
}],
|
|
1060
1142
|
/**
|
|
1061
1143
|
* Top / Bottom
|
|
1062
1144
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1063
1145
|
*/
|
|
1064
1146
|
"inset-y": [{
|
|
1065
|
-
"inset-y":
|
|
1147
|
+
"inset-y": v()
|
|
1066
1148
|
}],
|
|
1067
1149
|
/**
|
|
1068
1150
|
* Start
|
|
1069
1151
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1070
1152
|
*/
|
|
1071
1153
|
start: [{
|
|
1072
|
-
start:
|
|
1154
|
+
start: v()
|
|
1073
1155
|
}],
|
|
1074
1156
|
/**
|
|
1075
1157
|
* End
|
|
1076
1158
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1077
1159
|
*/
|
|
1078
1160
|
end: [{
|
|
1079
|
-
end:
|
|
1161
|
+
end: v()
|
|
1080
1162
|
}],
|
|
1081
1163
|
/**
|
|
1082
1164
|
* Top
|
|
1083
1165
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1084
1166
|
*/
|
|
1085
1167
|
top: [{
|
|
1086
|
-
top:
|
|
1168
|
+
top: v()
|
|
1087
1169
|
}],
|
|
1088
1170
|
/**
|
|
1089
1171
|
* Right
|
|
1090
1172
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1091
1173
|
*/
|
|
1092
1174
|
right: [{
|
|
1093
|
-
right:
|
|
1175
|
+
right: v()
|
|
1094
1176
|
}],
|
|
1095
1177
|
/**
|
|
1096
1178
|
* Bottom
|
|
1097
1179
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1098
1180
|
*/
|
|
1099
1181
|
bottom: [{
|
|
1100
|
-
bottom:
|
|
1182
|
+
bottom: v()
|
|
1101
1183
|
}],
|
|
1102
1184
|
/**
|
|
1103
1185
|
* Left
|
|
1104
1186
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1105
1187
|
*/
|
|
1106
1188
|
left: [{
|
|
1107
|
-
left:
|
|
1189
|
+
left: v()
|
|
1108
1190
|
}],
|
|
1109
1191
|
/**
|
|
1110
1192
|
* Visibility
|
|
@@ -1116,7 +1198,7 @@ const T = (e) => {
|
|
|
1116
1198
|
* @see https://tailwindcss.com/docs/z-index
|
|
1117
1199
|
*/
|
|
1118
1200
|
z: [{
|
|
1119
|
-
z: [
|
|
1201
|
+
z: [Y, "auto", d, u]
|
|
1120
1202
|
}],
|
|
1121
1203
|
// ------------------------
|
|
1122
1204
|
// --- Flexbox and Grid ---
|
|
@@ -1126,7 +1208,7 @@ const T = (e) => {
|
|
|
1126
1208
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
1127
1209
|
*/
|
|
1128
1210
|
basis: [{
|
|
1129
|
-
basis: [W, "full", "auto", i, ...
|
|
1211
|
+
basis: [W, "full", "auto", i, ...c()]
|
|
1130
1212
|
}],
|
|
1131
1213
|
/**
|
|
1132
1214
|
* Flex Direction
|
|
@@ -1147,84 +1229,84 @@ const T = (e) => {
|
|
|
1147
1229
|
* @see https://tailwindcss.com/docs/flex
|
|
1148
1230
|
*/
|
|
1149
1231
|
flex: [{
|
|
1150
|
-
flex: [
|
|
1232
|
+
flex: [b, W, "auto", "initial", "none", u]
|
|
1151
1233
|
}],
|
|
1152
1234
|
/**
|
|
1153
1235
|
* Flex Grow
|
|
1154
1236
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
1155
1237
|
*/
|
|
1156
1238
|
grow: [{
|
|
1157
|
-
grow: ["",
|
|
1239
|
+
grow: ["", b, d, u]
|
|
1158
1240
|
}],
|
|
1159
1241
|
/**
|
|
1160
1242
|
* Flex Shrink
|
|
1161
1243
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1162
1244
|
*/
|
|
1163
1245
|
shrink: [{
|
|
1164
|
-
shrink: ["",
|
|
1246
|
+
shrink: ["", b, d, u]
|
|
1165
1247
|
}],
|
|
1166
1248
|
/**
|
|
1167
1249
|
* Order
|
|
1168
1250
|
* @see https://tailwindcss.com/docs/order
|
|
1169
1251
|
*/
|
|
1170
1252
|
order: [{
|
|
1171
|
-
order: [
|
|
1253
|
+
order: [Y, "first", "last", "none", d, u]
|
|
1172
1254
|
}],
|
|
1173
1255
|
/**
|
|
1174
1256
|
* Grid Template Columns
|
|
1175
1257
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1176
1258
|
*/
|
|
1177
1259
|
"grid-cols": [{
|
|
1178
|
-
"grid-cols":
|
|
1260
|
+
"grid-cols": V()
|
|
1179
1261
|
}],
|
|
1180
1262
|
/**
|
|
1181
1263
|
* Grid Column Start / End
|
|
1182
1264
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1183
1265
|
*/
|
|
1184
1266
|
"col-start-end": [{
|
|
1185
|
-
col:
|
|
1267
|
+
col: Q()
|
|
1186
1268
|
}],
|
|
1187
1269
|
/**
|
|
1188
1270
|
* Grid Column Start
|
|
1189
1271
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1190
1272
|
*/
|
|
1191
1273
|
"col-start": [{
|
|
1192
|
-
"col-start":
|
|
1274
|
+
"col-start": j()
|
|
1193
1275
|
}],
|
|
1194
1276
|
/**
|
|
1195
1277
|
* Grid Column End
|
|
1196
1278
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1197
1279
|
*/
|
|
1198
1280
|
"col-end": [{
|
|
1199
|
-
"col-end":
|
|
1281
|
+
"col-end": j()
|
|
1200
1282
|
}],
|
|
1201
1283
|
/**
|
|
1202
1284
|
* Grid Template Rows
|
|
1203
1285
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1204
1286
|
*/
|
|
1205
1287
|
"grid-rows": [{
|
|
1206
|
-
"grid-rows":
|
|
1288
|
+
"grid-rows": V()
|
|
1207
1289
|
}],
|
|
1208
1290
|
/**
|
|
1209
1291
|
* Grid Row Start / End
|
|
1210
1292
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1211
1293
|
*/
|
|
1212
1294
|
"row-start-end": [{
|
|
1213
|
-
row:
|
|
1295
|
+
row: Q()
|
|
1214
1296
|
}],
|
|
1215
1297
|
/**
|
|
1216
1298
|
* Grid Row Start
|
|
1217
1299
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1218
1300
|
*/
|
|
1219
1301
|
"row-start": [{
|
|
1220
|
-
"row-start":
|
|
1302
|
+
"row-start": j()
|
|
1221
1303
|
}],
|
|
1222
1304
|
/**
|
|
1223
1305
|
* Grid Row End
|
|
1224
1306
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1225
1307
|
*/
|
|
1226
1308
|
"row-end": [{
|
|
1227
|
-
"row-end":
|
|
1309
|
+
"row-end": j()
|
|
1228
1310
|
}],
|
|
1229
1311
|
/**
|
|
1230
1312
|
* Grid Auto Flow
|
|
@@ -1238,42 +1320,42 @@ const T = (e) => {
|
|
|
1238
1320
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1239
1321
|
*/
|
|
1240
1322
|
"auto-cols": [{
|
|
1241
|
-
"auto-cols":
|
|
1323
|
+
"auto-cols": ee()
|
|
1242
1324
|
}],
|
|
1243
1325
|
/**
|
|
1244
1326
|
* Grid Auto Rows
|
|
1245
1327
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1246
1328
|
*/
|
|
1247
1329
|
"auto-rows": [{
|
|
1248
|
-
"auto-rows":
|
|
1330
|
+
"auto-rows": ee()
|
|
1249
1331
|
}],
|
|
1250
1332
|
/**
|
|
1251
1333
|
* Gap
|
|
1252
1334
|
* @see https://tailwindcss.com/docs/gap
|
|
1253
1335
|
*/
|
|
1254
1336
|
gap: [{
|
|
1255
|
-
gap:
|
|
1337
|
+
gap: c()
|
|
1256
1338
|
}],
|
|
1257
1339
|
/**
|
|
1258
1340
|
* Gap X
|
|
1259
1341
|
* @see https://tailwindcss.com/docs/gap
|
|
1260
1342
|
*/
|
|
1261
1343
|
"gap-x": [{
|
|
1262
|
-
"gap-x":
|
|
1344
|
+
"gap-x": c()
|
|
1263
1345
|
}],
|
|
1264
1346
|
/**
|
|
1265
1347
|
* Gap Y
|
|
1266
1348
|
* @see https://tailwindcss.com/docs/gap
|
|
1267
1349
|
*/
|
|
1268
1350
|
"gap-y": [{
|
|
1269
|
-
"gap-y":
|
|
1351
|
+
"gap-y": c()
|
|
1270
1352
|
}],
|
|
1271
1353
|
/**
|
|
1272
1354
|
* Justify Content
|
|
1273
1355
|
* @see https://tailwindcss.com/docs/justify-content
|
|
1274
1356
|
*/
|
|
1275
1357
|
"justify-content": [{
|
|
1276
|
-
justify: [...
|
|
1358
|
+
justify: [...h(), "normal"]
|
|
1277
1359
|
}],
|
|
1278
1360
|
/**
|
|
1279
1361
|
* Justify Items
|
|
@@ -1294,7 +1376,7 @@ const T = (e) => {
|
|
|
1294
1376
|
* @see https://tailwindcss.com/docs/align-content
|
|
1295
1377
|
*/
|
|
1296
1378
|
"align-content": [{
|
|
1297
|
-
content: ["normal", ...
|
|
1379
|
+
content: ["normal", ...h()]
|
|
1298
1380
|
}],
|
|
1299
1381
|
/**
|
|
1300
1382
|
* Align Items
|
|
@@ -1319,7 +1401,7 @@ const T = (e) => {
|
|
|
1319
1401
|
* @see https://tailwindcss.com/docs/place-content
|
|
1320
1402
|
*/
|
|
1321
1403
|
"place-content": [{
|
|
1322
|
-
"place-content":
|
|
1404
|
+
"place-content": h()
|
|
1323
1405
|
}],
|
|
1324
1406
|
/**
|
|
1325
1407
|
* Place Items
|
|
@@ -1341,133 +1423,133 @@ const T = (e) => {
|
|
|
1341
1423
|
* @see https://tailwindcss.com/docs/padding
|
|
1342
1424
|
*/
|
|
1343
1425
|
p: [{
|
|
1344
|
-
p:
|
|
1426
|
+
p: c()
|
|
1345
1427
|
}],
|
|
1346
1428
|
/**
|
|
1347
1429
|
* Padding X
|
|
1348
1430
|
* @see https://tailwindcss.com/docs/padding
|
|
1349
1431
|
*/
|
|
1350
1432
|
px: [{
|
|
1351
|
-
px:
|
|
1433
|
+
px: c()
|
|
1352
1434
|
}],
|
|
1353
1435
|
/**
|
|
1354
1436
|
* Padding Y
|
|
1355
1437
|
* @see https://tailwindcss.com/docs/padding
|
|
1356
1438
|
*/
|
|
1357
1439
|
py: [{
|
|
1358
|
-
py:
|
|
1440
|
+
py: c()
|
|
1359
1441
|
}],
|
|
1360
1442
|
/**
|
|
1361
1443
|
* Padding Start
|
|
1362
1444
|
* @see https://tailwindcss.com/docs/padding
|
|
1363
1445
|
*/
|
|
1364
1446
|
ps: [{
|
|
1365
|
-
ps:
|
|
1447
|
+
ps: c()
|
|
1366
1448
|
}],
|
|
1367
1449
|
/**
|
|
1368
1450
|
* Padding End
|
|
1369
1451
|
* @see https://tailwindcss.com/docs/padding
|
|
1370
1452
|
*/
|
|
1371
1453
|
pe: [{
|
|
1372
|
-
pe:
|
|
1454
|
+
pe: c()
|
|
1373
1455
|
}],
|
|
1374
1456
|
/**
|
|
1375
1457
|
* Padding Top
|
|
1376
1458
|
* @see https://tailwindcss.com/docs/padding
|
|
1377
1459
|
*/
|
|
1378
1460
|
pt: [{
|
|
1379
|
-
pt:
|
|
1461
|
+
pt: c()
|
|
1380
1462
|
}],
|
|
1381
1463
|
/**
|
|
1382
1464
|
* Padding Right
|
|
1383
1465
|
* @see https://tailwindcss.com/docs/padding
|
|
1384
1466
|
*/
|
|
1385
1467
|
pr: [{
|
|
1386
|
-
pr:
|
|
1468
|
+
pr: c()
|
|
1387
1469
|
}],
|
|
1388
1470
|
/**
|
|
1389
1471
|
* Padding Bottom
|
|
1390
1472
|
* @see https://tailwindcss.com/docs/padding
|
|
1391
1473
|
*/
|
|
1392
1474
|
pb: [{
|
|
1393
|
-
pb:
|
|
1475
|
+
pb: c()
|
|
1394
1476
|
}],
|
|
1395
1477
|
/**
|
|
1396
1478
|
* Padding Left
|
|
1397
1479
|
* @see https://tailwindcss.com/docs/padding
|
|
1398
1480
|
*/
|
|
1399
1481
|
pl: [{
|
|
1400
|
-
pl:
|
|
1482
|
+
pl: c()
|
|
1401
1483
|
}],
|
|
1402
1484
|
/**
|
|
1403
1485
|
* Margin
|
|
1404
1486
|
* @see https://tailwindcss.com/docs/margin
|
|
1405
1487
|
*/
|
|
1406
1488
|
m: [{
|
|
1407
|
-
m:
|
|
1489
|
+
m: x()
|
|
1408
1490
|
}],
|
|
1409
1491
|
/**
|
|
1410
1492
|
* Margin X
|
|
1411
1493
|
* @see https://tailwindcss.com/docs/margin
|
|
1412
1494
|
*/
|
|
1413
1495
|
mx: [{
|
|
1414
|
-
mx:
|
|
1496
|
+
mx: x()
|
|
1415
1497
|
}],
|
|
1416
1498
|
/**
|
|
1417
1499
|
* Margin Y
|
|
1418
1500
|
* @see https://tailwindcss.com/docs/margin
|
|
1419
1501
|
*/
|
|
1420
1502
|
my: [{
|
|
1421
|
-
my:
|
|
1503
|
+
my: x()
|
|
1422
1504
|
}],
|
|
1423
1505
|
/**
|
|
1424
1506
|
* Margin Start
|
|
1425
1507
|
* @see https://tailwindcss.com/docs/margin
|
|
1426
1508
|
*/
|
|
1427
1509
|
ms: [{
|
|
1428
|
-
ms:
|
|
1510
|
+
ms: x()
|
|
1429
1511
|
}],
|
|
1430
1512
|
/**
|
|
1431
1513
|
* Margin End
|
|
1432
1514
|
* @see https://tailwindcss.com/docs/margin
|
|
1433
1515
|
*/
|
|
1434
1516
|
me: [{
|
|
1435
|
-
me:
|
|
1517
|
+
me: x()
|
|
1436
1518
|
}],
|
|
1437
1519
|
/**
|
|
1438
1520
|
* Margin Top
|
|
1439
1521
|
* @see https://tailwindcss.com/docs/margin
|
|
1440
1522
|
*/
|
|
1441
1523
|
mt: [{
|
|
1442
|
-
mt:
|
|
1524
|
+
mt: x()
|
|
1443
1525
|
}],
|
|
1444
1526
|
/**
|
|
1445
1527
|
* Margin Right
|
|
1446
1528
|
* @see https://tailwindcss.com/docs/margin
|
|
1447
1529
|
*/
|
|
1448
1530
|
mr: [{
|
|
1449
|
-
mr:
|
|
1531
|
+
mr: x()
|
|
1450
1532
|
}],
|
|
1451
1533
|
/**
|
|
1452
1534
|
* Margin Bottom
|
|
1453
1535
|
* @see https://tailwindcss.com/docs/margin
|
|
1454
1536
|
*/
|
|
1455
1537
|
mb: [{
|
|
1456
|
-
mb:
|
|
1538
|
+
mb: x()
|
|
1457
1539
|
}],
|
|
1458
1540
|
/**
|
|
1459
1541
|
* Margin Left
|
|
1460
1542
|
* @see https://tailwindcss.com/docs/margin
|
|
1461
1543
|
*/
|
|
1462
1544
|
ml: [{
|
|
1463
|
-
ml:
|
|
1545
|
+
ml: x()
|
|
1464
1546
|
}],
|
|
1465
1547
|
/**
|
|
1466
1548
|
* Space Between X
|
|
1467
1549
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1468
1550
|
*/
|
|
1469
1551
|
"space-x": [{
|
|
1470
|
-
"space-x":
|
|
1552
|
+
"space-x": c()
|
|
1471
1553
|
}],
|
|
1472
1554
|
/**
|
|
1473
1555
|
* Space Between X Reverse
|
|
@@ -1479,7 +1561,7 @@ const T = (e) => {
|
|
|
1479
1561
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1480
1562
|
*/
|
|
1481
1563
|
"space-y": [{
|
|
1482
|
-
"space-y":
|
|
1564
|
+
"space-y": c()
|
|
1483
1565
|
}],
|
|
1484
1566
|
/**
|
|
1485
1567
|
* Space Between Y Reverse
|
|
@@ -1494,14 +1576,14 @@ const T = (e) => {
|
|
|
1494
1576
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1495
1577
|
*/
|
|
1496
1578
|
size: [{
|
|
1497
|
-
size:
|
|
1579
|
+
size: P()
|
|
1498
1580
|
}],
|
|
1499
1581
|
/**
|
|
1500
1582
|
* Width
|
|
1501
1583
|
* @see https://tailwindcss.com/docs/width
|
|
1502
1584
|
*/
|
|
1503
1585
|
w: [{
|
|
1504
|
-
w: [i, "screen", ...
|
|
1586
|
+
w: [i, "screen", ...P()]
|
|
1505
1587
|
}],
|
|
1506
1588
|
/**
|
|
1507
1589
|
* Min-Width
|
|
@@ -1513,7 +1595,7 @@ const T = (e) => {
|
|
|
1513
1595
|
"screen",
|
|
1514
1596
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1515
1597
|
"none",
|
|
1516
|
-
...
|
|
1598
|
+
...P()
|
|
1517
1599
|
]
|
|
1518
1600
|
}],
|
|
1519
1601
|
/**
|
|
@@ -1531,7 +1613,7 @@ const T = (e) => {
|
|
|
1531
1613
|
{
|
|
1532
1614
|
screen: [a]
|
|
1533
1615
|
},
|
|
1534
|
-
...
|
|
1616
|
+
...P()
|
|
1535
1617
|
]
|
|
1536
1618
|
}],
|
|
1537
1619
|
/**
|
|
@@ -1539,21 +1621,21 @@ const T = (e) => {
|
|
|
1539
1621
|
* @see https://tailwindcss.com/docs/height
|
|
1540
1622
|
*/
|
|
1541
1623
|
h: [{
|
|
1542
|
-
h: ["screen", "lh", ...
|
|
1624
|
+
h: ["screen", "lh", ...P()]
|
|
1543
1625
|
}],
|
|
1544
1626
|
/**
|
|
1545
1627
|
* Min-Height
|
|
1546
1628
|
* @see https://tailwindcss.com/docs/min-height
|
|
1547
1629
|
*/
|
|
1548
1630
|
"min-h": [{
|
|
1549
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1631
|
+
"min-h": ["screen", "lh", "none", ...P()]
|
|
1550
1632
|
}],
|
|
1551
1633
|
/**
|
|
1552
1634
|
* Max-Height
|
|
1553
1635
|
* @see https://tailwindcss.com/docs/max-height
|
|
1554
1636
|
*/
|
|
1555
1637
|
"max-h": [{
|
|
1556
|
-
"max-h": ["screen", "lh", ...
|
|
1638
|
+
"max-h": ["screen", "lh", ...P()]
|
|
1557
1639
|
}],
|
|
1558
1640
|
// ------------------
|
|
1559
1641
|
// --- Typography ---
|
|
@@ -1563,7 +1645,7 @@ const T = (e) => {
|
|
|
1563
1645
|
* @see https://tailwindcss.com/docs/font-size
|
|
1564
1646
|
*/
|
|
1565
1647
|
"font-size": [{
|
|
1566
|
-
text: ["base",
|
|
1648
|
+
text: ["base", o, te, K]
|
|
1567
1649
|
}],
|
|
1568
1650
|
/**
|
|
1569
1651
|
* Font Smoothing
|
|
@@ -1580,21 +1662,21 @@ const T = (e) => {
|
|
|
1580
1662
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1581
1663
|
*/
|
|
1582
1664
|
"font-weight": [{
|
|
1583
|
-
font: [r,
|
|
1665
|
+
font: [r, d, be]
|
|
1584
1666
|
}],
|
|
1585
1667
|
/**
|
|
1586
1668
|
* Font Stretch
|
|
1587
1669
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1588
1670
|
*/
|
|
1589
1671
|
"font-stretch": [{
|
|
1590
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1672
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", he, u]
|
|
1591
1673
|
}],
|
|
1592
1674
|
/**
|
|
1593
1675
|
* Font Family
|
|
1594
1676
|
* @see https://tailwindcss.com/docs/font-family
|
|
1595
1677
|
*/
|
|
1596
1678
|
"font-family": [{
|
|
1597
|
-
font: [
|
|
1679
|
+
font: [$t, u, t]
|
|
1598
1680
|
}],
|
|
1599
1681
|
/**
|
|
1600
1682
|
* Font Variant Numeric
|
|
@@ -1631,14 +1713,14 @@ const T = (e) => {
|
|
|
1631
1713
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1632
1714
|
*/
|
|
1633
1715
|
tracking: [{
|
|
1634
|
-
tracking: [
|
|
1716
|
+
tracking: [s, d, u]
|
|
1635
1717
|
}],
|
|
1636
1718
|
/**
|
|
1637
1719
|
* Line Clamp
|
|
1638
1720
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1639
1721
|
*/
|
|
1640
1722
|
"line-clamp": [{
|
|
1641
|
-
"line-clamp": [
|
|
1723
|
+
"line-clamp": [b, "none", d, be]
|
|
1642
1724
|
}],
|
|
1643
1725
|
/**
|
|
1644
1726
|
* Line Height
|
|
@@ -1648,7 +1730,7 @@ const T = (e) => {
|
|
|
1648
1730
|
leading: [
|
|
1649
1731
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1650
1732
|
n,
|
|
1651
|
-
...
|
|
1733
|
+
...c()
|
|
1652
1734
|
]
|
|
1653
1735
|
}],
|
|
1654
1736
|
/**
|
|
@@ -1656,7 +1738,7 @@ const T = (e) => {
|
|
|
1656
1738
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1657
1739
|
*/
|
|
1658
1740
|
"list-image": [{
|
|
1659
|
-
"list-image": ["none",
|
|
1741
|
+
"list-image": ["none", d, u]
|
|
1660
1742
|
}],
|
|
1661
1743
|
/**
|
|
1662
1744
|
* List Style Position
|
|
@@ -1670,7 +1752,7 @@ const T = (e) => {
|
|
|
1670
1752
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1671
1753
|
*/
|
|
1672
1754
|
"list-style-type": [{
|
|
1673
|
-
list: ["disc", "decimal", "none",
|
|
1755
|
+
list: ["disc", "decimal", "none", d, u]
|
|
1674
1756
|
}],
|
|
1675
1757
|
/**
|
|
1676
1758
|
* Text Alignment
|
|
@@ -1685,14 +1767,14 @@ const T = (e) => {
|
|
|
1685
1767
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1686
1768
|
*/
|
|
1687
1769
|
"placeholder-color": [{
|
|
1688
|
-
placeholder:
|
|
1770
|
+
placeholder: m()
|
|
1689
1771
|
}],
|
|
1690
1772
|
/**
|
|
1691
1773
|
* Text Color
|
|
1692
1774
|
* @see https://tailwindcss.com/docs/text-color
|
|
1693
1775
|
*/
|
|
1694
1776
|
"text-color": [{
|
|
1695
|
-
text:
|
|
1777
|
+
text: m()
|
|
1696
1778
|
}],
|
|
1697
1779
|
/**
|
|
1698
1780
|
* Text Decoration
|
|
@@ -1711,21 +1793,21 @@ const T = (e) => {
|
|
|
1711
1793
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1712
1794
|
*/
|
|
1713
1795
|
"text-decoration-thickness": [{
|
|
1714
|
-
decoration: [
|
|
1796
|
+
decoration: [b, "from-font", "auto", d, K]
|
|
1715
1797
|
}],
|
|
1716
1798
|
/**
|
|
1717
1799
|
* Text Decoration Color
|
|
1718
1800
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1719
1801
|
*/
|
|
1720
1802
|
"text-decoration-color": [{
|
|
1721
|
-
decoration:
|
|
1803
|
+
decoration: m()
|
|
1722
1804
|
}],
|
|
1723
1805
|
/**
|
|
1724
1806
|
* Text Underline Offset
|
|
1725
1807
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1726
1808
|
*/
|
|
1727
1809
|
"underline-offset": [{
|
|
1728
|
-
"underline-offset": [
|
|
1810
|
+
"underline-offset": [b, "auto", d, u]
|
|
1729
1811
|
}],
|
|
1730
1812
|
/**
|
|
1731
1813
|
* Text Transform
|
|
@@ -1749,14 +1831,14 @@ const T = (e) => {
|
|
|
1749
1831
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1750
1832
|
*/
|
|
1751
1833
|
indent: [{
|
|
1752
|
-
indent:
|
|
1834
|
+
indent: c()
|
|
1753
1835
|
}],
|
|
1754
1836
|
/**
|
|
1755
1837
|
* Vertical Alignment
|
|
1756
1838
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1757
1839
|
*/
|
|
1758
1840
|
"vertical-align": [{
|
|
1759
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1841
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", d, u]
|
|
1760
1842
|
}],
|
|
1761
1843
|
/**
|
|
1762
1844
|
* Whitespace
|
|
@@ -1791,7 +1873,7 @@ const T = (e) => {
|
|
|
1791
1873
|
* @see https://tailwindcss.com/docs/content
|
|
1792
1874
|
*/
|
|
1793
1875
|
content: [{
|
|
1794
|
-
content: ["none",
|
|
1876
|
+
content: ["none", d, u]
|
|
1795
1877
|
}],
|
|
1796
1878
|
// -------------------
|
|
1797
1879
|
// --- Backgrounds ---
|
|
@@ -1822,21 +1904,21 @@ const T = (e) => {
|
|
|
1822
1904
|
* @see https://tailwindcss.com/docs/background-position
|
|
1823
1905
|
*/
|
|
1824
1906
|
"bg-position": [{
|
|
1825
|
-
bg:
|
|
1907
|
+
bg: U()
|
|
1826
1908
|
}],
|
|
1827
1909
|
/**
|
|
1828
1910
|
* Background Repeat
|
|
1829
1911
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1830
1912
|
*/
|
|
1831
1913
|
"bg-repeat": [{
|
|
1832
|
-
bg:
|
|
1914
|
+
bg: B()
|
|
1833
1915
|
}],
|
|
1834
1916
|
/**
|
|
1835
1917
|
* Background Size
|
|
1836
1918
|
* @see https://tailwindcss.com/docs/background-size
|
|
1837
1919
|
*/
|
|
1838
1920
|
"bg-size": [{
|
|
1839
|
-
bg:
|
|
1921
|
+
bg: Se()
|
|
1840
1922
|
}],
|
|
1841
1923
|
/**
|
|
1842
1924
|
* Background Image
|
|
@@ -1846,17 +1928,17 @@ const T = (e) => {
|
|
|
1846
1928
|
bg: ["none", {
|
|
1847
1929
|
linear: [{
|
|
1848
1930
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1849
|
-
},
|
|
1850
|
-
radial: ["",
|
|
1851
|
-
conic: [
|
|
1852
|
-
},
|
|
1931
|
+
}, Y, d, u],
|
|
1932
|
+
radial: ["", d, u],
|
|
1933
|
+
conic: [Y, d, u]
|
|
1934
|
+
}, Yt, Vt]
|
|
1853
1935
|
}],
|
|
1854
1936
|
/**
|
|
1855
1937
|
* Background Color
|
|
1856
1938
|
* @see https://tailwindcss.com/docs/background-color
|
|
1857
1939
|
*/
|
|
1858
1940
|
"bg-color": [{
|
|
1859
|
-
bg:
|
|
1941
|
+
bg: m()
|
|
1860
1942
|
}],
|
|
1861
1943
|
/**
|
|
1862
1944
|
* Gradient Color Stops From Position
|
|
@@ -1884,21 +1966,21 @@ const T = (e) => {
|
|
|
1884
1966
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1885
1967
|
*/
|
|
1886
1968
|
"gradient-from": [{
|
|
1887
|
-
from:
|
|
1969
|
+
from: m()
|
|
1888
1970
|
}],
|
|
1889
1971
|
/**
|
|
1890
1972
|
* Gradient Color Stops Via
|
|
1891
1973
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1892
1974
|
*/
|
|
1893
1975
|
"gradient-via": [{
|
|
1894
|
-
via:
|
|
1976
|
+
via: m()
|
|
1895
1977
|
}],
|
|
1896
1978
|
/**
|
|
1897
1979
|
* Gradient Color Stops To
|
|
1898
1980
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1899
1981
|
*/
|
|
1900
1982
|
"gradient-to": [{
|
|
1901
|
-
to:
|
|
1983
|
+
to: m()
|
|
1902
1984
|
}],
|
|
1903
1985
|
// ---------------
|
|
1904
1986
|
// --- Borders ---
|
|
@@ -1908,175 +1990,175 @@ const T = (e) => {
|
|
|
1908
1990
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1909
1991
|
*/
|
|
1910
1992
|
rounded: [{
|
|
1911
|
-
rounded:
|
|
1993
|
+
rounded: D()
|
|
1912
1994
|
}],
|
|
1913
1995
|
/**
|
|
1914
1996
|
* Border Radius Start
|
|
1915
1997
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1916
1998
|
*/
|
|
1917
1999
|
"rounded-s": [{
|
|
1918
|
-
"rounded-s":
|
|
2000
|
+
"rounded-s": D()
|
|
1919
2001
|
}],
|
|
1920
2002
|
/**
|
|
1921
2003
|
* Border Radius End
|
|
1922
2004
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1923
2005
|
*/
|
|
1924
2006
|
"rounded-e": [{
|
|
1925
|
-
"rounded-e":
|
|
2007
|
+
"rounded-e": D()
|
|
1926
2008
|
}],
|
|
1927
2009
|
/**
|
|
1928
2010
|
* Border Radius Top
|
|
1929
2011
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1930
2012
|
*/
|
|
1931
2013
|
"rounded-t": [{
|
|
1932
|
-
"rounded-t":
|
|
2014
|
+
"rounded-t": D()
|
|
1933
2015
|
}],
|
|
1934
2016
|
/**
|
|
1935
2017
|
* Border Radius Right
|
|
1936
2018
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1937
2019
|
*/
|
|
1938
2020
|
"rounded-r": [{
|
|
1939
|
-
"rounded-r":
|
|
2021
|
+
"rounded-r": D()
|
|
1940
2022
|
}],
|
|
1941
2023
|
/**
|
|
1942
2024
|
* Border Radius Bottom
|
|
1943
2025
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1944
2026
|
*/
|
|
1945
2027
|
"rounded-b": [{
|
|
1946
|
-
"rounded-b":
|
|
2028
|
+
"rounded-b": D()
|
|
1947
2029
|
}],
|
|
1948
2030
|
/**
|
|
1949
2031
|
* Border Radius Left
|
|
1950
2032
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1951
2033
|
*/
|
|
1952
2034
|
"rounded-l": [{
|
|
1953
|
-
"rounded-l":
|
|
2035
|
+
"rounded-l": D()
|
|
1954
2036
|
}],
|
|
1955
2037
|
/**
|
|
1956
2038
|
* Border Radius Start Start
|
|
1957
2039
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1958
2040
|
*/
|
|
1959
2041
|
"rounded-ss": [{
|
|
1960
|
-
"rounded-ss":
|
|
2042
|
+
"rounded-ss": D()
|
|
1961
2043
|
}],
|
|
1962
2044
|
/**
|
|
1963
2045
|
* Border Radius Start End
|
|
1964
2046
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1965
2047
|
*/
|
|
1966
2048
|
"rounded-se": [{
|
|
1967
|
-
"rounded-se":
|
|
2049
|
+
"rounded-se": D()
|
|
1968
2050
|
}],
|
|
1969
2051
|
/**
|
|
1970
2052
|
* Border Radius End End
|
|
1971
2053
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1972
2054
|
*/
|
|
1973
2055
|
"rounded-ee": [{
|
|
1974
|
-
"rounded-ee":
|
|
2056
|
+
"rounded-ee": D()
|
|
1975
2057
|
}],
|
|
1976
2058
|
/**
|
|
1977
2059
|
* Border Radius End Start
|
|
1978
2060
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1979
2061
|
*/
|
|
1980
2062
|
"rounded-es": [{
|
|
1981
|
-
"rounded-es":
|
|
2063
|
+
"rounded-es": D()
|
|
1982
2064
|
}],
|
|
1983
2065
|
/**
|
|
1984
2066
|
* Border Radius Top Left
|
|
1985
2067
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1986
2068
|
*/
|
|
1987
2069
|
"rounded-tl": [{
|
|
1988
|
-
"rounded-tl":
|
|
2070
|
+
"rounded-tl": D()
|
|
1989
2071
|
}],
|
|
1990
2072
|
/**
|
|
1991
2073
|
* Border Radius Top Right
|
|
1992
2074
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1993
2075
|
*/
|
|
1994
2076
|
"rounded-tr": [{
|
|
1995
|
-
"rounded-tr":
|
|
2077
|
+
"rounded-tr": D()
|
|
1996
2078
|
}],
|
|
1997
2079
|
/**
|
|
1998
2080
|
* Border Radius Bottom Right
|
|
1999
2081
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2000
2082
|
*/
|
|
2001
2083
|
"rounded-br": [{
|
|
2002
|
-
"rounded-br":
|
|
2084
|
+
"rounded-br": D()
|
|
2003
2085
|
}],
|
|
2004
2086
|
/**
|
|
2005
2087
|
* Border Radius Bottom Left
|
|
2006
2088
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2007
2089
|
*/
|
|
2008
2090
|
"rounded-bl": [{
|
|
2009
|
-
"rounded-bl":
|
|
2091
|
+
"rounded-bl": D()
|
|
2010
2092
|
}],
|
|
2011
2093
|
/**
|
|
2012
2094
|
* Border Width
|
|
2013
2095
|
* @see https://tailwindcss.com/docs/border-width
|
|
2014
2096
|
*/
|
|
2015
2097
|
"border-w": [{
|
|
2016
|
-
border:
|
|
2098
|
+
border: C()
|
|
2017
2099
|
}],
|
|
2018
2100
|
/**
|
|
2019
2101
|
* Border Width X
|
|
2020
2102
|
* @see https://tailwindcss.com/docs/border-width
|
|
2021
2103
|
*/
|
|
2022
2104
|
"border-w-x": [{
|
|
2023
|
-
"border-x":
|
|
2105
|
+
"border-x": C()
|
|
2024
2106
|
}],
|
|
2025
2107
|
/**
|
|
2026
2108
|
* Border Width Y
|
|
2027
2109
|
* @see https://tailwindcss.com/docs/border-width
|
|
2028
2110
|
*/
|
|
2029
2111
|
"border-w-y": [{
|
|
2030
|
-
"border-y":
|
|
2112
|
+
"border-y": C()
|
|
2031
2113
|
}],
|
|
2032
2114
|
/**
|
|
2033
2115
|
* Border Width Start
|
|
2034
2116
|
* @see https://tailwindcss.com/docs/border-width
|
|
2035
2117
|
*/
|
|
2036
2118
|
"border-w-s": [{
|
|
2037
|
-
"border-s":
|
|
2119
|
+
"border-s": C()
|
|
2038
2120
|
}],
|
|
2039
2121
|
/**
|
|
2040
2122
|
* Border Width End
|
|
2041
2123
|
* @see https://tailwindcss.com/docs/border-width
|
|
2042
2124
|
*/
|
|
2043
2125
|
"border-w-e": [{
|
|
2044
|
-
"border-e":
|
|
2126
|
+
"border-e": C()
|
|
2045
2127
|
}],
|
|
2046
2128
|
/**
|
|
2047
2129
|
* Border Width Top
|
|
2048
2130
|
* @see https://tailwindcss.com/docs/border-width
|
|
2049
2131
|
*/
|
|
2050
2132
|
"border-w-t": [{
|
|
2051
|
-
"border-t":
|
|
2133
|
+
"border-t": C()
|
|
2052
2134
|
}],
|
|
2053
2135
|
/**
|
|
2054
2136
|
* Border Width Right
|
|
2055
2137
|
* @see https://tailwindcss.com/docs/border-width
|
|
2056
2138
|
*/
|
|
2057
2139
|
"border-w-r": [{
|
|
2058
|
-
"border-r":
|
|
2140
|
+
"border-r": C()
|
|
2059
2141
|
}],
|
|
2060
2142
|
/**
|
|
2061
2143
|
* Border Width Bottom
|
|
2062
2144
|
* @see https://tailwindcss.com/docs/border-width
|
|
2063
2145
|
*/
|
|
2064
2146
|
"border-w-b": [{
|
|
2065
|
-
"border-b":
|
|
2147
|
+
"border-b": C()
|
|
2066
2148
|
}],
|
|
2067
2149
|
/**
|
|
2068
2150
|
* Border Width Left
|
|
2069
2151
|
* @see https://tailwindcss.com/docs/border-width
|
|
2070
2152
|
*/
|
|
2071
2153
|
"border-w-l": [{
|
|
2072
|
-
"border-l":
|
|
2154
|
+
"border-l": C()
|
|
2073
2155
|
}],
|
|
2074
2156
|
/**
|
|
2075
2157
|
* Divide Width X
|
|
2076
2158
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2077
2159
|
*/
|
|
2078
2160
|
"divide-x": [{
|
|
2079
|
-
"divide-x":
|
|
2161
|
+
"divide-x": C()
|
|
2080
2162
|
}],
|
|
2081
2163
|
/**
|
|
2082
2164
|
* Divide Width X Reverse
|
|
@@ -2088,7 +2170,7 @@ const T = (e) => {
|
|
|
2088
2170
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2089
2171
|
*/
|
|
2090
2172
|
"divide-y": [{
|
|
2091
|
-
"divide-y":
|
|
2173
|
+
"divide-y": C()
|
|
2092
2174
|
}],
|
|
2093
2175
|
/**
|
|
2094
2176
|
* Divide Width Y Reverse
|
|
@@ -2114,70 +2196,70 @@ const T = (e) => {
|
|
|
2114
2196
|
* @see https://tailwindcss.com/docs/border-color
|
|
2115
2197
|
*/
|
|
2116
2198
|
"border-color": [{
|
|
2117
|
-
border:
|
|
2199
|
+
border: m()
|
|
2118
2200
|
}],
|
|
2119
2201
|
/**
|
|
2120
2202
|
* Border Color X
|
|
2121
2203
|
* @see https://tailwindcss.com/docs/border-color
|
|
2122
2204
|
*/
|
|
2123
2205
|
"border-color-x": [{
|
|
2124
|
-
"border-x":
|
|
2206
|
+
"border-x": m()
|
|
2125
2207
|
}],
|
|
2126
2208
|
/**
|
|
2127
2209
|
* Border Color Y
|
|
2128
2210
|
* @see https://tailwindcss.com/docs/border-color
|
|
2129
2211
|
*/
|
|
2130
2212
|
"border-color-y": [{
|
|
2131
|
-
"border-y":
|
|
2213
|
+
"border-y": m()
|
|
2132
2214
|
}],
|
|
2133
2215
|
/**
|
|
2134
2216
|
* Border Color S
|
|
2135
2217
|
* @see https://tailwindcss.com/docs/border-color
|
|
2136
2218
|
*/
|
|
2137
2219
|
"border-color-s": [{
|
|
2138
|
-
"border-s":
|
|
2220
|
+
"border-s": m()
|
|
2139
2221
|
}],
|
|
2140
2222
|
/**
|
|
2141
2223
|
* Border Color E
|
|
2142
2224
|
* @see https://tailwindcss.com/docs/border-color
|
|
2143
2225
|
*/
|
|
2144
2226
|
"border-color-e": [{
|
|
2145
|
-
"border-e":
|
|
2227
|
+
"border-e": m()
|
|
2146
2228
|
}],
|
|
2147
2229
|
/**
|
|
2148
2230
|
* Border Color Top
|
|
2149
2231
|
* @see https://tailwindcss.com/docs/border-color
|
|
2150
2232
|
*/
|
|
2151
2233
|
"border-color-t": [{
|
|
2152
|
-
"border-t":
|
|
2234
|
+
"border-t": m()
|
|
2153
2235
|
}],
|
|
2154
2236
|
/**
|
|
2155
2237
|
* Border Color Right
|
|
2156
2238
|
* @see https://tailwindcss.com/docs/border-color
|
|
2157
2239
|
*/
|
|
2158
2240
|
"border-color-r": [{
|
|
2159
|
-
"border-r":
|
|
2241
|
+
"border-r": m()
|
|
2160
2242
|
}],
|
|
2161
2243
|
/**
|
|
2162
2244
|
* Border Color Bottom
|
|
2163
2245
|
* @see https://tailwindcss.com/docs/border-color
|
|
2164
2246
|
*/
|
|
2165
2247
|
"border-color-b": [{
|
|
2166
|
-
"border-b":
|
|
2248
|
+
"border-b": m()
|
|
2167
2249
|
}],
|
|
2168
2250
|
/**
|
|
2169
2251
|
* Border Color Left
|
|
2170
2252
|
* @see https://tailwindcss.com/docs/border-color
|
|
2171
2253
|
*/
|
|
2172
2254
|
"border-color-l": [{
|
|
2173
|
-
"border-l":
|
|
2255
|
+
"border-l": m()
|
|
2174
2256
|
}],
|
|
2175
2257
|
/**
|
|
2176
2258
|
* Divide Color
|
|
2177
2259
|
* @see https://tailwindcss.com/docs/divide-color
|
|
2178
2260
|
*/
|
|
2179
2261
|
"divide-color": [{
|
|
2180
|
-
divide:
|
|
2262
|
+
divide: m()
|
|
2181
2263
|
}],
|
|
2182
2264
|
/**
|
|
2183
2265
|
* Outline Style
|
|
@@ -2191,21 +2273,21 @@ const T = (e) => {
|
|
|
2191
2273
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2192
2274
|
*/
|
|
2193
2275
|
"outline-offset": [{
|
|
2194
|
-
"outline-offset": [
|
|
2276
|
+
"outline-offset": [b, d, u]
|
|
2195
2277
|
}],
|
|
2196
2278
|
/**
|
|
2197
2279
|
* Outline Width
|
|
2198
2280
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2199
2281
|
*/
|
|
2200
2282
|
"outline-w": [{
|
|
2201
|
-
outline: ["",
|
|
2283
|
+
outline: ["", b, te, K]
|
|
2202
2284
|
}],
|
|
2203
2285
|
/**
|
|
2204
2286
|
* Outline Color
|
|
2205
2287
|
* @see https://tailwindcss.com/docs/outline-color
|
|
2206
2288
|
*/
|
|
2207
2289
|
"outline-color": [{
|
|
2208
|
-
outline:
|
|
2290
|
+
outline: m()
|
|
2209
2291
|
}],
|
|
2210
2292
|
// ---------------
|
|
2211
2293
|
// --- Effects ---
|
|
@@ -2219,7 +2301,7 @@ const T = (e) => {
|
|
|
2219
2301
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2220
2302
|
"",
|
|
2221
2303
|
"none",
|
|
2222
|
-
|
|
2304
|
+
p,
|
|
2223
2305
|
ce,
|
|
2224
2306
|
le
|
|
2225
2307
|
]
|
|
@@ -2229,28 +2311,28 @@ const T = (e) => {
|
|
|
2229
2311
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
2230
2312
|
*/
|
|
2231
2313
|
"shadow-color": [{
|
|
2232
|
-
shadow:
|
|
2314
|
+
shadow: m()
|
|
2233
2315
|
}],
|
|
2234
2316
|
/**
|
|
2235
2317
|
* Inset Box Shadow
|
|
2236
2318
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2237
2319
|
*/
|
|
2238
2320
|
"inset-shadow": [{
|
|
2239
|
-
"inset-shadow": ["none",
|
|
2321
|
+
"inset-shadow": ["none", g, ce, le]
|
|
2240
2322
|
}],
|
|
2241
2323
|
/**
|
|
2242
2324
|
* Inset Box Shadow Color
|
|
2243
2325
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
2244
2326
|
*/
|
|
2245
2327
|
"inset-shadow-color": [{
|
|
2246
|
-
"inset-shadow":
|
|
2328
|
+
"inset-shadow": m()
|
|
2247
2329
|
}],
|
|
2248
2330
|
/**
|
|
2249
2331
|
* Ring Width
|
|
2250
2332
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
2251
2333
|
*/
|
|
2252
2334
|
"ring-w": [{
|
|
2253
|
-
ring:
|
|
2335
|
+
ring: C()
|
|
2254
2336
|
}],
|
|
2255
2337
|
/**
|
|
2256
2338
|
* Ring Width Inset
|
|
@@ -2264,7 +2346,7 @@ const T = (e) => {
|
|
|
2264
2346
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
2265
2347
|
*/
|
|
2266
2348
|
"ring-color": [{
|
|
2267
|
-
ring:
|
|
2349
|
+
ring: m()
|
|
2268
2350
|
}],
|
|
2269
2351
|
/**
|
|
2270
2352
|
* Ring Offset Width
|
|
@@ -2273,7 +2355,7 @@ const T = (e) => {
|
|
|
2273
2355
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2274
2356
|
*/
|
|
2275
2357
|
"ring-offset-w": [{
|
|
2276
|
-
"ring-offset": [
|
|
2358
|
+
"ring-offset": [b, K]
|
|
2277
2359
|
}],
|
|
2278
2360
|
/**
|
|
2279
2361
|
* Ring Offset Color
|
|
@@ -2282,56 +2364,56 @@ const T = (e) => {
|
|
|
2282
2364
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2283
2365
|
*/
|
|
2284
2366
|
"ring-offset-color": [{
|
|
2285
|
-
"ring-offset":
|
|
2367
|
+
"ring-offset": m()
|
|
2286
2368
|
}],
|
|
2287
2369
|
/**
|
|
2288
2370
|
* Inset Ring Width
|
|
2289
2371
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2290
2372
|
*/
|
|
2291
2373
|
"inset-ring-w": [{
|
|
2292
|
-
"inset-ring":
|
|
2374
|
+
"inset-ring": C()
|
|
2293
2375
|
}],
|
|
2294
2376
|
/**
|
|
2295
2377
|
* Inset Ring Color
|
|
2296
2378
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2297
2379
|
*/
|
|
2298
2380
|
"inset-ring-color": [{
|
|
2299
|
-
"inset-ring":
|
|
2381
|
+
"inset-ring": m()
|
|
2300
2382
|
}],
|
|
2301
2383
|
/**
|
|
2302
2384
|
* Text Shadow
|
|
2303
2385
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2304
2386
|
*/
|
|
2305
2387
|
"text-shadow": [{
|
|
2306
|
-
"text-shadow": ["none",
|
|
2388
|
+
"text-shadow": ["none", M, ce, le]
|
|
2307
2389
|
}],
|
|
2308
2390
|
/**
|
|
2309
2391
|
* Text Shadow Color
|
|
2310
2392
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2311
2393
|
*/
|
|
2312
2394
|
"text-shadow-color": [{
|
|
2313
|
-
"text-shadow":
|
|
2395
|
+
"text-shadow": m()
|
|
2314
2396
|
}],
|
|
2315
2397
|
/**
|
|
2316
2398
|
* Opacity
|
|
2317
2399
|
* @see https://tailwindcss.com/docs/opacity
|
|
2318
2400
|
*/
|
|
2319
2401
|
opacity: [{
|
|
2320
|
-
opacity: [
|
|
2402
|
+
opacity: [b, d, u]
|
|
2321
2403
|
}],
|
|
2322
2404
|
/**
|
|
2323
2405
|
* Mix Blend Mode
|
|
2324
2406
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2325
2407
|
*/
|
|
2326
2408
|
"mix-blend": [{
|
|
2327
|
-
"mix-blend": [...
|
|
2409
|
+
"mix-blend": [...Me(), "plus-darker", "plus-lighter"]
|
|
2328
2410
|
}],
|
|
2329
2411
|
/**
|
|
2330
2412
|
* Background Blend Mode
|
|
2331
2413
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2332
2414
|
*/
|
|
2333
2415
|
"bg-blend": [{
|
|
2334
|
-
"bg-blend":
|
|
2416
|
+
"bg-blend": Me()
|
|
2335
2417
|
}],
|
|
2336
2418
|
/**
|
|
2337
2419
|
* Mask Clip
|
|
@@ -2352,106 +2434,106 @@ const T = (e) => {
|
|
|
2352
2434
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2353
2435
|
*/
|
|
2354
2436
|
"mask-image-linear-pos": [{
|
|
2355
|
-
"mask-linear": [
|
|
2437
|
+
"mask-linear": [b]
|
|
2356
2438
|
}],
|
|
2357
2439
|
"mask-image-linear-from-pos": [{
|
|
2358
|
-
"mask-linear-from":
|
|
2440
|
+
"mask-linear-from": S()
|
|
2359
2441
|
}],
|
|
2360
2442
|
"mask-image-linear-to-pos": [{
|
|
2361
|
-
"mask-linear-to":
|
|
2443
|
+
"mask-linear-to": S()
|
|
2362
2444
|
}],
|
|
2363
2445
|
"mask-image-linear-from-color": [{
|
|
2364
|
-
"mask-linear-from":
|
|
2446
|
+
"mask-linear-from": m()
|
|
2365
2447
|
}],
|
|
2366
2448
|
"mask-image-linear-to-color": [{
|
|
2367
|
-
"mask-linear-to":
|
|
2449
|
+
"mask-linear-to": m()
|
|
2368
2450
|
}],
|
|
2369
2451
|
"mask-image-t-from-pos": [{
|
|
2370
|
-
"mask-t-from":
|
|
2452
|
+
"mask-t-from": S()
|
|
2371
2453
|
}],
|
|
2372
2454
|
"mask-image-t-to-pos": [{
|
|
2373
|
-
"mask-t-to":
|
|
2455
|
+
"mask-t-to": S()
|
|
2374
2456
|
}],
|
|
2375
2457
|
"mask-image-t-from-color": [{
|
|
2376
|
-
"mask-t-from":
|
|
2458
|
+
"mask-t-from": m()
|
|
2377
2459
|
}],
|
|
2378
2460
|
"mask-image-t-to-color": [{
|
|
2379
|
-
"mask-t-to":
|
|
2461
|
+
"mask-t-to": m()
|
|
2380
2462
|
}],
|
|
2381
2463
|
"mask-image-r-from-pos": [{
|
|
2382
|
-
"mask-r-from":
|
|
2464
|
+
"mask-r-from": S()
|
|
2383
2465
|
}],
|
|
2384
2466
|
"mask-image-r-to-pos": [{
|
|
2385
|
-
"mask-r-to":
|
|
2467
|
+
"mask-r-to": S()
|
|
2386
2468
|
}],
|
|
2387
2469
|
"mask-image-r-from-color": [{
|
|
2388
|
-
"mask-r-from":
|
|
2470
|
+
"mask-r-from": m()
|
|
2389
2471
|
}],
|
|
2390
2472
|
"mask-image-r-to-color": [{
|
|
2391
|
-
"mask-r-to":
|
|
2473
|
+
"mask-r-to": m()
|
|
2392
2474
|
}],
|
|
2393
2475
|
"mask-image-b-from-pos": [{
|
|
2394
|
-
"mask-b-from":
|
|
2476
|
+
"mask-b-from": S()
|
|
2395
2477
|
}],
|
|
2396
2478
|
"mask-image-b-to-pos": [{
|
|
2397
|
-
"mask-b-to":
|
|
2479
|
+
"mask-b-to": S()
|
|
2398
2480
|
}],
|
|
2399
2481
|
"mask-image-b-from-color": [{
|
|
2400
|
-
"mask-b-from":
|
|
2482
|
+
"mask-b-from": m()
|
|
2401
2483
|
}],
|
|
2402
2484
|
"mask-image-b-to-color": [{
|
|
2403
|
-
"mask-b-to":
|
|
2485
|
+
"mask-b-to": m()
|
|
2404
2486
|
}],
|
|
2405
2487
|
"mask-image-l-from-pos": [{
|
|
2406
|
-
"mask-l-from":
|
|
2488
|
+
"mask-l-from": S()
|
|
2407
2489
|
}],
|
|
2408
2490
|
"mask-image-l-to-pos": [{
|
|
2409
|
-
"mask-l-to":
|
|
2491
|
+
"mask-l-to": S()
|
|
2410
2492
|
}],
|
|
2411
2493
|
"mask-image-l-from-color": [{
|
|
2412
|
-
"mask-l-from":
|
|
2494
|
+
"mask-l-from": m()
|
|
2413
2495
|
}],
|
|
2414
2496
|
"mask-image-l-to-color": [{
|
|
2415
|
-
"mask-l-to":
|
|
2497
|
+
"mask-l-to": m()
|
|
2416
2498
|
}],
|
|
2417
2499
|
"mask-image-x-from-pos": [{
|
|
2418
|
-
"mask-x-from":
|
|
2500
|
+
"mask-x-from": S()
|
|
2419
2501
|
}],
|
|
2420
2502
|
"mask-image-x-to-pos": [{
|
|
2421
|
-
"mask-x-to":
|
|
2503
|
+
"mask-x-to": S()
|
|
2422
2504
|
}],
|
|
2423
2505
|
"mask-image-x-from-color": [{
|
|
2424
|
-
"mask-x-from":
|
|
2506
|
+
"mask-x-from": m()
|
|
2425
2507
|
}],
|
|
2426
2508
|
"mask-image-x-to-color": [{
|
|
2427
|
-
"mask-x-to":
|
|
2509
|
+
"mask-x-to": m()
|
|
2428
2510
|
}],
|
|
2429
2511
|
"mask-image-y-from-pos": [{
|
|
2430
|
-
"mask-y-from":
|
|
2512
|
+
"mask-y-from": S()
|
|
2431
2513
|
}],
|
|
2432
2514
|
"mask-image-y-to-pos": [{
|
|
2433
|
-
"mask-y-to":
|
|
2515
|
+
"mask-y-to": S()
|
|
2434
2516
|
}],
|
|
2435
2517
|
"mask-image-y-from-color": [{
|
|
2436
|
-
"mask-y-from":
|
|
2518
|
+
"mask-y-from": m()
|
|
2437
2519
|
}],
|
|
2438
2520
|
"mask-image-y-to-color": [{
|
|
2439
|
-
"mask-y-to":
|
|
2521
|
+
"mask-y-to": m()
|
|
2440
2522
|
}],
|
|
2441
2523
|
"mask-image-radial": [{
|
|
2442
|
-
"mask-radial": [
|
|
2524
|
+
"mask-radial": [d, u]
|
|
2443
2525
|
}],
|
|
2444
2526
|
"mask-image-radial-from-pos": [{
|
|
2445
|
-
"mask-radial-from":
|
|
2527
|
+
"mask-radial-from": S()
|
|
2446
2528
|
}],
|
|
2447
2529
|
"mask-image-radial-to-pos": [{
|
|
2448
|
-
"mask-radial-to":
|
|
2530
|
+
"mask-radial-to": S()
|
|
2449
2531
|
}],
|
|
2450
2532
|
"mask-image-radial-from-color": [{
|
|
2451
|
-
"mask-radial-from":
|
|
2533
|
+
"mask-radial-from": m()
|
|
2452
2534
|
}],
|
|
2453
2535
|
"mask-image-radial-to-color": [{
|
|
2454
|
-
"mask-radial-to":
|
|
2536
|
+
"mask-radial-to": m()
|
|
2455
2537
|
}],
|
|
2456
2538
|
"mask-image-radial-shape": [{
|
|
2457
2539
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -2466,19 +2548,19 @@ const T = (e) => {
|
|
|
2466
2548
|
"mask-radial-at": N()
|
|
2467
2549
|
}],
|
|
2468
2550
|
"mask-image-conic-pos": [{
|
|
2469
|
-
"mask-conic": [
|
|
2551
|
+
"mask-conic": [b]
|
|
2470
2552
|
}],
|
|
2471
2553
|
"mask-image-conic-from-pos": [{
|
|
2472
|
-
"mask-conic-from":
|
|
2554
|
+
"mask-conic-from": S()
|
|
2473
2555
|
}],
|
|
2474
2556
|
"mask-image-conic-to-pos": [{
|
|
2475
|
-
"mask-conic-to":
|
|
2557
|
+
"mask-conic-to": S()
|
|
2476
2558
|
}],
|
|
2477
2559
|
"mask-image-conic-from-color": [{
|
|
2478
|
-
"mask-conic-from":
|
|
2560
|
+
"mask-conic-from": m()
|
|
2479
2561
|
}],
|
|
2480
2562
|
"mask-image-conic-to-color": [{
|
|
2481
|
-
"mask-conic-to":
|
|
2563
|
+
"mask-conic-to": m()
|
|
2482
2564
|
}],
|
|
2483
2565
|
/**
|
|
2484
2566
|
* Mask Mode
|
|
@@ -2499,21 +2581,21 @@ const T = (e) => {
|
|
|
2499
2581
|
* @see https://tailwindcss.com/docs/mask-position
|
|
2500
2582
|
*/
|
|
2501
2583
|
"mask-position": [{
|
|
2502
|
-
mask:
|
|
2584
|
+
mask: U()
|
|
2503
2585
|
}],
|
|
2504
2586
|
/**
|
|
2505
2587
|
* Mask Repeat
|
|
2506
2588
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2507
2589
|
*/
|
|
2508
2590
|
"mask-repeat": [{
|
|
2509
|
-
mask:
|
|
2591
|
+
mask: B()
|
|
2510
2592
|
}],
|
|
2511
2593
|
/**
|
|
2512
2594
|
* Mask Size
|
|
2513
2595
|
* @see https://tailwindcss.com/docs/mask-size
|
|
2514
2596
|
*/
|
|
2515
2597
|
"mask-size": [{
|
|
2516
|
-
mask:
|
|
2598
|
+
mask: Se()
|
|
2517
2599
|
}],
|
|
2518
2600
|
/**
|
|
2519
2601
|
* Mask Type
|
|
@@ -2527,7 +2609,7 @@ const T = (e) => {
|
|
|
2527
2609
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2528
2610
|
*/
|
|
2529
2611
|
"mask-image": [{
|
|
2530
|
-
mask: ["none",
|
|
2612
|
+
mask: ["none", d, u]
|
|
2531
2613
|
}],
|
|
2532
2614
|
// ---------------
|
|
2533
2615
|
// --- Filters ---
|
|
@@ -2541,8 +2623,8 @@ const T = (e) => {
|
|
|
2541
2623
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2542
2624
|
"",
|
|
2543
2625
|
"none",
|
|
2544
|
-
|
|
2545
|
-
|
|
2626
|
+
d,
|
|
2627
|
+
u
|
|
2546
2628
|
]
|
|
2547
2629
|
}],
|
|
2548
2630
|
/**
|
|
@@ -2550,21 +2632,21 @@ const T = (e) => {
|
|
|
2550
2632
|
* @see https://tailwindcss.com/docs/blur
|
|
2551
2633
|
*/
|
|
2552
2634
|
blur: [{
|
|
2553
|
-
blur:
|
|
2635
|
+
blur: Ae()
|
|
2554
2636
|
}],
|
|
2555
2637
|
/**
|
|
2556
2638
|
* Brightness
|
|
2557
2639
|
* @see https://tailwindcss.com/docs/brightness
|
|
2558
2640
|
*/
|
|
2559
2641
|
brightness: [{
|
|
2560
|
-
brightness: [
|
|
2642
|
+
brightness: [b, d, u]
|
|
2561
2643
|
}],
|
|
2562
2644
|
/**
|
|
2563
2645
|
* Contrast
|
|
2564
2646
|
* @see https://tailwindcss.com/docs/contrast
|
|
2565
2647
|
*/
|
|
2566
2648
|
contrast: [{
|
|
2567
|
-
contrast: [
|
|
2649
|
+
contrast: [b, d, u]
|
|
2568
2650
|
}],
|
|
2569
2651
|
/**
|
|
2570
2652
|
* Drop Shadow
|
|
@@ -2575,7 +2657,7 @@ const T = (e) => {
|
|
|
2575
2657
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2576
2658
|
"",
|
|
2577
2659
|
"none",
|
|
2578
|
-
|
|
2660
|
+
R,
|
|
2579
2661
|
ce,
|
|
2580
2662
|
le
|
|
2581
2663
|
]
|
|
@@ -2585,42 +2667,42 @@ const T = (e) => {
|
|
|
2585
2667
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2586
2668
|
*/
|
|
2587
2669
|
"drop-shadow-color": [{
|
|
2588
|
-
"drop-shadow":
|
|
2670
|
+
"drop-shadow": m()
|
|
2589
2671
|
}],
|
|
2590
2672
|
/**
|
|
2591
2673
|
* Grayscale
|
|
2592
2674
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2593
2675
|
*/
|
|
2594
2676
|
grayscale: [{
|
|
2595
|
-
grayscale: ["",
|
|
2677
|
+
grayscale: ["", b, d, u]
|
|
2596
2678
|
}],
|
|
2597
2679
|
/**
|
|
2598
2680
|
* Hue Rotate
|
|
2599
2681
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2600
2682
|
*/
|
|
2601
2683
|
"hue-rotate": [{
|
|
2602
|
-
"hue-rotate": [
|
|
2684
|
+
"hue-rotate": [b, d, u]
|
|
2603
2685
|
}],
|
|
2604
2686
|
/**
|
|
2605
2687
|
* Invert
|
|
2606
2688
|
* @see https://tailwindcss.com/docs/invert
|
|
2607
2689
|
*/
|
|
2608
2690
|
invert: [{
|
|
2609
|
-
invert: ["",
|
|
2691
|
+
invert: ["", b, d, u]
|
|
2610
2692
|
}],
|
|
2611
2693
|
/**
|
|
2612
2694
|
* Saturate
|
|
2613
2695
|
* @see https://tailwindcss.com/docs/saturate
|
|
2614
2696
|
*/
|
|
2615
2697
|
saturate: [{
|
|
2616
|
-
saturate: [
|
|
2698
|
+
saturate: [b, d, u]
|
|
2617
2699
|
}],
|
|
2618
2700
|
/**
|
|
2619
2701
|
* Sepia
|
|
2620
2702
|
* @see https://tailwindcss.com/docs/sepia
|
|
2621
2703
|
*/
|
|
2622
2704
|
sepia: [{
|
|
2623
|
-
sepia: ["",
|
|
2705
|
+
sepia: ["", b, d, u]
|
|
2624
2706
|
}],
|
|
2625
2707
|
/**
|
|
2626
2708
|
* Backdrop Filter
|
|
@@ -2631,8 +2713,8 @@ const T = (e) => {
|
|
|
2631
2713
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2632
2714
|
"",
|
|
2633
2715
|
"none",
|
|
2634
|
-
|
|
2635
|
-
|
|
2716
|
+
d,
|
|
2717
|
+
u
|
|
2636
2718
|
]
|
|
2637
2719
|
}],
|
|
2638
2720
|
/**
|
|
@@ -2640,63 +2722,63 @@ const T = (e) => {
|
|
|
2640
2722
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2641
2723
|
*/
|
|
2642
2724
|
"backdrop-blur": [{
|
|
2643
|
-
"backdrop-blur":
|
|
2725
|
+
"backdrop-blur": Ae()
|
|
2644
2726
|
}],
|
|
2645
2727
|
/**
|
|
2646
2728
|
* Backdrop Brightness
|
|
2647
2729
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2648
2730
|
*/
|
|
2649
2731
|
"backdrop-brightness": [{
|
|
2650
|
-
"backdrop-brightness": [
|
|
2732
|
+
"backdrop-brightness": [b, d, u]
|
|
2651
2733
|
}],
|
|
2652
2734
|
/**
|
|
2653
2735
|
* Backdrop Contrast
|
|
2654
2736
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2655
2737
|
*/
|
|
2656
2738
|
"backdrop-contrast": [{
|
|
2657
|
-
"backdrop-contrast": [
|
|
2739
|
+
"backdrop-contrast": [b, d, u]
|
|
2658
2740
|
}],
|
|
2659
2741
|
/**
|
|
2660
2742
|
* Backdrop Grayscale
|
|
2661
2743
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2662
2744
|
*/
|
|
2663
2745
|
"backdrop-grayscale": [{
|
|
2664
|
-
"backdrop-grayscale": ["",
|
|
2746
|
+
"backdrop-grayscale": ["", b, d, u]
|
|
2665
2747
|
}],
|
|
2666
2748
|
/**
|
|
2667
2749
|
* Backdrop Hue Rotate
|
|
2668
2750
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2669
2751
|
*/
|
|
2670
2752
|
"backdrop-hue-rotate": [{
|
|
2671
|
-
"backdrop-hue-rotate": [
|
|
2753
|
+
"backdrop-hue-rotate": [b, d, u]
|
|
2672
2754
|
}],
|
|
2673
2755
|
/**
|
|
2674
2756
|
* Backdrop Invert
|
|
2675
2757
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2676
2758
|
*/
|
|
2677
2759
|
"backdrop-invert": [{
|
|
2678
|
-
"backdrop-invert": ["",
|
|
2760
|
+
"backdrop-invert": ["", b, d, u]
|
|
2679
2761
|
}],
|
|
2680
2762
|
/**
|
|
2681
2763
|
* Backdrop Opacity
|
|
2682
2764
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2683
2765
|
*/
|
|
2684
2766
|
"backdrop-opacity": [{
|
|
2685
|
-
"backdrop-opacity": [
|
|
2767
|
+
"backdrop-opacity": [b, d, u]
|
|
2686
2768
|
}],
|
|
2687
2769
|
/**
|
|
2688
2770
|
* Backdrop Saturate
|
|
2689
2771
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2690
2772
|
*/
|
|
2691
2773
|
"backdrop-saturate": [{
|
|
2692
|
-
"backdrop-saturate": [
|
|
2774
|
+
"backdrop-saturate": [b, d, u]
|
|
2693
2775
|
}],
|
|
2694
2776
|
/**
|
|
2695
2777
|
* Backdrop Sepia
|
|
2696
2778
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2697
2779
|
*/
|
|
2698
2780
|
"backdrop-sepia": [{
|
|
2699
|
-
"backdrop-sepia": ["",
|
|
2781
|
+
"backdrop-sepia": ["", b, d, u]
|
|
2700
2782
|
}],
|
|
2701
2783
|
// --------------
|
|
2702
2784
|
// --- Tables ---
|
|
@@ -2713,21 +2795,21 @@ const T = (e) => {
|
|
|
2713
2795
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2714
2796
|
*/
|
|
2715
2797
|
"border-spacing": [{
|
|
2716
|
-
"border-spacing":
|
|
2798
|
+
"border-spacing": c()
|
|
2717
2799
|
}],
|
|
2718
2800
|
/**
|
|
2719
2801
|
* Border Spacing X
|
|
2720
2802
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2721
2803
|
*/
|
|
2722
2804
|
"border-spacing-x": [{
|
|
2723
|
-
"border-spacing-x":
|
|
2805
|
+
"border-spacing-x": c()
|
|
2724
2806
|
}],
|
|
2725
2807
|
/**
|
|
2726
2808
|
* Border Spacing Y
|
|
2727
2809
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2728
2810
|
*/
|
|
2729
2811
|
"border-spacing-y": [{
|
|
2730
|
-
"border-spacing-y":
|
|
2812
|
+
"border-spacing-y": c()
|
|
2731
2813
|
}],
|
|
2732
2814
|
/**
|
|
2733
2815
|
* Table Layout
|
|
@@ -2751,7 +2833,7 @@ const T = (e) => {
|
|
|
2751
2833
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2752
2834
|
*/
|
|
2753
2835
|
transition: [{
|
|
2754
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2836
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", d, u]
|
|
2755
2837
|
}],
|
|
2756
2838
|
/**
|
|
2757
2839
|
* Transition Behavior
|
|
@@ -2765,28 +2847,28 @@ const T = (e) => {
|
|
|
2765
2847
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2766
2848
|
*/
|
|
2767
2849
|
duration: [{
|
|
2768
|
-
duration: [
|
|
2850
|
+
duration: [b, "initial", d, u]
|
|
2769
2851
|
}],
|
|
2770
2852
|
/**
|
|
2771
2853
|
* Transition Timing Function
|
|
2772
2854
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2773
2855
|
*/
|
|
2774
2856
|
ease: [{
|
|
2775
|
-
ease: ["linear", "initial",
|
|
2857
|
+
ease: ["linear", "initial", O, d, u]
|
|
2776
2858
|
}],
|
|
2777
2859
|
/**
|
|
2778
2860
|
* Transition Delay
|
|
2779
2861
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2780
2862
|
*/
|
|
2781
2863
|
delay: [{
|
|
2782
|
-
delay: [
|
|
2864
|
+
delay: [b, d, u]
|
|
2783
2865
|
}],
|
|
2784
2866
|
/**
|
|
2785
2867
|
* Animation
|
|
2786
2868
|
* @see https://tailwindcss.com/docs/animation
|
|
2787
2869
|
*/
|
|
2788
2870
|
animate: [{
|
|
2789
|
-
animate: ["none",
|
|
2871
|
+
animate: ["none", G, d, u]
|
|
2790
2872
|
}],
|
|
2791
2873
|
// ------------------
|
|
2792
2874
|
// --- Transforms ---
|
|
@@ -2803,14 +2885,14 @@ const T = (e) => {
|
|
|
2803
2885
|
* @see https://tailwindcss.com/docs/perspective
|
|
2804
2886
|
*/
|
|
2805
2887
|
perspective: [{
|
|
2806
|
-
perspective: [
|
|
2888
|
+
perspective: [A, d, u]
|
|
2807
2889
|
}],
|
|
2808
2890
|
/**
|
|
2809
2891
|
* Perspective Origin
|
|
2810
2892
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2811
2893
|
*/
|
|
2812
2894
|
"perspective-origin": [{
|
|
2813
|
-
"perspective-origin":
|
|
2895
|
+
"perspective-origin": _()
|
|
2814
2896
|
}],
|
|
2815
2897
|
/**
|
|
2816
2898
|
* Rotate
|
|
@@ -2878,35 +2960,35 @@ const T = (e) => {
|
|
|
2878
2960
|
* @see https://tailwindcss.com/docs/skew
|
|
2879
2961
|
*/
|
|
2880
2962
|
skew: [{
|
|
2881
|
-
skew:
|
|
2963
|
+
skew: me()
|
|
2882
2964
|
}],
|
|
2883
2965
|
/**
|
|
2884
2966
|
* Skew X
|
|
2885
2967
|
* @see https://tailwindcss.com/docs/skew
|
|
2886
2968
|
*/
|
|
2887
2969
|
"skew-x": [{
|
|
2888
|
-
"skew-x":
|
|
2970
|
+
"skew-x": me()
|
|
2889
2971
|
}],
|
|
2890
2972
|
/**
|
|
2891
2973
|
* Skew Y
|
|
2892
2974
|
* @see https://tailwindcss.com/docs/skew
|
|
2893
2975
|
*/
|
|
2894
2976
|
"skew-y": [{
|
|
2895
|
-
"skew-y":
|
|
2977
|
+
"skew-y": me()
|
|
2896
2978
|
}],
|
|
2897
2979
|
/**
|
|
2898
2980
|
* Transform
|
|
2899
2981
|
* @see https://tailwindcss.com/docs/transform
|
|
2900
2982
|
*/
|
|
2901
2983
|
transform: [{
|
|
2902
|
-
transform: [
|
|
2984
|
+
transform: [d, u, "", "none", "gpu", "cpu"]
|
|
2903
2985
|
}],
|
|
2904
2986
|
/**
|
|
2905
2987
|
* Transform Origin
|
|
2906
2988
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2907
2989
|
*/
|
|
2908
2990
|
"transform-origin": [{
|
|
2909
|
-
origin:
|
|
2991
|
+
origin: _()
|
|
2910
2992
|
}],
|
|
2911
2993
|
/**
|
|
2912
2994
|
* Transform Style
|
|
@@ -2956,7 +3038,7 @@ const T = (e) => {
|
|
|
2956
3038
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2957
3039
|
*/
|
|
2958
3040
|
accent: [{
|
|
2959
|
-
accent:
|
|
3041
|
+
accent: m()
|
|
2960
3042
|
}],
|
|
2961
3043
|
/**
|
|
2962
3044
|
* Appearance
|
|
@@ -2970,7 +3052,7 @@ const T = (e) => {
|
|
|
2970
3052
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2971
3053
|
*/
|
|
2972
3054
|
"caret-color": [{
|
|
2973
|
-
caret:
|
|
3055
|
+
caret: m()
|
|
2974
3056
|
}],
|
|
2975
3057
|
/**
|
|
2976
3058
|
* Color Scheme
|
|
@@ -2984,7 +3066,7 @@ const T = (e) => {
|
|
|
2984
3066
|
* @see https://tailwindcss.com/docs/cursor
|
|
2985
3067
|
*/
|
|
2986
3068
|
cursor: [{
|
|
2987
|
-
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",
|
|
3069
|
+
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", d, u]
|
|
2988
3070
|
}],
|
|
2989
3071
|
/**
|
|
2990
3072
|
* Field Sizing
|
|
@@ -3019,126 +3101,126 @@ const T = (e) => {
|
|
|
3019
3101
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3020
3102
|
*/
|
|
3021
3103
|
"scroll-m": [{
|
|
3022
|
-
"scroll-m":
|
|
3104
|
+
"scroll-m": c()
|
|
3023
3105
|
}],
|
|
3024
3106
|
/**
|
|
3025
3107
|
* Scroll Margin X
|
|
3026
3108
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3027
3109
|
*/
|
|
3028
3110
|
"scroll-mx": [{
|
|
3029
|
-
"scroll-mx":
|
|
3111
|
+
"scroll-mx": c()
|
|
3030
3112
|
}],
|
|
3031
3113
|
/**
|
|
3032
3114
|
* Scroll Margin Y
|
|
3033
3115
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3034
3116
|
*/
|
|
3035
3117
|
"scroll-my": [{
|
|
3036
|
-
"scroll-my":
|
|
3118
|
+
"scroll-my": c()
|
|
3037
3119
|
}],
|
|
3038
3120
|
/**
|
|
3039
3121
|
* Scroll Margin Start
|
|
3040
3122
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3041
3123
|
*/
|
|
3042
3124
|
"scroll-ms": [{
|
|
3043
|
-
"scroll-ms":
|
|
3125
|
+
"scroll-ms": c()
|
|
3044
3126
|
}],
|
|
3045
3127
|
/**
|
|
3046
3128
|
* Scroll Margin End
|
|
3047
3129
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3048
3130
|
*/
|
|
3049
3131
|
"scroll-me": [{
|
|
3050
|
-
"scroll-me":
|
|
3132
|
+
"scroll-me": c()
|
|
3051
3133
|
}],
|
|
3052
3134
|
/**
|
|
3053
3135
|
* Scroll Margin Top
|
|
3054
3136
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3055
3137
|
*/
|
|
3056
3138
|
"scroll-mt": [{
|
|
3057
|
-
"scroll-mt":
|
|
3139
|
+
"scroll-mt": c()
|
|
3058
3140
|
}],
|
|
3059
3141
|
/**
|
|
3060
3142
|
* Scroll Margin Right
|
|
3061
3143
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3062
3144
|
*/
|
|
3063
3145
|
"scroll-mr": [{
|
|
3064
|
-
"scroll-mr":
|
|
3146
|
+
"scroll-mr": c()
|
|
3065
3147
|
}],
|
|
3066
3148
|
/**
|
|
3067
3149
|
* Scroll Margin Bottom
|
|
3068
3150
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3069
3151
|
*/
|
|
3070
3152
|
"scroll-mb": [{
|
|
3071
|
-
"scroll-mb":
|
|
3153
|
+
"scroll-mb": c()
|
|
3072
3154
|
}],
|
|
3073
3155
|
/**
|
|
3074
3156
|
* Scroll Margin Left
|
|
3075
3157
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3076
3158
|
*/
|
|
3077
3159
|
"scroll-ml": [{
|
|
3078
|
-
"scroll-ml":
|
|
3160
|
+
"scroll-ml": c()
|
|
3079
3161
|
}],
|
|
3080
3162
|
/**
|
|
3081
3163
|
* Scroll Padding
|
|
3082
3164
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3083
3165
|
*/
|
|
3084
3166
|
"scroll-p": [{
|
|
3085
|
-
"scroll-p":
|
|
3167
|
+
"scroll-p": c()
|
|
3086
3168
|
}],
|
|
3087
3169
|
/**
|
|
3088
3170
|
* Scroll Padding X
|
|
3089
3171
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3090
3172
|
*/
|
|
3091
3173
|
"scroll-px": [{
|
|
3092
|
-
"scroll-px":
|
|
3174
|
+
"scroll-px": c()
|
|
3093
3175
|
}],
|
|
3094
3176
|
/**
|
|
3095
3177
|
* Scroll Padding Y
|
|
3096
3178
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3097
3179
|
*/
|
|
3098
3180
|
"scroll-py": [{
|
|
3099
|
-
"scroll-py":
|
|
3181
|
+
"scroll-py": c()
|
|
3100
3182
|
}],
|
|
3101
3183
|
/**
|
|
3102
3184
|
* Scroll Padding Start
|
|
3103
3185
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3104
3186
|
*/
|
|
3105
3187
|
"scroll-ps": [{
|
|
3106
|
-
"scroll-ps":
|
|
3188
|
+
"scroll-ps": c()
|
|
3107
3189
|
}],
|
|
3108
3190
|
/**
|
|
3109
3191
|
* Scroll Padding End
|
|
3110
3192
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3111
3193
|
*/
|
|
3112
3194
|
"scroll-pe": [{
|
|
3113
|
-
"scroll-pe":
|
|
3195
|
+
"scroll-pe": c()
|
|
3114
3196
|
}],
|
|
3115
3197
|
/**
|
|
3116
3198
|
* Scroll Padding Top
|
|
3117
3199
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3118
3200
|
*/
|
|
3119
3201
|
"scroll-pt": [{
|
|
3120
|
-
"scroll-pt":
|
|
3202
|
+
"scroll-pt": c()
|
|
3121
3203
|
}],
|
|
3122
3204
|
/**
|
|
3123
3205
|
* Scroll Padding Right
|
|
3124
3206
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3125
3207
|
*/
|
|
3126
3208
|
"scroll-pr": [{
|
|
3127
|
-
"scroll-pr":
|
|
3209
|
+
"scroll-pr": c()
|
|
3128
3210
|
}],
|
|
3129
3211
|
/**
|
|
3130
3212
|
* Scroll Padding Bottom
|
|
3131
3213
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3132
3214
|
*/
|
|
3133
3215
|
"scroll-pb": [{
|
|
3134
|
-
"scroll-pb":
|
|
3216
|
+
"scroll-pb": c()
|
|
3135
3217
|
}],
|
|
3136
3218
|
/**
|
|
3137
3219
|
* Scroll Padding Left
|
|
3138
3220
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3139
3221
|
*/
|
|
3140
3222
|
"scroll-pl": [{
|
|
3141
|
-
"scroll-pl":
|
|
3223
|
+
"scroll-pl": c()
|
|
3142
3224
|
}],
|
|
3143
3225
|
/**
|
|
3144
3226
|
* Scroll Snap Align
|
|
@@ -3206,7 +3288,7 @@ const T = (e) => {
|
|
|
3206
3288
|
* @see https://tailwindcss.com/docs/will-change
|
|
3207
3289
|
*/
|
|
3208
3290
|
"will-change": [{
|
|
3209
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
3291
|
+
"will-change": ["auto", "scroll", "contents", "transform", d, u]
|
|
3210
3292
|
}],
|
|
3211
3293
|
// -----------
|
|
3212
3294
|
// --- SVG ---
|
|
@@ -3216,21 +3298,21 @@ const T = (e) => {
|
|
|
3216
3298
|
* @see https://tailwindcss.com/docs/fill
|
|
3217
3299
|
*/
|
|
3218
3300
|
fill: [{
|
|
3219
|
-
fill: ["none", ...
|
|
3301
|
+
fill: ["none", ...m()]
|
|
3220
3302
|
}],
|
|
3221
3303
|
/**
|
|
3222
3304
|
* Stroke Width
|
|
3223
3305
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3224
3306
|
*/
|
|
3225
3307
|
"stroke-w": [{
|
|
3226
|
-
stroke: [
|
|
3308
|
+
stroke: [b, te, K, be]
|
|
3227
3309
|
}],
|
|
3228
3310
|
/**
|
|
3229
3311
|
* Stroke
|
|
3230
3312
|
* @see https://tailwindcss.com/docs/stroke
|
|
3231
3313
|
*/
|
|
3232
3314
|
stroke: [{
|
|
3233
|
-
stroke: ["none", ...
|
|
3315
|
+
stroke: ["none", ...m()]
|
|
3234
3316
|
}],
|
|
3235
3317
|
// ---------------------
|
|
3236
3318
|
// --- Accessibility ---
|
|
@@ -3298,90 +3380,59 @@ const T = (e) => {
|
|
|
3298
3380
|
},
|
|
3299
3381
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3300
3382
|
};
|
|
3301
|
-
},
|
|
3302
|
-
function
|
|
3303
|
-
var t,
|
|
3383
|
+
}, Ut = /* @__PURE__ */ At(Ht);
|
|
3384
|
+
function Je(e) {
|
|
3385
|
+
var t, o, r = "";
|
|
3304
3386
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
3305
3387
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
3306
|
-
var
|
|
3307
|
-
for (t = 0; t <
|
|
3308
|
-
} else for (
|
|
3388
|
+
var s = e.length;
|
|
3389
|
+
for (t = 0; t < s; t++) e[t] && (o = Je(e[t])) && (r && (r += " "), r += o);
|
|
3390
|
+
} else for (o in e) e[o] && (r && (r += " "), r += o);
|
|
3309
3391
|
return r;
|
|
3310
3392
|
}
|
|
3311
|
-
function
|
|
3312
|
-
for (var e, t,
|
|
3393
|
+
function Wt() {
|
|
3394
|
+
for (var e, t, o = 0, r = "", s = arguments.length; o < s; o++) (e = arguments[o]) && (t = Je(e)) && (r && (r += " "), r += t);
|
|
3313
3395
|
return r;
|
|
3314
3396
|
}
|
|
3315
|
-
function
|
|
3316
|
-
return
|
|
3397
|
+
function Io(...e) {
|
|
3398
|
+
return Ut(Wt(e));
|
|
3317
3399
|
}
|
|
3318
|
-
function
|
|
3400
|
+
function To(e, t) {
|
|
3319
3401
|
if (!e) return !1;
|
|
3320
|
-
let
|
|
3321
|
-
return (t === " " || t === "Enter") && (
|
|
3322
|
-
}
|
|
3323
|
-
const os = 3, rs = "24px", ns = "16px", as = 0, is = 3e3, ls = 16, cs = 45, ds = 10, us = 0.06, ms = 16, $t = {
|
|
3324
|
-
stringInsensitive: (e, t) => Ee(e).localeCompare(Ee(t)),
|
|
3325
|
-
date: (e, t) => new Date(e).getTime() - new Date(t).getTime(),
|
|
3326
|
-
number: (e, t) => parseFloat(e) - parseFloat(t)
|
|
3327
|
-
};
|
|
3328
|
-
function Ee(e) {
|
|
3329
|
-
return String(e ?? "").toLowerCase().replace(/\s+/g, " ").trim();
|
|
3330
|
-
}
|
|
3331
|
-
function fs(e, t = 1, s = ["date", "date_released"]) {
|
|
3332
|
-
return (r, o) => {
|
|
3333
|
-
const n = r[e], a = o[e];
|
|
3334
|
-
if (n instanceof Date && a instanceof Date || s.includes(String(e))) {
|
|
3335
|
-
const h = new Date(String(n));
|
|
3336
|
-
return (new Date(String(a)).getTime() - h.getTime()) * t;
|
|
3337
|
-
}
|
|
3338
|
-
const i = parseFloat(n), d = parseFloat(a);
|
|
3339
|
-
return !isNaN(i) && !isNaN(d) ? (i - d) * t : String(n).toLowerCase().replace(/\s+/g, " ").localeCompare(String(a).toLowerCase().replace(/\s+/g, " ")) * t;
|
|
3340
|
-
};
|
|
3341
|
-
}
|
|
3342
|
-
function ps(e, t = 1) {
|
|
3343
|
-
return (s, r) => {
|
|
3344
|
-
for (const { key: o, compareFn: n } of e) {
|
|
3345
|
-
const a = o ? s[o] ?? "" : void 0, i = o ? r[o] ?? "" : void 0;
|
|
3346
|
-
let d;
|
|
3347
|
-
if (n ? d = o ? n(a, i) : n(s, r) : d = Gt(a, i), d !== 0) return d * t;
|
|
3348
|
-
}
|
|
3349
|
-
return 0;
|
|
3350
|
-
};
|
|
3351
|
-
}
|
|
3352
|
-
function Gt(e, t) {
|
|
3353
|
-
const s = parseFloat(e), r = parseFloat(t);
|
|
3354
|
-
if (!isNaN(s) && !isNaN(r))
|
|
3355
|
-
return s - r;
|
|
3356
|
-
const o = new Date(e), n = new Date(t);
|
|
3357
|
-
return !isNaN(o.getTime()) && !isNaN(n.getTime()) ? o.getTime() - n.getTime() : $t.stringInsensitive(e, t);
|
|
3402
|
+
let o = ["INPUT", "TEXTAREA", "SELECT"];
|
|
3403
|
+
return (t === " " || t === "Enter") && (o = [...o, "BUTTON"]), o.includes(e.tagName);
|
|
3358
3404
|
}
|
|
3359
3405
|
export {
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3406
|
+
mt as CompareStrategies,
|
|
3407
|
+
co as DEFAULT_GAP,
|
|
3408
|
+
ao as MOBILE_VIEWPORT_OFFSET,
|
|
3409
|
+
fo as SCALE_STEP,
|
|
3410
|
+
bo as SWIPE_THRESHOLD,
|
|
3411
|
+
lo as TOAST_LIFE,
|
|
3412
|
+
uo as TOAST_SWIPE_THRESHOLD,
|
|
3413
|
+
io as TOAST_WIDTH,
|
|
3414
|
+
H as ToastState,
|
|
3415
|
+
go as VELOCITY_THRESHOLD,
|
|
3416
|
+
no as VIEWPORT_OFFSET,
|
|
3417
|
+
ro as VISIBLE_TOASTS_AMOUNT,
|
|
3418
|
+
po as Y_OFFSET_STEP,
|
|
3419
|
+
mo as Z_STEP,
|
|
3420
|
+
Io as cn,
|
|
3421
|
+
dt as createDrawerCore,
|
|
3422
|
+
yo as drawer,
|
|
3423
|
+
To as isInputLikeElement,
|
|
3424
|
+
xo as sortObject,
|
|
3425
|
+
ko as sortObjectNew,
|
|
3426
|
+
rt as toast,
|
|
3427
|
+
to as useClipboard,
|
|
3428
|
+
Xt as useDatePicker,
|
|
3429
|
+
wo as useDrawer,
|
|
3430
|
+
ve as useDrawerCore,
|
|
3431
|
+
oo as useForm,
|
|
3432
|
+
vo as useModalCore,
|
|
3433
|
+
Zt as useMultiSelect,
|
|
3434
|
+
Qt as useSelect,
|
|
3435
|
+
ho as useSwipeHandler,
|
|
3436
|
+
eo as useTable,
|
|
3437
|
+
so as useToastTimer
|
|
3387
3438
|
};
|