@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,6 +1,6 @@
1
1
  import * as He from "react";
2
2
  import * as qe from "react-dom";
3
- const vt = He, w = vt.default ?? He, H = w.Children, Ct = w.Component, Ce = w.Fragment, St = w.PureComponent, fe = w.cloneElement, de = w.createContext, I = w.createElement, At = w.createRef, M = w.forwardRef, Q = w.isValidElement, Nt = w.lazy, Rt = w.memo, pe = w.useCallback, Se = w.useContext, It = w.useDebugValue, Pt = w.useDeferredValue, W = w.useEffect, zt = w.useId, Et = w.useImperativeHandle, Mt = w.useInsertionEffect, Ke = w.useLayoutEffect, ee = w.useMemo, Xe = w.useReducer, z = w.useRef, X = w.useState, _t = w.use, Tt = w.version, Ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
+ const vt = He, y = vt.default ?? He, H = y.Children, Ct = y.Component, Ce = y.Fragment, St = y.PureComponent, fe = y.cloneElement, de = y.createContext, E = y.createElement, At = y.createRef, _ = y.forwardRef, Q = y.isValidElement, Nt = y.lazy, Rt = y.memo, pe = y.useCallback, Se = y.useContext, Et = y.useDebugValue, It = y.useDeferredValue, W = y.useEffect, Pt = y.useId, zt = y.useImperativeHandle, _t = y.useInsertionEffect, Ke = y.useLayoutEffect, ee = y.useMemo, Xe = y.useReducer, P = y.useRef, X = y.useState, Mt = y.use, Tt = y.version, Ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4
4
  __proto__: null,
5
5
  Children: H,
6
6
  Component: Ct,
@@ -8,26 +8,26 @@ const vt = He, w = vt.default ?? He, H = w.Children, Ct = w.Component, Ce = w.Fr
8
8
  PureComponent: St,
9
9
  cloneElement: fe,
10
10
  createContext: de,
11
- createElement: I,
11
+ createElement: E,
12
12
  createRef: At,
13
- default: w,
14
- forwardRef: M,
13
+ default: y,
14
+ forwardRef: _,
15
15
  isValidElement: Q,
16
16
  lazy: Nt,
17
17
  memo: Rt,
18
- use: _t,
18
+ use: Mt,
19
19
  useCallback: pe,
20
20
  useContext: Se,
21
- useDebugValue: It,
22
- useDeferredValue: Pt,
21
+ useDebugValue: Et,
22
+ useDeferredValue: It,
23
23
  useEffect: W,
24
- useId: zt,
25
- useImperativeHandle: Et,
26
- useInsertionEffect: Mt,
24
+ useId: Pt,
25
+ useImperativeHandle: zt,
26
+ useInsertionEffect: _t,
27
27
  useLayoutEffect: Ke,
28
28
  useMemo: ee,
29
29
  useReducer: Xe,
30
- useRef: z,
30
+ useRef: P,
31
31
  useState: X,
32
32
  version: Tt
33
33
  }, Symbol.toStringTag, { value: "Module" }));
@@ -59,15 +59,15 @@ function Ze(e, t) {
59
59
  return e;
60
60
  }
61
61
  const Lt = Ce;
