Sidharth Vinod
ab92b5c100
chore: Cleanup pakage.json, fix jisonLint
2022-11-11 01:54:29 +05:30
Per Brolin
526113517b
Updated release
2022-11-09 16:20:28 +01:00
Sidharth Vinod
f52df3037f
fix versions
2022-11-09 09:55:05 +05:30
Sidharth Vinod
7ca525622b
fix #3757 : Remove dynamic imports for lazy load.
2022-11-08 19:12:37 +05:30
Sidharth Vinod
aab8f9273f
Merge branch 'feat/3701-expose-registerDiagram' into sidv/fixLL
...
* feat/3701-expose-registerDiagram:
feat: add `mermaidAPI.registerDiagram()`
refactor(mermaid): remove registerDiagram cb func
fix(mermaid): fix DiagramDefinition types
2022-11-08 13:50:54 +05:30
Knut Sveidqvist
e78ac9b92a
Updated version
2022-11-01 15:27:20 +01:00
Alois Klink
f41e34e61a
feat: add mermaidAPI.registerDiagram()
...
Exposes the registerDiagram() function publically as
`mermaid.mermaidAPI.registerDiagram` so that users can add their
own diagrams at bundle-time.
This is instead of using the lazyLoadedDiagrams config setting.
2022-10-23 16:53:25 +01:00
Knut Sveidqvist
8ad8d39fe4
Versions for latest rcs
2022-10-20 12:57:29 +02:00
Sidharth Vinod
d17aa6ecdd
Merge branch 'release_9.2.0_buggfixes' into release/9.2.0
...
* release_9.2.0_buggfixes:
fix: Add default arg to options
fix: Build types
chore: Update creation date
fix: getElementById type issue.
2022-10-19 19:21:19 +05:30
Sidharth Vinod
bbb3712284
Merge branch 'release_9.2.0_buggfixes' into sidv/TSMindmap
...
* release_9.2.0_buggfixes:
Color fix for default nodes in mindmap, line uses inv color
2022-10-19 18:42:13 +05:30
Knut Sveidqvist
1388e201e5
Adding queue for async calls in mermaidts and fixing icon color
2022-10-19 14:30:36 +02:00
Knut Sveidqvist
2ae8bf2987
Color fix for default nodes in mindmap, line uses inv color
2022-10-18 16:04:14 +02:00
Knut Sveidqvist
752a6b2cb0
#3687 Separating the render specific data from the data related to parsing
2022-10-17 10:46:46 +02:00
Sidharth Vinod
97a842e651
fix: Build types
2022-10-17 11:45:19 +05:30
Sidharth Vinod
c83e29c6e3
chore: Update creation date
2022-10-16 10:11:19 +05:30
Sidharth Vinod
a4af3704ba
fix: getElementById type issue.
...
Converts mindmapDB to TS
2022-10-16 10:06:44 +05:30
Knut Sveidqvist
59cf085af5
#448 Fix for root nodes without children
2022-10-14 15:11:29 +02:00
Knut Sveidqvist
802407c8ae
Merge remote-tracking branch 'origin/develop' into lazy-load-import
2022-10-07 10:46:16 +02:00
Knut Sveidqvist
439274c5ae
chore: Cleanup
2022-10-07 10:40:01 +02:00
Knut Sveidqvist
883d0d5039
Merge pull request #3592 from mermaid-js/lazy-load-import
...
Lazy load import
2022-10-06 18:19:19 +02:00
Sidharth Vinod
c919bef70e
fix: Import diagram
2022-10-06 13:47:00 +08:00
Alois Klink
1f39fde230
build(test): remove vitest from subpackages
...
Removes vitest from all subpackages so that vitest/`pnpm run test`
are only in the root mono-repo.
This is required, because otherwise the root vitest and the subpackage
vitest versions can otherwise be slightly different, which causes
issues when running unit tests:
```Snapshot cannot be used outside of test```
In the future, we may want to consider moving package specific
tests into `packages/*/test`, and instead running these tests
with `pnpm run --recursive`, so that tests are run in each package by
their own version of vitest. This is the way that most projects
do things (e.g. https://github.com/vitest-dev/vitest ).
2022-10-06 00:56:54 +01:00
Knut Sveidqvist
0f2e0c2ab4
Updated logic for diagram loading
2022-10-05 22:03:05 +02:00
Knut Sveidqvist
c05c98c082
WIP
2022-10-05 13:14:05 +02:00
Knut Sveidqvist
8ee321fd7b
#3561 Adding cScale0-11 etc and usage of the colors from the mindmap diagram
2022-10-03 14:51:13 +02:00
Knut Sveidqvist
0a2804c641
Mindmap cleanup
2022-10-03 11:08:55 +02:00
Knut Sveidqvist
5079fa93b4
Using cose-bilkent layout algorithm for mindmaps
2022-10-03 10:05:12 +02:00
Knut Sveidqvist
56add0756f
Lazy loading fix for example-diagram and mindmaps
2022-10-03 07:01:56 +02:00
Knut Sveidqvist
982c1b4979
#3061 Lazy loading auto derived path
2022-09-26 14:22:21 +02:00
Knut Sveidqvist
a928120bec
#3061 Log handing and other fixes, error handling in diagram creation
2022-09-26 10:44:18 +02:00
Knut Sveidqvist
ebdec77c88
#3061 Fixing unit tests
2022-09-26 08:47:41 +02:00
Knut Sveidqvist
9566f51ca8
Commiton issue #3061 Injecting mermaid utilities in registered diagram
2022-09-26 08:01:23 +02:00
Knut Sveidqvist
af2b1945a3
Detector registering itself on load
2022-09-23 16:55:30 +02:00
Sidharth Vinod
8dcbe83b0b
fix types for mermaid-mindmap
2022-09-23 17:51:29 +05:30
Sidharth Vinod
53bbf444e5
fix build
2022-09-23 17:39:08 +05:30
Sidharth Vinod
ad49564ab5
vite build
2022-09-23 12:31:24 +05:30
Sidharth Vinod
bf25be7cf0
Merge branch 'sidv/viteVitest' into sidv/3061_monorepo
...
* sidv/viteVitest:
ts conversion
cleanup
remove esbuild
fix: tests
chore: Add recommended extensions
Fix user-journey leaking css
Add "Debug Current Test File" configuration for VSCode
Fix unit test coverage
Use vite for build
Fix docs
vite
vite Server
Cleanup
Merge vitest & esbuild
Merge vitest
fix jison generation
Vite
Vite
2022-09-23 11:31:15 +05:30
Knut Sveidqvist
0e0a6c0f69
Fixed paths for dev server
2022-09-22 11:28:37 +02:00
Knut Sveidqvist
db31f61368
Use of pnpm for the monorepo
2022-09-22 11:12:57 +02:00
Knut Sveidqvist
9b0d4a28ea
Temp removaof some hursky rules etc for the build
2022-09-21 12:35:25 +02:00
Knut Sveidqvist
8dd82839cb
Relocation of files
2022-09-21 11:03:33 +02:00