Skip to content

build(deps-dev): bump vitepress-mermaid-renderer from 1.2.0 to 1.2.2 - #1663

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vitepress-mermaid-renderer-1.2.2
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vitepress-mermaid-renderer-1.2.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 1, 2026

Copy link
Copy Markdown
Contributor

Bumps vitepress-mermaid-renderer from 1.2.0 to 1.2.2.

Release notes

Sourced from vitepress-mermaid-renderer's releases.

v1.2.2

Changed in 1.2.2

  • Made @mermaid-js/mermaid-zenuml an optional, lazily loaded plugin. It moved from dependencies to an optional peerDependencies entry, is marked external in the library build, and is imported only when a zenuml diagram is actually rendered. The published bundle no longer ships the ~1.6MB ZenUML chunk, and a missing plugin no longer breaks other diagram types. ZenUML users install it with npm i @mermaid-js/mermaid-zenuml; the English, Turkish, and Chinese advanced examples now document this requirement.
  • Widened the mermaid peer range from ^11.0.0 to ^11.0.0 || ^12.0.0, matching the versions the library is developed and tested against.
  • Added a resetExternalDiagramRegistration helper (also re-exported from the components barrel) that clears the cached external-diagram registration.

v1.2.1

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,

... (truncated)

Changelog

Sourced from vitepress-mermaid-renderer's changelog.

1.2.2

Changed in 1.2.2

  • Made @mermaid-js/mermaid-zenuml an optional, lazily loaded plugin. It moved from dependencies to an optional peerDependencies entry, is marked external in the library build, and is imported only when a zenuml diagram is actually rendered. The published bundle no longer ships the ~1.6MB ZenUML chunk, and a missing plugin no longer breaks other diagram types. ZenUML users install it with npm i @mermaid-js/mermaid-zenuml; the English, Turkish, and Chinese advanced examples now document this requirement.
  • Widened the mermaid peer range from ^11.0.0 to ^11.0.0 || ^12.0.0, matching the versions the library is developed and tested against.
  • Added a resetExternalDiagramRegistration helper (also re-exported from the components barrel) that clears the cached external-diagram registration.

1.2.1

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,

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [vitepress-mermaid-renderer](https://github.com/sametcn99/vitepress-mermaid-renderer) from 1.2.0 to 1.2.2.
- [Release notes](https://github.com/sametcn99/vitepress-mermaid-renderer/releases)
- [Changelog](https://github.com/sametcn99/vitepress-mermaid-renderer/blob/main/CHANGELOG.md)
- [Commits](sametcn99/vitepress-mermaid-renderer@v1.2.0...v1.2.2)

---
updated-dependencies:
- dependency-name: vitepress-mermaid-renderer
  dependency-version: 1.2.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 1, 2026
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants