Commit Graph

202 Commits

Author SHA1 Message Date
devcer aad53f9e61 merged with master 2022-10-17 09:27:42 +05:30
renovate[bot] 17b72d565d chore(deps): pin dependencies 2022-10-17 03:12:28 +00:00
uttk 319f925bdd fix: Fixed git graph to use global setting if `useMaxWidth` option is not set 2022-10-17 03:07:10 +00:00
renovate[bot] 541de12690
chore(deps): update all non-major dependencies (#3671)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-16 22:58:11 +02:00
Alois Klink aa43cfb5ac
style(sequence): rename lineStarty to lineStartY
Fixes @cspell/eslint warnings.
2022-10-16 10:24:36 +01:00
Alois Klink 989d716c36
style: fix @cspell/eslint warnings
Ignores some names of contributors, and adjusts some capitilization
spacing to fix all cspell warnings.
2022-10-16 10:23:23 +01:00
Alois Klink 720849a55e
test(gantt): remove incorrect comment
This comment seems to have been accidentally added 7 years ago
in 6f96b5dd14
2022-10-16 10:01:36 +01:00
Santosh Viswanatham 1f642ca9b6
Merge branch 'develop' into feat/3601-cspell-configuration 2022-10-15 19:48:08 +05:30
devcer 478c387491 added words to cspell ignore words list, removed mywords.txt 2022-10-15 19:43:07 +05:30
Danang Estutomoaji f532843665 update: open graph image 2022-10-15 17:13:36 +07:00
Danang Estutomoaji 9ba1f7c1f6 fix: prettier 2022-10-15 17:04:12 +07:00
Danang Estutomoaji b78dc246ec remove id attribute 2022-10-15 11:56:50 +07:00
Danang Estutomoaji 9251176f5e feat(issue#3675): added open graph meta tags 2022-10-15 11:48:02 +07:00
Emerson Bottero 0da56a1249 docs: new Documentation 2022-10-15 00:50:57 -03:00
Emerson Bottero cbcf7f8a11 docs: new Documentation 2022-10-15 00:50:11 -03:00
renovate[bot] 9ac3992fd2
chore(deps): update all non-major dependencies (minor) (#3632)
* chore(deps): update all non-major dependencies

* chore: add `auto-install-peers` to `.npmrc`

* chore: Update lockfile

* Update docs/index.html

Co-authored-by: Matthieu MOREL <matthieu.morel35@gmail.com>

* Update packages/mermaid/src/docs/index.html

Co-authored-by: Matthieu MOREL <matthieu.morel35@gmail.com>

* Define integrity, crossorigin and referrerpolicy

* Define integrity, crossorigin and referrerpolicy

* chore: format

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
Co-authored-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2022-10-14 13:18:19 +02:00
Sidharth Vinod 069951a748
fix: docs 2022-10-14 13:03:27 +05:30
Sidharth Vinod c913fc8407
Merge pull request #3643 from Some-Dood/refactor-handle-error
feat: make `parseError` function more type-safe
2022-10-14 10:02:23 +05:30
Knut Sveidqvist 4be66554b3 #3659 Adding height when not using maxWidth 2022-10-13 14:26:05 +02:00
Sidharth Vinod d62c2d1e22
fix: relative paths 2022-10-13 13:51:27 +05:30
Sidharth Vinod 30a3a9ee53
Merge branch 'sidv/linkDocsSource' of https://github.com/mermaid-js/mermaid into sidv/linkDocsSource
* 'sidv/linkDocsSource' of https://github.com/mermaid-js/mermaid:
  Update packages/mermaid/src/docs.mts
2022-10-13 13:49:27 +05:30
Sidharth Vinod 0d5664cc9b
Merge branch 'develop' into sidv/linkDocsSource
* develop: (36 commits)
  chore(deps): update actions/setup-node action to v3
  Remove inconsistent and deprecated semicolons
  chore(deps): update actions/checkout action to v3
  docs: Fix initial install step
  docs: Update twitter link
  chore: renovate lint
  Update renovate.json
  chore: Bump node to v18
  chore: Set node v16
  chore: Add volta
  chore(deps): add renovate.json
  Contrbution steps updated
  refactor: use `posix.join()` instead of replacing `\`
  Link added for local setup
  contribution.md updated
  fix: Fix eslint warnings
  fix: docs path in windows
  docs: Add twitter
  docs: Add version to doc index.html
  Update packages/mermaid/src/docs/n00b-gettingStarted.md
  ...
2022-10-13 13:48:36 +05:30
Sidharth Vinod d03fdfdbca
Update packages/mermaid/src/docs.mts
Co-authored-by: Alois Klink <alois@aloisklink.com>
2022-10-13 13:48:00 +05:30
Sidharth Vinod 57b883c7dd
Merge pull request #3605 from arpansaha13/sidv/fixWindowsPath
Fix windows paths for `docs:build`
2022-10-13 12:59:07 +05:30
Iulian Onofrei 353895dceb
Remove inconsistent and deprecated semicolons 2022-10-12 23:01:29 +03:00
uttk 627ddc0774 fix: Fix useMaxWidth option for git graph 2022-10-12 02:14:56 +00:00
Dima Kurilo 4fc3cc7aff add aliases '0+', '1+' and '1' 2022-10-11 21:57:00 -04:00
Dima Kurilo 3e1b235055 add tests 2022-10-11 19:37:05 -04:00
Dima Kurilo 44706bc32e add statement aliases for ER diagram 2022-10-11 19:02:43 -04:00
Ashley Engelund (weedySeaDragon @ github) 589dd70356 common consts; add consts in stateRenderer-v2 (will esp. make theme usage easier) 2022-10-11 13:03:55 -07:00
Ashley Engelund (weedySeaDragon @ github) 85ba4549fb (minor) add "V2" to top level of v2 diagram spec 2022-10-11 13:02:49 -07:00
devcer adf7702211 updated eslint config and fixed cspell warnings 2022-10-11 22:52:49 +05:30
Ashley Engelund (weedySeaDragon @ github) ba71afcce5 diagram-v2: store results of stateDb.extract(), apply class to state; code cleanup 2022-10-11 10:19:28 -07:00
Ashley Engelund (weedySeaDragon @ github) 3c0727c744 diagram-v2 spec: added tests for labels, composite; fix typos, 2022-10-11 10:16:57 -07:00
Basti Ortiz 7391baae34
fix: ensure that `ParseErrorFunction` type alias is compile-time only 2022-10-12 01:14:09 +08:00
Basti Ortiz 4b31112bcb
fix: apply new types to the Mermaid API 2022-10-12 01:07:17 +08:00
Basti Ortiz 17ff584d15
feat: account for the fact that an error may be a `DetailedError` 2022-10-12 01:06:31 +08:00
Ashley Engelund (weedySeaDragon @ github) 79f4eb2e32 stateDb: methods for classDef, (style) classes; update extract(); code cleanup + DRY 2022-10-11 09:53:45 -07:00
Basti Ortiz e8cd3c0baf
fix: use `ParseErrorFunction` alias for mocks 2022-10-12 00:53:10 +08:00
Basti Ortiz 15f31f9d95
feat: make `parseError` function more type-safe 2022-10-12 00:32:41 +08:00
Ashley Engelund (weedySeaDragon @ github) 370806365f parser: idStatement returns stmt: 'state'...; add classDef, class statements 2022-10-11 08:36:04 -07:00
Ashley Engelund (weedySeaDragon @ github) 7b7db4f60e (minor) API: removed unused flowRenderer import; add comment 2022-10-11 08:33:43 -07:00
Ashley Engelund (weedySeaDragon @ github) 965eae5f45 add spec for stateDB addStyleClass 2022-10-11 08:33:43 -07:00
Ashley Engelund (weedySeaDragon @ github) 56f3fa6495 API: getClasses() with the diagram renderer (not flowchart renderer); add const 2022-10-11 08:33:43 -07:00
Dima Kurilo f05f07e44f add the way to add notes to class diagram 2022-10-10 20:53:09 -04:00
Michael Maier 7e8631dd19 fix: vertex property `props` is overwritten instead of being merged with new value
Fixes #3263
2022-10-10 17:59:29 +02:00
Sidharth Vinod 8ffa7e6334
docs: Update twitter link 2022-10-10 20:47:34 +08:00
Knut Sveidqvist 5060c9f390
Merge pull request #3596 from mermaid-js/sidv/fixImportDoc
docs: Add mermaid version to script URL
2022-10-10 14:11:34 +02:00
Knut Sveidqvist e876c35ef9
Merge pull request #3591 from mermaid-js/sidv/fixDetectDiagram
fix Detect diagram fallback
2022-10-10 13:43:41 +02:00
jasmaa 98f4c2d3ae
Update pie docs to reflect label order change 2022-10-09 22:20:59 -04:00
lemontreejs 2bb0cf17d1 refactor: use `posix.join()` instead of replacing `\` 2022-10-09 21:03:57 +05:30
Sidharth Vinod 238b15df9d
Merge branch 'sidv/noVar' into pr/aryandeelwal/3579
* sidv/noVar: (77 commits)
  fix: Fix eslint warnings
  docs: Fix docs path in Contributing.md
  Fix file name during "dev" script
  docs: Sync
  capitalization fix
  format Setup.md
  format cSpell.json
  format docs YAML
  format cSpell.json
  separate words & ignoreWords
  fix: "skin param"
  ignore the changelog
  Revert "fix: "skin param""
  fix: "skin param"
  fix: "corresponding"
  known terms
  known terms
  fix: "JetBrains"
  known terms
  known terms
  ...
2022-10-09 22:13:36 +08:00
Sidharth Vinod 6e2deb1fa7
fix: Fix eslint warnings 2022-10-09 22:08:32 +08:00
Sidharth Vinod c55add73f6
docs: Add link to docs source 2022-10-09 21:00:02 +08:00
jasmaa 053c966d5f
Order pie chart slices clockwise by order of entries 2022-10-08 16:51:11 -04:00
Valentin Valls 1fa84a30c9 Fill inheritance arrow with background color 2022-10-08 19:05:27 +02:00
lemontreejs 622b441eb0 fix: docs path in windows 2022-10-08 20:06:57 +05:30
Sidharth Vinod 508fbccdb4
docs: Add twitter 2022-10-08 19:20:06 +08:00
Sidharth Vinod ad0cb7ff3c
Merge branch 'sidv/fixImportDoc' of https://github.com/mermaid-js/mermaid into sidv/fixImportDoc
* 'sidv/fixImportDoc' of https://github.com/mermaid-js/mermaid:
  Update packages/mermaid/src/docs/n00b-gettingStarted.md
2022-10-08 19:15:08 +08:00
Sidharth Vinod bc258793ac
docs: Add version to doc index.html 2022-10-08 19:15:01 +08:00
Sidharth Vinod 10d2e0a62f
Update packages/mermaid/src/docs/n00b-gettingStarted.md
Co-authored-by: Alois Klink <alois@aloisklink.com>
2022-10-08 19:13:53 +08:00
Sidharth Vinod 738abc8946
chore: Cleanup 2022-10-08 13:41:04 +08:00
Sidharth Vinod de5ad8644e
fix: Optional detector 2022-10-08 13:38:40 +08:00
Sidharth Vinod 97b39bca95
fix: Remove connectDiagram 2022-10-08 13:22:06 +08:00
Sidharth Vinod 3698b30809
fix: Optimize diagram loading 2022-10-08 13:14:16 +08:00
Sidharth Vinod 069437842b
Merge branch 'develop' into sidv/fixDetectDiagram
* develop: (50 commits)
  docs: Sync
  capitalization fix
  format Setup.md
  format cSpell.json
  format docs YAML
  format cSpell.json
  separate words & ignoreWords
  fix: "skin param"
  ignore the changelog
  Revert "fix: "skin param""
  fix: "skin param"
  fix: "corresponding"
  known terms
  known terms
  fix: "JetBrains"
  known terms
  known terms
  fix: "stable"
  known term
  add known term
  ...
2022-10-08 12:35:40 +08:00
Sidharth Vinod 6f05d4b05a
fix: docs path in windows 2022-10-08 12:16:39 +08:00
Sidharth Vinod ab5111e84f
fix: Remove hard coded Path separator 2022-10-08 12:16:24 +08:00
Sean Killeen 2b40bc0a48 format Setup.md 2022-10-07 21:56:28 -04:00
Sidharth Vinod 6029bdeee9
Merge branch 'develop' into sidv/fixImportDoc
* develop:
  Fix for broken test
  fix: build npm-script
  Fix for issue in classdiagram-v2 from the typescript updates
  fix: build npm-script
  chore: Cleanup
  chore: cleanup
  fix: dynamic import
  fix: module import in pie chart demo
  fix: use async in render-after-error
2022-10-08 09:41:11 +08:00
Sidharth Vinod 0261e7464a
docs: ESM import 2022-10-08 09:40:54 +08:00
Sean Killeen 514d12d48c fix: "skin param" 2022-10-07 21:31:18 -04:00
Sean Killeen 18283bc48f Revert "fix: "skin param""
This reverts commit f31db315b8.
2022-10-07 21:30:36 -04:00
Sean Killeen f31db315b8 fix: "skin param" 2022-10-07 21:30:10 -04:00
Sidharth Vinod 8a2aea219e
docs: ESM import 2022-10-08 09:27:19 +08:00
Sean Killeen 034fe80411 fix: "corresponding" 2022-10-07 21:26:16 -04:00
Sean Killeen 0e61395aa9 fix: "JetBrains" 2022-10-07 21:24:32 -04:00
Sean Killeen b1f3e21d28 fix: "stable" 2022-10-07 21:21:32 -04:00
Sean Killeen 0859f28a14 fix: "different" 2022-10-07 21:20:37 -04:00
Sean Killeen 56b9aab5ce fix: "previous" 2022-10-07 21:20:28 -04:00
Sean Killeen b0ed5e9be2 turn npmjs.org into link 2022-10-07 21:19:33 -04:00
Sean Killeen a1757ba217 standardization: "sanitize" 2022-10-07 21:17:30 -04:00
Sean Killeen 5390c409d0 back-ticks for non-word terms 2022-10-07 21:17:11 -04:00
Sean Killeen 8cf4efc190 fix: "source control" 2022-10-07 21:15:50 -04:00
Sean Killeen 405df09e43 standardization: "behavior" 2022-10-07 21:15:32 -04:00
Sean Killeen 86adf96021 fix: boundaries 2022-10-07 21:13:37 -04:00
Sean Killeen a0c3de568b back-ticks for non-word terms 2022-10-07 21:13:07 -04:00
Sean Killeen c10eb5af79 back-ticks for non-word terms 2022-10-07 21:12:25 -04:00
Sean Killeen 3c4acd2184 back-ticks for non-word terms 2022-10-07 21:11:39 -04:00
Sean Killeen e494e2dc56 Revert "Back-ticks around non-word term"
This reverts commit ab2e727db9.
2022-10-07 21:06:11 -04:00
Sean Killeen ab2e727db9 Back-ticks around non-word term 2022-10-07 21:06:02 -04:00
Knut Sveidqvist 646f76d343 Fix for broken test 2022-10-07 14:36:25 +02:00
Knut Sveidqvist 047e15951a Fix for issue in classdiagram-v2 from the typescript updates 2022-10-07 12:17:35 +02:00
Sidharth Vinod 6fb92f6f3c
fix: Restore conf. 2022-10-07 17:14:33 +08:00
Sidharth Vinod f4a5b80eff
fix: Load all extraDiagrams 2022-10-07 16:57:28 +08: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
Sidharth Vinod 2389f4a285
cleanup 2022-10-07 16:33:59 +08:00
Sidharth Vinod cc55a82b64
Merge branch 'develop' into sidv/fixDetectDiagram
* develop:
  chore: cleanup
  fix: dynamic import
  fix: Filename in viewer.js
  fix: pnpm not found
  fix: Import diagram
  Updated logic for diagram loading
  WIP
2022-10-07 16:30:34 +08:00
Sidharth Vinod 1f8fb56409
docs: Add badges 2022-10-07 16:01:33 +08:00