62
- function E(e, t, o) {
63
- return I(e, Ze(t));
62
+ function z(e, t, o) {
63
+ return E(e, Ze(t));
64
64
  }
65
65
  function Dt(e, t, o) {
66
66
  const r = Ze(t);
67
67
  if (!r || !Array.isArray(r.children))
68
- return I(e, r);
68
+ return E(e, r);
69
69
  const { children: n, ...s } = r;
70
- return I(e, s, ...n);
70
+ return E(e, s, ...n);
71
71
  }
72
72
  function jt(e, t = []) {
73
73
  let o = [];
@@ -75,13 +75,13 @@ function jt(e, t = []) {
75
75
  const c = de(a), i = o.length;
76
76
  o = [...o, a];
77
77
  const l = (p) => {
78
- const { scope: k, children: x, ...y } = p, g = k?.[e]?.[i] || c, v = ee(() => y, Object.values(y));
79
- return /* @__PURE__ */ E(g.Provider, { value: v, children: x });
78
+ const { scope: x, children: k, ...v } = p, w = x?.[e]?.[i] || c, b = ee(() => v, Object.values(v));
79
+ return /* @__PURE__ */ z(w.Provider, { value: b, children: k });
80
80
  };
81
81
  l.displayName = s + "Provider";
82
- function m(p, k) {
83
- const x = k?.[e]?.[i] || c, y = Se(x);
84
- if (y) return y;
82
+ function m(p, x) {
83
+ const k = x?.[e]?.[i] || c, v = Se(k);
84
+ if (v) return v;
85
85
  if (a !== void 0) return a;
86
86
  throw new Error(`\`${p}\` must be used within \`${s}\``);
87
87
  }
@@ -137,7 +137,7 @@ function Gt({
137
137
  onChange: o
138
138
  }), c = e !== void 0, i = c ? e : n;
139
139
  {
140
- const m = z(e !== void 0);
140
+ const m = P(e !== void 0);
141
141
  W(() => {
142
142
  const p = m.current;
143
143
  p !== c && console.warn(
@@ -161,7 +161,7 @@ function Wt({
161
161
  defaultProp: e,
162
162
  onChange: t
163
163
  }) {
164
- const [o, r] = X(e), n = z(o), s = z(t);
164
+ const [o, r] = X(e), n = P(o), s = P(t);
165
165
  return Bt(() => {
166
166
  s.current = t;
167
167
  }, [t]), W(() => {
@@ -172,7 +172,7 @@ function Ft(e) {
172
172
  return typeof e == "function";
173
173
  }
174
174
  function Vt(e) {
175
- const t = z({ value: e, previous: e });
175
+ const t = P({ value: e, previous: e });
176
176
  return ee(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
177
177
  }
178
178
  function Ut(e) {
@@ -206,7 +206,7 @@ var Je = (e) => {
206
206
  };
207
207
  Je.displayName = "Presence";
208
208
  function qt(e) {
209
- const [t, o] = X(), r = z(null), n = z(e), s = z("none"), a = e ? "mounted" : "unmounted", [c, i] = Ht(a, {
209
+ const [t, o] = X(), r = P(null), n = P(e), s = P("none"), a = e ? "mounted" : "unmounted", [c, i] = Ht(a, {
210
210
  mounted: {
211
211
  UNMOUNT: "unmounted",
212
212
  ANIMATION_OUT: "unmountSuspended"
@@ -225,25 +225,25 @@ function qt(e) {
225
225
  }, [c]), ue(() => {
226
226
  const l = r.current, m = n.current;
227
227
  if (m !== e) {
228
- const k = s.current, x = ie(l);
229
- e ? i("MOUNT") : x === "none" || l?.display === "none" ? i("UNMOUNT") : i(m && k !== x ? "ANIMATION_OUT" : "UNMOUNT"), n.current = e;
228
+ const x = s.current, k = ie(l);
229
+ e ? i("MOUNT") : k === "none" || l?.display === "none" ? i("UNMOUNT") : i(m && x !== k ? "ANIMATION_OUT" : "UNMOUNT"), n.current = e;
230
230
  }
231
231
  }, [e, i]), ue(() => {
232
232
  if (t) {
233
233
  let l;
234
- const m = t.ownerDocument.defaultView ?? window, p = (x) => {
235
- const g = ie(r.current).includes(CSS.escape(x.animationName));
236
- if (x.target === t && g && (i("ANIMATION_END"), !n.current)) {
237
- const v = t.style.animationFillMode;
234
+ const m = t.ownerDocument.defaultView ?? window, p = (k) => {
235
+ const w = ie(r.current).includes(CSS.escape(k.animationName));
236
+ if (k.target === t && w && (i("ANIMATION_END"), !n.current)) {
237
+ const b = t.style.animationFillMode;
238
238
  t.style.animationFillMode = "forwards", l = m.setTimeout(() => {
239
- t.style.animationFillMode === "forwards" && (t.style.animationFillMode = v);
239
+ t.style.animationFillMode === "forwards" && (t.style.animationFillMode = b);
240
240
  });
241
241
  }
242
- }, k = (x) => {
243
- x.target === t && (s.current = ie(r.current));
242
+ }, x = (k) => {
243
+ k.target === t && (s.current = ie(r.current));
244
244
  };
245
- return t.addEventListener("animationstart", k), t.addEventListener("animationcancel", p), t.addEventListener("animationend", p), () => {
246
- m.clearTimeout(l), t.removeEventListener("animationstart", k), t.removeEventListener("animationcancel", p), t.removeEventListener("animationend", p);
245
+ return t.addEventListener("animationstart", x), t.addEventListener("animationcancel", p), t.addEventListener("animationend", p), () => {
246
+ m.clearTimeout(l), t.removeEventListener("animationstart", x), t.removeEventListener("animationcancel", p), t.removeEventListener("animationend", p);
247
247
  };
248
248
  } else
249
249
  i("ANIMATION_END");
@@ -266,19 +266,19 @@ Qe.createPortal;
266
266
  Qe.flushSync;
267
267
  // @__NO_SIDE_EFFECTS__
268
268
  function Yt(e) {
269
- const t = /* @__PURE__ */ Zt(e), o = M((r, n) => {
269
+ const t = /* @__PURE__ */ Zt(e), o = _((r, n) => {
270
270
  const { children: s, ...a } = r, c = H.toArray(s), i = c.find(Qt);
271
271
  if (i) {
272
272
  const l = i.props.children, m = c.map((p) => p === i ? H.count(l) > 1 ? H.only(null) : Q(l) ? l.props.children : null : p);
273
- return /* @__PURE__ */ E(t, { ...a, ref: n, children: Q(l) ? fe(l, void 0, m) : null });
273
+ return /* @__PURE__ */ z(t, { ...a, ref: n, children: Q(l) ? fe(l, void 0, m) : null });
274
274
  }
275
- return /* @__PURE__ */ E(t, { ...a, ref: n, children: s });
275
+ return /* @__PURE__ */ z(t, { ...a, ref: n, children: s });
276
276
  });
277
277
  return o.displayName = `${e}.Slot`, o;
278
278
  }
279
279
  // @__NO_SIDE_EFFECTS__
280
280
  function Zt(e) {
281
- const t = M((o, r) => {
281
+ const t = _((o, r) => {
282
282
  const { children: n, ...s } = o;
283
283
  if (Q(n)) {
284
284
  const a = to(n), c = eo(s, n.props);
@@ -326,9 +326,9 @@ var oo = [
326
326
  "svg",
327
327
  "ul"
328
328
  ], Ne = oo.reduce((e, t) => {
329
- const o = /* @__PURE__ */ Yt(`Primitive.${t}`), r = M((n, s) => {
329
+ const o = /* @__PURE__ */ Yt(`Primitive.${t}`), r = _((n, s) => {
330
330
  const { asChild: a, ...c } = n, i = a ? o : t;
331
- return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ E(i, { ...c, ref: s });
331
+ return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ z(i, { ...c, ref: s });
332
332
  });
333
333
  return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
334
334
  }, {}), be = "Checkbox", [ro] = jt(be), [no, Re] = ro(be);
@@ -346,20 +346,20 @@ function so(e) {
346
346
  value: m = "on",
347
347
  // @ts-expect-error
348
348
  internal_do_not_use_render: p
349
- } = e, [k, x] = Gt({
349
+ } = e, [x, k] = Gt({
350
350
  prop: o,
351
351
  defaultProp: n ?? !1,
352
352
  onChange: i,
353
353
  caller: be
354
- }), [y, g] = X(null), [v, C] = X(null), N = z(!1), T = y ? !!a || !!y.closest("form") : (
354
+ }), [v, w] = X(null), [b, C] = X(null), N = P(!1), T = v ? !!a || !!v.closest("form") : (
355
355
  // We set this to true by default so that events bubble to forms without JS (SSR)
356
356
  !0
357
- ), _ = {
358
- checked: k,
357
+ ), M = {
358
+ checked: x,
359
359
  disabled: s,
360
- setChecked: x,
361
- control: y,
362
- setControl: g,
360
+ setChecked: k,
361
+ control: v,
362
+ setControl: w,
363
363
  name: c,
364
364
  form: a,
365
365
  value: m,
@@ -367,19 +367,19 @@ function so(e) {
367
367
  required: l,
368
368
  defaultChecked: G(n) ? !1 : n,
369
369
  isFormControl: T,
370
- bubbleInput: v,
370
+ bubbleInput: b,
371
371
  setBubbleInput: C
372
372
  };
373
- return /* @__PURE__ */ E(
373
+ return /* @__PURE__ */ z(
374
374
  no,
375
375
  {
376
376
  scope: t,
377
- ..._,
378
- children: ao(p) ? p(_) : r
377
+ ...M,
378
+ children: ao(p) ? p(M) : r
379
379
  }
380
380
  );
381
381
  }
382
- var et = "CheckboxTrigger", tt = M(
382
+ var et = "CheckboxTrigger", tt = _(
383
383
  ({ __scopeCheckbox: e, onKeyDown: t, onClick: o, ...r }, n) => {
384
384
  const {
385
385
  control: s,
@@ -389,17 +389,17 @@ var et = "CheckboxTrigger", tt = M(
389
389
  required: l,
390
390
  setControl: m,
391
391
  setChecked: p,
392
- hasConsumerStoppedPropagationRef: k,
393
- isFormControl: x,
394
- bubbleInput: y
395
- } = Re(et, e), g = Ae(n, m), v = z(i);
392
+ hasConsumerStoppedPropagationRef: x,
393
+ isFormControl: k,
394
+ bubbleInput: v
395
+ } = Re(et, e), w = Ae(n, m), b = P(i);
396
396
  return W(() => {
397
397
  const C = s?.form;
398
398
  if (C) {
399
- const N = () => p(v.current);
399
+ const N = () => p(b.current);
400
400
  return C.addEventListener("reset", N), () => C.removeEventListener("reset", N);
401
401
  }
402
- }, [s, p]), /* @__PURE__ */ E(
402
+ }, [s, p]), /* @__PURE__ */ z(
403
403
  Ne.button,
404
404
  {
405
405
  type: "button",
@@ -411,19 +411,19 @@ var et = "CheckboxTrigger", tt = M(
411
411
  disabled: c,
412
412
  value: a,
413
413
  ...r,
414
- ref: g,
414
+ ref: w,
415
415
  onKeyDown: $e(t, (C) => {
416
416
  C.key === "Enter" && C.preventDefault();
417
417
  }),
418
418
  onClick: $e(o, (C) => {
419
- p((N) => G(N) ? !0 : !N), y && x && (k.current = C.isPropagationStopped(), k.current || C.stopPropagation());
419
+ p((N) => G(N) ? !0 : !N), v && k && (x.current = C.isPropagationStopped(), x.current || C.stopPropagation());
420
420
  })
421
421
  }
422
422
  );
423
423
  }
424
424
  );
425
425
  tt.displayName = et;
426
- var Ie = M(
426
+ var Ee = _(
427
427
  (e, t) => {
428
428
  const {
429
429
  __scopeCheckbox: o,
@@ -437,7 +437,7 @@ var Ie = M(
437
437
  form: m,
438
438
  ...p
439
439
  } = e;
440
- return /* @__PURE__ */ E(
440
+ return /* @__PURE__ */ z(
441
441
  so,
442
442
  {
443
443
  __scopeCheckbox: o,
@@ -449,8 +449,8 @@ var Ie = M(
449
449
  name: r,
450
450
  form: m,
451
451
  value: i,
452
- internal_do_not_use_render: ({ isFormControl: k }) => /* @__PURE__ */ Dt(Lt, { children: [
453
- /* @__PURE__ */ E(
452
+ internal_do_not_use_render: ({ isFormControl: x }) => /* @__PURE__ */ Dt(Lt, { children: [
453
+ /* @__PURE__ */ z(
454
454
  tt,
455
455
  {
456
456
  ...p,
@@ -458,7 +458,7 @@ var Ie = M(
458
458
  __scopeCheckbox: o
459
459
  }
460
460
  ),
461
- k && /* @__PURE__ */ E(
461
+ x && /* @__PURE__ */ z(
462
462
  st,
463
463
  {
464
464
  __scopeCheckbox: o
@@ -469,15 +469,15 @@ var Ie = M(
469
469
  );
470
470
  }
471
471
  );
472
- Ie.displayName = be;
473
- var ot = "CheckboxIndicator", rt = M(
472
+ Ee.displayName = be;
473
+ var ot = "CheckboxIndicator", rt = _(
474
474
  (e, t) => {
475
475
  const { __scopeCheckbox: o, forceMount: r, ...n } = e, s = Re(ot, o);
476
- return /* @__PURE__ */ E(
476
+ return /* @__PURE__ */ z(
477
477
  Je,
478
478
  {
479
479
  present: r || G(s.checked) || s.checked === !0,
480
- children: /* @__PURE__ */ E(
480
+ children: /* @__PURE__ */ z(
481
481
  Ne.span,
482
482
  {
483
483
  "data-state": at(s.checked),
@@ -492,7 +492,7 @@ var ot = "CheckboxIndicator", rt = M(
492
492
  }
493
493
  );
494
494
  rt.displayName = ot;
495
- var nt = "CheckboxBubbleInput", st = M(
495
+ var nt = "CheckboxBubbleInput", st = _(
496
496
  ({ __scopeCheckbox: e, ...t }, o) => {
497
497
  const {
498
498
  control: r,
@@ -504,23 +504,23 @@ var nt = "CheckboxBubbleInput", st = M(
504
504
  name: l,
505
505
  value: m,
506
506
  form: p,
507
- bubbleInput: k,
508
- setBubbleInput: x
509
- } = Re(nt, e), y = Ae(o, x), g = Vt(s), v = Ut(r);
507
+ bubbleInput: x,
508
+ setBubbleInput: k
509
+ } = Re(nt, e), v = Ae(o, k), w = Vt(s), b = Ut(r);
510
510
  W(() => {
511
- const N = k;
511
+ const N = x;
512
512
  if (!N) return;
513
513
  const T = window.HTMLInputElement.prototype, O = Object.getOwnPropertyDescriptor(
514
514
  T,
515
515
  "checked"
516
516
  ).set, L = !n.current;
517
- if (g !== s && O) {
517
+ if (w !== s && O) {
518
518
  const F = new Event("click", { bubbles: L });
519
519
  N.indeterminate = G(s), O.call(N, G(s) ? !1 : s), N.dispatchEvent(F);
520
520
  }
521
- }, [k, g, s, n]);
522
- const C = z(G(s) ? !1 : s);
523
- return /* @__PURE__ */ E(
521
+ }, [x, w, s, n]);
522
+ const C = P(G(s) ? !1 : s);
523
+ return /* @__PURE__ */ z(
524
524
  Ne.input,
525
525
  {
526
526
  type: "checkbox",
@@ -533,10 +533,10 @@ var nt = "CheckboxBubbleInput", st = M(
533
533
  form: p,
534
534
  ...t,
535
535
  tabIndex: -1,
536
- ref: y,
536
+ ref: v,
537
537
  style: {
538
538
  ...t.style,
539
- ...v,
539
+ ...b,
540
540
  position: "absolute",
541
541
  pointerEvents: "none",
542
542
  opacity: 0,
@@ -582,7 +582,7 @@ var uo = {
582
582
  strokeLinecap: "round",
583
583
  strokeLinejoin: "round"
584
584
  };
585
- const mo = M(
585
+ const mo = _(
586
586
  ({
587
587
  color: e = "currentColor",
588
588
  size: t = 24,
@@ -592,7 +592,7 @@ const mo = M(
592
592
  children: s,
593
593
  iconNode: a,
594
594
  ...c
595
- }, i) => I(
595
+ }, i) => E(
596
596
  "svg",
597
597
  {
598
598
  ref: i,
@@ -606,14 +606,14 @@ const mo = M(
606
606
  ...c
607
607
  },
608
608
  [
609
- ...a.map(([l, m]) => I(l, m)),
609
+ ...a.map(([l, m]) => E(l, m)),
610
610
  ...Array.isArray(s) ? s : [s]
611
611
  ]
612
612
  )
613
613
  );
614
614
  const fo = (e, t) => {
615
- const o = M(
616
- ({ className: r, ...n }, s) => I(mo, {
615
+ const o = _(
616
+ ({ className: r, ...n }, s) => E(mo, {
617
617
  ref: s,
618
618
  iconNode: t,
619
619
  className: it(
@@ -704,10 +704,10 @@ const ho = (e, t) => {
704
704
  const o = lt();
705
705
  for (const r in e) {
706
706
  const n = e[r];
707
- Pe(n, o, r, t);
707
+ Ie(n, o, r, t);
708
708
  }
709
709
  return o;
710
- }, Pe = (e, t, o, r) => {
710
+ }, Ie = (e, t, o, r) => {
711
711
  const n = e.length;
712
712
  for (let s = 0; s < n; s++) {
713
713
  const a = e[s];
@@ -727,8 +727,8 @@ const ho = (e, t) => {
727
727
  const r = e === "" ? t : ut(t, e);
728
728
  r.classGroupId = o;
729
729
  }, No = (e, t, o, r) => {
730
- if (Io(e)) {
731
- Pe(e(r), t, o, r);
730
+ if (Eo(e)) {
731
+ Ie(e(r), t, o, r);
732
732
  return;
733
733
  }
734
734
  t.validators === null && (t.validators = []), t.validators.push(ko(o, e));
@@ -736,7 +736,7 @@ const ho = (e, t) => {
736
736
  const n = Object.entries(e), s = n.length;
737
737
  for (let a = 0; a < s; a++) {
738
738
  const [c, i] = n[a];
739
- Pe(i, ut(t, c), o, r);
739
+ Ie(i, ut(t, c), o, r);
740
740
  }
741
741
  }, ut = (e, t) => {
742
742
  let o = e;
@@ -747,7 +747,7 @@ const ho = (e, t) => {
747
747
  c || (c = lt(), o.nextPart.set(a, c)), o = c;
748
748
  }
749
749
  return o;
750
- }, Io = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Po = (e) => {
750
+ }, Eo = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Io = (e) => {
751
751
  if (e < 1)
752
752
  return {
753
753
  get: () => {
@@ -771,13 +771,13 @@ const ho = (e, t) => {
771
771
  s in o ? o[s] = a : n(s, a);
772
772
  }
773
773
  };
774
- }, we = "!", We = ":", zo = [], Fe = (e, t, o, r, n) => ({
774
+ }, we = "!", We = ":", Po = [], Fe = (e, t, o, r, n) => ({
775
775
  modifiers: e,
776
776
  hasImportantModifier: t,
777
777
  baseClassName: o,
778
778
  maybePostfixModifierPosition: r,
779
779
  isExternal: n
780
- }), Eo = (e) => {
780
+ }), zo = (e) => {
781
781
  const {
782
782
  prefix: t,
783
783
  experimentalParseClassName: o
@@ -786,35 +786,35 @@ const ho = (e, t) => {
786
786
  const s = [];
787
787
  let a = 0, c = 0, i = 0, l;
788
788
  const m = n.length;
789
- for (let g = 0; g < m; g++) {
790
- const v = n[g];
789
+ for (let w = 0; w < m; w++) {
790
+ const b = n[w];
791
791
  if (a === 0 && c === 0) {
792
- if (v === We) {
793
- s.push(n.slice(i, g)), i = g + 1;
792
+ if (b === We) {
793
+ s.push(n.slice(i, w)), i = w + 1;
794
794
  continue;
795
795
  }
796
- if (v === "/") {
797
- l = g;
796
+ if (b === "/") {
797
+ l = w;
798
798
  continue;
799
799
  }
800
800
  }
801
- v === "[" ? a++ : v === "]" ? a-- : v === "(" ? c++ : v === ")" && c--;
801
+ b === "[" ? a++ : b === "]" ? a-- : b === "(" ? c++ : b === ")" && c--;
802
802
  }
803
803
  const p = s.length === 0 ? n : n.slice(i);
804
- let k = p, x = !1;
805
- p.endsWith(we) ? (k = p.slice(0, -1), x = !0) : (
804
+ let x = p, k = !1;
805
+ p.endsWith(we) ? (x = p.slice(0, -1), k = !0) : (
806
806
  /**
807
807
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
808
808
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
809
809
  */
810
- p.startsWith(we) && (k = p.slice(1), x = !0)
810
+ p.startsWith(we) && (x = p.slice(1), k = !0)
811
811
  );
812
- const y = l && l > i ? l - i : void 0;
813
- return Fe(s, x, k, y);
812
+ const v = l && l > i ? l - i : void 0;
813
+ return Fe(s, k, x, v);
814
814
  };
815
815
  if (t) {
816
816
  const n = t + We, s = r;
817
- r = (a) => a.startsWith(n) ? s(a.slice(n.length)) : Fe(zo, !1, a, void 0, !0);
817
+ r = (a) => a.startsWith(n) ? s(a.slice(n.length)) : Fe(Po, !1, a, void 0, !0);
818
818
  }
819
819
  if (o) {
820
820
  const n = r;
@@ -824,7 +824,7 @@ const ho = (e, t) => {
824
824
  });
825
825
  }
826
826
  return r;
827
- }, Mo = (e) => {
827
+ }, _o = (e) => {
828
828
  const t = /* @__PURE__ */ new Map();
829
829
  return e.orderSensitiveModifiers.forEach((o, r) => {
830
830
  t.set(o, 1e6 + r);
@@ -837,10 +837,10 @@ const ho = (e, t) => {
837
837
  }
838
838
  return n.length > 0 && (n.sort(), r.push(...n)), r;
839
839
  };
840
- }, _o = (e) => ({
841
- cache: Po(e.cacheSize),
842
- parseClassName: Eo(e),
843
- sortModifiers: Mo(e),
840
+ }, Mo = (e) => ({
841
+ cache: Io(e.cacheSize),
842
+ parseClassName: zo(e),
843
+ sortModifiers: _o(e),
844
844
  ...yo(e)
845
845
  }), To = /\s+/, Oo = (e, t) => {
846
846
  const {
@@ -853,32 +853,32 @@ const ho = (e, t) => {
853
853
  for (let l = c.length - 1; l >= 0; l -= 1) {
854
854
  const m = c[l], {
855
855
  isExternal: p,
856
- modifiers: k,
857
- hasImportantModifier: x,
858
- baseClassName: y,
859
- maybePostfixModifierPosition: g
856
+ modifiers: x,
857
+ hasImportantModifier: k,
858
+ baseClassName: v,
859
+ maybePostfixModifierPosition: w
860
860
  } = o(m);
861
861
  if (p) {
862
862
  i = m + (i.length > 0 ? " " + i : i);
863
863
  continue;
864
864
  }
865
- let v = !!g, C = r(v ? y.substring(0, g) : y);
865
+ let b = !!w, C = r(b ? v.substring(0, w) : v);
866
866
  if (!C) {
867
- if (!v) {
867
+ if (!b) {
868
868
  i = m + (i.length > 0 ? " " + i : i);
869
869
  continue;
870
870
  }
871
- if (C = r(y), !C) {
871
+ if (C = r(v), !C) {
872
872
  i = m + (i.length > 0 ? " " + i : i);
873
873
  continue;
874
874
  }
875
- v = !1;
875
+ b = !1;
876
876
  }
877
- const N = k.length === 0 ? "" : k.length === 1 ? k[0] : s(k).join(":"), T = x ? N + we : N, _ = T + C;
878
- if (a.indexOf(_) > -1)
877
+ const N = x.length === 0 ? "" : x.length === 1 ? x[0] : s(x).join(":"), T = k ? N + we : N, M = T + C;
878
+ if (a.indexOf(M) > -1)
879
879
  continue;
880
- a.push(_);
881
- const O = n(C, v);
880
+ a.push(M);
881
+ const O = n(C, b);
882
882
  for (let L = 0; L < O.length; ++L) {
883
883
  const F = O[L];
884
884
  a.push(T + F);
@@ -902,7 +902,7 @@ const ho = (e, t) => {
902
902
  let o, r, n, s;
903
903
  const a = (i) => {
904
904
  const l = t.reduce((m, p) => p(m), e());
905
- return o = _o(l), r = o.cache.get, n = o.cache.set, s = c, c(i);
905
+ return o = Mo(l), r = o.cache.get, n = o.cache.set, s = c, c(i);
906
906
  }, c = (i) => {
907
907
  const l = r(i);
908
908
  if (l)
@@ -926,7 +926,7 @@ const ho = (e, t) => {
926
926
  const r = pt.exec(e);
927
927
  return r ? r[1] ? t(r[1]) : o : !1;
928
928
  }, gt = (e) => e === "position" || e === "percentage", ht = (e) => e === "image" || e === "url", kt = (e) => e === "length" || e === "size" || e === "bg-size", xt = (e) => e === "length", tr = (e) => e === "number", or = (e) => e === "family-name", yt = (e) => e === "shadow", rr = () => {
929
- const e = S("color"), t = S("font"), o = S("text"), r = S("font-weight"), n = S("tracking"), s = S("leading"), a = S("breakpoint"), c = S("container"), i = S("spacing"), l = S("radius"), m = S("shadow"), p = S("inset-shadow"), k = S("text-shadow"), x = S("drop-shadow"), y = S("blur"), g = S("perspective"), v = S("aspect"), C = S("ease"), N = S("animate"), T = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], _ = () => [
929
+ const e = S("color"), t = S("font"), o = S("text"), r = S("font-weight"), n = S("tracking"), s = S("leading"), a = S("breakpoint"), c = S("container"), i = S("spacing"), l = S("radius"), m = S("shadow"), p = S("inset-shadow"), x = S("text-shadow"), k = S("drop-shadow"), v = S("blur"), w = S("perspective"), b = S("aspect"), C = S("ease"), N = S("animate"), T = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], M = () => [
930
930
  "center",
931
931
  "top",
932
932
  "bottom",
@@ -944,9 +944,9 @@ const ho = (e, t) => {
944
944
  "bottom-left",
945
945
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
946
946
  "left-bottom"
947
- ], O = () => [..._(), u, d], L = () => ["auto", "hidden", "clip", "visible", "scroll"], F = () => ["auto", "contain", "none"], b = () => [u, d, i], D = () => [K, "full", "auto", ...b()], ze = () => [B, "none", "subgrid", u, d], Ee = () => ["auto", {
947
+ ], O = () => [...M(), u, d], L = () => ["auto", "hidden", "clip", "visible", "scroll"], F = () => ["auto", "contain", "none"], g = () => [u, d, i], D = () => [K, "full", "auto", ...g()], Pe = () => [B, "none", "subgrid", u, d], ze = () => ["auto", {
948
948
  span: ["full", B, u, d]
949
- }, B, u, d], oe = () => [B, "auto", u, d], Me = () => ["auto", "min", "max", "fr", u, d], ge = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], q = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], j = () => ["auto", ...b()], V = () => [K, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...b()], f = () => [e, u, d], _e = () => [..._(), Ue, Ve, {
949
+ }, B, u, d], oe = () => [B, "auto", u, d], _e = () => ["auto", "min", "max", "fr", u, d], ge = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], q = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], j = () => ["auto", ...g()], V = () => [K, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...g()], f = () => [e, u, d], Me = () => [...M(), Ue, Ve, {
950
950
  position: [u, d]
951
951
  }], Te = () => ["no-repeat", {
952
952
  repeat: ["", "x", "y", "space", "round"]
@@ -960,14 +960,14 @@ const ho = (e, t) => {
960
960
  l,
961
961
  u,
962
962
  d
963
- ], P = () => ["", h, J, U], re = () => ["solid", "dashed", "dotted", "double"], Le = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], A = () => [h, xe, Ue, Ve], De = () => [
963
+ ], I = () => ["", h, J, U], re = () => ["solid", "dashed", "dotted", "double"], Le = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], A = () => [h, xe, Ue, Ve], De = () => [
964
964
  // Deprecated since Tailwind CSS v4.0.0
965
965
  "",
966
966
  "none",
967
- y,
967
+ v,
968
968
  u,
969
969
  d
970
- ], ne = () => ["none", h, u, d], se = () => ["none", h, u, d], ke = () => [h, u, d], ae = () => [K, "full", ...b()];
970
+ ], ne = () => ["none", h, u, d], se = () => ["none", h, u, d], ke = () => [h, u, d], ae = () => [K, "full", ...g()];
971
971
  return {
972
972
  cacheSize: 500,
973
973
  theme: {
@@ -1000,7 +1000,7 @@ const ho = (e, t) => {
1000
1000
  * @see https://tailwindcss.com/docs/aspect-ratio
1001
1001
  */
1002
1002
  aspect: [{
1003
- aspect: ["auto", "square", K, d, u, v]
1003
+ aspect: ["auto", "square", K, d, u, b]
1004
1004
  }],
1005
1005
  /**
1006
1006
  * Container
@@ -1223,7 +1223,7 @@ const ho = (e, t) => {
1223
1223
  * @see https://tailwindcss.com/docs/flex-basis
1224
1224
  */
1225
1225
  basis: [{
1226
- basis: [K, "full", "auto", c, ...b()]
1226
+ basis: [K, "full", "auto", c, ...g()]
1227
1227
  }],
1228
1228
  /**
1229
1229
  * Flex Direction
@@ -1272,14 +1272,14 @@ const ho = (e, t) => {
1272
1272
  * @see https://tailwindcss.com/docs/grid-template-columns
1273
1273
  */
1274
1274
  "grid-cols": [{
1275
- "grid-cols": ze()
1275
+ "grid-cols": Pe()
1276
1276
  }],
1277
1277
  /**
1278
1278
  * Grid Column Start / End
1279
1279
  * @see https://tailwindcss.com/docs/grid-column
1280
1280
  */
1281
1281
  "col-start-end": [{
1282
- col: Ee()
1282
+ col: ze()
1283
1283
  }],
1284
1284
  /**
1285
1285
  * Grid Column Start
@@ -1300,14 +1300,14 @@ const ho = (e, t) => {
1300
1300
  * @see https://tailwindcss.com/docs/grid-template-rows
1301
1301
  */
1302
1302
  "grid-rows": [{
1303
- "grid-rows": ze()
1303
+ "grid-rows": Pe()
1304
1304
  }],
1305
1305
  /**
1306
1306
  * Grid Row Start / End
1307
1307
  * @see https://tailwindcss.com/docs/grid-row
1308
1308
  */
1309
1309
  "row-start-end": [{
1310
- row: Ee()
1310
+ row: ze()
1311
1311
  }],
1312
1312
  /**
1313
1313
  * Grid Row Start
@@ -1335,35 +1335,35 @@ const ho = (e, t) => {
1335
1335
  * @see https://tailwindcss.com/docs/grid-auto-columns
1336
1336
  */
1337
1337
  "auto-cols": [{
1338
- "auto-cols": Me()
1338
+ "auto-cols": _e()
1339
1339
  }],
1340
1340
  /**
1341
1341
  * Grid Auto Rows
1342
1342
  * @see https://tailwindcss.com/docs/grid-auto-rows
1343
1343
  */
1344
1344
  "auto-rows": [{
1345
- "auto-rows": Me()
1345
+ "auto-rows": _e()
1346
1346
  }],
1347
1347
  /**
1348
1348
  * Gap
1349
1349
  * @see https://tailwindcss.com/docs/gap
1350
1350
  */
1351
1351
  gap: [{
1352
- gap: b()
1352
+ gap: g()
1353
1353
  }],
1354
1354
  /**
1355
1355
  * Gap X
1356
1356
  * @see https://tailwindcss.com/docs/gap
1357
1357
  */
1358
1358
  "gap-x": [{
1359
- "gap-x": b()
1359
+ "gap-x": g()
1360
1360
  }],
1361
1361
  /**
1362
1362
  * Gap Y
1363
1363
  * @see https://tailwindcss.com/docs/gap
1364
1364
  */
1365
1365
  "gap-y": [{
1366
- "gap-y": b()
1366
+ "gap-y": g()
1367
1367
  }],
1368
1368
  /**
1369
1369
  * Justify Content
@@ -1438,63 +1438,63 @@ const ho = (e, t) => {
1438
1438
  * @see https://tailwindcss.com/docs/padding
1439
1439
  */
1440
1440
  p: [{
1441
- p: b()
1441
+ p: g()
1442
1442
  }],
1443
1443
  /**
1444
1444
  * Padding X
1445
1445
  * @see https://tailwindcss.com/docs/padding
1446
1446
  */
1447
1447
  px: [{
1448
- px: b()
1448
+ px: g()
1449
1449
  }],
1450
1450
  /**
1451
1451
  * Padding Y
1452
1452
  * @see https://tailwindcss.com/docs/padding
1453
1453
  */
1454
1454
  py: [{
1455
- py: b()
1455
+ py: g()
1456
1456
  }],
1457
1457
  /**
1458
1458
  * Padding Start
1459
1459
  * @see https://tailwindcss.com/docs/padding
1460
1460
  */
1461
1461
  ps: [{
1462
- ps: b()
1462
+ ps: g()
1463
1463
  }],
1464
1464
  /**
1465
1465
  * Padding End
1466
1466
  * @see https://tailwindcss.com/docs/padding
1467
1467
  */
1468
1468
  pe: [{
1469
- pe: b()
1469
+ pe: g()
1470
1470
  }],
1471
1471
  /**
1472
1472
  * Padding Top
1473
1473
  * @see https://tailwindcss.com/docs/padding
1474
1474
  */
1475
1475
  pt: [{
1476
- pt: b()
1476
+ pt: g()
1477
1477
  }],
1478
1478
  /**
1479
1479
  * Padding Right
1480
1480
  * @see https://tailwindcss.com/docs/padding
1481
1481
  */
1482
1482
  pr: [{
1483
- pr: b()
1483
+ pr: g()
1484
1484
  }],
1485
1485
  /**
1486
1486
  * Padding Bottom
1487
1487
  * @see https://tailwindcss.com/docs/padding
1488
1488
  */
1489
1489
  pb: [{
1490
- pb: b()
1490
+ pb: g()
1491
1491
  }],
1492
1492
  /**
1493
1493
  * Padding Left
1494
1494
  * @see https://tailwindcss.com/docs/padding
1495
1495
  */
1496
1496
  pl: [{
1497
- pl: b()
1497
+ pl: g()
1498
1498
  }],
1499
1499
  /**
1500
1500
  * Margin
@@ -1564,7 +1564,7 @@ const ho = (e, t) => {
1564
1564
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1565
1565
  */
1566
1566
  "space-x": [{
1567
- "space-x": b()
1567
+ "space-x": g()
1568
1568
  }],
1569
1569
  /**
1570
1570
  * Space Between X Reverse
@@ -1576,7 +1576,7 @@ const ho = (e, t) => {
1576
1576
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1577
1577
  */
1578
1578
  "space-y": [{
1579
- "space-y": b()
1579
+ "space-y": g()
1580
1580
  }],
1581
1581
  /**
1582
1582
  * Space Between Y Reverse
@@ -1745,7 +1745,7 @@ const ho = (e, t) => {
1745
1745
  leading: [
1746
1746
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1747
1747
  s,
1748
- ...b()
1748
+ ...g()
1749
1749
  ]
1750
1750
  }],
1751
1751
  /**
@@ -1846,7 +1846,7 @@ const ho = (e, t) => {
1846
1846
  * @see https://tailwindcss.com/docs/text-indent
1847
1847
  */
1848
1848
  indent: [{
1849
- indent: b()
1849
+ indent: g()
1850
1850
  }],
1851
1851
  /**
1852
1852
  * Vertical Alignment
@@ -1919,7 +1919,7 @@ const ho = (e, t) => {
1919
1919
  * @see https://tailwindcss.com/docs/background-position
1920
1920
  */
1921
1921
  "bg-position": [{
1922
- bg: _e()
1922
+ bg: Me()
1923
1923
  }],
1924
1924
  /**
1925
1925
  * Background Repeat
@@ -2110,70 +2110,70 @@ const ho = (e, t) => {
2110
2110
  * @see https://tailwindcss.com/docs/border-width
2111
2111
  */
2112
2112
  "border-w": [{
2113
- border: P()
2113
+ border: I()
2114
2114
  }],
2115
2115
  /**
2116
2116
  * Border Width X
2117
2117
  * @see https://tailwindcss.com/docs/border-width
2118
2118
  */
2119
2119
  "border-w-x": [{
2120
- "border-x": P()
2120
+ "border-x": I()
2121
2121
  }],
2122
2122
  /**
2123
2123
  * Border Width Y
2124
2124
  * @see https://tailwindcss.com/docs/border-width
2125
2125
  */
2126
2126
  "border-w-y": [{
2127
- "border-y": P()
2127
+ "border-y": I()
2128
2128
  }],
2129
2129
  /**
2130
2130
  * Border Width Start
2131
2131
  * @see https://tailwindcss.com/docs/border-width
2132
2132
  */
2133
2133
  "border-w-s": [{
2134
- "border-s": P()
2134
+ "border-s": I()
2135
2135
  }],
2136
2136
  /**
2137
2137
  * Border Width End
2138
2138
  * @see https://tailwindcss.com/docs/border-width
2139
2139
  */
2140
2140
  "border-w-e": [{
2141
- "border-e": P()
2141
+ "border-e": I()
2142
2142
  }],
2143
2143
  /**
2144
2144
  * Border Width Top
2145
2145
  * @see https://tailwindcss.com/docs/border-width
2146
2146
  */
2147
2147
  "border-w-t": [{
2148
- "border-t": P()
2148
+ "border-t": I()
2149
2149
  }],
2150
2150
  /**
2151
2151
  * Border Width Right
2152
2152
  * @see https://tailwindcss.com/docs/border-width
2153
2153
  */
2154
2154
  "border-w-r": [{
2155
- "border-r": P()
2155
+ "border-r": I()
2156
2156
  }],
2157
2157
  /**
2158
2158
  * Border Width Bottom
2159
2159
  * @see https://tailwindcss.com/docs/border-width
2160
2160
  */
2161
2161
  "border-w-b": [{
2162
- "border-b": P()
2162
+ "border-b": I()
2163
2163
  }],
2164
2164
  /**
2165
2165
  * Border Width Left
2166
2166
  * @see https://tailwindcss.com/docs/border-width
2167
2167
  */
2168
2168
  "border-w-l": [{
2169
- "border-l": P()
2169
+ "border-l": I()
2170
2170
  }],
2171
2171
  /**
2172
2172
  * Divide Width X
2173
2173
  * @see https://tailwindcss.com/docs/border-width#between-children
2174
2174
  */
2175
2175
  "divide-x": [{
2176
- "divide-x": P()
2176
+ "divide-x": I()
2177
2177
  }],
2178
2178
  /**
2179
2179
  * Divide Width X Reverse
@@ -2185,7 +2185,7 @@ const ho = (e, t) => {
2185
2185
  * @see https://tailwindcss.com/docs/border-width#between-children
2186
2186
  */
2187
2187
  "divide-y": [{
2188
- "divide-y": P()
2188
+ "divide-y": I()
2189
2189
  }],
2190
2190
  /**
2191
2191
  * Divide Width Y Reverse
@@ -2347,7 +2347,7 @@ const ho = (e, t) => {
2347
2347
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2348
2348
  */
2349
2349
  "ring-w": [{
2350
- ring: P()
2350
+ ring: I()
2351
2351
  }],
2352
2352
  /**
2353
2353
  * Ring Width Inset
@@ -2386,7 +2386,7 @@ const ho = (e, t) => {
2386
2386
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2387
2387
  */
2388
2388
  "inset-ring-w": [{
2389
- "inset-ring": P()
2389
+ "inset-ring": I()
2390
2390
  }],
2391
2391
  /**
2392
2392
  * Inset Ring Color
@@ -2400,7 +2400,7 @@ const ho = (e, t) => {
2400
2400
  * @see https://tailwindcss.com/docs/text-shadow
2401
2401
  */
2402
2402
  "text-shadow": [{
2403
- "text-shadow": ["none", k, le, ce]
2403
+ "text-shadow": ["none", x, le, ce]
2404
2404
  }],
2405
2405
  /**
2406
2406
  * Text Shadow Color
@@ -2560,7 +2560,7 @@ const ho = (e, t) => {
2560
2560
  }]
2561
2561
  }],
2562
2562
  "mask-image-radial-pos": [{
2563
- "mask-radial-at": _()
2563
+ "mask-radial-at": M()
2564
2564
  }],
2565
2565
  "mask-image-conic-pos": [{
2566
2566
  "mask-conic": [h]
@@ -2596,7 +2596,7 @@ const ho = (e, t) => {
2596
2596
  * @see https://tailwindcss.com/docs/mask-position
2597
2597
  */
2598
2598
  "mask-position": [{
2599
- mask: _e()
2599
+ mask: Me()
2600
2600
  }],
2601
2601
  /**
2602
2602
  * Mask Repeat
@@ -2672,7 +2672,7 @@ const ho = (e, t) => {
2672
2672
  // Deprecated since Tailwind CSS v4.0.0
2673
2673
  "",
2674
2674
  "none",
2675
- x,
2675
+ k,
2676
2676
  le,
2677
2677
  ce
2678
2678
  ]
@@ -2810,21 +2810,21 @@ const ho = (e, t) => {
2810
2810
  * @see https://tailwindcss.com/docs/border-spacing
2811
2811
  */
2812
2812
  "border-spacing": [{
2813
- "border-spacing": b()
2813
+ "border-spacing": g()
2814
2814
  }],
2815
2815
  /**
2816
2816
  * Border Spacing X
2817
2817
  * @see https://tailwindcss.com/docs/border-spacing
2818
2818
  */
2819
2819
  "border-spacing-x": [{
2820
- "border-spacing-x": b()
2820
+ "border-spacing-x": g()
2821
2821
  }],
2822
2822
  /**
2823
2823
  * Border Spacing Y
2824
2824
  * @see https://tailwindcss.com/docs/border-spacing
2825
2825
  */
2826
2826
  "border-spacing-y": [{
2827
- "border-spacing-y": b()
2827
+ "border-spacing-y": g()
2828
2828
  }],
2829
2829
  /**
2830
2830
  * Table Layout
@@ -2900,7 +2900,7 @@ const ho = (e, t) => {
2900
2900
  * @see https://tailwindcss.com/docs/perspective
2901
2901
  */
2902
2902
  perspective: [{
2903
- perspective: [g, u, d]
2903
+ perspective: [w, u, d]
2904
2904
  }],
2905
2905
  /**
2906
2906
  * Perspective Origin
@@ -3116,126 +3116,126 @@ const ho = (e, t) => {
3116
3116
  * @see https://tailwindcss.com/docs/scroll-margin
3117
3117
  */
3118
3118
  "scroll-m": [{
3119
- "scroll-m": b()
3119
+ "scroll-m": g()
3120
3120
  }],
3121
3121
  /**
3122
3122
  * Scroll Margin X
3123
3123
  * @see https://tailwindcss.com/docs/scroll-margin
3124
3124
  */
3125
3125
  "scroll-mx": [{
3126
- "scroll-mx": b()
3126
+ "scroll-mx": g()
3127
3127
  }],
3128
3128
  /**
3129
3129
  * Scroll Margin Y
3130
3130
  * @see https://tailwindcss.com/docs/scroll-margin
3131
3131
  */
3132
3132
  "scroll-my": [{
3133
- "scroll-my": b()
3133
+ "scroll-my": g()
3134
3134
  }],
3135
3135
  /**
3136
3136
  * Scroll Margin Start
3137
3137
  * @see https://tailwindcss.com/docs/scroll-margin
3138
3138
  */
3139
3139
  "scroll-ms": [{
3140
- "scroll-ms": b()
3140
+ "scroll-ms": g()
3141
3141
  }],
3142
3142
  /**
3143
3143
  * Scroll Margin End
3144
3144
  * @see https://tailwindcss.com/docs/scroll-margin
3145
3145
  */
3146
3146
  "scroll-me": [{
3147
- "scroll-me": b()
3147
+ "scroll-me": g()
3148
3148
  }],
3149
3149
  /**
3150
3150
  * Scroll Margin Top
3151
3151
  * @see https://tailwindcss.com/docs/scroll-margin
3152
3152
  */
3153
3153
  "scroll-mt": [{
3154
- "scroll-mt": b()
3154
+ "scroll-mt": g()
3155
3155
  }],
3156
3156
  /**
3157
3157
  * Scroll Margin Right
3158
3158
  * @see https://tailwindcss.com/docs/scroll-margin
3159
3159
  */
3160
3160
  "scroll-mr": [{
3161
- "scroll-mr": b()
3161
+ "scroll-mr": g()
3162
3162
  }],
3163
3163
  /**
3164
3164
  * Scroll Margin Bottom
3165
3165
  * @see https://tailwindcss.com/docs/scroll-margin
3166
3166
  */
3167
3167
  "scroll-mb": [{
3168
- "scroll-mb": b()
3168
+ "scroll-mb": g()
3169
3169
  }],
3170
3170
  /**
3171
3171
  * Scroll Margin Left
3172
3172
  * @see https://tailwindcss.com/docs/scroll-margin
3173
3173
  */
3174
3174
  "scroll-ml": [{
3175
- "scroll-ml": b()
3175
+ "scroll-ml": g()
3176
3176
  }],
3177
3177
  /**
3178
3178
  * Scroll Padding
3179
3179
  * @see https://tailwindcss.com/docs/scroll-padding
3180
3180
  */
3181
3181
  "scroll-p": [{
3182
- "scroll-p": b()
3182
+ "scroll-p": g()
3183
3183
  }],
3184
3184
  /**
3185
3185
  * Scroll Padding X
3186
3186
  * @see https://tailwindcss.com/docs/scroll-padding
3187
3187
  */
3188
3188
  "scroll-px": [{
3189
- "scroll-px": b()
3189
+ "scroll-px": g()
3190
3190
  }],
3191
3191
  /**
3192
3192
  * Scroll Padding Y
3193
3193
  * @see https://tailwindcss.com/docs/scroll-padding
3194
3194
  */
3195
3195
  "scroll-py": [{
3196
- "scroll-py": b()
3196
+ "scroll-py": g()
3197
3197
  }],
3198
3198
  /**
3199
3199
  * Scroll Padding Start
3200
3200
  * @see https://tailwindcss.com/docs/scroll-padding
3201
3201
  */
3202
3202
  "scroll-ps": [{
3203
- "scroll-ps": b()
3203
+ "scroll-ps": g()
3204
3204
  }],
3205
3205
  /**
3206
3206
  * Scroll Padding End
3207
3207
  * @see https://tailwindcss.com/docs/scroll-padding
3208
3208
  */
3209
3209
  "scroll-pe": [{
3210
- "scroll-pe": b()
3210
+ "scroll-pe": g()
3211
3211
  }],
3212
3212
  /**
3213
3213
  * Scroll Padding Top
3214
3214
  * @see https://tailwindcss.com/docs/scroll-padding
3215
3215
  */
3216
3216
  "scroll-pt": [{
3217
- "scroll-pt": b()
3217
+ "scroll-pt": g()
3218
3218
  }],
3219
3219
  /**
3220
3220
  * Scroll Padding Right
3221
3221
  * @see https://tailwindcss.com/docs/scroll-padding
3222
3222
  */
3223
3223
  "scroll-pr": [{
3224
- "scroll-pr": b()
3224
+ "scroll-pr": g()
3225
3225
  }],
3226
3226
  /**
3227
3227
  * Scroll Padding Bottom
3228
3228
  * @see https://tailwindcss.com/docs/scroll-padding
3229
3229
  */
3230
3230
  "scroll-pb": [{
3231
- "scroll-pb": b()
3231
+ "scroll-pb": g()
3232
3232
  }],
3233
3233
  /**
3234
3234
  * Scroll Padding Left
3235
3235
  * @see https://tailwindcss.com/docs/scroll-padding
3236
3236
  */
3237
3237
  "scroll-pl": [{
3238
- "scroll-pl": b()
3238
+ "scroll-pl": g()
3239
3239
  }],
3240
3240
  /**
3241
3241
  * Scroll Snap Align
@@ -3414,10 +3414,10 @@ function ir(e) {
3414
3414
  function cr() {
3415
3415
  return Se(sr).themeName;
3416
3416
  }
3417
- const wt = M(({ checked: e, className: t, ...o }, r) => {
3417
+ const wt = _(({ checked: e, className: t, ...o }, r) => {
3418
3418
  const n = cr(), s = ir(n), a = e === "indeterminate" ? "tdg-checkbox--indeterminate inovua-react-toolkit-checkbox--indeterminate" : e ? "tdg-checkbox--checked inovua-react-toolkit-checkbox--checked" : "";
3419
- return /* @__PURE__ */ I(
3420
- Ie,
3419
+ return /* @__PURE__ */ E(
3420
+ Ee,
3421
3421
  {
3422
3422
  ref: r,
3423
3423
  checked: e,
@@ -3431,19 +3431,30 @@ const wt = M(({ checked: e, className: t, ...o }, r) => {
3431
3431
  ),
3432
3432
  ...o
3433
3433
  },
3434
- /* @__PURE__ */ I(rt, { className: "tdg-checkbox__icon-wrapper inovua-react-toolkit-checkbox__icon-wrapper grid place-content-center text-current" }, e === "indeterminate" ? /* @__PURE__ */ I(
3434
+ /* @__PURE__ */ E(rt, { className: "tdg-checkbox__icon-wrapper inovua-react-toolkit-checkbox__icon-wrapper grid place-content-center text-current" }, e === "indeterminate" ? /* @__PURE__ */ E(
3435
3435
  "svg",
3436
3436
  {
3437
3437
  className: "tdg-checkbox__indeterminate-icon h-4 w-4",
3438
3438
  viewBox: "0 0 16 16",
3439
3439
  "aria-hidden": "true"
3440
3440
  },
3441
- /* @__PURE__ */ I("rect", { width: "10", height: "2", x: "3", y: "7", rx: "1", fill: "currentColor" })
3442
- ) : /* @__PURE__ */ I(bo, { className: "tdg-checkbox__check-icon h-4 w-4" }))
3441
+ /* @__PURE__ */ E("rect", { width: "10", height: "2", x: "3", y: "7", rx: "1", fill: "currentColor" })
3442
+ ) : /* @__PURE__ */ E(bo, { className: "tdg-checkbox__check-icon h-4 w-4" }))
3443
3443
  );
3444
3444
  });
3445
- wt.displayName = Ie.displayName;
3446
- function lr({
3445
+ wt.displayName = Ee.displayName;
3446
+ const lr = "InovuaReactDataGrid__cell__editor", dr = "tdg-cell-editor-shell";
3447
+ function ur(e) {
3448
+ return e ? lr : dr;
3449
+ }
3450
+ function mr(e, t = []) {
3451
+ if (!e) return {};
3452
+ const o = {};
3453
+ for (const [r, n] of Object.entries(e))
3454
+ r === "seamless" || t.includes(r) || (o[r] = n);
3455
+ return o;
3456
+ }
3457
+ function fr({
3447
3458
  value: e = null,
3448
3459
  onChange: t,
3449
3460
  onComplete: o,
@@ -3454,50 +3465,52 @@ function lr({
3454
3465
  disabled: c,
3455
3466
  readOnly: i,
3456
3467
  rtl: l,
3457
- className: m,
3458
- style: p,
3468
+ seamless: m,
3469
+ className: p,
3470
+ style: x,
3459
3471
  editorProps: k
3460
3472
  }) {
3461
- const x = z(null), y = z(e);
3473
+ const v = P(null), w = P(e);
3462
3474
  return W(() => {
3463
- y.current = e;
3475
+ w.current = e;
3464
3476
  }, [e]), W(() => {
3465
- a && x.current?.focus();
3466
- }, [a]), /* @__PURE__ */ I(
3477
+ a && v.current?.focus();
3478
+ }, [a]), /* @__PURE__ */ E(
3467
3479
  "div",
3468
3480
  {
3469
3481
  className: ve(
3470
3482
  "flex h-full min-h-8 w-full items-center justify-center",
3471
- m
3483
+ ur(m),
3484
+ p
3472
3485
  ),
3473
- style: p,
3486
+ style: x,
3474
3487
  dir: l ? "rtl" : "ltr",
3475
3488
  "data-slot": "bool-editor"
3476
3489
  },
3477
- /* @__PURE__ */ I(
3490
+ /* @__PURE__ */ E(
3478
3491
  wt,
3479
3492
  {
3480
- ...k,
3481
- ref: x,
3493
+ ...mr(k, ["emptyValue"]),
3494
+ ref: v,
3482
3495
  checked: e === !0,
3483
3496
  disabled: c || i,
3484
3497
  "aria-label": k?.["aria-label"] ?? "Boolean value",
3485
3498
  className: ve(k?.className),
3486
3499
  style: k?.style,
3487
- onBlur: (g) => {
3488
- k?.onBlur?.(g), o?.(y.current, g);
3500
+ onBlur: (b) => {
3501
+ k?.onBlur?.(b), o?.(w.current, b);
3489
3502
  },
3490
- onCheckedChange: (g) => {
3491
- const v = g === !0;
3492
- y.current = v, t?.(v);
3503
+ onCheckedChange: (b) => {
3504
+ const C = b === !0;
3505
+ w.current = C, t?.(C);
3493
3506
  },
3494
- onKeyDown: (g) => {
3495
- k?.onKeyDown?.(g), s?.(g), !g.defaultPrevented && (g.key === "Escape" ? (g.preventDefault(), r?.(g)) : g.key === "Enter" ? (g.preventDefault(), o?.(y.current, g)) : g.key === "Tab" && (g.preventDefault(), n?.(!0, g.shiftKey ? -1 : 1, g)));
3507
+ onKeyDown: (b) => {
3508
+ k?.onKeyDown?.(b), s?.(b), !b.defaultPrevented && (b.key === "Escape" ? (b.preventDefault(), r?.(b)) : b.key === "Enter" ? (b.preventDefault(), o?.(w.current, b)) : b.key === "Tab" && (b.preventDefault(), n?.(!0, b.shiftKey ? -1 : 1, b)));
3496
3509
  }
3497
3510
  }
3498
3511
  )
3499
3512
  );
3500
3513
  }
3501
3514
  export {
3502
- lr as default
3515
+ fr as default
3503
3516
  };