Skip to content
Sheetwrite

Releases

Sheetwrite 0.7.3

Fixes for two 0.7.2 regressions in the formula bar and Format Cells, a usable layout on phones, formula assist before it has loaded, a glyph and Excel's name for every menu command, Excel's alerts, and the upgrade checklist for Sheetwrite 0.7.3.

Edit on GitHubReport a problem

On this page
npm install @sheetwrite/core@0.7.3
Update each adapter and add-on you use to 0.7.3 too: all packages release together.

Sheetwrite 0.7.3 fixes problems found after 0.7.2. Two of them were regressions in 0.7.2: the formula bar and name box outside the shell, and the Format Cells tabs other than Number. It also makes the ribbon, find bar, menus, sheet tabs, AutoFilter and Format Cells usable on phones, and keeps formula assist's suggestion when you type before it has loaded. Nothing breaks: the one API change is a new method, FormulaEdit.refresh(). Some menu labels now use Excel's names; the upgrade checklist lists them. All ten packages release as 0.7.3.

Sheetwrite 0.7.3 at a glanceFormula bar: Fixed. One line again when mounted outside the shell Format Cells: Excel's layout. Alignment, Font, Border and Fill, with a live preview Phones: Touch. Ribbon, menus, find bar and Format Cells fit the screen Menus: Excel's names. A glyph for every command, and Excel's alertsFormula barFixedOne line again when mountedoutside the shellFormat CellsExcel's layoutAlignment, Font, Border andFill, with a live previewPhonesTouchRibbon, menus, find bar andFormat Cells fit the screenMenusExcel's namesA glyph for every command,and Excel's alerts
Sheetwrite 0.7.3 at a glanceFormula bar: Fixed. One line again when mounted outside the shell Format Cells: Excel's layout. Alignment, Font, Border and Fill, with a live preview Phones: Touch. Ribbon, menus, find bar and Format Cells fit the screen Menus: Excel's names. A glyph for every command, and Excel's alertsFormula barFixedOne line again when mountedoutside the shellFormat CellsExcel's layoutAlignment, Font, Border andFill, with a live previewPhonesTouchRibbon, menus, find bar andFormat Cells fit the screenMenusExcel's namesA glyph for every command,and Excel's alerts

Highlights

  • The formula bar and name box outside the shell. They keep their one-line size again.
  • Format Cells as Excel lays it out. The Alignment, Font, Border and Fill tabs keep their settings at the top, follow Excel's layout and preview on the selected cells at once.
  • Phones. The ribbon's More popup, the find bar, context submenus, the sheet tab menus, the AutoFilter dropdown and Format Cells fit a phone screen, and touch controls are at least 44 px tall.
  • Formula assist on slow devices. A formula typed before the add-on finished loading gets its suggestion when the add-on is ready.
  • Menus. Every menu command has its own glyph and Excel's name.
  • Excel's alerts. Sorting mismatched merged cells and deleting a sheet with data now ask or explain, as Excel does.

Changes

Fixes for two 0.7.2 regressions

Formula bar and name box. In 0.7.2, the name box and formula bar grew taller than one line when a host mounted them outside the shell. They keep their one-line size again. See Formula bar.

Format Cells. In 0.7.2, the Alignment, Font, Border and Fill tabs spread their settings down the dialog. Every tab now keeps its rows at the top and follows Excel's layout:

  • Alignment groups its settings under Text alignment and Text control.
  • Font has Excel's Font, Font style and Size lists, an Underline box, a Color button that opens the palette (with Automatic), Effects and a Preview.
  • Border has the None, Outline and Inside presets, a button for each edge and for the lines between cells around a preview, and a line Style and Color.
  • Fill shows the theme and standard colours, No Color, More Colors… and a Sample.

Choosing a category, font, style or colour previews on the selected cells at once. See the Format Cells dialog.

Formula assist before it is ready

A formula typed while formula assist was still loading showed no suggestion until the next key, which showed on slow devices. It now shows its suggestion as soon as the add-on is ready. An edit that started while the add-on was still counting the workbook's formulas could get no suggestion at all; the workbook's formulas now propose nothing until the count is done.

A custom suggester whose answer changes without a key, for example because its data finished loading, can call the new FormulaEdit.refresh(), and the formula bar calls suggest again. See Write your own suggester.

Phones

  • The ribbon's More popup stays inside the screen. It wraps its rows and scrolls, so every command, such as Font Color, can be reached.
  • On a narrow grid, the find bar has two rows: the search field at full width with the match count inside it, and the buttons below. The replace field goes under the search field when shown.
  • On a phone-width or touch screen, a context menu submenu (Insert, Delete, Row, Column, Filter, Merge) opens in the menu's place under a ‹ Back row instead of flying out over the menu. Left and Escape still go back. Desktops keep the fly-out submenus.
  • The sheet tab menu and its Tab Color palette stay under the ⋯ button and inside the screen, and scroll on a short screen. The palette is only as wide as its swatches, and on a touch screen each swatch is a 44 px target.
  • Format Cells on a touch screen under 600 px wide: the Fill palette turns so every swatch is a full 44 px target, with each theme colour as a row of its shades. The dialog fills the screen and scrolls, and each tab is only as tall as its content.
  • The Border tab is laid out as Excel's: Line style and Color on the left, and the Presets over the preview and its border buttons on the right. On a phone it is one column in that order.
  • The sheet tab scroll arrows no longer cover a tab's label or the active tab's ⋯ options button. When the tabs overflow, the strip scrolls the active tab back into view, and the sheet menu opens where its button ends up.
  • The status bar's selection summary keeps its padding, ends in an ellipsis when it is cut, and shows the whole line as a tooltip.
  • The AutoFilter dropdown fits the screen with OK and Cancel in view. Its value list is only as tall as its rows, up to nine, and scrolls beyond them.
  • On touch screens, dialog tabs, selects, text fields and the in-cell editor are at least 44 px tall. On desktop, ribbon split arrows are at least 24 px wide, and the font, size and number format boxes at least 24 px tall.
  • The name box and goToCell accept any column up to XFD, as Excel does. Before, a column past the sheet's own was refused when the grid was too narrow to draw it, as on a phone; the grid now widens to reach it.

See Touch and Narrow widths.

Every command in the sheet tab menu, the ribbon's menus, the context menu and the AutoFilter dropdown has its own glyph, so labels line up. config.icons overrides now apply in the AutoFilter dropdown too. See Commands by tab and their glyphs.

Menu commands take Excel's names. For example, the sheet tab menu's Remove is now Delete, the context menu says Clear Contents, Format Cells…, New Note and Show Field List (it was PivotTable Fields), and the ribbon's Delete menu says Delete Sheet Rows and Delete Sheet Columns.

The sheet tab menu and the Unhide list use the menu colours. Before, themes whose header text is the accent colour showed every row of these menus in the accent colour.

Dialogs and alerts

  • Sorting a range whose merged cells are not all the same size shows Excel's alert, "To do this, all the merged cells need to be the same size.", instead of doing nothing.
  • Deleting a sheet that holds data asks "Sheetwrite will permanently delete this sheet. Do you want to continue?" first. An empty sheet is still deleted at once.
  • Move or Copy opens in the shared dialog layout, with a "Before sheet:" list and "Create a copy".
  • Keyboard shortcuts shows "No command matches …" instead of an empty table when nothing matches.
  • Dialogs are centred in the window again on a page with a classic scroll bar. In 0.7.2 they sat half the scroll bar's width to one side.
  • The Sort dialog's buttons are Excel's Add Level and Delete Level.

See Sort cells in place and Keyboard shortcuts.

Docs

An audit of the docs fixed examples and stale facts across the getting-started, feature, reference and showcase pages, so every example runs as written. The compatibility results page is checked again for 0.7.2: each entry cites a test or fixture, or says it is unverified. New checks keep it that way: docs:check compiles the showcase snippets, compares the Grid methods signature block with the API, and flags stale compatibility claims. The API doc comments describe more types in plain words.

Upgrade checklist

  1. EveryoneRequired

    Update every package together

    Install 0.7.3 for each @sheetwrite/* package that you use. Packages from different versions are not supported together. No API change breaks your code.

    corewasmformulasformula-assistqueriesxlsxchartsreactvuesvelte

  2. If you write your own formula assist suggesterOptional

    Call FormulaEdit.refresh() when your answer changes

    New and additive: when your suggester's answer changes without a key, for example because its data finished loading, call the edit's refresh(), and the formula bar asks suggest again. Existing suggesters work unchanged.

  3. If your code or tests find menu items by labelCheck

    Use Excel's menu names

    The sheet tab menu's Remove is now Delete, with the accessible name "Delete <sheet> sheet", and Tab Color… is Tab Color. The context menu uses Excel's names, such as Clear Contents, Format Cells…, Pick From Drop-down List…, New Note, Edit Note, Delete Note, Merge Cells, Unmerge Cells, AutoFit Row Height, Reapply and Show Field List (was PivotTable Fields). Its built-in actions' default labels are title case, such as Delete Sheet Rows and Hide Rows. The Sort dialog's buttons are Add Level and Delete Level. The context menu's CSS hooks are unchanged.

  4. If you replace glyphs with config.iconsOptional

    Cover the new glyphs

    The command icon sheet gains renameSheet, hideSheet, unhideSheet, deleteSheet, insertColumns, deleteColumns, autoFitRowHeight, autoFitColumnWidth, freezeTopRow, freezeFirstColumn, unfreezePanes, clearContents, deleteNote, borderInside, borderInsideHorizontal and borderInsideVertical. If you replace the whole set, add these too. Overrides of sortAsc, sortDesc and clearFilter now also apply in the AutoFilter dropdown.

  5. If you set the deprecated tab variablesPlan

    Move off the three tab variables before 0.8.0

    --sheetwrite-tab-font, --sheetwrite-tab-hover-bg and --sheetwrite-tab-active-bg still work in 0.7.3 and are removed in 0.8.0. See the 0.7.2 deprecations.

  6. If you upgrade from 0.7.1 or earlierAlso do

    Complete the earlier steps first

    Read the 0.7.2 checklist, and from 0.6.x the 0.7.0 upgrade guide.