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