@namuna-nur/ui-kit 1.5.0 → 1.6.0
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/lib/index.js +107 -104
- package/lib/molecules/index.js +80 -77
- package/lib/shared/FloorItem.tokens.js +9840 -6086
- package/lib/shared/twMerge.js +438 -416
- package/lib/src/molecules/DatePicker/DatePicker.d.ts +1 -1
- package/lib/src/molecules/DatePicker/DatePicker.stories.d.ts +1 -0
- package/lib/src/molecules/DatePicker/DatePicker.tokens.d.ts +1 -0
- package/lib/src/molecules/DatePicker/DatePicker.types.d.ts +1 -0
- package/lib/src/molecules/DatePicker/DatePicker.utils.d.ts +3 -1
- package/lib/src/molecules/DateRangePicker/DateRangePicker.d.ts +4 -0
- package/lib/src/molecules/DateRangePicker/DateRangePicker.stories.d.ts +7 -0
- package/lib/src/molecules/DateRangePicker/DateRangePicker.test.d.ts +1 -0
- package/lib/src/molecules/DateRangePicker/DateRangePicker.tokens.d.ts +15 -0
- package/lib/src/molecules/DateRangePicker/DateRangePicker.types.d.ts +19 -0
- package/lib/src/molecules/DateRangePicker/index.d.ts +3 -0
- package/lib/src/molecules/FloorSelect/FloorSelect.types.d.ts +5 -1
- package/lib/src/molecules/InputGroup/InputGroup.d.ts +1 -1
- package/lib/src/molecules/index.d.ts +1 -0
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/shared/twMerge.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { typographyTokens as K, colorTokens as Ee } from "../tokens/index.js";
|
|
2
|
-
const ke = 6048e5,
|
|
3
|
-
function
|
|
2
|
+
const ke = 6048e5, ze = 864e5, kr = 6e4, Mr = 36e5, Pr = 1e3, ue = Symbol.for("constructDateFrom");
|
|
3
|
+
function Y(e, t) {
|
|
4
4
|
return typeof e == "function" ? e(t) : e && typeof e == "object" && ue in e ? e[ue](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
|
|
5
5
|
}
|
|
6
|
-
function
|
|
7
|
-
return
|
|
6
|
+
function S(e, t) {
|
|
7
|
+
return Y(t || e, e);
|
|
8
8
|
}
|
|
9
|
-
let
|
|
10
|
-
function
|
|
11
|
-
return
|
|
9
|
+
let Ne = {};
|
|
10
|
+
function X() {
|
|
11
|
+
return Ne;
|
|
12
12
|
}
|
|
13
13
|
function L(e, t) {
|
|
14
|
-
var s, l, d,
|
|
15
|
-
const r =
|
|
16
|
-
return
|
|
14
|
+
var s, l, d, u;
|
|
15
|
+
const r = X(), n = (t == null ? void 0 : t.weekStartsOn) ?? ((l = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : l.weekStartsOn) ?? r.weekStartsOn ?? ((u = (d = r.locale) == null ? void 0 : d.options) == null ? void 0 : u.weekStartsOn) ?? 0, a = S(e, t == null ? void 0 : t.in), o = a.getDay(), i = (o < n ? 7 : 0) + o - n;
|
|
16
|
+
return a.setDate(a.getDate() - i), a.setHours(0, 0, 0, 0), a;
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Q(e, t) {
|
|
19
19
|
return L(e, { ...t, weekStartsOn: 1 });
|
|
20
20
|
}
|
|
21
21
|
function Me(e, t) {
|
|
22
|
-
const r =
|
|
23
|
-
|
|
24
|
-
const
|
|
22
|
+
const r = S(e, t == null ? void 0 : t.in), n = r.getFullYear(), a = Y(r, 0);
|
|
23
|
+
a.setFullYear(n + 1, 0, 4), a.setHours(0, 0, 0, 0);
|
|
24
|
+
const o = Q(a), i = Y(r, 0);
|
|
25
25
|
i.setFullYear(n, 0, 4), i.setHours(0, 0, 0, 0);
|
|
26
|
-
const s =
|
|
27
|
-
return r.getTime() >=
|
|
26
|
+
const s = Q(i);
|
|
27
|
+
return r.getTime() >= o.getTime() ? n + 1 : r.getTime() >= s.getTime() ? n : n - 1;
|
|
28
28
|
}
|
|
29
29
|
function fe(e) {
|
|
30
|
-
const t =
|
|
30
|
+
const t = S(e), r = new Date(
|
|
31
31
|
Date.UTC(
|
|
32
32
|
t.getFullYear(),
|
|
33
33
|
t.getMonth(),
|
|
@@ -40,37 +40,37 @@ function fe(e) {
|
|
|
40
40
|
);
|
|
41
41
|
return r.setUTCFullYear(t.getFullYear()), +e - +r;
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
const r =
|
|
43
|
+
function Ae(e, ...t) {
|
|
44
|
+
const r = Y.bind(
|
|
45
45
|
null,
|
|
46
|
-
t.find((n) => typeof n == "object")
|
|
46
|
+
e || t.find((n) => typeof n == "object")
|
|
47
47
|
);
|
|
48
48
|
return t.map(r);
|
|
49
49
|
}
|
|
50
50
|
function me(e, t) {
|
|
51
|
-
const r =
|
|
51
|
+
const r = S(e, t == null ? void 0 : t.in);
|
|
52
52
|
return r.setHours(0, 0, 0, 0), r;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
55
|
-
const [n,
|
|
54
|
+
function Fe(e, t, r) {
|
|
55
|
+
const [n, a] = Ae(
|
|
56
56
|
r == null ? void 0 : r.in,
|
|
57
57
|
e,
|
|
58
58
|
t
|
|
59
|
-
),
|
|
60
|
-
return Math.round((s - l) /
|
|
59
|
+
), o = me(n), i = me(a), s = +o - fe(o), l = +i - fe(i);
|
|
60
|
+
return Math.round((s - l) / ze);
|
|
61
61
|
}
|
|
62
62
|
function Ge(e, t) {
|
|
63
|
-
const r = Me(e, t), n =
|
|
64
|
-
return n.setFullYear(r, 0, 4), n.setHours(0, 0, 0, 0),
|
|
63
|
+
const r = Me(e, t), n = Y(e, 0);
|
|
64
|
+
return n.setFullYear(r, 0, 4), n.setHours(0, 0, 0, 0), Q(n);
|
|
65
65
|
}
|
|
66
66
|
function Re(e) {
|
|
67
67
|
return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
68
68
|
}
|
|
69
69
|
function qe(e) {
|
|
70
|
-
return !(!Re(e) && typeof e != "number" || isNaN(+
|
|
70
|
+
return !(!Re(e) && typeof e != "number" || isNaN(+S(e)));
|
|
71
71
|
}
|
|
72
72
|
function Ie(e, t) {
|
|
73
|
-
const r =
|
|
73
|
+
const r = S(e, t == null ? void 0 : t.in);
|
|
74
74
|
return r.setFullYear(r.getFullYear(), 0, 1), r.setHours(0, 0, 0, 0), r;
|
|
75
75
|
}
|
|
76
76
|
const je = {
|
|
@@ -137,8 +137,8 @@ const je = {
|
|
|
137
137
|
}
|
|
138
138
|
}, Le = (e, t, r) => {
|
|
139
139
|
let n;
|
|
140
|
-
const
|
|
141
|
-
return typeof
|
|
140
|
+
const a = je[e];
|
|
141
|
+
return typeof a == "string" ? n = a : t === 1 ? n = a.one : n = a.other.replace("{{count}}", t.toString()), r != null && r.addSuffix ? r.comparison && r.comparison > 0 ? "in " + n : n + " ago" : n;
|
|
142
142
|
};
|
|
143
143
|
function Z(e) {
|
|
144
144
|
return (t = {}) => {
|
|
@@ -156,12 +156,12 @@ const _e = {
|
|
|
156
156
|
long: "h:mm:ss a z",
|
|
157
157
|
medium: "h:mm:ss a",
|
|
158
158
|
short: "h:mm a"
|
|
159
|
-
},
|
|
159
|
+
}, Be = {
|
|
160
160
|
full: "{{date}} 'at' {{time}}",
|
|
161
161
|
long: "{{date}} 'at' {{time}}",
|
|
162
162
|
medium: "{{date}}, {{time}}",
|
|
163
163
|
short: "{{date}}, {{time}}"
|
|
164
|
-
},
|
|
164
|
+
}, Qe = {
|
|
165
165
|
date: Z({
|
|
166
166
|
formats: _e,
|
|
167
167
|
defaultWidth: "full"
|
|
@@ -171,30 +171,30 @@ const _e = {
|
|
|
171
171
|
defaultWidth: "full"
|
|
172
172
|
}),
|
|
173
173
|
dateTime: Z({
|
|
174
|
-
formats:
|
|
174
|
+
formats: Be,
|
|
175
175
|
defaultWidth: "full"
|
|
176
176
|
})
|
|
177
|
-
},
|
|
177
|
+
}, Xe = {
|
|
178
178
|
lastWeek: "'last' eeee 'at' p",
|
|
179
179
|
yesterday: "'yesterday at' p",
|
|
180
180
|
today: "'today at' p",
|
|
181
181
|
tomorrow: "'tomorrow at' p",
|
|
182
182
|
nextWeek: "eeee 'at' p",
|
|
183
183
|
other: "P"
|
|
184
|
-
}, Ve = (e, t, r, n) =>
|
|
184
|
+
}, Ve = (e, t, r, n) => Xe[e];
|
|
185
185
|
function G(e) {
|
|
186
186
|
return (t, r) => {
|
|
187
187
|
const n = r != null && r.context ? String(r.context) : "standalone";
|
|
188
|
-
let
|
|
188
|
+
let a;
|
|
189
189
|
if (n === "formatting" && e.formattingValues) {
|
|
190
190
|
const i = e.defaultFormattingWidth || e.defaultWidth, s = r != null && r.width ? String(r.width) : i;
|
|
191
|
-
|
|
191
|
+
a = e.formattingValues[s] || e.formattingValues[i];
|
|
192
192
|
} else {
|
|
193
193
|
const i = e.defaultWidth, s = r != null && r.width ? String(r.width) : e.defaultWidth;
|
|
194
|
-
|
|
194
|
+
a = e.values[s] || e.values[i];
|
|
195
195
|
}
|
|
196
|
-
const
|
|
197
|
-
return o
|
|
196
|
+
const o = e.argumentCallback ? e.argumentCallback(t) : t;
|
|
197
|
+
return a[o];
|
|
198
198
|
};
|
|
199
199
|
}
|
|
200
200
|
const $e = {
|
|
@@ -350,20 +350,20 @@ const $e = {
|
|
|
350
350
|
};
|
|
351
351
|
function R(e) {
|
|
352
352
|
return (t, r = {}) => {
|
|
353
|
-
const n = r.width,
|
|
354
|
-
if (!
|
|
353
|
+
const n = r.width, a = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], o = t.match(a);
|
|
354
|
+
if (!o)
|
|
355
355
|
return null;
|
|
356
|
-
const i =
|
|
356
|
+
const i = o[0], s = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(s) ? at(s, (p) => p.test(i)) : (
|
|
357
357
|
// [TODO] -- I challenge you to fix the type
|
|
358
|
-
nt(s, (
|
|
358
|
+
nt(s, (p) => p.test(i))
|
|
359
359
|
);
|
|
360
360
|
let d;
|
|
361
361
|
d = e.valueCallback ? e.valueCallback(l) : l, d = r.valueCallback ? (
|
|
362
362
|
// [TODO] -- I challenge you to fix the type
|
|
363
363
|
r.valueCallback(d)
|
|
364
364
|
) : d;
|
|
365
|
-
const
|
|
366
|
-
return { value: d, rest:
|
|
365
|
+
const u = t.slice(i.length);
|
|
366
|
+
return { value: d, rest: u };
|
|
367
367
|
};
|
|
368
368
|
}
|
|
369
369
|
function nt(e, t) {
|
|
@@ -371,20 +371,20 @@ function nt(e, t) {
|
|
|
371
371
|
if (Object.prototype.hasOwnProperty.call(e, r) && t(e[r]))
|
|
372
372
|
return r;
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function at(e, t) {
|
|
375
375
|
for (let r = 0; r < e.length; r++)
|
|
376
376
|
if (t(e[r]))
|
|
377
377
|
return r;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function ot(e) {
|
|
380
380
|
return (t, r = {}) => {
|
|
381
381
|
const n = t.match(e.matchPattern);
|
|
382
382
|
if (!n) return null;
|
|
383
|
-
const
|
|
384
|
-
if (!
|
|
385
|
-
let i = e.valueCallback ? e.valueCallback(
|
|
383
|
+
const a = n[0], o = t.match(e.parsePattern);
|
|
384
|
+
if (!o) return null;
|
|
385
|
+
let i = e.valueCallback ? e.valueCallback(o[0]) : o[0];
|
|
386
386
|
i = r.valueCallback ? r.valueCallback(i) : i;
|
|
387
|
-
const s = t.slice(
|
|
387
|
+
const s = t.slice(a.length);
|
|
388
388
|
return { value: i, rest: s };
|
|
389
389
|
};
|
|
390
390
|
}
|
|
@@ -456,7 +456,7 @@ const st = /^(\d+)(th|st|nd|rd)?/i, it = /\d+/i, ct = {
|
|
|
456
456
|
night: /night/i
|
|
457
457
|
}
|
|
458
458
|
}, yt = {
|
|
459
|
-
ordinalNumber:
|
|
459
|
+
ordinalNumber: ot({
|
|
460
460
|
matchPattern: st,
|
|
461
461
|
parsePattern: it,
|
|
462
462
|
valueCallback: (e) => parseInt(e, 10)
|
|
@@ -495,7 +495,7 @@ const st = /^(\d+)(th|st|nd|rd)?/i, it = /\d+/i, ct = {
|
|
|
495
495
|
}, wt = {
|
|
496
496
|
code: "en-US",
|
|
497
497
|
formatDistance: Le,
|
|
498
|
-
formatLong:
|
|
498
|
+
formatLong: Qe,
|
|
499
499
|
formatRelative: Ve,
|
|
500
500
|
localize: rt,
|
|
501
501
|
match: yt,
|
|
@@ -505,49 +505,49 @@ const st = /^(\d+)(th|st|nd|rd)?/i, it = /\d+/i, ct = {
|
|
|
505
505
|
}
|
|
506
506
|
};
|
|
507
507
|
function xt(e, t) {
|
|
508
|
-
const r =
|
|
509
|
-
return
|
|
508
|
+
const r = S(e, t == null ? void 0 : t.in);
|
|
509
|
+
return Fe(r, Ie(r)) + 1;
|
|
510
510
|
}
|
|
511
511
|
function vt(e, t) {
|
|
512
|
-
const r =
|
|
512
|
+
const r = S(e, t == null ? void 0 : t.in), n = +Q(r) - +Ge(r);
|
|
513
513
|
return Math.round(n / ke) + 1;
|
|
514
514
|
}
|
|
515
515
|
function Pe(e, t) {
|
|
516
|
-
var
|
|
517
|
-
const r =
|
|
518
|
-
i.setFullYear(n + 1, 0,
|
|
519
|
-
const s = L(i, t), l =
|
|
520
|
-
l.setFullYear(n, 0,
|
|
516
|
+
var u, p, v, k;
|
|
517
|
+
const r = S(e, t == null ? void 0 : t.in), n = r.getFullYear(), a = X(), o = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((p = (u = t == null ? void 0 : t.locale) == null ? void 0 : u.options) == null ? void 0 : p.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((k = (v = a.locale) == null ? void 0 : v.options) == null ? void 0 : k.firstWeekContainsDate) ?? 1, i = Y((t == null ? void 0 : t.in) || e, 0);
|
|
518
|
+
i.setFullYear(n + 1, 0, o), i.setHours(0, 0, 0, 0);
|
|
519
|
+
const s = L(i, t), l = Y((t == null ? void 0 : t.in) || e, 0);
|
|
520
|
+
l.setFullYear(n, 0, o), l.setHours(0, 0, 0, 0);
|
|
521
521
|
const d = L(l, t);
|
|
522
522
|
return +r >= +s ? n + 1 : +r >= +d ? n : n - 1;
|
|
523
523
|
}
|
|
524
524
|
function kt(e, t) {
|
|
525
|
-
var s, l, d,
|
|
526
|
-
const r =
|
|
527
|
-
return
|
|
525
|
+
var s, l, d, u;
|
|
526
|
+
const r = X(), n = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((l = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : l.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((u = (d = r.locale) == null ? void 0 : d.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1, a = Pe(e, t), o = Y((t == null ? void 0 : t.in) || e, 0);
|
|
527
|
+
return o.setFullYear(a, 0, n), o.setHours(0, 0, 0, 0), L(o, t);
|
|
528
528
|
}
|
|
529
529
|
function Mt(e, t) {
|
|
530
|
-
const r =
|
|
530
|
+
const r = S(e, t == null ? void 0 : t.in), n = +L(r, t) - +kt(r, t);
|
|
531
531
|
return Math.round(n / ke) + 1;
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function f(e, t) {
|
|
534
534
|
const r = e < 0 ? "-" : "", n = Math.abs(e).toString().padStart(t, "0");
|
|
535
535
|
return r + n;
|
|
536
536
|
}
|
|
537
|
-
const
|
|
537
|
+
const W = {
|
|
538
538
|
// Year
|
|
539
539
|
y(e, t) {
|
|
540
540
|
const r = e.getFullYear(), n = r > 0 ? r : 1 - r;
|
|
541
|
-
return
|
|
541
|
+
return f(t === "yy" ? n % 100 : n, t.length);
|
|
542
542
|
},
|
|
543
543
|
// Month
|
|
544
544
|
M(e, t) {
|
|
545
545
|
const r = e.getMonth();
|
|
546
|
-
return t === "M" ? String(r + 1) :
|
|
546
|
+
return t === "M" ? String(r + 1) : f(r + 1, 2);
|
|
547
547
|
},
|
|
548
548
|
// Day of the month
|
|
549
549
|
d(e, t) {
|
|
550
|
-
return
|
|
550
|
+
return f(e.getDate(), t.length);
|
|
551
551
|
},
|
|
552
552
|
// AM or PM
|
|
553
553
|
a(e, t) {
|
|
@@ -567,28 +567,28 @@ const O = {
|
|
|
567
567
|
},
|
|
568
568
|
// Hour [1-12]
|
|
569
569
|
h(e, t) {
|
|
570
|
-
return
|
|
570
|
+
return f(e.getHours() % 12 || 12, t.length);
|
|
571
571
|
},
|
|
572
572
|
// Hour [0-23]
|
|
573
573
|
H(e, t) {
|
|
574
|
-
return
|
|
574
|
+
return f(e.getHours(), t.length);
|
|
575
575
|
},
|
|
576
576
|
// Minute
|
|
577
577
|
m(e, t) {
|
|
578
|
-
return
|
|
578
|
+
return f(e.getMinutes(), t.length);
|
|
579
579
|
},
|
|
580
580
|
// Second
|
|
581
581
|
s(e, t) {
|
|
582
|
-
return
|
|
582
|
+
return f(e.getSeconds(), t.length);
|
|
583
583
|
},
|
|
584
584
|
// Fraction of second
|
|
585
585
|
S(e, t) {
|
|
586
|
-
const r = t.length, n = e.getMilliseconds(),
|
|
586
|
+
const r = t.length, n = e.getMilliseconds(), a = Math.trunc(
|
|
587
587
|
n * Math.pow(10, r - 3)
|
|
588
588
|
);
|
|
589
|
-
return
|
|
589
|
+
return f(a, t.length);
|
|
590
590
|
}
|
|
591
|
-
},
|
|
591
|
+
}, z = {
|
|
592
592
|
midnight: "midnight",
|
|
593
593
|
noon: "noon",
|
|
594
594
|
morning: "morning",
|
|
@@ -614,24 +614,24 @@ const O = {
|
|
|
614
614
|
// Year
|
|
615
615
|
y: function(e, t, r) {
|
|
616
616
|
if (t === "yo") {
|
|
617
|
-
const n = e.getFullYear(),
|
|
618
|
-
return r.ordinalNumber(
|
|
617
|
+
const n = e.getFullYear(), a = n > 0 ? n : 1 - n;
|
|
618
|
+
return r.ordinalNumber(a, { unit: "year" });
|
|
619
619
|
}
|
|
620
|
-
return
|
|
620
|
+
return W.y(e, t);
|
|
621
621
|
},
|
|
622
622
|
// Local week-numbering year
|
|
623
623
|
Y: function(e, t, r, n) {
|
|
624
|
-
const
|
|
624
|
+
const a = Pe(e, n), o = a > 0 ? a : 1 - a;
|
|
625
625
|
if (t === "YY") {
|
|
626
|
-
const i =
|
|
627
|
-
return
|
|
626
|
+
const i = o % 100;
|
|
627
|
+
return f(i, 2);
|
|
628
628
|
}
|
|
629
|
-
return t === "Yo" ? r.ordinalNumber(
|
|
629
|
+
return t === "Yo" ? r.ordinalNumber(o, { unit: "year" }) : f(o, t.length);
|
|
630
630
|
},
|
|
631
631
|
// ISO week-numbering year
|
|
632
632
|
R: function(e, t) {
|
|
633
633
|
const r = Me(e);
|
|
634
|
-
return
|
|
634
|
+
return f(r, t.length);
|
|
635
635
|
},
|
|
636
636
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
637
637
|
// The main difference between `y` and `u` localizers are B.C. years:
|
|
@@ -644,7 +644,7 @@ const O = {
|
|
|
644
644
|
// while `uu` pads single digit years to 2 characters and returns other years unchanged.
|
|
645
645
|
u: function(e, t) {
|
|
646
646
|
const r = e.getFullYear();
|
|
647
|
-
return
|
|
647
|
+
return f(r, t.length);
|
|
648
648
|
},
|
|
649
649
|
// Quarter
|
|
650
650
|
Q: function(e, t, r) {
|
|
@@ -653,7 +653,7 @@ const O = {
|
|
|
653
653
|
case "Q":
|
|
654
654
|
return String(n);
|
|
655
655
|
case "QQ":
|
|
656
|
-
return
|
|
656
|
+
return f(n, 2);
|
|
657
657
|
case "Qo":
|
|
658
658
|
return r.ordinalNumber(n, { unit: "quarter" });
|
|
659
659
|
case "QQQ":
|
|
@@ -681,7 +681,7 @@ const O = {
|
|
|
681
681
|
case "q":
|
|
682
682
|
return String(n);
|
|
683
683
|
case "qq":
|
|
684
|
-
return
|
|
684
|
+
return f(n, 2);
|
|
685
685
|
case "qo":
|
|
686
686
|
return r.ordinalNumber(n, { unit: "quarter" });
|
|
687
687
|
case "qqq":
|
|
@@ -708,7 +708,7 @@ const O = {
|
|
|
708
708
|
switch (t) {
|
|
709
709
|
case "M":
|
|
710
710
|
case "MM":
|
|
711
|
-
return
|
|
711
|
+
return W.M(e, t);
|
|
712
712
|
case "Mo":
|
|
713
713
|
return r.ordinalNumber(n + 1, { unit: "month" });
|
|
714
714
|
case "MMM":
|
|
@@ -733,7 +733,7 @@ const O = {
|
|
|
733
733
|
case "L":
|
|
734
734
|
return String(n + 1);
|
|
735
735
|
case "LL":
|
|
736
|
-
return
|
|
736
|
+
return f(n + 1, 2);
|
|
737
737
|
case "Lo":
|
|
738
738
|
return r.ordinalNumber(n + 1, { unit: "month" });
|
|
739
739
|
case "LLL":
|
|
@@ -753,22 +753,22 @@ const O = {
|
|
|
753
753
|
},
|
|
754
754
|
// Local week of year
|
|
755
755
|
w: function(e, t, r, n) {
|
|
756
|
-
const
|
|
757
|
-
return t === "wo" ? r.ordinalNumber(
|
|
756
|
+
const a = Mt(e, n);
|
|
757
|
+
return t === "wo" ? r.ordinalNumber(a, { unit: "week" }) : f(a, t.length);
|
|
758
758
|
},
|
|
759
759
|
// ISO week of year
|
|
760
760
|
I: function(e, t, r) {
|
|
761
761
|
const n = vt(e);
|
|
762
|
-
return t === "Io" ? r.ordinalNumber(n, { unit: "week" }) :
|
|
762
|
+
return t === "Io" ? r.ordinalNumber(n, { unit: "week" }) : f(n, t.length);
|
|
763
763
|
},
|
|
764
764
|
// Day of the month
|
|
765
765
|
d: function(e, t, r) {
|
|
766
|
-
return t === "do" ? r.ordinalNumber(e.getDate(), { unit: "date" }) :
|
|
766
|
+
return t === "do" ? r.ordinalNumber(e.getDate(), { unit: "date" }) : W.d(e, t);
|
|
767
767
|
},
|
|
768
768
|
// Day of year
|
|
769
769
|
D: function(e, t, r) {
|
|
770
770
|
const n = xt(e);
|
|
771
|
-
return t === "Do" ? r.ordinalNumber(n, { unit: "dayOfYear" }) :
|
|
771
|
+
return t === "Do" ? r.ordinalNumber(n, { unit: "dayOfYear" }) : f(n, t.length);
|
|
772
772
|
},
|
|
773
773
|
// Day of week
|
|
774
774
|
E: function(e, t, r) {
|
|
@@ -801,32 +801,32 @@ const O = {
|
|
|
801
801
|
},
|
|
802
802
|
// Local day of week
|
|
803
803
|
e: function(e, t, r, n) {
|
|
804
|
-
const
|
|
804
|
+
const a = e.getDay(), o = (a - n.weekStartsOn + 8) % 7 || 7;
|
|
805
805
|
switch (t) {
|
|
806
806
|
case "e":
|
|
807
|
-
return String(
|
|
807
|
+
return String(o);
|
|
808
808
|
case "ee":
|
|
809
|
-
return
|
|
809
|
+
return f(o, 2);
|
|
810
810
|
case "eo":
|
|
811
|
-
return r.ordinalNumber(
|
|
811
|
+
return r.ordinalNumber(o, { unit: "day" });
|
|
812
812
|
case "eee":
|
|
813
|
-
return r.day(
|
|
813
|
+
return r.day(a, {
|
|
814
814
|
width: "abbreviated",
|
|
815
815
|
context: "formatting"
|
|
816
816
|
});
|
|
817
817
|
case "eeeee":
|
|
818
|
-
return r.day(
|
|
818
|
+
return r.day(a, {
|
|
819
819
|
width: "narrow",
|
|
820
820
|
context: "formatting"
|
|
821
821
|
});
|
|
822
822
|
case "eeeeee":
|
|
823
|
-
return r.day(
|
|
823
|
+
return r.day(a, {
|
|
824
824
|
width: "short",
|
|
825
825
|
context: "formatting"
|
|
826
826
|
});
|
|
827
827
|
case "eeee":
|
|
828
828
|
default:
|
|
829
|
-
return r.day(
|
|
829
|
+
return r.day(a, {
|
|
830
830
|
width: "wide",
|
|
831
831
|
context: "formatting"
|
|
832
832
|
});
|
|
@@ -834,32 +834,32 @@ const O = {
|
|
|
834
834
|
},
|
|
835
835
|
// Stand-alone local day of week
|
|
836
836
|
c: function(e, t, r, n) {
|
|
837
|
-
const
|
|
837
|
+
const a = e.getDay(), o = (a - n.weekStartsOn + 8) % 7 || 7;
|
|
838
838
|
switch (t) {
|
|
839
839
|
case "c":
|
|
840
|
-
return String(
|
|
840
|
+
return String(o);
|
|
841
841
|
case "cc":
|
|
842
|
-
return
|
|
842
|
+
return f(o, t.length);
|
|
843
843
|
case "co":
|
|
844
|
-
return r.ordinalNumber(
|
|
844
|
+
return r.ordinalNumber(o, { unit: "day" });
|
|
845
845
|
case "ccc":
|
|
846
|
-
return r.day(
|
|
846
|
+
return r.day(a, {
|
|
847
847
|
width: "abbreviated",
|
|
848
848
|
context: "standalone"
|
|
849
849
|
});
|
|
850
850
|
case "ccccc":
|
|
851
|
-
return r.day(
|
|
851
|
+
return r.day(a, {
|
|
852
852
|
width: "narrow",
|
|
853
853
|
context: "standalone"
|
|
854
854
|
});
|
|
855
855
|
case "cccccc":
|
|
856
|
-
return r.day(
|
|
856
|
+
return r.day(a, {
|
|
857
857
|
width: "short",
|
|
858
858
|
context: "standalone"
|
|
859
859
|
});
|
|
860
860
|
case "cccc":
|
|
861
861
|
default:
|
|
862
|
-
return r.day(
|
|
862
|
+
return r.day(a, {
|
|
863
863
|
width: "wide",
|
|
864
864
|
context: "standalone"
|
|
865
865
|
});
|
|
@@ -867,14 +867,14 @@ const O = {
|
|
|
867
867
|
},
|
|
868
868
|
// ISO day of week
|
|
869
869
|
i: function(e, t, r) {
|
|
870
|
-
const n = e.getDay(),
|
|
870
|
+
const n = e.getDay(), a = n === 0 ? 7 : n;
|
|
871
871
|
switch (t) {
|
|
872
872
|
case "i":
|
|
873
|
-
return String(
|
|
873
|
+
return String(a);
|
|
874
874
|
case "ii":
|
|
875
|
-
return
|
|
875
|
+
return f(a, t.length);
|
|
876
876
|
case "io":
|
|
877
|
-
return r.ordinalNumber(
|
|
877
|
+
return r.ordinalNumber(a, { unit: "day" });
|
|
878
878
|
case "iii":
|
|
879
879
|
return r.day(n, {
|
|
880
880
|
width: "abbreviated",
|
|
@@ -900,27 +900,27 @@ const O = {
|
|
|
900
900
|
},
|
|
901
901
|
// AM or PM
|
|
902
902
|
a: function(e, t, r) {
|
|
903
|
-
const
|
|
903
|
+
const a = e.getHours() / 12 >= 1 ? "pm" : "am";
|
|
904
904
|
switch (t) {
|
|
905
905
|
case "a":
|
|
906
906
|
case "aa":
|
|
907
|
-
return r.dayPeriod(
|
|
907
|
+
return r.dayPeriod(a, {
|
|
908
908
|
width: "abbreviated",
|
|
909
909
|
context: "formatting"
|
|
910
910
|
});
|
|
911
911
|
case "aaa":
|
|
912
|
-
return r.dayPeriod(
|
|
912
|
+
return r.dayPeriod(a, {
|
|
913
913
|
width: "abbreviated",
|
|
914
914
|
context: "formatting"
|
|
915
915
|
}).toLowerCase();
|
|
916
916
|
case "aaaaa":
|
|
917
|
-
return r.dayPeriod(
|
|
917
|
+
return r.dayPeriod(a, {
|
|
918
918
|
width: "narrow",
|
|
919
919
|
context: "formatting"
|
|
920
920
|
});
|
|
921
921
|
case "aaaa":
|
|
922
922
|
default:
|
|
923
|
-
return r.dayPeriod(
|
|
923
|
+
return r.dayPeriod(a, {
|
|
924
924
|
width: "wide",
|
|
925
925
|
context: "formatting"
|
|
926
926
|
});
|
|
@@ -929,27 +929,27 @@ const O = {
|
|
|
929
929
|
// AM, PM, midnight, noon
|
|
930
930
|
b: function(e, t, r) {
|
|
931
931
|
const n = e.getHours();
|
|
932
|
-
let
|
|
933
|
-
switch (n === 12 ?
|
|
932
|
+
let a;
|
|
933
|
+
switch (n === 12 ? a = z.noon : n === 0 ? a = z.midnight : a = n / 12 >= 1 ? "pm" : "am", t) {
|
|
934
934
|
case "b":
|
|
935
935
|
case "bb":
|
|
936
|
-
return r.dayPeriod(
|
|
936
|
+
return r.dayPeriod(a, {
|
|
937
937
|
width: "abbreviated",
|
|
938
938
|
context: "formatting"
|
|
939
939
|
});
|
|
940
940
|
case "bbb":
|
|
941
|
-
return r.dayPeriod(
|
|
941
|
+
return r.dayPeriod(a, {
|
|
942
942
|
width: "abbreviated",
|
|
943
943
|
context: "formatting"
|
|
944
944
|
}).toLowerCase();
|
|
945
945
|
case "bbbbb":
|
|
946
|
-
return r.dayPeriod(
|
|
946
|
+
return r.dayPeriod(a, {
|
|
947
947
|
width: "narrow",
|
|
948
948
|
context: "formatting"
|
|
949
949
|
});
|
|
950
950
|
case "bbbb":
|
|
951
951
|
default:
|
|
952
|
-
return r.dayPeriod(
|
|
952
|
+
return r.dayPeriod(a, {
|
|
953
953
|
width: "wide",
|
|
954
954
|
context: "formatting"
|
|
955
955
|
});
|
|
@@ -958,23 +958,23 @@ const O = {
|
|
|
958
958
|
// in the morning, in the afternoon, in the evening, at night
|
|
959
959
|
B: function(e, t, r) {
|
|
960
960
|
const n = e.getHours();
|
|
961
|
-
let
|
|
962
|
-
switch (n >= 17 ?
|
|
961
|
+
let a;
|
|
962
|
+
switch (n >= 17 ? a = z.evening : n >= 12 ? a = z.afternoon : n >= 4 ? a = z.morning : a = z.night, t) {
|
|
963
963
|
case "B":
|
|
964
964
|
case "BB":
|
|
965
965
|
case "BBB":
|
|
966
|
-
return r.dayPeriod(
|
|
966
|
+
return r.dayPeriod(a, {
|
|
967
967
|
width: "abbreviated",
|
|
968
968
|
context: "formatting"
|
|
969
969
|
});
|
|
970
970
|
case "BBBBB":
|
|
971
|
-
return r.dayPeriod(
|
|
971
|
+
return r.dayPeriod(a, {
|
|
972
972
|
width: "narrow",
|
|
973
973
|
context: "formatting"
|
|
974
974
|
});
|
|
975
975
|
case "BBBB":
|
|
976
976
|
default:
|
|
977
|
-
return r.dayPeriod(
|
|
977
|
+
return r.dayPeriod(a, {
|
|
978
978
|
width: "wide",
|
|
979
979
|
context: "formatting"
|
|
980
980
|
});
|
|
@@ -986,33 +986,33 @@ const O = {
|
|
|
986
986
|
let n = e.getHours() % 12;
|
|
987
987
|
return n === 0 && (n = 12), r.ordinalNumber(n, { unit: "hour" });
|
|
988
988
|
}
|
|
989
|
-
return
|
|
989
|
+
return W.h(e, t);
|
|
990
990
|
},
|
|
991
991
|
// Hour [0-23]
|
|
992
992
|
H: function(e, t, r) {
|
|
993
|
-
return t === "Ho" ? r.ordinalNumber(e.getHours(), { unit: "hour" }) :
|
|
993
|
+
return t === "Ho" ? r.ordinalNumber(e.getHours(), { unit: "hour" }) : W.H(e, t);
|
|
994
994
|
},
|
|
995
995
|
// Hour [0-11]
|
|
996
996
|
K: function(e, t, r) {
|
|
997
997
|
const n = e.getHours() % 12;
|
|
998
|
-
return t === "Ko" ? r.ordinalNumber(n, { unit: "hour" }) :
|
|
998
|
+
return t === "Ko" ? r.ordinalNumber(n, { unit: "hour" }) : f(n, t.length);
|
|
999
999
|
},
|
|
1000
1000
|
// Hour [1-24]
|
|
1001
1001
|
k: function(e, t, r) {
|
|
1002
1002
|
let n = e.getHours();
|
|
1003
|
-
return n === 0 && (n = 24), t === "ko" ? r.ordinalNumber(n, { unit: "hour" }) :
|
|
1003
|
+
return n === 0 && (n = 24), t === "ko" ? r.ordinalNumber(n, { unit: "hour" }) : f(n, t.length);
|
|
1004
1004
|
},
|
|
1005
1005
|
// Minute
|
|
1006
1006
|
m: function(e, t, r) {
|
|
1007
|
-
return t === "mo" ? r.ordinalNumber(e.getMinutes(), { unit: "minute" }) :
|
|
1007
|
+
return t === "mo" ? r.ordinalNumber(e.getMinutes(), { unit: "minute" }) : W.m(e, t);
|
|
1008
1008
|
},
|
|
1009
1009
|
// Second
|
|
1010
1010
|
s: function(e, t, r) {
|
|
1011
|
-
return t === "so" ? r.ordinalNumber(e.getSeconds(), { unit: "second" }) :
|
|
1011
|
+
return t === "so" ? r.ordinalNumber(e.getSeconds(), { unit: "second" }) : W.s(e, t);
|
|
1012
1012
|
},
|
|
1013
1013
|
// Fraction of second
|
|
1014
1014
|
S: function(e, t) {
|
|
1015
|
-
return
|
|
1015
|
+
return W.S(e, t);
|
|
1016
1016
|
},
|
|
1017
1017
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
1018
1018
|
X: function(e, t, r) {
|
|
@@ -1024,11 +1024,11 @@ const O = {
|
|
|
1024
1024
|
return be(n);
|
|
1025
1025
|
case "XXXX":
|
|
1026
1026
|
case "XX":
|
|
1027
|
-
return
|
|
1027
|
+
return E(n);
|
|
1028
1028
|
case "XXXXX":
|
|
1029
1029
|
case "XXX":
|
|
1030
1030
|
default:
|
|
1031
|
-
return
|
|
1031
|
+
return E(n, ":");
|
|
1032
1032
|
}
|
|
1033
1033
|
},
|
|
1034
1034
|
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
@@ -1039,11 +1039,11 @@ const O = {
|
|
|
1039
1039
|
return be(n);
|
|
1040
1040
|
case "xxxx":
|
|
1041
1041
|
case "xx":
|
|
1042
|
-
return
|
|
1042
|
+
return E(n);
|
|
1043
1043
|
case "xxxxx":
|
|
1044
1044
|
case "xxx":
|
|
1045
1045
|
default:
|
|
1046
|
-
return
|
|
1046
|
+
return E(n, ":");
|
|
1047
1047
|
}
|
|
1048
1048
|
},
|
|
1049
1049
|
// Timezone (GMT)
|
|
@@ -1056,7 +1056,7 @@ const O = {
|
|
|
1056
1056
|
return "GMT" + ge(n, ":");
|
|
1057
1057
|
case "OOOO":
|
|
1058
1058
|
default:
|
|
1059
|
-
return "GMT" +
|
|
1059
|
+
return "GMT" + E(n, ":");
|
|
1060
1060
|
}
|
|
1061
1061
|
},
|
|
1062
1062
|
// Timezone (specific non-location)
|
|
@@ -1069,29 +1069,29 @@ const O = {
|
|
|
1069
1069
|
return "GMT" + ge(n, ":");
|
|
1070
1070
|
case "zzzz":
|
|
1071
1071
|
default:
|
|
1072
|
-
return "GMT" +
|
|
1072
|
+
return "GMT" + E(n, ":");
|
|
1073
1073
|
}
|
|
1074
1074
|
},
|
|
1075
1075
|
// Seconds timestamp
|
|
1076
1076
|
t: function(e, t, r) {
|
|
1077
1077
|
const n = Math.trunc(+e / 1e3);
|
|
1078
|
-
return
|
|
1078
|
+
return f(n, t.length);
|
|
1079
1079
|
},
|
|
1080
1080
|
// Milliseconds timestamp
|
|
1081
1081
|
T: function(e, t, r) {
|
|
1082
|
-
return
|
|
1082
|
+
return f(+e, t.length);
|
|
1083
1083
|
}
|
|
1084
1084
|
};
|
|
1085
1085
|
function ge(e, t = "") {
|
|
1086
|
-
const r = e > 0 ? "-" : "+", n = Math.abs(e),
|
|
1087
|
-
return
|
|
1086
|
+
const r = e > 0 ? "-" : "+", n = Math.abs(e), a = Math.trunc(n / 60), o = n % 60;
|
|
1087
|
+
return o === 0 ? r + String(a) : r + String(a) + t + f(o, 2);
|
|
1088
1088
|
}
|
|
1089
1089
|
function be(e, t) {
|
|
1090
|
-
return e % 60 === 0 ? (e > 0 ? "-" : "+") +
|
|
1090
|
+
return e % 60 === 0 ? (e > 0 ? "-" : "+") + f(Math.abs(e) / 60, 2) : E(e, t);
|
|
1091
1091
|
}
|
|
1092
|
-
function
|
|
1093
|
-
const r = e > 0 ? "-" : "+", n = Math.abs(e),
|
|
1094
|
-
return r +
|
|
1092
|
+
function E(e, t = "") {
|
|
1093
|
+
const r = e > 0 ? "-" : "+", n = Math.abs(e), a = f(Math.trunc(n / 60), 2), o = f(n % 60, 2);
|
|
1094
|
+
return r + a + t + o;
|
|
1095
1095
|
}
|
|
1096
1096
|
const pe = (e, t) => {
|
|
1097
1097
|
switch (e) {
|
|
@@ -1118,26 +1118,26 @@ const pe = (e, t) => {
|
|
|
1118
1118
|
return t.time({ width: "full" });
|
|
1119
1119
|
}
|
|
1120
1120
|
}, Pt = (e, t) => {
|
|
1121
|
-
const r = e.match(/(P+)(p+)?/) || [], n = r[1],
|
|
1122
|
-
if (!
|
|
1121
|
+
const r = e.match(/(P+)(p+)?/) || [], n = r[1], a = r[2];
|
|
1122
|
+
if (!a)
|
|
1123
1123
|
return pe(e, t);
|
|
1124
|
-
let
|
|
1124
|
+
let o;
|
|
1125
1125
|
switch (n) {
|
|
1126
1126
|
case "P":
|
|
1127
|
-
|
|
1127
|
+
o = t.dateTime({ width: "short" });
|
|
1128
1128
|
break;
|
|
1129
1129
|
case "PP":
|
|
1130
|
-
|
|
1130
|
+
o = t.dateTime({ width: "medium" });
|
|
1131
1131
|
break;
|
|
1132
1132
|
case "PPP":
|
|
1133
|
-
|
|
1133
|
+
o = t.dateTime({ width: "long" });
|
|
1134
1134
|
break;
|
|
1135
1135
|
case "PPPP":
|
|
1136
1136
|
default:
|
|
1137
|
-
|
|
1137
|
+
o = t.dateTime({ width: "full" });
|
|
1138
1138
|
break;
|
|
1139
1139
|
}
|
|
1140
|
-
return
|
|
1140
|
+
return o.replace("{{date}}", pe(n, t)).replace("{{time}}", Se(a, t));
|
|
1141
1141
|
}, St = {
|
|
1142
1142
|
p: Se,
|
|
1143
1143
|
P: Pt
|
|
@@ -1156,62 +1156,62 @@ function Et(e, t, r) {
|
|
|
1156
1156
|
const n = e[0] === "Y" ? "years" : "days of the month";
|
|
1157
1157
|
return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
|
|
1158
1158
|
}
|
|
1159
|
-
const
|
|
1160
|
-
function
|
|
1161
|
-
var
|
|
1162
|
-
const n =
|
|
1159
|
+
const zt = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Nt = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, At = /^'([^]*?)'?$/, Ft = /''/g, Gt = /[a-zA-Z]/;
|
|
1160
|
+
function Sr(e, t, r) {
|
|
1161
|
+
var u, p, v, k, M, y, g, x;
|
|
1162
|
+
const n = X(), a = (r == null ? void 0 : r.locale) ?? n.locale ?? wt, o = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((p = (u = r == null ? void 0 : r.locale) == null ? void 0 : u.options) == null ? void 0 : p.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((k = (v = n.locale) == null ? void 0 : v.options) == null ? void 0 : k.firstWeekContainsDate) ?? 1, i = (r == null ? void 0 : r.weekStartsOn) ?? ((y = (M = r == null ? void 0 : r.locale) == null ? void 0 : M.options) == null ? void 0 : y.weekStartsOn) ?? n.weekStartsOn ?? ((x = (g = n.locale) == null ? void 0 : g.options) == null ? void 0 : x.weekStartsOn) ?? 0, s = S(e, r == null ? void 0 : r.in);
|
|
1163
1163
|
if (!qe(s))
|
|
1164
1164
|
throw new RangeError("Invalid time value");
|
|
1165
|
-
let l = t.match(
|
|
1166
|
-
const
|
|
1167
|
-
if (
|
|
1168
|
-
const
|
|
1169
|
-
return
|
|
1165
|
+
let l = t.match(Nt).map((m) => {
|
|
1166
|
+
const w = m[0];
|
|
1167
|
+
if (w === "p" || w === "P") {
|
|
1168
|
+
const P = St[w];
|
|
1169
|
+
return P(m, a.formatLong);
|
|
1170
1170
|
}
|
|
1171
|
-
return
|
|
1172
|
-
}).join("").match(
|
|
1173
|
-
if (
|
|
1171
|
+
return m;
|
|
1172
|
+
}).join("").match(zt).map((m) => {
|
|
1173
|
+
if (m === "''")
|
|
1174
1174
|
return { isToken: !1, value: "'" };
|
|
1175
|
-
const
|
|
1176
|
-
if (
|
|
1177
|
-
return { isToken: !1, value: Rt(
|
|
1178
|
-
if (he[
|
|
1179
|
-
return { isToken: !0, value:
|
|
1180
|
-
if (
|
|
1175
|
+
const w = m[0];
|
|
1176
|
+
if (w === "'")
|
|
1177
|
+
return { isToken: !1, value: Rt(m) };
|
|
1178
|
+
if (he[w])
|
|
1179
|
+
return { isToken: !0, value: m };
|
|
1180
|
+
if (w.match(Gt))
|
|
1181
1181
|
throw new RangeError(
|
|
1182
|
-
"Format string contains an unescaped latin alphabet character `" +
|
|
1182
|
+
"Format string contains an unescaped latin alphabet character `" + w + "`"
|
|
1183
1183
|
);
|
|
1184
|
-
return { isToken: !1, value:
|
|
1184
|
+
return { isToken: !1, value: m };
|
|
1185
1185
|
});
|
|
1186
|
-
|
|
1186
|
+
a.localize.preprocessor && (l = a.localize.preprocessor(s, l));
|
|
1187
1187
|
const d = {
|
|
1188
|
-
firstWeekContainsDate:
|
|
1188
|
+
firstWeekContainsDate: o,
|
|
1189
1189
|
weekStartsOn: i,
|
|
1190
|
-
locale:
|
|
1190
|
+
locale: a
|
|
1191
1191
|
};
|
|
1192
|
-
return l.map((
|
|
1193
|
-
if (!
|
|
1194
|
-
const
|
|
1195
|
-
(Dt(
|
|
1196
|
-
const
|
|
1197
|
-
return
|
|
1192
|
+
return l.map((m) => {
|
|
1193
|
+
if (!m.isToken) return m.value;
|
|
1194
|
+
const w = m.value;
|
|
1195
|
+
(!(r != null && r.useAdditionalWeekYearTokens) && Dt(w) || !(r != null && r.useAdditionalDayOfYearTokens) && Tt(w)) && Yt(w, t, String(e));
|
|
1196
|
+
const P = he[w[0]];
|
|
1197
|
+
return P(s, w, a.localize, d);
|
|
1198
1198
|
}).join("");
|
|
1199
1199
|
}
|
|
1200
1200
|
function Rt(e) {
|
|
1201
|
-
const t = e.match(
|
|
1202
|
-
return t ? t[1].replace(
|
|
1201
|
+
const t = e.match(At);
|
|
1202
|
+
return t ? t[1].replace(Ft, "'") : e;
|
|
1203
1203
|
}
|
|
1204
1204
|
function Oe(e) {
|
|
1205
1205
|
var t, r, n = "";
|
|
1206
1206
|
if (typeof e == "string" || typeof e == "number") n += e;
|
|
1207
1207
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
1208
|
-
var
|
|
1209
|
-
for (t = 0; t <
|
|
1208
|
+
var a = e.length;
|
|
1209
|
+
for (t = 0; t < a; t++) e[t] && (r = Oe(e[t])) && (n && (n += " "), n += r);
|
|
1210
1210
|
} else for (r in e) e[r] && (n && (n += " "), n += r);
|
|
1211
1211
|
return n;
|
|
1212
1212
|
}
|
|
1213
1213
|
function qt() {
|
|
1214
|
-
for (var e, t, r = 0, n = "",
|
|
1214
|
+
for (var e, t, r = 0, n = "", a = arguments.length; r < a; r++) (e = arguments[r]) && (t = Oe(e)) && (n && (n += " "), n += t);
|
|
1215
1215
|
return n;
|
|
1216
1216
|
}
|
|
1217
1217
|
const ne = "-", It = (e) => {
|
|
@@ -1233,15 +1233,15 @@ const ne = "-", It = (e) => {
|
|
|
1233
1233
|
var i;
|
|
1234
1234
|
if (e.length === 0)
|
|
1235
1235
|
return t.classGroupId;
|
|
1236
|
-
const r = e[0], n = t.nextPart.get(r),
|
|
1237
|
-
if (
|
|
1238
|
-
return
|
|
1236
|
+
const r = e[0], n = t.nextPart.get(r), a = n ? Ce(e.slice(1), n) : void 0;
|
|
1237
|
+
if (a)
|
|
1238
|
+
return a;
|
|
1239
1239
|
if (t.validators.length === 0)
|
|
1240
1240
|
return;
|
|
1241
|
-
const
|
|
1241
|
+
const o = e.join(ne);
|
|
1242
1242
|
return (i = t.validators.find(({
|
|
1243
1243
|
validator: s
|
|
1244
|
-
}) => s(
|
|
1244
|
+
}) => s(o))) == null ? void 0 : i.classGroupId;
|
|
1245
1245
|
}, ye = /^\[(.+)\]$/, jt = (e) => {
|
|
1246
1246
|
if (ye.test(e)) {
|
|
1247
1247
|
const t = ye.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
|
|
@@ -1256,29 +1256,29 @@ const ne = "-", It = (e) => {
|
|
|
1256
1256
|
nextPart: /* @__PURE__ */ new Map(),
|
|
1257
1257
|
validators: []
|
|
1258
1258
|
};
|
|
1259
|
-
return Ht(Object.entries(e.classGroups), r).forEach(([
|
|
1260
|
-
re(i, n,
|
|
1259
|
+
return Ht(Object.entries(e.classGroups), r).forEach(([o, i]) => {
|
|
1260
|
+
re(i, n, o, t);
|
|
1261
1261
|
}), n;
|
|
1262
1262
|
}, re = (e, t, r, n) => {
|
|
1263
|
-
e.forEach((
|
|
1264
|
-
if (typeof
|
|
1265
|
-
const
|
|
1266
|
-
|
|
1263
|
+
e.forEach((a) => {
|
|
1264
|
+
if (typeof a == "string") {
|
|
1265
|
+
const o = a === "" ? t : we(t, a);
|
|
1266
|
+
o.classGroupId = r;
|
|
1267
1267
|
return;
|
|
1268
1268
|
}
|
|
1269
|
-
if (typeof
|
|
1270
|
-
if (_t(
|
|
1271
|
-
re(
|
|
1269
|
+
if (typeof a == "function") {
|
|
1270
|
+
if (_t(a)) {
|
|
1271
|
+
re(a(n), t, r, n);
|
|
1272
1272
|
return;
|
|
1273
1273
|
}
|
|
1274
1274
|
t.validators.push({
|
|
1275
|
-
validator:
|
|
1275
|
+
validator: a,
|
|
1276
1276
|
classGroupId: r
|
|
1277
1277
|
});
|
|
1278
1278
|
return;
|
|
1279
1279
|
}
|
|
1280
|
-
Object.entries(
|
|
1281
|
-
re(i, we(t,
|
|
1280
|
+
Object.entries(a).forEach(([o, i]) => {
|
|
1281
|
+
re(i, we(t, o), r, n);
|
|
1282
1282
|
});
|
|
1283
1283
|
});
|
|
1284
1284
|
}, we = (e, t) => {
|
|
@@ -1290,9 +1290,9 @@ const ne = "-", It = (e) => {
|
|
|
1290
1290
|
}), r = r.nextPart.get(n);
|
|
1291
1291
|
}), r;
|
|
1292
1292
|
}, _t = (e) => e.isThemeGetter, Ht = (e, t) => t ? e.map(([r, n]) => {
|
|
1293
|
-
const
|
|
1294
|
-
return [r,
|
|
1295
|
-
}) : e,
|
|
1293
|
+
const a = n.map((o) => typeof o == "string" ? t + o : typeof o == "object" ? Object.fromEntries(Object.entries(o).map(([i, s]) => [t + i, s])) : o);
|
|
1294
|
+
return [r, a];
|
|
1295
|
+
}) : e, Bt = (e) => {
|
|
1296
1296
|
if (e < 1)
|
|
1297
1297
|
return {
|
|
1298
1298
|
get: () => {
|
|
@@ -1301,55 +1301,55 @@ const ne = "-", It = (e) => {
|
|
|
1301
1301
|
}
|
|
1302
1302
|
};
|
|
1303
1303
|
let t = 0, r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
|
|
1304
|
-
const
|
|
1305
|
-
r.set(
|
|
1304
|
+
const a = (o, i) => {
|
|
1305
|
+
r.set(o, i), t++, t > e && (t = 0, n = r, r = /* @__PURE__ */ new Map());
|
|
1306
1306
|
};
|
|
1307
1307
|
return {
|
|
1308
|
-
get(
|
|
1309
|
-
let i = r.get(
|
|
1308
|
+
get(o) {
|
|
1309
|
+
let i = r.get(o);
|
|
1310
1310
|
if (i !== void 0)
|
|
1311
1311
|
return i;
|
|
1312
|
-
if ((i = n.get(
|
|
1313
|
-
return o
|
|
1312
|
+
if ((i = n.get(o)) !== void 0)
|
|
1313
|
+
return a(o, i), i;
|
|
1314
1314
|
},
|
|
1315
|
-
set(
|
|
1316
|
-
r.has(
|
|
1315
|
+
set(o, i) {
|
|
1316
|
+
r.has(o) ? r.set(o, i) : a(o, i);
|
|
1317
1317
|
}
|
|
1318
1318
|
};
|
|
1319
|
-
}, We = "!",
|
|
1319
|
+
}, We = "!", Qt = (e) => {
|
|
1320
1320
|
const {
|
|
1321
1321
|
separator: t,
|
|
1322
1322
|
experimentalParseClassName: r
|
|
1323
|
-
} = e, n = t.length === 1,
|
|
1323
|
+
} = e, n = t.length === 1, a = t[0], o = t.length, i = (s) => {
|
|
1324
1324
|
const l = [];
|
|
1325
|
-
let d = 0,
|
|
1326
|
-
for (let
|
|
1327
|
-
let x = s[
|
|
1325
|
+
let d = 0, u = 0, p;
|
|
1326
|
+
for (let g = 0; g < s.length; g++) {
|
|
1327
|
+
let x = s[g];
|
|
1328
1328
|
if (d === 0) {
|
|
1329
|
-
if (x ===
|
|
1330
|
-
l.push(s.slice(
|
|
1329
|
+
if (x === a && (n || s.slice(g, g + o) === t)) {
|
|
1330
|
+
l.push(s.slice(u, g)), u = g + o;
|
|
1331
1331
|
continue;
|
|
1332
1332
|
}
|
|
1333
1333
|
if (x === "/") {
|
|
1334
|
-
|
|
1334
|
+
p = g;
|
|
1335
1335
|
continue;
|
|
1336
1336
|
}
|
|
1337
1337
|
}
|
|
1338
1338
|
x === "[" ? d++ : x === "]" && d--;
|
|
1339
1339
|
}
|
|
1340
|
-
const
|
|
1340
|
+
const v = l.length === 0 ? s : s.substring(u), k = v.startsWith(We), M = k ? v.substring(1) : v, y = p && p > u ? p - u : void 0;
|
|
1341
1341
|
return {
|
|
1342
1342
|
modifiers: l,
|
|
1343
|
-
hasImportantModifier:
|
|
1344
|
-
baseClassName:
|
|
1345
|
-
maybePostfixModifierPosition:
|
|
1343
|
+
hasImportantModifier: k,
|
|
1344
|
+
baseClassName: M,
|
|
1345
|
+
maybePostfixModifierPosition: y
|
|
1346
1346
|
};
|
|
1347
1347
|
};
|
|
1348
1348
|
return r ? (s) => r({
|
|
1349
1349
|
className: s,
|
|
1350
1350
|
parseClassName: i
|
|
1351
1351
|
}) : i;
|
|
1352
|
-
},
|
|
1352
|
+
}, Xt = (e) => {
|
|
1353
1353
|
if (e.length <= 1)
|
|
1354
1354
|
return e;
|
|
1355
1355
|
const t = [];
|
|
@@ -1358,43 +1358,43 @@ const ne = "-", It = (e) => {
|
|
|
1358
1358
|
n[0] === "[" ? (t.push(...r.sort(), n), r = []) : r.push(n);
|
|
1359
1359
|
}), t.push(...r.sort()), t;
|
|
1360
1360
|
}, Vt = (e) => ({
|
|
1361
|
-
cache:
|
|
1362
|
-
parseClassName:
|
|
1361
|
+
cache: Bt(e.cacheSize),
|
|
1362
|
+
parseClassName: Qt(e),
|
|
1363
1363
|
...It(e)
|
|
1364
1364
|
}), $t = /\s+/, Jt = (e, t) => {
|
|
1365
1365
|
const {
|
|
1366
1366
|
parseClassName: r,
|
|
1367
1367
|
getClassGroupId: n,
|
|
1368
|
-
getConflictingClassGroupIds:
|
|
1369
|
-
} = t,
|
|
1368
|
+
getConflictingClassGroupIds: a
|
|
1369
|
+
} = t, o = [], i = e.trim().split($t);
|
|
1370
1370
|
let s = "";
|
|
1371
1371
|
for (let l = i.length - 1; l >= 0; l -= 1) {
|
|
1372
1372
|
const d = i[l], {
|
|
1373
|
-
modifiers:
|
|
1374
|
-
hasImportantModifier:
|
|
1375
|
-
baseClassName:
|
|
1376
|
-
maybePostfixModifierPosition:
|
|
1373
|
+
modifiers: u,
|
|
1374
|
+
hasImportantModifier: p,
|
|
1375
|
+
baseClassName: v,
|
|
1376
|
+
maybePostfixModifierPosition: k
|
|
1377
1377
|
} = r(d);
|
|
1378
|
-
let
|
|
1379
|
-
if (!
|
|
1380
|
-
if (!
|
|
1378
|
+
let M = !!k, y = n(M ? v.substring(0, k) : v);
|
|
1379
|
+
if (!y) {
|
|
1380
|
+
if (!M) {
|
|
1381
1381
|
s = d + (s.length > 0 ? " " + s : s);
|
|
1382
1382
|
continue;
|
|
1383
1383
|
}
|
|
1384
|
-
if (
|
|
1384
|
+
if (y = n(v), !y) {
|
|
1385
1385
|
s = d + (s.length > 0 ? " " + s : s);
|
|
1386
1386
|
continue;
|
|
1387
1387
|
}
|
|
1388
|
-
|
|
1388
|
+
M = !1;
|
|
1389
1389
|
}
|
|
1390
|
-
const
|
|
1391
|
-
if (
|
|
1390
|
+
const g = Xt(u).join(":"), x = p ? g + We : g, m = x + y;
|
|
1391
|
+
if (o.includes(m))
|
|
1392
1392
|
continue;
|
|
1393
|
-
|
|
1394
|
-
const
|
|
1395
|
-
for (let
|
|
1396
|
-
const _ =
|
|
1397
|
-
|
|
1393
|
+
o.push(m);
|
|
1394
|
+
const w = a(y, M);
|
|
1395
|
+
for (let P = 0; P < w.length; ++P) {
|
|
1396
|
+
const _ = w[P];
|
|
1397
|
+
o.push(x + _);
|
|
1398
1398
|
}
|
|
1399
1399
|
s = d + (s.length > 0 ? " " + s : s);
|
|
1400
1400
|
}
|
|
@@ -1415,26 +1415,26 @@ const Te = (e) => {
|
|
|
1415
1415
|
return r;
|
|
1416
1416
|
};
|
|
1417
1417
|
function xe(e, ...t) {
|
|
1418
|
-
let r, n,
|
|
1418
|
+
let r, n, a, o = i;
|
|
1419
1419
|
function i(l) {
|
|
1420
|
-
const d = t.reduce((
|
|
1421
|
-
return r = Vt(d), n = r.cache.get,
|
|
1420
|
+
const d = t.reduce((u, p) => p(u), e());
|
|
1421
|
+
return r = Vt(d), n = r.cache.get, a = r.cache.set, o = s, s(l);
|
|
1422
1422
|
}
|
|
1423
1423
|
function s(l) {
|
|
1424
1424
|
const d = n(l);
|
|
1425
1425
|
if (d)
|
|
1426
1426
|
return d;
|
|
1427
|
-
const
|
|
1428
|
-
return
|
|
1427
|
+
const u = Jt(l, r);
|
|
1428
|
+
return a(l, u), u;
|
|
1429
1429
|
}
|
|
1430
1430
|
return function() {
|
|
1431
|
-
return
|
|
1431
|
+
return o(Ut.apply(null, arguments));
|
|
1432
1432
|
};
|
|
1433
1433
|
}
|
|
1434
|
-
const
|
|
1434
|
+
const h = (e) => {
|
|
1435
1435
|
const t = (r) => r[e] || [];
|
|
1436
1436
|
return t.isThemeGetter = !0, t;
|
|
1437
|
-
}, De = /^\[(?:([a-z-]+):)?(.+)\]$/i, Kt = /^\d+\/\d+$/, Zt = /* @__PURE__ */ new Set(["px", "full", "screen"]), er = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, tr = /\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$/, rr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, nr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,
|
|
1437
|
+
}, De = /^\[(?:([a-z-]+):)?(.+)\]$/i, Kt = /^\d+\/\d+$/, Zt = /* @__PURE__ */ new Set(["px", "full", "screen"]), er = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, tr = /\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$/, rr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, nr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ar = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, C = (e) => N(e) || Zt.has(e) || Kt.test(e), T = (e) => A(e, "length", fr), N = (e) => !!e && !Number.isNaN(Number(e)), ee = (e) => A(e, "number", N), q = (e) => !!e && Number.isInteger(Number(e)), or = (e) => e.endsWith("%") && N(e.slice(0, -1)), c = (e) => De.test(e), D = (e) => er.test(e), sr = /* @__PURE__ */ new Set(["length", "size", "percentage"]), ir = (e) => A(e, sr, Ye), cr = (e) => A(e, "position", Ye), lr = /* @__PURE__ */ new Set(["image", "url"]), dr = (e) => A(e, lr, hr), ur = (e) => A(e, "", mr), I = () => !0, A = (e, t, r) => {
|
|
1438
1438
|
const n = De.exec(e);
|
|
1439
1439
|
return n ? n[1] ? typeof t == "string" ? n[1] === t : t.has(n[1]) : r(n[2]) : !1;
|
|
1440
1440
|
}, fr = (e) => (
|
|
@@ -1442,37 +1442,37 @@ const g = (e) => {
|
|
|
1442
1442
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
1443
1443
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
1444
1444
|
tr.test(e) && !rr.test(e)
|
|
1445
|
-
), Ye = () => !1, mr = (e) => nr.test(e), hr = (e) =>
|
|
1446
|
-
const e =
|
|
1445
|
+
), Ye = () => !1, mr = (e) => nr.test(e), hr = (e) => ar.test(e), ve = () => {
|
|
1446
|
+
const e = h("colors"), t = h("spacing"), r = h("blur"), n = h("brightness"), a = h("borderColor"), o = h("borderRadius"), i = h("borderSpacing"), s = h("borderWidth"), l = h("contrast"), d = h("grayscale"), u = h("hueRotate"), p = h("invert"), v = h("gap"), k = h("gradientColorStops"), M = h("gradientColorStopPositions"), y = h("inset"), g = h("margin"), x = h("opacity"), m = h("padding"), w = h("saturate"), P = h("scale"), _ = h("sepia"), ae = h("skew"), oe = h("space"), se = h("translate"), V = () => ["auto", "contain", "none"], $ = () => ["auto", "hidden", "clip", "visible", "scroll"], J = () => ["auto", c, t], b = () => [c, t], ie = () => ["", C, T], H = () => ["auto", N, c], ce = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], B = () => ["solid", "dashed", "dotted", "double", "none"], le = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], U = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], F = () => ["", "0", c], de = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], O = () => [N, c];
|
|
1447
1447
|
return {
|
|
1448
1448
|
cacheSize: 500,
|
|
1449
1449
|
separator: ":",
|
|
1450
1450
|
theme: {
|
|
1451
1451
|
colors: [I],
|
|
1452
|
-
spacing: [
|
|
1453
|
-
blur: ["none", "",
|
|
1454
|
-
brightness:
|
|
1452
|
+
spacing: [C, T],
|
|
1453
|
+
blur: ["none", "", D, c],
|
|
1454
|
+
brightness: O(),
|
|
1455
1455
|
borderColor: [e],
|
|
1456
|
-
borderRadius: ["none", "", "full",
|
|
1457
|
-
borderSpacing:
|
|
1456
|
+
borderRadius: ["none", "", "full", D, c],
|
|
1457
|
+
borderSpacing: b(),
|
|
1458
1458
|
borderWidth: ie(),
|
|
1459
|
-
contrast:
|
|
1460
|
-
grayscale:
|
|
1461
|
-
hueRotate:
|
|
1462
|
-
invert:
|
|
1463
|
-
gap:
|
|
1459
|
+
contrast: O(),
|
|
1460
|
+
grayscale: F(),
|
|
1461
|
+
hueRotate: O(),
|
|
1462
|
+
invert: F(),
|
|
1463
|
+
gap: b(),
|
|
1464
1464
|
gradientColorStops: [e],
|
|
1465
|
-
gradientColorStopPositions: [
|
|
1465
|
+
gradientColorStopPositions: [or, T],
|
|
1466
1466
|
inset: J(),
|
|
1467
1467
|
margin: J(),
|
|
1468
|
-
opacity:
|
|
1469
|
-
padding:
|
|
1470
|
-
saturate:
|
|
1471
|
-
scale:
|
|
1472
|
-
sepia:
|
|
1473
|
-
skew:
|
|
1474
|
-
space:
|
|
1475
|
-
translate:
|
|
1468
|
+
opacity: O(),
|
|
1469
|
+
padding: b(),
|
|
1470
|
+
saturate: O(),
|
|
1471
|
+
scale: O(),
|
|
1472
|
+
sepia: F(),
|
|
1473
|
+
skew: O(),
|
|
1474
|
+
space: b(),
|
|
1475
|
+
translate: b()
|
|
1476
1476
|
},
|
|
1477
1477
|
classGroups: {
|
|
1478
1478
|
// Layout
|
|
@@ -1493,7 +1493,7 @@ const g = (e) => {
|
|
|
1493
1493
|
* @see https://tailwindcss.com/docs/columns
|
|
1494
1494
|
*/
|
|
1495
1495
|
columns: [{
|
|
1496
|
-
columns: [
|
|
1496
|
+
columns: [D]
|
|
1497
1497
|
}],
|
|
1498
1498
|
/**
|
|
1499
1499
|
* Break After
|
|
@@ -1620,63 +1620,63 @@ const g = (e) => {
|
|
|
1620
1620
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1621
1621
|
*/
|
|
1622
1622
|
inset: [{
|
|
1623
|
-
inset: [
|
|
1623
|
+
inset: [y]
|
|
1624
1624
|
}],
|
|
1625
1625
|
/**
|
|
1626
1626
|
* Right / Left
|
|
1627
1627
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1628
1628
|
*/
|
|
1629
1629
|
"inset-x": [{
|
|
1630
|
-
"inset-x": [
|
|
1630
|
+
"inset-x": [y]
|
|
1631
1631
|
}],
|
|
1632
1632
|
/**
|
|
1633
1633
|
* Top / Bottom
|
|
1634
1634
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1635
1635
|
*/
|
|
1636
1636
|
"inset-y": [{
|
|
1637
|
-
"inset-y": [
|
|
1637
|
+
"inset-y": [y]
|
|
1638
1638
|
}],
|
|
1639
1639
|
/**
|
|
1640
1640
|
* Start
|
|
1641
1641
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1642
1642
|
*/
|
|
1643
1643
|
start: [{
|
|
1644
|
-
start: [
|
|
1644
|
+
start: [y]
|
|
1645
1645
|
}],
|
|
1646
1646
|
/**
|
|
1647
1647
|
* End
|
|
1648
1648
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1649
1649
|
*/
|
|
1650
1650
|
end: [{
|
|
1651
|
-
end: [
|
|
1651
|
+
end: [y]
|
|
1652
1652
|
}],
|
|
1653
1653
|
/**
|
|
1654
1654
|
* Top
|
|
1655
1655
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1656
1656
|
*/
|
|
1657
1657
|
top: [{
|
|
1658
|
-
top: [
|
|
1658
|
+
top: [y]
|
|
1659
1659
|
}],
|
|
1660
1660
|
/**
|
|
1661
1661
|
* Right
|
|
1662
1662
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1663
1663
|
*/
|
|
1664
1664
|
right: [{
|
|
1665
|
-
right: [
|
|
1665
|
+
right: [y]
|
|
1666
1666
|
}],
|
|
1667
1667
|
/**
|
|
1668
1668
|
* Bottom
|
|
1669
1669
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1670
1670
|
*/
|
|
1671
1671
|
bottom: [{
|
|
1672
|
-
bottom: [
|
|
1672
|
+
bottom: [y]
|
|
1673
1673
|
}],
|
|
1674
1674
|
/**
|
|
1675
1675
|
* Left
|
|
1676
1676
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1677
1677
|
*/
|
|
1678
1678
|
left: [{
|
|
1679
|
-
left: [
|
|
1679
|
+
left: [y]
|
|
1680
1680
|
}],
|
|
1681
1681
|
/**
|
|
1682
1682
|
* Visibility
|
|
@@ -1724,14 +1724,14 @@ const g = (e) => {
|
|
|
1724
1724
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
1725
1725
|
*/
|
|
1726
1726
|
grow: [{
|
|
1727
|
-
grow:
|
|
1727
|
+
grow: F()
|
|
1728
1728
|
}],
|
|
1729
1729
|
/**
|
|
1730
1730
|
* Flex Shrink
|
|
1731
1731
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1732
1732
|
*/
|
|
1733
1733
|
shrink: [{
|
|
1734
|
-
shrink:
|
|
1734
|
+
shrink: F()
|
|
1735
1735
|
}],
|
|
1736
1736
|
/**
|
|
1737
1737
|
* Order
|
|
@@ -1826,21 +1826,21 @@ const g = (e) => {
|
|
|
1826
1826
|
* @see https://tailwindcss.com/docs/gap
|
|
1827
1827
|
*/
|
|
1828
1828
|
gap: [{
|
|
1829
|
-
gap: [
|
|
1829
|
+
gap: [v]
|
|
1830
1830
|
}],
|
|
1831
1831
|
/**
|
|
1832
1832
|
* Gap X
|
|
1833
1833
|
* @see https://tailwindcss.com/docs/gap
|
|
1834
1834
|
*/
|
|
1835
1835
|
"gap-x": [{
|
|
1836
|
-
"gap-x": [
|
|
1836
|
+
"gap-x": [v]
|
|
1837
1837
|
}],
|
|
1838
1838
|
/**
|
|
1839
1839
|
* Gap Y
|
|
1840
1840
|
* @see https://tailwindcss.com/docs/gap
|
|
1841
1841
|
*/
|
|
1842
1842
|
"gap-y": [{
|
|
1843
|
-
"gap-y": [
|
|
1843
|
+
"gap-y": [v]
|
|
1844
1844
|
}],
|
|
1845
1845
|
/**
|
|
1846
1846
|
* Justify Content
|
|
@@ -1911,133 +1911,133 @@ const g = (e) => {
|
|
|
1911
1911
|
* @see https://tailwindcss.com/docs/padding
|
|
1912
1912
|
*/
|
|
1913
1913
|
p: [{
|
|
1914
|
-
p: [
|
|
1914
|
+
p: [m]
|
|
1915
1915
|
}],
|
|
1916
1916
|
/**
|
|
1917
1917
|
* Padding X
|
|
1918
1918
|
* @see https://tailwindcss.com/docs/padding
|
|
1919
1919
|
*/
|
|
1920
1920
|
px: [{
|
|
1921
|
-
px: [
|
|
1921
|
+
px: [m]
|
|
1922
1922
|
}],
|
|
1923
1923
|
/**
|
|
1924
1924
|
* Padding Y
|
|
1925
1925
|
* @see https://tailwindcss.com/docs/padding
|
|
1926
1926
|
*/
|
|
1927
1927
|
py: [{
|
|
1928
|
-
py: [
|
|
1928
|
+
py: [m]
|
|
1929
1929
|
}],
|
|
1930
1930
|
/**
|
|
1931
1931
|
* Padding Start
|
|
1932
1932
|
* @see https://tailwindcss.com/docs/padding
|
|
1933
1933
|
*/
|
|
1934
1934
|
ps: [{
|
|
1935
|
-
ps: [
|
|
1935
|
+
ps: [m]
|
|
1936
1936
|
}],
|
|
1937
1937
|
/**
|
|
1938
1938
|
* Padding End
|
|
1939
1939
|
* @see https://tailwindcss.com/docs/padding
|
|
1940
1940
|
*/
|
|
1941
1941
|
pe: [{
|
|
1942
|
-
pe: [
|
|
1942
|
+
pe: [m]
|
|
1943
1943
|
}],
|
|
1944
1944
|
/**
|
|
1945
1945
|
* Padding Top
|
|
1946
1946
|
* @see https://tailwindcss.com/docs/padding
|
|
1947
1947
|
*/
|
|
1948
1948
|
pt: [{
|
|
1949
|
-
pt: [
|
|
1949
|
+
pt: [m]
|
|
1950
1950
|
}],
|
|
1951
1951
|
/**
|
|
1952
1952
|
* Padding Right
|
|
1953
1953
|
* @see https://tailwindcss.com/docs/padding
|
|
1954
1954
|
*/
|
|
1955
1955
|
pr: [{
|
|
1956
|
-
pr: [
|
|
1956
|
+
pr: [m]
|
|
1957
1957
|
}],
|
|
1958
1958
|
/**
|
|
1959
1959
|
* Padding Bottom
|
|
1960
1960
|
* @see https://tailwindcss.com/docs/padding
|
|
1961
1961
|
*/
|
|
1962
1962
|
pb: [{
|
|
1963
|
-
pb: [
|
|
1963
|
+
pb: [m]
|
|
1964
1964
|
}],
|
|
1965
1965
|
/**
|
|
1966
1966
|
* Padding Left
|
|
1967
1967
|
* @see https://tailwindcss.com/docs/padding
|
|
1968
1968
|
*/
|
|
1969
1969
|
pl: [{
|
|
1970
|
-
pl: [
|
|
1970
|
+
pl: [m]
|
|
1971
1971
|
}],
|
|
1972
1972
|
/**
|
|
1973
1973
|
* Margin
|
|
1974
1974
|
* @see https://tailwindcss.com/docs/margin
|
|
1975
1975
|
*/
|
|
1976
1976
|
m: [{
|
|
1977
|
-
m: [
|
|
1977
|
+
m: [g]
|
|
1978
1978
|
}],
|
|
1979
1979
|
/**
|
|
1980
1980
|
* Margin X
|
|
1981
1981
|
* @see https://tailwindcss.com/docs/margin
|
|
1982
1982
|
*/
|
|
1983
1983
|
mx: [{
|
|
1984
|
-
mx: [
|
|
1984
|
+
mx: [g]
|
|
1985
1985
|
}],
|
|
1986
1986
|
/**
|
|
1987
1987
|
* Margin Y
|
|
1988
1988
|
* @see https://tailwindcss.com/docs/margin
|
|
1989
1989
|
*/
|
|
1990
1990
|
my: [{
|
|
1991
|
-
my: [
|
|
1991
|
+
my: [g]
|
|
1992
1992
|
}],
|
|
1993
1993
|
/**
|
|
1994
1994
|
* Margin Start
|
|
1995
1995
|
* @see https://tailwindcss.com/docs/margin
|
|
1996
1996
|
*/
|
|
1997
1997
|
ms: [{
|
|
1998
|
-
ms: [
|
|
1998
|
+
ms: [g]
|
|
1999
1999
|
}],
|
|
2000
2000
|
/**
|
|
2001
2001
|
* Margin End
|
|
2002
2002
|
* @see https://tailwindcss.com/docs/margin
|
|
2003
2003
|
*/
|
|
2004
2004
|
me: [{
|
|
2005
|
-
me: [
|
|
2005
|
+
me: [g]
|
|
2006
2006
|
}],
|
|
2007
2007
|
/**
|
|
2008
2008
|
* Margin Top
|
|
2009
2009
|
* @see https://tailwindcss.com/docs/margin
|
|
2010
2010
|
*/
|
|
2011
2011
|
mt: [{
|
|
2012
|
-
mt: [
|
|
2012
|
+
mt: [g]
|
|
2013
2013
|
}],
|
|
2014
2014
|
/**
|
|
2015
2015
|
* Margin Right
|
|
2016
2016
|
* @see https://tailwindcss.com/docs/margin
|
|
2017
2017
|
*/
|
|
2018
2018
|
mr: [{
|
|
2019
|
-
mr: [
|
|
2019
|
+
mr: [g]
|
|
2020
2020
|
}],
|
|
2021
2021
|
/**
|
|
2022
2022
|
* Margin Bottom
|
|
2023
2023
|
* @see https://tailwindcss.com/docs/margin
|
|
2024
2024
|
*/
|
|
2025
2025
|
mb: [{
|
|
2026
|
-
mb: [
|
|
2026
|
+
mb: [g]
|
|
2027
2027
|
}],
|
|
2028
2028
|
/**
|
|
2029
2029
|
* Margin Left
|
|
2030
2030
|
* @see https://tailwindcss.com/docs/margin
|
|
2031
2031
|
*/
|
|
2032
2032
|
ml: [{
|
|
2033
|
-
ml: [
|
|
2033
|
+
ml: [g]
|
|
2034
2034
|
}],
|
|
2035
2035
|
/**
|
|
2036
2036
|
* Space Between X
|
|
2037
2037
|
* @see https://tailwindcss.com/docs/space
|
|
2038
2038
|
*/
|
|
2039
2039
|
"space-x": [{
|
|
2040
|
-
"space-x": [
|
|
2040
|
+
"space-x": [oe]
|
|
2041
2041
|
}],
|
|
2042
2042
|
/**
|
|
2043
2043
|
* Space Between X Reverse
|
|
@@ -2049,7 +2049,7 @@ const g = (e) => {
|
|
|
2049
2049
|
* @see https://tailwindcss.com/docs/space
|
|
2050
2050
|
*/
|
|
2051
2051
|
"space-y": [{
|
|
2052
|
-
"space-y": [
|
|
2052
|
+
"space-y": [oe]
|
|
2053
2053
|
}],
|
|
2054
2054
|
/**
|
|
2055
2055
|
* Space Between Y Reverse
|
|
@@ -2077,8 +2077,8 @@ const g = (e) => {
|
|
|
2077
2077
|
*/
|
|
2078
2078
|
"max-w": [{
|
|
2079
2079
|
"max-w": [c, t, "none", "full", "min", "max", "fit", "prose", {
|
|
2080
|
-
screen: [
|
|
2081
|
-
},
|
|
2080
|
+
screen: [D]
|
|
2081
|
+
}, D]
|
|
2082
2082
|
}],
|
|
2083
2083
|
/**
|
|
2084
2084
|
* Height
|
|
@@ -2114,7 +2114,7 @@ const g = (e) => {
|
|
|
2114
2114
|
* @see https://tailwindcss.com/docs/font-size
|
|
2115
2115
|
*/
|
|
2116
2116
|
"font-size": [{
|
|
2117
|
-
text: ["base",
|
|
2117
|
+
text: ["base", D, T]
|
|
2118
2118
|
}],
|
|
2119
2119
|
/**
|
|
2120
2120
|
* Font Smoothing
|
|
@@ -2189,7 +2189,7 @@ const g = (e) => {
|
|
|
2189
2189
|
* @see https://tailwindcss.com/docs/line-height
|
|
2190
2190
|
*/
|
|
2191
2191
|
leading: [{
|
|
2192
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose",
|
|
2192
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", C, c]
|
|
2193
2193
|
}],
|
|
2194
2194
|
/**
|
|
2195
2195
|
* List Style Image
|
|
@@ -2258,21 +2258,21 @@ const g = (e) => {
|
|
|
2258
2258
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
2259
2259
|
*/
|
|
2260
2260
|
"text-decoration-style": [{
|
|
2261
|
-
decoration: [...
|
|
2261
|
+
decoration: [...B(), "wavy"]
|
|
2262
2262
|
}],
|
|
2263
2263
|
/**
|
|
2264
2264
|
* Text Decoration Thickness
|
|
2265
2265
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
2266
2266
|
*/
|
|
2267
2267
|
"text-decoration-thickness": [{
|
|
2268
|
-
decoration: ["auto", "from-font",
|
|
2268
|
+
decoration: ["auto", "from-font", C, T]
|
|
2269
2269
|
}],
|
|
2270
2270
|
/**
|
|
2271
2271
|
* Text Underline Offset
|
|
2272
2272
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
2273
2273
|
*/
|
|
2274
2274
|
"underline-offset": [{
|
|
2275
|
-
"underline-offset": ["auto",
|
|
2275
|
+
"underline-offset": ["auto", C, c]
|
|
2276
2276
|
}],
|
|
2277
2277
|
/**
|
|
2278
2278
|
* Text Decoration Color
|
|
@@ -2303,7 +2303,7 @@ const g = (e) => {
|
|
|
2303
2303
|
* @see https://tailwindcss.com/docs/text-indent
|
|
2304
2304
|
*/
|
|
2305
2305
|
indent: [{
|
|
2306
|
-
indent:
|
|
2306
|
+
indent: b()
|
|
2307
2307
|
}],
|
|
2308
2308
|
/**
|
|
2309
2309
|
* Vertical Alignment
|
|
@@ -2414,42 +2414,42 @@ const g = (e) => {
|
|
|
2414
2414
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2415
2415
|
*/
|
|
2416
2416
|
"gradient-from-pos": [{
|
|
2417
|
-
from: [
|
|
2417
|
+
from: [M]
|
|
2418
2418
|
}],
|
|
2419
2419
|
/**
|
|
2420
2420
|
* Gradient Color Stops Via Position
|
|
2421
2421
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2422
2422
|
*/
|
|
2423
2423
|
"gradient-via-pos": [{
|
|
2424
|
-
via: [
|
|
2424
|
+
via: [M]
|
|
2425
2425
|
}],
|
|
2426
2426
|
/**
|
|
2427
2427
|
* Gradient Color Stops To Position
|
|
2428
2428
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2429
2429
|
*/
|
|
2430
2430
|
"gradient-to-pos": [{
|
|
2431
|
-
to: [
|
|
2431
|
+
to: [M]
|
|
2432
2432
|
}],
|
|
2433
2433
|
/**
|
|
2434
2434
|
* Gradient Color Stops From
|
|
2435
2435
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2436
2436
|
*/
|
|
2437
2437
|
"gradient-from": [{
|
|
2438
|
-
from: [
|
|
2438
|
+
from: [k]
|
|
2439
2439
|
}],
|
|
2440
2440
|
/**
|
|
2441
2441
|
* Gradient Color Stops Via
|
|
2442
2442
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2443
2443
|
*/
|
|
2444
2444
|
"gradient-via": [{
|
|
2445
|
-
via: [
|
|
2445
|
+
via: [k]
|
|
2446
2446
|
}],
|
|
2447
2447
|
/**
|
|
2448
2448
|
* Gradient Color Stops To
|
|
2449
2449
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2450
2450
|
*/
|
|
2451
2451
|
"gradient-to": [{
|
|
2452
|
-
to: [
|
|
2452
|
+
to: [k]
|
|
2453
2453
|
}],
|
|
2454
2454
|
// Borders
|
|
2455
2455
|
/**
|
|
@@ -2457,105 +2457,105 @@ const g = (e) => {
|
|
|
2457
2457
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2458
2458
|
*/
|
|
2459
2459
|
rounded: [{
|
|
2460
|
-
rounded: [
|
|
2460
|
+
rounded: [o]
|
|
2461
2461
|
}],
|
|
2462
2462
|
/**
|
|
2463
2463
|
* Border Radius Start
|
|
2464
2464
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2465
2465
|
*/
|
|
2466
2466
|
"rounded-s": [{
|
|
2467
|
-
"rounded-s": [
|
|
2467
|
+
"rounded-s": [o]
|
|
2468
2468
|
}],
|
|
2469
2469
|
/**
|
|
2470
2470
|
* Border Radius End
|
|
2471
2471
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2472
2472
|
*/
|
|
2473
2473
|
"rounded-e": [{
|
|
2474
|
-
"rounded-e": [
|
|
2474
|
+
"rounded-e": [o]
|
|
2475
2475
|
}],
|
|
2476
2476
|
/**
|
|
2477
2477
|
* Border Radius Top
|
|
2478
2478
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2479
2479
|
*/
|
|
2480
2480
|
"rounded-t": [{
|
|
2481
|
-
"rounded-t": [
|
|
2481
|
+
"rounded-t": [o]
|
|
2482
2482
|
}],
|
|
2483
2483
|
/**
|
|
2484
2484
|
* Border Radius Right
|
|
2485
2485
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2486
2486
|
*/
|
|
2487
2487
|
"rounded-r": [{
|
|
2488
|
-
"rounded-r": [
|
|
2488
|
+
"rounded-r": [o]
|
|
2489
2489
|
}],
|
|
2490
2490
|
/**
|
|
2491
2491
|
* Border Radius Bottom
|
|
2492
2492
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2493
2493
|
*/
|
|
2494
2494
|
"rounded-b": [{
|
|
2495
|
-
"rounded-b": [
|
|
2495
|
+
"rounded-b": [o]
|
|
2496
2496
|
}],
|
|
2497
2497
|
/**
|
|
2498
2498
|
* Border Radius Left
|
|
2499
2499
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2500
2500
|
*/
|
|
2501
2501
|
"rounded-l": [{
|
|
2502
|
-
"rounded-l": [
|
|
2502
|
+
"rounded-l": [o]
|
|
2503
2503
|
}],
|
|
2504
2504
|
/**
|
|
2505
2505
|
* Border Radius Start Start
|
|
2506
2506
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2507
2507
|
*/
|
|
2508
2508
|
"rounded-ss": [{
|
|
2509
|
-
"rounded-ss": [
|
|
2509
|
+
"rounded-ss": [o]
|
|
2510
2510
|
}],
|
|
2511
2511
|
/**
|
|
2512
2512
|
* Border Radius Start End
|
|
2513
2513
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2514
2514
|
*/
|
|
2515
2515
|
"rounded-se": [{
|
|
2516
|
-
"rounded-se": [
|
|
2516
|
+
"rounded-se": [o]
|
|
2517
2517
|
}],
|
|
2518
2518
|
/**
|
|
2519
2519
|
* Border Radius End End
|
|
2520
2520
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2521
2521
|
*/
|
|
2522
2522
|
"rounded-ee": [{
|
|
2523
|
-
"rounded-ee": [
|
|
2523
|
+
"rounded-ee": [o]
|
|
2524
2524
|
}],
|
|
2525
2525
|
/**
|
|
2526
2526
|
* Border Radius End Start
|
|
2527
2527
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2528
2528
|
*/
|
|
2529
2529
|
"rounded-es": [{
|
|
2530
|
-
"rounded-es": [
|
|
2530
|
+
"rounded-es": [o]
|
|
2531
2531
|
}],
|
|
2532
2532
|
/**
|
|
2533
2533
|
* Border Radius Top Left
|
|
2534
2534
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2535
2535
|
*/
|
|
2536
2536
|
"rounded-tl": [{
|
|
2537
|
-
"rounded-tl": [
|
|
2537
|
+
"rounded-tl": [o]
|
|
2538
2538
|
}],
|
|
2539
2539
|
/**
|
|
2540
2540
|
* Border Radius Top Right
|
|
2541
2541
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2542
2542
|
*/
|
|
2543
2543
|
"rounded-tr": [{
|
|
2544
|
-
"rounded-tr": [
|
|
2544
|
+
"rounded-tr": [o]
|
|
2545
2545
|
}],
|
|
2546
2546
|
/**
|
|
2547
2547
|
* Border Radius Bottom Right
|
|
2548
2548
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2549
2549
|
*/
|
|
2550
2550
|
"rounded-br": [{
|
|
2551
|
-
"rounded-br": [
|
|
2551
|
+
"rounded-br": [o]
|
|
2552
2552
|
}],
|
|
2553
2553
|
/**
|
|
2554
2554
|
* Border Radius Bottom Left
|
|
2555
2555
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2556
2556
|
*/
|
|
2557
2557
|
"rounded-bl": [{
|
|
2558
|
-
"rounded-bl": [
|
|
2558
|
+
"rounded-bl": [o]
|
|
2559
2559
|
}],
|
|
2560
2560
|
/**
|
|
2561
2561
|
* Border Width
|
|
@@ -2632,7 +2632,7 @@ const g = (e) => {
|
|
|
2632
2632
|
* @see https://tailwindcss.com/docs/border-style
|
|
2633
2633
|
*/
|
|
2634
2634
|
"border-style": [{
|
|
2635
|
-
border: [...
|
|
2635
|
+
border: [...B(), "hidden"]
|
|
2636
2636
|
}],
|
|
2637
2637
|
/**
|
|
2638
2638
|
* Divide Width X
|
|
@@ -2670,98 +2670,98 @@ const g = (e) => {
|
|
|
2670
2670
|
* @see https://tailwindcss.com/docs/divide-style
|
|
2671
2671
|
*/
|
|
2672
2672
|
"divide-style": [{
|
|
2673
|
-
divide:
|
|
2673
|
+
divide: B()
|
|
2674
2674
|
}],
|
|
2675
2675
|
/**
|
|
2676
2676
|
* Border Color
|
|
2677
2677
|
* @see https://tailwindcss.com/docs/border-color
|
|
2678
2678
|
*/
|
|
2679
2679
|
"border-color": [{
|
|
2680
|
-
border: [
|
|
2680
|
+
border: [a]
|
|
2681
2681
|
}],
|
|
2682
2682
|
/**
|
|
2683
2683
|
* Border Color X
|
|
2684
2684
|
* @see https://tailwindcss.com/docs/border-color
|
|
2685
2685
|
*/
|
|
2686
2686
|
"border-color-x": [{
|
|
2687
|
-
"border-x": [
|
|
2687
|
+
"border-x": [a]
|
|
2688
2688
|
}],
|
|
2689
2689
|
/**
|
|
2690
2690
|
* Border Color Y
|
|
2691
2691
|
* @see https://tailwindcss.com/docs/border-color
|
|
2692
2692
|
*/
|
|
2693
2693
|
"border-color-y": [{
|
|
2694
|
-
"border-y": [
|
|
2694
|
+
"border-y": [a]
|
|
2695
2695
|
}],
|
|
2696
2696
|
/**
|
|
2697
2697
|
* Border Color S
|
|
2698
2698
|
* @see https://tailwindcss.com/docs/border-color
|
|
2699
2699
|
*/
|
|
2700
2700
|
"border-color-s": [{
|
|
2701
|
-
"border-s": [
|
|
2701
|
+
"border-s": [a]
|
|
2702
2702
|
}],
|
|
2703
2703
|
/**
|
|
2704
2704
|
* Border Color E
|
|
2705
2705
|
* @see https://tailwindcss.com/docs/border-color
|
|
2706
2706
|
*/
|
|
2707
2707
|
"border-color-e": [{
|
|
2708
|
-
"border-e": [
|
|
2708
|
+
"border-e": [a]
|
|
2709
2709
|
}],
|
|
2710
2710
|
/**
|
|
2711
2711
|
* Border Color Top
|
|
2712
2712
|
* @see https://tailwindcss.com/docs/border-color
|
|
2713
2713
|
*/
|
|
2714
2714
|
"border-color-t": [{
|
|
2715
|
-
"border-t": [
|
|
2715
|
+
"border-t": [a]
|
|
2716
2716
|
}],
|
|
2717
2717
|
/**
|
|
2718
2718
|
* Border Color Right
|
|
2719
2719
|
* @see https://tailwindcss.com/docs/border-color
|
|
2720
2720
|
*/
|
|
2721
2721
|
"border-color-r": [{
|
|
2722
|
-
"border-r": [
|
|
2722
|
+
"border-r": [a]
|
|
2723
2723
|
}],
|
|
2724
2724
|
/**
|
|
2725
2725
|
* Border Color Bottom
|
|
2726
2726
|
* @see https://tailwindcss.com/docs/border-color
|
|
2727
2727
|
*/
|
|
2728
2728
|
"border-color-b": [{
|
|
2729
|
-
"border-b": [
|
|
2729
|
+
"border-b": [a]
|
|
2730
2730
|
}],
|
|
2731
2731
|
/**
|
|
2732
2732
|
* Border Color Left
|
|
2733
2733
|
* @see https://tailwindcss.com/docs/border-color
|
|
2734
2734
|
*/
|
|
2735
2735
|
"border-color-l": [{
|
|
2736
|
-
"border-l": [
|
|
2736
|
+
"border-l": [a]
|
|
2737
2737
|
}],
|
|
2738
2738
|
/**
|
|
2739
2739
|
* Divide Color
|
|
2740
2740
|
* @see https://tailwindcss.com/docs/divide-color
|
|
2741
2741
|
*/
|
|
2742
2742
|
"divide-color": [{
|
|
2743
|
-
divide: [
|
|
2743
|
+
divide: [a]
|
|
2744
2744
|
}],
|
|
2745
2745
|
/**
|
|
2746
2746
|
* Outline Style
|
|
2747
2747
|
* @see https://tailwindcss.com/docs/outline-style
|
|
2748
2748
|
*/
|
|
2749
2749
|
"outline-style": [{
|
|
2750
|
-
outline: ["", ...
|
|
2750
|
+
outline: ["", ...B()]
|
|
2751
2751
|
}],
|
|
2752
2752
|
/**
|
|
2753
2753
|
* Outline Offset
|
|
2754
2754
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2755
2755
|
*/
|
|
2756
2756
|
"outline-offset": [{
|
|
2757
|
-
"outline-offset": [
|
|
2757
|
+
"outline-offset": [C, c]
|
|
2758
2758
|
}],
|
|
2759
2759
|
/**
|
|
2760
2760
|
* Outline Width
|
|
2761
2761
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2762
2762
|
*/
|
|
2763
2763
|
"outline-w": [{
|
|
2764
|
-
outline: [
|
|
2764
|
+
outline: [C, T]
|
|
2765
2765
|
}],
|
|
2766
2766
|
/**
|
|
2767
2767
|
* Outline Color
|
|
@@ -2801,7 +2801,7 @@ const g = (e) => {
|
|
|
2801
2801
|
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
2802
2802
|
*/
|
|
2803
2803
|
"ring-offset-w": [{
|
|
2804
|
-
"ring-offset": [
|
|
2804
|
+
"ring-offset": [C, T]
|
|
2805
2805
|
}],
|
|
2806
2806
|
/**
|
|
2807
2807
|
* Ring Offset Color
|
|
@@ -2816,7 +2816,7 @@ const g = (e) => {
|
|
|
2816
2816
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
2817
2817
|
*/
|
|
2818
2818
|
shadow: [{
|
|
2819
|
-
shadow: ["", "inner", "none",
|
|
2819
|
+
shadow: ["", "inner", "none", D, ur]
|
|
2820
2820
|
}],
|
|
2821
2821
|
/**
|
|
2822
2822
|
* Box Shadow Color
|
|
@@ -2881,7 +2881,7 @@ const g = (e) => {
|
|
|
2881
2881
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
2882
2882
|
*/
|
|
2883
2883
|
"drop-shadow": [{
|
|
2884
|
-
"drop-shadow": ["", "none",
|
|
2884
|
+
"drop-shadow": ["", "none", D, c]
|
|
2885
2885
|
}],
|
|
2886
2886
|
/**
|
|
2887
2887
|
* Grayscale
|
|
@@ -2895,21 +2895,21 @@ const g = (e) => {
|
|
|
2895
2895
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2896
2896
|
*/
|
|
2897
2897
|
"hue-rotate": [{
|
|
2898
|
-
"hue-rotate": [
|
|
2898
|
+
"hue-rotate": [u]
|
|
2899
2899
|
}],
|
|
2900
2900
|
/**
|
|
2901
2901
|
* Invert
|
|
2902
2902
|
* @see https://tailwindcss.com/docs/invert
|
|
2903
2903
|
*/
|
|
2904
2904
|
invert: [{
|
|
2905
|
-
invert: [
|
|
2905
|
+
invert: [p]
|
|
2906
2906
|
}],
|
|
2907
2907
|
/**
|
|
2908
2908
|
* Saturate
|
|
2909
2909
|
* @see https://tailwindcss.com/docs/saturate
|
|
2910
2910
|
*/
|
|
2911
2911
|
saturate: [{
|
|
2912
|
-
saturate: [
|
|
2912
|
+
saturate: [w]
|
|
2913
2913
|
}],
|
|
2914
2914
|
/**
|
|
2915
2915
|
* Sepia
|
|
@@ -2959,14 +2959,14 @@ const g = (e) => {
|
|
|
2959
2959
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2960
2960
|
*/
|
|
2961
2961
|
"backdrop-hue-rotate": [{
|
|
2962
|
-
"backdrop-hue-rotate": [
|
|
2962
|
+
"backdrop-hue-rotate": [u]
|
|
2963
2963
|
}],
|
|
2964
2964
|
/**
|
|
2965
2965
|
* Backdrop Invert
|
|
2966
2966
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2967
2967
|
*/
|
|
2968
2968
|
"backdrop-invert": [{
|
|
2969
|
-
"backdrop-invert": [
|
|
2969
|
+
"backdrop-invert": [p]
|
|
2970
2970
|
}],
|
|
2971
2971
|
/**
|
|
2972
2972
|
* Backdrop Opacity
|
|
@@ -2980,7 +2980,7 @@ const g = (e) => {
|
|
|
2980
2980
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2981
2981
|
*/
|
|
2982
2982
|
"backdrop-saturate": [{
|
|
2983
|
-
"backdrop-saturate": [
|
|
2983
|
+
"backdrop-saturate": [w]
|
|
2984
2984
|
}],
|
|
2985
2985
|
/**
|
|
2986
2986
|
* Backdrop Sepia
|
|
@@ -3045,7 +3045,7 @@ const g = (e) => {
|
|
|
3045
3045
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
3046
3046
|
*/
|
|
3047
3047
|
duration: [{
|
|
3048
|
-
duration:
|
|
3048
|
+
duration: O()
|
|
3049
3049
|
}],
|
|
3050
3050
|
/**
|
|
3051
3051
|
* Transition Timing Function
|
|
@@ -3059,7 +3059,7 @@ const g = (e) => {
|
|
|
3059
3059
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
3060
3060
|
*/
|
|
3061
3061
|
delay: [{
|
|
3062
|
-
delay:
|
|
3062
|
+
delay: O()
|
|
3063
3063
|
}],
|
|
3064
3064
|
/**
|
|
3065
3065
|
* Animation
|
|
@@ -3081,21 +3081,21 @@ const g = (e) => {
|
|
|
3081
3081
|
* @see https://tailwindcss.com/docs/scale
|
|
3082
3082
|
*/
|
|
3083
3083
|
scale: [{
|
|
3084
|
-
scale: [
|
|
3084
|
+
scale: [P]
|
|
3085
3085
|
}],
|
|
3086
3086
|
/**
|
|
3087
3087
|
* Scale X
|
|
3088
3088
|
* @see https://tailwindcss.com/docs/scale
|
|
3089
3089
|
*/
|
|
3090
3090
|
"scale-x": [{
|
|
3091
|
-
"scale-x": [
|
|
3091
|
+
"scale-x": [P]
|
|
3092
3092
|
}],
|
|
3093
3093
|
/**
|
|
3094
3094
|
* Scale Y
|
|
3095
3095
|
* @see https://tailwindcss.com/docs/scale
|
|
3096
3096
|
*/
|
|
3097
3097
|
"scale-y": [{
|
|
3098
|
-
"scale-y": [
|
|
3098
|
+
"scale-y": [P]
|
|
3099
3099
|
}],
|
|
3100
3100
|
/**
|
|
3101
3101
|
* Rotate
|
|
@@ -3123,14 +3123,14 @@ const g = (e) => {
|
|
|
3123
3123
|
* @see https://tailwindcss.com/docs/skew
|
|
3124
3124
|
*/
|
|
3125
3125
|
"skew-x": [{
|
|
3126
|
-
"skew-x": [
|
|
3126
|
+
"skew-x": [ae]
|
|
3127
3127
|
}],
|
|
3128
3128
|
/**
|
|
3129
3129
|
* Skew Y
|
|
3130
3130
|
* @see https://tailwindcss.com/docs/skew
|
|
3131
3131
|
*/
|
|
3132
3132
|
"skew-y": [{
|
|
3133
|
-
"skew-y": [
|
|
3133
|
+
"skew-y": [ae]
|
|
3134
3134
|
}],
|
|
3135
3135
|
/**
|
|
3136
3136
|
* Transform Origin
|
|
@@ -3194,126 +3194,126 @@ const g = (e) => {
|
|
|
3194
3194
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3195
3195
|
*/
|
|
3196
3196
|
"scroll-m": [{
|
|
3197
|
-
"scroll-m":
|
|
3197
|
+
"scroll-m": b()
|
|
3198
3198
|
}],
|
|
3199
3199
|
/**
|
|
3200
3200
|
* Scroll Margin X
|
|
3201
3201
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3202
3202
|
*/
|
|
3203
3203
|
"scroll-mx": [{
|
|
3204
|
-
"scroll-mx":
|
|
3204
|
+
"scroll-mx": b()
|
|
3205
3205
|
}],
|
|
3206
3206
|
/**
|
|
3207
3207
|
* Scroll Margin Y
|
|
3208
3208
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3209
3209
|
*/
|
|
3210
3210
|
"scroll-my": [{
|
|
3211
|
-
"scroll-my":
|
|
3211
|
+
"scroll-my": b()
|
|
3212
3212
|
}],
|
|
3213
3213
|
/**
|
|
3214
3214
|
* Scroll Margin Start
|
|
3215
3215
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3216
3216
|
*/
|
|
3217
3217
|
"scroll-ms": [{
|
|
3218
|
-
"scroll-ms":
|
|
3218
|
+
"scroll-ms": b()
|
|
3219
3219
|
}],
|
|
3220
3220
|
/**
|
|
3221
3221
|
* Scroll Margin End
|
|
3222
3222
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3223
3223
|
*/
|
|
3224
3224
|
"scroll-me": [{
|
|
3225
|
-
"scroll-me":
|
|
3225
|
+
"scroll-me": b()
|
|
3226
3226
|
}],
|
|
3227
3227
|
/**
|
|
3228
3228
|
* Scroll Margin Top
|
|
3229
3229
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3230
3230
|
*/
|
|
3231
3231
|
"scroll-mt": [{
|
|
3232
|
-
"scroll-mt":
|
|
3232
|
+
"scroll-mt": b()
|
|
3233
3233
|
}],
|
|
3234
3234
|
/**
|
|
3235
3235
|
* Scroll Margin Right
|
|
3236
3236
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3237
3237
|
*/
|
|
3238
3238
|
"scroll-mr": [{
|
|
3239
|
-
"scroll-mr":
|
|
3239
|
+
"scroll-mr": b()
|
|
3240
3240
|
}],
|
|
3241
3241
|
/**
|
|
3242
3242
|
* Scroll Margin Bottom
|
|
3243
3243
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3244
3244
|
*/
|
|
3245
3245
|
"scroll-mb": [{
|
|
3246
|
-
"scroll-mb":
|
|
3246
|
+
"scroll-mb": b()
|
|
3247
3247
|
}],
|
|
3248
3248
|
/**
|
|
3249
3249
|
* Scroll Margin Left
|
|
3250
3250
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3251
3251
|
*/
|
|
3252
3252
|
"scroll-ml": [{
|
|
3253
|
-
"scroll-ml":
|
|
3253
|
+
"scroll-ml": b()
|
|
3254
3254
|
}],
|
|
3255
3255
|
/**
|
|
3256
3256
|
* Scroll Padding
|
|
3257
3257
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3258
3258
|
*/
|
|
3259
3259
|
"scroll-p": [{
|
|
3260
|
-
"scroll-p":
|
|
3260
|
+
"scroll-p": b()
|
|
3261
3261
|
}],
|
|
3262
3262
|
/**
|
|
3263
3263
|
* Scroll Padding X
|
|
3264
3264
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3265
3265
|
*/
|
|
3266
3266
|
"scroll-px": [{
|
|
3267
|
-
"scroll-px":
|
|
3267
|
+
"scroll-px": b()
|
|
3268
3268
|
}],
|
|
3269
3269
|
/**
|
|
3270
3270
|
* Scroll Padding Y
|
|
3271
3271
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3272
3272
|
*/
|
|
3273
3273
|
"scroll-py": [{
|
|
3274
|
-
"scroll-py":
|
|
3274
|
+
"scroll-py": b()
|
|
3275
3275
|
}],
|
|
3276
3276
|
/**
|
|
3277
3277
|
* Scroll Padding Start
|
|
3278
3278
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3279
3279
|
*/
|
|
3280
3280
|
"scroll-ps": [{
|
|
3281
|
-
"scroll-ps":
|
|
3281
|
+
"scroll-ps": b()
|
|
3282
3282
|
}],
|
|
3283
3283
|
/**
|
|
3284
3284
|
* Scroll Padding End
|
|
3285
3285
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3286
3286
|
*/
|
|
3287
3287
|
"scroll-pe": [{
|
|
3288
|
-
"scroll-pe":
|
|
3288
|
+
"scroll-pe": b()
|
|
3289
3289
|
}],
|
|
3290
3290
|
/**
|
|
3291
3291
|
* Scroll Padding Top
|
|
3292
3292
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3293
3293
|
*/
|
|
3294
3294
|
"scroll-pt": [{
|
|
3295
|
-
"scroll-pt":
|
|
3295
|
+
"scroll-pt": b()
|
|
3296
3296
|
}],
|
|
3297
3297
|
/**
|
|
3298
3298
|
* Scroll Padding Right
|
|
3299
3299
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3300
3300
|
*/
|
|
3301
3301
|
"scroll-pr": [{
|
|
3302
|
-
"scroll-pr":
|
|
3302
|
+
"scroll-pr": b()
|
|
3303
3303
|
}],
|
|
3304
3304
|
/**
|
|
3305
3305
|
* Scroll Padding Bottom
|
|
3306
3306
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3307
3307
|
*/
|
|
3308
3308
|
"scroll-pb": [{
|
|
3309
|
-
"scroll-pb":
|
|
3309
|
+
"scroll-pb": b()
|
|
3310
3310
|
}],
|
|
3311
3311
|
/**
|
|
3312
3312
|
* Scroll Padding Left
|
|
3313
3313
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3314
3314
|
*/
|
|
3315
3315
|
"scroll-pl": [{
|
|
3316
|
-
"scroll-pl":
|
|
3316
|
+
"scroll-pl": b()
|
|
3317
3317
|
}],
|
|
3318
3318
|
/**
|
|
3319
3319
|
* Scroll Snap Align
|
|
@@ -3396,7 +3396,7 @@ const g = (e) => {
|
|
|
3396
3396
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3397
3397
|
*/
|
|
3398
3398
|
"stroke-w": [{
|
|
3399
|
-
stroke: [
|
|
3399
|
+
stroke: [C, T, ee]
|
|
3400
3400
|
}],
|
|
3401
3401
|
/**
|
|
3402
3402
|
* Stroke
|
|
@@ -3475,15 +3475,15 @@ const g = (e) => {
|
|
|
3475
3475
|
cacheSize: t,
|
|
3476
3476
|
prefix: r,
|
|
3477
3477
|
separator: n,
|
|
3478
|
-
experimentalParseClassName:
|
|
3479
|
-
extend:
|
|
3478
|
+
experimentalParseClassName: a,
|
|
3479
|
+
extend: o = {},
|
|
3480
3480
|
override: i = {}
|
|
3481
3481
|
}) => {
|
|
3482
|
-
j(e, "cacheSize", t), j(e, "prefix", r), j(e, "separator", n), j(e, "experimentalParseClassName",
|
|
3482
|
+
j(e, "cacheSize", t), j(e, "prefix", r), j(e, "separator", n), j(e, "experimentalParseClassName", a);
|
|
3483
3483
|
for (const s in i)
|
|
3484
3484
|
br(e[s], i[s]);
|
|
3485
|
-
for (const s in
|
|
3486
|
-
pr(e[s],
|
|
3485
|
+
for (const s in o)
|
|
3486
|
+
pr(e[s], o[s]);
|
|
3487
3487
|
return e;
|
|
3488
3488
|
}, j = (e, t, r) => {
|
|
3489
3489
|
r !== void 0 && (e[t] = r);
|
|
@@ -3500,15 +3500,15 @@ const g = (e) => {
|
|
|
3500
3500
|
}, yr = (e, ...t) => typeof e == "function" ? xe(ve, e, ...t) : xe(() => gr(ve(), e), ...t), te = (e, { splitClassName: t } = { splitClassName: !0 }) => {
|
|
3501
3501
|
const r = {};
|
|
3502
3502
|
return Object.keys(e).forEach((n) => {
|
|
3503
|
-
const [
|
|
3504
|
-
r[i] || (r[i] = []), r[i].push(
|
|
3503
|
+
const [a, o] = t ? n.split("-") : ["", n], i = `text-${t ? a : n}`;
|
|
3504
|
+
r[i] || (r[i] = []), r[i].push(o);
|
|
3505
3505
|
}), r;
|
|
3506
3506
|
}, wr = (e) => {
|
|
3507
3507
|
const t = {};
|
|
3508
3508
|
return Object.entries(e).forEach(([r, n]) => {
|
|
3509
|
-
const
|
|
3510
|
-
t[
|
|
3511
|
-
(
|
|
3509
|
+
const a = `text-${r}`;
|
|
3510
|
+
t[a] = Object.keys(n).filter(
|
|
3511
|
+
(o) => !isNaN(Number(o))
|
|
3512
3512
|
);
|
|
3513
3513
|
}), t;
|
|
3514
3514
|
}, xr = yr({
|
|
@@ -3526,15 +3526,37 @@ const g = (e) => {
|
|
|
3526
3526
|
"text-color": [wr(Ee)]
|
|
3527
3527
|
}
|
|
3528
3528
|
}
|
|
3529
|
-
}),
|
|
3529
|
+
}), Or = (...e) => xr(qt(e));
|
|
3530
3530
|
export {
|
|
3531
|
-
|
|
3531
|
+
ot as A,
|
|
3532
|
+
Fe as B,
|
|
3533
|
+
Re as C,
|
|
3534
|
+
Ie as D,
|
|
3535
|
+
qe as E,
|
|
3536
|
+
Or as a,
|
|
3532
3537
|
qt as b,
|
|
3533
3538
|
te as c,
|
|
3534
|
-
|
|
3539
|
+
Y as d,
|
|
3535
3540
|
kr as e,
|
|
3536
|
-
|
|
3537
|
-
|
|
3541
|
+
Sr as f,
|
|
3542
|
+
X as g,
|
|
3543
|
+
Pr as h,
|
|
3544
|
+
Pe as i,
|
|
3545
|
+
L as j,
|
|
3546
|
+
Q as k,
|
|
3547
|
+
Mt as l,
|
|
3538
3548
|
Mr as m,
|
|
3539
|
-
|
|
3549
|
+
Ae as n,
|
|
3550
|
+
vt as o,
|
|
3551
|
+
fe as p,
|
|
3552
|
+
wt as q,
|
|
3553
|
+
St as r,
|
|
3554
|
+
me as s,
|
|
3555
|
+
S as t,
|
|
3556
|
+
Dt as u,
|
|
3557
|
+
Tt as v,
|
|
3558
|
+
Yt as w,
|
|
3559
|
+
Z as x,
|
|
3560
|
+
G as y,
|
|
3561
|
+
R as z
|
|
3540
3562
|
};
|