banhaten-ui 0.0.11 → 0.0.12

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.js ADDED
@@ -0,0 +1,4526 @@
1
+ import { jsxs as y, jsx as t, Fragment as O } from "react/jsx-runtime";
2
+ import { forwardRef as q, useState as Ge } from "react";
3
+ import { Loader2 as Ye, Plus as ve, Check as Le, Minus as Ke, Circle as Je, Info as Oe, AlertTriangle as Qe, CheckCircle as Ze, AlertCircle as et, X as tt, ChevronUp as rt, ChevronDown as ot, Copy as nt } from "lucide-react";
4
+ import { FaXTwitter as st, FaGoogle as at, FaWhatsapp as lt, FaApple as it, FaLinkedin as ct, FaFacebook as dt } from "react-icons/fa6";
5
+ function Me(e) {
6
+ var n, r, o = "";
7
+ if (typeof e == "string" || typeof e == "number") o += e;
8
+ else if (typeof e == "object") if (Array.isArray(e)) {
9
+ var i = e.length;
10
+ for (n = 0; n < i; n++) e[n] && (r = Me(e[n])) && (o && (o += " "), o += r);
11
+ } else for (r in e) e[r] && (o && (o += " "), o += r);
12
+ return o;
13
+ }
14
+ function te() {
15
+ for (var e, n, r = 0, o = "", i = arguments.length; r < i; r++) (e = arguments[r]) && (n = Me(e)) && (o && (o += " "), o += n);
16
+ return o;
17
+ }
18
+ const ut = (e, n) => {
19
+ const r = new Array(e.length + n.length);
20
+ for (let o = 0; o < e.length; o++)
21
+ r[o] = e[o];
22
+ for (let o = 0; o < n.length; o++)
23
+ r[e.length + o] = n[o];
24
+ return r;
25
+ }, pt = (e, n) => ({
26
+ classGroupId: e,
27
+ validator: n
28
+ }), Pe = (e = /* @__PURE__ */ new Map(), n = null, r) => ({
29
+ nextPart: e,
30
+ validators: n,
31
+ classGroupId: r
32
+ }), he = "-", Se = [], mt = "arbitrary..", bt = (e) => {
33
+ const n = gt(e), {
34
+ conflictingClassGroups: r,
35
+ conflictingClassGroupModifiers: o
36
+ } = e;
37
+ return {
38
+ getClassGroupId: (l) => {
39
+ if (l.startsWith("[") && l.endsWith("]"))
40
+ return ht(l);
41
+ const d = l.split(he), s = d[0] === "" && d.length > 1 ? 1 : 0;
42
+ return Fe(d, s, n);
43
+ },
44
+ getConflictingClassGroupIds: (l, d) => {
45
+ if (d) {
46
+ const s = o[l], c = r[l];
47
+ return s ? c ? ut(c, s) : s : c || Se;
48
+ }
49
+ return r[l] || Se;
50
+ }
51
+ };
52
+ }, Fe = (e, n, r) => {
53
+ if (e.length - n === 0)
54
+ return r.classGroupId;
55
+ const i = e[n], a = r.nextPart.get(i);
56
+ if (a) {
57
+ const c = Fe(e, n + 1, a);
58
+ if (c) return c;
59
+ }
60
+ const l = r.validators;
61
+ if (l === null)
62
+ return;
63
+ const d = n === 0 ? e.join(he) : e.slice(n).join(he), s = l.length;
64
+ for (let c = 0; c < s; c++) {
65
+ const g = l[c];
66
+ if (g.validator(d))
67
+ return g.classGroupId;
68
+ }
69
+ }, ht = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
70
+ const n = e.slice(1, -1), r = n.indexOf(":"), o = n.slice(0, r);
71
+ return o ? mt + o : void 0;
72
+ })(), gt = (e) => {
73
+ const {
74
+ theme: n,
75
+ classGroups: r
76
+ } = e;
77
+ return ft(r, n);
78
+ }, ft = (e, n) => {
79
+ const r = Pe();
80
+ for (const o in e) {
81
+ const i = e[o];
82
+ ke(i, r, o, n);
83
+ }
84
+ return r;
85
+ }, ke = (e, n, r, o) => {
86
+ const i = e.length;
87
+ for (let a = 0; a < i; a++) {
88
+ const l = e[a];
89
+ xt(l, n, r, o);
90
+ }
91
+ }, xt = (e, n, r, o) => {
92
+ if (typeof e == "string") {
93
+ wt(e, n, r);
94
+ return;
95
+ }
96
+ if (typeof e == "function") {
97
+ vt(e, n, r, o);
98
+ return;
99
+ }
100
+ yt(e, n, r, o);
101
+ }, wt = (e, n, r) => {
102
+ const o = e === "" ? n : Be(n, e);
103
+ o.classGroupId = r;
104
+ }, vt = (e, n, r, o) => {
105
+ if (kt(e)) {
106
+ ke(e(o), n, r, o);
107
+ return;
108
+ }
109
+ n.validators === null && (n.validators = []), n.validators.push(pt(r, e));
110
+ }, yt = (e, n, r, o) => {
111
+ const i = Object.entries(e), a = i.length;
112
+ for (let l = 0; l < a; l++) {
113
+ const [d, s] = i[l];
114
+ ke(s, Be(n, d), r, o);
115
+ }
116
+ }, Be = (e, n) => {
117
+ let r = e;
118
+ const o = n.split(he), i = o.length;
119
+ for (let a = 0; a < i; a++) {
120
+ const l = o[a];
121
+ let d = r.nextPart.get(l);
122
+ d || (d = Pe(), r.nextPart.set(l, d)), r = d;
123
+ }
124
+ return r;
125
+ }, kt = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Ct = (e) => {
126
+ if (e < 1)
127
+ return {
128
+ get: () => {
129
+ },
130
+ set: () => {
131
+ }
132
+ };
133
+ let n = 0, r = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
134
+ const i = (a, l) => {
135
+ r[a] = l, n++, n > e && (n = 0, o = r, r = /* @__PURE__ */ Object.create(null));
136
+ };
137
+ return {
138
+ get(a) {
139
+ let l = r[a];
140
+ if (l !== void 0)
141
+ return l;
142
+ if ((l = o[a]) !== void 0)
143
+ return i(a, l), l;
144
+ },
145
+ set(a, l) {
146
+ a in r ? r[a] = l : i(a, l);
147
+ }
148
+ };
149
+ }, ye = "!", Ae = ":", Nt = [], _e = (e, n, r, o, i) => ({
150
+ modifiers: e,
151
+ hasImportantModifier: n,
152
+ baseClassName: r,
153
+ maybePostfixModifierPosition: o,
154
+ isExternal: i
155
+ }), zt = (e) => {
156
+ const {
157
+ prefix: n,
158
+ experimentalParseClassName: r
159
+ } = e;
160
+ let o = (i) => {
161
+ const a = [];
162
+ let l = 0, d = 0, s = 0, c;
163
+ const g = i.length;
164
+ for (let C = 0; C < g; C++) {
165
+ const v = i[C];
166
+ if (l === 0 && d === 0) {
167
+ if (v === Ae) {
168
+ a.push(i.slice(s, C)), s = C + 1;
169
+ continue;
170
+ }
171
+ if (v === "/") {
172
+ c = C;
173
+ continue;
174
+ }
175
+ }
176
+ v === "[" ? l++ : v === "]" ? l-- : v === "(" ? d++ : v === ")" && d--;
177
+ }
178
+ const w = a.length === 0 ? i : i.slice(s);
179
+ let h = w, N = !1;
180
+ w.endsWith(ye) ? (h = w.slice(0, -1), N = !0) : (
181
+ /**
182
+ * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
183
+ * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
184
+ */
185
+ w.startsWith(ye) && (h = w.slice(1), N = !0)
186
+ );
187
+ const A = c && c > s ? c - s : void 0;
188
+ return _e(a, N, h, A);
189
+ };
190
+ if (n) {
191
+ const i = n + Ae, a = o;
192
+ o = (l) => l.startsWith(i) ? a(l.slice(i.length)) : _e(Nt, !1, l, void 0, !0);
193
+ }
194
+ if (r) {
195
+ const i = o;
196
+ o = (a) => r({
197
+ className: a,
198
+ parseClassName: i
199
+ });
200
+ }
201
+ return o;
202
+ }, St = (e) => {
203
+ const n = /* @__PURE__ */ new Map();
204
+ return e.orderSensitiveModifiers.forEach((r, o) => {
205
+ n.set(r, 1e6 + o);
206
+ }), (r) => {
207
+ const o = [];
208
+ let i = [];
209
+ for (let a = 0; a < r.length; a++) {
210
+ const l = r[a], d = l[0] === "[", s = n.has(l);
211
+ d || s ? (i.length > 0 && (i.sort(), o.push(...i), i = []), o.push(l)) : i.push(l);
212
+ }
213
+ return i.length > 0 && (i.sort(), o.push(...i)), o;
214
+ };
215
+ }, At = (e) => ({
216
+ cache: Ct(e.cacheSize),
217
+ parseClassName: zt(e),
218
+ sortModifiers: St(e),
219
+ ...bt(e)
220
+ }), _t = /\s+/, It = (e, n) => {
221
+ const {
222
+ parseClassName: r,
223
+ getClassGroupId: o,
224
+ getConflictingClassGroupIds: i,
225
+ sortModifiers: a
226
+ } = n, l = [], d = e.trim().split(_t);
227
+ let s = "";
228
+ for (let c = d.length - 1; c >= 0; c -= 1) {
229
+ const g = d[c], {
230
+ isExternal: w,
231
+ modifiers: h,
232
+ hasImportantModifier: N,
233
+ baseClassName: A,
234
+ maybePostfixModifierPosition: C
235
+ } = r(g);
236
+ if (w) {
237
+ s = g + (s.length > 0 ? " " + s : s);
238
+ continue;
239
+ }
240
+ let v = !!C, I = o(v ? A.substring(0, C) : A);
241
+ if (!I) {
242
+ if (!v) {
243
+ s = g + (s.length > 0 ? " " + s : s);
244
+ continue;
245
+ }
246
+ if (I = o(A), !I) {
247
+ s = g + (s.length > 0 ? " " + s : s);
248
+ continue;
249
+ }
250
+ v = !1;
251
+ }
252
+ const j = h.length === 0 ? "" : h.length === 1 ? h[0] : a(h).join(":"), M = N ? j + ye : j, x = M + I;
253
+ if (l.indexOf(x) > -1)
254
+ continue;
255
+ l.push(x);
256
+ const F = i(I, v);
257
+ for (let k = 0; k < F.length; ++k) {
258
+ const z = F[k];
259
+ l.push(M + z);
260
+ }
261
+ s = g + (s.length > 0 ? " " + s : s);
262
+ }
263
+ return s;
264
+ }, Rt = (...e) => {
265
+ let n = 0, r, o, i = "";
266
+ for (; n < e.length; )
267
+ (r = e[n++]) && (o = Ee(r)) && (i && (i += " "), i += o);
268
+ return i;
269
+ }, Ee = (e) => {
270
+ if (typeof e == "string")
271
+ return e;
272
+ let n, r = "";
273
+ for (let o = 0; o < e.length; o++)
274
+ e[o] && (n = Ee(e[o])) && (r && (r += " "), r += n);
275
+ return r;
276
+ }, jt = (e, ...n) => {
277
+ let r, o, i, a;
278
+ const l = (s) => {
279
+ const c = n.reduce((g, w) => w(g), e());
280
+ return r = At(c), o = r.cache.get, i = r.cache.set, a = d, d(s);
281
+ }, d = (s) => {
282
+ const c = o(s);
283
+ if (c)
284
+ return c;
285
+ const g = It(s, r);
286
+ return i(s, g), g;
287
+ };
288
+ return a = l, (...s) => a(Rt(...s));
289
+ }, Gt = [], L = (e) => {
290
+ const n = (r) => r[e] || Gt;
291
+ return n.isThemeGetter = !0, n;
292
+ }, De = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Te = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Lt = /^\d+\/\d+$/, Ot = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Mt = /\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$/, Pt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ft = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Bt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ee = (e) => Lt.test(e), S = (e) => !!e && !Number.isNaN(Number(e)), K = (e) => !!e && Number.isInteger(Number(e)), xe = (e) => e.endsWith("%") && S(e.slice(0, -1)), Y = (e) => Ot.test(e), Et = () => !0, Dt = (e) => (
293
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
294
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
295
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
296
+ Mt.test(e) && !Pt.test(e)
297
+ ), $e = () => !1, Tt = (e) => Ft.test(e), $t = (e) => Bt.test(e), Wt = (e) => !u(e) && !p(e), Vt = (e) => re(e, Ue, $e), u = (e) => De.test(e), Z = (e) => re(e, Xe, Dt), we = (e) => re(e, Yt, S), Ie = (e) => re(e, We, $e), Ut = (e) => re(e, Ve, $t), ue = (e) => re(e, qe, Tt), p = (e) => Te.test(e), se = (e) => oe(e, Xe), Xt = (e) => oe(e, Kt), Re = (e) => oe(e, We), qt = (e) => oe(e, Ue), Ht = (e) => oe(e, Ve), pe = (e) => oe(e, qe, !0), re = (e, n, r) => {
298
+ const o = De.exec(e);
299
+ return o ? o[1] ? n(o[1]) : r(o[2]) : !1;
300
+ }, oe = (e, n, r = !1) => {
301
+ const o = Te.exec(e);
302
+ return o ? o[1] ? n(o[1]) : r : !1;
303
+ }, We = (e) => e === "position" || e === "percentage", Ve = (e) => e === "image" || e === "url", Ue = (e) => e === "length" || e === "size" || e === "bg-size", Xe = (e) => e === "length", Yt = (e) => e === "number", Kt = (e) => e === "family-name", qe = (e) => e === "shadow", Jt = () => {
304
+ const e = L("color"), n = L("font"), r = L("text"), o = L("font-weight"), i = L("tracking"), a = L("leading"), l = L("breakpoint"), d = L("container"), s = L("spacing"), c = L("radius"), g = L("shadow"), w = L("inset-shadow"), h = L("text-shadow"), N = L("drop-shadow"), A = L("blur"), C = L("perspective"), v = L("aspect"), I = L("ease"), j = L("animate"), M = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], x = () => [
305
+ "center",
306
+ "top",
307
+ "bottom",
308
+ "left",
309
+ "right",
310
+ "top-left",
311
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
312
+ "left-top",
313
+ "top-right",
314
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
315
+ "right-top",
316
+ "bottom-right",
317
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
318
+ "right-bottom",
319
+ "bottom-left",
320
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
321
+ "left-bottom"
322
+ ], F = () => [...x(), p, u], k = () => ["auto", "hidden", "clip", "visible", "scroll"], z = () => ["auto", "contain", "none"], b = () => [p, u, s], _ = () => [ee, "full", "auto", ...b()], U = () => [K, "none", "subgrid", p, u], T = () => ["auto", {
323
+ span: ["full", K, p, u]
324
+ }, K, p, u], $ = () => [K, "auto", p, u], R = () => ["auto", "min", "max", "fr", p, u], B = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], G = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], E = () => ["auto", ...b()], X = () => [ee, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...b()], f = () => [e, p, u], ae = () => [...x(), Re, Ie, {
325
+ position: [p, u]
326
+ }], Q = () => ["no-repeat", {
327
+ repeat: ["", "x", "y", "space", "round"]
328
+ }], Ce = () => ["auto", "cover", "contain", qt, Vt, {
329
+ size: [p, u]
330
+ }], ge = () => [xe, se, Z], D = () => [
331
+ // Deprecated since Tailwind CSS v4.0.0
332
+ "",
333
+ "none",
334
+ "full",
335
+ c,
336
+ p,
337
+ u
338
+ ], W = () => ["", S, se, Z], le = () => ["solid", "dashed", "dotted", "double"], Ne = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], P = () => [S, xe, Re, Ie], ze = () => [
339
+ // Deprecated since Tailwind CSS v4.0.0
340
+ "",
341
+ "none",
342
+ A,
343
+ p,
344
+ u
345
+ ], ie = () => ["none", S, p, u], ce = () => ["none", S, p, u], fe = () => [S, p, u], de = () => [ee, "full", ...b()];
346
+ return {
347
+ cacheSize: 500,
348
+ theme: {
349
+ animate: ["spin", "ping", "pulse", "bounce"],
350
+ aspect: ["video"],
351
+ blur: [Y],
352
+ breakpoint: [Y],
353
+ color: [Et],
354
+ container: [Y],
355
+ "drop-shadow": [Y],
356
+ ease: ["in", "out", "in-out"],
357
+ font: [Wt],
358
+ "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
359
+ "inset-shadow": [Y],
360
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
361
+ perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
362
+ radius: [Y],
363
+ shadow: [Y],
364
+ spacing: ["px", S],
365
+ text: [Y],
366
+ "text-shadow": [Y],
367
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
368
+ },
369
+ classGroups: {
370
+ // --------------
371
+ // --- Layout ---
372
+ // --------------
373
+ /**
374
+ * Aspect Ratio
375
+ * @see https://tailwindcss.com/docs/aspect-ratio
376
+ */
377
+ aspect: [{
378
+ aspect: ["auto", "square", ee, u, p, v]
379
+ }],
380
+ /**
381
+ * Container
382
+ * @see https://tailwindcss.com/docs/container
383
+ * @deprecated since Tailwind CSS v4.0.0
384
+ */
385
+ container: ["container"],
386
+ /**
387
+ * Columns
388
+ * @see https://tailwindcss.com/docs/columns
389
+ */
390
+ columns: [{
391
+ columns: [S, u, p, d]
392
+ }],
393
+ /**
394
+ * Break After
395
+ * @see https://tailwindcss.com/docs/break-after
396
+ */
397
+ "break-after": [{
398
+ "break-after": M()
399
+ }],
400
+ /**
401
+ * Break Before
402
+ * @see https://tailwindcss.com/docs/break-before
403
+ */
404
+ "break-before": [{
405
+ "break-before": M()
406
+ }],
407
+ /**
408
+ * Break Inside
409
+ * @see https://tailwindcss.com/docs/break-inside
410
+ */
411
+ "break-inside": [{
412
+ "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
413
+ }],
414
+ /**
415
+ * Box Decoration Break
416
+ * @see https://tailwindcss.com/docs/box-decoration-break
417
+ */
418
+ "box-decoration": [{
419
+ "box-decoration": ["slice", "clone"]
420
+ }],
421
+ /**
422
+ * Box Sizing
423
+ * @see https://tailwindcss.com/docs/box-sizing
424
+ */
425
+ box: [{
426
+ box: ["border", "content"]
427
+ }],
428
+ /**
429
+ * Display
430
+ * @see https://tailwindcss.com/docs/display
431
+ */
432
+ display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
433
+ /**
434
+ * Screen Reader Only
435
+ * @see https://tailwindcss.com/docs/display#screen-reader-only
436
+ */
437
+ sr: ["sr-only", "not-sr-only"],
438
+ /**
439
+ * Floats
440
+ * @see https://tailwindcss.com/docs/float
441
+ */
442
+ float: [{
443
+ float: ["right", "left", "none", "start", "end"]
444
+ }],
445
+ /**
446
+ * Clear
447
+ * @see https://tailwindcss.com/docs/clear
448
+ */
449
+ clear: [{
450
+ clear: ["left", "right", "both", "none", "start", "end"]
451
+ }],
452
+ /**
453
+ * Isolation
454
+ * @see https://tailwindcss.com/docs/isolation
455
+ */
456
+ isolation: ["isolate", "isolation-auto"],
457
+ /**
458
+ * Object Fit
459
+ * @see https://tailwindcss.com/docs/object-fit
460
+ */
461
+ "object-fit": [{
462
+ object: ["contain", "cover", "fill", "none", "scale-down"]
463
+ }],
464
+ /**
465
+ * Object Position
466
+ * @see https://tailwindcss.com/docs/object-position
467
+ */
468
+ "object-position": [{
469
+ object: F()
470
+ }],
471
+ /**
472
+ * Overflow
473
+ * @see https://tailwindcss.com/docs/overflow
474
+ */
475
+ overflow: [{
476
+ overflow: k()
477
+ }],
478
+ /**
479
+ * Overflow X
480
+ * @see https://tailwindcss.com/docs/overflow
481
+ */
482
+ "overflow-x": [{
483
+ "overflow-x": k()
484
+ }],
485
+ /**
486
+ * Overflow Y
487
+ * @see https://tailwindcss.com/docs/overflow
488
+ */
489
+ "overflow-y": [{
490
+ "overflow-y": k()
491
+ }],
492
+ /**
493
+ * Overscroll Behavior
494
+ * @see https://tailwindcss.com/docs/overscroll-behavior
495
+ */
496
+ overscroll: [{
497
+ overscroll: z()
498
+ }],
499
+ /**
500
+ * Overscroll Behavior X
501
+ * @see https://tailwindcss.com/docs/overscroll-behavior
502
+ */
503
+ "overscroll-x": [{
504
+ "overscroll-x": z()
505
+ }],
506
+ /**
507
+ * Overscroll Behavior Y
508
+ * @see https://tailwindcss.com/docs/overscroll-behavior
509
+ */
510
+ "overscroll-y": [{
511
+ "overscroll-y": z()
512
+ }],
513
+ /**
514
+ * Position
515
+ * @see https://tailwindcss.com/docs/position
516
+ */
517
+ position: ["static", "fixed", "absolute", "relative", "sticky"],
518
+ /**
519
+ * Top / Right / Bottom / Left
520
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
521
+ */
522
+ inset: [{
523
+ inset: _()
524
+ }],
525
+ /**
526
+ * Right / Left
527
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
528
+ */
529
+ "inset-x": [{
530
+ "inset-x": _()
531
+ }],
532
+ /**
533
+ * Top / Bottom
534
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
535
+ */
536
+ "inset-y": [{
537
+ "inset-y": _()
538
+ }],
539
+ /**
540
+ * Start
541
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
542
+ */
543
+ start: [{
544
+ start: _()
545
+ }],
546
+ /**
547
+ * End
548
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
549
+ */
550
+ end: [{
551
+ end: _()
552
+ }],
553
+ /**
554
+ * Top
555
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
556
+ */
557
+ top: [{
558
+ top: _()
559
+ }],
560
+ /**
561
+ * Right
562
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
563
+ */
564
+ right: [{
565
+ right: _()
566
+ }],
567
+ /**
568
+ * Bottom
569
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
570
+ */
571
+ bottom: [{
572
+ bottom: _()
573
+ }],
574
+ /**
575
+ * Left
576
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
577
+ */
578
+ left: [{
579
+ left: _()
580
+ }],
581
+ /**
582
+ * Visibility
583
+ * @see https://tailwindcss.com/docs/visibility
584
+ */
585
+ visibility: ["visible", "invisible", "collapse"],
586
+ /**
587
+ * Z-Index
588
+ * @see https://tailwindcss.com/docs/z-index
589
+ */
590
+ z: [{
591
+ z: [K, "auto", p, u]
592
+ }],
593
+ // ------------------------
594
+ // --- Flexbox and Grid ---
595
+ // ------------------------
596
+ /**
597
+ * Flex Basis
598
+ * @see https://tailwindcss.com/docs/flex-basis
599
+ */
600
+ basis: [{
601
+ basis: [ee, "full", "auto", d, ...b()]
602
+ }],
603
+ /**
604
+ * Flex Direction
605
+ * @see https://tailwindcss.com/docs/flex-direction
606
+ */
607
+ "flex-direction": [{
608
+ flex: ["row", "row-reverse", "col", "col-reverse"]
609
+ }],
610
+ /**
611
+ * Flex Wrap
612
+ * @see https://tailwindcss.com/docs/flex-wrap
613
+ */
614
+ "flex-wrap": [{
615
+ flex: ["nowrap", "wrap", "wrap-reverse"]
616
+ }],
617
+ /**
618
+ * Flex
619
+ * @see https://tailwindcss.com/docs/flex
620
+ */
621
+ flex: [{
622
+ flex: [S, ee, "auto", "initial", "none", u]
623
+ }],
624
+ /**
625
+ * Flex Grow
626
+ * @see https://tailwindcss.com/docs/flex-grow
627
+ */
628
+ grow: [{
629
+ grow: ["", S, p, u]
630
+ }],
631
+ /**
632
+ * Flex Shrink
633
+ * @see https://tailwindcss.com/docs/flex-shrink
634
+ */
635
+ shrink: [{
636
+ shrink: ["", S, p, u]
637
+ }],
638
+ /**
639
+ * Order
640
+ * @see https://tailwindcss.com/docs/order
641
+ */
642
+ order: [{
643
+ order: [K, "first", "last", "none", p, u]
644
+ }],
645
+ /**
646
+ * Grid Template Columns
647
+ * @see https://tailwindcss.com/docs/grid-template-columns
648
+ */
649
+ "grid-cols": [{
650
+ "grid-cols": U()
651
+ }],
652
+ /**
653
+ * Grid Column Start / End
654
+ * @see https://tailwindcss.com/docs/grid-column
655
+ */
656
+ "col-start-end": [{
657
+ col: T()
658
+ }],
659
+ /**
660
+ * Grid Column Start
661
+ * @see https://tailwindcss.com/docs/grid-column
662
+ */
663
+ "col-start": [{
664
+ "col-start": $()
665
+ }],
666
+ /**
667
+ * Grid Column End
668
+ * @see https://tailwindcss.com/docs/grid-column
669
+ */
670
+ "col-end": [{
671
+ "col-end": $()
672
+ }],
673
+ /**
674
+ * Grid Template Rows
675
+ * @see https://tailwindcss.com/docs/grid-template-rows
676
+ */
677
+ "grid-rows": [{
678
+ "grid-rows": U()
679
+ }],
680
+ /**
681
+ * Grid Row Start / End
682
+ * @see https://tailwindcss.com/docs/grid-row
683
+ */
684
+ "row-start-end": [{
685
+ row: T()
686
+ }],
687
+ /**
688
+ * Grid Row Start
689
+ * @see https://tailwindcss.com/docs/grid-row
690
+ */
691
+ "row-start": [{
692
+ "row-start": $()
693
+ }],
694
+ /**
695
+ * Grid Row End
696
+ * @see https://tailwindcss.com/docs/grid-row
697
+ */
698
+ "row-end": [{
699
+ "row-end": $()
700
+ }],
701
+ /**
702
+ * Grid Auto Flow
703
+ * @see https://tailwindcss.com/docs/grid-auto-flow
704
+ */
705
+ "grid-flow": [{
706
+ "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
707
+ }],
708
+ /**
709
+ * Grid Auto Columns
710
+ * @see https://tailwindcss.com/docs/grid-auto-columns
711
+ */
712
+ "auto-cols": [{
713
+ "auto-cols": R()
714
+ }],
715
+ /**
716
+ * Grid Auto Rows
717
+ * @see https://tailwindcss.com/docs/grid-auto-rows
718
+ */
719
+ "auto-rows": [{
720
+ "auto-rows": R()
721
+ }],
722
+ /**
723
+ * Gap
724
+ * @see https://tailwindcss.com/docs/gap
725
+ */
726
+ gap: [{
727
+ gap: b()
728
+ }],
729
+ /**
730
+ * Gap X
731
+ * @see https://tailwindcss.com/docs/gap
732
+ */
733
+ "gap-x": [{
734
+ "gap-x": b()
735
+ }],
736
+ /**
737
+ * Gap Y
738
+ * @see https://tailwindcss.com/docs/gap
739
+ */
740
+ "gap-y": [{
741
+ "gap-y": b()
742
+ }],
743
+ /**
744
+ * Justify Content
745
+ * @see https://tailwindcss.com/docs/justify-content
746
+ */
747
+ "justify-content": [{
748
+ justify: [...B(), "normal"]
749
+ }],
750
+ /**
751
+ * Justify Items
752
+ * @see https://tailwindcss.com/docs/justify-items
753
+ */
754
+ "justify-items": [{
755
+ "justify-items": [...G(), "normal"]
756
+ }],
757
+ /**
758
+ * Justify Self
759
+ * @see https://tailwindcss.com/docs/justify-self
760
+ */
761
+ "justify-self": [{
762
+ "justify-self": ["auto", ...G()]
763
+ }],
764
+ /**
765
+ * Align Content
766
+ * @see https://tailwindcss.com/docs/align-content
767
+ */
768
+ "align-content": [{
769
+ content: ["normal", ...B()]
770
+ }],
771
+ /**
772
+ * Align Items
773
+ * @see https://tailwindcss.com/docs/align-items
774
+ */
775
+ "align-items": [{
776
+ items: [...G(), {
777
+ baseline: ["", "last"]
778
+ }]
779
+ }],
780
+ /**
781
+ * Align Self
782
+ * @see https://tailwindcss.com/docs/align-self
783
+ */
784
+ "align-self": [{
785
+ self: ["auto", ...G(), {
786
+ baseline: ["", "last"]
787
+ }]
788
+ }],
789
+ /**
790
+ * Place Content
791
+ * @see https://tailwindcss.com/docs/place-content
792
+ */
793
+ "place-content": [{
794
+ "place-content": B()
795
+ }],
796
+ /**
797
+ * Place Items
798
+ * @see https://tailwindcss.com/docs/place-items
799
+ */
800
+ "place-items": [{
801
+ "place-items": [...G(), "baseline"]
802
+ }],
803
+ /**
804
+ * Place Self
805
+ * @see https://tailwindcss.com/docs/place-self
806
+ */
807
+ "place-self": [{
808
+ "place-self": ["auto", ...G()]
809
+ }],
810
+ // Spacing
811
+ /**
812
+ * Padding
813
+ * @see https://tailwindcss.com/docs/padding
814
+ */
815
+ p: [{
816
+ p: b()
817
+ }],
818
+ /**
819
+ * Padding X
820
+ * @see https://tailwindcss.com/docs/padding
821
+ */
822
+ px: [{
823
+ px: b()
824
+ }],
825
+ /**
826
+ * Padding Y
827
+ * @see https://tailwindcss.com/docs/padding
828
+ */
829
+ py: [{
830
+ py: b()
831
+ }],
832
+ /**
833
+ * Padding Start
834
+ * @see https://tailwindcss.com/docs/padding
835
+ */
836
+ ps: [{
837
+ ps: b()
838
+ }],
839
+ /**
840
+ * Padding End
841
+ * @see https://tailwindcss.com/docs/padding
842
+ */
843
+ pe: [{
844
+ pe: b()
845
+ }],
846
+ /**
847
+ * Padding Top
848
+ * @see https://tailwindcss.com/docs/padding
849
+ */
850
+ pt: [{
851
+ pt: b()
852
+ }],
853
+ /**
854
+ * Padding Right
855
+ * @see https://tailwindcss.com/docs/padding
856
+ */
857
+ pr: [{
858
+ pr: b()
859
+ }],
860
+ /**
861
+ * Padding Bottom
862
+ * @see https://tailwindcss.com/docs/padding
863
+ */
864
+ pb: [{
865
+ pb: b()
866
+ }],
867
+ /**
868
+ * Padding Left
869
+ * @see https://tailwindcss.com/docs/padding
870
+ */
871
+ pl: [{
872
+ pl: b()
873
+ }],
874
+ /**
875
+ * Margin
876
+ * @see https://tailwindcss.com/docs/margin
877
+ */
878
+ m: [{
879
+ m: E()
880
+ }],
881
+ /**
882
+ * Margin X
883
+ * @see https://tailwindcss.com/docs/margin
884
+ */
885
+ mx: [{
886
+ mx: E()
887
+ }],
888
+ /**
889
+ * Margin Y
890
+ * @see https://tailwindcss.com/docs/margin
891
+ */
892
+ my: [{
893
+ my: E()
894
+ }],
895
+ /**
896
+ * Margin Start
897
+ * @see https://tailwindcss.com/docs/margin
898
+ */
899
+ ms: [{
900
+ ms: E()
901
+ }],
902
+ /**
903
+ * Margin End
904
+ * @see https://tailwindcss.com/docs/margin
905
+ */
906
+ me: [{
907
+ me: E()
908
+ }],
909
+ /**
910
+ * Margin Top
911
+ * @see https://tailwindcss.com/docs/margin
912
+ */
913
+ mt: [{
914
+ mt: E()
915
+ }],
916
+ /**
917
+ * Margin Right
918
+ * @see https://tailwindcss.com/docs/margin
919
+ */
920
+ mr: [{
921
+ mr: E()
922
+ }],
923
+ /**
924
+ * Margin Bottom
925
+ * @see https://tailwindcss.com/docs/margin
926
+ */
927
+ mb: [{
928
+ mb: E()
929
+ }],
930
+ /**
931
+ * Margin Left
932
+ * @see https://tailwindcss.com/docs/margin
933
+ */
934
+ ml: [{
935
+ ml: E()
936
+ }],
937
+ /**
938
+ * Space Between X
939
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
940
+ */
941
+ "space-x": [{
942
+ "space-x": b()
943
+ }],
944
+ /**
945
+ * Space Between X Reverse
946
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
947
+ */
948
+ "space-x-reverse": ["space-x-reverse"],
949
+ /**
950
+ * Space Between Y
951
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
952
+ */
953
+ "space-y": [{
954
+ "space-y": b()
955
+ }],
956
+ /**
957
+ * Space Between Y Reverse
958
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
959
+ */
960
+ "space-y-reverse": ["space-y-reverse"],
961
+ // --------------
962
+ // --- Sizing ---
963
+ // --------------
964
+ /**
965
+ * Size
966
+ * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
967
+ */
968
+ size: [{
969
+ size: X()
970
+ }],
971
+ /**
972
+ * Width
973
+ * @see https://tailwindcss.com/docs/width
974
+ */
975
+ w: [{
976
+ w: [d, "screen", ...X()]
977
+ }],
978
+ /**
979
+ * Min-Width
980
+ * @see https://tailwindcss.com/docs/min-width
981
+ */
982
+ "min-w": [{
983
+ "min-w": [
984
+ d,
985
+ "screen",
986
+ /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
987
+ "none",
988
+ ...X()
989
+ ]
990
+ }],
991
+ /**
992
+ * Max-Width
993
+ * @see https://tailwindcss.com/docs/max-width
994
+ */
995
+ "max-w": [{
996
+ "max-w": [
997
+ d,
998
+ "screen",
999
+ "none",
1000
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1001
+ "prose",
1002
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1003
+ {
1004
+ screen: [l]
1005
+ },
1006
+ ...X()
1007
+ ]
1008
+ }],
1009
+ /**
1010
+ * Height
1011
+ * @see https://tailwindcss.com/docs/height
1012
+ */
1013
+ h: [{
1014
+ h: ["screen", "lh", ...X()]
1015
+ }],
1016
+ /**
1017
+ * Min-Height
1018
+ * @see https://tailwindcss.com/docs/min-height
1019
+ */
1020
+ "min-h": [{
1021
+ "min-h": ["screen", "lh", "none", ...X()]
1022
+ }],
1023
+ /**
1024
+ * Max-Height
1025
+ * @see https://tailwindcss.com/docs/max-height
1026
+ */
1027
+ "max-h": [{
1028
+ "max-h": ["screen", "lh", ...X()]
1029
+ }],
1030
+ // ------------------
1031
+ // --- Typography ---
1032
+ // ------------------
1033
+ /**
1034
+ * Font Size
1035
+ * @see https://tailwindcss.com/docs/font-size
1036
+ */
1037
+ "font-size": [{
1038
+ text: ["base", r, se, Z]
1039
+ }],
1040
+ /**
1041
+ * Font Smoothing
1042
+ * @see https://tailwindcss.com/docs/font-smoothing
1043
+ */
1044
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
1045
+ /**
1046
+ * Font Style
1047
+ * @see https://tailwindcss.com/docs/font-style
1048
+ */
1049
+ "font-style": ["italic", "not-italic"],
1050
+ /**
1051
+ * Font Weight
1052
+ * @see https://tailwindcss.com/docs/font-weight
1053
+ */
1054
+ "font-weight": [{
1055
+ font: [o, p, we]
1056
+ }],
1057
+ /**
1058
+ * Font Stretch
1059
+ * @see https://tailwindcss.com/docs/font-stretch
1060
+ */
1061
+ "font-stretch": [{
1062
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", xe, u]
1063
+ }],
1064
+ /**
1065
+ * Font Family
1066
+ * @see https://tailwindcss.com/docs/font-family
1067
+ */
1068
+ "font-family": [{
1069
+ font: [Xt, u, n]
1070
+ }],
1071
+ /**
1072
+ * Font Variant Numeric
1073
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1074
+ */
1075
+ "fvn-normal": ["normal-nums"],
1076
+ /**
1077
+ * Font Variant Numeric
1078
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1079
+ */
1080
+ "fvn-ordinal": ["ordinal"],
1081
+ /**
1082
+ * Font Variant Numeric
1083
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1084
+ */
1085
+ "fvn-slashed-zero": ["slashed-zero"],
1086
+ /**
1087
+ * Font Variant Numeric
1088
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1089
+ */
1090
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
1091
+ /**
1092
+ * Font Variant Numeric
1093
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1094
+ */
1095
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
1096
+ /**
1097
+ * Font Variant Numeric
1098
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1099
+ */
1100
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1101
+ /**
1102
+ * Letter Spacing
1103
+ * @see https://tailwindcss.com/docs/letter-spacing
1104
+ */
1105
+ tracking: [{
1106
+ tracking: [i, p, u]
1107
+ }],
1108
+ /**
1109
+ * Line Clamp
1110
+ * @see https://tailwindcss.com/docs/line-clamp
1111
+ */
1112
+ "line-clamp": [{
1113
+ "line-clamp": [S, "none", p, we]
1114
+ }],
1115
+ /**
1116
+ * Line Height
1117
+ * @see https://tailwindcss.com/docs/line-height
1118
+ */
1119
+ leading: [{
1120
+ leading: [
1121
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1122
+ a,
1123
+ ...b()
1124
+ ]
1125
+ }],
1126
+ /**
1127
+ * List Style Image
1128
+ * @see https://tailwindcss.com/docs/list-style-image
1129
+ */
1130
+ "list-image": [{
1131
+ "list-image": ["none", p, u]
1132
+ }],
1133
+ /**
1134
+ * List Style Position
1135
+ * @see https://tailwindcss.com/docs/list-style-position
1136
+ */
1137
+ "list-style-position": [{
1138
+ list: ["inside", "outside"]
1139
+ }],
1140
+ /**
1141
+ * List Style Type
1142
+ * @see https://tailwindcss.com/docs/list-style-type
1143
+ */
1144
+ "list-style-type": [{
1145
+ list: ["disc", "decimal", "none", p, u]
1146
+ }],
1147
+ /**
1148
+ * Text Alignment
1149
+ * @see https://tailwindcss.com/docs/text-align
1150
+ */
1151
+ "text-alignment": [{
1152
+ text: ["left", "center", "right", "justify", "start", "end"]
1153
+ }],
1154
+ /**
1155
+ * Placeholder Color
1156
+ * @deprecated since Tailwind CSS v3.0.0
1157
+ * @see https://v3.tailwindcss.com/docs/placeholder-color
1158
+ */
1159
+ "placeholder-color": [{
1160
+ placeholder: f()
1161
+ }],
1162
+ /**
1163
+ * Text Color
1164
+ * @see https://tailwindcss.com/docs/text-color
1165
+ */
1166
+ "text-color": [{
1167
+ text: f()
1168
+ }],
1169
+ /**
1170
+ * Text Decoration
1171
+ * @see https://tailwindcss.com/docs/text-decoration
1172
+ */
1173
+ "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1174
+ /**
1175
+ * Text Decoration Style
1176
+ * @see https://tailwindcss.com/docs/text-decoration-style
1177
+ */
1178
+ "text-decoration-style": [{
1179
+ decoration: [...le(), "wavy"]
1180
+ }],
1181
+ /**
1182
+ * Text Decoration Thickness
1183
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1184
+ */
1185
+ "text-decoration-thickness": [{
1186
+ decoration: [S, "from-font", "auto", p, Z]
1187
+ }],
1188
+ /**
1189
+ * Text Decoration Color
1190
+ * @see https://tailwindcss.com/docs/text-decoration-color
1191
+ */
1192
+ "text-decoration-color": [{
1193
+ decoration: f()
1194
+ }],
1195
+ /**
1196
+ * Text Underline Offset
1197
+ * @see https://tailwindcss.com/docs/text-underline-offset
1198
+ */
1199
+ "underline-offset": [{
1200
+ "underline-offset": [S, "auto", p, u]
1201
+ }],
1202
+ /**
1203
+ * Text Transform
1204
+ * @see https://tailwindcss.com/docs/text-transform
1205
+ */
1206
+ "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1207
+ /**
1208
+ * Text Overflow
1209
+ * @see https://tailwindcss.com/docs/text-overflow
1210
+ */
1211
+ "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1212
+ /**
1213
+ * Text Wrap
1214
+ * @see https://tailwindcss.com/docs/text-wrap
1215
+ */
1216
+ "text-wrap": [{
1217
+ text: ["wrap", "nowrap", "balance", "pretty"]
1218
+ }],
1219
+ /**
1220
+ * Text Indent
1221
+ * @see https://tailwindcss.com/docs/text-indent
1222
+ */
1223
+ indent: [{
1224
+ indent: b()
1225
+ }],
1226
+ /**
1227
+ * Vertical Alignment
1228
+ * @see https://tailwindcss.com/docs/vertical-align
1229
+ */
1230
+ "vertical-align": [{
1231
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", p, u]
1232
+ }],
1233
+ /**
1234
+ * Whitespace
1235
+ * @see https://tailwindcss.com/docs/whitespace
1236
+ */
1237
+ whitespace: [{
1238
+ whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1239
+ }],
1240
+ /**
1241
+ * Word Break
1242
+ * @see https://tailwindcss.com/docs/word-break
1243
+ */
1244
+ break: [{
1245
+ break: ["normal", "words", "all", "keep"]
1246
+ }],
1247
+ /**
1248
+ * Overflow Wrap
1249
+ * @see https://tailwindcss.com/docs/overflow-wrap
1250
+ */
1251
+ wrap: [{
1252
+ wrap: ["break-word", "anywhere", "normal"]
1253
+ }],
1254
+ /**
1255
+ * Hyphens
1256
+ * @see https://tailwindcss.com/docs/hyphens
1257
+ */
1258
+ hyphens: [{
1259
+ hyphens: ["none", "manual", "auto"]
1260
+ }],
1261
+ /**
1262
+ * Content
1263
+ * @see https://tailwindcss.com/docs/content
1264
+ */
1265
+ content: [{
1266
+ content: ["none", p, u]
1267
+ }],
1268
+ // -------------------
1269
+ // --- Backgrounds ---
1270
+ // -------------------
1271
+ /**
1272
+ * Background Attachment
1273
+ * @see https://tailwindcss.com/docs/background-attachment
1274
+ */
1275
+ "bg-attachment": [{
1276
+ bg: ["fixed", "local", "scroll"]
1277
+ }],
1278
+ /**
1279
+ * Background Clip
1280
+ * @see https://tailwindcss.com/docs/background-clip
1281
+ */
1282
+ "bg-clip": [{
1283
+ "bg-clip": ["border", "padding", "content", "text"]
1284
+ }],
1285
+ /**
1286
+ * Background Origin
1287
+ * @see https://tailwindcss.com/docs/background-origin
1288
+ */
1289
+ "bg-origin": [{
1290
+ "bg-origin": ["border", "padding", "content"]
1291
+ }],
1292
+ /**
1293
+ * Background Position
1294
+ * @see https://tailwindcss.com/docs/background-position
1295
+ */
1296
+ "bg-position": [{
1297
+ bg: ae()
1298
+ }],
1299
+ /**
1300
+ * Background Repeat
1301
+ * @see https://tailwindcss.com/docs/background-repeat
1302
+ */
1303
+ "bg-repeat": [{
1304
+ bg: Q()
1305
+ }],
1306
+ /**
1307
+ * Background Size
1308
+ * @see https://tailwindcss.com/docs/background-size
1309
+ */
1310
+ "bg-size": [{
1311
+ bg: Ce()
1312
+ }],
1313
+ /**
1314
+ * Background Image
1315
+ * @see https://tailwindcss.com/docs/background-image
1316
+ */
1317
+ "bg-image": [{
1318
+ bg: ["none", {
1319
+ linear: [{
1320
+ to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1321
+ }, K, p, u],
1322
+ radial: ["", p, u],
1323
+ conic: [K, p, u]
1324
+ }, Ht, Ut]
1325
+ }],
1326
+ /**
1327
+ * Background Color
1328
+ * @see https://tailwindcss.com/docs/background-color
1329
+ */
1330
+ "bg-color": [{
1331
+ bg: f()
1332
+ }],
1333
+ /**
1334
+ * Gradient Color Stops From Position
1335
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1336
+ */
1337
+ "gradient-from-pos": [{
1338
+ from: ge()
1339
+ }],
1340
+ /**
1341
+ * Gradient Color Stops Via Position
1342
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1343
+ */
1344
+ "gradient-via-pos": [{
1345
+ via: ge()
1346
+ }],
1347
+ /**
1348
+ * Gradient Color Stops To Position
1349
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1350
+ */
1351
+ "gradient-to-pos": [{
1352
+ to: ge()
1353
+ }],
1354
+ /**
1355
+ * Gradient Color Stops From
1356
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1357
+ */
1358
+ "gradient-from": [{
1359
+ from: f()
1360
+ }],
1361
+ /**
1362
+ * Gradient Color Stops Via
1363
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1364
+ */
1365
+ "gradient-via": [{
1366
+ via: f()
1367
+ }],
1368
+ /**
1369
+ * Gradient Color Stops To
1370
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1371
+ */
1372
+ "gradient-to": [{
1373
+ to: f()
1374
+ }],
1375
+ // ---------------
1376
+ // --- Borders ---
1377
+ // ---------------
1378
+ /**
1379
+ * Border Radius
1380
+ * @see https://tailwindcss.com/docs/border-radius
1381
+ */
1382
+ rounded: [{
1383
+ rounded: D()
1384
+ }],
1385
+ /**
1386
+ * Border Radius Start
1387
+ * @see https://tailwindcss.com/docs/border-radius
1388
+ */
1389
+ "rounded-s": [{
1390
+ "rounded-s": D()
1391
+ }],
1392
+ /**
1393
+ * Border Radius End
1394
+ * @see https://tailwindcss.com/docs/border-radius
1395
+ */
1396
+ "rounded-e": [{
1397
+ "rounded-e": D()
1398
+ }],
1399
+ /**
1400
+ * Border Radius Top
1401
+ * @see https://tailwindcss.com/docs/border-radius
1402
+ */
1403
+ "rounded-t": [{
1404
+ "rounded-t": D()
1405
+ }],
1406
+ /**
1407
+ * Border Radius Right
1408
+ * @see https://tailwindcss.com/docs/border-radius
1409
+ */
1410
+ "rounded-r": [{
1411
+ "rounded-r": D()
1412
+ }],
1413
+ /**
1414
+ * Border Radius Bottom
1415
+ * @see https://tailwindcss.com/docs/border-radius
1416
+ */
1417
+ "rounded-b": [{
1418
+ "rounded-b": D()
1419
+ }],
1420
+ /**
1421
+ * Border Radius Left
1422
+ * @see https://tailwindcss.com/docs/border-radius
1423
+ */
1424
+ "rounded-l": [{
1425
+ "rounded-l": D()
1426
+ }],
1427
+ /**
1428
+ * Border Radius Start Start
1429
+ * @see https://tailwindcss.com/docs/border-radius
1430
+ */
1431
+ "rounded-ss": [{
1432
+ "rounded-ss": D()
1433
+ }],
1434
+ /**
1435
+ * Border Radius Start End
1436
+ * @see https://tailwindcss.com/docs/border-radius
1437
+ */
1438
+ "rounded-se": [{
1439
+ "rounded-se": D()
1440
+ }],
1441
+ /**
1442
+ * Border Radius End End
1443
+ * @see https://tailwindcss.com/docs/border-radius
1444
+ */
1445
+ "rounded-ee": [{
1446
+ "rounded-ee": D()
1447
+ }],
1448
+ /**
1449
+ * Border Radius End Start
1450
+ * @see https://tailwindcss.com/docs/border-radius
1451
+ */
1452
+ "rounded-es": [{
1453
+ "rounded-es": D()
1454
+ }],
1455
+ /**
1456
+ * Border Radius Top Left
1457
+ * @see https://tailwindcss.com/docs/border-radius
1458
+ */
1459
+ "rounded-tl": [{
1460
+ "rounded-tl": D()
1461
+ }],
1462
+ /**
1463
+ * Border Radius Top Right
1464
+ * @see https://tailwindcss.com/docs/border-radius
1465
+ */
1466
+ "rounded-tr": [{
1467
+ "rounded-tr": D()
1468
+ }],
1469
+ /**
1470
+ * Border Radius Bottom Right
1471
+ * @see https://tailwindcss.com/docs/border-radius
1472
+ */
1473
+ "rounded-br": [{
1474
+ "rounded-br": D()
1475
+ }],
1476
+ /**
1477
+ * Border Radius Bottom Left
1478
+ * @see https://tailwindcss.com/docs/border-radius
1479
+ */
1480
+ "rounded-bl": [{
1481
+ "rounded-bl": D()
1482
+ }],
1483
+ /**
1484
+ * Border Width
1485
+ * @see https://tailwindcss.com/docs/border-width
1486
+ */
1487
+ "border-w": [{
1488
+ border: W()
1489
+ }],
1490
+ /**
1491
+ * Border Width X
1492
+ * @see https://tailwindcss.com/docs/border-width
1493
+ */
1494
+ "border-w-x": [{
1495
+ "border-x": W()
1496
+ }],
1497
+ /**
1498
+ * Border Width Y
1499
+ * @see https://tailwindcss.com/docs/border-width
1500
+ */
1501
+ "border-w-y": [{
1502
+ "border-y": W()
1503
+ }],
1504
+ /**
1505
+ * Border Width Start
1506
+ * @see https://tailwindcss.com/docs/border-width
1507
+ */
1508
+ "border-w-s": [{
1509
+ "border-s": W()
1510
+ }],
1511
+ /**
1512
+ * Border Width End
1513
+ * @see https://tailwindcss.com/docs/border-width
1514
+ */
1515
+ "border-w-e": [{
1516
+ "border-e": W()
1517
+ }],
1518
+ /**
1519
+ * Border Width Top
1520
+ * @see https://tailwindcss.com/docs/border-width
1521
+ */
1522
+ "border-w-t": [{
1523
+ "border-t": W()
1524
+ }],
1525
+ /**
1526
+ * Border Width Right
1527
+ * @see https://tailwindcss.com/docs/border-width
1528
+ */
1529
+ "border-w-r": [{
1530
+ "border-r": W()
1531
+ }],
1532
+ /**
1533
+ * Border Width Bottom
1534
+ * @see https://tailwindcss.com/docs/border-width
1535
+ */
1536
+ "border-w-b": [{
1537
+ "border-b": W()
1538
+ }],
1539
+ /**
1540
+ * Border Width Left
1541
+ * @see https://tailwindcss.com/docs/border-width
1542
+ */
1543
+ "border-w-l": [{
1544
+ "border-l": W()
1545
+ }],
1546
+ /**
1547
+ * Divide Width X
1548
+ * @see https://tailwindcss.com/docs/border-width#between-children
1549
+ */
1550
+ "divide-x": [{
1551
+ "divide-x": W()
1552
+ }],
1553
+ /**
1554
+ * Divide Width X Reverse
1555
+ * @see https://tailwindcss.com/docs/border-width#between-children
1556
+ */
1557
+ "divide-x-reverse": ["divide-x-reverse"],
1558
+ /**
1559
+ * Divide Width Y
1560
+ * @see https://tailwindcss.com/docs/border-width#between-children
1561
+ */
1562
+ "divide-y": [{
1563
+ "divide-y": W()
1564
+ }],
1565
+ /**
1566
+ * Divide Width Y Reverse
1567
+ * @see https://tailwindcss.com/docs/border-width#between-children
1568
+ */
1569
+ "divide-y-reverse": ["divide-y-reverse"],
1570
+ /**
1571
+ * Border Style
1572
+ * @see https://tailwindcss.com/docs/border-style
1573
+ */
1574
+ "border-style": [{
1575
+ border: [...le(), "hidden", "none"]
1576
+ }],
1577
+ /**
1578
+ * Divide Style
1579
+ * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1580
+ */
1581
+ "divide-style": [{
1582
+ divide: [...le(), "hidden", "none"]
1583
+ }],
1584
+ /**
1585
+ * Border Color
1586
+ * @see https://tailwindcss.com/docs/border-color
1587
+ */
1588
+ "border-color": [{
1589
+ border: f()
1590
+ }],
1591
+ /**
1592
+ * Border Color X
1593
+ * @see https://tailwindcss.com/docs/border-color
1594
+ */
1595
+ "border-color-x": [{
1596
+ "border-x": f()
1597
+ }],
1598
+ /**
1599
+ * Border Color Y
1600
+ * @see https://tailwindcss.com/docs/border-color
1601
+ */
1602
+ "border-color-y": [{
1603
+ "border-y": f()
1604
+ }],
1605
+ /**
1606
+ * Border Color S
1607
+ * @see https://tailwindcss.com/docs/border-color
1608
+ */
1609
+ "border-color-s": [{
1610
+ "border-s": f()
1611
+ }],
1612
+ /**
1613
+ * Border Color E
1614
+ * @see https://tailwindcss.com/docs/border-color
1615
+ */
1616
+ "border-color-e": [{
1617
+ "border-e": f()
1618
+ }],
1619
+ /**
1620
+ * Border Color Top
1621
+ * @see https://tailwindcss.com/docs/border-color
1622
+ */
1623
+ "border-color-t": [{
1624
+ "border-t": f()
1625
+ }],
1626
+ /**
1627
+ * Border Color Right
1628
+ * @see https://tailwindcss.com/docs/border-color
1629
+ */
1630
+ "border-color-r": [{
1631
+ "border-r": f()
1632
+ }],
1633
+ /**
1634
+ * Border Color Bottom
1635
+ * @see https://tailwindcss.com/docs/border-color
1636
+ */
1637
+ "border-color-b": [{
1638
+ "border-b": f()
1639
+ }],
1640
+ /**
1641
+ * Border Color Left
1642
+ * @see https://tailwindcss.com/docs/border-color
1643
+ */
1644
+ "border-color-l": [{
1645
+ "border-l": f()
1646
+ }],
1647
+ /**
1648
+ * Divide Color
1649
+ * @see https://tailwindcss.com/docs/divide-color
1650
+ */
1651
+ "divide-color": [{
1652
+ divide: f()
1653
+ }],
1654
+ /**
1655
+ * Outline Style
1656
+ * @see https://tailwindcss.com/docs/outline-style
1657
+ */
1658
+ "outline-style": [{
1659
+ outline: [...le(), "none", "hidden"]
1660
+ }],
1661
+ /**
1662
+ * Outline Offset
1663
+ * @see https://tailwindcss.com/docs/outline-offset
1664
+ */
1665
+ "outline-offset": [{
1666
+ "outline-offset": [S, p, u]
1667
+ }],
1668
+ /**
1669
+ * Outline Width
1670
+ * @see https://tailwindcss.com/docs/outline-width
1671
+ */
1672
+ "outline-w": [{
1673
+ outline: ["", S, se, Z]
1674
+ }],
1675
+ /**
1676
+ * Outline Color
1677
+ * @see https://tailwindcss.com/docs/outline-color
1678
+ */
1679
+ "outline-color": [{
1680
+ outline: f()
1681
+ }],
1682
+ // ---------------
1683
+ // --- Effects ---
1684
+ // ---------------
1685
+ /**
1686
+ * Box Shadow
1687
+ * @see https://tailwindcss.com/docs/box-shadow
1688
+ */
1689
+ shadow: [{
1690
+ shadow: [
1691
+ // Deprecated since Tailwind CSS v4.0.0
1692
+ "",
1693
+ "none",
1694
+ g,
1695
+ pe,
1696
+ ue
1697
+ ]
1698
+ }],
1699
+ /**
1700
+ * Box Shadow Color
1701
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
1702
+ */
1703
+ "shadow-color": [{
1704
+ shadow: f()
1705
+ }],
1706
+ /**
1707
+ * Inset Box Shadow
1708
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1709
+ */
1710
+ "inset-shadow": [{
1711
+ "inset-shadow": ["none", w, pe, ue]
1712
+ }],
1713
+ /**
1714
+ * Inset Box Shadow Color
1715
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
1716
+ */
1717
+ "inset-shadow-color": [{
1718
+ "inset-shadow": f()
1719
+ }],
1720
+ /**
1721
+ * Ring Width
1722
+ * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1723
+ */
1724
+ "ring-w": [{
1725
+ ring: W()
1726
+ }],
1727
+ /**
1728
+ * Ring Width Inset
1729
+ * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
1730
+ * @deprecated since Tailwind CSS v4.0.0
1731
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1732
+ */
1733
+ "ring-w-inset": ["ring-inset"],
1734
+ /**
1735
+ * Ring Color
1736
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
1737
+ */
1738
+ "ring-color": [{
1739
+ ring: f()
1740
+ }],
1741
+ /**
1742
+ * Ring Offset Width
1743
+ * @see https://v3.tailwindcss.com/docs/ring-offset-width
1744
+ * @deprecated since Tailwind CSS v4.0.0
1745
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1746
+ */
1747
+ "ring-offset-w": [{
1748
+ "ring-offset": [S, Z]
1749
+ }],
1750
+ /**
1751
+ * Ring Offset Color
1752
+ * @see https://v3.tailwindcss.com/docs/ring-offset-color
1753
+ * @deprecated since Tailwind CSS v4.0.0
1754
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1755
+ */
1756
+ "ring-offset-color": [{
1757
+ "ring-offset": f()
1758
+ }],
1759
+ /**
1760
+ * Inset Ring Width
1761
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
1762
+ */
1763
+ "inset-ring-w": [{
1764
+ "inset-ring": W()
1765
+ }],
1766
+ /**
1767
+ * Inset Ring Color
1768
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
1769
+ */
1770
+ "inset-ring-color": [{
1771
+ "inset-ring": f()
1772
+ }],
1773
+ /**
1774
+ * Text Shadow
1775
+ * @see https://tailwindcss.com/docs/text-shadow
1776
+ */
1777
+ "text-shadow": [{
1778
+ "text-shadow": ["none", h, pe, ue]
1779
+ }],
1780
+ /**
1781
+ * Text Shadow Color
1782
+ * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
1783
+ */
1784
+ "text-shadow-color": [{
1785
+ "text-shadow": f()
1786
+ }],
1787
+ /**
1788
+ * Opacity
1789
+ * @see https://tailwindcss.com/docs/opacity
1790
+ */
1791
+ opacity: [{
1792
+ opacity: [S, p, u]
1793
+ }],
1794
+ /**
1795
+ * Mix Blend Mode
1796
+ * @see https://tailwindcss.com/docs/mix-blend-mode
1797
+ */
1798
+ "mix-blend": [{
1799
+ "mix-blend": [...Ne(), "plus-darker", "plus-lighter"]
1800
+ }],
1801
+ /**
1802
+ * Background Blend Mode
1803
+ * @see https://tailwindcss.com/docs/background-blend-mode
1804
+ */
1805
+ "bg-blend": [{
1806
+ "bg-blend": Ne()
1807
+ }],
1808
+ /**
1809
+ * Mask Clip
1810
+ * @see https://tailwindcss.com/docs/mask-clip
1811
+ */
1812
+ "mask-clip": [{
1813
+ "mask-clip": ["border", "padding", "content", "fill", "stroke", "view"]
1814
+ }, "mask-no-clip"],
1815
+ /**
1816
+ * Mask Composite
1817
+ * @see https://tailwindcss.com/docs/mask-composite
1818
+ */
1819
+ "mask-composite": [{
1820
+ mask: ["add", "subtract", "intersect", "exclude"]
1821
+ }],
1822
+ /**
1823
+ * Mask Image
1824
+ * @see https://tailwindcss.com/docs/mask-image
1825
+ */
1826
+ "mask-image-linear-pos": [{
1827
+ "mask-linear": [S]
1828
+ }],
1829
+ "mask-image-linear-from-pos": [{
1830
+ "mask-linear-from": P()
1831
+ }],
1832
+ "mask-image-linear-to-pos": [{
1833
+ "mask-linear-to": P()
1834
+ }],
1835
+ "mask-image-linear-from-color": [{
1836
+ "mask-linear-from": f()
1837
+ }],
1838
+ "mask-image-linear-to-color": [{
1839
+ "mask-linear-to": f()
1840
+ }],
1841
+ "mask-image-t-from-pos": [{
1842
+ "mask-t-from": P()
1843
+ }],
1844
+ "mask-image-t-to-pos": [{
1845
+ "mask-t-to": P()
1846
+ }],
1847
+ "mask-image-t-from-color": [{
1848
+ "mask-t-from": f()
1849
+ }],
1850
+ "mask-image-t-to-color": [{
1851
+ "mask-t-to": f()
1852
+ }],
1853
+ "mask-image-r-from-pos": [{
1854
+ "mask-r-from": P()
1855
+ }],
1856
+ "mask-image-r-to-pos": [{
1857
+ "mask-r-to": P()
1858
+ }],
1859
+ "mask-image-r-from-color": [{
1860
+ "mask-r-from": f()
1861
+ }],
1862
+ "mask-image-r-to-color": [{
1863
+ "mask-r-to": f()
1864
+ }],
1865
+ "mask-image-b-from-pos": [{
1866
+ "mask-b-from": P()
1867
+ }],
1868
+ "mask-image-b-to-pos": [{
1869
+ "mask-b-to": P()
1870
+ }],
1871
+ "mask-image-b-from-color": [{
1872
+ "mask-b-from": f()
1873
+ }],
1874
+ "mask-image-b-to-color": [{
1875
+ "mask-b-to": f()
1876
+ }],
1877
+ "mask-image-l-from-pos": [{
1878
+ "mask-l-from": P()
1879
+ }],
1880
+ "mask-image-l-to-pos": [{
1881
+ "mask-l-to": P()
1882
+ }],
1883
+ "mask-image-l-from-color": [{
1884
+ "mask-l-from": f()
1885
+ }],
1886
+ "mask-image-l-to-color": [{
1887
+ "mask-l-to": f()
1888
+ }],
1889
+ "mask-image-x-from-pos": [{
1890
+ "mask-x-from": P()
1891
+ }],
1892
+ "mask-image-x-to-pos": [{
1893
+ "mask-x-to": P()
1894
+ }],
1895
+ "mask-image-x-from-color": [{
1896
+ "mask-x-from": f()
1897
+ }],
1898
+ "mask-image-x-to-color": [{
1899
+ "mask-x-to": f()
1900
+ }],
1901
+ "mask-image-y-from-pos": [{
1902
+ "mask-y-from": P()
1903
+ }],
1904
+ "mask-image-y-to-pos": [{
1905
+ "mask-y-to": P()
1906
+ }],
1907
+ "mask-image-y-from-color": [{
1908
+ "mask-y-from": f()
1909
+ }],
1910
+ "mask-image-y-to-color": [{
1911
+ "mask-y-to": f()
1912
+ }],
1913
+ "mask-image-radial": [{
1914
+ "mask-radial": [p, u]
1915
+ }],
1916
+ "mask-image-radial-from-pos": [{
1917
+ "mask-radial-from": P()
1918
+ }],
1919
+ "mask-image-radial-to-pos": [{
1920
+ "mask-radial-to": P()
1921
+ }],
1922
+ "mask-image-radial-from-color": [{
1923
+ "mask-radial-from": f()
1924
+ }],
1925
+ "mask-image-radial-to-color": [{
1926
+ "mask-radial-to": f()
1927
+ }],
1928
+ "mask-image-radial-shape": [{
1929
+ "mask-radial": ["circle", "ellipse"]
1930
+ }],
1931
+ "mask-image-radial-size": [{
1932
+ "mask-radial": [{
1933
+ closest: ["side", "corner"],
1934
+ farthest: ["side", "corner"]
1935
+ }]
1936
+ }],
1937
+ "mask-image-radial-pos": [{
1938
+ "mask-radial-at": x()
1939
+ }],
1940
+ "mask-image-conic-pos": [{
1941
+ "mask-conic": [S]
1942
+ }],
1943
+ "mask-image-conic-from-pos": [{
1944
+ "mask-conic-from": P()
1945
+ }],
1946
+ "mask-image-conic-to-pos": [{
1947
+ "mask-conic-to": P()
1948
+ }],
1949
+ "mask-image-conic-from-color": [{
1950
+ "mask-conic-from": f()
1951
+ }],
1952
+ "mask-image-conic-to-color": [{
1953
+ "mask-conic-to": f()
1954
+ }],
1955
+ /**
1956
+ * Mask Mode
1957
+ * @see https://tailwindcss.com/docs/mask-mode
1958
+ */
1959
+ "mask-mode": [{
1960
+ mask: ["alpha", "luminance", "match"]
1961
+ }],
1962
+ /**
1963
+ * Mask Origin
1964
+ * @see https://tailwindcss.com/docs/mask-origin
1965
+ */
1966
+ "mask-origin": [{
1967
+ "mask-origin": ["border", "padding", "content", "fill", "stroke", "view"]
1968
+ }],
1969
+ /**
1970
+ * Mask Position
1971
+ * @see https://tailwindcss.com/docs/mask-position
1972
+ */
1973
+ "mask-position": [{
1974
+ mask: ae()
1975
+ }],
1976
+ /**
1977
+ * Mask Repeat
1978
+ * @see https://tailwindcss.com/docs/mask-repeat
1979
+ */
1980
+ "mask-repeat": [{
1981
+ mask: Q()
1982
+ }],
1983
+ /**
1984
+ * Mask Size
1985
+ * @see https://tailwindcss.com/docs/mask-size
1986
+ */
1987
+ "mask-size": [{
1988
+ mask: Ce()
1989
+ }],
1990
+ /**
1991
+ * Mask Type
1992
+ * @see https://tailwindcss.com/docs/mask-type
1993
+ */
1994
+ "mask-type": [{
1995
+ "mask-type": ["alpha", "luminance"]
1996
+ }],
1997
+ /**
1998
+ * Mask Image
1999
+ * @see https://tailwindcss.com/docs/mask-image
2000
+ */
2001
+ "mask-image": [{
2002
+ mask: ["none", p, u]
2003
+ }],
2004
+ // ---------------
2005
+ // --- Filters ---
2006
+ // ---------------
2007
+ /**
2008
+ * Filter
2009
+ * @see https://tailwindcss.com/docs/filter
2010
+ */
2011
+ filter: [{
2012
+ filter: [
2013
+ // Deprecated since Tailwind CSS v3.0.0
2014
+ "",
2015
+ "none",
2016
+ p,
2017
+ u
2018
+ ]
2019
+ }],
2020
+ /**
2021
+ * Blur
2022
+ * @see https://tailwindcss.com/docs/blur
2023
+ */
2024
+ blur: [{
2025
+ blur: ze()
2026
+ }],
2027
+ /**
2028
+ * Brightness
2029
+ * @see https://tailwindcss.com/docs/brightness
2030
+ */
2031
+ brightness: [{
2032
+ brightness: [S, p, u]
2033
+ }],
2034
+ /**
2035
+ * Contrast
2036
+ * @see https://tailwindcss.com/docs/contrast
2037
+ */
2038
+ contrast: [{
2039
+ contrast: [S, p, u]
2040
+ }],
2041
+ /**
2042
+ * Drop Shadow
2043
+ * @see https://tailwindcss.com/docs/drop-shadow
2044
+ */
2045
+ "drop-shadow": [{
2046
+ "drop-shadow": [
2047
+ // Deprecated since Tailwind CSS v4.0.0
2048
+ "",
2049
+ "none",
2050
+ N,
2051
+ pe,
2052
+ ue
2053
+ ]
2054
+ }],
2055
+ /**
2056
+ * Drop Shadow Color
2057
+ * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2058
+ */
2059
+ "drop-shadow-color": [{
2060
+ "drop-shadow": f()
2061
+ }],
2062
+ /**
2063
+ * Grayscale
2064
+ * @see https://tailwindcss.com/docs/grayscale
2065
+ */
2066
+ grayscale: [{
2067
+ grayscale: ["", S, p, u]
2068
+ }],
2069
+ /**
2070
+ * Hue Rotate
2071
+ * @see https://tailwindcss.com/docs/hue-rotate
2072
+ */
2073
+ "hue-rotate": [{
2074
+ "hue-rotate": [S, p, u]
2075
+ }],
2076
+ /**
2077
+ * Invert
2078
+ * @see https://tailwindcss.com/docs/invert
2079
+ */
2080
+ invert: [{
2081
+ invert: ["", S, p, u]
2082
+ }],
2083
+ /**
2084
+ * Saturate
2085
+ * @see https://tailwindcss.com/docs/saturate
2086
+ */
2087
+ saturate: [{
2088
+ saturate: [S, p, u]
2089
+ }],
2090
+ /**
2091
+ * Sepia
2092
+ * @see https://tailwindcss.com/docs/sepia
2093
+ */
2094
+ sepia: [{
2095
+ sepia: ["", S, p, u]
2096
+ }],
2097
+ /**
2098
+ * Backdrop Filter
2099
+ * @see https://tailwindcss.com/docs/backdrop-filter
2100
+ */
2101
+ "backdrop-filter": [{
2102
+ "backdrop-filter": [
2103
+ // Deprecated since Tailwind CSS v3.0.0
2104
+ "",
2105
+ "none",
2106
+ p,
2107
+ u
2108
+ ]
2109
+ }],
2110
+ /**
2111
+ * Backdrop Blur
2112
+ * @see https://tailwindcss.com/docs/backdrop-blur
2113
+ */
2114
+ "backdrop-blur": [{
2115
+ "backdrop-blur": ze()
2116
+ }],
2117
+ /**
2118
+ * Backdrop Brightness
2119
+ * @see https://tailwindcss.com/docs/backdrop-brightness
2120
+ */
2121
+ "backdrop-brightness": [{
2122
+ "backdrop-brightness": [S, p, u]
2123
+ }],
2124
+ /**
2125
+ * Backdrop Contrast
2126
+ * @see https://tailwindcss.com/docs/backdrop-contrast
2127
+ */
2128
+ "backdrop-contrast": [{
2129
+ "backdrop-contrast": [S, p, u]
2130
+ }],
2131
+ /**
2132
+ * Backdrop Grayscale
2133
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
2134
+ */
2135
+ "backdrop-grayscale": [{
2136
+ "backdrop-grayscale": ["", S, p, u]
2137
+ }],
2138
+ /**
2139
+ * Backdrop Hue Rotate
2140
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2141
+ */
2142
+ "backdrop-hue-rotate": [{
2143
+ "backdrop-hue-rotate": [S, p, u]
2144
+ }],
2145
+ /**
2146
+ * Backdrop Invert
2147
+ * @see https://tailwindcss.com/docs/backdrop-invert
2148
+ */
2149
+ "backdrop-invert": [{
2150
+ "backdrop-invert": ["", S, p, u]
2151
+ }],
2152
+ /**
2153
+ * Backdrop Opacity
2154
+ * @see https://tailwindcss.com/docs/backdrop-opacity
2155
+ */
2156
+ "backdrop-opacity": [{
2157
+ "backdrop-opacity": [S, p, u]
2158
+ }],
2159
+ /**
2160
+ * Backdrop Saturate
2161
+ * @see https://tailwindcss.com/docs/backdrop-saturate
2162
+ */
2163
+ "backdrop-saturate": [{
2164
+ "backdrop-saturate": [S, p, u]
2165
+ }],
2166
+ /**
2167
+ * Backdrop Sepia
2168
+ * @see https://tailwindcss.com/docs/backdrop-sepia
2169
+ */
2170
+ "backdrop-sepia": [{
2171
+ "backdrop-sepia": ["", S, p, u]
2172
+ }],
2173
+ // --------------
2174
+ // --- Tables ---
2175
+ // --------------
2176
+ /**
2177
+ * Border Collapse
2178
+ * @see https://tailwindcss.com/docs/border-collapse
2179
+ */
2180
+ "border-collapse": [{
2181
+ border: ["collapse", "separate"]
2182
+ }],
2183
+ /**
2184
+ * Border Spacing
2185
+ * @see https://tailwindcss.com/docs/border-spacing
2186
+ */
2187
+ "border-spacing": [{
2188
+ "border-spacing": b()
2189
+ }],
2190
+ /**
2191
+ * Border Spacing X
2192
+ * @see https://tailwindcss.com/docs/border-spacing
2193
+ */
2194
+ "border-spacing-x": [{
2195
+ "border-spacing-x": b()
2196
+ }],
2197
+ /**
2198
+ * Border Spacing Y
2199
+ * @see https://tailwindcss.com/docs/border-spacing
2200
+ */
2201
+ "border-spacing-y": [{
2202
+ "border-spacing-y": b()
2203
+ }],
2204
+ /**
2205
+ * Table Layout
2206
+ * @see https://tailwindcss.com/docs/table-layout
2207
+ */
2208
+ "table-layout": [{
2209
+ table: ["auto", "fixed"]
2210
+ }],
2211
+ /**
2212
+ * Caption Side
2213
+ * @see https://tailwindcss.com/docs/caption-side
2214
+ */
2215
+ caption: [{
2216
+ caption: ["top", "bottom"]
2217
+ }],
2218
+ // ---------------------------------
2219
+ // --- Transitions and Animation ---
2220
+ // ---------------------------------
2221
+ /**
2222
+ * Transition Property
2223
+ * @see https://tailwindcss.com/docs/transition-property
2224
+ */
2225
+ transition: [{
2226
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", p, u]
2227
+ }],
2228
+ /**
2229
+ * Transition Behavior
2230
+ * @see https://tailwindcss.com/docs/transition-behavior
2231
+ */
2232
+ "transition-behavior": [{
2233
+ transition: ["normal", "discrete"]
2234
+ }],
2235
+ /**
2236
+ * Transition Duration
2237
+ * @see https://tailwindcss.com/docs/transition-duration
2238
+ */
2239
+ duration: [{
2240
+ duration: [S, "initial", p, u]
2241
+ }],
2242
+ /**
2243
+ * Transition Timing Function
2244
+ * @see https://tailwindcss.com/docs/transition-timing-function
2245
+ */
2246
+ ease: [{
2247
+ ease: ["linear", "initial", I, p, u]
2248
+ }],
2249
+ /**
2250
+ * Transition Delay
2251
+ * @see https://tailwindcss.com/docs/transition-delay
2252
+ */
2253
+ delay: [{
2254
+ delay: [S, p, u]
2255
+ }],
2256
+ /**
2257
+ * Animation
2258
+ * @see https://tailwindcss.com/docs/animation
2259
+ */
2260
+ animate: [{
2261
+ animate: ["none", j, p, u]
2262
+ }],
2263
+ // ------------------
2264
+ // --- Transforms ---
2265
+ // ------------------
2266
+ /**
2267
+ * Backface Visibility
2268
+ * @see https://tailwindcss.com/docs/backface-visibility
2269
+ */
2270
+ backface: [{
2271
+ backface: ["hidden", "visible"]
2272
+ }],
2273
+ /**
2274
+ * Perspective
2275
+ * @see https://tailwindcss.com/docs/perspective
2276
+ */
2277
+ perspective: [{
2278
+ perspective: [C, p, u]
2279
+ }],
2280
+ /**
2281
+ * Perspective Origin
2282
+ * @see https://tailwindcss.com/docs/perspective-origin
2283
+ */
2284
+ "perspective-origin": [{
2285
+ "perspective-origin": F()
2286
+ }],
2287
+ /**
2288
+ * Rotate
2289
+ * @see https://tailwindcss.com/docs/rotate
2290
+ */
2291
+ rotate: [{
2292
+ rotate: ie()
2293
+ }],
2294
+ /**
2295
+ * Rotate X
2296
+ * @see https://tailwindcss.com/docs/rotate
2297
+ */
2298
+ "rotate-x": [{
2299
+ "rotate-x": ie()
2300
+ }],
2301
+ /**
2302
+ * Rotate Y
2303
+ * @see https://tailwindcss.com/docs/rotate
2304
+ */
2305
+ "rotate-y": [{
2306
+ "rotate-y": ie()
2307
+ }],
2308
+ /**
2309
+ * Rotate Z
2310
+ * @see https://tailwindcss.com/docs/rotate
2311
+ */
2312
+ "rotate-z": [{
2313
+ "rotate-z": ie()
2314
+ }],
2315
+ /**
2316
+ * Scale
2317
+ * @see https://tailwindcss.com/docs/scale
2318
+ */
2319
+ scale: [{
2320
+ scale: ce()
2321
+ }],
2322
+ /**
2323
+ * Scale X
2324
+ * @see https://tailwindcss.com/docs/scale
2325
+ */
2326
+ "scale-x": [{
2327
+ "scale-x": ce()
2328
+ }],
2329
+ /**
2330
+ * Scale Y
2331
+ * @see https://tailwindcss.com/docs/scale
2332
+ */
2333
+ "scale-y": [{
2334
+ "scale-y": ce()
2335
+ }],
2336
+ /**
2337
+ * Scale Z
2338
+ * @see https://tailwindcss.com/docs/scale
2339
+ */
2340
+ "scale-z": [{
2341
+ "scale-z": ce()
2342
+ }],
2343
+ /**
2344
+ * Scale 3D
2345
+ * @see https://tailwindcss.com/docs/scale
2346
+ */
2347
+ "scale-3d": ["scale-3d"],
2348
+ /**
2349
+ * Skew
2350
+ * @see https://tailwindcss.com/docs/skew
2351
+ */
2352
+ skew: [{
2353
+ skew: fe()
2354
+ }],
2355
+ /**
2356
+ * Skew X
2357
+ * @see https://tailwindcss.com/docs/skew
2358
+ */
2359
+ "skew-x": [{
2360
+ "skew-x": fe()
2361
+ }],
2362
+ /**
2363
+ * Skew Y
2364
+ * @see https://tailwindcss.com/docs/skew
2365
+ */
2366
+ "skew-y": [{
2367
+ "skew-y": fe()
2368
+ }],
2369
+ /**
2370
+ * Transform
2371
+ * @see https://tailwindcss.com/docs/transform
2372
+ */
2373
+ transform: [{
2374
+ transform: [p, u, "", "none", "gpu", "cpu"]
2375
+ }],
2376
+ /**
2377
+ * Transform Origin
2378
+ * @see https://tailwindcss.com/docs/transform-origin
2379
+ */
2380
+ "transform-origin": [{
2381
+ origin: F()
2382
+ }],
2383
+ /**
2384
+ * Transform Style
2385
+ * @see https://tailwindcss.com/docs/transform-style
2386
+ */
2387
+ "transform-style": [{
2388
+ transform: ["3d", "flat"]
2389
+ }],
2390
+ /**
2391
+ * Translate
2392
+ * @see https://tailwindcss.com/docs/translate
2393
+ */
2394
+ translate: [{
2395
+ translate: de()
2396
+ }],
2397
+ /**
2398
+ * Translate X
2399
+ * @see https://tailwindcss.com/docs/translate
2400
+ */
2401
+ "translate-x": [{
2402
+ "translate-x": de()
2403
+ }],
2404
+ /**
2405
+ * Translate Y
2406
+ * @see https://tailwindcss.com/docs/translate
2407
+ */
2408
+ "translate-y": [{
2409
+ "translate-y": de()
2410
+ }],
2411
+ /**
2412
+ * Translate Z
2413
+ * @see https://tailwindcss.com/docs/translate
2414
+ */
2415
+ "translate-z": [{
2416
+ "translate-z": de()
2417
+ }],
2418
+ /**
2419
+ * Translate None
2420
+ * @see https://tailwindcss.com/docs/translate
2421
+ */
2422
+ "translate-none": ["translate-none"],
2423
+ // ---------------------
2424
+ // --- Interactivity ---
2425
+ // ---------------------
2426
+ /**
2427
+ * Accent Color
2428
+ * @see https://tailwindcss.com/docs/accent-color
2429
+ */
2430
+ accent: [{
2431
+ accent: f()
2432
+ }],
2433
+ /**
2434
+ * Appearance
2435
+ * @see https://tailwindcss.com/docs/appearance
2436
+ */
2437
+ appearance: [{
2438
+ appearance: ["none", "auto"]
2439
+ }],
2440
+ /**
2441
+ * Caret Color
2442
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2443
+ */
2444
+ "caret-color": [{
2445
+ caret: f()
2446
+ }],
2447
+ /**
2448
+ * Color Scheme
2449
+ * @see https://tailwindcss.com/docs/color-scheme
2450
+ */
2451
+ "color-scheme": [{
2452
+ scheme: ["normal", "dark", "light", "light-dark", "only-dark", "only-light"]
2453
+ }],
2454
+ /**
2455
+ * Cursor
2456
+ * @see https://tailwindcss.com/docs/cursor
2457
+ */
2458
+ cursor: [{
2459
+ 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", p, u]
2460
+ }],
2461
+ /**
2462
+ * Field Sizing
2463
+ * @see https://tailwindcss.com/docs/field-sizing
2464
+ */
2465
+ "field-sizing": [{
2466
+ "field-sizing": ["fixed", "content"]
2467
+ }],
2468
+ /**
2469
+ * Pointer Events
2470
+ * @see https://tailwindcss.com/docs/pointer-events
2471
+ */
2472
+ "pointer-events": [{
2473
+ "pointer-events": ["auto", "none"]
2474
+ }],
2475
+ /**
2476
+ * Resize
2477
+ * @see https://tailwindcss.com/docs/resize
2478
+ */
2479
+ resize: [{
2480
+ resize: ["none", "", "y", "x"]
2481
+ }],
2482
+ /**
2483
+ * Scroll Behavior
2484
+ * @see https://tailwindcss.com/docs/scroll-behavior
2485
+ */
2486
+ "scroll-behavior": [{
2487
+ scroll: ["auto", "smooth"]
2488
+ }],
2489
+ /**
2490
+ * Scroll Margin
2491
+ * @see https://tailwindcss.com/docs/scroll-margin
2492
+ */
2493
+ "scroll-m": [{
2494
+ "scroll-m": b()
2495
+ }],
2496
+ /**
2497
+ * Scroll Margin X
2498
+ * @see https://tailwindcss.com/docs/scroll-margin
2499
+ */
2500
+ "scroll-mx": [{
2501
+ "scroll-mx": b()
2502
+ }],
2503
+ /**
2504
+ * Scroll Margin Y
2505
+ * @see https://tailwindcss.com/docs/scroll-margin
2506
+ */
2507
+ "scroll-my": [{
2508
+ "scroll-my": b()
2509
+ }],
2510
+ /**
2511
+ * Scroll Margin Start
2512
+ * @see https://tailwindcss.com/docs/scroll-margin
2513
+ */
2514
+ "scroll-ms": [{
2515
+ "scroll-ms": b()
2516
+ }],
2517
+ /**
2518
+ * Scroll Margin End
2519
+ * @see https://tailwindcss.com/docs/scroll-margin
2520
+ */
2521
+ "scroll-me": [{
2522
+ "scroll-me": b()
2523
+ }],
2524
+ /**
2525
+ * Scroll Margin Top
2526
+ * @see https://tailwindcss.com/docs/scroll-margin
2527
+ */
2528
+ "scroll-mt": [{
2529
+ "scroll-mt": b()
2530
+ }],
2531
+ /**
2532
+ * Scroll Margin Right
2533
+ * @see https://tailwindcss.com/docs/scroll-margin
2534
+ */
2535
+ "scroll-mr": [{
2536
+ "scroll-mr": b()
2537
+ }],
2538
+ /**
2539
+ * Scroll Margin Bottom
2540
+ * @see https://tailwindcss.com/docs/scroll-margin
2541
+ */
2542
+ "scroll-mb": [{
2543
+ "scroll-mb": b()
2544
+ }],
2545
+ /**
2546
+ * Scroll Margin Left
2547
+ * @see https://tailwindcss.com/docs/scroll-margin
2548
+ */
2549
+ "scroll-ml": [{
2550
+ "scroll-ml": b()
2551
+ }],
2552
+ /**
2553
+ * Scroll Padding
2554
+ * @see https://tailwindcss.com/docs/scroll-padding
2555
+ */
2556
+ "scroll-p": [{
2557
+ "scroll-p": b()
2558
+ }],
2559
+ /**
2560
+ * Scroll Padding X
2561
+ * @see https://tailwindcss.com/docs/scroll-padding
2562
+ */
2563
+ "scroll-px": [{
2564
+ "scroll-px": b()
2565
+ }],
2566
+ /**
2567
+ * Scroll Padding Y
2568
+ * @see https://tailwindcss.com/docs/scroll-padding
2569
+ */
2570
+ "scroll-py": [{
2571
+ "scroll-py": b()
2572
+ }],
2573
+ /**
2574
+ * Scroll Padding Start
2575
+ * @see https://tailwindcss.com/docs/scroll-padding
2576
+ */
2577
+ "scroll-ps": [{
2578
+ "scroll-ps": b()
2579
+ }],
2580
+ /**
2581
+ * Scroll Padding End
2582
+ * @see https://tailwindcss.com/docs/scroll-padding
2583
+ */
2584
+ "scroll-pe": [{
2585
+ "scroll-pe": b()
2586
+ }],
2587
+ /**
2588
+ * Scroll Padding Top
2589
+ * @see https://tailwindcss.com/docs/scroll-padding
2590
+ */
2591
+ "scroll-pt": [{
2592
+ "scroll-pt": b()
2593
+ }],
2594
+ /**
2595
+ * Scroll Padding Right
2596
+ * @see https://tailwindcss.com/docs/scroll-padding
2597
+ */
2598
+ "scroll-pr": [{
2599
+ "scroll-pr": b()
2600
+ }],
2601
+ /**
2602
+ * Scroll Padding Bottom
2603
+ * @see https://tailwindcss.com/docs/scroll-padding
2604
+ */
2605
+ "scroll-pb": [{
2606
+ "scroll-pb": b()
2607
+ }],
2608
+ /**
2609
+ * Scroll Padding Left
2610
+ * @see https://tailwindcss.com/docs/scroll-padding
2611
+ */
2612
+ "scroll-pl": [{
2613
+ "scroll-pl": b()
2614
+ }],
2615
+ /**
2616
+ * Scroll Snap Align
2617
+ * @see https://tailwindcss.com/docs/scroll-snap-align
2618
+ */
2619
+ "snap-align": [{
2620
+ snap: ["start", "end", "center", "align-none"]
2621
+ }],
2622
+ /**
2623
+ * Scroll Snap Stop
2624
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
2625
+ */
2626
+ "snap-stop": [{
2627
+ snap: ["normal", "always"]
2628
+ }],
2629
+ /**
2630
+ * Scroll Snap Type
2631
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2632
+ */
2633
+ "snap-type": [{
2634
+ snap: ["none", "x", "y", "both"]
2635
+ }],
2636
+ /**
2637
+ * Scroll Snap Type Strictness
2638
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2639
+ */
2640
+ "snap-strictness": [{
2641
+ snap: ["mandatory", "proximity"]
2642
+ }],
2643
+ /**
2644
+ * Touch Action
2645
+ * @see https://tailwindcss.com/docs/touch-action
2646
+ */
2647
+ touch: [{
2648
+ touch: ["auto", "none", "manipulation"]
2649
+ }],
2650
+ /**
2651
+ * Touch Action X
2652
+ * @see https://tailwindcss.com/docs/touch-action
2653
+ */
2654
+ "touch-x": [{
2655
+ "touch-pan": ["x", "left", "right"]
2656
+ }],
2657
+ /**
2658
+ * Touch Action Y
2659
+ * @see https://tailwindcss.com/docs/touch-action
2660
+ */
2661
+ "touch-y": [{
2662
+ "touch-pan": ["y", "up", "down"]
2663
+ }],
2664
+ /**
2665
+ * Touch Action Pinch Zoom
2666
+ * @see https://tailwindcss.com/docs/touch-action
2667
+ */
2668
+ "touch-pz": ["touch-pinch-zoom"],
2669
+ /**
2670
+ * User Select
2671
+ * @see https://tailwindcss.com/docs/user-select
2672
+ */
2673
+ select: [{
2674
+ select: ["none", "text", "all", "auto"]
2675
+ }],
2676
+ /**
2677
+ * Will Change
2678
+ * @see https://tailwindcss.com/docs/will-change
2679
+ */
2680
+ "will-change": [{
2681
+ "will-change": ["auto", "scroll", "contents", "transform", p, u]
2682
+ }],
2683
+ // -----------
2684
+ // --- SVG ---
2685
+ // -----------
2686
+ /**
2687
+ * Fill
2688
+ * @see https://tailwindcss.com/docs/fill
2689
+ */
2690
+ fill: [{
2691
+ fill: ["none", ...f()]
2692
+ }],
2693
+ /**
2694
+ * Stroke Width
2695
+ * @see https://tailwindcss.com/docs/stroke-width
2696
+ */
2697
+ "stroke-w": [{
2698
+ stroke: [S, se, Z, we]
2699
+ }],
2700
+ /**
2701
+ * Stroke
2702
+ * @see https://tailwindcss.com/docs/stroke
2703
+ */
2704
+ stroke: [{
2705
+ stroke: ["none", ...f()]
2706
+ }],
2707
+ // ---------------------
2708
+ // --- Accessibility ---
2709
+ // ---------------------
2710
+ /**
2711
+ * Forced Color Adjust
2712
+ * @see https://tailwindcss.com/docs/forced-color-adjust
2713
+ */
2714
+ "forced-color-adjust": [{
2715
+ "forced-color-adjust": ["auto", "none"]
2716
+ }]
2717
+ },
2718
+ conflictingClassGroups: {
2719
+ overflow: ["overflow-x", "overflow-y"],
2720
+ overscroll: ["overscroll-x", "overscroll-y"],
2721
+ inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
2722
+ "inset-x": ["right", "left"],
2723
+ "inset-y": ["top", "bottom"],
2724
+ flex: ["basis", "grow", "shrink"],
2725
+ gap: ["gap-x", "gap-y"],
2726
+ p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
2727
+ px: ["pr", "pl"],
2728
+ py: ["pt", "pb"],
2729
+ m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
2730
+ mx: ["mr", "ml"],
2731
+ my: ["mt", "mb"],
2732
+ size: ["w", "h"],
2733
+ "font-size": ["leading"],
2734
+ "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
2735
+ "fvn-ordinal": ["fvn-normal"],
2736
+ "fvn-slashed-zero": ["fvn-normal"],
2737
+ "fvn-figure": ["fvn-normal"],
2738
+ "fvn-spacing": ["fvn-normal"],
2739
+ "fvn-fraction": ["fvn-normal"],
2740
+ "line-clamp": ["display", "overflow"],
2741
+ rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
2742
+ "rounded-s": ["rounded-ss", "rounded-es"],
2743
+ "rounded-e": ["rounded-se", "rounded-ee"],
2744
+ "rounded-t": ["rounded-tl", "rounded-tr"],
2745
+ "rounded-r": ["rounded-tr", "rounded-br"],
2746
+ "rounded-b": ["rounded-br", "rounded-bl"],
2747
+ "rounded-l": ["rounded-tl", "rounded-bl"],
2748
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
2749
+ "border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
2750
+ "border-w-x": ["border-w-r", "border-w-l"],
2751
+ "border-w-y": ["border-w-t", "border-w-b"],
2752
+ "border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
2753
+ "border-color-x": ["border-color-r", "border-color-l"],
2754
+ "border-color-y": ["border-color-t", "border-color-b"],
2755
+ translate: ["translate-x", "translate-y", "translate-none"],
2756
+ "translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
2757
+ "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
2758
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
2759
+ "scroll-my": ["scroll-mt", "scroll-mb"],
2760
+ "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
2761
+ "scroll-px": ["scroll-pr", "scroll-pl"],
2762
+ "scroll-py": ["scroll-pt", "scroll-pb"],
2763
+ touch: ["touch-x", "touch-y", "touch-pz"],
2764
+ "touch-x": ["touch"],
2765
+ "touch-y": ["touch"],
2766
+ "touch-pz": ["touch"]
2767
+ },
2768
+ conflictingClassGroupModifiers: {
2769
+ "font-size": ["leading"]
2770
+ },
2771
+ orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2772
+ };
2773
+ }, ne = /* @__PURE__ */ jt(Jt);
2774
+ function H(...e) {
2775
+ return ne(te(e));
2776
+ }
2777
+ const Qt = {
2778
+ primary: H(
2779
+ // Light mode
2780
+ "bg-primary-600 text-white",
2781
+ "hover:bg-primary-700",
2782
+ "active:bg-primary-800",
2783
+ "shadow-solid hover:shadow-solid-hover active:shadow-solid-active",
2784
+ // Dark mode
2785
+ "dark:bg-primary-500 dark:text-white",
2786
+ "dark:hover:bg-primary-600",
2787
+ "dark:active:bg-primary-700"
2788
+ ),
2789
+ soft: H(
2790
+ // Light mode
2791
+ "bg-primary-50 text-primary-700",
2792
+ "hover:bg-primary-100",
2793
+ "active:bg-primary-200",
2794
+ "shadow-soft hover:shadow-soft-hover active:shadow-soft-active",
2795
+ // Dark mode
2796
+ "dark:bg-primary-950 dark:text-primary-300",
2797
+ "dark:hover:bg-primary-900",
2798
+ "dark:active:bg-primary-800"
2799
+ ),
2800
+ secondary: H(
2801
+ // Light mode
2802
+ "bg-neutral-800 text-white",
2803
+ "hover:bg-neutral-900",
2804
+ "active:bg-black",
2805
+ "shadow-secondary hover:shadow-secondary-hover active:shadow-secondary-active",
2806
+ // Dark mode
2807
+ "dark:bg-neutral-700 dark:text-neutral-100",
2808
+ "dark:hover:bg-neutral-600",
2809
+ "dark:active:bg-neutral-500"
2810
+ ),
2811
+ dashed: H(
2812
+ // Light mode
2813
+ "bg-white text-neutral-700 border border-dashed border-neutral-300",
2814
+ "hover:bg-neutral-50 hover:border-neutral-400",
2815
+ "active:bg-neutral-100",
2816
+ "shadow-outline hover:shadow-outline-hover active:shadow-outline-active",
2817
+ // Dark mode
2818
+ "dark:bg-neutral-900 dark:text-neutral-300 dark:border-neutral-700",
2819
+ "dark:hover:bg-neutral-800 dark:hover:border-neutral-600",
2820
+ "dark:active:bg-neutral-700"
2821
+ ),
2822
+ white: H(
2823
+ // Light mode
2824
+ "bg-white text-neutral-900",
2825
+ "hover:bg-neutral-50",
2826
+ "active:bg-neutral-100",
2827
+ "shadow-white hover:shadow-white-hover active:shadow-white-active",
2828
+ // Dark mode
2829
+ "dark:bg-neutral-100 dark:text-neutral-900",
2830
+ "dark:hover:bg-neutral-200",
2831
+ "dark:active:bg-neutral-300"
2832
+ ),
2833
+ outline: H(
2834
+ // Light mode
2835
+ "bg-white text-neutral-700 border border-neutral-300",
2836
+ "hover:bg-neutral-50 hover:border-neutral-400",
2837
+ "active:bg-neutral-100",
2838
+ "shadow-outline hover:shadow-outline-hover active:shadow-outline-active",
2839
+ // Dark mode
2840
+ "dark:bg-neutral-900 dark:text-neutral-300 dark:border-neutral-700",
2841
+ "dark:hover:bg-neutral-800 dark:hover:border-neutral-600",
2842
+ "dark:active:bg-neutral-700"
2843
+ ),
2844
+ ghost: H(
2845
+ // Light mode
2846
+ "bg-transparent text-neutral-700",
2847
+ "hover:bg-neutral-100",
2848
+ "active:bg-neutral-200",
2849
+ "shadow-none",
2850
+ // Dark mode
2851
+ "dark:text-neutral-300",
2852
+ "dark:hover:bg-neutral-800",
2853
+ "dark:active:bg-neutral-700"
2854
+ ),
2855
+ "ghost-primary": H(
2856
+ // Light mode
2857
+ "bg-transparent text-primary-600",
2858
+ "hover:bg-primary-50",
2859
+ "active:bg-primary-100",
2860
+ "shadow-none",
2861
+ // Dark mode
2862
+ "dark:text-primary-400",
2863
+ "dark:hover:bg-primary-950",
2864
+ "dark:active:bg-primary-900"
2865
+ ),
2866
+ danger: H(
2867
+ // Light mode
2868
+ "bg-critical-600 text-white",
2869
+ "hover:bg-critical-700",
2870
+ "active:bg-critical-800",
2871
+ "shadow-solid hover:shadow-solid-hover active:shadow-solid-active",
2872
+ // Dark mode
2873
+ "dark:bg-critical-500 dark:text-white",
2874
+ "dark:hover:bg-critical-600",
2875
+ "dark:active:bg-critical-700"
2876
+ ),
2877
+ "soft-danger": H(
2878
+ // Light mode
2879
+ "bg-critical-50 text-critical-700",
2880
+ "hover:bg-critical-100",
2881
+ "active:bg-critical-200",
2882
+ "shadow-soft hover:shadow-soft-hover active:shadow-soft-active",
2883
+ // Dark mode
2884
+ "dark:bg-critical-950 dark:text-critical-300",
2885
+ "dark:hover:bg-critical-900",
2886
+ "dark:active:bg-critical-800"
2887
+ )
2888
+ }, Zt = {
2889
+ xs: "h-btn-xs pl-3 pr-1.5 py-2 gap-0.5",
2890
+ sm: "h-btn-sm pl-3 pr-2 py-2 gap-1",
2891
+ md: "h-btn-md pl-3 pr-2.5 py-0 gap-1",
2892
+ lg: "h-btn-lg pl-3 pr-3 py-3 gap-1"
2893
+ }, er = {
2894
+ xs: "h-btn-xs w-btn-xs p-0",
2895
+ sm: "h-btn-sm w-btn-sm p-0",
2896
+ md: "h-btn-md w-btn-md p-0",
2897
+ lg: "h-btn-lg w-btn-lg p-0"
2898
+ }, tr = q(
2899
+ ({
2900
+ variant: e = "primary",
2901
+ size: n = "md",
2902
+ loading: r = !1,
2903
+ disabled: o = !1,
2904
+ fullWidth: i = !1,
2905
+ iconLeft: a,
2906
+ iconRight: l,
2907
+ startIcon: d,
2908
+ endIcon: s,
2909
+ icon: c,
2910
+ rtl: g = !1,
2911
+ children: w,
2912
+ className: h,
2913
+ ...N
2914
+ }, A) => {
2915
+ const C = c && !w, v = a || d, I = l || s, j = H(
2916
+ // Base styles
2917
+ "inline-flex items-center justify-center",
2918
+ "font-sans text-btn font-medium",
2919
+ "rounded-control",
2920
+ "transition-all duration-150 ease-in-out",
2921
+ "focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2",
2922
+ "cursor-pointer",
2923
+ // Variant styles
2924
+ Qt[e],
2925
+ // Size styles
2926
+ C ? er[n] : Zt[n],
2927
+ // RTL support - only font, not flex-row-reverse (we handle order in render)
2928
+ g && "font-sans-rtl",
2929
+ // Full width
2930
+ i && "w-full",
2931
+ // Disabled styles
2932
+ (o || r) && "opacity-50 cursor-not-allowed shadow-none pointer-events-none",
2933
+ // Custom className
2934
+ h
2935
+ );
2936
+ return /* @__PURE__ */ y(
2937
+ "button",
2938
+ {
2939
+ ref: A,
2940
+ type: "button",
2941
+ disabled: o || r,
2942
+ dir: g ? "rtl" : void 0,
2943
+ className: j,
2944
+ ...N,
2945
+ children: [
2946
+ r ? /* @__PURE__ */ t(Ye, { className: "h-[20px] w-[20px] animate-spin" }) : C ? /* @__PURE__ */ t("span", { className: "flex items-center justify-center h-[20px] w-[20px] [&>svg]:h-[20px] [&>svg]:w-[20px]", children: c }) : null,
2947
+ !C && !r && /* @__PURE__ */ t(O, { children: g ? /* @__PURE__ */ y(O, { children: [
2948
+ I && /* @__PURE__ */ t("span", { className: "flex items-center justify-center h-[20px] w-[20px] [&>svg]:h-[20px] [&>svg]:w-[20px] mr-1", children: I }),
2949
+ w && /* @__PURE__ */ t("span", { className: "truncate", children: w }),
2950
+ v && /* @__PURE__ */ t("span", { className: "flex items-center justify-center h-[20px] w-[20px] [&>svg]:h-[20px] [&>svg]:w-[20px] ml-1", children: v })
2951
+ ] }) : /* @__PURE__ */ y(O, { children: [
2952
+ v && /* @__PURE__ */ t("span", { className: "flex items-center justify-center h-[20px] w-[20px] [&>svg]:h-[20px] [&>svg]:w-[20px] mr-1", children: v }),
2953
+ w && /* @__PURE__ */ t("span", { className: "truncate", children: w }),
2954
+ I && /* @__PURE__ */ t("span", { className: "flex items-center justify-center h-[20px] w-[20px] [&>svg]:h-[20px] [&>svg]:w-[20px] ml-1", children: I })
2955
+ ] }) }),
2956
+ r && !C && w && /* @__PURE__ */ t("span", { className: "truncate ml-1", children: w })
2957
+ ]
2958
+ }
2959
+ );
2960
+ }
2961
+ );
2962
+ tr.displayName = "Button";
2963
+ function J(...e) {
2964
+ return ne(te(e));
2965
+ }
2966
+ const rr = {
2967
+ Facebook: "Sign in with Facebook",
2968
+ LinkedIn: "Sign in with LinkedIn",
2969
+ Apple: "Sign in with Apple",
2970
+ WhatsApp: "Sign in with WhatsApp",
2971
+ Google: "Sign in with Google",
2972
+ X: "Sign in with X"
2973
+ }, or = {
2974
+ Facebook: "تسجيل الدخول باستخدام فيسبوك",
2975
+ LinkedIn: "تسجيل الدخول باستخدام لينكد إن",
2976
+ Apple: "تسجيل الدخول باستخدام آبل",
2977
+ WhatsApp: "تسجيل الدخول باستخدام واتساب",
2978
+ Google: "تسجيل الدخول باستخدام جوجل",
2979
+ X: "تسجيل الدخول باستخدام إكس"
2980
+ }, nr = {
2981
+ Facebook: {
2982
+ bg: "bg-social-facebook",
2983
+ hoverBg: "hover:bg-[#166FE5]",
2984
+ focusRing: "focus-visible:ring-[#1460CC]",
2985
+ text: "text-white",
2986
+ border: "border-social-facebook",
2987
+ textColor: "text-social-facebook"
2988
+ },
2989
+ LinkedIn: {
2990
+ bg: "bg-social-linkedin",
2991
+ hoverBg: "hover:bg-[#09599A]",
2992
+ focusRing: "focus-visible:ring-[#084C82]",
2993
+ text: "text-white",
2994
+ border: "border-social-linkedin",
2995
+ textColor: "text-social-linkedin"
2996
+ },
2997
+ Apple: {
2998
+ bg: "bg-social-apple",
2999
+ hoverBg: "hover:bg-[#1a1a1a]",
3000
+ focusRing: "focus-visible:ring-[#333333]",
3001
+ text: "text-white",
3002
+ border: "border-social-apple",
3003
+ textColor: "text-social-apple"
3004
+ },
3005
+ WhatsApp: {
3006
+ bg: "bg-social-whatsapp",
3007
+ hoverBg: "hover:bg-[#22C55E]",
3008
+ focusRing: "focus-visible:ring-[#1FA855]",
3009
+ text: "text-white",
3010
+ border: "border-social-whatsapp",
3011
+ textColor: "text-social-whatsapp"
3012
+ },
3013
+ Google: {
3014
+ bg: "bg-social-google",
3015
+ hoverBg: "hover:bg-[#357AE5]",
3016
+ focusRing: "focus-visible:ring-[#2E6FD6]",
3017
+ text: "text-white",
3018
+ border: "border-social-google",
3019
+ textColor: "text-social-google"
3020
+ },
3021
+ X: {
3022
+ bg: "bg-social-twitter",
3023
+ hoverBg: "hover:bg-[#1A91E0]",
3024
+ focusRing: "focus-visible:ring-[#1781CE]",
3025
+ text: "text-white",
3026
+ border: "border-social-twitter",
3027
+ textColor: "text-social-twitter"
3028
+ }
3029
+ }, sr = (e) => ({
3030
+ Facebook: /* @__PURE__ */ t(dt, { size: 20 }),
3031
+ LinkedIn: /* @__PURE__ */ t(ct, { size: 20 }),
3032
+ Apple: /* @__PURE__ */ t(it, { size: 20 }),
3033
+ WhatsApp: /* @__PURE__ */ t(lt, { size: 20 }),
3034
+ Google: /* @__PURE__ */ t(at, { size: 20 }),
3035
+ X: /* @__PURE__ */ t(st, { size: 20 })
3036
+ })[e], ar = q(
3037
+ ({
3038
+ platform: e,
3039
+ type: n = "Default",
3040
+ style: r = "Solid",
3041
+ rtl: o = !1,
3042
+ disabled: i = !1,
3043
+ className: a,
3044
+ ...l
3045
+ }, d) => {
3046
+ const s = o, c = n === "IconOnly", g = r === "Outlined", w = nr[e], h = sr(e), N = s ? or[e] : rr[e], A = J(
3047
+ // Base styles
3048
+ "inline-flex items-center justify-center",
3049
+ "font-sans text-btn font-medium",
3050
+ "rounded-control",
3051
+ "transition-all duration-150 ease-in-out",
3052
+ "focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",
3053
+ "cursor-pointer",
3054
+ "relative",
3055
+ // Size styles
3056
+ c ? "h-9 w-9 p-0" : "h-9 pl-3 pr-3 py-0 gap-0.5",
3057
+ // RTL support - only font, not flex-row-reverse (we handle order in render)
3058
+ s && "font-sans-rtl",
3059
+ // Disabled styles
3060
+ i && "opacity-50 cursor-not-allowed pointer-events-none",
3061
+ // Custom className
3062
+ a
3063
+ ), C = J(
3064
+ r === "Solid" ? J(
3065
+ w.bg,
3066
+ w.text,
3067
+ w.hoverBg,
3068
+ w.focusRing,
3069
+ "border border-transparent",
3070
+ "shadow-component-default",
3071
+ "hover:shadow-component-hover",
3072
+ "focus-visible:shadow-component-focus"
3073
+ ) : J(
3074
+ "bg-white",
3075
+ w.border,
3076
+ w.textColor,
3077
+ "border",
3078
+ "shadow-outline",
3079
+ "hover:bg-neutral-50",
3080
+ "hover:shadow-outline-hover",
3081
+ w.focusRing
3082
+ )
3083
+ ), v = J(
3084
+ "flex items-center justify-center flex-shrink-0",
3085
+ "h-[20px] w-[20px]",
3086
+ c ? "" : "mr-0.5",
3087
+ g && w.textColor
3088
+ ), I = () => /* @__PURE__ */ t("span", { className: v, children: h });
3089
+ return /* @__PURE__ */ t(
3090
+ "button",
3091
+ {
3092
+ ref: d,
3093
+ type: "button",
3094
+ disabled: i,
3095
+ dir: s ? "rtl" : void 0,
3096
+ className: J(A, C),
3097
+ ...l,
3098
+ children: s ? /* @__PURE__ */ y(O, { children: [
3099
+ !c && /* @__PURE__ */ t("span", { className: J("truncate relative z-10", g && w.textColor), children: N }),
3100
+ I()
3101
+ ] }) : /* @__PURE__ */ y(O, { children: [
3102
+ I(),
3103
+ !c && /* @__PURE__ */ t("span", { className: J("truncate relative z-10", g && w.textColor), children: N })
3104
+ ] })
3105
+ }
3106
+ );
3107
+ }
3108
+ );
3109
+ ar.displayName = "SocialButton";
3110
+ function m(...e) {
3111
+ return ne(te(e));
3112
+ }
3113
+ const lr = q(
3114
+ ({
3115
+ items: e = [],
3116
+ size: n = "md",
3117
+ type: r = "Default",
3118
+ rtl: o = !1,
3119
+ rtlLabels: i = [],
3120
+ className: a,
3121
+ ...l
3122
+ }, d) => {
3123
+ const c = {
3124
+ xs: {
3125
+ height: "h-[32px]",
3126
+ padding: r === "IconOnly" ? "px-1.5" : "px-2",
3127
+ gap: r === "IconOnly" ? "gap-0.5" : "gap-1"
3128
+ },
3129
+ sm: {
3130
+ height: "h-[36px]",
3131
+ padding: r === "IconOnly" ? "px-2" : "px-2.5",
3132
+ gap: "gap-1"
3133
+ },
3134
+ md: {
3135
+ height: "h-[40px]",
3136
+ padding: r === "IconOnly" ? "px-2.5" : "px-3.5",
3137
+ gap: "gap-1"
3138
+ }
3139
+ }[n], g = m(
3140
+ "relative inline-flex items-center overflow-hidden",
3141
+ "bg-neutral-50 border border-neutral-300 rounded-control",
3142
+ "shadow-[0px_1px_2px_0px_rgba(15,17,20,0.05)]",
3143
+ o && "flex-row-reverse",
3144
+ a
3145
+ ), w = (h, N, A) => m(
3146
+ "relative flex items-center justify-center",
3147
+ "bg-transparent transition-all duration-150",
3148
+ c.height,
3149
+ c.padding,
3150
+ c.gap,
3151
+ "text-neutral-700 text-[15px] font-medium leading-[24px]",
3152
+ !h.disabled && "hover:bg-neutral-100 active:bg-neutral-200",
3153
+ !h.disabled && "cursor-pointer",
3154
+ h.disabled && "opacity-50 cursor-not-allowed",
3155
+ h.active && "bg-neutral-100",
3156
+ // Divider on the left (right in RTL)
3157
+ !N && "before:absolute before:left-0 before:top-0 before:bottom-0",
3158
+ !N && "before:w-px before:bg-neutral-300/50",
3159
+ o && !N && "before:left-auto before:right-0"
3160
+ );
3161
+ return /* @__PURE__ */ y("div", { ref: d, className: g, ...l, children: [
3162
+ /* @__PURE__ */ t("div", { className: "absolute inset-0 pointer-events-none rounded-control shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]" }),
3163
+ e.map((h, N) => {
3164
+ const A = h.icon || ve, C = N === 0;
3165
+ e.length - 1;
3166
+ const v = o && i[N] ? i[N] : h.label;
3167
+ return /* @__PURE__ */ t(
3168
+ "button",
3169
+ {
3170
+ type: "button",
3171
+ onClick: h.onClick,
3172
+ disabled: h.disabled,
3173
+ className: w(h, C),
3174
+ children: r === "Default" ? /* @__PURE__ */ t(O, { children: o ? /* @__PURE__ */ y(O, { children: [
3175
+ v && /* @__PURE__ */ t("span", { className: "px-0.5 whitespace-nowrap font-sans-rtl", children: v }),
3176
+ /* @__PURE__ */ t(A, { className: "w-5 h-5 shrink-0" })
3177
+ ] }) : /* @__PURE__ */ y(O, { children: [
3178
+ /* @__PURE__ */ t(A, { className: "w-5 h-5 shrink-0" }),
3179
+ v && /* @__PURE__ */ t("span", { className: "px-0.5 whitespace-nowrap", children: v })
3180
+ ] }) }) : (
3181
+ // IconOnly type
3182
+ /* @__PURE__ */ t(A, { className: "w-5 h-5 shrink-0" })
3183
+ )
3184
+ },
3185
+ N
3186
+ );
3187
+ })
3188
+ ] });
3189
+ }
3190
+ );
3191
+ lr.displayName = "ButtonGroup";
3192
+ const ir = q(
3193
+ ({
3194
+ label: e,
3195
+ supportText: n,
3196
+ rtlLabel: r,
3197
+ rtlSupportText: o,
3198
+ checkLocation: i = "leading",
3199
+ indeterminate: a = !1,
3200
+ rtl: l = !1,
3201
+ error: d = !1,
3202
+ disabled: s = !1,
3203
+ checked: c = !1,
3204
+ className: g,
3205
+ ...w
3206
+ }, h) => {
3207
+ const N = l && r ? r : e, A = l && o ? o : n, C = !!n || !!o, v = m(
3208
+ "relative w-5 h-5 rounded border flex items-center justify-center transition-all duration-150",
3209
+ "bg-white shadow-[0px_1px_2px_0px_rgba(15,17,20,0.05)]",
3210
+ // Border and background states
3211
+ !c && !a && !d && !s && "border-neutral-300",
3212
+ !c && !a && d && !s && "border-danger-500",
3213
+ (c || a) && !s && "bg-primary-500 border-primary-500",
3214
+ // Hover states
3215
+ !s && !c && !a && "hover:border-neutral-400",
3216
+ !s && (c || a) && "hover:bg-primary-600 hover:border-primary-600",
3217
+ // Focus states (handled by focus-visible on input)
3218
+ // Disabled state
3219
+ s && "opacity-50 cursor-not-allowed",
3220
+ // Inner shadow
3221
+ "after:absolute after:inset-0 after:rounded after:pointer-events-none",
3222
+ "after:shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]"
3223
+ ), I = m(
3224
+ "inline-flex gap-2 items-start",
3225
+ C ? "items-start" : "items-center",
3226
+ l && "flex-row-reverse",
3227
+ i === "trailing" && !l && "flex-row-reverse",
3228
+ i === "leading" && l && "flex-row-reverse",
3229
+ g
3230
+ ), j = m(
3231
+ "flex flex-col flex-1 min-w-0",
3232
+ "justify-center",
3233
+ l && "items-end text-right"
3234
+ ), M = m(
3235
+ "text-[15px] leading-6 font-medium text-neutral-900",
3236
+ l && "font-sans-rtl",
3237
+ s && "opacity-50"
3238
+ ), x = m(
3239
+ "text-[13px] leading-5 font-normal text-neutral-600",
3240
+ l && "font-sans-rtl",
3241
+ s && "opacity-50"
3242
+ );
3243
+ return /* @__PURE__ */ y("label", { className: I, children: [
3244
+ /* @__PURE__ */ t(
3245
+ "input",
3246
+ {
3247
+ ref: h,
3248
+ type: "checkbox",
3249
+ checked: c,
3250
+ disabled: s,
3251
+ className: "sr-only peer",
3252
+ ...w
3253
+ }
3254
+ ),
3255
+ /* @__PURE__ */ y("div", { className: "flex items-start shrink-0 pt-0.5", children: [
3256
+ /* @__PURE__ */ y("div", { className: v, children: [
3257
+ c && !a && /* @__PURE__ */ t(Le, { className: "w-3 h-3 text-white stroke-[2.5]" }),
3258
+ a && /* @__PURE__ */ t(Ke, { className: "w-3 h-3 text-white stroke-[2.5]" })
3259
+ ] }),
3260
+ /* @__PURE__ */ t(
3261
+ "div",
3262
+ {
3263
+ className: m(
3264
+ "absolute inset-0 rounded pointer-events-none opacity-0",
3265
+ "peer-focus-visible:opacity-100",
3266
+ "shadow-[0_0_0_3px_rgba(50,118,255,0.2)]",
3267
+ "transition-opacity duration-150"
3268
+ )
3269
+ }
3270
+ )
3271
+ ] }),
3272
+ (e || r) && /* @__PURE__ */ y("div", { className: j, dir: l ? "rtl" : void 0, children: [
3273
+ /* @__PURE__ */ t("span", { className: M, children: N }),
3274
+ C && /* @__PURE__ */ t("span", { className: x, children: A })
3275
+ ] })
3276
+ ] });
3277
+ }
3278
+ );
3279
+ ir.displayName = "Checkbox";
3280
+ const cr = q(
3281
+ ({
3282
+ label: e,
3283
+ supportText: n,
3284
+ rtlLabel: r,
3285
+ rtlSupportText: o,
3286
+ selected: i = !1,
3287
+ disabled: a = !1,
3288
+ type: l = "default",
3289
+ icon: d,
3290
+ customIcon: s,
3291
+ rtl: c = !1,
3292
+ onChange: g,
3293
+ className: w,
3294
+ ...h
3295
+ }, N) => {
3296
+ const A = c && r ? r : e, C = c && o ? o : n, v = !!d || !!s, I = !!n || !!o, j = () => {
3297
+ !a && g && g(!i);
3298
+ }, M = (G) => {
3299
+ !a && (G.key === " " || G.key === "Enter") && (G.preventDefault(), g == null || g(!i));
3300
+ }, x = m(
3301
+ "relative flex items-start gap-4 p-4 w-full max-w-[338px]",
3302
+ "bg-white border rounded-xl transition-all duration-150",
3303
+ "shadow-[0px_1px_2px_0px_rgba(15,17,20,0.05)]",
3304
+ // Inner shadow
3305
+ "after:absolute after:inset-0 after:rounded-xl after:pointer-events-none",
3306
+ "after:shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]",
3307
+ // State styles
3308
+ !a && !i && "border-neutral-200",
3309
+ !a && i && "border-primary-500 border-2",
3310
+ !a && "hover:bg-neutral-50 cursor-pointer",
3311
+ a && "border-neutral-200 bg-neutral-50 cursor-not-allowed",
3312
+ // RTL
3313
+ c && "flex-row-reverse",
3314
+ w
3315
+ ), F = m(
3316
+ "relative w-5 h-5 rounded border flex items-center justify-center transition-all duration-150 shrink-0 mt-0.5",
3317
+ "bg-white shadow-[0px_1px_2px_0px_rgba(15,17,20,0.05)]",
3318
+ // Border and background states
3319
+ !i && !a && "border-neutral-300",
3320
+ i && !a && "bg-primary-500 border-primary-500",
3321
+ a && "bg-neutral-100 border-neutral-200",
3322
+ // Inner shadow
3323
+ "after:absolute after:inset-0 after:rounded after:pointer-events-none",
3324
+ "after:shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]"
3325
+ ), k = m(
3326
+ "flex flex-1 min-w-0",
3327
+ l === "icon-left" && v || l === "default" && v ? "gap-3" : "",
3328
+ c && "flex-row-reverse"
3329
+ ), z = m(
3330
+ "flex flex-col gap-0.5 flex-1 min-w-0",
3331
+ c && "items-end text-right"
3332
+ ), b = m(
3333
+ "text-[15px] leading-6 font-medium text-neutral-900",
3334
+ c && "font-sans-rtl",
3335
+ a && "text-neutral-400"
3336
+ ), _ = m(
3337
+ "text-[14px] leading-5 font-normal text-neutral-600",
3338
+ c && "font-sans-rtl",
3339
+ a && "text-neutral-400"
3340
+ ), U = m(
3341
+ "shrink-0",
3342
+ a && "opacity-60"
3343
+ ), T = () => /* @__PURE__ */ t("div", { className: F, children: i && /* @__PURE__ */ t(
3344
+ "svg",
3345
+ {
3346
+ className: "w-3 h-3 text-white",
3347
+ fill: "none",
3348
+ viewBox: "0 0 12 12",
3349
+ stroke: "currentColor",
3350
+ strokeWidth: "2.5",
3351
+ children: /* @__PURE__ */ t(
3352
+ "path",
3353
+ {
3354
+ d: "M2.5 6.5L4.5 8.5L9.5 3.5",
3355
+ strokeLinecap: "round",
3356
+ strokeLinejoin: "round"
3357
+ }
3358
+ )
3359
+ }
3360
+ ) }), $ = () => s ? /* @__PURE__ */ t("div", { className: U, children: s }) : d ? /* @__PURE__ */ t("div", { className: U, children: /* @__PURE__ */ t(d, { className: "w-6 h-6 text-neutral-600" }) }) : null;
3361
+ return /* @__PURE__ */ t(
3362
+ a ? "div" : "button",
3363
+ {
3364
+ ref: N,
3365
+ className: x,
3366
+ onClick: a ? void 0 : j,
3367
+ onKeyDown: a ? void 0 : M,
3368
+ disabled: a,
3369
+ role: a ? void 0 : "checkbox",
3370
+ "aria-checked": a ? void 0 : i,
3371
+ "aria-disabled": a,
3372
+ tabIndex: a ? void 0 : 0,
3373
+ ...h,
3374
+ children: l === "label-only" && !I ? /* @__PURE__ */ y("div", { className: m("flex items-center flex-1 gap-3", c && "flex-row-reverse"), children: [
3375
+ T(),
3376
+ /* @__PURE__ */ t("span", { className: b, dir: c ? "rtl" : void 0, children: A })
3377
+ ] }) : l === "icon-left" ? /* @__PURE__ */ y(O, { children: [
3378
+ T(),
3379
+ /* @__PURE__ */ t("div", { className: k, children: /* @__PURE__ */ y("div", { className: z, dir: c ? "rtl" : void 0, children: [
3380
+ /* @__PURE__ */ t("span", { className: b, children: A }),
3381
+ I && /* @__PURE__ */ t("span", { className: _, children: C })
3382
+ ] }) })
3383
+ ] }) : l === "icon-right" ? /* @__PURE__ */ y(O, { children: [
3384
+ /* @__PURE__ */ t("div", { className: k, children: /* @__PURE__ */ y("div", { className: z, dir: c ? "rtl" : void 0, children: [
3385
+ /* @__PURE__ */ t("span", { className: b, children: A }),
3386
+ I && /* @__PURE__ */ t("span", { className: _, children: C })
3387
+ ] }) }),
3388
+ T()
3389
+ ] }) : /* @__PURE__ */ y(O, { children: [
3390
+ /* @__PURE__ */ y("div", { className: k, children: [
3391
+ $(),
3392
+ /* @__PURE__ */ y("div", { className: z, dir: c ? "rtl" : void 0, children: [
3393
+ /* @__PURE__ */ t("span", { className: b, children: A }),
3394
+ I && /* @__PURE__ */ t("span", { className: _, children: C })
3395
+ ] })
3396
+ ] }),
3397
+ T()
3398
+ ] })
3399
+ }
3400
+ );
3401
+ }
3402
+ );
3403
+ cr.displayName = "CheckmarkCard";
3404
+ const dr = q(
3405
+ ({
3406
+ label: e,
3407
+ checked: n = !1,
3408
+ onChange: r,
3409
+ onCheckedChange: o,
3410
+ size: i = "md",
3411
+ rtl: a = !1,
3412
+ disabled: l = !1,
3413
+ className: d,
3414
+ ...s
3415
+ }, c) => {
3416
+ const g = () => {
3417
+ r && r(n), o && o(n);
3418
+ }, h = {
3419
+ sm: {
3420
+ track: "w-9 h-5",
3421
+ thumb: "w-4 h-4",
3422
+ translateChecked: "translate-x-4",
3423
+ translateUnchecked: "translate-x-0.5"
3424
+ },
3425
+ md: {
3426
+ track: "w-11 h-6",
3427
+ thumb: "w-5 h-5",
3428
+ translateChecked: "translate-x-5",
3429
+ translateUnchecked: "translate-x-0.5"
3430
+ },
3431
+ lg: {
3432
+ track: "w-14 h-7",
3433
+ thumb: "w-6 h-6",
3434
+ translateChecked: "translate-x-7",
3435
+ translateUnchecked: "translate-x-0.5"
3436
+ }
3437
+ }[i], N = m(
3438
+ "relative inline-flex items-center shrink-0 rounded-full transition-colors duration-200 ease-in-out",
3439
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2",
3440
+ h.track,
3441
+ // Light mode
3442
+ n ? "bg-primary-600 hover:bg-primary-700" : "bg-neutral-200 hover:bg-neutral-300",
3443
+ // Dark mode
3444
+ "dark:focus-visible:ring-offset-neutral-900",
3445
+ n ? "dark:bg-primary-500 dark:hover:bg-primary-600" : "dark:bg-neutral-700 dark:hover:bg-neutral-600",
3446
+ // Disabled
3447
+ l && "opacity-50 cursor-not-allowed",
3448
+ !l && "cursor-pointer",
3449
+ // RTL support - we'll use dir="rtl" on the track to flip the layout
3450
+ a && "rtl"
3451
+ ), A = m(
3452
+ "pointer-events-none inline-block rounded-full bg-white shadow-lg ring-0 transition-transform duration-200 ease-in-out",
3453
+ h.thumb,
3454
+ // Use same positive translations for both LTR and RTL
3455
+ // RTL flip happens via dir="rtl" attribute on parent
3456
+ n ? h.translateChecked : h.translateUnchecked,
3457
+ // Dark mode
3458
+ "dark:bg-neutral-200"
3459
+ ), C = m(
3460
+ "inline-flex items-center gap-3",
3461
+ a && "flex-row-reverse",
3462
+ d
3463
+ ), v = m(
3464
+ "text-sm font-medium",
3465
+ "text-neutral-900 dark:text-neutral-100",
3466
+ l && "opacity-50 cursor-not-allowed",
3467
+ !l && "cursor-pointer"
3468
+ );
3469
+ return /* @__PURE__ */ y("label", { className: C, dir: a ? "rtl" : void 0, children: [
3470
+ /* @__PURE__ */ t(
3471
+ "input",
3472
+ {
3473
+ ref: c,
3474
+ type: "checkbox",
3475
+ role: "switch",
3476
+ checked: n,
3477
+ onChange: g,
3478
+ disabled: l,
3479
+ className: "sr-only",
3480
+ ...s
3481
+ }
3482
+ ),
3483
+ /* @__PURE__ */ t("span", { className: N, dir: a ? "rtl" : void 0, children: /* @__PURE__ */ t("span", { className: A }) }),
3484
+ e && /* @__PURE__ */ t("span", { className: v, children: e })
3485
+ ] });
3486
+ }
3487
+ );
3488
+ dr.displayName = "Switcher";
3489
+ function me(...e) {
3490
+ return ne(te(e));
3491
+ }
3492
+ const ur = {
3493
+ Light: {
3494
+ Neutral: "bg-neutral-50 text-neutral-700 border border-neutral-100",
3495
+ Blue: "bg-blue-50 text-blue-700 border border-blue-100",
3496
+ Green: "bg-green-50 text-green-700 border border-green-100",
3497
+ Amber: "bg-amber-50 text-amber-700 border border-amber-100",
3498
+ Danger: "bg-critical-50 text-critical-700 border border-critical-100",
3499
+ Purple: "bg-purple-50 text-purple-700 border border-purple-100",
3500
+ Fuchsia: "bg-fuchsia-50 text-fuchsia-700 border border-fuchsia-100",
3501
+ Rose: "bg-rose-50 text-rose-700 border border-rose-100",
3502
+ Sky: "bg-sky-50 text-sky-700 border border-sky-100",
3503
+ Golden: "bg-golden-50 text-golden-700 border border-golden-100"
3504
+ },
3505
+ Outline: {
3506
+ Neutral: "bg-white text-neutral-700 border border-neutral-300",
3507
+ Blue: "bg-white text-neutral-700 border border-blue-300",
3508
+ Green: "bg-white text-neutral-700 border border-green-300",
3509
+ Amber: "bg-white text-neutral-700 border border-amber-300",
3510
+ Danger: "bg-white text-neutral-700 border border-critical-300",
3511
+ Purple: "bg-white text-neutral-700 border border-purple-300",
3512
+ Fuchsia: "bg-white text-neutral-700 border border-fuchsia-300",
3513
+ Rose: "bg-white text-neutral-700 border border-rose-300",
3514
+ Sky: "bg-white text-neutral-700 border border-sky-300",
3515
+ Golden: "bg-white text-neutral-700 border border-golden-300"
3516
+ },
3517
+ Solid: {
3518
+ Neutral: "bg-neutral-600 text-white border border-transparent",
3519
+ Blue: "bg-blue-600 text-white border border-transparent",
3520
+ Green: "bg-green-600 text-white border border-transparent",
3521
+ Amber: "bg-amber-600 text-white border border-transparent",
3522
+ Danger: "bg-critical-600 text-white border border-transparent",
3523
+ Purple: "bg-purple-600 text-white border border-transparent",
3524
+ Fuchsia: "bg-fuchsia-600 text-white border border-transparent",
3525
+ Rose: "bg-rose-600 text-white border border-transparent",
3526
+ Sky: "bg-sky-600 text-white border border-transparent",
3527
+ Golden: "bg-golden-600 text-white border border-transparent"
3528
+ }
3529
+ }, pr = {
3530
+ Light: {
3531
+ Neutral: "bg-neutral-600",
3532
+ Blue: "bg-blue-600",
3533
+ Green: "bg-green-600",
3534
+ Amber: "bg-amber-600",
3535
+ Danger: "bg-critical-600",
3536
+ Purple: "bg-purple-600",
3537
+ Fuchsia: "bg-fuchsia-600",
3538
+ Rose: "bg-rose-600",
3539
+ Sky: "bg-sky-600",
3540
+ Golden: "bg-golden-600"
3541
+ },
3542
+ Outline: {
3543
+ Neutral: "bg-neutral-600",
3544
+ Blue: "bg-blue-600",
3545
+ Green: "bg-green-600",
3546
+ Amber: "bg-amber-600",
3547
+ Danger: "bg-critical-600",
3548
+ Purple: "bg-purple-600",
3549
+ Fuchsia: "bg-fuchsia-600",
3550
+ Rose: "bg-rose-600",
3551
+ Sky: "bg-sky-600",
3552
+ Golden: "bg-golden-600"
3553
+ },
3554
+ Solid: {
3555
+ Neutral: "bg-white",
3556
+ Blue: "bg-white",
3557
+ Green: "bg-white",
3558
+ Amber: "bg-white",
3559
+ Danger: "bg-white",
3560
+ Purple: "bg-white",
3561
+ Fuchsia: "bg-white",
3562
+ Rose: "bg-white",
3563
+ Sky: "bg-white",
3564
+ Golden: "bg-white"
3565
+ }
3566
+ }, mr = {
3567
+ sm: "h-badge-sm px-2 py-0.5 gap-1 rounded-full",
3568
+ lg: "h-badge-lg px-2 py-1 gap-1.5 rounded-full"
3569
+ }, be = {
3570
+ sm: "h-3 w-3",
3571
+ lg: "h-4 w-4"
3572
+ }, br = {
3573
+ sm: "h-2 w-2",
3574
+ lg: "h-2.5 w-2.5"
3575
+ }, He = q(
3576
+ ({
3577
+ type: e = "Default",
3578
+ style: n = "Light",
3579
+ size: r = "sm",
3580
+ color: o = "Neutral",
3581
+ showNumber: i = !1,
3582
+ number: a,
3583
+ children: l,
3584
+ leadingIcon: d,
3585
+ trailingIcon: s,
3586
+ flagIcon: c,
3587
+ rtl: g = !1,
3588
+ className: w,
3589
+ ...h
3590
+ }, N) => {
3591
+ const A = g, C = me(
3592
+ "inline-flex items-center justify-center",
3593
+ "font-sans text-badge font-medium",
3594
+ "whitespace-nowrap",
3595
+ mr[r],
3596
+ ur[n][o],
3597
+ A && "font-sans-rtl flex-row-reverse",
3598
+ w
3599
+ ), v = (k, z) => /* @__PURE__ */ t("span", { className: me("flex items-center justify-center flex-shrink-0", z), children: k }), I = () => /* @__PURE__ */ t(
3600
+ "span",
3601
+ {
3602
+ className: me(
3603
+ "rounded-full flex-shrink-0",
3604
+ br[r],
3605
+ pr[n][o]
3606
+ )
3607
+ }
3608
+ ), j = () => c ? v(c, be[r]) : /* @__PURE__ */ t(
3609
+ "span",
3610
+ {
3611
+ className: me(
3612
+ "rounded-sm flex-shrink-0 bg-neutral-300",
3613
+ be[r]
3614
+ )
3615
+ }
3616
+ ), x = i && a !== void 0 ? ((k) => k > 99 ? "99+" : k.toString())(a) : l;
3617
+ return /* @__PURE__ */ t(
3618
+ "div",
3619
+ {
3620
+ ref: N,
3621
+ dir: A ? "rtl" : void 0,
3622
+ className: C,
3623
+ ...h,
3624
+ children: (() => {
3625
+ switch (e) {
3626
+ case "LeadingIcon":
3627
+ return /* @__PURE__ */ y(O, { children: [
3628
+ d && v(d, be[r]),
3629
+ x && /* @__PURE__ */ t("span", { className: "truncate", children: x })
3630
+ ] });
3631
+ case "TrailingIcon":
3632
+ return /* @__PURE__ */ y(O, { children: [
3633
+ x && /* @__PURE__ */ t("span", { className: "truncate", children: x }),
3634
+ s && v(s, be[r])
3635
+ ] });
3636
+ case "Dot":
3637
+ return /* @__PURE__ */ y(O, { children: [
3638
+ I(),
3639
+ x && /* @__PURE__ */ t("span", { className: "truncate", children: x })
3640
+ ] });
3641
+ case "Flag":
3642
+ return /* @__PURE__ */ y(O, { children: [
3643
+ j(),
3644
+ x && /* @__PURE__ */ t("span", { className: "truncate", children: x })
3645
+ ] });
3646
+ case "Default":
3647
+ default:
3648
+ return x && /* @__PURE__ */ t("span", { className: "truncate", children: x });
3649
+ }
3650
+ })()
3651
+ }
3652
+ );
3653
+ }
3654
+ );
3655
+ He.displayName = "Badge";
3656
+ const hr = {
3657
+ Danger: {
3658
+ icon: et,
3659
+ colors: {
3660
+ Outline: {
3661
+ bg: "bg-white",
3662
+ border: "border border-critical-200",
3663
+ iconColor: "text-critical-600",
3664
+ titleColor: "text-neutral-900",
3665
+ messageColor: "text-neutral-700",
3666
+ actionColor: "text-blue-600 hover:text-blue-700",
3667
+ closeColor: "text-neutral-600 hover:text-neutral-700"
3668
+ },
3669
+ Light: {
3670
+ bg: "bg-critical-50",
3671
+ border: "border-none",
3672
+ iconColor: "text-critical-600",
3673
+ titleColor: "text-critical-800",
3674
+ messageColor: "text-critical-700",
3675
+ actionColor: "text-neutral-900 hover:text-neutral-950",
3676
+ closeColor: "text-neutral-600 hover:text-neutral-700"
3677
+ },
3678
+ Solid: {
3679
+ bg: "bg-critical-600",
3680
+ border: "border-none",
3681
+ iconColor: "text-white",
3682
+ titleColor: "text-white",
3683
+ messageColor: "text-white opacity-80",
3684
+ actionColor: "text-white hover:text-white/90",
3685
+ closeColor: "text-white hover:text-white/90"
3686
+ }
3687
+ }
3688
+ },
3689
+ Success: {
3690
+ icon: Ze,
3691
+ colors: {
3692
+ Outline: {
3693
+ bg: "bg-white",
3694
+ border: "border border-green-200",
3695
+ iconColor: "text-green-600",
3696
+ titleColor: "text-neutral-900",
3697
+ messageColor: "text-neutral-700",
3698
+ actionColor: "text-blue-600 hover:text-blue-700",
3699
+ closeColor: "text-neutral-600 hover:text-neutral-700"
3700
+ },
3701
+ Light: {
3702
+ bg: "bg-green-50",
3703
+ border: "border-none",
3704
+ iconColor: "text-green-600",
3705
+ titleColor: "text-green-800",
3706
+ messageColor: "text-green-700",
3707
+ actionColor: "text-neutral-900 hover:text-neutral-950",
3708
+ closeColor: "text-neutral-600 hover:text-neutral-700"
3709
+ },
3710
+ Solid: {
3711
+ bg: "bg-green-600",
3712
+ border: "border-none",
3713
+ iconColor: "text-white",
3714
+ titleColor: "text-white",
3715
+ messageColor: "text-white opacity-80",
3716
+ actionColor: "text-white hover:text-white/90",
3717
+ closeColor: "text-white hover:text-white/90"
3718
+ }
3719
+ }
3720
+ },
3721
+ Warning: {
3722
+ icon: Qe,
3723
+ colors: {
3724
+ Outline: {
3725
+ bg: "bg-white",
3726
+ border: "border border-amber-200",
3727
+ iconColor: "text-amber-600",
3728
+ titleColor: "text-neutral-900",
3729
+ messageColor: "text-neutral-700",
3730
+ actionColor: "text-blue-600 hover:text-blue-700",
3731
+ closeColor: "text-neutral-600 hover:text-neutral-700"
3732
+ },
3733
+ Light: {
3734
+ bg: "bg-amber-50",
3735
+ border: "border-none",
3736
+ iconColor: "text-amber-600",
3737
+ titleColor: "text-amber-800",
3738
+ messageColor: "text-amber-700",
3739
+ actionColor: "text-neutral-900 hover:text-neutral-950",
3740
+ closeColor: "text-neutral-600 hover:text-neutral-700"
3741
+ },
3742
+ Solid: {
3743
+ bg: "bg-amber-500",
3744
+ border: "border-none",
3745
+ iconColor: "text-white",
3746
+ titleColor: "text-white",
3747
+ messageColor: "text-white opacity-80",
3748
+ actionColor: "text-white hover:text-white/90",
3749
+ closeColor: "text-white hover:text-white/90"
3750
+ }
3751
+ }
3752
+ },
3753
+ Info: {
3754
+ icon: Oe,
3755
+ colors: {
3756
+ Outline: {
3757
+ bg: "bg-white",
3758
+ border: "border border-blue-200",
3759
+ iconColor: "text-blue-600",
3760
+ titleColor: "text-neutral-900",
3761
+ messageColor: "text-neutral-700",
3762
+ actionColor: "text-blue-600 hover:text-blue-700",
3763
+ closeColor: "text-neutral-600 hover:text-neutral-700"
3764
+ },
3765
+ Light: {
3766
+ bg: "bg-blue-50",
3767
+ border: "border-none",
3768
+ iconColor: "text-blue-600",
3769
+ titleColor: "text-blue-800",
3770
+ messageColor: "text-blue-700",
3771
+ actionColor: "text-neutral-900 hover:text-neutral-950",
3772
+ closeColor: "text-neutral-600 hover:text-neutral-700"
3773
+ },
3774
+ Solid: {
3775
+ bg: "bg-blue-600",
3776
+ border: "border-none",
3777
+ iconColor: "text-white",
3778
+ titleColor: "text-white",
3779
+ messageColor: "text-white opacity-80",
3780
+ actionColor: "text-white hover:text-white/90",
3781
+ closeColor: "text-white hover:text-white/90"
3782
+ }
3783
+ }
3784
+ },
3785
+ Neutral: {
3786
+ icon: Je,
3787
+ colors: {
3788
+ Outline: {
3789
+ bg: "bg-white",
3790
+ border: "border border-neutral-300",
3791
+ iconColor: "text-neutral-600",
3792
+ titleColor: "text-neutral-900",
3793
+ messageColor: "text-neutral-700",
3794
+ actionColor: "text-blue-600 hover:text-blue-700",
3795
+ closeColor: "text-neutral-600 hover:text-neutral-700"
3796
+ },
3797
+ Light: {
3798
+ bg: "bg-neutral-100",
3799
+ border: "border-none",
3800
+ iconColor: "text-neutral-600",
3801
+ titleColor: "text-neutral-800",
3802
+ messageColor: "text-neutral-700",
3803
+ actionColor: "text-neutral-900 hover:text-neutral-950",
3804
+ closeColor: "text-neutral-600 hover:text-neutral-700"
3805
+ },
3806
+ Solid: {
3807
+ bg: "bg-neutral-600",
3808
+ border: "border-none",
3809
+ iconColor: "text-white",
3810
+ titleColor: "text-white",
3811
+ messageColor: "text-white opacity-80",
3812
+ actionColor: "text-white hover:text-white/90",
3813
+ closeColor: "text-white hover:text-white/90"
3814
+ }
3815
+ }
3816
+ }
3817
+ }, gr = q(
3818
+ ({
3819
+ style: e = "Outline",
3820
+ status: n = "Info",
3821
+ title: r = "Alert title",
3822
+ message: o,
3823
+ showActions: i = !1,
3824
+ primaryAction: a = "Action",
3825
+ secondaryAction: l = "Action",
3826
+ onPrimaryAction: d,
3827
+ onSecondaryAction: s,
3828
+ closable: c = !0,
3829
+ onClose: g,
3830
+ rtl: w = !1,
3831
+ rtlTitle: h,
3832
+ rtlMessage: N,
3833
+ rtlPrimaryAction: A = "زر الرابط",
3834
+ rtlSecondaryAction: C = "زر الرابط",
3835
+ className: v,
3836
+ ...I
3837
+ }, j) => {
3838
+ const M = hr[n], x = M.colors[e], F = M.icon, k = w, z = !!o, b = k && h ? h : r, _ = k && N ? N : o, U = k ? A : a, T = k ? C : l, $ = m(
3839
+ "flex items-start gap-2 px-4 py-3 rounded-control transition-all",
3840
+ x.bg,
3841
+ x.border,
3842
+ k && "font-sans-rtl"
3843
+ ), R = m("w-5 h-5 shrink-0", x.iconColor), B = m(
3844
+ "text-[15px] font-medium leading-[24px]",
3845
+ x.titleColor,
3846
+ k ? "text-right" : "text-left"
3847
+ ), G = m(
3848
+ "text-[14px] font-normal leading-[20px]",
3849
+ x.messageColor,
3850
+ k ? "text-right" : "text-left"
3851
+ ), E = m(
3852
+ "text-[15px] font-medium leading-[24px] underline cursor-pointer transition-colors",
3853
+ x.actionColor
3854
+ ), X = m(
3855
+ "w-5 h-5 shrink-0 cursor-pointer transition-colors",
3856
+ x.closeColor
3857
+ );
3858
+ return /* @__PURE__ */ y(
3859
+ "div",
3860
+ {
3861
+ ref: j,
3862
+ className: m($, v),
3863
+ dir: k ? "rtl" : void 0,
3864
+ ...I,
3865
+ children: [
3866
+ /* @__PURE__ */ y("div", { className: "flex-1 flex items-start gap-2", children: [
3867
+ !k && /* @__PURE__ */ t(F, { className: R }),
3868
+ /* @__PURE__ */ y("div", { className: "flex-1 flex flex-col gap-1", children: [
3869
+ /* @__PURE__ */ t("div", { className: B, dir: k ? "rtl" : void 0, children: b }),
3870
+ z && _ && /* @__PURE__ */ t("div", { className: G, dir: k ? "rtl" : void 0, children: _ }),
3871
+ i && z && /* @__PURE__ */ y("div", { className: m("flex gap-4 mt-2", k && "flex-row-reverse"), children: [
3872
+ d && /* @__PURE__ */ t(
3873
+ "button",
3874
+ {
3875
+ type: "button",
3876
+ onClick: d,
3877
+ className: E,
3878
+ children: U
3879
+ }
3880
+ ),
3881
+ s && /* @__PURE__ */ t(
3882
+ "button",
3883
+ {
3884
+ type: "button",
3885
+ onClick: s,
3886
+ className: E,
3887
+ children: T
3888
+ }
3889
+ )
3890
+ ] })
3891
+ ] }),
3892
+ k && /* @__PURE__ */ t(F, { className: R })
3893
+ ] }),
3894
+ i && !z && d && /* @__PURE__ */ t(
3895
+ "button",
3896
+ {
3897
+ type: "button",
3898
+ onClick: d,
3899
+ className: m(E, "shrink-0 whitespace-nowrap"),
3900
+ children: U
3901
+ }
3902
+ ),
3903
+ c && g && /* @__PURE__ */ t(
3904
+ "button",
3905
+ {
3906
+ type: "button",
3907
+ onClick: g,
3908
+ className: X,
3909
+ "aria-label": "Close",
3910
+ children: /* @__PURE__ */ t(tt, { className: "w-4 h-4" })
3911
+ }
3912
+ )
3913
+ ]
3914
+ }
3915
+ );
3916
+ }
3917
+ );
3918
+ gr.displayName = "Alert";
3919
+ const fr = q(
3920
+ ({
3921
+ direction: e = "horizontal",
3922
+ type: n = "solid",
3923
+ color: r,
3924
+ spacing: o = "none",
3925
+ className: i,
3926
+ ...a
3927
+ }, l) => {
3928
+ const d = {
3929
+ none: "",
3930
+ xs: e === "horizontal" ? "my-1" : "mx-1",
3931
+ sm: e === "horizontal" ? "my-2" : "mx-2",
3932
+ md: e === "horizontal" ? "my-4" : "mx-4",
3933
+ lg: e === "horizontal" ? "my-6" : "mx-6",
3934
+ xl: e === "horizontal" ? "my-8" : "mx-8"
3935
+ };
3936
+ return e === "horizontal" ? /* @__PURE__ */ t(
3937
+ "hr",
3938
+ {
3939
+ ref: l,
3940
+ className: m(
3941
+ "w-full border-0",
3942
+ n === "solid" ? "border-t border-solid" : "border-t border-dashed",
3943
+ r ? `border-[${r}]` : "border-neutral-200",
3944
+ d[o],
3945
+ i
3946
+ ),
3947
+ ...a
3948
+ }
3949
+ ) : /* @__PURE__ */ t(
3950
+ "div",
3951
+ {
3952
+ ref: l,
3953
+ className: m(
3954
+ "h-full",
3955
+ n === "solid" ? "border-l border-solid" : "border-l border-dashed",
3956
+ r ? `border-[${r}]` : "border-neutral-200",
3957
+ d[o],
3958
+ i
3959
+ ),
3960
+ ...a
3961
+ }
3962
+ );
3963
+ }
3964
+ );
3965
+ fr.displayName = "Divider";
3966
+ const xr = q(
3967
+ ({
3968
+ type: e = "default",
3969
+ state: n = "default",
3970
+ label: r = "Text item",
3971
+ supportText: o,
3972
+ leadingIcon: i,
3973
+ trailingIcon: a,
3974
+ avatarSrc: l,
3975
+ avatarInitials: d,
3976
+ badgeText: s,
3977
+ badgeVariant: c = "neutral",
3978
+ rightText: g,
3979
+ hasSwitch: w = !1,
3980
+ switchActive: h = !1,
3981
+ onSwitchChange: N,
3982
+ buttonText: A = "Button",
3983
+ onButtonClick: C,
3984
+ progress: v = 40,
3985
+ progressLabel: I = "Label",
3986
+ progressOptional: j = "(Optional)",
3987
+ caption: M,
3988
+ rtl: x = !1,
3989
+ onClick: F,
3990
+ className: k,
3991
+ ...z
3992
+ }, b) => {
3993
+ if (e === "divider")
3994
+ return /* @__PURE__ */ t(
3995
+ "div",
3996
+ {
3997
+ ref: b,
3998
+ className: m("flex items-center px-0 py-0.5", k),
3999
+ ...z,
4000
+ children: /* @__PURE__ */ t("div", { className: "flex-1 border-t border-neutral-200" })
4001
+ }
4002
+ );
4003
+ if (e === "button")
4004
+ return /* @__PURE__ */ t(
4005
+ "div",
4006
+ {
4007
+ ref: b,
4008
+ className: m("flex items-center px-1.5 py-0", k),
4009
+ ...z,
4010
+ children: /* @__PURE__ */ t(
4011
+ "button",
4012
+ {
4013
+ onClick: C,
4014
+ className: m(
4015
+ "w-full h-8 px-1.5 py-2 flex items-center justify-center",
4016
+ "border border-neutral-300 rounded-lg",
4017
+ "text-[15px] font-medium leading-6 text-neutral-900",
4018
+ "hover:bg-neutral-50 transition-colors",
4019
+ n === "disabled" && "opacity-50 cursor-not-allowed"
4020
+ ),
4021
+ disabled: n === "disabled",
4022
+ children: A
4023
+ }
4024
+ )
4025
+ }
4026
+ );
4027
+ if (e === "label")
4028
+ return /* @__PURE__ */ y(
4029
+ "div",
4030
+ {
4031
+ ref: b,
4032
+ className: m(
4033
+ "flex items-center gap-0 px-4 py-1",
4034
+ "text-[13px] leading-5",
4035
+ x && "flex-row-reverse",
4036
+ k
4037
+ ),
4038
+ ...z,
4039
+ children: [
4040
+ /* @__PURE__ */ t("div", { className: m("flex-1", x && "text-right"), children: /* @__PURE__ */ t("p", { className: "font-medium text-neutral-900", children: r }) }),
4041
+ M && /* @__PURE__ */ t("p", { className: "text-neutral-600", children: M })
4042
+ ]
4043
+ }
4044
+ );
4045
+ if (e === "caption")
4046
+ return /* @__PURE__ */ t(
4047
+ "div",
4048
+ {
4049
+ ref: b,
4050
+ className: m("flex items-center px-1.5 py-0", k),
4051
+ ...z,
4052
+ children: /* @__PURE__ */ t("div", { className: "flex items-center justify-center px-1.5 py-1", children: /* @__PURE__ */ t("p", { className: m(
4053
+ "flex-1 text-[13px] leading-5 text-neutral-600",
4054
+ x && "text-right"
4055
+ ), children: "Lorem ipsum dolor sit amet" }) })
4056
+ }
4057
+ );
4058
+ if (e === "progress")
4059
+ return /* @__PURE__ */ t(
4060
+ "div",
4061
+ {
4062
+ ref: b,
4063
+ className: m("flex items-center px-1.5 py-0", x && "justify-end", k),
4064
+ ...z,
4065
+ children: /* @__PURE__ */ t("div", { className: "flex flex-col items-start px-1.5 py-1 flex-1", children: /* @__PURE__ */ y("div", { className: "flex flex-col gap-2 items-start w-full", children: [
4066
+ /* @__PURE__ */ t("div", { className: "flex flex-col items-center justify-center w-full", children: /* @__PURE__ */ t("div", { className: "bg-neutral-200 h-2 rounded-full w-full relative", children: /* @__PURE__ */ t(
4067
+ "div",
4068
+ {
4069
+ className: "absolute left-0 top-0 h-full bg-blue-500 rounded-full transition-all",
4070
+ style: { width: `${v}%` }
4071
+ }
4072
+ ) }) }),
4073
+ /* @__PURE__ */ y("div", { className: m(
4074
+ "flex gap-2 items-center w-full",
4075
+ x && "flex-row-reverse"
4076
+ ), children: [
4077
+ /* @__PURE__ */ y("div", { className: m("flex items-center gap-1 flex-1", x && "flex-row-reverse justify-end"), children: [
4078
+ /* @__PURE__ */ t("p", { className: m(
4079
+ "text-[13px] leading-5 font-medium text-neutral-900",
4080
+ x && "text-right"
4081
+ ), children: I }),
4082
+ /* @__PURE__ */ t("p", { className: "text-[13px] leading-5 text-neutral-600", children: j })
4083
+ ] }),
4084
+ /* @__PURE__ */ t("div", { className: "flex gap-0.5 items-center", children: /* @__PURE__ */ y("p", { className: "text-[12px] leading-4 text-neutral-600", children: [
4085
+ v,
4086
+ "%"
4087
+ ] }) })
4088
+ ] })
4089
+ ] }) })
4090
+ }
4091
+ );
4092
+ const _ = n === "disabled", T = m(
4093
+ "flex gap-1 items-center px-1.5 py-1 rounded-md flex-1 transition-colors cursor-pointer",
4094
+ e === "multiline" && "min-h-[48px] py-1",
4095
+ n === "hover" && !_ && "bg-neutral-100",
4096
+ _ && "opacity-60 cursor-not-allowed",
4097
+ x && "flex-row-reverse"
4098
+ ), $ = () => {
4099
+ const R = [];
4100
+ if (i && R.push(
4101
+ /* @__PURE__ */ t("div", { className: m("flex items-center pl-0.5 pr-0", x && "pl-0 pr-0.5"), children: /* @__PURE__ */ t(
4102
+ i,
4103
+ {
4104
+ className: m(
4105
+ "h-5 w-5",
4106
+ _ ? "text-neutral-400" : "text-neutral-600"
4107
+ )
4108
+ }
4109
+ ) }, "leading-icon")
4110
+ ), l || d) {
4111
+ const B = e === "multiline" ? "h-10 w-10" : "h-6 w-6", G = e === "multiline" ? "text-sm" : "text-xs";
4112
+ R.push(
4113
+ /* @__PURE__ */ t("div", { className: m("flex items-center pl-0.5 pr-0", x && "pl-0 pr-0.5"), children: l ? /* @__PURE__ */ t(
4114
+ "img",
4115
+ {
4116
+ src: l,
4117
+ alt: d || "Avatar",
4118
+ className: m(
4119
+ B,
4120
+ "rounded-full border border-neutral-200 object-cover",
4121
+ _ && "opacity-60"
4122
+ )
4123
+ }
4124
+ ) : /* @__PURE__ */ t(
4125
+ "div",
4126
+ {
4127
+ className: m(
4128
+ B,
4129
+ "rounded-full bg-blue-100 border border-neutral-200",
4130
+ "flex items-center justify-center",
4131
+ G,
4132
+ "font-medium text-blue-700",
4133
+ _ && "opacity-60"
4134
+ ),
4135
+ children: d || "??"
4136
+ }
4137
+ ) }, "avatar")
4138
+ );
4139
+ }
4140
+ return e === "multiline" || e === "cta" ? R.push(
4141
+ /* @__PURE__ */ y(
4142
+ "div",
4143
+ {
4144
+ className: m(
4145
+ "flex flex-col items-start flex-1 pl-1 pr-0",
4146
+ x && "pl-0 pr-1 items-end text-right"
4147
+ ),
4148
+ children: [
4149
+ /* @__PURE__ */ t("p", { className: m(
4150
+ "text-[15px] leading-6",
4151
+ _ ? "text-neutral-400" : "text-neutral-900"
4152
+ ), children: r }),
4153
+ o && /* @__PURE__ */ t("p", { className: m(
4154
+ "text-[12px] leading-4",
4155
+ _ ? "text-neutral-400" : "text-neutral-600"
4156
+ ), children: o })
4157
+ ]
4158
+ },
4159
+ "text"
4160
+ )
4161
+ ) : R.push(
4162
+ /* @__PURE__ */ t(
4163
+ "div",
4164
+ {
4165
+ className: m(
4166
+ "flex items-center flex-1 pl-1 pr-0",
4167
+ x && "pl-0 pr-1 justify-end"
4168
+ ),
4169
+ children: /* @__PURE__ */ t("p", { className: m(
4170
+ "text-[15px] leading-6",
4171
+ _ ? "text-neutral-400" : "text-neutral-900",
4172
+ x && "text-right"
4173
+ ), children: r })
4174
+ },
4175
+ "text"
4176
+ )
4177
+ ), w && R.push(
4178
+ /* @__PURE__ */ t("div", { className: "flex flex-col items-center", children: /* @__PURE__ */ t(
4179
+ "button",
4180
+ {
4181
+ onClick: (B) => {
4182
+ B.stopPropagation(), !_ && N && N(!h);
4183
+ },
4184
+ disabled: _,
4185
+ className: m(
4186
+ "w-8 h-[18px] p-[3px] rounded-full flex items-center transition-colors",
4187
+ h ? "bg-green-500 justify-end" : "bg-neutral-300 justify-start",
4188
+ _ && "opacity-50 cursor-not-allowed"
4189
+ ),
4190
+ children: /* @__PURE__ */ t("div", { className: "w-3.5 h-3.5 bg-white rounded-full shadow-sm" })
4191
+ }
4192
+ ) }, "switch")
4193
+ ), s && R.push(
4194
+ /* @__PURE__ */ t("div", { className: "flex flex-col items-center", children: /* @__PURE__ */ t(He, { color: c, size: "sm", children: s }) }, "badge")
4195
+ ), g && R.push(
4196
+ /* @__PURE__ */ t("div", { className: "flex items-center", children: /* @__PURE__ */ t("p", { className: m(
4197
+ "text-[12px] leading-4",
4198
+ _ ? "text-neutral-400" : "text-neutral-600",
4199
+ x && "text-left"
4200
+ ), children: g }) }, "right-text")
4201
+ ), e === "cta" && R.push(
4202
+ /* @__PURE__ */ t(
4203
+ "button",
4204
+ {
4205
+ onClick: (B) => {
4206
+ B.stopPropagation(), !_ && C && C();
4207
+ },
4208
+ disabled: _,
4209
+ className: m(
4210
+ "h-8 px-1.5 py-2 flex items-center justify-center",
4211
+ "border border-neutral-300 rounded-lg",
4212
+ "text-[15px] font-medium leading-6 text-neutral-900",
4213
+ "hover:bg-neutral-50 transition-colors",
4214
+ _ && "opacity-50 cursor-not-allowed"
4215
+ ),
4216
+ children: A
4217
+ },
4218
+ "cta-button"
4219
+ )
4220
+ ), a && R.push(
4221
+ /* @__PURE__ */ t("div", { className: "flex items-center", children: /* @__PURE__ */ t(
4222
+ a,
4223
+ {
4224
+ className: m(
4225
+ "h-4 w-4",
4226
+ _ ? "text-neutral-400" : "text-neutral-500"
4227
+ )
4228
+ }
4229
+ ) }, "trailing-icon")
4230
+ ), x ? R.reverse() : R;
4231
+ };
4232
+ return /* @__PURE__ */ t(
4233
+ "div",
4234
+ {
4235
+ ref: b,
4236
+ className: m(
4237
+ "flex items-center gap-0 px-1.5 py-0",
4238
+ x && "justify-end",
4239
+ k
4240
+ ),
4241
+ onClick: _ ? void 0 : F,
4242
+ ...z,
4243
+ children: /* @__PURE__ */ t("div", { className: T, children: $() })
4244
+ }
4245
+ );
4246
+ }
4247
+ );
4248
+ xr.displayName = "MenuItem";
4249
+ const wr = q(
4250
+ ({
4251
+ children: e,
4252
+ width: n = 260,
4253
+ rtl: r = !1,
4254
+ className: o,
4255
+ ...i
4256
+ }, a) => /* @__PURE__ */ t(
4257
+ "div",
4258
+ {
4259
+ ref: a,
4260
+ className: m(
4261
+ "bg-white border border-neutral-200 rounded-xl shadow-lg",
4262
+ "flex flex-col gap-1 items-start py-1.5",
4263
+ "overflow-hidden",
4264
+ o
4265
+ ),
4266
+ style: { width: typeof n == "number" ? `${n}px` : n },
4267
+ ...i,
4268
+ children: e
4269
+ }
4270
+ )
4271
+ );
4272
+ wr.displayName = "Menu";
4273
+ function V(...e) {
4274
+ return ne(te(e));
4275
+ }
4276
+ const vr = q(
4277
+ ({
4278
+ label: e = "Enter question title",
4279
+ description: n = "Ants are fascinating insects known for their complex social structures and teamwork. They communicate through pheromones and work together to build intricate nests. Ants play crucial roles in ecosystems, from soil aeration to seed dispersal.",
4280
+ icon: r = !0,
4281
+ iconLeft: o,
4282
+ badge: i = !0,
4283
+ badgeText: a = "Badge",
4284
+ action: l = !0,
4285
+ actionText: d = "Button",
4286
+ onActionClick: s,
4287
+ style: c = "Default",
4288
+ state: g = "Default",
4289
+ rtl: w = !1,
4290
+ expandable: h = !1,
4291
+ expanded: N,
4292
+ onToggle: A,
4293
+ rtlLabel: C,
4294
+ rtlDescription: v,
4295
+ className: I,
4296
+ ...j
4297
+ }, M) => {
4298
+ const [x, F] = Ge(!1), k = N !== void 0 ? N : x, z = w, b = () => {
4299
+ if (h) {
4300
+ const Q = !k;
4301
+ N === void 0 && F(Q), A == null || A(Q);
4302
+ }
4303
+ }, _ = z && C ? C : e, U = z && v ? v : n, T = V(
4304
+ "flex items-start gap-3 p-5",
4305
+ "transition-all duration-150 ease-in-out",
4306
+ h && "cursor-pointer",
4307
+ "w-full",
4308
+ // RTL support
4309
+ z && "font-sans-rtl",
4310
+ // Style-specific classes
4311
+ c === "Default" ? V(
4312
+ "border-b border-neutral-200",
4313
+ g === "Hover" && h && "bg-neutral-50"
4314
+ ) : V(
4315
+ "border border-neutral-200 rounded-xl",
4316
+ "shadow-component-default",
4317
+ g === "Hover" && h && "bg-neutral-50",
4318
+ // Inner shadow for Boxed style
4319
+ "relative"
4320
+ ),
4321
+ I
4322
+ ), $ = V(
4323
+ "flex flex-col justify-center",
4324
+ "font-semibold text-[17px] leading-[28px]",
4325
+ "text-neutral-900",
4326
+ z ? "text-right" : "text-left"
4327
+ ), R = V(
4328
+ "text-[15px] leading-[24px]",
4329
+ "text-neutral-600",
4330
+ z ? "text-right" : "text-left"
4331
+ ), B = V(
4332
+ "flex items-center justify-center",
4333
+ "h-7 px-3 py-0",
4334
+ "bg-neutral-50 rounded-full",
4335
+ "text-[12px] leading-[16px] font-medium",
4336
+ "text-neutral-900 whitespace-nowrap"
4337
+ ), G = o || (r ? /* @__PURE__ */ t(Oe, { className: "h-6 w-6 text-neutral-600 flex-shrink-0" }) : null), E = k ? rt : ot, X = V(
4338
+ "h-6 w-6 text-neutral-500 flex-shrink-0"
4339
+ ), f = h ? "button" : "div", ae = h ? {
4340
+ ref: M,
4341
+ type: "button",
4342
+ onClick: b,
4343
+ ...j
4344
+ } : {
4345
+ ...j
4346
+ };
4347
+ return /* @__PURE__ */ y(
4348
+ f,
4349
+ {
4350
+ ...ae,
4351
+ dir: z ? "rtl" : void 0,
4352
+ className: T,
4353
+ children: [
4354
+ G && !z && /* @__PURE__ */ t("div", { className: "flex-shrink-0", children: G }),
4355
+ h && z && /* @__PURE__ */ t("div", { className: "flex-shrink-0", children: /* @__PURE__ */ t(E, { className: X }) }),
4356
+ /* @__PURE__ */ y("div", { className: V(
4357
+ "flex flex-col gap-1.5 flex-1 min-w-0",
4358
+ z ? "items-end" : "items-start"
4359
+ ), children: [
4360
+ /* @__PURE__ */ t("div", { className: V(
4361
+ "flex gap-1.5 items-start w-full",
4362
+ z ? "flex-row-reverse" : "flex-row"
4363
+ ), children: z ? /* @__PURE__ */ y(O, { children: [
4364
+ i && /* @__PURE__ */ t("div", { className: V(B, "font-sans-rtl"), dir: "rtl", children: a }),
4365
+ /* @__PURE__ */ t("div", { className: V($, "flex-1"), dir: "rtl", children: /* @__PURE__ */ t("p", { children: _ }) })
4366
+ ] }) : /* @__PURE__ */ y(O, { children: [
4367
+ /* @__PURE__ */ t("div", { className: V($, "flex-1"), children: /* @__PURE__ */ t("p", { children: _ }) }),
4368
+ i && /* @__PURE__ */ t("div", { className: B, children: a })
4369
+ ] }) }),
4370
+ k && U && /* @__PURE__ */ t("div", { className: "w-full", dir: z ? "rtl" : void 0, children: /* @__PURE__ */ t("p", { className: R, children: U }) }),
4371
+ k && l && /* @__PURE__ */ t("div", { className: "pt-4 w-full flex", style: { justifyContent: z ? "flex-end" : "flex-start" }, children: /* @__PURE__ */ y(
4372
+ "button",
4373
+ {
4374
+ type: "button",
4375
+ onClick: (Q) => {
4376
+ Q.stopPropagation(), s == null || s();
4377
+ },
4378
+ className: V(
4379
+ "relative flex items-center justify-center gap-1",
4380
+ "h-10 px-2.5 py-2",
4381
+ "bg-neutral-50 border border-neutral-300 rounded-control",
4382
+ "shadow-component-default",
4383
+ "text-[15px] leading-[24px] font-medium text-neutral-900",
4384
+ "hover:bg-neutral-100 transition-colors",
4385
+ "cursor-pointer"
4386
+ ),
4387
+ dir: z ? "rtl" : void 0,
4388
+ children: [
4389
+ /* @__PURE__ */ t(ve, { className: "h-5 w-5 flex-shrink-0" }),
4390
+ /* @__PURE__ */ t("span", { className: "px-1 whitespace-nowrap", children: z ? "انقر هنا" : d }),
4391
+ /* @__PURE__ */ t(ve, { className: "h-5 w-5 flex-shrink-0" }),
4392
+ /* @__PURE__ */ t("div", { className: "absolute inset-0 pointer-events-none rounded-control shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]" })
4393
+ ]
4394
+ }
4395
+ ) })
4396
+ ] }),
4397
+ h && !z && /* @__PURE__ */ t("div", { className: "flex-shrink-0", children: /* @__PURE__ */ t(E, { className: X }) }),
4398
+ G && z && /* @__PURE__ */ t("div", { className: "flex-shrink-0", children: G }),
4399
+ c === "Boxed" && /* @__PURE__ */ t("div", { className: "absolute inset-0 pointer-events-none rounded-xl shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]" })
4400
+ ]
4401
+ }
4402
+ );
4403
+ }
4404
+ );
4405
+ vr.displayName = "Accordion";
4406
+ function je(...e) {
4407
+ return ne(te(e));
4408
+ }
4409
+ const zr = ({ code: e, language: n = "tsx", className: r }) => {
4410
+ const [o, i] = Ge(!1), a = async () => {
4411
+ try {
4412
+ await navigator.clipboard.writeText(e), i(!0), setTimeout(() => i(!1), 2e3);
4413
+ } catch (d) {
4414
+ console.error("Failed to copy:", d);
4415
+ }
4416
+ }, l = (d) => {
4417
+ let s = d;
4418
+ return s = s.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), s = s.replace(
4419
+ /(&quot;[^&]*&quot;|'[^']*'|"[^"]*")/g,
4420
+ '<span class="token string">$1</span>'
4421
+ ), s = s.replace(
4422
+ /(`[^`]*`)/g,
4423
+ '<span class="token template">$1</span>'
4424
+ ), s = s.replace(
4425
+ /(\/\/.*$)/gm,
4426
+ '<span class="token comment">$1</span>'
4427
+ ), s = s.replace(
4428
+ /(\/\*[\s\S]*?\*\/)/g,
4429
+ '<span class="token comment">$1</span>'
4430
+ ), [
4431
+ "import",
4432
+ "export",
4433
+ "from",
4434
+ "const",
4435
+ "let",
4436
+ "var",
4437
+ "function",
4438
+ "return",
4439
+ "if",
4440
+ "else",
4441
+ "for",
4442
+ "while",
4443
+ "class",
4444
+ "extends",
4445
+ "new",
4446
+ "this",
4447
+ "true",
4448
+ "false",
4449
+ "null",
4450
+ "undefined",
4451
+ "typeof",
4452
+ "instanceof",
4453
+ "async",
4454
+ "await"
4455
+ ].forEach((g) => {
4456
+ const w = new RegExp(`\\b(${g})\\b`, "g");
4457
+ s = s.replace(
4458
+ w,
4459
+ '<span class="token keyword">$1</span>'
4460
+ );
4461
+ }), s = s.replace(
4462
+ /(&lt;\/?)([\w]+)/g,
4463
+ '$1<span class="token tag">$2</span>'
4464
+ ), s = s.replace(
4465
+ /\s([\w-]+)=/g,
4466
+ ' <span class="token attr">$1</span>='
4467
+ ), s = s.replace(
4468
+ /\b(\d+)\b/g,
4469
+ '<span class="token number">$1</span>'
4470
+ ), s = s.replace(
4471
+ /(\{|\})/g,
4472
+ '<span class="token punctuation">$1</span>'
4473
+ ), s;
4474
+ };
4475
+ return /* @__PURE__ */ y("div", { className: je("rounded-lg overflow-hidden border border-neutral-800", r), children: [
4476
+ /* @__PURE__ */ y("div", { className: "flex items-center justify-between px-4 py-3 bg-docs-code-bg border-b border-neutral-700", children: [
4477
+ /* @__PURE__ */ t("span", { className: "text-xs font-medium text-neutral-400 uppercase tracking-wider", children: n }),
4478
+ /* @__PURE__ */ t(
4479
+ "button",
4480
+ {
4481
+ className: je(
4482
+ "inline-flex items-center gap-1.5 px-2.5 py-1",
4483
+ "text-xs font-medium rounded",
4484
+ "bg-neutral-800 border border-neutral-700",
4485
+ "text-neutral-400 hover:text-white",
4486
+ "hover:bg-neutral-700 hover:border-neutral-600",
4487
+ "transition-colors duration-150",
4488
+ "focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500"
4489
+ ),
4490
+ onClick: a,
4491
+ "aria-label": "Copy code",
4492
+ children: o ? /* @__PURE__ */ y(O, { children: [
4493
+ /* @__PURE__ */ t(Le, { className: "h-3.5 w-3.5" }),
4494
+ /* @__PURE__ */ t("span", { children: "Copied!" })
4495
+ ] }) : /* @__PURE__ */ y(O, { children: [
4496
+ /* @__PURE__ */ t(nt, { className: "h-3.5 w-3.5" }),
4497
+ /* @__PURE__ */ t("span", { children: "Copy" })
4498
+ ] })
4499
+ }
4500
+ )
4501
+ ] }),
4502
+ /* @__PURE__ */ t("pre", { className: "m-0 p-4 bg-docs-code-bg overflow-x-auto", children: /* @__PURE__ */ t(
4503
+ "code",
4504
+ {
4505
+ className: "font-mono text-[13px] leading-relaxed text-docs-code-text",
4506
+ dangerouslySetInnerHTML: { __html: l(e) }
4507
+ }
4508
+ ) })
4509
+ ] });
4510
+ };
4511
+ export {
4512
+ vr as Accordion,
4513
+ gr as Alert,
4514
+ He as Badge,
4515
+ tr as Button,
4516
+ lr as ButtonGroup,
4517
+ ir as Checkbox,
4518
+ cr as CheckmarkCard,
4519
+ zr as CodeBlock,
4520
+ fr as Divider,
4521
+ wr as Menu,
4522
+ ar as SocialButton,
4523
+ dr as Switcher,
4524
+ m as cn
4525
+ };
4526
+ //# sourceMappingURL=index.js.map