@geovi/the-datagrid 0.0.9 → 0.0.10

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.
Files changed (121) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +163 -72
  3. package/THIRD_PARTY_NOTICES.md +10 -0
  4. package/community-api-manifest.json +324 -0
  5. package/dist/BoolEditor.cjs +2 -0
  6. package/dist/BoolEditor.js +3503 -0
  7. package/dist/BoolFilter.cjs +2 -0
  8. package/dist/BoolFilter.js +3527 -0
  9. package/dist/DateEditor.cjs +2 -0
  10. package/dist/DateEditor.js +2922 -0
  11. package/dist/DateFilter.cjs +2 -0
  12. package/dist/DateFilter.js +2979 -0
  13. package/dist/NumberFilter.cjs +2 -0
  14. package/dist/NumberFilter.js +2968 -0
  15. package/dist/NumericEditor.cjs +2 -0
  16. package/dist/NumericEditor.js +2923 -0
  17. package/dist/SelectFilter.cjs +42 -0
  18. package/dist/SelectFilter.js +8275 -0
  19. package/dist/StringFilter.cjs +2 -0
  20. package/dist/StringFilter.js +2949 -0
  21. package/dist/base.css +1 -0
  22. package/dist/community-api-manifest.json +324 -0
  23. package/dist/community-package-manifest.json +35 -0
  24. package/dist/components/ui/button.d.ts +1 -1
  25. package/dist/components/ui/dropdown-menu.d.ts +2 -2
  26. package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
  27. package/dist/components/ui/scroll-area.d.ts +14 -1
  28. package/dist/components/ui/scroll-area.d.ts.map +1 -1
  29. package/dist/editors/BoolEditor.d.ts +8 -0
  30. package/dist/editors/BoolEditor.d.ts.map +1 -0
  31. package/dist/editors/DateEditor.d.ts +17 -0
  32. package/dist/editors/DateEditor.d.ts.map +1 -0
  33. package/dist/editors/NumericEditor.d.ts +11 -0
  34. package/dist/editors/NumericEditor.d.ts.map +1 -0
  35. package/dist/editors/editorTypes.d.ts +21 -0
  36. package/dist/editors/editorTypes.d.ts.map +1 -0
  37. package/dist/editors/index.d.ts +8 -0
  38. package/dist/editors/index.d.ts.map +1 -0
  39. package/dist/filters/editors/BoolFilter.d.ts +21 -0
  40. package/dist/filters/editors/BoolFilter.d.ts.map +1 -0
  41. package/dist/filters/editors/DateFilter.d.ts +8 -9
  42. package/dist/filters/editors/DateFilter.d.ts.map +1 -1
  43. package/dist/filters/editors/NumberFilter.d.ts +8 -9
  44. package/dist/filters/editors/NumberFilter.d.ts.map +1 -1
  45. package/dist/filters/editors/SelectFilter.d.ts +10 -11
  46. package/dist/filters/editors/SelectFilter.d.ts.map +1 -1
  47. package/dist/filters/editors/StringFilter.d.ts +25 -0
  48. package/dist/filters/editors/StringFilter.d.ts.map +1 -0
  49. package/dist/filters/editors/editorTypes.d.ts +13 -0
  50. package/dist/filters/editors/editorTypes.d.ts.map +1 -0
  51. package/dist/filters/editors/index.d.ts +8 -0
  52. package/dist/filters/editors/index.d.ts.map +1 -1
  53. package/dist/filters/utils.d.ts +9 -0
  54. package/dist/filters/utils.d.ts.map +1 -1
  55. package/dist/grid/ReactDataGrid.d.ts +6 -4
  56. package/dist/grid/ReactDataGrid.d.ts.map +1 -1
  57. package/dist/grid/components/ColumnGroupHeaderCell.d.ts +29 -0
  58. package/dist/grid/components/ColumnGroupHeaderCell.d.ts.map +1 -0
  59. package/dist/grid/components/FilterCell.d.ts +11 -1
  60. package/dist/grid/components/FilterCell.d.ts.map +1 -1
  61. package/dist/grid/components/FilterOperatorMenu.d.ts +10 -1
  62. package/dist/grid/components/FilterOperatorMenu.d.ts.map +1 -1
  63. package/dist/grid/components/GridBody.d.ts +29 -1
  64. package/dist/grid/components/GridBody.d.ts.map +1 -1
  65. package/dist/grid/components/GridContextMenuLayer.d.ts +27 -0
  66. package/dist/grid/components/GridContextMenuLayer.d.ts.map +1 -0
  67. package/dist/grid/components/GridHeader.d.ts +37 -2
  68. package/dist/grid/components/GridHeader.d.ts.map +1 -1
  69. package/dist/grid/components/HeaderCell.d.ts +14 -2
  70. package/dist/grid/components/HeaderCell.d.ts.map +1 -1
  71. package/dist/grid/components/MobileGridList.d.ts +13 -2
  72. package/dist/grid/components/MobileGridList.d.ts.map +1 -1
  73. package/dist/grid/engine/tanstackAdapter.d.ts.map +1 -1
  74. package/dist/grid/utils/columnGroups.d.ts +75 -0
  75. package/dist/grid/utils/columnGroups.d.ts.map +1 -0
  76. package/dist/grid/utils/columnSizing.d.ts +2 -1
  77. package/dist/grid/utils/columnSizing.d.ts.map +1 -1
  78. package/dist/grid/utils/contextMenuPosition.d.ts +8 -0
  79. package/dist/grid/utils/contextMenuPosition.d.ts.map +1 -0
  80. package/dist/grid/utils/editing.d.ts +6 -1
  81. package/dist/grid/utils/editing.d.ts.map +1 -1
  82. package/dist/index.cjs +48 -0
  83. package/dist/index.css +1 -1
  84. package/dist/index.js +14180 -9784
  85. package/dist/main.d.ts +5 -2
  86. package/dist/main.d.ts.map +1 -1
  87. package/dist/sorting/utils.d.ts +24 -7
  88. package/dist/sorting/utils.d.ts.map +1 -1
  89. package/dist/style/theme/amber-dark/index.css +1 -0
  90. package/dist/style/theme/amber-light/index.css +1 -0
  91. package/dist/style/theme/blue-dark/index.css +1 -0
  92. package/dist/style/theme/blue-light/index.css +1 -0
  93. package/dist/style/theme/default-dark/index.css +1 -0
  94. package/dist/style/theme/default-light/index.css +1 -0
  95. package/dist/style/theme/green-dark/index.css +1 -0
  96. package/dist/style/theme/green-light/index.css +1 -0
  97. package/dist/style/theme/pink-dark/index.css +1 -0
  98. package/dist/style/theme/pink-light/index.css +1 -0
  99. package/dist/types/TypeColumn.d.ts +2 -0
  100. package/dist/types/TypeColumn.d.ts.map +1 -0
  101. package/dist/types/TypeDataGridProps.d.ts +2 -0
  102. package/dist/types/TypeDataGridProps.d.ts.map +1 -0
  103. package/dist/types/TypeDataSource.d.ts +2 -0
  104. package/dist/types/TypeDataSource.d.ts.map +1 -0
  105. package/dist/types/TypeFilterValue.d.ts +2 -0
  106. package/dist/types/TypeFilterValue.d.ts.map +1 -0
  107. package/dist/types/TypePaginationProps.d.ts +2 -0
  108. package/dist/types/TypePaginationProps.d.ts.map +1 -0
  109. package/dist/types/TypeSelected.d.ts +2 -0
  110. package/dist/types/TypeSelected.d.ts.map +1 -0
  111. package/dist/types/TypeSize.d.ts +2 -0
  112. package/dist/types/TypeSize.d.ts.map +1 -0
  113. package/dist/types/TypeSortInfo.d.ts +2 -0
  114. package/dist/types/TypeSortInfo.d.ts.map +1 -0
  115. package/dist/types/index.cjs +2 -0
  116. package/dist/types/index.d.ts +4 -0
  117. package/dist/types/index.d.ts.map +1 -0
  118. package/dist/types/index.js +4 -0
  119. package/dist/types.d.ts +566 -20
  120. package/dist/types.d.ts.map +1 -1
  121. package/package.json +184 -8
