@vkzstudio/muza-ui 1.0.35 → 1.0.37

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 (30) hide show
  1. package/dist/components/DataTable/DataTable.d.ts +6 -1
  2. package/dist/components/DataTable/DataTable.d.ts.map +1 -1
  3. package/dist/components/DataTable/DataTable.js +92 -79
  4. package/dist/components/DataTable/DataTable.stories.d.ts +1 -0
  5. package/dist/components/DataTable/DataTable.stories.d.ts.map +1 -1
  6. package/dist/components/FileUpload/FileItem.d.ts.map +1 -1
  7. package/dist/components/FileUpload/FileItem.js +1 -1
  8. package/dist/components/Input/Input.d.ts +9 -0
  9. package/dist/components/Input/Input.d.ts.map +1 -1
  10. package/dist/components/Input/Input.js +23 -22
  11. package/dist/components/MultiSelect/MultiSelect.d.ts.map +1 -1
  12. package/dist/components/MultiSelect/MultiSelect.js +83 -62
  13. package/dist/components/MuzaUIProvider/theme/colorShades.js +11 -10
  14. package/dist/components/Reorderable/Reorderable.d.ts +5 -0
  15. package/dist/components/Reorderable/Reorderable.d.ts.map +1 -1
  16. package/dist/components/Reorderable/Reorderable.js +166 -164
  17. package/dist/components/ReorderableTable/ReorderableTable.d.ts +6 -0
  18. package/dist/components/ReorderableTable/ReorderableTable.d.ts.map +1 -1
  19. package/dist/components/ReorderableTable/ReorderableTable.js +91 -80
  20. package/dist/components/ReorderableTable/ReorderableTable.stories.d.ts +1 -0
  21. package/dist/components/ReorderableTable/ReorderableTable.stories.d.ts.map +1 -1
  22. package/dist/components/TextEditor/TextEditor.d.ts +4 -0
  23. package/dist/components/TextEditor/TextEditor.d.ts.map +1 -1
  24. package/dist/components/TextEditor/TextEditor.js +128 -97
  25. package/dist/components/TextEditor/TextEditor.stories.d.ts +1 -0
  26. package/dist/components/TextEditor/TextEditor.stories.d.ts.map +1 -1
  27. package/dist/components/Textarea/Textarea.js +1 -1
  28. package/dist/muza-ui.css +1 -1
  29. package/dist/node_modules/@tiptap/extension-character-count/dist/index.js +73 -0
  30. package/package.json +3 -1
