Commit Graph

6435 Commits

Author SHA1 Message Date
Knut Sveidqvist 5e98e99f86
Merge pull request #3829 from DanInProgress/fix/stylis-add-idselector
Use stylis to prepend idSelector
2022-11-29 17:10:27 +01:00
Sidharth Vinod b949da9ae4
Merge pull request #3860 from aloisklink/test/make-git-graph-test-consistent
Make gitgraph snapshots consistent in E2E tests
2022-11-28 15:42:20 +05:30
renovate[bot] 2984e4fc57 chore(deps): update pnpm to v7.17.1 2022-11-28 07:35:36 +00:00
Sidharth Vinod 3b91846d0c
Merge pull request #3861 from aloisklink/chore/remove-dependency-on-graphlib
chore(deps): remove dependency on `graphlib`
2022-11-28 07:41:50 +05:30
Alois Klink 05b25db5eb chore(deps): remove dependency on `graphlib`
`graphlib` has recently been replaced with the ESM version of
graphlib bundled with
[`dagre-d3-es`](https://www.npmjs.com/package/dagre-d3-es), in commit
f687abb1 (chore: Use `graphlib` from `dagre-d3-es`, 2022-11-20)

This means we can safely remove it from our dependencies list.

Fixes: f687abb165
2022-11-27 19:13:53 +00:00
Alois Klink 51119f22df test(e2e): make gitgraph snapshots consistent
Add a commit id to 'should render a simple gitgraph with a title',
as otherwise the gitgraph renderer picks a random commit ID, and so
image snapshots will be different.
2022-11-27 18:54:41 +00:00
Sidharth Vinod 3e4dc306d4
Merge pull request #3847 from craigmac/patch-1
Add official vim plugin to list in integrations
2022-11-25 12:01:32 +05:30
Sidharth Vinod 4a4eff55c1
chore: Fix lint 2022-11-25 12:00:31 +05:30
Sidharth Vinod 5e330a6d78
test: Update vitest 2022-11-24 16:33:42 +05:30
C.D. MacEachern ecf1273c82
Add official vim plugin to list in integrations
364438d1e8 added recognition of Mermaid files to Vim. Link here is to the upstream source from which it comes.
2022-11-23 15:25:06 -05:00
Knut Sveidqvist 50aab56177
Merge pull request #3844 from mermaid-js/sidv/fixLintStaged
fix: LintStaged
2022-11-23 13:52:40 +01:00
Knut Sveidqvist 79c63e9ff4
Merge pull request #3825 from mermaid-js/sidv/optimizeSize
Reduce mermaid size by 31%
2022-11-23 13:52:24 +01:00
Sidharth Vinod 2cefb0fb8f
chore: Add lodash-eslint rule 2022-11-23 03:03:19 +05:30
Sidharth Vinod 1dae3a000d
chore: Add lodash-eslint rule 2022-11-23 03:03:14 +05:30
Sidharth Vinod 9da29da63b
Merge branch 'develop' into sidv/optimizeSize
* develop: (21 commits)
  chore: docs:build
  chore: docs:build
  tiny fix and change: "The/y cannot" -> "Cannot..."
  remove 'horz' from  cSpell.json
  update demos/state.html to includ examples; formatting
  add 'horz' to cSpell (in pieDetector.ts commented out barChart work)
  refine - what is not done yet
  remove 'horz' from  cSpell.json
  Revert "Added pie"
  chore: Fix cSpell in pieRenderer
  update demos/state.html to includ examples; formatting
  add 'horz' to cSpell (in pieDetector.ts commented out barChart work)
  refine - what is not done yet
  remove console stmt
  #3831 Re-enabling themes for er diagrams
  #3835 Adding path to list of elements to be styled
  #3882 fix for issues with mindmaps  with only a single node
  Integrations added - Visual Studio Code [Polyglot Interactive Notebooks]
  Fix typos
  #3778 Adding a hexgon shape
  ...
2022-11-22 23:49:39 +05:30
Sidharth Vinod f2ed255137
Merge pull request #3821 from dfinke/develop
Integrations added - Visual Studio Code [Polyglot Interactive Notebooks]
2022-11-22 23:22:19 +05:30
Sidharth Vinod 49348a82e0
chore: docs:build 2022-11-22 23:21:27 +05:30
Sidharth Vinod d81a922a4f
Merge pull request #3841 from weedySeaDragon/feat/1952-state--classDef-documentation
(feat) state  classDef documentation
2022-11-22 23:19:15 +05:30
Sidharth Vinod 1ca49c696a
Merge branch 'develop' into feat/1952-state--classDef-documentation
* develop:
  chore: docs:build
  Fix typos
2022-11-22 23:17:33 +05:30
Sidharth Vinod 8e8259934e
Merge pull request #3820 from endolith/typos
Fix typos
2022-11-22 23:17:11 +05:30
Sidharth Vinod 66bb19f91a
chore: docs:build 2022-11-22 23:17:00 +05:30
Sidharth Vinod 183dee89c2
feat: Spellcheck docs when building
docs.yml is removed as `docs:verify` will cover spellchecks now.
2022-11-22 23:06:12 +05:30
Sidharth Vinod 009a32d20b
fix: Enable extending lintstagedrc. 2022-11-22 23:05:27 +05:30
Ashley Engelund (weedySeaDragon @ github) 338d83d4a5 Merge branch 'feat/1952-state--classDef-documentation' of github.com:weedySeaDragon/mermaid into feat/1952-state--classDef-documentation
 Conflicts:
	docs/syntax/stateDiagram.md
	packages/mermaid/src/diagrams/pie/pieDetector.ts
	packages/mermaid/src/docs/syntax/stateDiagram.md
2022-11-22 09:09:40 -08:00
Ashley Engelund (weedySeaDragon @ github) c3e054c155 tiny fix and change: "The/y cannot" -> "Cannot..." 2022-11-22 08:58:55 -08:00
Ashley Engelund a09ec69a96 remove 'horz' from cSpell.json
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
2022-11-22 08:56:04 -08:00
Ashley Engelund (weedySeaDragon @ github) 7f5b48920c update demos/state.html to includ examples; formatting 2022-11-22 08:56:04 -08:00
Ashley Engelund (weedySeaDragon @ github) 4703523d6b add 'horz' to cSpell (in pieDetector.ts commented out barChart work) 2022-11-22 08:56:04 -08:00
Ashley Engelund (weedySeaDragon @ github) 8066aaeeb0 refine - what is not done yet 2022-11-22 08:55:56 -08:00
Ashley Engelund 828e99d4b9
remove 'horz' from cSpell.json
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
2022-11-22 08:49:08 -08:00
Sidharth Vinod 5967289172
fix: lintstagedrc `lint:jison` 2022-11-22 14:47:49 +05:30
Sidharth Vinod 4143032b66
Merge pull request #3842 from mermaid-js/per/revert-1d9fefe7ac65990e4dd06a7e0e29976a873db844
Revert "Added pie"
2022-11-22 14:39:51 +05:30
Per Brolin 9eb506f6c5 Revert "Added pie"
This reverts commit 1d9fefe7ac.
2022-11-22 10:04:28 +01:00
Sidharth Vinod 231965d36c
Merge pull request #3840 from weedySeaDragon/chore/fix-lint-pie-console-stmt
(chore) remove console stmt in pieDetector
2022-11-22 10:53:06 +05:30
Sidharth Vinod 31380368e1
chore: Fix cSpell in pieRenderer 2022-11-22 10:49:45 +05:30
Ashley Engelund (weedySeaDragon @ github) e2e604a76a update demos/state.html to includ examples; formatting 2022-11-21 17:00:54 -08:00
Ashley Engelund (weedySeaDragon @ github) 98e4b6f338 add 'horz' to cSpell (in pieDetector.ts commented out barChart work) 2022-11-21 17:00:54 -08:00
Ashley Engelund (weedySeaDragon @ github) e1c2b1ddb5 refine - what is not done yet 2022-11-21 17:00:54 -08:00
Ashley Engelund (weedySeaDragon @ github) 22993e8b6c remove console stmt 2022-11-21 16:35:02 -08:00
Per Brolin fdbc4ce0ed Merge branch 'develop' of github.com:mermaid-js/mermaid into develop 2022-11-21 14:45:25 +01:00
pbrolin47 96d7666d8e
Merge pull request #3837 from mermaid-js/3831_er_theme
#3831 Re-enabling themes for er diagrams
2022-11-21 14:43:41 +01:00
pbrolin47 0e3a558b02
Merge pull request #3836 from mermaid-js/3835_handling_classes_to_paths
Fix for #3835, makes it possible to style path elements
2022-11-21 14:40:10 +01:00
Knut Sveidqvist f9222a3bf4 #3831 Re-enabling themes for er diagrams 2022-11-21 14:30:06 +01:00
Knut Sveidqvist 78b7941f2d #3835 Adding path to list of elements to be styled 2022-11-21 14:06:09 +01:00
pbrolin47 0d27b1aa65
Merge pull request #3834 from mermaid-js/3778_adding_more_mindmap_shapes
#3778 Adding a hexgon shape
2022-11-21 13:50:53 +01:00
Sidharth Vinod 9b01a07b9d
Fix lodash import 2022-11-21 18:13:35 +05:30
pbrolin47 32db43069d
Merge pull request #3833 from mermaid-js/3832_mindmaps_single_node
#3882 fix for issues with mindmaps  with only a single node
2022-11-21 13:39:16 +01:00
Sidharth Vinod 89488b60a4
Formatting 2022-11-21 18:06:53 +05:30
Sidharth Vinod a686255d9e
Merge branch 'develop' into sidv/optimizeSize
* develop:
  chore(deps): update pnpm to v7.17.0
  docs: Remove warning in readme
  chore(deps): update lycheeverse/lychee-action action to v1.5.4
  chore: Add size shield in readme
  Fix example for Git diagrams
  Fix TS errors
  Add interface for DiagramDb and other minor changes
  Disallow leading whitespace before delimiter
  Add title support using YAML frontmatter
2022-11-21 18:06:30 +05:30
Knut Sveidqvist ffb95b4fa9
Merge pull request #3823 from mermaid-js/sidv/viz
Add package visualizations
2022-11-21 13:32:19 +01:00