@aminnausin/cedar-ui 0.0.18 → 0.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cedar-ui.mjs +833 -641
- package/dist/cedar-ui.umd.js +1 -1
- package/dist/index.d.ts +4 -2
- package/package.json +7 -10
package/dist/cedar-ui.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { ref as y, computed as
|
|
5
|
-
function
|
|
1
|
+
var nt = Object.defineProperty;
|
|
2
|
+
var at = (e, t, o) => t in e ? nt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
3
|
+
var E = (e, t, o) => at(e, typeof t != "symbol" ? t + "" : t, o);
|
|
4
|
+
import { ref as y, computed as Z, onMounted as it, watch as X, nextTick as lt, reactive as de, toValue as Me, toRaw as ct, onBeforeUnmount as ut, shallowRef as ge, readonly as Pe } from "vue";
|
|
5
|
+
function ho(e, t, o) {
|
|
6
6
|
var te;
|
|
7
|
-
const
|
|
7
|
+
const s = y(!1), r = y(((te = e.model) == null ? void 0 : te.value) ?? e.defaultDate ?? ""), n = y("F d, Y"), a = y(0), i = y(0), l = y(0), m = y([]), p = y([]), b = y("bottom"), k = [
|
|
8
8
|
"January",
|
|
9
9
|
"February",
|
|
10
10
|
"March",
|
|
@@ -17,55 +17,55 @@ function Zt(e, t, o) {
|
|
|
17
17
|
"October",
|
|
18
18
|
"November",
|
|
19
19
|
"December"
|
|
20
|
-
],
|
|
20
|
+
], z = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], S = y("D"), C = Z(() => {
|
|
21
21
|
let h = Math.max(a.value, 0);
|
|
22
|
-
return h >=
|
|
23
|
-
}),
|
|
22
|
+
return h >= k.length && (h = 0), k[h];
|
|
23
|
+
}), D = Z(() => {
|
|
24
24
|
const h = Math.floor(i.value / 10) * 10;
|
|
25
25
|
return Array.from({ length: 10 }, (I, x) => h + x);
|
|
26
26
|
});
|
|
27
|
-
function
|
|
28
|
-
|
|
27
|
+
function R(h) {
|
|
28
|
+
s.value = h ?? !s.value, S.value = "D";
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
|
|
30
|
+
function j(h = "D") {
|
|
31
|
+
S.value = h;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
const I =
|
|
33
|
+
function B(h) {
|
|
34
|
+
const I = z[h.getDay()], x = ("0" + h.getDate()).slice(-2), M = k[h.getMonth()], H = M.substring(0, 3), U = ("0" + (h.getMonth() + 1)).slice(-2), f = h.getFullYear();
|
|
35
35
|
switch (n.value) {
|
|
36
36
|
case "F d, Y":
|
|
37
|
-
return `${
|
|
37
|
+
return `${M} ${x}, ${f}`;
|
|
38
38
|
case "d M, Y":
|
|
39
|
-
return `${x} ${
|
|
39
|
+
return `${x} ${H}, ${f}`;
|
|
40
40
|
case "Y M d":
|
|
41
|
-
return `${
|
|
41
|
+
return `${f} ${H} ${x}`;
|
|
42
42
|
case "MM-DD-YYYY":
|
|
43
|
-
return `${U}-${x}-${
|
|
43
|
+
return `${U}-${x}-${f}`;
|
|
44
44
|
case "DD-MM-YYYY":
|
|
45
|
-
return `${x}-${U}-${
|
|
45
|
+
return `${x}-${U}-${f}`;
|
|
46
46
|
case "YYYY-MM-DD":
|
|
47
|
-
return `${
|
|
47
|
+
return `${f}-${U}-${x}`;
|
|
48
48
|
case "D d M, Y":
|
|
49
|
-
return `${I} ${x} ${
|
|
49
|
+
return `${I} ${x} ${H} ${f}`;
|
|
50
50
|
default:
|
|
51
|
-
return `${
|
|
51
|
+
return `${M} ${x}, ${f}`;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
function
|
|
55
|
-
switch (
|
|
54
|
+
function N(h) {
|
|
55
|
+
switch (S.value) {
|
|
56
56
|
case "Y":
|
|
57
|
-
i.value = h,
|
|
57
|
+
i.value = h, S.value = "M";
|
|
58
58
|
break;
|
|
59
59
|
case "M":
|
|
60
|
-
a.value = h,
|
|
60
|
+
a.value = h, S.value = "D", v();
|
|
61
61
|
break;
|
|
62
62
|
default:
|
|
63
|
-
l.value = h,
|
|
63
|
+
l.value = h, r.value = B(new Date(i.value, a.value, h)), s.value = !1, e.model && (e.model.value = r.value);
|
|
64
64
|
break;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
switch (
|
|
67
|
+
function _() {
|
|
68
|
+
switch (S.value) {
|
|
69
69
|
case "Y":
|
|
70
70
|
i.value -= 10;
|
|
71
71
|
break;
|
|
@@ -77,8 +77,8 @@ function Zt(e, t, o) {
|
|
|
77
77
|
break;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
switch (
|
|
80
|
+
function F() {
|
|
81
|
+
switch (S.value) {
|
|
82
82
|
case "Y":
|
|
83
83
|
i.value += 10;
|
|
84
84
|
break;
|
|
@@ -92,7 +92,7 @@ function Zt(e, t, o) {
|
|
|
92
92
|
}
|
|
93
93
|
function w(h) {
|
|
94
94
|
const I = new Date(i.value, a.value, h);
|
|
95
|
-
return
|
|
95
|
+
return r.value === B(I);
|
|
96
96
|
}
|
|
97
97
|
function c(h) {
|
|
98
98
|
const I = /* @__PURE__ */ new Date(), x = new Date(i.value, a.value, h);
|
|
@@ -100,57 +100,57 @@ function Zt(e, t, o) {
|
|
|
100
100
|
}
|
|
101
101
|
function v() {
|
|
102
102
|
const h = new Date(i.value, a.value + 1, 0).getDate(), I = new Date(i.value, a.value).getDay();
|
|
103
|
-
p.value = Array.from({ length: I }, (x,
|
|
103
|
+
p.value = Array.from({ length: I }, (x, M) => M + 1), m.value = Array.from({ length: h }, (x, M) => M + 1);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
106
|
-
if (!t.value || !o.value || !
|
|
105
|
+
function L() {
|
|
106
|
+
if (!t.value || !o.value || !s.value) return;
|
|
107
107
|
const h = t.value.getBoundingClientRect(), I = o.value.offsetHeight, x = h.top + h.height + I;
|
|
108
|
-
|
|
108
|
+
b.value = x > window.innerHeight ? "top" : "bottom";
|
|
109
109
|
}
|
|
110
110
|
function ee(h, I = !0) {
|
|
111
|
-
a.value = h.getMonth(), i.value = h.getFullYear(), l.value = h.getDate(), I && (
|
|
111
|
+
a.value = h.getMonth(), i.value = h.getFullYear(), l.value = h.getDate(), I && (r.value = B(h)), v();
|
|
112
112
|
}
|
|
113
|
-
function
|
|
114
|
-
if (
|
|
115
|
-
return ee(new Date(Date.parse(
|
|
113
|
+
function W() {
|
|
114
|
+
if (r.value)
|
|
115
|
+
return ee(new Date(Date.parse(r.value)));
|
|
116
116
|
ee(/* @__PURE__ */ new Date(), e.useDefaultDate);
|
|
117
117
|
}
|
|
118
|
-
return
|
|
119
|
-
|
|
120
|
-
}), X(
|
|
118
|
+
return it(() => {
|
|
119
|
+
W();
|
|
120
|
+
}), X(s, async (h) => {
|
|
121
121
|
if (!h) {
|
|
122
|
-
window.removeEventListener("resize",
|
|
122
|
+
window.removeEventListener("resize", L);
|
|
123
123
|
return;
|
|
124
124
|
}
|
|
125
|
-
await
|
|
125
|
+
await lt(), W(), L(), window.addEventListener("resize", L);
|
|
126
126
|
}), {
|
|
127
127
|
datePickerInput: t,
|
|
128
128
|
datePickerCalendar: o,
|
|
129
|
-
datePickerOpen:
|
|
130
|
-
datePickerValue:
|
|
131
|
-
datePickerPanel:
|
|
129
|
+
datePickerOpen: s,
|
|
130
|
+
datePickerValue: r,
|
|
131
|
+
datePickerPanel: S,
|
|
132
132
|
datePickerFormat: n,
|
|
133
133
|
datePickerMonth: a,
|
|
134
|
-
datePickerMonthVerbose:
|
|
134
|
+
datePickerMonthVerbose: C,
|
|
135
135
|
datePickerYear: i,
|
|
136
|
-
datePickerDecade:
|
|
136
|
+
datePickerDecade: D,
|
|
137
137
|
datePickerDay: l,
|
|
138
138
|
datePickerDaysInMonth: m,
|
|
139
139
|
datePickerBlankDaysInMonth: p,
|
|
140
|
-
datePickerMonthNames:
|
|
141
|
-
datePickerDays:
|
|
142
|
-
datePickerPosition:
|
|
143
|
-
toggleDatePicker:
|
|
144
|
-
datePickerValueClicked:
|
|
145
|
-
datePickerPrevious:
|
|
146
|
-
datePickerNext:
|
|
140
|
+
datePickerMonthNames: k,
|
|
141
|
+
datePickerDays: z,
|
|
142
|
+
datePickerPosition: b,
|
|
143
|
+
toggleDatePicker: R,
|
|
144
|
+
datePickerValueClicked: N,
|
|
145
|
+
datePickerPrevious: _,
|
|
146
|
+
datePickerNext: F,
|
|
147
147
|
datePickerIsSelectedDate: w,
|
|
148
148
|
datePickerIsToday: c,
|
|
149
|
-
showDatePickerPanel:
|
|
149
|
+
showDatePickerPanel: j
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
|
-
function
|
|
153
|
-
const
|
|
152
|
+
function go({ options: e, defaultItems: t }, o) {
|
|
153
|
+
const s = de({
|
|
154
154
|
selectOpen: !1,
|
|
155
155
|
selectedItems: t,
|
|
156
156
|
selectableItems: e,
|
|
@@ -201,23 +201,23 @@ function Qt({ options: e, defaultItems: t }, o) {
|
|
|
201
201
|
setOptions(n) {
|
|
202
202
|
Array.isArray(n) && (this.selectableItems = n);
|
|
203
203
|
}
|
|
204
|
-
}),
|
|
205
|
-
|
|
204
|
+
}), r = () => {
|
|
205
|
+
s.selectOpen && s.selectPositionUpdate();
|
|
206
206
|
};
|
|
207
207
|
return X(
|
|
208
|
-
() =>
|
|
208
|
+
() => s.selectOpen,
|
|
209
209
|
function(n) {
|
|
210
|
-
if (
|
|
211
|
-
window.removeEventListener("resize",
|
|
210
|
+
if (s.selectedItems ? s.selectableItemActive = s.selectedItem : s.selectableItemActive = s.selectableItems[0], !n) {
|
|
211
|
+
window.removeEventListener("resize", r);
|
|
212
212
|
return;
|
|
213
213
|
}
|
|
214
|
-
|
|
214
|
+
r(), window.addEventListener("resize", r);
|
|
215
215
|
},
|
|
216
216
|
{ immediate: !1 }
|
|
217
|
-
),
|
|
217
|
+
), s;
|
|
218
218
|
}
|
|
219
|
-
function
|
|
220
|
-
const o =
|
|
219
|
+
function vo(e, t) {
|
|
220
|
+
const o = de({
|
|
221
221
|
selectOpen: !1,
|
|
222
222
|
selectedItem: "",
|
|
223
223
|
selectableItems: e,
|
|
@@ -229,31 +229,31 @@ function eo(e, t) {
|
|
|
229
229
|
selectDropdownPosition: "bottom",
|
|
230
230
|
selectableItemsList: t.selectableItemsList,
|
|
231
231
|
selectButton: t.selectButton,
|
|
232
|
-
toggleSelect(
|
|
233
|
-
|
|
232
|
+
toggleSelect(r) {
|
|
233
|
+
r !== void 0 ? this.selectOpen = r === !0 : this.selectOpen = !this.selectOpen;
|
|
234
234
|
},
|
|
235
|
-
updateRefs(
|
|
236
|
-
this.selectButton =
|
|
235
|
+
updateRefs(r) {
|
|
236
|
+
this.selectButton = r.selectButton, this.selectableItemsList = r.selectableItemsList;
|
|
237
237
|
},
|
|
238
|
-
selectableItemIsActive(
|
|
239
|
-
return this.selectableItemActive && this.selectableItemActive.value ==
|
|
238
|
+
selectableItemIsActive(r) {
|
|
239
|
+
return this.selectableItemActive && this.selectableItemActive.value == r.value;
|
|
240
240
|
},
|
|
241
241
|
selectableItemActiveNext() {
|
|
242
|
-
let
|
|
243
|
-
|
|
242
|
+
let r = this.selectableItems.indexOf(this.selectableItemActive);
|
|
243
|
+
r < this.selectableItems.length - 1 && (this.selectableItemActive = this.selectableItems[r + 1], this.selectScrollToActiveItem());
|
|
244
244
|
},
|
|
245
245
|
selectableItemActivePrevious() {
|
|
246
|
-
let
|
|
247
|
-
|
|
246
|
+
let r = this.selectableItems.indexOf(this.selectableItemActive);
|
|
247
|
+
r > 0 && (this.selectableItemActive = this.selectableItems[r - 1], this.selectScrollToActiveItem());
|
|
248
248
|
},
|
|
249
249
|
selectScrollToActiveItem() {
|
|
250
250
|
if (!this.selectableItemActive) return;
|
|
251
|
-
let
|
|
252
|
-
|
|
251
|
+
let r = document.getElementById(this.selectableItemActive.value + "-" + this.selectId);
|
|
252
|
+
r && r.focus();
|
|
253
253
|
},
|
|
254
|
-
selectKeydown(
|
|
255
|
-
if (
|
|
256
|
-
this.selectKeydownValue +=
|
|
254
|
+
selectKeydown(r) {
|
|
255
|
+
if (r.keyCode >= 65 && r.keyCode <= 90) {
|
|
256
|
+
this.selectKeydownValue += r.key;
|
|
257
257
|
let n = this.selectItemsFindBestMatch();
|
|
258
258
|
n && (this.selectOpen ? (this.selectableItemActive = n, this.selectScrollToActiveItem()) : this.selectedItem = this.selectableItemActive === n), this.selectKeydownValue != "" && (clearTimeout(this.selectKeydownClearTimeout), this.selectKeydownClearTimeout = window.setTimeout(() => {
|
|
259
259
|
this.selectKeydownValue = "";
|
|
@@ -261,9 +261,9 @@ function eo(e, t) {
|
|
|
261
261
|
}
|
|
262
262
|
},
|
|
263
263
|
selectItemsFindBestMatch() {
|
|
264
|
-
let
|
|
264
|
+
let r = this.selectKeydownValue.toLowerCase(), n = null, a = -1;
|
|
265
265
|
for (const i of this.selectableItems) {
|
|
266
|
-
let m = i.title.toLowerCase().indexOf(
|
|
266
|
+
let m = i.title.toLowerCase().indexOf(r);
|
|
267
267
|
m > -1 && (a == -1 || m < a) && !i.disabled && (n = i, a = m);
|
|
268
268
|
}
|
|
269
269
|
return n;
|
|
@@ -271,43 +271,44 @@ function eo(e, t) {
|
|
|
271
271
|
selectPositionUpdate() {
|
|
272
272
|
var n;
|
|
273
273
|
if (!this.selectableItemsList || !this.selectButton) return;
|
|
274
|
-
let
|
|
275
|
-
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";
|
|
276
276
|
}
|
|
277
|
-
}),
|
|
277
|
+
}), s = () => {
|
|
278
278
|
o.selectOpen && o.selectPositionUpdate();
|
|
279
279
|
};
|
|
280
280
|
return X(
|
|
281
281
|
() => o.selectOpen,
|
|
282
|
-
function(
|
|
283
|
-
if (o.selectedItem ? o.selectableItemActive = o.selectedItem : o.selectableItemActive = o.selectableItems[0], !
|
|
284
|
-
window.removeEventListener("resize",
|
|
282
|
+
function(r) {
|
|
283
|
+
if (o.selectedItem ? o.selectableItemActive = o.selectedItem : o.selectableItemActive = o.selectableItems[0], !r) {
|
|
284
|
+
window.removeEventListener("resize", s);
|
|
285
285
|
return;
|
|
286
286
|
}
|
|
287
287
|
window.setTimeout(function() {
|
|
288
288
|
o.selectScrollToActiveItem();
|
|
289
|
-
}, 10),
|
|
289
|
+
}, 10), s(), window.addEventListener("resize", s);
|
|
290
290
|
},
|
|
291
291
|
{ immediate: !1 }
|
|
292
292
|
), o;
|
|
293
293
|
}
|
|
294
|
-
function
|
|
295
|
-
const t =
|
|
294
|
+
function wo(e) {
|
|
295
|
+
const t = Z(() => Me(e.itemsPerPage) ?? 10), o = y(1), s = Z(() => Math.ceil(e.data.value.length / t.value)), r = Z(() => {
|
|
296
296
|
const i = (o.value - 1) * t.value;
|
|
297
297
|
return e.data.value.slice(i, i + t.value);
|
|
298
298
|
});
|
|
299
299
|
function n(i) {
|
|
300
|
-
o.value = Math.min(Math.max(1, i),
|
|
300
|
+
o.value = Math.min(Math.max(1, i), Math.max(1, s.value));
|
|
301
301
|
}
|
|
302
302
|
function a() {
|
|
303
303
|
o.value = 1;
|
|
304
304
|
}
|
|
305
|
-
return X(
|
|
306
|
-
|
|
305
|
+
return X(t, () => a()), X(
|
|
306
|
+
e.data,
|
|
307
307
|
(i, l) => {
|
|
308
|
-
|
|
309
|
-
if (
|
|
310
|
-
|
|
308
|
+
if (Me(e.resetOnDataChange) === !1) return;
|
|
309
|
+
if (!l || !i.length || !l.length || i.length !== l.length) return a();
|
|
310
|
+
const m = e.dataKey ?? "id", p = new Set(l.map((k) => k[m]));
|
|
311
|
+
if (!i.every((k) => p.has(k[m]))) return a();
|
|
311
312
|
},
|
|
312
313
|
{ immediate: !0 }
|
|
313
314
|
), {
|
|
@@ -315,65 +316,65 @@ function to(e) {
|
|
|
315
316
|
currentPage: o,
|
|
316
317
|
itemsPerPage: t,
|
|
317
318
|
// derived
|
|
318
|
-
pageCount:
|
|
319
|
-
pageData:
|
|
319
|
+
pageCount: s,
|
|
320
|
+
pageData: r,
|
|
320
321
|
// actions
|
|
321
322
|
setPage: n,
|
|
322
323
|
resetPage: a
|
|
323
324
|
};
|
|
324
325
|
}
|
|
325
|
-
function
|
|
326
|
+
function je(e = "pv_id_") {
|
|
326
327
|
return e + Math.random().toString(16).slice(2);
|
|
327
328
|
}
|
|
328
|
-
class
|
|
329
|
+
class dt {
|
|
329
330
|
constructor() {
|
|
330
|
-
|
|
331
|
-
|
|
331
|
+
E(this, "subscribers");
|
|
332
|
+
E(this, "toasts");
|
|
332
333
|
// We use arrow functions to maintain the correct `this` reference
|
|
333
|
-
|
|
334
|
+
E(this, "subscribe", (t) => (this.subscribers.push(t), () => {
|
|
334
335
|
const o = this.subscribers.indexOf(t);
|
|
335
336
|
this.subscribers.splice(o, 1);
|
|
336
337
|
}));
|
|
337
|
-
|
|
338
|
+
E(this, "publish", (t) => {
|
|
338
339
|
this.subscribers.forEach((o) => o(t));
|
|
339
340
|
});
|
|
340
|
-
|
|
341
|
+
E(this, "addToast", (t) => {
|
|
341
342
|
this.publish(t), this.toasts = [...this.toasts, t];
|
|
342
343
|
});
|
|
343
|
-
|
|
344
|
-
const
|
|
345
|
-
return this.toasts.find((n) => n.id ===
|
|
344
|
+
E(this, "create", (t, o) => {
|
|
345
|
+
const s = o.id ?? je("toast_");
|
|
346
|
+
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 }), {
|
|
346
347
|
...n,
|
|
347
348
|
...o,
|
|
348
|
-
id:
|
|
349
|
+
id: s,
|
|
349
350
|
title: t
|
|
350
351
|
}) : n) : this.addToast({
|
|
351
352
|
title: t,
|
|
352
|
-
id:
|
|
353
|
+
id: s,
|
|
353
354
|
scale: 1,
|
|
354
355
|
zIndex: 200,
|
|
355
356
|
offsetY: 0,
|
|
356
357
|
...o
|
|
357
|
-
}),
|
|
358
|
+
}), s;
|
|
358
359
|
});
|
|
359
|
-
|
|
360
|
+
E(this, "dismiss", (t) => {
|
|
360
361
|
t ? (this.publish({ id: t, dismiss: !0 }), this.toasts = this.toasts.filter((o) => o.id !== t)) : (this.toasts.forEach((o) => {
|
|
361
362
|
this.publish({ id: o.id, dismiss: !0 });
|
|
362
363
|
}), this.toasts = []);
|
|
363
364
|
});
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
const
|
|
365
|
+
E(this, "add", (t, o) => this.create(t, { ...o }));
|
|
366
|
+
E(this, "success", (t, o) => this.create(t, { type: "success", ...o }));
|
|
367
|
+
E(this, "error", (t, o) => this.create(t, { type: "danger", ...o }));
|
|
368
|
+
E(this, "info", (t, o) => this.create(t, { type: "info", ...o }));
|
|
369
|
+
E(this, "warning", (t, o) => this.create(t, { type: "warning", ...o }));
|
|
370
|
+
E(this, "promise", (t, o, s) => {
|
|
371
|
+
const r = this.create(o.loading, {
|
|
371
372
|
description: o.loadingDescription,
|
|
372
|
-
...
|
|
373
|
+
...s,
|
|
373
374
|
type: "promise",
|
|
374
375
|
life: 1 / 0
|
|
375
376
|
}), n = (l, m, p) => {
|
|
376
|
-
this.create(l, { description: m, ...
|
|
377
|
+
this.create(l, { description: m, ...s, id: r, type: p, life: (s == null ? void 0 : s.life) ?? 3e3 });
|
|
377
378
|
}, a = (l, m) => typeof l == "function" ? l(m) : l, i = (l, m) => typeof l == "function" ? l(m) : l;
|
|
378
379
|
return t.then((l) => (n(a(o.success, l), i(o.successDescription, l), "success"), l)).catch((l) => {
|
|
379
380
|
throw n(a(o.error, l), i(o.errorDescription, l), "danger"), l;
|
|
@@ -382,21 +383,21 @@ class rt {
|
|
|
382
383
|
this.subscribers = [], this.toasts = [];
|
|
383
384
|
}
|
|
384
385
|
}
|
|
385
|
-
const
|
|
386
|
-
function
|
|
387
|
-
const o =
|
|
388
|
-
return
|
|
386
|
+
const G = new dt();
|
|
387
|
+
function mt(e, t) {
|
|
388
|
+
const o = je("toast_");
|
|
389
|
+
return G.create(e, { ...t, id: o }), o;
|
|
389
390
|
}
|
|
390
|
-
const
|
|
391
|
-
add:
|
|
392
|
-
success:
|
|
393
|
-
error:
|
|
394
|
-
info:
|
|
395
|
-
warning:
|
|
396
|
-
dismiss:
|
|
397
|
-
promise:
|
|
391
|
+
const ft = Object.assign(mt, {
|
|
392
|
+
add: G.add,
|
|
393
|
+
success: G.success,
|
|
394
|
+
error: G.error,
|
|
395
|
+
info: G.info,
|
|
396
|
+
warning: G.warning,
|
|
397
|
+
dismiss: G.dismiss,
|
|
398
|
+
promise: G.promise
|
|
398
399
|
});
|
|
399
|
-
function
|
|
400
|
+
function yo(e) {
|
|
400
401
|
const t = y(!1);
|
|
401
402
|
return {
|
|
402
403
|
copyNotification: t,
|
|
@@ -405,50 +406,50 @@ function oo(e) {
|
|
|
405
406
|
await navigator.clipboard.writeText(e.value), t.value = !0, setTimeout(() => {
|
|
406
407
|
t.value = !1;
|
|
407
408
|
}, 3e3);
|
|
408
|
-
} catch (
|
|
409
|
-
console.error(
|
|
409
|
+
} catch (s) {
|
|
410
|
+
console.error(s), ft.error("Error", {
|
|
410
411
|
description: "Unable to copy. Network is not secure."
|
|
411
412
|
});
|
|
412
413
|
}
|
|
413
414
|
}
|
|
414
415
|
};
|
|
415
416
|
}
|
|
416
|
-
function
|
|
417
|
+
function pt(e) {
|
|
417
418
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
418
419
|
}
|
|
419
|
-
var
|
|
420
|
-
function
|
|
421
|
-
return
|
|
420
|
+
var pe, Oe;
|
|
421
|
+
function bt() {
|
|
422
|
+
return Oe || (Oe = 1, pe = function e(t, o) {
|
|
422
423
|
if (t === o) return !0;
|
|
423
424
|
if (t && o && typeof t == "object" && typeof o == "object") {
|
|
424
425
|
if (t.constructor !== o.constructor) return !1;
|
|
425
|
-
var
|
|
426
|
+
var s, r, n;
|
|
426
427
|
if (Array.isArray(t)) {
|
|
427
|
-
if (
|
|
428
|
-
for (
|
|
429
|
-
if (!e(t[
|
|
428
|
+
if (s = t.length, s != o.length) return !1;
|
|
429
|
+
for (r = s; r-- !== 0; )
|
|
430
|
+
if (!e(t[r], o[r])) return !1;
|
|
430
431
|
return !0;
|
|
431
432
|
}
|
|
432
433
|
if (t.constructor === RegExp) return t.source === o.source && t.flags === o.flags;
|
|
433
434
|
if (t.valueOf !== Object.prototype.valueOf) return t.valueOf() === o.valueOf();
|
|
434
435
|
if (t.toString !== Object.prototype.toString) return t.toString() === o.toString();
|
|
435
|
-
if (n = Object.keys(t),
|
|
436
|
-
for (
|
|
437
|
-
if (!Object.prototype.hasOwnProperty.call(o, n[
|
|
438
|
-
for (
|
|
439
|
-
var a = n[
|
|
436
|
+
if (n = Object.keys(t), s = n.length, s !== Object.keys(o).length) return !1;
|
|
437
|
+
for (r = s; r-- !== 0; )
|
|
438
|
+
if (!Object.prototype.hasOwnProperty.call(o, n[r])) return !1;
|
|
439
|
+
for (r = s; r-- !== 0; ) {
|
|
440
|
+
var a = n[r];
|
|
440
441
|
if (!e(t[a], o[a])) return !1;
|
|
441
442
|
}
|
|
442
443
|
return !0;
|
|
443
444
|
}
|
|
444
445
|
return t !== t && o !== o;
|
|
445
|
-
}),
|
|
446
|
+
}), pe;
|
|
446
447
|
}
|
|
447
|
-
var
|
|
448
|
-
const
|
|
449
|
-
function
|
|
448
|
+
var ht = bt();
|
|
449
|
+
const gt = /* @__PURE__ */ pt(ht);
|
|
450
|
+
function xo(e) {
|
|
450
451
|
let t = e, o;
|
|
451
|
-
const
|
|
452
|
+
const s = de({
|
|
452
453
|
fields: structuredClone(e),
|
|
453
454
|
errors: {},
|
|
454
455
|
dirty: !1,
|
|
@@ -456,7 +457,7 @@ function ro(e) {
|
|
|
456
457
|
processing: !1,
|
|
457
458
|
wasSuccessful: !1,
|
|
458
459
|
recentlySuccessful: !1,
|
|
459
|
-
async submit(
|
|
460
|
+
async submit(r, n = {}) {
|
|
460
461
|
if (this.processing) return;
|
|
461
462
|
const a = {
|
|
462
463
|
onBefore: async () => {
|
|
@@ -465,13 +466,13 @@ function ro(e) {
|
|
|
465
466
|
onSuccess: async (i) => {
|
|
466
467
|
this.clearErrors(), this.wasSuccessful = !0, this.recentlySuccessful = !0, o = globalThis.setTimeout(() => {
|
|
467
468
|
this.recentlySuccessful = !1;
|
|
468
|
-
}, 2e3), n.onSuccess && await n.onSuccess(i), t = structuredClone(
|
|
469
|
+
}, 2e3), n.onSuccess && await n.onSuccess(i), t = structuredClone(ct(this.fields));
|
|
469
470
|
},
|
|
470
471
|
onError: async (i) => {
|
|
471
|
-
var l, m, p,
|
|
472
|
+
var l, m, p, b, k;
|
|
472
473
|
this.hasErrors = !0, (((l = i == null ? void 0 : i.response) == null ? void 0 : l.status) === 422 || ((m = i == null ? void 0 : i.response) == null ? void 0 : m.status) === 401) && (this.clearErrors(), this.setErrors({
|
|
473
474
|
message: (p = i == null ? void 0 : i.response) == null ? void 0 : p.data.message,
|
|
474
|
-
...(
|
|
475
|
+
...(k = (b = i == null ? void 0 : i.response) == null ? void 0 : b.data) == null ? void 0 : k.errors
|
|
475
476
|
})), n.onError && await n.onError(i);
|
|
476
477
|
},
|
|
477
478
|
onFinish: async () => {
|
|
@@ -480,7 +481,7 @@ function ro(e) {
|
|
|
480
481
|
};
|
|
481
482
|
await a.onBefore();
|
|
482
483
|
try {
|
|
483
|
-
const i = await
|
|
484
|
+
const i = await r(this.fields);
|
|
484
485
|
await a.onSuccess(i);
|
|
485
486
|
} catch (i) {
|
|
486
487
|
await a.onError(i);
|
|
@@ -488,42 +489,42 @@ function ro(e) {
|
|
|
488
489
|
await a.onFinish();
|
|
489
490
|
}
|
|
490
491
|
},
|
|
491
|
-
reset(...
|
|
492
|
+
reset(...r) {
|
|
492
493
|
const n = structuredClone(t);
|
|
493
|
-
|
|
494
|
+
r.length === 0 ? this.fields = n : r.forEach((a) => {
|
|
494
495
|
n[a] !== void 0 && (this.fields[a] = n[a]);
|
|
495
496
|
});
|
|
496
497
|
},
|
|
497
|
-
clearErrors(...
|
|
498
|
-
|
|
498
|
+
clearErrors(...r) {
|
|
499
|
+
r.length === 0 ? this.errors = {} : r.forEach((n) => delete this.errors[n]), this.hasErrors = Object.keys(this.errors).length > 0;
|
|
499
500
|
},
|
|
500
|
-
setErrors(
|
|
501
|
-
this.errors = { ...this.errors, ...
|
|
501
|
+
setErrors(r) {
|
|
502
|
+
this.errors = { ...this.errors, ...r }, this.hasErrors = Object.keys(this.errors).length > 0;
|
|
502
503
|
}
|
|
503
504
|
});
|
|
504
505
|
return X(
|
|
505
|
-
() =>
|
|
506
|
+
() => s.fields,
|
|
506
507
|
() => {
|
|
507
|
-
|
|
508
|
+
s.dirty = !gt(s.fields, t);
|
|
508
509
|
},
|
|
509
510
|
{ immediate: !0, deep: !0 }
|
|
510
|
-
),
|
|
511
|
+
), s;
|
|
511
512
|
}
|
|
512
|
-
function
|
|
513
|
-
const
|
|
513
|
+
function ko({ duration: e, isPaused: t, onTimeout: o, immediate: s = !0 }) {
|
|
514
|
+
const r = y(), n = y(0), a = y(e());
|
|
514
515
|
function i() {
|
|
515
|
-
t() || a.value === 1 / 0 && e() === 1 / 0 || (a.value === 1 / 0 && (a.value = e()), n.value = Date.now(),
|
|
516
|
+
t() || a.value === 1 / 0 && e() === 1 / 0 || (a.value === 1 / 0 && (a.value = e()), n.value = Date.now(), r.value = window.setTimeout(() => {
|
|
516
517
|
o();
|
|
517
518
|
}, a.value));
|
|
518
519
|
}
|
|
519
520
|
function l() {
|
|
520
|
-
if (!
|
|
521
|
+
if (!r.value) return;
|
|
521
522
|
m();
|
|
522
523
|
const p = Date.now() - n.value;
|
|
523
524
|
a.value -= p;
|
|
524
525
|
}
|
|
525
526
|
function m() {
|
|
526
|
-
|
|
527
|
+
r.value && (clearTimeout(r.value), r.value = null);
|
|
527
528
|
}
|
|
528
529
|
return X(
|
|
529
530
|
t,
|
|
@@ -534,25 +535,25 @@ function so({ duration: e, isPaused: t, onTimeout: o, immediate: r = !0 }) {
|
|
|
534
535
|
}
|
|
535
536
|
i();
|
|
536
537
|
},
|
|
537
|
-
{ immediate:
|
|
538
|
-
),
|
|
538
|
+
{ immediate: s }
|
|
539
|
+
), ut(() => {
|
|
539
540
|
m();
|
|
540
541
|
}), { cancel: m };
|
|
541
542
|
}
|
|
542
|
-
const
|
|
543
|
-
function
|
|
544
|
-
const n = y(!1), a = y({ x: 0, y: 0 }), i = y({ x: 0, y: 0 }), l = y({ x: 0, y: 0 }), m = y(), p =
|
|
545
|
-
function
|
|
543
|
+
const Io = 3, To = "24px", So = "16px", Ao = 0, Do = 3e3, Co = 16, Mo = 45, Po = 10, Oo = 0.06, Eo = 16, Ee = 4, ze = 6;
|
|
544
|
+
function zo({ directions: e, swipeThreshold: t, velocityThreshold: o, getElementSize: s, onSwipeOut: r }) {
|
|
545
|
+
const n = y(!1), a = y({ x: 0, y: 0 }), i = y({ x: 0, y: 0 }), l = y({ x: 0, y: 0 }), m = y(), p = Z(() => C(e.value)), b = y(null);
|
|
546
|
+
function k(w) {
|
|
546
547
|
return 1 / (1.5 + Math.abs(w) / 20);
|
|
547
548
|
}
|
|
548
|
-
function
|
|
549
|
+
function z(w, c) {
|
|
549
550
|
return Math.min(c.maxDelta, Math.max(c.minDelta, w));
|
|
550
551
|
}
|
|
551
|
-
function
|
|
552
|
+
function S(w) {
|
|
552
553
|
const c = p.value[w];
|
|
553
554
|
return c.minDelta !== 0 || c.maxDelta !== 0;
|
|
554
555
|
}
|
|
555
|
-
function
|
|
556
|
+
function C(w) {
|
|
556
557
|
const c = {
|
|
557
558
|
x: { minDelta: 0, maxDelta: 0 },
|
|
558
559
|
y: { minDelta: 0, maxDelta: 0 }
|
|
@@ -561,103 +562,103 @@ function bo({ directions: e, swipeThreshold: t, velocityThreshold: o, getElement
|
|
|
561
562
|
v === "left" && (c.x.minDelta = -1 / 0), v === "right" && (c.x.maxDelta = 1 / 0), v === "top" && (c.y.minDelta = -1 / 0), v === "bottom" && (c.y.maxDelta = 1 / 0);
|
|
562
563
|
return c;
|
|
563
564
|
}
|
|
564
|
-
function
|
|
565
|
+
function D(w) {
|
|
565
566
|
const c = Math.abs(w.x) > Math.abs(w.y) ? "x" : "y";
|
|
566
|
-
return
|
|
567
|
+
return S(c) ? c : null;
|
|
567
568
|
}
|
|
568
|
-
function
|
|
569
|
-
return t.px ? t.px : w && t.percent &&
|
|
569
|
+
function R(w) {
|
|
570
|
+
return t.px ? t.px : w && t.percent && s ? s(w) * t.percent : 1 / 0;
|
|
570
571
|
}
|
|
571
|
-
function
|
|
572
|
+
function j(w) {
|
|
572
573
|
w.target.closest("button, a, input, textarea, select") || (m.value = Date.now(), w.target.setPointerCapture(w.pointerId), i.value = { x: w.clientX, y: w.clientY }, n.value = !0);
|
|
573
574
|
}
|
|
574
|
-
function
|
|
575
|
+
function B(w) {
|
|
575
576
|
if (!n.value) return;
|
|
576
577
|
const c = { x: 0, y: 0 }, v = { x: w.clientX - i.value.x, y: w.clientY - i.value.y };
|
|
577
|
-
if (l.value.x = Math.max(l.value.x, Math.abs(v.x)), l.value.y = Math.max(l.value.y, Math.abs(v.y)), !
|
|
578
|
-
if (c[
|
|
579
|
-
const
|
|
580
|
-
c[
|
|
578
|
+
if (l.value.x = Math.max(l.value.x, Math.abs(v.x)), l.value.y = Math.max(l.value.y, Math.abs(v.y)), !b.value && (Math.abs(v.x) > Ee || Math.abs(v.y) > Ee) && (b.value = D(v)), !!b.value) {
|
|
579
|
+
if (c[b.value] = z(v[b.value], p.value[b.value]), c[b.value] === 0 && v[b.value] !== 0) {
|
|
580
|
+
const L = v[b.value] * k(v[b.value]);
|
|
581
|
+
c[b.value] = Math.abs(L) < Math.abs(v[b.value]) ? L : v[b.value];
|
|
581
582
|
}
|
|
582
583
|
a.value = c;
|
|
583
584
|
}
|
|
584
585
|
}
|
|
585
|
-
function
|
|
586
|
+
function N() {
|
|
586
587
|
if (!n.value) return !1;
|
|
587
|
-
const w = Date.now() - (m.value ?? 0), c =
|
|
588
|
-
return
|
|
588
|
+
const w = Date.now() - (m.value ?? 0), c = b.value ? a.value[b.value] : 0, v = Math.abs(c) / w, L = Math.abs(c) >= R(b.value) || v > (o ?? 0.11);
|
|
589
|
+
return L && r(), n.value = !1, b.value = null, a.value = { x: 0, y: 0 }, L;
|
|
589
590
|
}
|
|
590
|
-
function
|
|
591
|
-
n.value = !1,
|
|
591
|
+
function _() {
|
|
592
|
+
n.value = !1, b.value = null, a.value = { x: 0, y: 0 };
|
|
592
593
|
}
|
|
593
|
-
function
|
|
594
|
-
return l.value.x <=
|
|
594
|
+
function F() {
|
|
595
|
+
return l.value.x <= ze && l.value.y <= ze;
|
|
595
596
|
}
|
|
596
597
|
return {
|
|
597
598
|
offset: a,
|
|
598
599
|
isSwiping: n,
|
|
599
|
-
onPointerDown:
|
|
600
|
-
onPointerMove:
|
|
601
|
-
onPointerUp:
|
|
602
|
-
onPointerCancel:
|
|
603
|
-
isTapGesture:
|
|
600
|
+
onPointerDown: j,
|
|
601
|
+
onPointerMove: B,
|
|
602
|
+
onPointerUp: N,
|
|
603
|
+
onPointerCancel: _,
|
|
604
|
+
isTapGesture: F
|
|
604
605
|
};
|
|
605
606
|
}
|
|
606
|
-
const
|
|
607
|
-
function
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
},
|
|
607
|
+
const Lo = 45, Ro = 0.11, se = y(!1), ye = y(!1), xe = y(300), Q = y(null), Ye = de({}), $e = ge(null);
|
|
608
|
+
function vt(e, t = {}) {
|
|
609
|
+
Q.value && clearTimeout(Q.value), $e.value = e, Object.assign(Ye, t), ye.value = !0, se.value = !0, Q.value = window.setTimeout(() => {
|
|
610
|
+
se.value = !1;
|
|
611
|
+
}, xe.value);
|
|
611
612
|
}
|
|
612
|
-
function
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
},
|
|
613
|
+
function wt() {
|
|
614
|
+
Q.value && clearTimeout(Q.value), ye.value = !1, se.value = !0, Q.value = window.setTimeout(() => {
|
|
615
|
+
se.value = !1;
|
|
616
|
+
}, xe.value);
|
|
616
617
|
}
|
|
617
|
-
function
|
|
618
|
-
return { isOpen:
|
|
618
|
+
function Bo() {
|
|
619
|
+
return { isOpen: ye, isAnimating: se, animationTime: xe, props: Ye, component: $e, open: vt, close: wt };
|
|
619
620
|
}
|
|
620
|
-
let
|
|
621
|
-
function
|
|
622
|
-
const e = y(!1), t = y(!1), o = y(200),
|
|
621
|
+
let be = null;
|
|
622
|
+
function yt() {
|
|
623
|
+
const e = y(!1), t = y(!1), o = y(200), s = y(null), r = ge({}), n = ge(null);
|
|
623
624
|
function a(l, m = {}) {
|
|
624
|
-
var p,
|
|
625
|
+
var p, b;
|
|
625
626
|
if (t.value) {
|
|
626
627
|
i("programmatic");
|
|
627
628
|
return;
|
|
628
629
|
}
|
|
629
|
-
|
|
630
|
+
s.value && clearTimeout(s.value), r.value = m, n.value = l, t.value = !0, e.value = !0, (b = (p = r.value) == null ? void 0 : p.onOpen) == null || b.call(p), s.value = window.setTimeout(() => {
|
|
630
631
|
e.value = !1;
|
|
631
632
|
}, o.value);
|
|
632
633
|
}
|
|
633
634
|
function i(l) {
|
|
634
635
|
var m, p;
|
|
635
|
-
t.value && (
|
|
636
|
-
e.value = !1, n.value = null,
|
|
636
|
+
t.value && (s.value && clearTimeout(s.value), !(l !== "programmatic" && r.value.preventClose) && (l === "escape" && !(r.value.closeOnEsc ?? !0) || l === "backdrop" && !(r.value.closeOnBackdrop ?? !0) || l === "swipe" && !(r.value.closeOnSwipe ?? !0) || (t.value = !1, e.value = !0, (p = (m = r.value) == null ? void 0 : m.onClose) == null || p.call(m, l), s.value = window.setTimeout(() => {
|
|
637
|
+
e.value = !1, n.value = null, r.value = {};
|
|
637
638
|
}, o.value))));
|
|
638
639
|
}
|
|
639
|
-
return { isOpen:
|
|
640
|
+
return { isOpen: Pe(t), isAnimating: Pe(e), animationTime: o, props: r, component: n, open: a, close: i };
|
|
640
641
|
}
|
|
641
642
|
function ve() {
|
|
642
|
-
return
|
|
643
|
+
return be || (be = yt()), be;
|
|
643
644
|
}
|
|
644
|
-
function
|
|
645
|
+
function Fo() {
|
|
645
646
|
return ve();
|
|
646
647
|
}
|
|
647
|
-
const
|
|
648
|
+
const No = {
|
|
648
649
|
open: (e, t) => ve().open(e, t),
|
|
649
650
|
close: (e) => ve().close(e)
|
|
650
|
-
},
|
|
651
|
-
stringInsensitive: (e, t) =>
|
|
651
|
+
}, xt = {
|
|
652
|
+
stringInsensitive: (e, t) => Le(e).localeCompare(Le(t)),
|
|
652
653
|
date: (e, t) => new Date(e).getTime() - new Date(t).getTime(),
|
|
653
654
|
number: (e, t) => parseFloat(e) - parseFloat(t)
|
|
654
655
|
};
|
|
655
|
-
function
|
|
656
|
+
function Le(e) {
|
|
656
657
|
return String(e ?? "").toLowerCase().replace(/\s+/g, " ").trim();
|
|
657
658
|
}
|
|
658
|
-
function
|
|
659
|
-
return (
|
|
660
|
-
const n =
|
|
659
|
+
function _o(e, t = 1, o = ["date", "date_released"]) {
|
|
660
|
+
return (s, r) => {
|
|
661
|
+
const n = s[e], a = r[e];
|
|
661
662
|
if (n instanceof Date && a instanceof Date || o.includes(String(e))) {
|
|
662
663
|
const m = new Date(String(n));
|
|
663
664
|
return (new Date(String(a)).getTime() - m.getTime()) * t;
|
|
@@ -666,99 +667,131 @@ function ko(e, t = 1, o = ["date", "date_released"]) {
|
|
|
666
667
|
return !isNaN(i) && !isNaN(l) ? (i - l) * t : String(n).toLowerCase().replace(/\s+/g, " ").localeCompare(String(a).toLowerCase().replace(/\s+/g, " ")) * t;
|
|
667
668
|
};
|
|
668
669
|
}
|
|
669
|
-
function
|
|
670
|
-
return (o,
|
|
671
|
-
for (const { key:
|
|
672
|
-
const a =
|
|
670
|
+
function Vo(e, t = 1) {
|
|
671
|
+
return (o, s) => {
|
|
672
|
+
for (const { key: r, compareFn: n } of e) {
|
|
673
|
+
const a = r ? o[r] ?? "" : void 0, i = r ? s[r] ?? "" : void 0;
|
|
673
674
|
let l;
|
|
674
|
-
if (n ? l =
|
|
675
|
+
if (n ? l = r ? n(a, i) : n(o, s) : l = kt(a, i), l !== 0) return l * t;
|
|
675
676
|
}
|
|
676
677
|
return 0;
|
|
677
678
|
};
|
|
678
679
|
}
|
|
679
|
-
function
|
|
680
|
-
const o = parseFloat(e),
|
|
681
|
-
if (!isNaN(o) && !isNaN(
|
|
682
|
-
return o -
|
|
683
|
-
const
|
|
684
|
-
return !isNaN(
|
|
680
|
+
function kt(e, t) {
|
|
681
|
+
const o = parseFloat(e), s = parseFloat(t);
|
|
682
|
+
if (!isNaN(o) && !isNaN(s))
|
|
683
|
+
return o - s;
|
|
684
|
+
const r = new Date(e), n = new Date(t);
|
|
685
|
+
return !isNaN(r.getTime()) && !isNaN(n.getTime()) ? r.getTime() - n.getTime() : xt.stringInsensitive(e, t);
|
|
685
686
|
}
|
|
686
|
-
const
|
|
687
|
-
const
|
|
687
|
+
const It = (e, t) => {
|
|
688
|
+
const o = new Array(e.length + t.length);
|
|
689
|
+
for (let s = 0; s < e.length; s++)
|
|
690
|
+
o[s] = e[s];
|
|
691
|
+
for (let s = 0; s < t.length; s++)
|
|
692
|
+
o[e.length + s] = t[s];
|
|
693
|
+
return o;
|
|
694
|
+
}, Tt = (e, t) => ({
|
|
695
|
+
classGroupId: e,
|
|
696
|
+
validator: t
|
|
697
|
+
}), Ge = (e = /* @__PURE__ */ new Map(), t = null, o) => ({
|
|
698
|
+
nextPart: e,
|
|
699
|
+
validators: t,
|
|
700
|
+
classGroupId: o
|
|
701
|
+
}), ue = "-", Re = [], St = "arbitrary..", At = (e) => {
|
|
702
|
+
const t = Ct(e), {
|
|
688
703
|
conflictingClassGroups: o,
|
|
689
|
-
conflictingClassGroupModifiers:
|
|
704
|
+
conflictingClassGroupModifiers: s
|
|
690
705
|
} = e;
|
|
691
706
|
return {
|
|
692
707
|
getClassGroupId: (a) => {
|
|
693
|
-
|
|
694
|
-
|
|
708
|
+
if (a.startsWith("[") && a.endsWith("]"))
|
|
709
|
+
return Dt(a);
|
|
710
|
+
const i = a.split(ue), l = i[0] === "" && i.length > 1 ? 1 : 0;
|
|
711
|
+
return Ke(i, l, t);
|
|
695
712
|
},
|
|
696
713
|
getConflictingClassGroupIds: (a, i) => {
|
|
697
|
-
|
|
698
|
-
|
|
714
|
+
if (i) {
|
|
715
|
+
const l = s[a], m = o[a];
|
|
716
|
+
return l ? m ? It(m, l) : l : m || Re;
|
|
717
|
+
}
|
|
718
|
+
return o[a] || Re;
|
|
699
719
|
}
|
|
700
720
|
};
|
|
701
|
-
},
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
return
|
|
708
|
-
|
|
721
|
+
}, Ke = (e, t, o) => {
|
|
722
|
+
if (e.length - t === 0)
|
|
723
|
+
return o.classGroupId;
|
|
724
|
+
const r = e[t], n = o.nextPart.get(r);
|
|
725
|
+
if (n) {
|
|
726
|
+
const m = Ke(e, t + 1, n);
|
|
727
|
+
if (m) return m;
|
|
728
|
+
}
|
|
729
|
+
const a = o.validators;
|
|
730
|
+
if (a === null)
|
|
709
731
|
return;
|
|
710
|
-
const
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
if (ze.test(e)) {
|
|
716
|
-
const t = ze.exec(e)[1], o = t == null ? void 0 : t.substring(0, t.indexOf(":"));
|
|
717
|
-
if (o)
|
|
718
|
-
return "arbitrary.." + o;
|
|
732
|
+
const i = t === 0 ? e.join(ue) : e.slice(t).join(ue), l = a.length;
|
|
733
|
+
for (let m = 0; m < l; m++) {
|
|
734
|
+
const p = a[m];
|
|
735
|
+
if (p.validator(i))
|
|
736
|
+
return p.classGroupId;
|
|
719
737
|
}
|
|
720
|
-
},
|
|
738
|
+
}, Dt = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
739
|
+
const t = e.slice(1, -1), o = t.indexOf(":"), s = t.slice(0, o);
|
|
740
|
+
return s ? St + s : void 0;
|
|
741
|
+
})(), Ct = (e) => {
|
|
721
742
|
const {
|
|
722
743
|
theme: t,
|
|
723
744
|
classGroups: o
|
|
724
|
-
} = e
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
for (const s in
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
745
|
+
} = e;
|
|
746
|
+
return Mt(o, t);
|
|
747
|
+
}, Mt = (e, t) => {
|
|
748
|
+
const o = Ge();
|
|
749
|
+
for (const s in e) {
|
|
750
|
+
const r = e[s];
|
|
751
|
+
ke(r, o, s, t);
|
|
752
|
+
}
|
|
753
|
+
return o;
|
|
754
|
+
}, ke = (e, t, o, s) => {
|
|
755
|
+
const r = e.length;
|
|
756
|
+
for (let n = 0; n < r; n++) {
|
|
757
|
+
const a = e[n];
|
|
758
|
+
Pt(a, t, o, s);
|
|
759
|
+
}
|
|
760
|
+
}, Pt = (e, t, o, s) => {
|
|
761
|
+
if (typeof e == "string") {
|
|
762
|
+
Ot(e, t, o);
|
|
763
|
+
return;
|
|
764
|
+
}
|
|
765
|
+
if (typeof e == "function") {
|
|
766
|
+
Et(e, t, o, s);
|
|
767
|
+
return;
|
|
768
|
+
}
|
|
769
|
+
zt(e, t, o, s);
|
|
770
|
+
}, Ot = (e, t, o) => {
|
|
771
|
+
const s = e === "" ? t : We(t, e);
|
|
772
|
+
s.classGroupId = o;
|
|
773
|
+
}, Et = (e, t, o, s) => {
|
|
774
|
+
if (Lt(e)) {
|
|
775
|
+
ke(e(s), t, o, s);
|
|
776
|
+
return;
|
|
777
|
+
}
|
|
778
|
+
t.validators === null && (t.validators = []), t.validators.push(Tt(o, e));
|
|
779
|
+
}, zt = (e, t, o, s) => {
|
|
780
|
+
const r = Object.entries(e), n = r.length;
|
|
781
|
+
for (let a = 0; a < n; a++) {
|
|
782
|
+
const [i, l] = r[a];
|
|
783
|
+
ke(l, We(t, i), o, s);
|
|
784
|
+
}
|
|
785
|
+
}, We = (e, t) => {
|
|
754
786
|
let o = e;
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
}
|
|
761
|
-
|
|
787
|
+
const s = t.split(ue), r = s.length;
|
|
788
|
+
for (let n = 0; n < r; n++) {
|
|
789
|
+
const a = s[n];
|
|
790
|
+
let i = o.nextPart.get(a);
|
|
791
|
+
i || (i = Ge(), o.nextPart.set(a, i)), o = i;
|
|
792
|
+
}
|
|
793
|
+
return o;
|
|
794
|
+
}, Lt = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Rt = (e) => {
|
|
762
795
|
if (e < 1)
|
|
763
796
|
return {
|
|
764
797
|
get: () => {
|
|
@@ -766,178 +799,178 @@ const Te = "-", ht = (e) => {
|
|
|
766
799
|
set: () => {
|
|
767
800
|
}
|
|
768
801
|
};
|
|
769
|
-
let t = 0, o = /* @__PURE__ */
|
|
770
|
-
const
|
|
771
|
-
o
|
|
802
|
+
let t = 0, o = /* @__PURE__ */ Object.create(null), s = /* @__PURE__ */ Object.create(null);
|
|
803
|
+
const r = (n, a) => {
|
|
804
|
+
o[n] = a, t++, t > e && (t = 0, s = o, o = /* @__PURE__ */ Object.create(null));
|
|
772
805
|
};
|
|
773
806
|
return {
|
|
774
807
|
get(n) {
|
|
775
|
-
let a = o
|
|
808
|
+
let a = o[n];
|
|
776
809
|
if (a !== void 0)
|
|
777
810
|
return a;
|
|
778
|
-
if ((a =
|
|
779
|
-
return
|
|
811
|
+
if ((a = s[n]) !== void 0)
|
|
812
|
+
return r(n, a), a;
|
|
780
813
|
},
|
|
781
814
|
set(n, a) {
|
|
782
|
-
|
|
815
|
+
n in o ? o[n] = a : r(n, a);
|
|
783
816
|
}
|
|
784
817
|
};
|
|
785
|
-
},
|
|
818
|
+
}, we = "!", Be = ":", Bt = [], Fe = (e, t, o, s, r) => ({
|
|
819
|
+
modifiers: e,
|
|
820
|
+
hasImportantModifier: t,
|
|
821
|
+
baseClassName: o,
|
|
822
|
+
maybePostfixModifierPosition: s,
|
|
823
|
+
isExternal: r
|
|
824
|
+
}), Ft = (e) => {
|
|
786
825
|
const {
|
|
787
826
|
prefix: t,
|
|
788
827
|
experimentalParseClassName: o
|
|
789
828
|
} = e;
|
|
790
|
-
let
|
|
829
|
+
let s = (r) => {
|
|
791
830
|
const n = [];
|
|
792
831
|
let a = 0, i = 0, l = 0, m;
|
|
793
|
-
|
|
794
|
-
|
|
832
|
+
const p = r.length;
|
|
833
|
+
for (let C = 0; C < p; C++) {
|
|
834
|
+
const D = r[C];
|
|
795
835
|
if (a === 0 && i === 0) {
|
|
796
|
-
if (
|
|
797
|
-
n.push(
|
|
836
|
+
if (D === Be) {
|
|
837
|
+
n.push(r.slice(l, C)), l = C + 1;
|
|
798
838
|
continue;
|
|
799
839
|
}
|
|
800
|
-
if (
|
|
801
|
-
m =
|
|
840
|
+
if (D === "/") {
|
|
841
|
+
m = C;
|
|
802
842
|
continue;
|
|
803
843
|
}
|
|
804
844
|
}
|
|
805
|
-
|
|
845
|
+
D === "[" ? a++ : D === "]" ? a-- : D === "(" ? i++ : D === ")" && i--;
|
|
806
846
|
}
|
|
807
|
-
const
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
847
|
+
const b = n.length === 0 ? r : r.slice(l);
|
|
848
|
+
let k = b, z = !1;
|
|
849
|
+
b.endsWith(we) ? (k = b.slice(0, -1), z = !0) : (
|
|
850
|
+
/**
|
|
851
|
+
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
852
|
+
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
853
|
+
*/
|
|
854
|
+
b.startsWith(we) && (k = b.slice(1), z = !0)
|
|
855
|
+
);
|
|
856
|
+
const S = m && m > l ? m - l : void 0;
|
|
857
|
+
return Fe(n, z, k, S);
|
|
814
858
|
};
|
|
815
859
|
if (t) {
|
|
816
|
-
const
|
|
817
|
-
|
|
818
|
-
isExternal: !0,
|
|
819
|
-
modifiers: [],
|
|
820
|
-
hasImportantModifier: !1,
|
|
821
|
-
baseClassName: a,
|
|
822
|
-
maybePostfixModifierPosition: void 0
|
|
823
|
-
};
|
|
860
|
+
const r = t + Be, n = s;
|
|
861
|
+
s = (a) => a.startsWith(r) ? n(a.slice(r.length)) : Fe(Bt, !1, a, void 0, !0);
|
|
824
862
|
}
|
|
825
863
|
if (o) {
|
|
826
|
-
const
|
|
827
|
-
|
|
864
|
+
const r = s;
|
|
865
|
+
s = (n) => o({
|
|
828
866
|
className: n,
|
|
829
|
-
parseClassName:
|
|
867
|
+
parseClassName: r
|
|
830
868
|
});
|
|
831
869
|
}
|
|
832
|
-
return
|
|
833
|
-
},
|
|
834
|
-
const t =
|
|
835
|
-
return (
|
|
836
|
-
|
|
837
|
-
|
|
870
|
+
return s;
|
|
871
|
+
}, Nt = (e) => {
|
|
872
|
+
const t = /* @__PURE__ */ new Map();
|
|
873
|
+
return e.orderSensitiveModifiers.forEach((o, s) => {
|
|
874
|
+
t.set(o, 1e6 + s);
|
|
875
|
+
}), (o) => {
|
|
838
876
|
const s = [];
|
|
839
|
-
let
|
|
840
|
-
|
|
841
|
-
a[0] === "["
|
|
842
|
-
|
|
877
|
+
let r = [];
|
|
878
|
+
for (let n = 0; n < o.length; n++) {
|
|
879
|
+
const a = o[n], i = a[0] === "[", l = t.has(a);
|
|
880
|
+
i || l ? (r.length > 0 && (r.sort(), s.push(...r), r = []), s.push(a)) : r.push(a);
|
|
881
|
+
}
|
|
882
|
+
return r.length > 0 && (r.sort(), s.push(...r)), s;
|
|
843
883
|
};
|
|
844
|
-
},
|
|
845
|
-
cache:
|
|
846
|
-
parseClassName:
|
|
847
|
-
sortModifiers:
|
|
848
|
-
...
|
|
849
|
-
}),
|
|
884
|
+
}, _t = (e) => ({
|
|
885
|
+
cache: Rt(e.cacheSize),
|
|
886
|
+
parseClassName: Ft(e),
|
|
887
|
+
sortModifiers: Nt(e),
|
|
888
|
+
...At(e)
|
|
889
|
+
}), Vt = /\s+/, jt = (e, t) => {
|
|
850
890
|
const {
|
|
851
891
|
parseClassName: o,
|
|
852
|
-
getClassGroupId:
|
|
853
|
-
getConflictingClassGroupIds:
|
|
892
|
+
getClassGroupId: s,
|
|
893
|
+
getConflictingClassGroupIds: r,
|
|
854
894
|
sortModifiers: n
|
|
855
|
-
} = t, a = [], i = e.trim().split(
|
|
895
|
+
} = t, a = [], i = e.trim().split(Vt);
|
|
856
896
|
let l = "";
|
|
857
897
|
for (let m = i.length - 1; m >= 0; m -= 1) {
|
|
858
898
|
const p = i[m], {
|
|
859
|
-
isExternal:
|
|
860
|
-
modifiers:
|
|
861
|
-
hasImportantModifier:
|
|
862
|
-
baseClassName:
|
|
863
|
-
maybePostfixModifierPosition:
|
|
899
|
+
isExternal: b,
|
|
900
|
+
modifiers: k,
|
|
901
|
+
hasImportantModifier: z,
|
|
902
|
+
baseClassName: S,
|
|
903
|
+
maybePostfixModifierPosition: C
|
|
864
904
|
} = o(p);
|
|
865
|
-
if (
|
|
905
|
+
if (b) {
|
|
866
906
|
l = p + (l.length > 0 ? " " + l : l);
|
|
867
907
|
continue;
|
|
868
908
|
}
|
|
869
|
-
let
|
|
870
|
-
if (!
|
|
871
|
-
if (!
|
|
909
|
+
let D = !!C, R = s(D ? S.substring(0, C) : S);
|
|
910
|
+
if (!R) {
|
|
911
|
+
if (!D) {
|
|
872
912
|
l = p + (l.length > 0 ? " " + l : l);
|
|
873
913
|
continue;
|
|
874
914
|
}
|
|
875
|
-
if (
|
|
915
|
+
if (R = s(S), !R) {
|
|
876
916
|
l = p + (l.length > 0 ? " " + l : l);
|
|
877
917
|
continue;
|
|
878
918
|
}
|
|
879
|
-
|
|
919
|
+
D = !1;
|
|
880
920
|
}
|
|
881
|
-
const
|
|
882
|
-
if (a.
|
|
921
|
+
const j = k.length === 0 ? "" : k.length === 1 ? k[0] : n(k).join(":"), B = z ? j + we : j, N = B + R;
|
|
922
|
+
if (a.indexOf(N) > -1)
|
|
883
923
|
continue;
|
|
884
|
-
a.push(
|
|
885
|
-
const
|
|
886
|
-
for (let
|
|
887
|
-
const w =
|
|
888
|
-
a.push(
|
|
924
|
+
a.push(N);
|
|
925
|
+
const _ = r(R, D);
|
|
926
|
+
for (let F = 0; F < _.length; ++F) {
|
|
927
|
+
const w = _[F];
|
|
928
|
+
a.push(B + w);
|
|
889
929
|
}
|
|
890
930
|
l = p + (l.length > 0 ? " " + l : l);
|
|
891
931
|
}
|
|
892
932
|
return l;
|
|
893
|
-
}
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
(t = arguments[e++]) && (o = $e(t)) && (r && (r += " "), r += o);
|
|
933
|
+
}, Yt = (...e) => {
|
|
934
|
+
let t = 0, o, s, r = "";
|
|
935
|
+
for (; t < e.length; )
|
|
936
|
+
(o = e[t++]) && (s = He(o)) && (r && (r += " "), r += s);
|
|
898
937
|
return r;
|
|
899
|
-
}
|
|
900
|
-
const $e = (e) => {
|
|
938
|
+
}, He = (e) => {
|
|
901
939
|
if (typeof e == "string")
|
|
902
940
|
return e;
|
|
903
941
|
let t, o = "";
|
|
904
|
-
for (let
|
|
905
|
-
e[
|
|
942
|
+
for (let s = 0; s < e.length; s++)
|
|
943
|
+
e[s] && (t = He(e[s])) && (o && (o += " "), o += t);
|
|
906
944
|
return o;
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
function i(l) {
|
|
915
|
-
const m = r(l);
|
|
945
|
+
}, $t = (e, ...t) => {
|
|
946
|
+
let o, s, r, n;
|
|
947
|
+
const a = (l) => {
|
|
948
|
+
const m = t.reduce((p, b) => b(p), e());
|
|
949
|
+
return o = _t(m), s = o.cache.get, r = o.cache.set, n = i, i(l);
|
|
950
|
+
}, i = (l) => {
|
|
951
|
+
const m = s(l);
|
|
916
952
|
if (m)
|
|
917
953
|
return m;
|
|
918
|
-
const p =
|
|
919
|
-
return
|
|
920
|
-
}
|
|
921
|
-
return function() {
|
|
922
|
-
return n(At.apply(null, arguments));
|
|
954
|
+
const p = jt(l, o);
|
|
955
|
+
return r(l, p), p;
|
|
923
956
|
};
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
const t = (o) => o[e] ||
|
|
957
|
+
return n = a, (...l) => n(Yt(...l));
|
|
958
|
+
}, Gt = [], T = (e) => {
|
|
959
|
+
const t = (o) => o[e] || Gt;
|
|
927
960
|
return t.isThemeGetter = !0, t;
|
|
928
|
-
},
|
|
961
|
+
}, Ue = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, qe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Kt = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Wt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ht = /\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$/, Ut = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, qt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Xt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Y = (e) => Kt.test(e), g = (e) => !!e && !Number.isNaN(Number(e)), $ = (e) => !!e && Number.isInteger(Number(e)), he = (e) => e.endsWith("%") && g(e.slice(0, -1)), V = (e) => Wt.test(e), Xe = () => !0, Jt = (e) => (
|
|
929
962
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
930
963
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
931
964
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
932
|
-
|
|
933
|
-
),
|
|
934
|
-
const
|
|
935
|
-
return
|
|
936
|
-
},
|
|
937
|
-
const
|
|
938
|
-
return
|
|
939
|
-
},
|
|
940
|
-
const e = T("color"), t = T("font"), o = T("text"),
|
|
965
|
+
Ht.test(e) && !Ut.test(e)
|
|
966
|
+
), Ie = () => !1, Zt = (e) => qt.test(e), Qt = (e) => Xt.test(e), eo = (e) => !u(e) && !d(e), to = (e) => K(e, Qe, Ie), u = (e) => Ue.test(e), q = (e) => K(e, et, Jt), Ne = (e) => K(e, co, g), oo = (e) => K(e, ot, Xe), so = (e) => K(e, tt, Ie), _e = (e) => K(e, Je, Ie), ro = (e) => K(e, Ze, Qt), le = (e) => K(e, st, Zt), d = (e) => qe.test(e), oe = (e) => J(e, et), no = (e) => J(e, tt), Ve = (e) => J(e, Je), ao = (e) => J(e, Qe), io = (e) => J(e, Ze), ce = (e) => J(e, st, !0), lo = (e) => J(e, ot, !0), K = (e, t, o) => {
|
|
967
|
+
const s = Ue.exec(e);
|
|
968
|
+
return s ? s[1] ? t(s[1]) : o(s[2]) : !1;
|
|
969
|
+
}, J = (e, t, o = !1) => {
|
|
970
|
+
const s = qe.exec(e);
|
|
971
|
+
return s ? s[1] ? t(s[1]) : o : !1;
|
|
972
|
+
}, Je = (e) => e === "position" || e === "percentage", Ze = (e) => e === "image" || e === "url", Qe = (e) => e === "length" || e === "size" || e === "bg-size", et = (e) => e === "length", co = (e) => e === "number", tt = (e) => e === "family-name", ot = (e) => e === "number" || e === "weight", st = (e) => e === "shadow", uo = () => {
|
|
973
|
+
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"), l = T("spacing"), m = T("radius"), p = T("shadow"), b = T("inset-shadow"), k = T("text-shadow"), z = T("drop-shadow"), S = T("blur"), C = T("perspective"), D = T("aspect"), R = T("ease"), j = T("animate"), B = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], N = () => [
|
|
941
974
|
"center",
|
|
942
975
|
"top",
|
|
943
976
|
"bottom",
|
|
@@ -955,15 +988,15 @@ const T = (e) => {
|
|
|
955
988
|
"bottom-left",
|
|
956
989
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
957
990
|
"left-bottom"
|
|
958
|
-
],
|
|
959
|
-
span: ["full",
|
|
960
|
-
},
|
|
991
|
+
], _ = () => [...N(), d, u], F = () => ["auto", "hidden", "clip", "visible", "scroll"], w = () => ["auto", "contain", "none"], c = () => [d, u, l], v = () => [Y, "full", "auto", ...c()], L = () => [$, "none", "subgrid", d, u], ee = () => ["auto", {
|
|
992
|
+
span: ["full", $, d, u]
|
|
993
|
+
}, $, d, u], W = () => [$, "auto", d, u], te = () => ["auto", "min", "max", "fr", d, u], h = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], I = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], x = () => ["auto", ...c()], M = () => [Y, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...c()], H = () => [Y, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...c()], U = () => [Y, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...c()], f = () => [e, d, u], Te = () => [...N(), Ve, _e, {
|
|
961
994
|
position: [d, u]
|
|
962
|
-
}],
|
|
995
|
+
}], Se = () => ["no-repeat", {
|
|
963
996
|
repeat: ["", "x", "y", "space", "round"]
|
|
964
|
-
}],
|
|
997
|
+
}], Ae = () => ["auto", "cover", "contain", ao, to, {
|
|
965
998
|
size: [d, u]
|
|
966
|
-
}],
|
|
999
|
+
}], me = () => [he, oe, q], P = () => [
|
|
967
1000
|
// Deprecated since Tailwind CSS v4.0.0
|
|
968
1001
|
"",
|
|
969
1002
|
"none",
|
|
@@ -971,35 +1004,35 @@ const T = (e) => {
|
|
|
971
1004
|
m,
|
|
972
1005
|
d,
|
|
973
1006
|
u
|
|
974
|
-
],
|
|
1007
|
+
], O = () => ["", g, oe, q], re = () => ["solid", "dashed", "dotted", "double"], De = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], A = () => [g, he, Ve, _e], Ce = () => [
|
|
975
1008
|
// Deprecated since Tailwind CSS v4.0.0
|
|
976
1009
|
"",
|
|
977
1010
|
"none",
|
|
978
|
-
|
|
1011
|
+
S,
|
|
979
1012
|
d,
|
|
980
1013
|
u
|
|
981
|
-
], ne = () => ["none",
|
|
1014
|
+
], ne = () => ["none", g, d, u], ae = () => ["none", g, d, u], fe = () => [g, d, u], ie = () => [Y, "full", ...c()];
|
|
982
1015
|
return {
|
|
983
1016
|
cacheSize: 500,
|
|
984
1017
|
theme: {
|
|
985
1018
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
986
1019
|
aspect: ["video"],
|
|
987
|
-
blur: [
|
|
988
|
-
breakpoint: [
|
|
989
|
-
color: [
|
|
990
|
-
container: [
|
|
991
|
-
"drop-shadow": [
|
|
1020
|
+
blur: [V],
|
|
1021
|
+
breakpoint: [V],
|
|
1022
|
+
color: [Xe],
|
|
1023
|
+
container: [V],
|
|
1024
|
+
"drop-shadow": [V],
|
|
992
1025
|
ease: ["in", "out", "in-out"],
|
|
993
|
-
font: [
|
|
1026
|
+
font: [eo],
|
|
994
1027
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
995
|
-
"inset-shadow": [
|
|
1028
|
+
"inset-shadow": [V],
|
|
996
1029
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
997
1030
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
998
|
-
radius: [
|
|
999
|
-
shadow: [
|
|
1000
|
-
spacing: ["px",
|
|
1001
|
-
text: [
|
|
1002
|
-
"text-shadow": [
|
|
1031
|
+
radius: [V],
|
|
1032
|
+
shadow: [V],
|
|
1033
|
+
spacing: ["px", g],
|
|
1034
|
+
text: [V],
|
|
1035
|
+
"text-shadow": [V],
|
|
1003
1036
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
1004
1037
|
},
|
|
1005
1038
|
classGroups: {
|
|
@@ -1011,7 +1044,7 @@ const T = (e) => {
|
|
|
1011
1044
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
1012
1045
|
*/
|
|
1013
1046
|
aspect: [{
|
|
1014
|
-
aspect: ["auto", "square",
|
|
1047
|
+
aspect: ["auto", "square", Y, u, d, D]
|
|
1015
1048
|
}],
|
|
1016
1049
|
/**
|
|
1017
1050
|
* Container
|
|
@@ -1024,21 +1057,21 @@ const T = (e) => {
|
|
|
1024
1057
|
* @see https://tailwindcss.com/docs/columns
|
|
1025
1058
|
*/
|
|
1026
1059
|
columns: [{
|
|
1027
|
-
columns: [
|
|
1060
|
+
columns: [g, u, d, i]
|
|
1028
1061
|
}],
|
|
1029
1062
|
/**
|
|
1030
1063
|
* Break After
|
|
1031
1064
|
* @see https://tailwindcss.com/docs/break-after
|
|
1032
1065
|
*/
|
|
1033
1066
|
"break-after": [{
|
|
1034
|
-
"break-after":
|
|
1067
|
+
"break-after": B()
|
|
1035
1068
|
}],
|
|
1036
1069
|
/**
|
|
1037
1070
|
* Break Before
|
|
1038
1071
|
* @see https://tailwindcss.com/docs/break-before
|
|
1039
1072
|
*/
|
|
1040
1073
|
"break-before": [{
|
|
1041
|
-
"break-before":
|
|
1074
|
+
"break-before": B()
|
|
1042
1075
|
}],
|
|
1043
1076
|
/**
|
|
1044
1077
|
* Break Inside
|
|
@@ -1102,28 +1135,28 @@ const T = (e) => {
|
|
|
1102
1135
|
* @see https://tailwindcss.com/docs/object-position
|
|
1103
1136
|
*/
|
|
1104
1137
|
"object-position": [{
|
|
1105
|
-
object:
|
|
1138
|
+
object: _()
|
|
1106
1139
|
}],
|
|
1107
1140
|
/**
|
|
1108
1141
|
* Overflow
|
|
1109
1142
|
* @see https://tailwindcss.com/docs/overflow
|
|
1110
1143
|
*/
|
|
1111
1144
|
overflow: [{
|
|
1112
|
-
overflow:
|
|
1145
|
+
overflow: F()
|
|
1113
1146
|
}],
|
|
1114
1147
|
/**
|
|
1115
1148
|
* Overflow X
|
|
1116
1149
|
* @see https://tailwindcss.com/docs/overflow
|
|
1117
1150
|
*/
|
|
1118
1151
|
"overflow-x": [{
|
|
1119
|
-
"overflow-x":
|
|
1152
|
+
"overflow-x": F()
|
|
1120
1153
|
}],
|
|
1121
1154
|
/**
|
|
1122
1155
|
* Overflow Y
|
|
1123
1156
|
* @see https://tailwindcss.com/docs/overflow
|
|
1124
1157
|
*/
|
|
1125
1158
|
"overflow-y": [{
|
|
1126
|
-
"overflow-y":
|
|
1159
|
+
"overflow-y": F()
|
|
1127
1160
|
}],
|
|
1128
1161
|
/**
|
|
1129
1162
|
* Overscroll Behavior
|
|
@@ -1152,40 +1185,66 @@ const T = (e) => {
|
|
|
1152
1185
|
*/
|
|
1153
1186
|
position: ["static", "fixed", "absolute", "relative", "sticky"],
|
|
1154
1187
|
/**
|
|
1155
|
-
*
|
|
1188
|
+
* Inset
|
|
1156
1189
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1157
1190
|
*/
|
|
1158
1191
|
inset: [{
|
|
1159
1192
|
inset: v()
|
|
1160
1193
|
}],
|
|
1161
1194
|
/**
|
|
1162
|
-
*
|
|
1195
|
+
* Inset Inline
|
|
1163
1196
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1164
1197
|
*/
|
|
1165
1198
|
"inset-x": [{
|
|
1166
1199
|
"inset-x": v()
|
|
1167
1200
|
}],
|
|
1168
1201
|
/**
|
|
1169
|
-
*
|
|
1202
|
+
* Inset Block
|
|
1170
1203
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1171
1204
|
*/
|
|
1172
1205
|
"inset-y": [{
|
|
1173
1206
|
"inset-y": v()
|
|
1174
1207
|
}],
|
|
1175
1208
|
/**
|
|
1176
|
-
* Start
|
|
1209
|
+
* Inset Inline Start
|
|
1177
1210
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1211
|
+
* @todo class group will be renamed to `inset-s` in next major release
|
|
1178
1212
|
*/
|
|
1179
1213
|
start: [{
|
|
1214
|
+
"inset-s": v(),
|
|
1215
|
+
/**
|
|
1216
|
+
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
|
|
1217
|
+
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
1218
|
+
*/
|
|
1180
1219
|
start: v()
|
|
1181
1220
|
}],
|
|
1182
1221
|
/**
|
|
1183
|
-
* End
|
|
1222
|
+
* Inset Inline End
|
|
1184
1223
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1224
|
+
* @todo class group will be renamed to `inset-e` in next major release
|
|
1185
1225
|
*/
|
|
1186
1226
|
end: [{
|
|
1227
|
+
"inset-e": v(),
|
|
1228
|
+
/**
|
|
1229
|
+
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
|
|
1230
|
+
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
1231
|
+
*/
|
|
1187
1232
|
end: v()
|
|
1188
1233
|
}],
|
|
1234
|
+
/**
|
|
1235
|
+
* Inset Block Start
|
|
1236
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1237
|
+
*/
|
|
1238
|
+
"inset-bs": [{
|
|
1239
|
+
"inset-bs": v()
|
|
1240
|
+
}],
|
|
1241
|
+
/**
|
|
1242
|
+
* Inset Block End
|
|
1243
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1244
|
+
*/
|
|
1245
|
+
"inset-be": [{
|
|
1246
|
+
"inset-be": v()
|
|
1247
|
+
}],
|
|
1189
1248
|
/**
|
|
1190
1249
|
* Top
|
|
1191
1250
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
@@ -1224,7 +1283,7 @@ const T = (e) => {
|
|
|
1224
1283
|
* @see https://tailwindcss.com/docs/z-index
|
|
1225
1284
|
*/
|
|
1226
1285
|
z: [{
|
|
1227
|
-
z: [
|
|
1286
|
+
z: [$, "auto", d, u]
|
|
1228
1287
|
}],
|
|
1229
1288
|
// ------------------------
|
|
1230
1289
|
// --- Flexbox and Grid ---
|
|
@@ -1234,7 +1293,7 @@ const T = (e) => {
|
|
|
1234
1293
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
1235
1294
|
*/
|
|
1236
1295
|
basis: [{
|
|
1237
|
-
basis: [
|
|
1296
|
+
basis: [Y, "full", "auto", i, ...c()]
|
|
1238
1297
|
}],
|
|
1239
1298
|
/**
|
|
1240
1299
|
* Flex Direction
|
|
@@ -1255,35 +1314,35 @@ const T = (e) => {
|
|
|
1255
1314
|
* @see https://tailwindcss.com/docs/flex
|
|
1256
1315
|
*/
|
|
1257
1316
|
flex: [{
|
|
1258
|
-
flex: [
|
|
1317
|
+
flex: [g, Y, "auto", "initial", "none", u]
|
|
1259
1318
|
}],
|
|
1260
1319
|
/**
|
|
1261
1320
|
* Flex Grow
|
|
1262
1321
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
1263
1322
|
*/
|
|
1264
1323
|
grow: [{
|
|
1265
|
-
grow: ["",
|
|
1324
|
+
grow: ["", g, d, u]
|
|
1266
1325
|
}],
|
|
1267
1326
|
/**
|
|
1268
1327
|
* Flex Shrink
|
|
1269
1328
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1270
1329
|
*/
|
|
1271
1330
|
shrink: [{
|
|
1272
|
-
shrink: ["",
|
|
1331
|
+
shrink: ["", g, d, u]
|
|
1273
1332
|
}],
|
|
1274
1333
|
/**
|
|
1275
1334
|
* Order
|
|
1276
1335
|
* @see https://tailwindcss.com/docs/order
|
|
1277
1336
|
*/
|
|
1278
1337
|
order: [{
|
|
1279
|
-
order: [
|
|
1338
|
+
order: [$, "first", "last", "none", d, u]
|
|
1280
1339
|
}],
|
|
1281
1340
|
/**
|
|
1282
1341
|
* Grid Template Columns
|
|
1283
1342
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1284
1343
|
*/
|
|
1285
1344
|
"grid-cols": [{
|
|
1286
|
-
"grid-cols":
|
|
1345
|
+
"grid-cols": L()
|
|
1287
1346
|
}],
|
|
1288
1347
|
/**
|
|
1289
1348
|
* Grid Column Start / End
|
|
@@ -1297,21 +1356,21 @@ const T = (e) => {
|
|
|
1297
1356
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1298
1357
|
*/
|
|
1299
1358
|
"col-start": [{
|
|
1300
|
-
"col-start":
|
|
1359
|
+
"col-start": W()
|
|
1301
1360
|
}],
|
|
1302
1361
|
/**
|
|
1303
1362
|
* Grid Column End
|
|
1304
1363
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1305
1364
|
*/
|
|
1306
1365
|
"col-end": [{
|
|
1307
|
-
"col-end":
|
|
1366
|
+
"col-end": W()
|
|
1308
1367
|
}],
|
|
1309
1368
|
/**
|
|
1310
1369
|
* Grid Template Rows
|
|
1311
1370
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1312
1371
|
*/
|
|
1313
1372
|
"grid-rows": [{
|
|
1314
|
-
"grid-rows":
|
|
1373
|
+
"grid-rows": L()
|
|
1315
1374
|
}],
|
|
1316
1375
|
/**
|
|
1317
1376
|
* Grid Row Start / End
|
|
@@ -1325,14 +1384,14 @@ const T = (e) => {
|
|
|
1325
1384
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1326
1385
|
*/
|
|
1327
1386
|
"row-start": [{
|
|
1328
|
-
"row-start":
|
|
1387
|
+
"row-start": W()
|
|
1329
1388
|
}],
|
|
1330
1389
|
/**
|
|
1331
1390
|
* Grid Row End
|
|
1332
1391
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1333
1392
|
*/
|
|
1334
1393
|
"row-end": [{
|
|
1335
|
-
"row-end":
|
|
1394
|
+
"row-end": W()
|
|
1336
1395
|
}],
|
|
1337
1396
|
/**
|
|
1338
1397
|
* Grid Auto Flow
|
|
@@ -1452,33 +1511,47 @@ const T = (e) => {
|
|
|
1452
1511
|
p: c()
|
|
1453
1512
|
}],
|
|
1454
1513
|
/**
|
|
1455
|
-
* Padding
|
|
1514
|
+
* Padding Inline
|
|
1456
1515
|
* @see https://tailwindcss.com/docs/padding
|
|
1457
1516
|
*/
|
|
1458
1517
|
px: [{
|
|
1459
1518
|
px: c()
|
|
1460
1519
|
}],
|
|
1461
1520
|
/**
|
|
1462
|
-
* Padding
|
|
1521
|
+
* Padding Block
|
|
1463
1522
|
* @see https://tailwindcss.com/docs/padding
|
|
1464
1523
|
*/
|
|
1465
1524
|
py: [{
|
|
1466
1525
|
py: c()
|
|
1467
1526
|
}],
|
|
1468
1527
|
/**
|
|
1469
|
-
* Padding Start
|
|
1528
|
+
* Padding Inline Start
|
|
1470
1529
|
* @see https://tailwindcss.com/docs/padding
|
|
1471
1530
|
*/
|
|
1472
1531
|
ps: [{
|
|
1473
1532
|
ps: c()
|
|
1474
1533
|
}],
|
|
1475
1534
|
/**
|
|
1476
|
-
* Padding End
|
|
1535
|
+
* Padding Inline End
|
|
1477
1536
|
* @see https://tailwindcss.com/docs/padding
|
|
1478
1537
|
*/
|
|
1479
1538
|
pe: [{
|
|
1480
1539
|
pe: c()
|
|
1481
1540
|
}],
|
|
1541
|
+
/**
|
|
1542
|
+
* Padding Block Start
|
|
1543
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1544
|
+
*/
|
|
1545
|
+
pbs: [{
|
|
1546
|
+
pbs: c()
|
|
1547
|
+
}],
|
|
1548
|
+
/**
|
|
1549
|
+
* Padding Block End
|
|
1550
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1551
|
+
*/
|
|
1552
|
+
pbe: [{
|
|
1553
|
+
pbe: c()
|
|
1554
|
+
}],
|
|
1482
1555
|
/**
|
|
1483
1556
|
* Padding Top
|
|
1484
1557
|
* @see https://tailwindcss.com/docs/padding
|
|
@@ -1515,33 +1588,47 @@ const T = (e) => {
|
|
|
1515
1588
|
m: x()
|
|
1516
1589
|
}],
|
|
1517
1590
|
/**
|
|
1518
|
-
* Margin
|
|
1591
|
+
* Margin Inline
|
|
1519
1592
|
* @see https://tailwindcss.com/docs/margin
|
|
1520
1593
|
*/
|
|
1521
1594
|
mx: [{
|
|
1522
1595
|
mx: x()
|
|
1523
1596
|
}],
|
|
1524
1597
|
/**
|
|
1525
|
-
* Margin
|
|
1598
|
+
* Margin Block
|
|
1526
1599
|
* @see https://tailwindcss.com/docs/margin
|
|
1527
1600
|
*/
|
|
1528
1601
|
my: [{
|
|
1529
1602
|
my: x()
|
|
1530
1603
|
}],
|
|
1531
1604
|
/**
|
|
1532
|
-
* Margin Start
|
|
1605
|
+
* Margin Inline Start
|
|
1533
1606
|
* @see https://tailwindcss.com/docs/margin
|
|
1534
1607
|
*/
|
|
1535
1608
|
ms: [{
|
|
1536
1609
|
ms: x()
|
|
1537
1610
|
}],
|
|
1538
1611
|
/**
|
|
1539
|
-
* Margin End
|
|
1612
|
+
* Margin Inline End
|
|
1540
1613
|
* @see https://tailwindcss.com/docs/margin
|
|
1541
1614
|
*/
|
|
1542
1615
|
me: [{
|
|
1543
1616
|
me: x()
|
|
1544
1617
|
}],
|
|
1618
|
+
/**
|
|
1619
|
+
* Margin Block Start
|
|
1620
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1621
|
+
*/
|
|
1622
|
+
mbs: [{
|
|
1623
|
+
mbs: x()
|
|
1624
|
+
}],
|
|
1625
|
+
/**
|
|
1626
|
+
* Margin Block End
|
|
1627
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1628
|
+
*/
|
|
1629
|
+
mbe: [{
|
|
1630
|
+
mbe: x()
|
|
1631
|
+
}],
|
|
1545
1632
|
/**
|
|
1546
1633
|
* Margin Top
|
|
1547
1634
|
* @see https://tailwindcss.com/docs/margin
|
|
@@ -1602,14 +1689,56 @@ const T = (e) => {
|
|
|
1602
1689
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1603
1690
|
*/
|
|
1604
1691
|
size: [{
|
|
1605
|
-
size:
|
|
1692
|
+
size: M()
|
|
1693
|
+
}],
|
|
1694
|
+
/**
|
|
1695
|
+
* Inline Size
|
|
1696
|
+
* @see https://tailwindcss.com/docs/width
|
|
1697
|
+
*/
|
|
1698
|
+
"inline-size": [{
|
|
1699
|
+
inline: ["auto", ...H()]
|
|
1700
|
+
}],
|
|
1701
|
+
/**
|
|
1702
|
+
* Min-Inline Size
|
|
1703
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
1704
|
+
*/
|
|
1705
|
+
"min-inline-size": [{
|
|
1706
|
+
"min-inline": ["auto", ...H()]
|
|
1707
|
+
}],
|
|
1708
|
+
/**
|
|
1709
|
+
* Max-Inline Size
|
|
1710
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
1711
|
+
*/
|
|
1712
|
+
"max-inline-size": [{
|
|
1713
|
+
"max-inline": ["none", ...H()]
|
|
1714
|
+
}],
|
|
1715
|
+
/**
|
|
1716
|
+
* Block Size
|
|
1717
|
+
* @see https://tailwindcss.com/docs/height
|
|
1718
|
+
*/
|
|
1719
|
+
"block-size": [{
|
|
1720
|
+
block: ["auto", ...U()]
|
|
1721
|
+
}],
|
|
1722
|
+
/**
|
|
1723
|
+
* Min-Block Size
|
|
1724
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
1725
|
+
*/
|
|
1726
|
+
"min-block-size": [{
|
|
1727
|
+
"min-block": ["auto", ...U()]
|
|
1728
|
+
}],
|
|
1729
|
+
/**
|
|
1730
|
+
* Max-Block Size
|
|
1731
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
1732
|
+
*/
|
|
1733
|
+
"max-block-size": [{
|
|
1734
|
+
"max-block": ["none", ...U()]
|
|
1606
1735
|
}],
|
|
1607
1736
|
/**
|
|
1608
1737
|
* Width
|
|
1609
1738
|
* @see https://tailwindcss.com/docs/width
|
|
1610
1739
|
*/
|
|
1611
1740
|
w: [{
|
|
1612
|
-
w: [i, "screen", ...
|
|
1741
|
+
w: [i, "screen", ...M()]
|
|
1613
1742
|
}],
|
|
1614
1743
|
/**
|
|
1615
1744
|
* Min-Width
|
|
@@ -1621,7 +1750,7 @@ const T = (e) => {
|
|
|
1621
1750
|
"screen",
|
|
1622
1751
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1623
1752
|
"none",
|
|
1624
|
-
...
|
|
1753
|
+
...M()
|
|
1625
1754
|
]
|
|
1626
1755
|
}],
|
|
1627
1756
|
/**
|
|
@@ -1639,7 +1768,7 @@ const T = (e) => {
|
|
|
1639
1768
|
{
|
|
1640
1769
|
screen: [a]
|
|
1641
1770
|
},
|
|
1642
|
-
...
|
|
1771
|
+
...M()
|
|
1643
1772
|
]
|
|
1644
1773
|
}],
|
|
1645
1774
|
/**
|
|
@@ -1647,21 +1776,21 @@ const T = (e) => {
|
|
|
1647
1776
|
* @see https://tailwindcss.com/docs/height
|
|
1648
1777
|
*/
|
|
1649
1778
|
h: [{
|
|
1650
|
-
h: ["screen", "lh", ...
|
|
1779
|
+
h: ["screen", "lh", ...M()]
|
|
1651
1780
|
}],
|
|
1652
1781
|
/**
|
|
1653
1782
|
* Min-Height
|
|
1654
1783
|
* @see https://tailwindcss.com/docs/min-height
|
|
1655
1784
|
*/
|
|
1656
1785
|
"min-h": [{
|
|
1657
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1786
|
+
"min-h": ["screen", "lh", "none", ...M()]
|
|
1658
1787
|
}],
|
|
1659
1788
|
/**
|
|
1660
1789
|
* Max-Height
|
|
1661
1790
|
* @see https://tailwindcss.com/docs/max-height
|
|
1662
1791
|
*/
|
|
1663
1792
|
"max-h": [{
|
|
1664
|
-
"max-h": ["screen", "lh", ...
|
|
1793
|
+
"max-h": ["screen", "lh", ...M()]
|
|
1665
1794
|
}],
|
|
1666
1795
|
// ------------------
|
|
1667
1796
|
// --- Typography ---
|
|
@@ -1671,7 +1800,7 @@ const T = (e) => {
|
|
|
1671
1800
|
* @see https://tailwindcss.com/docs/font-size
|
|
1672
1801
|
*/
|
|
1673
1802
|
"font-size": [{
|
|
1674
|
-
text: ["base", o, oe,
|
|
1803
|
+
text: ["base", o, oe, q]
|
|
1675
1804
|
}],
|
|
1676
1805
|
/**
|
|
1677
1806
|
* Font Smoothing
|
|
@@ -1688,7 +1817,7 @@ const T = (e) => {
|
|
|
1688
1817
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1689
1818
|
*/
|
|
1690
1819
|
"font-weight": [{
|
|
1691
|
-
font: [
|
|
1820
|
+
font: [s, lo, oo]
|
|
1692
1821
|
}],
|
|
1693
1822
|
/**
|
|
1694
1823
|
* Font Stretch
|
|
@@ -1702,7 +1831,14 @@ const T = (e) => {
|
|
|
1702
1831
|
* @see https://tailwindcss.com/docs/font-family
|
|
1703
1832
|
*/
|
|
1704
1833
|
"font-family": [{
|
|
1705
|
-
font: [
|
|
1834
|
+
font: [no, so, t]
|
|
1835
|
+
}],
|
|
1836
|
+
/**
|
|
1837
|
+
* Font Feature Settings
|
|
1838
|
+
* @see https://tailwindcss.com/docs/font-feature-settings
|
|
1839
|
+
*/
|
|
1840
|
+
"font-features": [{
|
|
1841
|
+
"font-features": [u]
|
|
1706
1842
|
}],
|
|
1707
1843
|
/**
|
|
1708
1844
|
* Font Variant Numeric
|
|
@@ -1739,14 +1875,14 @@ const T = (e) => {
|
|
|
1739
1875
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1740
1876
|
*/
|
|
1741
1877
|
tracking: [{
|
|
1742
|
-
tracking: [
|
|
1878
|
+
tracking: [r, d, u]
|
|
1743
1879
|
}],
|
|
1744
1880
|
/**
|
|
1745
1881
|
* Line Clamp
|
|
1746
1882
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1747
1883
|
*/
|
|
1748
1884
|
"line-clamp": [{
|
|
1749
|
-
"line-clamp": [
|
|
1885
|
+
"line-clamp": [g, "none", d, Ne]
|
|
1750
1886
|
}],
|
|
1751
1887
|
/**
|
|
1752
1888
|
* Line Height
|
|
@@ -1812,14 +1948,14 @@ const T = (e) => {
|
|
|
1812
1948
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1813
1949
|
*/
|
|
1814
1950
|
"text-decoration-style": [{
|
|
1815
|
-
decoration: [...
|
|
1951
|
+
decoration: [...re(), "wavy"]
|
|
1816
1952
|
}],
|
|
1817
1953
|
/**
|
|
1818
1954
|
* Text Decoration Thickness
|
|
1819
1955
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1820
1956
|
*/
|
|
1821
1957
|
"text-decoration-thickness": [{
|
|
1822
|
-
decoration: [
|
|
1958
|
+
decoration: [g, "from-font", "auto", d, q]
|
|
1823
1959
|
}],
|
|
1824
1960
|
/**
|
|
1825
1961
|
* Text Decoration Color
|
|
@@ -1833,7 +1969,7 @@ const T = (e) => {
|
|
|
1833
1969
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1834
1970
|
*/
|
|
1835
1971
|
"underline-offset": [{
|
|
1836
|
-
"underline-offset": [
|
|
1972
|
+
"underline-offset": [g, "auto", d, u]
|
|
1837
1973
|
}],
|
|
1838
1974
|
/**
|
|
1839
1975
|
* Text Transform
|
|
@@ -1930,21 +2066,21 @@ const T = (e) => {
|
|
|
1930
2066
|
* @see https://tailwindcss.com/docs/background-position
|
|
1931
2067
|
*/
|
|
1932
2068
|
"bg-position": [{
|
|
1933
|
-
bg:
|
|
2069
|
+
bg: Te()
|
|
1934
2070
|
}],
|
|
1935
2071
|
/**
|
|
1936
2072
|
* Background Repeat
|
|
1937
2073
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1938
2074
|
*/
|
|
1939
2075
|
"bg-repeat": [{
|
|
1940
|
-
bg:
|
|
2076
|
+
bg: Se()
|
|
1941
2077
|
}],
|
|
1942
2078
|
/**
|
|
1943
2079
|
* Background Size
|
|
1944
2080
|
* @see https://tailwindcss.com/docs/background-size
|
|
1945
2081
|
*/
|
|
1946
2082
|
"bg-size": [{
|
|
1947
|
-
bg:
|
|
2083
|
+
bg: Ae()
|
|
1948
2084
|
}],
|
|
1949
2085
|
/**
|
|
1950
2086
|
* Background Image
|
|
@@ -1954,10 +2090,10 @@ const T = (e) => {
|
|
|
1954
2090
|
bg: ["none", {
|
|
1955
2091
|
linear: [{
|
|
1956
2092
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1957
|
-
},
|
|
2093
|
+
}, $, d, u],
|
|
1958
2094
|
radial: ["", d, u],
|
|
1959
|
-
conic: [
|
|
1960
|
-
},
|
|
2095
|
+
conic: [$, d, u]
|
|
2096
|
+
}, io, ro]
|
|
1961
2097
|
}],
|
|
1962
2098
|
/**
|
|
1963
2099
|
* Background Color
|
|
@@ -1971,21 +2107,21 @@ const T = (e) => {
|
|
|
1971
2107
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1972
2108
|
*/
|
|
1973
2109
|
"gradient-from-pos": [{
|
|
1974
|
-
from:
|
|
2110
|
+
from: me()
|
|
1975
2111
|
}],
|
|
1976
2112
|
/**
|
|
1977
2113
|
* Gradient Color Stops Via Position
|
|
1978
2114
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1979
2115
|
*/
|
|
1980
2116
|
"gradient-via-pos": [{
|
|
1981
|
-
via:
|
|
2117
|
+
via: me()
|
|
1982
2118
|
}],
|
|
1983
2119
|
/**
|
|
1984
2120
|
* Gradient Color Stops To Position
|
|
1985
2121
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1986
2122
|
*/
|
|
1987
2123
|
"gradient-to-pos": [{
|
|
1988
|
-
to:
|
|
2124
|
+
to: me()
|
|
1989
2125
|
}],
|
|
1990
2126
|
/**
|
|
1991
2127
|
* Gradient Color Stops From
|
|
@@ -2121,70 +2257,84 @@ const T = (e) => {
|
|
|
2121
2257
|
* @see https://tailwindcss.com/docs/border-width
|
|
2122
2258
|
*/
|
|
2123
2259
|
"border-w": [{
|
|
2124
|
-
border:
|
|
2260
|
+
border: O()
|
|
2125
2261
|
}],
|
|
2126
2262
|
/**
|
|
2127
|
-
* Border Width
|
|
2263
|
+
* Border Width Inline
|
|
2128
2264
|
* @see https://tailwindcss.com/docs/border-width
|
|
2129
2265
|
*/
|
|
2130
2266
|
"border-w-x": [{
|
|
2131
|
-
"border-x":
|
|
2267
|
+
"border-x": O()
|
|
2132
2268
|
}],
|
|
2133
2269
|
/**
|
|
2134
|
-
* Border Width
|
|
2270
|
+
* Border Width Block
|
|
2135
2271
|
* @see https://tailwindcss.com/docs/border-width
|
|
2136
2272
|
*/
|
|
2137
2273
|
"border-w-y": [{
|
|
2138
|
-
"border-y":
|
|
2274
|
+
"border-y": O()
|
|
2139
2275
|
}],
|
|
2140
2276
|
/**
|
|
2141
|
-
* Border Width Start
|
|
2277
|
+
* Border Width Inline Start
|
|
2142
2278
|
* @see https://tailwindcss.com/docs/border-width
|
|
2143
2279
|
*/
|
|
2144
2280
|
"border-w-s": [{
|
|
2145
|
-
"border-s":
|
|
2281
|
+
"border-s": O()
|
|
2146
2282
|
}],
|
|
2147
2283
|
/**
|
|
2148
|
-
* Border Width End
|
|
2284
|
+
* Border Width Inline End
|
|
2149
2285
|
* @see https://tailwindcss.com/docs/border-width
|
|
2150
2286
|
*/
|
|
2151
2287
|
"border-w-e": [{
|
|
2152
|
-
"border-e":
|
|
2288
|
+
"border-e": O()
|
|
2289
|
+
}],
|
|
2290
|
+
/**
|
|
2291
|
+
* Border Width Block Start
|
|
2292
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2293
|
+
*/
|
|
2294
|
+
"border-w-bs": [{
|
|
2295
|
+
"border-bs": O()
|
|
2296
|
+
}],
|
|
2297
|
+
/**
|
|
2298
|
+
* Border Width Block End
|
|
2299
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2300
|
+
*/
|
|
2301
|
+
"border-w-be": [{
|
|
2302
|
+
"border-be": O()
|
|
2153
2303
|
}],
|
|
2154
2304
|
/**
|
|
2155
2305
|
* Border Width Top
|
|
2156
2306
|
* @see https://tailwindcss.com/docs/border-width
|
|
2157
2307
|
*/
|
|
2158
2308
|
"border-w-t": [{
|
|
2159
|
-
"border-t":
|
|
2309
|
+
"border-t": O()
|
|
2160
2310
|
}],
|
|
2161
2311
|
/**
|
|
2162
2312
|
* Border Width Right
|
|
2163
2313
|
* @see https://tailwindcss.com/docs/border-width
|
|
2164
2314
|
*/
|
|
2165
2315
|
"border-w-r": [{
|
|
2166
|
-
"border-r":
|
|
2316
|
+
"border-r": O()
|
|
2167
2317
|
}],
|
|
2168
2318
|
/**
|
|
2169
2319
|
* Border Width Bottom
|
|
2170
2320
|
* @see https://tailwindcss.com/docs/border-width
|
|
2171
2321
|
*/
|
|
2172
2322
|
"border-w-b": [{
|
|
2173
|
-
"border-b":
|
|
2323
|
+
"border-b": O()
|
|
2174
2324
|
}],
|
|
2175
2325
|
/**
|
|
2176
2326
|
* Border Width Left
|
|
2177
2327
|
* @see https://tailwindcss.com/docs/border-width
|
|
2178
2328
|
*/
|
|
2179
2329
|
"border-w-l": [{
|
|
2180
|
-
"border-l":
|
|
2330
|
+
"border-l": O()
|
|
2181
2331
|
}],
|
|
2182
2332
|
/**
|
|
2183
2333
|
* Divide Width X
|
|
2184
2334
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2185
2335
|
*/
|
|
2186
2336
|
"divide-x": [{
|
|
2187
|
-
"divide-x":
|
|
2337
|
+
"divide-x": O()
|
|
2188
2338
|
}],
|
|
2189
2339
|
/**
|
|
2190
2340
|
* Divide Width X Reverse
|
|
@@ -2196,7 +2346,7 @@ const T = (e) => {
|
|
|
2196
2346
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2197
2347
|
*/
|
|
2198
2348
|
"divide-y": [{
|
|
2199
|
-
"divide-y":
|
|
2349
|
+
"divide-y": O()
|
|
2200
2350
|
}],
|
|
2201
2351
|
/**
|
|
2202
2352
|
* Divide Width Y Reverse
|
|
@@ -2208,14 +2358,14 @@ const T = (e) => {
|
|
|
2208
2358
|
* @see https://tailwindcss.com/docs/border-style
|
|
2209
2359
|
*/
|
|
2210
2360
|
"border-style": [{
|
|
2211
|
-
border: [...
|
|
2361
|
+
border: [...re(), "hidden", "none"]
|
|
2212
2362
|
}],
|
|
2213
2363
|
/**
|
|
2214
2364
|
* Divide Style
|
|
2215
2365
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
2216
2366
|
*/
|
|
2217
2367
|
"divide-style": [{
|
|
2218
|
-
divide: [...
|
|
2368
|
+
divide: [...re(), "hidden", "none"]
|
|
2219
2369
|
}],
|
|
2220
2370
|
/**
|
|
2221
2371
|
* Border Color
|
|
@@ -2225,33 +2375,47 @@ const T = (e) => {
|
|
|
2225
2375
|
border: f()
|
|
2226
2376
|
}],
|
|
2227
2377
|
/**
|
|
2228
|
-
* Border Color
|
|
2378
|
+
* Border Color Inline
|
|
2229
2379
|
* @see https://tailwindcss.com/docs/border-color
|
|
2230
2380
|
*/
|
|
2231
2381
|
"border-color-x": [{
|
|
2232
2382
|
"border-x": f()
|
|
2233
2383
|
}],
|
|
2234
2384
|
/**
|
|
2235
|
-
* Border Color
|
|
2385
|
+
* Border Color Block
|
|
2236
2386
|
* @see https://tailwindcss.com/docs/border-color
|
|
2237
2387
|
*/
|
|
2238
2388
|
"border-color-y": [{
|
|
2239
2389
|
"border-y": f()
|
|
2240
2390
|
}],
|
|
2241
2391
|
/**
|
|
2242
|
-
* Border Color
|
|
2392
|
+
* Border Color Inline Start
|
|
2243
2393
|
* @see https://tailwindcss.com/docs/border-color
|
|
2244
2394
|
*/
|
|
2245
2395
|
"border-color-s": [{
|
|
2246
2396
|
"border-s": f()
|
|
2247
2397
|
}],
|
|
2248
2398
|
/**
|
|
2249
|
-
* Border Color
|
|
2399
|
+
* Border Color Inline End
|
|
2250
2400
|
* @see https://tailwindcss.com/docs/border-color
|
|
2251
2401
|
*/
|
|
2252
2402
|
"border-color-e": [{
|
|
2253
2403
|
"border-e": f()
|
|
2254
2404
|
}],
|
|
2405
|
+
/**
|
|
2406
|
+
* Border Color Block Start
|
|
2407
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2408
|
+
*/
|
|
2409
|
+
"border-color-bs": [{
|
|
2410
|
+
"border-bs": f()
|
|
2411
|
+
}],
|
|
2412
|
+
/**
|
|
2413
|
+
* Border Color Block End
|
|
2414
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2415
|
+
*/
|
|
2416
|
+
"border-color-be": [{
|
|
2417
|
+
"border-be": f()
|
|
2418
|
+
}],
|
|
2255
2419
|
/**
|
|
2256
2420
|
* Border Color Top
|
|
2257
2421
|
* @see https://tailwindcss.com/docs/border-color
|
|
@@ -2292,21 +2456,21 @@ const T = (e) => {
|
|
|
2292
2456
|
* @see https://tailwindcss.com/docs/outline-style
|
|
2293
2457
|
*/
|
|
2294
2458
|
"outline-style": [{
|
|
2295
|
-
outline: [...
|
|
2459
|
+
outline: [...re(), "none", "hidden"]
|
|
2296
2460
|
}],
|
|
2297
2461
|
/**
|
|
2298
2462
|
* Outline Offset
|
|
2299
2463
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2300
2464
|
*/
|
|
2301
2465
|
"outline-offset": [{
|
|
2302
|
-
"outline-offset": [
|
|
2466
|
+
"outline-offset": [g, d, u]
|
|
2303
2467
|
}],
|
|
2304
2468
|
/**
|
|
2305
2469
|
* Outline Width
|
|
2306
2470
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2307
2471
|
*/
|
|
2308
2472
|
"outline-w": [{
|
|
2309
|
-
outline: ["",
|
|
2473
|
+
outline: ["", g, oe, q]
|
|
2310
2474
|
}],
|
|
2311
2475
|
/**
|
|
2312
2476
|
* Outline Color
|
|
@@ -2344,7 +2508,7 @@ const T = (e) => {
|
|
|
2344
2508
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2345
2509
|
*/
|
|
2346
2510
|
"inset-shadow": [{
|
|
2347
|
-
"inset-shadow": ["none",
|
|
2511
|
+
"inset-shadow": ["none", b, ce, le]
|
|
2348
2512
|
}],
|
|
2349
2513
|
/**
|
|
2350
2514
|
* Inset Box Shadow Color
|
|
@@ -2358,7 +2522,7 @@ const T = (e) => {
|
|
|
2358
2522
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
2359
2523
|
*/
|
|
2360
2524
|
"ring-w": [{
|
|
2361
|
-
ring:
|
|
2525
|
+
ring: O()
|
|
2362
2526
|
}],
|
|
2363
2527
|
/**
|
|
2364
2528
|
* Ring Width Inset
|
|
@@ -2381,7 +2545,7 @@ const T = (e) => {
|
|
|
2381
2545
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2382
2546
|
*/
|
|
2383
2547
|
"ring-offset-w": [{
|
|
2384
|
-
"ring-offset": [
|
|
2548
|
+
"ring-offset": [g, q]
|
|
2385
2549
|
}],
|
|
2386
2550
|
/**
|
|
2387
2551
|
* Ring Offset Color
|
|
@@ -2397,7 +2561,7 @@ const T = (e) => {
|
|
|
2397
2561
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2398
2562
|
*/
|
|
2399
2563
|
"inset-ring-w": [{
|
|
2400
|
-
"inset-ring":
|
|
2564
|
+
"inset-ring": O()
|
|
2401
2565
|
}],
|
|
2402
2566
|
/**
|
|
2403
2567
|
* Inset Ring Color
|
|
@@ -2411,7 +2575,7 @@ const T = (e) => {
|
|
|
2411
2575
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2412
2576
|
*/
|
|
2413
2577
|
"text-shadow": [{
|
|
2414
|
-
"text-shadow": ["none",
|
|
2578
|
+
"text-shadow": ["none", k, ce, le]
|
|
2415
2579
|
}],
|
|
2416
2580
|
/**
|
|
2417
2581
|
* Text Shadow Color
|
|
@@ -2425,21 +2589,21 @@ const T = (e) => {
|
|
|
2425
2589
|
* @see https://tailwindcss.com/docs/opacity
|
|
2426
2590
|
*/
|
|
2427
2591
|
opacity: [{
|
|
2428
|
-
opacity: [
|
|
2592
|
+
opacity: [g, d, u]
|
|
2429
2593
|
}],
|
|
2430
2594
|
/**
|
|
2431
2595
|
* Mix Blend Mode
|
|
2432
2596
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2433
2597
|
*/
|
|
2434
2598
|
"mix-blend": [{
|
|
2435
|
-
"mix-blend": [...
|
|
2599
|
+
"mix-blend": [...De(), "plus-darker", "plus-lighter"]
|
|
2436
2600
|
}],
|
|
2437
2601
|
/**
|
|
2438
2602
|
* Background Blend Mode
|
|
2439
2603
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2440
2604
|
*/
|
|
2441
2605
|
"bg-blend": [{
|
|
2442
|
-
"bg-blend":
|
|
2606
|
+
"bg-blend": De()
|
|
2443
2607
|
}],
|
|
2444
2608
|
/**
|
|
2445
2609
|
* Mask Clip
|
|
@@ -2460,13 +2624,13 @@ const T = (e) => {
|
|
|
2460
2624
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2461
2625
|
*/
|
|
2462
2626
|
"mask-image-linear-pos": [{
|
|
2463
|
-
"mask-linear": [
|
|
2627
|
+
"mask-linear": [g]
|
|
2464
2628
|
}],
|
|
2465
2629
|
"mask-image-linear-from-pos": [{
|
|
2466
|
-
"mask-linear-from":
|
|
2630
|
+
"mask-linear-from": A()
|
|
2467
2631
|
}],
|
|
2468
2632
|
"mask-image-linear-to-pos": [{
|
|
2469
|
-
"mask-linear-to":
|
|
2633
|
+
"mask-linear-to": A()
|
|
2470
2634
|
}],
|
|
2471
2635
|
"mask-image-linear-from-color": [{
|
|
2472
2636
|
"mask-linear-from": f()
|
|
@@ -2475,10 +2639,10 @@ const T = (e) => {
|
|
|
2475
2639
|
"mask-linear-to": f()
|
|
2476
2640
|
}],
|
|
2477
2641
|
"mask-image-t-from-pos": [{
|
|
2478
|
-
"mask-t-from":
|
|
2642
|
+
"mask-t-from": A()
|
|
2479
2643
|
}],
|
|
2480
2644
|
"mask-image-t-to-pos": [{
|
|
2481
|
-
"mask-t-to":
|
|
2645
|
+
"mask-t-to": A()
|
|
2482
2646
|
}],
|
|
2483
2647
|
"mask-image-t-from-color": [{
|
|
2484
2648
|
"mask-t-from": f()
|
|
@@ -2487,10 +2651,10 @@ const T = (e) => {
|
|
|
2487
2651
|
"mask-t-to": f()
|
|
2488
2652
|
}],
|
|
2489
2653
|
"mask-image-r-from-pos": [{
|
|
2490
|
-
"mask-r-from":
|
|
2654
|
+
"mask-r-from": A()
|
|
2491
2655
|
}],
|
|
2492
2656
|
"mask-image-r-to-pos": [{
|
|
2493
|
-
"mask-r-to":
|
|
2657
|
+
"mask-r-to": A()
|
|
2494
2658
|
}],
|
|
2495
2659
|
"mask-image-r-from-color": [{
|
|
2496
2660
|
"mask-r-from": f()
|
|
@@ -2499,10 +2663,10 @@ const T = (e) => {
|
|
|
2499
2663
|
"mask-r-to": f()
|
|
2500
2664
|
}],
|
|
2501
2665
|
"mask-image-b-from-pos": [{
|
|
2502
|
-
"mask-b-from":
|
|
2666
|
+
"mask-b-from": A()
|
|
2503
2667
|
}],
|
|
2504
2668
|
"mask-image-b-to-pos": [{
|
|
2505
|
-
"mask-b-to":
|
|
2669
|
+
"mask-b-to": A()
|
|
2506
2670
|
}],
|
|
2507
2671
|
"mask-image-b-from-color": [{
|
|
2508
2672
|
"mask-b-from": f()
|
|
@@ -2511,10 +2675,10 @@ const T = (e) => {
|
|
|
2511
2675
|
"mask-b-to": f()
|
|
2512
2676
|
}],
|
|
2513
2677
|
"mask-image-l-from-pos": [{
|
|
2514
|
-
"mask-l-from":
|
|
2678
|
+
"mask-l-from": A()
|
|
2515
2679
|
}],
|
|
2516
2680
|
"mask-image-l-to-pos": [{
|
|
2517
|
-
"mask-l-to":
|
|
2681
|
+
"mask-l-to": A()
|
|
2518
2682
|
}],
|
|
2519
2683
|
"mask-image-l-from-color": [{
|
|
2520
2684
|
"mask-l-from": f()
|
|
@@ -2523,10 +2687,10 @@ const T = (e) => {
|
|
|
2523
2687
|
"mask-l-to": f()
|
|
2524
2688
|
}],
|
|
2525
2689
|
"mask-image-x-from-pos": [{
|
|
2526
|
-
"mask-x-from":
|
|
2690
|
+
"mask-x-from": A()
|
|
2527
2691
|
}],
|
|
2528
2692
|
"mask-image-x-to-pos": [{
|
|
2529
|
-
"mask-x-to":
|
|
2693
|
+
"mask-x-to": A()
|
|
2530
2694
|
}],
|
|
2531
2695
|
"mask-image-x-from-color": [{
|
|
2532
2696
|
"mask-x-from": f()
|
|
@@ -2535,10 +2699,10 @@ const T = (e) => {
|
|
|
2535
2699
|
"mask-x-to": f()
|
|
2536
2700
|
}],
|
|
2537
2701
|
"mask-image-y-from-pos": [{
|
|
2538
|
-
"mask-y-from":
|
|
2702
|
+
"mask-y-from": A()
|
|
2539
2703
|
}],
|
|
2540
2704
|
"mask-image-y-to-pos": [{
|
|
2541
|
-
"mask-y-to":
|
|
2705
|
+
"mask-y-to": A()
|
|
2542
2706
|
}],
|
|
2543
2707
|
"mask-image-y-from-color": [{
|
|
2544
2708
|
"mask-y-from": f()
|
|
@@ -2550,10 +2714,10 @@ const T = (e) => {
|
|
|
2550
2714
|
"mask-radial": [d, u]
|
|
2551
2715
|
}],
|
|
2552
2716
|
"mask-image-radial-from-pos": [{
|
|
2553
|
-
"mask-radial-from":
|
|
2717
|
+
"mask-radial-from": A()
|
|
2554
2718
|
}],
|
|
2555
2719
|
"mask-image-radial-to-pos": [{
|
|
2556
|
-
"mask-radial-to":
|
|
2720
|
+
"mask-radial-to": A()
|
|
2557
2721
|
}],
|
|
2558
2722
|
"mask-image-radial-from-color": [{
|
|
2559
2723
|
"mask-radial-from": f()
|
|
@@ -2571,16 +2735,16 @@ const T = (e) => {
|
|
|
2571
2735
|
}]
|
|
2572
2736
|
}],
|
|
2573
2737
|
"mask-image-radial-pos": [{
|
|
2574
|
-
"mask-radial-at":
|
|
2738
|
+
"mask-radial-at": N()
|
|
2575
2739
|
}],
|
|
2576
2740
|
"mask-image-conic-pos": [{
|
|
2577
|
-
"mask-conic": [
|
|
2741
|
+
"mask-conic": [g]
|
|
2578
2742
|
}],
|
|
2579
2743
|
"mask-image-conic-from-pos": [{
|
|
2580
|
-
"mask-conic-from":
|
|
2744
|
+
"mask-conic-from": A()
|
|
2581
2745
|
}],
|
|
2582
2746
|
"mask-image-conic-to-pos": [{
|
|
2583
|
-
"mask-conic-to":
|
|
2747
|
+
"mask-conic-to": A()
|
|
2584
2748
|
}],
|
|
2585
2749
|
"mask-image-conic-from-color": [{
|
|
2586
2750
|
"mask-conic-from": f()
|
|
@@ -2607,21 +2771,21 @@ const T = (e) => {
|
|
|
2607
2771
|
* @see https://tailwindcss.com/docs/mask-position
|
|
2608
2772
|
*/
|
|
2609
2773
|
"mask-position": [{
|
|
2610
|
-
mask:
|
|
2774
|
+
mask: Te()
|
|
2611
2775
|
}],
|
|
2612
2776
|
/**
|
|
2613
2777
|
* Mask Repeat
|
|
2614
2778
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2615
2779
|
*/
|
|
2616
2780
|
"mask-repeat": [{
|
|
2617
|
-
mask:
|
|
2781
|
+
mask: Se()
|
|
2618
2782
|
}],
|
|
2619
2783
|
/**
|
|
2620
2784
|
* Mask Size
|
|
2621
2785
|
* @see https://tailwindcss.com/docs/mask-size
|
|
2622
2786
|
*/
|
|
2623
2787
|
"mask-size": [{
|
|
2624
|
-
mask:
|
|
2788
|
+
mask: Ae()
|
|
2625
2789
|
}],
|
|
2626
2790
|
/**
|
|
2627
2791
|
* Mask Type
|
|
@@ -2658,21 +2822,21 @@ const T = (e) => {
|
|
|
2658
2822
|
* @see https://tailwindcss.com/docs/blur
|
|
2659
2823
|
*/
|
|
2660
2824
|
blur: [{
|
|
2661
|
-
blur:
|
|
2825
|
+
blur: Ce()
|
|
2662
2826
|
}],
|
|
2663
2827
|
/**
|
|
2664
2828
|
* Brightness
|
|
2665
2829
|
* @see https://tailwindcss.com/docs/brightness
|
|
2666
2830
|
*/
|
|
2667
2831
|
brightness: [{
|
|
2668
|
-
brightness: [
|
|
2832
|
+
brightness: [g, d, u]
|
|
2669
2833
|
}],
|
|
2670
2834
|
/**
|
|
2671
2835
|
* Contrast
|
|
2672
2836
|
* @see https://tailwindcss.com/docs/contrast
|
|
2673
2837
|
*/
|
|
2674
2838
|
contrast: [{
|
|
2675
|
-
contrast: [
|
|
2839
|
+
contrast: [g, d, u]
|
|
2676
2840
|
}],
|
|
2677
2841
|
/**
|
|
2678
2842
|
* Drop Shadow
|
|
@@ -2683,7 +2847,7 @@ const T = (e) => {
|
|
|
2683
2847
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2684
2848
|
"",
|
|
2685
2849
|
"none",
|
|
2686
|
-
|
|
2850
|
+
z,
|
|
2687
2851
|
ce,
|
|
2688
2852
|
le
|
|
2689
2853
|
]
|
|
@@ -2700,35 +2864,35 @@ const T = (e) => {
|
|
|
2700
2864
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2701
2865
|
*/
|
|
2702
2866
|
grayscale: [{
|
|
2703
|
-
grayscale: ["",
|
|
2867
|
+
grayscale: ["", g, d, u]
|
|
2704
2868
|
}],
|
|
2705
2869
|
/**
|
|
2706
2870
|
* Hue Rotate
|
|
2707
2871
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2708
2872
|
*/
|
|
2709
2873
|
"hue-rotate": [{
|
|
2710
|
-
"hue-rotate": [
|
|
2874
|
+
"hue-rotate": [g, d, u]
|
|
2711
2875
|
}],
|
|
2712
2876
|
/**
|
|
2713
2877
|
* Invert
|
|
2714
2878
|
* @see https://tailwindcss.com/docs/invert
|
|
2715
2879
|
*/
|
|
2716
2880
|
invert: [{
|
|
2717
|
-
invert: ["",
|
|
2881
|
+
invert: ["", g, d, u]
|
|
2718
2882
|
}],
|
|
2719
2883
|
/**
|
|
2720
2884
|
* Saturate
|
|
2721
2885
|
* @see https://tailwindcss.com/docs/saturate
|
|
2722
2886
|
*/
|
|
2723
2887
|
saturate: [{
|
|
2724
|
-
saturate: [
|
|
2888
|
+
saturate: [g, d, u]
|
|
2725
2889
|
}],
|
|
2726
2890
|
/**
|
|
2727
2891
|
* Sepia
|
|
2728
2892
|
* @see https://tailwindcss.com/docs/sepia
|
|
2729
2893
|
*/
|
|
2730
2894
|
sepia: [{
|
|
2731
|
-
sepia: ["",
|
|
2895
|
+
sepia: ["", g, d, u]
|
|
2732
2896
|
}],
|
|
2733
2897
|
/**
|
|
2734
2898
|
* Backdrop Filter
|
|
@@ -2748,63 +2912,63 @@ const T = (e) => {
|
|
|
2748
2912
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2749
2913
|
*/
|
|
2750
2914
|
"backdrop-blur": [{
|
|
2751
|
-
"backdrop-blur":
|
|
2915
|
+
"backdrop-blur": Ce()
|
|
2752
2916
|
}],
|
|
2753
2917
|
/**
|
|
2754
2918
|
* Backdrop Brightness
|
|
2755
2919
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2756
2920
|
*/
|
|
2757
2921
|
"backdrop-brightness": [{
|
|
2758
|
-
"backdrop-brightness": [
|
|
2922
|
+
"backdrop-brightness": [g, d, u]
|
|
2759
2923
|
}],
|
|
2760
2924
|
/**
|
|
2761
2925
|
* Backdrop Contrast
|
|
2762
2926
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2763
2927
|
*/
|
|
2764
2928
|
"backdrop-contrast": [{
|
|
2765
|
-
"backdrop-contrast": [
|
|
2929
|
+
"backdrop-contrast": [g, d, u]
|
|
2766
2930
|
}],
|
|
2767
2931
|
/**
|
|
2768
2932
|
* Backdrop Grayscale
|
|
2769
2933
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2770
2934
|
*/
|
|
2771
2935
|
"backdrop-grayscale": [{
|
|
2772
|
-
"backdrop-grayscale": ["",
|
|
2936
|
+
"backdrop-grayscale": ["", g, d, u]
|
|
2773
2937
|
}],
|
|
2774
2938
|
/**
|
|
2775
2939
|
* Backdrop Hue Rotate
|
|
2776
2940
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2777
2941
|
*/
|
|
2778
2942
|
"backdrop-hue-rotate": [{
|
|
2779
|
-
"backdrop-hue-rotate": [
|
|
2943
|
+
"backdrop-hue-rotate": [g, d, u]
|
|
2780
2944
|
}],
|
|
2781
2945
|
/**
|
|
2782
2946
|
* Backdrop Invert
|
|
2783
2947
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2784
2948
|
*/
|
|
2785
2949
|
"backdrop-invert": [{
|
|
2786
|
-
"backdrop-invert": ["",
|
|
2950
|
+
"backdrop-invert": ["", g, d, u]
|
|
2787
2951
|
}],
|
|
2788
2952
|
/**
|
|
2789
2953
|
* Backdrop Opacity
|
|
2790
2954
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2791
2955
|
*/
|
|
2792
2956
|
"backdrop-opacity": [{
|
|
2793
|
-
"backdrop-opacity": [
|
|
2957
|
+
"backdrop-opacity": [g, d, u]
|
|
2794
2958
|
}],
|
|
2795
2959
|
/**
|
|
2796
2960
|
* Backdrop Saturate
|
|
2797
2961
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2798
2962
|
*/
|
|
2799
2963
|
"backdrop-saturate": [{
|
|
2800
|
-
"backdrop-saturate": [
|
|
2964
|
+
"backdrop-saturate": [g, d, u]
|
|
2801
2965
|
}],
|
|
2802
2966
|
/**
|
|
2803
2967
|
* Backdrop Sepia
|
|
2804
2968
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2805
2969
|
*/
|
|
2806
2970
|
"backdrop-sepia": [{
|
|
2807
|
-
"backdrop-sepia": ["",
|
|
2971
|
+
"backdrop-sepia": ["", g, d, u]
|
|
2808
2972
|
}],
|
|
2809
2973
|
// --------------
|
|
2810
2974
|
// --- Tables ---
|
|
@@ -2873,28 +3037,28 @@ const T = (e) => {
|
|
|
2873
3037
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2874
3038
|
*/
|
|
2875
3039
|
duration: [{
|
|
2876
|
-
duration: [
|
|
3040
|
+
duration: [g, "initial", d, u]
|
|
2877
3041
|
}],
|
|
2878
3042
|
/**
|
|
2879
3043
|
* Transition Timing Function
|
|
2880
3044
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2881
3045
|
*/
|
|
2882
3046
|
ease: [{
|
|
2883
|
-
ease: ["linear", "initial",
|
|
3047
|
+
ease: ["linear", "initial", R, d, u]
|
|
2884
3048
|
}],
|
|
2885
3049
|
/**
|
|
2886
3050
|
* Transition Delay
|
|
2887
3051
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2888
3052
|
*/
|
|
2889
3053
|
delay: [{
|
|
2890
|
-
delay: [
|
|
3054
|
+
delay: [g, d, u]
|
|
2891
3055
|
}],
|
|
2892
3056
|
/**
|
|
2893
3057
|
* Animation
|
|
2894
3058
|
* @see https://tailwindcss.com/docs/animation
|
|
2895
3059
|
*/
|
|
2896
3060
|
animate: [{
|
|
2897
|
-
animate: ["none",
|
|
3061
|
+
animate: ["none", j, d, u]
|
|
2898
3062
|
}],
|
|
2899
3063
|
// ------------------
|
|
2900
3064
|
// --- Transforms ---
|
|
@@ -2911,14 +3075,14 @@ const T = (e) => {
|
|
|
2911
3075
|
* @see https://tailwindcss.com/docs/perspective
|
|
2912
3076
|
*/
|
|
2913
3077
|
perspective: [{
|
|
2914
|
-
perspective: [
|
|
3078
|
+
perspective: [C, d, u]
|
|
2915
3079
|
}],
|
|
2916
3080
|
/**
|
|
2917
3081
|
* Perspective Origin
|
|
2918
3082
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2919
3083
|
*/
|
|
2920
3084
|
"perspective-origin": [{
|
|
2921
|
-
"perspective-origin":
|
|
3085
|
+
"perspective-origin": _()
|
|
2922
3086
|
}],
|
|
2923
3087
|
/**
|
|
2924
3088
|
* Rotate
|
|
@@ -2986,21 +3150,21 @@ const T = (e) => {
|
|
|
2986
3150
|
* @see https://tailwindcss.com/docs/skew
|
|
2987
3151
|
*/
|
|
2988
3152
|
skew: [{
|
|
2989
|
-
skew:
|
|
3153
|
+
skew: fe()
|
|
2990
3154
|
}],
|
|
2991
3155
|
/**
|
|
2992
3156
|
* Skew X
|
|
2993
3157
|
* @see https://tailwindcss.com/docs/skew
|
|
2994
3158
|
*/
|
|
2995
3159
|
"skew-x": [{
|
|
2996
|
-
"skew-x":
|
|
3160
|
+
"skew-x": fe()
|
|
2997
3161
|
}],
|
|
2998
3162
|
/**
|
|
2999
3163
|
* Skew Y
|
|
3000
3164
|
* @see https://tailwindcss.com/docs/skew
|
|
3001
3165
|
*/
|
|
3002
3166
|
"skew-y": [{
|
|
3003
|
-
"skew-y":
|
|
3167
|
+
"skew-y": fe()
|
|
3004
3168
|
}],
|
|
3005
3169
|
/**
|
|
3006
3170
|
* Transform
|
|
@@ -3014,7 +3178,7 @@ const T = (e) => {
|
|
|
3014
3178
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
3015
3179
|
*/
|
|
3016
3180
|
"transform-origin": [{
|
|
3017
|
-
origin:
|
|
3181
|
+
origin: _()
|
|
3018
3182
|
}],
|
|
3019
3183
|
/**
|
|
3020
3184
|
* Transform Style
|
|
@@ -3130,33 +3294,47 @@ const T = (e) => {
|
|
|
3130
3294
|
"scroll-m": c()
|
|
3131
3295
|
}],
|
|
3132
3296
|
/**
|
|
3133
|
-
* Scroll Margin
|
|
3297
|
+
* Scroll Margin Inline
|
|
3134
3298
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3135
3299
|
*/
|
|
3136
3300
|
"scroll-mx": [{
|
|
3137
3301
|
"scroll-mx": c()
|
|
3138
3302
|
}],
|
|
3139
3303
|
/**
|
|
3140
|
-
* Scroll Margin
|
|
3304
|
+
* Scroll Margin Block
|
|
3141
3305
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3142
3306
|
*/
|
|
3143
3307
|
"scroll-my": [{
|
|
3144
3308
|
"scroll-my": c()
|
|
3145
3309
|
}],
|
|
3146
3310
|
/**
|
|
3147
|
-
* Scroll Margin Start
|
|
3311
|
+
* Scroll Margin Inline Start
|
|
3148
3312
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3149
3313
|
*/
|
|
3150
3314
|
"scroll-ms": [{
|
|
3151
3315
|
"scroll-ms": c()
|
|
3152
3316
|
}],
|
|
3153
3317
|
/**
|
|
3154
|
-
* Scroll Margin End
|
|
3318
|
+
* Scroll Margin Inline End
|
|
3155
3319
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3156
3320
|
*/
|
|
3157
3321
|
"scroll-me": [{
|
|
3158
3322
|
"scroll-me": c()
|
|
3159
3323
|
}],
|
|
3324
|
+
/**
|
|
3325
|
+
* Scroll Margin Block Start
|
|
3326
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3327
|
+
*/
|
|
3328
|
+
"scroll-mbs": [{
|
|
3329
|
+
"scroll-mbs": c()
|
|
3330
|
+
}],
|
|
3331
|
+
/**
|
|
3332
|
+
* Scroll Margin Block End
|
|
3333
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3334
|
+
*/
|
|
3335
|
+
"scroll-mbe": [{
|
|
3336
|
+
"scroll-mbe": c()
|
|
3337
|
+
}],
|
|
3160
3338
|
/**
|
|
3161
3339
|
* Scroll Margin Top
|
|
3162
3340
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
@@ -3193,33 +3371,47 @@ const T = (e) => {
|
|
|
3193
3371
|
"scroll-p": c()
|
|
3194
3372
|
}],
|
|
3195
3373
|
/**
|
|
3196
|
-
* Scroll Padding
|
|
3374
|
+
* Scroll Padding Inline
|
|
3197
3375
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3198
3376
|
*/
|
|
3199
3377
|
"scroll-px": [{
|
|
3200
3378
|
"scroll-px": c()
|
|
3201
3379
|
}],
|
|
3202
3380
|
/**
|
|
3203
|
-
* Scroll Padding
|
|
3381
|
+
* Scroll Padding Block
|
|
3204
3382
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3205
3383
|
*/
|
|
3206
3384
|
"scroll-py": [{
|
|
3207
3385
|
"scroll-py": c()
|
|
3208
3386
|
}],
|
|
3209
3387
|
/**
|
|
3210
|
-
* Scroll Padding Start
|
|
3388
|
+
* Scroll Padding Inline Start
|
|
3211
3389
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3212
3390
|
*/
|
|
3213
3391
|
"scroll-ps": [{
|
|
3214
3392
|
"scroll-ps": c()
|
|
3215
3393
|
}],
|
|
3216
3394
|
/**
|
|
3217
|
-
* Scroll Padding End
|
|
3395
|
+
* Scroll Padding Inline End
|
|
3218
3396
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3219
3397
|
*/
|
|
3220
3398
|
"scroll-pe": [{
|
|
3221
3399
|
"scroll-pe": c()
|
|
3222
3400
|
}],
|
|
3401
|
+
/**
|
|
3402
|
+
* Scroll Padding Block Start
|
|
3403
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3404
|
+
*/
|
|
3405
|
+
"scroll-pbs": [{
|
|
3406
|
+
"scroll-pbs": c()
|
|
3407
|
+
}],
|
|
3408
|
+
/**
|
|
3409
|
+
* Scroll Padding Block End
|
|
3410
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3411
|
+
*/
|
|
3412
|
+
"scroll-pbe": [{
|
|
3413
|
+
"scroll-pbe": c()
|
|
3414
|
+
}],
|
|
3223
3415
|
/**
|
|
3224
3416
|
* Scroll Padding Top
|
|
3225
3417
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
@@ -3331,7 +3523,7 @@ const T = (e) => {
|
|
|
3331
3523
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3332
3524
|
*/
|
|
3333
3525
|
"stroke-w": [{
|
|
3334
|
-
stroke: [
|
|
3526
|
+
stroke: [g, oe, q, Ne]
|
|
3335
3527
|
}],
|
|
3336
3528
|
/**
|
|
3337
3529
|
* Stroke
|
|
@@ -3354,15 +3546,15 @@ const T = (e) => {
|
|
|
3354
3546
|
conflictingClassGroups: {
|
|
3355
3547
|
overflow: ["overflow-x", "overflow-y"],
|
|
3356
3548
|
overscroll: ["overscroll-x", "overscroll-y"],
|
|
3357
|
-
inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
|
|
3549
|
+
inset: ["inset-x", "inset-y", "inset-bs", "inset-be", "start", "end", "top", "right", "bottom", "left"],
|
|
3358
3550
|
"inset-x": ["right", "left"],
|
|
3359
3551
|
"inset-y": ["top", "bottom"],
|
|
3360
3552
|
flex: ["basis", "grow", "shrink"],
|
|
3361
3553
|
gap: ["gap-x", "gap-y"],
|
|
3362
|
-
p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
|
|
3554
|
+
p: ["px", "py", "ps", "pe", "pbs", "pbe", "pt", "pr", "pb", "pl"],
|
|
3363
3555
|
px: ["pr", "pl"],
|
|
3364
3556
|
py: ["pt", "pb"],
|
|
3365
|
-
m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
|
|
3557
|
+
m: ["mx", "my", "ms", "me", "mbs", "mbe", "mt", "mr", "mb", "ml"],
|
|
3366
3558
|
mx: ["mr", "ml"],
|
|
3367
3559
|
my: ["mt", "mb"],
|
|
3368
3560
|
size: ["w", "h"],
|
|
@@ -3382,18 +3574,18 @@ const T = (e) => {
|
|
|
3382
3574
|
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
3383
3575
|
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
3384
3576
|
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
3385
|
-
"border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
3577
|
+
"border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-bs", "border-w-be", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
3386
3578
|
"border-w-x": ["border-w-r", "border-w-l"],
|
|
3387
3579
|
"border-w-y": ["border-w-t", "border-w-b"],
|
|
3388
|
-
"border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
3580
|
+
"border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-bs", "border-color-be", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
3389
3581
|
"border-color-x": ["border-color-r", "border-color-l"],
|
|
3390
3582
|
"border-color-y": ["border-color-t", "border-color-b"],
|
|
3391
3583
|
translate: ["translate-x", "translate-y", "translate-none"],
|
|
3392
3584
|
"translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
|
|
3393
|
-
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
3585
|
+
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mbs", "scroll-mbe", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
3394
3586
|
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
3395
3587
|
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
3396
|
-
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
3588
|
+
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pbs", "scroll-pbe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
3397
3589
|
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
3398
3590
|
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
3399
3591
|
touch: ["touch-x", "touch-y", "touch-pz"],
|
|
@@ -3406,59 +3598,59 @@ const T = (e) => {
|
|
|
3406
3598
|
},
|
|
3407
3599
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3408
3600
|
};
|
|
3409
|
-
},
|
|
3410
|
-
function
|
|
3411
|
-
var t, o,
|
|
3412
|
-
if (typeof e == "string" || typeof e == "number")
|
|
3601
|
+
}, mo = /* @__PURE__ */ $t(uo);
|
|
3602
|
+
function rt(e) {
|
|
3603
|
+
var t, o, s = "";
|
|
3604
|
+
if (typeof e == "string" || typeof e == "number") s += e;
|
|
3413
3605
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
3414
|
-
var
|
|
3415
|
-
for (t = 0; t <
|
|
3416
|
-
} else for (o in e) e[o] && (
|
|
3417
|
-
return
|
|
3606
|
+
var r = e.length;
|
|
3607
|
+
for (t = 0; t < r; t++) e[t] && (o = rt(e[t])) && (s && (s += " "), s += o);
|
|
3608
|
+
} else for (o in e) e[o] && (s && (s += " "), s += o);
|
|
3609
|
+
return s;
|
|
3418
3610
|
}
|
|
3419
|
-
function
|
|
3420
|
-
for (var e, t, o = 0,
|
|
3421
|
-
return
|
|
3611
|
+
function fo() {
|
|
3612
|
+
for (var e, t, o = 0, s = "", r = arguments.length; o < r; o++) (e = arguments[o]) && (t = rt(e)) && (s && (s += " "), s += t);
|
|
3613
|
+
return s;
|
|
3422
3614
|
}
|
|
3423
|
-
function
|
|
3424
|
-
return
|
|
3615
|
+
function jo(...e) {
|
|
3616
|
+
return mo(fo(e));
|
|
3425
3617
|
}
|
|
3426
|
-
function
|
|
3618
|
+
function Yo(e, t) {
|
|
3427
3619
|
if (!e) return !1;
|
|
3428
3620
|
let o = ["INPUT", "TEXTAREA", "SELECT"];
|
|
3429
3621
|
return (t === " " || t === "Enter") && (o = [...o, "BUTTON"]), o.includes(e.tagName);
|
|
3430
3622
|
}
|
|
3431
3623
|
export {
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3624
|
+
xt as CompareStrategies,
|
|
3625
|
+
Co as DEFAULT_GAP,
|
|
3626
|
+
So as MOBILE_VIEWPORT_OFFSET,
|
|
3627
|
+
Oo as SCALE_STEP,
|
|
3628
|
+
Lo as SWIPE_THRESHOLD,
|
|
3629
|
+
Do as TOAST_LIFE,
|
|
3630
|
+
Mo as TOAST_SWIPE_THRESHOLD,
|
|
3631
|
+
Ao as TOAST_WIDTH,
|
|
3632
|
+
G as ToastState,
|
|
3633
|
+
Ro as VELOCITY_THRESHOLD,
|
|
3634
|
+
To as VIEWPORT_OFFSET,
|
|
3635
|
+
Io as VISIBLE_TOASTS_AMOUNT,
|
|
3636
|
+
Eo as Y_OFFSET_STEP,
|
|
3637
|
+
Po as Z_STEP,
|
|
3638
|
+
jo as cn,
|
|
3639
|
+
yt as createDrawerCore,
|
|
3640
|
+
No as drawer,
|
|
3641
|
+
Yo as isInputLikeElement,
|
|
3642
|
+
_o as sortObject,
|
|
3643
|
+
Vo as sortObjectNew,
|
|
3644
|
+
ft as toast,
|
|
3645
|
+
yo as useClipboard,
|
|
3646
|
+
ho as useDatePicker,
|
|
3647
|
+
Fo as useDrawer,
|
|
3456
3648
|
ve as useDrawerCore,
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3649
|
+
xo as useForm,
|
|
3650
|
+
Bo as useModalCore,
|
|
3651
|
+
go as useMultiSelect,
|
|
3652
|
+
vo as useSelect,
|
|
3653
|
+
zo as useSwipeHandler,
|
|
3654
|
+
wo as useTable,
|
|
3655
|
+
ko as useToastTimer
|
|
3464
3656
|
};
|