Skip to content

v0.6.0

Choose a tag to compare

@sandrinodm sandrinodm released this 18 Nov 21:10
5ee4926

New

  • Twenty layouts, taking the kit from 32 to 52. Each has limits that deck lint enforces and a PowerPoint mapping, and deck layouts lists them.
    • Business and decisions: pricing, status, risks, actions, quadrants, market, schedule, dashboard.
    • Content and type: definition, recap, faq, features, do-dont, sources.
    • People and media: before-after, voices, persona, conversation.
    • Training and workshops: quiz, exercise.
  • Layouts that come with a brand: a brand may bring its own layouts in brands/<name>/layouts.ts (defineBrandLayouts), read as data like brand.ts. Decks on that brand use them with layout: <name>; a deck on another brand renders the layout's kit fallback, and deck lint warns with brand-layout-fallback. deck layouts --brand <name> lists them.
  • deck brand add <source>: copies a brand folder from a git repository into brands/<name>, for example deck brand add gh:acme/brand-kit/brands/acme#v2. It runs your own git, reads brand.ts and layouts.ts as data without running them, checks the brand before anything is written, and copies only brand files, images, fonts, documents and licences. --force replaces an existing brand.

Changed

  • Label overrides in the new layouts are one labels object, the lit item is highlight, and footnotes stay visible while items reveal.
  • The descriptions of thirteen existing layouts now point to the new layouts where one is the better choice.
  • deck lint: the contrast check measures uppercase labels as they are drawn, and off-brand resolves nested surfaces.

Fixed

  • Sequence diagrams measure their actors at the width they are drawn, so a title that wraps no longer overflows its box.
  • A diagram's drawing is measured once more before the deck reports ready, so its layout no longer depends on a resize report the browser can drop.
  • brand-import refuses a template layout part name that is not a slide layout.

Known gaps

  • PowerPoint output for the new layouts was checked as XML, with the Open XML SDK validator and in LibreOffice, not played back in PowerPoint or Keynote.
  • deck brand add was not verified against a private repository or with the git@ form end to end.

Full Changelog: v0.5.0...v0.6.0