@sheetxl/grid-react 0.3.4 → 0.3.6
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/index.cjs +5 -5
- package/browser/esm/index.mjs +506 -495
- package/licenses/dependencies.txt +2 -2
- package/node/esm/index.mjs +15 -4
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Name: @sheetxl/utils
|
|
2
|
-
Version: 0.3.
|
|
2
|
+
Version: 0.3.6
|
|
3
3
|
License: SEE LICENSE IN <LICENSE>
|
|
4
4
|
Private: false
|
|
5
5
|
Description: Utils - Utilities used by most SheetXL components.
|
|
@@ -21,7 +21,7 @@ https://www.sheetxl.com/licensing-pricing
|
|
|
21
21
|
---
|
|
22
22
|
|
|
23
23
|
Name: @sheetxl/utils-react
|
|
24
|
-
Version: 0.3.
|
|
24
|
+
Version: 0.3.6
|
|
25
25
|
License: SEE LICENSE IN <LICENSE>
|
|
26
26
|
Private: false
|
|
27
27
|
Description: Utils React - Utilities for React capabilities needed for all SheetXL components.
|
package/node/esm/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/grid-react - Grid - Advanced data grid component for React - v0.3.
|
|
2
|
+
* @license @sheetxl/grid-react - Grid - Advanced data grid component for React - v0.3.6
|
|
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.
|
|
@@ -1671,8 +1671,20 @@ const kn = () => "sheetxl-ui-" + Mn++, Rn = o["useId".toString()], Pn = null !=
|
|
|
1671
1671
|
} else if ("keyboard" === t3.eventType) {
|
|
1672
1672
|
const n3 = t3.event;
|
|
1673
1673
|
if ($2.current) {
|
|
1674
|
-
|
|
1675
|
-
|
|
1674
|
+
let e6 = false;
|
|
1675
|
+
switch (n3.which) {
|
|
1676
|
+
case bt:
|
|
1677
|
+
case Et:
|
|
1678
|
+
case St:
|
|
1679
|
+
case _t:
|
|
1680
|
+
case yt:
|
|
1681
|
+
case xt:
|
|
1682
|
+
e6 = true;
|
|
1683
|
+
}
|
|
1684
|
+
if (!e6) {
|
|
1685
|
+
$2.current.events.push(t3);
|
|
1686
|
+
for (let e7 = 0; e7 < $2.current.editorRefsDispatchEditorEvent.length; e7++) $2.current.editorRefsDispatchEditorEvent[e7](t3);
|
|
1687
|
+
}
|
|
1676
1688
|
} else {
|
|
1677
1689
|
if (w2(n3, t3.coords)) {
|
|
1678
1690
|
let n4;
|
|
@@ -1719,7 +1731,6 @@ const kn = () => "sheetxl-ui-" + Mn++, Rn = o["useId".toString()], Pn = null !=
|
|
|
1719
1731
|
n2 && $2.current?.coords && n2.scrollCellCoordsIntoView($2.current.coords);
|
|
1720
1732
|
})));
|
|
1721
1733
|
}, [V2]), s(() => {
|
|
1722
|
-
if (P2.current && ne.isEqualCells(P2.current, S2)) return;
|
|
1723
1734
|
F2.current = S2;
|
|
1724
1735
|
const e5 = $2.current?.coords;
|
|
1725
1736
|
if (!ne.isEqualCells(e5, S2)) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetxl/grid-react",
|
|
3
3
|
"description": "Grid - Advanced data grid component for React",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.6",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"table"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@sheetxl/utils": "^0.3.
|
|
34
|
-
"@sheetxl/utils-react": "^0.3.
|
|
33
|
+
"@sheetxl/utils": "^0.3.6",
|
|
34
|
+
"@sheetxl/utils-react": "^0.3.6",
|
|
35
35
|
"clsx": "^2.1.1",
|
|
36
36
|
"react-merge-refs": "^3.0.2",
|
|
37
37
|
"react-use": "^17.6.0",
|