@ishibashi0112/spreadsheet-grid 0.25.0 → 0.26.0

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.
@@ -242,7 +242,8 @@ export type CellValueFormatterParams<T> = {
242
242
  column: GridColumn<T>;
243
243
  };
244
244
  export type CellValueFormatter<T> = (params: CellValueFormatterParams<T>) => string;
245
- export type EditorCommitDirection = 'down' | 'right' | 'left';
245
+ export type EditorCommitDirection = 'down' | 'up' | 'right' | 'left';
246
+ export type EditorEnterMove = 'down' | 'up' | 'right' | 'left' | 'none';
246
247
  export type GridSelectEditorOption = GridSelectFilterOption;
247
248
  export type GridColumnEditor<T> = {
248
249
  type: 'text';
@@ -628,6 +629,7 @@ export type SpreadsheetGridProps<T> = {
628
629
  canEditCell?: (rowIndex: number, colIndex: number, row: T, column: GridColumn<T>) => boolean;
629
630
  enableUndoRedo?: boolean;
630
631
  enableClearOnDelete?: boolean;
632
+ editorEnterMove?: EditorEnterMove;
631
633
  undoHistoryLimit?: number;
632
634
  onUndoRedoStateChange?: (state: UndoRedoState) => void;
633
635
  enableRangeSelection?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ishibashi0112/spreadsheet-grid",
3
- "version": "0.25.0",
3
+ "version": "0.26.0",
4
4
  "description": "React 19 製のカスタム仮想化データグリッド。100 万行対応の仮想化・3 ペイン固定列・ソート/フィルター・クライアント/サーバーサイド行モデル対応。",
5
5
  "keywords": [
6
6
  "react",