Skip to content
Spreadsheet Viewer

Changelog

  • Update Mondrian to 2.0.1, fixing slow rendering of sheets with trailing zero-width columns or zero-height rows
  • Fix require() of the package failing — the CommonJS bundle is now named index.cjs and ships its own type declarations
  • Stop bundling @borgar/fx, numfmt and @grid-is/fontstack; they are now regular dependencies, installed once and shared with other packages that use them
  • Remove vitest and the demo-only @borgar/xlsx-convert from production dependencies
  • Export the Model type (the type of SpreadsheetViewer’s model prop)
  • Move the demo app to its own workspace (examples/demo)
  • Keep the viewer’s styles from affecting the consuming page
  • Breaking: SpreadsheetViewer now requires a model from the Mondrian 2 / Cellatrix 4 engine generation (the workbook must expose tables.getAll()); models built with the previous engine generation are no longer compatible
  • Update to Mondrian 2.0 and Cellatrix 4.0
  • Update @grid-is/editor-types to 0.4 and @borgar/xlsx-convert to 5.3 (JSF v2)
  • Fix spreadsheet webfonts failing to load due to an outdated font directory layout
  • Update dependencies to support JSF v2, bringing improved theme and colour model support
  • Maintain spreadsheet selection and sheet when underlying model is replaced
  • Use shared types from @grid-is/editor-types package
  • Add interactive demos
  • Center initial selection in viewport instead of edge-aligning
  • Fix duplicate selection change events for same cell
  • Fix scroll position resets in SpreadsheetViewer
  • Add default selection and change callbacks to SpreadsheetViewer
  • Align selection change event format with initialSelection prop
  • Fix column/row resize getting stuck with frozen guide line
  • Add formula range colorization in formula bar and sheet renderer
  • Update dependencies and fix type issue
  • Update mondrian to get column resize fix
  • Automated testing
  • Update dependencies
  • Fix CVE-2025-55182: require patched React versions
  • Add Playwright tests for height capping behavior
  • Add first round of tests
  • Use NPM as package registry
  • Add ability to hide error tooltips and default useResponsiveSize hook to use maxHeight: 100vh
  • Show error origins and navigate to them on click
  • Update config to support font filtering and complex base URLs
  • Update dependencies
  • Add fontstack as a dependency
  • Optionally specify a custom font URL when using the SpreadsheetViewer
  • Add theming
  • Add small delay to showing ErrorTooltip, and allow hovering it so it sticks
  • Reset spreadsheet viewport on model change
  • Make sure ErrorTooltip expands up when too close to the bottom of canvas
  • Add an <ErrorTooltip> component for cell errors
  • Stop counting cells with no values
  • Add number format to copy action
  • Fix canvas viewport scroll bug
  • Prevent font flashing on load
  • Initial release