Ibrahim Wassouf
5a165e4c1d
Revert to old docs concerning quotations marks in string
2023-08-03 20:11:50 -03:00
Ibrahim Wassouf
ee6fa94aa2
Refactor unit tests and remove repetition
2023-08-03 20:05:11 -03:00
Ibrahim Wassouf
971215e353
Correct idStringToken definition to include all individual special tokens
2023-08-03 19:15:23 -03:00
Ibrahim Wassouf
199fdce982
Add unit tests for node ids with special Chars
2023-08-03 18:59:39 -03:00
Ibrahim Wassouf
dc57fcf7e7
Remove replaceAll method in addLink
2023-08-01 16:46:37 -03:00
Ibrahim Wassouf
daf43f8d34
Merge branch 'develop' into bug/4645_graph_node_containing_keyword
2023-08-01 11:07:25 -04:00
Sidharth Vinod
660162686b
Merge pull request #4681 from mermaid-js/renovate/patch-all-patch
...
chore(deps): update all patch dependencies (patch)
2023-08-01 12:16:41 +00:00
Sidharth Vinod
6e2bf00a43
Merge pull request #4688 from Incognito/docs/4659_new-diagrams-no-directives
...
Docs: Directives not needed in new diagrams as yaml formatter does this for all new diagrams
2023-08-01 12:16:20 +00:00
Brian Graham
cc01ff9129
Directives not needed in new diagrams as yaml formatter does this for all new diagrams
2023-08-01 14:08:41 +02:00
Ibrahim Wassouf
7dc985712a
Merge branch 'develop' into bug/4645_graph_node_containing_keyword
2023-08-01 06:59:12 -04:00
Ibrahim Wassouf
e3c5e6f095
Modify HREF token regex to contain space
...
This attempts to maintain the current behaviour.
Previously, because HREF contained a space and called
a state, the href token was able to be placed in the
beginning of node ids (because it wouldn't conflict
without the space). We require the space to keep that
behaviour.
2023-08-01 07:54:48 -03:00
Ibrahim Wassouf
ef4f22841f
Add unit tests for stange node names
2023-08-01 07:54:32 -03:00
renovate[bot]
c292c897a1
chore(deps): update all patch dependencies
2023-08-01 08:42:21 +00:00
Alois Klink
cc7fd337ac
Merge pull request #4687 from mermaid-js/dependabot/npm_and_yarn/vite-4.3.9
...
build(deps-dev): bump vite from 4.3.3 to 4.3.9
2023-08-01 08:28:15 +00:00
Alois Klink
6b41420ddd
Merge pull request #4686 from mermaid-js/dependabot/npm_and_yarn/braintree/sanitize-url-6.0.1
...
build(deps): bump @braintree/sanitize-url from 6.0.0 to 6.0.1
2023-08-01 08:27:58 +00:00
Alois Klink
351b229c37
Merge pull request #4685 from mermaid-js/dependabot/npm_and_yarn/json5-2.2.3
...
build(deps-dev): bump json5 from 2.2.1 to 2.2.3
2023-08-01 08:27:48 +00:00
dependabot[bot]
266a5e8133
build(deps-dev): bump vite from 4.3.3 to 4.3.9
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.3.3 to 4.3.9.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.3.9/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 06:38:37 +00:00
dependabot[bot]
55963107d0
build(deps): bump @braintree/sanitize-url from 6.0.0 to 6.0.1
...
Bumps [@braintree/sanitize-url](https://github.com/braintree/sanitize-url ) from 6.0.0 to 6.0.1.
- [Changelog](https://github.com/braintree/sanitize-url/blob/main/CHANGELOG.md )
- [Commits](https://github.com/braintree/sanitize-url/compare/v6.0.0...v6.0.1 )
---
updated-dependencies:
- dependency-name: "@braintree/sanitize-url"
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 06:38:16 +00:00
dependabot[bot]
a7e37d0c8b
build(deps-dev): bump json5 from 2.2.1 to 2.2.3
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 06:36:36 +00:00
Sidharth Vinod
ead48600be
Merge pull request #4682 from mermaid-js/renovate/all-minor
...
chore(deps): update all minor dependencies (minor)
2023-08-01 06:28:51 +00:00
Ibrahim Wassouf
834c67ecaa
Remove escaped quotes with backslash feature
2023-07-31 22:47:05 -03:00
renovate[bot]
1a99825ab2
chore(deps): update all minor dependencies
2023-07-31 01:25:54 +00:00
Ibrahim Wassouf
b5456813e8
Show escaped quotes in docs using old and new method
2023-07-29 22:44:18 -03:00
Ibrahim Wassouf
ed4feaebf2
Remove required space from TAGEND token regex
...
Originally, I thought this was necessary to prevent parsing
the token as part of an edge. I forgot that the token will always
be separated from the link/edge by the node id. Added an unit test
for an edge case to be certain.
2023-07-29 22:27:31 -03:00
Ibrahim Wassouf
844f9d96e7
Update and add new imgSnapshotTest
2023-07-29 22:16:28 -03:00
Ibrahim Wassouf
bed05ce061
Disallow any vertex shape start or end token in any text state
2023-07-29 21:23:05 -03:00
Ibrahim Wassouf
f269f8cc5b
Refactor unit tests for vertex shape
2023-07-29 21:14:02 -03:00
Ibrahim Wassouf
e25763d645
Modified docs to mention escaping quotes with backslash
2023-07-28 21:19:30 -03:00
Ibrahim Wassouf
d8897426cd
Correct edge strings to have same configuration as vertex strings
2023-07-27 09:29:26 -03:00
Ibrahim Wassouf
9eed2e278b
Add imgSnapshotTest for escaped quotes
2023-07-27 09:29:26 -03:00
Ibrahim Wassouf
1df68f9a5f
Remove class statement to show application of default class
2023-07-27 09:29:26 -03:00
Ibrahim Wassouf
1dfb400a46
Merge branch 'develop' into bug/4645_graph_node_containing_keyword
2023-07-26 16:59:54 -04:00
Knut Sveidqvist
35299978a4
Merge branch 'master' into develop
2023-07-26 09:49:59 +02:00
Knut Sveidqvist
165e0b6c68
Merge pull request #4669 from mermaid-js/release/10.3.0
...
Release/10.3.0
v10.3.0
2023-07-26 09:49:15 +02:00
Knut Sveidqvist
9c92f779ae
Updates after testing and new version for mermaid-zenuml
2023-07-26 09:44:24 +02:00
Sidharth Vinod
aa54127784
Set proper release version
2023-07-26 11:34:10 +05:30
Sidharth Vinod
21b90cbcd2
Add release version
2023-07-26 11:33:20 +05:30
Sidharth Vinod
e1ca108b00
Update version
2023-07-26 11:26:07 +05:30
Sidharth Vinod
29d078c822
Merge branch 'master' into release/10.3.0
...
* master:
chore: Rename C4C to C4
update latest news section
Corrects name of C4 link
Bump zenuml package version
2023-07-26 11:23:24 +05:30
Sidharth Vinod
40d30b7045
Merge remote-tracking branch 'origin/release/10.3.2' into develop
...
* origin/release/10.3.2:
2023-07-26 11:21:11 +05:30
Sidharth Vinod
dbee34aba7
fix: edgeLabel width
2023-07-26 11:14:46 +05:30
Ibrahim Wassouf
9655ba9e63
Merge branch 'develop' into bug/4645_graph_node_containing_keyword
2023-07-25 20:57:14 -03:00
Ibrahim Wassouf
fd461b7860
Reimplement old alphaNumToken
2023-07-25 20:56:08 -03:00
Ibrahim Wassouf
30a9b5574d
Correct classDef and class grammar
...
Previously, you were allowed to define a class called 'default'
but were not allowed to use it because the classStatement grammar
expected an alphanum, which did not include the word DEFAULT
2023-07-25 20:35:08 -03:00
Sidharth Vinod
68909a43f7
Update lockfile
2023-07-25 21:57:48 +05:30
Sidharth Vinod
d178626bac
Merge branch 'develop' into release/10.4.0
...
* develop:
Add MERMAID_RELEASE_VERSION in sankey
2023-07-25 21:55:24 +05:30
Sidharth Vinod
d69a2f7895
Merge branches 'develop' and 'develop' of https://github.com/mermaid-js/mermaid into develop
...
* 'develop' of https://github.com/mermaid-js/mermaid: (21 commits)
Add comments
Update packages/mermaid/src/rendering-util/types.d.ts
Remove redundant test. Already checked in lint.
Update docs
Fix lint
Update packages/mermaid/src/rendering-util/splitText.spec.ts
Add comments
Add tests without Intl.Segmenter
Cleanup
Fix flowchart failure
Handle proper formatting for markdown strings
createText to TS
Use joiner to split unicode
Add types
rename handle-markdown-text
Add logs
Cleanup
Use splitLineToFitWidth function
Update docs
feat: split unicode properly
...
* 'develop' of https://github.com/mermaid-js/mermaid: (21 commits)
Add comments
Update packages/mermaid/src/rendering-util/types.d.ts
Remove redundant test. Already checked in lint.
Update docs
Fix lint
Update packages/mermaid/src/rendering-util/splitText.spec.ts
Add comments
Add tests without Intl.Segmenter
Cleanup
Fix flowchart failure
Handle proper formatting for markdown strings
createText to TS
Use joiner to split unicode
Add types
rename handle-markdown-text
Add logs
Cleanup
Use splitLineToFitWidth function
Update docs
feat: split unicode properly
...
2023-07-25 21:54:32 +05:30
Knut Sveidqvist
97f457ca4a
Merge branch 'develop' into release/10.4.0
2023-07-25 17:30:24 +02:00
Sidharth Vinod
48c8311369
Add MERMAID_RELEASE_VERSION in sankey
2023-07-25 20:49:54 +05:30
Knut Sveidqvist
c99e1c689e
Merge pull request #4470 from mermaid-js/sidv/splitUnicode
...
Split formatted markdown strings with unicode support.
2023-07-25 15:16:01 +00:00