@geovi/the-datagrid 0.1.1 → 0.1.2

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 (66) hide show
  1. package/README.md +47 -1253
  2. package/dist/BoolEditor.cjs +1 -1
  3. package/dist/BoolEditor.js +235 -222
  4. package/dist/DateEditor.cjs +1 -1
  5. package/dist/DateEditor.js +297 -273
  6. package/dist/DateFilter.cjs +1 -1
  7. package/dist/DateFilter.js +65 -63
  8. package/dist/NumberFilter.cjs +1 -1
  9. package/dist/NumberFilter.js +104 -102
  10. package/dist/NumericEditor.cjs +1 -1
  11. package/dist/NumericEditor.js +296 -277
  12. package/dist/SelectEditor.cjs +42 -0
  13. package/dist/SelectEditor.js +6703 -0
  14. package/dist/StringFilter.cjs +1 -1
  15. package/dist/StringFilter.js +121 -119
  16. package/dist/TextEditor.cjs +2 -0
  17. package/dist/TextEditor.js +2972 -0
  18. package/dist/base.css +1 -1
  19. package/dist/community-package-manifest.json +3 -1
  20. package/dist/components/ui/input.d.ts +2 -0
  21. package/dist/components/ui/input.d.ts.map +1 -1
  22. package/dist/editors/BoolEditor.d.ts +1 -1
  23. package/dist/editors/BoolEditor.d.ts.map +1 -1
  24. package/dist/editors/DateEditor.d.ts +1 -1
  25. package/dist/editors/DateEditor.d.ts.map +1 -1
  26. package/dist/editors/NumericEditor.d.ts +1 -1
  27. package/dist/editors/NumericEditor.d.ts.map +1 -1
  28. package/dist/editors/SelectEditor.d.ts +27 -0
  29. package/dist/editors/SelectEditor.d.ts.map +1 -0
  30. package/dist/editors/TextEditor.d.ts +27 -0
  31. package/dist/editors/TextEditor.d.ts.map +1 -0
  32. package/dist/editors/editorTypes.d.ts +24 -0
  33. package/dist/editors/editorTypes.d.ts.map +1 -1
  34. package/dist/editors/index.d.ts +5 -0
  35. package/dist/editors/index.d.ts.map +1 -1
  36. package/dist/grid/ReactDataGrid.d.ts.map +1 -1
  37. package/dist/grid/components/GridBody.d.ts.map +1 -1
  38. package/dist/grid/components/GridContextMenuLayer.d.ts.map +1 -1
  39. package/dist/grid/hooks/useGridEditing.d.ts.map +1 -1
  40. package/dist/grid/menuRuntime.d.ts +27 -0
  41. package/dist/grid/menuRuntime.d.ts.map +1 -0
  42. package/dist/index.cjs +13 -13
  43. package/dist/index.css +1 -1
  44. package/dist/index.js +9435 -9164
  45. package/dist/main.d.ts +2 -2
  46. package/dist/main.d.ts.map +1 -1
  47. package/dist/style/theme/amber-dark/index.css +1 -1
  48. package/dist/style/theme/amber-light/index.css +1 -1
  49. package/dist/style/theme/blue-dark/index.css +1 -1
  50. package/dist/style/theme/blue-light/index.css +1 -1
  51. package/dist/style/theme/default-dark/index.css +1 -1
  52. package/dist/style/theme/default-light/index.css +1 -1
  53. package/dist/style/theme/green-dark/index.css +1 -1
  54. package/dist/style/theme/green-light/index.css +1 -1
  55. package/dist/style/theme/pink-dark/index.css +1 -1
  56. package/dist/style/theme/pink-light/index.css +1 -1
  57. package/dist/toolbar/RDGToolbar.d.ts.map +1 -1
  58. package/dist/toolbar/icons.d.ts +0 -2
  59. package/dist/toolbar/icons.d.ts.map +1 -1
  60. package/dist/toolbar/runtime.d.ts +7 -0
  61. package/dist/toolbar/runtime.d.ts.map +1 -1
  62. package/dist/toolbar.css +1 -1
  63. package/dist/toolbar.js +548 -651
  64. package/dist/types.d.ts +7 -0
  65. package/dist/types.d.ts.map +1 -1
  66. package/package.json +20 -2
@@ -1,13 +1,13 @@
1
1
  import * as Ce from "react";
2
- const je = Ce, b = je.default ?? Ce;
2
+ const Ve = Ce, b = Ve.default ?? Ce;
3
3
  b.Children;
4
4
  b.Component;
5
5
  b.Fragment;
6
6
  b.PureComponent;
7
7
  b.cloneElement;
8
- const Fe = b.createContext, se = b.createElement;
8
+ const je = b.createContext, se = b.createElement;
9
9
  b.createRef;
10
- const _e = b.forwardRef;
10
+ const Fe = b.forwardRef;
11
11
  b.isValidElement;
12
12
  b.lazy;
13
13
  b.memo;
@@ -29,13 +29,13 @@ function Se(e) {
29
29
  var r, o, t = "";
30
30
  if (typeof e == "string" || typeof e == "number") t += e;
31
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);
32
+ var a = e.length;
33
+ for (r = 0; r < a; r++) e[r] && (o = Se(e[r])) && (t && (t += " "), t += o);
34
34
  } else for (o in e) e[o] && (t && (t += " "), t += o);
35
35
  return t;
36
36
  }
37
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);
38
+ for (var e, r, o = 0, t = "", a = arguments.length; o < a; o++) (e = arguments[o]) && (r = Se(e)) && (t && (t += " "), t += r);
39
39
  return t;
40
40
  }
41
41
  const Ye = (e, r) => {
@@ -45,53 +45,53 @@ const Ye = (e, r) => {
45
45
  for (let t = 0; t < r.length; t++)
46
46
  o[e.length + t] = r[t];
47
47
  return o;
48
- }, Ke = (e, r) => ({
48
+ }, He = (e, r) => ({
49
49
  classGroupId: e,
50
50
  validator: r
51
51
  }), Ae = (e = /* @__PURE__ */ new Map(), r = null, o) => ({
52
52
  nextPart: e,
53
53
  validators: r,
54
54
  classGroupId: o
55
- }), Z = "-", he = [], qe = "arbitrary..", He = (e) => {
55
+ }), Z = "-", he = [], Ke = "arbitrary..", qe = (e) => {
56
56
  const r = Je(e), {
57
57
  conflictingClassGroups: o,
58
58
  conflictingClassGroupModifiers: t
59
59
  } = e;
60
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);
61
+ getClassGroupId: (i) => {
62
+ if (i.startsWith("[") && i.endsWith("]"))
63
+ return Xe(i);
64
+ const p = i.split(Z), l = p[0] === "" && p.length > 1 ? 1 : 0;
65
+ return Re(p, l, r);
66
66
  },
67
- getConflictingClassGroupIds: (a, f) => {
68
- if (f) {
69
- const l = t[a], g = o[a];
67
+ getConflictingClassGroupIds: (i, p) => {
68
+ if (p) {
69
+ const l = t[i], g = o[i];
70
70
  return l ? g ? Ye(g, l) : l : g || he;
71
71
  }
72
- return o[a] || he;
72
+ return o[i] || he;
73
73
  }
74
74
  };
75
75
  }, Re = (e, r, o) => {
76
76
  if (e.length - r === 0)
77
77
  return o.classGroupId;
78
- const i = e[r], c = o.nextPart.get(i);
78
+ const a = e[r], c = o.nextPart.get(a);
79
79
  if (c) {
80
80
  const g = Re(e, r + 1, c);
81
81
  if (g) return g;
82
82
  }
83
- const a = o.validators;
84
- if (a === null)
83
+ const i = o.validators;
84
+ if (i === null)
85
85
  return;
86
- const f = r === 0 ? e.join(Z) : e.slice(r).join(Z), l = a.length;
86
+ const p = r === 0 ? e.join(Z) : e.slice(r).join(Z), l = i.length;
87
87
  for (let g = 0; g < l; g++) {
88
- const h = a[g];
89
- if (h.validator(f))
88
+ const h = i[g];
89
+ if (h.validator(p))
90
90
  return h.classGroupId;
91
91
  }
92
92
  }, Xe = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
93
93
  const r = e.slice(1, -1), o = r.indexOf(":"), t = r.slice(0, o);
94
- return t ? qe + t : void 0;
94
+ return t ? Ke + t : void 0;
95
95
  })(), Je = (e) => {
96
96
  const {
97
97
  theme: r,
@@ -101,15 +101,15 @@ const Ye = (e, r) => {
101
101
  }, Qe = (e, r) => {
102
102
  const o = Ae();
103
103
  for (const t in e) {
104
- const i = e[t];
105
- le(i, o, t, r);
104
+ const a = e[t];
105
+ le(a, o, t, r);
106
106
  }
107
107
  return o;
108
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);
109
+ const a = e.length;
110
+ for (let c = 0; c < a; c++) {
111
+ const i = e[c];
112
+ Ze(i, r, o, t);
113
113
  }
114
114
  }, Ze = (e, r, o, t) => {
115
115
  if (typeof e == "string") {
@@ -129,20 +129,20 @@ const Ye = (e, r) => {
129
129
  le(e(t), r, o, t);
130
130
  return;
131
131
  }
132
- r.validators === null && (r.validators = []), r.validators.push(Ke(o, e));
132
+ r.validators === null && (r.validators = []), r.validators.push(He(o, e));
133
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);
134
+ const a = Object.entries(e), c = a.length;
135
+ for (let i = 0; i < c; i++) {
136
+ const [p, l] = a[i];
137
+ le(l, Ie(r, p), o, t);
138
138
  }
139
139
  }, Ie = (e, r) => {
140
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;
141
+ const t = r.split(Z), a = t.length;
142
+ for (let c = 0; c < a; c++) {
143
+ const i = t[c];
144
+ let p = o.nextPart.get(i);
145
+ p || (p = Ae(), o.nextPart.set(i, p)), o = p;
146
146
  }
147
147
  return o;
148
148
  }, rt = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, nt = (e) => {
@@ -154,71 +154,71 @@ const Ye = (e, r) => {
154
154
  }
155
155
  };
156
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));
157
+ const a = (c, i) => {
158
+ o[c] = i, r++, r > e && (r = 0, t = o, o = /* @__PURE__ */ Object.create(null));
159
159
  };
160
160
  return {
161
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;
162
+ let i = o[c];
163
+ if (i !== void 0)
164
+ return i;
165
+ if ((i = t[c]) !== void 0)
166
+ return a(c, i), i;
167
167
  },
168
- set(c, a) {
169
- c in o ? o[c] = a : i(c, a);
168
+ set(c, i) {
169
+ c in o ? o[c] = i : a(c, i);
170
170
  }
171
171
  };
172
- }, ae = "!", xe = ":", st = [], we = (e, r, o, t, i) => ({
172
+ }, ae = "!", xe = ":", st = [], we = (e, r, o, t, a) => ({
173
173
  modifiers: e,
174
174
  hasImportantModifier: r,
175
175
  baseClassName: o,
176
176
  maybePostfixModifierPosition: t,
177
- isExternal: i
177
+ isExternal: a
178
178
  }), at = (e) => {
179
179
  const {
180
180
  prefix: r,
181
181
  experimentalParseClassName: o
182
182
  } = e;
183
- let t = (i) => {
183
+ let t = (a) => {
184
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;
185
+ let i = 0, p = 0, l = 0, g;
186
+ const h = a.length;
187
+ for (let S = 0; S < h; S++) {
188
+ const w = a[S];
189
+ if (i === 0 && p === 0) {
190
+ if (w === xe) {
191
+ c.push(a.slice(l, S)), l = S + 1;
192
192
  continue;
193
193
  }
194
- if (p === "/") {
195
- g = v;
194
+ if (w === "/") {
195
+ g = S;
196
196
  continue;
197
197
  }
198
198
  }
199
- p === "[" ? a++ : p === "]" ? a-- : p === "(" ? f++ : p === ")" && f--;
199
+ w === "[" ? i++ : w === "]" ? i-- : w === "(" ? p++ : w === ")" && p--;
200
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) : (
201
+ const v = c.length === 0 ? a : a.slice(l);
202
+ let C = v, y = !1;
203
+ v.endsWith(ae) ? (C = v.slice(0, -1), y = !0) : (
204
204
  /**
205
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
206
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
207
207
  */
208
- y.startsWith(ae) && (x = y.slice(1), S = !0)
208
+ v.startsWith(ae) && (C = v.slice(1), y = !0)
209
209
  );
210
- const A = g && g > l ? g - l : void 0;
211
- return we(c, S, x, A);
210
+ const R = g && g > l ? g - l : void 0;
211
+ return we(c, y, C, R);
212
212
  };
213
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);
214
+ const a = r + xe, c = t;
215
+ t = (i) => i.startsWith(a) ? c(i.slice(a.length)) : we(st, !1, i, void 0, !0);
216
216
  }
217
217
  if (o) {
218
- const i = t;
218
+ const a = t;
219
219
  t = (c) => o({
220
220
  className: c,
221
- parseClassName: i
221
+ parseClassName: a
222
222
  });
223
223
  }
224
224
  return t;
@@ -228,67 +228,67 @@ const Ye = (e, r) => {
228
228
  r.set(o, 1e6 + t);
229
229
  }), (o) => {
230
230
  const t = [];
231
- let i = [];
231
+ let a = [];
232
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);
233
+ const i = o[c], p = i[0] === "[", l = r.has(i);
234
+ p || l ? (a.length > 0 && (a.sort(), t.push(...a), a = []), t.push(i)) : a.push(i);
235
235
  }
236
- return i.length > 0 && (i.sort(), t.push(...i)), t;
236
+ return a.length > 0 && (a.sort(), t.push(...a)), t;
237
237
  };
238
238
  }, lt = (e) => ({
239
239
  cache: nt(e.cacheSize),
240
240
  parseClassName: at(e),
241
241
  sortModifiers: it(e),
242
- ...He(e)
242
+ ...qe(e)
243
243
  }), ct = /\s+/, dt = (e, r) => {
244
244
  const {
245
245
  parseClassName: o,
246
246
  getClassGroupId: t,
247
- getConflictingClassGroupIds: i,
247
+ getConflictingClassGroupIds: a,
248
248
  sortModifiers: c
249
- } = r, a = [], f = e.trim().split(ct);
249
+ } = r, i = [], p = e.trim().split(ct);
250
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
251
+ for (let g = p.length - 1; g >= 0; g -= 1) {
252
+ const h = p[g], {
253
+ isExternal: v,
254
+ modifiers: C,
255
+ hasImportantModifier: y,
256
+ baseClassName: R,
257
+ maybePostfixModifierPosition: S
258
258
  } = o(h);
259
- if (y) {
259
+ if (v) {
260
260
  l = h + (l.length > 0 ? " " + l : l);
261
261
  continue;
262
262
  }
263
- let p = !!v, E = t(p ? A.substring(0, v) : A);
264
- if (!E) {
265
- if (!p) {
263
+ let w = !!S, f = t(w ? R.substring(0, S) : R);
264
+ if (!f) {
265
+ if (!w) {
266
266
  l = h + (l.length > 0 ? " " + l : l);
267
267
  continue;
268
268
  }
269
- if (E = t(A), !E) {
269
+ if (f = t(R), !f) {
270
270
  l = h + (l.length > 0 ? " " + l : l);
271
271
  continue;
272
272
  }
273
- p = !1;
273
+ w = !1;
274
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)
275
+ const U = C.length === 0 ? "" : C.length === 1 ? C[0] : c(C).join(":"), F = y ? U + ae : U, L = F + f;
276
+ if (i.indexOf(L) > -1)
277
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);
278
+ i.push(L);
279
+ const D = a(f, w);
280
+ for (let P = 0; P < D.length; ++P) {
281
+ const B = D[P];
282
+ i.push(F + B);
283
283
  }
284
284
  l = h + (l.length > 0 ? " " + l : l);
285
285
  }
286
286
  return l;
287
287
  }, mt = (...e) => {
288
- let r = 0, o, t, i = "";
288
+ let r = 0, o, t, a = "";
289
289
  for (; r < e.length; )
290
- (o = e[r++]) && (t = Te(o)) && (i && (i += " "), i += t);
291
- return i;
290
+ (o = e[r++]) && (t = Te(o)) && (a && (a += " "), a += t);
291
+ return a;
292
292
  }, Te = (e) => {
293
293
  if (typeof e == "string")
294
294
  return e;
@@ -297,34 +297,34 @@ const Ye = (e, r) => {
297
297
  e[t] && (r = Te(e[t])) && (o && (o += " "), o += r);
298
298
  return o;
299
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) => {
300
+ let o, t, a, c;
301
+ const i = (l) => {
302
+ const g = r.reduce((h, v) => v(h), e());
303
+ return o = lt(g), t = o.cache.get, a = o.cache.set, c = p, p(l);
304
+ }, p = (l) => {
305
305
  const g = t(l);
306
306
  if (g)
307
307
  return g;
308
308
  const h = dt(l, o);
309
- return i(l, h), h;
309
+ return a(l, h), h;
310
310
  };
311
- return c = a, (...l) => c(mt(...l));
312
- }, pt = [], w = (e) => {
311
+ return c = i, (...l) => c(mt(...l));
312
+ }, pt = [], x = (e) => {
313
313
  const r = (o) => o[e] || pt;
314
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) => (
315
+ }, Ee = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Me = /^\((?:(\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)\(.+\)$/, _ = (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)), E = (e) => gt.test(e), kt = () => !0, yt = (e) => (
316
316
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
317
317
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
318
318
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
319
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) => {
320
+ ), Pe = () => !1, vt = (e) => xt.test(e), Ct = (e) => wt.test(e), zt = (e) => !n(e) && !s(e), St = (e) => V(e, Le, Pe), n = (e) => Ee.test(e), N = (e) => V(e, De, yt), ne = (e) => V(e, Et, u), ke = (e) => V(e, Ge, Pe), At = (e) => V(e, Ne, Ct), J = (e) => V(e, Oe, vt), s = (e) => Me.test(e), W = (e) => j(e, De), Rt = (e) => j(e, Mt), ye = (e) => j(e, Ge), It = (e) => j(e, Le), Tt = (e) => j(e, Ne), Q = (e) => j(e, Oe, !0), V = (e, r, o) => {
324
321
  const t = Ee.exec(e);
322
+ return t ? t[1] ? r(t[1]) : o(t[2]) : !1;
323
+ }, j = (e, r, o = !1) => {
324
+ const t = Me.exec(e);
325
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 = () => [
326
+ }, Ge = (e) => e === "position" || e === "percentage", Ne = (e) => e === "image" || e === "url", Le = (e) => e === "length" || e === "size" || e === "bg-size", De = (e) => e === "length", Et = (e) => e === "number", Mt = (e) => e === "family-name", Oe = (e) => e === "shadow", Pt = () => {
327
+ const e = x("color"), r = x("font"), o = x("text"), t = x("font-weight"), a = x("tracking"), c = x("leading"), i = x("breakpoint"), p = x("container"), l = x("spacing"), g = x("radius"), h = x("shadow"), v = x("inset-shadow"), C = x("text-shadow"), y = x("drop-shadow"), R = x("blur"), S = x("perspective"), w = x("aspect"), f = x("ease"), U = x("animate"), F = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], L = () => [
328
328
  "center",
329
329
  "top",
330
330
  "bottom",
@@ -342,15 +342,15 @@ const Ye = (e, r) => {
342
342
  "bottom-left",
343
343
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
344
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", {
345
+ ], D = () => [...L(), s, n], P = () => ["auto", "hidden", "clip", "visible", "scroll"], B = () => ["auto", "contain", "none"], m = () => [s, n, l], I = () => [_, "full", "auto", ...m()], ce = () => [M, "none", "subgrid", s, n], de = () => ["auto", {
346
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, {
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"], T = () => ["auto", ...m()], G = () => [_, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...m()], d = () => [e, s, n], ue = () => [...L(), ye, ke, {
348
348
  position: [s, n]
349
349
  }], pe = () => ["no-repeat", {
350
350
  repeat: ["", "x", "y", "space", "round"]
351
351
  }], fe = () => ["auto", "cover", "contain", It, St, {
352
352
  size: [s, n]
353
- }], te = () => [re, W, G], C = () => [
353
+ }], te = () => [re, W, N], z = () => [
354
354
  // Deprecated since Tailwind CSS v4.0.0
355
355
  "",
356
356
  "none",
@@ -358,35 +358,35 @@ const Ye = (e, r) => {
358
358
  g,
359
359
  s,
360
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 = () => [
361
+ ], A = () => ["", u, W, N], H = () => ["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
362
  // Deprecated since Tailwind CSS v4.0.0
363
363
  "",
364
364
  "none",
365
- A,
365
+ R,
366
366
  s,
367
367
  n
368
- ], q = () => ["none", u, s, n], H = () => ["none", u, s, n], oe = () => [u, s, n], X = () => [V, "full", ...m()];
368
+ ], K = () => ["none", u, s, n], q = () => ["none", u, s, n], oe = () => [u, s, n], X = () => [_, "full", ...m()];
369
369
  return {
370
370
  cacheSize: 500,
371
371
  theme: {
372
372
  animate: ["spin", "ping", "pulse", "bounce"],
373
373
  aspect: ["video"],
374
- blur: [T],
375
- breakpoint: [T],
374
+ blur: [E],
375
+ breakpoint: [E],
376
376
  color: [kt],
377
- container: [T],
378
- "drop-shadow": [T],
377
+ container: [E],
378
+ "drop-shadow": [E],
379
379
  ease: ["in", "out", "in-out"],
380
380
  font: [zt],
381
381
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
382
- "inset-shadow": [T],
382
+ "inset-shadow": [E],
383
383
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
384
384
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
385
- radius: [T],
386
- shadow: [T],
385
+ radius: [E],
386
+ shadow: [E],
387
387
  spacing: ["px", u],
388
- text: [T],
389
- "text-shadow": [T],
388
+ text: [E],
389
+ "text-shadow": [E],
390
390
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
391
391
  },
392
392
  classGroups: {
@@ -398,7 +398,7 @@ const Ye = (e, r) => {
398
398
  * @see https://tailwindcss.com/docs/aspect-ratio
399
399
  */
400
400
  aspect: [{
401
- aspect: ["auto", "square", V, n, s, p]
401
+ aspect: ["auto", "square", _, n, s, w]
402
402
  }],
403
403
  /**
404
404
  * Container
@@ -411,21 +411,21 @@ const Ye = (e, r) => {
411
411
  * @see https://tailwindcss.com/docs/columns
412
412
  */
413
413
  columns: [{
414
- columns: [u, n, s, f]
414
+ columns: [u, n, s, p]
415
415
  }],
416
416
  /**
417
417
  * Break After
418
418
  * @see https://tailwindcss.com/docs/break-after
419
419
  */
420
420
  "break-after": [{
421
- "break-after": _()
421
+ "break-after": F()
422
422
  }],
423
423
  /**
424
424
  * Break Before
425
425
  * @see https://tailwindcss.com/docs/break-before
426
426
  */
427
427
  "break-before": [{
428
- "break-before": _()
428
+ "break-before": F()
429
429
  }],
430
430
  /**
431
431
  * Break Inside
@@ -496,21 +496,21 @@ const Ye = (e, r) => {
496
496
  * @see https://tailwindcss.com/docs/overflow
497
497
  */
498
498
  overflow: [{
499
- overflow: N()
499
+ overflow: P()
500
500
  }],
501
501
  /**
502
502
  * Overflow X
503
503
  * @see https://tailwindcss.com/docs/overflow
504
504
  */
505
505
  "overflow-x": [{
506
- "overflow-x": N()
506
+ "overflow-x": P()
507
507
  }],
508
508
  /**
509
509
  * Overflow Y
510
510
  * @see https://tailwindcss.com/docs/overflow
511
511
  */
512
512
  "overflow-y": [{
513
- "overflow-y": N()
513
+ "overflow-y": P()
514
514
  }],
515
515
  /**
516
516
  * Overscroll Behavior
@@ -543,63 +543,63 @@ const Ye = (e, r) => {
543
543
  * @see https://tailwindcss.com/docs/top-right-bottom-left
544
544
  */
545
545
  inset: [{
546
- inset: R()
546
+ inset: I()
547
547
  }],
548
548
  /**
549
549
  * Right / Left
550
550
  * @see https://tailwindcss.com/docs/top-right-bottom-left
551
551
  */
552
552
  "inset-x": [{
553
- "inset-x": R()
553
+ "inset-x": I()
554
554
  }],
555
555
  /**
556
556
  * Top / Bottom
557
557
  * @see https://tailwindcss.com/docs/top-right-bottom-left
558
558
  */
559
559
  "inset-y": [{
560
- "inset-y": R()
560
+ "inset-y": I()
561
561
  }],
562
562
  /**
563
563
  * Start
564
564
  * @see https://tailwindcss.com/docs/top-right-bottom-left
565
565
  */
566
566
  start: [{
567
- start: R()
567
+ start: I()
568
568
  }],
569
569
  /**
570
570
  * End
571
571
  * @see https://tailwindcss.com/docs/top-right-bottom-left
572
572
  */
573
573
  end: [{
574
- end: R()
574
+ end: I()
575
575
  }],
576
576
  /**
577
577
  * Top
578
578
  * @see https://tailwindcss.com/docs/top-right-bottom-left
579
579
  */
580
580
  top: [{
581
- top: R()
581
+ top: I()
582
582
  }],
583
583
  /**
584
584
  * Right
585
585
  * @see https://tailwindcss.com/docs/top-right-bottom-left
586
586
  */
587
587
  right: [{
588
- right: R()
588
+ right: I()
589
589
  }],
590
590
  /**
591
591
  * Bottom
592
592
  * @see https://tailwindcss.com/docs/top-right-bottom-left
593
593
  */
594
594
  bottom: [{
595
- bottom: R()
595
+ bottom: I()
596
596
  }],
597
597
  /**
598
598
  * Left
599
599
  * @see https://tailwindcss.com/docs/top-right-bottom-left
600
600
  */
601
601
  left: [{
602
- left: R()
602
+ left: I()
603
603
  }],
604
604
  /**
605
605
  * Visibility
@@ -621,7 +621,7 @@ const Ye = (e, r) => {
621
621
  * @see https://tailwindcss.com/docs/flex-basis
622
622
  */
623
623
  basis: [{
624
- basis: [V, "full", "auto", f, ...m()]
624
+ basis: [_, "full", "auto", p, ...m()]
625
625
  }],
626
626
  /**
627
627
  * Flex Direction
@@ -642,7 +642,7 @@ const Ye = (e, r) => {
642
642
  * @see https://tailwindcss.com/docs/flex
643
643
  */
644
644
  flex: [{
645
- flex: [u, V, "auto", "initial", "none", n]
645
+ flex: [u, _, "auto", "initial", "none", n]
646
646
  }],
647
647
  /**
648
648
  * Flex Grow
@@ -899,63 +899,63 @@ const Ye = (e, r) => {
899
899
  * @see https://tailwindcss.com/docs/margin
900
900
  */
901
901
  m: [{
902
- m: I()
902
+ m: T()
903
903
  }],
904
904
  /**
905
905
  * Margin X
906
906
  * @see https://tailwindcss.com/docs/margin
907
907
  */
908
908
  mx: [{
909
- mx: I()
909
+ mx: T()
910
910
  }],
911
911
  /**
912
912
  * Margin Y
913
913
  * @see https://tailwindcss.com/docs/margin
914
914
  */
915
915
  my: [{
916
- my: I()
916
+ my: T()
917
917
  }],
918
918
  /**
919
919
  * Margin Start
920
920
  * @see https://tailwindcss.com/docs/margin
921
921
  */
922
922
  ms: [{
923
- ms: I()
923
+ ms: T()
924
924
  }],
925
925
  /**
926
926
  * Margin End
927
927
  * @see https://tailwindcss.com/docs/margin
928
928
  */
929
929
  me: [{
930
- me: I()
930
+ me: T()
931
931
  }],
932
932
  /**
933
933
  * Margin Top
934
934
  * @see https://tailwindcss.com/docs/margin
935
935
  */
936
936
  mt: [{
937
- mt: I()
937
+ mt: T()
938
938
  }],
939
939
  /**
940
940
  * Margin Right
941
941
  * @see https://tailwindcss.com/docs/margin
942
942
  */
943
943
  mr: [{
944
- mr: I()
944
+ mr: T()
945
945
  }],
946
946
  /**
947
947
  * Margin Bottom
948
948
  * @see https://tailwindcss.com/docs/margin
949
949
  */
950
950
  mb: [{
951
- mb: I()
951
+ mb: T()
952
952
  }],
953
953
  /**
954
954
  * Margin Left
955
955
  * @see https://tailwindcss.com/docs/margin
956
956
  */
957
957
  ml: [{
958
- ml: I()
958
+ ml: T()
959
959
  }],
960
960
  /**
961
961
  * Space Between X
@@ -989,14 +989,14 @@ const Ye = (e, r) => {
989
989
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
990
990
  */
991
991
  size: [{
992
- size: P()
992
+ size: G()
993
993
  }],
994
994
  /**
995
995
  * Width
996
996
  * @see https://tailwindcss.com/docs/width
997
997
  */
998
998
  w: [{
999
- w: [f, "screen", ...P()]
999
+ w: [p, "screen", ...G()]
1000
1000
  }],
1001
1001
  /**
1002
1002
  * Min-Width
@@ -1004,11 +1004,11 @@ const Ye = (e, r) => {
1004
1004
  */
1005
1005
  "min-w": [{
1006
1006
  "min-w": [
1007
- f,
1007
+ p,
1008
1008
  "screen",
1009
1009
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1010
1010
  "none",
1011
- ...P()
1011
+ ...G()
1012
1012
  ]
1013
1013
  }],
1014
1014
  /**
@@ -1017,16 +1017,16 @@ const Ye = (e, r) => {
1017
1017
  */
1018
1018
  "max-w": [{
1019
1019
  "max-w": [
1020
- f,
1020
+ p,
1021
1021
  "screen",
1022
1022
  "none",
1023
1023
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1024
1024
  "prose",
1025
1025
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1026
1026
  {
1027
- screen: [a]
1027
+ screen: [i]
1028
1028
  },
1029
- ...P()
1029
+ ...G()
1030
1030
  ]
1031
1031
  }],
1032
1032
  /**
@@ -1034,21 +1034,21 @@ const Ye = (e, r) => {
1034
1034
  * @see https://tailwindcss.com/docs/height
1035
1035
  */
1036
1036
  h: [{
1037
- h: ["screen", "lh", ...P()]
1037
+ h: ["screen", "lh", ...G()]
1038
1038
  }],
1039
1039
  /**
1040
1040
  * Min-Height
1041
1041
  * @see https://tailwindcss.com/docs/min-height
1042
1042
  */
1043
1043
  "min-h": [{
1044
- "min-h": ["screen", "lh", "none", ...P()]
1044
+ "min-h": ["screen", "lh", "none", ...G()]
1045
1045
  }],
1046
1046
  /**
1047
1047
  * Max-Height
1048
1048
  * @see https://tailwindcss.com/docs/max-height
1049
1049
  */
1050
1050
  "max-h": [{
1051
- "max-h": ["screen", "lh", ...P()]
1051
+ "max-h": ["screen", "lh", ...G()]
1052
1052
  }],
1053
1053
  // ------------------
1054
1054
  // --- Typography ---
@@ -1058,7 +1058,7 @@ const Ye = (e, r) => {
1058
1058
  * @see https://tailwindcss.com/docs/font-size
1059
1059
  */
1060
1060
  "font-size": [{
1061
- text: ["base", o, W, G]
1061
+ text: ["base", o, W, N]
1062
1062
  }],
1063
1063
  /**
1064
1064
  * Font Smoothing
@@ -1126,7 +1126,7 @@ const Ye = (e, r) => {
1126
1126
  * @see https://tailwindcss.com/docs/letter-spacing
1127
1127
  */
1128
1128
  tracking: [{
1129
- tracking: [i, s, n]
1129
+ tracking: [a, s, n]
1130
1130
  }],
1131
1131
  /**
1132
1132
  * Line Clamp
@@ -1199,14 +1199,14 @@ const Ye = (e, r) => {
1199
1199
  * @see https://tailwindcss.com/docs/text-decoration-style
1200
1200
  */
1201
1201
  "text-decoration-style": [{
1202
- decoration: [...K(), "wavy"]
1202
+ decoration: [...H(), "wavy"]
1203
1203
  }],
1204
1204
  /**
1205
1205
  * Text Decoration Thickness
1206
1206
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1207
1207
  */
1208
1208
  "text-decoration-thickness": [{
1209
- decoration: [u, "from-font", "auto", s, G]
1209
+ decoration: [u, "from-font", "auto", s, N]
1210
1210
  }],
1211
1211
  /**
1212
1212
  * Text Decoration Color
@@ -1403,175 +1403,175 @@ const Ye = (e, r) => {
1403
1403
  * @see https://tailwindcss.com/docs/border-radius
1404
1404
  */
1405
1405
  rounded: [{
1406
- rounded: C()
1406
+ rounded: z()
1407
1407
  }],
1408
1408
  /**
1409
1409
  * Border Radius Start
1410
1410
  * @see https://tailwindcss.com/docs/border-radius
1411
1411
  */
1412
1412
  "rounded-s": [{
1413
- "rounded-s": C()
1413
+ "rounded-s": z()
1414
1414
  }],
1415
1415
  /**
1416
1416
  * Border Radius End
1417
1417
  * @see https://tailwindcss.com/docs/border-radius
1418
1418
  */
1419
1419
  "rounded-e": [{
1420
- "rounded-e": C()
1420
+ "rounded-e": z()
1421
1421
  }],
1422
1422
  /**
1423
1423
  * Border Radius Top
1424
1424
  * @see https://tailwindcss.com/docs/border-radius
1425
1425
  */
1426
1426
  "rounded-t": [{
1427
- "rounded-t": C()
1427
+ "rounded-t": z()
1428
1428
  }],
1429
1429
  /**
1430
1430
  * Border Radius Right
1431
1431
  * @see https://tailwindcss.com/docs/border-radius
1432
1432
  */
1433
1433
  "rounded-r": [{
1434
- "rounded-r": C()
1434
+ "rounded-r": z()
1435
1435
  }],
1436
1436
  /**
1437
1437
  * Border Radius Bottom
1438
1438
  * @see https://tailwindcss.com/docs/border-radius
1439
1439
  */
1440
1440
  "rounded-b": [{
1441
- "rounded-b": C()
1441
+ "rounded-b": z()
1442
1442
  }],
1443
1443
  /**
1444
1444
  * Border Radius Left
1445
1445
  * @see https://tailwindcss.com/docs/border-radius
1446
1446
  */
1447
1447
  "rounded-l": [{
1448
- "rounded-l": C()
1448
+ "rounded-l": z()
1449
1449
  }],
1450
1450
  /**
1451
1451
  * Border Radius Start Start
1452
1452
  * @see https://tailwindcss.com/docs/border-radius
1453
1453
  */
1454
1454
  "rounded-ss": [{
1455
- "rounded-ss": C()
1455
+ "rounded-ss": z()
1456
1456
  }],
1457
1457
  /**
1458
1458
  * Border Radius Start End
1459
1459
  * @see https://tailwindcss.com/docs/border-radius
1460
1460
  */
1461
1461
  "rounded-se": [{
1462
- "rounded-se": C()
1462
+ "rounded-se": z()
1463
1463
  }],
1464
1464
  /**
1465
1465
  * Border Radius End End
1466
1466
  * @see https://tailwindcss.com/docs/border-radius
1467
1467
  */
1468
1468
  "rounded-ee": [{
1469
- "rounded-ee": C()
1469
+ "rounded-ee": z()
1470
1470
  }],
1471
1471
  /**
1472
1472
  * Border Radius End Start
1473
1473
  * @see https://tailwindcss.com/docs/border-radius
1474
1474
  */
1475
1475
  "rounded-es": [{
1476
- "rounded-es": C()
1476
+ "rounded-es": z()
1477
1477
  }],
1478
1478
  /**
1479
1479
  * Border Radius Top Left
1480
1480
  * @see https://tailwindcss.com/docs/border-radius
1481
1481
  */
1482
1482
  "rounded-tl": [{
1483
- "rounded-tl": C()
1483
+ "rounded-tl": z()
1484
1484
  }],
1485
1485
  /**
1486
1486
  * Border Radius Top Right
1487
1487
  * @see https://tailwindcss.com/docs/border-radius
1488
1488
  */
1489
1489
  "rounded-tr": [{
1490
- "rounded-tr": C()
1490
+ "rounded-tr": z()
1491
1491
  }],
1492
1492
  /**
1493
1493
  * Border Radius Bottom Right
1494
1494
  * @see https://tailwindcss.com/docs/border-radius
1495
1495
  */
1496
1496
  "rounded-br": [{
1497
- "rounded-br": C()
1497
+ "rounded-br": z()
1498
1498
  }],
1499
1499
  /**
1500
1500
  * Border Radius Bottom Left
1501
1501
  * @see https://tailwindcss.com/docs/border-radius
1502
1502
  */
1503
1503
  "rounded-bl": [{
1504
- "rounded-bl": C()
1504
+ "rounded-bl": z()
1505
1505
  }],
1506
1506
  /**
1507
1507
  * Border Width
1508
1508
  * @see https://tailwindcss.com/docs/border-width
1509
1509
  */
1510
1510
  "border-w": [{
1511
- border: z()
1511
+ border: A()
1512
1512
  }],
1513
1513
  /**
1514
1514
  * Border Width X
1515
1515
  * @see https://tailwindcss.com/docs/border-width
1516
1516
  */
1517
1517
  "border-w-x": [{
1518
- "border-x": z()
1518
+ "border-x": A()
1519
1519
  }],
1520
1520
  /**
1521
1521
  * Border Width Y
1522
1522
  * @see https://tailwindcss.com/docs/border-width
1523
1523
  */
1524
1524
  "border-w-y": [{
1525
- "border-y": z()
1525
+ "border-y": A()
1526
1526
  }],
1527
1527
  /**
1528
1528
  * Border Width Start
1529
1529
  * @see https://tailwindcss.com/docs/border-width
1530
1530
  */
1531
1531
  "border-w-s": [{
1532
- "border-s": z()
1532
+ "border-s": A()
1533
1533
  }],
1534
1534
  /**
1535
1535
  * Border Width End
1536
1536
  * @see https://tailwindcss.com/docs/border-width
1537
1537
  */
1538
1538
  "border-w-e": [{
1539
- "border-e": z()
1539
+ "border-e": A()
1540
1540
  }],
1541
1541
  /**
1542
1542
  * Border Width Top
1543
1543
  * @see https://tailwindcss.com/docs/border-width
1544
1544
  */
1545
1545
  "border-w-t": [{
1546
- "border-t": z()
1546
+ "border-t": A()
1547
1547
  }],
1548
1548
  /**
1549
1549
  * Border Width Right
1550
1550
  * @see https://tailwindcss.com/docs/border-width
1551
1551
  */
1552
1552
  "border-w-r": [{
1553
- "border-r": z()
1553
+ "border-r": A()
1554
1554
  }],
1555
1555
  /**
1556
1556
  * Border Width Bottom
1557
1557
  * @see https://tailwindcss.com/docs/border-width
1558
1558
  */
1559
1559
  "border-w-b": [{
1560
- "border-b": z()
1560
+ "border-b": A()
1561
1561
  }],
1562
1562
  /**
1563
1563
  * Border Width Left
1564
1564
  * @see https://tailwindcss.com/docs/border-width
1565
1565
  */
1566
1566
  "border-w-l": [{
1567
- "border-l": z()
1567
+ "border-l": A()
1568
1568
  }],
1569
1569
  /**
1570
1570
  * Divide Width X
1571
1571
  * @see https://tailwindcss.com/docs/border-width#between-children
1572
1572
  */
1573
1573
  "divide-x": [{
1574
- "divide-x": z()
1574
+ "divide-x": A()
1575
1575
  }],
1576
1576
  /**
1577
1577
  * Divide Width X Reverse
@@ -1583,7 +1583,7 @@ const Ye = (e, r) => {
1583
1583
  * @see https://tailwindcss.com/docs/border-width#between-children
1584
1584
  */
1585
1585
  "divide-y": [{
1586
- "divide-y": z()
1586
+ "divide-y": A()
1587
1587
  }],
1588
1588
  /**
1589
1589
  * Divide Width Y Reverse
@@ -1595,14 +1595,14 @@ const Ye = (e, r) => {
1595
1595
  * @see https://tailwindcss.com/docs/border-style
1596
1596
  */
1597
1597
  "border-style": [{
1598
- border: [...K(), "hidden", "none"]
1598
+ border: [...H(), "hidden", "none"]
1599
1599
  }],
1600
1600
  /**
1601
1601
  * Divide Style
1602
1602
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1603
1603
  */
1604
1604
  "divide-style": [{
1605
- divide: [...K(), "hidden", "none"]
1605
+ divide: [...H(), "hidden", "none"]
1606
1606
  }],
1607
1607
  /**
1608
1608
  * Border Color
@@ -1679,7 +1679,7 @@ const Ye = (e, r) => {
1679
1679
  * @see https://tailwindcss.com/docs/outline-style
1680
1680
  */
1681
1681
  "outline-style": [{
1682
- outline: [...K(), "none", "hidden"]
1682
+ outline: [...H(), "none", "hidden"]
1683
1683
  }],
1684
1684
  /**
1685
1685
  * Outline Offset
@@ -1693,7 +1693,7 @@ const Ye = (e, r) => {
1693
1693
  * @see https://tailwindcss.com/docs/outline-width
1694
1694
  */
1695
1695
  "outline-w": [{
1696
- outline: ["", u, W, G]
1696
+ outline: ["", u, W, N]
1697
1697
  }],
1698
1698
  /**
1699
1699
  * Outline Color
@@ -1731,7 +1731,7 @@ const Ye = (e, r) => {
1731
1731
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1732
1732
  */
1733
1733
  "inset-shadow": [{
1734
- "inset-shadow": ["none", y, Q, J]
1734
+ "inset-shadow": ["none", v, Q, J]
1735
1735
  }],
1736
1736
  /**
1737
1737
  * Inset Box Shadow Color
@@ -1745,7 +1745,7 @@ const Ye = (e, r) => {
1745
1745
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1746
1746
  */
1747
1747
  "ring-w": [{
1748
- ring: z()
1748
+ ring: A()
1749
1749
  }],
1750
1750
  /**
1751
1751
  * Ring Width Inset
@@ -1768,7 +1768,7 @@ const Ye = (e, r) => {
1768
1768
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1769
1769
  */
1770
1770
  "ring-offset-w": [{
1771
- "ring-offset": [u, G]
1771
+ "ring-offset": [u, N]
1772
1772
  }],
1773
1773
  /**
1774
1774
  * Ring Offset Color
@@ -1784,7 +1784,7 @@ const Ye = (e, r) => {
1784
1784
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
1785
1785
  */
1786
1786
  "inset-ring-w": [{
1787
- "inset-ring": z()
1787
+ "inset-ring": A()
1788
1788
  }],
1789
1789
  /**
1790
1790
  * Inset Ring Color
@@ -1798,7 +1798,7 @@ const Ye = (e, r) => {
1798
1798
  * @see https://tailwindcss.com/docs/text-shadow
1799
1799
  */
1800
1800
  "text-shadow": [{
1801
- "text-shadow": ["none", x, Q, J]
1801
+ "text-shadow": ["none", C, Q, J]
1802
1802
  }],
1803
1803
  /**
1804
1804
  * Text Shadow Color
@@ -2070,7 +2070,7 @@ const Ye = (e, r) => {
2070
2070
  // Deprecated since Tailwind CSS v4.0.0
2071
2071
  "",
2072
2072
  "none",
2073
- S,
2073
+ y,
2074
2074
  Q,
2075
2075
  J
2076
2076
  ]
@@ -2267,7 +2267,7 @@ const Ye = (e, r) => {
2267
2267
  * @see https://tailwindcss.com/docs/transition-timing-function
2268
2268
  */
2269
2269
  ease: [{
2270
- ease: ["linear", "initial", E, s, n]
2270
+ ease: ["linear", "initial", f, s, n]
2271
2271
  }],
2272
2272
  /**
2273
2273
  * Transition Delay
@@ -2298,7 +2298,7 @@ const Ye = (e, r) => {
2298
2298
  * @see https://tailwindcss.com/docs/perspective
2299
2299
  */
2300
2300
  perspective: [{
2301
- perspective: [v, s, n]
2301
+ perspective: [S, s, n]
2302
2302
  }],
2303
2303
  /**
2304
2304
  * Perspective Origin
@@ -2312,56 +2312,56 @@ const Ye = (e, r) => {
2312
2312
  * @see https://tailwindcss.com/docs/rotate
2313
2313
  */
2314
2314
  rotate: [{
2315
- rotate: q()
2315
+ rotate: K()
2316
2316
  }],
2317
2317
  /**
2318
2318
  * Rotate X
2319
2319
  * @see https://tailwindcss.com/docs/rotate
2320
2320
  */
2321
2321
  "rotate-x": [{
2322
- "rotate-x": q()
2322
+ "rotate-x": K()
2323
2323
  }],
2324
2324
  /**
2325
2325
  * Rotate Y
2326
2326
  * @see https://tailwindcss.com/docs/rotate
2327
2327
  */
2328
2328
  "rotate-y": [{
2329
- "rotate-y": q()
2329
+ "rotate-y": K()
2330
2330
  }],
2331
2331
  /**
2332
2332
  * Rotate Z
2333
2333
  * @see https://tailwindcss.com/docs/rotate
2334
2334
  */
2335
2335
  "rotate-z": [{
2336
- "rotate-z": q()
2336
+ "rotate-z": K()
2337
2337
  }],
2338
2338
  /**
2339
2339
  * Scale
2340
2340
  * @see https://tailwindcss.com/docs/scale
2341
2341
  */
2342
2342
  scale: [{
2343
- scale: H()
2343
+ scale: q()
2344
2344
  }],
2345
2345
  /**
2346
2346
  * Scale X
2347
2347
  * @see https://tailwindcss.com/docs/scale
2348
2348
  */
2349
2349
  "scale-x": [{
2350
- "scale-x": H()
2350
+ "scale-x": q()
2351
2351
  }],
2352
2352
  /**
2353
2353
  * Scale Y
2354
2354
  * @see https://tailwindcss.com/docs/scale
2355
2355
  */
2356
2356
  "scale-y": [{
2357
- "scale-y": H()
2357
+ "scale-y": q()
2358
2358
  }],
2359
2359
  /**
2360
2360
  * Scale Z
2361
2361
  * @see https://tailwindcss.com/docs/scale
2362
2362
  */
2363
2363
  "scale-z": [{
2364
- "scale-z": H()
2364
+ "scale-z": q()
2365
2365
  }],
2366
2366
  /**
2367
2367
  * Scale 3D
@@ -2718,7 +2718,7 @@ const Ye = (e, r) => {
2718
2718
  * @see https://tailwindcss.com/docs/stroke-width
2719
2719
  */
2720
2720
  "stroke-w": [{
2721
- stroke: [u, W, G, ne]
2721
+ stroke: [u, W, N, ne]
2722
2722
  }],
2723
2723
  /**
2724
2724
  * Stroke
@@ -2793,11 +2793,11 @@ const Ye = (e, r) => {
2793
2793
  },
2794
2794
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2795
2795
  };
2796
- }, Pt = /* @__PURE__ */ ut(Nt);
2796
+ }, Gt = /* @__PURE__ */ ut(Pt);
2797
2797
  function ie(...e) {
2798
- return Pt(Ue(e));
2798
+ return Gt(Ue(e));
2799
2799
  }
2800
- const $ = "default", Gt = Fe({
2800
+ const $ = "default", Nt = je({
2801
2801
  themeName: $,
2802
2802
  themeBase: $,
2803
2803
  portalContainer: null
@@ -2810,59 +2810,72 @@ function Dt(e) {
2810
2810
  return Lt(e).toLowerCase().replace(/[^a-z0-9_-]+/g, "-").replace(/^-+|-+$/g, "") || $;
2811
2811
  }
2812
2812
  function Ot() {
2813
- return Be(Gt).themeName;
2813
+ return Be(Nt).themeName;
2814
2814
  }
2815
- function Vt() {
2815
+ function _t() {
2816
2816
  return Dt(Ot());
2817
2817
  }
2818
- const Ve = _e(
2818
+ const _e = Fe(
2819
2819
  ({
2820
2820
  className: e,
2821
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);
2822
+ endAdornment: o,
2823
+ type: t,
2824
+ onFocus: a,
2825
+ onBlur: c,
2826
+ disabled: i,
2827
+ style: p,
2828
+ ...l
2829
+ }, g) => {
2830
+ const h = _t(), [v, C] = ze(!1);
2830
2831
  return /* @__PURE__ */ se(
2831
2832
  "div",
2832
2833
  {
2833
2834
  className: ie(
2834
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",
2835
2836
  "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" : "",
2837
+ `inovua-react-toolkit-text-input--theme-${h}`,
2838
+ i ? "inovua-react-toolkit-text-input--disabled" : "",
2839
+ v ? "inovua-react-toolkit-text-input--focused" : "",
2839
2840
  e
2840
2841
  ),
2841
- style: a
2842
+ style: p
2842
2843
  },
2843
2844
  /* @__PURE__ */ se(
2844
2845
  "input",
2845
2846
  {
2846
- type: o,
2847
+ type: t,
2847
2848
  className: ie(
2848
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",
2849
2850
  r
2850
2851
  ),
2851
- ref: l,
2852
- disabled: c,
2853
- onFocus: (x) => {
2854
- y(!0), t?.(x);
2852
+ ref: g,
2853
+ disabled: i,
2854
+ onFocus: (y) => {
2855
+ C(!0), a?.(y);
2855
2856
  },
2856
- onBlur: (x) => {
2857
- y(!1), i?.(x);
2857
+ onBlur: (y) => {
2858
+ C(!1), c?.(y);
2858
2859
  },
2859
- ...f
2860
+ ...l
2860
2861
  }
2861
- )
2862
+ ),
2863
+ o
2862
2864
  );
2863
2865
  }
2864
2866
  );
2865
- Ve.displayName = "Input";
2867
+ _e.displayName = "Input";
2868
+ const Vt = "InovuaReactDataGrid__cell__editor", jt = "tdg-cell-editor-shell";
2869
+ function Ft(e) {
2870
+ return e ? Vt : jt;
2871
+ }
2872
+ function Bt(e, r = []) {
2873
+ if (!e) return {};
2874
+ const o = {};
2875
+ for (const [t, a] of Object.entries(e))
2876
+ t === "seamless" || r.includes(t) || (o[t] = a);
2877
+ return o;
2878
+ }
2866
2879
  function ve(e) {
2867
2880
  if (e == null || e === "") return "";
2868
2881
  if (typeof e == "string") return e.slice(0, 10);
@@ -2870,53 +2883,64 @@ function ve(e) {
2870
2883
  const r = e.getFullYear(), o = String(e.getMonth() + 1).padStart(2, "0"), t = String(e.getDate()).padStart(2, "0");
2871
2884
  return `${r}-${o}-${t}`;
2872
2885
  }
2873
- function jt({
2886
+ function Wt({
2874
2887
  value: e = null,
2875
2888
  onChange: r,
2876
2889
  onComplete: o,
2877
2890
  onCancel: t,
2878
- onTabNavigation: i,
2891
+ onTabNavigation: a,
2879
2892
  onKeyDown: c,
2880
- autoFocus: a,
2881
- disabled: f,
2893
+ autoFocus: i,
2894
+ disabled: p,
2882
2895
  readOnly: l,
2883
2896
  rtl: g,
2884
- className: h,
2885
- style: y,
2886
- editorProps: x
2897
+ seamless: h,
2898
+ className: v,
2899
+ style: C,
2900
+ editorProps: y
2887
2901
  }) {
2888
- const [S, A] = ze(() => ve(e)), v = $e(S);
2902
+ const [R, S] = ze(() => ve(e)), w = $e(R);
2889
2903
  return We(() => {
2890
- const p = ve(e);
2891
- v.current = p, A(p);
2904
+ const f = ve(e);
2905
+ w.current = f, S(f);
2892
2906
  }, [e]), /* @__PURE__ */ se(
2893
- Ve,
2907
+ _e,
2894
2908
  {
2895
- ...x,
2909
+ ...Bt(y, [
2910
+ "relativeToViewport",
2911
+ "constrainTo",
2912
+ "renderPicker",
2913
+ "overlayProps"
2914
+ ]),
2896
2915
  type: "date",
2897
- value: S,
2898
- autoFocus: a,
2899
- disabled: f,
2916
+ value: R,
2917
+ autoFocus: i,
2918
+ disabled: p,
2900
2919
  readOnly: l,
2901
2920
  dir: g ? "rtl" : "ltr",
2902
- className: ie("h-full min-h-8 w-full", x?.className, h),
2903
- style: { ...x?.style, ...y },
2921
+ className: ie(
2922
+ "h-full min-h-8 w-full",
2923
+ Ft(h),
2924
+ y?.className,
2925
+ v
2926
+ ),
2927
+ style: { ...y?.style, ...C },
2904
2928
  "data-slot": "date-editor",
2905
- onChange: (p) => {
2906
- v.current = p.target.value, A(p.target.value), r?.(p.target.value || null, p);
2929
+ onChange: (f) => {
2930
+ w.current = f.target.value, S(f.target.value), r?.(f.target.value || null, f);
2907
2931
  },
2908
- onBlur: (p) => {
2909
- x?.onBlur?.(p), o?.(v.current || null, p);
2932
+ onBlur: (f) => {
2933
+ y?.onBlur?.(f), o?.(w.current || null, f);
2910
2934
  },
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)));
2935
+ onKeyDown: (f) => {
2936
+ y?.onKeyDown?.(f), c?.(f), !f.defaultPrevented && (f.key === "Escape" ? (f.preventDefault(), t?.(f)) : f.key === "Enter" ? (f.preventDefault(), o?.(w.current || null, f)) : f.key === "Tab" && (f.preventDefault(), a?.(!0, f.shiftKey ? -1 : 1, f)));
2913
2937
  }
2914
2938
  }
2915
2939
  );
2916
2940
  }
2917
- jt.defaultProps = {
2941
+ Wt.defaultProps = {
2918
2942
  relativeToViewport: !1
2919
2943
  };
2920
2944
  export {
2921
- jt as default
2945
+ Wt as default
2922
2946
  };