Sidharth Vinod
d05fd25339
Fix #3799 : Remove type
from package.json
2022-11-15 23:59:17 +05:30
Ashley Engelund (weedySeaDragon @ github)
fcec9adbcd
diagramStates should not be global; pass it into functions; minor comment fixes
2022-11-15 09:19:27 -08:00
Ashley Engelund (weedySeaDragon @ github)
13f3008f82
diagramClasses no longer needs to be cached; mermaidAPI no longer calls it repeatedly
2022-11-15 09:18:10 -08:00
Ashley Engelund (weedySeaDragon @ github)
6090a1f65a
(minor) import expectTypeOf in spec
2022-11-15 09:14:00 -08:00
Ashley Engelund (weedySeaDragon @ github)
1ecd4a551d
(minor) fix JSdoc tag
2022-11-15 09:13:27 -08:00
Ashley Engelund (weedySeaDragon @ github)
c6db0524bd
+ spec stateRenderer-v2.js getClasses() to verify it returns a {}
2022-11-15 09:01:34 -08:00
Ashley Engelund (weedySeaDragon @ github)
d3f5474f38
(minor) fix JSdoc types in comments
2022-11-15 08:59:01 -08:00
Ashley Engelund (weedySeaDragon @ github)
9996e53e24
(minor) add comments, remove duplicated line
2022-11-15 08:50:20 -08:00
Knut Sveidqvist
3b79ee35e0
Merge pull request #3780 from mermaid-js/sidv/mergeMaster
...
chore: Merge master to develop
2022-11-15 12:47:32 +01:00
Sidharth Vinod
b202b539bf
Merge pull request #3765 from spier/feature/check-links-in-docs
...
Add GHA that will check links + Fix broken links
2022-11-15 14:17:18 +05:30
Sidharth Vinod
18c27c6f1d
chore: Add docs to redirect.ts
2022-11-15 11:13:54 +05:30
Ashley Engelund (weedySeaDragon @ github)
345eaade22
stateDB classes must be a {} not []
2022-11-14 11:39:58 -08:00
Sidharth Vinod
82f63b056f
feat: Redirect old documentation links.
2022-11-15 01:06:04 +05:30
Ashley Engelund (weedySeaDragon @ github)
ccd55a0bde
add stateDiagram-v2 to list of graphs with classDefs
2022-11-14 11:24:59 -08:00
Sidharth Vinod
846a03663c
fix(docs): ClassDiagram table
2022-11-14 22:15:34 +05:30
Sidharth Vinod
a88a467d45
sync
2022-11-14 22:14:27 +05:30
Sidharth Vinod
beab2278d8
feat: Async mermaid docs
2022-11-14 22:06:26 +05:30
Per Brolin
51a84eeb90
Merge branch 'develop' of github.com:mermaid-js/mermaid into develop
2022-11-14 16:34:57 +01:00
Per Brolin
f36cf5b321
Merge branch 'master' of github.com:mermaid-js/mermaid
2022-11-14 13:02:03 +01:00
Sidharth Vinod
eae88c51d2
Cleanup
2022-11-14 16:42:08 +05:30
Sidharth Vinod
051b4271d3
Cleanup docs
2022-11-14 15:24:47 +05:30
Sidharth Vinod
4decaf0308
chore: Fix tsdoc
2022-11-14 15:17:13 +05:30
Sidharth Vinod
9144fa390f
cleanup
2022-11-14 15:05:58 +05:30
Sidharth Vinod
77a326dedf
Merge Master
2022-11-14 14:51:23 +05:30
Per Brolin
82ac667535
Service functions added
2022-11-14 10:03:24 +01:00
Sidharth Vinod
2d9bdedaf5
Merge branch 'develop' into sidv/mergeMaster
...
* develop:
chore(deps): update all non-major dependencies
fix(deps): update all non-major dependencies
fix: `sourceLinkTemplate` in typedoc
only call getClasses if the diagram renderer supports it
fix typo
merge fix: get classDefs only if diagram is in CLASSDEF_DIAGRAMS
use lodash isEmpty instead of method defined in utils
chore: Fix cspell
fix: Type of DiagramStyleClassDef, general cleanup
change spec descriptions to active voice (= shorter b/c 'should' isn't needed)
functions and specs: removeExistingElements
functions and specs: createUserstyles; minor changes
functions and specs: createCssStyles, appendDivSvgG,cleanUpSvgCode, putIntoIFrame [for render]
add MockedD3.ts
const isSandboxed, isLooseSecurityLevel, fontFamily; a few more CONSTs
more meaningful var names; move related lines together; const idSelector
comment the main steps (prepare to break into functions that can be tested)
render: define const iFrameId, enclosingDivID and _selector to use in function
specs: encodeEntities, decodeEntities
render: constants
2022-11-14 13:57:09 +05:30
Sidharth Vinod
0763590c24
Merge pull request #3791 from mermaid-js/renovate/all-minor-patch
...
chore(deps): update all non-major dependencies (minor)
2022-11-14 13:18:10 +05:30
Knut Sveidqvist
dfb1440ae0
Merge pull request #3684 from weedySeaDragon/chore/3648-mermaidAPI-render--dry-cleanup-specs
...
chore: clean up code in mermaidAPI render() and write specs/tests
2022-11-14 08:42:25 +01:00
renovate[bot]
a1e2df8466
chore(deps): update all non-major dependencies
2022-11-14 05:28:23 +00:00
renovate[bot]
20613beb8a
fix(deps): update all non-major dependencies
2022-11-14 05:25:07 +00:00
Sidharth Vinod
ab92b5c100
chore: Cleanup pakage.json, fix jisonLint
2022-11-11 01:54:29 +05:30
Sidharth Vinod
a83f88bdf1
chore: Merge master to develop
2022-11-10 13:51:53 +05:30
Knut Sveidqvist
c781545a40
#3778 Adding a hexgon shape
2022-11-09 20:10:31 +01:00
Sidharth Vinod
791dbe01a2
fix: sourceLinkTemplate
in typedoc
2022-11-09 23:48:26 +05:30
Sidharth Vinod
0af36f12b7
feat: Switch CDN
2022-11-09 22:38:21 +05:30
Ashley Engelund (weedySeaDragon @ github)
750029f557
merge MERMAID/develop
2022-11-09 07:45:22 -08:00
Per Brolin
ccfaea8e3f
Updated README-files
2022-11-09 16:34:31 +01:00
Per Brolin
526113517b
Updated release
2022-11-09 16:20:28 +01:00
Per Brolin
9bb0ed2040
Added registerExternalDiagram for Mindmap
2022-11-09 15:54:39 +01:00
Sidharth Vinod
ecc51d7cb8
fix: Remove registerDiagram export
2022-11-09 11:27:36 +05:30
Sidharth Vinod
c309e3e3d6
Merge branch 'sidv/fixLL' of https://github.com/mermaid-js/mermaid into sidv/fixLL
...
* 'sidv/fixLL' of https://github.com/mermaid-js/mermaid :
Apply suggestions from code review
2022-11-09 09:55:09 +05:30
Sidharth Vinod
f52df3037f
fix versions
2022-11-09 09:55:05 +05:30
Sidharth Vinod
649ab17806
feat: Add config validator MVP
2022-11-09 09:54:52 +05:30
Sidharth Vinod
89da6ea31a
Apply suggestions from code review
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2022-11-09 09:54:06 +05:30
Sidharth Vinod
c7f7ff39ce
fix: Import path in viewer.js
2022-11-09 00:43:19 +05:30
Sidharth Vinod
6d2552ea6e
fix: Filenames
2022-11-08 19:26:02 +05:30
Sidharth Vinod
20b4358c0e
fix: Make options in registerExternalDiagrams optional
2022-11-08 19:21:49 +05:30
Sidharth Vinod
7ca525622b
fix #3757 : Remove dynamic imports for lazy load.
2022-11-08 19:12:37 +05:30
Sebastian Spier
6543ece92c
Fix display label/path for explaining where the docs are located
2022-11-08 13:53:18 +01:00
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