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
Sidharth Vinod
66b579cd89
Merge pull request #4715 from aloisklink/chore/use-our-prettier-config-for-types
...
Use our prettier config on the `packages/mermaid/src/config.type.ts` file
2023-08-10 14:36:03 +00: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
Nikolay Rozhkov
3e598f4e8e
Merge pull request #4714 from mermaid-js/sidv/exampleDev
...
docs: Add development example page.
2023-08-09 17:08:29 +03:00
Sidharth Vinod
eb397fdb04
Merge branch 'sidv/exampleDev' of https://github.com/mermaid-js/mermaid into sidv/exampleDev
...
* 'sidv/exampleDev' of https://github.com/mermaid-js/mermaid :
Update packages/mermaid/src/docs/community/development.md
Update docs/community/development.md
2023-08-09 19:00:01 +05:30
Sidharth Vinod
6c1afb7a8d
chore: Ignore localhost
2023-08-09 18:59:55 +05:30
Sidharth Vinod
fee6f459a8
Update packages/mermaid/src/docs/community/development.md
2023-08-09 17:44:49 +05:30
Sidharth Vinod
e128a11f3b
Update docs/community/development.md
2023-08-09 17:44:24 +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
Reda Al Sulais
820cc48c11
Merge remote-tracking branch 'upstream/develop' into standardized-pie-definitions
2023-08-09 13:31:34 +03:00
Sidharth Vinod
06e4a6398c
docs: Add development example page.
2023-08-09 14:59:50 +05:30
Sidharth Vinod
85a988c31c
Merge pull request #4713 from soomrozaid/soomrozaid-patch-1
...
Syntax Update CONTRIBUTING.md
2023-08-09 07:58:58 +00:00
Zaid Soomro
776035553a
Syntax Update CONTRIBUTING.md
2023-08-09 01:04:04 -06:00
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
bcb0817ecd
Merge pull request #4705 from danshuitaihejie/fix_zenuml_style_leakage
...
fix!(deps): fix zenuml style leakage.
2023-08-07 18:50:03 +00:00
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
7da38b9afe
Merge pull request #4514 from Yokozuna59/resolve-info-html-assignment
...
resolve info `HTML` and `Document` assignment
2023-08-06 15:16:00 +00: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
Nikolay Rozhkov
e1379ee048
Merge pull request #4657 from ibrahimWassouf/bug/4645_graph_node_containing_keyword
...
Bug/4645 graph node containing keyword
2023-08-05 15:56:32 +00: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
90c8dd1dab
Merge branch 'develop' into resolve-info-html-assignment
2023-08-04 00:42:55 +03:00
Sidharth Vinod
f8ebfeefec
Merge pull request #4699 from mermaid-js/lychee-config
...
Lychee config
2023-08-03 19:13:59 +00:00
Matthieu MOREL
8db2fb8f90
Create lychee.toml
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2023-08-03 19:04:24 +00:00
Reda Al Sulais
e2fac72166
create selectSvgElement
2023-08-03 21:34:22 +03:00