Commit Graph

123 Commits

Author SHA1 Message Date
Knut Sveidqvist 55092f532f #4446 Improved regular expression 2023-06-01 17:39:54 +02:00
Knut Sveidqvist 132ce2fb4b Merge branch 'develop' into release/10.2.0 2023-05-15 09:50:02 +02:00
Subhash Halder 1253733962 Fixed review comment 2023-05-11 12:19:59 +05:30
amsubhash 4cbcfa054e Update docs 2023-05-09 14:50:54 +00:00
Sidharth Vinod 4d3e5e42e1
Use mdast-util-from-markdown instead of simple-markdown 2023-04-26 10:30:13 +05:30
Laura Valentine Tscharner 9bb0cef82b fix: wait for image rendering in nodes 2023-04-08 16:28:58 +01:00
knsv c777f9193d Update docs 2023-04-03 10:35:19 +00:00
Knut Sveidqvist 917a54f3cd
Merge branch 'develop' into 4220-string-synax-and-features 2023-04-03 12:31:56 +02:00
Knut Sveidqvist 99f65813a1 Syntax for markdown strings is a single backtick. 2023-04-03 10:43:15 +02:00
knsv f9c0f1d46f Update docs 2023-03-31 06:46:34 +00:00
Knut Sveidqvist 057c9e4b81
Merge branch 'develop' into feature/1618_repeating_tasks 2023-03-31 08:42:10 +02:00
Sidharth Vinod 48d267c6dc
fix(#4137): Cleanup comments before parsing 2023-03-30 22:08:50 +05:30
Jeremy Funk 15af3ea585 Update docs 2023-03-29 23:53:12 +02:00
Knut Sveidqvist 4caf7d7c7b Adding support for markdown string in flowchart-elk 2023-03-29 16:01:08 +02:00
Knut Sveidqvist cbc2df1ff6
Merge branch 'develop' into feature/1618_repeating_tasks 2023-03-29 09:23:18 +02:00
Kshitij e3760d1709 Fixed regex bug 2023-03-25 20:13:30 +05:30
Kshitij 0475591fb6 Updated render to remove comments from text 2023-03-25 15:46:52 +05:30
Jeremy Funk ba1c5dc6c7 Change to using display mode yaml 2023-03-25 01:56:50 +01:00
Jeremy Funk 8c0550b2b7 Code refactoring, add e2e test 2023-03-23 23:45:59 +01:00
Jeremy Funk a535fe1679 Bugfixes, refactor, add compact 2023-03-23 22:38:04 +01:00
Sidharth Vinod 1913aad03f
Merge branch 'develop' into sidv/fix/1066
* develop:
  fix(deps): update all non-major dependencies
  chore(deps): update all non-major dependencies
  Update Diagram.ts
  Update Diagram.ts
  feat: added internal label
  feat: improve documentation
  make clearer
  fix: invalid url and generate docs
  Update integrations.md to include Mermaid Flow
  feat: expose the diagram api
  fixup! fixup! Move pie outerStrokeWidth to theme variables, update docs
  fixup! Move pie outerStrokeWidth to theme variables, update docs
  Move pie outerStrokeWidth to theme variables, update docs
  fixup! fixup! feat(pie): adding outer border, text position options
  fixup! feat(pie): adding outer border, text position options
  Update packages/mermaid/src/diagrams/pie/pieRenderer.js
  feat(pie): adding outer border, text position options
2023-03-06 14:04:00 +05:30
Sidharth Vinod b80da0daa1
Merge pull request #4174 from ted-marozzi/feature/4172_expose_diagram_api
feat: expose the diagram api
2023-03-06 14:00:02 +05:30
sidharthv96 f7f6cc73f5 Update docs 2023-03-05 05:52:51 +00:00
Sidharth Vinod ad52d7d823
Merge pull request #4145 from Billiam/feature/move-pie-labels
Pie: Adding outer border, text position options
2023-03-05 00:33:15 +05:30
Sidharth Vinod 43762c4d7f
fix(#1066): Return true if parse is success. 2023-03-05 00:22:02 +05:30
Ted Marozzi 51c6462f1d feat: expose the diagram api 2023-03-02 19:17:14 +11:00
Billiam 82f5b4ca39 Move pie outerStrokeWidth to theme variables, update docs 2023-02-28 13:27:09 -06:00
knsv 3a56af9633 Update docs 2023-02-28 12:24:04 +00:00
Knut Sveidqvist fda0c8d0a9
Merge branch 'develop' into sidv/fix4157 2023-02-28 13:20:37 +01:00
Sidharth Vinod 733967f65a
fix #4157: Inject only fontFamily without replacing themeVariables 2023-02-28 16:55:25 +05:30
Billiam b079fb4710 fixup! feat(pie): adding outer border, text position options 2023-02-25 15:43:16 -06:00
Sidharth Vinod 0206ff540a
fix(#4140): Deprecate mermaidAPI.render 2023-02-24 12:20:31 +05:30
Sidharth Vinod 68cdc759a7
Minor cleanup
Co-authored-by: Per Brolin <per@mermaidchart.com>
2023-02-20 17:53:07 +05:30
sidharthv96 83f3ceb7f5 Update docs 2023-02-19 10:43:49 +00:00
Sidharth Vinod 4ea7294eeb
fix(#3406, #3394): Remove init & initThrowsErrors
New run function added as replacement.
2023-02-19 16:10:08 +05:30
Sidharth Vinod 8c64a90721
Fix docs 2023-02-19 14:21:15 +05:30
Sidharth Vinod eaa84d2d91
feat: Break render and parse types
Both render and parse are async now.
Return type of render contains svg and bindFunctions.
Parse will not throw error if parseOptions.silent is passed.
2023-02-19 13:08:13 +05:30
Sidharth Vinod d22e8d92c6
chore: Remove all non async render/parse/init 2023-02-19 01:10:15 +05:30
Sidharth Vinod 3c4a6a19bb
fix: Vite, D3, Vitest Types 2023-02-18 22:35:14 +05:30
ashishjain0512 5e6aac4377 Update docs 2023-01-25 17:06:30 +00:00
sidharthv96 9ca2e0c5fc Update docs 2023-01-12 07:21:20 +00:00
Sidharth Vinod 9acd562b9e
Merge pull request #3954 from aloisklink/build/support-GFM-in-markdown-documentation
Support GitHub Flavored Markdown in markdown documentation
2023-01-12 12:47:07 +05:30
Knut Sveidqvist 094b97de12 Merge branch 'develop' into layout-v3-continued 2023-01-11 18:03:09 +01:00
Alois Klink 75b19eaa0c chore(docs): run `pnpm run docs:build` with GFM
Rebuild docs with `remark-gfm` GitHub-Flavored-Markdown parser.
2023-01-01 21:28:03 +00:00
Knut Sveidqvist 913ba34386 #815 Adding possibility to configure elk as renderer for flowcharts 2022-12-22 10:33:41 +01:00
Sidharth Vinod 9f9c95b0b3
fix: Incorrect removal of existing elements 2022-12-13 13:42:07 +05:30
Ashley Engelund (weedySeaDragon @ github) 1c9a559362 common function for a11y; add to renderAsync; + renderAsync spec 2022-12-07 10:19:30 -08:00
Ashley Engelund (weedySeaDragon @ github) f036d58ec3 Merge remote-tracking branch 'MERMAID/develop' into feat/3626-aria-descBy-roledescription-mocks
# Conflicts:
#	cypress/integration/rendering/gantt.spec.js
#	cypress/integration/rendering/requirement.spec.js
#	docs/config/setup/modules/mermaidAPI.md
#	packages/mermaid/src/accessibility.js
2022-12-01 10:08:44 -08:00
Ashley Engelund (weedySeaDragon @ github) 2030885fd3 update /docs 2022-11-27 10:46:43 -08:00
Ashley Engelund (weedySeaDragon @ github) 626a4741c0 Merge remote-tracking branch 'MERMAID/develop' into feat/3626-aria-descBy-roledescription-mocks 2022-11-25 11:30:44 -08:00
Sidharth Vinod 7f4368415d
chore: Add eslint-unicorn & fix 2022-11-23 01:05:08 +05:30
Ashley Engelund (weedySeaDragon @ github) a9c337302a export D3Element from mermaidAPI; use in accessibility 2022-11-20 12:27:29 -08:00
Mason Malone 70f024735b Add title support using YAML frontmatter 2022-11-18 20:42:54 -08:00
Ashley Engelund (weedySeaDragon @ github) 29efc116f3 put a11y into mermaidAPI render; add render spec (mock diagram renderers etc) 2022-11-17 12:27:17 -08:00
Sidharth Vinod eae88c51d2
Cleanup 2022-11-14 16:42: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
Sidharth Vinod a83f88bdf1
chore: Merge master to develop 2022-11-10 13:51:53 +05:30
Sidharth Vinod 791dbe01a2
fix: `sourceLinkTemplate` in typedoc 2022-11-09 23:48:26 +05:30
Ashley Engelund (weedySeaDragon @ github) 750029f557 merge MERMAID/develop 2022-11-09 07:45:22 -08:00
Ashley Engelund (weedySeaDragon @ github) 794b642ff8 merge develop into branch. update cSpell.json; run pnpm install 2022-11-03 10:44:04 -07:00
Sidharth Vinod 86f835cfc8
Merge branch 'develop' into pr/emersonbottero/3678
* develop:
  chore(docs): Update live editor links
  update user story link
  feat(gantt): Add option 'tickInterval' for custom tick interval
  Convert attr to classed
  Convert attr to style
2022-11-01 21:01:58 +05:30
Sidharth Vinod a9234785ab
chore: Configure typedoc source links 2022-10-31 22:15:07 +05:30
Sidharth Vinod 01ac770037
chore: Review comments 2022-10-31 11:57:50 +05:30
Sidharth Vinod e1d9d0b990
chore: Fix doc links 2022-10-29 00:46:25 +05:30
Sidharth Vinod 13e5c5ba72
chore: Fix vitepress build 2022-10-28 23:33:57 +05:30
Emerson Bottero ec5568b943 chore: more revision fixes 2022-10-27 19:58:39 -03:00
Emerson Bottero 289ac52900 fix : CQ 2022-10-26 17:51:54 -03:00
Emerson Bottero 47e1f611d8 fix: lint and spell errors 2022-10-26 16:24:06 -03:00
Emerson Bottero b62873a195 sync last changes 2022-10-25 17:54:07 -03:00
Emerson Bottero c45bf055b6 docs: added warning and notes 2022-10-17 23:58:51 -03:00
Emerson Bottero c8b377bf74 docs: small improvements 2022-10-17 19:32:47 -03:00
Emerson Bottero cbcf7f8a11 docs: new Documentation 2022-10-15 00:50:11 -03:00