Skip to content

chore(deps): update dependency vitepress-mermaid-renderer to v1.2.1 - #181

Merged
asteiner-swisstopo merged 1 commit into
masterfrom
renovate/all-minor-patch
Sep 7, 2026
Merged

chore(deps): update dependency vitepress-mermaid-renderer to v1.2.1#181
asteiner-swisstopo merged 1 commit into
masterfrom
renovate/all-minor-patch

Conversation

@terraform-bgdi

@terraform-bgdi terraform-bgdi commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
vitepress-mermaid-renderer (source) 1.2.01.2.1 age confidence

Release Notes

sametcn99/vitepress-mermaid-renderer (vitepress-mermaid-renderer)

v1.2.1

Compare Source

Added in 1.2.1
  • Added an opt-in collapsible toolbar. A new toggleToolbar button collapses
    and expands the remaining controls, and a new collapsed mode option sets the
    initial state. Both are configurable per display mode through setToolbar().
  • toggleToolbar defaults to disabled and collapsed defaults to expanded
    in every mode, so existing toolbars look and behave exactly as before until
    the button is explicitly enabled.
  • Added toggleToolbarExpand and toggleToolbarCollapse to the toolbar i18n
    tooltip table, with English, Turkish, and Chinese documentation.
  • Added CSS design tokens for toolbar button geometry and colour:
    --mermaid-control-text-active, --mermaid-control-button-radius,
    --mermaid-control-button-padding, --mermaid-control-button-min-size, and
    --mermaid-control-icon-size.
Changed in 1.2.1
  • Unified the mobile and desktop toolbars into a single set of CSS rules. Mobile
    no longer restyles the toolbar; it only raises --mermaid-control-padding,
    --mermaid-control-gap, --mermaid-control-button-min-size, and
    --mermaid-control-icon-size for touch. Overriding a token on
    .mermaid-container now changes both toolbars at once.
  • Mobile toolbar buttons are borderless like their desktop counterparts, and
    their 44px touch target comes from min-width / min-height instead of a
    fixed 40x40 box. --mermaid-control-border now defaults to transparent and
    applies to both modes; set it to a visible colour for outlined buttons.
  • Mobile toolbar icons follow currentColor instead of a hard-coded stroke,
    so --mermaid-control-text and the hover colour apply on mobile too.
  • The toolbar now wraps instead of overflowing when a full button set is wider
    than the diagram container.
  • Corrected the documented defaults for --mermaid-control-gap,
    --mermaid-spinner-duration, --mermaid-error-bg, --mermaid-error-border,
    and --mermaid-error-text, which had drifted from the stylesheet.
Fixed in 1.2.1
  • Fixed diagrams drifting off-center when the container was resized. The
    fit-to-container baseline is now recalculated on resize without resetting the
    user's zoom or pan, which also covers sidebar toggles and layout changes, not
    just window resizes.
  • Fixed the mobile toolbar rendering below the error overlay. Its z-index was
    8 while the error container sits at 10; both toolbars now use 20.
  • Fixed the mobile zoom-level badge being reordered to the front of the toolbar
    and carrying an extra margin, so both modes read in the same order.
  • Removed a flex-direction: column rule that silently overrode the mobile
    toolbar's intended row layout, along with the unused .mobile-only and
    hover-only visibility rules.
Docs site in 1.2.1

These changes affect the documentation site only and are not part of the
published package.

  • Published machine-readable agent discovery resources under /.well-known/: an
    AI catalog, an API catalog, agent skills, an OpenAPI description, OAuth and
    OpenID configuration documents, and a JWKS endpoint.
  • Added auth.md, an MCP Server Card, an Agent Skills index with SHA-256
    digests, and an ARD capability manifest for automated discovery.
  • Added a WebMCP script exposing documentation search and navigation as browser
    tools.
  • Added Markdown content negotiation for every documentation page in all three
    locales. The build emits a Markdown twin of each page next to its HTML, and a
    Vercel Routing Middleware serves it with Content-Type: text/markdown and an
    x-markdown-tokens hint when the request carries Accept: text/markdown.
    HTML remains the default for browsers. The middleware replaces the earlier
    agent-home.md rewrite, which never fired because Vercel gives the filesystem
    precedence over rewrites.
  • Added RFC 8288 Link headers for the API catalog, OpenAPI description,
    documentation, and discovery metadata.
  • Added the Vercel content-type/CORS headers backing those resources, and
    advertised the AI catalog and Content Signals from robots.txt and the page
    <head>. docs/vercel.json is now generated from docs/vercel.base.json
    during docs:build, so the per-page Markdown headers stay in sync; edit the
    base file and commit the generated output.
  • Added a DNS-AID zone reference with _index._agents and _a2a._agents SVCB
    records and DNSSEC deployment guidance for the authoritative DNS provider.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Only on Sunday and Monday (* * * * 0,1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

Test link

@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Sep 7, 2026
@asteiner-swisstopo
asteiner-swisstopo merged commit 096770c into master Sep 7, 2026
16 checks passed
@asteiner-swisstopo
asteiner-swisstopo deleted the renovate/all-minor-patch branch September 7, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants