Reda Al Sulais
fb49f25eef
add more types to pieRenderer
2023-08-10 21:36:39 +03:00
Reda Al Sulais
a9681d1b1c
add `resetConfig` to `clear` in pieDb
2023-08-10 21:19:56 +03:00
Reda Al Sulais
545d361d3f
rename `reset` to `resetConfig`
2023-08-10 21:01:32 +03:00
Knut Sveidqvist
c55a0947be
#2139 Applying user defined classes properly when calculating shape width
2023-08-10 13:15:16 +02:00
Alois Klink
0b9f6d1ff9
style: format packages/mermaid/src/config.type.ts
...
Run `pnpm run --filter mermaid types:build-config` to format
the `packages/mermaid/src/config.type.ts` file with the new prettier
config.
2023-08-09 19:22:30 +01:00
Alois Klink
7742a6c485
build(types): use prettier conf on config.types.ts
...
Currently, the `packages/mermaid/src/config.type.ts` types file
(auto-generated via `pnpm run --filter mermaid types:build-config`)
uses the default prettier config.
Instead, we should use the prettier config in the Mermaid repo, as it's
slightly different from the default prettier config.
2023-08-09 19:15:09 +01:00
Sidharth Vinod
fee6f459a8
Update packages/mermaid/src/docs/community/development.md
2023-08-09 17:44:49 +05:30
Reda Al Sulais
38dc17f426
use `structedClone` in `pieDb`
2023-08-09 14:12:08 +03:00
Reda Al Sulais
453c67e5ea
remove `PieDiagramConfig` and import generated one
2023-08-09 13:47:08 +03:00
Reda Al Sulais
a69a97fdd9
remove unnecessary lines in pie files
2023-08-09 13:41:01 +03:00
Sidharth Vinod
06e4a6398c
docs: Add development example page.
2023-08-09 14:59:50 +05:30
Reda Al Sulais
ca1cdb1d94
remove unused `HTML` import in pieRenderer
2023-08-08 19:00:27 +03:00
Reda Al Sulais
5485517b27
remove SVG import logs in `setupGraphViewbox`
2023-08-08 18:55:46 +03:00
Reda Al Sulais
96380600d9
Merge remote-tracking branch 'upstream/develop' into standardized-pie-definitions
2023-08-08 15:02:23 +03:00
Sidharth Vinod
da8112afa5
Merge branch 'develop' into sidv/fixTripleParsing
...
* develop: (59 commits)
fix!(deps): fix zenuml style leakage. update @zenuml/core to ^3.0.6 to fix the style leakage.
Update selectSvgElement.ts
create `Group` type
Add specialChars in textNoTagsToken, alphaNumToken
Return Unicode Text to idStringToken definition
Add underscore to unit test on special Chars
Revert to old docs concerning quotations marks in string
Refactor unit tests and remove repetition
Correct idStringToken definition to include all individual special tokens
Add unit tests for node ids with special Chars
Create lychee.toml
create `selectSvgElement`
change `svgElem` to `SVG` in `configureSvgSize`
add `configureSvgSize` in infoRenderer
run docs:build
remove info sandbox test case
Remove replaceAll method in addLink
Modify HREF token regex to contain space
Add unit tests for stange node names
Remove escaped quotes with backslash feature
...
2023-08-08 13:37:02 +05:30
Sidharth Vinod
bae9a7c1b8
docs: Correct detectType filename
2023-08-08 11:13:45 +05:30
Sidharth Vinod
776b219c03
chore: Minor cleanups
2023-08-08 00:31:17 +05:30
Sidharth Vinod
4471001ef2
chore: remove comment
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-08-08 00:24:38 +05:30
Sidharth Vinod
646f7662d0
chore: Remove comments, cleanup
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
Co-authored-by: Nikolay Rozhkov <nironame@gmail.com>
Co-authored-by: Yokozuna59 <u.yokozuna@gmail.com>
2023-08-07 15:12:37 +05:30
Reda Al Sulais
9563b22132
refactor `pieRenderer`
2023-08-06 21:23:42 +03:00
danshuitaihejie
6df76d93e5
fix!(deps): fix zenuml style leakage.
...
update @zenuml/core to ^3.0.6 to fix the style leakage.
2023-08-07 00:21:57 +08:00
Reda Al Sulais
e6a18eea91
Merge remote-tracking branch upstream/develop into standardized-pie-definitions
2023-08-06 18:30:51 +03:00
Reda Al Sulais
71205f5bd6
Merge branch 'mermaid-js:develop' into standardized-pie-definitions
2023-08-05 21:33:03 +03:00
Reda Al Sulais
1802f5d0c0
Update selectSvgElement.ts
2023-08-05 20:45:23 +03:00
Reda Al Sulais
ef29388d68
Merge branch 'develop' into resolve-info-html-assignment
2023-08-05 19:03:35 +03:00
Reda Al Sulais
4845635f48
create `Group` type
2023-08-05 16:00:06 +03:00
Ibrahim Wassouf
34bf618ecb
Merge branch 'develop' into bug/4645_graph_node_containing_keyword
2023-08-03 20:25:51 -04:00
Ibrahim Wassouf
c9db0ee749
Add specialChars in textNoTagsToken, alphaNumToken
...
This will ensure that alphaNumToken does not lose any of
the previously used tokens in its definition. The same
tokens were added to textNoTagsToken explicitly, because it used to
have alphaNumToken in its definition before I removed it.
Previously, textNoTagsToken and alphaNumToken had many tokens in
common in their definition. To avoid grammar conflicts, the
alphaNumStatement grammar was created. However, I found this
unintuitive and was an extra step just to avoid repetition in
the definitions.
I opted to have repetition in the definitions of textNoTagsToken
and alphaNumToken and it be explicitly clear right away, rather than
have extra grammar statements like alphaNumStatement which don't look
like they do anything at first glance
2023-08-03 21:05:41 -03:00
Ibrahim Wassouf
850513fa3d
Return Unicode Text to idStringToken definition
2023-08-03 20:58:37 -03:00
Ibrahim Wassouf
aaf333676c
Add underscore to unit test on special Chars
2023-08-03 20:15:11 -03:00
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
Reda Al Sulais
23b6d53f80
Merge branch 'standardized-pie-definitions' of https://github.com/Yokozuna59/mermaid into standardized-pie-definitions
2023-08-04 01:33:29 +03:00
Reda Al Sulais
f4671e4e3a
Merge branch 'mermaid-js:develop' into standardized-pie-definitions
2023-08-04 01:32:12 +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
Reda Al Sulais
e2fac72166
create `selectSvgElement`
2023-08-03 21:34:22 +03:00
Reda Al Sulais
c954e0eb1d
rename `styles.ts` into `pieStyles.ts`
2023-08-03 21:00:22 +03:00
Reda Al Sulais
de37efefd7
add `type` for `PieStyleOptions`
2023-08-03 20:58:39 +03:00
Reda Al Sulais
bdfd8974d4
change default `useWidth` in pie to 984
2023-08-03 20:56:18 +03:00
Sidharth Vinod
95efc1786f
fix: unitTests after tripleParsing removal
2023-08-03 23:21:49 +05:30
Reda Al Sulais
0c55e4c2ad
Merge branch 'develop' into resolve-info-html-assignment
2023-08-03 20:44:29 +03:00
Sidharth Vinod
10d5b5d1d6
fix: Remove triple parsing of diagrams
2023-08-03 22:54:37 +05:30
Sidharth Vinod
23fea41fb4
Merge branch 'master' into develop
...
* master:
fix : #4676 redirect fix
fix style in contributors section of intro
add latest blog post
2023-08-03 22:16:17 +05:30
Reda Al Sulais
a4f778f4de
change `svgElem` to `SVG` in `configureSvgSize`
2023-08-03 15:55:05 +03:00
Reda Al Sulais
bb6664a2c6
add `configureSvgSize` in infoRenderer
2023-08-03 15:47:31 +03:00
Steph
b26449f338
Merge branch 'master' into latest-news
2023-08-02 11:18:28 -07:00
Reda Al Sulais
ffdfe11f10
Merge branch 'develop' into resolve-info-html-assignment
2023-08-02 16:26:15 +03:00
Reda Al Sulais
7d69ad2d5b
Merge remote-tracking branch upstream/develop into standardized-pie-definitions
2023-08-02 15:54:23 +03:00
Reda Al Sulais
74fa9956a3
run pnpm lint:fix
2023-08-02 15:46:18 +03:00
Reda Al Sulais
e33340331a
add type-fest to mermaid dev deps
2023-08-02 15:44:44 +03:00
Sidharth Vinod
7ebfc272e4
fix : #4676 redirect fix
2023-08-02 09:36:40 +05:30
Sidharth Vinod
c9c2f6c121
Merge pull request #4677 from djadmin/chore_dompurify_unpin_dependency
...
chore(deps): unpin the dompurify dependency
2023-08-02 03:06:18 +00:00
Sidharth Vinod
585834c561
Merge pull request #4689 from Incognito/chore/4678_misleading-ts-ignore-comment
...
chore: ts-ignore comment was misleading, JISON doesn't support types
2023-08-02 03:05:51 +00: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
Brian Graham
4cdb43f791
ts-ignore comment was misleading, JISON doesn't support types
2023-08-01 14:30:58 +02: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
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
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
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
Dheeraj Joshi
6c12bbb80f
chore(deps): unpin the dompurify dependency
2023-07-28 16:02:17 +05:30
Ibrahim Wassouf
d8897426cd
Correct edge strings to have same configuration as vertex strings
2023-07-27 09:29:26 -03:00
Sidharth Vinod
1397a873c2
Merge pull request #4670 from keer4n/docs/fix-style-in-contributors-section-of-intro
...
fix style in contributors section of intro
2023-07-27 17:27:36 +05:30
Ibrahim Wassouf
1dfb400a46
Merge branch 'develop' into bug/4645_graph_node_containing_keyword
2023-07-26 16:59:54 -04:00
Knut Sveidqvist
9c92f779ae
Updates after testing and new version for mermaid-zenuml
2023-07-26 09:44:24 +02:00
Kiran
304d8844f0
fix style in contributors section of intro
2023-07-26 00:19:50 -06: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
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
Steph
edf94790f2
add latest blog post
2023-07-25 10:22:17 -07:00
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
15c6dfcbb5
Updates after tests
2023-07-25 16:43:09 +02:00
Sidharth Vinod
651bc980d2
Merge branch 'sidv/splitUnicode' of https://github.com/mermaid-js/mermaid into sidv/splitUnicode
...
* 'sidv/splitUnicode' of https://github.com/mermaid-js/mermaid :
Update packages/mermaid/src/rendering-util/types.d.ts
2023-07-25 20:10:17 +05:30
Sidharth Vinod
841ae15fb5
Add comments
2023-07-25 20:10:05 +05:30
Sidharth Vinod
a7d40724b4
Update packages/mermaid/src/rendering-util/types.d.ts
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-07-25 19:13:54 +05:30
Sidharth Vinod
409dedb3ef
Remove redundant test.
...
Already checked in lint.
2023-07-25 19:08:40 +05:30
Sidharth Vinod
68305fea9e
Fix lint
2023-07-25 18:56:58 +05:30
Sidharth Vinod
ea192ccf4d
Merge branch 'develop' into sidv/splitUnicode
2023-07-25 18:55:34 +05:30
Sidharth Vinod
509a580f9d
Merge pull request #4396 from gjtorikian/patch-2
...
Fix a typo
2023-07-25 18:54:56 +05:30
Sidharth Vinod
91ae9a2901
Merge branch 'master' into pr/Incognito/4660
...
* master:
update latest news section
2023-07-25 18:41:26 +05:30
Sidharth Vinod
27d98728a6
chore: Rename C4C to C4
2023-07-25 17:42:12 +05:30
Steph
28bb0df6c8
update latest news section
2023-07-24 22:15:22 -07:00
Ibrahim Wassouf
20cd685ae3
Allow escaped quotations in strings
2023-07-24 22:43:55 -03:00
Ibrahim Wassouf
47c100809b
Add unit tests for all cases of TEXT and STR combinations
2023-07-24 21:46:28 -03:00
Ibrahim Wassouf
651274bc6f
Only allow quotes to wrap entire string
2023-07-24 21:23:21 -03:00
Ibrahim Wassouf
4cfbd0d380
Remove unused definitions
2023-07-24 21:05:17 -03:00
Ibrahim Wassouf
45d92769aa
Change rest of grammar statements to use variable name instead of position
2023-07-24 21:04:36 -03:00
kgilbert78
3e3e784fd9
added Typora to integrations list
2023-07-24 13:24:33 -04:00
Ibrahim Wassouf
474e0b9c82
Refactor vertex grammars to use name values instead of position in production
2023-07-23 21:54:42 -03:00
Ibrahim Wassouf
087738df78
Refactor statement grammars to use name values instead of positions in production
2023-07-23 21:39:21 -03:00
Ibrahim Wassouf
fa8e02721a
Refactor directive grammar to use name instead of position in production
2023-07-23 21:32:52 -03:00
Ibrahim Wassouf
4b9773a272
Refactor token precedence that concern vertex text states
2023-07-23 21:25:19 -03:00
renovate[bot]
e4699ef02a
chore(deps): update all patch dependencies
2023-07-24 00:18:49 +00:00
Brian Graham
60cf043c3d
Corrects name of C4 link
2023-07-23 08:27:54 +02:00
Ibrahim Wassouf
fd88b424b4
Add unit test for vertex and edge having both strings and text
2023-07-22 15:09:24 -03:00
Ibrahim Wassouf
3ab0e9998d
Remove href state and give call higher precedence
...
Similar to what was done in the class diagram parser,
this will allow string tokens to appear in any state.
This is especially helpful, because it will simplify the
code and any future refactoring
2023-07-22 14:39:45 -03:00
Ibrahim Wassouf
f48a9c8696
Merge branch 'develop' into bug/4645_graph_node_containing_keyword
2023-07-21 21:12:16 -03:00
Ibrahim Wassouf
eea0ea5e07
Add unit tests for node id strings with keywords
2023-07-21 21:10:37 -03:00
Ibrahim Wassouf
20011c6882
Add unit tests for edge text
2023-07-21 20:44:37 -03:00
Ibrahim Wassouf
0cc8f89115
Add edgeText states
2023-07-21 19:40:04 -03:00
Ibrahim Wassouf
8ff06e88ce
Correct expected error message in unit test
2023-07-21 18:27:20 -03:00
Ibrahim Wassouf
3fa3ed7b18
Remove grammar and unit test that expects HEX token
...
This was never really used and had many things wrong with it.
I believe that if a hex was provided in the diagram specification,
the alphanum grammar would break it up into a BRKT and NUM token
and use the first line with the addVertex() function.
Second, the styleLink grammar provides the exact same functionality
with the linkStyle keyword.
Third, updateLink() expects an array of nums, not a hex digit.
Fourth, no documentation is provided on this grammar statement existing.
Fifth, the unit test does not work in version 10.2.4
2023-07-21 18:15:43 -03:00
Ibrahim Wassouf
0a4e5f5f6b
Slightly alter unit test node idString
2023-07-21 18:15:27 -03:00
Ibrahim Wassouf
0d7cc748b8
Replace alphanum with idString where appropriate
2023-07-21 17:33:33 -03:00
Ibrahim Wassouf
69c91ae5ed
Add unit test for edge case with lean_right/left vertices
2023-07-21 00:06:18 -03:00
Ibrahim Wassouf
7adb1bccb3
Replace alphanum with NODE_STRING for most usecases
...
What this allows is for idStrings that are separated by
dashes or underscores to be considered one whole string
rather than a bunch of tokens mixed together.
This is necessary for examples such as a-node-graph[text].
Now, the last part of the idString 'graph' will be read as
part of the NODE_STRING token rather than attempting to add
a GRAPH token to the idString.
2023-07-20 23:49:43 -03:00
Ibrahim Wassouf
5b987dee93
Put parser in stable state
2023-07-20 13:05:18 -03:00
Sibin Thomas
114f918417
Merge branch 'develop' into feature/4451-vertical-branches-in-gitgraph
2023-07-20 21:29:56 +05:30
Sibin Thomas
346a7fe8b2
Merge branch 'feature/4451-vertical-branches-in-gitgraph' of https://github.com/mastersibin/mermaid into feature/4451-vertical-branches-in-gitgraph
2023-07-20 21:28:21 +05:30
Sibin Thomas
8ae35c1382
updated documentation for vertical branches
2023-07-20 21:27:34 +05:30
Sidharth Vinod
4795204719
Merge branch 'develop' into sidv/docsVersion
...
* develop:
build(docs): handle YAML edgecases in markdown
run pnpm lint:fix
Update cypress/helpers/util.ts
change deprecated `btoa` into `Buffer.from`
allow ts extension imports in cypress ts files
build(docs): allow using custom `editLink`
build(docs): add `editLink: ` to MD frontmatter
build(docs): run remark plugins on MermaidConfig
Fix import file extension
Batch by commit
resolve lint issues for `no-inferrable-types`
fix wrong config paramater in some cypress spec
convert cypress/helpers/util.js into ts
convert file from js into ts
2023-07-20 20:46:53 +05:30
Sibin Thomas
99e88e4d0d
Merge branch 'develop' into feature/4451-vertical-branches-in-gitgraph
2023-07-20 16:03:19 +05:30
Sidharth Vinod
1b2340ba75
Merge pull request #4640 from aloisklink/docs/fix-edit-url
...
Fix the "Edit this page on GitHub" link in Vitepress documentation for the Mermaid Config pages
2023-07-20 06:59:46 +00:00
Ibrahim Wassouf
3496f275bc
Re-implement markdown as its own text type
2023-07-19 22:56:53 -03:00
Ibrahim Wassouf
b46c28425e
Add text state and tests
2023-07-19 22:49:39 -03:00
Alois Klink
4d2d790cc8
build(docs): handle YAML edgecases in markdown
...
Our current method of adding a entry using `+=` is not safe in YAML,
since it's valid to make a YAML object entirely in JSON,
see https://github.com/mermaid-js/mermaid/pull/4640#discussion_r1265133463
We're already using `js-yaml` elsewhere in this file, so we may as well
use it for parsing/stringifying.
Reported-by: Remco Haszing <remcohaszing@gmail.com>
2023-07-19 23:40:46 +01:00
Sibin Thomas
cba5b5a7e3
ran preetier
2023-07-19 21:55:24 +05:30
Sibin Thomas
d81e4fabd5
positioned tags, tilted commit labels and fixed some bugs
2023-07-19 20:22:29 +05:30
Sibin Thomas
863d1bfd4d
removed BT and added TB
2023-07-19 20:21:15 +05:30
Sibin Thomas
9c2afac319
Merge branch 'mermaid-js:develop' into feature/4451-vertical-branches-in-gitgraph
2023-07-19 20:13:53 +05:30
Sidharth Vinod
568d686d2f
Merge branch 'develop' into sidv/docsVersion
2023-07-18 22:07:42 +05:30
Sidharth Vinod
3fcb071592
Move docs.cli to scripts
2023-07-18 22:06:43 +05:30
Sidharth Vinod
fff3acd064
Verify release-version on push to release or master
2023-07-18 21:55:44 +05:30
Sidharth Vinod
e66135b67e
Merge pull request #4496 from moka-care/bug/4439_graph_doesnt_load_when_img_fail_to_load
...
Fix graph not loading when the img loads too fast or fail to load
2023-07-18 07:57:38 +00:00
Yokozuna59
072638ce9d
Merge pull request #4634 from leinelissen/develop
...
feat: allow specifying on which weekday a tickInterval should start
2023-07-18 07:33:08 +00:00
Sidharth Vinod
24f04bb24d
Merge branch 'develop' into bug/4592_fix_newLine_padding_class_diagram
2023-07-17 15:11:39 +05:30
Sidharth Vinod
48a49b1b4d
Merge pull request #4588 from ibrahimWassouf/enhancement/4158_Add_primary_key_beginning_with_asterisk
...
Allow entity diagram attribute names to start with asterisk
2023-07-17 09:26:46 +00:00
Sidharth Vinod
5e6d42cb5b
Merge pull request #4641 from aloisklink/chore/remove-unused-coveralls-devDependency
...
chore: remove unused `devDependency` on coveralls
2023-07-17 09:20:02 +00:00