Skip to content

doc-ui v1.2.0

Choose a tag to compare

@quuuai quuuai released this 05 Oct 12:26
· 11 commits to main since this release

Superseded by v1.2.1, which fixes PDF pagination found by the Linux publication checks. The v1.2.0 tag and downloadable assets remain unchanged; its Pages deployment did not complete. Use v1.2.1 for the published site and stylesheet URLs.

A compatible feature release for Markdown conversion, research papers, book typesetting, and accessible colour palettes.

Versioning

This is a minor release from v1.1.0: it adds optional public APIs while preserving existing package exports and HTML authoring contracts. The new Markdown converter requires Node.js 22 or newer; generated HTML remains readable without Node.js, JavaScript, or a network connection.

Added

  • A bundled doc-ui Markdown-to-HTML CLI with document, report, paper, and book layouts; file and stdin input; English and Japanese output; theme, colour, and print options; and embedded CSS with third-party notices.
  • Research-paper composition with .sheet-paper, .paper-columns, title headers, abstracts, bylines, and equation roles. Two-column papers return to a single column when space is limited and retain their reading order in print.
  • Book composition with trim geometry, mirrored margins, running headers, folios, printable proofs, and the optional @k-kinzal/doc-ui/book helpers.
  • 32 light/dark palette pairs, individual CSS overlays, a palette catalog, and optional palette controls. Page-level colour, grayscale, and monochrome modes support nested documents.
  • English and Japanese usage pages and complete report HTML examples, with expanded Storybook specimens and browser/PDF coverage.

Fixed

  • Report comparisons share their row alignment correctly, preserve number precision, and scroll long figures locally without overlapping captions.
  • Narrow and embedded report sheets retain title/figure hierarchy and section-label styling.
  • Product-page pagination, disclosures, figure spacing, source URLs, and footer flow print consistently.
  • Palette identity and state inks follow the selected accent, while the selector remains a compact native control.

Use this release

<link rel="stylesheet"
      href="https://k-kinzal.github.io/document-design/v1.2.0/document-design.css">

For the CLI, download the attached package archive and run:

npx --package ./k-kinzal-doc-ui-1.2.0.tgz doc-ui input.md -o output.html

The ZIP contains the compiled stylesheets, tokens, palettes, optional JavaScript, bundled CLI, design reference, version and commit identifier, and license notices. The npm-format archive also contains the package exports and source modules. SHA-256 checksums are attached.

/v1.2.0/ is immutable. /v1.2/ and /v1/ follow compatible releases. The product site and Storybook follow the highest stable release; prior full-version distributions remain unchanged.

Getting started · Components · Storybook · Japanese documentation

Validation

Repository and package checks, browser and PDF tests, packed-CLI execution, and the site, Storybook, report, and publication builds pass. Distribution checks retain bundled third-party notices and review dependency licenses. Automated change-report generation is separate from the Pages deployment.

All changes since v1.1.0