Skip to content

v0.1.9 — toolbar order and fullscreen labelling

Choose a tag to compare

@olibaron olibaron released this 01 Sep 16:35
· 25 commits to main since this release

Changed

Copy and fullscreen swap places on code blocks, tables and diagrams. Fullscreen — the control that acts on the whole block rather than its contents — is now the last button in all three toolbars.

The first and last classes moved with the slot rather than the button, since they are the toolbar's end gutters (padding-left / padding-right). Tooltip placement follows position too: the outermost button anchors with top-end, the inner one centres on top.

If you select toolbar buttons by DOM order or by .first / .last, update those selectors.

Added

The fullscreen button now names the state it offers rather than the one it is in. exitFullScreen ("Exit full screen") joins the translations, and the label changes with the icon, so the tooltip no longer reads "Full screen" over a minimize icon.

translations is accepted as Partial<Translations>, so the new key does not break callers supplying their own.

Full Changelog: v0.1.8...v0.1.9