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