Repository navigation
v0.18.0
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.0Validation: package and playground builds, TypeScript checks, all 30 existing tests, and browser checks for menu interactions and clipboard behavior.