Kanisorn Sutham
dd4459f813
doc: add font-awesome version warning message
2022-07-31 21:08:27 +03:00
Kanisorn Sutham
01d84fdacf
fix: update font-awesome to version v5.9.0
2022-07-31 20:51:15 +03:00
Kanisorn Sutham
9f8024d836
fix: add font-awesome css to docsify index.html
2022-07-31 20:26:10 +03:00
Leo Toff
d4c1f14bd6
Fix broken links
...
Replace `./docs/<markdown_page.md>` with `./<markdown_page.md>`
2022-07-29 11:04:42 -07:00
Lorens León
c40368b0fa
fix: remove right padding when a label contains HTML entities
...
Decode the HTML entities from the label text before adding them to the
HTML this prevents a miss-calculation of the label text length
2022-07-26 21:50:36 +02:00
mmorel-35
1ed926b491
chore: update browsers list
2022-07-25 07:03:51 +00:00
dependabot[bot]
88b255c178
chore(deps): bump dompurify from 2.3.8 to 2.3.10
...
Bumps [dompurify](https://github.com/cure53/DOMPurify ) from 2.3.8 to 2.3.10.
- [Release notes](https://github.com/cure53/DOMPurify/releases )
- [Commits](https://github.com/cure53/DOMPurify/compare/2.3.8...2.3.10 )
---
updated-dependencies:
- dependency-name: dompurify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 07:02:36 +00:00
dependabot[bot]
5dbeddf448
chore(deps-dev): bump @babel/register from 7.18.6 to 7.18.9
...
Bumps [@babel/register](https://github.com/babel/babel/tree/HEAD/packages/babel-register ) from 7.18.6 to 7.18.9.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.18.9/packages/babel-register )
---
updated-dependencies:
- dependency-name: "@babel/register"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 07:02:22 +00:00
Hunter Laux
5d5affca33
Fix typo
...
Missing 'r' in controller
2022-07-21 16:10:59 -07:00
Knut Sveidqvist
8681e78e50
Fixes for rendering tests
2022-07-20 14:39:01 +02:00
dependabot[bot]
5a6d8aee65
chore(deps-dev): bump jest from 28.1.2 to 28.1.3
...
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest ) from 28.1.2 to 28.1.3.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v28.1.3/packages/jest )
---
updated-dependencies:
- dependency-name: jest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 09:38:39 +00:00
Knut Sveidqvist
27cf50044d
Merge branch 'develop' of github.com:mermaid-js/mermaid into develop
2022-07-20 11:32:38 +02:00
Knut Sveidqvist
dee9cfea85
Reverting to cypress 9.7 in order to get applitools back in the game
2022-07-20 11:32:21 +02:00
Knut Sveidqvist
8e02438bfb
Merge pull request #3240 from mermaid-js/3061_refactoring_and_modularisation
...
Using diagram api to add gitGraph
2022-07-20 11:27:27 +02:00
dependabot[bot]
b823777e6d
chore(deps): bump terser from 5.10.0 to 5.14.2
...
Bumps [terser](https://github.com/terser/terser ) from 5.10.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 01:26:06 +00:00
Knut Sveidqvist
e1de0873cd
Merge branch 'develop' into 3061_refactoring_and_modularisation
2022-07-18 16:04:56 +02:00
Knut Sveidqvist
4c30e03f1e
Using diagram api to add gitGraph
2022-07-18 16:00:03 +02:00
dependabot[bot]
df4069ba37
chore(deps-dev): bump eslint-plugin-markdown from 2.2.1 to 3.0.0
...
Bumps [eslint-plugin-markdown](https://github.com/eslint/eslint-plugin-markdown ) from 2.2.1 to 3.0.0.
- [Release notes](https://github.com/eslint/eslint-plugin-markdown/releases )
- [Changelog](https://github.com/eslint/eslint-plugin-markdown/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint-plugin-markdown/compare/v2.2.1...v3.0.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-markdown
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 07:04:37 +00:00
mmorel-35
ce1507c296
chore: update browsers list
2022-07-18 07:03:43 +00:00
dependabot[bot]
7097e6ba83
chore(deps-dev): bump @applitools/eyes-cypress from 3.26.3 to 3.26.4 ( #3219 )
...
Bumps [@applitools/eyes-cypress](https://github.com/applitools/eyes.sdk.javascript1/tree/HEAD/js/packages/eyes-cypress ) from 3.26.3 to 3.26.4.
- [Release notes](https://github.com/applitools/eyes.sdk.javascript1/releases )
- [Changelog](https://github.com/applitools/eyes.sdk.javascript1/blob/master/js/packages/eyes-cypress/CHANGELOG.md )
- [Commits](https://github.com/applitools/eyes.sdk.javascript1/commits/@applitools/eyes-cypress@3.26.4/js/packages/eyes-cypress )
---
updated-dependencies:
- dependency-name: "@applitools/eyes-cypress"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-11 10:32:33 +02:00
dependabot[bot]
a28f0e76b9
chore(deps-dev): bump moment from 2.29.3 to 2.29.4 ( #3220 )
...
Bumps [moment](https://github.com/moment/moment ) from 2.29.3 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases )
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/moment/moment/compare/2.29.3...2.29.4 )
---
updated-dependencies:
- dependency-name: moment
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-11 10:31:55 +02:00
mmorel-35
0cc8537d7d
chore: update browsers list
2022-07-11 07:03:29 +00:00
Knut Sveidqvist
c20c362557
Merge pull request #3210 from mermaid-js/3061_refactoring_and_modularisation
...
3061 refactoring and modularisation
2022-07-10 07:33:47 +02:00
Knut Sveidqvist
0d4b09a0a0
Handle legacy state diagram and start using Generic diagram in mermaidAPI
2022-07-04 22:55:11 +02:00
Knut Sveidqvist
408c08d2a3
Fix for v2 class diagram
2022-07-04 22:41:09 +02:00
Knut Sveidqvist
10f56129c1
Fix for legacy class diagram
2022-07-04 19:37:56 +02:00
Knut Sveidqvist
bc6830cbdb
Handling of requirement diagrams using the generic diagram
2022-07-04 18:50:50 +02:00
Knut Sveidqvist
c5f78077ff
Fix for broken tests
2022-07-04 18:22:36 +02:00
Knut Sveidqvist
682a1404ca
Fixes for erDiagram, pie charts and journey diagram
2022-07-04 18:11:58 +02:00
Knut Sveidqvist
5318ec6dbf
Handling gantt and flowchart-v2
2022-07-04 15:33:39 +02:00
Knut Sveidqvist
490ddd9a15
Fix for tests
2022-07-04 14:25:25 +02:00
Knut Sveidqvist
1675174b2a
Fix for flowcharts
2022-07-04 12:37:50 +02:00
Knut Sveidqvist
023781716f
Git graph, example
2022-07-04 11:43:48 +02:00
Knut Sveidqvist
48ad6e6042
Merge branch 'develop' into 3061_refactoring_and_modularisation
2022-07-04 11:38:52 +02:00
Knut Sveidqvist
bedc9399c5
Updating c4 and sequence
2022-07-04 11:29:38 +02:00
dependabot[bot]
86d172d209
chore(deps-dev): bump eslint from 8.18.0 to 8.19.0 ( #3202 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.18.0 to 8.19.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.18.0...v8.19.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 09:43:02 +02:00
dependabot[bot]
708ba160d5
chore(deps-dev): bump eslint-plugin-prettier from 4.0.0 to 4.2.1 ( #3204 )
...
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier ) from 4.0.0 to 4.2.1.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v4.0.0...v4.2.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 09:34:47 +02:00
dependabot[bot]
b0979a8cf9
chore(deps-dev): bump webpack-dev-server from 4.9.2 to 4.9.3 ( #3203 )
...
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) from 4.9.2 to 4.9.3.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.9.2...v4.9.3 )
---
updated-dependencies:
- dependency-name: webpack-dev-server
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 09:34:28 +02:00
dependabot[bot]
b397eea044
chore(deps-dev): bump jest-environment-jsdom from 28.1.1 to 28.1.2 ( #3200 )
...
Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom ) from 28.1.1 to 28.1.2.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v28.1.2/packages/jest-environment-jsdom )
---
updated-dependencies:
- dependency-name: jest-environment-jsdom
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 09:33:56 +02:00
dependabot[bot]
5d6d7d9c55
chore(deps-dev): bump cypress from 10.2.0 to 10.3.0 ( #3199 )
...
Bumps [cypress](https://github.com/cypress-io/cypress ) from 10.2.0 to 10.3.0.
- [Release notes](https://github.com/cypress-io/cypress/releases )
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js )
- [Commits](https://github.com/cypress-io/cypress/compare/v10.2.0...v10.3.0 )
---
updated-dependencies:
- dependency-name: cypress
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 09:33:30 +02:00
dependabot[bot]
e5c3dcb179
chore(deps-dev): bump babel-jest from 28.1.1 to 28.1.2 ( #3198 )
...
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest ) from 28.1.1 to 28.1.2.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v28.1.2/packages/babel-jest )
---
updated-dependencies:
- dependency-name: babel-jest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 09:32:29 +02:00
dependabot[bot]
c0f17b39a7
chore(deps-dev): bump @babel/core from 7.18.5 to 7.18.6 ( #3201 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.18.5 to 7.18.6.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.18.6/packages/babel-core )
---
updated-dependencies:
- dependency-name: "@babel/core"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 09:32:19 +02:00
dependabot[bot]
0824f342e4
chore(deps-dev): bump @babel/preset-env from 7.18.2 to 7.18.6 ( #3197 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.18.2 to 7.18.6.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.18.6/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 09:15:49 +02:00
dependabot[bot]
3e5c74c4f2
chore(deps-dev): bump @babel/register from 7.17.7 to 7.18.6 ( #3196 )
...
Bumps [@babel/register](https://github.com/babel/babel/tree/HEAD/packages/babel-register ) from 7.17.7 to 7.18.6.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.18.6/packages/babel-register )
---
updated-dependencies:
- dependency-name: "@babel/register"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 09:15:40 +02:00
dependabot[bot]
8ee617ce1c
chore(deps-dev): bump jest from 28.1.1 to 28.1.2 ( #3195 )
...
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest ) from 28.1.1 to 28.1.2.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v28.1.2/packages/jest )
---
updated-dependencies:
- dependency-name: jest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 09:15:20 +02:00
mmorel-35
1891b35eda
chore: update browsers list
2022-07-04 07:03:36 +00:00
Paik Paustian
ed29fe1aa9
Fix #3011 : Support left- and right-alignment for multi-line messages and notes
...
Previously, messages and notes that had multiple lines (via `<br>`-tags) were only displayed correctly
when using the default `center` value for the `messageAlign` and `noteAlign` configuration options.
Using `left` or `right` for the alignment options caused the text to collapse and become illegible,
as outlined in issue #3011 .
This comes as a side-effect from how the internal `valign` text-rendering option was configured for
messages and notes:
```js
// Example from `sequenceRenderer.js: drawMessage()`
textObj.anchor = conf.messageAlign;
textObj.valign = conf.messageAlign;
```
Both the `anchor` option (which controls left-right alignment) and the `valign` option (which controls
vertical top-down placement) were set to the same value, the user-provided `messageAlign` config option.
While `left` and `right` are valid values for the `anchor` option, they were effectively no-ops for the
`valign` option, which only supports `top`, `start`, `middle`, `center`, `bottom`, and `end`.
To fix the issue, the `valign` property is now always set to `center` for notes and messages.
Similarly, the `dominantBaseline` option of texts is now always set to `middle`, rather than setting it to
either `text-{before,after}-edge`, which caused left-aligned multi-line text to always be "top-left" aligned
inside a note (or "bottom-right" when attempting to right-align).
Now, texts in messages and notes are always vertically centered and alignment options correctly apply for
both single and multi-line content.
2022-07-03 11:59:57 +02:00
Sidharth Vinod
5b15865d30
fix #3184 : Inject xlink in mermaidAPI. ( #3185 )
...
* fix #3184 : Inject xlink in mermaidAPI.
* fix static analysis
2022-07-03 10:37:27 +02:00
ashishj
1dfddfde54
Merge branch 'release/9.1.3' into 3061_refactoring_and_modularisation
2022-06-28 20:12:03 +02:00
ashishj
1ae2624197
Merge branch 'release/9.1.3'
2022-06-28 20:11:06 +02:00