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