@@ -35,8 +35,8 @@ const m = (e) => {
35
35
  if (n === 0)
36
36
  g = u = o = a;
37
37
  else {
38
- const c = (i, d, y) => (y < 0 && (y += 1), y > 1 && (y -= 1), y < 0.16666666666666666 ? i + (d - i) * 6 * y : y < 0.5 ? d : y < 0.6666666666666666 ? i + (d - i) * (0.6666666666666666 - y) * 6 : i), s = a < 0.5 ? a * (1 + n) : a + n - a * n, f = 2 * a - s;
39
- g = c(f, s, r + 1 / 3), u = c(f, s, r), o = c(f, s, r - 1 / 3);
38
+ const c = (f, d, y) => (y < 0 && (y += 1), y > 1 && (y -= 1), y < 0.16666666666666666 ? f + (d - f) * 6 * y : y < 0.5 ? d : y < 0.6666666666666666 ? f + (d - f) * (0.6666666666666666 - y) * 6 : f), s = a < 0.5 ? a * (1 + n) : a + n - a * n, i = 2 * a - s;
39
+ g = c(i, s, r + 1 / 3), u = c(i, s, r), o = c(i, s, r - 1 / 3);
40
40
  }
41
41
  const l = (c) => {
42
42
  const s = Math.round(c * 255).toString(16);
@@ -70,6 +70,7 @@ const m = (e) => {
70
70
  "gray-900": t.default["--gray-900"],
71
71
  "gray-1000": t.default["--gray-1000"]
72
72
  }, z = (e) => {
73
+ var l;
73
74
  const r = m(e);
74
75
  if (!r)
75
76
  return null;
@@ -92,18 +93,18 @@ const m = (e) => {
92
93
  600: 1,
93
94
  700: 0.95
94
95
  };
95
- Object.entries(g).forEach(([l, c]) => {
96
- const s = Math.round(n.s * u[Number(l)]);
97
- a[l] = T({
96
+ Object.entries(g).forEach(([c, s]) => {
97
+ const i = Math.round(n.s * u[Number(c)]);
98
+ a[c] = T({
98
99
  h: n.h,
99
- s,
100
- l: c
100
+ s: i,
101
+ l: s
101
102
  });
102
103
  });
103
104
  const o = m(a[500]);
104
105
  return o && (a["500-8"] = h(o, 8), a["500-12"] = h(o, 12), a["500-15"] = h(o, 15)), Object.assign(
105
106
  a,
106
- a[500] === "#5f1eb4" ? $ : b
107
+ ((l = a[500]) == null ? void 0 : l.toUpperCase()) === "#5F1EB4" ? $ : b
107
108
  ), a;
108
109
  }, A = (e) => {
109
110
  const r = z(e);
@@ -111,7 +112,7 @@ const m = (e) => {
111
112
  r,
112
113
  e === "#5f1eb4" ? $ : b
113
114
  ), r) : null;
114
- }, j = (e, r) => {
115
+ }, p = (e, r) => {
115
116
  const n = Object.entries(r).map(([a, g]) => ` ${a.includes("-") ? `'${a}'` : a}: '${g}'`).join(`,
116
117
  `);
117
118
  return `{
@@ -125,7 +126,7 @@ ${n}
125
126
  };
126
127
  export {
127
128
  E as SHADES_GENERATORS,
128
- j as formatShadesAsObject,
129
+ p as formatShadesAsObject,
129
130
  z as generateColorShades,
130
131
  A as generateColorShades2
131
132
  };
@@ -141,6 +141,11 @@ export interface ReorderableItemProps<T> {
141
141
  * Use `"position"` to animate only position and prevent scale distortion when item height changes.
142
142
  */
143
143
  layout?: true | 'position';
144
+ /**
145
+ * Optional pointer/click handler forwarded to the rendered element.
146
+ * Useful for wiring row-click navigation on top of reorderable items.
147
+ */
148
+ onClick?: (e: React.MouseEvent<HTMLElement>) => void;
144
149
  }
145
150
  declare const ReorderableItem: <T>(props: ReorderableItemProps<T> & {
146
151
  ref?: ForwardedRef<HTMLLIElement>;
@@ -1 +1 @@
1
- {"version":3,"file":"Reorderable.d.ts","sourceRoot":"","sources":["../../../src/components/Reorderable/Reorderable.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,YAAY,EAIjB,KAAK,YAAY,EACjB,KAAK,SAAS,EAQf,MAAM,OAAO,CAAA;AACd,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,YAAY,EACjB,KAAK,eAAe,EAEpB,KAAK,mBAAmB,EAGzB,MAAM,cAAc,CAAA;AAWrB,UAAU,4BAA4B,CAAC,CAAC,GAAG,OAAO;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,CAAC,EAAE,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A;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,0BAA0B,CACzC,CAAC,SAAS,4BAA4B,GAAG,IAAI;IAE7C,+DAA+D;IAC/D,EAAE,CAAC,EAAE,CAAC,CAAA;IACN,8BAA8B;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,sBAAsB;IACtB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAuBD,QAAA,MAAM,qBAAqB,EAA6C,CACtE,CAAC,SAAS,4BAA4B,GAAG,IAAI,EAE7C,KAAK,EAAE,0BAA0B,CAAC,CAAC,CAAC,GAAG;IACrC,GAAG,CAAC,EAAE,YAAY,CAAC,+BAA+B,CAAC,CAAC,CAAC,CAAC,CAAA;CACvD,KACE,YAAY,CAChB;AAMD,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,kBAAkB,GACnB,CAAA"}
1
+ {"version":3,"file":"Reorderable.d.ts","sourceRoot":"","sources":["../../../src/components/Reorderable/Reorderable.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,YAAY,EAIjB,KAAK,YAAY,EACjB,KAAK,SAAS,EAQf,MAAM,OAAO,CAAA;AACd,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,YAAY,EACjB,KAAK,eAAe,EAEpB,KAAK,mBAAmB,EAGzB,MAAM,cAAc,CAAA;AAWrB,UAAU,4BAA4B,CAAC,CAAC,GAAG,OAAO;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,CAAC,EAAE,CAAA;IACZ,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,EAAE,KAAK,IAAI,CAAA;IACnC,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,CAAA;IAChB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC/B,gBAAgB,CAAC,E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AAE,CAAC,CAAA;IACN,8BAA8B;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,sBAAsB;IACtB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAuBD,QAAA,MAAM,qBAAqB,EAA6C,CACtE,CAAC,SAAS,4BAA4B,GAAG,IAAI,EAE7C,KAAK,EAAE,0BAA0B,CAAC,CAAC,CAAC,GAAG;IACrC,GAAG,CAAC,EAAE,YAAY,CAAC,+BAA+B,CAAC,CAAC,CAAC,CAAC,CAAA;CACvD,KACE,YAAY,CAChB;AAMD,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,kBAAkB,GACnB,CAAA"}
@@ -1,10 +1,10 @@
1
- import { jsx as D } from "react/jsx-runtime";
2
- import { forwardRef as k, useContext as S, useRef as A, useCallback as N, createContext as F, useState as $, useEffect as j } from "react";
1
+ import { jsx as R } from "react/jsx-runtime";
2
+ import { forwardRef as _, useContext as S, useRef as T, useCallback as A, createContext as F, useState as $, useEffect as j } from "react";
3
3
  import { useMuzaTranslations as Z } from "../../translations/TranslationContext.js";
4
4
  import { AnimatePresence as P } from "../../node_modules/framer-motion/dist/es/components/AnimatePresence/index.js";
5
5
  import { useDragControls as ee } from "../../node_modules/framer-motion/dist/es/gestures/drag/use-drag-controls.js";
6
6
  import { motion as te } from "../../node_modules/framer-motion/dist/es/render/components/motion/proxy.js";
7
- import { cn as _ } from "../../utils/cn.js";
7
+ import { cn as H } from "../../utils/cn.js";
8
8
  import { ReorderGroup as re } from "../../node_modules/framer-motion/dist/es/components/Reorder/Group.js";
9
9
  import { ReorderItem as ne } from "../../node_modules/framer-motion/dist/es/components/Reorder/Item.js";
10
10
  const K = {
@@ -19,240 +19,242 @@ const K = {
19
19
  return r;
20
20
  }, ie = ({
21
21
  values: r,
22
- onReorder: s,
23
- onSync: b,
24
- syncDelay: m = 300,
22
+ onReorder: a,
23
+ onSync: m,
24
+ syncDelay: p = 300,
25
25
  onSyncPendingChange: d,
26
- onDragStart: n,
27
- onDragEnd: R,
28
- axis: G = "y",
29
- as: C = "ol",
30
- disabled: p = !1,
26
+ onDragStart: o,
27
+ onDragEnd: w,
28
+ axis: N = "y",
29
+ as: G = "ol",
30
+ disabled: v = !1,
31
31
  layoutScroll: g = !1,
32
- animatePresence: v,
33
- style: y,
34
- className: h,
32
+ animatePresence: y,
33
+ style: M,
34
+ className: x,
35
35
  children: u
36
- }, i) => {
37
- const x = Z(), f = !!b, [L, E] = $(r), t = A(null), e = A(!1), l = A(!1), I = A(L), a = A(b);
38
- a.current = b;
39
- const o = A(d);
40
- o.current = d, j(() => {
41
- f && !e.current && (E(r), I.current = r);
36
+ }, s) => {
37
+ const I = Z(), f = !!m, [C, h] = $(r), i = T(null), e = T(!1), t = T(!1), l = T(C), D = T(m);
38
+ D.current = m;
39
+ const n = T(d);
40
+ n.current = d, j(() => {
41
+ f && !e.current && (h(r), l.current = r);
42
42
  }, [r, f]), j(() => () => {
43
- t.current && clearTimeout(t.current);
43
+ i.current && clearTimeout(i.current);
44
44
  }, []);
45
- const c = N(
46
- (T) => {
47
- t.current && clearTimeout(t.current), t.current = setTimeout(() => {
48
- var M, Y;
49
- t.current = null, e.current = !1, (M = o.current) == null || M.call(o, !1), (Y = a.current) == null || Y.call(a, T);
50
- }, m);
45
+ const c = A(
46
+ (E) => {
47
+ i.current && clearTimeout(i.current), i.current = setTimeout(() => {
48
+ var k, Y;
49
+ i.current = null, e.current = !1, (k = n.current) == null || k.call(n, !1), (Y = D.current) == null || Y.call(D, E);
50
+ }, p);
51
51
  },
52
- [m]
53
- ), w = N(
54
- (T) => {
55
- var M;
56
- f ? (E(T), I.current = T, s == null || s(T), e.current || (e.current = !0, (M = o.current) == null || M.call(o, !0)), l.current || c(T)) : s == null || s(T);
52
+ [p]
53
+ ), b = A(
54
+ (E) => {
55
+ var k;
56
+ f ? (h(E), l.current = E, a == null || a(E), e.current || (e.current = !0, (k = n.current) == null || k.call(n, !0)), t.current || c(E)) : a == null || a(E);
57
57
  },
58
- [f, s, c]
59
- ), H = N(() => {
60
- l.current = !0, t.current && clearTimeout(t.current), n == null || n();
61
- }, [n]), O = N(() => {
62
- l.current = !1, e.current && c(I.current), R == null || R();
63
- }, [c, R]), V = f ? L : r, Q = {
64
- disabled: p,
58
+ [f, a, c]
59
+ ), L = A(() => {
60
+ t.current = !0, i.current && clearTimeout(i.current), o == null || o();
61
+ }, [o]), O = A(() => {
62
+ t.current = !1, e.current && c(l.current), w == null || w();
63
+ }, [c, w]), V = f ? C : r, Q = {
64
+ disabled: v,
65
65
  values: V,
66
- onReorder: p ? void 0 : w,
67
- axis: G,
68
- animatePresence: !!v,
69
- onPointerDragStart: f ? H : void 0,
66
+ onReorder: v ? void 0 : b,
67
+ axis: N,
68
+ animatePresence: !!y,
69
+ onPointerDragStart: f ? L : void 0,
70
70
  onPointerDragEnd: f ? O : void 0
71
- }, X = typeof u == "function" ? u(V) : u, U = v === !0 ? { mode: "popLayout", initial: !1 } : v || null, W = U ? /* @__PURE__ */ D(P, { ...U, children: X }) : X;
72
- return /* @__PURE__ */ D(
71
+ }, X = typeof u == "function" ? u(V) : u, U = y === !0 ? { mode: "popLayout", initial: !1 } : y || null, W = U ? /* @__PURE__ */ R(P, { ...U, children: X }) : X;
72
+ return /* @__PURE__ */ R(
73
73
  q.Provider,
74
74
  {
75
75
  value: Q,
76
- children: /* @__PURE__ */ D(
76
+ children: /* @__PURE__ */ R(
77
77
  re,
78
78
  {
79
- ref: i,
80
- axis: G,
79
+ ref: s,
80
+ axis: N,
81
81
  values: V,
82
- onReorder: p ? () => {
83
- } : w,
84
- as: C,
82
+ onReorder: v ? () => {
83
+ } : b,
84
+ as: G,
85
85
  layoutScroll: g,
86
- style: y,
87
- ...C !== "tbody" && {
86
+ style: M,
87
+ ...G !== "tbody" && {
88
88
  role: "list",
89
- "aria-label": x.reorderableTable.listAriaLabel
89
+ "aria-label": I.reorderableTable.listAriaLabel
90
90
  },
91
- className: _(h),
91
+ className: H(x),
92
92
  children: W
93
93
  }
94
94
  )
95
95
  }
96
96
  );
97
- }, ae = k(ie);
97
+ }, ae = _(ie);
98
98
  ae.displayName = "ReorderableGroup";
99
99
  const ce = ({
100
100
  value: r,
101
- as: s = "li",
102
- disabled: b = !1,
103
- dragListenerDisabled: m = !1,
101
+ as: a = "li",
102
+ disabled: m = !1,
103
+ dragListenerDisabled: p = !1,
104
104
  whileDrag: d,
105
- animation: n,
106
- className: R,
107
- children: G,
108
- style: C,
109
- layout: p
110
- }, g) => {
105
+ animation: o,
106
+ className: w,
107
+ children: N,
108
+ style: G,
109
+ layout: v,
110
+ onClick: g
111
+ }, y) => {
111
112
  const {
112
- disabled: v,
113
- values: y,
114
- onReorder: h,
115
- axis: u,
116
- animatePresence: i,
117
- onPointerDragStart: x,
118
- onPointerDragEnd: f
119
- } = B(), L = ee(), E = b || v, t = !E && !m, e = n === !1 ? null : n === !0 ? K : typeof n == "object" ? {
120
- initial: n.initial ?? K.initial,
121
- animate: n.animate ?? K.animate,
122
- exit: n.exit ?? K.exit,
123
- transition: n.transition ?? K.transition
124
- } : i ? K : null, l = N(
125
- (a) => {
126
- if (!y || !h) return;
127
- const o = y.indexOf(r);
128
- if (o === -1) return;
129
- const c = o + a;
130
- if (c < 0 || c >= y.length) return;
131
- const w = [...y];
132
- w.splice(o, 1), w.splice(c, 0, r), h(w);
113
+ disabled: M,
114
+ values: x,
115
+ onReorder: u,
116
+ axis: s,
117
+ animatePresence: I,
118
+ onPointerDragStart: f,
119
+ onPointerDragEnd: C
120
+ } = B(), h = ee(), i = m || M, e = !i && !p, t = o === !1 ? null : o === !0 ? K : typeof o == "object" ? {
121
+ initial: o.initial ?? K.initial,
122
+ animate: o.animate ?? K.animate,
123
+ exit: o.exit ?? K.exit,
124
+ transition: o.transition ?? K.transition
125
+ } : I ? K : null, l = A(
126
+ (n) => {
127
+ if (!x || !u) return;
128
+ const c = x.indexOf(r);
129
+ if (c === -1) return;
130
+ const b = c + n;
131
+ if (b < 0 || b >= x.length) return;
132
+ const L = [...x];
133
+ L.splice(c, 1), L.splice(b, 0, r), u(L);
133
134
  },
134
- [y, h, r]
135
- ), I = N(
136
- (a) => {
137
- if (!t) return;
138
- const o = u === "y" ? "ArrowUp" : "ArrowLeft", c = u === "y" ? "ArrowDown" : "ArrowRight";
139
- a.key === o ? (a.preventDefault(), l(-1)) : a.key === c && (a.preventDefault(), l(1));
135
+ [x, u, r]
136
+ ), D = A(
137
+ (n) => {
138
+ if (!e) return;
139
+ const c = s === "y" ? "ArrowUp" : "ArrowLeft", b = s === "y" ? "ArrowDown" : "ArrowRight";
140
+ n.key === c ? (n.preventDefault(), l(-1)) : n.key === b && (n.preventDefault(), l(1));
140
141
  },
141
- [t, u, l]
142
+ [e, s, l]
142
143
  );
143
- return /* @__PURE__ */ D(
144
+ return /* @__PURE__ */ R(
144
145
  J.Provider,
145
146
  {
146
- value: { dragControls: L, dragListenerDisabled: m, moveItem: l },
147
- children: /* @__PURE__ */ D(
147
+ value: { dragControls: h, dragListenerDisabled: p, moveItem: l },
148
+ children: /* @__PURE__ */ R(
148
149
  ne,
149
150
  {
150
- ref: g,
151
+ ref: y,
151
152
  value: r,
152
- as: s,
153
- layout: p,
154
- dragControls: L,
155
- dragListener: t,
156
- onDragStart: t ? x : void 0,
157
- onDragEnd: t ? f : void 0,
158
- initial: e == null ? void 0 : e.initial,
159
- animate: e == null ? void 0 : e.animate,
160
- exit: e == null ? void 0 : e.exit,
161
- transition: e == null ? void 0 : e.transition,
162
- tabIndex: t ? 0 : void 0,
153
+ as: a,
154
+ layout: v,
155
+ dragControls: h,
156
+ dragListener: e,
157
+ onDragStart: e ? f : void 0,
158
+ onDragEnd: e ? C : void 0,
159
+ initial: t == null ? void 0 : t.initial,
160
+ animate: t == null ? void 0 : t.animate,
161
+ exit: t == null ? void 0 : t.exit,
162
+ transition: t == null ? void 0 : t.transition,
163
+ tabIndex: e ? 0 : void 0,
163
164
  role: "listitem",
164
- "aria-disabled": E,
165
- onKeyDown: I,
166
- className: _(
167
- t && "cursor-grab active:cursor-grabbing",
168
- t && "focus-visible-default",
169
- R
165
+ "aria-disabled": i,
166
+ onKeyDown: D,
167
+ onClick: g,
168
+ className: H(
169
+ e && "cursor-grab active:cursor-grabbing",
170
+ e && "focus-visible-default",
171
+ w
170
172
  ),
171
- style: C,
173
+ style: G,
172
174
  whileDrag: {
173
175
  zIndex: oe,
174
176
  position: "relative",
175
177
  ...d
176
178
  },
177
- children: G
179
+ children: N
178
180
  }
179
181
  )
180
182
  }
181
183
  );
182
- }, le = k(ce);
184
+ }, le = _(ce);
183
185
  le.displayName = "ReorderableItem";
184
- const ue = k(
186
+ const ue = _(
185
187
  ({
186
188
  as: r = "button",
187
- disabled: s = !1,
188
- "aria-label": b,
189
- className: m,
189
+ disabled: a = !1,
190
+ "aria-label": m,
191
+ className: p,
190
192
  children: d
191
- }, n) => {
192
- const R = Z(), G = b ?? R.reorderableTable.dragHandleAriaLabel, {
193
- disabled: C,
194
- axis: p,
193
+ }, o) => {
194
+ const w = Z(), N = m ?? w.reorderableTable.dragHandleAriaLabel, {
195
+ disabled: G,
196
+ axis: v,
195
197
  onPointerDragStart: g,
196
- onPointerDragEnd: v
197
- } = B(), { dragControls: y, dragListenerDisabled: h, moveItem: u } = se(), i = h && !C && !s, x = A(!1), f = (e) => {
198
- if (!i) return;
199
- x.current = !1;
200
- const l = e.clientX, I = e.clientY, a = (c) => {
201
- const w = Math.abs(c.clientX - l), H = Math.abs(c.clientY - I);
202
- (w > z || H > z) && (x.current = !0);
203
- }, o = () => {
204
- document.removeEventListener("pointermove", a), document.removeEventListener("pointerup", o), x.current && (v == null || v());
198
+ onPointerDragEnd: y
199
+ } = B(), { dragControls: M, dragListenerDisabled: x, moveItem: u } = se(), s = x && !G && !a, I = T(!1), f = (e) => {
200
+ if (!s) return;
201
+ I.current = !1;
202
+ const t = e.clientX, l = e.clientY, D = (c) => {
203
+ const b = Math.abs(c.clientX - t), L = Math.abs(c.clientY - l);
204
+ (b > z || L > z) && (I.current = !0);
205
+ }, n = () => {
206
+ document.removeEventListener("pointermove", D), document.removeEventListener("pointerup", n), I.current && (y == null || y());
205
207
  };
206
- document.addEventListener("pointermove", a), document.addEventListener("pointerup", o), g == null || g(), y.start(e);
207
- }, L = (e) => {
208
- x.current && (e.stopPropagation(), x.current = !1);
209
- }, E = N(
208
+ document.addEventListener("pointermove", D), document.addEventListener("pointerup", n), g == null || g(), M.start(e);
209
+ }, C = (e) => {
210
+ I.current && (e.stopPropagation(), I.current = !1);
211
+ }, h = A(
210
212
  (e) => {
211
- if (!i) return;
212
- const l = p === "y" ? "ArrowUp" : "ArrowLeft", I = p === "y" ? "ArrowDown" : "ArrowRight";
213
- e.key === l ? (e.preventDefault(), u(-1)) : e.key === I && (e.preventDefault(), u(1));
213
+ if (!s) return;
214
+ const t = v === "y" ? "ArrowUp" : "ArrowLeft", l = v === "y" ? "ArrowDown" : "ArrowRight";
215
+ e.key === t ? (e.preventDefault(), u(-1)) : e.key === l && (e.preventDefault(), u(1));
214
216
  },
215
- [i, p, u]
216
- ), t = {
217
- "aria-label": G,
217
+ [s, v, u]
218
+ ), i = {
219
+ "aria-label": N,
218
220
  "aria-roledescription": "sortable",
219
221
  onPointerDown: f,
220
- onKeyDown: E,
221
- onClick: L,
222
- className: _(
222
+ onKeyDown: h,
223
+ onClick: C,
224
+ className: H(
223
225
  "touch-none select-none",
224
- i && "cursor-grab active:cursor-grabbing",
225
- !i && "cursor-default",
226
- i && "focus-visible-default",
227
- m
226
+ s && "cursor-grab active:cursor-grabbing",
227
+ !s && "cursor-default",
228
+ s && "focus-visible-default",
229
+ p
228
230
  )
229
231
  };
230
- return r === "button" ? /* @__PURE__ */ D("button", { ref: n, type: "button", disabled: s, ...t, children: d }) : r === "div" ? /* @__PURE__ */ D(
232
+ return r === "button" ? /* @__PURE__ */ R("button", { ref: o, type: "button", disabled: a, ...i, children: d }) : r === "div" ? /* @__PURE__ */ R(
231
233
  "div",
232
234
  {
233
- ref: n,
234
- tabIndex: i ? 0 : void 0,
235
- role: i ? "button" : void 0,
236
- ...t,
235
+ ref: o,
236
+ tabIndex: s ? 0 : void 0,
237
+ role: s ? "button" : void 0,
238
+ ...i,
237
239
  children: d
238
240
  }
239
- ) : /* @__PURE__ */ D(
241
+ ) : /* @__PURE__ */ R(
240
242
  "span",
241
243
  {
242
- ref: n,
243
- tabIndex: i ? 0 : void 0,
244
- role: i ? "button" : void 0,
245
- ...t,
244
+ ref: o,
245
+ tabIndex: s ? 0 : void 0,
246
+ role: s ? "button" : void 0,
247
+ ...i,
246
248
  children: d
247
249
  }
248
250
  );
249
251
  }
250
252
  );
251
253
  ue.displayName = "ReorderableHandle";
252
- const fe = ({ as: r = "li", className: s, children: b }, m) => {
254
+ const fe = ({ as: r = "li", className: a, children: m }, p) => {
253
255
  const d = te[r];
254
- return /* @__PURE__ */ D(d, { ref: m, layout: !0, role: "listitem", className: _(s), children: b });
255
- }, de = k(fe);
256
+ return /* @__PURE__ */ R(d, { ref: p, layout: !0, role: "listitem", className: H(a), children: m });
257
+ }, de = _(fe);
256
258
  de.displayName = "ReorderableStaticItem";
257
259
  export {
258
260
  ae as ReorderableGroup,
@@ -89,6 +89,12 @@ export interface ReorderableTableProps<T extends {
89
89
  * Use `"position"` to animate only position and prevent scale distortion when row height changes.
90
90
  */
91
91
  layout?: true | 'position';
92
+ /**
93
+ * Fires when a row is clicked. Does not fire when the click originates from
94
+ * the drag handle. Clicks inside interactive children (buttons, links) should
95
+ * call `event.stopPropagation()` to avoid double-firing.
96
+ */
97
+ onRowClick?: (rowData: T, rowIndex: number) => void;
92
98
  }
93
99
  declare const ReorderableTable: <T extends {
94
100
  id: string | number;
@@ -1 +1 @@
1
- {"version":3,"file":"ReorderableTable.d.ts","sourceRoot":"","sources":["../../../src/components/ReorderableTable/ReorderableTable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAc,MAAM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AO,CAAA;IACpB,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAA;IACzD,uDAAuD;IACvD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,uFAAuF;IACvF,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,mFAAmF;IACnF,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB;;;OAGG;IACH,MAAM,CAAC,EAAE,IAAI,GAAG,UAAU,CAAA;CAC3B;AAgPD,QAAA,MAAM,gBAAgB,EAAwC,CAC5D,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,EAEjC,KAAK,EAAE,qBAAqB,CAAC,CAAC,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,YAAY,CAAC,gBAAgB,CAAC,CAAA;CAAE,KACvE,KAAK,CAAC,YAAY,CACtB;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
1
+ {"version":3,"file":"ReorderableTable.d.ts","sourceRoot":"","sources":["../../../src/components/ReorderableTable/ReorderableTable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAc,MAAM,OAAO,CAAA;AAWrE;;;;;;;;;;GAUG;AACH,MAAM,WAAW,sBAAsB,CAAC,CAAC;IACvC,uEAAuE;IACvE,OAAO,EAAE,MAAM,CAAC,CAAA;IAChB,6BAA6B;IAC7B,KAAK,EAAE,SAAS,CAAA;IAChB,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,CAAC,GAAG,CAAC,CAAA;IAC3B;;;;;OAKG;IACH,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,OAAO,EAA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