Commit Graph

6435 Commits

Author SHA1 Message Date
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 e27966c15f
chore: Add master to link checker 2022-11-15 14:16:41 +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
Per Brolin 51a84eeb90 Merge branch 'develop' of github.com:mermaid-js/mermaid into develop 2022-11-14 16:34:57 +01:00
Sidharth Vinod ad6eba452c
Merge branch 'develop' into sidv/mergeMaster
* develop:
  fix(deps): update dependency rollup to v3
2022-11-14 16:44:57 +05:30
Sidharth Vinod eae88c51d2
Cleanup 2022-11-14 16:42:08 +05:30
Sidharth Vinod 752cc3a527
Merge pull request #3674 from mermaid-js/renovate/rollup-3.x
fix(deps): update dependency rollup to v3
2022-11-14 16:41:09 +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 c354d9e1e3
Merge remote-tracking branch 'origin/master' into sidv/mergeMaster
* origin/master: (76 commits)
  fix: `use-inline-specifiers-lockfile-format` to pnpm
  Hacky fix for pnpm issue
  chore: Cleanup pakage.json, fix jisonLint
  feat: Switch CDN
  Updated README-files
  Updated URL
  Updated release
  Increased package version to 9.2.2
  Added registerExternalDiagram for Mindmap
  fix: Remove registerDiagram export
  fix versions
  feat: Add config validator MVP
  Apply suggestions from code review
  fix: Import path in viewer.js
  Cleanup package.json
  Restore package and lock from master
  fix pnpm lock
  Fix pnpm-lock
  Fixing applitools batches
  Fix pnpm
  ...
2022-11-14 14:57:08 +05:30
Sidharth Vinod 77a326dedf
Merge Master 2022-11-14 14:51:23 +05:30
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
renovate[bot] 04a99a7cd3
fix(deps): update dependency rollup to v3 2022-11-14 07:51:09 +00:00
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
Knut Sveidqvist 292cbd75a8
Merge pull request #3783 from mermaid-js/sidv/cleanupPackage.json
chore: Housekeeping
2022-11-11 09:21:43 +01:00
Sidharth Vinod 88d3fdfb8f
fix: `use-inline-specifiers-lockfile-format` to pnpm 2022-11-11 13:29:59 +05:30
Sidharth Vinod 1f68ea4058
Hacky fix for pnpm issue 2022-11-11 02:41:03 +05:30
Sidharth Vinod ab92b5c100
chore: Cleanup pakage.json, fix jisonLint 2022-11-11 01:54:29 +05:30
Alois Klink 195f3a5feb
ci(lint-checker): lock down permissions
Lock down the GITHUB_TOKEN permissions.

lychee only needs `GITHUB_TOKEN` to read public
data without hitting rate-limits, so having read-only
access to contents should be fine.
2022-11-10 18:23:03 +00:00
Knut Sveidqvist dcab2c552f
Merge pull request #3777 from mermaid-js/sidv/fixCDN
Switch CDN to unpkg.com
2022-11-10 09:58:58 +01:00
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
Alois Klink fcd93794ce chore(docs): sync generated markdown docs
Sync generated markdown docs by running
`pnpm --filter mermaid run docs:build`
2022-11-09 17:12:36 +00:00
Sidharth Vinod 0af36f12b7
feat: Switch CDN 2022-11-09 22:38:21 +05:30
Per Brolin dd5d99eacc Merge branch 'release/9.2.2' 2022-11-09 16:46:44 +01:00
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 0b9b2cfadc Updated URL 2022-11-09 16:26:53 +01:00
Per Brolin 526113517b Updated release 2022-11-09 16:20:28 +01:00
Per Brolin fb8149b2ca Increased package version to 9.2.2 2022-11-09 16:02:49 +01:00
Per Brolin 9bb0ed2040 Added registerExternalDiagram for Mindmap 2022-11-09 15:54:39 +01:00
Knut Sveidqvist 2f9d6e0aff
Merge pull request #3774 from mermaid-js/sidv/fixLL
Fix lazy loading in webpack
2022-11-09 08:27:55 +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