@desafio-design-system_/reflow-ui 0.1.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +149 -132
- package/dist/index.js.map +1 -1
- package/dist/styles/index.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsxs as fe, jsx as oe } from "react/jsx-runtime";
|
|
2
|
+
function ke(e) {
|
|
2
3
|
var t, r, o = "";
|
|
3
4
|
if (typeof e == "string" || typeof e == "number") o += e;
|
|
4
5
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
5
6
|
var i = e.length;
|
|
6
|
-
for (t = 0; t < i; t++) e[t] && (r =
|
|
7
|
+
for (t = 0; t < i; t++) e[t] && (r = ke(e[t])) && (o && (o += " "), o += r);
|
|
7
8
|
} else for (r in e) e[r] && (o && (o += " "), o += r);
|
|
8
9
|
return o;
|
|
9
10
|
}
|
|
10
|
-
function
|
|
11
|
-
for (var e, t, r = 0, o = "", i = arguments.length; r < i; r++) (e = arguments[r]) && (t =
|
|
11
|
+
function je() {
|
|
12
|
+
for (var e, t, r = 0, o = "", i = arguments.length; r < i; r++) (e = arguments[r]) && (t = ke(e)) && (o && (o += " "), o += t);
|
|
12
13
|
return o;
|
|
13
14
|
}
|
|
14
|
-
const
|
|
15
|
+
const Ne = (e, t) => {
|
|
15
16
|
const r = new Array(e.length + t.length);
|
|
16
17
|
for (let o = 0; o < e.length; o++)
|
|
17
18
|
r[o] = e[o];
|
|
@@ -21,36 +22,36 @@ const Te = (e, t) => {
|
|
|
21
22
|
}, Oe = (e, t) => ({
|
|
22
23
|
classGroupId: e,
|
|
23
24
|
validator: t
|
|
24
|
-
}),
|
|
25
|
+
}), ye = (e = /* @__PURE__ */ new Map(), t = null, r) => ({
|
|
25
26
|
nextPart: e,
|
|
26
27
|
validators: t,
|
|
27
28
|
classGroupId: r
|
|
28
|
-
}), K = "-",
|
|
29
|
-
const t =
|
|
29
|
+
}), K = "-", be = [], Le = "arbitrary..", Ee = (e) => {
|
|
30
|
+
const t = Fe(e), {
|
|
30
31
|
conflictingClassGroups: r,
|
|
31
32
|
conflictingClassGroupModifiers: o
|
|
32
33
|
} = e;
|
|
33
34
|
return {
|
|
34
35
|
getClassGroupId: (a) => {
|
|
35
36
|
if (a.startsWith("[") && a.endsWith("]"))
|
|
36
|
-
return
|
|
37
|
+
return Ve(a);
|
|
37
38
|
const u = a.split(K), c = u[0] === "" && u.length > 1 ? 1 : 0;
|
|
38
|
-
return
|
|
39
|
+
return ve(u, c, t);
|
|
39
40
|
},
|
|
40
41
|
getConflictingClassGroupIds: (a, u) => {
|
|
41
42
|
if (u) {
|
|
42
43
|
const c = o[a], f = r[a];
|
|
43
|
-
return c ? f ?
|
|
44
|
+
return c ? f ? Ne(f, c) : c : f || be;
|
|
44
45
|
}
|
|
45
|
-
return r[a] ||
|
|
46
|
+
return r[a] || be;
|
|
46
47
|
}
|
|
47
48
|
};
|
|
48
|
-
},
|
|
49
|
+
}, ve = (e, t, r) => {
|
|
49
50
|
if (e.length - t === 0)
|
|
50
51
|
return r.classGroupId;
|
|
51
52
|
const i = e[t], d = r.nextPart.get(i);
|
|
52
53
|
if (d) {
|
|
53
|
-
const f =
|
|
54
|
+
const f = ve(e, t + 1, d);
|
|
54
55
|
if (f) return f;
|
|
55
56
|
}
|
|
56
57
|
const a = r.validators;
|
|
@@ -62,63 +63,63 @@ const Te = (e, t) => {
|
|
|
62
63
|
if (h.validator(u))
|
|
63
64
|
return h.classGroupId;
|
|
64
65
|
}
|
|
65
|
-
},
|
|
66
|
+
}, Ve = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
66
67
|
const t = e.slice(1, -1), r = t.indexOf(":"), o = t.slice(0, r);
|
|
67
|
-
return o ?
|
|
68
|
-
})(),
|
|
68
|
+
return o ? Le + o : void 0;
|
|
69
|
+
})(), Fe = (e) => {
|
|
69
70
|
const {
|
|
70
71
|
theme: t,
|
|
71
72
|
classGroups: r
|
|
72
73
|
} = e;
|
|
73
|
-
return
|
|
74
|
-
},
|
|
75
|
-
const r =
|
|
74
|
+
return _e(r, t);
|
|
75
|
+
}, _e = (e, t) => {
|
|
76
|
+
const r = ye();
|
|
76
77
|
for (const o in e) {
|
|
77
78
|
const i = e[o];
|
|
78
|
-
|
|
79
|
+
ne(i, r, o, t);
|
|
79
80
|
}
|
|
80
81
|
return r;
|
|
81
|
-
},
|
|
82
|
+
}, ne = (e, t, r, o) => {
|
|
82
83
|
const i = e.length;
|
|
83
84
|
for (let d = 0; d < i; d++) {
|
|
84
85
|
const a = e[d];
|
|
85
|
-
|
|
86
|
+
Be(a, t, r, o);
|
|
86
87
|
}
|
|
87
|
-
},
|
|
88
|
+
}, Be = (e, t, r, o) => {
|
|
88
89
|
if (typeof e == "string") {
|
|
89
|
-
|
|
90
|
+
We(e, t, r);
|
|
90
91
|
return;
|
|
91
92
|
}
|
|
92
93
|
if (typeof e == "function") {
|
|
93
|
-
|
|
94
|
+
$e(e, t, r, o);
|
|
94
95
|
return;
|
|
95
96
|
}
|
|
96
|
-
|
|
97
|
-
},
|
|
98
|
-
const o = e === "" ? t :
|
|
97
|
+
Ue(e, t, r, o);
|
|
98
|
+
}, We = (e, t, r) => {
|
|
99
|
+
const o = e === "" ? t : ze(t, e);
|
|
99
100
|
o.classGroupId = r;
|
|
100
|
-
},
|
|
101
|
-
if (
|
|
102
|
-
|
|
101
|
+
}, $e = (e, t, r, o) => {
|
|
102
|
+
if (De(e)) {
|
|
103
|
+
ne(e(o), t, r, o);
|
|
103
104
|
return;
|
|
104
105
|
}
|
|
105
106
|
t.validators === null && (t.validators = []), t.validators.push(Oe(r, e));
|
|
106
|
-
},
|
|
107
|
+
}, Ue = (e, t, r, o) => {
|
|
107
108
|
const i = Object.entries(e), d = i.length;
|
|
108
109
|
for (let a = 0; a < d; a++) {
|
|
109
110
|
const [u, c] = i[a];
|
|
110
|
-
|
|
111
|
+
ne(c, ze(t, u), r, o);
|
|
111
112
|
}
|
|
112
|
-
},
|
|
113
|
+
}, ze = (e, t) => {
|
|
113
114
|
let r = e;
|
|
114
115
|
const o = t.split(K), i = o.length;
|
|
115
116
|
for (let d = 0; d < i; d++) {
|
|
116
117
|
const a = o[d];
|
|
117
118
|
let u = r.nextPart.get(a);
|
|
118
|
-
u || (u =
|
|
119
|
+
u || (u = ye(), r.nextPart.set(a, u)), r = u;
|
|
119
120
|
}
|
|
120
121
|
return r;
|
|
121
|
-
},
|
|
122
|
+
}, De = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Ye = (e) => {
|
|
122
123
|
if (e < 1)
|
|
123
124
|
return {
|
|
124
125
|
get: () => {
|
|
@@ -142,13 +143,13 @@ const Te = (e, t) => {
|
|
|
142
143
|
d in r ? r[d] = a : i(d, a);
|
|
143
144
|
}
|
|
144
145
|
};
|
|
145
|
-
},
|
|
146
|
+
}, se = "!", ge = ":", qe = [], he = (e, t, r, o, i) => ({
|
|
146
147
|
modifiers: e,
|
|
147
148
|
hasImportantModifier: t,
|
|
148
149
|
baseClassName: r,
|
|
149
150
|
maybePostfixModifierPosition: o,
|
|
150
151
|
isExternal: i
|
|
151
|
-
}),
|
|
152
|
+
}), Xe = (e) => {
|
|
152
153
|
const {
|
|
153
154
|
prefix: t,
|
|
154
155
|
experimentalParseClassName: r
|
|
@@ -160,7 +161,7 @@ const Te = (e, t) => {
|
|
|
160
161
|
for (let v = 0; v < h; v++) {
|
|
161
162
|
const w = i[v];
|
|
162
163
|
if (a === 0 && u === 0) {
|
|
163
|
-
if (w ===
|
|
164
|
+
if (w === ge) {
|
|
164
165
|
d.push(i.slice(c, v)), c = v + 1;
|
|
165
166
|
continue;
|
|
166
167
|
}
|
|
@@ -173,19 +174,19 @@ const Te = (e, t) => {
|
|
|
173
174
|
}
|
|
174
175
|
const y = d.length === 0 ? i : i.slice(c);
|
|
175
176
|
let z = y, I = !1;
|
|
176
|
-
y.endsWith(
|
|
177
|
+
y.endsWith(se) ? (z = y.slice(0, -1), I = !0) : (
|
|
177
178
|
/**
|
|
178
179
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
179
180
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
180
181
|
*/
|
|
181
|
-
y.startsWith(
|
|
182
|
+
y.startsWith(se) && (z = y.slice(1), I = !0)
|
|
182
183
|
);
|
|
183
184
|
const M = f && f > c ? f - c : void 0;
|
|
184
|
-
return
|
|
185
|
+
return he(d, I, z, M);
|
|
185
186
|
};
|
|
186
187
|
if (t) {
|
|
187
|
-
const i = t +
|
|
188
|
-
o = (a) => a.startsWith(i) ? d(a.slice(i.length)) :
|
|
188
|
+
const i = t + ge, d = o;
|
|
189
|
+
o = (a) => a.startsWith(i) ? d(a.slice(i.length)) : he(qe, !1, a, void 0, !0);
|
|
189
190
|
}
|
|
190
191
|
if (r) {
|
|
191
192
|
const i = o;
|
|
@@ -195,7 +196,7 @@ const Te = (e, t) => {
|
|
|
195
196
|
});
|
|
196
197
|
}
|
|
197
198
|
return o;
|
|
198
|
-
},
|
|
199
|
+
}, Je = (e) => {
|
|
199
200
|
const t = /* @__PURE__ */ new Map();
|
|
200
201
|
return e.orderSensitiveModifiers.forEach((r, o) => {
|
|
201
202
|
t.set(r, 1e6 + o);
|
|
@@ -208,18 +209,18 @@ const Te = (e, t) => {
|
|
|
208
209
|
}
|
|
209
210
|
return i.length > 0 && (i.sort(), o.push(...i)), o;
|
|
210
211
|
};
|
|
211
|
-
},
|
|
212
|
-
cache:
|
|
213
|
-
parseClassName:
|
|
214
|
-
sortModifiers:
|
|
215
|
-
...
|
|
216
|
-
}),
|
|
212
|
+
}, He = (e) => ({
|
|
213
|
+
cache: Ye(e.cacheSize),
|
|
214
|
+
parseClassName: Xe(e),
|
|
215
|
+
sortModifiers: Je(e),
|
|
216
|
+
...Ee(e)
|
|
217
|
+
}), Ke = /\s+/, Qe = (e, t) => {
|
|
217
218
|
const {
|
|
218
219
|
parseClassName: r,
|
|
219
220
|
getClassGroupId: o,
|
|
220
221
|
getConflictingClassGroupIds: i,
|
|
221
222
|
sortModifiers: d
|
|
222
|
-
} = t, a = [], u = e.trim().split(
|
|
223
|
+
} = t, a = [], u = e.trim().split(Ke);
|
|
223
224
|
let c = "";
|
|
224
225
|
for (let f = u.length - 1; f >= 0; f -= 1) {
|
|
225
226
|
const h = u[f], {
|
|
@@ -245,59 +246,59 @@ const Te = (e, t) => {
|
|
|
245
246
|
}
|
|
246
247
|
w = !1;
|
|
247
248
|
}
|
|
248
|
-
const $ = z.length === 0 ? "" : z.length === 1 ? z[0] : d(z).join(":"), _ = I ? $ +
|
|
249
|
-
if (a.indexOf(
|
|
249
|
+
const $ = z.length === 0 ? "" : z.length === 1 ? z[0] : d(z).join(":"), _ = I ? $ + se : $, N = _ + P;
|
|
250
|
+
if (a.indexOf(N) > -1)
|
|
250
251
|
continue;
|
|
251
|
-
a.push(
|
|
252
|
-
const
|
|
253
|
-
for (let G = 0; G <
|
|
254
|
-
const
|
|
255
|
-
a.push(_ +
|
|
252
|
+
a.push(N);
|
|
253
|
+
const O = i(P, w);
|
|
254
|
+
for (let G = 0; G < O.length; ++G) {
|
|
255
|
+
const B = O[G];
|
|
256
|
+
a.push(_ + B);
|
|
256
257
|
}
|
|
257
258
|
c = h + (c.length > 0 ? " " + c : c);
|
|
258
259
|
}
|
|
259
260
|
return c;
|
|
260
|
-
},
|
|
261
|
+
}, Ze = (...e) => {
|
|
261
262
|
let t = 0, r, o, i = "";
|
|
262
263
|
for (; t < e.length; )
|
|
263
|
-
(r = e[t++]) && (o =
|
|
264
|
+
(r = e[t++]) && (o = Ce(r)) && (i && (i += " "), i += o);
|
|
264
265
|
return i;
|
|
265
|
-
},
|
|
266
|
+
}, Ce = (e) => {
|
|
266
267
|
if (typeof e == "string")
|
|
267
268
|
return e;
|
|
268
269
|
let t, r = "";
|
|
269
270
|
for (let o = 0; o < e.length; o++)
|
|
270
|
-
e[o] && (t =
|
|
271
|
+
e[o] && (t = Ce(e[o])) && (r && (r += " "), r += t);
|
|
271
272
|
return r;
|
|
272
|
-
},
|
|
273
|
+
}, eo = (e, ...t) => {
|
|
273
274
|
let r, o, i, d;
|
|
274
275
|
const a = (c) => {
|
|
275
276
|
const f = t.reduce((h, y) => y(h), e());
|
|
276
|
-
return r =
|
|
277
|
+
return r = He(f), o = r.cache.get, i = r.cache.set, d = u, u(c);
|
|
277
278
|
}, u = (c) => {
|
|
278
279
|
const f = o(c);
|
|
279
280
|
if (f)
|
|
280
281
|
return f;
|
|
281
|
-
const h =
|
|
282
|
+
const h = Qe(c, r);
|
|
282
283
|
return i(c, h), h;
|
|
283
284
|
};
|
|
284
|
-
return d = a, (...c) => d(
|
|
285
|
-
},
|
|
286
|
-
const t = (r) => r[e] ||
|
|
285
|
+
return d = a, (...c) => d(Ze(...c));
|
|
286
|
+
}, oo = [], b = (e) => {
|
|
287
|
+
const t = (r) => r[e] || oo;
|
|
287
288
|
return t.isThemeGetter = !0, t;
|
|
288
|
-
},
|
|
289
|
+
}, Ae = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Se = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ro = /^\d+\/\d+$/, to = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, so = /\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$/, no = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, ao = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, io = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, E = (e) => ro.test(e), p = (e) => !!e && !Number.isNaN(Number(e)), R = (e) => !!e && Number.isInteger(Number(e)), re = (e) => e.endsWith("%") && p(e.slice(0, -1)), S = (e) => to.test(e), lo = () => !0, co = (e) => (
|
|
289
290
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
290
291
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
291
292
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
292
|
-
|
|
293
|
-
),
|
|
294
|
-
const o =
|
|
293
|
+
so.test(e) && !no.test(e)
|
|
294
|
+
), Re = () => !1, mo = (e) => ao.test(e), po = (e) => io.test(e), uo = (e) => !s(e) && !n(e), fo = (e) => V(e, Pe, Re), s = (e) => Ae.test(e), j = (e) => V(e, Ge, co), te = (e) => V(e, wo, p), xe = (e) => V(e, Ie, Re), bo = (e) => V(e, Me, po), J = (e) => V(e, Te, mo), n = (e) => Se.test(e), W = (e) => F(e, Ge), go = (e) => F(e, ko), we = (e) => F(e, Ie), ho = (e) => F(e, Pe), xo = (e) => F(e, Me), H = (e) => F(e, Te, !0), V = (e, t, r) => {
|
|
295
|
+
const o = Ae.exec(e);
|
|
295
296
|
return o ? o[1] ? t(o[1]) : r(o[2]) : !1;
|
|
296
297
|
}, F = (e, t, r = !1) => {
|
|
297
|
-
const o =
|
|
298
|
+
const o = Se.exec(e);
|
|
298
299
|
return o ? o[1] ? t(o[1]) : r : !1;
|
|
299
|
-
},
|
|
300
|
-
const e = b("color"), t = b("font"), r = b("text"), o = b("font-weight"), i = b("tracking"), d = b("leading"), a = b("breakpoint"), u = b("container"), c = b("spacing"), f = b("radius"), h = b("shadow"), y = b("inset-shadow"), z = b("text-shadow"), I = b("drop-shadow"), M = b("blur"), v = b("perspective"), w = b("aspect"), P = b("ease"), $ = b("animate"), _ = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"],
|
|
300
|
+
}, Ie = (e) => e === "position" || e === "percentage", Me = (e) => e === "image" || e === "url", Pe = (e) => e === "length" || e === "size" || e === "bg-size", Ge = (e) => e === "length", wo = (e) => e === "number", ko = (e) => e === "family-name", Te = (e) => e === "shadow", yo = () => {
|
|
301
|
+
const e = b("color"), t = b("font"), r = b("text"), o = b("font-weight"), i = b("tracking"), d = b("leading"), a = b("breakpoint"), u = b("container"), c = b("spacing"), f = b("radius"), h = b("shadow"), y = b("inset-shadow"), z = b("text-shadow"), I = b("drop-shadow"), M = b("blur"), v = b("perspective"), w = b("aspect"), P = b("ease"), $ = b("animate"), _ = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], N = () => [
|
|
301
302
|
"center",
|
|
302
303
|
"top",
|
|
303
304
|
"bottom",
|
|
@@ -315,15 +316,15 @@ const Te = (e, t) => {
|
|
|
315
316
|
"bottom-left",
|
|
316
317
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
317
318
|
"left-bottom"
|
|
318
|
-
],
|
|
319
|
+
], O = () => [...N(), n, s], G = () => ["auto", "hidden", "clip", "visible", "scroll"], B = () => ["auto", "contain", "none"], m = () => [n, s, c], C = () => [E, "full", "auto", ...m()], ae = () => [R, "none", "subgrid", n, s], ie = () => ["auto", {
|
|
319
320
|
span: ["full", R, n, s]
|
|
320
|
-
}, R, n, s], U = () => [R, "auto", n, s],
|
|
321
|
+
}, R, n, s], U = () => [R, "auto", n, s], le = () => ["auto", "min", "max", "fr", n, s], Q = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], L = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], A = () => ["auto", ...m()], T = () => [E, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...m()], l = () => [e, n, s], ce = () => [...N(), we, xe, {
|
|
321
322
|
position: [n, s]
|
|
322
|
-
}],
|
|
323
|
+
}], de = () => ["no-repeat", {
|
|
323
324
|
repeat: ["", "x", "y", "space", "round"]
|
|
324
|
-
}],
|
|
325
|
+
}], me = () => ["auto", "cover", "contain", ho, fo, {
|
|
325
326
|
size: [n, s]
|
|
326
|
-
}], Z = () => [
|
|
327
|
+
}], Z = () => [re, W, j], x = () => [
|
|
327
328
|
// Deprecated since Tailwind CSS v4.0.0
|
|
328
329
|
"",
|
|
329
330
|
"none",
|
|
@@ -331,14 +332,14 @@ const Te = (e, t) => {
|
|
|
331
332
|
f,
|
|
332
333
|
n,
|
|
333
334
|
s
|
|
334
|
-
], k = () => ["", p,
|
|
335
|
+
], k = () => ["", p, W, j], D = () => ["solid", "dashed", "dotted", "double"], pe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], g = () => [p, re, we, xe], ue = () => [
|
|
335
336
|
// Deprecated since Tailwind CSS v4.0.0
|
|
336
337
|
"",
|
|
337
338
|
"none",
|
|
338
339
|
M,
|
|
339
340
|
n,
|
|
340
341
|
s
|
|
341
|
-
], Y = () => ["none", p, n, s], q = () => ["none", p, n, s], ee = () => [p, n, s], X = () => [
|
|
342
|
+
], Y = () => ["none", p, n, s], q = () => ["none", p, n, s], ee = () => [p, n, s], X = () => [E, "full", ...m()];
|
|
342
343
|
return {
|
|
343
344
|
cacheSize: 500,
|
|
344
345
|
theme: {
|
|
@@ -346,11 +347,11 @@ const Te = (e, t) => {
|
|
|
346
347
|
aspect: ["video"],
|
|
347
348
|
blur: [S],
|
|
348
349
|
breakpoint: [S],
|
|
349
|
-
color: [
|
|
350
|
+
color: [lo],
|
|
350
351
|
container: [S],
|
|
351
352
|
"drop-shadow": [S],
|
|
352
353
|
ease: ["in", "out", "in-out"],
|
|
353
|
-
font: [
|
|
354
|
+
font: [uo],
|
|
354
355
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
355
356
|
"inset-shadow": [S],
|
|
356
357
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
@@ -371,7 +372,7 @@ const Te = (e, t) => {
|
|
|
371
372
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
372
373
|
*/
|
|
373
374
|
aspect: [{
|
|
374
|
-
aspect: ["auto", "square",
|
|
375
|
+
aspect: ["auto", "square", E, s, n, w]
|
|
375
376
|
}],
|
|
376
377
|
/**
|
|
377
378
|
* Container
|
|
@@ -462,7 +463,7 @@ const Te = (e, t) => {
|
|
|
462
463
|
* @see https://tailwindcss.com/docs/object-position
|
|
463
464
|
*/
|
|
464
465
|
"object-position": [{
|
|
465
|
-
object:
|
|
466
|
+
object: O()
|
|
466
467
|
}],
|
|
467
468
|
/**
|
|
468
469
|
* Overflow
|
|
@@ -490,21 +491,21 @@ const Te = (e, t) => {
|
|
|
490
491
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
491
492
|
*/
|
|
492
493
|
overscroll: [{
|
|
493
|
-
overscroll:
|
|
494
|
+
overscroll: B()
|
|
494
495
|
}],
|
|
495
496
|
/**
|
|
496
497
|
* Overscroll Behavior X
|
|
497
498
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
498
499
|
*/
|
|
499
500
|
"overscroll-x": [{
|
|
500
|
-
"overscroll-x":
|
|
501
|
+
"overscroll-x": B()
|
|
501
502
|
}],
|
|
502
503
|
/**
|
|
503
504
|
* Overscroll Behavior Y
|
|
504
505
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
505
506
|
*/
|
|
506
507
|
"overscroll-y": [{
|
|
507
|
-
"overscroll-y":
|
|
508
|
+
"overscroll-y": B()
|
|
508
509
|
}],
|
|
509
510
|
/**
|
|
510
511
|
* Position
|
|
@@ -594,7 +595,7 @@ const Te = (e, t) => {
|
|
|
594
595
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
595
596
|
*/
|
|
596
597
|
basis: [{
|
|
597
|
-
basis: [
|
|
598
|
+
basis: [E, "full", "auto", u, ...m()]
|
|
598
599
|
}],
|
|
599
600
|
/**
|
|
600
601
|
* Flex Direction
|
|
@@ -615,7 +616,7 @@ const Te = (e, t) => {
|
|
|
615
616
|
* @see https://tailwindcss.com/docs/flex
|
|
616
617
|
*/
|
|
617
618
|
flex: [{
|
|
618
|
-
flex: [p,
|
|
619
|
+
flex: [p, E, "auto", "initial", "none", s]
|
|
619
620
|
}],
|
|
620
621
|
/**
|
|
621
622
|
* Flex Grow
|
|
@@ -643,14 +644,14 @@ const Te = (e, t) => {
|
|
|
643
644
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
644
645
|
*/
|
|
645
646
|
"grid-cols": [{
|
|
646
|
-
"grid-cols":
|
|
647
|
+
"grid-cols": ae()
|
|
647
648
|
}],
|
|
648
649
|
/**
|
|
649
650
|
* Grid Column Start / End
|
|
650
651
|
* @see https://tailwindcss.com/docs/grid-column
|
|
651
652
|
*/
|
|
652
653
|
"col-start-end": [{
|
|
653
|
-
col:
|
|
654
|
+
col: ie()
|
|
654
655
|
}],
|
|
655
656
|
/**
|
|
656
657
|
* Grid Column Start
|
|
@@ -671,14 +672,14 @@ const Te = (e, t) => {
|
|
|
671
672
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
672
673
|
*/
|
|
673
674
|
"grid-rows": [{
|
|
674
|
-
"grid-rows":
|
|
675
|
+
"grid-rows": ae()
|
|
675
676
|
}],
|
|
676
677
|
/**
|
|
677
678
|
* Grid Row Start / End
|
|
678
679
|
* @see https://tailwindcss.com/docs/grid-row
|
|
679
680
|
*/
|
|
680
681
|
"row-start-end": [{
|
|
681
|
-
row:
|
|
682
|
+
row: ie()
|
|
682
683
|
}],
|
|
683
684
|
/**
|
|
684
685
|
* Grid Row Start
|
|
@@ -706,14 +707,14 @@ const Te = (e, t) => {
|
|
|
706
707
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
707
708
|
*/
|
|
708
709
|
"auto-cols": [{
|
|
709
|
-
"auto-cols":
|
|
710
|
+
"auto-cols": le()
|
|
710
711
|
}],
|
|
711
712
|
/**
|
|
712
713
|
* Grid Auto Rows
|
|
713
714
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
714
715
|
*/
|
|
715
716
|
"auto-rows": [{
|
|
716
|
-
"auto-rows":
|
|
717
|
+
"auto-rows": le()
|
|
717
718
|
}],
|
|
718
719
|
/**
|
|
719
720
|
* Gap
|
|
@@ -748,14 +749,14 @@ const Te = (e, t) => {
|
|
|
748
749
|
* @see https://tailwindcss.com/docs/justify-items
|
|
749
750
|
*/
|
|
750
751
|
"justify-items": [{
|
|
751
|
-
"justify-items": [...
|
|
752
|
+
"justify-items": [...L(), "normal"]
|
|
752
753
|
}],
|
|
753
754
|
/**
|
|
754
755
|
* Justify Self
|
|
755
756
|
* @see https://tailwindcss.com/docs/justify-self
|
|
756
757
|
*/
|
|
757
758
|
"justify-self": [{
|
|
758
|
-
"justify-self": ["auto", ...
|
|
759
|
+
"justify-self": ["auto", ...L()]
|
|
759
760
|
}],
|
|
760
761
|
/**
|
|
761
762
|
* Align Content
|
|
@@ -769,7 +770,7 @@ const Te = (e, t) => {
|
|
|
769
770
|
* @see https://tailwindcss.com/docs/align-items
|
|
770
771
|
*/
|
|
771
772
|
"align-items": [{
|
|
772
|
-
items: [...
|
|
773
|
+
items: [...L(), {
|
|
773
774
|
baseline: ["", "last"]
|
|
774
775
|
}]
|
|
775
776
|
}],
|
|
@@ -778,7 +779,7 @@ const Te = (e, t) => {
|
|
|
778
779
|
* @see https://tailwindcss.com/docs/align-self
|
|
779
780
|
*/
|
|
780
781
|
"align-self": [{
|
|
781
|
-
self: ["auto", ...
|
|
782
|
+
self: ["auto", ...L(), {
|
|
782
783
|
baseline: ["", "last"]
|
|
783
784
|
}]
|
|
784
785
|
}],
|
|
@@ -794,14 +795,14 @@ const Te = (e, t) => {
|
|
|
794
795
|
* @see https://tailwindcss.com/docs/place-items
|
|
795
796
|
*/
|
|
796
797
|
"place-items": [{
|
|
797
|
-
"place-items": [...
|
|
798
|
+
"place-items": [...L(), "baseline"]
|
|
798
799
|
}],
|
|
799
800
|
/**
|
|
800
801
|
* Place Self
|
|
801
802
|
* @see https://tailwindcss.com/docs/place-self
|
|
802
803
|
*/
|
|
803
804
|
"place-self": [{
|
|
804
|
-
"place-self": ["auto", ...
|
|
805
|
+
"place-self": ["auto", ...L()]
|
|
805
806
|
}],
|
|
806
807
|
// Spacing
|
|
807
808
|
/**
|
|
@@ -1031,7 +1032,7 @@ const Te = (e, t) => {
|
|
|
1031
1032
|
* @see https://tailwindcss.com/docs/font-size
|
|
1032
1033
|
*/
|
|
1033
1034
|
"font-size": [{
|
|
1034
|
-
text: ["base", r,
|
|
1035
|
+
text: ["base", r, W, j]
|
|
1035
1036
|
}],
|
|
1036
1037
|
/**
|
|
1037
1038
|
* Font Smoothing
|
|
@@ -1048,21 +1049,21 @@ const Te = (e, t) => {
|
|
|
1048
1049
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1049
1050
|
*/
|
|
1050
1051
|
"font-weight": [{
|
|
1051
|
-
font: [o, n,
|
|
1052
|
+
font: [o, n, te]
|
|
1052
1053
|
}],
|
|
1053
1054
|
/**
|
|
1054
1055
|
* Font Stretch
|
|
1055
1056
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1056
1057
|
*/
|
|
1057
1058
|
"font-stretch": [{
|
|
1058
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1059
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", re, s]
|
|
1059
1060
|
}],
|
|
1060
1061
|
/**
|
|
1061
1062
|
* Font Family
|
|
1062
1063
|
* @see https://tailwindcss.com/docs/font-family
|
|
1063
1064
|
*/
|
|
1064
1065
|
"font-family": [{
|
|
1065
|
-
font: [
|
|
1066
|
+
font: [go, s, t]
|
|
1066
1067
|
}],
|
|
1067
1068
|
/**
|
|
1068
1069
|
* Font Variant Numeric
|
|
@@ -1106,7 +1107,7 @@ const Te = (e, t) => {
|
|
|
1106
1107
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1107
1108
|
*/
|
|
1108
1109
|
"line-clamp": [{
|
|
1109
|
-
"line-clamp": [p, "none", n,
|
|
1110
|
+
"line-clamp": [p, "none", n, te]
|
|
1110
1111
|
}],
|
|
1111
1112
|
/**
|
|
1112
1113
|
* Line Height
|
|
@@ -1179,7 +1180,7 @@ const Te = (e, t) => {
|
|
|
1179
1180
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1180
1181
|
*/
|
|
1181
1182
|
"text-decoration-thickness": [{
|
|
1182
|
-
decoration: [p, "from-font", "auto", n,
|
|
1183
|
+
decoration: [p, "from-font", "auto", n, j]
|
|
1183
1184
|
}],
|
|
1184
1185
|
/**
|
|
1185
1186
|
* Text Decoration Color
|
|
@@ -1290,21 +1291,21 @@ const Te = (e, t) => {
|
|
|
1290
1291
|
* @see https://tailwindcss.com/docs/background-position
|
|
1291
1292
|
*/
|
|
1292
1293
|
"bg-position": [{
|
|
1293
|
-
bg:
|
|
1294
|
+
bg: ce()
|
|
1294
1295
|
}],
|
|
1295
1296
|
/**
|
|
1296
1297
|
* Background Repeat
|
|
1297
1298
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1298
1299
|
*/
|
|
1299
1300
|
"bg-repeat": [{
|
|
1300
|
-
bg:
|
|
1301
|
+
bg: de()
|
|
1301
1302
|
}],
|
|
1302
1303
|
/**
|
|
1303
1304
|
* Background Size
|
|
1304
1305
|
* @see https://tailwindcss.com/docs/background-size
|
|
1305
1306
|
*/
|
|
1306
1307
|
"bg-size": [{
|
|
1307
|
-
bg:
|
|
1308
|
+
bg: me()
|
|
1308
1309
|
}],
|
|
1309
1310
|
/**
|
|
1310
1311
|
* Background Image
|
|
@@ -1317,7 +1318,7 @@ const Te = (e, t) => {
|
|
|
1317
1318
|
}, R, n, s],
|
|
1318
1319
|
radial: ["", n, s],
|
|
1319
1320
|
conic: [R, n, s]
|
|
1320
|
-
},
|
|
1321
|
+
}, xo, bo]
|
|
1321
1322
|
}],
|
|
1322
1323
|
/**
|
|
1323
1324
|
* Background Color
|
|
@@ -1666,7 +1667,7 @@ const Te = (e, t) => {
|
|
|
1666
1667
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1667
1668
|
*/
|
|
1668
1669
|
"outline-w": [{
|
|
1669
|
-
outline: ["", p,
|
|
1670
|
+
outline: ["", p, W, j]
|
|
1670
1671
|
}],
|
|
1671
1672
|
/**
|
|
1672
1673
|
* Outline Color
|
|
@@ -1741,7 +1742,7 @@ const Te = (e, t) => {
|
|
|
1741
1742
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1742
1743
|
*/
|
|
1743
1744
|
"ring-offset-w": [{
|
|
1744
|
-
"ring-offset": [p,
|
|
1745
|
+
"ring-offset": [p, j]
|
|
1745
1746
|
}],
|
|
1746
1747
|
/**
|
|
1747
1748
|
* Ring Offset Color
|
|
@@ -1792,14 +1793,14 @@ const Te = (e, t) => {
|
|
|
1792
1793
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1793
1794
|
*/
|
|
1794
1795
|
"mix-blend": [{
|
|
1795
|
-
"mix-blend": [...
|
|
1796
|
+
"mix-blend": [...pe(), "plus-darker", "plus-lighter"]
|
|
1796
1797
|
}],
|
|
1797
1798
|
/**
|
|
1798
1799
|
* Background Blend Mode
|
|
1799
1800
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1800
1801
|
*/
|
|
1801
1802
|
"bg-blend": [{
|
|
1802
|
-
"bg-blend":
|
|
1803
|
+
"bg-blend": pe()
|
|
1803
1804
|
}],
|
|
1804
1805
|
/**
|
|
1805
1806
|
* Mask Clip
|
|
@@ -1931,7 +1932,7 @@ const Te = (e, t) => {
|
|
|
1931
1932
|
}]
|
|
1932
1933
|
}],
|
|
1933
1934
|
"mask-image-radial-pos": [{
|
|
1934
|
-
"mask-radial-at":
|
|
1935
|
+
"mask-radial-at": N()
|
|
1935
1936
|
}],
|
|
1936
1937
|
"mask-image-conic-pos": [{
|
|
1937
1938
|
"mask-conic": [p]
|
|
@@ -1967,21 +1968,21 @@ const Te = (e, t) => {
|
|
|
1967
1968
|
* @see https://tailwindcss.com/docs/mask-position
|
|
1968
1969
|
*/
|
|
1969
1970
|
"mask-position": [{
|
|
1970
|
-
mask:
|
|
1971
|
+
mask: ce()
|
|
1971
1972
|
}],
|
|
1972
1973
|
/**
|
|
1973
1974
|
* Mask Repeat
|
|
1974
1975
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
1975
1976
|
*/
|
|
1976
1977
|
"mask-repeat": [{
|
|
1977
|
-
mask:
|
|
1978
|
+
mask: de()
|
|
1978
1979
|
}],
|
|
1979
1980
|
/**
|
|
1980
1981
|
* Mask Size
|
|
1981
1982
|
* @see https://tailwindcss.com/docs/mask-size
|
|
1982
1983
|
*/
|
|
1983
1984
|
"mask-size": [{
|
|
1984
|
-
mask:
|
|
1985
|
+
mask: me()
|
|
1985
1986
|
}],
|
|
1986
1987
|
/**
|
|
1987
1988
|
* Mask Type
|
|
@@ -2018,7 +2019,7 @@ const Te = (e, t) => {
|
|
|
2018
2019
|
* @see https://tailwindcss.com/docs/blur
|
|
2019
2020
|
*/
|
|
2020
2021
|
blur: [{
|
|
2021
|
-
blur:
|
|
2022
|
+
blur: ue()
|
|
2022
2023
|
}],
|
|
2023
2024
|
/**
|
|
2024
2025
|
* Brightness
|
|
@@ -2108,7 +2109,7 @@ const Te = (e, t) => {
|
|
|
2108
2109
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2109
2110
|
*/
|
|
2110
2111
|
"backdrop-blur": [{
|
|
2111
|
-
"backdrop-blur":
|
|
2112
|
+
"backdrop-blur": ue()
|
|
2112
2113
|
}],
|
|
2113
2114
|
/**
|
|
2114
2115
|
* Backdrop Brightness
|
|
@@ -2278,7 +2279,7 @@ const Te = (e, t) => {
|
|
|
2278
2279
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2279
2280
|
*/
|
|
2280
2281
|
"perspective-origin": [{
|
|
2281
|
-
"perspective-origin":
|
|
2282
|
+
"perspective-origin": O()
|
|
2282
2283
|
}],
|
|
2283
2284
|
/**
|
|
2284
2285
|
* Rotate
|
|
@@ -2374,7 +2375,7 @@ const Te = (e, t) => {
|
|
|
2374
2375
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2375
2376
|
*/
|
|
2376
2377
|
"transform-origin": [{
|
|
2377
|
-
origin:
|
|
2378
|
+
origin: O()
|
|
2378
2379
|
}],
|
|
2379
2380
|
/**
|
|
2380
2381
|
* Transform Style
|
|
@@ -2691,7 +2692,7 @@ const Te = (e, t) => {
|
|
|
2691
2692
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2692
2693
|
*/
|
|
2693
2694
|
"stroke-w": [{
|
|
2694
|
-
stroke: [p,
|
|
2695
|
+
stroke: [p, W, j, te]
|
|
2695
2696
|
}],
|
|
2696
2697
|
/**
|
|
2697
2698
|
* Stroke
|
|
@@ -2766,11 +2767,27 @@ const Te = (e, t) => {
|
|
|
2766
2767
|
},
|
|
2767
2768
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
2768
2769
|
};
|
|
2769
|
-
},
|
|
2770
|
-
function
|
|
2771
|
-
return
|
|
2770
|
+
}, vo = /* @__PURE__ */ eo(yo);
|
|
2771
|
+
function Co(...e) {
|
|
2772
|
+
return vo(je(e));
|
|
2773
|
+
}
|
|
2774
|
+
function Ao({ title: e, description: t, icon: r, className: o, button: i, textarea: d, ...a }) {
|
|
2775
|
+
const u = {
|
|
2776
|
+
// Como eu sei que é essa forma de escrita da variavel?
|
|
2777
|
+
sm: "text-sm",
|
|
2778
|
+
md: "font-medium"
|
|
2779
|
+
};
|
|
2780
|
+
return /* @__PURE__ */ fe("div", { className: "flex-col", children: [
|
|
2781
|
+
(e || a.header) && // faz o if se tem header ou o titulo, pois a depender vai ser header(maior) ou title(menor).
|
|
2782
|
+
/* @__PURE__ */ fe("div", { className: "flex-row", children: [
|
|
2783
|
+
e && /* @__PURE__ */ oe("h2", { className: u.md, children: e }),
|
|
2784
|
+
a.header && /* @__PURE__ */ oe("h4", { className: u.sm, children: a.header })
|
|
2785
|
+
] }),
|
|
2786
|
+
r && /* @__PURE__ */ oe("div", { className: o, children: r })
|
|
2787
|
+
] });
|
|
2772
2788
|
}
|
|
2773
2789
|
export {
|
|
2774
|
-
|
|
2790
|
+
Ao as ContentBlock,
|
|
2791
|
+
Co as cn
|
|
2775
2792
|
};
|
|
2776
2793
|
//# sourceMappingURL=index.js.map
|