@sheetxl/utils-react 0.7.11 → 0.7.12
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.
- package/browser/cjs/BGFqkFxbLS0vmmh5.cjs +6 -0
- package/browser/cjs/index.cjs +2 -2
- package/browser/esm/{BNW2XtDFq9P_SHHG.mjs → CNTtjTL9eZe9TQw2.mjs} +2 -2
- package/browser/esm/index.mjs +115 -114
- package/node/esm/{D5BveCGka6K1aPl8.mjs → i36M1qE9kUNw0xW3.mjs} +2 -2
- package/node/esm/index.mjs +38 -37
- package/package.json +2 -2
- package/browser/cjs/CBhk4XX3Jh-fMfEG.cjs +0 -6
package/node/esm/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.7.
|
|
2
|
+
* @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.7.12
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -50,12 +50,12 @@ class K extends S {
|
|
|
50
50
|
return e2?.showInputOptions ? e2.showInputOptions(t2) : Promise.resolve({ input: "", option: "" });
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
const H = i(new K()),
|
|
53
|
+
const H = i(new K()), N = ({ children: t2, notifier: e2 }) => (o.useEffect(() => {
|
|
54
54
|
const t3 = E.getOverrides();
|
|
55
55
|
return E.setOverrides(e2), () => {
|
|
56
56
|
E.setOverrides(t3);
|
|
57
57
|
};
|
|
58
|
-
}, [e2]), o.createElement(H.Provider, { value: e2 }, t2)),
|
|
58
|
+
}, [e2]), o.createElement(H.Provider, { value: e2 }, t2)), R = () => r(H), W = 3, V = 0.5, I = 50, F = (t2) => ({ x: t2.x, y: t2.y, width: t2.width, height: t2.height, top: t2.top, left: t2.left, right: t2.right, bottom: t2.bottom });
|
|
59
59
|
function j(t2 = {}) {
|
|
60
60
|
const { threshold: e2 = V, stillnessThreshold: n2 = W, maxHierarchyDepth: o2 = I } = t2, [i2, r2] = b(), u2 = s(null), [d2, p2] = l((t3) => t3 + 1, 0), f2 = s(void 0), _2 = s({ x: 0, y: 0, width: 0, height: 0, top: 0, left: 0, right: 0, bottom: 0 }), m2 = a((t3) => {
|
|
61
61
|
u2.current = t3, "function" == typeof i2 && i2(t3);
|
|
@@ -575,7 +575,7 @@ const Ct = { Toolbar: "toolbar", Menuitem: "menuitem" }, kt = ht({ setClipboard:
|
|
|
575
575
|
const [t2, e2] = c(M.Global);
|
|
576
576
|
return { setClipboard: (t3) => e2(t3), getClipboard: () => t2, refNativeCopy: s(null), refNativeLastKey: s(null) };
|
|
577
577
|
}), Dt = (t2) => {
|
|
578
|
-
const { source: e2, target: n2, onPaste: o2, onClipboardUpdate: i2, commands: r2 } = t2, s2 =
|
|
578
|
+
const { source: e2, target: n2, onPaste: o2, onClipboardUpdate: i2, commands: r2 } = t2, s2 = R(), l2 = X(i2, [i2]), c2 = X(o2, [o2]), { getClipboard: u2, refNativeCopy: d2 } = kt(), f2 = u2();
|
|
579
579
|
p(() => {
|
|
580
580
|
const t3 = e2?.element, o3 = n2?.element ?? e2?.element;
|
|
581
581
|
if (!r2) return;
|
|
@@ -686,7 +686,7 @@ const Ot = o["useId".toString()], Kt = null != Ot ? Ot : function() {
|
|
|
686
686
|
At || (At = true);
|
|
687
687
|
}, []), t2;
|
|
688
688
|
}, Ht = [];
|
|
689
|
-
function
|
|
689
|
+
function Nt(t2, e2, n2 = Ht) {
|
|
690
690
|
const o2 = s(null);
|
|
691
691
|
return f(t2, () => {
|
|
692
692
|
if (!o2.current) return;
|
|
@@ -700,8 +700,8 @@ function Rt(t2, e2, n2 = Ht) {
|
|
|
700
700
|
return t3;
|
|
701
701
|
}, n2), o2;
|
|
702
702
|
}
|
|
703
|
-
const
|
|
704
|
-
const o2 =
|
|
703
|
+
const Rt = "Undo the last action.", Wt = "Repeat the last action or undo the redo.", Vt = (t2) => `Redo ${t2}`, It = ({ manager: t2, commands: e2, disabled: n2 }) => {
|
|
704
|
+
const o2 = R(), i2 = X((e3) => {
|
|
705
705
|
try {
|
|
706
706
|
t2?.undo(e3);
|
|
707
707
|
} catch (t3) {
|
|
@@ -717,14 +717,14 @@ const Nt = "Undo the last action.", Wt = "Repeat the last action or undo the red
|
|
|
717
717
|
return p(() => {
|
|
718
718
|
if (!e2) return;
|
|
719
719
|
const t3 = { contains: (t4) => true, focus() {
|
|
720
|
-
} }, n3 = [new ft("undo", t3, { label: "Undo", description:
|
|
720
|
+
} }, n3 = [new ft("undo", t3, { label: "Undo", description: Rt, shortcut: { key: "z", modifiers: [A.Ctrl] }, disabled: true }, i2), new ft("redo", t3, { label: "Redo", description: Wt, shortcut: [{ key: "y", modifiers: [A.Ctrl] }, { key: "F4" }, { key: "Enter", modifiers: [A.Alt] }], disabled: true }, r2)];
|
|
721
721
|
e2?.addCommands(n3, true);
|
|
722
722
|
}, [e2]), h(() => {
|
|
723
723
|
if (!e2) return;
|
|
724
724
|
const o3 = () => {
|
|
725
725
|
const o4 = t2?.getTopUndoDescription(), i4 = {};
|
|
726
726
|
var r3;
|
|
727
|
-
e2.getCommand("undo").update({ disabled: n2 || !t2 || !t2.hasUndo(), description: o4 ? (r3 = o4, `Undo ${r3}`) :
|
|
727
|
+
e2.getCommand("undo").update({ disabled: n2 || !t2 || !t2.hasUndo(), description: o4 ? (r3 = o4, `Undo ${r3}`) : Rt, state: i4, context: { undoManager: t2 } });
|
|
728
728
|
const s2 = t2?.getTopRedoDescription();
|
|
729
729
|
e2.getCommand("redo").update({ disabled: n2 || !t2 || !t2.hasRedo(), description: s2 ? Vt(s2) : Wt, state: i4, context: { undoManager: t2 } });
|
|
730
730
|
};
|
|
@@ -767,22 +767,22 @@ function ee() {
|
|
|
767
767
|
const ne = 24, oe = _(m((e2, o2) => {
|
|
768
768
|
const { offset: i2 = 0, totalSize: r2 = 0, viewportSize: l2 = 0, style: u2, className: d2, orientation: f2 = $.Vertical, onScrollOffset: _2, onScroll: m2, showCustomScrollButtons: g2 = true, scrollButtonIncrement: y2 = 200, scrollButtonInitialRepeatDelay: S2 = 260, scrollButtonAdditionalRepeatDelay: E2 = 120, minThumbSize: L2 = ne, maxThumbSize: M2, createScrollStartButton: T2 = qt, createScrollEndButton: C2 = Jt, usePortal: k2 = false, ...D2 } = e2;
|
|
769
769
|
X(m2, [m2]);
|
|
770
|
-
const [P2, A2] = c({ offset: 0, length: 0 }), z2 = s(-1), B2 = f2 === $.Vertical, [O2, { width: K2, height: H2 }] = b(),
|
|
770
|
+
const [P2, A2] = c({ offset: 0, length: 0 }), z2 = s(-1), B2 = f2 === $.Vertical, [O2, { width: K2, height: H2 }] = b(), N2 = B2 ? H2 : K2, R2 = X((t2, e3, n2) => {
|
|
771
771
|
if (0 === e3 || 0 === n2) return void A2({ offset: 0, length: L2 });
|
|
772
|
-
const o3 = n2 /
|
|
773
|
-
return { offset: Math.min(Math.max(0, s2),
|
|
774
|
-
}, [
|
|
775
|
-
const e3 = r2 /
|
|
776
|
-
A2(
|
|
777
|
-
}, [_2, l2, r2,
|
|
778
|
-
A2(
|
|
772
|
+
const o3 = n2 / N2, i3 = e3 / o3, r3 = Math.min(Math.max(L2, i3), Math.min(N2, M2 ?? Number.MAX_SAFE_INTEGER)), s2 = t2 / o3;
|
|
773
|
+
return { offset: Math.min(Math.max(0, s2), N2 - r3), length: r3 };
|
|
774
|
+
}, [N2, L2, M2]), W2 = X((t2) => {
|
|
775
|
+
const e3 = r2 / N2, n2 = Math.round(t2 * e3);
|
|
776
|
+
A2(R2(n2, l2, r2)), _2?.(n2, l2, r2), z2.current = t2;
|
|
777
|
+
}, [_2, l2, r2, N2, P2]), V2 = X((t2) => {
|
|
778
|
+
A2(R2(t2, l2, r2)), _2?.(t2, l2, r2), z2.current = t2;
|
|
779
779
|
}, [_2, l2, r2]);
|
|
780
780
|
h(() => {
|
|
781
|
-
z2.current !== i2 && 0 !==
|
|
781
|
+
z2.current !== i2 && 0 !== N2 && (z2.current = -1, A2(R2(i2, l2, r2)));
|
|
782
782
|
}, [i2]), h(() => {
|
|
783
|
-
0 !==
|
|
784
|
-
}, [l2, r2, B2,
|
|
785
|
-
const I2 = Math.max(0, r2 - l2), [F2, j2] = c(false), Y2 = s(0), U2 = s(0), G2 =
|
|
783
|
+
0 !== N2 && A2(R2(i2, l2, r2));
|
|
784
|
+
}, [l2, r2, B2, N2]);
|
|
785
|
+
const I2 = Math.max(0, r2 - l2), [F2, j2] = c(false), Y2 = s(0), U2 = s(0), G2 = Nt(o2, () => ({ isScrollbar: () => true }), []), Z2 = X((t2) => {
|
|
786
786
|
t2.currentTarget.setPointerCapture(t2.pointerId), j2(true), Y2.current = B2 ? t2.clientY : t2.clientX, U2.current = P2.offset, t2.preventDefault(), t2.stopPropagation();
|
|
787
787
|
}, [B2, P2]), q2 = X((t2) => {
|
|
788
788
|
if (!F2) return;
|
|
@@ -1036,7 +1036,7 @@ const pe = (e2, n2) => t(oe, { ...e2, ref: n2 }), fe = Object.freeze(Object.defi
|
|
|
1036
1036
|
}
|
|
1037
1037
|
return i2;
|
|
1038
1038
|
} }, Symbol.toStringTag, { value: "Module" })), _e = ({ width: e2, height: n2 }) => t("div", { className: "corner", style: { minWidth: `${e2}px`, width: `${e2}px`, minHeight: `${n2}px`, height: `${n2}px` } }), me = _(m((o2, i2) => {
|
|
1039
|
-
const { children: r2, viewport: l2, onScrollViewport: c2, showHorizontalScrollbar: u2 = true, showVerticalScrollbar: d2 = true, createScrollCorner: f2 = _e, createHorizontalScrollbar: _2 = pe, createVerticalScrollbar: m2 = pe, style: g2, touchElement: y2, disableTouch: v2, ...w2 } = o2, x2 = u2 && _2, S2 = d2 && m2, E2 = X(c2, [c2]), L2 =
|
|
1039
|
+
const { children: r2, viewport: l2, onScrollViewport: c2, showHorizontalScrollbar: u2 = true, showVerticalScrollbar: d2 = true, createScrollCorner: f2 = _e, createHorizontalScrollbar: _2 = pe, createVerticalScrollbar: m2 = pe, style: g2, touchElement: y2, disableTouch: v2, ...w2 } = o2, x2 = u2 && _2, S2 = d2 && m2, E2 = X(c2, [c2]), L2 = Nt(i2, () => ({ isScrollPane: () => true }), []), M2 = s(null);
|
|
1040
1040
|
h(() => {
|
|
1041
1041
|
M2.current && (M2.current.__scrollTop === l2?.top && M2.current.__scrollLeft === l2?.left || M2.current.__isDecelerating || M2.current?.scrollTo(l2?.left, l2?.top, false));
|
|
1042
1042
|
}, [l2?.left, l2?.top, y2]);
|
|
@@ -1179,7 +1179,7 @@ class Me extends g {
|
|
|
1179
1179
|
}
|
|
1180
1180
|
}
|
|
1181
1181
|
const Te = ({ children: e2 }) => {
|
|
1182
|
-
const n2 =
|
|
1182
|
+
const n2 = R(), o2 = a((t2) => {
|
|
1183
1183
|
n2.showError(t2);
|
|
1184
1184
|
}, [n2]);
|
|
1185
1185
|
return t(Me, { onError: o2, children: e2 });
|
|
@@ -1201,7 +1201,7 @@ class Ce {
|
|
|
1201
1201
|
}
|
|
1202
1202
|
}
|
|
1203
1203
|
const ke = ({ children: n2 }) => {
|
|
1204
|
-
const o2 =
|
|
1204
|
+
const o2 = R();
|
|
1205
1205
|
return h(() => {
|
|
1206
1206
|
const t2 = new Ce(o2);
|
|
1207
1207
|
return () => {
|
|
@@ -1228,7 +1228,7 @@ const ke = ({ children: n2 }) => {
|
|
|
1228
1228
|
h(() => {
|
|
1229
1229
|
H2(Oe(d2, null === u2));
|
|
1230
1230
|
}, [d2, u2]);
|
|
1231
|
-
const [
|
|
1231
|
+
const [N2, { width: R2, height: W2 }] = b(), [V2, { width: I2, height: F2 }] = b(), j2 = "row" === a2 ? I2 : F2, Y2 = "row" === a2 ? R2 : W2, U2 = p(() => ((t2, e3, n2, o2) => {
|
|
1232
1232
|
const i3 = [null, null], r3 = [null, null];
|
|
1233
1233
|
if (t2 || (t2 = { percent: null === o2.fixedPaneOffset ? 50 : null, pixels: null === o2.fixedPaneOffset ? null : 0 }), 0 === e3) return null != t2?.pixels ? 1 !== o2.fixedPaneOffset ? (i3[0] = t2?.pixels, r3[1] = 100) : (i3[1] = t2?.pixels - n2, r3[0] = 100) : null != t2?.percent && (1 !== o2.fixedPaneOffset ? (r3[0] = t2?.percent, r3[1] = 100 - t2?.percent) : (r3[1] = t2?.percent, r3[0] = 100 - t2?.percent)), { percents: r3, pixels: i3, minBefore: $e(o2.minBefore, true), maxBefore: $e(o2.maxBefore, true), minAfter: $e(o2.minAfter), maxAfter: $e(o2.maxAfter) };
|
|
1234
1234
|
let s2 = Be(t2, e3, 1 !== o2.fixedPaneOffset), l3 = e3 - n2, a3 = Be(o2.minBefore, l3, true) ?? 0, c2 = Be(o2.maxBefore, l3, true) ?? l3, h2 = 0, u3 = 0, d3 = 0, p2 = l3;
|
|
@@ -1254,7 +1254,7 @@ const ke = ({ children: n2 }) => {
|
|
|
1254
1254
|
t2.stopPropagation(), t2.preventDefault();
|
|
1255
1255
|
}, [K2, G2, d2, u2, Y2]), xt2 = X((t2) => {
|
|
1256
1256
|
mt2?.(t2), t2.defaultPrevented || L2 || G2 || (Z2(true), q2(), document.addEventListener("pointermove", vt2, { passive: false }), document.addEventListener("touchmove", vt2, { passive: false }), document.addEventListener("pointerup", wt2, { passive: false }));
|
|
1257
|
-
}, [mt2]), bt2 =
|
|
1257
|
+
}, [mt2]), bt2 = Nt(i2, () => ({ setPosition: yt2, isSplitPane: () => true }), []), St2 = p(() => B2 ? z2?.({ key: "resizer", ref: x([V2, et2]), className: w("resizer", ft2), onPointerDownCapture: xt2, style: { cursor: L2 ? void 0 : "row" === a2 ? "ew-resize" : "ns-resize", minWidth: "row" === a2 ? "2px" : void 0, minHeight: "row" !== a2 ? "2px" : void 0, boxSizing: "border-box", pointerEvents: "all", zIndex: 1, ..._t2 }, splitDirection: a2, disabled: L2, ...gt2 }) : null, [B2, ft2, gt2, a2, _t2, L2]), Et2 = "row" === a2 ? "Width" : "Height", Lt2 = p(() => {
|
|
1258
1258
|
if (!r2) return null;
|
|
1259
1259
|
const e3 = { ...st2, ...at2, flex: 0 === $2.fixedPaneOffset && null !== U2?.pixels[0] ? `0 0 ${Math.round(U2?.pixels[0])}px` : `1 1 ${Math.round(U2?.percents[0] ?? 100)}%`, [`min${Et2}`]: U2?.minBefore, [`max${Et2}`]: l2 ? U2?.maxBefore : "100%" };
|
|
1260
1260
|
return t("div", { ref: tt2, className: w("before", it2, lt2), style: e3, ...rt2, ...ct2, children: r2 }, "before");
|
|
@@ -1263,7 +1263,7 @@ const ke = ({ children: n2 }) => {
|
|
|
1263
1263
|
const e3 = { ...st2, ...ut2, flex: 1 === $2.fixedPaneOffset && null !== U2?.pixels[1] ? `0 0 ${Math.round(U2?.pixels[1])}px` : `1 1 ${Math.round(U2?.percents[1] ?? 100)}%`, [`min${Et2}`]: U2?.minAfter, [`max${Et2}`]: r2 ? U2?.maxAfter : "100%" };
|
|
1264
1264
|
return t("div", { ref: nt2, className: w("after", it2, ht2), style: e3, ...rt2, ...dt2, children: l2 }, "after");
|
|
1265
1265
|
}, [l2, D2, A2, $2, U2]);
|
|
1266
|
-
return n("div", { ref: x([
|
|
1266
|
+
return n("div", { ref: x([N2, bt2]), className: w("splitPane", "row" === a2 ? "vertical" : "horizontal", { dragging: G2 }, S2), style: pt2, children: [Lt2, St2, Mt2] });
|
|
1267
1267
|
}));
|
|
1268
1268
|
function He(t2) {
|
|
1269
1269
|
if ("function" == typeof t2) return t2;
|
|
@@ -1305,7 +1305,7 @@ function He(t2) {
|
|
|
1305
1305
|
if (e2.startsWith("<")) {
|
|
1306
1306
|
if (/^<\s*svg\b/i.test(e2)) return We(e2);
|
|
1307
1307
|
if (/^<\s*path\b/i.test(e2)) {
|
|
1308
|
-
const t3 =
|
|
1308
|
+
const t3 = Ne(e2);
|
|
1309
1309
|
if (t3) return { paths: [{ d: t3 }] };
|
|
1310
1310
|
}
|
|
1311
1311
|
return { paths: [{ d: e2 }] };
|
|
@@ -1317,7 +1317,7 @@ function He(t2) {
|
|
|
1317
1317
|
for (const n2 of t2) if ("string" == typeof n2) {
|
|
1318
1318
|
const t3 = String(n2).trim();
|
|
1319
1319
|
if (t3.startsWith("<path")) {
|
|
1320
|
-
const n3 =
|
|
1320
|
+
const n3 = Ne(t3);
|
|
1321
1321
|
n3 && e2.push({ d: n3 });
|
|
1322
1322
|
} else e2.push({ d: t3 });
|
|
1323
1323
|
} else n2 && "object" == typeof n2 && "d" in n2 && "string" == typeof n2.d && e2.push({ ...n2 });
|
|
@@ -1325,11 +1325,11 @@ function He(t2) {
|
|
|
1325
1325
|
}
|
|
1326
1326
|
return t2;
|
|
1327
1327
|
}
|
|
1328
|
-
function
|
|
1328
|
+
function Ne(t2) {
|
|
1329
1329
|
const e2 = /\bd\s*=\s*(?:"([^"]+)"|'([^']+)')/i.exec(t2);
|
|
1330
1330
|
return e2 ? e2[1] ?? e2[2] ?? null : null;
|
|
1331
1331
|
}
|
|
1332
|
-
function
|
|
1332
|
+
function Re(t2) {
|
|
1333
1333
|
if ("svg" in t2) return { ...t2, svg: He(t2.svg) };
|
|
1334
1334
|
if ("url" in t2) {
|
|
1335
1335
|
const e2 = "string" == typeof t2.url ? { src: t2.url } : t2.url;
|
|
@@ -1371,7 +1371,7 @@ function We(t2) {
|
|
|
1371
1371
|
}
|
|
1372
1372
|
function Ve(t2) {
|
|
1373
1373
|
const e2 = {};
|
|
1374
|
-
for (const [n3, o3] of Object.entries(t2.icons)) e2[n3] =
|
|
1374
|
+
for (const [n3, o3] of Object.entries(t2.icons)) e2[n3] = Re(o3);
|
|
1375
1375
|
const n2 = { label: t2.meta?.label ?? "Unnamed", version: t2.meta?.version ?? "1.0.0", license: t2.meta?.license ?? "MIT", defaultViewBox: "0 0 24 24", extends: t2.meta?.extends ?? [] };
|
|
1376
1376
|
n2.extends.includes("base") || n2.extends.push("base");
|
|
1377
1377
|
const o2 = { meta: n2, icons: e2 }, i2 = t2.overrides;
|
|
@@ -1379,7 +1379,7 @@ function Ve(t2) {
|
|
|
1379
1379
|
const t3 = {};
|
|
1380
1380
|
for (const [e3, n3] of Object.entries(i2)) {
|
|
1381
1381
|
const o3 = {};
|
|
1382
|
-
for (const [t4, e4] of Object.entries(n3)) o3[t4] =
|
|
1382
|
+
for (const [t4, e4] of Object.entries(n3)) o3[t4] = Re(e4);
|
|
1383
1383
|
t3[e3] = o3;
|
|
1384
1384
|
}
|
|
1385
1385
|
o2.__overrides = t3;
|
|
@@ -1492,8 +1492,9 @@ function Ie() {
|
|
|
1492
1492
|
return o2.set(t3, n3), n3;
|
|
1493
1493
|
} };
|
|
1494
1494
|
}
|
|
1495
|
+
Ke.displayName = "SplitPane";
|
|
1495
1496
|
const Fe = Ie();
|
|
1496
|
-
Fe.register("base", () => import("./
|
|
1497
|
+
Fe.register("base", () => import("./i36M1qE9kUNw0xW3.mjs"));
|
|
1497
1498
|
const je = (e2) => t("svg", { ...e2, children: t("path", {}) }), Xe = { Icon: "_Icon_1ld90_10" }, Ye = _((e2) => {
|
|
1498
1499
|
const { iconKey: n2, packKey: i2, className: r2, style: s2, role: l2, title: a2, size: c2, ariaHidden: h2, sourceProps: u2, children: d2, ...f2 } = e2, [_2, m2] = o.useState(null);
|
|
1499
1500
|
o.useEffect(() => {
|
|
@@ -1554,7 +1555,7 @@ export {
|
|
|
1554
1555
|
z as KeyCodes,
|
|
1555
1556
|
A as KeyModifiers,
|
|
1556
1557
|
B as MouseButtonCodes,
|
|
1557
|
-
|
|
1558
|
+
N as NotifierProvider,
|
|
1558
1559
|
O as NotifierType,
|
|
1559
1560
|
Te as ReactErrorBoundary,
|
|
1560
1561
|
wt as ReactUtils,
|
|
@@ -1587,9 +1588,9 @@ export {
|
|
|
1587
1588
|
ee as useFullscreenPortal,
|
|
1588
1589
|
kt as useGlobalClipboard,
|
|
1589
1590
|
Kt as useId,
|
|
1590
|
-
|
|
1591
|
+
Nt as useImperativeElement,
|
|
1591
1592
|
q as useMouseDownAndHoldListener,
|
|
1592
|
-
|
|
1593
|
+
R as useNotifier,
|
|
1593
1594
|
G as useOnClickOrFocusAway,
|
|
1594
1595
|
Z as useSynchronizedPointerHandler,
|
|
1595
1596
|
Pt as useTraceUpdate,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetxl/utils-react",
|
|
3
3
|
"description": "Utils React - Utilities for React capabilities needed for all SheetXL components.",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.12",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"react"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@sheetxl/utils": "^0.7.
|
|
43
|
+
"@sheetxl/utils": "^0.7.12",
|
|
44
44
|
"clsx": "^2.1.1",
|
|
45
45
|
"detect-it": "^4.0.1",
|
|
46
46
|
"react-merge-refs": "^3.0.2",
|