Skip to content

v0.18.0

Choose a tag to compare

@github-actions github-actions released this 20 Oct 15:17
· 13 commits to main since this release

Adds customizable worksheet context menus in editor and viewer modes.

  • Right-click cells, row and column headers, or the worksheet corner; open menus from the keyboard with Shift+F10.
  • Customize menu contents with renderContextMenu, or style the default menu with CSS classes, inline styles, and theme variables.
  • Editor actions include cut, copy, paste, edit, clear contents, undo/redo, merge/unmerge, selection, and table sorting. Viewer mode provides copy and selection actions.
  • Supports canvas and DOM rendering, dark mode, viewport-edge positioning, and copying from worker-backed viewers.
  • Clipboard failures remain visible, and cutting only clears cells after copying succeeds.

Install:

npm install @extend-ai/react-xlsx@0.18.0

Validation: package and playground builds, TypeScript checks, all 30 existing tests, and browser checks for menu interactions and clipboard behavior.