Adding new more secure security level 'sandbox' where all rendering happens in a sandboxed iframe. The returned element in this mode is also an iframe with the svg as a base64 encoded url. (#2654)
Documentation updates
Documention updates in the main mardownfile in the repo adding mermaid diagrams instead of images of mermaid diagrams (#2676) @knsv
This version brings with it a system for dynamic and integrated configuration of the diagram themes.
The objective of this is to increase the customizability of mermaid and the ease of Styling, with the customization of themes through the %%init%% directive and initialize calls.
Themes follow and build upon the Levels of Configuration and employ directives to modify and create custom configurations, as they were introduced in Version 8.6.0.
These Theming Configurations, similar to directives, will also be made applicable in the Live-Editor, for easier styling.
Site-wide Themes
Site-wide themes are still declared via initialize by site owners.
Notes: Only site owners can use the mermaidAPI.initialize call, to set values. Site-Users will have to use %%init%% to modify or create the theme for their diagrams.
Themes at the Local or Current Level
When Generating a diagram using on a webpage that supports mermaid.
It is also possible to override site-wide theme settings locally, for a specific diagram, using directives, as long as it is not prohibited by the secure array.
Following is an example:
%%{init: {'theme':'base'}}%%
graph TD
a --> b
Making a Custom Theme with themeVariables
The easiest way to make a custom theme is to start with the base theme, and just modify theme variables through themeVariables, via %%init%%.
This version was pushed to npm by ashishjain0512, a new releaser for mermaid since your current version.
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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/micado-eu/migrant_application/network/alerts).
Bumps mermaid from 8.4.3 to 8.14.0.
Release notes
Sourced from mermaid's releases.
... (truncated)
Changelog
Sourced from mermaid's changelog.
... (truncated)
Commits
cbe3a91
chore: updated release versionb141f24
docs: added info for 'sandbox' securtity levele13f97c
Merge branch 'develop' into release/8.14.03877b88
Merge pull request #2702 from jfuentescpp/patch-1bb6c36c
docs: update for re-ordering (#2704)a489206
Reference mkdocs-mermaid2-plugin for MkDocs5d71afc
chore(deps-dev): bump@babel/register
from 7.16.9 to 7.17.0 (#2699)6413cc5
chore(deps-dev): bump terser-webpack-plugin from 5.3.0 to 5.3.1 (#2694)69cc6dd
chore(deps-dev): bump webpack-dev-server from 4.7.3 to 4.7.4 (#2695)4465a66
chore(deps-dev): bump@babel/core
from 7.16.12 to 7.17.0 (#2697)Maintainer changes
This version was pushed to npm by ashishjain0512, a new releaser for mermaid since your current version.
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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/micado-eu/migrant_application/network/alerts).