@iyulab/flex-table 0.48.2 → 0.48.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.48.3] - 2026-10-06
4
+
5
+ ### Fixed
6
+
7
+ - **Enter and Space on a column menu button open the menu while a cell is active.** The grid read
8
+ the key as its own and started editing the active cell instead. Keys pressed on a control inside
9
+ the grid — a column menu button, a row checkbox, a button a cell renders — are now that control's;
10
+ the grid's cell keys apply while the grid itself has focus. Ctrl/Cmd shortcuts still apply.
11
+
3
12
  ## [0.48.2] - 2026-10-06
4
13
 
5
14
  ### Fixed
@@ -2847,7 +2847,7 @@ var K = {
2847
2847
  "y"
2848
2848
  ].includes(t) && this._handleCtrlKey(e)) return;
2849
2849
  }
2850
- if (t.length !== 0 && this._visibleRowCount !== 0) {
2850
+ if (t.length !== 0 && this._visibleRowCount !== 0 && (e.composedPath()[0] === this || e.ctrlKey || e.metaKey)) {
2851
2851
  if ((e.key === "Enter" || e.key === "F2") && this._activeCell && !_(e)) {
2852
2852
  e.preventDefault();
2853
2853
  let n = t[this._activeCell.col];
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./flex-table-CDMcn3Nj.js";
1
+ import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./flex-table-CLw2o8sr.js";
2
2
  export { o as FlexTable, e as RowSelectionState, t as UndoStack, n as effectiveAlign, i as exportData, r as flexTableLocale, a as renderCell };
package/dist/react.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./flex-table-CDMcn3Nj.js";
1
+ import { t as e } from "./flex-table-CLw2o8sr.js";
2
2
  import { i as t, t as n } from "./query-Dw4iO0ir.js";
3
3
  import { t as r } from "./view-DiLr-TdY.js";
4
4
  import i, { useCallback as a, useEffect as o, useMemo as s, useRef as c, useState as l } from "react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iyulab/flex-table",
3
- "version": "0.48.2",
3
+ "version": "0.48.3",
4
4
  "description": "A minimalist, input-centric data grid web component",
5
5
  "type": "module",
6
6
  "main": "./dist/flex-table.js",