@keeper-security/keeper-js-ui 0.1.2 → 0.2.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/CHANGELOG.md +48 -0
- package/README.md +93 -15
- package/dist/index.es.d.ts +54 -21
- package/dist/index.es.js +620 -445
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -2
package/dist/index.es.js
CHANGED
|
@@ -1,185 +1,186 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as j, Fragment as je, jsxs as Ce } from "react/jsx-runtime";
|
|
2
2
|
import * as x from "react";
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import "react-dom";
|
|
4
|
+
function ze(e, r) {
|
|
5
|
+
typeof e == "function" ? e(r) : e != null && (e.current = r);
|
|
5
6
|
}
|
|
6
|
-
function
|
|
7
|
-
return (
|
|
7
|
+
function Ne(...e) {
|
|
8
|
+
return (r) => e.forEach((t) => ze(t, r));
|
|
8
9
|
}
|
|
9
|
-
var
|
|
10
|
-
const { children:
|
|
10
|
+
var B = x.forwardRef((e, r) => {
|
|
11
|
+
const { children: t, ...o } = e, n = x.Children.toArray(t), s = n.find(Se);
|
|
11
12
|
if (s) {
|
|
12
|
-
const
|
|
13
|
-
return /* @__PURE__ */
|
|
13
|
+
const a = s.props.children, i = n.map((d) => d === s ? x.Children.count(a) > 1 ? x.Children.only(null) : x.isValidElement(a) ? a.props.children : null : d);
|
|
14
|
+
return /* @__PURE__ */ j(X, { ...o, ref: r, children: x.isValidElement(a) ? x.cloneElement(a, void 0, i) : null });
|
|
14
15
|
}
|
|
15
|
-
return /* @__PURE__ */
|
|
16
|
+
return /* @__PURE__ */ j(X, { ...o, ref: r, children: t });
|
|
16
17
|
});
|
|
17
|
-
|
|
18
|
-
var
|
|
19
|
-
const { children:
|
|
20
|
-
if (x.isValidElement(
|
|
21
|
-
const n =
|
|
22
|
-
return x.cloneElement(
|
|
23
|
-
...
|
|
18
|
+
B.displayName = "Slot";
|
|
19
|
+
var X = x.forwardRef((e, r) => {
|
|
20
|
+
const { children: t, ...o } = e;
|
|
21
|
+
if (x.isValidElement(t)) {
|
|
22
|
+
const n = Re(t);
|
|
23
|
+
return x.cloneElement(t, {
|
|
24
|
+
...Ae(o, t.props),
|
|
24
25
|
// @ts-ignore
|
|
25
|
-
ref:
|
|
26
|
+
ref: r ? Ne(r, n) : n
|
|
26
27
|
});
|
|
27
28
|
}
|
|
28
|
-
return x.Children.count(
|
|
29
|
+
return x.Children.count(t) > 1 ? x.Children.only(null) : null;
|
|
29
30
|
});
|
|
30
|
-
|
|
31
|
-
var
|
|
32
|
-
function
|
|
33
|
-
return x.isValidElement(e) && e.type ===
|
|
31
|
+
X.displayName = "SlotClone";
|
|
32
|
+
var ue = ({ children: e }) => /* @__PURE__ */ j(je, { children: e });
|
|
33
|
+
function Se(e) {
|
|
34
|
+
return x.isValidElement(e) && e.type === ue;
|
|
34
35
|
}
|
|
35
|
-
function
|
|
36
|
-
const
|
|
37
|
-
for (const o in
|
|
38
|
-
const n = e[o], s =
|
|
39
|
-
/^on[A-Z]/.test(o) ? n && s ?
|
|
36
|
+
function Ae(e, r) {
|
|
37
|
+
const t = { ...r };
|
|
38
|
+
for (const o in r) {
|
|
39
|
+
const n = e[o], s = r[o];
|
|
40
|
+
/^on[A-Z]/.test(o) ? n && s ? t[o] = (...i) => {
|
|
40
41
|
s(...i), n(...i);
|
|
41
|
-
} : n && (
|
|
42
|
+
} : n && (t[o] = n) : o === "style" ? t[o] = { ...n, ...s } : o === "className" && (t[o] = [n, s].filter(Boolean).join(" "));
|
|
42
43
|
}
|
|
43
|
-
return { ...e, ...
|
|
44
|
+
return { ...e, ...t };
|
|
44
45
|
}
|
|
45
|
-
function
|
|
46
|
+
function Re(e) {
|
|
46
47
|
var o, n;
|
|
47
|
-
let
|
|
48
|
-
return
|
|
48
|
+
let r = (o = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : o.get, t = r && "isReactWarning" in r && r.isReactWarning;
|
|
49
|
+
return t ? e.ref : (r = (n = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : n.get, t = r && "isReactWarning" in r && r.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
|
|
49
50
|
}
|
|
50
|
-
function
|
|
51
|
-
var
|
|
51
|
+
function pe(e) {
|
|
52
|
+
var r, t, o = "";
|
|
52
53
|
if (typeof e == "string" || typeof e == "number") o += e;
|
|
53
|
-
else if (typeof e == "object") if (Array.isArray(e)) for (
|
|
54
|
-
else for (
|
|
54
|
+
else if (typeof e == "object") if (Array.isArray(e)) for (r = 0; r < e.length; r++) e[r] && (t = pe(e[r])) && (o && (o += " "), o += t);
|
|
55
|
+
else for (r in e) e[r] && (o && (o += " "), o += r);
|
|
55
56
|
return o;
|
|
56
57
|
}
|
|
57
|
-
function
|
|
58
|
-
for (var e,
|
|
58
|
+
function Pe() {
|
|
59
|
+
for (var e, r, t = 0, o = ""; t < arguments.length; ) (e = arguments[t++]) && (r = pe(e)) && (o && (o += " "), o += r);
|
|
59
60
|
return o;
|
|
60
61
|
}
|
|
61
|
-
const
|
|
62
|
+
const se = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, ne = Pe, Y = (e, r) => (t) => {
|
|
62
63
|
var o;
|
|
63
|
-
if ((
|
|
64
|
-
const { variants: n, defaultVariants: s } =
|
|
65
|
-
const p =
|
|
64
|
+
if ((r == null ? void 0 : r.variants) == null) return ne(e, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
|
|
65
|
+
const { variants: n, defaultVariants: s } = r, a = Object.keys(n).map((c) => {
|
|
66
|
+
const p = t == null ? void 0 : t[c], g = s == null ? void 0 : s[c];
|
|
66
67
|
if (p === null) return null;
|
|
67
|
-
const h =
|
|
68
|
+
const h = se(p) || se(g);
|
|
68
69
|
return n[c][h];
|
|
69
|
-
}), i =
|
|
70
|
-
let [
|
|
71
|
-
return h === void 0 || (c[
|
|
72
|
-
}, {}), d =
|
|
73
|
-
let { class:
|
|
74
|
-
return Object.entries(
|
|
75
|
-
let [
|
|
70
|
+
}), i = t && Object.entries(t).reduce((c, p) => {
|
|
71
|
+
let [g, h] = p;
|
|
72
|
+
return h === void 0 || (c[g] = h), c;
|
|
73
|
+
}, {}), d = r == null || (o = r.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((c, p) => {
|
|
74
|
+
let { class: g, className: h, ...w } = p;
|
|
75
|
+
return Object.entries(w).every((v) => {
|
|
76
|
+
let [m, u] = v;
|
|
76
77
|
return Array.isArray(u) ? u.includes({
|
|
77
78
|
...s,
|
|
78
79
|
...i
|
|
79
|
-
}[
|
|
80
|
+
}[m]) : {
|
|
80
81
|
...s,
|
|
81
82
|
...i
|
|
82
|
-
}[
|
|
83
|
+
}[m] === u;
|
|
83
84
|
}) ? [
|
|
84
85
|
...c,
|
|
85
|
-
|
|
86
|
+
g,
|
|
86
87
|
h
|
|
87
88
|
] : c;
|
|
88
89
|
}, []);
|
|
89
|
-
return
|
|
90
|
+
return ne(e, a, d, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
|
|
90
91
|
};
|
|
91
|
-
function
|
|
92
|
-
var
|
|
92
|
+
function fe(e) {
|
|
93
|
+
var r, t, o = "";
|
|
93
94
|
if (typeof e == "string" || typeof e == "number") o += e;
|
|
94
95
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
95
96
|
var n = e.length;
|
|
96
|
-
for (
|
|
97
|
-
} else for (
|
|
97
|
+
for (r = 0; r < n; r++) e[r] && (t = fe(e[r])) && (o && (o += " "), o += t);
|
|
98
|
+
} else for (t in e) e[t] && (o && (o += " "), o += t);
|
|
98
99
|
return o;
|
|
99
100
|
}
|
|
100
|
-
function
|
|
101
|
-
for (var e,
|
|
101
|
+
function Me() {
|
|
102
|
+
for (var e, r, t = 0, o = "", n = arguments.length; t < n; t++) (e = arguments[t]) && (r = fe(e)) && (o && (o += " "), o += r);
|
|
102
103
|
return o;
|
|
103
104
|
}
|
|
104
|
-
const
|
|
105
|
-
const
|
|
106
|
-
conflictingClassGroups:
|
|
105
|
+
const D = "-", Ee = (e) => {
|
|
106
|
+
const r = $e(e), {
|
|
107
|
+
conflictingClassGroups: t,
|
|
107
108
|
conflictingClassGroupModifiers: o
|
|
108
109
|
} = e;
|
|
109
110
|
return {
|
|
110
|
-
getClassGroupId: (
|
|
111
|
-
const i =
|
|
112
|
-
return i[0] === "" && i.length !== 1 && i.shift(),
|
|
111
|
+
getClassGroupId: (a) => {
|
|
112
|
+
const i = a.split(D);
|
|
113
|
+
return i[0] === "" && i.length !== 1 && i.shift(), be(i, r) || Ve(a);
|
|
113
114
|
},
|
|
114
|
-
getConflictingClassGroupIds: (
|
|
115
|
-
const d =
|
|
116
|
-
return i && o[
|
|
115
|
+
getConflictingClassGroupIds: (a, i) => {
|
|
116
|
+
const d = t[a] || [];
|
|
117
|
+
return i && o[a] ? [...d, ...o[a]] : d;
|
|
117
118
|
}
|
|
118
119
|
};
|
|
119
|
-
},
|
|
120
|
-
var
|
|
120
|
+
}, be = (e, r) => {
|
|
121
|
+
var a;
|
|
121
122
|
if (e.length === 0)
|
|
122
|
-
return
|
|
123
|
-
const
|
|
123
|
+
return r.classGroupId;
|
|
124
|
+
const t = e[0], o = r.nextPart.get(t), n = o ? be(e.slice(1), o) : void 0;
|
|
124
125
|
if (n)
|
|
125
126
|
return n;
|
|
126
|
-
if (
|
|
127
|
+
if (r.validators.length === 0)
|
|
127
128
|
return;
|
|
128
|
-
const s = e.join(
|
|
129
|
-
return (
|
|
129
|
+
const s = e.join(D);
|
|
130
|
+
return (a = r.validators.find(({
|
|
130
131
|
validator: i
|
|
131
|
-
}) => i(s))) == null ? void 0 :
|
|
132
|
-
},
|
|
133
|
-
if (
|
|
134
|
-
const
|
|
135
|
-
if (
|
|
136
|
-
return "arbitrary.." +
|
|
132
|
+
}) => i(s))) == null ? void 0 : a.classGroupId;
|
|
133
|
+
}, ie = /^\[(.+)\]$/, Ve = (e) => {
|
|
134
|
+
if (ie.test(e)) {
|
|
135
|
+
const r = ie.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
|
|
136
|
+
if (t)
|
|
137
|
+
return "arbitrary.." + t;
|
|
137
138
|
}
|
|
138
|
-
},
|
|
139
|
+
}, $e = (e) => {
|
|
139
140
|
const {
|
|
140
|
-
theme:
|
|
141
|
-
prefix:
|
|
141
|
+
theme: r,
|
|
142
|
+
prefix: t
|
|
142
143
|
} = e, o = {
|
|
143
144
|
nextPart: /* @__PURE__ */ new Map(),
|
|
144
145
|
validators: []
|
|
145
146
|
};
|
|
146
|
-
return
|
|
147
|
-
|
|
147
|
+
return Ie(Object.entries(e.classGroups), t).forEach(([s, a]) => {
|
|
148
|
+
Q(a, o, s, r);
|
|
148
149
|
}), o;
|
|
149
|
-
},
|
|
150
|
+
}, Q = (e, r, t, o) => {
|
|
150
151
|
e.forEach((n) => {
|
|
151
152
|
if (typeof n == "string") {
|
|
152
|
-
const s = n === "" ?
|
|
153
|
-
s.classGroupId =
|
|
153
|
+
const s = n === "" ? r : ae(r, n);
|
|
154
|
+
s.classGroupId = t;
|
|
154
155
|
return;
|
|
155
156
|
}
|
|
156
157
|
if (typeof n == "function") {
|
|
157
|
-
if (
|
|
158
|
-
|
|
158
|
+
if (Ge(n)) {
|
|
159
|
+
Q(n(o), r, t, o);
|
|
159
160
|
return;
|
|
160
161
|
}
|
|
161
|
-
|
|
162
|
+
r.validators.push({
|
|
162
163
|
validator: n,
|
|
163
|
-
classGroupId:
|
|
164
|
+
classGroupId: t
|
|
164
165
|
});
|
|
165
166
|
return;
|
|
166
167
|
}
|
|
167
|
-
Object.entries(n).forEach(([s,
|
|
168
|
-
|
|
168
|
+
Object.entries(n).forEach(([s, a]) => {
|
|
169
|
+
Q(a, ae(r, s), t, o);
|
|
169
170
|
});
|
|
170
171
|
});
|
|
171
|
-
},
|
|
172
|
-
let
|
|
173
|
-
return
|
|
174
|
-
|
|
172
|
+
}, ae = (e, r) => {
|
|
173
|
+
let t = e;
|
|
174
|
+
return r.split(D).forEach((o) => {
|
|
175
|
+
t.nextPart.has(o) || t.nextPart.set(o, {
|
|
175
176
|
nextPart: /* @__PURE__ */ new Map(),
|
|
176
177
|
validators: []
|
|
177
|
-
}),
|
|
178
|
-
}),
|
|
179
|
-
},
|
|
180
|
-
const n = o.map((s) => typeof s == "string" ?
|
|
181
|
-
return [
|
|
182
|
-
}) : e,
|
|
178
|
+
}), t = t.nextPart.get(o);
|
|
179
|
+
}), t;
|
|
180
|
+
}, Ge = (e) => e.isThemeGetter, Ie = (e, r) => r ? e.map(([t, o]) => {
|
|
181
|
+
const n = o.map((s) => typeof s == "string" ? r + s : typeof s == "object" ? Object.fromEntries(Object.entries(s).map(([a, i]) => [r + a, i])) : s);
|
|
182
|
+
return [t, n];
|
|
183
|
+
}) : e, Te = (e) => {
|
|
183
184
|
if (e < 1)
|
|
184
185
|
return {
|
|
185
186
|
get: () => {
|
|
@@ -187,179 +188,179 @@ const X = "-", Ae = (e) => {
|
|
|
187
188
|
set: () => {
|
|
188
189
|
}
|
|
189
190
|
};
|
|
190
|
-
let
|
|
191
|
-
const n = (s,
|
|
192
|
-
|
|
191
|
+
let r = 0, t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
|
|
192
|
+
const n = (s, a) => {
|
|
193
|
+
t.set(s, a), r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ new Map());
|
|
193
194
|
};
|
|
194
195
|
return {
|
|
195
196
|
get(s) {
|
|
196
|
-
let
|
|
197
|
-
if (
|
|
198
|
-
return
|
|
199
|
-
if ((
|
|
200
|
-
return n(s,
|
|
197
|
+
let a = t.get(s);
|
|
198
|
+
if (a !== void 0)
|
|
199
|
+
return a;
|
|
200
|
+
if ((a = o.get(s)) !== void 0)
|
|
201
|
+
return n(s, a), a;
|
|
201
202
|
},
|
|
202
|
-
set(s,
|
|
203
|
-
|
|
203
|
+
set(s, a) {
|
|
204
|
+
t.has(s) ? t.set(s, a) : n(s, a);
|
|
204
205
|
}
|
|
205
206
|
};
|
|
206
|
-
},
|
|
207
|
+
}, me = "!", Oe = (e) => {
|
|
207
208
|
const {
|
|
208
|
-
separator:
|
|
209
|
-
experimentalParseClassName:
|
|
210
|
-
} = e, o =
|
|
209
|
+
separator: r,
|
|
210
|
+
experimentalParseClassName: t
|
|
211
|
+
} = e, o = r.length === 1, n = r[0], s = r.length, a = (i) => {
|
|
211
212
|
const d = [];
|
|
212
|
-
let c = 0, p = 0,
|
|
213
|
+
let c = 0, p = 0, g;
|
|
213
214
|
for (let u = 0; u < i.length; u++) {
|
|
214
215
|
let y = i[u];
|
|
215
216
|
if (c === 0) {
|
|
216
|
-
if (y === n && (o || i.slice(u, u + s) ===
|
|
217
|
+
if (y === n && (o || i.slice(u, u + s) === r)) {
|
|
217
218
|
d.push(i.slice(p, u)), p = u + s;
|
|
218
219
|
continue;
|
|
219
220
|
}
|
|
220
221
|
if (y === "/") {
|
|
221
|
-
|
|
222
|
+
g = u;
|
|
222
223
|
continue;
|
|
223
224
|
}
|
|
224
225
|
}
|
|
225
226
|
y === "[" ? c++ : y === "]" && c--;
|
|
226
227
|
}
|
|
227
|
-
const h = d.length === 0 ? i : i.substring(p),
|
|
228
|
+
const h = d.length === 0 ? i : i.substring(p), w = h.startsWith(me), v = w ? h.substring(1) : h, m = g && g > p ? g - p : void 0;
|
|
228
229
|
return {
|
|
229
230
|
modifiers: d,
|
|
230
|
-
hasImportantModifier:
|
|
231
|
+
hasImportantModifier: w,
|
|
231
232
|
baseClassName: v,
|
|
232
|
-
maybePostfixModifierPosition:
|
|
233
|
+
maybePostfixModifierPosition: m
|
|
233
234
|
};
|
|
234
235
|
};
|
|
235
|
-
return
|
|
236
|
+
return t ? (i) => t({
|
|
236
237
|
className: i,
|
|
237
|
-
parseClassName:
|
|
238
|
-
}) :
|
|
239
|
-
},
|
|
238
|
+
parseClassName: a
|
|
239
|
+
}) : a;
|
|
240
|
+
}, We = (e) => {
|
|
240
241
|
if (e.length <= 1)
|
|
241
242
|
return e;
|
|
242
|
-
const
|
|
243
|
-
let
|
|
243
|
+
const r = [];
|
|
244
|
+
let t = [];
|
|
244
245
|
return e.forEach((o) => {
|
|
245
|
-
o[0] === "[" ? (
|
|
246
|
-
}),
|
|
247
|
-
},
|
|
248
|
-
cache:
|
|
249
|
-
parseClassName:
|
|
250
|
-
...
|
|
251
|
-
}),
|
|
246
|
+
o[0] === "[" ? (r.push(...t.sort(), o), t = []) : t.push(o);
|
|
247
|
+
}), r.push(...t.sort()), r;
|
|
248
|
+
}, Le = (e) => ({
|
|
249
|
+
cache: Te(e.cacheSize),
|
|
250
|
+
parseClassName: Oe(e),
|
|
251
|
+
...Ee(e)
|
|
252
|
+
}), Be = /\s+/, Fe = (e, r) => {
|
|
252
253
|
const {
|
|
253
|
-
parseClassName:
|
|
254
|
+
parseClassName: t,
|
|
254
255
|
getClassGroupId: o,
|
|
255
256
|
getConflictingClassGroupIds: n
|
|
256
|
-
} =
|
|
257
|
+
} = r, s = [], a = e.trim().split(Be);
|
|
257
258
|
let i = "";
|
|
258
|
-
for (let d =
|
|
259
|
-
const c =
|
|
259
|
+
for (let d = a.length - 1; d >= 0; d -= 1) {
|
|
260
|
+
const c = a[d], {
|
|
260
261
|
modifiers: p,
|
|
261
|
-
hasImportantModifier:
|
|
262
|
+
hasImportantModifier: g,
|
|
262
263
|
baseClassName: h,
|
|
263
|
-
maybePostfixModifierPosition:
|
|
264
|
-
} =
|
|
265
|
-
let v = !!
|
|
266
|
-
if (!
|
|
264
|
+
maybePostfixModifierPosition: w
|
|
265
|
+
} = t(c);
|
|
266
|
+
let v = !!w, m = o(v ? h.substring(0, w) : h);
|
|
267
|
+
if (!m) {
|
|
267
268
|
if (!v) {
|
|
268
269
|
i = c + (i.length > 0 ? " " + i : i);
|
|
269
270
|
continue;
|
|
270
271
|
}
|
|
271
|
-
if (
|
|
272
|
+
if (m = o(h), !m) {
|
|
272
273
|
i = c + (i.length > 0 ? " " + i : i);
|
|
273
274
|
continue;
|
|
274
275
|
}
|
|
275
276
|
v = !1;
|
|
276
277
|
}
|
|
277
|
-
const u =
|
|
278
|
-
if (s.includes(
|
|
278
|
+
const u = We(p).join(":"), y = g ? u + me : u, k = y + m;
|
|
279
|
+
if (s.includes(k))
|
|
279
280
|
continue;
|
|
280
|
-
s.push(
|
|
281
|
-
const
|
|
282
|
-
for (let
|
|
283
|
-
const P =
|
|
281
|
+
s.push(k);
|
|
282
|
+
const z = n(m, v);
|
|
283
|
+
for (let C = 0; C < z.length; ++C) {
|
|
284
|
+
const P = z[C];
|
|
284
285
|
s.push(y + P);
|
|
285
286
|
}
|
|
286
287
|
i = c + (i.length > 0 ? " " + i : i);
|
|
287
288
|
}
|
|
288
289
|
return i;
|
|
289
290
|
};
|
|
290
|
-
function
|
|
291
|
-
let e = 0,
|
|
291
|
+
function _e() {
|
|
292
|
+
let e = 0, r, t, o = "";
|
|
292
293
|
for (; e < arguments.length; )
|
|
293
|
-
(
|
|
294
|
+
(r = arguments[e++]) && (t = ge(r)) && (o && (o += " "), o += t);
|
|
294
295
|
return o;
|
|
295
296
|
}
|
|
296
|
-
const
|
|
297
|
+
const ge = (e) => {
|
|
297
298
|
if (typeof e == "string")
|
|
298
299
|
return e;
|
|
299
|
-
let
|
|
300
|
+
let r, t = "";
|
|
300
301
|
for (let o = 0; o < e.length; o++)
|
|
301
|
-
e[o] && (
|
|
302
|
-
return
|
|
302
|
+
e[o] && (r = ge(e[o])) && (t && (t += " "), t += r);
|
|
303
|
+
return t;
|
|
303
304
|
};
|
|
304
|
-
function
|
|
305
|
-
let
|
|
306
|
-
function
|
|
307
|
-
const c =
|
|
308
|
-
return
|
|
305
|
+
function le(e, ...r) {
|
|
306
|
+
let t, o, n, s = a;
|
|
307
|
+
function a(d) {
|
|
308
|
+
const c = r.reduce((p, g) => g(p), e());
|
|
309
|
+
return t = Le(c), o = t.cache.get, n = t.cache.set, s = i, i(d);
|
|
309
310
|
}
|
|
310
311
|
function i(d) {
|
|
311
312
|
const c = o(d);
|
|
312
313
|
if (c)
|
|
313
314
|
return c;
|
|
314
|
-
const p =
|
|
315
|
+
const p = Fe(d, t);
|
|
315
316
|
return n(d, p), p;
|
|
316
317
|
}
|
|
317
318
|
return function() {
|
|
318
|
-
return s(
|
|
319
|
+
return s(_e.apply(null, arguments));
|
|
319
320
|
};
|
|
320
321
|
}
|
|
321
|
-
const
|
|
322
|
-
const
|
|
323
|
-
return
|
|
324
|
-
},
|
|
325
|
-
const o =
|
|
326
|
-
return o ? o[1] ? typeof
|
|
327
|
-
},
|
|
322
|
+
const b = (e) => {
|
|
323
|
+
const r = (t) => t[e] || [];
|
|
324
|
+
return r.isThemeGetter = !0, r;
|
|
325
|
+
}, he = /^\[(?:([a-z-]+):)?(.+)\]$/i, Ue = /^\d+\/\d+$/, qe = /* @__PURE__ */ new Set(["px", "full", "screen"]), He = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ke = /\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$/, Ze = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Je = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Xe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, S = (e) => M(e) || qe.has(e) || Ue.test(e), A = (e) => E(e, "length", sr), M = (e) => !!e && !Number.isNaN(Number(e)), J = (e) => E(e, "number", M), O = (e) => !!e && Number.isInteger(Number(e)), Qe = (e) => e.endsWith("%") && M(e.slice(0, -1)), l = (e) => he.test(e), R = (e) => He.test(e), Ye = /* @__PURE__ */ new Set(["length", "size", "percentage"]), De = (e) => E(e, Ye, ye), er = (e) => E(e, "position", ye), rr = /* @__PURE__ */ new Set(["image", "url"]), tr = (e) => E(e, rr, ir), or = (e) => E(e, "", nr), W = () => !0, E = (e, r, t) => {
|
|
326
|
+
const o = he.exec(e);
|
|
327
|
+
return o ? o[1] ? typeof r == "string" ? o[1] === r : r.has(o[1]) : t(o[2]) : !1;
|
|
328
|
+
}, sr = (e) => (
|
|
328
329
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
329
330
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
330
331
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
331
|
-
|
|
332
|
-
),
|
|
333
|
-
const e =
|
|
332
|
+
Ke.test(e) && !Ze.test(e)
|
|
333
|
+
), ye = () => !1, nr = (e) => Je.test(e), ir = (e) => Xe.test(e), ce = () => {
|
|
334
|
+
const e = b("colors"), r = b("spacing"), t = b("blur"), o = b("brightness"), n = b("borderColor"), s = b("borderRadius"), a = b("borderSpacing"), i = b("borderWidth"), d = b("contrast"), c = b("grayscale"), p = b("hueRotate"), g = b("invert"), h = b("gap"), w = b("gradientColorStops"), v = b("gradientColorStopPositions"), m = b("inset"), u = b("margin"), y = b("opacity"), k = b("padding"), z = b("saturate"), C = b("scale"), P = b("sepia"), F = b("skew"), _ = b("space"), U = b("translate"), V = () => ["auto", "contain", "none"], $ = () => ["auto", "hidden", "clip", "visible", "scroll"], G = () => ["auto", l, r], f = () => [l, r], q = () => ["", S, A], I = () => ["auto", M, l], re = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], H = () => ["solid", "dashed", "dotted", "double", "none"], te = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Z = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], T = () => ["", "0", l], oe = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], N = () => [M, l];
|
|
334
335
|
return {
|
|
335
336
|
cacheSize: 500,
|
|
336
337
|
separator: ":",
|
|
337
338
|
theme: {
|
|
338
339
|
colors: [W],
|
|
339
|
-
spacing: [
|
|
340
|
-
blur: ["none", "",
|
|
341
|
-
brightness:
|
|
340
|
+
spacing: [S, A],
|
|
341
|
+
blur: ["none", "", R, l],
|
|
342
|
+
brightness: N(),
|
|
342
343
|
borderColor: [e],
|
|
343
|
-
borderRadius: ["none", "", "full",
|
|
344
|
-
borderSpacing:
|
|
345
|
-
borderWidth:
|
|
346
|
-
contrast:
|
|
347
|
-
grayscale:
|
|
348
|
-
hueRotate:
|
|
349
|
-
invert:
|
|
350
|
-
gap:
|
|
344
|
+
borderRadius: ["none", "", "full", R, l],
|
|
345
|
+
borderSpacing: f(),
|
|
346
|
+
borderWidth: q(),
|
|
347
|
+
contrast: N(),
|
|
348
|
+
grayscale: T(),
|
|
349
|
+
hueRotate: N(),
|
|
350
|
+
invert: T(),
|
|
351
|
+
gap: f(),
|
|
351
352
|
gradientColorStops: [e],
|
|
352
|
-
gradientColorStopPositions: [
|
|
353
|
-
inset:
|
|
354
|
-
margin:
|
|
355
|
-
opacity:
|
|
356
|
-
padding:
|
|
357
|
-
saturate:
|
|
358
|
-
scale:
|
|
359
|
-
sepia:
|
|
360
|
-
skew:
|
|
361
|
-
space:
|
|
362
|
-
translate:
|
|
353
|
+
gradientColorStopPositions: [Qe, A],
|
|
354
|
+
inset: G(),
|
|
355
|
+
margin: G(),
|
|
356
|
+
opacity: N(),
|
|
357
|
+
padding: f(),
|
|
358
|
+
saturate: N(),
|
|
359
|
+
scale: N(),
|
|
360
|
+
sepia: T(),
|
|
361
|
+
skew: N(),
|
|
362
|
+
space: f(),
|
|
363
|
+
translate: f()
|
|
363
364
|
},
|
|
364
365
|
classGroups: {
|
|
365
366
|
// Layout
|
|
@@ -368,7 +369,7 @@ const f = (e) => {
|
|
|
368
369
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
369
370
|
*/
|
|
370
371
|
aspect: [{
|
|
371
|
-
aspect: ["auto", "square", "video",
|
|
372
|
+
aspect: ["auto", "square", "video", l]
|
|
372
373
|
}],
|
|
373
374
|
/**
|
|
374
375
|
* Container
|
|
@@ -380,21 +381,21 @@ const f = (e) => {
|
|
|
380
381
|
* @see https://tailwindcss.com/docs/columns
|
|
381
382
|
*/
|
|
382
383
|
columns: [{
|
|
383
|
-
columns: [
|
|
384
|
+
columns: [R]
|
|
384
385
|
}],
|
|
385
386
|
/**
|
|
386
387
|
* Break After
|
|
387
388
|
* @see https://tailwindcss.com/docs/break-after
|
|
388
389
|
*/
|
|
389
390
|
"break-after": [{
|
|
390
|
-
"break-after":
|
|
391
|
+
"break-after": oe()
|
|
391
392
|
}],
|
|
392
393
|
/**
|
|
393
394
|
* Break Before
|
|
394
395
|
* @see https://tailwindcss.com/docs/break-before
|
|
395
396
|
*/
|
|
396
397
|
"break-before": [{
|
|
397
|
-
"break-before":
|
|
398
|
+
"break-before": oe()
|
|
398
399
|
}],
|
|
399
400
|
/**
|
|
400
401
|
* Break Inside
|
|
@@ -453,49 +454,49 @@ const f = (e) => {
|
|
|
453
454
|
* @see https://tailwindcss.com/docs/object-position
|
|
454
455
|
*/
|
|
455
456
|
"object-position": [{
|
|
456
|
-
object: [...
|
|
457
|
+
object: [...re(), l]
|
|
457
458
|
}],
|
|
458
459
|
/**
|
|
459
460
|
* Overflow
|
|
460
461
|
* @see https://tailwindcss.com/docs/overflow
|
|
461
462
|
*/
|
|
462
463
|
overflow: [{
|
|
463
|
-
overflow:
|
|
464
|
+
overflow: $()
|
|
464
465
|
}],
|
|
465
466
|
/**
|
|
466
467
|
* Overflow X
|
|
467
468
|
* @see https://tailwindcss.com/docs/overflow
|
|
468
469
|
*/
|
|
469
470
|
"overflow-x": [{
|
|
470
|
-
"overflow-x":
|
|
471
|
+
"overflow-x": $()
|
|
471
472
|
}],
|
|
472
473
|
/**
|
|
473
474
|
* Overflow Y
|
|
474
475
|
* @see https://tailwindcss.com/docs/overflow
|
|
475
476
|
*/
|
|
476
477
|
"overflow-y": [{
|
|
477
|
-
"overflow-y":
|
|
478
|
+
"overflow-y": $()
|
|
478
479
|
}],
|
|
479
480
|
/**
|
|
480
481
|
* Overscroll Behavior
|
|
481
482
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
482
483
|
*/
|
|
483
484
|
overscroll: [{
|
|
484
|
-
overscroll:
|
|
485
|
+
overscroll: V()
|
|
485
486
|
}],
|
|
486
487
|
/**
|
|
487
488
|
* Overscroll Behavior X
|
|
488
489
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
489
490
|
*/
|
|
490
491
|
"overscroll-x": [{
|
|
491
|
-
"overscroll-x":
|
|
492
|
+
"overscroll-x": V()
|
|
492
493
|
}],
|
|
493
494
|
/**
|
|
494
495
|
* Overscroll Behavior Y
|
|
495
496
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
496
497
|
*/
|
|
497
498
|
"overscroll-y": [{
|
|
498
|
-
"overscroll-y":
|
|
499
|
+
"overscroll-y": V()
|
|
499
500
|
}],
|
|
500
501
|
/**
|
|
501
502
|
* Position
|
|
@@ -507,63 +508,63 @@ const f = (e) => {
|
|
|
507
508
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
508
509
|
*/
|
|
509
510
|
inset: [{
|
|
510
|
-
inset: [
|
|
511
|
+
inset: [m]
|
|
511
512
|
}],
|
|
512
513
|
/**
|
|
513
514
|
* Right / Left
|
|
514
515
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
515
516
|
*/
|
|
516
517
|
"inset-x": [{
|
|
517
|
-
"inset-x": [
|
|
518
|
+
"inset-x": [m]
|
|
518
519
|
}],
|
|
519
520
|
/**
|
|
520
521
|
* Top / Bottom
|
|
521
522
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
522
523
|
*/
|
|
523
524
|
"inset-y": [{
|
|
524
|
-
"inset-y": [
|
|
525
|
+
"inset-y": [m]
|
|
525
526
|
}],
|
|
526
527
|
/**
|
|
527
528
|
* Start
|
|
528
529
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
529
530
|
*/
|
|
530
531
|
start: [{
|
|
531
|
-
start: [
|
|
532
|
+
start: [m]
|
|
532
533
|
}],
|
|
533
534
|
/**
|
|
534
535
|
* End
|
|
535
536
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
536
537
|
*/
|
|
537
538
|
end: [{
|
|
538
|
-
end: [
|
|
539
|
+
end: [m]
|
|
539
540
|
}],
|
|
540
541
|
/**
|
|
541
542
|
* Top
|
|
542
543
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
543
544
|
*/
|
|
544
545
|
top: [{
|
|
545
|
-
top: [
|
|
546
|
+
top: [m]
|
|
546
547
|
}],
|
|
547
548
|
/**
|
|
548
549
|
* Right
|
|
549
550
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
550
551
|
*/
|
|
551
552
|
right: [{
|
|
552
|
-
right: [
|
|
553
|
+
right: [m]
|
|
553
554
|
}],
|
|
554
555
|
/**
|
|
555
556
|
* Bottom
|
|
556
557
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
557
558
|
*/
|
|
558
559
|
bottom: [{
|
|
559
|
-
bottom: [
|
|
560
|
+
bottom: [m]
|
|
560
561
|
}],
|
|
561
562
|
/**
|
|
562
563
|
* Left
|
|
563
564
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
564
565
|
*/
|
|
565
566
|
left: [{
|
|
566
|
-
left: [
|
|
567
|
+
left: [m]
|
|
567
568
|
}],
|
|
568
569
|
/**
|
|
569
570
|
* Visibility
|
|
@@ -575,7 +576,7 @@ const f = (e) => {
|
|
|
575
576
|
* @see https://tailwindcss.com/docs/z-index
|
|
576
577
|
*/
|
|
577
578
|
z: [{
|
|
578
|
-
z: ["auto",
|
|
579
|
+
z: ["auto", O, l]
|
|
579
580
|
}],
|
|
580
581
|
// Flexbox and Grid
|
|
581
582
|
/**
|
|
@@ -583,7 +584,7 @@ const f = (e) => {
|
|
|
583
584
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
584
585
|
*/
|
|
585
586
|
basis: [{
|
|
586
|
-
basis:
|
|
587
|
+
basis: G()
|
|
587
588
|
}],
|
|
588
589
|
/**
|
|
589
590
|
* Flex Direction
|
|
@@ -604,28 +605,28 @@ const f = (e) => {
|
|
|
604
605
|
* @see https://tailwindcss.com/docs/flex
|
|
605
606
|
*/
|
|
606
607
|
flex: [{
|
|
607
|
-
flex: ["1", "auto", "initial", "none",
|
|
608
|
+
flex: ["1", "auto", "initial", "none", l]
|
|
608
609
|
}],
|
|
609
610
|
/**
|
|
610
611
|
* Flex Grow
|
|
611
612
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
612
613
|
*/
|
|
613
614
|
grow: [{
|
|
614
|
-
grow:
|
|
615
|
+
grow: T()
|
|
615
616
|
}],
|
|
616
617
|
/**
|
|
617
618
|
* Flex Shrink
|
|
618
619
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
619
620
|
*/
|
|
620
621
|
shrink: [{
|
|
621
|
-
shrink:
|
|
622
|
+
shrink: T()
|
|
622
623
|
}],
|
|
623
624
|
/**
|
|
624
625
|
* Order
|
|
625
626
|
* @see https://tailwindcss.com/docs/order
|
|
626
627
|
*/
|
|
627
628
|
order: [{
|
|
628
|
-
order: ["first", "last", "none",
|
|
629
|
+
order: ["first", "last", "none", O, l]
|
|
629
630
|
}],
|
|
630
631
|
/**
|
|
631
632
|
* Grid Template Columns
|
|
@@ -640,22 +641,22 @@ const f = (e) => {
|
|
|
640
641
|
*/
|
|
641
642
|
"col-start-end": [{
|
|
642
643
|
col: ["auto", {
|
|
643
|
-
span: ["full",
|
|
644
|
-
},
|
|
644
|
+
span: ["full", O, l]
|
|
645
|
+
}, l]
|
|
645
646
|
}],
|
|
646
647
|
/**
|
|
647
648
|
* Grid Column Start
|
|
648
649
|
* @see https://tailwindcss.com/docs/grid-column
|
|
649
650
|
*/
|
|
650
651
|
"col-start": [{
|
|
651
|
-
"col-start":
|
|
652
|
+
"col-start": I()
|
|
652
653
|
}],
|
|
653
654
|
/**
|
|
654
655
|
* Grid Column End
|
|
655
656
|
* @see https://tailwindcss.com/docs/grid-column
|
|
656
657
|
*/
|
|
657
658
|
"col-end": [{
|
|
658
|
-
"col-end":
|
|
659
|
+
"col-end": I()
|
|
659
660
|
}],
|
|
660
661
|
/**
|
|
661
662
|
* Grid Template Rows
|
|
@@ -670,22 +671,22 @@ const f = (e) => {
|
|
|
670
671
|
*/
|
|
671
672
|
"row-start-end": [{
|
|
672
673
|
row: ["auto", {
|
|
673
|
-
span: [
|
|
674
|
-
},
|
|
674
|
+
span: [O, l]
|
|
675
|
+
}, l]
|
|
675
676
|
}],
|
|
676
677
|
/**
|
|
677
678
|
* Grid Row Start
|
|
678
679
|
* @see https://tailwindcss.com/docs/grid-row
|
|
679
680
|
*/
|
|
680
681
|
"row-start": [{
|
|
681
|
-
"row-start":
|
|
682
|
+
"row-start": I()
|
|
682
683
|
}],
|
|
683
684
|
/**
|
|
684
685
|
* Grid Row End
|
|
685
686
|
* @see https://tailwindcss.com/docs/grid-row
|
|
686
687
|
*/
|
|
687
688
|
"row-end": [{
|
|
688
|
-
"row-end":
|
|
689
|
+
"row-end": I()
|
|
689
690
|
}],
|
|
690
691
|
/**
|
|
691
692
|
* Grid Auto Flow
|
|
@@ -699,14 +700,14 @@ const f = (e) => {
|
|
|
699
700
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
700
701
|
*/
|
|
701
702
|
"auto-cols": [{
|
|
702
|
-
"auto-cols": ["auto", "min", "max", "fr",
|
|
703
|
+
"auto-cols": ["auto", "min", "max", "fr", l]
|
|
703
704
|
}],
|
|
704
705
|
/**
|
|
705
706
|
* Grid Auto Rows
|
|
706
707
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
707
708
|
*/
|
|
708
709
|
"auto-rows": [{
|
|
709
|
-
"auto-rows": ["auto", "min", "max", "fr",
|
|
710
|
+
"auto-rows": ["auto", "min", "max", "fr", l]
|
|
710
711
|
}],
|
|
711
712
|
/**
|
|
712
713
|
* Gap
|
|
@@ -734,7 +735,7 @@ const f = (e) => {
|
|
|
734
735
|
* @see https://tailwindcss.com/docs/justify-content
|
|
735
736
|
*/
|
|
736
737
|
"justify-content": [{
|
|
737
|
-
justify: ["normal", ...
|
|
738
|
+
justify: ["normal", ...Z()]
|
|
738
739
|
}],
|
|
739
740
|
/**
|
|
740
741
|
* Justify Items
|
|
@@ -755,7 +756,7 @@ const f = (e) => {
|
|
|
755
756
|
* @see https://tailwindcss.com/docs/align-content
|
|
756
757
|
*/
|
|
757
758
|
"align-content": [{
|
|
758
|
-
content: ["normal", ...
|
|
759
|
+
content: ["normal", ...Z(), "baseline"]
|
|
759
760
|
}],
|
|
760
761
|
/**
|
|
761
762
|
* Align Items
|
|
@@ -776,7 +777,7 @@ const f = (e) => {
|
|
|
776
777
|
* @see https://tailwindcss.com/docs/place-content
|
|
777
778
|
*/
|
|
778
779
|
"place-content": [{
|
|
779
|
-
"place-content": [...
|
|
780
|
+
"place-content": [...Z(), "baseline"]
|
|
780
781
|
}],
|
|
781
782
|
/**
|
|
782
783
|
* Place Items
|
|
@@ -798,63 +799,63 @@ const f = (e) => {
|
|
|
798
799
|
* @see https://tailwindcss.com/docs/padding
|
|
799
800
|
*/
|
|
800
801
|
p: [{
|
|
801
|
-
p: [
|
|
802
|
+
p: [k]
|
|
802
803
|
}],
|
|
803
804
|
/**
|
|
804
805
|
* Padding X
|
|
805
806
|
* @see https://tailwindcss.com/docs/padding
|
|
806
807
|
*/
|
|
807
808
|
px: [{
|
|
808
|
-
px: [
|
|
809
|
+
px: [k]
|
|
809
810
|
}],
|
|
810
811
|
/**
|
|
811
812
|
* Padding Y
|
|
812
813
|
* @see https://tailwindcss.com/docs/padding
|
|
813
814
|
*/
|
|
814
815
|
py: [{
|
|
815
|
-
py: [
|
|
816
|
+
py: [k]
|
|
816
817
|
}],
|
|
817
818
|
/**
|
|
818
819
|
* Padding Start
|
|
819
820
|
* @see https://tailwindcss.com/docs/padding
|
|
820
821
|
*/
|
|
821
822
|
ps: [{
|
|
822
|
-
ps: [
|
|
823
|
+
ps: [k]
|
|
823
824
|
}],
|
|
824
825
|
/**
|
|
825
826
|
* Padding End
|
|
826
827
|
* @see https://tailwindcss.com/docs/padding
|
|
827
828
|
*/
|
|
828
829
|
pe: [{
|
|
829
|
-
pe: [
|
|
830
|
+
pe: [k]
|
|
830
831
|
}],
|
|
831
832
|
/**
|
|
832
833
|
* Padding Top
|
|
833
834
|
* @see https://tailwindcss.com/docs/padding
|
|
834
835
|
*/
|
|
835
836
|
pt: [{
|
|
836
|
-
pt: [
|
|
837
|
+
pt: [k]
|
|
837
838
|
}],
|
|
838
839
|
/**
|
|
839
840
|
* Padding Right
|
|
840
841
|
* @see https://tailwindcss.com/docs/padding
|
|
841
842
|
*/
|
|
842
843
|
pr: [{
|
|
843
|
-
pr: [
|
|
844
|
+
pr: [k]
|
|
844
845
|
}],
|
|
845
846
|
/**
|
|
846
847
|
* Padding Bottom
|
|
847
848
|
* @see https://tailwindcss.com/docs/padding
|
|
848
849
|
*/
|
|
849
850
|
pb: [{
|
|
850
|
-
pb: [
|
|
851
|
+
pb: [k]
|
|
851
852
|
}],
|
|
852
853
|
/**
|
|
853
854
|
* Padding Left
|
|
854
855
|
* @see https://tailwindcss.com/docs/padding
|
|
855
856
|
*/
|
|
856
857
|
pl: [{
|
|
857
|
-
pl: [
|
|
858
|
+
pl: [k]
|
|
858
859
|
}],
|
|
859
860
|
/**
|
|
860
861
|
* Margin
|
|
@@ -924,7 +925,7 @@ const f = (e) => {
|
|
|
924
925
|
* @see https://tailwindcss.com/docs/space
|
|
925
926
|
*/
|
|
926
927
|
"space-x": [{
|
|
927
|
-
"space-x": [
|
|
928
|
+
"space-x": [_]
|
|
928
929
|
}],
|
|
929
930
|
/**
|
|
930
931
|
* Space Between X Reverse
|
|
@@ -936,7 +937,7 @@ const f = (e) => {
|
|
|
936
937
|
* @see https://tailwindcss.com/docs/space
|
|
937
938
|
*/
|
|
938
939
|
"space-y": [{
|
|
939
|
-
"space-y": [
|
|
940
|
+
"space-y": [_]
|
|
940
941
|
}],
|
|
941
942
|
/**
|
|
942
943
|
* Space Between Y Reverse
|
|
@@ -949,51 +950,51 @@ const f = (e) => {
|
|
|
949
950
|
* @see https://tailwindcss.com/docs/width
|
|
950
951
|
*/
|
|
951
952
|
w: [{
|
|
952
|
-
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw",
|
|
953
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", l, r]
|
|
953
954
|
}],
|
|
954
955
|
/**
|
|
955
956
|
* Min-Width
|
|
956
957
|
* @see https://tailwindcss.com/docs/min-width
|
|
957
958
|
*/
|
|
958
959
|
"min-w": [{
|
|
959
|
-
"min-w": [
|
|
960
|
+
"min-w": [l, r, "min", "max", "fit"]
|
|
960
961
|
}],
|
|
961
962
|
/**
|
|
962
963
|
* Max-Width
|
|
963
964
|
* @see https://tailwindcss.com/docs/max-width
|
|
964
965
|
*/
|
|
965
966
|
"max-w": [{
|
|
966
|
-
"max-w": [
|
|
967
|
-
screen: [
|
|
968
|
-
},
|
|
967
|
+
"max-w": [l, r, "none", "full", "min", "max", "fit", "prose", {
|
|
968
|
+
screen: [R]
|
|
969
|
+
}, R]
|
|
969
970
|
}],
|
|
970
971
|
/**
|
|
971
972
|
* Height
|
|
972
973
|
* @see https://tailwindcss.com/docs/height
|
|
973
974
|
*/
|
|
974
975
|
h: [{
|
|
975
|
-
h: [
|
|
976
|
+
h: [l, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
976
977
|
}],
|
|
977
978
|
/**
|
|
978
979
|
* Min-Height
|
|
979
980
|
* @see https://tailwindcss.com/docs/min-height
|
|
980
981
|
*/
|
|
981
982
|
"min-h": [{
|
|
982
|
-
"min-h": [
|
|
983
|
+
"min-h": [l, r, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
983
984
|
}],
|
|
984
985
|
/**
|
|
985
986
|
* Max-Height
|
|
986
987
|
* @see https://tailwindcss.com/docs/max-height
|
|
987
988
|
*/
|
|
988
989
|
"max-h": [{
|
|
989
|
-
"max-h": [
|
|
990
|
+
"max-h": [l, r, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
990
991
|
}],
|
|
991
992
|
/**
|
|
992
993
|
* Size
|
|
993
994
|
* @see https://tailwindcss.com/docs/size
|
|
994
995
|
*/
|
|
995
996
|
size: [{
|
|
996
|
-
size: [
|
|
997
|
+
size: [l, r, "auto", "min", "max", "fit"]
|
|
997
998
|
}],
|
|
998
999
|
// Typography
|
|
999
1000
|
/**
|
|
@@ -1001,7 +1002,7 @@ const f = (e) => {
|
|
|
1001
1002
|
* @see https://tailwindcss.com/docs/font-size
|
|
1002
1003
|
*/
|
|
1003
1004
|
"font-size": [{
|
|
1004
|
-
text: ["base",
|
|
1005
|
+
text: ["base", R, A]
|
|
1005
1006
|
}],
|
|
1006
1007
|
/**
|
|
1007
1008
|
* Font Smoothing
|
|
@@ -1018,7 +1019,7 @@ const f = (e) => {
|
|
|
1018
1019
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1019
1020
|
*/
|
|
1020
1021
|
"font-weight": [{
|
|
1021
|
-
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black",
|
|
1022
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", J]
|
|
1022
1023
|
}],
|
|
1023
1024
|
/**
|
|
1024
1025
|
* Font Family
|
|
@@ -1062,35 +1063,35 @@ const f = (e) => {
|
|
|
1062
1063
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1063
1064
|
*/
|
|
1064
1065
|
tracking: [{
|
|
1065
|
-
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest",
|
|
1066
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", l]
|
|
1066
1067
|
}],
|
|
1067
1068
|
/**
|
|
1068
1069
|
* Line Clamp
|
|
1069
1070
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1070
1071
|
*/
|
|
1071
1072
|
"line-clamp": [{
|
|
1072
|
-
"line-clamp": ["none", M,
|
|
1073
|
+
"line-clamp": ["none", M, J]
|
|
1073
1074
|
}],
|
|
1074
1075
|
/**
|
|
1075
1076
|
* Line Height
|
|
1076
1077
|
* @see https://tailwindcss.com/docs/line-height
|
|
1077
1078
|
*/
|
|
1078
1079
|
leading: [{
|
|
1079
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose",
|
|
1080
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", S, l]
|
|
1080
1081
|
}],
|
|
1081
1082
|
/**
|
|
1082
1083
|
* List Style Image
|
|
1083
1084
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1084
1085
|
*/
|
|
1085
1086
|
"list-image": [{
|
|
1086
|
-
"list-image": ["none",
|
|
1087
|
+
"list-image": ["none", l]
|
|
1087
1088
|
}],
|
|
1088
1089
|
/**
|
|
1089
1090
|
* List Style Type
|
|
1090
1091
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1091
1092
|
*/
|
|
1092
1093
|
"list-style-type": [{
|
|
1093
|
-
list: ["none", "disc", "decimal",
|
|
1094
|
+
list: ["none", "disc", "decimal", l]
|
|
1094
1095
|
}],
|
|
1095
1096
|
/**
|
|
1096
1097
|
* List Style Position
|
|
@@ -1145,21 +1146,21 @@ const f = (e) => {
|
|
|
1145
1146
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1146
1147
|
*/
|
|
1147
1148
|
"text-decoration-style": [{
|
|
1148
|
-
decoration: [...
|
|
1149
|
+
decoration: [...H(), "wavy"]
|
|
1149
1150
|
}],
|
|
1150
1151
|
/**
|
|
1151
1152
|
* Text Decoration Thickness
|
|
1152
1153
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1153
1154
|
*/
|
|
1154
1155
|
"text-decoration-thickness": [{
|
|
1155
|
-
decoration: ["auto", "from-font",
|
|
1156
|
+
decoration: ["auto", "from-font", S, A]
|
|
1156
1157
|
}],
|
|
1157
1158
|
/**
|
|
1158
1159
|
* Text Underline Offset
|
|
1159
1160
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1160
1161
|
*/
|
|
1161
1162
|
"underline-offset": [{
|
|
1162
|
-
"underline-offset": ["auto",
|
|
1163
|
+
"underline-offset": ["auto", S, l]
|
|
1163
1164
|
}],
|
|
1164
1165
|
/**
|
|
1165
1166
|
* Text Decoration Color
|
|
@@ -1190,14 +1191,14 @@ const f = (e) => {
|
|
|
1190
1191
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1191
1192
|
*/
|
|
1192
1193
|
indent: [{
|
|
1193
|
-
indent:
|
|
1194
|
+
indent: f()
|
|
1194
1195
|
}],
|
|
1195
1196
|
/**
|
|
1196
1197
|
* Vertical Alignment
|
|
1197
1198
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1198
1199
|
*/
|
|
1199
1200
|
"vertical-align": [{
|
|
1200
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1201
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", l]
|
|
1201
1202
|
}],
|
|
1202
1203
|
/**
|
|
1203
1204
|
* Whitespace
|
|
@@ -1225,7 +1226,7 @@ const f = (e) => {
|
|
|
1225
1226
|
* @see https://tailwindcss.com/docs/content
|
|
1226
1227
|
*/
|
|
1227
1228
|
content: [{
|
|
1228
|
-
content: ["none",
|
|
1229
|
+
content: ["none", l]
|
|
1229
1230
|
}],
|
|
1230
1231
|
// Backgrounds
|
|
1231
1232
|
/**
|
|
@@ -1262,7 +1263,7 @@ const f = (e) => {
|
|
|
1262
1263
|
* @see https://tailwindcss.com/docs/background-position
|
|
1263
1264
|
*/
|
|
1264
1265
|
"bg-position": [{
|
|
1265
|
-
bg: [...
|
|
1266
|
+
bg: [...re(), er]
|
|
1266
1267
|
}],
|
|
1267
1268
|
/**
|
|
1268
1269
|
* Background Repeat
|
|
@@ -1278,7 +1279,7 @@ const f = (e) => {
|
|
|
1278
1279
|
* @see https://tailwindcss.com/docs/background-size
|
|
1279
1280
|
*/
|
|
1280
1281
|
"bg-size": [{
|
|
1281
|
-
bg: ["auto", "cover", "contain",
|
|
1282
|
+
bg: ["auto", "cover", "contain", De]
|
|
1282
1283
|
}],
|
|
1283
1284
|
/**
|
|
1284
1285
|
* Background Image
|
|
@@ -1287,7 +1288,7 @@ const f = (e) => {
|
|
|
1287
1288
|
"bg-image": [{
|
|
1288
1289
|
bg: ["none", {
|
|
1289
1290
|
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1290
|
-
},
|
|
1291
|
+
}, tr]
|
|
1291
1292
|
}],
|
|
1292
1293
|
/**
|
|
1293
1294
|
* Background Color
|
|
@@ -1322,21 +1323,21 @@ const f = (e) => {
|
|
|
1322
1323
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1323
1324
|
*/
|
|
1324
1325
|
"gradient-from": [{
|
|
1325
|
-
from: [
|
|
1326
|
+
from: [w]
|
|
1326
1327
|
}],
|
|
1327
1328
|
/**
|
|
1328
1329
|
* Gradient Color Stops Via
|
|
1329
1330
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1330
1331
|
*/
|
|
1331
1332
|
"gradient-via": [{
|
|
1332
|
-
via: [
|
|
1333
|
+
via: [w]
|
|
1333
1334
|
}],
|
|
1334
1335
|
/**
|
|
1335
1336
|
* Gradient Color Stops To
|
|
1336
1337
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1337
1338
|
*/
|
|
1338
1339
|
"gradient-to": [{
|
|
1339
|
-
to: [
|
|
1340
|
+
to: [w]
|
|
1340
1341
|
}],
|
|
1341
1342
|
// Borders
|
|
1342
1343
|
/**
|
|
@@ -1519,7 +1520,7 @@ const f = (e) => {
|
|
|
1519
1520
|
* @see https://tailwindcss.com/docs/border-style
|
|
1520
1521
|
*/
|
|
1521
1522
|
"border-style": [{
|
|
1522
|
-
border: [...
|
|
1523
|
+
border: [...H(), "hidden"]
|
|
1523
1524
|
}],
|
|
1524
1525
|
/**
|
|
1525
1526
|
* Divide Width X
|
|
@@ -1557,7 +1558,7 @@ const f = (e) => {
|
|
|
1557
1558
|
* @see https://tailwindcss.com/docs/divide-style
|
|
1558
1559
|
*/
|
|
1559
1560
|
"divide-style": [{
|
|
1560
|
-
divide:
|
|
1561
|
+
divide: H()
|
|
1561
1562
|
}],
|
|
1562
1563
|
/**
|
|
1563
1564
|
* Border Color
|
|
@@ -1634,21 +1635,21 @@ const f = (e) => {
|
|
|
1634
1635
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1635
1636
|
*/
|
|
1636
1637
|
"outline-style": [{
|
|
1637
|
-
outline: ["", ...
|
|
1638
|
+
outline: ["", ...H()]
|
|
1638
1639
|
}],
|
|
1639
1640
|
/**
|
|
1640
1641
|
* Outline Offset
|
|
1641
1642
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1642
1643
|
*/
|
|
1643
1644
|
"outline-offset": [{
|
|
1644
|
-
"outline-offset": [
|
|
1645
|
+
"outline-offset": [S, l]
|
|
1645
1646
|
}],
|
|
1646
1647
|
/**
|
|
1647
1648
|
* Outline Width
|
|
1648
1649
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1649
1650
|
*/
|
|
1650
1651
|
"outline-w": [{
|
|
1651
|
-
outline: [
|
|
1652
|
+
outline: [S, A]
|
|
1652
1653
|
}],
|
|
1653
1654
|
/**
|
|
1654
1655
|
* Outline Color
|
|
@@ -1662,7 +1663,7 @@ const f = (e) => {
|
|
|
1662
1663
|
* @see https://tailwindcss.com/docs/ring-width
|
|
1663
1664
|
*/
|
|
1664
1665
|
"ring-w": [{
|
|
1665
|
-
ring:
|
|
1666
|
+
ring: q()
|
|
1666
1667
|
}],
|
|
1667
1668
|
/**
|
|
1668
1669
|
* Ring Width Inset
|
|
@@ -1688,7 +1689,7 @@ const f = (e) => {
|
|
|
1688
1689
|
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
1689
1690
|
*/
|
|
1690
1691
|
"ring-offset-w": [{
|
|
1691
|
-
"ring-offset": [
|
|
1692
|
+
"ring-offset": [S, A]
|
|
1692
1693
|
}],
|
|
1693
1694
|
/**
|
|
1694
1695
|
* Ring Offset Color
|
|
@@ -1703,7 +1704,7 @@ const f = (e) => {
|
|
|
1703
1704
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
1704
1705
|
*/
|
|
1705
1706
|
shadow: [{
|
|
1706
|
-
shadow: ["", "inner", "none",
|
|
1707
|
+
shadow: ["", "inner", "none", R, or]
|
|
1707
1708
|
}],
|
|
1708
1709
|
/**
|
|
1709
1710
|
* Box Shadow Color
|
|
@@ -1724,14 +1725,14 @@ const f = (e) => {
|
|
|
1724
1725
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1725
1726
|
*/
|
|
1726
1727
|
"mix-blend": [{
|
|
1727
|
-
"mix-blend": [...
|
|
1728
|
+
"mix-blend": [...te(), "plus-lighter", "plus-darker"]
|
|
1728
1729
|
}],
|
|
1729
1730
|
/**
|
|
1730
1731
|
* Background Blend Mode
|
|
1731
1732
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1732
1733
|
*/
|
|
1733
1734
|
"bg-blend": [{
|
|
1734
|
-
"bg-blend":
|
|
1735
|
+
"bg-blend": te()
|
|
1735
1736
|
}],
|
|
1736
1737
|
// Filters
|
|
1737
1738
|
/**
|
|
@@ -1747,7 +1748,7 @@ const f = (e) => {
|
|
|
1747
1748
|
* @see https://tailwindcss.com/docs/blur
|
|
1748
1749
|
*/
|
|
1749
1750
|
blur: [{
|
|
1750
|
-
blur: [
|
|
1751
|
+
blur: [t]
|
|
1751
1752
|
}],
|
|
1752
1753
|
/**
|
|
1753
1754
|
* Brightness
|
|
@@ -1768,7 +1769,7 @@ const f = (e) => {
|
|
|
1768
1769
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
1769
1770
|
*/
|
|
1770
1771
|
"drop-shadow": [{
|
|
1771
|
-
"drop-shadow": ["", "none",
|
|
1772
|
+
"drop-shadow": ["", "none", R, l]
|
|
1772
1773
|
}],
|
|
1773
1774
|
/**
|
|
1774
1775
|
* Grayscale
|
|
@@ -1789,14 +1790,14 @@ const f = (e) => {
|
|
|
1789
1790
|
* @see https://tailwindcss.com/docs/invert
|
|
1790
1791
|
*/
|
|
1791
1792
|
invert: [{
|
|
1792
|
-
invert: [
|
|
1793
|
+
invert: [g]
|
|
1793
1794
|
}],
|
|
1794
1795
|
/**
|
|
1795
1796
|
* Saturate
|
|
1796
1797
|
* @see https://tailwindcss.com/docs/saturate
|
|
1797
1798
|
*/
|
|
1798
1799
|
saturate: [{
|
|
1799
|
-
saturate: [
|
|
1800
|
+
saturate: [z]
|
|
1800
1801
|
}],
|
|
1801
1802
|
/**
|
|
1802
1803
|
* Sepia
|
|
@@ -1818,7 +1819,7 @@ const f = (e) => {
|
|
|
1818
1819
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
1819
1820
|
*/
|
|
1820
1821
|
"backdrop-blur": [{
|
|
1821
|
-
"backdrop-blur": [
|
|
1822
|
+
"backdrop-blur": [t]
|
|
1822
1823
|
}],
|
|
1823
1824
|
/**
|
|
1824
1825
|
* Backdrop Brightness
|
|
@@ -1853,7 +1854,7 @@ const f = (e) => {
|
|
|
1853
1854
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
1854
1855
|
*/
|
|
1855
1856
|
"backdrop-invert": [{
|
|
1856
|
-
"backdrop-invert": [
|
|
1857
|
+
"backdrop-invert": [g]
|
|
1857
1858
|
}],
|
|
1858
1859
|
/**
|
|
1859
1860
|
* Backdrop Opacity
|
|
@@ -1867,7 +1868,7 @@ const f = (e) => {
|
|
|
1867
1868
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
1868
1869
|
*/
|
|
1869
1870
|
"backdrop-saturate": [{
|
|
1870
|
-
"backdrop-saturate": [
|
|
1871
|
+
"backdrop-saturate": [z]
|
|
1871
1872
|
}],
|
|
1872
1873
|
/**
|
|
1873
1874
|
* Backdrop Sepia
|
|
@@ -1889,21 +1890,21 @@ const f = (e) => {
|
|
|
1889
1890
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
1890
1891
|
*/
|
|
1891
1892
|
"border-spacing": [{
|
|
1892
|
-
"border-spacing": [
|
|
1893
|
+
"border-spacing": [a]
|
|
1893
1894
|
}],
|
|
1894
1895
|
/**
|
|
1895
1896
|
* Border Spacing X
|
|
1896
1897
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
1897
1898
|
*/
|
|
1898
1899
|
"border-spacing-x": [{
|
|
1899
|
-
"border-spacing-x": [
|
|
1900
|
+
"border-spacing-x": [a]
|
|
1900
1901
|
}],
|
|
1901
1902
|
/**
|
|
1902
1903
|
* Border Spacing Y
|
|
1903
1904
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
1904
1905
|
*/
|
|
1905
1906
|
"border-spacing-y": [{
|
|
1906
|
-
"border-spacing-y": [
|
|
1907
|
+
"border-spacing-y": [a]
|
|
1907
1908
|
}],
|
|
1908
1909
|
/**
|
|
1909
1910
|
* Table Layout
|
|
@@ -1925,35 +1926,35 @@ const f = (e) => {
|
|
|
1925
1926
|
* @see https://tailwindcss.com/docs/transition-property
|
|
1926
1927
|
*/
|
|
1927
1928
|
transition: [{
|
|
1928
|
-
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform",
|
|
1929
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", l]
|
|
1929
1930
|
}],
|
|
1930
1931
|
/**
|
|
1931
1932
|
* Transition Duration
|
|
1932
1933
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
1933
1934
|
*/
|
|
1934
1935
|
duration: [{
|
|
1935
|
-
duration:
|
|
1936
|
+
duration: N()
|
|
1936
1937
|
}],
|
|
1937
1938
|
/**
|
|
1938
1939
|
* Transition Timing Function
|
|
1939
1940
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
1940
1941
|
*/
|
|
1941
1942
|
ease: [{
|
|
1942
|
-
ease: ["linear", "in", "out", "in-out",
|
|
1943
|
+
ease: ["linear", "in", "out", "in-out", l]
|
|
1943
1944
|
}],
|
|
1944
1945
|
/**
|
|
1945
1946
|
* Transition Delay
|
|
1946
1947
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
1947
1948
|
*/
|
|
1948
1949
|
delay: [{
|
|
1949
|
-
delay:
|
|
1950
|
+
delay: N()
|
|
1950
1951
|
}],
|
|
1951
1952
|
/**
|
|
1952
1953
|
* Animation
|
|
1953
1954
|
* @see https://tailwindcss.com/docs/animation
|
|
1954
1955
|
*/
|
|
1955
1956
|
animate: [{
|
|
1956
|
-
animate: ["none", "spin", "ping", "pulse", "bounce",
|
|
1957
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", l]
|
|
1957
1958
|
}],
|
|
1958
1959
|
// Transforms
|
|
1959
1960
|
/**
|
|
@@ -1968,63 +1969,63 @@ const f = (e) => {
|
|
|
1968
1969
|
* @see https://tailwindcss.com/docs/scale
|
|
1969
1970
|
*/
|
|
1970
1971
|
scale: [{
|
|
1971
|
-
scale: [
|
|
1972
|
+
scale: [C]
|
|
1972
1973
|
}],
|
|
1973
1974
|
/**
|
|
1974
1975
|
* Scale X
|
|
1975
1976
|
* @see https://tailwindcss.com/docs/scale
|
|
1976
1977
|
*/
|
|
1977
1978
|
"scale-x": [{
|
|
1978
|
-
"scale-x": [
|
|
1979
|
+
"scale-x": [C]
|
|
1979
1980
|
}],
|
|
1980
1981
|
/**
|
|
1981
1982
|
* Scale Y
|
|
1982
1983
|
* @see https://tailwindcss.com/docs/scale
|
|
1983
1984
|
*/
|
|
1984
1985
|
"scale-y": [{
|
|
1985
|
-
"scale-y": [
|
|
1986
|
+
"scale-y": [C]
|
|
1986
1987
|
}],
|
|
1987
1988
|
/**
|
|
1988
1989
|
* Rotate
|
|
1989
1990
|
* @see https://tailwindcss.com/docs/rotate
|
|
1990
1991
|
*/
|
|
1991
1992
|
rotate: [{
|
|
1992
|
-
rotate: [
|
|
1993
|
+
rotate: [O, l]
|
|
1993
1994
|
}],
|
|
1994
1995
|
/**
|
|
1995
1996
|
* Translate X
|
|
1996
1997
|
* @see https://tailwindcss.com/docs/translate
|
|
1997
1998
|
*/
|
|
1998
1999
|
"translate-x": [{
|
|
1999
|
-
"translate-x": [
|
|
2000
|
+
"translate-x": [U]
|
|
2000
2001
|
}],
|
|
2001
2002
|
/**
|
|
2002
2003
|
* Translate Y
|
|
2003
2004
|
* @see https://tailwindcss.com/docs/translate
|
|
2004
2005
|
*/
|
|
2005
2006
|
"translate-y": [{
|
|
2006
|
-
"translate-y": [
|
|
2007
|
+
"translate-y": [U]
|
|
2007
2008
|
}],
|
|
2008
2009
|
/**
|
|
2009
2010
|
* Skew X
|
|
2010
2011
|
* @see https://tailwindcss.com/docs/skew
|
|
2011
2012
|
*/
|
|
2012
2013
|
"skew-x": [{
|
|
2013
|
-
"skew-x": [
|
|
2014
|
+
"skew-x": [F]
|
|
2014
2015
|
}],
|
|
2015
2016
|
/**
|
|
2016
2017
|
* Skew Y
|
|
2017
2018
|
* @see https://tailwindcss.com/docs/skew
|
|
2018
2019
|
*/
|
|
2019
2020
|
"skew-y": [{
|
|
2020
|
-
"skew-y": [
|
|
2021
|
+
"skew-y": [F]
|
|
2021
2022
|
}],
|
|
2022
2023
|
/**
|
|
2023
2024
|
* Transform Origin
|
|
2024
2025
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2025
2026
|
*/
|
|
2026
2027
|
"transform-origin": [{
|
|
2027
|
-
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left",
|
|
2028
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", l]
|
|
2028
2029
|
}],
|
|
2029
2030
|
// Interactivity
|
|
2030
2031
|
/**
|
|
@@ -2046,7 +2047,7 @@ const f = (e) => {
|
|
|
2046
2047
|
* @see https://tailwindcss.com/docs/cursor
|
|
2047
2048
|
*/
|
|
2048
2049
|
cursor: [{
|
|
2049
|
-
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",
|
|
2050
|
+
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]
|
|
2050
2051
|
}],
|
|
2051
2052
|
/**
|
|
2052
2053
|
* Caret Color
|
|
@@ -2081,126 +2082,126 @@ const f = (e) => {
|
|
|
2081
2082
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2082
2083
|
*/
|
|
2083
2084
|
"scroll-m": [{
|
|
2084
|
-
"scroll-m":
|
|
2085
|
+
"scroll-m": f()
|
|
2085
2086
|
}],
|
|
2086
2087
|
/**
|
|
2087
2088
|
* Scroll Margin X
|
|
2088
2089
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2089
2090
|
*/
|
|
2090
2091
|
"scroll-mx": [{
|
|
2091
|
-
"scroll-mx":
|
|
2092
|
+
"scroll-mx": f()
|
|
2092
2093
|
}],
|
|
2093
2094
|
/**
|
|
2094
2095
|
* Scroll Margin Y
|
|
2095
2096
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2096
2097
|
*/
|
|
2097
2098
|
"scroll-my": [{
|
|
2098
|
-
"scroll-my":
|
|
2099
|
+
"scroll-my": f()
|
|
2099
2100
|
}],
|
|
2100
2101
|
/**
|
|
2101
2102
|
* Scroll Margin Start
|
|
2102
2103
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2103
2104
|
*/
|
|
2104
2105
|
"scroll-ms": [{
|
|
2105
|
-
"scroll-ms":
|
|
2106
|
+
"scroll-ms": f()
|
|
2106
2107
|
}],
|
|
2107
2108
|
/**
|
|
2108
2109
|
* Scroll Margin End
|
|
2109
2110
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2110
2111
|
*/
|
|
2111
2112
|
"scroll-me": [{
|
|
2112
|
-
"scroll-me":
|
|
2113
|
+
"scroll-me": f()
|
|
2113
2114
|
}],
|
|
2114
2115
|
/**
|
|
2115
2116
|
* Scroll Margin Top
|
|
2116
2117
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2117
2118
|
*/
|
|
2118
2119
|
"scroll-mt": [{
|
|
2119
|
-
"scroll-mt":
|
|
2120
|
+
"scroll-mt": f()
|
|
2120
2121
|
}],
|
|
2121
2122
|
/**
|
|
2122
2123
|
* Scroll Margin Right
|
|
2123
2124
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2124
2125
|
*/
|
|
2125
2126
|
"scroll-mr": [{
|
|
2126
|
-
"scroll-mr":
|
|
2127
|
+
"scroll-mr": f()
|
|
2127
2128
|
}],
|
|
2128
2129
|
/**
|
|
2129
2130
|
* Scroll Margin Bottom
|
|
2130
2131
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2131
2132
|
*/
|
|
2132
2133
|
"scroll-mb": [{
|
|
2133
|
-
"scroll-mb":
|
|
2134
|
+
"scroll-mb": f()
|
|
2134
2135
|
}],
|
|
2135
2136
|
/**
|
|
2136
2137
|
* Scroll Margin Left
|
|
2137
2138
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2138
2139
|
*/
|
|
2139
2140
|
"scroll-ml": [{
|
|
2140
|
-
"scroll-ml":
|
|
2141
|
+
"scroll-ml": f()
|
|
2141
2142
|
}],
|
|
2142
2143
|
/**
|
|
2143
2144
|
* Scroll Padding
|
|
2144
2145
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2145
2146
|
*/
|
|
2146
2147
|
"scroll-p": [{
|
|
2147
|
-
"scroll-p":
|
|
2148
|
+
"scroll-p": f()
|
|
2148
2149
|
}],
|
|
2149
2150
|
/**
|
|
2150
2151
|
* Scroll Padding X
|
|
2151
2152
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2152
2153
|
*/
|
|
2153
2154
|
"scroll-px": [{
|
|
2154
|
-
"scroll-px":
|
|
2155
|
+
"scroll-px": f()
|
|
2155
2156
|
}],
|
|
2156
2157
|
/**
|
|
2157
2158
|
* Scroll Padding Y
|
|
2158
2159
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2159
2160
|
*/
|
|
2160
2161
|
"scroll-py": [{
|
|
2161
|
-
"scroll-py":
|
|
2162
|
+
"scroll-py": f()
|
|
2162
2163
|
}],
|
|
2163
2164
|
/**
|
|
2164
2165
|
* Scroll Padding Start
|
|
2165
2166
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2166
2167
|
*/
|
|
2167
2168
|
"scroll-ps": [{
|
|
2168
|
-
"scroll-ps":
|
|
2169
|
+
"scroll-ps": f()
|
|
2169
2170
|
}],
|
|
2170
2171
|
/**
|
|
2171
2172
|
* Scroll Padding End
|
|
2172
2173
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2173
2174
|
*/
|
|
2174
2175
|
"scroll-pe": [{
|
|
2175
|
-
"scroll-pe":
|
|
2176
|
+
"scroll-pe": f()
|
|
2176
2177
|
}],
|
|
2177
2178
|
/**
|
|
2178
2179
|
* Scroll Padding Top
|
|
2179
2180
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2180
2181
|
*/
|
|
2181
2182
|
"scroll-pt": [{
|
|
2182
|
-
"scroll-pt":
|
|
2183
|
+
"scroll-pt": f()
|
|
2183
2184
|
}],
|
|
2184
2185
|
/**
|
|
2185
2186
|
* Scroll Padding Right
|
|
2186
2187
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2187
2188
|
*/
|
|
2188
2189
|
"scroll-pr": [{
|
|
2189
|
-
"scroll-pr":
|
|
2190
|
+
"scroll-pr": f()
|
|
2190
2191
|
}],
|
|
2191
2192
|
/**
|
|
2192
2193
|
* Scroll Padding Bottom
|
|
2193
2194
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2194
2195
|
*/
|
|
2195
2196
|
"scroll-pb": [{
|
|
2196
|
-
"scroll-pb":
|
|
2197
|
+
"scroll-pb": f()
|
|
2197
2198
|
}],
|
|
2198
2199
|
/**
|
|
2199
2200
|
* Scroll Padding Left
|
|
2200
2201
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2201
2202
|
*/
|
|
2202
2203
|
"scroll-pl": [{
|
|
2203
|
-
"scroll-pl":
|
|
2204
|
+
"scroll-pl": f()
|
|
2204
2205
|
}],
|
|
2205
2206
|
/**
|
|
2206
2207
|
* Scroll Snap Align
|
|
@@ -2268,7 +2269,7 @@ const f = (e) => {
|
|
|
2268
2269
|
* @see https://tailwindcss.com/docs/will-change
|
|
2269
2270
|
*/
|
|
2270
2271
|
"will-change": [{
|
|
2271
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2272
|
+
"will-change": ["auto", "scroll", "contents", "transform", l]
|
|
2272
2273
|
}],
|
|
2273
2274
|
// SVG
|
|
2274
2275
|
/**
|
|
@@ -2283,7 +2284,7 @@ const f = (e) => {
|
|
|
2283
2284
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2284
2285
|
*/
|
|
2285
2286
|
"stroke-w": [{
|
|
2286
|
-
stroke: [
|
|
2287
|
+
stroke: [S, A, J]
|
|
2287
2288
|
}],
|
|
2288
2289
|
/**
|
|
2289
2290
|
* Stroke
|
|
@@ -2358,41 +2359,41 @@ const f = (e) => {
|
|
|
2358
2359
|
"font-size": ["leading"]
|
|
2359
2360
|
}
|
|
2360
2361
|
};
|
|
2361
|
-
},
|
|
2362
|
-
cacheSize:
|
|
2363
|
-
prefix:
|
|
2362
|
+
}, ar = (e, {
|
|
2363
|
+
cacheSize: r,
|
|
2364
|
+
prefix: t,
|
|
2364
2365
|
separator: o,
|
|
2365
2366
|
experimentalParseClassName: n,
|
|
2366
2367
|
extend: s = {},
|
|
2367
|
-
override:
|
|
2368
|
+
override: a = {}
|
|
2368
2369
|
}) => {
|
|
2369
|
-
|
|
2370
|
-
for (const i in
|
|
2371
|
-
|
|
2370
|
+
L(e, "cacheSize", r), L(e, "prefix", t), L(e, "separator", o), L(e, "experimentalParseClassName", n);
|
|
2371
|
+
for (const i in a)
|
|
2372
|
+
lr(e[i], a[i]);
|
|
2372
2373
|
for (const i in s)
|
|
2373
|
-
|
|
2374
|
+
cr(e[i], s[i]);
|
|
2374
2375
|
return e;
|
|
2375
|
-
},
|
|
2376
|
-
|
|
2377
|
-
},
|
|
2378
|
-
if (
|
|
2379
|
-
for (const
|
|
2380
|
-
|
|
2381
|
-
},
|
|
2382
|
-
if (
|
|
2383
|
-
for (const
|
|
2384
|
-
const o = t
|
|
2385
|
-
o !== void 0 && (e[
|
|
2376
|
+
}, L = (e, r, t) => {
|
|
2377
|
+
t !== void 0 && (e[r] = t);
|
|
2378
|
+
}, lr = (e, r) => {
|
|
2379
|
+
if (r)
|
|
2380
|
+
for (const t in r)
|
|
2381
|
+
L(e, t, r[t]);
|
|
2382
|
+
}, cr = (e, r) => {
|
|
2383
|
+
if (r)
|
|
2384
|
+
for (const t in r) {
|
|
2385
|
+
const o = r[t];
|
|
2386
|
+
o !== void 0 && (e[t] = (e[t] || []).concat(o));
|
|
2386
2387
|
}
|
|
2387
|
-
},
|
|
2388
|
+
}, dr = (e, ...r) => typeof e == "function" ? le(ce, e, ...r) : le(() => ar(ce(), e), ...r), ur = dr({
|
|
2388
2389
|
prefix: "ksjsui-"
|
|
2389
2390
|
});
|
|
2390
|
-
function
|
|
2391
|
-
return
|
|
2391
|
+
function K(...e) {
|
|
2392
|
+
return ur(Me(e));
|
|
2392
2393
|
}
|
|
2393
|
-
const
|
|
2394
|
+
const pr = Y(
|
|
2394
2395
|
[
|
|
2395
|
-
"ksjsui-inline-flex ksjsui-
|
|
2396
|
+
"ksjsui-inline-flex ksjsui-items-center ksjsui-justify-center ksjsui-whitespace-nowrap ksjsui-border ksjsui-border-transparent ksjsui-p-2 ksjsui-text-base ksjsui-font-medium ksjsui-ring-offset-background ksjsui-transition-colors",
|
|
2396
2397
|
"focus-visible:ksjsui-outline-none focus-visible:ksjsui-ring-2 focus-visible:ksjsui-ring-ring focus-visible:ksjsui-ring-offset-2",
|
|
2397
2398
|
"disabled:ksjsui-pointer-events-none disabled:ksjsui-cursor-not-allowed disabled:ksjsui-bg-disabled disabled:ksjsui-text-disabled-foreground",
|
|
2398
2399
|
"forced-colors:ksjsui-border-button-border forced-colors:ksjsui-bg-button-face forced-colors:ksjsui-text-button-text",
|
|
@@ -2402,20 +2403,28 @@ const lt = de(
|
|
|
2402
2403
|
variants: {
|
|
2403
2404
|
variant: {
|
|
2404
2405
|
solid: "",
|
|
2405
|
-
|
|
2406
|
+
outline: "ksjsui-border-current ksjsui-text-secondary hover:ksjsui-bg-neutral-hover",
|
|
2407
|
+
plain: "ksjsui-bg-transparent",
|
|
2408
|
+
link: "ksjsui-underline-current ksjsui-h-auto ksjsui-rounded ksjsui-p-0 ksjsui-text-secondary hover:ksjsui-underline"
|
|
2406
2409
|
},
|
|
2407
2410
|
color: {
|
|
2408
2411
|
neutral: "",
|
|
2409
|
-
primary: ""
|
|
2412
|
+
primary: "",
|
|
2413
|
+
secondary: ""
|
|
2410
2414
|
},
|
|
2411
2415
|
fullWidth: {
|
|
2412
2416
|
true: "ksjsui-w-full"
|
|
2417
|
+
},
|
|
2418
|
+
size: {
|
|
2419
|
+
md: "ksjsui-h-9 ksjsui-rounded-lg",
|
|
2420
|
+
icon: "ksjsui-h-6 ksjsui-rounded"
|
|
2413
2421
|
}
|
|
2414
2422
|
},
|
|
2415
2423
|
defaultVariants: {
|
|
2416
2424
|
variant: "solid",
|
|
2417
2425
|
color: "neutral",
|
|
2418
|
-
fullWidth: void 0
|
|
2426
|
+
fullWidth: void 0,
|
|
2427
|
+
size: "md"
|
|
2419
2428
|
},
|
|
2420
2429
|
compoundVariants: [
|
|
2421
2430
|
{
|
|
@@ -2428,39 +2437,117 @@ const lt = de(
|
|
|
2428
2437
|
color: "primary",
|
|
2429
2438
|
className: "ksjsui-bg-primary ksjsui-text-primary-foreground hover:ksjsui-bg-primary-hover"
|
|
2430
2439
|
},
|
|
2431
|
-
{
|
|
2432
|
-
|
|
2440
|
+
{
|
|
2441
|
+
variant: "solid",
|
|
2442
|
+
color: "secondary",
|
|
2443
|
+
className: "ksjsui-bg-secondary ksjsui-text-secondary-foreground hover:ksjsui-bg-secondary-hover"
|
|
2444
|
+
},
|
|
2445
|
+
{
|
|
2446
|
+
variant: ["outline", "plain", "link"],
|
|
2447
|
+
color: "primary",
|
|
2448
|
+
className: "ksjsui-text-primary"
|
|
2449
|
+
},
|
|
2450
|
+
{
|
|
2451
|
+
variant: ["outline", "plain", "link"],
|
|
2452
|
+
color: "secondary",
|
|
2453
|
+
className: "ksjsui-text-secondary"
|
|
2454
|
+
},
|
|
2455
|
+
{
|
|
2456
|
+
variant: "plain",
|
|
2457
|
+
size: "icon",
|
|
2458
|
+
className: "ksjsui-p-0 focus-visible:ksjsui-ring-offset-0"
|
|
2459
|
+
}
|
|
2433
2460
|
]
|
|
2434
2461
|
}
|
|
2435
|
-
),
|
|
2462
|
+
), fr = x.forwardRef(
|
|
2436
2463
|
({
|
|
2437
2464
|
className: e,
|
|
2438
|
-
endContent:
|
|
2439
|
-
startContent:
|
|
2465
|
+
endContent: r,
|
|
2466
|
+
startContent: t,
|
|
2440
2467
|
variant: o,
|
|
2441
2468
|
color: n,
|
|
2442
2469
|
fullWidth: s,
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2470
|
+
size: a,
|
|
2471
|
+
asChild: i = !1,
|
|
2472
|
+
children: d,
|
|
2473
|
+
tabIndex: c = 0,
|
|
2474
|
+
...p
|
|
2475
|
+
}, g) => /* @__PURE__ */ Ce(
|
|
2476
|
+
i ? B : "button",
|
|
2449
2477
|
{
|
|
2450
|
-
className:
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2478
|
+
className: K(
|
|
2479
|
+
pr({ variant: o, color: n, fullWidth: s, size: a, className: e })
|
|
2480
|
+
),
|
|
2481
|
+
ref: g,
|
|
2482
|
+
tabIndex: c,
|
|
2483
|
+
...p,
|
|
2454
2484
|
children: [
|
|
2455
|
-
|
|
2456
|
-
/* @__PURE__ */
|
|
2457
|
-
|
|
2485
|
+
t && /* @__PURE__ */ j("span", { className: "ksjsui-me-2", children: t }),
|
|
2486
|
+
/* @__PURE__ */ j(ue, { children: d }),
|
|
2487
|
+
r && /* @__PURE__ */ j("span", { className: "ksjsui-ms-2", children: r })
|
|
2458
2488
|
]
|
|
2459
2489
|
}
|
|
2460
2490
|
)
|
|
2461
2491
|
);
|
|
2462
|
-
|
|
2463
|
-
|
|
2492
|
+
fr.displayName = "Button";
|
|
2493
|
+
var br = [
|
|
2494
|
+
"a",
|
|
2495
|
+
"button",
|
|
2496
|
+
"div",
|
|
2497
|
+
"form",
|
|
2498
|
+
"h2",
|
|
2499
|
+
"h3",
|
|
2500
|
+
"img",
|
|
2501
|
+
"input",
|
|
2502
|
+
"label",
|
|
2503
|
+
"li",
|
|
2504
|
+
"nav",
|
|
2505
|
+
"ol",
|
|
2506
|
+
"p",
|
|
2507
|
+
"span",
|
|
2508
|
+
"svg",
|
|
2509
|
+
"ul"
|
|
2510
|
+
], mr = br.reduce((e, r) => {
|
|
2511
|
+
const t = x.forwardRef((o, n) => {
|
|
2512
|
+
const { asChild: s, ...a } = o, i = s ? B : r;
|
|
2513
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ j(i, { ...a, ref: n });
|
|
2514
|
+
});
|
|
2515
|
+
return t.displayName = `Primitive.${r}`, { ...e, [r]: t };
|
|
2516
|
+
}, {}), gr = "Separator", de = "horizontal", hr = ["horizontal", "vertical"], xe = x.forwardRef((e, r) => {
|
|
2517
|
+
const { decorative: t, orientation: o = de, ...n } = e, s = yr(o) ? o : de, i = t ? { role: "none" } : { "aria-orientation": s === "vertical" ? s : void 0, role: "separator" };
|
|
2518
|
+
return /* @__PURE__ */ j(
|
|
2519
|
+
mr.div,
|
|
2520
|
+
{
|
|
2521
|
+
"data-orientation": s,
|
|
2522
|
+
...i,
|
|
2523
|
+
...n,
|
|
2524
|
+
ref: r
|
|
2525
|
+
}
|
|
2526
|
+
);
|
|
2527
|
+
});
|
|
2528
|
+
xe.displayName = gr;
|
|
2529
|
+
function yr(e) {
|
|
2530
|
+
return hr.includes(e);
|
|
2531
|
+
}
|
|
2532
|
+
var ve = xe;
|
|
2533
|
+
const xr = x.forwardRef(
|
|
2534
|
+
({ className: e, orientation: r = "horizontal", decorative: t = !0, ...o }, n) => /* @__PURE__ */ j(
|
|
2535
|
+
ve,
|
|
2536
|
+
{
|
|
2537
|
+
ref: n,
|
|
2538
|
+
decorative: t,
|
|
2539
|
+
orientation: r,
|
|
2540
|
+
className: K(
|
|
2541
|
+
"ksjsui-shrink-0 ksjsui-bg-border forced-colors:ksjsui-bg-canvas-text forced-colors:ksjsui-forced-color-adjust-none",
|
|
2542
|
+
r === "horizontal" ? "ksjsui-block ksjsui-h-px ksjsui-w-full" : "ksjsui-inline-block ksjsui-w-px",
|
|
2543
|
+
e
|
|
2544
|
+
),
|
|
2545
|
+
...o
|
|
2546
|
+
}
|
|
2547
|
+
)
|
|
2548
|
+
);
|
|
2549
|
+
xr.displayName = ve.displayName;
|
|
2550
|
+
const ee = [
|
|
2464
2551
|
"px",
|
|
2465
2552
|
0,
|
|
2466
2553
|
0.5,
|
|
@@ -2496,26 +2583,89 @@ const Q = [
|
|
|
2496
2583
|
72,
|
|
2497
2584
|
80,
|
|
2498
2585
|
96
|
|
2499
|
-
],
|
|
2500
|
-
function
|
|
2501
|
-
return
|
|
2502
|
-
(e,
|
|
2586
|
+
], vr = [...ee, "auto"];
|
|
2587
|
+
function kr() {
|
|
2588
|
+
return ee.reduce(
|
|
2589
|
+
(e, r) => (e.gap[r] = `ksjsui-gap-${r}`, e.gapColumn[r] = `ksjsui-gap-x-${r}`, e.gapRow[r] = `ksjsui-gap-y-${r}`, e),
|
|
2503
2590
|
{ gap: {}, gapColumn: {}, gapRow: {} }
|
|
2504
2591
|
);
|
|
2505
2592
|
}
|
|
2506
|
-
function
|
|
2507
|
-
return
|
|
2508
|
-
(e,
|
|
2593
|
+
function ke() {
|
|
2594
|
+
return vr.reduce(
|
|
2595
|
+
(e, r) => (e.m[r] = `ksjsui-m-${r}`, e.mb[r] = `ksjsui-mb-${r}`, e.me[r] = `ksjsui-me-${r}`, e.ms[r] = `ksjsui-ms-${r}`, e.mt[r] = `ksjsui-mt-${r}`, e.mx[r] = `ksjsui-mx-${r}`, e.my[r] = `ksjsui-my-${r}`, e),
|
|
2509
2596
|
{ m: {}, mb: {}, me: {}, ms: {}, mt: {}, mx: {}, my: {} }
|
|
2510
2597
|
);
|
|
2511
2598
|
}
|
|
2512
|
-
function
|
|
2513
|
-
return
|
|
2514
|
-
(e,
|
|
2599
|
+
function we() {
|
|
2600
|
+
return ee.reduce(
|
|
2601
|
+
(e, r) => (e.p[r] = `ksjsui-p-${r}`, e.pb[r] = `ksjsui-pb-${r}`, e.pe[r] = `ksjsui-pe-${r}`, e.ps[r] = `ksjsui-ps-${r}`, e.pt[r] = `ksjsui-pt-${r}`, e.px[r] = `ksjsui-px-${r}`, e.py[r] = `ksjsui-py-${r}`, e),
|
|
2515
2602
|
{ p: {}, pb: {}, pe: {}, ps: {}, pt: {}, px: {}, py: {} }
|
|
2516
2603
|
);
|
|
2517
2604
|
}
|
|
2518
|
-
const
|
|
2605
|
+
const wr = Y("", {
|
|
2606
|
+
variants: {
|
|
2607
|
+
display: {
|
|
2608
|
+
block: "ksjsui-block",
|
|
2609
|
+
"inline-block": "ksjsui-inline-block",
|
|
2610
|
+
none: "ksjsui-hidden"
|
|
2611
|
+
},
|
|
2612
|
+
...ke(),
|
|
2613
|
+
...we()
|
|
2614
|
+
},
|
|
2615
|
+
defaultVariants: {
|
|
2616
|
+
display: "block"
|
|
2617
|
+
}
|
|
2618
|
+
}), jr = x.forwardRef(
|
|
2619
|
+
({
|
|
2620
|
+
as: e = "div",
|
|
2621
|
+
asChild: r,
|
|
2622
|
+
className: t,
|
|
2623
|
+
display: o,
|
|
2624
|
+
m: n,
|
|
2625
|
+
mb: s,
|
|
2626
|
+
me: a,
|
|
2627
|
+
ms: i,
|
|
2628
|
+
mt: d,
|
|
2629
|
+
mx: c,
|
|
2630
|
+
my: p,
|
|
2631
|
+
p: g,
|
|
2632
|
+
pb: h,
|
|
2633
|
+
pe: w,
|
|
2634
|
+
ps: v,
|
|
2635
|
+
pt: m,
|
|
2636
|
+
px: u,
|
|
2637
|
+
py: y,
|
|
2638
|
+
...k
|
|
2639
|
+
}, z) => /* @__PURE__ */ j(
|
|
2640
|
+
r ? B : e,
|
|
2641
|
+
{
|
|
2642
|
+
className: K(
|
|
2643
|
+
wr({
|
|
2644
|
+
display: o,
|
|
2645
|
+
m: n,
|
|
2646
|
+
mb: s,
|
|
2647
|
+
me: a,
|
|
2648
|
+
ms: i,
|
|
2649
|
+
mt: d,
|
|
2650
|
+
mx: c,
|
|
2651
|
+
my: p,
|
|
2652
|
+
p: g,
|
|
2653
|
+
pb: h,
|
|
2654
|
+
pe: w,
|
|
2655
|
+
ps: v,
|
|
2656
|
+
pt: m,
|
|
2657
|
+
px: u,
|
|
2658
|
+
py: y,
|
|
2659
|
+
className: t
|
|
2660
|
+
})
|
|
2661
|
+
),
|
|
2662
|
+
ref: z,
|
|
2663
|
+
...k
|
|
2664
|
+
}
|
|
2665
|
+
)
|
|
2666
|
+
);
|
|
2667
|
+
jr.displayName = "Box";
|
|
2668
|
+
const Cr = {
|
|
2519
2669
|
align: {
|
|
2520
2670
|
baseline: "ksjsui-items-baseline",
|
|
2521
2671
|
center: "ksjsui-items-center",
|
|
@@ -2534,97 +2684,122 @@ const ft = {
|
|
|
2534
2684
|
flex: "ksjsui-flex",
|
|
2535
2685
|
none: "ksjsui-hidden"
|
|
2536
2686
|
},
|
|
2537
|
-
...
|
|
2687
|
+
...kr(),
|
|
2688
|
+
grow: {
|
|
2689
|
+
0: "ksjsui-grow-0",
|
|
2690
|
+
1: "ksjsui-grow"
|
|
2691
|
+
},
|
|
2538
2692
|
justify: {
|
|
2539
2693
|
around: "ksjsui-justify-around",
|
|
2540
2694
|
baseline: "ksjsui-justify-baseline",
|
|
2541
2695
|
between: "ksjsui-justify-between",
|
|
2542
2696
|
center: "ksjsui-justify-center",
|
|
2543
2697
|
end: "ksjsui-justify-end",
|
|
2698
|
+
evenly: "ksjsui-justify-evenly",
|
|
2544
2699
|
normal: "ksjsui-justify-normal",
|
|
2545
2700
|
start: "ksjsui-justify-start",
|
|
2546
2701
|
stretch: "ksjsui-justify-stretch"
|
|
2547
2702
|
},
|
|
2548
|
-
...
|
|
2549
|
-
...
|
|
2703
|
+
...ke(),
|
|
2704
|
+
...we(),
|
|
2705
|
+
self: {
|
|
2706
|
+
auto: "ksjsui-self-auto",
|
|
2707
|
+
baseline: "ksjsui-self-baseline",
|
|
2708
|
+
center: "ksjsui-self-center",
|
|
2709
|
+
end: "ksjsui-self-end",
|
|
2710
|
+
start: "ksjsui-self-start",
|
|
2711
|
+
stretch: "ksjsui-self-stretch"
|
|
2712
|
+
},
|
|
2713
|
+
shrink: {
|
|
2714
|
+
0: "ksjsui-shrink-0",
|
|
2715
|
+
1: "ksjsui-shrink"
|
|
2716
|
+
},
|
|
2550
2717
|
wrap: {
|
|
2551
2718
|
nowrap: "ksjsui-flex-nowrap",
|
|
2552
2719
|
reverse: "ksjsui-flex-wrap-reverse",
|
|
2553
2720
|
wrap: "ksjsui-flex-wrap"
|
|
2554
2721
|
}
|
|
2555
|
-
},
|
|
2722
|
+
}, zr = Y("ksjsui-inline-flex", {
|
|
2556
2723
|
variants: {
|
|
2557
|
-
...
|
|
2724
|
+
...Cr
|
|
2558
2725
|
},
|
|
2559
2726
|
defaultVariants: {
|
|
2560
2727
|
display: "flex",
|
|
2561
2728
|
justify: "start"
|
|
2562
2729
|
}
|
|
2563
|
-
}),
|
|
2730
|
+
}), Nr = x.forwardRef(
|
|
2564
2731
|
({
|
|
2565
2732
|
align: e,
|
|
2566
|
-
as:
|
|
2567
|
-
asChild:
|
|
2733
|
+
as: r = "div",
|
|
2734
|
+
asChild: t,
|
|
2568
2735
|
className: o,
|
|
2569
2736
|
display: n,
|
|
2570
2737
|
direction: s,
|
|
2571
|
-
gap:
|
|
2738
|
+
gap: a,
|
|
2572
2739
|
gapColumn: i,
|
|
2573
2740
|
gapRow: d,
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2741
|
+
grow: c,
|
|
2742
|
+
justify: p,
|
|
2743
|
+
m: g,
|
|
2744
|
+
mb: h,
|
|
2745
|
+
me: w,
|
|
2746
|
+
ms: v,
|
|
2747
|
+
mt: m,
|
|
2748
|
+
mx: u,
|
|
2749
|
+
my: y,
|
|
2750
|
+
p: k,
|
|
2751
|
+
pb: z,
|
|
2752
|
+
pe: C,
|
|
2753
|
+
ps: P,
|
|
2754
|
+
pt: F,
|
|
2755
|
+
px: _,
|
|
2756
|
+
py: U,
|
|
2757
|
+
self: V,
|
|
2758
|
+
shrink: $,
|
|
2759
|
+
wrap: G,
|
|
2760
|
+
...f
|
|
2761
|
+
}, q) => /* @__PURE__ */ j(
|
|
2762
|
+
t ? B : r,
|
|
2593
2763
|
{
|
|
2594
|
-
className:
|
|
2595
|
-
|
|
2764
|
+
className: K(
|
|
2765
|
+
zr({
|
|
2596
2766
|
align: e,
|
|
2597
2767
|
direction: s,
|
|
2598
2768
|
display: n,
|
|
2599
|
-
gap:
|
|
2769
|
+
gap: a,
|
|
2600
2770
|
gapColumn: i,
|
|
2601
2771
|
gapRow: d,
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2772
|
+
grow: c,
|
|
2773
|
+
justify: p,
|
|
2774
|
+
m: g,
|
|
2775
|
+
mb: h,
|
|
2776
|
+
me: w,
|
|
2777
|
+
ms: v,
|
|
2778
|
+
mt: m,
|
|
2779
|
+
mx: u,
|
|
2780
|
+
my: y,
|
|
2781
|
+
p: k,
|
|
2782
|
+
pb: z,
|
|
2783
|
+
pe: C,
|
|
2784
|
+
ps: P,
|
|
2785
|
+
pt: F,
|
|
2786
|
+
px: _,
|
|
2787
|
+
py: U,
|
|
2788
|
+
self: V,
|
|
2789
|
+
shrink: $,
|
|
2790
|
+
wrap: G,
|
|
2618
2791
|
className: o
|
|
2619
2792
|
})
|
|
2620
2793
|
),
|
|
2621
|
-
ref:
|
|
2622
|
-
|
|
2794
|
+
ref: q,
|
|
2795
|
+
...f
|
|
2623
2796
|
}
|
|
2624
2797
|
)
|
|
2625
2798
|
);
|
|
2626
|
-
|
|
2799
|
+
Nr.displayName = "Flex";
|
|
2627
2800
|
export {
|
|
2628
|
-
|
|
2629
|
-
|
|
2801
|
+
jr as Box,
|
|
2802
|
+
fr as Button,
|
|
2803
|
+
Nr as Flex,
|
|
2804
|
+
xr as Separator
|
|
2630
2805
|
};
|