Sidharth Vinod
35cc34d422
chore: Move SVG import to comment.
2023-08-17 10:28:50 +05:30
Jason Curtis
ef8b75a6da
Remove whitespace on empty line
2023-08-17 03:32:42 +00:00
Reda Al Sulais
77d8e15dc4
remove `chart` from `pie.spec.ts` description
2023-08-17 02:21:15 +03:00
Reda Al Sulais
defe40692a
change `defaultConfig` type to `RequiredDeep` and use it in `pieDb`
2023-08-17 01:42:41 +03:00
Jason Curtis
337ff3c32b
Documentation for #2509
2023-08-16 21:12:32 +00:00
Reda Al Sulais
744cc792f4
Merge branch 'develop' into standardized-pie-definitions
2023-08-15 23:27:03 +03:00
Reda Al Sulais
50eb3cf1c9
Merge branch 'develop' into chore/convert-svgDrawCommon-to-ts
2023-08-15 19:37:02 +03:00
Reda Al Sulais
c1b9c54fc9
use `DiagramStylesProvider` in `pieStyles.ts`
2023-08-15 17:56:18 +03:00
Reda Al Sulais
0d179c501e
Merge branch 'develop' into standardized-pie-definitions
2023-08-15 14:01:09 +03:00
Sidharth Vinod
085e8f78b3
Merge pull request #4731 from mermaid-js/renovate/patch-all-patch
...
Update all patch dependencies (patch)
2023-08-14 11:05:49 +00:00
renovate[bot]
2a8374312f
Update all minor dependencies
2023-08-14 03:07:45 +00:00
renovate[bot]
b60410161d
Update all patch dependencies
2023-08-14 02:02:28 +00:00
Reda Al Sulais
d219f92a19
Merge branch 'develop' into chore/convert-svgDrawCommon-to-ts
2023-08-13 17:45:37 +03:00
Reda Al Sulais
3f3a7340e3
remove `setConfig` and `resetConfig` in pie
2023-08-12 21:18:07 +03:00
Reda Al Sulais
cb5f70c139
add `structuredClone` in pie `getConfig`
2023-08-12 21:09:14 +03:00
Reda Al Sulais
99c1758490
make more `RectData` required and remove optional assignment
2023-08-12 20:25:10 +03:00
Sidharth Vinod
43217e1395
Merge branch 'master' into develop
...
* master:
Version update and adjusted error diagram
Fix for broker error diagram related #4178
Adding new flowchart tests related to issue #2139
Fix for interim issue with classes in state diagrams
#2139 Applying user defined classes properly when calculating shape width
chore: Ignore localhost
Update packages/mermaid/src/docs/community/development.md
Update docs/community/development.md
docs: Add development example page.
2023-08-12 17:04:25 +05:30
Sidharth Vinod
aa34b99203
Merge remote-tracking branch 'origin/release/10.3.1'
...
* origin/release/10.3.1: (85 commits)
Version update and adjusted error diagram
Fix for broker error diagram related #4178
Adding new flowchart tests related to issue #2139
Fix for interim issue with classes in state diagrams
use default export in `error` diagram
create `ParserDefinition` type
standardized `error` diagram'
#2139 Applying user defined classes properly when calculating shape width
style: format packages/mermaid/src/config.type.ts
build(types): use prettier conf on config.types.ts
Syntax Update CONTRIBUTING.md
docs: Correct detectType filename
chore: Minor cleanups
chore: remove comment
chore: Remove comments, cleanup
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
...
2023-08-12 17:04:06 +05:30
Reda Al Sulais
541ee1eade
Merge remote-tracking branch 'upstream/develop' into chore/convert-svgDrawCommon-to-ts
2023-08-11 23:07:45 +03:00
Reda Al Sulais
f01ad644e3
Merge remote-tracking branch 'upstream/develop' into standardized-pie-definitions
...
Signed-off-by: Reda Al Sulais <u.yokozuna@gmail.com>
2023-08-11 22:44:05 +03:00
Reda Al Sulais
9538233573
use lineBreakRegex in `svgDrawCommon`
2023-08-11 21:16:53 +03:00
Reda Al Sulais
5a2ea7c297
fix svgDrawCommon import by adding `.js`
2023-08-11 21:13:17 +03:00
Reda Al Sulais
22b172d873
add types to `svgDrawCommon.ts`
2023-08-11 20:56:00 +03:00
Reda Al Sulais
92098e23eb
convert `svgDrawCommon` to TS
2023-08-11 20:54:39 +03:00
Reda Al Sulais
f9d978859e
Merge branch 'develop' into standardized-pie-definitions
2023-08-11 19:56:22 +03:00
Reda Al Sulais
6170538c47
Merge branch 'develop' into chore/convert-assignWithDepth-to-ts
2023-08-11 19:54:57 +03:00
Reda Al Sulais
c37c494a1e
Update assignWithDepth.ts
2023-08-11 19:54:37 +03:00
Nicko J. Ruddock
65c93807d8
Fix Twitter fontawesome class in flowchart.md
2023-08-11 15:23:16 +01:00
Knut Sveidqvist
8ed9ddc7aa
Merge branch 'release/10.3.1'
2023-08-11 14:21:10 +02:00
Knut Sveidqvist
a0b80f5490
Version update and adjusted error diagram
2023-08-11 14:03:56 +02:00
Knut Sveidqvist
493023118f
Fix for broker error diagram related #4178
2023-08-11 13:59:16 +02:00
Knut Sveidqvist
c938c7a438
Fix for interim issue with classes in state diagrams
2023-08-11 13:57:26 +02:00
Knut Sveidqvist
c7bcf72c69
Merge branch 'develop' into release/10.4.0
2023-08-11 11:46:30 +02:00
Sidharth Vinod
da602add5d
Merge pull request #4697 from mermaid-js/sidv/fixTripleParsing
...
fix: Remove triple parsing of diagrams
2023-08-11 15:14:33 +05:30
Knut Sveidqvist
9049a99c8d
Merge pull request #4722 from mermaid-js/2139-handling-styling-properly-when-calculating-width
...
#2139 Applying user defined classes properly when calculating shape width
2023-08-11 09:58:29 +02:00
Reda Al Sulais
8a8e062342
cleanAndMerge pieConfig
2023-08-11 03:55:04 +03:00
Reda Al Sulais
1721282182
Merge branch 'develop' into standardized-pie-definitions
2023-08-11 01:46:33 +03:00
Reda Al Sulais
d8dd68cad2
redeclare `config` parameter add default value for each variable
2023-08-11 01:42:26 +03:00
Reda Al Sulais
0d380bb2c7
Merge branch 'develop' into chore/standardized-error-definitions
2023-08-11 01:24:47 +03:00
Reda Al Sulais
120bdabee1
Merge branch 'develop' into standardized-pie-definitions
2023-08-11 01:04:06 +03:00
Reda Al Sulais
9ab048c7e9
use default export in `error` diagram
2023-08-11 00:55:31 +03:00
Sidharth Vinod
dfeb25127b
remove cleanClone
2023-08-11 02:50:24 +05:30
Sidharth Vinod
396bda8d95
feat: Add cleanAndMerge and tests
2023-08-11 02:47:46 +05:30
Sidharth Vinod
cc70d37166
chore: Rename utils.spec.ts
2023-08-11 02:38:57 +05:30
Reda Al Sulais
3f5da06bb0
move db assignment from `beforeEach` to `beforeAll`
2023-08-10 22:43:39 +03:00
Reda Al Sulais
be106befff
create `structuredCleanClone` helper function
2023-08-10 23:10:06 +03:00
Reda Al Sulais
980a5ac8b5
create `ParserDefinition` type
2023-08-10 22:26:04 +03:00
Reda Al Sulais
d5f11fc80a
convert `assignWithDepth` to TS
2023-08-10 22:09:14 +03:00
Reda Al Sulais
46de343785
standardized `error` diagram'
...
* remove empty `styles.js`
* use named imports/exports instead of default
* remove unnecessary data in diagram definition
2023-08-10 22:07:39 +03:00
Reda Al Sulais
c4113541e1
Merge remote-tracking branch 'upstream/develop' into standardized-pie-definitions
2023-08-10 21:44:29 +03:00
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