@konstructio/ui 0.0.2 → 0.0.4
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/README.md +53 -4
- package/dist/{AlertDialogTrigger-BIbxXexQ.js → AlertDialogTrigger-lenvKoGF.js} +4 -4
- package/dist/Modal-Bg9UG35z.js +909 -0
- package/dist/{chevron-up-Cmu1oXfj.js → chevron-up-CvquEaNg.js} +1 -1
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/AlertDialog/AlertDialog.js +1 -1
- package/dist/components/AlertDialog/AlertDialog.variants.d.ts +1 -1
- package/dist/components/AlertDialog/AlertDialog.variants.js +4 -5
- package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
- package/dist/components/AlertDialog/components/index.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.variants.d.ts +2 -2
- package/dist/components/Autocomplete/Autocomplete.variants.js +8 -8
- package/dist/components/Autocomplete/components/List.types.d.ts +3 -3
- package/dist/components/Autocomplete/components/List.variants.d.ts +4 -4
- package/dist/components/Autocomplete/components/List.variants.js +13 -13
- package/dist/components/Autocomplete/hooks/useAutocomplete.d.ts +4 -4
- package/dist/components/Autocomplete/hooks/useNavigationList.d.ts +4 -4
- package/dist/components/Breadcrumb/Breadcrumb.js +57 -412
- package/dist/components/Breadcrumb/Breadcrumb.variants.d.ts +3 -3
- package/dist/components/Breadcrumb/Breadcrumb.variants.js +12 -12
- package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +1 -1
- package/dist/components/Button/Button.js +23 -21
- package/dist/components/Button/Button.variants.d.ts +2 -1
- package/dist/components/Button/Button.variants.js +122 -23
- package/dist/components/Checkbox/Checkbox.js +4 -4
- package/dist/components/Checkbox/Checkbox.variants.d.ts +2 -2
- package/dist/components/Checkbox/Checkbox.variants.js +7 -16
- package/dist/components/Dropdown/Dropdown.js +5 -5
- package/dist/components/Dropdown/Dropdown.types.d.ts +1 -0
- package/dist/components/Dropdown/Dropdown.variants.d.ts +1 -1
- package/dist/components/Dropdown/Dropdown.variants.js +5 -9
- package/dist/components/Dropdown/components/List/List.d.ts +2 -2
- package/dist/components/Dropdown/components/List/List.types.d.ts +3 -3
- package/dist/components/Dropdown/components/List/List.variants.d.ts +1 -1
- package/dist/components/Dropdown/components/List/List.variants.js +3 -3
- package/dist/components/Dropdown/components/ListItem/ListItem.variants.d.ts +1 -1
- package/dist/components/Dropdown/components/ListItem/ListItem.variants.js +3 -3
- package/dist/components/Dropdown/components/Wrapper.d.ts +2 -2
- package/dist/components/Dropdown/components/Wrapper.js +1 -1
- package/dist/components/Dropdown/contexts/dropdown.provider.d.ts +4 -1
- package/dist/components/Dropdown/contexts/dropdown.provider.js +19 -8
- package/dist/components/Dropdown/hooks/useDropdown.d.ts +4 -4
- package/dist/components/Dropdown/hooks/useNavigationList.d.ts +4 -4
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/Input.variants.d.ts +1 -1
- package/dist/components/Input/Input.variants.js +3 -3
- package/dist/components/Modal/Modal.js +2 -2
- package/dist/components/Modal/components/Body/Body.js +1 -1
- package/dist/components/Modal/components/Footer/Footer.js +1 -1
- package/dist/components/Modal/components/Header/Header.js +1 -1
- package/dist/components/Modal/components/Wrapper/Wrapper.js +4 -3
- package/dist/components/Modal/components/Wrapper/Wrapper.variants.d.ts +2 -2
- package/dist/components/Modal/components/Wrapper/Wrapper.variants.js +10 -10
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/Modal/hooks/useModal.d.ts +1 -1
- package/dist/components/NumberInput/NumberInput.js +96 -87
- package/dist/components/NumberInput/NumberInput.variants.d.ts +3 -3
- package/dist/components/NumberInput/NumberInput.variants.js +14 -21
- package/dist/components/ProgressBar/ProgressBar.variants.d.ts +2 -2
- package/dist/components/ProgressBar/ProgressBar.variants.js +7 -12
- package/dist/components/Radio/Radio.variants.d.ts +1 -1
- package/dist/components/Radio/Radio.variants.js +4 -7
- package/dist/components/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/Range/Range.js +1 -1
- package/dist/components/Range/Range.variants.d.ts +4 -4
- package/dist/components/Range/Range.variants.js +18 -18
- package/dist/components/Slider/Slider.js +1 -1
- package/dist/components/Slider/Slider.variants.d.ts +3 -3
- package/dist/components/Slider/Slider.variants.js +12 -12
- package/dist/components/Switch/Switch.js +2 -2
- package/dist/components/Switch/Switch.variants.d.ts +2 -2
- package/dist/components/Switch/Switch.variants.js +6 -6
- package/dist/components/Tag/Tag.variants.js +1 -1
- package/dist/components/TagSelect/TagSelect.js +1 -1
- package/dist/components/TagSelect/TagSelect.variants.d.ts +3 -3
- package/dist/components/TagSelect/TagSelect.variants.js +11 -14
- package/dist/components/TagSelect/hooks/useTagSelect.d.ts +1 -1
- package/dist/components/TextArea/TextArea.variants.d.ts +1 -1
- package/dist/components/TextArea/TextArea.variants.js +5 -5
- package/dist/components/Toast/Toast.js +104 -101
- package/dist/components/Toast/Toast.variants.d.ts +3 -3
- package/dist/components/Toast/Toast.variants.js +12 -12
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/Tooltip/Tooltip.variants.d.ts +2 -2
- package/dist/components/Tooltip/Tooltip.variants.js +9 -9
- package/dist/components/Tooltip/hooks/useTooltip.d.ts +1 -1
- package/dist/components/index.js +1 -1
- package/dist/contexts/theme.context.d.ts +1 -1
- package/dist/contexts/theme.hook.js +3 -6
- package/dist/contexts/theme.provider.d.ts +2 -3
- package/dist/contexts/theme.provider.js +4 -1
- package/dist/index-BBjak_0p.js +47 -0
- package/dist/index-BNmRGtA6.js +34 -0
- package/dist/{index-DFbnnPzA.js → index-Ci9Yg4G1.js} +5 -5
- package/dist/{index-B_GWswUP.js → index-D4Q2rMby.js} +1 -1
- package/dist/{index-DQMInta3.js → index-D68N8v8R.js} +214 -209
- package/dist/index-DoOsnuB6.js +72 -0
- package/dist/{index-2K8qjK4R.js → index-O3j1K921.js} +36 -37
- package/dist/index-OOfdXoxx.js +423 -0
- package/dist/index-ffjBR8Av.js +32 -0
- package/dist/index.js +1 -1
- package/dist/package.json +42 -38
- package/dist/plugins/konstruct.js +61 -50
- package/dist/plugins/utils/colors.d.ts +127 -10
- package/dist/plugins/utils/colors.js +210 -510
- package/dist/styles.css +1 -1
- package/dist/useBreadcrumb-tyxjV-a1.js +1398 -0
- package/dist/utils/index.js +150 -162
- package/dist/x-CRBgmX1Q.js +62 -0
- package/package.json +42 -38
- package/dist/Modal-CO0_SnXD.js +0 -909
- package/dist/index-2hJuj4UN.js +0 -19069
- package/dist/index-4qm4jAkj.js +0 -92
- package/dist/index-BJ7FQg17.js +0 -35
- package/dist/index-BqM_XclQ.js +0 -94
- package/dist/index-BwYCDOHZ.js +0 -44
- package/dist/index-CCavb-1K.js +0 -57
- package/dist/useBreadcrumb-BSMnc4Fu.js +0 -341
package/dist/utils/index.js
CHANGED
|
@@ -1,51 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
5
|
-
var l = e.length;
|
|
6
|
-
for (r = 0; r < l; r++) e[r] && (t = Y(e[r])) && (o && (o += " "), o += t);
|
|
7
|
-
} else for (t in e) e[t] && (o && (o += " "), o += t);
|
|
8
|
-
return o;
|
|
9
|
-
}
|
|
10
|
-
function ne() {
|
|
11
|
-
for (var e, r, t = 0, o = "", l = arguments.length; t < l; t++) (e = arguments[t]) && (r = Y(e)) && (o && (o += " "), o += r);
|
|
12
|
-
return o;
|
|
13
|
-
}
|
|
14
|
-
const B = "-", se = (e) => {
|
|
15
|
-
const r = ie(e), {
|
|
1
|
+
import { c as oe } from "../clsx-OuTLNxxd.js";
|
|
2
|
+
const B = "-", ne = (e) => {
|
|
3
|
+
const r = le(e), {
|
|
16
4
|
conflictingClassGroups: t,
|
|
17
5
|
conflictingClassGroupModifiers: o
|
|
18
6
|
} = e;
|
|
19
7
|
return {
|
|
20
|
-
getClassGroupId: (
|
|
21
|
-
const s =
|
|
22
|
-
return s[0] === "" && s.length !== 1 && s.shift(),
|
|
8
|
+
getClassGroupId: (i) => {
|
|
9
|
+
const s = i.split(B);
|
|
10
|
+
return s[0] === "" && s.length !== 1 && s.shift(), Y(s, r) || se(i);
|
|
23
11
|
},
|
|
24
|
-
getConflictingClassGroupIds: (
|
|
25
|
-
const u = t[
|
|
26
|
-
return s && o[
|
|
12
|
+
getConflictingClassGroupIds: (i, s) => {
|
|
13
|
+
const u = t[i] || [];
|
|
14
|
+
return s && o[i] ? [...u, ...o[i]] : u;
|
|
27
15
|
}
|
|
28
16
|
};
|
|
29
|
-
},
|
|
30
|
-
var
|
|
17
|
+
}, Y = (e, r) => {
|
|
18
|
+
var i;
|
|
31
19
|
if (e.length === 0)
|
|
32
20
|
return r.classGroupId;
|
|
33
|
-
const t = e[0], o = r.nextPart.get(t),
|
|
34
|
-
if (
|
|
35
|
-
return
|
|
21
|
+
const t = e[0], o = r.nextPart.get(t), a = o ? Y(e.slice(1), o) : void 0;
|
|
22
|
+
if (a)
|
|
23
|
+
return a;
|
|
36
24
|
if (r.validators.length === 0)
|
|
37
25
|
return;
|
|
38
26
|
const n = e.join(B);
|
|
39
|
-
return (
|
|
27
|
+
return (i = r.validators.find(({
|
|
40
28
|
validator: s
|
|
41
|
-
}) => s(n))) == null ? void 0 :
|
|
42
|
-
}, K = /^\[(.+)\]$/,
|
|
29
|
+
}) => s(n))) == null ? void 0 : i.classGroupId;
|
|
30
|
+
}, K = /^\[(.+)\]$/, se = (e) => {
|
|
43
31
|
if (K.test(e)) {
|
|
44
32
|
const r = K.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
|
|
45
33
|
if (t)
|
|
46
34
|
return "arbitrary.." + t;
|
|
47
35
|
}
|
|
48
|
-
},
|
|
36
|
+
}, le = (e) => {
|
|
49
37
|
const {
|
|
50
38
|
theme: r,
|
|
51
39
|
prefix: t
|
|
@@ -53,29 +41,29 @@ const B = "-", se = (e) => {
|
|
|
53
41
|
nextPart: /* @__PURE__ */ new Map(),
|
|
54
42
|
validators: []
|
|
55
43
|
};
|
|
56
|
-
return
|
|
57
|
-
$(
|
|
44
|
+
return ae(Object.entries(e.classGroups), t).forEach(([n, i]) => {
|
|
45
|
+
$(i, o, n, r);
|
|
58
46
|
}), o;
|
|
59
47
|
}, $ = (e, r, t, o) => {
|
|
60
|
-
e.forEach((
|
|
61
|
-
if (typeof
|
|
62
|
-
const n =
|
|
48
|
+
e.forEach((a) => {
|
|
49
|
+
if (typeof a == "string") {
|
|
50
|
+
const n = a === "" ? r : Q(r, a);
|
|
63
51
|
n.classGroupId = t;
|
|
64
52
|
return;
|
|
65
53
|
}
|
|
66
|
-
if (typeof
|
|
67
|
-
if (
|
|
68
|
-
$(
|
|
54
|
+
if (typeof a == "function") {
|
|
55
|
+
if (ie(a)) {
|
|
56
|
+
$(a(o), r, t, o);
|
|
69
57
|
return;
|
|
70
58
|
}
|
|
71
59
|
r.validators.push({
|
|
72
|
-
validator:
|
|
60
|
+
validator: a,
|
|
73
61
|
classGroupId: t
|
|
74
62
|
});
|
|
75
63
|
return;
|
|
76
64
|
}
|
|
77
|
-
Object.entries(
|
|
78
|
-
$(
|
|
65
|
+
Object.entries(a).forEach(([n, i]) => {
|
|
66
|
+
$(i, Q(r, n), t, o);
|
|
79
67
|
});
|
|
80
68
|
});
|
|
81
69
|
}, Q = (e, r) => {
|
|
@@ -86,10 +74,10 @@ const B = "-", se = (e) => {
|
|
|
86
74
|
validators: []
|
|
87
75
|
}), t = t.nextPart.get(o);
|
|
88
76
|
}), t;
|
|
89
|
-
},
|
|
90
|
-
const
|
|
91
|
-
return [t,
|
|
92
|
-
}) : e,
|
|
77
|
+
}, ie = (e) => e.isThemeGetter, ae = (e, r) => r ? e.map(([t, o]) => {
|
|
78
|
+
const a = o.map((n) => typeof n == "string" ? r + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([i, s]) => [r + i, s])) : n);
|
|
79
|
+
return [t, a];
|
|
80
|
+
}) : e, ce = (e) => {
|
|
93
81
|
if (e < 1)
|
|
94
82
|
return {
|
|
95
83
|
get: () => {
|
|
@@ -98,32 +86,32 @@ const B = "-", se = (e) => {
|
|
|
98
86
|
}
|
|
99
87
|
};
|
|
100
88
|
let r = 0, t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
|
|
101
|
-
const
|
|
102
|
-
t.set(n,
|
|
89
|
+
const a = (n, i) => {
|
|
90
|
+
t.set(n, i), r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ new Map());
|
|
103
91
|
};
|
|
104
92
|
return {
|
|
105
93
|
get(n) {
|
|
106
|
-
let
|
|
107
|
-
if (
|
|
108
|
-
return
|
|
109
|
-
if ((
|
|
110
|
-
return
|
|
94
|
+
let i = t.get(n);
|
|
95
|
+
if (i !== void 0)
|
|
96
|
+
return i;
|
|
97
|
+
if ((i = o.get(n)) !== void 0)
|
|
98
|
+
return a(n, i), i;
|
|
111
99
|
},
|
|
112
|
-
set(n,
|
|
113
|
-
t.has(n) ? t.set(n,
|
|
100
|
+
set(n, i) {
|
|
101
|
+
t.has(n) ? t.set(n, i) : a(n, i);
|
|
114
102
|
}
|
|
115
103
|
};
|
|
116
|
-
},
|
|
104
|
+
}, D = "!", de = (e) => {
|
|
117
105
|
const {
|
|
118
106
|
separator: r,
|
|
119
107
|
experimentalParseClassName: t
|
|
120
|
-
} = e, o = r.length === 1,
|
|
108
|
+
} = e, o = r.length === 1, a = r[0], n = r.length, i = (s) => {
|
|
121
109
|
const u = [];
|
|
122
110
|
let g = 0, m = 0, y;
|
|
123
111
|
for (let p = 0; p < s.length; p++) {
|
|
124
112
|
let f = s[p];
|
|
125
113
|
if (g === 0) {
|
|
126
|
-
if (f ===
|
|
114
|
+
if (f === a && (o || s.slice(p, p + n) === r)) {
|
|
127
115
|
u.push(s.slice(m, p)), m = p + n;
|
|
128
116
|
continue;
|
|
129
117
|
}
|
|
@@ -134,7 +122,7 @@ const B = "-", se = (e) => {
|
|
|
134
122
|
}
|
|
135
123
|
f === "[" ? g++ : f === "]" && g--;
|
|
136
124
|
}
|
|
137
|
-
const x = u.length === 0 ? s : s.substring(m), v = x.startsWith(
|
|
125
|
+
const x = u.length === 0 ? s : s.substring(m), v = x.startsWith(D), w = v ? x.substring(1) : x, b = y && y > m ? y - m : void 0;
|
|
138
126
|
return {
|
|
139
127
|
modifiers: u,
|
|
140
128
|
hasImportantModifier: v,
|
|
@@ -144,9 +132,9 @@ const B = "-", se = (e) => {
|
|
|
144
132
|
};
|
|
145
133
|
return t ? (s) => t({
|
|
146
134
|
className: s,
|
|
147
|
-
parseClassName:
|
|
148
|
-
}) :
|
|
149
|
-
},
|
|
135
|
+
parseClassName: i
|
|
136
|
+
}) : i;
|
|
137
|
+
}, pe = (e) => {
|
|
150
138
|
if (e.length <= 1)
|
|
151
139
|
return e;
|
|
152
140
|
const r = [];
|
|
@@ -154,19 +142,19 @@ const B = "-", se = (e) => {
|
|
|
154
142
|
return e.forEach((o) => {
|
|
155
143
|
o[0] === "[" ? (r.push(...t.sort(), o), t = []) : t.push(o);
|
|
156
144
|
}), r.push(...t.sort()), r;
|
|
157
|
-
},
|
|
158
|
-
cache:
|
|
159
|
-
parseClassName:
|
|
160
|
-
...
|
|
161
|
-
}),
|
|
145
|
+
}, ue = (e) => ({
|
|
146
|
+
cache: ce(e.cacheSize),
|
|
147
|
+
parseClassName: de(e),
|
|
148
|
+
...ne(e)
|
|
149
|
+
}), be = /\s+/, ge = (e, r) => {
|
|
162
150
|
const {
|
|
163
151
|
parseClassName: t,
|
|
164
152
|
getClassGroupId: o,
|
|
165
|
-
getConflictingClassGroupIds:
|
|
166
|
-
} = r, n = [],
|
|
153
|
+
getConflictingClassGroupIds: a
|
|
154
|
+
} = r, n = [], i = e.trim().split(be);
|
|
167
155
|
let s = "";
|
|
168
|
-
for (let u =
|
|
169
|
-
const g =
|
|
156
|
+
for (let u = i.length - 1; u >= 0; u -= 1) {
|
|
157
|
+
const g = i[u], {
|
|
170
158
|
modifiers: m,
|
|
171
159
|
hasImportantModifier: y,
|
|
172
160
|
baseClassName: x,
|
|
@@ -184,73 +172,73 @@ const B = "-", se = (e) => {
|
|
|
184
172
|
}
|
|
185
173
|
w = !1;
|
|
186
174
|
}
|
|
187
|
-
const p =
|
|
175
|
+
const p = pe(m).join(":"), f = y ? p + D : p, h = f + b;
|
|
188
176
|
if (n.includes(h))
|
|
189
177
|
continue;
|
|
190
178
|
n.push(h);
|
|
191
|
-
const R =
|
|
192
|
-
for (let
|
|
193
|
-
const
|
|
194
|
-
n.push(f +
|
|
179
|
+
const R = a(b, w);
|
|
180
|
+
for (let A = 0; A < R.length; ++A) {
|
|
181
|
+
const j = R[A];
|
|
182
|
+
n.push(f + j);
|
|
195
183
|
}
|
|
196
184
|
s = g + (s.length > 0 ? " " + s : s);
|
|
197
185
|
}
|
|
198
186
|
return s;
|
|
199
187
|
};
|
|
200
|
-
function
|
|
188
|
+
function fe() {
|
|
201
189
|
let e = 0, r, t, o = "";
|
|
202
190
|
for (; e < arguments.length; )
|
|
203
|
-
(r = arguments[e++]) && (t =
|
|
191
|
+
(r = arguments[e++]) && (t = ee(r)) && (o && (o += " "), o += t);
|
|
204
192
|
return o;
|
|
205
193
|
}
|
|
206
|
-
const
|
|
194
|
+
const ee = (e) => {
|
|
207
195
|
if (typeof e == "string")
|
|
208
196
|
return e;
|
|
209
197
|
let r, t = "";
|
|
210
198
|
for (let o = 0; o < e.length; o++)
|
|
211
|
-
e[o] && (r =
|
|
199
|
+
e[o] && (r = ee(e[o])) && (t && (t += " "), t += r);
|
|
212
200
|
return t;
|
|
213
201
|
};
|
|
214
|
-
function
|
|
215
|
-
let t, o,
|
|
216
|
-
function
|
|
202
|
+
function me(e, ...r) {
|
|
203
|
+
let t, o, a, n = i;
|
|
204
|
+
function i(u) {
|
|
217
205
|
const g = r.reduce((m, y) => y(m), e());
|
|
218
|
-
return t =
|
|
206
|
+
return t = ue(g), o = t.cache.get, a = t.cache.set, n = s, s(u);
|
|
219
207
|
}
|
|
220
208
|
function s(u) {
|
|
221
209
|
const g = o(u);
|
|
222
210
|
if (g)
|
|
223
211
|
return g;
|
|
224
|
-
const m =
|
|
225
|
-
return
|
|
212
|
+
const m = ge(u, t);
|
|
213
|
+
return a(u, m), m;
|
|
226
214
|
}
|
|
227
215
|
return function() {
|
|
228
|
-
return n(
|
|
216
|
+
return n(fe.apply(null, arguments));
|
|
229
217
|
};
|
|
230
218
|
}
|
|
231
219
|
const c = (e) => {
|
|
232
220
|
const r = (t) => t[e] || [];
|
|
233
221
|
return r.isThemeGetter = !0, r;
|
|
234
|
-
},
|
|
235
|
-
const o =
|
|
222
|
+
}, re = /^\[(?:([a-z-]+):)?(.+)\]$/i, he = /^\d+\/\d+$/, ye = /* @__PURE__ */ new Set(["px", "full", "screen"]), xe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, we = /\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$/, ve = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Ce = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ke = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, k = (e) => M(e) || ye.has(e) || he.test(e), z = (e) => G(e, "length", Pe), M = (e) => !!e && !Number.isNaN(Number(e)), _ = (e) => G(e, "number", M), P = (e) => !!e && Number.isInteger(Number(e)), ze = (e) => e.endsWith("%") && M(e.slice(0, -1)), l = (e) => re.test(e), S = (e) => xe.test(e), Se = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Ae = (e) => G(e, Se, te), Me = (e) => G(e, "position", te), Ge = /* @__PURE__ */ new Set(["image", "url"]), Re = (e) => G(e, Ge, je), Ie = (e) => G(e, "", Ee), E = () => !0, G = (e, r, t) => {
|
|
223
|
+
const o = re.exec(e);
|
|
236
224
|
return o ? o[1] ? typeof r == "string" ? o[1] === r : r.has(o[1]) : t(o[2]) : !1;
|
|
237
|
-
},
|
|
225
|
+
}, Pe = (e) => (
|
|
238
226
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
239
227
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
240
228
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
241
|
-
|
|
242
|
-
),
|
|
243
|
-
const e = c("colors"), r = c("spacing"), t = c("blur"), o = c("brightness"),
|
|
229
|
+
we.test(e) && !ve.test(e)
|
|
230
|
+
), te = () => !1, Ee = (e) => Ce.test(e), je = (e) => ke.test(e), Le = () => {
|
|
231
|
+
const e = c("colors"), r = c("spacing"), t = c("blur"), o = c("brightness"), a = c("borderColor"), n = c("borderRadius"), i = c("borderSpacing"), s = c("borderWidth"), u = c("contrast"), g = c("grayscale"), m = c("hueRotate"), y = c("invert"), x = c("gap"), v = c("gradientColorStops"), w = c("gradientColorStopPositions"), b = c("inset"), p = c("margin"), f = c("opacity"), h = c("padding"), R = c("saturate"), A = c("scale"), j = c("sepia"), U = c("skew"), F = c("space"), q = c("translate"), T = () => ["auto", "contain", "none"], W = () => ["auto", "hidden", "clip", "visible", "scroll"], V = () => ["auto", l, r], d = () => [l, r], J = () => ["", k, z], L = () => ["auto", M, l], X = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], N = () => ["solid", "dashed", "dotted", "double", "none"], Z = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], O = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], I = () => ["", "0", l], H = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], C = () => [M, l];
|
|
244
232
|
return {
|
|
245
233
|
cacheSize: 500,
|
|
246
234
|
separator: ":",
|
|
247
235
|
theme: {
|
|
248
|
-
colors: [
|
|
236
|
+
colors: [E],
|
|
249
237
|
spacing: [k, z],
|
|
250
|
-
blur: ["none", "",
|
|
238
|
+
blur: ["none", "", S, l],
|
|
251
239
|
brightness: C(),
|
|
252
240
|
borderColor: [e],
|
|
253
|
-
borderRadius: ["none", "", "full",
|
|
241
|
+
borderRadius: ["none", "", "full", S, l],
|
|
254
242
|
borderSpacing: d(),
|
|
255
243
|
borderWidth: J(),
|
|
256
244
|
contrast: C(),
|
|
@@ -259,7 +247,7 @@ const c = (e) => {
|
|
|
259
247
|
invert: I(),
|
|
260
248
|
gap: d(),
|
|
261
249
|
gradientColorStops: [e],
|
|
262
|
-
gradientColorStopPositions: [
|
|
250
|
+
gradientColorStopPositions: [ze, z],
|
|
263
251
|
inset: V(),
|
|
264
252
|
margin: V(),
|
|
265
253
|
opacity: C(),
|
|
@@ -278,7 +266,7 @@ const c = (e) => {
|
|
|
278
266
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
279
267
|
*/
|
|
280
268
|
aspect: [{
|
|
281
|
-
aspect: ["auto", "square", "video",
|
|
269
|
+
aspect: ["auto", "square", "video", l]
|
|
282
270
|
}],
|
|
283
271
|
/**
|
|
284
272
|
* Container
|
|
@@ -290,7 +278,7 @@ const c = (e) => {
|
|
|
290
278
|
* @see https://tailwindcss.com/docs/columns
|
|
291
279
|
*/
|
|
292
280
|
columns: [{
|
|
293
|
-
columns: [
|
|
281
|
+
columns: [S]
|
|
294
282
|
}],
|
|
295
283
|
/**
|
|
296
284
|
* Break After
|
|
@@ -363,7 +351,7 @@ const c = (e) => {
|
|
|
363
351
|
* @see https://tailwindcss.com/docs/object-position
|
|
364
352
|
*/
|
|
365
353
|
"object-position": [{
|
|
366
|
-
object: [...X(),
|
|
354
|
+
object: [...X(), l]
|
|
367
355
|
}],
|
|
368
356
|
/**
|
|
369
357
|
* Overflow
|
|
@@ -485,7 +473,7 @@ const c = (e) => {
|
|
|
485
473
|
* @see https://tailwindcss.com/docs/z-index
|
|
486
474
|
*/
|
|
487
475
|
z: [{
|
|
488
|
-
z: ["auto", P,
|
|
476
|
+
z: ["auto", P, l]
|
|
489
477
|
}],
|
|
490
478
|
// Flexbox and Grid
|
|
491
479
|
/**
|
|
@@ -514,7 +502,7 @@ const c = (e) => {
|
|
|
514
502
|
* @see https://tailwindcss.com/docs/flex
|
|
515
503
|
*/
|
|
516
504
|
flex: [{
|
|
517
|
-
flex: ["1", "auto", "initial", "none",
|
|
505
|
+
flex: ["1", "auto", "initial", "none", l]
|
|
518
506
|
}],
|
|
519
507
|
/**
|
|
520
508
|
* Flex Grow
|
|
@@ -535,14 +523,14 @@ const c = (e) => {
|
|
|
535
523
|
* @see https://tailwindcss.com/docs/order
|
|
536
524
|
*/
|
|
537
525
|
order: [{
|
|
538
|
-
order: ["first", "last", "none", P,
|
|
526
|
+
order: ["first", "last", "none", P, l]
|
|
539
527
|
}],
|
|
540
528
|
/**
|
|
541
529
|
* Grid Template Columns
|
|
542
530
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
543
531
|
*/
|
|
544
532
|
"grid-cols": [{
|
|
545
|
-
"grid-cols": [
|
|
533
|
+
"grid-cols": [E]
|
|
546
534
|
}],
|
|
547
535
|
/**
|
|
548
536
|
* Grid Column Start / End
|
|
@@ -550,8 +538,8 @@ const c = (e) => {
|
|
|
550
538
|
*/
|
|
551
539
|
"col-start-end": [{
|
|
552
540
|
col: ["auto", {
|
|
553
|
-
span: ["full", P,
|
|
554
|
-
},
|
|
541
|
+
span: ["full", P, l]
|
|
542
|
+
}, l]
|
|
555
543
|
}],
|
|
556
544
|
/**
|
|
557
545
|
* Grid Column Start
|
|
@@ -572,7 +560,7 @@ const c = (e) => {
|
|
|
572
560
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
573
561
|
*/
|
|
574
562
|
"grid-rows": [{
|
|
575
|
-
"grid-rows": [
|
|
563
|
+
"grid-rows": [E]
|
|
576
564
|
}],
|
|
577
565
|
/**
|
|
578
566
|
* Grid Row Start / End
|
|
@@ -580,8 +568,8 @@ const c = (e) => {
|
|
|
580
568
|
*/
|
|
581
569
|
"row-start-end": [{
|
|
582
570
|
row: ["auto", {
|
|
583
|
-
span: [P,
|
|
584
|
-
},
|
|
571
|
+
span: [P, l]
|
|
572
|
+
}, l]
|
|
585
573
|
}],
|
|
586
574
|
/**
|
|
587
575
|
* Grid Row Start
|
|
@@ -609,14 +597,14 @@ const c = (e) => {
|
|
|
609
597
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
610
598
|
*/
|
|
611
599
|
"auto-cols": [{
|
|
612
|
-
"auto-cols": ["auto", "min", "max", "fr",
|
|
600
|
+
"auto-cols": ["auto", "min", "max", "fr", l]
|
|
613
601
|
}],
|
|
614
602
|
/**
|
|
615
603
|
* Grid Auto Rows
|
|
616
604
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
617
605
|
*/
|
|
618
606
|
"auto-rows": [{
|
|
619
|
-
"auto-rows": ["auto", "min", "max", "fr",
|
|
607
|
+
"auto-rows": ["auto", "min", "max", "fr", l]
|
|
620
608
|
}],
|
|
621
609
|
/**
|
|
622
610
|
* Gap
|
|
@@ -859,51 +847,51 @@ const c = (e) => {
|
|
|
859
847
|
* @see https://tailwindcss.com/docs/width
|
|
860
848
|
*/
|
|
861
849
|
w: [{
|
|
862
|
-
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw",
|
|
850
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", l, r]
|
|
863
851
|
}],
|
|
864
852
|
/**
|
|
865
853
|
* Min-Width
|
|
866
854
|
* @see https://tailwindcss.com/docs/min-width
|
|
867
855
|
*/
|
|
868
856
|
"min-w": [{
|
|
869
|
-
"min-w": [
|
|
857
|
+
"min-w": [l, r, "min", "max", "fit"]
|
|
870
858
|
}],
|
|
871
859
|
/**
|
|
872
860
|
* Max-Width
|
|
873
861
|
* @see https://tailwindcss.com/docs/max-width
|
|
874
862
|
*/
|
|
875
863
|
"max-w": [{
|
|
876
|
-
"max-w": [
|
|
877
|
-
screen: [
|
|
878
|
-
},
|
|
864
|
+
"max-w": [l, r, "none", "full", "min", "max", "fit", "prose", {
|
|
865
|
+
screen: [S]
|
|
866
|
+
}, S]
|
|
879
867
|
}],
|
|
880
868
|
/**
|
|
881
869
|
* Height
|
|
882
870
|
* @see https://tailwindcss.com/docs/height
|
|
883
871
|
*/
|
|
884
872
|
h: [{
|
|
885
|
-
h: [
|
|
873
|
+
h: [l, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
886
874
|
}],
|
|
887
875
|
/**
|
|
888
876
|
* Min-Height
|
|
889
877
|
* @see https://tailwindcss.com/docs/min-height
|
|
890
878
|
*/
|
|
891
879
|
"min-h": [{
|
|
892
|
-
"min-h": [
|
|
880
|
+
"min-h": [l, r, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
893
881
|
}],
|
|
894
882
|
/**
|
|
895
883
|
* Max-Height
|
|
896
884
|
* @see https://tailwindcss.com/docs/max-height
|
|
897
885
|
*/
|
|
898
886
|
"max-h": [{
|
|
899
|
-
"max-h": [
|
|
887
|
+
"max-h": [l, r, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
900
888
|
}],
|
|
901
889
|
/**
|
|
902
890
|
* Size
|
|
903
891
|
* @see https://tailwindcss.com/docs/size
|
|
904
892
|
*/
|
|
905
893
|
size: [{
|
|
906
|
-
size: [
|
|
894
|
+
size: [l, r, "auto", "min", "max", "fit"]
|
|
907
895
|
}],
|
|
908
896
|
// Typography
|
|
909
897
|
/**
|
|
@@ -911,7 +899,7 @@ const c = (e) => {
|
|
|
911
899
|
* @see https://tailwindcss.com/docs/font-size
|
|
912
900
|
*/
|
|
913
901
|
"font-size": [{
|
|
914
|
-
text: ["base",
|
|
902
|
+
text: ["base", S, z]
|
|
915
903
|
}],
|
|
916
904
|
/**
|
|
917
905
|
* Font Smoothing
|
|
@@ -935,7 +923,7 @@ const c = (e) => {
|
|
|
935
923
|
* @see https://tailwindcss.com/docs/font-family
|
|
936
924
|
*/
|
|
937
925
|
"font-family": [{
|
|
938
|
-
font: [
|
|
926
|
+
font: [E]
|
|
939
927
|
}],
|
|
940
928
|
/**
|
|
941
929
|
* Font Variant Numeric
|
|
@@ -966,13 +954,13 @@ const c = (e) => {
|
|
|
966
954
|
* Font Variant Numeric
|
|
967
955
|
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
968
956
|
*/
|
|
969
|
-
"fvn-fraction": ["diagonal-fractions", "stacked-
|
|
957
|
+
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
970
958
|
/**
|
|
971
959
|
* Letter Spacing
|
|
972
960
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
973
961
|
*/
|
|
974
962
|
tracking: [{
|
|
975
|
-
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest",
|
|
963
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", l]
|
|
976
964
|
}],
|
|
977
965
|
/**
|
|
978
966
|
* Line Clamp
|
|
@@ -986,21 +974,21 @@ const c = (e) => {
|
|
|
986
974
|
* @see https://tailwindcss.com/docs/line-height
|
|
987
975
|
*/
|
|
988
976
|
leading: [{
|
|
989
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", k,
|
|
977
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", k, l]
|
|
990
978
|
}],
|
|
991
979
|
/**
|
|
992
980
|
* List Style Image
|
|
993
981
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
994
982
|
*/
|
|
995
983
|
"list-image": [{
|
|
996
|
-
"list-image": ["none",
|
|
984
|
+
"list-image": ["none", l]
|
|
997
985
|
}],
|
|
998
986
|
/**
|
|
999
987
|
* List Style Type
|
|
1000
988
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1001
989
|
*/
|
|
1002
990
|
"list-style-type": [{
|
|
1003
|
-
list: ["none", "disc", "decimal",
|
|
991
|
+
list: ["none", "disc", "decimal", l]
|
|
1004
992
|
}],
|
|
1005
993
|
/**
|
|
1006
994
|
* List Style Position
|
|
@@ -1069,7 +1057,7 @@ const c = (e) => {
|
|
|
1069
1057
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1070
1058
|
*/
|
|
1071
1059
|
"underline-offset": [{
|
|
1072
|
-
"underline-offset": ["auto", k,
|
|
1060
|
+
"underline-offset": ["auto", k, l]
|
|
1073
1061
|
}],
|
|
1074
1062
|
/**
|
|
1075
1063
|
* Text Decoration Color
|
|
@@ -1107,7 +1095,7 @@ const c = (e) => {
|
|
|
1107
1095
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1108
1096
|
*/
|
|
1109
1097
|
"vertical-align": [{
|
|
1110
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1098
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", l]
|
|
1111
1099
|
}],
|
|
1112
1100
|
/**
|
|
1113
1101
|
* Whitespace
|
|
@@ -1135,7 +1123,7 @@ const c = (e) => {
|
|
|
1135
1123
|
* @see https://tailwindcss.com/docs/content
|
|
1136
1124
|
*/
|
|
1137
1125
|
content: [{
|
|
1138
|
-
content: ["none",
|
|
1126
|
+
content: ["none", l]
|
|
1139
1127
|
}],
|
|
1140
1128
|
// Backgrounds
|
|
1141
1129
|
/**
|
|
@@ -1172,7 +1160,7 @@ const c = (e) => {
|
|
|
1172
1160
|
* @see https://tailwindcss.com/docs/background-position
|
|
1173
1161
|
*/
|
|
1174
1162
|
"bg-position": [{
|
|
1175
|
-
bg: [...X(),
|
|
1163
|
+
bg: [...X(), Me]
|
|
1176
1164
|
}],
|
|
1177
1165
|
/**
|
|
1178
1166
|
* Background Repeat
|
|
@@ -1188,7 +1176,7 @@ const c = (e) => {
|
|
|
1188
1176
|
* @see https://tailwindcss.com/docs/background-size
|
|
1189
1177
|
*/
|
|
1190
1178
|
"bg-size": [{
|
|
1191
|
-
bg: ["auto", "cover", "contain",
|
|
1179
|
+
bg: ["auto", "cover", "contain", Ae]
|
|
1192
1180
|
}],
|
|
1193
1181
|
/**
|
|
1194
1182
|
* Background Image
|
|
@@ -1197,7 +1185,7 @@ const c = (e) => {
|
|
|
1197
1185
|
"bg-image": [{
|
|
1198
1186
|
bg: ["none", {
|
|
1199
1187
|
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1200
|
-
},
|
|
1188
|
+
}, Re]
|
|
1201
1189
|
}],
|
|
1202
1190
|
/**
|
|
1203
1191
|
* Background Color
|
|
@@ -1474,70 +1462,70 @@ const c = (e) => {
|
|
|
1474
1462
|
* @see https://tailwindcss.com/docs/border-color
|
|
1475
1463
|
*/
|
|
1476
1464
|
"border-color": [{
|
|
1477
|
-
border: [
|
|
1465
|
+
border: [a]
|
|
1478
1466
|
}],
|
|
1479
1467
|
/**
|
|
1480
1468
|
* Border Color X
|
|
1481
1469
|
* @see https://tailwindcss.com/docs/border-color
|
|
1482
1470
|
*/
|
|
1483
1471
|
"border-color-x": [{
|
|
1484
|
-
"border-x": [
|
|
1472
|
+
"border-x": [a]
|
|
1485
1473
|
}],
|
|
1486
1474
|
/**
|
|
1487
1475
|
* Border Color Y
|
|
1488
1476
|
* @see https://tailwindcss.com/docs/border-color
|
|
1489
1477
|
*/
|
|
1490
1478
|
"border-color-y": [{
|
|
1491
|
-
"border-y": [
|
|
1479
|
+
"border-y": [a]
|
|
1492
1480
|
}],
|
|
1493
1481
|
/**
|
|
1494
1482
|
* Border Color S
|
|
1495
1483
|
* @see https://tailwindcss.com/docs/border-color
|
|
1496
1484
|
*/
|
|
1497
1485
|
"border-color-s": [{
|
|
1498
|
-
"border-s": [
|
|
1486
|
+
"border-s": [a]
|
|
1499
1487
|
}],
|
|
1500
1488
|
/**
|
|
1501
1489
|
* Border Color E
|
|
1502
1490
|
* @see https://tailwindcss.com/docs/border-color
|
|
1503
1491
|
*/
|
|
1504
1492
|
"border-color-e": [{
|
|
1505
|
-
"border-e": [
|
|
1493
|
+
"border-e": [a]
|
|
1506
1494
|
}],
|
|
1507
1495
|
/**
|
|
1508
1496
|
* Border Color Top
|
|
1509
1497
|
* @see https://tailwindcss.com/docs/border-color
|
|
1510
1498
|
*/
|
|
1511
1499
|
"border-color-t": [{
|
|
1512
|
-
"border-t": [
|
|
1500
|
+
"border-t": [a]
|
|
1513
1501
|
}],
|
|
1514
1502
|
/**
|
|
1515
1503
|
* Border Color Right
|
|
1516
1504
|
* @see https://tailwindcss.com/docs/border-color
|
|
1517
1505
|
*/
|
|
1518
1506
|
"border-color-r": [{
|
|
1519
|
-
"border-r": [
|
|
1507
|
+
"border-r": [a]
|
|
1520
1508
|
}],
|
|
1521
1509
|
/**
|
|
1522
1510
|
* Border Color Bottom
|
|
1523
1511
|
* @see https://tailwindcss.com/docs/border-color
|
|
1524
1512
|
*/
|
|
1525
1513
|
"border-color-b": [{
|
|
1526
|
-
"border-b": [
|
|
1514
|
+
"border-b": [a]
|
|
1527
1515
|
}],
|
|
1528
1516
|
/**
|
|
1529
1517
|
* Border Color Left
|
|
1530
1518
|
* @see https://tailwindcss.com/docs/border-color
|
|
1531
1519
|
*/
|
|
1532
1520
|
"border-color-l": [{
|
|
1533
|
-
"border-l": [
|
|
1521
|
+
"border-l": [a]
|
|
1534
1522
|
}],
|
|
1535
1523
|
/**
|
|
1536
1524
|
* Divide Color
|
|
1537
1525
|
* @see https://tailwindcss.com/docs/divide-color
|
|
1538
1526
|
*/
|
|
1539
1527
|
"divide-color": [{
|
|
1540
|
-
divide: [
|
|
1528
|
+
divide: [a]
|
|
1541
1529
|
}],
|
|
1542
1530
|
/**
|
|
1543
1531
|
* Outline Style
|
|
@@ -1551,7 +1539,7 @@ const c = (e) => {
|
|
|
1551
1539
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1552
1540
|
*/
|
|
1553
1541
|
"outline-offset": [{
|
|
1554
|
-
"outline-offset": [k,
|
|
1542
|
+
"outline-offset": [k, l]
|
|
1555
1543
|
}],
|
|
1556
1544
|
/**
|
|
1557
1545
|
* Outline Width
|
|
@@ -1613,14 +1601,14 @@ const c = (e) => {
|
|
|
1613
1601
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
1614
1602
|
*/
|
|
1615
1603
|
shadow: [{
|
|
1616
|
-
shadow: ["", "inner", "none",
|
|
1604
|
+
shadow: ["", "inner", "none", S, Ie]
|
|
1617
1605
|
}],
|
|
1618
1606
|
/**
|
|
1619
1607
|
* Box Shadow Color
|
|
1620
1608
|
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
1621
1609
|
*/
|
|
1622
1610
|
"shadow-color": [{
|
|
1623
|
-
shadow: [
|
|
1611
|
+
shadow: [E]
|
|
1624
1612
|
}],
|
|
1625
1613
|
/**
|
|
1626
1614
|
* Opacity
|
|
@@ -1678,7 +1666,7 @@ const c = (e) => {
|
|
|
1678
1666
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
1679
1667
|
*/
|
|
1680
1668
|
"drop-shadow": [{
|
|
1681
|
-
"drop-shadow": ["", "none",
|
|
1669
|
+
"drop-shadow": ["", "none", S, l]
|
|
1682
1670
|
}],
|
|
1683
1671
|
/**
|
|
1684
1672
|
* Grayscale
|
|
@@ -1713,7 +1701,7 @@ const c = (e) => {
|
|
|
1713
1701
|
* @see https://tailwindcss.com/docs/sepia
|
|
1714
1702
|
*/
|
|
1715
1703
|
sepia: [{
|
|
1716
|
-
sepia: [
|
|
1704
|
+
sepia: [j]
|
|
1717
1705
|
}],
|
|
1718
1706
|
/**
|
|
1719
1707
|
* Backdrop Filter
|
|
@@ -1784,7 +1772,7 @@ const c = (e) => {
|
|
|
1784
1772
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
1785
1773
|
*/
|
|
1786
1774
|
"backdrop-sepia": [{
|
|
1787
|
-
"backdrop-sepia": [
|
|
1775
|
+
"backdrop-sepia": [j]
|
|
1788
1776
|
}],
|
|
1789
1777
|
// Tables
|
|
1790
1778
|
/**
|
|
@@ -1799,21 +1787,21 @@ const c = (e) => {
|
|
|
1799
1787
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
1800
1788
|
*/
|
|
1801
1789
|
"border-spacing": [{
|
|
1802
|
-
"border-spacing": [
|
|
1790
|
+
"border-spacing": [i]
|
|
1803
1791
|
}],
|
|
1804
1792
|
/**
|
|
1805
1793
|
* Border Spacing X
|
|
1806
1794
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
1807
1795
|
*/
|
|
1808
1796
|
"border-spacing-x": [{
|
|
1809
|
-
"border-spacing-x": [
|
|
1797
|
+
"border-spacing-x": [i]
|
|
1810
1798
|
}],
|
|
1811
1799
|
/**
|
|
1812
1800
|
* Border Spacing Y
|
|
1813
1801
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
1814
1802
|
*/
|
|
1815
1803
|
"border-spacing-y": [{
|
|
1816
|
-
"border-spacing-y": [
|
|
1804
|
+
"border-spacing-y": [i]
|
|
1817
1805
|
}],
|
|
1818
1806
|
/**
|
|
1819
1807
|
* Table Layout
|
|
@@ -1835,7 +1823,7 @@ const c = (e) => {
|
|
|
1835
1823
|
* @see https://tailwindcss.com/docs/transition-property
|
|
1836
1824
|
*/
|
|
1837
1825
|
transition: [{
|
|
1838
|
-
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform",
|
|
1826
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", l]
|
|
1839
1827
|
}],
|
|
1840
1828
|
/**
|
|
1841
1829
|
* Transition Duration
|
|
@@ -1849,7 +1837,7 @@ const c = (e) => {
|
|
|
1849
1837
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
1850
1838
|
*/
|
|
1851
1839
|
ease: [{
|
|
1852
|
-
ease: ["linear", "in", "out", "in-out",
|
|
1840
|
+
ease: ["linear", "in", "out", "in-out", l]
|
|
1853
1841
|
}],
|
|
1854
1842
|
/**
|
|
1855
1843
|
* Transition Delay
|
|
@@ -1863,7 +1851,7 @@ const c = (e) => {
|
|
|
1863
1851
|
* @see https://tailwindcss.com/docs/animation
|
|
1864
1852
|
*/
|
|
1865
1853
|
animate: [{
|
|
1866
|
-
animate: ["none", "spin", "ping", "pulse", "bounce",
|
|
1854
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", l]
|
|
1867
1855
|
}],
|
|
1868
1856
|
// Transforms
|
|
1869
1857
|
/**
|
|
@@ -1878,28 +1866,28 @@ const c = (e) => {
|
|
|
1878
1866
|
* @see https://tailwindcss.com/docs/scale
|
|
1879
1867
|
*/
|
|
1880
1868
|
scale: [{
|
|
1881
|
-
scale: [
|
|
1869
|
+
scale: [A]
|
|
1882
1870
|
}],
|
|
1883
1871
|
/**
|
|
1884
1872
|
* Scale X
|
|
1885
1873
|
* @see https://tailwindcss.com/docs/scale
|
|
1886
1874
|
*/
|
|
1887
1875
|
"scale-x": [{
|
|
1888
|
-
"scale-x": [
|
|
1876
|
+
"scale-x": [A]
|
|
1889
1877
|
}],
|
|
1890
1878
|
/**
|
|
1891
1879
|
* Scale Y
|
|
1892
1880
|
* @see https://tailwindcss.com/docs/scale
|
|
1893
1881
|
*/
|
|
1894
1882
|
"scale-y": [{
|
|
1895
|
-
"scale-y": [
|
|
1883
|
+
"scale-y": [A]
|
|
1896
1884
|
}],
|
|
1897
1885
|
/**
|
|
1898
1886
|
* Rotate
|
|
1899
1887
|
* @see https://tailwindcss.com/docs/rotate
|
|
1900
1888
|
*/
|
|
1901
1889
|
rotate: [{
|
|
1902
|
-
rotate: [P,
|
|
1890
|
+
rotate: [P, l]
|
|
1903
1891
|
}],
|
|
1904
1892
|
/**
|
|
1905
1893
|
* Translate X
|
|
@@ -1934,7 +1922,7 @@ const c = (e) => {
|
|
|
1934
1922
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
1935
1923
|
*/
|
|
1936
1924
|
"transform-origin": [{
|
|
1937
|
-
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left",
|
|
1925
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", l]
|
|
1938
1926
|
}],
|
|
1939
1927
|
// Interactivity
|
|
1940
1928
|
/**
|
|
@@ -1956,7 +1944,7 @@ const c = (e) => {
|
|
|
1956
1944
|
* @see https://tailwindcss.com/docs/cursor
|
|
1957
1945
|
*/
|
|
1958
1946
|
cursor: [{
|
|
1959
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
1947
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", l]
|
|
1960
1948
|
}],
|
|
1961
1949
|
/**
|
|
1962
1950
|
* Caret Color
|
|
@@ -2178,7 +2166,7 @@ const c = (e) => {
|
|
|
2178
2166
|
* @see https://tailwindcss.com/docs/will-change
|
|
2179
2167
|
*/
|
|
2180
2168
|
"will-change": [{
|
|
2181
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2169
|
+
"will-change": ["auto", "scroll", "contents", "transform", l]
|
|
2182
2170
|
}],
|
|
2183
2171
|
// SVG
|
|
2184
2172
|
/**
|
|
@@ -2268,7 +2256,7 @@ const c = (e) => {
|
|
|
2268
2256
|
"font-size": ["leading"]
|
|
2269
2257
|
}
|
|
2270
2258
|
};
|
|
2271
|
-
},
|
|
2259
|
+
}, Ne = /* @__PURE__ */ me(Le), We = (...e) => Ne(oe(e)), Ve = (e, r) => e.filter(
|
|
2272
2260
|
(t) => t.toLocaleLowerCase().indexOf(r.toLocaleLowerCase()) > -1
|
|
2273
2261
|
), Oe = !!(typeof window < "u" && window.document && window.document.createElement);
|
|
2274
2262
|
export {
|