@helden-inc/cce-ui 0.1.0 → 0.1.2
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 +47 -67
- package/dist/components/Button.d.ts +5 -2
- package/dist/components/Button.d.ts.map +1 -1
- package/dist/components/Card.d.ts +15 -0
- package/dist/components/Card.d.ts.map +1 -0
- package/dist/components/Input.d.ts +8 -1
- package/dist/components/Input.d.ts.map +1 -1
- package/dist/components/InputButton.d.ts +16 -0
- package/dist/components/InputButton.d.ts.map +1 -0
- package/dist/components/Select.d.ts +19 -0
- package/dist/components/Select.d.ts.map +1 -0
- package/dist/components/Typography.d.ts +11 -0
- package/dist/components/Typography.d.ts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +57 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1019 -536
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +8 -3
package/dist/index.mjs
CHANGED
|
@@ -1,125 +1,126 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { jsxs as w, jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { isValidElement as De, cloneElement as $e, forwardRef as ue, useId as he, useState as pe, useRef as Ue, useMemo as ke, useEffect as we } from "react";
|
|
3
|
+
function ze(e) {
|
|
4
|
+
var o, t, r = "";
|
|
5
|
+
if (typeof e == "string" || typeof e == "number") r += e;
|
|
5
6
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
6
|
-
var
|
|
7
|
-
for (
|
|
8
|
-
} else for (
|
|
9
|
-
return
|
|
10
|
-
}
|
|
11
|
-
function je() {
|
|
12
|
-
for (var e, t, r = 0, o = "", a = arguments.length; r < a; r++) (e = arguments[r]) && (t = ye(e)) && (o && (o += " "), o += t);
|
|
13
|
-
return o;
|
|
7
|
+
var n = e.length;
|
|
8
|
+
for (o = 0; o < n; o++) e[o] && (t = ze(e[o])) && (r && (r += " "), r += t);
|
|
9
|
+
} else for (t in e) e[t] && (r && (r += " "), r += t);
|
|
10
|
+
return r;
|
|
14
11
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
for (let o = 0; o < e.length; o++)
|
|
18
|
-
r[o] = e[o];
|
|
19
|
-
for (let o = 0; o < t.length; o++)
|
|
20
|
-
r[e.length + o] = t[o];
|
|
12
|
+
function Ye() {
|
|
13
|
+
for (var e, o, t = 0, r = "", n = arguments.length; t < n; t++) (e = arguments[t]) && (o = ze(e)) && (r && (r += " "), r += o);
|
|
21
14
|
return r;
|
|
22
|
-
}
|
|
15
|
+
}
|
|
16
|
+
const Xe = (e, o) => {
|
|
17
|
+
const t = new Array(e.length + o.length);
|
|
18
|
+
for (let r = 0; r < e.length; r++)
|
|
19
|
+
t[r] = e[r];
|
|
20
|
+
for (let r = 0; r < o.length; r++)
|
|
21
|
+
t[e.length + r] = o[r];
|
|
22
|
+
return t;
|
|
23
|
+
}, Je = (e, o) => ({
|
|
23
24
|
classGroupId: e,
|
|
24
|
-
validator:
|
|
25
|
-
}),
|
|
25
|
+
validator: o
|
|
26
|
+
}), Se = (e = /* @__PURE__ */ new Map(), o = null, t) => ({
|
|
26
27
|
nextPart: e,
|
|
27
|
-
validators:
|
|
28
|
-
classGroupId:
|
|
29
|
-
}),
|
|
30
|
-
const
|
|
31
|
-
conflictingClassGroups:
|
|
32
|
-
conflictingClassGroupModifiers:
|
|
28
|
+
validators: o,
|
|
29
|
+
classGroupId: t
|
|
30
|
+
}), ce = "-", ye = [], Qe = "arbitrary..", He = (e) => {
|
|
31
|
+
const o = Ze(e), {
|
|
32
|
+
conflictingClassGroups: t,
|
|
33
|
+
conflictingClassGroupModifiers: r
|
|
33
34
|
} = e;
|
|
34
35
|
return {
|
|
35
|
-
getClassGroupId: (
|
|
36
|
-
if (
|
|
37
|
-
return
|
|
38
|
-
const
|
|
39
|
-
return
|
|
36
|
+
getClassGroupId: (s) => {
|
|
37
|
+
if (s.startsWith("[") && s.endsWith("]"))
|
|
38
|
+
return Ke(s);
|
|
39
|
+
const p = s.split(ce), d = p[0] === "" && p.length > 1 ? 1 : 0;
|
|
40
|
+
return Ae(p, d, o);
|
|
40
41
|
},
|
|
41
|
-
getConflictingClassGroupIds: (
|
|
42
|
-
if (
|
|
43
|
-
const
|
|
44
|
-
return
|
|
42
|
+
getConflictingClassGroupIds: (s, p) => {
|
|
43
|
+
if (p) {
|
|
44
|
+
const d = r[s], g = t[s];
|
|
45
|
+
return d ? g ? Xe(g, d) : d : g || ye;
|
|
45
46
|
}
|
|
46
|
-
return
|
|
47
|
+
return t[s] || ye;
|
|
47
48
|
}
|
|
48
49
|
};
|
|
49
|
-
},
|
|
50
|
-
if (e.length -
|
|
51
|
-
return
|
|
52
|
-
const
|
|
53
|
-
if (
|
|
54
|
-
const
|
|
55
|
-
if (
|
|
50
|
+
}, Ae = (e, o, t) => {
|
|
51
|
+
if (e.length - o === 0)
|
|
52
|
+
return t.classGroupId;
|
|
53
|
+
const n = e[o], i = t.nextPart.get(n);
|
|
54
|
+
if (i) {
|
|
55
|
+
const g = Ae(e, o + 1, i);
|
|
56
|
+
if (g) return g;
|
|
56
57
|
}
|
|
57
|
-
const
|
|
58
|
-
if (
|
|
58
|
+
const s = t.validators;
|
|
59
|
+
if (s === null)
|
|
59
60
|
return;
|
|
60
|
-
const
|
|
61
|
-
for (let
|
|
62
|
-
const
|
|
63
|
-
if (
|
|
64
|
-
return
|
|
61
|
+
const p = o === 0 ? e.join(ce) : e.slice(o).join(ce), d = s.length;
|
|
62
|
+
for (let g = 0; g < d; g++) {
|
|
63
|
+
const x = s[g];
|
|
64
|
+
if (x.validator(p))
|
|
65
|
+
return x.classGroupId;
|
|
65
66
|
}
|
|
66
|
-
},
|
|
67
|
-
const
|
|
68
|
-
return
|
|
69
|
-
})(),
|
|
67
|
+
}, Ke = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
68
|
+
const o = e.slice(1, -1), t = o.indexOf(":"), r = o.slice(0, t);
|
|
69
|
+
return r ? Qe + r : void 0;
|
|
70
|
+
})(), Ze = (e) => {
|
|
70
71
|
const {
|
|
71
|
-
theme:
|
|
72
|
-
classGroups:
|
|
72
|
+
theme: o,
|
|
73
|
+
classGroups: t
|
|
73
74
|
} = e;
|
|
74
|
-
return
|
|
75
|
-
},
|
|
76
|
-
const
|
|
77
|
-
for (const
|
|
78
|
-
const
|
|
79
|
-
|
|
75
|
+
return qe(t, o);
|
|
76
|
+
}, qe = (e, o) => {
|
|
77
|
+
const t = Se();
|
|
78
|
+
for (const r in e) {
|
|
79
|
+
const n = e[r];
|
|
80
|
+
xe(n, t, r, o);
|
|
80
81
|
}
|
|
81
|
-
return
|
|
82
|
-
},
|
|
83
|
-
const
|
|
84
|
-
for (let
|
|
85
|
-
const
|
|
86
|
-
|
|
82
|
+
return t;
|
|
83
|
+
}, xe = (e, o, t, r) => {
|
|
84
|
+
const n = e.length;
|
|
85
|
+
for (let i = 0; i < n; i++) {
|
|
86
|
+
const s = e[i];
|
|
87
|
+
er(s, o, t, r);
|
|
87
88
|
}
|
|
88
|
-
},
|
|
89
|
+
}, er = (e, o, t, r) => {
|
|
89
90
|
if (typeof e == "string") {
|
|
90
|
-
|
|
91
|
+
rr(e, o, t);
|
|
91
92
|
return;
|
|
92
93
|
}
|
|
93
94
|
if (typeof e == "function") {
|
|
94
|
-
|
|
95
|
+
tr(e, o, t, r);
|
|
95
96
|
return;
|
|
96
97
|
}
|
|
97
|
-
|
|
98
|
-
},
|
|
99
|
-
const
|
|
100
|
-
|
|
101
|
-
},
|
|
102
|
-
if (
|
|
103
|
-
|
|
98
|
+
or(e, o, t, r);
|
|
99
|
+
}, rr = (e, o, t) => {
|
|
100
|
+
const r = e === "" ? o : Ie(o, e);
|
|
101
|
+
r.classGroupId = t;
|
|
102
|
+
}, tr = (e, o, t, r) => {
|
|
103
|
+
if (nr(e)) {
|
|
104
|
+
xe(e(r), o, t, r);
|
|
104
105
|
return;
|
|
105
106
|
}
|
|
106
|
-
|
|
107
|
-
},
|
|
108
|
-
const
|
|
109
|
-
for (let
|
|
110
|
-
const [
|
|
111
|
-
|
|
107
|
+
o.validators === null && (o.validators = []), o.validators.push(Je(t, e));
|
|
108
|
+
}, or = (e, o, t, r) => {
|
|
109
|
+
const n = Object.entries(e), i = n.length;
|
|
110
|
+
for (let s = 0; s < i; s++) {
|
|
111
|
+
const [p, d] = n[s];
|
|
112
|
+
xe(d, Ie(o, p), t, r);
|
|
112
113
|
}
|
|
113
|
-
},
|
|
114
|
-
let
|
|
115
|
-
const
|
|
116
|
-
for (let
|
|
117
|
-
const
|
|
118
|
-
let
|
|
119
|
-
|
|
114
|
+
}, Ie = (e, o) => {
|
|
115
|
+
let t = e;
|
|
116
|
+
const r = o.split(ce), n = r.length;
|
|
117
|
+
for (let i = 0; i < n; i++) {
|
|
118
|
+
const s = r[i];
|
|
119
|
+
let p = t.nextPart.get(s);
|
|
120
|
+
p || (p = Se(), t.nextPart.set(s, p)), t = p;
|
|
120
121
|
}
|
|
121
|
-
return
|
|
122
|
-
},
|
|
122
|
+
return t;
|
|
123
|
+
}, nr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, sr = (e) => {
|
|
123
124
|
if (e < 1)
|
|
124
125
|
return {
|
|
125
126
|
get: () => {
|
|
@@ -127,178 +128,178 @@ const Le = (e, t) => {
|
|
|
127
128
|
set: () => {
|
|
128
129
|
}
|
|
129
130
|
};
|
|
130
|
-
let
|
|
131
|
-
const
|
|
132
|
-
|
|
131
|
+
let o = 0, t = /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ Object.create(null);
|
|
132
|
+
const n = (i, s) => {
|
|
133
|
+
t[i] = s, o++, o > e && (o = 0, r = t, t = /* @__PURE__ */ Object.create(null));
|
|
133
134
|
};
|
|
134
135
|
return {
|
|
135
|
-
get(
|
|
136
|
-
let
|
|
137
|
-
if (
|
|
138
|
-
return
|
|
139
|
-
if ((
|
|
140
|
-
return
|
|
136
|
+
get(i) {
|
|
137
|
+
let s = t[i];
|
|
138
|
+
if (s !== void 0)
|
|
139
|
+
return s;
|
|
140
|
+
if ((s = r[i]) !== void 0)
|
|
141
|
+
return n(i, s), s;
|
|
141
142
|
},
|
|
142
|
-
set(
|
|
143
|
-
|
|
143
|
+
set(i, s) {
|
|
144
|
+
i in t ? t[i] = s : n(i, s);
|
|
144
145
|
}
|
|
145
146
|
};
|
|
146
|
-
},
|
|
147
|
+
}, ge = "!", ve = ":", ar = [], _e = (e, o, t, r, n) => ({
|
|
147
148
|
modifiers: e,
|
|
148
|
-
hasImportantModifier:
|
|
149
|
-
baseClassName:
|
|
150
|
-
maybePostfixModifierPosition:
|
|
151
|
-
isExternal:
|
|
152
|
-
}),
|
|
149
|
+
hasImportantModifier: o,
|
|
150
|
+
baseClassName: t,
|
|
151
|
+
maybePostfixModifierPosition: r,
|
|
152
|
+
isExternal: n
|
|
153
|
+
}), lr = (e) => {
|
|
153
154
|
const {
|
|
154
|
-
prefix:
|
|
155
|
-
experimentalParseClassName:
|
|
155
|
+
prefix: o,
|
|
156
|
+
experimentalParseClassName: t
|
|
156
157
|
} = e;
|
|
157
|
-
let
|
|
158
|
-
const
|
|
159
|
-
let
|
|
160
|
-
const
|
|
161
|
-
for (let
|
|
162
|
-
const
|
|
163
|
-
if (
|
|
164
|
-
if (
|
|
165
|
-
|
|
158
|
+
let r = (n) => {
|
|
159
|
+
const i = [];
|
|
160
|
+
let s = 0, p = 0, d = 0, g;
|
|
161
|
+
const x = n.length;
|
|
162
|
+
for (let S = 0; S < x; S++) {
|
|
163
|
+
const _ = n[S];
|
|
164
|
+
if (s === 0 && p === 0) {
|
|
165
|
+
if (_ === ve) {
|
|
166
|
+
i.push(n.slice(d, S)), d = S + 1;
|
|
166
167
|
continue;
|
|
167
168
|
}
|
|
168
|
-
if (
|
|
169
|
-
|
|
169
|
+
if (_ === "/") {
|
|
170
|
+
g = S;
|
|
170
171
|
continue;
|
|
171
172
|
}
|
|
172
173
|
}
|
|
173
|
-
|
|
174
|
+
_ === "[" ? s++ : _ === "]" ? s-- : _ === "(" ? p++ : _ === ")" && p--;
|
|
174
175
|
}
|
|
175
|
-
const
|
|
176
|
-
let
|
|
177
|
-
|
|
176
|
+
const k = i.length === 0 ? n : n.slice(d);
|
|
177
|
+
let v = k, N = !1;
|
|
178
|
+
k.endsWith(ge) ? (v = k.slice(0, -1), N = !0) : (
|
|
178
179
|
/**
|
|
179
180
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
180
181
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
181
182
|
*/
|
|
182
|
-
|
|
183
|
+
k.startsWith(ge) && (v = k.slice(1), N = !0)
|
|
183
184
|
);
|
|
184
|
-
const
|
|
185
|
-
return
|
|
185
|
+
const A = g && g > d ? g - d : void 0;
|
|
186
|
+
return _e(i, N, v, A);
|
|
186
187
|
};
|
|
187
|
-
if (
|
|
188
|
-
const
|
|
189
|
-
|
|
188
|
+
if (o) {
|
|
189
|
+
const n = o + ve, i = r;
|
|
190
|
+
r = (s) => s.startsWith(n) ? i(s.slice(n.length)) : _e(ar, !1, s, void 0, !0);
|
|
190
191
|
}
|
|
191
|
-
if (
|
|
192
|
-
const
|
|
193
|
-
|
|
194
|
-
className:
|
|
195
|
-
parseClassName:
|
|
192
|
+
if (t) {
|
|
193
|
+
const n = r;
|
|
194
|
+
r = (i) => t({
|
|
195
|
+
className: i,
|
|
196
|
+
parseClassName: n
|
|
196
197
|
});
|
|
197
198
|
}
|
|
198
|
-
return
|
|
199
|
-
},
|
|
200
|
-
const
|
|
201
|
-
return e.orderSensitiveModifiers.forEach((
|
|
202
|
-
|
|
203
|
-
}), (
|
|
204
|
-
const
|
|
205
|
-
let
|
|
206
|
-
for (let
|
|
207
|
-
const
|
|
208
|
-
|
|
199
|
+
return r;
|
|
200
|
+
}, ir = (e) => {
|
|
201
|
+
const o = /* @__PURE__ */ new Map();
|
|
202
|
+
return e.orderSensitiveModifiers.forEach((t, r) => {
|
|
203
|
+
o.set(t, 1e6 + r);
|
|
204
|
+
}), (t) => {
|
|
205
|
+
const r = [];
|
|
206
|
+
let n = [];
|
|
207
|
+
for (let i = 0; i < t.length; i++) {
|
|
208
|
+
const s = t[i], p = s[0] === "[", d = o.has(s);
|
|
209
|
+
p || d ? (n.length > 0 && (n.sort(), r.push(...n), n = []), r.push(s)) : n.push(s);
|
|
209
210
|
}
|
|
210
|
-
return
|
|
211
|
+
return n.length > 0 && (n.sort(), r.push(...n)), r;
|
|
211
212
|
};
|
|
212
|
-
},
|
|
213
|
-
cache:
|
|
214
|
-
parseClassName:
|
|
215
|
-
sortModifiers:
|
|
216
|
-
...
|
|
217
|
-
}),
|
|
213
|
+
}, dr = (e) => ({
|
|
214
|
+
cache: sr(e.cacheSize),
|
|
215
|
+
parseClassName: lr(e),
|
|
216
|
+
sortModifiers: ir(e),
|
|
217
|
+
...He(e)
|
|
218
|
+
}), cr = /\s+/, ur = (e, o) => {
|
|
218
219
|
const {
|
|
219
|
-
parseClassName:
|
|
220
|
-
getClassGroupId:
|
|
221
|
-
getConflictingClassGroupIds:
|
|
222
|
-
sortModifiers:
|
|
223
|
-
} =
|
|
224
|
-
let
|
|
225
|
-
for (let
|
|
226
|
-
const
|
|
227
|
-
isExternal:
|
|
228
|
-
modifiers:
|
|
229
|
-
hasImportantModifier:
|
|
230
|
-
baseClassName:
|
|
231
|
-
maybePostfixModifierPosition:
|
|
232
|
-
} =
|
|
233
|
-
if (
|
|
234
|
-
|
|
220
|
+
parseClassName: t,
|
|
221
|
+
getClassGroupId: r,
|
|
222
|
+
getConflictingClassGroupIds: n,
|
|
223
|
+
sortModifiers: i
|
|
224
|
+
} = o, s = [], p = e.trim().split(cr);
|
|
225
|
+
let d = "";
|
|
226
|
+
for (let g = p.length - 1; g >= 0; g -= 1) {
|
|
227
|
+
const x = p[g], {
|
|
228
|
+
isExternal: k,
|
|
229
|
+
modifiers: v,
|
|
230
|
+
hasImportantModifier: N,
|
|
231
|
+
baseClassName: A,
|
|
232
|
+
maybePostfixModifierPosition: S
|
|
233
|
+
} = t(x);
|
|
234
|
+
if (k) {
|
|
235
|
+
d = x + (d.length > 0 ? " " + d : d);
|
|
235
236
|
continue;
|
|
236
237
|
}
|
|
237
|
-
let
|
|
238
|
+
let _ = !!S, G = r(_ ? A.substring(0, S) : A);
|
|
238
239
|
if (!G) {
|
|
239
|
-
if (!
|
|
240
|
-
|
|
240
|
+
if (!_) {
|
|
241
|
+
d = x + (d.length > 0 ? " " + d : d);
|
|
241
242
|
continue;
|
|
242
243
|
}
|
|
243
|
-
if (G =
|
|
244
|
-
|
|
244
|
+
if (G = r(A), !G) {
|
|
245
|
+
d = x + (d.length > 0 ? " " + d : d);
|
|
245
246
|
continue;
|
|
246
247
|
}
|
|
247
|
-
|
|
248
|
+
_ = !1;
|
|
248
249
|
}
|
|
249
|
-
const
|
|
250
|
-
if (
|
|
250
|
+
const V = v.length === 0 ? "" : v.length === 1 ? v[0] : i(v).join(":"), B = N ? V + ge : V, L = B + G;
|
|
251
|
+
if (s.indexOf(L) > -1)
|
|
251
252
|
continue;
|
|
252
|
-
|
|
253
|
-
const
|
|
254
|
-
for (let
|
|
255
|
-
const
|
|
256
|
-
|
|
253
|
+
s.push(L);
|
|
254
|
+
const P = n(G, _);
|
|
255
|
+
for (let I = 0; I < P.length; ++I) {
|
|
256
|
+
const T = P[I];
|
|
257
|
+
s.push(B + T);
|
|
257
258
|
}
|
|
258
|
-
|
|
259
|
+
d = x + (d.length > 0 ? " " + d : d);
|
|
259
260
|
}
|
|
260
|
-
return
|
|
261
|
-
},
|
|
262
|
-
let
|
|
263
|
-
for (;
|
|
264
|
-
(
|
|
265
|
-
return
|
|
266
|
-
},
|
|
261
|
+
return d;
|
|
262
|
+
}, mr = (...e) => {
|
|
263
|
+
let o = 0, t, r, n = "";
|
|
264
|
+
for (; o < e.length; )
|
|
265
|
+
(t = e[o++]) && (r = Re(t)) && (n && (n += " "), n += r);
|
|
266
|
+
return n;
|
|
267
|
+
}, Re = (e) => {
|
|
267
268
|
if (typeof e == "string")
|
|
268
269
|
return e;
|
|
269
|
-
let
|
|
270
|
-
for (let
|
|
271
|
-
e[
|
|
272
|
-
return
|
|
273
|
-
},
|
|
274
|
-
let
|
|
275
|
-
const
|
|
276
|
-
const
|
|
277
|
-
return
|
|
278
|
-
},
|
|
279
|
-
const
|
|
280
|
-
if (
|
|
281
|
-
return
|
|
282
|
-
const
|
|
283
|
-
return
|
|
270
|
+
let o, t = "";
|
|
271
|
+
for (let r = 0; r < e.length; r++)
|
|
272
|
+
e[r] && (o = Re(e[r])) && (t && (t += " "), t += o);
|
|
273
|
+
return t;
|
|
274
|
+
}, pr = (e, ...o) => {
|
|
275
|
+
let t, r, n, i;
|
|
276
|
+
const s = (d) => {
|
|
277
|
+
const g = o.reduce((x, k) => k(x), e());
|
|
278
|
+
return t = dr(g), r = t.cache.get, n = t.cache.set, i = p, p(d);
|
|
279
|
+
}, p = (d) => {
|
|
280
|
+
const g = r(d);
|
|
281
|
+
if (g)
|
|
282
|
+
return g;
|
|
283
|
+
const x = ur(d, t);
|
|
284
|
+
return n(d, x), x;
|
|
284
285
|
};
|
|
285
|
-
return
|
|
286
|
-
},
|
|
287
|
-
const
|
|
288
|
-
return
|
|
289
|
-
},
|
|
286
|
+
return i = s, (...d) => i(mr(...d));
|
|
287
|
+
}, br = [], z = (e) => {
|
|
288
|
+
const o = (t) => t[e] || br;
|
|
289
|
+
return o.isThemeGetter = !0, o;
|
|
290
|
+
}, Me = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Pe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, fr = /^\d+\/\d+$/, gr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, hr = /\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$/, xr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, kr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, wr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, q = (e) => fr.test(e), f = (e) => !!e && !Number.isNaN(Number(e)), X = (e) => !!e && Number.isInteger(Number(e)), be = (e) => e.endsWith("%") && f(e.slice(0, -1)), D = (e) => gr.test(e), yr = () => !0, vr = (e) => (
|
|
290
291
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
291
292
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
292
293
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
293
|
-
|
|
294
|
-
),
|
|
295
|
-
const
|
|
296
|
-
return
|
|
297
|
-
},
|
|
298
|
-
const
|
|
299
|
-
return
|
|
300
|
-
},
|
|
301
|
-
const e =
|
|
294
|
+
hr.test(e) && !xr.test(e)
|
|
295
|
+
), je = () => !1, _r = (e) => kr.test(e), Nr = (e) => wr.test(e), Cr = (e) => !a(e) && !l(e), zr = (e) => ee(e, Ge, je), a = (e) => Me.test(e), H = (e) => ee(e, Le, vr), fe = (e) => ee(e, Mr, f), Ne = (e) => ee(e, Te, je), Sr = (e) => ee(e, Ee, Nr), ie = (e) => ee(e, Oe, _r), l = (e) => Pe.test(e), se = (e) => re(e, Le), Ar = (e) => re(e, Pr), Ce = (e) => re(e, Te), Ir = (e) => re(e, Ge), Rr = (e) => re(e, Ee), de = (e) => re(e, Oe, !0), ee = (e, o, t) => {
|
|
296
|
+
const r = Me.exec(e);
|
|
297
|
+
return r ? r[1] ? o(r[1]) : t(r[2]) : !1;
|
|
298
|
+
}, re = (e, o, t = !1) => {
|
|
299
|
+
const r = Pe.exec(e);
|
|
300
|
+
return r ? r[1] ? o(r[1]) : t : !1;
|
|
301
|
+
}, Te = (e) => e === "position" || e === "percentage", Ee = (e) => e === "image" || e === "url", Ge = (e) => e === "length" || e === "size" || e === "bg-size", Le = (e) => e === "length", Mr = (e) => e === "number", Pr = (e) => e === "family-name", Oe = (e) => e === "shadow", jr = () => {
|
|
302
|
+
const e = z("color"), o = z("font"), t = z("text"), r = z("font-weight"), n = z("tracking"), i = z("leading"), s = z("breakpoint"), p = z("container"), d = z("spacing"), g = z("radius"), x = z("shadow"), k = z("inset-shadow"), v = z("text-shadow"), N = z("drop-shadow"), A = z("blur"), S = z("perspective"), _ = z("aspect"), G = z("ease"), V = z("animate"), B = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], L = () => [
|
|
302
303
|
"center",
|
|
303
304
|
"top",
|
|
304
305
|
"bottom",
|
|
@@ -316,51 +317,51 @@ const Le = (e, t) => {
|
|
|
316
317
|
"bottom-left",
|
|
317
318
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
318
319
|
"left-bottom"
|
|
319
|
-
],
|
|
320
|
-
span: ["full",
|
|
321
|
-
},
|
|
322
|
-
position: [
|
|
323
|
-
}],
|
|
320
|
+
], P = () => [...L(), l, a], I = () => ["auto", "hidden", "clip", "visible", "scroll"], T = () => ["auto", "contain", "none"], u = () => [l, a, d], R = () => [q, "full", "auto", ...u()], J = () => [X, "none", "subgrid", l, a], te = () => ["auto", {
|
|
321
|
+
span: ["full", X, l, a]
|
|
322
|
+
}, X, l, a], $ = () => [X, "auto", l, a], Q = () => ["auto", "min", "max", "fr", l, a], oe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], U = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], O = () => ["auto", ...u()], W = () => [q, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], c = () => [e, l, a], E = () => [...L(), Ce, Ne, {
|
|
323
|
+
position: [l, a]
|
|
324
|
+
}], K = () => ["no-repeat", {
|
|
324
325
|
repeat: ["", "x", "y", "space", "round"]
|
|
325
|
-
}],
|
|
326
|
-
size: [
|
|
327
|
-
}],
|
|
326
|
+
}], ne = () => ["auto", "cover", "contain", Ir, zr, {
|
|
327
|
+
size: [l, a]
|
|
328
|
+
}], Y = () => [be, se, H], C = () => [
|
|
328
329
|
// Deprecated since Tailwind CSS v4.0.0
|
|
329
330
|
"",
|
|
330
331
|
"none",
|
|
331
332
|
"full",
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
],
|
|
333
|
+
g,
|
|
334
|
+
l,
|
|
335
|
+
a
|
|
336
|
+
], M = () => ["", f, se, H], Z = () => ["solid", "dashed", "dotted", "double"], b = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], h = () => [f, be, Ce, Ne], j = () => [
|
|
336
337
|
// Deprecated since Tailwind CSS v4.0.0
|
|
337
338
|
"",
|
|
338
339
|
"none",
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
],
|
|
340
|
+
A,
|
|
341
|
+
l,
|
|
342
|
+
a
|
|
343
|
+
], F = () => ["none", f, l, a], ae = () => ["none", f, l, a], me = () => [f, l, a], le = () => [q, "full", ...u()];
|
|
343
344
|
return {
|
|
344
345
|
cacheSize: 500,
|
|
345
346
|
theme: {
|
|
346
347
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
347
348
|
aspect: ["video"],
|
|
348
|
-
blur: [
|
|
349
|
-
breakpoint: [
|
|
350
|
-
color: [
|
|
351
|
-
container: [
|
|
352
|
-
"drop-shadow": [
|
|
349
|
+
blur: [D],
|
|
350
|
+
breakpoint: [D],
|
|
351
|
+
color: [yr],
|
|
352
|
+
container: [D],
|
|
353
|
+
"drop-shadow": [D],
|
|
353
354
|
ease: ["in", "out", "in-out"],
|
|
354
|
-
font: [
|
|
355
|
+
font: [Cr],
|
|
355
356
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
356
|
-
"inset-shadow": [
|
|
357
|
+
"inset-shadow": [D],
|
|
357
358
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
358
359
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
359
|
-
radius: [
|
|
360
|
-
shadow: [
|
|
361
|
-
spacing: ["px",
|
|
362
|
-
text: [
|
|
363
|
-
"text-shadow": [
|
|
360
|
+
radius: [D],
|
|
361
|
+
shadow: [D],
|
|
362
|
+
spacing: ["px", f],
|
|
363
|
+
text: [D],
|
|
364
|
+
"text-shadow": [D],
|
|
364
365
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
365
366
|
},
|
|
366
367
|
classGroups: {
|
|
@@ -372,7 +373,7 @@ const Le = (e, t) => {
|
|
|
372
373
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
373
374
|
*/
|
|
374
375
|
aspect: [{
|
|
375
|
-
aspect: ["auto", "square",
|
|
376
|
+
aspect: ["auto", "square", q, a, l, _]
|
|
376
377
|
}],
|
|
377
378
|
/**
|
|
378
379
|
* Container
|
|
@@ -385,7 +386,7 @@ const Le = (e, t) => {
|
|
|
385
386
|
* @see https://tailwindcss.com/docs/columns
|
|
386
387
|
*/
|
|
387
388
|
columns: [{
|
|
388
|
-
columns: [
|
|
389
|
+
columns: [f, a, l, p]
|
|
389
390
|
}],
|
|
390
391
|
/**
|
|
391
392
|
* Break After
|
|
@@ -463,49 +464,49 @@ const Le = (e, t) => {
|
|
|
463
464
|
* @see https://tailwindcss.com/docs/object-position
|
|
464
465
|
*/
|
|
465
466
|
"object-position": [{
|
|
466
|
-
object:
|
|
467
|
+
object: P()
|
|
467
468
|
}],
|
|
468
469
|
/**
|
|
469
470
|
* Overflow
|
|
470
471
|
* @see https://tailwindcss.com/docs/overflow
|
|
471
472
|
*/
|
|
472
473
|
overflow: [{
|
|
473
|
-
overflow:
|
|
474
|
+
overflow: I()
|
|
474
475
|
}],
|
|
475
476
|
/**
|
|
476
477
|
* Overflow X
|
|
477
478
|
* @see https://tailwindcss.com/docs/overflow
|
|
478
479
|
*/
|
|
479
480
|
"overflow-x": [{
|
|
480
|
-
"overflow-x":
|
|
481
|
+
"overflow-x": I()
|
|
481
482
|
}],
|
|
482
483
|
/**
|
|
483
484
|
* Overflow Y
|
|
484
485
|
* @see https://tailwindcss.com/docs/overflow
|
|
485
486
|
*/
|
|
486
487
|
"overflow-y": [{
|
|
487
|
-
"overflow-y":
|
|
488
|
+
"overflow-y": I()
|
|
488
489
|
}],
|
|
489
490
|
/**
|
|
490
491
|
* Overscroll Behavior
|
|
491
492
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
492
493
|
*/
|
|
493
494
|
overscroll: [{
|
|
494
|
-
overscroll:
|
|
495
|
+
overscroll: T()
|
|
495
496
|
}],
|
|
496
497
|
/**
|
|
497
498
|
* Overscroll Behavior X
|
|
498
499
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
499
500
|
*/
|
|
500
501
|
"overscroll-x": [{
|
|
501
|
-
"overscroll-x":
|
|
502
|
+
"overscroll-x": T()
|
|
502
503
|
}],
|
|
503
504
|
/**
|
|
504
505
|
* Overscroll Behavior Y
|
|
505
506
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
506
507
|
*/
|
|
507
508
|
"overscroll-y": [{
|
|
508
|
-
"overscroll-y":
|
|
509
|
+
"overscroll-y": T()
|
|
509
510
|
}],
|
|
510
511
|
/**
|
|
511
512
|
* Position
|
|
@@ -517,63 +518,63 @@ const Le = (e, t) => {
|
|
|
517
518
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
518
519
|
*/
|
|
519
520
|
inset: [{
|
|
520
|
-
inset:
|
|
521
|
+
inset: R()
|
|
521
522
|
}],
|
|
522
523
|
/**
|
|
523
524
|
* Right / Left
|
|
524
525
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
525
526
|
*/
|
|
526
527
|
"inset-x": [{
|
|
527
|
-
"inset-x":
|
|
528
|
+
"inset-x": R()
|
|
528
529
|
}],
|
|
529
530
|
/**
|
|
530
531
|
* Top / Bottom
|
|
531
532
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
532
533
|
*/
|
|
533
534
|
"inset-y": [{
|
|
534
|
-
"inset-y":
|
|
535
|
+
"inset-y": R()
|
|
535
536
|
}],
|
|
536
537
|
/**
|
|
537
538
|
* Start
|
|
538
539
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
539
540
|
*/
|
|
540
541
|
start: [{
|
|
541
|
-
start:
|
|
542
|
+
start: R()
|
|
542
543
|
}],
|
|
543
544
|
/**
|
|
544
545
|
* End
|
|
545
546
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
546
547
|
*/
|
|
547
548
|
end: [{
|
|
548
|
-
end:
|
|
549
|
+
end: R()
|
|
549
550
|
}],
|
|
550
551
|
/**
|
|
551
552
|
* Top
|
|
552
553
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
553
554
|
*/
|
|
554
555
|
top: [{
|
|
555
|
-
top:
|
|
556
|
+
top: R()
|
|
556
557
|
}],
|
|
557
558
|
/**
|
|
558
559
|
* Right
|
|
559
560
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
560
561
|
*/
|
|
561
562
|
right: [{
|
|
562
|
-
right:
|
|
563
|
+
right: R()
|
|
563
564
|
}],
|
|
564
565
|
/**
|
|
565
566
|
* Bottom
|
|
566
567
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
567
568
|
*/
|
|
568
569
|
bottom: [{
|
|
569
|
-
bottom:
|
|
570
|
+
bottom: R()
|
|
570
571
|
}],
|
|
571
572
|
/**
|
|
572
573
|
* Left
|
|
573
574
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
574
575
|
*/
|
|
575
576
|
left: [{
|
|
576
|
-
left:
|
|
577
|
+
left: R()
|
|
577
578
|
}],
|
|
578
579
|
/**
|
|
579
580
|
* Visibility
|
|
@@ -585,7 +586,7 @@ const Le = (e, t) => {
|
|
|
585
586
|
* @see https://tailwindcss.com/docs/z-index
|
|
586
587
|
*/
|
|
587
588
|
z: [{
|
|
588
|
-
z: [
|
|
589
|
+
z: [X, "auto", l, a]
|
|
589
590
|
}],
|
|
590
591
|
// ------------------------
|
|
591
592
|
// --- Flexbox and Grid ---
|
|
@@ -595,7 +596,7 @@ const Le = (e, t) => {
|
|
|
595
596
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
596
597
|
*/
|
|
597
598
|
basis: [{
|
|
598
|
-
basis: [
|
|
599
|
+
basis: [q, "full", "auto", p, ...u()]
|
|
599
600
|
}],
|
|
600
601
|
/**
|
|
601
602
|
* Flex Direction
|
|
@@ -616,84 +617,84 @@ const Le = (e, t) => {
|
|
|
616
617
|
* @see https://tailwindcss.com/docs/flex
|
|
617
618
|
*/
|
|
618
619
|
flex: [{
|
|
619
|
-
flex: [
|
|
620
|
+
flex: [f, q, "auto", "initial", "none", a]
|
|
620
621
|
}],
|
|
621
622
|
/**
|
|
622
623
|
* Flex Grow
|
|
623
624
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
624
625
|
*/
|
|
625
626
|
grow: [{
|
|
626
|
-
grow: ["",
|
|
627
|
+
grow: ["", f, l, a]
|
|
627
628
|
}],
|
|
628
629
|
/**
|
|
629
630
|
* Flex Shrink
|
|
630
631
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
631
632
|
*/
|
|
632
633
|
shrink: [{
|
|
633
|
-
shrink: ["",
|
|
634
|
+
shrink: ["", f, l, a]
|
|
634
635
|
}],
|
|
635
636
|
/**
|
|
636
637
|
* Order
|
|
637
638
|
* @see https://tailwindcss.com/docs/order
|
|
638
639
|
*/
|
|
639
640
|
order: [{
|
|
640
|
-
order: [
|
|
641
|
+
order: [X, "first", "last", "none", l, a]
|
|
641
642
|
}],
|
|
642
643
|
/**
|
|
643
644
|
* Grid Template Columns
|
|
644
645
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
645
646
|
*/
|
|
646
647
|
"grid-cols": [{
|
|
647
|
-
"grid-cols":
|
|
648
|
+
"grid-cols": J()
|
|
648
649
|
}],
|
|
649
650
|
/**
|
|
650
651
|
* Grid Column Start / End
|
|
651
652
|
* @see https://tailwindcss.com/docs/grid-column
|
|
652
653
|
*/
|
|
653
654
|
"col-start-end": [{
|
|
654
|
-
col:
|
|
655
|
+
col: te()
|
|
655
656
|
}],
|
|
656
657
|
/**
|
|
657
658
|
* Grid Column Start
|
|
658
659
|
* @see https://tailwindcss.com/docs/grid-column
|
|
659
660
|
*/
|
|
660
661
|
"col-start": [{
|
|
661
|
-
"col-start":
|
|
662
|
+
"col-start": $()
|
|
662
663
|
}],
|
|
663
664
|
/**
|
|
664
665
|
* Grid Column End
|
|
665
666
|
* @see https://tailwindcss.com/docs/grid-column
|
|
666
667
|
*/
|
|
667
668
|
"col-end": [{
|
|
668
|
-
"col-end":
|
|
669
|
+
"col-end": $()
|
|
669
670
|
}],
|
|
670
671
|
/**
|
|
671
672
|
* Grid Template Rows
|
|
672
673
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
673
674
|
*/
|
|
674
675
|
"grid-rows": [{
|
|
675
|
-
"grid-rows":
|
|
676
|
+
"grid-rows": J()
|
|
676
677
|
}],
|
|
677
678
|
/**
|
|
678
679
|
* Grid Row Start / End
|
|
679
680
|
* @see https://tailwindcss.com/docs/grid-row
|
|
680
681
|
*/
|
|
681
682
|
"row-start-end": [{
|
|
682
|
-
row:
|
|
683
|
+
row: te()
|
|
683
684
|
}],
|
|
684
685
|
/**
|
|
685
686
|
* Grid Row Start
|
|
686
687
|
* @see https://tailwindcss.com/docs/grid-row
|
|
687
688
|
*/
|
|
688
689
|
"row-start": [{
|
|
689
|
-
"row-start":
|
|
690
|
+
"row-start": $()
|
|
690
691
|
}],
|
|
691
692
|
/**
|
|
692
693
|
* Grid Row End
|
|
693
694
|
* @see https://tailwindcss.com/docs/grid-row
|
|
694
695
|
*/
|
|
695
696
|
"row-end": [{
|
|
696
|
-
"row-end":
|
|
697
|
+
"row-end": $()
|
|
697
698
|
}],
|
|
698
699
|
/**
|
|
699
700
|
* Grid Auto Flow
|
|
@@ -707,70 +708,70 @@ const Le = (e, t) => {
|
|
|
707
708
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
708
709
|
*/
|
|
709
710
|
"auto-cols": [{
|
|
710
|
-
"auto-cols":
|
|
711
|
+
"auto-cols": Q()
|
|
711
712
|
}],
|
|
712
713
|
/**
|
|
713
714
|
* Grid Auto Rows
|
|
714
715
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
715
716
|
*/
|
|
716
717
|
"auto-rows": [{
|
|
717
|
-
"auto-rows":
|
|
718
|
+
"auto-rows": Q()
|
|
718
719
|
}],
|
|
719
720
|
/**
|
|
720
721
|
* Gap
|
|
721
722
|
* @see https://tailwindcss.com/docs/gap
|
|
722
723
|
*/
|
|
723
724
|
gap: [{
|
|
724
|
-
gap:
|
|
725
|
+
gap: u()
|
|
725
726
|
}],
|
|
726
727
|
/**
|
|
727
728
|
* Gap X
|
|
728
729
|
* @see https://tailwindcss.com/docs/gap
|
|
729
730
|
*/
|
|
730
731
|
"gap-x": [{
|
|
731
|
-
"gap-x":
|
|
732
|
+
"gap-x": u()
|
|
732
733
|
}],
|
|
733
734
|
/**
|
|
734
735
|
* Gap Y
|
|
735
736
|
* @see https://tailwindcss.com/docs/gap
|
|
736
737
|
*/
|
|
737
738
|
"gap-y": [{
|
|
738
|
-
"gap-y":
|
|
739
|
+
"gap-y": u()
|
|
739
740
|
}],
|
|
740
741
|
/**
|
|
741
742
|
* Justify Content
|
|
742
743
|
* @see https://tailwindcss.com/docs/justify-content
|
|
743
744
|
*/
|
|
744
745
|
"justify-content": [{
|
|
745
|
-
justify: [...
|
|
746
|
+
justify: [...oe(), "normal"]
|
|
746
747
|
}],
|
|
747
748
|
/**
|
|
748
749
|
* Justify Items
|
|
749
750
|
* @see https://tailwindcss.com/docs/justify-items
|
|
750
751
|
*/
|
|
751
752
|
"justify-items": [{
|
|
752
|
-
"justify-items": [...
|
|
753
|
+
"justify-items": [...U(), "normal"]
|
|
753
754
|
}],
|
|
754
755
|
/**
|
|
755
756
|
* Justify Self
|
|
756
757
|
* @see https://tailwindcss.com/docs/justify-self
|
|
757
758
|
*/
|
|
758
759
|
"justify-self": [{
|
|
759
|
-
"justify-self": ["auto", ...
|
|
760
|
+
"justify-self": ["auto", ...U()]
|
|
760
761
|
}],
|
|
761
762
|
/**
|
|
762
763
|
* Align Content
|
|
763
764
|
* @see https://tailwindcss.com/docs/align-content
|
|
764
765
|
*/
|
|
765
766
|
"align-content": [{
|
|
766
|
-
content: ["normal", ...
|
|
767
|
+
content: ["normal", ...oe()]
|
|
767
768
|
}],
|
|
768
769
|
/**
|
|
769
770
|
* Align Items
|
|
770
771
|
* @see https://tailwindcss.com/docs/align-items
|
|
771
772
|
*/
|
|
772
773
|
"align-items": [{
|
|
773
|
-
items: [...
|
|
774
|
+
items: [...U(), {
|
|
774
775
|
baseline: ["", "last"]
|
|
775
776
|
}]
|
|
776
777
|
}],
|
|
@@ -779,7 +780,7 @@ const Le = (e, t) => {
|
|
|
779
780
|
* @see https://tailwindcss.com/docs/align-self
|
|
780
781
|
*/
|
|
781
782
|
"align-self": [{
|
|
782
|
-
self: ["auto", ...
|
|
783
|
+
self: ["auto", ...U(), {
|
|
783
784
|
baseline: ["", "last"]
|
|
784
785
|
}]
|
|
785
786
|
}],
|
|
@@ -788,21 +789,21 @@ const Le = (e, t) => {
|
|
|
788
789
|
* @see https://tailwindcss.com/docs/place-content
|
|
789
790
|
*/
|
|
790
791
|
"place-content": [{
|
|
791
|
-
"place-content":
|
|
792
|
+
"place-content": oe()
|
|
792
793
|
}],
|
|
793
794
|
/**
|
|
794
795
|
* Place Items
|
|
795
796
|
* @see https://tailwindcss.com/docs/place-items
|
|
796
797
|
*/
|
|
797
798
|
"place-items": [{
|
|
798
|
-
"place-items": [...
|
|
799
|
+
"place-items": [...U(), "baseline"]
|
|
799
800
|
}],
|
|
800
801
|
/**
|
|
801
802
|
* Place Self
|
|
802
803
|
* @see https://tailwindcss.com/docs/place-self
|
|
803
804
|
*/
|
|
804
805
|
"place-self": [{
|
|
805
|
-
"place-self": ["auto", ...
|
|
806
|
+
"place-self": ["auto", ...U()]
|
|
806
807
|
}],
|
|
807
808
|
// Spacing
|
|
808
809
|
/**
|
|
@@ -810,133 +811,133 @@ const Le = (e, t) => {
|
|
|
810
811
|
* @see https://tailwindcss.com/docs/padding
|
|
811
812
|
*/
|
|
812
813
|
p: [{
|
|
813
|
-
p:
|
|
814
|
+
p: u()
|
|
814
815
|
}],
|
|
815
816
|
/**
|
|
816
817
|
* Padding X
|
|
817
818
|
* @see https://tailwindcss.com/docs/padding
|
|
818
819
|
*/
|
|
819
820
|
px: [{
|
|
820
|
-
px:
|
|
821
|
+
px: u()
|
|
821
822
|
}],
|
|
822
823
|
/**
|
|
823
824
|
* Padding Y
|
|
824
825
|
* @see https://tailwindcss.com/docs/padding
|
|
825
826
|
*/
|
|
826
827
|
py: [{
|
|
827
|
-
py:
|
|
828
|
+
py: u()
|
|
828
829
|
}],
|
|
829
830
|
/**
|
|
830
831
|
* Padding Start
|
|
831
832
|
* @see https://tailwindcss.com/docs/padding
|
|
832
833
|
*/
|
|
833
834
|
ps: [{
|
|
834
|
-
ps:
|
|
835
|
+
ps: u()
|
|
835
836
|
}],
|
|
836
837
|
/**
|
|
837
838
|
* Padding End
|
|
838
839
|
* @see https://tailwindcss.com/docs/padding
|
|
839
840
|
*/
|
|
840
841
|
pe: [{
|
|
841
|
-
pe:
|
|
842
|
+
pe: u()
|
|
842
843
|
}],
|
|
843
844
|
/**
|
|
844
845
|
* Padding Top
|
|
845
846
|
* @see https://tailwindcss.com/docs/padding
|
|
846
847
|
*/
|
|
847
848
|
pt: [{
|
|
848
|
-
pt:
|
|
849
|
+
pt: u()
|
|
849
850
|
}],
|
|
850
851
|
/**
|
|
851
852
|
* Padding Right
|
|
852
853
|
* @see https://tailwindcss.com/docs/padding
|
|
853
854
|
*/
|
|
854
855
|
pr: [{
|
|
855
|
-
pr:
|
|
856
|
+
pr: u()
|
|
856
857
|
}],
|
|
857
858
|
/**
|
|
858
859
|
* Padding Bottom
|
|
859
860
|
* @see https://tailwindcss.com/docs/padding
|
|
860
861
|
*/
|
|
861
862
|
pb: [{
|
|
862
|
-
pb:
|
|
863
|
+
pb: u()
|
|
863
864
|
}],
|
|
864
865
|
/**
|
|
865
866
|
* Padding Left
|
|
866
867
|
* @see https://tailwindcss.com/docs/padding
|
|
867
868
|
*/
|
|
868
869
|
pl: [{
|
|
869
|
-
pl:
|
|
870
|
+
pl: u()
|
|
870
871
|
}],
|
|
871
872
|
/**
|
|
872
873
|
* Margin
|
|
873
874
|
* @see https://tailwindcss.com/docs/margin
|
|
874
875
|
*/
|
|
875
876
|
m: [{
|
|
876
|
-
m:
|
|
877
|
+
m: O()
|
|
877
878
|
}],
|
|
878
879
|
/**
|
|
879
880
|
* Margin X
|
|
880
881
|
* @see https://tailwindcss.com/docs/margin
|
|
881
882
|
*/
|
|
882
883
|
mx: [{
|
|
883
|
-
mx:
|
|
884
|
+
mx: O()
|
|
884
885
|
}],
|
|
885
886
|
/**
|
|
886
887
|
* Margin Y
|
|
887
888
|
* @see https://tailwindcss.com/docs/margin
|
|
888
889
|
*/
|
|
889
890
|
my: [{
|
|
890
|
-
my:
|
|
891
|
+
my: O()
|
|
891
892
|
}],
|
|
892
893
|
/**
|
|
893
894
|
* Margin Start
|
|
894
895
|
* @see https://tailwindcss.com/docs/margin
|
|
895
896
|
*/
|
|
896
897
|
ms: [{
|
|
897
|
-
ms:
|
|
898
|
+
ms: O()
|
|
898
899
|
}],
|
|
899
900
|
/**
|
|
900
901
|
* Margin End
|
|
901
902
|
* @see https://tailwindcss.com/docs/margin
|
|
902
903
|
*/
|
|
903
904
|
me: [{
|
|
904
|
-
me:
|
|
905
|
+
me: O()
|
|
905
906
|
}],
|
|
906
907
|
/**
|
|
907
908
|
* Margin Top
|
|
908
909
|
* @see https://tailwindcss.com/docs/margin
|
|
909
910
|
*/
|
|
910
911
|
mt: [{
|
|
911
|
-
mt:
|
|
912
|
+
mt: O()
|
|
912
913
|
}],
|
|
913
914
|
/**
|
|
914
915
|
* Margin Right
|
|
915
916
|
* @see https://tailwindcss.com/docs/margin
|
|
916
917
|
*/
|
|
917
918
|
mr: [{
|
|
918
|
-
mr:
|
|
919
|
+
mr: O()
|
|
919
920
|
}],
|
|
920
921
|
/**
|
|
921
922
|
* Margin Bottom
|
|
922
923
|
* @see https://tailwindcss.com/docs/margin
|
|
923
924
|
*/
|
|
924
925
|
mb: [{
|
|
925
|
-
mb:
|
|
926
|
+
mb: O()
|
|
926
927
|
}],
|
|
927
928
|
/**
|
|
928
929
|
* Margin Left
|
|
929
930
|
* @see https://tailwindcss.com/docs/margin
|
|
930
931
|
*/
|
|
931
932
|
ml: [{
|
|
932
|
-
ml:
|
|
933
|
+
ml: O()
|
|
933
934
|
}],
|
|
934
935
|
/**
|
|
935
936
|
* Space Between X
|
|
936
937
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
937
938
|
*/
|
|
938
939
|
"space-x": [{
|
|
939
|
-
"space-x":
|
|
940
|
+
"space-x": u()
|
|
940
941
|
}],
|
|
941
942
|
/**
|
|
942
943
|
* Space Between X Reverse
|
|
@@ -948,7 +949,7 @@ const Le = (e, t) => {
|
|
|
948
949
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
949
950
|
*/
|
|
950
951
|
"space-y": [{
|
|
951
|
-
"space-y":
|
|
952
|
+
"space-y": u()
|
|
952
953
|
}],
|
|
953
954
|
/**
|
|
954
955
|
* Space Between Y Reverse
|
|
@@ -963,14 +964,14 @@ const Le = (e, t) => {
|
|
|
963
964
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
964
965
|
*/
|
|
965
966
|
size: [{
|
|
966
|
-
size:
|
|
967
|
+
size: W()
|
|
967
968
|
}],
|
|
968
969
|
/**
|
|
969
970
|
* Width
|
|
970
971
|
* @see https://tailwindcss.com/docs/width
|
|
971
972
|
*/
|
|
972
973
|
w: [{
|
|
973
|
-
w: [
|
|
974
|
+
w: [p, "screen", ...W()]
|
|
974
975
|
}],
|
|
975
976
|
/**
|
|
976
977
|
* Min-Width
|
|
@@ -978,11 +979,11 @@ const Le = (e, t) => {
|
|
|
978
979
|
*/
|
|
979
980
|
"min-w": [{
|
|
980
981
|
"min-w": [
|
|
981
|
-
|
|
982
|
+
p,
|
|
982
983
|
"screen",
|
|
983
984
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
984
985
|
"none",
|
|
985
|
-
...
|
|
986
|
+
...W()
|
|
986
987
|
]
|
|
987
988
|
}],
|
|
988
989
|
/**
|
|
@@ -991,16 +992,16 @@ const Le = (e, t) => {
|
|
|
991
992
|
*/
|
|
992
993
|
"max-w": [{
|
|
993
994
|
"max-w": [
|
|
994
|
-
|
|
995
|
+
p,
|
|
995
996
|
"screen",
|
|
996
997
|
"none",
|
|
997
998
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
998
999
|
"prose",
|
|
999
1000
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1000
1001
|
{
|
|
1001
|
-
screen: [
|
|
1002
|
+
screen: [s]
|
|
1002
1003
|
},
|
|
1003
|
-
...
|
|
1004
|
+
...W()
|
|
1004
1005
|
]
|
|
1005
1006
|
}],
|
|
1006
1007
|
/**
|
|
@@ -1008,21 +1009,21 @@ const Le = (e, t) => {
|
|
|
1008
1009
|
* @see https://tailwindcss.com/docs/height
|
|
1009
1010
|
*/
|
|
1010
1011
|
h: [{
|
|
1011
|
-
h: ["screen", "lh", ...
|
|
1012
|
+
h: ["screen", "lh", ...W()]
|
|
1012
1013
|
}],
|
|
1013
1014
|
/**
|
|
1014
1015
|
* Min-Height
|
|
1015
1016
|
* @see https://tailwindcss.com/docs/min-height
|
|
1016
1017
|
*/
|
|
1017
1018
|
"min-h": [{
|
|
1018
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1019
|
+
"min-h": ["screen", "lh", "none", ...W()]
|
|
1019
1020
|
}],
|
|
1020
1021
|
/**
|
|
1021
1022
|
* Max-Height
|
|
1022
1023
|
* @see https://tailwindcss.com/docs/max-height
|
|
1023
1024
|
*/
|
|
1024
1025
|
"max-h": [{
|
|
1025
|
-
"max-h": ["screen", "lh", ...
|
|
1026
|
+
"max-h": ["screen", "lh", ...W()]
|
|
1026
1027
|
}],
|
|
1027
1028
|
// ------------------
|
|
1028
1029
|
// --- Typography ---
|
|
@@ -1032,7 +1033,7 @@ const Le = (e, t) => {
|
|
|
1032
1033
|
* @see https://tailwindcss.com/docs/font-size
|
|
1033
1034
|
*/
|
|
1034
1035
|
"font-size": [{
|
|
1035
|
-
text: ["base",
|
|
1036
|
+
text: ["base", t, se, H]
|
|
1036
1037
|
}],
|
|
1037
1038
|
/**
|
|
1038
1039
|
* Font Smoothing
|
|
@@ -1049,21 +1050,21 @@ const Le = (e, t) => {
|
|
|
1049
1050
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1050
1051
|
*/
|
|
1051
1052
|
"font-weight": [{
|
|
1052
|
-
font: [
|
|
1053
|
+
font: [r, l, fe]
|
|
1053
1054
|
}],
|
|
1054
1055
|
/**
|
|
1055
1056
|
* Font Stretch
|
|
1056
1057
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1057
1058
|
*/
|
|
1058
1059
|
"font-stretch": [{
|
|
1059
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1060
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", be, a]
|
|
1060
1061
|
}],
|
|
1061
1062
|
/**
|
|
1062
1063
|
* Font Family
|
|
1063
1064
|
* @see https://tailwindcss.com/docs/font-family
|
|
1064
1065
|
*/
|
|
1065
1066
|
"font-family": [{
|
|
1066
|
-
font: [
|
|
1067
|
+
font: [Ar, a, o]
|
|
1067
1068
|
}],
|
|
1068
1069
|
/**
|
|
1069
1070
|
* Font Variant Numeric
|
|
@@ -1100,14 +1101,14 @@ const Le = (e, t) => {
|
|
|
1100
1101
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1101
1102
|
*/
|
|
1102
1103
|
tracking: [{
|
|
1103
|
-
tracking: [
|
|
1104
|
+
tracking: [n, l, a]
|
|
1104
1105
|
}],
|
|
1105
1106
|
/**
|
|
1106
1107
|
* Line Clamp
|
|
1107
1108
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1108
1109
|
*/
|
|
1109
1110
|
"line-clamp": [{
|
|
1110
|
-
"line-clamp": [
|
|
1111
|
+
"line-clamp": [f, "none", l, fe]
|
|
1111
1112
|
}],
|
|
1112
1113
|
/**
|
|
1113
1114
|
* Line Height
|
|
@@ -1116,8 +1117,8 @@ const Le = (e, t) => {
|
|
|
1116
1117
|
leading: [{
|
|
1117
1118
|
leading: [
|
|
1118
1119
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1119
|
-
|
|
1120
|
-
...
|
|
1120
|
+
i,
|
|
1121
|
+
...u()
|
|
1121
1122
|
]
|
|
1122
1123
|
}],
|
|
1123
1124
|
/**
|
|
@@ -1125,7 +1126,7 @@ const Le = (e, t) => {
|
|
|
1125
1126
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1126
1127
|
*/
|
|
1127
1128
|
"list-image": [{
|
|
1128
|
-
"list-image": ["none",
|
|
1129
|
+
"list-image": ["none", l, a]
|
|
1129
1130
|
}],
|
|
1130
1131
|
/**
|
|
1131
1132
|
* List Style Position
|
|
@@ -1139,7 +1140,7 @@ const Le = (e, t) => {
|
|
|
1139
1140
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1140
1141
|
*/
|
|
1141
1142
|
"list-style-type": [{
|
|
1142
|
-
list: ["disc", "decimal", "none",
|
|
1143
|
+
list: ["disc", "decimal", "none", l, a]
|
|
1143
1144
|
}],
|
|
1144
1145
|
/**
|
|
1145
1146
|
* Text Alignment
|
|
@@ -1173,14 +1174,14 @@ const Le = (e, t) => {
|
|
|
1173
1174
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1174
1175
|
*/
|
|
1175
1176
|
"text-decoration-style": [{
|
|
1176
|
-
decoration: [...
|
|
1177
|
+
decoration: [...Z(), "wavy"]
|
|
1177
1178
|
}],
|
|
1178
1179
|
/**
|
|
1179
1180
|
* Text Decoration Thickness
|
|
1180
1181
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1181
1182
|
*/
|
|
1182
1183
|
"text-decoration-thickness": [{
|
|
1183
|
-
decoration: [
|
|
1184
|
+
decoration: [f, "from-font", "auto", l, H]
|
|
1184
1185
|
}],
|
|
1185
1186
|
/**
|
|
1186
1187
|
* Text Decoration Color
|
|
@@ -1194,7 +1195,7 @@ const Le = (e, t) => {
|
|
|
1194
1195
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1195
1196
|
*/
|
|
1196
1197
|
"underline-offset": [{
|
|
1197
|
-
"underline-offset": [
|
|
1198
|
+
"underline-offset": [f, "auto", l, a]
|
|
1198
1199
|
}],
|
|
1199
1200
|
/**
|
|
1200
1201
|
* Text Transform
|
|
@@ -1218,14 +1219,14 @@ const Le = (e, t) => {
|
|
|
1218
1219
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1219
1220
|
*/
|
|
1220
1221
|
indent: [{
|
|
1221
|
-
indent:
|
|
1222
|
+
indent: u()
|
|
1222
1223
|
}],
|
|
1223
1224
|
/**
|
|
1224
1225
|
* Vertical Alignment
|
|
1225
1226
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1226
1227
|
*/
|
|
1227
1228
|
"vertical-align": [{
|
|
1228
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1229
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", l, a]
|
|
1229
1230
|
}],
|
|
1230
1231
|
/**
|
|
1231
1232
|
* Whitespace
|
|
@@ -1260,7 +1261,7 @@ const Le = (e, t) => {
|
|
|
1260
1261
|
* @see https://tailwindcss.com/docs/content
|
|
1261
1262
|
*/
|
|
1262
1263
|
content: [{
|
|
1263
|
-
content: ["none",
|
|
1264
|
+
content: ["none", l, a]
|
|
1264
1265
|
}],
|
|
1265
1266
|
// -------------------
|
|
1266
1267
|
// --- Backgrounds ---
|
|
@@ -1291,21 +1292,21 @@ const Le = (e, t) => {
|
|
|
1291
1292
|
* @see https://tailwindcss.com/docs/background-position
|
|
1292
1293
|
*/
|
|
1293
1294
|
"bg-position": [{
|
|
1294
|
-
bg:
|
|
1295
|
+
bg: E()
|
|
1295
1296
|
}],
|
|
1296
1297
|
/**
|
|
1297
1298
|
* Background Repeat
|
|
1298
1299
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1299
1300
|
*/
|
|
1300
1301
|
"bg-repeat": [{
|
|
1301
|
-
bg:
|
|
1302
|
+
bg: K()
|
|
1302
1303
|
}],
|
|
1303
1304
|
/**
|
|
1304
1305
|
* Background Size
|
|
1305
1306
|
* @see https://tailwindcss.com/docs/background-size
|
|
1306
1307
|
*/
|
|
1307
1308
|
"bg-size": [{
|
|
1308
|
-
bg:
|
|
1309
|
+
bg: ne()
|
|
1309
1310
|
}],
|
|
1310
1311
|
/**
|
|
1311
1312
|
* Background Image
|
|
@@ -1315,10 +1316,10 @@ const Le = (e, t) => {
|
|
|
1315
1316
|
bg: ["none", {
|
|
1316
1317
|
linear: [{
|
|
1317
1318
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1318
|
-
},
|
|
1319
|
-
radial: ["",
|
|
1320
|
-
conic: [
|
|
1321
|
-
},
|
|
1319
|
+
}, X, l, a],
|
|
1320
|
+
radial: ["", l, a],
|
|
1321
|
+
conic: [X, l, a]
|
|
1322
|
+
}, Rr, Sr]
|
|
1322
1323
|
}],
|
|
1323
1324
|
/**
|
|
1324
1325
|
* Background Color
|
|
@@ -1332,21 +1333,21 @@ const Le = (e, t) => {
|
|
|
1332
1333
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1333
1334
|
*/
|
|
1334
1335
|
"gradient-from-pos": [{
|
|
1335
|
-
from:
|
|
1336
|
+
from: Y()
|
|
1336
1337
|
}],
|
|
1337
1338
|
/**
|
|
1338
1339
|
* Gradient Color Stops Via Position
|
|
1339
1340
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1340
1341
|
*/
|
|
1341
1342
|
"gradient-via-pos": [{
|
|
1342
|
-
via:
|
|
1343
|
+
via: Y()
|
|
1343
1344
|
}],
|
|
1344
1345
|
/**
|
|
1345
1346
|
* Gradient Color Stops To Position
|
|
1346
1347
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1347
1348
|
*/
|
|
1348
1349
|
"gradient-to-pos": [{
|
|
1349
|
-
to:
|
|
1350
|
+
to: Y()
|
|
1350
1351
|
}],
|
|
1351
1352
|
/**
|
|
1352
1353
|
* Gradient Color Stops From
|
|
@@ -1377,175 +1378,175 @@ const Le = (e, t) => {
|
|
|
1377
1378
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1378
1379
|
*/
|
|
1379
1380
|
rounded: [{
|
|
1380
|
-
rounded:
|
|
1381
|
+
rounded: C()
|
|
1381
1382
|
}],
|
|
1382
1383
|
/**
|
|
1383
1384
|
* Border Radius Start
|
|
1384
1385
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1385
1386
|
*/
|
|
1386
1387
|
"rounded-s": [{
|
|
1387
|
-
"rounded-s":
|
|
1388
|
+
"rounded-s": C()
|
|
1388
1389
|
}],
|
|
1389
1390
|
/**
|
|
1390
1391
|
* Border Radius End
|
|
1391
1392
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1392
1393
|
*/
|
|
1393
1394
|
"rounded-e": [{
|
|
1394
|
-
"rounded-e":
|
|
1395
|
+
"rounded-e": C()
|
|
1395
1396
|
}],
|
|
1396
1397
|
/**
|
|
1397
1398
|
* Border Radius Top
|
|
1398
1399
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1399
1400
|
*/
|
|
1400
1401
|
"rounded-t": [{
|
|
1401
|
-
"rounded-t":
|
|
1402
|
+
"rounded-t": C()
|
|
1402
1403
|
}],
|
|
1403
1404
|
/**
|
|
1404
1405
|
* Border Radius Right
|
|
1405
1406
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1406
1407
|
*/
|
|
1407
1408
|
"rounded-r": [{
|
|
1408
|
-
"rounded-r":
|
|
1409
|
+
"rounded-r": C()
|
|
1409
1410
|
}],
|
|
1410
1411
|
/**
|
|
1411
1412
|
* Border Radius Bottom
|
|
1412
1413
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1413
1414
|
*/
|
|
1414
1415
|
"rounded-b": [{
|
|
1415
|
-
"rounded-b":
|
|
1416
|
+
"rounded-b": C()
|
|
1416
1417
|
}],
|
|
1417
1418
|
/**
|
|
1418
1419
|
* Border Radius Left
|
|
1419
1420
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1420
1421
|
*/
|
|
1421
1422
|
"rounded-l": [{
|
|
1422
|
-
"rounded-l":
|
|
1423
|
+
"rounded-l": C()
|
|
1423
1424
|
}],
|
|
1424
1425
|
/**
|
|
1425
1426
|
* Border Radius Start Start
|
|
1426
1427
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1427
1428
|
*/
|
|
1428
1429
|
"rounded-ss": [{
|
|
1429
|
-
"rounded-ss":
|
|
1430
|
+
"rounded-ss": C()
|
|
1430
1431
|
}],
|
|
1431
1432
|
/**
|
|
1432
1433
|
* Border Radius Start End
|
|
1433
1434
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1434
1435
|
*/
|
|
1435
1436
|
"rounded-se": [{
|
|
1436
|
-
"rounded-se":
|
|
1437
|
+
"rounded-se": C()
|
|
1437
1438
|
}],
|
|
1438
1439
|
/**
|
|
1439
1440
|
* Border Radius End End
|
|
1440
1441
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1441
1442
|
*/
|
|
1442
1443
|
"rounded-ee": [{
|
|
1443
|
-
"rounded-ee":
|
|
1444
|
+
"rounded-ee": C()
|
|
1444
1445
|
}],
|
|
1445
1446
|
/**
|
|
1446
1447
|
* Border Radius End Start
|
|
1447
1448
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1448
1449
|
*/
|
|
1449
1450
|
"rounded-es": [{
|
|
1450
|
-
"rounded-es":
|
|
1451
|
+
"rounded-es": C()
|
|
1451
1452
|
}],
|
|
1452
1453
|
/**
|
|
1453
1454
|
* Border Radius Top Left
|
|
1454
1455
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1455
1456
|
*/
|
|
1456
1457
|
"rounded-tl": [{
|
|
1457
|
-
"rounded-tl":
|
|
1458
|
+
"rounded-tl": C()
|
|
1458
1459
|
}],
|
|
1459
1460
|
/**
|
|
1460
1461
|
* Border Radius Top Right
|
|
1461
1462
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1462
1463
|
*/
|
|
1463
1464
|
"rounded-tr": [{
|
|
1464
|
-
"rounded-tr":
|
|
1465
|
+
"rounded-tr": C()
|
|
1465
1466
|
}],
|
|
1466
1467
|
/**
|
|
1467
1468
|
* Border Radius Bottom Right
|
|
1468
1469
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1469
1470
|
*/
|
|
1470
1471
|
"rounded-br": [{
|
|
1471
|
-
"rounded-br":
|
|
1472
|
+
"rounded-br": C()
|
|
1472
1473
|
}],
|
|
1473
1474
|
/**
|
|
1474
1475
|
* Border Radius Bottom Left
|
|
1475
1476
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1476
1477
|
*/
|
|
1477
1478
|
"rounded-bl": [{
|
|
1478
|
-
"rounded-bl":
|
|
1479
|
+
"rounded-bl": C()
|
|
1479
1480
|
}],
|
|
1480
1481
|
/**
|
|
1481
1482
|
* Border Width
|
|
1482
1483
|
* @see https://tailwindcss.com/docs/border-width
|
|
1483
1484
|
*/
|
|
1484
1485
|
"border-w": [{
|
|
1485
|
-
border:
|
|
1486
|
+
border: M()
|
|
1486
1487
|
}],
|
|
1487
1488
|
/**
|
|
1488
1489
|
* Border Width X
|
|
1489
1490
|
* @see https://tailwindcss.com/docs/border-width
|
|
1490
1491
|
*/
|
|
1491
1492
|
"border-w-x": [{
|
|
1492
|
-
"border-x":
|
|
1493
|
+
"border-x": M()
|
|
1493
1494
|
}],
|
|
1494
1495
|
/**
|
|
1495
1496
|
* Border Width Y
|
|
1496
1497
|
* @see https://tailwindcss.com/docs/border-width
|
|
1497
1498
|
*/
|
|
1498
1499
|
"border-w-y": [{
|
|
1499
|
-
"border-y":
|
|
1500
|
+
"border-y": M()
|
|
1500
1501
|
}],
|
|
1501
1502
|
/**
|
|
1502
1503
|
* Border Width Start
|
|
1503
1504
|
* @see https://tailwindcss.com/docs/border-width
|
|
1504
1505
|
*/
|
|
1505
1506
|
"border-w-s": [{
|
|
1506
|
-
"border-s":
|
|
1507
|
+
"border-s": M()
|
|
1507
1508
|
}],
|
|
1508
1509
|
/**
|
|
1509
1510
|
* Border Width End
|
|
1510
1511
|
* @see https://tailwindcss.com/docs/border-width
|
|
1511
1512
|
*/
|
|
1512
1513
|
"border-w-e": [{
|
|
1513
|
-
"border-e":
|
|
1514
|
+
"border-e": M()
|
|
1514
1515
|
}],
|
|
1515
1516
|
/**
|
|
1516
1517
|
* Border Width Top
|
|
1517
1518
|
* @see https://tailwindcss.com/docs/border-width
|
|
1518
1519
|
*/
|
|
1519
1520
|
"border-w-t": [{
|
|
1520
|
-
"border-t":
|
|
1521
|
+
"border-t": M()
|
|
1521
1522
|
}],
|
|
1522
1523
|
/**
|
|
1523
1524
|
* Border Width Right
|
|
1524
1525
|
* @see https://tailwindcss.com/docs/border-width
|
|
1525
1526
|
*/
|
|
1526
1527
|
"border-w-r": [{
|
|
1527
|
-
"border-r":
|
|
1528
|
+
"border-r": M()
|
|
1528
1529
|
}],
|
|
1529
1530
|
/**
|
|
1530
1531
|
* Border Width Bottom
|
|
1531
1532
|
* @see https://tailwindcss.com/docs/border-width
|
|
1532
1533
|
*/
|
|
1533
1534
|
"border-w-b": [{
|
|
1534
|
-
"border-b":
|
|
1535
|
+
"border-b": M()
|
|
1535
1536
|
}],
|
|
1536
1537
|
/**
|
|
1537
1538
|
* Border Width Left
|
|
1538
1539
|
* @see https://tailwindcss.com/docs/border-width
|
|
1539
1540
|
*/
|
|
1540
1541
|
"border-w-l": [{
|
|
1541
|
-
"border-l":
|
|
1542
|
+
"border-l": M()
|
|
1542
1543
|
}],
|
|
1543
1544
|
/**
|
|
1544
1545
|
* Divide Width X
|
|
1545
1546
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1546
1547
|
*/
|
|
1547
1548
|
"divide-x": [{
|
|
1548
|
-
"divide-x":
|
|
1549
|
+
"divide-x": M()
|
|
1549
1550
|
}],
|
|
1550
1551
|
/**
|
|
1551
1552
|
* Divide Width X Reverse
|
|
@@ -1557,7 +1558,7 @@ const Le = (e, t) => {
|
|
|
1557
1558
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1558
1559
|
*/
|
|
1559
1560
|
"divide-y": [{
|
|
1560
|
-
"divide-y":
|
|
1561
|
+
"divide-y": M()
|
|
1561
1562
|
}],
|
|
1562
1563
|
/**
|
|
1563
1564
|
* Divide Width Y Reverse
|
|
@@ -1569,14 +1570,14 @@ const Le = (e, t) => {
|
|
|
1569
1570
|
* @see https://tailwindcss.com/docs/border-style
|
|
1570
1571
|
*/
|
|
1571
1572
|
"border-style": [{
|
|
1572
|
-
border: [...
|
|
1573
|
+
border: [...Z(), "hidden", "none"]
|
|
1573
1574
|
}],
|
|
1574
1575
|
/**
|
|
1575
1576
|
* Divide Style
|
|
1576
1577
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1577
1578
|
*/
|
|
1578
1579
|
"divide-style": [{
|
|
1579
|
-
divide: [...
|
|
1580
|
+
divide: [...Z(), "hidden", "none"]
|
|
1580
1581
|
}],
|
|
1581
1582
|
/**
|
|
1582
1583
|
* Border Color
|
|
@@ -1653,21 +1654,21 @@ const Le = (e, t) => {
|
|
|
1653
1654
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1654
1655
|
*/
|
|
1655
1656
|
"outline-style": [{
|
|
1656
|
-
outline: [...
|
|
1657
|
+
outline: [...Z(), "none", "hidden"]
|
|
1657
1658
|
}],
|
|
1658
1659
|
/**
|
|
1659
1660
|
* Outline Offset
|
|
1660
1661
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1661
1662
|
*/
|
|
1662
1663
|
"outline-offset": [{
|
|
1663
|
-
"outline-offset": [
|
|
1664
|
+
"outline-offset": [f, l, a]
|
|
1664
1665
|
}],
|
|
1665
1666
|
/**
|
|
1666
1667
|
* Outline Width
|
|
1667
1668
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1668
1669
|
*/
|
|
1669
1670
|
"outline-w": [{
|
|
1670
|
-
outline: ["",
|
|
1671
|
+
outline: ["", f, se, H]
|
|
1671
1672
|
}],
|
|
1672
1673
|
/**
|
|
1673
1674
|
* Outline Color
|
|
@@ -1688,9 +1689,9 @@ const Le = (e, t) => {
|
|
|
1688
1689
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1689
1690
|
"",
|
|
1690
1691
|
"none",
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1692
|
+
x,
|
|
1693
|
+
de,
|
|
1694
|
+
ie
|
|
1694
1695
|
]
|
|
1695
1696
|
}],
|
|
1696
1697
|
/**
|
|
@@ -1705,7 +1706,7 @@ const Le = (e, t) => {
|
|
|
1705
1706
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1706
1707
|
*/
|
|
1707
1708
|
"inset-shadow": [{
|
|
1708
|
-
"inset-shadow": ["none",
|
|
1709
|
+
"inset-shadow": ["none", k, de, ie]
|
|
1709
1710
|
}],
|
|
1710
1711
|
/**
|
|
1711
1712
|
* Inset Box Shadow Color
|
|
@@ -1719,7 +1720,7 @@ const Le = (e, t) => {
|
|
|
1719
1720
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1720
1721
|
*/
|
|
1721
1722
|
"ring-w": [{
|
|
1722
|
-
ring:
|
|
1723
|
+
ring: M()
|
|
1723
1724
|
}],
|
|
1724
1725
|
/**
|
|
1725
1726
|
* Ring Width Inset
|
|
@@ -1742,7 +1743,7 @@ const Le = (e, t) => {
|
|
|
1742
1743
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1743
1744
|
*/
|
|
1744
1745
|
"ring-offset-w": [{
|
|
1745
|
-
"ring-offset": [
|
|
1746
|
+
"ring-offset": [f, H]
|
|
1746
1747
|
}],
|
|
1747
1748
|
/**
|
|
1748
1749
|
* Ring Offset Color
|
|
@@ -1758,7 +1759,7 @@ const Le = (e, t) => {
|
|
|
1758
1759
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
1759
1760
|
*/
|
|
1760
1761
|
"inset-ring-w": [{
|
|
1761
|
-
"inset-ring":
|
|
1762
|
+
"inset-ring": M()
|
|
1762
1763
|
}],
|
|
1763
1764
|
/**
|
|
1764
1765
|
* Inset Ring Color
|
|
@@ -1772,7 +1773,7 @@ const Le = (e, t) => {
|
|
|
1772
1773
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
1773
1774
|
*/
|
|
1774
1775
|
"text-shadow": [{
|
|
1775
|
-
"text-shadow": ["none",
|
|
1776
|
+
"text-shadow": ["none", v, de, ie]
|
|
1776
1777
|
}],
|
|
1777
1778
|
/**
|
|
1778
1779
|
* Text Shadow Color
|
|
@@ -1786,21 +1787,21 @@ const Le = (e, t) => {
|
|
|
1786
1787
|
* @see https://tailwindcss.com/docs/opacity
|
|
1787
1788
|
*/
|
|
1788
1789
|
opacity: [{
|
|
1789
|
-
opacity: [
|
|
1790
|
+
opacity: [f, l, a]
|
|
1790
1791
|
}],
|
|
1791
1792
|
/**
|
|
1792
1793
|
* Mix Blend Mode
|
|
1793
1794
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1794
1795
|
*/
|
|
1795
1796
|
"mix-blend": [{
|
|
1796
|
-
"mix-blend": [...
|
|
1797
|
+
"mix-blend": [...b(), "plus-darker", "plus-lighter"]
|
|
1797
1798
|
}],
|
|
1798
1799
|
/**
|
|
1799
1800
|
* Background Blend Mode
|
|
1800
1801
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1801
1802
|
*/
|
|
1802
1803
|
"bg-blend": [{
|
|
1803
|
-
"bg-blend":
|
|
1804
|
+
"bg-blend": b()
|
|
1804
1805
|
}],
|
|
1805
1806
|
/**
|
|
1806
1807
|
* Mask Clip
|
|
@@ -1821,7 +1822,7 @@ const Le = (e, t) => {
|
|
|
1821
1822
|
* @see https://tailwindcss.com/docs/mask-image
|
|
1822
1823
|
*/
|
|
1823
1824
|
"mask-image-linear-pos": [{
|
|
1824
|
-
"mask-linear": [
|
|
1825
|
+
"mask-linear": [f]
|
|
1825
1826
|
}],
|
|
1826
1827
|
"mask-image-linear-from-pos": [{
|
|
1827
1828
|
"mask-linear-from": h()
|
|
@@ -1908,7 +1909,7 @@ const Le = (e, t) => {
|
|
|
1908
1909
|
"mask-y-to": c()
|
|
1909
1910
|
}],
|
|
1910
1911
|
"mask-image-radial": [{
|
|
1911
|
-
"mask-radial": [
|
|
1912
|
+
"mask-radial": [l, a]
|
|
1912
1913
|
}],
|
|
1913
1914
|
"mask-image-radial-from-pos": [{
|
|
1914
1915
|
"mask-radial-from": h()
|
|
@@ -1935,7 +1936,7 @@ const Le = (e, t) => {
|
|
|
1935
1936
|
"mask-radial-at": L()
|
|
1936
1937
|
}],
|
|
1937
1938
|
"mask-image-conic-pos": [{
|
|
1938
|
-
"mask-conic": [
|
|
1939
|
+
"mask-conic": [f]
|
|
1939
1940
|
}],
|
|
1940
1941
|
"mask-image-conic-from-pos": [{
|
|
1941
1942
|
"mask-conic-from": h()
|
|
@@ -1968,21 +1969,21 @@ const Le = (e, t) => {
|
|
|
1968
1969
|
* @see https://tailwindcss.com/docs/mask-position
|
|
1969
1970
|
*/
|
|
1970
1971
|
"mask-position": [{
|
|
1971
|
-
mask:
|
|
1972
|
+
mask: E()
|
|
1972
1973
|
}],
|
|
1973
1974
|
/**
|
|
1974
1975
|
* Mask Repeat
|
|
1975
1976
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
1976
1977
|
*/
|
|
1977
1978
|
"mask-repeat": [{
|
|
1978
|
-
mask:
|
|
1979
|
+
mask: K()
|
|
1979
1980
|
}],
|
|
1980
1981
|
/**
|
|
1981
1982
|
* Mask Size
|
|
1982
1983
|
* @see https://tailwindcss.com/docs/mask-size
|
|
1983
1984
|
*/
|
|
1984
1985
|
"mask-size": [{
|
|
1985
|
-
mask:
|
|
1986
|
+
mask: ne()
|
|
1986
1987
|
}],
|
|
1987
1988
|
/**
|
|
1988
1989
|
* Mask Type
|
|
@@ -1996,7 +1997,7 @@ const Le = (e, t) => {
|
|
|
1996
1997
|
* @see https://tailwindcss.com/docs/mask-image
|
|
1997
1998
|
*/
|
|
1998
1999
|
"mask-image": [{
|
|
1999
|
-
mask: ["none",
|
|
2000
|
+
mask: ["none", l, a]
|
|
2000
2001
|
}],
|
|
2001
2002
|
// ---------------
|
|
2002
2003
|
// --- Filters ---
|
|
@@ -2010,8 +2011,8 @@ const Le = (e, t) => {
|
|
|
2010
2011
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2011
2012
|
"",
|
|
2012
2013
|
"none",
|
|
2013
|
-
|
|
2014
|
-
|
|
2014
|
+
l,
|
|
2015
|
+
a
|
|
2015
2016
|
]
|
|
2016
2017
|
}],
|
|
2017
2018
|
/**
|
|
@@ -2019,21 +2020,21 @@ const Le = (e, t) => {
|
|
|
2019
2020
|
* @see https://tailwindcss.com/docs/blur
|
|
2020
2021
|
*/
|
|
2021
2022
|
blur: [{
|
|
2022
|
-
blur:
|
|
2023
|
+
blur: j()
|
|
2023
2024
|
}],
|
|
2024
2025
|
/**
|
|
2025
2026
|
* Brightness
|
|
2026
2027
|
* @see https://tailwindcss.com/docs/brightness
|
|
2027
2028
|
*/
|
|
2028
2029
|
brightness: [{
|
|
2029
|
-
brightness: [
|
|
2030
|
+
brightness: [f, l, a]
|
|
2030
2031
|
}],
|
|
2031
2032
|
/**
|
|
2032
2033
|
* Contrast
|
|
2033
2034
|
* @see https://tailwindcss.com/docs/contrast
|
|
2034
2035
|
*/
|
|
2035
2036
|
contrast: [{
|
|
2036
|
-
contrast: [
|
|
2037
|
+
contrast: [f, l, a]
|
|
2037
2038
|
}],
|
|
2038
2039
|
/**
|
|
2039
2040
|
* Drop Shadow
|
|
@@ -2044,9 +2045,9 @@ const Le = (e, t) => {
|
|
|
2044
2045
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2045
2046
|
"",
|
|
2046
2047
|
"none",
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2048
|
+
N,
|
|
2049
|
+
de,
|
|
2050
|
+
ie
|
|
2050
2051
|
]
|
|
2051
2052
|
}],
|
|
2052
2053
|
/**
|
|
@@ -2061,35 +2062,35 @@ const Le = (e, t) => {
|
|
|
2061
2062
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2062
2063
|
*/
|
|
2063
2064
|
grayscale: [{
|
|
2064
|
-
grayscale: ["",
|
|
2065
|
+
grayscale: ["", f, l, a]
|
|
2065
2066
|
}],
|
|
2066
2067
|
/**
|
|
2067
2068
|
* Hue Rotate
|
|
2068
2069
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2069
2070
|
*/
|
|
2070
2071
|
"hue-rotate": [{
|
|
2071
|
-
"hue-rotate": [
|
|
2072
|
+
"hue-rotate": [f, l, a]
|
|
2072
2073
|
}],
|
|
2073
2074
|
/**
|
|
2074
2075
|
* Invert
|
|
2075
2076
|
* @see https://tailwindcss.com/docs/invert
|
|
2076
2077
|
*/
|
|
2077
2078
|
invert: [{
|
|
2078
|
-
invert: ["",
|
|
2079
|
+
invert: ["", f, l, a]
|
|
2079
2080
|
}],
|
|
2080
2081
|
/**
|
|
2081
2082
|
* Saturate
|
|
2082
2083
|
* @see https://tailwindcss.com/docs/saturate
|
|
2083
2084
|
*/
|
|
2084
2085
|
saturate: [{
|
|
2085
|
-
saturate: [
|
|
2086
|
+
saturate: [f, l, a]
|
|
2086
2087
|
}],
|
|
2087
2088
|
/**
|
|
2088
2089
|
* Sepia
|
|
2089
2090
|
* @see https://tailwindcss.com/docs/sepia
|
|
2090
2091
|
*/
|
|
2091
2092
|
sepia: [{
|
|
2092
|
-
sepia: ["",
|
|
2093
|
+
sepia: ["", f, l, a]
|
|
2093
2094
|
}],
|
|
2094
2095
|
/**
|
|
2095
2096
|
* Backdrop Filter
|
|
@@ -2100,8 +2101,8 @@ const Le = (e, t) => {
|
|
|
2100
2101
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2101
2102
|
"",
|
|
2102
2103
|
"none",
|
|
2103
|
-
|
|
2104
|
-
|
|
2104
|
+
l,
|
|
2105
|
+
a
|
|
2105
2106
|
]
|
|
2106
2107
|
}],
|
|
2107
2108
|
/**
|
|
@@ -2109,63 +2110,63 @@ const Le = (e, t) => {
|
|
|
2109
2110
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2110
2111
|
*/
|
|
2111
2112
|
"backdrop-blur": [{
|
|
2112
|
-
"backdrop-blur":
|
|
2113
|
+
"backdrop-blur": j()
|
|
2113
2114
|
}],
|
|
2114
2115
|
/**
|
|
2115
2116
|
* Backdrop Brightness
|
|
2116
2117
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2117
2118
|
*/
|
|
2118
2119
|
"backdrop-brightness": [{
|
|
2119
|
-
"backdrop-brightness": [
|
|
2120
|
+
"backdrop-brightness": [f, l, a]
|
|
2120
2121
|
}],
|
|
2121
2122
|
/**
|
|
2122
2123
|
* Backdrop Contrast
|
|
2123
2124
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2124
2125
|
*/
|
|
2125
2126
|
"backdrop-contrast": [{
|
|
2126
|
-
"backdrop-contrast": [
|
|
2127
|
+
"backdrop-contrast": [f, l, a]
|
|
2127
2128
|
}],
|
|
2128
2129
|
/**
|
|
2129
2130
|
* Backdrop Grayscale
|
|
2130
2131
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2131
2132
|
*/
|
|
2132
2133
|
"backdrop-grayscale": [{
|
|
2133
|
-
"backdrop-grayscale": ["",
|
|
2134
|
+
"backdrop-grayscale": ["", f, l, a]
|
|
2134
2135
|
}],
|
|
2135
2136
|
/**
|
|
2136
2137
|
* Backdrop Hue Rotate
|
|
2137
2138
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2138
2139
|
*/
|
|
2139
2140
|
"backdrop-hue-rotate": [{
|
|
2140
|
-
"backdrop-hue-rotate": [
|
|
2141
|
+
"backdrop-hue-rotate": [f, l, a]
|
|
2141
2142
|
}],
|
|
2142
2143
|
/**
|
|
2143
2144
|
* Backdrop Invert
|
|
2144
2145
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2145
2146
|
*/
|
|
2146
2147
|
"backdrop-invert": [{
|
|
2147
|
-
"backdrop-invert": ["",
|
|
2148
|
+
"backdrop-invert": ["", f, l, a]
|
|
2148
2149
|
}],
|
|
2149
2150
|
/**
|
|
2150
2151
|
* Backdrop Opacity
|
|
2151
2152
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2152
2153
|
*/
|
|
2153
2154
|
"backdrop-opacity": [{
|
|
2154
|
-
"backdrop-opacity": [
|
|
2155
|
+
"backdrop-opacity": [f, l, a]
|
|
2155
2156
|
}],
|
|
2156
2157
|
/**
|
|
2157
2158
|
* Backdrop Saturate
|
|
2158
2159
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2159
2160
|
*/
|
|
2160
2161
|
"backdrop-saturate": [{
|
|
2161
|
-
"backdrop-saturate": [
|
|
2162
|
+
"backdrop-saturate": [f, l, a]
|
|
2162
2163
|
}],
|
|
2163
2164
|
/**
|
|
2164
2165
|
* Backdrop Sepia
|
|
2165
2166
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2166
2167
|
*/
|
|
2167
2168
|
"backdrop-sepia": [{
|
|
2168
|
-
"backdrop-sepia": ["",
|
|
2169
|
+
"backdrop-sepia": ["", f, l, a]
|
|
2169
2170
|
}],
|
|
2170
2171
|
// --------------
|
|
2171
2172
|
// --- Tables ---
|
|
@@ -2182,21 +2183,21 @@ const Le = (e, t) => {
|
|
|
2182
2183
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2183
2184
|
*/
|
|
2184
2185
|
"border-spacing": [{
|
|
2185
|
-
"border-spacing":
|
|
2186
|
+
"border-spacing": u()
|
|
2186
2187
|
}],
|
|
2187
2188
|
/**
|
|
2188
2189
|
* Border Spacing X
|
|
2189
2190
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2190
2191
|
*/
|
|
2191
2192
|
"border-spacing-x": [{
|
|
2192
|
-
"border-spacing-x":
|
|
2193
|
+
"border-spacing-x": u()
|
|
2193
2194
|
}],
|
|
2194
2195
|
/**
|
|
2195
2196
|
* Border Spacing Y
|
|
2196
2197
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2197
2198
|
*/
|
|
2198
2199
|
"border-spacing-y": [{
|
|
2199
|
-
"border-spacing-y":
|
|
2200
|
+
"border-spacing-y": u()
|
|
2200
2201
|
}],
|
|
2201
2202
|
/**
|
|
2202
2203
|
* Table Layout
|
|
@@ -2220,7 +2221,7 @@ const Le = (e, t) => {
|
|
|
2220
2221
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2221
2222
|
*/
|
|
2222
2223
|
transition: [{
|
|
2223
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2224
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", l, a]
|
|
2224
2225
|
}],
|
|
2225
2226
|
/**
|
|
2226
2227
|
* Transition Behavior
|
|
@@ -2234,28 +2235,28 @@ const Le = (e, t) => {
|
|
|
2234
2235
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2235
2236
|
*/
|
|
2236
2237
|
duration: [{
|
|
2237
|
-
duration: [
|
|
2238
|
+
duration: [f, "initial", l, a]
|
|
2238
2239
|
}],
|
|
2239
2240
|
/**
|
|
2240
2241
|
* Transition Timing Function
|
|
2241
2242
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2242
2243
|
*/
|
|
2243
2244
|
ease: [{
|
|
2244
|
-
ease: ["linear", "initial", G,
|
|
2245
|
+
ease: ["linear", "initial", G, l, a]
|
|
2245
2246
|
}],
|
|
2246
2247
|
/**
|
|
2247
2248
|
* Transition Delay
|
|
2248
2249
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2249
2250
|
*/
|
|
2250
2251
|
delay: [{
|
|
2251
|
-
delay: [
|
|
2252
|
+
delay: [f, l, a]
|
|
2252
2253
|
}],
|
|
2253
2254
|
/**
|
|
2254
2255
|
* Animation
|
|
2255
2256
|
* @see https://tailwindcss.com/docs/animation
|
|
2256
2257
|
*/
|
|
2257
2258
|
animate: [{
|
|
2258
|
-
animate: ["none",
|
|
2259
|
+
animate: ["none", V, l, a]
|
|
2259
2260
|
}],
|
|
2260
2261
|
// ------------------
|
|
2261
2262
|
// --- Transforms ---
|
|
@@ -2272,70 +2273,70 @@ const Le = (e, t) => {
|
|
|
2272
2273
|
* @see https://tailwindcss.com/docs/perspective
|
|
2273
2274
|
*/
|
|
2274
2275
|
perspective: [{
|
|
2275
|
-
perspective: [
|
|
2276
|
+
perspective: [S, l, a]
|
|
2276
2277
|
}],
|
|
2277
2278
|
/**
|
|
2278
2279
|
* Perspective Origin
|
|
2279
2280
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2280
2281
|
*/
|
|
2281
2282
|
"perspective-origin": [{
|
|
2282
|
-
"perspective-origin":
|
|
2283
|
+
"perspective-origin": P()
|
|
2283
2284
|
}],
|
|
2284
2285
|
/**
|
|
2285
2286
|
* Rotate
|
|
2286
2287
|
* @see https://tailwindcss.com/docs/rotate
|
|
2287
2288
|
*/
|
|
2288
2289
|
rotate: [{
|
|
2289
|
-
rotate:
|
|
2290
|
+
rotate: F()
|
|
2290
2291
|
}],
|
|
2291
2292
|
/**
|
|
2292
2293
|
* Rotate X
|
|
2293
2294
|
* @see https://tailwindcss.com/docs/rotate
|
|
2294
2295
|
*/
|
|
2295
2296
|
"rotate-x": [{
|
|
2296
|
-
"rotate-x":
|
|
2297
|
+
"rotate-x": F()
|
|
2297
2298
|
}],
|
|
2298
2299
|
/**
|
|
2299
2300
|
* Rotate Y
|
|
2300
2301
|
* @see https://tailwindcss.com/docs/rotate
|
|
2301
2302
|
*/
|
|
2302
2303
|
"rotate-y": [{
|
|
2303
|
-
"rotate-y":
|
|
2304
|
+
"rotate-y": F()
|
|
2304
2305
|
}],
|
|
2305
2306
|
/**
|
|
2306
2307
|
* Rotate Z
|
|
2307
2308
|
* @see https://tailwindcss.com/docs/rotate
|
|
2308
2309
|
*/
|
|
2309
2310
|
"rotate-z": [{
|
|
2310
|
-
"rotate-z":
|
|
2311
|
+
"rotate-z": F()
|
|
2311
2312
|
}],
|
|
2312
2313
|
/**
|
|
2313
2314
|
* Scale
|
|
2314
2315
|
* @see https://tailwindcss.com/docs/scale
|
|
2315
2316
|
*/
|
|
2316
2317
|
scale: [{
|
|
2317
|
-
scale:
|
|
2318
|
+
scale: ae()
|
|
2318
2319
|
}],
|
|
2319
2320
|
/**
|
|
2320
2321
|
* Scale X
|
|
2321
2322
|
* @see https://tailwindcss.com/docs/scale
|
|
2322
2323
|
*/
|
|
2323
2324
|
"scale-x": [{
|
|
2324
|
-
"scale-x":
|
|
2325
|
+
"scale-x": ae()
|
|
2325
2326
|
}],
|
|
2326
2327
|
/**
|
|
2327
2328
|
* Scale Y
|
|
2328
2329
|
* @see https://tailwindcss.com/docs/scale
|
|
2329
2330
|
*/
|
|
2330
2331
|
"scale-y": [{
|
|
2331
|
-
"scale-y":
|
|
2332
|
+
"scale-y": ae()
|
|
2332
2333
|
}],
|
|
2333
2334
|
/**
|
|
2334
2335
|
* Scale Z
|
|
2335
2336
|
* @see https://tailwindcss.com/docs/scale
|
|
2336
2337
|
*/
|
|
2337
2338
|
"scale-z": [{
|
|
2338
|
-
"scale-z":
|
|
2339
|
+
"scale-z": ae()
|
|
2339
2340
|
}],
|
|
2340
2341
|
/**
|
|
2341
2342
|
* Scale 3D
|
|
@@ -2347,35 +2348,35 @@ const Le = (e, t) => {
|
|
|
2347
2348
|
* @see https://tailwindcss.com/docs/skew
|
|
2348
2349
|
*/
|
|
2349
2350
|
skew: [{
|
|
2350
|
-
skew:
|
|
2351
|
+
skew: me()
|
|
2351
2352
|
}],
|
|
2352
2353
|
/**
|
|
2353
2354
|
* Skew X
|
|
2354
2355
|
* @see https://tailwindcss.com/docs/skew
|
|
2355
2356
|
*/
|
|
2356
2357
|
"skew-x": [{
|
|
2357
|
-
"skew-x":
|
|
2358
|
+
"skew-x": me()
|
|
2358
2359
|
}],
|
|
2359
2360
|
/**
|
|
2360
2361
|
* Skew Y
|
|
2361
2362
|
* @see https://tailwindcss.com/docs/skew
|
|
2362
2363
|
*/
|
|
2363
2364
|
"skew-y": [{
|
|
2364
|
-
"skew-y":
|
|
2365
|
+
"skew-y": me()
|
|
2365
2366
|
}],
|
|
2366
2367
|
/**
|
|
2367
2368
|
* Transform
|
|
2368
2369
|
* @see https://tailwindcss.com/docs/transform
|
|
2369
2370
|
*/
|
|
2370
2371
|
transform: [{
|
|
2371
|
-
transform: [
|
|
2372
|
+
transform: [l, a, "", "none", "gpu", "cpu"]
|
|
2372
2373
|
}],
|
|
2373
2374
|
/**
|
|
2374
2375
|
* Transform Origin
|
|
2375
2376
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2376
2377
|
*/
|
|
2377
2378
|
"transform-origin": [{
|
|
2378
|
-
origin:
|
|
2379
|
+
origin: P()
|
|
2379
2380
|
}],
|
|
2380
2381
|
/**
|
|
2381
2382
|
* Transform Style
|
|
@@ -2389,28 +2390,28 @@ const Le = (e, t) => {
|
|
|
2389
2390
|
* @see https://tailwindcss.com/docs/translate
|
|
2390
2391
|
*/
|
|
2391
2392
|
translate: [{
|
|
2392
|
-
translate:
|
|
2393
|
+
translate: le()
|
|
2393
2394
|
}],
|
|
2394
2395
|
/**
|
|
2395
2396
|
* Translate X
|
|
2396
2397
|
* @see https://tailwindcss.com/docs/translate
|
|
2397
2398
|
*/
|
|
2398
2399
|
"translate-x": [{
|
|
2399
|
-
"translate-x":
|
|
2400
|
+
"translate-x": le()
|
|
2400
2401
|
}],
|
|
2401
2402
|
/**
|
|
2402
2403
|
* Translate Y
|
|
2403
2404
|
* @see https://tailwindcss.com/docs/translate
|
|
2404
2405
|
*/
|
|
2405
2406
|
"translate-y": [{
|
|
2406
|
-
"translate-y":
|
|
2407
|
+
"translate-y": le()
|
|
2407
2408
|
}],
|
|
2408
2409
|
/**
|
|
2409
2410
|
* Translate Z
|
|
2410
2411
|
* @see https://tailwindcss.com/docs/translate
|
|
2411
2412
|
*/
|
|
2412
2413
|
"translate-z": [{
|
|
2413
|
-
"translate-z":
|
|
2414
|
+
"translate-z": le()
|
|
2414
2415
|
}],
|
|
2415
2416
|
/**
|
|
2416
2417
|
* Translate None
|
|
@@ -2453,7 +2454,7 @@ const Le = (e, t) => {
|
|
|
2453
2454
|
* @see https://tailwindcss.com/docs/cursor
|
|
2454
2455
|
*/
|
|
2455
2456
|
cursor: [{
|
|
2456
|
-
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",
|
|
2457
|
+
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, a]
|
|
2457
2458
|
}],
|
|
2458
2459
|
/**
|
|
2459
2460
|
* Field Sizing
|
|
@@ -2488,126 +2489,126 @@ const Le = (e, t) => {
|
|
|
2488
2489
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2489
2490
|
*/
|
|
2490
2491
|
"scroll-m": [{
|
|
2491
|
-
"scroll-m":
|
|
2492
|
+
"scroll-m": u()
|
|
2492
2493
|
}],
|
|
2493
2494
|
/**
|
|
2494
2495
|
* Scroll Margin X
|
|
2495
2496
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2496
2497
|
*/
|
|
2497
2498
|
"scroll-mx": [{
|
|
2498
|
-
"scroll-mx":
|
|
2499
|
+
"scroll-mx": u()
|
|
2499
2500
|
}],
|
|
2500
2501
|
/**
|
|
2501
2502
|
* Scroll Margin Y
|
|
2502
2503
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2503
2504
|
*/
|
|
2504
2505
|
"scroll-my": [{
|
|
2505
|
-
"scroll-my":
|
|
2506
|
+
"scroll-my": u()
|
|
2506
2507
|
}],
|
|
2507
2508
|
/**
|
|
2508
2509
|
* Scroll Margin Start
|
|
2509
2510
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2510
2511
|
*/
|
|
2511
2512
|
"scroll-ms": [{
|
|
2512
|
-
"scroll-ms":
|
|
2513
|
+
"scroll-ms": u()
|
|
2513
2514
|
}],
|
|
2514
2515
|
/**
|
|
2515
2516
|
* Scroll Margin End
|
|
2516
2517
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2517
2518
|
*/
|
|
2518
2519
|
"scroll-me": [{
|
|
2519
|
-
"scroll-me":
|
|
2520
|
+
"scroll-me": u()
|
|
2520
2521
|
}],
|
|
2521
2522
|
/**
|
|
2522
2523
|
* Scroll Margin Top
|
|
2523
2524
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2524
2525
|
*/
|
|
2525
2526
|
"scroll-mt": [{
|
|
2526
|
-
"scroll-mt":
|
|
2527
|
+
"scroll-mt": u()
|
|
2527
2528
|
}],
|
|
2528
2529
|
/**
|
|
2529
2530
|
* Scroll Margin Right
|
|
2530
2531
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2531
2532
|
*/
|
|
2532
2533
|
"scroll-mr": [{
|
|
2533
|
-
"scroll-mr":
|
|
2534
|
+
"scroll-mr": u()
|
|
2534
2535
|
}],
|
|
2535
2536
|
/**
|
|
2536
2537
|
* Scroll Margin Bottom
|
|
2537
2538
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2538
2539
|
*/
|
|
2539
2540
|
"scroll-mb": [{
|
|
2540
|
-
"scroll-mb":
|
|
2541
|
+
"scroll-mb": u()
|
|
2541
2542
|
}],
|
|
2542
2543
|
/**
|
|
2543
2544
|
* Scroll Margin Left
|
|
2544
2545
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2545
2546
|
*/
|
|
2546
2547
|
"scroll-ml": [{
|
|
2547
|
-
"scroll-ml":
|
|
2548
|
+
"scroll-ml": u()
|
|
2548
2549
|
}],
|
|
2549
2550
|
/**
|
|
2550
2551
|
* Scroll Padding
|
|
2551
2552
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2552
2553
|
*/
|
|
2553
2554
|
"scroll-p": [{
|
|
2554
|
-
"scroll-p":
|
|
2555
|
+
"scroll-p": u()
|
|
2555
2556
|
}],
|
|
2556
2557
|
/**
|
|
2557
2558
|
* Scroll Padding X
|
|
2558
2559
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2559
2560
|
*/
|
|
2560
2561
|
"scroll-px": [{
|
|
2561
|
-
"scroll-px":
|
|
2562
|
+
"scroll-px": u()
|
|
2562
2563
|
}],
|
|
2563
2564
|
/**
|
|
2564
2565
|
* Scroll Padding Y
|
|
2565
2566
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2566
2567
|
*/
|
|
2567
2568
|
"scroll-py": [{
|
|
2568
|
-
"scroll-py":
|
|
2569
|
+
"scroll-py": u()
|
|
2569
2570
|
}],
|
|
2570
2571
|
/**
|
|
2571
2572
|
* Scroll Padding Start
|
|
2572
2573
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2573
2574
|
*/
|
|
2574
2575
|
"scroll-ps": [{
|
|
2575
|
-
"scroll-ps":
|
|
2576
|
+
"scroll-ps": u()
|
|
2576
2577
|
}],
|
|
2577
2578
|
/**
|
|
2578
2579
|
* Scroll Padding End
|
|
2579
2580
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2580
2581
|
*/
|
|
2581
2582
|
"scroll-pe": [{
|
|
2582
|
-
"scroll-pe":
|
|
2583
|
+
"scroll-pe": u()
|
|
2583
2584
|
}],
|
|
2584
2585
|
/**
|
|
2585
2586
|
* Scroll Padding Top
|
|
2586
2587
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2587
2588
|
*/
|
|
2588
2589
|
"scroll-pt": [{
|
|
2589
|
-
"scroll-pt":
|
|
2590
|
+
"scroll-pt": u()
|
|
2590
2591
|
}],
|
|
2591
2592
|
/**
|
|
2592
2593
|
* Scroll Padding Right
|
|
2593
2594
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2594
2595
|
*/
|
|
2595
2596
|
"scroll-pr": [{
|
|
2596
|
-
"scroll-pr":
|
|
2597
|
+
"scroll-pr": u()
|
|
2597
2598
|
}],
|
|
2598
2599
|
/**
|
|
2599
2600
|
* Scroll Padding Bottom
|
|
2600
2601
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2601
2602
|
*/
|
|
2602
2603
|
"scroll-pb": [{
|
|
2603
|
-
"scroll-pb":
|
|
2604
|
+
"scroll-pb": u()
|
|
2604
2605
|
}],
|
|
2605
2606
|
/**
|
|
2606
2607
|
* Scroll Padding Left
|
|
2607
2608
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2608
2609
|
*/
|
|
2609
2610
|
"scroll-pl": [{
|
|
2610
|
-
"scroll-pl":
|
|
2611
|
+
"scroll-pl": u()
|
|
2611
2612
|
}],
|
|
2612
2613
|
/**
|
|
2613
2614
|
* Scroll Snap Align
|
|
@@ -2675,7 +2676,7 @@ const Le = (e, t) => {
|
|
|
2675
2676
|
* @see https://tailwindcss.com/docs/will-change
|
|
2676
2677
|
*/
|
|
2677
2678
|
"will-change": [{
|
|
2678
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2679
|
+
"will-change": ["auto", "scroll", "contents", "transform", l, a]
|
|
2679
2680
|
}],
|
|
2680
2681
|
// -----------
|
|
2681
2682
|
// --- SVG ---
|
|
@@ -2692,7 +2693,7 @@ const Le = (e, t) => {
|
|
|
2692
2693
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2693
2694
|
*/
|
|
2694
2695
|
"stroke-w": [{
|
|
2695
|
-
stroke: [
|
|
2696
|
+
stroke: [f, se, H, fe]
|
|
2696
2697
|
}],
|
|
2697
2698
|
/**
|
|
2698
2699
|
* Stroke
|
|
@@ -2767,91 +2768,573 @@ const Le = (e, t) => {
|
|
|
2767
2768
|
},
|
|
2768
2769
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
2769
2770
|
};
|
|
2770
|
-
},
|
|
2771
|
-
function
|
|
2772
|
-
return
|
|
2771
|
+
}, Tr = /* @__PURE__ */ pr(jr);
|
|
2772
|
+
function y(...e) {
|
|
2773
|
+
return Tr(Ye(e));
|
|
2773
2774
|
}
|
|
2774
|
-
const
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2775
|
+
const Er = (e, o) => {
|
|
2776
|
+
const t = {
|
|
2777
|
+
sm: { wrapper: "-ml-10 h-6 w-6", icon: "h-4 w-4" },
|
|
2778
|
+
md: { wrapper: "-ml-12 h-8 w-8", icon: "h-6 w-6" },
|
|
2779
|
+
lg: { wrapper: "-ml-14 h-10 w-10", icon: "h-6 w-6" }
|
|
2780
|
+
}[e], r = o && De(o) ? o : null, n = r ? $e(r, {
|
|
2781
|
+
className: y("h-full w-full", r.props.className)
|
|
2782
|
+
}) : o;
|
|
2783
|
+
return /* @__PURE__ */ m(
|
|
2784
|
+
"span",
|
|
2785
|
+
{
|
|
2786
|
+
className: y(
|
|
2787
|
+
t.wrapper,
|
|
2788
|
+
"flex items-center justify-center rounded-full border border-neutral-800 bg-white text-neutral-900 shadow-[0_3px_10px_rgba(0,0,0,0.12)] dark:border-neutral-200 dark:bg-neutral-950 dark:text-neutral-100 dark:shadow-[0_3px_10px_rgba(0,0,0,0.5)]"
|
|
2789
|
+
),
|
|
2790
|
+
children: /* @__PURE__ */ m(
|
|
2791
|
+
"span",
|
|
2792
|
+
{
|
|
2793
|
+
className: y(
|
|
2794
|
+
t.icon,
|
|
2795
|
+
"flex items-center justify-center transition-transform duration-200 ease-out group-hover:translate-x-[2px] group-disabled:translate-x-0"
|
|
2796
|
+
),
|
|
2797
|
+
children: n ?? /* @__PURE__ */ w(
|
|
2798
|
+
"svg",
|
|
2799
|
+
{
|
|
2800
|
+
viewBox: "0 0 24 24",
|
|
2801
|
+
fill: "none",
|
|
2802
|
+
stroke: "currentColor",
|
|
2803
|
+
strokeWidth: "2",
|
|
2804
|
+
strokeLinecap: "round",
|
|
2805
|
+
strokeLinejoin: "round",
|
|
2806
|
+
className: "h-full w-full",
|
|
2807
|
+
"aria-hidden": "true",
|
|
2808
|
+
children: [
|
|
2809
|
+
/* @__PURE__ */ m("path", { d: "M5 12h12" }),
|
|
2810
|
+
/* @__PURE__ */ m("path", { d: "m13 6 6 6-6 6" })
|
|
2811
|
+
]
|
|
2812
|
+
}
|
|
2813
|
+
)
|
|
2814
|
+
}
|
|
2815
|
+
)
|
|
2816
|
+
}
|
|
2817
|
+
);
|
|
2818
|
+
};
|
|
2819
|
+
function Gr({
|
|
2792
2820
|
title: e,
|
|
2793
|
-
description:
|
|
2794
|
-
action:
|
|
2795
|
-
|
|
2796
|
-
|
|
2821
|
+
description: o,
|
|
2822
|
+
action: t,
|
|
2823
|
+
icon: r,
|
|
2824
|
+
size: n = "md",
|
|
2825
|
+
variant: i = "default",
|
|
2826
|
+
color: s = "green",
|
|
2827
|
+
customColor: p,
|
|
2797
2828
|
className: d,
|
|
2798
|
-
type:
|
|
2799
|
-
children:
|
|
2800
|
-
...
|
|
2829
|
+
type: g = "button",
|
|
2830
|
+
children: x,
|
|
2831
|
+
...k
|
|
2801
2832
|
}) {
|
|
2802
|
-
const
|
|
2803
|
-
e ? /* @__PURE__ */
|
|
2804
|
-
|
|
2805
|
-
] }) : /* @__PURE__ */
|
|
2806
|
-
return /* @__PURE__ */
|
|
2833
|
+
const v = e != null || o != null, N = i === "default" ? s === "orange" ? "bg-[#F0822D]" : s === "custom" ? "" : "bg-[#00A167]" : "bg-transparent", A = i === "default" && s === "custom" ? { backgroundColor: p } : void 0, S = v ? /* @__PURE__ */ w("span", { className: "flex flex-col gap-1 text-start", children: [
|
|
2834
|
+
e ? /* @__PURE__ */ m("span", { className: "text-lg font-semibold", children: e }) : null,
|
|
2835
|
+
o ? /* @__PURE__ */ m("span", { className: "text-sm text-neutral-600 dark:text-neutral-300", children: o }) : null
|
|
2836
|
+
] }) : /* @__PURE__ */ m("span", { className: "text-lg font-semibold", children: x });
|
|
2837
|
+
return /* @__PURE__ */ w(
|
|
2807
2838
|
"button",
|
|
2808
2839
|
{
|
|
2809
|
-
type:
|
|
2810
|
-
className:
|
|
2811
|
-
"
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2840
|
+
type: g,
|
|
2841
|
+
className: y(
|
|
2842
|
+
"group inline-flex cursor-pointer items-stretch overflow-hidden rounded-md border border-neutral-800 text-neutral-900 shadow-[0_4px_4px_rgba(0,0,0,0.2)] transition-shadow duration-200 ease-out hover:shadow-[0_8px_5px_rgba(0,0,0,0.18)] disabled:cursor-not-allowed disabled:opacity-60 disabled:shadow-[0_4px_12px_rgba(0,0,0,0.12)] dark:border-neutral-200 dark:text-neutral-100 dark:shadow-[0_8px_18px_rgba(0,0,0,0.45)] dark:hover:shadow-[0_10px_22px_rgba(0,0,0,0.5)] dark:disabled:shadow-[0_6px_16px_rgba(0,0,0,0.35)]",
|
|
2843
|
+
i === "default" ? "bg-white dark:bg-neutral-950" : "bg-transparent",
|
|
2844
|
+
n === "sm" && "text-sm",
|
|
2845
|
+
n === "md" && "text-base",
|
|
2846
|
+
n === "lg" && "text-lg",
|
|
2816
2847
|
d
|
|
2817
2848
|
),
|
|
2818
|
-
...
|
|
2849
|
+
...k,
|
|
2819
2850
|
children: [
|
|
2820
|
-
/* @__PURE__ */
|
|
2851
|
+
/* @__PURE__ */ m(
|
|
2821
2852
|
"span",
|
|
2822
2853
|
{
|
|
2823
|
-
className:
|
|
2824
|
-
"flex items-center
|
|
2825
|
-
|
|
2826
|
-
|
|
2854
|
+
className: y(
|
|
2855
|
+
"flex items-center",
|
|
2856
|
+
n === "sm" && "py-2 pl-6 pr-10",
|
|
2857
|
+
n === "md" && "py-3 pl-8 pr-12",
|
|
2858
|
+
n === "lg" && "py-3 pl-10 pr-14"
|
|
2827
2859
|
),
|
|
2828
|
-
children:
|
|
2860
|
+
children: S
|
|
2829
2861
|
}
|
|
2830
2862
|
),
|
|
2831
|
-
/* @__PURE__ */
|
|
2863
|
+
/* @__PURE__ */ m(
|
|
2832
2864
|
"span",
|
|
2833
2865
|
{
|
|
2834
|
-
className:
|
|
2835
|
-
"relative flex items-center justify-center rounded-r-md px-6",
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2866
|
+
className: y(
|
|
2867
|
+
"relative flex items-center justify-center rounded-r-md px-6 transition-colors duration-200 ease-out group-disabled:opacity-70",
|
|
2868
|
+
N,
|
|
2869
|
+
n === "sm" && "px-5",
|
|
2870
|
+
n === "lg" && "px-7"
|
|
2839
2871
|
),
|
|
2840
|
-
|
|
2872
|
+
style: A,
|
|
2873
|
+
children: t ?? Er(n, r)
|
|
2841
2874
|
}
|
|
2842
2875
|
)
|
|
2843
2876
|
]
|
|
2844
2877
|
}
|
|
2845
2878
|
);
|
|
2846
2879
|
}
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2880
|
+
const Be = ue(
|
|
2881
|
+
({
|
|
2882
|
+
label: e,
|
|
2883
|
+
description: o,
|
|
2884
|
+
error: t,
|
|
2885
|
+
icon: r,
|
|
2886
|
+
wrapperClassName: n,
|
|
2887
|
+
id: i,
|
|
2888
|
+
required: s,
|
|
2889
|
+
className: p,
|
|
2890
|
+
...d
|
|
2891
|
+
}, g) => {
|
|
2892
|
+
const x = he(), k = i ?? x, v = t ?? o, N = !!t;
|
|
2893
|
+
return /* @__PURE__ */ w("div", { className: y("space-y-2", n), children: [
|
|
2894
|
+
e ? /* @__PURE__ */ w(
|
|
2895
|
+
"label",
|
|
2896
|
+
{
|
|
2897
|
+
htmlFor: k,
|
|
2898
|
+
className: "text-sm font-semibold text-neutral-900 dark:text-neutral-100",
|
|
2899
|
+
children: [
|
|
2900
|
+
e,
|
|
2901
|
+
s ? /* @__PURE__ */ m("span", { className: "ml-1 text-red-500", "aria-hidden": "true", children: "*" }) : null
|
|
2902
|
+
]
|
|
2903
|
+
}
|
|
2904
|
+
) : null,
|
|
2905
|
+
/* @__PURE__ */ w("div", { className: "relative", children: [
|
|
2906
|
+
/* @__PURE__ */ m(
|
|
2907
|
+
"input",
|
|
2908
|
+
{
|
|
2909
|
+
ref: g,
|
|
2910
|
+
id: k,
|
|
2911
|
+
required: s,
|
|
2912
|
+
className: y(
|
|
2913
|
+
"w-full rounded-md border border-neutral-800 bg-white px-4 py-3 text-base text-neutral-900 shadow-[0_4px_4px_rgba(0,0,0,0.2)] transition focus:outline-none focus:ring-2 focus:ring-neutral-900/15 disabled:cursor-not-allowed disabled:opacity-60 dark:border-neutral-200 dark:bg-neutral-950 dark:text-neutral-100 dark:shadow-[0_6px_14px_rgba(0,0,0,0.45)] dark:focus:ring-neutral-100/15",
|
|
2914
|
+
N && "border-red-500 focus:ring-red-500/20 dark:border-red-400 dark:focus:ring-red-400/20",
|
|
2915
|
+
r && "pr-12",
|
|
2916
|
+
p
|
|
2917
|
+
),
|
|
2918
|
+
...d
|
|
2919
|
+
}
|
|
2920
|
+
),
|
|
2921
|
+
r ? /* @__PURE__ */ m("span", { className: "pointer-events-none absolute right-4 top-1/2 -translate-y-1/2 text-neutral-500 dark:text-neutral-400", children: r }) : null
|
|
2922
|
+
] }),
|
|
2923
|
+
v ? /* @__PURE__ */ m(
|
|
2924
|
+
"p",
|
|
2925
|
+
{
|
|
2926
|
+
className: y(
|
|
2927
|
+
"text-sm",
|
|
2928
|
+
N ? "text-red-600 dark:text-red-400" : "text-neutral-600 dark:text-neutral-300"
|
|
2929
|
+
),
|
|
2930
|
+
children: v
|
|
2931
|
+
}
|
|
2932
|
+
) : null
|
|
2933
|
+
] });
|
|
2934
|
+
}
|
|
2935
|
+
);
|
|
2936
|
+
Be.displayName = "Input";
|
|
2937
|
+
const Fe = ue(
|
|
2938
|
+
({
|
|
2939
|
+
label: e,
|
|
2940
|
+
description: o,
|
|
2941
|
+
error: t,
|
|
2942
|
+
icon: r,
|
|
2943
|
+
buttonLabel: n = "Action",
|
|
2944
|
+
buttonProps: i,
|
|
2945
|
+
color: s = "green",
|
|
2946
|
+
customColor: p,
|
|
2947
|
+
wrapperClassName: d,
|
|
2948
|
+
inputClassName: g,
|
|
2949
|
+
buttonClassName: x,
|
|
2950
|
+
id: k,
|
|
2951
|
+
required: v,
|
|
2952
|
+
className: N,
|
|
2953
|
+
disabled: A,
|
|
2954
|
+
...S
|
|
2955
|
+
}, _) => {
|
|
2956
|
+
const G = he(), V = k ?? G, B = t ?? o, L = !!t, { className: P, ...I } = i ?? {}, T = I.disabled ?? A, u = s === "orange" ? "bg-[#F0822D]" : s === "custom" ? "" : "bg-[#00A167]", R = s === "custom" ? { backgroundColor: p } : void 0;
|
|
2957
|
+
return /* @__PURE__ */ w("div", { className: y("space-y-2", d), children: [
|
|
2958
|
+
e ? /* @__PURE__ */ w(
|
|
2959
|
+
"label",
|
|
2960
|
+
{
|
|
2961
|
+
htmlFor: V,
|
|
2962
|
+
className: "text-sm font-semibold text-neutral-900 dark:text-neutral-100",
|
|
2963
|
+
children: [
|
|
2964
|
+
e,
|
|
2965
|
+
v ? /* @__PURE__ */ m("span", { className: "ml-1 text-red-500", "aria-hidden": "true", children: "*" }) : null
|
|
2966
|
+
]
|
|
2967
|
+
}
|
|
2968
|
+
) : null,
|
|
2969
|
+
/* @__PURE__ */ w("div", { className: y("relative flex items-stretch", N), children: [
|
|
2970
|
+
/* @__PURE__ */ m(
|
|
2971
|
+
"input",
|
|
2972
|
+
{
|
|
2973
|
+
ref: _,
|
|
2974
|
+
id: V,
|
|
2975
|
+
required: v,
|
|
2976
|
+
disabled: A,
|
|
2977
|
+
className: y(
|
|
2978
|
+
"w-full rounded-l-md rounded-r-none border border-neutral-800 border-r-0 bg-white px-4 py-3 text-base text-neutral-900 shadow-[0_4px_4px_rgba(0,0,0,0.2)] transition focus:outline-none focus:ring-2 focus:ring-neutral-900/15 disabled:cursor-not-allowed disabled:opacity-60 dark:border-neutral-200 dark:bg-neutral-950 dark:text-neutral-100 dark:shadow-[0_6px_14px_rgba(0,0,0,0.45)] dark:focus:ring-neutral-100/15",
|
|
2979
|
+
L && "border-red-500 focus:ring-red-500/20 dark:border-red-400 dark:focus:ring-red-400/20",
|
|
2980
|
+
r && "pr-20",
|
|
2981
|
+
g
|
|
2982
|
+
),
|
|
2983
|
+
...S
|
|
2984
|
+
}
|
|
2985
|
+
),
|
|
2986
|
+
/* @__PURE__ */ w("div", { className: "relative flex", children: [
|
|
2987
|
+
r ? /* @__PURE__ */ m("span", { className: "pointer-events-none absolute -left-5 top-1/2 z-10 flex h-10 w-10 -translate-y-1/2 items-center justify-center rounded-full border border-neutral-800 bg-white text-neutral-700 shadow-[0_3px_10px_rgba(0,0,0,0.12)] dark:border-neutral-200 dark:bg-neutral-950 dark:text-neutral-200 dark:shadow-[0_3px_10px_rgba(0,0,0,0.5)]", children: r }) : null,
|
|
2988
|
+
/* @__PURE__ */ m(
|
|
2989
|
+
"button",
|
|
2990
|
+
{
|
|
2991
|
+
type: "button",
|
|
2992
|
+
...I,
|
|
2993
|
+
disabled: T,
|
|
2994
|
+
className: y(
|
|
2995
|
+
"inline-flex items-center justify-center rounded-r-md rounded-l-none border border-neutral-800 border-l-0 px-6 text-sm font-semibold uppercase tracking-wide text-white shadow-[0_4px_4px_rgba(0,0,0,0.2)] transition hover:shadow-[0_6px_8px_rgba(0,0,0,0.18)] disabled:cursor-not-allowed disabled:opacity-60 dark:border-neutral-200 dark:shadow-[0_8px_18px_rgba(0,0,0,0.45)]",
|
|
2996
|
+
u,
|
|
2997
|
+
P,
|
|
2998
|
+
x
|
|
2999
|
+
),
|
|
3000
|
+
style: R,
|
|
3001
|
+
children: n
|
|
3002
|
+
}
|
|
3003
|
+
)
|
|
3004
|
+
] })
|
|
3005
|
+
] }),
|
|
3006
|
+
B ? /* @__PURE__ */ m(
|
|
3007
|
+
"p",
|
|
3008
|
+
{
|
|
3009
|
+
className: y(
|
|
3010
|
+
"text-sm",
|
|
3011
|
+
L ? "text-red-600 dark:text-red-400" : "text-neutral-600 dark:text-neutral-300"
|
|
3012
|
+
),
|
|
3013
|
+
children: B
|
|
3014
|
+
}
|
|
3015
|
+
) : null
|
|
3016
|
+
] });
|
|
3017
|
+
}
|
|
3018
|
+
);
|
|
3019
|
+
Fe.displayName = "InputButton";
|
|
3020
|
+
const Ve = ue(
|
|
3021
|
+
({
|
|
3022
|
+
label: e,
|
|
3023
|
+
description: o,
|
|
3024
|
+
error: t,
|
|
3025
|
+
options: r,
|
|
3026
|
+
placeholder: n,
|
|
3027
|
+
icon: i,
|
|
3028
|
+
searchable: s,
|
|
3029
|
+
wrapperClassName: p,
|
|
3030
|
+
id: d,
|
|
3031
|
+
required: g,
|
|
3032
|
+
className: x,
|
|
3033
|
+
children: k,
|
|
3034
|
+
name: v,
|
|
3035
|
+
multiple: N,
|
|
3036
|
+
disabled: A,
|
|
3037
|
+
value: S,
|
|
3038
|
+
defaultValue: _,
|
|
3039
|
+
onValueChange: G,
|
|
3040
|
+
...V
|
|
3041
|
+
}, B) => {
|
|
3042
|
+
const L = he(), P = d ?? L, I = t ?? o, T = !!t, [u, R] = pe(!1), [J, te] = pe(""), $ = Ue(null), Q = ke(() => {
|
|
3043
|
+
if (r)
|
|
3044
|
+
return r;
|
|
3045
|
+
const b = [];
|
|
3046
|
+
return (Array.isArray(k) ? k : [k]).forEach((j) => {
|
|
3047
|
+
if (!j || typeof j != "object" || !("props" in j))
|
|
3048
|
+
return;
|
|
3049
|
+
const F = j.props;
|
|
3050
|
+
F?.value != null && b.push({
|
|
3051
|
+
label: String(F.children ?? F.value),
|
|
3052
|
+
value: String(F.value),
|
|
3053
|
+
disabled: F.disabled
|
|
3054
|
+
});
|
|
3055
|
+
}), b;
|
|
3056
|
+
}, [r, k]), oe = !!s || !!N, U = () => N ? Array.isArray(_) ? _.map(String) : typeof _ == "string" ? [_] : [] : typeof _ == "string" ? _ : "", [O, W] = pe(U), c = S ?? O, E = Array.isArray(c) ? c.map(String) : c ? [String(c)] : [], K = Q.filter((b) => E.includes(b.value)).map((b) => b.label), ne = ke(() => {
|
|
3057
|
+
if (!J.trim())
|
|
3058
|
+
return Q;
|
|
3059
|
+
const b = J.toLowerCase();
|
|
3060
|
+
return Q.filter(
|
|
3061
|
+
(h) => h.label.toLowerCase().includes(b)
|
|
3062
|
+
);
|
|
3063
|
+
}, [Q, J]), Y = i === void 0 ? /* @__PURE__ */ m(
|
|
3064
|
+
"svg",
|
|
3065
|
+
{
|
|
3066
|
+
viewBox: "0 0 24 24",
|
|
3067
|
+
fill: "none",
|
|
3068
|
+
stroke: "currentColor",
|
|
3069
|
+
strokeWidth: "2",
|
|
3070
|
+
strokeLinecap: "round",
|
|
3071
|
+
strokeLinejoin: "round",
|
|
3072
|
+
className: "h-4 w-4",
|
|
3073
|
+
"aria-hidden": "true",
|
|
3074
|
+
children: /* @__PURE__ */ m("path", { d: "m6 9 6 6 6-6" })
|
|
3075
|
+
}
|
|
3076
|
+
) : i;
|
|
3077
|
+
we(() => {
|
|
3078
|
+
u || te("");
|
|
3079
|
+
}, [u]), we(() => {
|
|
3080
|
+
if (!u)
|
|
3081
|
+
return;
|
|
3082
|
+
const b = (h) => {
|
|
3083
|
+
$.current && h.target instanceof Node && !$.current.contains(h.target) && R(!1);
|
|
3084
|
+
};
|
|
3085
|
+
return document.addEventListener("mousedown", b), () => {
|
|
3086
|
+
document.removeEventListener("mousedown", b);
|
|
3087
|
+
};
|
|
3088
|
+
}, [u]);
|
|
3089
|
+
const C = (b) => {
|
|
3090
|
+
S === void 0 && W(b), G?.(b);
|
|
3091
|
+
}, M = (b) => {
|
|
3092
|
+
if (N) {
|
|
3093
|
+
const h = E.includes(b) ? E.filter((j) => j !== b) : [...E, b];
|
|
3094
|
+
C(h);
|
|
3095
|
+
return;
|
|
3096
|
+
}
|
|
3097
|
+
C(b), R(!1);
|
|
3098
|
+
}, Z = (b) => {
|
|
3099
|
+
const h = E.filter((j) => j !== b);
|
|
3100
|
+
C(h);
|
|
3101
|
+
};
|
|
3102
|
+
return oe ? /* @__PURE__ */ w("div", { className: y("space-y-2", p), children: [
|
|
3103
|
+
e ? /* @__PURE__ */ w(
|
|
3104
|
+
"label",
|
|
3105
|
+
{
|
|
3106
|
+
htmlFor: P,
|
|
3107
|
+
className: "text-sm font-semibold text-neutral-900 dark:text-neutral-100",
|
|
3108
|
+
children: [
|
|
3109
|
+
e,
|
|
3110
|
+
g ? /* @__PURE__ */ m("span", { className: "ml-1 text-red-500", "aria-hidden": "true", children: "*" }) : null
|
|
3111
|
+
]
|
|
3112
|
+
}
|
|
3113
|
+
) : null,
|
|
3114
|
+
/* @__PURE__ */ w("div", { className: "relative", ref: $, children: [
|
|
3115
|
+
/* @__PURE__ */ w(
|
|
3116
|
+
"button",
|
|
3117
|
+
{
|
|
3118
|
+
type: "button",
|
|
3119
|
+
id: P,
|
|
3120
|
+
disabled: A,
|
|
3121
|
+
className: y(
|
|
3122
|
+
"flex w-full items-center justify-between gap-3 rounded-md border border-neutral-800 bg-white px-4 py-3 text-left text-base text-neutral-900 shadow-[0_4px_4px_rgba(0,0,0,0.2)] transition focus:outline-none focus:ring-2 focus:ring-neutral-900/15 disabled:cursor-not-allowed disabled:opacity-60 dark:border-neutral-200 dark:bg-neutral-950 dark:text-neutral-100 dark:shadow-[0_6px_14px_rgba(0,0,0,0.45)] dark:focus:ring-neutral-100/15",
|
|
3123
|
+
T && "border-red-500 focus:ring-red-500/20 dark:border-red-400 dark:focus:ring-red-400/20",
|
|
3124
|
+
x
|
|
3125
|
+
),
|
|
3126
|
+
onClick: () => R((b) => !b),
|
|
3127
|
+
children: [
|
|
3128
|
+
/* @__PURE__ */ m("span", { className: "flex flex-wrap items-center gap-2", children: N && K.length > 0 ? K.map((b, h) => /* @__PURE__ */ w(
|
|
3129
|
+
"span",
|
|
3130
|
+
{
|
|
3131
|
+
className: "inline-flex items-center gap-2 rounded-full border border-neutral-800 bg-white px-3 py-1 text-sm font-semibold text-neutral-900 shadow-[0_2px_0_rgba(0,0,0,0.12)] dark:border-neutral-200 dark:bg-neutral-950 dark:text-neutral-100",
|
|
3132
|
+
children: [
|
|
3133
|
+
b,
|
|
3134
|
+
/* @__PURE__ */ m(
|
|
3135
|
+
"button",
|
|
3136
|
+
{
|
|
3137
|
+
type: "button",
|
|
3138
|
+
className: "text-xs text-neutral-600 hover:text-neutral-900 dark:text-neutral-400 dark:hover:text-neutral-200",
|
|
3139
|
+
onClick: (j) => {
|
|
3140
|
+
j.stopPropagation(), Z(E[h]);
|
|
3141
|
+
},
|
|
3142
|
+
children: "✕"
|
|
3143
|
+
}
|
|
3144
|
+
)
|
|
3145
|
+
]
|
|
3146
|
+
},
|
|
3147
|
+
`${b}-${h}`
|
|
3148
|
+
)) : K[0] ?? /* @__PURE__ */ m("span", { className: "text-neutral-500 dark:text-neutral-400", children: n ?? "Select an option" }) }),
|
|
3149
|
+
Y ? /* @__PURE__ */ m("span", { className: "text-neutral-500 dark:text-neutral-400", children: Y }) : null
|
|
3150
|
+
]
|
|
3151
|
+
}
|
|
3152
|
+
),
|
|
3153
|
+
v ? /* @__PURE__ */ m(
|
|
3154
|
+
"input",
|
|
3155
|
+
{
|
|
3156
|
+
type: "hidden",
|
|
3157
|
+
name: v,
|
|
3158
|
+
value: N ? E.join(",") : E[0] ?? ""
|
|
3159
|
+
}
|
|
3160
|
+
) : null,
|
|
3161
|
+
u ? /* @__PURE__ */ w("div", { className: "absolute z-20 mt-2 w-full rounded-md border border-neutral-800 bg-white shadow-[0_12px_24px_rgba(0,0,0,0.18)] dark:border-neutral-200 dark:bg-neutral-950 dark:shadow-[0_16px_28px_rgba(0,0,0,0.5)]", children: [
|
|
3162
|
+
s ? /* @__PURE__ */ m("div", { className: "border-b border-neutral-200 px-3 py-2 dark:border-neutral-800", children: /* @__PURE__ */ m(
|
|
3163
|
+
"input",
|
|
3164
|
+
{
|
|
3165
|
+
type: "text",
|
|
3166
|
+
value: J,
|
|
3167
|
+
onChange: (b) => te(b.target.value),
|
|
3168
|
+
placeholder: "Search...",
|
|
3169
|
+
className: "w-full bg-transparent text-sm text-neutral-900 outline-none placeholder:text-neutral-500 dark:text-neutral-100 dark:placeholder:text-neutral-400"
|
|
3170
|
+
}
|
|
3171
|
+
) }) : null,
|
|
3172
|
+
/* @__PURE__ */ m("div", { className: "max-h-56 overflow-auto py-1", children: ne.length === 0 ? /* @__PURE__ */ m("div", { className: "px-4 py-2 text-sm text-neutral-500 dark:text-neutral-400", children: "No results found." }) : ne.map((b) => {
|
|
3173
|
+
const h = E.includes(b.value);
|
|
3174
|
+
return /* @__PURE__ */ w(
|
|
3175
|
+
"button",
|
|
3176
|
+
{
|
|
3177
|
+
type: "button",
|
|
3178
|
+
disabled: b.disabled,
|
|
3179
|
+
onClick: () => M(b.value),
|
|
3180
|
+
className: y(
|
|
3181
|
+
"flex w-full items-center justify-between px-4 py-2 text-sm text-neutral-900 transition hover:bg-neutral-100 disabled:cursor-not-allowed disabled:opacity-60 dark:text-neutral-100 dark:hover:bg-neutral-900",
|
|
3182
|
+
h && "bg-neutral-100 font-semibold dark:bg-neutral-900"
|
|
3183
|
+
),
|
|
3184
|
+
children: [
|
|
3185
|
+
/* @__PURE__ */ m("span", { children: b.label }),
|
|
3186
|
+
h ? /* @__PURE__ */ m("span", { className: "text-xs text-neutral-500 dark:text-neutral-400", children: "Selected" }) : null
|
|
3187
|
+
]
|
|
3188
|
+
},
|
|
3189
|
+
b.value
|
|
3190
|
+
);
|
|
3191
|
+
}) })
|
|
3192
|
+
] }) : null
|
|
3193
|
+
] }),
|
|
3194
|
+
I ? /* @__PURE__ */ m(
|
|
3195
|
+
"p",
|
|
3196
|
+
{
|
|
3197
|
+
className: y(
|
|
3198
|
+
"text-sm",
|
|
3199
|
+
T ? "text-red-600 dark:text-red-400" : "text-neutral-600 dark:text-neutral-300"
|
|
3200
|
+
),
|
|
3201
|
+
children: I
|
|
3202
|
+
}
|
|
3203
|
+
) : null
|
|
3204
|
+
] }) : /* @__PURE__ */ w("div", { className: y("space-y-2", p), children: [
|
|
3205
|
+
e ? /* @__PURE__ */ w(
|
|
3206
|
+
"label",
|
|
3207
|
+
{
|
|
3208
|
+
htmlFor: P,
|
|
3209
|
+
className: "text-sm font-semibold text-neutral-900 dark:text-neutral-100",
|
|
3210
|
+
children: [
|
|
3211
|
+
e,
|
|
3212
|
+
g ? /* @__PURE__ */ m("span", { className: "ml-1 text-red-500", "aria-hidden": "true", children: "*" }) : null
|
|
3213
|
+
]
|
|
3214
|
+
}
|
|
3215
|
+
) : null,
|
|
3216
|
+
/* @__PURE__ */ w("div", { className: "relative", children: [
|
|
3217
|
+
/* @__PURE__ */ w(
|
|
3218
|
+
"select",
|
|
3219
|
+
{
|
|
3220
|
+
ref: B,
|
|
3221
|
+
id: P,
|
|
3222
|
+
required: g,
|
|
3223
|
+
disabled: A,
|
|
3224
|
+
multiple: N,
|
|
3225
|
+
name: v,
|
|
3226
|
+
className: y(
|
|
3227
|
+
"w-full appearance-none rounded-md border border-neutral-800 bg-white px-4 py-3 pr-12 text-base text-neutral-900 shadow-[0_4px_4px_rgba(0,0,0,0.2)] transition focus:outline-none focus:ring-2 focus:ring-neutral-900/15 disabled:cursor-not-allowed disabled:opacity-60 dark:border-neutral-200 dark:bg-neutral-950 dark:text-neutral-100 dark:shadow-[0_6px_14px_rgba(0,0,0,0.45)] dark:focus:ring-neutral-100/15",
|
|
3228
|
+
T && "border-red-500 focus:ring-red-500/20 dark:border-red-400 dark:focus:ring-red-400/20",
|
|
3229
|
+
x
|
|
3230
|
+
),
|
|
3231
|
+
...V,
|
|
3232
|
+
children: [
|
|
3233
|
+
n ? /* @__PURE__ */ m("option", { value: "", disabled: !0, hidden: !0, children: n }) : null,
|
|
3234
|
+
r ? r.map((b) => /* @__PURE__ */ m(
|
|
3235
|
+
"option",
|
|
3236
|
+
{
|
|
3237
|
+
value: b.value,
|
|
3238
|
+
disabled: b.disabled,
|
|
3239
|
+
children: b.label
|
|
3240
|
+
},
|
|
3241
|
+
b.value
|
|
3242
|
+
)) : k
|
|
3243
|
+
]
|
|
3244
|
+
}
|
|
3245
|
+
),
|
|
3246
|
+
Y ? /* @__PURE__ */ m("span", { className: "pointer-events-none absolute right-4 top-1/2 -translate-y-1/2 text-neutral-500 dark:text-neutral-400", children: Y }) : null
|
|
3247
|
+
] }),
|
|
3248
|
+
I ? /* @__PURE__ */ m(
|
|
3249
|
+
"p",
|
|
3250
|
+
{
|
|
3251
|
+
className: y(
|
|
3252
|
+
"text-sm",
|
|
3253
|
+
T ? "text-red-600 dark:text-red-400" : "text-neutral-600 dark:text-neutral-300"
|
|
3254
|
+
),
|
|
3255
|
+
children: I
|
|
3256
|
+
}
|
|
3257
|
+
) : null
|
|
3258
|
+
] });
|
|
3259
|
+
}
|
|
3260
|
+
);
|
|
3261
|
+
Ve.displayName = "Select";
|
|
3262
|
+
const Lr = {
|
|
3263
|
+
h1: "heading-1 font-display font-normal",
|
|
3264
|
+
tussenkop: "heading-3 font-semibold",
|
|
3265
|
+
h2: "heading-2",
|
|
3266
|
+
body: "body-text"
|
|
3267
|
+
}, Or = {
|
|
3268
|
+
h1: "h1",
|
|
3269
|
+
tussenkop: "h3",
|
|
3270
|
+
h2: "h2",
|
|
3271
|
+
body: "p"
|
|
3272
|
+
}, We = ue(
|
|
3273
|
+
({ as: e, variant: o = "body", className: t, children: r, ...n }, i) => {
|
|
3274
|
+
const s = e ?? Or[o];
|
|
3275
|
+
return /* @__PURE__ */ m(
|
|
3276
|
+
s,
|
|
3277
|
+
{
|
|
3278
|
+
ref: i,
|
|
3279
|
+
className: y(Lr[o], t),
|
|
3280
|
+
...n,
|
|
3281
|
+
children: r
|
|
3282
|
+
}
|
|
3283
|
+
);
|
|
3284
|
+
}
|
|
3285
|
+
);
|
|
3286
|
+
We.displayName = "Typography";
|
|
3287
|
+
const Br = ({
|
|
3288
|
+
image: e,
|
|
3289
|
+
badge: o,
|
|
3290
|
+
title: t,
|
|
3291
|
+
description: r,
|
|
3292
|
+
action: n,
|
|
3293
|
+
orientation: i = "vertical",
|
|
3294
|
+
accent: s = "#00A167",
|
|
3295
|
+
className: p,
|
|
3296
|
+
bodyClassName: d
|
|
3297
|
+
}) => /* @__PURE__ */ w(
|
|
3298
|
+
"article",
|
|
3299
|
+
{
|
|
3300
|
+
className: y(
|
|
3301
|
+
"overflow-hidden rounded-2xl border border-neutral-800 bg-white shadow-[0_10px_20px_rgba(0,0,0,0.14)] dark:border-neutral-200 dark:bg-neutral-950 dark:shadow-[0_12px_26px_rgba(0,0,0,0.45)]",
|
|
3302
|
+
i === "horizontal" && "grid gap-0 md:grid-cols-[1.1fr_1fr]",
|
|
3303
|
+
p
|
|
3304
|
+
),
|
|
3305
|
+
children: [
|
|
3306
|
+
e ? /* @__PURE__ */ w("div", { className: "relative overflow-hidden", children: [
|
|
3307
|
+
o ? /* @__PURE__ */ m("div", { className: "absolute left-4 top-4 z-10 rounded-full bg-[#f4b37a] px-3 py-1 text-xs font-semibold text-[#1d1d1b]", children: o }) : null,
|
|
3308
|
+
/* @__PURE__ */ m("div", { className: "h-full w-full", children: e }),
|
|
3309
|
+
i == "vertical" ? /* @__PURE__ */ m("div", { className: "absolute inset-x-0 bottom-0 h-2 bg-[#f4b37a]" }) : null
|
|
3310
|
+
] }) : null,
|
|
3311
|
+
/* @__PURE__ */ w(
|
|
3312
|
+
"div",
|
|
3313
|
+
{
|
|
3314
|
+
className: y(
|
|
3315
|
+
"relative space-y-3 p-6",
|
|
3316
|
+
i === "horizontal" && "md:border-l-4",
|
|
3317
|
+
d
|
|
3318
|
+
),
|
|
3319
|
+
style: i === "horizontal" ? { borderColor: s } : void 0,
|
|
3320
|
+
children: [
|
|
3321
|
+
n ? /* @__PURE__ */ m("div", { className: "absolute -top-6 right-6 z-10", children: n }) : null,
|
|
3322
|
+
t ? /* @__PURE__ */ m("h3", { className: "heading-2 text-[#1d1d1b] dark:text-[#f1f1ee]", children: t }) : null,
|
|
3323
|
+
r ? /* @__PURE__ */ m("p", { className: "body-text text-[#4b4b4b] dark:text-[#c9c4bc]", children: r }) : null
|
|
3324
|
+
]
|
|
3325
|
+
}
|
|
3326
|
+
)
|
|
3327
|
+
]
|
|
3328
|
+
}
|
|
3329
|
+
), Wr = { Button: Gr, Input: Be, InputButton: Fe, Select: Ve, Typography: We, Card: Br };
|
|
2851
3330
|
export {
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
3331
|
+
Gr as Button,
|
|
3332
|
+
Br as Card,
|
|
3333
|
+
Be as Input,
|
|
3334
|
+
Fe as InputButton,
|
|
3335
|
+
Ve as Select,
|
|
3336
|
+
We as Typography,
|
|
3337
|
+
y as cn,
|
|
3338
|
+
Wr as default
|
|
2856
3339
|
};
|
|
2857
3340
|
//# sourceMappingURL=index.mjs.map
|