@@ -0,0 +1,2922 @@
1
+ import * as Ce from "react";
2
+ const je = Ce, b = je.default ?? Ce;
3
+ b.Children;
4
+ b.Component;
5
+ b.Fragment;
6
+ b.PureComponent;
7
+ b.cloneElement;
8
+ const Fe = b.createContext, se = b.createElement;
9
+ b.createRef;
10
+ const _e = b.forwardRef;
11
+ b.isValidElement;
12
+ b.lazy;
13
+ b.memo;
14
+ b.useCallback;
15
+ const Be = b.useContext;
16
+ b.useDebugValue;
17
+ b.useDeferredValue;
18
+ const We = b.useEffect;
19
+ b.useId;
20
+ b.useImperativeHandle;
21
+ b.useInsertionEffect;
22
+ b.useLayoutEffect;
23
+ b.useMemo;
24
+ b.useReducer;
25
+ const $e = b.useRef, ze = b.useState;
26
+ b.use;
27
+ b.version;
28
+ function Se(e) {
29
+ var r, o, t = "";
30
+ if (typeof e == "string" || typeof e == "number") t += e;
31
+ else if (typeof e == "object") if (Array.isArray(e)) {
32
+ var i = e.length;
33
+ for (r = 0; r < i; r++) e[r] && (o = Se(e[r])) && (t && (t += " "), t += o);
34
+ } else for (o in e) e[o] && (t && (t += " "), t += o);
35
+ return t;
36
+ }
37
+ function Ue() {
38
+ for (var e, r, o = 0, t = "", i = arguments.length; o < i; o++) (e = arguments[o]) && (r = Se(e)) && (t && (t += " "), t += r);
39
+ return t;
40
+ }
41
+ const Ye = (e, r) => {
42
+ const o = new Array(e.length + r.length);
43
+ for (let t = 0; t < e.length; t++)
44
+ o[t] = e[t];
45
+ for (let t = 0; t < r.length; t++)
46
+ o[e.length + t] = r[t];
47
+ return o;
48
+ }, Ke = (e, r) => ({
49
+ classGroupId: e,
50
+ validator: r
51
+ }), Ae = (e = /* @__PURE__ */ new Map(), r = null, o) => ({
52
+ nextPart: e,
53
+ validators: r,
54
+ classGroupId: o
55
+ }), Z = "-", he = [], qe = "arbitrary..", He = (e) => {
56
+ const r = Je(e), {
57
+ conflictingClassGroups: o,
58
+ conflictingClassGroupModifiers: t
59
+ } = e;
60
+ return {
61
+ getClassGroupId: (a) => {
62
+ if (a.startsWith("[") && a.endsWith("]"))
63
+ return Xe(a);
64
+ const f = a.split(Z), l = f[0] === "" && f.length > 1 ? 1 : 0;
65
+ return Re(f, l, r);
66
+ },
67
+ getConflictingClassGroupIds: (a, f) => {
68
+ if (f) {
69
+ const l = t[a], g = o[a];
70
+ return l ? g ? Ye(g, l) : l : g || he;
71
+ }
72
+ return o[a] || he;
73
+ }
74
+ };
75
+ }, Re = (e, r, o) => {
76
+ if (e.length - r === 0)
77
+ return o.classGroupId;
78
+ const i = e[r], c = o.nextPart.get(i);
79
+ if (c) {
80
+ const g = Re(e, r + 1, c);
81
+ if (g) return g;
82
+ }
83
+ const a = o.validators;
84
+ if (a === null)
85
+ return;
86
+ const f = r === 0 ? e.join(Z) : e.slice(r).join(Z), l = a.length;
87
+ for (let g = 0; g < l; g++) {
88
+ const h = a[g];
89
+ if (h.validator(f))
90
+ return h.classGroupId;
91
+ }
92
+ }, Xe = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
93
+ const r = e.slice(1, -1), o = r.indexOf(":"), t = r.slice(0, o);
94
+ return t ? qe + t : void 0;
95
+ })(), Je = (e) => {
96
+ const {
97
+ theme: r,
98
+ classGroups: o
99
+ } = e;
100
+ return Qe(o, r);
101
+ }, Qe = (e, r) => {
102
+ const o = Ae();
103
+ for (const t in e) {
104
+ const i = e[t];
105
+ le(i, o, t, r);
106
+ }
107
+ return o;
108
+ }, le = (e, r, o, t) => {
109
+ const i = e.length;
110
+ for (let c = 0; c < i; c++) {
111
+ const a = e[c];
112
+ Ze(a, r, o, t);
113
+ }
114
+ }, Ze = (e, r, o, t) => {
115
+ if (typeof e == "string") {
116
+ et(e, r, o);
117
+ return;
118
+ }
119
+ if (typeof e == "function") {
120
+ tt(e, r, o, t);
121
+ return;
122
+ }
123
+ ot(e, r, o, t);
124
+ }, et = (e, r, o) => {
125
+ const t = e === "" ? r : Ie(r, e);
126
+ t.classGroupId = o;
127
+ }, tt = (e, r, o, t) => {
128
+ if (rt(e)) {
129
+ le(e(t), r, o, t);
130
+ return;
131
+ }
132
+ r.validators === null && (r.validators = []), r.validators.push(Ke(o, e));
133
+ }, ot = (e, r, o, t) => {
134
+ const i = Object.entries(e), c = i.length;
135
+ for (let a = 0; a < c; a++) {
136
+ const [f, l] = i[a];
137
+ le(l, Ie(r, f), o, t);
138
+ }
139
+ }, Ie = (e, r) => {
140
+ let o = e;
141
+ const t = r.split(Z), i = t.length;
142
+ for (let c = 0; c < i; c++) {
143
+ const a = t[c];
144
+ let f = o.nextPart.get(a);
145
+ f || (f = Ae(), o.nextPart.set(a, f)), o = f;
146
+ }
147
+ return o;
148
+ }, rt = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, nt = (e) => {
149
+ if (e < 1)
150
+ return {
151
+ get: () => {
152
+ },
153
+ set: () => {
154
+ }
155
+ };
156
+ let r = 0, o = /* @__PURE__ */ Object.create(null), t = /* @__PURE__ */ Object.create(null);
157
+ const i = (c, a) => {
158
+ o[c] = a, r++, r > e && (r = 0, t = o, o = /* @__PURE__ */ Object.create(null));
159
+ };
160
+ return {
161
+ get(c) {
162
+ let a = o[c];
163
+ if (a !== void 0)
164
+ return a;
165
+ if ((a = t[c]) !== void 0)
166
+ return i(c, a), a;
167
+ },
168
+ set(c, a) {
169
+ c in o ? o[c] = a : i(c, a);
170
+ }
171
+ };
172
+ }, ae = "!", xe = ":", st = [], we = (e, r, o, t, i) => ({
173
+ modifiers: e,
174
+ hasImportantModifier: r,
175
+ baseClassName: o,
176
+ maybePostfixModifierPosition: t,
177
+ isExternal: i
178
+ }), at = (e) => {
179
+ const {
180
+ prefix: r,
181
+ experimentalParseClassName: o
182
+ } = e;
183
+ let t = (i) => {
184
+ const c = [];
185
+ let a = 0, f = 0, l = 0, g;
186
+ const h = i.length;
187
+ for (let v = 0; v < h; v++) {
188
+ const p = i[v];
189
+ if (a === 0 && f === 0) {
190
+ if (p === xe) {
191
+ c.push(i.slice(l, v)), l = v + 1;
192
+ continue;
193
+ }
194
+ if (p === "/") {
195
+ g = v;
196
+ continue;
197
+ }
198
+ }
199
+ p === "[" ? a++ : p === "]" ? a-- : p === "(" ? f++ : p === ")" && f--;
200
+ }
201
+ const y = c.length === 0 ? i : i.slice(l);
202
+ let x = y, S = !1;
203
+ y.endsWith(ae) ? (x = y.slice(0, -1), S = !0) : (
204
+ /**
205
+ * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
206
+ * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
207
+ */
208
+ y.startsWith(ae) && (x = y.slice(1), S = !0)
209
+ );
210
+ const A = g && g > l ? g - l : void 0;
211
+ return we(c, S, x, A);
212
+ };
213
+ if (r) {
214
+ const i = r + xe, c = t;
215
+ t = (a) => a.startsWith(i) ? c(a.slice(i.length)) : we(st, !1, a, void 0, !0);
216
+ }
217
+ if (o) {
218
+ const i = t;
219
+ t = (c) => o({
220
+ className: c,
221
+ parseClassName: i
222
+ });
223
+ }
224
+ return t;
225
+ }, it = (e) => {
226
+ const r = /* @__PURE__ */ new Map();
227
+ return e.orderSensitiveModifiers.forEach((o, t) => {
228
+ r.set(o, 1e6 + t);
229
+ }), (o) => {
230
+ const t = [];
231
+ let i = [];
232
+ for (let c = 0; c < o.length; c++) {
233
+ const a = o[c], f = a[0] === "[", l = r.has(a);
234
+ f || l ? (i.length > 0 && (i.sort(), t.push(...i), i = []), t.push(a)) : i.push(a);
235
+ }
236
+ return i.length > 0 && (i.sort(), t.push(...i)), t;
237
+ };
238
+ }, lt = (e) => ({
239
+ cache: nt(e.cacheSize),
240
+ parseClassName: at(e),
241
+ sortModifiers: it(e),
242
+ ...He(e)
243
+ }), ct = /\s+/, dt = (e, r) => {
244
+ const {
245
+ parseClassName: o,
246
+ getClassGroupId: t,
247
+ getConflictingClassGroupIds: i,
248
+ sortModifiers: c
249
+ } = r, a = [], f = e.trim().split(ct);
250
+ let l = "";
251
+ for (let g = f.length - 1; g >= 0; g -= 1) {
252
+ const h = f[g], {
253
+ isExternal: y,
254
+ modifiers: x,
255
+ hasImportantModifier: S,
256
+ baseClassName: A,
257
+ maybePostfixModifierPosition: v
258
+ } = o(h);
259
+ if (y) {
260
+ l = h + (l.length > 0 ? " " + l : l);
261
+ continue;
262
+ }
263
+ let p = !!v, E = t(p ? A.substring(0, v) : A);
264
+ if (!E) {
265
+ if (!p) {
266
+ l = h + (l.length > 0 ? " " + l : l);
267
+ continue;
268
+ }
269
+ if (E = t(A), !E) {
270
+ l = h + (l.length > 0 ? " " + l : l);
271
+ continue;
272
+ }
273
+ p = !1;
274
+ }
275
+ const U = x.length === 0 ? "" : x.length === 1 ? x[0] : c(x).join(":"), _ = S ? U + ae : U, L = _ + E;
276
+ if (a.indexOf(L) > -1)
277
+ continue;
278
+ a.push(L);
279
+ const D = i(E, p);
280
+ for (let N = 0; N < D.length; ++N) {
281
+ const B = D[N];
282
+ a.push(_ + B);
283
+ }
284
+ l = h + (l.length > 0 ? " " + l : l);
285
+ }
286
+ return l;
287
+ }, mt = (...e) => {
288
+ let r = 0, o, t, i = "";
289
+ for (; r < e.length; )
290
+ (o = e[r++]) && (t = Te(o)) && (i && (i += " "), i += t);
291
+ return i;
292
+ }, Te = (e) => {
293
+ if (typeof e == "string")
294
+ return e;
295
+ let r, o = "";
296
+ for (let t = 0; t < e.length; t++)
297
+ e[t] && (r = Te(e[t])) && (o && (o += " "), o += r);
298
+ return o;
299
+ }, ut = (e, ...r) => {
300
+ let o, t, i, c;
301
+ const a = (l) => {
302
+ const g = r.reduce((h, y) => y(h), e());
303
+ return o = lt(g), t = o.cache.get, i = o.cache.set, c = f, f(l);
304
+ }, f = (l) => {
305
+ const g = t(l);
306
+ if (g)
307
+ return g;
308
+ const h = dt(l, o);
309
+ return i(l, h), h;
310
+ };
311
+ return c = a, (...l) => c(mt(...l));
312
+ }, pt = [], w = (e) => {
313
+ const r = (o) => o[e] || pt;
314
+ return r.isThemeGetter = !0, r;
315
+ }, Me = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ee = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ft = /^\d+\/\d+$/, gt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, bt = /\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$/, ht = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, xt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, wt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, V = (e) => ft.test(e), u = (e) => !!e && !Number.isNaN(Number(e)), M = (e) => !!e && Number.isInteger(Number(e)), re = (e) => e.endsWith("%") && u(e.slice(0, -1)), T = (e) => gt.test(e), kt = () => !0, yt = (e) => (
316
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
317
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
318
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
319
+ bt.test(e) && !ht.test(e)
320
+ ), Ne = () => !1, vt = (e) => xt.test(e), Ct = (e) => wt.test(e), zt = (e) => !n(e) && !s(e), St = (e) => j(e, Le, Ne), n = (e) => Me.test(e), G = (e) => j(e, De, yt), ne = (e) => j(e, Mt, u), ke = (e) => j(e, Pe, Ne), At = (e) => j(e, Ge, Ct), J = (e) => j(e, Oe, vt), s = (e) => Ee.test(e), W = (e) => F(e, De), Rt = (e) => F(e, Et), ye = (e) => F(e, Pe), It = (e) => F(e, Le), Tt = (e) => F(e, Ge), Q = (e) => F(e, Oe, !0), j = (e, r, o) => {
321
+ const t = Me.exec(e);
322
+ return t ? t[1] ? r(t[1]) : o(t[2]) : !1;
323
+ }, F = (e, r, o = !1) => {
324
+ const t = Ee.exec(e);
325
+ return t ? t[1] ? r(t[1]) : o : !1;
326
+ }, Pe = (e) => e === "position" || e === "percentage", Ge = (e) => e === "image" || e === "url", Le = (e) => e === "length" || e === "size" || e === "bg-size", De = (e) => e === "length", Mt = (e) => e === "number", Et = (e) => e === "family-name", Oe = (e) => e === "shadow", Nt = () => {
327
+ const e = w("color"), r = w("font"), o = w("text"), t = w("font-weight"), i = w("tracking"), c = w("leading"), a = w("breakpoint"), f = w("container"), l = w("spacing"), g = w("radius"), h = w("shadow"), y = w("inset-shadow"), x = w("text-shadow"), S = w("drop-shadow"), A = w("blur"), v = w("perspective"), p = w("aspect"), E = w("ease"), U = w("animate"), _ = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], L = () => [
328
+ "center",
329
+ "top",
330
+ "bottom",
331
+ "left",
332
+ "right",
333
+ "top-left",
334
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
335
+ "left-top",
336
+ "top-right",
337
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
338
+ "right-top",
339
+ "bottom-right",
340
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
341
+ "right-bottom",
342
+ "bottom-left",
343
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
344
+ "left-bottom"
345
+ ], D = () => [...L(), s, n], N = () => ["auto", "hidden", "clip", "visible", "scroll"], B = () => ["auto", "contain", "none"], m = () => [s, n, l], R = () => [V, "full", "auto", ...m()], ce = () => [M, "none", "subgrid", s, n], de = () => ["auto", {
346
+ span: ["full", M, s, n]
347
+ }, M, s, n], Y = () => [M, "auto", s, n], me = () => ["auto", "min", "max", "fr", s, n], ee = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], O = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], I = () => ["auto", ...m()], P = () => [V, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...m()], d = () => [e, s, n], ue = () => [...L(), ye, ke, {
348
+ position: [s, n]
349
+ }], pe = () => ["no-repeat", {
350
+ repeat: ["", "x", "y", "space", "round"]
351
+ }], fe = () => ["auto", "cover", "contain", It, St, {
352
+ size: [s, n]
353
+ }], te = () => [re, W, G], C = () => [
354
+ // Deprecated since Tailwind CSS v4.0.0
355
+ "",
356
+ "none",
357
+ "full",
358
+ g,
359
+ s,
360
+ n
361
+ ], z = () => ["", u, W, G], K = () => ["solid", "dashed", "dotted", "double"], ge = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], k = () => [u, re, ye, ke], be = () => [
362
+ // Deprecated since Tailwind CSS v4.0.0
363
+ "",
364
+ "none",
365
+ A,
366
+ s,
367
+ n
368
+ ], q = () => ["none", u, s, n], H = () => ["none", u, s, n], oe = () => [u, s, n], X = () => [V, "full", ...m()];
369
+ return {
370
+ cacheSize: 500,
371
+ theme: {
372
+ animate: ["spin", "ping", "pulse", "bounce"],
373
+ aspect: ["video"],
374
+ blur: [T],
375
+ breakpoint: [T],
376
+ color: [kt],
377
+ container: [T],
378
+ "drop-shadow": [T],
379
+ ease: ["in", "out", "in-out"],
380
+ font: [zt],
381
+ "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
382
+ "inset-shadow": [T],
383
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
384
+ perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
385
+ radius: [T],
386
+ shadow: [T],
387
+ spacing: ["px", u],
388
+ text: [T],
389
+ "text-shadow": [T],
390
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
391
+ },
392
+ classGroups: {
393
+ // --------------
394
+ // --- Layout ---
395
+ // --------------
396
+ /**
397
+ * Aspect Ratio
398
+ * @see https://tailwindcss.com/docs/aspect-ratio
399
+ */
400
+ aspect: [{
401
+ aspect: ["auto", "square", V, n, s, p]
402
+ }],
403
+ /**
404
+ * Container
405
+ * @see https://tailwindcss.com/docs/container
406
+ * @deprecated since Tailwind CSS v4.0.0
407
+ */
408
+ container: ["container"],
409
+ /**
410
+ * Columns
411
+ * @see https://tailwindcss.com/docs/columns
412
+ */
413
+ columns: [{
414
+ columns: [u, n, s, f]
415
+ }],
416
+ /**
417
+ * Break After
418
+ * @see https://tailwindcss.com/docs/break-after
419
+ */
420
+ "break-after": [{
421
+ "break-after": _()
422
+ }],
423
+ /**
424
+ * Break Before
425
+ * @see https://tailwindcss.com/docs/break-before
426
+ */
427
+ "break-before": [{
428
+ "break-before": _()
429
+ }],
430
+ /**
431
+ * Break Inside
432
+ * @see https://tailwindcss.com/docs/break-inside
433
+ */
434
+ "break-inside": [{
435
+ "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
436
+ }],
437
+ /**
438
+ * Box Decoration Break
439
+ * @see https://tailwindcss.com/docs/box-decoration-break
440
+ */
441
+ "box-decoration": [{
442
+ "box-decoration": ["slice", "clone"]
443
+ }],
444
+ /**
445
+ * Box Sizing
446
+ * @see https://tailwindcss.com/docs/box-sizing
447
+ */
448
+ box: [{
449
+ box: ["border", "content"]
450
+ }],
451
+ /**
452
+ * Display
453
+ * @see https://tailwindcss.com/docs/display
454
+ */
455
+ 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"],
456
+ /**
457
+ * Screen Reader Only
458
+ * @see https://tailwindcss.com/docs/display#screen-reader-only
459
+ */
460
+ sr: ["sr-only", "not-sr-only"],
461
+ /**
462
+ * Floats
463
+ * @see https://tailwindcss.com/docs/float
464
+ */
465
+ float: [{
466
+ float: ["right", "left", "none", "start", "end"]
467
+ }],
468
+ /**
469
+ * Clear
470
+ * @see https://tailwindcss.com/docs/clear
471
+ */
472
+ clear: [{
473
+ clear: ["left", "right", "both", "none", "start", "end"]
474
+ }],
475
+ /**
476
+ * Isolation
477
+ * @see https://tailwindcss.com/docs/isolation
478
+ */
479
+ isolation: ["isolate", "isolation-auto"],
480
+ /**
481
+ * Object Fit
482
+ * @see https://tailwindcss.com/docs/object-fit
483
+ */
484
+ "object-fit": [{
485
+ object: ["contain", "cover", "fill", "none", "scale-down"]
486
+ }],
487
+ /**
488
+ * Object Position
489
+ * @see https://tailwindcss.com/docs/object-position
490
+ */
491
+ "object-position": [{
492
+ object: D()
493
+ }],
494
+ /**
495
+ * Overflow
496
+ * @see https://tailwindcss.com/docs/overflow
497
+ */
498
+ overflow: [{
499
+ overflow: N()
500
+ }],
501
+ /**
502
+ * Overflow X
503
+ * @see https://tailwindcss.com/docs/overflow
504
+ */
505
+ "overflow-x": [{
506
+ "overflow-x": N()
507
+ }],
508
+ /**
509
+ * Overflow Y
510
+ * @see https://tailwindcss.com/docs/overflow
511
+ */
512
+ "overflow-y": [{
513
+ "overflow-y": N()
514
+ }],
515
+ /**
516
+ * Overscroll Behavior
517
+ * @see https://tailwindcss.com/docs/overscroll-behavior
518
+ */
519
+ overscroll: [{
520
+ overscroll: B()
521
+ }],
522
+ /**
523
+ * Overscroll Behavior X
524
+ * @see https://tailwindcss.com/docs/overscroll-behavior
525
+ */
526
+ "overscroll-x": [{
527
+ "overscroll-x": B()
528
+ }],
529
+ /**
530
+ * Overscroll Behavior Y
531
+ * @see https://tailwindcss.com/docs/overscroll-behavior
532
+ */
533
+ "overscroll-y": [{
534
+ "overscroll-y": B()
535
+ }],
536
+ /**
537
+ * Position
538
+ * @see https://tailwindcss.com/docs/position
539
+ */
540
+ position: ["static", "fixed", "absolute", "relative", "sticky"],
541
+ /**
542
+ * Top / Right / Bottom / Left
543
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
544
+ */
545
+ inset: [{
546
+ inset: R()
547
+ }],
548
+ /**
549
+ * Right / Left
550
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
551
+ */
552
+ "inset-x": [{
553
+ "inset-x": R()
554
+ }],
555
+ /**
556
+ * Top / Bottom
557
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
558
+ */
559
+ "inset-y": [{
560
+ "inset-y": R()
561
+ }],
562
+ /**
563
+ * Start
564
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
565
+ */
566
+ start: [{
567
+ start: R()
568
+ }],
569
+ /**
570
+ * End
571
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
572
+ */
573
+ end: [{
574
+ end: R()
575
+ }],
576
+ /**
577
+ * Top
578
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
579
+ */
580
+ top: [{
581
+ top: R()
582
+ }],
583
+ /**
584
+ * Right
585
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
586
+ */
587
+ right: [{
588
+ right: R()
589
+ }],
590
+ /**
591
+ * Bottom
592
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
593
+ */
594
+ bottom: [{
595
+ bottom: R()
596
+ }],
597
+ /**
598
+ * Left
599
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
600
+ */
601
+ left: [{
602
+ left: R()
603
+ }],
604
+ /**
605
+ * Visibility
606
+ * @see https://tailwindcss.com/docs/visibility
607
+ */
608
+ visibility: ["visible", "invisible", "collapse"],
609
+ /**
610
+ * Z-Index
611
+ * @see https://tailwindcss.com/docs/z-index
612
+ */
613
+ z: [{
614
+ z: [M, "auto", s, n]
615
+ }],
616
+ // ------------------------
617
+ // --- Flexbox and Grid ---
618
+ // ------------------------
619
+ /**
620
+ * Flex Basis
621
+ * @see https://tailwindcss.com/docs/flex-basis
622
+ */
623
+ basis: [{
624
+ basis: [V, "full", "auto", f, ...m()]
625
+ }],
626
+ /**
627
+ * Flex Direction
628
+ * @see https://tailwindcss.com/docs/flex-direction
629
+ */
630
+ "flex-direction": [{
631
+ flex: ["row", "row-reverse", "col", "col-reverse"]
632
+ }],
633
+ /**
634
+ * Flex Wrap
635
+ * @see https://tailwindcss.com/docs/flex-wrap
636
+ */
637
+ "flex-wrap": [{
638
+ flex: ["nowrap", "wrap", "wrap-reverse"]
639
+ }],
640
+ /**
641
+ * Flex
642
+ * @see https://tailwindcss.com/docs/flex
643
+ */
644
+ flex: [{
645
+ flex: [u, V, "auto", "initial", "none", n]
646
+ }],
647
+ /**
648
+ * Flex Grow
649
+ * @see https://tailwindcss.com/docs/flex-grow
650
+ */
651
+ grow: [{
652
+ grow: ["", u, s, n]
653
+ }],
654
+ /**
655
+ * Flex Shrink
656
+ * @see https://tailwindcss.com/docs/flex-shrink
657
+ */
658
+ shrink: [{
659
+ shrink: ["", u, s, n]
660
+ }],
661
+ /**
662
+ * Order
663
+ * @see https://tailwindcss.com/docs/order
664
+ */
665
+ order: [{
666
+ order: [M, "first", "last", "none", s, n]
667
+ }],
668
+ /**
669
+ * Grid Template Columns
670
+ * @see https://tailwindcss.com/docs/grid-template-columns
671
+ */
672
+ "grid-cols": [{
673
+ "grid-cols": ce()
674
+ }],
675
+ /**
676
+ * Grid Column Start / End
677
+ * @see https://tailwindcss.com/docs/grid-column
678
+ */
679
+ "col-start-end": [{
680
+ col: de()
681
+ }],
682
+ /**
683
+ * Grid Column Start
684
+ * @see https://tailwindcss.com/docs/grid-column
685
+ */
686
+ "col-start": [{
687
+ "col-start": Y()
688
+ }],
689
+ /**
690
+ * Grid Column End
691
+ * @see https://tailwindcss.com/docs/grid-column
692
+ */
693
+ "col-end": [{
694
+ "col-end": Y()
695
+ }],
696
+ /**
697
+ * Grid Template Rows
698
+ * @see https://tailwindcss.com/docs/grid-template-rows
699
+ */
700
+ "grid-rows": [{
701
+ "grid-rows": ce()
702
+ }],
703
+ /**
704
+ * Grid Row Start / End
705
+ * @see https://tailwindcss.com/docs/grid-row
706
+ */
707
+ "row-start-end": [{
708
+ row: de()
709
+ }],
710
+ /**
711
+ * Grid Row Start
712
+ * @see https://tailwindcss.com/docs/grid-row
713
+ */
714
+ "row-start": [{
715
+ "row-start": Y()
716
+ }],
717
+ /**
718
+ * Grid Row End
719
+ * @see https://tailwindcss.com/docs/grid-row
720
+ */
721
+ "row-end": [{
722
+ "row-end": Y()
723
+ }],
724
+ /**
725
+ * Grid Auto Flow
726
+ * @see https://tailwindcss.com/docs/grid-auto-flow
727
+ */
728
+ "grid-flow": [{
729
+ "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
730
+ }],
731
+ /**
732
+ * Grid Auto Columns
733
+ * @see https://tailwindcss.com/docs/grid-auto-columns
734
+ */
735
+ "auto-cols": [{
736
+ "auto-cols": me()
737
+ }],
738
+ /**
739
+ * Grid Auto Rows
740
+ * @see https://tailwindcss.com/docs/grid-auto-rows
741
+ */
742
+ "auto-rows": [{
743
+ "auto-rows": me()
744
+ }],
745
+ /**
746
+ * Gap
747
+ * @see https://tailwindcss.com/docs/gap
748
+ */
749
+ gap: [{
750
+ gap: m()
751
+ }],
752
+ /**
753
+ * Gap X
754
+ * @see https://tailwindcss.com/docs/gap
755
+ */
756
+ "gap-x": [{
757
+ "gap-x": m()
758
+ }],
759
+ /**
760
+ * Gap Y
761
+ * @see https://tailwindcss.com/docs/gap
762
+ */
763
+ "gap-y": [{
764
+ "gap-y": m()
765
+ }],
766
+ /**
767
+ * Justify Content
768
+ * @see https://tailwindcss.com/docs/justify-content
769
+ */
770
+ "justify-content": [{
771
+ justify: [...ee(), "normal"]
772
+ }],
773
+ /**
774
+ * Justify Items
775
+ * @see https://tailwindcss.com/docs/justify-items
776
+ */
777
+ "justify-items": [{
778
+ "justify-items": [...O(), "normal"]
779
+ }],
780
+ /**
781
+ * Justify Self
782
+ * @see https://tailwindcss.com/docs/justify-self
783
+ */
784
+ "justify-self": [{
785
+ "justify-self": ["auto", ...O()]
786
+ }],
787
+ /**
788
+ * Align Content
789
+ * @see https://tailwindcss.com/docs/align-content
790
+ */
791
+ "align-content": [{
792
+ content: ["normal", ...ee()]
793
+ }],
794
+ /**
795
+ * Align Items
796
+ * @see https://tailwindcss.com/docs/align-items
797
+ */
798
+ "align-items": [{
799
+ items: [...O(), {
800
+ baseline: ["", "last"]
801
+ }]
802
+ }],
803
+ /**
804
+ * Align Self
805
+ * @see https://tailwindcss.com/docs/align-self
806
+ */
807
+ "align-self": [{
808
+ self: ["auto", ...O(), {
809
+ baseline: ["", "last"]
810
+ }]
811
+ }],
812
+ /**
813
+ * Place Content
814
+ * @see https://tailwindcss.com/docs/place-content
815
+ */
816
+ "place-content": [{
817
+ "place-content": ee()
818
+ }],
819
+ /**
820
+ * Place Items
821
+ * @see https://tailwindcss.com/docs/place-items
822
+ */
823
+ "place-items": [{
824
+ "place-items": [...O(), "baseline"]
825
+ }],
826
+ /**
827
+ * Place Self
828
+ * @see https://tailwindcss.com/docs/place-self
829
+ */
830
+ "place-self": [{
831
+ "place-self": ["auto", ...O()]
832
+ }],
833
+ // Spacing
834
+ /**
835
+ * Padding
836
+ * @see https://tailwindcss.com/docs/padding
837
+ */
838
+ p: [{
839
+ p: m()
840
+ }],
841
+ /**
842
+ * Padding X
843
+ * @see https://tailwindcss.com/docs/padding
844
+ */
845
+ px: [{
846
+ px: m()
847
+ }],
848
+ /**
849
+ * Padding Y
850
+ * @see https://tailwindcss.com/docs/padding
851
+ */
852
+ py: [{
853
+ py: m()
854
+ }],
855
+ /**
856
+ * Padding Start
857
+ * @see https://tailwindcss.com/docs/padding
858
+ */
859
+ ps: [{
860
+ ps: m()
861
+ }],
862
+ /**
863
+ * Padding End
864
+ * @see https://tailwindcss.com/docs/padding
865
+ */
866
+ pe: [{
867
+ pe: m()
868
+ }],
869
+ /**
870
+ * Padding Top
871
+ * @see https://tailwindcss.com/docs/padding
872
+ */
873
+ pt: [{
874
+ pt: m()
875
+ }],
876
+ /**
877
+ * Padding Right
878
+ * @see https://tailwindcss.com/docs/padding
879
+ */
880
+ pr: [{
881
+ pr: m()
882
+ }],
883
+ /**
884
+ * Padding Bottom
885
+ * @see https://tailwindcss.com/docs/padding
886
+ */
887
+ pb: [{
888
+ pb: m()
889
+ }],
890
+ /**
891
+ * Padding Left
892
+ * @see https://tailwindcss.com/docs/padding
893
+ */
894
+ pl: [{
895
+ pl: m()
896
+ }],
897
+ /**
898
+ * Margin
899
+ * @see https://tailwindcss.com/docs/margin
900
+ */
901
+ m: [{
902
+ m: I()
903
+ }],
904
+ /**
905
+ * Margin X
906
+ * @see https://tailwindcss.com/docs/margin
907
+ */
908
+ mx: [{
909
+ mx: I()
910
+ }],
911
+ /**
912
+ * Margin Y
913
+ * @see https://tailwindcss.com/docs/margin
914
+ */
915
+ my: [{
916
+ my: I()
917
+ }],
918
+ /**
919
+ * Margin Start
920
+ * @see https://tailwindcss.com/docs/margin
921
+ */
922
+ ms: [{
923
+ ms: I()
924
+ }],
925
+ /**
926
+ * Margin End
927
+ * @see https://tailwindcss.com/docs/margin
928
+ */
929
+ me: [{
930
+ me: I()
931
+ }],
932
+ /**
933
+ * Margin Top
934
+ * @see https://tailwindcss.com/docs/margin
935
+ */
936
+ mt: [{
937
+ mt: I()
938
+ }],
939
+ /**
940
+ * Margin Right
941
+ * @see https://tailwindcss.com/docs/margin
942
+ */
943
+ mr: [{
944
+ mr: I()
945
+ }],
946
+ /**
947
+ * Margin Bottom
948
+ * @see https://tailwindcss.com/docs/margin
949
+ */
950
+ mb: [{
951
+ mb: I()
952
+ }],
953
+ /**
954
+ * Margin Left
955
+ * @see https://tailwindcss.com/docs/margin
956
+ */
957
+ ml: [{
958
+ ml: I()
959
+ }],
960
+ /**
961
+ * Space Between X
962
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
963
+ */
964
+ "space-x": [{
965
+ "space-x": m()
966
+ }],
967
+ /**
968
+ * Space Between X Reverse
969
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
970
+ */
971
+ "space-x-reverse": ["space-x-reverse"],
972
+ /**
973
+ * Space Between Y
974
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
975
+ */
976
+ "space-y": [{
977
+ "space-y": m()
978
+ }],
979
+ /**
980
+ * Space Between Y Reverse
981
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
982
+ */
983
+ "space-y-reverse": ["space-y-reverse"],
984
+ // --------------
985
+ // --- Sizing ---
986
+ // --------------
987
+ /**
988
+ * Size
989
+ * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
990
+ */
991
+ size: [{
992
+ size: P()
993
+ }],
994
+ /**
995
+ * Width
996
+ * @see https://tailwindcss.com/docs/width
997
+ */
998
+ w: [{
999
+ w: [f, "screen", ...P()]
1000
+ }],
1001
+ /**
1002
+ * Min-Width
1003
+ * @see https://tailwindcss.com/docs/min-width
1004
+ */
1005
+ "min-w": [{
1006
+ "min-w": [
1007
+ f,
1008
+ "screen",
1009
+ /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1010
+ "none",
1011
+ ...P()
1012
+ ]
1013
+ }],
1014
+ /**
1015
+ * Max-Width
1016
+ * @see https://tailwindcss.com/docs/max-width
1017
+ */
1018
+ "max-w": [{
1019
+ "max-w": [
1020
+ f,
1021
+ "screen",
1022
+ "none",
1023
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1024
+ "prose",
1025
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1026
+ {
1027
+ screen: [a]
1028
+ },
1029
+ ...P()
1030
+ ]
1031
+ }],
1032
+ /**
1033
+ * Height
1034
+ * @see https://tailwindcss.com/docs/height
1035
+ */
1036
+ h: [{
1037
+ h: ["screen", "lh", ...P()]
1038
+ }],
1039
+ /**
1040
+ * Min-Height
1041
+ * @see https://tailwindcss.com/docs/min-height
1042
+ */
1043
+ "min-h": [{
1044
+ "min-h": ["screen", "lh", "none", ...P()]
1045
+ }],
1046
+ /**
1047
+ * Max-Height
1048
+ * @see https://tailwindcss.com/docs/max-height
1049
+ */
1050
+ "max-h": [{
1051
+ "max-h": ["screen", "lh", ...P()]
1052
+ }],
1053
+ // ------------------
1054
+ // --- Typography ---
1055
+ // ------------------
1056
+ /**
1057
+ * Font Size
1058
+ * @see https://tailwindcss.com/docs/font-size
1059
+ */
1060
+ "font-size": [{
1061
+ text: ["base", o, W, G]
1062
+ }],
1063
+ /**
1064
+ * Font Smoothing
1065
+ * @see https://tailwindcss.com/docs/font-smoothing
1066
+ */
1067
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
1068
+ /**
1069
+ * Font Style
1070
+ * @see https://tailwindcss.com/docs/font-style
1071
+ */
1072
+ "font-style": ["italic", "not-italic"],
1073
+ /**
1074
+ * Font Weight
1075
+ * @see https://tailwindcss.com/docs/font-weight
1076
+ */
1077
+ "font-weight": [{
1078
+ font: [t, s, ne]
1079
+ }],
1080
+ /**
1081
+ * Font Stretch
1082
+ * @see https://tailwindcss.com/docs/font-stretch
1083
+ */
1084
+ "font-stretch": [{
1085
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", re, n]
1086
+ }],
1087
+ /**
1088
+ * Font Family
1089
+ * @see https://tailwindcss.com/docs/font-family
1090
+ */
1091
+ "font-family": [{
1092
+ font: [Rt, n, r]
1093
+ }],
1094
+ /**
1095
+ * Font Variant Numeric
1096
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1097
+ */
1098
+ "fvn-normal": ["normal-nums"],
1099
+ /**
1100
+ * Font Variant Numeric
1101
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1102
+ */
1103
+ "fvn-ordinal": ["ordinal"],
1104
+ /**
1105
+ * Font Variant Numeric
1106
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1107
+ */
1108
+ "fvn-slashed-zero": ["slashed-zero"],
1109
+ /**
1110
+ * Font Variant Numeric
1111
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1112
+ */
1113
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
1114
+ /**
1115
+ * Font Variant Numeric
1116
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1117
+ */
1118
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
1119
+ /**
1120
+ * Font Variant Numeric
1121
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1122
+ */
1123
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1124
+ /**
1125
+ * Letter Spacing
1126
+ * @see https://tailwindcss.com/docs/letter-spacing
1127
+ */
1128
+ tracking: [{
1129
+ tracking: [i, s, n]
1130
+ }],
1131
+ /**
1132
+ * Line Clamp
1133
+ * @see https://tailwindcss.com/docs/line-clamp
1134
+ */
1135
+ "line-clamp": [{
1136
+ "line-clamp": [u, "none", s, ne]
1137
+ }],
1138
+ /**
1139
+ * Line Height
1140
+ * @see https://tailwindcss.com/docs/line-height
1141
+ */
1142
+ leading: [{
1143
+ leading: [
1144
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1145
+ c,
1146
+ ...m()
1147
+ ]
1148
+ }],
1149
+ /**
1150
+ * List Style Image
1151
+ * @see https://tailwindcss.com/docs/list-style-image
1152
+ */
1153
+ "list-image": [{
1154
+ "list-image": ["none", s, n]
1155
+ }],
1156
+ /**
1157
+ * List Style Position
1158
+ * @see https://tailwindcss.com/docs/list-style-position
1159
+ */
1160
+ "list-style-position": [{
1161
+ list: ["inside", "outside"]
1162
+ }],
1163
+ /**
1164
+ * List Style Type
1165
+ * @see https://tailwindcss.com/docs/list-style-type
1166
+ */
1167
+ "list-style-type": [{
1168
+ list: ["disc", "decimal", "none", s, n]
1169
+ }],
1170
+ /**
1171
+ * Text Alignment
1172
+ * @see https://tailwindcss.com/docs/text-align
1173
+ */
1174
+ "text-alignment": [{
1175
+ text: ["left", "center", "right", "justify", "start", "end"]
1176
+ }],
1177
+ /**
1178
+ * Placeholder Color
1179
+ * @deprecated since Tailwind CSS v3.0.0
1180
+ * @see https://v3.tailwindcss.com/docs/placeholder-color
1181
+ */
1182
+ "placeholder-color": [{
1183
+ placeholder: d()
1184
+ }],
1185
+ /**
1186
+ * Text Color
1187
+ * @see https://tailwindcss.com/docs/text-color
1188
+ */
1189
+ "text-color": [{
1190
+ text: d()
1191
+ }],
1192
+ /**
1193
+ * Text Decoration
1194
+ * @see https://tailwindcss.com/docs/text-decoration
1195
+ */
1196
+ "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1197
+ /**
1198
+ * Text Decoration Style
1199
+ * @see https://tailwindcss.com/docs/text-decoration-style
1200
+ */
1201
+ "text-decoration-style": [{
1202
+ decoration: [...K(), "wavy"]
1203
+ }],
1204
+ /**
1205
+ * Text Decoration Thickness
1206
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1207
+ */
1208
+ "text-decoration-thickness": [{
1209
+ decoration: [u, "from-font", "auto", s, G]
1210
+ }],
1211
+ /**
1212
+ * Text Decoration Color
1213
+ * @see https://tailwindcss.com/docs/text-decoration-color
1214
+ */
1215
+ "text-decoration-color": [{
1216
+ decoration: d()
1217
+ }],
1218
+ /**
1219
+ * Text Underline Offset
1220
+ * @see https://tailwindcss.com/docs/text-underline-offset
1221
+ */
1222
+ "underline-offset": [{
1223
+ "underline-offset": [u, "auto", s, n]
1224
+ }],
1225
+ /**
1226
+ * Text Transform
1227
+ * @see https://tailwindcss.com/docs/text-transform
1228
+ */
1229
+ "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1230
+ /**
1231
+ * Text Overflow
1232
+ * @see https://tailwindcss.com/docs/text-overflow
1233
+ */
1234
+ "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1235
+ /**
1236
+ * Text Wrap
1237
+ * @see https://tailwindcss.com/docs/text-wrap
1238
+ */
1239
+ "text-wrap": [{
1240
+ text: ["wrap", "nowrap", "balance", "pretty"]
1241
+ }],
1242
+ /**
1243
+ * Text Indent
1244
+ * @see https://tailwindcss.com/docs/text-indent
1245
+ */
1246
+ indent: [{
1247
+ indent: m()
1248
+ }],
1249
+ /**
1250
+ * Vertical Alignment
1251
+ * @see https://tailwindcss.com/docs/vertical-align
1252
+ */
1253
+ "vertical-align": [{
1254
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", s, n]
1255
+ }],
1256
+ /**
1257
+ * Whitespace
1258
+ * @see https://tailwindcss.com/docs/whitespace
1259
+ */
1260
+ whitespace: [{
1261
+ whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1262
+ }],
1263
+ /**
1264
+ * Word Break
1265
+ * @see https://tailwindcss.com/docs/word-break
1266
+ */
1267
+ break: [{
1268
+ break: ["normal", "words", "all", "keep"]
1269
+ }],
1270
+ /**
1271
+ * Overflow Wrap
1272
+ * @see https://tailwindcss.com/docs/overflow-wrap
1273
+ */
1274
+ wrap: [{
1275
+ wrap: ["break-word", "anywhere", "normal"]
1276
+ }],
1277
+ /**
1278
+ * Hyphens
1279
+ * @see https://tailwindcss.com/docs/hyphens
1280
+ */
1281
+ hyphens: [{
1282
+ hyphens: ["none", "manual", "auto"]
1283
+ }],
1284
+ /**
1285
+ * Content
1286
+ * @see https://tailwindcss.com/docs/content
1287
+ */
1288
+ content: [{
1289
+ content: ["none", s, n]
1290
+ }],
1291
+ // -------------------
1292
+ // --- Backgrounds ---
1293
+ // -------------------
1294
+ /**
1295
+ * Background Attachment
1296
+ * @see https://tailwindcss.com/docs/background-attachment
1297
+ */
1298
+ "bg-attachment": [{
1299
+ bg: ["fixed", "local", "scroll"]
1300
+ }],
1301
+ /**
1302
+ * Background Clip
1303
+ * @see https://tailwindcss.com/docs/background-clip
1304
+ */
1305
+ "bg-clip": [{
1306
+ "bg-clip": ["border", "padding", "content", "text"]
1307
+ }],
1308
+ /**
1309
+ * Background Origin
1310
+ * @see https://tailwindcss.com/docs/background-origin
1311
+ */
1312
+ "bg-origin": [{
1313
+ "bg-origin": ["border", "padding", "content"]
1314
+ }],
1315
+ /**
1316
+ * Background Position
1317
+ * @see https://tailwindcss.com/docs/background-position
1318
+ */
1319
+ "bg-position": [{
1320
+ bg: ue()
1321
+ }],
1322
+ /**
1323
+ * Background Repeat
1324
+ * @see https://tailwindcss.com/docs/background-repeat
1325
+ */
1326
+ "bg-repeat": [{
1327
+ bg: pe()
1328
+ }],
1329
+ /**
1330
+ * Background Size
1331
+ * @see https://tailwindcss.com/docs/background-size
1332
+ */
1333
+ "bg-size": [{
1334
+ bg: fe()
1335
+ }],
1336
+ /**
1337
+ * Background Image
1338
+ * @see https://tailwindcss.com/docs/background-image
1339
+ */
1340
+ "bg-image": [{
1341
+ bg: ["none", {
1342
+ linear: [{
1343
+ to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1344
+ }, M, s, n],
1345
+ radial: ["", s, n],
1346
+ conic: [M, s, n]
1347
+ }, Tt, At]
1348
+ }],
1349
+ /**
1350
+ * Background Color
1351
+ * @see https://tailwindcss.com/docs/background-color
1352
+ */
1353
+ "bg-color": [{
1354
+ bg: d()
1355
+ }],
1356
+ /**
1357
+ * Gradient Color Stops From Position
1358
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1359
+ */
1360
+ "gradient-from-pos": [{
1361
+ from: te()
1362
+ }],
1363
+ /**
1364
+ * Gradient Color Stops Via Position
1365
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1366
+ */
1367
+ "gradient-via-pos": [{
1368
+ via: te()
1369
+ }],
1370
+ /**
1371
+ * Gradient Color Stops To Position
1372
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1373
+ */
1374
+ "gradient-to-pos": [{
1375
+ to: te()
1376
+ }],
1377
+ /**
1378
+ * Gradient Color Stops From
1379
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1380
+ */
1381
+ "gradient-from": [{
1382
+ from: d()
1383
+ }],
1384
+ /**
1385
+ * Gradient Color Stops Via
1386
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1387
+ */
1388
+ "gradient-via": [{
1389
+ via: d()
1390
+ }],
1391
+ /**
1392
+ * Gradient Color Stops To
1393
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1394
+ */
1395
+ "gradient-to": [{
1396
+ to: d()
1397
+ }],
1398
+ // ---------------
1399
+ // --- Borders ---
1400
+ // ---------------
1401
+ /**
1402
+ * Border Radius
1403
+ * @see https://tailwindcss.com/docs/border-radius
1404
+ */
1405
+ rounded: [{
1406
+ rounded: C()
1407
+ }],
1408
+ /**
1409
+ * Border Radius Start
1410
+ * @see https://tailwindcss.com/docs/border-radius
1411
+ */
1412
+ "rounded-s": [{
1413
+ "rounded-s": C()
1414
+ }],
1415
+ /**
1416
+ * Border Radius End
1417
+ * @see https://tailwindcss.com/docs/border-radius
1418
+ */
1419
+ "rounded-e": [{
1420
+ "rounded-e": C()
1421
+ }],
1422
+ /**
1423
+ * Border Radius Top
1424
+ * @see https://tailwindcss.com/docs/border-radius
1425
+ */
1426
+ "rounded-t": [{
1427
+ "rounded-t": C()
1428
+ }],
1429
+ /**
1430
+ * Border Radius Right
1431
+ * @see https://tailwindcss.com/docs/border-radius
1432
+ */
1433
+ "rounded-r": [{
1434
+ "rounded-r": C()
1435
+ }],
1436
+ /**
1437
+ * Border Radius Bottom
1438
+ * @see https://tailwindcss.com/docs/border-radius
1439
+ */
1440
+ "rounded-b": [{
1441
+ "rounded-b": C()
1442
+ }],
1443
+ /**
1444
+ * Border Radius Left
1445
+ * @see https://tailwindcss.com/docs/border-radius
1446
+ */
1447
+ "rounded-l": [{
1448
+ "rounded-l": C()
1449
+ }],
1450
+ /**
1451
+ * Border Radius Start Start
1452
+ * @see https://tailwindcss.com/docs/border-radius
1453
+ */
1454
+ "rounded-ss": [{
1455
+ "rounded-ss": C()
1456
+ }],
1457
+ /**
1458
+ * Border Radius Start End
1459
+ * @see https://tailwindcss.com/docs/border-radius
1460
+ */
1461
+ "rounded-se": [{
1462
+ "rounded-se": C()
1463
+ }],
1464
+ /**
1465
+ * Border Radius End End
1466
+ * @see https://tailwindcss.com/docs/border-radius
1467
+ */
1468
+ "rounded-ee": [{
1469
+ "rounded-ee": C()
1470
+ }],
1471
+ /**
1472
+ * Border Radius End Start
1473
+ * @see https://tailwindcss.com/docs/border-radius
1474
+ */
1475
+ "rounded-es": [{
1476
+ "rounded-es": C()
1477
+ }],
1478
+ /**
1479
+ * Border Radius Top Left
1480
+ * @see https://tailwindcss.com/docs/border-radius
1481
+ */
1482
+ "rounded-tl": [{
1483
+ "rounded-tl": C()
1484
+ }],
1485
+ /**
1486
+ * Border Radius Top Right
1487
+ * @see https://tailwindcss.com/docs/border-radius
1488
+ */
1489
+ "rounded-tr": [{
1490
+ "rounded-tr": C()
1491
+ }],
1492
+ /**
1493
+ * Border Radius Bottom Right
1494
+ * @see https://tailwindcss.com/docs/border-radius
1495
+ */
1496
+ "rounded-br": [{
1497
+ "rounded-br": C()
1498
+ }],
1499
+ /**
1500
+ * Border Radius Bottom Left
1501
+ * @see https://tailwindcss.com/docs/border-radius
1502
+ */
1503
+ "rounded-bl": [{
1504
+ "rounded-bl": C()
1505
+ }],
1506
+ /**
1507
+ * Border Width
1508
+ * @see https://tailwindcss.com/docs/border-width
1509
+ */
1510
+ "border-w": [{
1511
+ border: z()
1512
+ }],
1513
+ /**
1514
+ * Border Width X
1515
+ * @see https://tailwindcss.com/docs/border-width
1516
+ */
1517
+ "border-w-x": [{
1518
+ "border-x": z()
1519
+ }],
1520
+ /**
1521
+ * Border Width Y
1522
+ * @see https://tailwindcss.com/docs/border-width
1523
+ */
1524
+ "border-w-y": [{
1525
+ "border-y": z()
1526
+ }],
1527
+ /**
1528
+ * Border Width Start
1529
+ * @see https://tailwindcss.com/docs/border-width
1530
+ */
1531
+ "border-w-s": [{
1532
+ "border-s": z()
1533
+ }],
1534
+ /**
1535
+ * Border Width End
1536
+ * @see https://tailwindcss.com/docs/border-width
1537
+ */
1538
+ "border-w-e": [{
1539
+ "border-e": z()
1540
+ }],
1541
+ /**
1542
+ * Border Width Top
1543
+ * @see https://tailwindcss.com/docs/border-width
1544
+ */
1545
+ "border-w-t": [{
1546
+ "border-t": z()
1547
+ }],
1548
+ /**
1549
+ * Border Width Right
1550
+ * @see https://tailwindcss.com/docs/border-width
1551
+ */
1552
+ "border-w-r": [{
1553
+ "border-r": z()
1554
+ }],
1555
+ /**
1556
+ * Border Width Bottom
1557
+ * @see https://tailwindcss.com/docs/border-width
1558
+ */
1559
+ "border-w-b": [{
1560
+ "border-b": z()
1561
+ }],
1562
+ /**
1563
+ * Border Width Left
1564
+ * @see https://tailwindcss.com/docs/border-width
1565
+ */
1566
+ "border-w-l": [{
1567
+ "border-l": z()
1568
+ }],
1569
+ /**
1570
+ * Divide Width X
1571
+ * @see https://tailwindcss.com/docs/border-width#between-children
1572
+ */
1573
+ "divide-x": [{
1574
+ "divide-x": z()
1575
+ }],
1576
+ /**
1577
+ * Divide Width X Reverse
1578
+ * @see https://tailwindcss.com/docs/border-width#between-children
1579
+ */
1580
+ "divide-x-reverse": ["divide-x-reverse"],
1581
+ /**
1582
+ * Divide Width Y
1583
+ * @see https://tailwindcss.com/docs/border-width#between-children
1584
+ */
1585
+ "divide-y": [{
1586
+ "divide-y": z()
1587
+ }],
1588
+ /**
1589
+ * Divide Width Y Reverse
1590
+ * @see https://tailwindcss.com/docs/border-width#between-children
1591
+ */
1592
+ "divide-y-reverse": ["divide-y-reverse"],
1593
+ /**
1594
+ * Border Style
1595
+ * @see https://tailwindcss.com/docs/border-style
1596
+ */
1597
+ "border-style": [{
1598
+ border: [...K(), "hidden", "none"]
1599
+ }],
1600
+ /**
1601
+ * Divide Style
1602
+ * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1603
+ */
1604
+ "divide-style": [{
1605
+ divide: [...K(), "hidden", "none"]
1606
+ }],
1607
+ /**
1608
+ * Border Color
1609
+ * @see https://tailwindcss.com/docs/border-color
1610
+ */
1611
+ "border-color": [{
1612
+ border: d()
1613
+ }],
1614
+ /**
1615
+ * Border Color X
1616
+ * @see https://tailwindcss.com/docs/border-color
1617
+ */
1618
+ "border-color-x": [{
1619
+ "border-x": d()
1620
+ }],
1621
+ /**
1622
+ * Border Color Y
1623
+ * @see https://tailwindcss.com/docs/border-color
1624
+ */
1625
+ "border-color-y": [{
1626
+ "border-y": d()
1627
+ }],
1628
+ /**
1629
+ * Border Color S
1630
+ * @see https://tailwindcss.com/docs/border-color
1631
+ */
1632
+ "border-color-s": [{
1633
+ "border-s": d()
1634
+ }],
1635
+ /**
1636
+ * Border Color E
1637
+ * @see https://tailwindcss.com/docs/border-color
1638
+ */
1639
+ "border-color-e": [{
1640
+ "border-e": d()
1641
+ }],
1642
+ /**
1643
+ * Border Color Top
1644
+ * @see https://tailwindcss.com/docs/border-color
1645
+ */
1646
+ "border-color-t": [{
1647
+ "border-t": d()
1648
+ }],
1649
+ /**
1650
+ * Border Color Right
1651
+ * @see https://tailwindcss.com/docs/border-color
1652
+ */
1653
+ "border-color-r": [{
1654
+ "border-r": d()
1655
+ }],
1656
+ /**
1657
+ * Border Color Bottom
1658
+ * @see https://tailwindcss.com/docs/border-color
1659
+ */
1660
+ "border-color-b": [{
1661
+ "border-b": d()
1662
+ }],
1663
+ /**
1664
+ * Border Color Left
1665
+ * @see https://tailwindcss.com/docs/border-color
1666
+ */
1667
+ "border-color-l": [{
1668
+ "border-l": d()
1669
+ }],
1670
+ /**
1671
+ * Divide Color
1672
+ * @see https://tailwindcss.com/docs/divide-color
1673
+ */
1674
+ "divide-color": [{
1675
+ divide: d()
1676
+ }],
1677
+ /**
1678
+ * Outline Style
1679
+ * @see https://tailwindcss.com/docs/outline-style
1680
+ */
1681
+ "outline-style": [{
1682
+ outline: [...K(), "none", "hidden"]
1683
+ }],
1684
+ /**
1685
+ * Outline Offset
1686
+ * @see https://tailwindcss.com/docs/outline-offset
1687
+ */
1688
+ "outline-offset": [{
1689
+ "outline-offset": [u, s, n]
1690
+ }],
1691
+ /**
1692
+ * Outline Width
1693
+ * @see https://tailwindcss.com/docs/outline-width
1694
+ */
1695
+ "outline-w": [{
1696
+ outline: ["", u, W, G]
1697
+ }],
1698
+ /**
1699
+ * Outline Color
1700
+ * @see https://tailwindcss.com/docs/outline-color
1701
+ */
1702
+ "outline-color": [{
1703
+ outline: d()
1704
+ }],
1705
+ // ---------------
1706
+ // --- Effects ---
1707
+ // ---------------
1708
+ /**
1709
+ * Box Shadow
1710
+ * @see https://tailwindcss.com/docs/box-shadow
1711
+ */
1712
+ shadow: [{
1713
+ shadow: [
1714
+ // Deprecated since Tailwind CSS v4.0.0
1715
+ "",
1716
+ "none",
1717
+ h,
1718
+ Q,
1719
+ J
1720
+ ]
1721
+ }],
1722
+ /**
1723
+ * Box Shadow Color
1724
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
1725
+ */
1726
+ "shadow-color": [{
1727
+ shadow: d()
1728
+ }],
1729
+ /**
1730
+ * Inset Box Shadow
1731
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1732
+ */
1733
+ "inset-shadow": [{
1734
+ "inset-shadow": ["none", y, Q, J]
1735
+ }],
1736
+ /**
1737
+ * Inset Box Shadow Color
1738
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
1739
+ */
1740
+ "inset-shadow-color": [{
1741
+ "inset-shadow": d()
1742
+ }],
1743
+ /**
1744
+ * Ring Width
1745
+ * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1746
+ */
1747
+ "ring-w": [{
1748
+ ring: z()
1749
+ }],
1750
+ /**
1751
+ * Ring Width Inset
1752
+ * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
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-w-inset": ["ring-inset"],
1757
+ /**
1758
+ * Ring Color
1759
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
1760
+ */
1761
+ "ring-color": [{
1762
+ ring: d()
1763
+ }],
1764
+ /**
1765
+ * Ring Offset Width
1766
+ * @see https://v3.tailwindcss.com/docs/ring-offset-width
1767
+ * @deprecated since Tailwind CSS v4.0.0
1768
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1769
+ */
1770
+ "ring-offset-w": [{
1771
+ "ring-offset": [u, G]
1772
+ }],
1773
+ /**
1774
+ * Ring Offset Color
1775
+ * @see https://v3.tailwindcss.com/docs/ring-offset-color
1776
+ * @deprecated since Tailwind CSS v4.0.0
1777
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1778
+ */
1779
+ "ring-offset-color": [{
1780
+ "ring-offset": d()
1781
+ }],
1782
+ /**
1783
+ * Inset Ring Width
1784
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
1785
+ */
1786
+ "inset-ring-w": [{
1787
+ "inset-ring": z()
1788
+ }],
1789
+ /**
1790
+ * Inset Ring Color
1791
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
1792
+ */
1793
+ "inset-ring-color": [{
1794
+ "inset-ring": d()
1795
+ }],
1796
+ /**
1797
+ * Text Shadow
1798
+ * @see https://tailwindcss.com/docs/text-shadow
1799
+ */
1800
+ "text-shadow": [{
1801
+ "text-shadow": ["none", x, Q, J]
1802
+ }],
1803
+ /**
1804
+ * Text Shadow Color
1805
+ * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
1806
+ */
1807
+ "text-shadow-color": [{
1808
+ "text-shadow": d()
1809
+ }],
1810
+ /**
1811
+ * Opacity
1812
+ * @see https://tailwindcss.com/docs/opacity
1813
+ */
1814
+ opacity: [{
1815
+ opacity: [u, s, n]
1816
+ }],
1817
+ /**
1818
+ * Mix Blend Mode
1819
+ * @see https://tailwindcss.com/docs/mix-blend-mode
1820
+ */
1821
+ "mix-blend": [{
1822
+ "mix-blend": [...ge(), "plus-darker", "plus-lighter"]
1823
+ }],
1824
+ /**
1825
+ * Background Blend Mode
1826
+ * @see https://tailwindcss.com/docs/background-blend-mode
1827
+ */
1828
+ "bg-blend": [{
1829
+ "bg-blend": ge()
1830
+ }],
1831
+ /**
1832
+ * Mask Clip
1833
+ * @see https://tailwindcss.com/docs/mask-clip
1834
+ */
1835
+ "mask-clip": [{
1836
+ "mask-clip": ["border", "padding", "content", "fill", "stroke", "view"]
1837
+ }, "mask-no-clip"],
1838
+ /**
1839
+ * Mask Composite
1840
+ * @see https://tailwindcss.com/docs/mask-composite
1841
+ */
1842
+ "mask-composite": [{
1843
+ mask: ["add", "subtract", "intersect", "exclude"]
1844
+ }],
1845
+ /**
1846
+ * Mask Image
1847
+ * @see https://tailwindcss.com/docs/mask-image
1848
+ */
1849
+ "mask-image-linear-pos": [{
1850
+ "mask-linear": [u]
1851
+ }],
1852
+ "mask-image-linear-from-pos": [{
1853
+ "mask-linear-from": k()
1854
+ }],
1855
+ "mask-image-linear-to-pos": [{
1856
+ "mask-linear-to": k()
1857
+ }],
1858
+ "mask-image-linear-from-color": [{
1859
+ "mask-linear-from": d()
1860
+ }],
1861
+ "mask-image-linear-to-color": [{
1862
+ "mask-linear-to": d()
1863
+ }],
1864
+ "mask-image-t-from-pos": [{
1865
+ "mask-t-from": k()
1866
+ }],
1867
+ "mask-image-t-to-pos": [{
1868
+ "mask-t-to": k()
1869
+ }],
1870
+ "mask-image-t-from-color": [{
1871
+ "mask-t-from": d()
1872
+ }],
1873
+ "mask-image-t-to-color": [{
1874
+ "mask-t-to": d()
1875
+ }],
1876
+ "mask-image-r-from-pos": [{
1877
+ "mask-r-from": k()
1878
+ }],
1879
+ "mask-image-r-to-pos": [{
1880
+ "mask-r-to": k()
1881
+ }],
1882
+ "mask-image-r-from-color": [{
1883
+ "mask-r-from": d()
1884
+ }],
1885
+ "mask-image-r-to-color": [{
1886
+ "mask-r-to": d()
1887
+ }],
1888
+ "mask-image-b-from-pos": [{
1889
+ "mask-b-from": k()
1890
+ }],
1891
+ "mask-image-b-to-pos": [{
1892
+ "mask-b-to": k()
1893
+ }],
1894
+ "mask-image-b-from-color": [{
1895
+ "mask-b-from": d()
1896
+ }],
1897
+ "mask-image-b-to-color": [{
1898
+ "mask-b-to": d()
1899
+ }],
1900
+ "mask-image-l-from-pos": [{
1901
+ "mask-l-from": k()
1902
+ }],
1903
+ "mask-image-l-to-pos": [{
1904
+ "mask-l-to": k()
1905
+ }],
1906
+ "mask-image-l-from-color": [{
1907
+ "mask-l-from": d()
1908
+ }],
1909
+ "mask-image-l-to-color": [{
1910
+ "mask-l-to": d()
1911
+ }],
1912
+ "mask-image-x-from-pos": [{
1913
+ "mask-x-from": k()
1914
+ }],
1915
+ "mask-image-x-to-pos": [{
1916
+ "mask-x-to": k()
1917
+ }],
1918
+ "mask-image-x-from-color": [{
1919
+ "mask-x-from": d()
1920
+ }],
1921
+ "mask-image-x-to-color": [{
1922
+ "mask-x-to": d()
1923
+ }],
1924
+ "mask-image-y-from-pos": [{
1925
+ "mask-y-from": k()
1926
+ }],
1927
+ "mask-image-y-to-pos": [{
1928
+ "mask-y-to": k()
1929
+ }],
1930
+ "mask-image-y-from-color": [{
1931
+ "mask-y-from": d()
1932
+ }],
1933
+ "mask-image-y-to-color": [{
1934
+ "mask-y-to": d()
1935
+ }],
1936
+ "mask-image-radial": [{
1937
+ "mask-radial": [s, n]
1938
+ }],
1939
+ "mask-image-radial-from-pos": [{
1940
+ "mask-radial-from": k()
1941
+ }],
1942
+ "mask-image-radial-to-pos": [{
1943
+ "mask-radial-to": k()
1944
+ }],
1945
+ "mask-image-radial-from-color": [{
1946
+ "mask-radial-from": d()
1947
+ }],
1948
+ "mask-image-radial-to-color": [{
1949
+ "mask-radial-to": d()
1950
+ }],
1951
+ "mask-image-radial-shape": [{
1952
+ "mask-radial": ["circle", "ellipse"]
1953
+ }],
1954
+ "mask-image-radial-size": [{
1955
+ "mask-radial": [{
1956
+ closest: ["side", "corner"],
1957
+ farthest: ["side", "corner"]
1958
+ }]
1959
+ }],
1960
+ "mask-image-radial-pos": [{
1961
+ "mask-radial-at": L()
1962
+ }],
1963
+ "mask-image-conic-pos": [{
1964
+ "mask-conic": [u]
1965
+ }],
1966
+ "mask-image-conic-from-pos": [{
1967
+ "mask-conic-from": k()
1968
+ }],
1969
+ "mask-image-conic-to-pos": [{
1970
+ "mask-conic-to": k()
1971
+ }],
1972
+ "mask-image-conic-from-color": [{
1973
+ "mask-conic-from": d()
1974
+ }],
1975
+ "mask-image-conic-to-color": [{
1976
+ "mask-conic-to": d()
1977
+ }],
1978
+ /**
1979
+ * Mask Mode
1980
+ * @see https://tailwindcss.com/docs/mask-mode
1981
+ */
1982
+ "mask-mode": [{
1983
+ mask: ["alpha", "luminance", "match"]
1984
+ }],
1985
+ /**
1986
+ * Mask Origin
1987
+ * @see https://tailwindcss.com/docs/mask-origin
1988
+ */
1989
+ "mask-origin": [{
1990
+ "mask-origin": ["border", "padding", "content", "fill", "stroke", "view"]
1991
+ }],
1992
+ /**
1993
+ * Mask Position
1994
+ * @see https://tailwindcss.com/docs/mask-position
1995
+ */
1996
+ "mask-position": [{
1997
+ mask: ue()
1998
+ }],
1999
+ /**
2000
+ * Mask Repeat
2001
+ * @see https://tailwindcss.com/docs/mask-repeat
2002
+ */
2003
+ "mask-repeat": [{
2004
+ mask: pe()
2005
+ }],
2006
+ /**
2007
+ * Mask Size
2008
+ * @see https://tailwindcss.com/docs/mask-size
2009
+ */
2010
+ "mask-size": [{
2011
+ mask: fe()
2012
+ }],
2013
+ /**
2014
+ * Mask Type
2015
+ * @see https://tailwindcss.com/docs/mask-type
2016
+ */
2017
+ "mask-type": [{
2018
+ "mask-type": ["alpha", "luminance"]
2019
+ }],
2020
+ /**
2021
+ * Mask Image
2022
+ * @see https://tailwindcss.com/docs/mask-image
2023
+ */
2024
+ "mask-image": [{
2025
+ mask: ["none", s, n]
2026
+ }],
2027
+ // ---------------
2028
+ // --- Filters ---
2029
+ // ---------------
2030
+ /**
2031
+ * Filter
2032
+ * @see https://tailwindcss.com/docs/filter
2033
+ */
2034
+ filter: [{
2035
+ filter: [
2036
+ // Deprecated since Tailwind CSS v3.0.0
2037
+ "",
2038
+ "none",
2039
+ s,
2040
+ n
2041
+ ]
2042
+ }],
2043
+ /**
2044
+ * Blur
2045
+ * @see https://tailwindcss.com/docs/blur
2046
+ */
2047
+ blur: [{
2048
+ blur: be()
2049
+ }],
2050
+ /**
2051
+ * Brightness
2052
+ * @see https://tailwindcss.com/docs/brightness
2053
+ */
2054
+ brightness: [{
2055
+ brightness: [u, s, n]
2056
+ }],
2057
+ /**
2058
+ * Contrast
2059
+ * @see https://tailwindcss.com/docs/contrast
2060
+ */
2061
+ contrast: [{
2062
+ contrast: [u, s, n]
2063
+ }],
2064
+ /**
2065
+ * Drop Shadow
2066
+ * @see https://tailwindcss.com/docs/drop-shadow
2067
+ */
2068
+ "drop-shadow": [{
2069
+ "drop-shadow": [
2070
+ // Deprecated since Tailwind CSS v4.0.0
2071
+ "",
2072
+ "none",
2073
+ S,
2074
+ Q,
2075
+ J
2076
+ ]
2077
+ }],
2078
+ /**
2079
+ * Drop Shadow Color
2080
+ * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2081
+ */
2082
+ "drop-shadow-color": [{
2083
+ "drop-shadow": d()
2084
+ }],
2085
+ /**
2086
+ * Grayscale
2087
+ * @see https://tailwindcss.com/docs/grayscale
2088
+ */
2089
+ grayscale: [{
2090
+ grayscale: ["", u, s, n]
2091
+ }],
2092
+ /**
2093
+ * Hue Rotate
2094
+ * @see https://tailwindcss.com/docs/hue-rotate
2095
+ */
2096
+ "hue-rotate": [{
2097
+ "hue-rotate": [u, s, n]
2098
+ }],
2099
+ /**
2100
+ * Invert
2101
+ * @see https://tailwindcss.com/docs/invert
2102
+ */
2103
+ invert: [{
2104
+ invert: ["", u, s, n]
2105
+ }],
2106
+ /**
2107
+ * Saturate
2108
+ * @see https://tailwindcss.com/docs/saturate
2109
+ */
2110
+ saturate: [{
2111
+ saturate: [u, s, n]
2112
+ }],
2113
+ /**
2114
+ * Sepia
2115
+ * @see https://tailwindcss.com/docs/sepia
2116
+ */
2117
+ sepia: [{
2118
+ sepia: ["", u, s, n]
2119
+ }],
2120
+ /**
2121
+ * Backdrop Filter
2122
+ * @see https://tailwindcss.com/docs/backdrop-filter
2123
+ */
2124
+ "backdrop-filter": [{
2125
+ "backdrop-filter": [
2126
+ // Deprecated since Tailwind CSS v3.0.0
2127
+ "",
2128
+ "none",
2129
+ s,
2130
+ n
2131
+ ]
2132
+ }],
2133
+ /**
2134
+ * Backdrop Blur
2135
+ * @see https://tailwindcss.com/docs/backdrop-blur
2136
+ */
2137
+ "backdrop-blur": [{
2138
+ "backdrop-blur": be()
2139
+ }],
2140
+ /**
2141
+ * Backdrop Brightness
2142
+ * @see https://tailwindcss.com/docs/backdrop-brightness
2143
+ */
2144
+ "backdrop-brightness": [{
2145
+ "backdrop-brightness": [u, s, n]
2146
+ }],
2147
+ /**
2148
+ * Backdrop Contrast
2149
+ * @see https://tailwindcss.com/docs/backdrop-contrast
2150
+ */
2151
+ "backdrop-contrast": [{
2152
+ "backdrop-contrast": [u, s, n]
2153
+ }],
2154
+ /**
2155
+ * Backdrop Grayscale
2156
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
2157
+ */
2158
+ "backdrop-grayscale": [{
2159
+ "backdrop-grayscale": ["", u, s, n]
2160
+ }],
2161
+ /**
2162
+ * Backdrop Hue Rotate
2163
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2164
+ */
2165
+ "backdrop-hue-rotate": [{
2166
+ "backdrop-hue-rotate": [u, s, n]
2167
+ }],
2168
+ /**
2169
+ * Backdrop Invert
2170
+ * @see https://tailwindcss.com/docs/backdrop-invert
2171
+ */
2172
+ "backdrop-invert": [{
2173
+ "backdrop-invert": ["", u, s, n]
2174
+ }],
2175
+ /**
2176
+ * Backdrop Opacity
2177
+ * @see https://tailwindcss.com/docs/backdrop-opacity
2178
+ */
2179
+ "backdrop-opacity": [{
2180
+ "backdrop-opacity": [u, s, n]
2181
+ }],
2182
+ /**
2183
+ * Backdrop Saturate
2184
+ * @see https://tailwindcss.com/docs/backdrop-saturate
2185
+ */
2186
+ "backdrop-saturate": [{
2187
+ "backdrop-saturate": [u, s, n]
2188
+ }],
2189
+ /**
2190
+ * Backdrop Sepia
2191
+ * @see https://tailwindcss.com/docs/backdrop-sepia
2192
+ */
2193
+ "backdrop-sepia": [{
2194
+ "backdrop-sepia": ["", u, s, n]
2195
+ }],
2196
+ // --------------
2197
+ // --- Tables ---
2198
+ // --------------
2199
+ /**
2200
+ * Border Collapse
2201
+ * @see https://tailwindcss.com/docs/border-collapse
2202
+ */
2203
+ "border-collapse": [{
2204
+ border: ["collapse", "separate"]
2205
+ }],
2206
+ /**
2207
+ * Border Spacing
2208
+ * @see https://tailwindcss.com/docs/border-spacing
2209
+ */
2210
+ "border-spacing": [{
2211
+ "border-spacing": m()
2212
+ }],
2213
+ /**
2214
+ * Border Spacing X
2215
+ * @see https://tailwindcss.com/docs/border-spacing
2216
+ */
2217
+ "border-spacing-x": [{
2218
+ "border-spacing-x": m()
2219
+ }],
2220
+ /**
2221
+ * Border Spacing Y
2222
+ * @see https://tailwindcss.com/docs/border-spacing
2223
+ */
2224
+ "border-spacing-y": [{
2225
+ "border-spacing-y": m()
2226
+ }],
2227
+ /**
2228
+ * Table Layout
2229
+ * @see https://tailwindcss.com/docs/table-layout
2230
+ */
2231
+ "table-layout": [{
2232
+ table: ["auto", "fixed"]
2233
+ }],
2234
+ /**
2235
+ * Caption Side
2236
+ * @see https://tailwindcss.com/docs/caption-side
2237
+ */
2238
+ caption: [{
2239
+ caption: ["top", "bottom"]
2240
+ }],
2241
+ // ---------------------------------
2242
+ // --- Transitions and Animation ---
2243
+ // ---------------------------------
2244
+ /**
2245
+ * Transition Property
2246
+ * @see https://tailwindcss.com/docs/transition-property
2247
+ */
2248
+ transition: [{
2249
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", s, n]
2250
+ }],
2251
+ /**
2252
+ * Transition Behavior
2253
+ * @see https://tailwindcss.com/docs/transition-behavior
2254
+ */
2255
+ "transition-behavior": [{
2256
+ transition: ["normal", "discrete"]
2257
+ }],
2258
+ /**
2259
+ * Transition Duration
2260
+ * @see https://tailwindcss.com/docs/transition-duration
2261
+ */
2262
+ duration: [{
2263
+ duration: [u, "initial", s, n]
2264
+ }],
2265
+ /**
2266
+ * Transition Timing Function
2267
+ * @see https://tailwindcss.com/docs/transition-timing-function
2268
+ */
2269
+ ease: [{
2270
+ ease: ["linear", "initial", E, s, n]
2271
+ }],
2272
+ /**
2273
+ * Transition Delay
2274
+ * @see https://tailwindcss.com/docs/transition-delay
2275
+ */
2276
+ delay: [{
2277
+ delay: [u, s, n]
2278
+ }],
2279
+ /**
2280
+ * Animation
2281
+ * @see https://tailwindcss.com/docs/animation
2282
+ */
2283
+ animate: [{
2284
+ animate: ["none", U, s, n]
2285
+ }],
2286
+ // ------------------
2287
+ // --- Transforms ---
2288
+ // ------------------
2289
+ /**
2290
+ * Backface Visibility
2291
+ * @see https://tailwindcss.com/docs/backface-visibility
2292
+ */
2293
+ backface: [{
2294
+ backface: ["hidden", "visible"]
2295
+ }],
2296
+ /**
2297
+ * Perspective
2298
+ * @see https://tailwindcss.com/docs/perspective
2299
+ */
2300
+ perspective: [{
2301
+ perspective: [v, s, n]
2302
+ }],
2303
+ /**
2304
+ * Perspective Origin
2305
+ * @see https://tailwindcss.com/docs/perspective-origin
2306
+ */
2307
+ "perspective-origin": [{
2308
+ "perspective-origin": D()
2309
+ }],
2310
+ /**
2311
+ * Rotate
2312
+ * @see https://tailwindcss.com/docs/rotate
2313
+ */
2314
+ rotate: [{
2315
+ rotate: q()
2316
+ }],
2317
+ /**
2318
+ * Rotate X
2319
+ * @see https://tailwindcss.com/docs/rotate
2320
+ */
2321
+ "rotate-x": [{
2322
+ "rotate-x": q()
2323
+ }],
2324
+ /**
2325
+ * Rotate Y
2326
+ * @see https://tailwindcss.com/docs/rotate
2327
+ */
2328
+ "rotate-y": [{
2329
+ "rotate-y": q()
2330
+ }],
2331
+ /**
2332
+ * Rotate Z
2333
+ * @see https://tailwindcss.com/docs/rotate
2334
+ */
2335
+ "rotate-z": [{
2336
+ "rotate-z": q()
2337
+ }],
2338
+ /**
2339
+ * Scale
2340
+ * @see https://tailwindcss.com/docs/scale
2341
+ */
2342
+ scale: [{
2343
+ scale: H()
2344
+ }],
2345
+ /**
2346
+ * Scale X
2347
+ * @see https://tailwindcss.com/docs/scale
2348
+ */
2349
+ "scale-x": [{
2350
+ "scale-x": H()
2351
+ }],
2352
+ /**
2353
+ * Scale Y
2354
+ * @see https://tailwindcss.com/docs/scale
2355
+ */
2356
+ "scale-y": [{
2357
+ "scale-y": H()
2358
+ }],
2359
+ /**
2360
+ * Scale Z
2361
+ * @see https://tailwindcss.com/docs/scale
2362
+ */
2363
+ "scale-z": [{
2364
+ "scale-z": H()
2365
+ }],
2366
+ /**
2367
+ * Scale 3D
2368
+ * @see https://tailwindcss.com/docs/scale
2369
+ */
2370
+ "scale-3d": ["scale-3d"],
2371
+ /**
2372
+ * Skew
2373
+ * @see https://tailwindcss.com/docs/skew
2374
+ */
2375
+ skew: [{
2376
+ skew: oe()
2377
+ }],
2378
+ /**
2379
+ * Skew X
2380
+ * @see https://tailwindcss.com/docs/skew
2381
+ */
2382
+ "skew-x": [{
2383
+ "skew-x": oe()
2384
+ }],
2385
+ /**
2386
+ * Skew Y
2387
+ * @see https://tailwindcss.com/docs/skew
2388
+ */
2389
+ "skew-y": [{
2390
+ "skew-y": oe()
2391
+ }],
2392
+ /**
2393
+ * Transform
2394
+ * @see https://tailwindcss.com/docs/transform
2395
+ */
2396
+ transform: [{
2397
+ transform: [s, n, "", "none", "gpu", "cpu"]
2398
+ }],
2399
+ /**
2400
+ * Transform Origin
2401
+ * @see https://tailwindcss.com/docs/transform-origin
2402
+ */
2403
+ "transform-origin": [{
2404
+ origin: D()
2405
+ }],
2406
+ /**
2407
+ * Transform Style
2408
+ * @see https://tailwindcss.com/docs/transform-style
2409
+ */
2410
+ "transform-style": [{
2411
+ transform: ["3d", "flat"]
2412
+ }],
2413
+ /**
2414
+ * Translate
2415
+ * @see https://tailwindcss.com/docs/translate
2416
+ */
2417
+ translate: [{
2418
+ translate: X()
2419
+ }],
2420
+ /**
2421
+ * Translate X
2422
+ * @see https://tailwindcss.com/docs/translate
2423
+ */
2424
+ "translate-x": [{
2425
+ "translate-x": X()
2426
+ }],
2427
+ /**
2428
+ * Translate Y
2429
+ * @see https://tailwindcss.com/docs/translate
2430
+ */
2431
+ "translate-y": [{
2432
+ "translate-y": X()
2433
+ }],
2434
+ /**
2435
+ * Translate Z
2436
+ * @see https://tailwindcss.com/docs/translate
2437
+ */
2438
+ "translate-z": [{
2439
+ "translate-z": X()
2440
+ }],
2441
+ /**
2442
+ * Translate None
2443
+ * @see https://tailwindcss.com/docs/translate
2444
+ */
2445
+ "translate-none": ["translate-none"],
2446
+ // ---------------------
2447
+ // --- Interactivity ---
2448
+ // ---------------------
2449
+ /**
2450
+ * Accent Color
2451
+ * @see https://tailwindcss.com/docs/accent-color
2452
+ */
2453
+ accent: [{
2454
+ accent: d()
2455
+ }],
2456
+ /**
2457
+ * Appearance
2458
+ * @see https://tailwindcss.com/docs/appearance
2459
+ */
2460
+ appearance: [{
2461
+ appearance: ["none", "auto"]
2462
+ }],
2463
+ /**
2464
+ * Caret Color
2465
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2466
+ */
2467
+ "caret-color": [{
2468
+ caret: d()
2469
+ }],
2470
+ /**
2471
+ * Color Scheme
2472
+ * @see https://tailwindcss.com/docs/color-scheme
2473
+ */
2474
+ "color-scheme": [{
2475
+ scheme: ["normal", "dark", "light", "light-dark", "only-dark", "only-light"]
2476
+ }],
2477
+ /**
2478
+ * Cursor
2479
+ * @see https://tailwindcss.com/docs/cursor
2480
+ */
2481
+ cursor: [{
2482
+ 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", s, n]
2483
+ }],
2484
+ /**
2485
+ * Field Sizing
2486
+ * @see https://tailwindcss.com/docs/field-sizing
2487
+ */
2488
+ "field-sizing": [{
2489
+ "field-sizing": ["fixed", "content"]
2490
+ }],
2491
+ /**
2492
+ * Pointer Events
2493
+ * @see https://tailwindcss.com/docs/pointer-events
2494
+ */
2495
+ "pointer-events": [{
2496
+ "pointer-events": ["auto", "none"]
2497
+ }],
2498
+ /**
2499
+ * Resize
2500
+ * @see https://tailwindcss.com/docs/resize
2501
+ */
2502
+ resize: [{
2503
+ resize: ["none", "", "y", "x"]
2504
+ }],
2505
+ /**
2506
+ * Scroll Behavior
2507
+ * @see https://tailwindcss.com/docs/scroll-behavior
2508
+ */
2509
+ "scroll-behavior": [{
2510
+ scroll: ["auto", "smooth"]
2511
+ }],
2512
+ /**
2513
+ * Scroll Margin
2514
+ * @see https://tailwindcss.com/docs/scroll-margin
2515
+ */
2516
+ "scroll-m": [{
2517
+ "scroll-m": m()
2518
+ }],
2519
+ /**
2520
+ * Scroll Margin X
2521
+ * @see https://tailwindcss.com/docs/scroll-margin
2522
+ */
2523
+ "scroll-mx": [{
2524
+ "scroll-mx": m()
2525
+ }],
2526
+ /**
2527
+ * Scroll Margin Y
2528
+ * @see https://tailwindcss.com/docs/scroll-margin
2529
+ */
2530
+ "scroll-my": [{
2531
+ "scroll-my": m()
2532
+ }],
2533
+ /**
2534
+ * Scroll Margin Start
2535
+ * @see https://tailwindcss.com/docs/scroll-margin
2536
+ */
2537
+ "scroll-ms": [{
2538
+ "scroll-ms": m()
2539
+ }],
2540
+ /**
2541
+ * Scroll Margin End
2542
+ * @see https://tailwindcss.com/docs/scroll-margin
2543
+ */
2544
+ "scroll-me": [{
2545
+ "scroll-me": m()
2546
+ }],
2547
+ /**
2548
+ * Scroll Margin Top
2549
+ * @see https://tailwindcss.com/docs/scroll-margin
2550
+ */
2551
+ "scroll-mt": [{
2552
+ "scroll-mt": m()
2553
+ }],
2554
+ /**
2555
+ * Scroll Margin Right
2556
+ * @see https://tailwindcss.com/docs/scroll-margin
2557
+ */
2558
+ "scroll-mr": [{
2559
+ "scroll-mr": m()
2560
+ }],
2561
+ /**
2562
+ * Scroll Margin Bottom
2563
+ * @see https://tailwindcss.com/docs/scroll-margin
2564
+ */
2565
+ "scroll-mb": [{
2566
+ "scroll-mb": m()
2567
+ }],
2568
+ /**
2569
+ * Scroll Margin Left
2570
+ * @see https://tailwindcss.com/docs/scroll-margin
2571
+ */
2572
+ "scroll-ml": [{
2573
+ "scroll-ml": m()
2574
+ }],
2575
+ /**
2576
+ * Scroll Padding
2577
+ * @see https://tailwindcss.com/docs/scroll-padding
2578
+ */
2579
+ "scroll-p": [{
2580
+ "scroll-p": m()
2581
+ }],
2582
+ /**
2583
+ * Scroll Padding X
2584
+ * @see https://tailwindcss.com/docs/scroll-padding
2585
+ */
2586
+ "scroll-px": [{
2587
+ "scroll-px": m()
2588
+ }],
2589
+ /**
2590
+ * Scroll Padding Y
2591
+ * @see https://tailwindcss.com/docs/scroll-padding
2592
+ */
2593
+ "scroll-py": [{
2594
+ "scroll-py": m()
2595
+ }],
2596
+ /**
2597
+ * Scroll Padding Start
2598
+ * @see https://tailwindcss.com/docs/scroll-padding
2599
+ */
2600
+ "scroll-ps": [{
2601
+ "scroll-ps": m()
2602
+ }],
2603
+ /**
2604
+ * Scroll Padding End
2605
+ * @see https://tailwindcss.com/docs/scroll-padding
2606
+ */
2607
+ "scroll-pe": [{
2608
+ "scroll-pe": m()
2609
+ }],
2610
+ /**
2611
+ * Scroll Padding Top
2612
+ * @see https://tailwindcss.com/docs/scroll-padding
2613
+ */
2614
+ "scroll-pt": [{
2615
+ "scroll-pt": m()
2616
+ }],
2617
+ /**
2618
+ * Scroll Padding Right
2619
+ * @see https://tailwindcss.com/docs/scroll-padding
2620
+ */
2621
+ "scroll-pr": [{
2622
+ "scroll-pr": m()
2623
+ }],
2624
+ /**
2625
+ * Scroll Padding Bottom
2626
+ * @see https://tailwindcss.com/docs/scroll-padding
2627
+ */
2628
+ "scroll-pb": [{
2629
+ "scroll-pb": m()
2630
+ }],
2631
+ /**
2632
+ * Scroll Padding Left
2633
+ * @see https://tailwindcss.com/docs/scroll-padding
2634
+ */
2635
+ "scroll-pl": [{
2636
+ "scroll-pl": m()
2637
+ }],
2638
+ /**
2639
+ * Scroll Snap Align
2640
+ * @see https://tailwindcss.com/docs/scroll-snap-align
2641
+ */
2642
+ "snap-align": [{
2643
+ snap: ["start", "end", "center", "align-none"]
2644
+ }],
2645
+ /**
2646
+ * Scroll Snap Stop
2647
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
2648
+ */
2649
+ "snap-stop": [{
2650
+ snap: ["normal", "always"]
2651
+ }],
2652
+ /**
2653
+ * Scroll Snap Type
2654
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2655
+ */
2656
+ "snap-type": [{
2657
+ snap: ["none", "x", "y", "both"]
2658
+ }],
2659
+ /**
2660
+ * Scroll Snap Type Strictness
2661
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2662
+ */
2663
+ "snap-strictness": [{
2664
+ snap: ["mandatory", "proximity"]
2665
+ }],
2666
+ /**
2667
+ * Touch Action
2668
+ * @see https://tailwindcss.com/docs/touch-action
2669
+ */
2670
+ touch: [{
2671
+ touch: ["auto", "none", "manipulation"]
2672
+ }],
2673
+ /**
2674
+ * Touch Action X
2675
+ * @see https://tailwindcss.com/docs/touch-action
2676
+ */
2677
+ "touch-x": [{
2678
+ "touch-pan": ["x", "left", "right"]
2679
+ }],
2680
+ /**
2681
+ * Touch Action Y
2682
+ * @see https://tailwindcss.com/docs/touch-action
2683
+ */
2684
+ "touch-y": [{
2685
+ "touch-pan": ["y", "up", "down"]
2686
+ }],
2687
+ /**
2688
+ * Touch Action Pinch Zoom
2689
+ * @see https://tailwindcss.com/docs/touch-action
2690
+ */
2691
+ "touch-pz": ["touch-pinch-zoom"],
2692
+ /**
2693
+ * User Select
2694
+ * @see https://tailwindcss.com/docs/user-select
2695
+ */
2696
+ select: [{
2697
+ select: ["none", "text", "all", "auto"]
2698
+ }],
2699
+ /**
2700
+ * Will Change
2701
+ * @see https://tailwindcss.com/docs/will-change
2702
+ */
2703
+ "will-change": [{
2704
+ "will-change": ["auto", "scroll", "contents", "transform", s, n]
2705
+ }],
2706
+ // -----------
2707
+ // --- SVG ---
2708
+ // -----------
2709
+ /**
2710
+ * Fill
2711
+ * @see https://tailwindcss.com/docs/fill
2712
+ */
2713
+ fill: [{
2714
+ fill: ["none", ...d()]
2715
+ }],
2716
+ /**
2717
+ * Stroke Width
2718
+ * @see https://tailwindcss.com/docs/stroke-width
2719
+ */
2720
+ "stroke-w": [{
2721
+ stroke: [u, W, G, ne]
2722
+ }],
2723
+ /**
2724
+ * Stroke
2725
+ * @see https://tailwindcss.com/docs/stroke
2726
+ */
2727
+ stroke: [{
2728
+ stroke: ["none", ...d()]
2729
+ }],
2730
+ // ---------------------
2731
+ // --- Accessibility ---
2732
+ // ---------------------
2733
+ /**
2734
+ * Forced Color Adjust
2735
+ * @see https://tailwindcss.com/docs/forced-color-adjust
2736
+ */
2737
+ "forced-color-adjust": [{
2738
+ "forced-color-adjust": ["auto", "none"]
2739
+ }]
2740
+ },
2741
+ conflictingClassGroups: {
2742
+ overflow: ["overflow-x", "overflow-y"],
2743
+ overscroll: ["overscroll-x", "overscroll-y"],
2744
+ inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
2745
+ "inset-x": ["right", "left"],
2746
+ "inset-y": ["top", "bottom"],
2747
+ flex: ["basis", "grow", "shrink"],
2748
+ gap: ["gap-x", "gap-y"],
2749
+ p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
2750
+ px: ["pr", "pl"],
2751
+ py: ["pt", "pb"],
2752
+ m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
2753
+ mx: ["mr", "ml"],
2754
+ my: ["mt", "mb"],
2755
+ size: ["w", "h"],
2756
+ "font-size": ["leading"],
2757
+ "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
2758
+ "fvn-ordinal": ["fvn-normal"],
2759
+ "fvn-slashed-zero": ["fvn-normal"],
2760
+ "fvn-figure": ["fvn-normal"],
2761
+ "fvn-spacing": ["fvn-normal"],
2762
+ "fvn-fraction": ["fvn-normal"],
2763
+ "line-clamp": ["display", "overflow"],
2764
+ 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"],
2765
+ "rounded-s": ["rounded-ss", "rounded-es"],
2766
+ "rounded-e": ["rounded-se", "rounded-ee"],
2767
+ "rounded-t": ["rounded-tl", "rounded-tr"],
2768
+ "rounded-r": ["rounded-tr", "rounded-br"],
2769
+ "rounded-b": ["rounded-br", "rounded-bl"],
2770
+ "rounded-l": ["rounded-tl", "rounded-bl"],
2771
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
2772
+ "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"],
2773
+ "border-w-x": ["border-w-r", "border-w-l"],
2774
+ "border-w-y": ["border-w-t", "border-w-b"],
2775
+ "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"],
2776
+ "border-color-x": ["border-color-r", "border-color-l"],
2777
+ "border-color-y": ["border-color-t", "border-color-b"],
2778
+ translate: ["translate-x", "translate-y", "translate-none"],
2779
+ "translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
2780
+ "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
2781
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
2782
+ "scroll-my": ["scroll-mt", "scroll-mb"],
2783
+ "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
2784
+ "scroll-px": ["scroll-pr", "scroll-pl"],
2785
+ "scroll-py": ["scroll-pt", "scroll-pb"],
2786
+ touch: ["touch-x", "touch-y", "touch-pz"],
2787
+ "touch-x": ["touch"],
2788
+ "touch-y": ["touch"],
2789
+ "touch-pz": ["touch"]
2790
+ },
2791
+ conflictingClassGroupModifiers: {
2792
+ "font-size": ["leading"]
2793
+ },
2794
+ orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2795
+ };
2796
+ }, Pt = /* @__PURE__ */ ut(Nt);
2797
+ function ie(...e) {
2798
+ return Pt(Ue(e));
2799
+ }
2800
+ const $ = "default", Gt = Fe({
2801
+ themeName: $,
2802
+ themeBase: $,
2803
+ portalContainer: null
2804
+ });
2805
+ function Lt(e) {
2806
+ const r = String(e ?? $).trim();
2807
+ return r.length > 0 ? r : $;
2808
+ }
2809
+ function Dt(e) {
2810
+ return Lt(e).toLowerCase().replace(/[^a-z0-9_-]+/g, "-").replace(/^-+|-+$/g, "") || $;
2811
+ }
2812
+ function Ot() {
2813
+ return Be(Gt).themeName;
2814
+ }
2815
+ function Vt() {
2816
+ return Dt(Ot());
2817
+ }
2818
+ const Ve = _e(
2819
+ ({
2820
+ className: e,
2821
+ inputClassName: r,
2822
+ type: o,
2823
+ onFocus: t,
2824
+ onBlur: i,
2825
+ disabled: c,
2826
+ style: a,
2827
+ ...f
2828
+ }, l) => {
2829
+ const g = Vt(), [h, y] = ze(!1);
2830
+ return /* @__PURE__ */ se(
2831
+ "div",
2832
+ {
2833
+ className: ie(
2834
+ "flex h-9 w-full items-center rounded-md border bg-[var(--tdg-input-bg,var(--background))] px-3 py-1 text-[var(--tdg-input-color,var(--foreground))] shadow-sm transition-colors [border-color:var(--tdg-input-border-color,var(--input))] hover:[border-color:var(--tdg-input-border-color-hover,var(--ring))] focus-within:ring-1 focus-within:ring-ring focus-within:[border-color:var(--tdg-input-border-color-focus,var(--ring))] disabled:cursor-not-allowed disabled:opacity-50",
2835
+ "inovua-react-toolkit-text-input",
2836
+ `inovua-react-toolkit-text-input--theme-${g}`,
2837
+ c ? "inovua-react-toolkit-text-input--disabled" : "",
2838
+ h ? "inovua-react-toolkit-text-input--focused" : "",
2839
+ e
2840
+ ),
2841
+ style: a
2842
+ },
2843
+ /* @__PURE__ */ se(
2844
+ "input",
2845
+ {
2846
+ type: o,
2847
+ className: ie(
2848
+ "inovua-react-toolkit-text-input__input m-0 min-w-0 flex-1 appearance-none rounded-none border-0 bg-transparent p-0 text-base text-[var(--tdg-input-color,var(--foreground))] shadow-none outline-none [font:inherit] [line-height:inherit] file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground md:text-sm",
2849
+ r
2850
+ ),
2851
+ ref: l,
2852
+ disabled: c,
2853
+ onFocus: (x) => {
2854
+ y(!0), t?.(x);
2855
+ },
2856
+ onBlur: (x) => {
2857
+ y(!1), i?.(x);
2858
+ },
2859
+ ...f
2860
+ }
2861
+ )
2862
+ );
2863
+ }
2864
+ );
2865
+ Ve.displayName = "Input";
2866
+ function ve(e) {
2867
+ if (e == null || e === "") return "";
2868
+ if (typeof e == "string") return e.slice(0, 10);
2869
+ if (!Number.isFinite(e.getTime())) return "";
2870
+ const r = e.getFullYear(), o = String(e.getMonth() + 1).padStart(2, "0"), t = String(e.getDate()).padStart(2, "0");
2871
+ return `${r}-${o}-${t}`;
2872
+ }
2873
+ function jt({
2874
+ value: e = null,
2875
+ onChange: r,
2876
+ onComplete: o,
2877
+ onCancel: t,
2878
+ onTabNavigation: i,
2879
+ onKeyDown: c,
2880
+ autoFocus: a,
2881
+ disabled: f,
2882
+ readOnly: l,
2883
+ rtl: g,
2884
+ className: h,
2885
+ style: y,
2886
+ editorProps: x
2887
+ }) {
2888
+ const [S, A] = ze(() => ve(e)), v = $e(S);
2889
+ return We(() => {
2890
+ const p = ve(e);
2891
+ v.current = p, A(p);
2892
+ }, [e]), /* @__PURE__ */ se(
2893
+ Ve,
2894
+ {
2895
+ ...x,
2896
+ type: "date",
2897
+ value: S,
2898
+ autoFocus: a,
2899
+ disabled: f,
2900
+ readOnly: l,
2901
+ dir: g ? "rtl" : "ltr",
2902
+ className: ie("h-full min-h-8 w-full", x?.className, h),
2903
+ style: { ...x?.style, ...y },
2904
+ "data-slot": "date-editor",
2905
+ onChange: (p) => {
2906
+ v.current = p.target.value, A(p.target.value), r?.(p.target.value || null, p);
2907
+ },
2908
+ onBlur: (p) => {
2909
+ x?.onBlur?.(p), o?.(v.current || null, p);
2910
+ },
2911
+ onKeyDown: (p) => {
2912
+ x?.onKeyDown?.(p), c?.(p), !p.defaultPrevented && (p.key === "Escape" ? (p.preventDefault(), t?.(p)) : p.key === "Enter" ? (p.preventDefault(), o?.(v.current || null, p)) : p.key === "Tab" && (p.preventDefault(), i?.(!0, p.shiftKey ? -1 : 1, p)));
2913
+ }
2914
+ }
2915
+ );
2916
+ }
2917
+ jt.defaultProps = {
2918
+ relativeToViewport: !1
2919
+ };
2920
+ export {
2921
+ jt as default
2922
+ };