Compare commits

...
803 Commits
Author SHA1 Message Date
Sidharth Vinod 4001981f02 Fix favicon 2022-02-07 23:02:27 +05:30
Sidharth Vinod fe8e8cdb32 test update monaco
The action didn't run previously.
2022-02-04 23:43:52 +05:30
Sidharth Vinod 64934dcfae Update Monaco 2022-02-04 16:49:33 +05:30
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
987b7cfbde chore(deps-dev): bump svelte from 3.46.3 to 3.46.4 (#634)
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.46.3 to 3.46.4.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.46.3...v3.46.4)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-04 09:06:05 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
988e0d61a9 chore(deps): bump monaco-editor from 0.31.1 to 0.32.0 (#633)
Bumps [monaco-editor](https://github.com/microsoft/monaco-editor) from 0.31.1 to 0.32.0.
- [Release notes](https://github.com/microsoft/monaco-editor/releases)
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/microsoft/monaco-editor/commits)

---
updated-dependencies:
- dependency-name: monaco-editor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-04 09:05:50 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
54690ba507 chore(deps-dev): bump cypress from 9.3.1 to 9.4.1 (#632)
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.3.1 to 9.4.1.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v9.3.1...v9.4.1)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-04 09:05:24 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5920dfbc69 chore(deps-dev): bump lint-staged from 12.3.2 to 12.3.3 (#630)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.3.2 to 12.3.3.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v12.3.2...v12.3.3)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-04 08:53:52 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Matthieu MOREL
8bcb5857dc chore(deps-dev): bump @sveltejs/kit from 1.0.0-next.247 to 1.0.0-next.260 (#631)
* chore(deps-dev): bump @sveltejs/kit

Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 1.0.0-next.247 to 1.0.0-next.260.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@1.0.0-next.260/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update svelte.config.js

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
2022-02-04 08:53:13 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2f2e567163 chore(deps-dev): bump eslint-plugin-tailwindcss from 3.3.6 to 3.4.3 (#629)
Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 3.3.6 to 3.4.3.
- [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases)
- [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v3.3.6...v3.4.3)

---
updated-dependencies:
- dependency-name: eslint-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-04 08:39:24 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
968bb81b30 chore(deps-dev): bump tailwindcss from 3.0.17 to 3.0.18 (#628)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.17 to 3.0.18.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.17...v3.0.18)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-04 08:38:51 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d7f0ee5f94 chore(deps-dev): bump postcss from 8.4.5 to 8.4.6 (#627)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.5 to 8.4.6.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.5...8.4.6)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-04 08:38:10 +01:00
Sidharth VinodandGitHub 3801d931f3 Merge pull request #618 from mermaid-js/dependabot/npm_and_yarn/develop/chai-4.3.6
chore(deps-dev): bump chai from 4.3.4 to 4.3.6
2022-01-28 13:22:59 +05:30
Sidharth VinodandGitHub 0f2821b664 Merge pull request #625 from mermaid-js/dependabot/npm_and_yarn/develop/daisyui-1.25.4
chore(deps): bump daisyui from 1.24.3 to 1.25.4
2022-01-28 13:22:51 +05:30
Sidharth VinodandGitHub 394409c6c2 Merge pull request #624 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-3.46.3
chore(deps-dev): bump svelte from 3.46.2 to 3.46.3
2022-01-28 13:22:43 +05:30
dependabot[bot]andGitHub d72df81de9 chore(deps-dev): bump chai from 4.3.4 to 4.3.6
Bumps [chai](https://github.com/chaijs/chai) from 4.3.4 to 4.3.6.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/4.x.x/History.md)
- [Commits](https://github.com/chaijs/chai/compare/v4.3.4...v4.3.6)

---
updated-dependencies:
- dependency-name: chai
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-28 07:44:55 +00:00
dependabot[bot]andGitHub 073bee0ee6 chore(deps-dev): bump svelte from 3.46.2 to 3.46.3
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.46.2 to 3.46.3.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.46.2...v3.46.3)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-28 07:43:58 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
cd296ad9c4 chore(deps-dev): bump eslint-plugin-tailwindcss from 3.3.0 to 3.3.6 (#623)
Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 3.3.0 to 3.3.6.
- [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases)
- [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v3.3.0...v3.3.6)

---
updated-dependencies:
- dependency-name: eslint-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-28 08:41:11 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
83c16b487c chore(deps-dev): bump cssnano from 5.0.15 to 5.0.16 (#622)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.15 to 5.0.16.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.15...cssnano@5.0.16)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-28 08:39:50 +01:00
dependabot[bot]andGitHub 251704767d chore(deps): bump daisyui from 1.24.3 to 1.25.4
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 1.24.3 to 1.25.4.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/compare/v1.24.3...v1.25.4)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-28 07:30:37 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6339c2da57 chore(deps-dev): bump lint-staged from 12.2.2 to 12.3.2 (#621)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.2.2 to 12.3.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v12.2.2...v12.3.2)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-28 08:29:22 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7b88e440ea chore(deps-dev): bump tailwindcss from 3.0.15 to 3.0.17 (#619)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.15 to 3.0.17.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.15...v3.0.17)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-28 08:27:08 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1ce8970a52 chore(deps-dev): bump @sveltejs/kit (#620)
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 1.0.0-next.236 to 1.0.0-next.247.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/HEAD/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-28 08:16:42 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8ba3dfbb50 chore(deps-dev): bump mocha from 9.1.4 to 9.2.0 (#617)
Bumps [mocha](https://github.com/mochajs/mocha) from 9.1.4 to 9.2.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.1.4...v9.2.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-28 08:13:14 +01:00
Sidharth VinodandGitHub 54c3a08043 Merge pull request #606 from HeroProtagonist/bug/605_comment_shortcuts
Enable comments in/out shortcut command
2022-01-23 11:15:11 +05:30
Sidharth Vinod 0175955f9b fix: Command 2022-01-23 11:06:11 +05:30
HeroProtagonist 534b9fb08b add spec around commenting code 2022-01-22 23:50:22 -05:00
HeroProtagonist 5efa473e2d bump monaco-mermaid 2022-01-22 23:49:52 -05:00
HeroProtagonist a7ffaeea9a Merge branch 'master' of github.com:HeroProtagonist/mermaid-live-editor into develop 2022-01-22 23:46:35 -05:00
Sidharth Vinod f2113162f4 "mermaid": "8.13.10" 2022-01-22 16:31:42 +05:30
Sidharth VinodandGitHub 44ebcd3725 Merge pull request #609 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-4.5.5
chore(deps-dev): bump typescript from 4.5.4 to 4.5.5
2022-01-21 13:49:57 +05:30
Sidharth VinodandGitHub 47902536ab Merge pull request #608 from mermaid-js/dependabot/npm_and_yarn/develop/lint-staged-12.2.2
chore(deps-dev): bump lint-staged from 12.2.1 to 12.2.2
2022-01-21 13:49:46 +05:30
Sidharth VinodandGitHub 4cdcb51dcb Merge pull request #611 from mermaid-js/dependabot/npm_and_yarn/develop/monaco-mermaid-1.0.2
chore(deps): bump monaco-mermaid from 1.0.1 to 1.0.2
2022-01-21 13:49:40 +05:30
Sidharth VinodandGitHub e2461f2c69 Merge pull request #613 from mermaid-js/dependabot/github_actions/develop/EndBug/add-and-commit-8
chore(deps): bump EndBug/add-and-commit from 7 to 8
2022-01-21 13:49:34 +05:30
Sidharth VinodandGitHub 8cbd5a2b36 Merge pull request #612 from mermaid-js/dependabot/docker/develop/node-17.4.0
chore(deps): bump node from 17.3.1 to 17.4.0
2022-01-21 13:49:27 +05:30
Sidharth Vinod 4c7cc04ec3 fix: hook 2022-01-21 13:48:48 +05:30
dependabot[bot]andGitHub 571b345265 chore(deps-dev): bump typescript from 4.5.4 to 4.5.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.4 to 4.5.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.5.4...v4.5.5)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-21 08:15:07 +00:00
Sidharth VinodandGitHub d603927242 Merge pull request #604 from mermaid-js/sidv/compress
Compressed URL
2022-01-21 13:42:11 +05:30
dependabot[bot]andGitHub 6689df1cb9 chore(deps): bump node from 17.3.1 to 17.4.0
Bumps node from 17.3.1 to 17.4.0.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-21 07:09:15 +00:00
dependabot[bot]andGitHub 84261b40bc chore(deps): bump EndBug/add-and-commit from 7 to 8
Bumps [EndBug/add-and-commit](https://github.com/EndBug/add-and-commit) from 7 to 8.
- [Release notes](https://github.com/EndBug/add-and-commit/releases)
- [Changelog](https://github.com/EndBug/add-and-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/EndBug/add-and-commit/compare/v7...v8)

---
updated-dependencies:
- dependency-name: EndBug/add-and-commit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-21 07:09:14 +00:00
dependabot[bot]andGitHub db1cba2a8d chore(deps): bump monaco-mermaid from 1.0.1 to 1.0.2
Bumps monaco-mermaid from 1.0.1 to 1.0.2.

---
updated-dependencies:
- dependency-name: monaco-mermaid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-21 07:03:37 +00:00
dependabot[bot]andGitHub b5f90ba2b1 chore(deps-dev): bump lint-staged from 12.2.1 to 12.2.2
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.2.1 to 12.2.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v12.2.1...v12.2.2)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-21 07:03:03 +00:00
Sidharth VinodandGitHub f107838241 Merge pull request #586 from mermaid-js/revert-585-revert-478-develop
Revert "Revert "Use `monaco-mermaid`""
2022-01-21 10:57:04 +05:30
Yash SinghandGitHub 73168de160 Merge branch 'develop' into revert-585-revert-478-develop 2022-01-20 20:36:44 -08:00
Sidharth Vinod 9fb7c4a176 fix: Types 2022-01-21 00:41:24 +05:30
Sidharth VinodandGitHub fc78a26245 Merge pull request #598 from mermaid-js/develop
Develop
2022-01-20 22:26:25 +05:30
Sidharth Vinod aee4460458 Fix types 2022-01-20 18:46:00 +05:30
Sidharth Vinod b52f2c4220 Serdes 2022-01-20 18:08:53 +05:30
Sidharth Vinod ad108a3dab Merge branch 'master' into sidv/compress
* master:
2022-01-20 14:24:03 +05:30
Sidharth Vinod d9a0209fac Merge branch 'develop' into sidv/compress
* develop:
  chore(deps): bump daisyui from 1.21.0 to 1.24.3
  chore(deps-dev): bump lint-staged from 12.2.0 to 12.2.1
  chore(deps-dev): bump cssnano from 5.0.14 to 5.0.15 (#600)
  chore(deps-dev): bump autoprefixer from 10.4.0 to 10.4.2
  chore(deps): bump pako from 1.0.10 to 2.0.4
  chore(deps): bump mermaid from 8.13.8 to 8.13.9
  chore(deps-dev): bump cypress from 9.2.0 to 9.3.1
  chore(deps-dev): bump mocha from 9.1.3 to 9.1.4
  chore(deps-dev): bump eslint-plugin-tailwindcss from 1.17.2 to 3.3.0
2022-01-20 14:23:53 +05:30
Sidharth Vinod 4628a670c8 Compressed URL 2022-01-20 14:19:36 +05:30
Sidharth VinodandGitHub ea4e0a0d2d Merge pull request #602 from mermaid-js/dependabot/npm_and_yarn/develop/lint-staged-12.2.1
chore(deps-dev): bump lint-staged from 12.2.0 to 12.2.1
2022-01-20 11:55:50 +05:30
Sidharth VinodandGitHub f75182106a Merge pull request #603 from mermaid-js/dependabot/npm_and_yarn/develop/daisyui-1.24.3
chore(deps): bump daisyui from 1.21.0 to 1.24.3
2022-01-20 11:55:40 +05:30
dependabot[bot]andGitHub 597a396def chore(deps): bump daisyui from 1.21.0 to 1.24.3
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 1.21.0 to 1.24.3.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/compare/v1.21.0...v1.24.3)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 20:43:48 +00:00
dependabot[bot]andGitHub 5c6f5cf0e7 chore(deps-dev): bump lint-staged from 12.2.0 to 12.2.1
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.2.0 to 12.2.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v12.2.0...v12.2.1)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 20:43:19 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9cc2ea05bb chore(deps-dev): bump cssnano from 5.0.14 to 5.0.15 (#600)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.14 to 5.0.15.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.14...cssnano@5.0.15)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-19 12:40:40 -08:00
Sidharth VinodandGitHub df4964ab83 Merge pull request #601 from mermaid-js/dependabot/npm_and_yarn/develop/autoprefixer-10.4.2
chore(deps-dev): bump autoprefixer from 10.4.0 to 10.4.2
2022-01-19 20:15:00 +05:30
Sidharth VinodandGitHub 33a9491def Merge pull request #599 from mermaid-js/dependabot/npm_and_yarn/develop/mermaid-8.13.9
chore(deps): bump mermaid from 8.13.8 to 8.13.9
2022-01-19 20:14:30 +05:30
Sidharth VinodandGitHub 208b397378 Merge pull request #595 from mermaid-js/dependabot/npm_and_yarn/develop/pako-2.0.4
chore(deps): bump pako from 1.0.10 to 2.0.4
2022-01-19 20:14:17 +05:30
Sidharth VinodandGitHub e67628e321 Merge pull request #596 from mermaid-js/dependabot/npm_and_yarn/develop/cypress-9.3.1
chore(deps-dev): bump cypress from 9.2.0 to 9.3.1
2022-01-19 20:14:11 +05:30
dependabot[bot]andGitHub 9997efdad1 chore(deps-dev): bump autoprefixer from 10.4.0 to 10.4.2
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.0 to 10.4.2.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.0...10.4.2)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 12:42:08 +00:00
dependabot[bot]andGitHub d576e45ed5 chore(deps): bump pako from 1.0.10 to 2.0.4
Bumps [pako](https://github.com/nodeca/pako) from 1.0.10 to 2.0.4.
- [Release notes](https://github.com/nodeca/pako/releases)
- [Changelog](https://github.com/nodeca/pako/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/pako/compare/1.0.10...2.0.4)

---
updated-dependencies:
- dependency-name: pako
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 12:41:36 +00:00
dependabot[bot]andGitHub 749828fc9b chore(deps): bump mermaid from 8.13.8 to 8.13.9
Bumps [mermaid](https://github.com/knsv/mermaid) from 8.13.8 to 8.13.9.
- [Release notes](https://github.com/knsv/mermaid/releases)
- [Changelog](https://github.com/mermaid-js/mermaid/blob/develop/docs/CHANGELOG.md)
- [Commits](https://github.com/knsv/mermaid/compare/8.13.8...8.13.9)

---
updated-dependencies:
- dependency-name: mermaid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 12:41:31 +00:00
dependabot[bot]andGitHub 38e0b2c9d6 chore(deps-dev): bump cypress from 9.2.0 to 9.3.1
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.2.0 to 9.3.1.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v9.2.0...v9.3.1)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 12:41:27 +00:00
Sidharth VinodandGitHub 1fb24aa4ce Merge pull request #593 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-plugin-tailwindcss-3.3.0
chore(deps-dev): bump eslint-plugin-tailwindcss from 1.17.2 to 3.3.0
2022-01-19 18:09:00 +05:30
Sidharth VinodandGitHub f0d5550c0c Merge pull request #592 from mermaid-js/dependabot/npm_and_yarn/develop/mocha-9.1.4
chore(deps-dev): bump mocha from 9.1.3 to 9.1.4
2022-01-19 18:08:51 +05:30
Sidharth VinodandGitHub e16a57de0e Merge pull request #571 from mermaid-js/develop
Develop
2022-01-19 18:08:40 +05:30
Sidharth VinodandGitHub a8b27fc815 Merge pull request #581 from mermaid-js/dependabot/npm_and_yarn/develop/analytics-0.7.21
chore(deps): bump analytics from 0.7.19 to 0.7.21
2022-01-19 17:29:54 +05:30
dependabot[bot]andGitHub 3c9706f8e6 chore(deps-dev): bump mocha from 9.1.3 to 9.1.4
Bumps [mocha](https://github.com/mochajs/mocha) from 9.1.3 to 9.1.4.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.1.3...v9.1.4)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 11:57:05 +00:00
dependabot[bot]andGitHub 311fbd785e chore(deps-dev): bump eslint-plugin-tailwindcss from 1.17.2 to 3.3.0
Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 1.17.2 to 3.3.0.
- [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases)
- [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v1.17.2...v3.3.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 11:56:52 +00:00
Sidharth Vinod 52e533dc52 Merge branch 'develop' of https://github.com/mermaid-js/mermaid-live-editor into develop
* 'develop' of https://github.com/mermaid-js/mermaid-live-editor:
  chore(deps-dev): bump svelte from 3.46.1 to 3.46.2
  chore(deps-dev): bump lint-staged from 12.1.7 to 12.2.0
2022-01-19 17:24:19 +05:30
Sidharth Vinod 399b2a338f Fix ssr 2022-01-19 17:24:10 +05:30
dependabot[bot]andGitHub 642c247686 chore(deps): bump analytics from 0.7.19 to 0.7.21
Bumps [analytics](https://github.com/DavidWells/analytics) from 0.7.19 to 0.7.21.
- [Release notes](https://github.com/DavidWells/analytics/releases)
- [Commits](https://github.com/DavidWells/analytics/compare/analytics@0.7.19...analytics@0.7.21)

---
updated-dependencies:
- dependency-name: analytics
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 11:44:05 +00:00
Sidharth VinodandGitHub 5e1c37271e Merge pull request #587 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-3.46.2
chore(deps-dev): bump svelte from 3.46.1 to 3.46.2
2022-01-19 17:10:40 +05:30
Sidharth VinodandGitHub 5b3b659ea2 Merge pull request #590 from mermaid-js/dependabot/npm_and_yarn/develop/lint-staged-12.2.0
chore(deps-dev): bump lint-staged from 12.1.7 to 12.2.0
2022-01-19 17:10:28 +05:30
Sidharth Vinod cbb354f43e Update kit 2022-01-19 17:09:58 +05:30
dependabot[bot]andGitHub 652d4c67ea chore(deps-dev): bump svelte from 3.46.1 to 3.46.2
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.46.1 to 3.46.2.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.46.1...v3.46.2)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 11:21:44 +00:00
dependabot[bot]andGitHub a2442e287e chore(deps-dev): bump lint-staged from 12.1.7 to 12.2.0
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.1.7 to 12.2.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v12.1.7...v12.2.0)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 11:21:24 +00:00
Sidharth VinodandGitHub 05c5b3bf2d Merge pull request #588 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-preprocess-4.10.2
chore(deps-dev): bump svelte-preprocess from 4.10.1 to 4.10.2
2022-01-19 16:48:14 +05:30
Sidharth VinodandGitHub c18a3b520e Merge pull request #589 from mermaid-js/dependabot/npm_and_yarn/develop/prettier-plugin-svelte-2.6.0
chore(deps-dev): bump prettier-plugin-svelte from 2.5.1 to 2.6.0
2022-01-19 16:48:01 +05:30
Sidharth VinodandGitHub e5ab129e28 Merge pull request #584 from skrobul/kroki-support
Kroki support
2022-01-19 14:48:21 +05:30
Marek Skrobacki c59351c84f kroki: don't make copy of the state 2022-01-19 08:25:24 +00:00
dependabot[bot]andGitHub ea9e2fc0e0 chore(deps-dev): bump prettier-plugin-svelte from 2.5.1 to 2.6.0
Bumps [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/sveltejs/prettier-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/prettier-plugin-svelte/compare/v2.5.1...v2.6.0)

---
updated-dependencies:
- dependency-name: prettier-plugin-svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 08:19:13 +00:00
dependabot[bot]andGitHub e0b2b762c5 chore(deps-dev): bump svelte-preprocess from 4.10.1 to 4.10.2
Bumps [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess) from 4.10.1 to 4.10.2.
- [Release notes](https://github.com/sveltejs/svelte-preprocess/releases)
- [Changelog](https://github.com/sveltejs/svelte-preprocess/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte-preprocess/compare/v4.10.1...v4.10.2)

---
updated-dependencies:
- dependency-name: svelte-preprocess
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-19 08:18:36 +00:00
Sidharth VinodandGitHub 6f09bc6872 Merge pull request #573 from mermaid-js/dependabot/npm_and_yarn/develop/postcss-load-config-3.1.1
chore(deps-dev): bump postcss-load-config from 3.1.0 to 3.1.1
2022-01-19 13:45:38 +05:30
Sidharth VinodandGitHub a3a9828ac8 Merge pull request #582 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-plugin-svelte3-3.4.0
chore(deps-dev): bump eslint-plugin-svelte3 from 3.2.1 to 3.4.0
2022-01-19 13:45:28 +05:30
dependabot[bot]andGitHub 432e12e083 chore(deps-dev): bump postcss-load-config from 3.1.0 to 3.1.1
Bumps [postcss-load-config](https://github.com/postcss/postcss-load-config) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/postcss/postcss-load-config/releases)
- [Changelog](https://github.com/postcss/postcss-load-config/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-load-config/compare/3.1.0...3.1.1)

---
updated-dependencies:
- dependency-name: postcss-load-config
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-18 20:55:38 +00:00
dependabot[bot]andGitHub a29568b42d chore(deps-dev): bump eslint-plugin-svelte3 from 3.2.1 to 3.4.0
Bumps [eslint-plugin-svelte3](https://github.com/sveltejs/eslint-plugin-svelte3) from 3.2.1 to 3.4.0.
- [Release notes](https://github.com/sveltejs/eslint-plugin-svelte3/releases)
- [Changelog](https://github.com/sveltejs/eslint-plugin-svelte3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/eslint-plugin-svelte3/compare/v3.2.1...v3.4.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-svelte3
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-18 18:17:26 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6bdf8af2f1 chore(deps-dev): bump lint-staged from 12.1.4 to 12.1.7 (#575)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.1.4 to 12.1.7.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v12.1.4...v12.1.7)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-18 10:14:15 -08:00
Marek Skrobacki 6ab1b296b8 kroki: switch from native to js-base64 btoa 2022-01-18 08:54:51 +00:00
Marek Skrobacki 4472b1921c kroki: generate URL / compressed diagram on-demand
Converting the diagram to base64 and compression are the operations that might
be CPU heavy, it is better to perform these only when actually needed.
After this commit, the URL will be generated only after the button is pressed
instead of after every change to the text.
2022-01-18 08:54:51 +00:00
Sidharth Vinod 787c6df2ed Merge branch 'develop' into pr/skrobul/584
* develop:
  Revert "Use `monaco-mermaid`"
2022-01-18 11:24:36 +05:30
Sidharth VinodandGitHub b0cb4e6a0e Revert "Revert "Use monaco-mermaid"" 2022-01-18 11:21:57 +05:30
Sidharth VinodandGitHub f8f7db6a77 Merge pull request #585 from mermaid-js/revert-478-develop
Revert "Use `monaco-mermaid`"
2022-01-18 11:21:49 +05:30
Sidharth VinodandGitHub 96af5f427c Revert "Use monaco-mermaid" 2022-01-18 11:16:09 +05:30
Marek Skrobacki 36bcd32ee3 Kroki support
This commit adds support for generating links to be rendered with
[Kroki](https://kroki.io) compatible renderer. Apart from supporting many other
diagram formats, it directly benefits Mermaid editor because it generates much
shorter URLs (due to the compression).

Custom Kroki URL can be configured through environment variable if you want to
use self-hosted instance of Kroki.
2022-01-17 20:51:30 +00:00
Sidharth VinodandGitHub c6028f0156 Merge pull request #478 from Yash-Singh1/develop
Use `monaco-mermaid`
2022-01-17 11:07:01 +05:30
Sidharth VinodandGitHub 046437a663 Merge branch 'develop' into develop 2022-01-17 11:06:53 +05:30
Sidharth VinodandGitHub 43b74a0d35 Merge pull request #580 from mermaid-js/dependabot/docker/develop/node-17.3.1
chore(deps): bump node from 17.3.0 to 17.3.1
2022-01-17 11:06:08 +05:30
Sidharth VinodandGitHub 928c2d2f5f Merge pull request #578 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-3.46.1
chore(deps-dev): bump svelte from 3.44.3 to 3.46.1
2022-01-17 11:06:02 +05:30
Sidharth VinodandGitHub 74d73e2607 Merge pull request #577 from mermaid-js/dependabot/npm_and_yarn/develop/tailwindcss-3.0.13
chore(deps-dev): bump tailwindcss from 3.0.11 to 3.0.13
2022-01-17 11:05:40 +05:30
dependabot[bot]andGitHub 9a8a3e7f4d chore(deps): bump node from 17.3.0 to 17.3.1
Bumps node from 17.3.0 to 17.3.1.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-14 07:13:38 +00:00
dependabot[bot]andGitHub 74efc8eddd chore(deps-dev): bump svelte from 3.44.3 to 3.46.1
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.44.3 to 3.46.1.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.44.3...v3.46.1)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-14 07:06:02 +00:00
dependabot[bot]andGitHub 762d351645 chore(deps-dev): bump tailwindcss from 3.0.11 to 3.0.13
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.11 to 3.0.13.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.11...v3.0.13)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-14 07:03:29 +00:00
Sidharth VinodandGitHub 1b1296dc0d Merge pull request #550 from mermaid-js/dependabot/npm_and_yarn/develop/cypress-9.2.0
chore(deps-dev): bump cypress from 9.1.1 to 9.2.0
2022-01-08 13:16:36 +05:30
Sidharth VinodandGitHub 198980047b Merge pull request #569 from mermaid-js/dependabot/npm_and_yarn/develop/tailwindcss-3.0.11
chore(deps-dev): bump tailwindcss from 3.0.7 to 3.0.11
2022-01-08 12:55:52 +05:30
Sidharth VinodandGitHub abbdbe1117 Merge pull request #568 from mermaid-js/dependabot/npm_and_yarn/develop/daisyui-1.21.0
chore(deps): bump daisyui from 1.19.0 to 1.21.0
2022-01-08 12:55:42 +05:30
Sidharth VinodandGitHub 39dfadd8c8 Merge pull request #564 from mermaid-js/dependabot/npm_and_yarn/develop/node-html-parser-5.2.0
chore(deps-dev): bump node-html-parser from 5.1.0 to 5.2.0
2022-01-08 12:55:33 +05:30
Sidharth VinodandGitHub 1d22de164c Merge pull request #549 from mermaid-js/tailwind_jit_default
Default mode is JIT for tailwind
2022-01-08 12:55:21 +05:30
dependabot[bot]andGitHub 7d28beaaba chore(deps-dev): bump tailwindcss from 3.0.7 to 3.0.11
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.7 to 3.0.11.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.7...v3.0.11)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-07 07:02:39 +00:00
dependabot[bot]andGitHub f143a5b95b chore(deps): bump daisyui from 1.19.0 to 1.21.0
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 1.19.0 to 1.21.0.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/compare/v1.19.0...v1.21.0)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-07 07:01:52 +00:00
dependabot[bot]andGitHub a08829f0ef chore(deps-dev): bump node-html-parser from 5.1.0 to 5.2.0
Bumps [node-html-parser](https://github.com/taoqf/node-fast-html-parser) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/taoqf/node-fast-html-parser/releases)
- [Changelog](https://github.com/taoqf/node-html-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taoqf/node-fast-html-parser/compare/v5.1.0...v5.2.0)

---
updated-dependencies:
- dependency-name: node-html-parser
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-31 07:03:13 +00:00
Sidharth VinodandGitHub 18a83a807a Merge pull request #560 from mermaid-js/develop
Develop
2021-12-29 23:01:03 +05:30
Sidharth VinodandGitHub 66c51cc907 Merge pull request #557 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-preprocess-4.10.1
chore(deps-dev): bump svelte-preprocess from 4.10.0 to 4.10.1
2021-12-29 20:22:08 +05:30
Sidharth Vinod 9f94a920ee Remove GitGraph as it's unsupported. 2021-12-29 20:21:29 +05:30
dependabot[bot]andGitHub 8e47adcbcd chore(deps-dev): bump cypress from 9.1.1 to 9.2.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.1.1 to 9.2.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v9.1.1...v9.2.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-29 14:16:27 +00:00
dependabot[bot]andGitHub ee049fae2c chore(deps-dev): bump svelte-preprocess from 4.10.0 to 4.10.1
Bumps [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess) from 4.10.0 to 4.10.1.
- [Release notes](https://github.com/sveltejs/svelte-preprocess/releases)
- [Changelog](https://github.com/sveltejs/svelte-preprocess/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte-preprocess/compare/v4.10.0...v4.10.1)

---
updated-dependencies:
- dependency-name: svelte-preprocess
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-29 14:16:22 +00:00
Sidharth Vinod 9404071ee3 Merge branch 'master' into develop
* master:
2021-12-29 19:42:25 +05:30
Sidharth Vinod 7707cdb71f Update mermaid 2021-12-29 19:42:07 +05:30
Sidharth VinodandGitHub 905744526d Merge pull request #558 from mermaid-js/dependabot/npm_and_yarn/develop/lint-staged-12.1.4
chore(deps-dev): bump lint-staged from 12.1.2 to 12.1.4
2021-12-28 23:50:08 +05:30
Sidharth VinodandGitHub 446ba5ebcb Merge pull request #556 from mermaid-js/develop
Develop
2021-12-28 23:49:55 +05:30
Sidharth Vinod 7dbcf0fbd7 Disable failing test 2021-12-28 13:10:06 +05:30
Sidharth VinodandGitHub 4412242817 Merge pull request #551 from mermaid-js/dependabot/npm_and_yarn/develop/daisyui-1.19.0
chore(deps): bump daisyui from 1.16.6 to 1.19.0
2021-12-27 15:22:23 +05:30
dependabot[bot]andGitHub df0a3858a7 chore(deps-dev): bump lint-staged from 12.1.2 to 12.1.4
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.1.2 to 12.1.4.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v12.1.2...v12.1.4)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-24 10:29:48 +00:00
Sidharth VinodandGitHub 4e64727fd9 Merge pull request #553 from mermaid-js/dependabot/npm_and_yarn/develop/tailwindcss-3.0.7
chore(deps-dev): bump tailwindcss from 3.0.6 to 3.0.7
2021-12-24 15:50:26 +05:30
Sidharth VinodandGitHub 52cc57972a Merge pull request #554 from mermaid-js/dependabot/npm_and_yarn/develop/cssnano-5.0.14
chore(deps-dev): bump cssnano from 5.0.13 to 5.0.14
2021-12-24 15:50:18 +05:30
Sidharth VinodandGitHub 2768ac483f Merge pull request #555 from mermaid-js/dependabot/docker/develop/node-17.3.0
chore(deps): bump node from 17.2.0 to 17.3.0
2021-12-24 15:50:09 +05:30
dependabot[bot]andGitHub 9e0b0f9509 chore(deps): bump daisyui from 1.16.6 to 1.19.0
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 1.16.6 to 1.19.0.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-24 07:18:09 +00:00
Sidharth Vinod e020733386 Update mermaid 2021-12-24 12:44:23 +05:30
dependabot[bot]andGitHub 51282fab9d chore(deps): bump node from 17.2.0 to 17.3.0
Bumps node from 17.2.0 to 17.3.0.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-24 07:08:23 +00:00
dependabot[bot]andGitHub 48ce114fdf chore(deps-dev): bump cssnano from 5.0.13 to 5.0.14
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.13 to 5.0.14.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.13...cssnano@5.0.14)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-24 07:03:35 +00:00
dependabot[bot]andGitHub 7d1f209e06 chore(deps-dev): bump tailwindcss from 3.0.6 to 3.0.7
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.6 to 3.0.7.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.6...v3.0.7)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-24 07:03:27 +00:00
Yash SinghandGitHub f027ef0b97 Remove jit mode from tailwind config 2021-12-17 14:25:02 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
23b5544692 chore(deps): bump daisyui from 1.16.5 to 1.16.6 (#547)
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 1.16.5 to 1.16.6.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-17 17:24:03 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e832503fb8 chore(deps-dev): bump tailwindcss from 3.0.5 to 3.0.6 (#548)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.5 to 3.0.6.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.5...v3.0.6)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-17 16:30:03 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d4c6ea798f chore(deps): bump mermaid from 8.13.5 to 8.13.6 (#546)
Bumps [mermaid](https://github.com/knsv/mermaid) from 8.13.5 to 8.13.6.
- [Release notes](https://github.com/knsv/mermaid/releases)
- [Changelog](https://github.com/mermaid-js/mermaid/blob/develop/docs/CHANGELOG.md)
- [Commits](https://github.com/knsv/mermaid/compare/8.13.5...8.13.6)

---
updated-dependencies:
- dependency-name: mermaid
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-17 16:29:24 +01:00
Matthieu MORELandGitHub bef34c81d6 Merge branch 'develop' into develop 2021-12-16 07:37:26 +01:00
Sidharth VinodandGitHub ccd198922c Merge pull request #527 from mermaid-js/develop
Develop
2021-12-16 11:42:13 +05:30
Matthieu MORELandGitHub 6345e5e4a5 Update tailwind.config.cjs (#544) 2021-12-16 07:04:09 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dfdac7ce10 chore(deps-dev): bump cssnano from 5.0.12 to 5.0.13 (#540)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.12 to 5.0.13.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/commits)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-16 00:22:18 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
19e540d6f2 chore(deps-dev): bump typescript from 4.5.3 to 4.5.4 (#541)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.3 to 4.5.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.5.3...v4.5.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-16 00:21:37 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Matthieu MOREL
67bd1154e9 chore(deps-dev): bump prettier-plugin-svelte from 2.4.0 to 2.5.1 (#543)
* chore(deps-dev): bump prettier-plugin-svelte from 2.4.0 to 2.5.1

Bumps [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) from 2.4.0 to 2.5.1.
- [Release notes](https://github.com/sveltejs/prettier-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/prettier-plugin-svelte/compare/v2.4.0...v2.5.1)

---
updated-dependencies:
- dependency-name: prettier-plugin-svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update .prettierrc

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
2021-12-16 00:21:06 +01:00
Matthieu MORELandGitHub 5fbfbf3253 yarn lint:fix (#542) 2021-12-16 00:03:54 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
f4eb82c3ec chore(deps): bump daisyui from 1.16.2 to 1.16.5 (#538)
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 1.16.2 to 1.16.5.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-15 23:15:24 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
715db7e7d6 chore(deps-dev): bump svelte from 3.44.2 to 3.44.3 (#539)
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.44.2 to 3.44.3.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.44.2...v3.44.3)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-15 22:57:44 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
77295736ec chore(deps-dev): bump tailwindcss from 3.0.0 to 3.0.5 (#534)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.0 to 3.0.5.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.0...v3.0.5)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-15 22:47:09 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>mmorel-35
c64618ed19 chore(deps): bump monaco-editor from 0.30.1 to 0.31.1 (#535)
* chore(deps): bump monaco-editor from 0.30.1 to 0.31.1

Bumps [monaco-editor](https://github.com/microsoft/monaco-editor) from 0.30.1 to 0.31.1.
- [Release notes](https://github.com/microsoft/monaco-editor/releases)
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/microsoft/monaco-editor/commits)

---
updated-dependencies:
- dependency-name: monaco-editor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Monaco-editor

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mmorel-35 <mmorel-35@users.noreply.github.com>
2021-12-15 22:41:22 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
0acd6881ae chore(deps-dev): bump @sveltejs/adapter-static (#536)
Bumps [@sveltejs/adapter-static](https://github.com/sveltejs/kit/tree/HEAD/packages/adapter-static) from 1.0.0-next.21 to 1.0.0-next.22.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/adapter-static/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/HEAD/packages/adapter-static)

---
updated-dependencies:
- dependency-name: "@sveltejs/adapter-static"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-15 22:32:54 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ce52367b17 chore(deps-dev): bump svelte-preprocess from 4.9.8 to 4.10.0 (#537)
Bumps [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess) from 4.9.8 to 4.10.0.
- [Release notes](https://github.com/sveltejs/svelte-preprocess/releases)
- [Changelog](https://github.com/sveltejs/svelte-preprocess/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte-preprocess/compare/v4.9.8...v4.10.0)

---
updated-dependencies:
- dependency-name: svelte-preprocess
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-15 22:23:05 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
48fedf313f chore(deps-dev): bump postcss from 8.4.4 to 8.4.5 (#530)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.4 to 8.4.5.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.4...8.4.5)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-15 22:10:34 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
0691feb372 chore(deps-dev): bump @sveltejs/kit (#532)
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 1.0.0-next.201 to 1.0.0-next.202.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/HEAD/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-15 21:33:51 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3e12763937 chore(deps-dev): bump eslint-plugin-mocha from 10.0.1 to 10.0.3 (#531)
Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha) from 10.0.1 to 10.0.3.
- [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases)
- [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lo1tuma/eslint-plugin-mocha/compare/10.0.1...10.0.3)

---
updated-dependencies:
- dependency-name: eslint-plugin-mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-15 21:21:33 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
38fb071055 chore(deps): bump analytics from 0.7.18 to 0.7.19 (#533)
Bumps [analytics](https://github.com/DavidWells/analytics) from 0.7.18 to 0.7.19.
- [Release notes](https://github.com/DavidWells/analytics/releases)
- [Commits](https://github.com/DavidWells/analytics/compare/analytics@0.7.18...analytics@0.7.19)

---
updated-dependencies:
- dependency-name: analytics
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-15 21:11:22 +01:00
mmorel-35 88164bf248 Update Browserslist 2021-12-15 20:01:24 +00:00
Sidharth VinodandGitHub b5df150841 Merge pull request #522 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-plugin-mocha-10.0.1
chore(deps-dev): bump eslint-plugin-mocha from 9.0.0 to 10.0.1
2021-12-10 23:30:09 +05:30
Sidharth VinodandGitHub 71607a9137 Merge pull request #523 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-4.5.3
chore(deps-dev): bump typescript from 4.5.2 to 4.5.3
2021-12-10 23:29:57 +05:30
Sidharth VinodandGitHub d7c6f2b6c0 Merge pull request #524 from mermaid-js/dependabot/npm_and_yarn/develop/prettier-2.5.1
chore(deps-dev): bump prettier from 2.5.0 to 2.5.1
2021-12-10 23:29:51 +05:30
Sidharth VinodandGitHub 59b8402117 Merge pull request #526 from mermaid-js/dependabot/npm_and_yarn/develop/cypress-9.1.1
chore(deps-dev): bump cypress from 9.1.0 to 9.1.1
2021-12-10 23:29:45 +05:30
Sidharth VinodandGitHub 6907be3393 Merge pull request #515 from mermaid-js/develop
Develop
2021-12-10 23:29:31 +05:30
dependabot[bot]andGitHub c787f94850 chore(deps-dev): bump typescript from 4.5.2 to 4.5.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-10 16:38:35 +00:00
dependabot[bot]andGitHub d210c9e227 chore(deps-dev): bump cypress from 9.1.0 to 9.1.1
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.1.0 to 9.1.1.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v9.1.0...v9.1.1)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-10 16:38:24 +00:00
dependabot[bot]andGitHub bf2c98d71c chore(deps-dev): bump prettier from 2.5.0 to 2.5.1
Bumps [prettier](https://github.com/prettier/prettier) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.5.0...2.5.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-10 16:38:13 +00:00
Sidharth VinodandGitHub 813e2d18e2 Merge pull request #525 from mermaid-js/dependabot/npm_and_yarn/develop/tailwindcss-3.0.0
chore(deps-dev): bump tailwindcss from 2.2.19 to 3.0.0
2021-12-10 22:04:51 +05:30
dependabot[bot]andGitHub e326e7e47f chore(deps-dev): bump tailwindcss from 2.2.19 to 3.0.0
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 2.2.19 to 3.0.0.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v2.2.19...v3.0.0)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-10 13:03:26 +00:00
dependabot[bot]andGitHub 71cb506986 chore(deps-dev): bump eslint-plugin-mocha from 9.0.0 to 10.0.1
Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha) from 9.0.0 to 10.0.1.
- [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases)
- [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lo1tuma/eslint-plugin-mocha/compare/9.0.0...10.0.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-mocha
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-10 13:02:28 +00:00
Yash-Singh1 ee01c440a9 Merge branch 'develop' of github.com:mermaid-js/mermaid-live-editor into develop 2021-12-09 19:01:42 -08:00
Sidharth Vinod ecbb537026 fix: dependabot 2021-12-08 12:18:08 +05:30
Sidharth Vinod 50a8e868ef update mermaid 2021-12-08 12:16:55 +05:30
Sidharth VinodandGitHub 8e763724dd Merge pull request #518 from mermaid-js/dependabot-schedule
Dependabot schedule
2021-12-08 12:14:40 +05:30
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
562290a729 chore(deps): bump node from 17.1.0 to 17.2.0 (#519)
Bumps node from 17.1.0 to 17.2.0.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-03 14:21:19 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
99f37455db chore(deps-dev): bump cssnano from 5.0.11 to 5.0.12 (#516)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.11 to 5.0.12.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.11...cssnano@5.0.12)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-28 22:15:58 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
539562eb1e chore(deps-dev): bump postcss from 8.4.1 to 8.4.4 (#517)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.1 to 8.4.4.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.1...8.4.4)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-28 22:15:46 +01:00
Matthieu MORELandGitHub 88d520c058 Update dependabot.yml 2021-11-28 22:12:24 +01:00
Matthieu MORELandGitHub b46a97c660 define dependabot schedule 2021-11-28 22:09:48 +01:00
mmorel-35 5266610aff Update Browserslist 2021-11-26 08:23:19 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
b23bb5841b chore(deps-dev): bump cypress from 9.0.0 to 9.1.0 (#514)
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.0.0 to 9.1.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v9.0.0...v9.1.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-26 09:01:09 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
74379b9a7a chore(deps-dev): bump eslint-plugin-postcss-modules from 1.2.1 to 2.0.0 (#513)
Bumps [eslint-plugin-postcss-modules](https://github.com/bmatcuk/eslint-plugin-postcss-modules) from 1.2.1 to 2.0.0.
- [Release notes](https://github.com/bmatcuk/eslint-plugin-postcss-modules/releases)
- [Commits](https://github.com/bmatcuk/eslint-plugin-postcss-modules/compare/v1.2.1...v2.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-postcss-modules
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-26 08:59:54 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
a838af4860 chore(deps-dev): bump @sveltejs/kit (#512)
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 1.0.0-next.196 to 1.0.0-next.201.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/HEAD/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-26 08:30:19 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9488ed31de chore(deps-dev): bump prettier from 2.4.1 to 2.5.0 (#511)
Bumps [prettier](https://github.com/prettier/prettier) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.4.1...2.5.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-26 08:23:20 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
96df80ae62 chore(deps-dev): bump postcss from 8.3.11 to 8.4.1 (#510)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.11 to 8.4.1.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.11...8.4.1)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-26 08:23:06 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
516d6575f2 chore(deps-dev): bump lint-staged from 12.0.3 to 12.1.2 (#509)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.0.3 to 12.1.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v12.0.3...v12.1.2)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-26 08:22:28 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
59e33fc6bf chore(deps-dev): bump svelte from 3.44.1 to 3.44.2 (#508)
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.44.1 to 3.44.2.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.44.1...v3.44.2)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-19 14:10:08 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
cc295ffe03 chore(deps-dev): bump typescript from 4.4.4 to 4.5.2 (#506)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.4 to 4.5.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.4...v4.5.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-19 11:10:37 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d00be4f26a chore(deps-dev): bump cypress from 8.7.0 to 9.0.0 (#505)
Bumps [cypress](https://github.com/cypress-io/cypress) from 8.7.0 to 9.0.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v8.7.0...v9.0.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-19 11:09:24 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
32d0789e38 chore(deps-dev): bump eslint-plugin-tailwindcss from 1.17.1 to 1.17.2 (#502)
Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 1.17.1 to 1.17.2.
- [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases)
- [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v1.17.1...v1.17.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-19 11:09:02 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e6d49972ae chore(deps-dev): bump cssnano from 5.0.10 to 5.0.11 (#503)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.10 to 5.0.11.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.10...cssnano@5.0.11)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-19 10:59:04 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
cbd5a1747d chore(deps-dev): bump lint-staged from 11.2.6 to 12.0.3 (#504)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 11.2.6 to 12.0.3.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v11.2.6...v12.0.3)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-19 10:58:42 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9434ccdc9f chore(deps): bump node from 17.0.1 to 17.1.0 (#498)
Bumps node from 17.0.1 to 17.1.0.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-19 10:46:36 +01:00
Sidharth VinodandGitHub 0a684dcc1d Merge pull request #501 from mermaid-js/develop
update mermaid
2021-11-19 00:06:58 +05:30
Sidharth Vinod b38e6c4435 update mermaid 2021-11-18 23:46:08 +05:30
Sidharth VinodandGitHub 1bb312d0d8 Merge pull request #489 from mermaid-js/develop
Develop
2021-11-14 16:45:49 +05:30
Matthieu MORELandGitHub aee4e0e4f1 Merge branch 'master' into develop 2021-11-12 18:11:17 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>mmorel-35
b5adf8e282 chore(deps): bump monaco-editor from 0.30.0 to 0.30.1 (#495)
* chore(deps): bump monaco-editor from 0.30.0 to 0.30.1

Bumps [monaco-editor](https://github.com/microsoft/monaco-editor) from 0.30.0 to 0.30.1.
- [Release notes](https://github.com/microsoft/monaco-editor/releases)
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/microsoft/monaco-editor/compare/v0.30.0...v0.30.1)

---
updated-dependencies:
- dependency-name: monaco-editor
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Monaco-editor

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mmorel-35 <mmorel-35@users.noreply.github.com>
2021-11-12 18:07:38 +01:00
Matthieu MORELandGitHub 8327ed004a Rename update-Monaco-editor.yml to update-monaco-editor.yml 2021-11-12 18:01:25 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
f4c5f31269 chore(deps-dev): bump eslint-plugin-tailwindcss from 1.17.0 to 1.17.1 (#500)
Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 1.17.0 to 1.17.1.
- [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases)
- [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v1.17.0...v1.17.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-12 16:28:04 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9e3281e69e chore(deps-dev): bump cypress-localstorage-commands from 1.6.0 to 1.6.1 (#499)
Bumps [cypress-localstorage-commands](https://github.com/javierbrea/cypress-localstorage-commands) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/javierbrea/cypress-localstorage-commands/releases)
- [Changelog](https://github.com/javierbrea/cypress-localstorage-commands/blob/master/CHANGELOG.md)
- [Commits](https://github.com/javierbrea/cypress-localstorage-commands/compare/v1.6.0...v1.6.1)

---
updated-dependencies:
- dependency-name: cypress-localstorage-commands
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-12 16:27:38 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
844a5e57fa chore(deps): bump random-word-slugs from 0.1.5 to 0.1.6 (#493)
Bumps [random-word-slugs](https://github.com/nas5w/random-word-slugs) from 0.1.5 to 0.1.6.
- [Release notes](https://github.com/nas5w/random-word-slugs/releases)
- [Commits](https://github.com/nas5w/random-word-slugs/compare/v0.1.5...v0.1.6)

---
updated-dependencies:
- dependency-name: random-word-slugs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-12 15:06:01 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5d4f6c7225 chore(deps): bump daisyui from 1.16.1 to 1.16.2 (#494)
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 1.16.1 to 1.16.2.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/compare/v1.16.1...v1.16.2)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-12 15:05:42 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3c589a4601 chore(deps-dev): bump cssnano from 5.0.9 to 5.0.10 (#496)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.9 to 5.0.10.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.9...cssnano@5.0.10)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-12 15:05:21 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8b929d1dc4 chore(deps-dev): bump @sveltejs/kit (#497)
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 1.0.0-next.194 to 1.0.0-next.196.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/HEAD/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-12 15:04:49 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Matthieu MORELYash Singh
a053659aa1 chore(deps): bump monaco-editor from 0.29.1 to 0.30.0 (#486)
* chore(deps): bump monaco-editor from 0.29.1 to 0.30.0

Bumps [monaco-editor](https://github.com/microsoft/monaco-editor) from 0.29.1 to 0.30.0.
- [Release notes](https://github.com/microsoft/monaco-editor/releases)
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/microsoft/monaco-editor/compare/v0.29.1...v0.30.0)

---
updated-dependencies:
- dependency-name: monaco-editor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
2021-11-07 22:20:01 +01:00
Sidharth VinodandGitHub 593d95c50d Merge pull request #487 from mmorel-35/develop
Update Browserlist and add dedicated workflow
2021-11-06 13:33:09 +05:30
Matthieu MORELandGitHub 8cdcb2f593 Update update-browserlist.yml 2021-11-05 15:11:00 +01:00
Matthieu MORELandGitHub f302052de7 Update update-browserlist.yml 2021-11-05 15:07:17 +01:00
mmorel-35 236499666a Update Browserslist 2021-11-05 14:00:07 +00:00
Matthieu MORELandGitHub f024d844e9 Create update-browserlist.yml 2021-11-05 14:57:31 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
0fc3984eac chore(deps-dev): bump @sveltejs/kit (#485)
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 1.0.0-next.192 to 1.0.0-next.194.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/HEAD/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-05 14:22:00 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
730bbcc504 chore(deps): bump daisyui from 1.16.0 to 1.16.1 (#483)
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 1.16.0 to 1.16.1.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/compare/v1.16.0...v1.16.1)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-05 14:21:42 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
c48d333e95 chore(deps-dev): bump cssnano from 5.0.8 to 5.0.9 (#484)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.8 to 5.0.9.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.8...cssnano@5.0.9)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-05 14:10:32 +01:00
Matthieu MORELandGitHub 5a828f5944 Update update-Monaco-editor.yml 2021-11-05 14:08:46 +01:00
Sidharth Vinod 59899799a9 Update lockfile 2021-11-01 23:26:50 +05:30
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2e8198a882 chore(deps): bump node from 16.12.0 to 17.0.1 (#473)
Bumps node from 16.12.0 to 17.0.1.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-01 18:09:34 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
34a455d965 chore(deps): bump analytics from 0.7.17 to 0.7.18 (#481)
Bumps [analytics](https://github.com/DavidWells/analytics) from 0.7.17 to 0.7.18.
- [Release notes](https://github.com/DavidWells/analytics/releases)
- [Commits](https://github.com/DavidWells/analytics/compare/analytics@0.7.17...analytics@0.7.18)

---
updated-dependencies:
- dependency-name: analytics
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-01 18:02:00 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
570e89ca97 chore(deps-dev): bump svelte from 3.44.0 to 3.44.1 (#479)
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.44.0 to 3.44.1.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.44.0...v3.44.1)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-01 18:01:23 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ce1f5356c6 chore(deps-dev): bump cypress-localstorage-commands from 1.5.0 to 1.6.0 (#480)
Bumps [cypress-localstorage-commands](https://github.com/javierbrea/cypress-localstorage-commands) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/javierbrea/cypress-localstorage-commands/releases)
- [Changelog](https://github.com/javierbrea/cypress-localstorage-commands/blob/master/CHANGELOG.md)
- [Commits](https://github.com/javierbrea/cypress-localstorage-commands/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: cypress-localstorage-commands
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-01 18:00:22 +01:00
Yash-Singh1 0d745fbb29 Refactor because editor only file in dir 2021-10-31 15:00:30 -07:00
Yash SinghandGitHub 3354663ada Delete util.ts 2021-10-31 14:58:57 -07:00
Yash-Singh1 4f0c38b36e Use monaco-mermaid 2021-10-31 14:56:07 -07:00
Sidharth VinodandGitHub eaaf53cc56 Merge pull request #477 from mermaid-js/develop
Develop
2021-10-30 11:31:51 +05:30
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d17c1c26e9 chore(deps): bump analytics from 0.7.16 to 0.7.17 (#475)
Bumps [analytics](https://github.com/DavidWells/analytics) from 0.7.16 to 0.7.17.
- [Release notes](https://github.com/DavidWells/analytics/releases)
- [Commits](https://github.com/DavidWells/analytics/compare/analytics@0.7.16...analytics@0.7.17)

---
updated-dependencies:
- dependency-name: analytics
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-29 16:00:57 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
c2353fe5b9 chore(deps-dev): bump tailwindcss from 2.2.17 to 2.2.19 (#476)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 2.2.17 to 2.2.19.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v2.2.17...v2.2.19)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-29 16:00:40 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dff4fb0f51 chore(deps-dev): bump autoprefixer from 10.3.7 to 10.4.0 (#469)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.3.7 to 10.4.0.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.3.7...10.4.0)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-29 15:49:22 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9930b62373 chore(deps-dev): bump node-html-parser from 5.0.0 to 5.1.0 (#474)
Bumps [node-html-parser](https://github.com/taoqf/node-fast-html-parser) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/taoqf/node-fast-html-parser/releases)
- [Changelog](https://github.com/taoqf/node-html-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taoqf/node-fast-html-parser/compare/v5.0.0...v5.1.0)

---
updated-dependencies:
- dependency-name: node-html-parser
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-29 15:45:16 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
92a980a9ae chore(deps-dev): bump @sveltejs/kit (#468)
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 1.0.0-next.188 to 1.0.0-next.192.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/HEAD/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-29 15:35:55 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d43d50d8a7 chore(deps): bump daisyui from 1.15.0 to 1.16.0 (#471)
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-29 15:35:16 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
30d75acdf4 chore(deps-dev): bump lint-staged from 11.2.3 to 11.2.6 (#472)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 11.2.3 to 11.2.6.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v11.2.3...v11.2.6)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-29 15:34:37 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
afe1de2e33 chore(deps-dev): bump cypress from 8.6.0 to 8.7.0 (#470)
Bumps [cypress](https://github.com/cypress-io/cypress) from 8.6.0 to 8.7.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v8.6.0...v8.7.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-29 15:34:06 +02:00
Sidharth VinodandGitHub 170cf3bad9 Merge pull request #466 from mermaid-js/develop
Develop
2021-10-23 21:59:55 +05:30
Sidharth VinodandGitHub 193c13a171 Merge pull request #465 from mermaid-js/dependabot/npm_and_yarn/develop/daisyui-1.15.0
chore(deps): bump daisyui from 1.14.3 to 1.15.0
2021-10-23 21:59:34 +05:30
dependabot[bot]andGitHub 190746c581 chore(deps): bump daisyui from 1.14.3 to 1.15.0
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 1.14.3 to 1.15.0.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/compare/v1.14.3...v1.15.0)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-23 12:55:20 +00:00
Sidharth VinodandGitHub 8210a37628 Merge pull request #462 from mermaid-js/develop
Develop
2021-10-22 20:53:55 +05:30
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
929fbd4bb4 chore(deps-dev): bump @sveltejs/kit (#463)
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 1.0.0-next.184 to 1.0.0-next.188.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/HEAD/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-22 16:27:05 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e213b98858 chore(deps-dev): bump svelte from 3.43.2 to 3.44.0 (#459)
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.43.2 to 3.44.0.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.43.2...v3.44.0)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-22 16:13:18 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6a3baa9145 chore(deps): bump node from 16.11.1 to 16.12.0 (#461)
Bumps node from 16.11.1 to 16.12.0.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-22 16:09:00 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
f73e629ad2 chore(deps-dev): bump husky from 7.0.2 to 7.0.4 (#458)
Bumps [husky](https://github.com/typicode/husky) from 7.0.2 to 7.0.4.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v7.0.2...v7.0.4)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-22 16:05:28 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
da1f3872f4 chore(deps): bump analytics from 0.7.15 to 0.7.16 (#457)
Bumps [analytics](https://github.com/DavidWells/analytics) from 0.7.15 to 0.7.16.
- [Release notes](https://github.com/DavidWells/analytics/releases)
- [Commits](https://github.com/DavidWells/analytics/compare/analytics@0.7.15...analytics@0.7.16)

---
updated-dependencies:
- dependency-name: analytics
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-22 16:04:49 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
505ad4dd5f chore(deps-dev): bump postcss from 8.3.9 to 8.3.11 (#460)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.9 to 8.3.11.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.9...8.3.11)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-22 16:02:47 +02:00
Sidharth VinodandGitHub 579b3edf33 Merge pull request #449 from mermaid-js/develop
Develop
2021-10-17 11:24:33 +05:30
Sidharth Vinod d637c539a4 update DaisyUI 2021-10-17 10:30:28 +05:30
Sidharth Vinod ddfd58da57 update DaisyUI 2021-10-17 10:23:25 +05:30
Sidharth Vinod 72d2221e0e Merge branch 'master' into develop
* master:
2021-10-17 10:23:11 +05:30
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
950101a6f8 chore(deps-dev): bump mocha from 9.1.2 to 9.1.3 (#447)
Bumps [mocha](https://github.com/mochajs/mocha) from 9.1.2 to 9.1.3.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.1.2...v9.1.3)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-15 22:36:04 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ba509f6464 chore(deps-dev): bump svelte from 3.43.1 to 3.43.2 (#456)
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.43.1 to 3.43.2.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.43.1...v3.43.2)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-15 22:33:34 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
44dea7585c chore(deps-dev): bump @sveltejs/kit (#453)
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 1.0.0-next.180 to 1.0.0-next.184.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/HEAD/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-15 22:24:01 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
533f254e81 chore(deps-dev): bump tailwindcss from 2.2.16 to 2.2.17 (#454)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 2.2.16 to 2.2.17.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v2.2.17/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v2.2.16...v2.2.17)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-15 22:21:31 +02:00
Sidharth VinodandGitHub 5d961af1d0 Merge pull request #455 from mermaid-js/update-monaco
Update Monaco-editor on pull_request
2021-10-16 01:41:11 +05:30
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7d8b71aa79 chore(deps-dev): bump cypress from 8.5.0 to 8.6.0 (#452)
Bumps [cypress](https://github.com/cypress-io/cypress) from 8.5.0 to 8.6.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v8.5.0...v8.6.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-15 22:06:14 +02:00
Matthieu MORELandGitHub 5751052299 Create update-Monaco-editor.yml 2021-10-15 22:00:42 +02:00
Sidharth Vinod 46bcd5543a Update Monaco 2021-10-16 01:15:49 +05:30
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
332b9aac1b chore(deps-dev): bump @sveltejs/adapter-static (#451)
Bumps [@sveltejs/adapter-static](https://github.com/sveltejs/kit/tree/HEAD/packages/adapter-static) from 1.0.0-next.20 to 1.0.0-next.21.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/adapter-static/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/HEAD/packages/adapter-static)

---
updated-dependencies:
- dependency-name: "@sveltejs/adapter-static"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-15 21:43:27 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
09167dfdff chore(deps): bump monaco-editor from 0.28.1 to 0.29.1 (#446)
Bumps [monaco-editor](https://github.com/microsoft/monaco-editor) from 0.28.1 to 0.29.1.
- [Release notes](https://github.com/microsoft/monaco-editor/releases)
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/microsoft/monaco-editor/commits/v0.29.1)

---
updated-dependencies:
- dependency-name: monaco-editor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-15 21:43:03 +02:00
Sidharth VinodandGitHub 5cf342f9b3 Merge pull request #448 from mermaid-js/dependabot/docker/develop/node-16.11.1
chore(deps): bump node from 16.10.0 to 16.11.1
2021-10-16 01:02:16 +05:30
Sidharth VinodandGitHub d68772bd50 Merge pull request #443 from mermaid-js/dependabot/npm_and_yarn/develop/lint-staged-11.2.3
chore(deps-dev): bump lint-staged from 11.2.0 to 11.2.3
2021-10-16 01:02:10 +05:30
Sidharth VinodandGitHub dec930b301 Merge pull request #444 from mermaid-js/dependabot/npm_and_yarn/develop/node-html-parser-5.0.0
chore(deps-dev): bump node-html-parser from 4.1.5 to 5.0.0
2021-10-16 01:02:02 +05:30
Sidharth VinodandGitHub d932ae39a2 Merge pull request #445 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-4.4.4
chore(deps-dev): bump typescript from 4.4.3 to 4.4.4
2021-10-16 01:01:53 +05:30
dependabot[bot]andGitHub 5f210afbeb chore(deps): bump node from 16.10.0 to 16.11.1
Bumps node from 16.10.0 to 16.11.1.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-15 13:09:25 +00:00
dependabot[bot]andGitHub 688a99204c chore(deps-dev): bump typescript from 4.4.3 to 4.4.4
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.3 to 4.4.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.3...v4.4.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-15 13:03:27 +00:00
dependabot[bot]andGitHub 8353ea9495 chore(deps-dev): bump node-html-parser from 4.1.5 to 5.0.0
Bumps [node-html-parser](https://github.com/taoqf/node-fast-html-parser) from 4.1.5 to 5.0.0.
- [Release notes](https://github.com/taoqf/node-fast-html-parser/releases)
- [Changelog](https://github.com/taoqf/node-html-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taoqf/node-fast-html-parser/compare/v4.1.5...v5.0.0)

---
updated-dependencies:
- dependency-name: node-html-parser
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-15 13:03:17 +00:00
dependabot[bot]andGitHub e7af839443 chore(deps-dev): bump lint-staged from 11.2.0 to 11.2.3
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 11.2.0 to 11.2.3.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v11.2.0...v11.2.3)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-15 13:03:09 +00:00
Sidharth VinodandGitHub 1f4f4a94a3 Merge pull request #442 from mermaid-js/develop
Develop
2021-10-15 02:36:48 +05:30
Sidharth Vinod b30d2995f3 Merge branch 'master' into develop
* master:
2021-10-15 02:30:52 +05:30
Sidharth Vinod 206d2982b0 Update mermaid 2021-10-15 02:30:31 +05:30
Sidharth VinodandGitHub 0efcbfb20b Merge pull request #438 from mermaid-js/develop
feat: Add troubleshooting if link is broken
2021-10-09 17:37:52 +05:30
Sidharth Vinod 9aba3693f1 fix: revert stateStr change 2021-10-09 11:24:41 +05:30
Sidharth Vinod 5494911830 Merge branch 'master' into develop
* master:
  feat: Add renderer url config
  feat: Add renderer url config
2021-10-09 11:23:17 +05:30
Sidharth Vinod 8a79c81e2b test: Add troubleshoot test 2021-10-09 10:43:44 +05:30
Sidharth Vinod b3cc9f70ff feat: Add troubleshooting if link is broken 2021-10-09 10:33:50 +05:30
Sidharth Vinod d4b0c905ac Fix redirection check 2021-10-09 09:53:21 +05:30
Sidharth VinodandGitHub cf195b08f1 Merge pull request #434 from mermaid-js/develop
Develop
2021-10-08 21:08:10 +05:30
Sidharth Vinod a2483c3212 Update random-word-slug 2021-10-08 20:55:00 +05:30
Sidharth VinodandGitHub 04192f4c82 Merge pull request #428 from mermaid-js/dependabot/npm_and_yarn/develop/sveltejs/kit-1.0.0-next.180
chore(deps-dev): bump @sveltejs/kit from 1.0.0-next.178 to 1.0.0-next.180
2021-10-08 20:23:15 +05:30
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
43daa687c2 chore(deps-dev): bump svelte-preprocess from 4.9.7 to 4.9.8 (#436)
Bumps [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess) from 4.9.7 to 4.9.8.
- [Release notes](https://github.com/sveltejs/svelte-preprocess/releases)
- [Changelog](https://github.com/sveltejs/svelte-preprocess/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte-preprocess/compare/v4.9.7...v4.9.8)

---
updated-dependencies:
- dependency-name: svelte-preprocess
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-08 16:43:19 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9caa2e8994 chore(deps-dev): bump postcss from 8.3.8 to 8.3.9 (#429)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.8 to 8.3.9.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.8...8.3.9)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-08 16:35:24 +02:00
dependabot[bot]andGitHub 75de5014db chore(deps-dev): bump @sveltejs/kit
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 1.0.0-next.178 to 1.0.0-next.180.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/HEAD/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-08 14:24:18 +00:00
Sidharth VinodandGitHub 1265812270 Merge pull request #427 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.33.0
chore(deps-dev): bump @typescript-eslint/parser from 4.32.0 to 4.33.0
2021-10-08 19:51:01 +05:30
Sidharth VinodandGitHub 891abf7383 Merge pull request #432 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-plugin-tailwindcss-1.17.0
chore(deps-dev): bump eslint-plugin-tailwindcss from 1.16.0 to 1.17.0
2021-10-08 19:49:22 +05:30
dependabot[bot]andGitHub 0e23b71d67 chore(deps-dev): bump @typescript-eslint/parser from 4.32.0 to 4.33.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.32.0 to 4.33.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.33.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-08 14:10:45 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
0a19853b46 chore(deps-dev): bump autoprefixer from 10.3.6 to 10.3.7 (#430)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.3.6 to 10.3.7.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.3.6...10.3.7)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-08 16:07:32 +02:00
dependabot[bot]andGitHub b71d876a86 chore(deps-dev): bump eslint-plugin-tailwindcss from 1.16.0 to 1.17.0
Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases)
- [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v1.16.0...v1.17.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-08 14:07:18 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
c27e4d48c3 chore(deps-dev): bump lint-staged from 11.1.2 to 11.2.0 (#431)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 11.1.2 to 11.2.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v11.1.2...v11.2.0)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-08 16:05:34 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
abc951703e chore(deps-dev): bump @typescript-eslint/eslint-plugin (#426)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.32.0 to 4.33.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.33.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-08 15:52:56 +02:00
Sidharth VinodandGitHub 4626d2bb32 Merge pull request #422 from mermaid-js/feat/RendererConfig
Feat/RendererConfig
2021-10-04 09:27:31 +05:30
Sidharth VinodandGitHub 4b9534ed4d Merge pull request #423 from mermaid-js/develop
Develop
2021-10-03 00:21:58 +05:30
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
0860484704 chore(deps-dev): bump tailwindcss from 2.2.15 to 2.2.16 (#420)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 2.2.15 to 2.2.16.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v2.2.15...v2.2.16)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-02 18:49:35 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
b84d9c8f71 chore(deps-dev): bump autoprefixer from 10.3.5 to 10.3.6 (#419)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.3.5 to 10.3.6.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.3.5...10.3.6)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-02 18:49:12 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4fe68eab75 chore(deps-dev): bump mocha from 9.1.1 to 9.1.2 (#418)
Bumps [mocha](https://github.com/mochajs/mocha) from 9.1.1 to 9.1.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.1.1...v9.1.2)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-02 18:46:41 +02:00
Sidharth VinodandGitHub ec1a9eb7e9 Merge pull request #417 from mermaid-js/develop
Update dependencies
2021-10-02 13:50:17 +05:30
Sidharth Vinod ace89a4f28 feat: Add renderer url config 2021-10-02 13:43:29 +05:30
Sidharth Vinod aadf4ec8dc feat: Add renderer url config 2021-10-02 13:39:07 +05:30
Sidharth Vinod 7bde0beb76 Merge branch 'master' into develop
* master:
  Fix test
  Use esm build
  Use esm build
  Use esm build
  Use esm build
  ESM
  Use esm build
  v8.13.2 build issue
  Add actor support on sequence diagram
2021-10-01 19:58:26 +05:30
Sidharth Vinod 356a9b55d5 Update deps 2021-10-01 19:56:55 +05:30
Sidharth VinodandGitHub f14013a729 Merge pull request #406 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-3.43.1
chore(deps-dev): bump svelte from 3.43.0 to 3.43.1
2021-10-01 19:48:01 +05:30
Sidharth VinodandGitHub ffdaaa3c5d Merge pull request #384 from Yash-Singh1/patch-1
Add actor support
2021-10-01 19:47:45 +05:30
Sidharth VinodandGitHub d3726de7a4 Merge pull request #407 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-plugin-tailwindcss-1.16.0
chore(deps-dev): bump eslint-plugin-tailwindcss from 1.15.0 to 1.16.0
2021-10-01 19:47:27 +05:30
Sidharth VinodandGitHub 30a6de665b Merge pull request #409 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.32.0
chore(deps-dev): bump @typescript-eslint/parser from 4.31.2 to 4.32.0
2021-10-01 19:47:17 +05:30
Sidharth VinodandGitHub ff3a87098a Merge pull request #410 from mermaid-js/dependabot/npm_and_yarn/develop/analytics-0.7.15
chore(deps): bump analytics from 0.7.14 to 0.7.15
2021-10-01 19:47:02 +05:30
Sidharth VinodandGitHub e4d4feaf65 Merge pull request #411 from mermaid-js/fix/build
Fix/build
2021-10-01 19:42:33 +05:30
Sidharth Vinod 50d1ce03ea Fix test 2021-10-01 19:34:26 +05:30
dependabot[bot]andGitHub 087421ab6b chore(deps): bump analytics from 0.7.14 to 0.7.15
Bumps [analytics](https://github.com/DavidWells/analytics) from 0.7.14 to 0.7.15.
- [Release notes](https://github.com/DavidWells/analytics/releases)
- [Commits](https://github.com/DavidWells/analytics/compare/analytics@0.7.14...analytics@0.7.15)

---
updated-dependencies:
- dependency-name: analytics
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-01 14:04:05 +00:00
dependabot[bot]andGitHub 7977616e1a chore(deps-dev): bump svelte from 3.43.0 to 3.43.1
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.43.0 to 3.43.1.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.43.0...v3.43.1)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-01 14:03:48 +00:00
Sidharth VinodandGitHub 3811f90e37 Merge pull request #408 from mermaid-js/dependabot/npm_and_yarn/develop/daisyui-1.14.2
chore(deps): bump daisyui from 1.14.1 to 1.14.2
2021-10-01 19:30:29 +05:30
Sidharth Vinod a1687b7da4 Use esm build 2021-10-01 19:12:48 +05:30
Sidharth Vinod 7f936e9ab5 Use esm build 2021-10-01 19:05:37 +05:30
Sidharth Vinod b28fc87b0e Use esm build 2021-10-01 18:56:07 +05:30
Sidharth Vinod 2be4c64eaf Use esm build 2021-10-01 18:55:35 +05:30
Sidharth Vinod 289ad5b969 ESM 2021-10-01 18:43:30 +05:30
Sidharth Vinod 4680245695 Use esm build 2021-10-01 18:35:09 +05:30
dependabot[bot]andGitHub 4026a83917 chore(deps-dev): bump @typescript-eslint/parser from 4.31.2 to 4.32.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.31.2 to 4.32.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.32.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-01 13:03:51 +00:00
dependabot[bot]andGitHub d9a904f77a chore(deps): bump daisyui from 1.14.1 to 1.14.2
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 1.14.1 to 1.14.2.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/compare/v1.14.1...v1.14.2)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-01 13:03:26 +00:00
dependabot[bot]andGitHub 26eed13844 chore(deps-dev): bump eslint-plugin-tailwindcss from 1.15.0 to 1.16.0
Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases)
- [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-01 13:03:12 +00:00
Sidharth Vinod 1d5ce4b2a4 Merge branch 'master' into fix/build
* master:
2021-10-01 00:39:10 +05:30
Sidharth VinodandGitHub 1652bcfbe4 Merge pull request #395 from mermaid-js/develop
Develop
2021-10-01 00:38:34 +05:30
Sidharth Vinod 31ab44718e v8.13.2 build issue 2021-10-01 00:36:44 +05:30
Sidharth VinodandGitHub 506f0f4133 Merge pull request #403 from Yash-Singh1/patch-2
Fix documentation for requirement diagram element
2021-10-01 00:17:48 +05:30
Yash SinghandGitHub 9ff8bb54eb Fix documentation for requirement diagram element 2021-09-25 16:36:16 -07:00
Sidharth VinodandGitHub 7c2cb42861 Merge pull request #398 from mermaid-js/dependabot/npm_and_yarn/develop/autoprefixer-10.3.5
chore(deps-dev): bump autoprefixer from 10.3.4 to 10.3.5
2021-09-25 14:47:21 +05:30
dependabot[bot]andGitHub c0fbd2e17b chore(deps-dev): bump autoprefixer from 10.3.4 to 10.3.5
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.3.4 to 10.3.5.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.3.4...10.3.5)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-25 08:58:25 +00:00
Sidharth VinodandGitHub 4ab170dc8b Merge pull request #402 from mermaid-js/dependabot/npm_and_yarn/develop/postcss-8.3.8
chore(deps-dev): bump postcss from 8.3.7 to 8.3.8
2021-09-25 14:25:08 +05:30
Sidharth VinodandGitHub 96780c6b38 Merge pull request #401 from mermaid-js/dependabot/npm_and_yarn/develop/sveltejs/adapter-static-1.0.0-next.20
chore(deps-dev): bump @sveltejs/adapter-static from 1.0.0-next.19 to 1.0.0-next.20
2021-09-25 14:24:59 +05:30
dependabot[bot]andGitHub acf8e48336 chore(deps-dev): bump @sveltejs/adapter-static
Bumps [@sveltejs/adapter-static](https://github.com/sveltejs/kit/tree/HEAD/packages/adapter-static) from 1.0.0-next.19 to 1.0.0-next.20.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/adapter-static/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/HEAD/packages/adapter-static)

---
updated-dependencies:
- dependency-name: "@sveltejs/adapter-static"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-25 08:26:52 +00:00
dependabot[bot]andGitHub 3bba5c0ed1 chore(deps-dev): bump postcss from 8.3.7 to 8.3.8
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.7 to 8.3.8.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.7...8.3.8)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-25 08:26:13 +00:00
Sidharth VinodandGitHub 2c567ada01 Merge pull request #400 from mermaid-js/dependabot/npm_and_yarn/develop/daisyui-1.14.1
chore(deps): bump daisyui from 1.14.0 to 1.14.1
2021-09-25 13:54:10 +05:30
Sidharth VinodandGitHub 47f8c6aa88 Merge pull request #399 from mermaid-js/dependabot/npm_and_yarn/develop/cypress-8.4.1
chore(deps-dev): bump cypress from 8.4.0 to 8.4.1
2021-09-25 13:54:03 +05:30
dependabot[bot]andGitHub 314ac81046 chore(deps): bump daisyui from 1.14.0 to 1.14.1
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/compare/v1.14.0...v1.14.1)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-25 08:02:17 +00:00
dependabot[bot]andGitHub bb1779b41c chore(deps-dev): bump cypress from 8.4.0 to 8.4.1
Bumps [cypress](https://github.com/cypress-io/cypress) from 8.4.0 to 8.4.1.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v8.4.0...v8.4.1)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-25 08:02:05 +00:00
Sidharth VinodandGitHub d1f5ff384c Merge pull request #391 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-plugin-tailwindcss-1.15.0
chore(deps-dev): bump eslint-plugin-tailwindcss from 1.14.3 to 1.15.0
2021-09-25 13:29:55 +05:30
Sidharth VinodandGitHub b8806bf784 Merge pull request #394 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-3.43.0
chore(deps-dev): bump svelte from 3.42.6 to 3.43.0
2021-09-25 13:29:47 +05:30
Sidharth VinodandGitHub ce5927c826 Merge pull request #396 from mermaid-js/dependabot/npm_and_yarn/develop/sveltejs/kit-1.0.0-next.173
chore(deps-dev): bump @sveltejs/kit from 1.0.0-next.170 to 1.0.0-next.173
2021-09-25 13:29:38 +05:30
Sidharth VinodandGitHub 05f587f4b1 Merge pull request #397 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.31.2
chore(deps-dev): bump @typescript-eslint/parser from 4.31.1 to 4.31.2
2021-09-25 13:29:30 +05:30
dependabot[bot]andGitHub f126c9905b chore(deps-dev): bump @typescript-eslint/parser from 4.31.1 to 4.31.2
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.31.1 to 4.31.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.2/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-25 07:10:23 +00:00
dependabot[bot]andGitHub 472f2f5411 chore(deps-dev): bump eslint-plugin-tailwindcss from 1.14.3 to 1.15.0
Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 1.14.3 to 1.15.0.
- [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases)
- [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v1.14.3...v1.15.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-25 07:10:14 +00:00
dependabot[bot]andGitHub abec15bfbb chore(deps-dev): bump @sveltejs/kit
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 1.0.0-next.170 to 1.0.0-next.173.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/HEAD/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-25 07:10:14 +00:00
dependabot[bot]andGitHub 871a19a8c6 chore(deps-dev): bump svelte from 3.42.6 to 3.43.0
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.42.6 to 3.43.0.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.42.6...v3.43.0)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-25 07:10:10 +00:00
Sidharth VinodandGitHub 464a728ce4 Merge pull request #392 from mermaid-js/dependabot/npm_and_yarn/develop/js-base64-3.7.2
chore(deps): bump js-base64 from 3.7.1 to 3.7.2
2021-09-25 12:36:14 +05:30
Sidharth Vinod a2084bbf42 feat: add docker compose 2021-09-25 12:35:37 +05:30
Sidharth VinodandGitHub 42805e58d5 Merge pull request #383 from mermaid-js/dependabot/npm_and_yarn/nth-check-2.0.1
chore(deps): bump nth-check from 2.0.0 to 2.0.1
2021-09-25 00:44:59 +05:30
Sidharth Vinod 15ad228b6e Merge branch 'master' into develop
* master:
2021-09-24 23:59:19 +05:30
dependabot[bot]andGitHub eecb7ca4aa chore(deps): bump js-base64 from 3.7.1 to 3.7.2
Bumps [js-base64](https://github.com/dankogai/js-base64) from 3.7.1 to 3.7.2.
- [Release notes](https://github.com/dankogai/js-base64/releases)
- [Commits](https://github.com/dankogai/js-base64/compare/3.7.1...3.7.2)

---
updated-dependencies:
- dependency-name: js-base64
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-24 17:09:21 +00:00
Sidharth VinodandGitHub 5e7143c88d Merge pull request #386 from mermaid-js/dependabot/npm_and_yarn/develop/monaco-editor-0.28.1
chore(deps): bump monaco-editor from 0.27.0 to 0.28.1
2021-09-24 22:36:10 +05:30
Sidharth VinodandGitHub 36a759887a Merge pull request #387 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.31.2
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 4.31.1 to 4.31.2
2021-09-24 22:28:16 +05:30
Sidharth VinodandGitHub ec203ab582 Merge pull request #388 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-preprocess-4.9.5
chore(deps-dev): bump svelte-preprocess from 4.9.4 to 4.9.5
2021-09-24 22:28:08 +05:30
Sidharth VinodandGitHub 7110beaca0 Merge pull request #389 from mermaid-js/dependabot/npm_and_yarn/develop/postcss-8.3.7
chore(deps-dev): bump postcss from 8.3.6 to 8.3.7
2021-09-24 22:28:00 +05:30
Sidharth VinodandGitHub 2314e1a85a Merge pull request #390 from mermaid-js/dependabot/docker/develop/node-16.10.0
chore(deps): bump node from 16.9.1 to 16.10.0
2021-09-24 22:27:52 +05:30
dependabot[bot]andGitHub 31803eae7e chore(deps): bump node from 16.9.1 to 16.10.0
Bumps node from 16.9.1 to 16.10.0.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-24 13:10:23 +00:00
dependabot[bot]andGitHub 15836ace17 chore(deps-dev): bump postcss from 8.3.6 to 8.3.7
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.6 to 8.3.7.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.6...8.3.7)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-24 13:04:22 +00:00
dependabot[bot]andGitHub a7095febbf chore(deps-dev): bump svelte-preprocess from 4.9.4 to 4.9.5
Bumps [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess) from 4.9.4 to 4.9.5.
- [Release notes](https://github.com/sveltejs/svelte-preprocess/releases)
- [Changelog](https://github.com/sveltejs/svelte-preprocess/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte-preprocess/compare/v4.9.4...v4.9.5)

---
updated-dependencies:
- dependency-name: svelte-preprocess
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-24 13:04:14 +00:00
dependabot[bot]andGitHub b23719fbb4 chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.31.1 to 4.31.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.2/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-24 13:04:04 +00:00
dependabot[bot]andGitHub c681cf60a2 chore(deps): bump monaco-editor from 0.27.0 to 0.28.1
Bumps [monaco-editor](https://github.com/Microsoft/monaco-editor) from 0.27.0 to 0.28.1.
- [Release notes](https://github.com/Microsoft/monaco-editor/releases)
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Microsoft/monaco-editor/commits)

---
updated-dependencies:
- dependency-name: monaco-editor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-24 13:03:44 +00:00
Yash SinghandGitHub bcad69e2d0 Add actor support on sequence diagram 2021-09-23 19:09:27 -07:00
dependabot[bot]andGitHub 167093d64d chore(deps): bump nth-check from 2.0.0 to 2.0.1
Bumps [nth-check](https://github.com/fb55/nth-check) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/fb55/nth-check/releases)
- [Commits](https://github.com/fb55/nth-check/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: nth-check
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-22 23:09:00 +00:00
Sidharth VinodandGitHub b9fe9f3df1 Merge pull request #382 from mermaid-js/develop
fix: #381 URL mismatch
2021-09-22 16:26:29 +05:30
Sidharth Vinod dfe32b93c0 fix: #381 URL mismatch 2021-09-22 12:05:25 +05:30
Sidharth VinodandGitHub f76c89ff1f Merge pull request #380 from mermaid-js/develop
Develop
2021-09-20 23:41:15 +05:30
Sidharth Vinod 07f28f2baf docs: Update beta release docs 2021-09-20 23:40:59 +05:30
Sidharth Vinod 814869d4b6 Merge branch 'master' into develop
* master: (26 commits)
  Add tests for themes
  Fix: Light theme not being set by default
  Apply suggestions from code review
  chore: rename theme
  fix: Mermaid Theme
  fix: menu width
  fix: Use span instead of a in menu
  Update src/lib/components/navbar.svelte
  [ImgBot] Optimize images
  Add powered by netlify
  add netlify badge
  test deploy
  update test
  update
  fix: resize CSS
  fix: ResizeHandler
  fix: Auto sync margin
  fix: Scroll
  chore: Update daisyUI
  fix: Aqua dark
  ...
2021-09-20 23:34:30 +05:30
Sidharth Vinod 9e2b03c1d8 Update svelteKit 2021-09-20 23:34:00 +05:30
Sidharth VinodandGitHub 7e1957ca13 Merge pull request #296 from mermaid-js/daisyUI
Themes
2021-09-19 16:25:31 +05:30
Sidharth Vinod 687ac6428b Add tests for themes 2021-09-18 10:52:14 +05:30
Sidharth Vinod 45c5958b56 Fix: Light theme not being set by default 2021-09-18 10:10:53 +05:30
Sidharth Vinod 15a90149be Merge branch 'master' into daisyUI
* master:
  Fix " > base64State is not defined"
  chore(deps-dev): bump svelte-preprocess from 4.8.0 to 4.9.4
  chore(deps-dev): bump eslint-plugin-cypress from 2.11.3 to 2.12.1
  chore(deps-dev): bump cypress from 8.3.1 to 8.4.0
  chore(deps-dev): bump @typescript-eslint/eslint-plugin
  chore(deps): bump js-base64 from 3.7.0 to 3.7.1
  chore(deps-dev): bump svelte from 3.42.5 to 3.42.6
  chore(deps): bump node from 16.9.0 to 16.9.1
  chore(deps-dev): bump prettier from 2.4.0 to 2.4.1
  chore(deps-dev): bump @sveltejs/adapter-static
  chore(deps-dev): bump @typescript-eslint/parser from 4.31.0 to 4.31.1
2021-09-18 10:04:10 +05:30
Sidharth VinodandGitHub 649bfee23c Merge pull request #373 from mermaid-js/develop
Develop
2021-09-18 10:01:01 +05:30
Sidharth Vinod 113c50e255 Fix " > base64State is not defined" 2021-09-17 23:51:26 +05:30
Sidharth VinodandGitHub 4804046d9f Merge pull request #356 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-preprocess-4.9.4
chore(deps-dev): bump svelte-preprocess from 4.8.0 to 4.9.4
2021-09-17 19:47:37 +05:30
Sidharth VinodandGitHub 5a8f28b229 Merge pull request #375 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.31.1
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 4.31.0 to 4.31.1
2021-09-17 19:47:27 +05:30
Sidharth VinodandGitHub 0e38b66461 Merge pull request #378 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-plugin-cypress-2.12.1
chore(deps-dev): bump eslint-plugin-cypress from 2.11.3 to 2.12.1
2021-09-17 19:47:19 +05:30
Sidharth VinodandGitHub 5ea4267768 Merge pull request #377 from mermaid-js/dependabot/npm_and_yarn/develop/cypress-8.4.0
chore(deps-dev): bump cypress from 8.3.1 to 8.4.0
2021-09-17 19:47:08 +05:30
30651c41de Apply suggestions from code review
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
2021-09-17 19:46:28 +05:30
Sidharth Vinod 2868870065 chore: rename theme 2021-09-17 19:41:50 +05:30
Sidharth Vinod 4ed439b3ad fix: Mermaid Theme 2021-09-17 19:39:27 +05:30
Sidharth Vinod d2673d5326 Merge branch 'master' into daisyUI
* master: (25 commits)
  chore(deps-dev): bump typescript from 4.4.2 to 4.4.3
  chore(deps-dev): bump svelte from 3.42.4 to 3.42.5
  chore(deps): bump js-base64 from 3.6.2 to 3.7.0
  chore(deps): bump node from 16.8.0 to 16.9.0
  Skip beta deploy
  [ImgBot] Optimize images
  Dont allow lookbehind in regexp
  Fix no lookbehinds in comments
  chore(deps-dev): bump tailwindcss from 2.2.11 to 2.2.15
  chore(deps-dev): bump eslint-plugin-svelte3 from 3.2.0 to 3.2.1
  chore(deps-dev): bump prettier from 2.3.2 to 2.4.0
  Test deploy on PRs
  Fix manifest issue
  Update node
  Add back Highlighting. #340
  chore(deps-dev): bump @typescript-eslint/eslint-plugin
  chore(deps-dev): bump @typescript-eslint/parser from 4.30.0 to 4.31.0
  chore(deps): bump js-base64 from 3.6.1 to 3.6.2
  chore(deps-dev): bump tailwindcss from 2.2.9 to 2.2.11
  chore(deps): bump node from 14.17.0 to 16.8.0
  ...
2021-09-17 19:19:54 +05:30
dependabot[bot]andGitHub a14c9a7e9d chore(deps-dev): bump svelte-preprocess from 4.8.0 to 4.9.4
Bumps [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess) from 4.8.0 to 4.9.4.
- [Release notes](https://github.com/sveltejs/svelte-preprocess/releases)
- [Changelog](https://github.com/sveltejs/svelte-preprocess/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte-preprocess/compare/v4.8.0...v4.9.4)

---
updated-dependencies:
- dependency-name: svelte-preprocess
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-17 13:49:07 +00:00
dependabot[bot]andGitHub 2ecd56fe8a chore(deps-dev): bump eslint-plugin-cypress from 2.11.3 to 2.12.1
Bumps [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) from 2.11.3 to 2.12.1.
- [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases)
- [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v2.11.3...v2.12.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-17 13:48:58 +00:00
dependabot[bot]andGitHub 41c1ed8c5d chore(deps-dev): bump cypress from 8.3.1 to 8.4.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 8.3.1 to 8.4.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v8.3.1...v8.4.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-17 13:48:49 +00:00
dependabot[bot]andGitHub efdfba2812 chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.31.0 to 4.31.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-17 13:48:45 +00:00
Sidharth VinodandGitHub eb33a59ac2 Merge pull request #372 from mermaid-js/dependabot/docker/develop/node-16.9.1
chore(deps): bump node from 16.9.0 to 16.9.1
2021-09-17 19:16:58 +05:30
Sidharth VinodandGitHub 89c64ae0cb Merge pull request #376 from mermaid-js/dependabot/npm_and_yarn/develop/js-base64-3.7.1
chore(deps): bump js-base64 from 3.7.0 to 3.7.1
2021-09-17 19:16:47 +05:30
Sidharth VinodandGitHub e094efabf6 Merge pull request #374 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-3.42.6
chore(deps-dev): bump svelte from 3.42.5 to 3.42.6
2021-09-17 19:16:39 +05:30
Sidharth Vinod 2b757cc433 fix: menu width 2021-09-17 19:16:05 +05:30
Sidharth Vinod b890622543 fix: Use span instead of a in menu 2021-09-17 19:08:23 +05:30
dependabot[bot]andGitHub cf3457a983 chore(deps): bump js-base64 from 3.7.0 to 3.7.1
Bumps [js-base64](https://github.com/dankogai/js-base64) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/dankogai/js-base64/releases)
- [Commits](https://github.com/dankogai/js-base64/compare/3.7.0...3.7.1)

---
updated-dependencies:
- dependency-name: js-base64
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-17 13:17:11 +00:00
dependabot[bot]andGitHub 40b21f05de chore(deps-dev): bump svelte from 3.42.5 to 3.42.6
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.42.5 to 3.42.6.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.42.5...v3.42.6)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-17 13:16:32 +00:00
91fe1911fb Update src/lib/components/navbar.svelte
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
2021-09-17 18:43:40 +05:30
Sidharth VinodandGitHub 6fc2968901 Merge pull request #368 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.31.1
chore(deps-dev): bump @typescript-eslint/parser from 4.31.0 to 4.31.1
2021-09-17 18:42:54 +05:30
Sidharth VinodandGitHub 61fa0bda71 Merge pull request #370 from mermaid-js/dependabot/npm_and_yarn/develop/prettier-2.4.1
chore(deps-dev): bump prettier from 2.4.0 to 2.4.1
2021-09-17 18:42:40 +05:30
Sidharth VinodandGitHub 55149fa616 Merge pull request #369 from mermaid-js/dependabot/npm_and_yarn/develop/sveltejs/adapter-static-1.0.0-next.19
chore(deps-dev): bump @sveltejs/adapter-static from 1.0.0-next.18 to 1.0.0-next.19
2021-09-17 18:42:28 +05:30
dependabot[bot]andGitHub 0dc8582bd6 chore(deps): bump node from 16.9.0 to 16.9.1
Bumps node from 16.9.0 to 16.9.1.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-17 13:10:29 +00:00
dependabot[bot]andGitHub 7517614429 chore(deps-dev): bump prettier from 2.4.0 to 2.4.1
Bumps [prettier](https://github.com/prettier/prettier) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.4.0...2.4.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-17 13:03:00 +00:00
dependabot[bot]andGitHub 1cc55e210a chore(deps-dev): bump @sveltejs/adapter-static
Bumps [@sveltejs/adapter-static](https://github.com/sveltejs/kit/tree/HEAD/packages/adapter-static) from 1.0.0-next.18 to 1.0.0-next.19.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/adapter-static/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/HEAD/packages/adapter-static)

---
updated-dependencies:
- dependency-name: "@sveltejs/adapter-static"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-17 13:02:48 +00:00
dependabot[bot]andGitHub 1f0e6e7a36 chore(deps-dev): bump @typescript-eslint/parser from 4.31.0 to 4.31.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.31.0 to 4.31.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-17 13:02:30 +00:00
Sidharth VinodandGitHub 548f3206ad Merge pull request #366 from Yash-Singh1/master
Optimize images with `imgbot`
2021-09-14 19:58:24 +05:30
Yash SinghandGitHub 782cf66274 Merge pull request #1 from Yash-Singh1/imgbot
[ImgBot] Optimize images
2021-09-13 16:38:37 -07:00
Sidharth VinodandGitHub 21049c7fff Merge pull request #365 from mermaid-js/develop
Develop
2021-09-13 22:40:05 +05:30
Sidharth VinodandGitHub 6b0183fbe9 Merge pull request #363 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-3.42.5
chore(deps-dev): bump svelte from 3.42.4 to 3.42.5
2021-09-13 21:37:58 +05:30
Sidharth VinodandGitHub 94c4ea3322 Merge pull request #364 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-4.4.3
chore(deps-dev): bump typescript from 4.4.2 to 4.4.3
2021-09-13 21:37:50 +05:30
dependabot[bot]andGitHub 9ba0b53a10 chore(deps-dev): bump typescript from 4.4.2 to 4.4.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.2...v4.4.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 15:58:30 +00:00
dependabot[bot]andGitHub 86be314d2c chore(deps-dev): bump svelte from 3.42.4 to 3.42.5
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.42.4 to 3.42.5.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.42.4...v3.42.5)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 15:58:09 +00:00
Sidharth VinodandGitHub 07a2bb8ca1 Merge pull request #360 from Yash-Singh1/fixNoLookBehindComment
Fix no lookbehinds in comments
2021-09-13 21:26:10 +05:30
Sidharth VinodandGitHub d683a80f40 Merge pull request #359 from mermaid-js/dependabot/docker/develop/node-16.9.0
chore(deps): bump node from 16.8.0 to 16.9.0
2021-09-13 21:25:49 +05:30
Sidharth VinodandGitHub 6d47808298 Merge pull request #357 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-plugin-svelte3-3.2.1
chore(deps-dev): bump eslint-plugin-svelte3 from 3.2.0 to 3.2.1
2021-09-13 21:25:39 +05:30
Sidharth VinodandGitHub f9d1c55f25 Merge pull request #358 from mermaid-js/dependabot/npm_and_yarn/develop/tailwindcss-2.2.15
chore(deps-dev): bump tailwindcss from 2.2.11 to 2.2.15
2021-09-13 21:25:30 +05:30
Sidharth VinodandGitHub d9b475a82f Merge pull request #362 from mermaid-js/dependabot/npm_and_yarn/develop/js-base64-3.7.0
chore(deps): bump js-base64 from 3.6.2 to 3.7.0
2021-09-13 21:25:17 +05:30
dependabot[bot]andGitHub 0b938cefa8 chore(deps): bump js-base64 from 3.6.2 to 3.7.0
Bumps [js-base64](https://github.com/dankogai/js-base64) from 3.6.2 to 3.7.0.
- [Release notes](https://github.com/dankogai/js-base64/releases)
- [Commits](https://github.com/dankogai/js-base64/compare/3.6.2...3.7.0)

---
updated-dependencies:
- dependency-name: js-base64
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 15:39:41 +00:00
Sidharth VinodandGitHub 2637621671 Merge pull request #355 from mermaid-js/dependabot/npm_and_yarn/develop/prettier-2.4.0
chore(deps-dev): bump prettier from 2.3.2 to 2.4.0
2021-09-13 21:06:48 +05:30
dependabot[bot]andGitHub 44281abb4e chore(deps): bump node from 16.8.0 to 16.9.0
Bumps node from 16.8.0 to 16.9.0.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 15:36:48 +00:00
Sidharth VinodandGitHub 007e6f1896 Merge pull request #361 from mermaid-js/develop
Skip beta deploy
2021-09-13 20:42:20 +05:30
Sidharth Vinod 479fe86ca5 Skip beta deploy 2021-09-13 10:53:06 +05:30
ImgBotApp deb449cf4f [ImgBot] Optimize images
*Total -- 109.33kb -> 75.69kb (30.77%)

/static/icon-512.png -- 78.09kb -> 47.40kb (39.3%)
/static/icon-192.png -- 15.46kb -> 12.59kb (18.56%)
/static/favicon.png -- 15.78kb -> 15.70kb (0.48%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-09-11 22:09:11 +00:00
Yash-Singh1 ebd7a9cdb4 Dont allow lookbehind in regexp 2021-09-11 12:24:35 -07:00
Yash-Singh1 5e5c869ada Fix no lookbehinds in comments 2021-09-11 12:22:14 -07:00
dependabot[bot]andGitHub 6532a9a947 chore(deps-dev): bump tailwindcss from 2.2.11 to 2.2.15
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 2.2.11 to 2.2.15.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v2.2.15)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-10 13:03:29 +00:00
dependabot[bot]andGitHub 36c16781b5 chore(deps-dev): bump eslint-plugin-svelte3 from 3.2.0 to 3.2.1
Bumps [eslint-plugin-svelte3](https://github.com/sveltejs/eslint-plugin-svelte3) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/sveltejs/eslint-plugin-svelte3/releases)
- [Changelog](https://github.com/sveltejs/eslint-plugin-svelte3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/eslint-plugin-svelte3/compare/v3.2.0...v3.2.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-svelte3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-10 13:03:18 +00:00
dependabot[bot]andGitHub 2c4b8246c8 chore(deps-dev): bump prettier from 2.3.2 to 2.4.0
Bumps [prettier](https://github.com/prettier/prettier) from 2.3.2 to 2.4.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.3.2...2.4.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-10 13:02:55 +00:00
Sidharth VinodandGitHub cacf434709 Merge pull request #354 from mermaid-js/develop
Develop
2021-09-10 11:39:56 +05:30
Sidharth Vinod fa8a261fed Test deploy on PRs 2021-09-10 11:33:36 +05:30
Sidharth Vinod dab9761e6e Fix manifest issue 2021-09-10 11:30:36 +05:30
Sidharth VinodandGitHub c32d5e565d Merge pull request #352 from mermaid-js/develop
Develop
2021-09-10 10:47:44 +05:30
Sidharth Vinod 2328294f1b Update node 2021-09-10 10:33:35 +05:30
Sidharth Vinod 7abb08cdff Merge branch 'develop' of https://github.com/mermaid-js/mermaid-live-editor into develop
* 'develop' of https://github.com/mermaid-js/mermaid-live-editor:
  chore(deps): bump node from 14.17.0 to 16.8.0
2021-09-10 10:30:14 +05:30
Sidharth VinodandGitHub 570c2f4c8b Merge pull request #346 from mermaid-js/dependabot/docker/develop/node-16.8.0
chore(deps): bump node from 14.17.0 to 16.8.0
2021-09-10 10:30:08 +05:30
Sidharth Vinod 8c9e29c3da Add back Highlighting. #340 2021-09-10 10:29:50 +05:30
Sidharth VinodandGitHub 5a806c0d56 Merge pull request #350 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.31.0
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 4.30.0 to 4.31.0
2021-09-09 08:40:33 +05:30
dependabot[bot]andGitHub 740c9c827e chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.30.0 to 4.31.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-08 06:15:46 +00:00
Sidharth VinodandGitHub 2e8ac60684 Merge pull request #348 from mermaid-js/dependabot/npm_and_yarn/develop/js-base64-3.6.2
chore(deps): bump js-base64 from 3.6.1 to 3.6.2
2021-09-08 11:42:29 +05:30
Sidharth VinodandGitHub 339c023447 Merge pull request #349 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.31.0
chore(deps-dev): bump @typescript-eslint/parser from 4.30.0 to 4.31.0
2021-09-08 11:42:14 +05:30
Sidharth VinodandGitHub ca9d6faaed Merge pull request #347 from mermaid-js/dependabot/npm_and_yarn/develop/tailwindcss-2.2.11
chore(deps-dev): bump tailwindcss from 2.2.9 to 2.2.11
2021-09-08 11:42:02 +05:30
Sidharth Vinod 40a0c22d56 Merge branch 'master' into develop
* master:
  rollback #288 due to #338
  hide netlify on github
  format netlify
  hide netlify on github
  Fix clock
  Fix clock
  Fix test
  Fix test
  Fix test
  Fix test
  remove eslint ignors
  Fix test
  Add powered by netlify
2021-09-08 11:37:46 +05:30
dependabot[bot]andGitHub 129c296121 chore(deps-dev): bump @typescript-eslint/parser from 4.30.0 to 4.31.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.30.0 to 4.31.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-08 06:07:28 +00:00
dependabot[bot]andGitHub 7491d8fd99 chore(deps): bump js-base64 from 3.6.1 to 3.6.2
Bumps [js-base64](https://github.com/dankogai/js-base64) from 3.6.1 to 3.6.2.
- [Release notes](https://github.com/dankogai/js-base64/releases)
- [Commits](https://github.com/dankogai/js-base64/compare/3.6.1...3.6.2)

---
updated-dependencies:
- dependency-name: js-base64
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-08 06:07:08 +00:00
dependabot[bot]andGitHub 3db6543024 chore(deps-dev): bump tailwindcss from 2.2.9 to 2.2.11
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 2.2.9 to 2.2.11.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-08 06:06:54 +00:00
Sidharth VinodandGitHub 26afd28a85 Merge pull request #345 from mermaid-js/dependabot/github_actions/develop/actions/stale-4
chore(deps): bump actions/stale from 3 to 4
2021-09-08 11:36:25 +05:30
dependabot[bot]andGitHub fbb93ab813 chore(deps): bump node from 14.17.0 to 16.8.0
Bumps node from 14.17.0 to 16.8.0.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-08 06:05:01 +00:00
dependabot[bot]andGitHub 2a24199756 chore(deps): bump actions/stale from 3 to 4
Bumps [actions/stale](https://github.com/actions/stale) from 3 to 4.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-08 06:04:48 +00:00
Sidharth VinodandGitHub 52afad3e97 Merge pull request #343 from mermaid-js/develop
Develop
2021-09-08 11:34:28 +05:30
Sidharth VinodandGitHub 1810dad5f9 Merge pull request #330 from mermaid-js/dependabot/npm_and_yarn/develop/sveltejs/adapter-static-1.0.0-next.18
chore(deps-dev): bump @sveltejs/adapter-static from 1.0.0-next.17 to 1.0.0-next.18
2021-09-08 11:09:17 +05:30
Sidharth VinodandGitHub b40506bd9f Merge pull request #334 from mermaid-js/dependabot/npm_and_yarn/develop/autoprefixer-10.3.4
chore(deps-dev): bump autoprefixer from 10.3.3 to 10.3.4
2021-09-08 10:55:41 +05:30
Sidharth VinodandGitHub dc9cff4a2d Merge pull request #342 from mmorel-35/patch-1
chore(dependabot) : add github-actions and docker
2021-09-08 10:54:09 +05:30
Matthieu MORELandGitHub b4f3e42da3 chore(dependabot) : add github-actions and docker 2021-09-08 07:05:22 +02:00
Sidharth VinodandGitHub c7e8e8625f Merge pull request #339 from mermaid-js/fix/Safari
rollback #288 due to #338
2021-09-08 10:15:25 +05:30
Sidharth Vinod 5e94ea222c rollback #288 due to #338 2021-09-08 10:08:13 +05:30
Sidharth Vinod 8e6898b5d5 Merge branch 'master' into daisyUI
* master:
  hide netlify on github
  format netlify
  hide netlify on github
  Fix clock
  Fix clock
  Update mermaid
  Fix test
  Fix test
  Fix test
  Fix test
  remove eslint ignors
  Fix test
  Add powered by netlify
2021-09-07 00:29:11 +05:30
Sidharth VinodandGitHub 7d1c3a153f Merge pull request #336 from mermaid-js/develop
Update mermaid
2021-09-07 00:26:42 +05:30
Sidharth VinodandGitHub 7641b2e25c Merge pull request #337 from mermaid-js/netlify
Netlify
2021-09-05 22:43:59 +05:30
Sidharth Vinod f9b92d6026 hide netlify on github 2021-09-05 17:59:39 +05:30
Sidharth Vinod 952791cb5f Merge branch 'master' into netlify
* master:
2021-09-05 17:55:18 +05:30
Sidharth Vinod d4110403e6 format netlify 2021-09-05 17:53:24 +05:30
Sidharth Vinod 533970d83f hide netlify on github 2021-09-05 17:49:18 +05:30
Sidharth VinodandGitHub bcd6bb5f11 Merge pull request #335 from mermaid-js/netlify
Add powered by netlify
2021-09-05 17:40:39 +05:30
Sidharth Vinod d40d476ea1 Fix clock 2021-09-05 17:34:22 +05:30
Sidharth Vinod 90bc10577e Fix clock 2021-09-05 17:33:34 +05:30
dependabot[bot]andGitHub 1e5a516679 chore(deps-dev): bump autoprefixer from 10.3.3 to 10.3.4
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.3.3 to 10.3.4.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.3.3...10.3.4)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-05 11:40:02 +00:00
Sidharth Vinod c213366181 Update mermaid 2021-09-05 17:07:36 +05:30
Sidharth Vinod 6d0919fcda Fix test 2021-09-05 17:05:42 +05:30
Sidharth Vinod 5818db68f7 Fix test 2021-09-05 16:50:32 +05:30
Sidharth Vinod 8a0a2c83eb Fix test 2021-09-05 16:50:10 +05:30
Sidharth Vinod 2c516f395e Fix test 2021-09-05 16:42:18 +05:30
Sidharth Vinod 7738e3ee48 remove eslint ignors 2021-09-05 16:41:01 +05:30
Sidharth Vinod f4fd865c81 Fix test 2021-09-05 16:40:11 +05:30
Sidharth Vinod 8bbfa59a32 Add powered by netlify 2021-09-05 16:33:59 +05:30
Sidharth Vinod 70ed3a4700 Add powered by netlify 2021-09-05 16:30:18 +05:30
Sidharth Vinod 0fd98ce271 add netlify badge 2021-09-05 16:17:02 +05:30
Sidharth Vinod 4e37ea9c8f test deploy 2021-09-05 16:09:57 +05:30
Sidharth Vinod 47bf6b8867 Merge branch 'master' into daisyUI
* master:
2021-09-03 22:56:04 +05:30
Sidharth VinodandGitHub c3ed8ae636 Merge pull request #311 from mermaid-js/develop
Develop
2021-09-03 22:55:39 +05:30
dependabot[bot]andGitHub cd42d0dee0 chore(deps-dev): bump @sveltejs/adapter-static
Bumps @sveltejs/adapter-static from 1.0.0-next.17 to 1.0.0-next.18.

---
updated-dependencies:
- dependency-name: "@sveltejs/adapter-static"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 14:24:18 +00:00
Sidharth Vinod dc47b749f2 Merge branch 'develop' into daisyUI
* develop:
  chore(deps): bump analytics from 0.7.13 to 0.7.14
  chore(deps-dev): bump svelte from 3.42.3 to 3.42.4
  chore(deps-dev): bump @typescript-eslint/parser from 4.29.2 to 4.30.0
2021-09-03 19:54:04 +05:30
Sidharth VinodandGitHub c0215f0e04 Merge pull request #331 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-3.42.4
chore(deps-dev): bump svelte from 3.42.3 to 3.42.4
2021-09-03 19:50:22 +05:30
Sidharth VinodandGitHub 644faf8700 Merge pull request #333 from mermaid-js/dependabot/npm_and_yarn/develop/analytics-0.7.14
chore(deps): bump analytics from 0.7.13 to 0.7.14
2021-09-03 19:50:05 +05:30
Sidharth Vinod 830ecaa8af update test 2021-09-03 19:38:59 +05:30
dependabot[bot]andGitHub 17a1ce6548 chore(deps): bump analytics from 0.7.13 to 0.7.14
Bumps [analytics](https://github.com/DavidWells/analytics) from 0.7.13 to 0.7.14.
- [Release notes](https://github.com/DavidWells/analytics/releases)
- [Commits](https://github.com/DavidWells/analytics/compare/analytics@0.7.13...analytics@0.7.14)

---
updated-dependencies:
- dependency-name: analytics
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 14:04:03 +00:00
dependabot[bot]andGitHub a5cf1a1cd6 chore(deps-dev): bump svelte from 3.42.3 to 3.42.4
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.42.3 to 3.42.4.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.42.3...v3.42.4)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 14:04:00 +00:00
Sidharth VinodandGitHub 23ffef7843 Merge pull request #329 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.30.0
chore(deps-dev): bump @typescript-eslint/parser from 4.29.2 to 4.30.0
2021-09-03 19:30:02 +05:30
dependabot[bot]andGitHub ec23d055cc chore(deps-dev): bump @typescript-eslint/parser from 4.29.2 to 4.30.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.29.2 to 4.30.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.30.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 04:10:10 +00:00
Sidharth Vinod 0897aca3b9 update 2021-09-03 09:36:31 +05:30
Sidharth Vinod 05bcfb13ca Merge branch 'develop' into daisyUI
* develop: (50 commits)
  update
  chore(deps-dev): bump tailwindcss from 2.2.7 to 2.2.9
  chore(deps-dev): bump prettier-plugin-svelte from 2.3.1 to 2.4.0
  chore(deps-dev): bump @typescript-eslint/eslint-plugin
  chore(deps-dev): bump mocha from 9.1.0 to 9.1.1
  chore(deps-dev): bump husky from 7.0.1 to 7.0.2
  Comment support
  Add variables, types, and multiple refactors and fixes
  colons are brackets in class diagrams
  Remove unneccessary groups
  Refactor syntax highlighting
  chore(deps-dev): bump svelte-preprocess from 4.7.4 to 4.8.0
  chore(deps-dev): bump cypress from 8.3.0 to 8.3.1
  chore(deps-dev): bump @typescript-eslint/eslint-plugin
  chore(deps-dev): bump typescript from 4.3.5 to 4.4.2
  chore(deps-dev): bump autoprefixer from 10.3.1 to 10.3.3
  chore(deps-dev): bump svelte from 3.42.2 to 3.42.3
  Gitgraph options
  Directives highlighting
  Requirement diagrams
  ...
2021-09-03 09:36:20 +05:30
Sidharth Vinod 3402c86bf2 Merge branch 'develop' of https://github.com/mermaid-js/mermaid-live-editor into develop
* 'develop' of https://github.com/mermaid-js/mermaid-live-editor:
  chore(deps-dev): bump tailwindcss from 2.2.7 to 2.2.9
  chore(deps-dev): bump prettier-plugin-svelte from 2.3.1 to 2.4.0
2021-09-03 09:34:08 +05:30
Sidharth Vinod 5a307c3547 update 2021-09-03 09:34:04 +05:30
Sidharth VinodandGitHub 8c46f9a892 Merge pull request #328 from mermaid-js/dependabot/npm_and_yarn/develop/prettier-plugin-svelte-2.4.0
chore(deps-dev): bump prettier-plugin-svelte from 2.3.1 to 2.4.0
2021-09-03 09:33:22 +05:30
Sidharth VinodandGitHub 48f5853d03 Merge pull request #323 from mermaid-js/dependabot/npm_and_yarn/develop/tailwindcss-2.2.9
chore(deps-dev): bump tailwindcss from 2.2.7 to 2.2.9
2021-09-03 09:33:11 +05:30
dependabot[bot]andGitHub 8b39836353 chore(deps-dev): bump tailwindcss from 2.2.7 to 2.2.9
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 2.2.7 to 2.2.9.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v2.2.7...v2.2.9)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 03:59:20 +00:00
Sidharth VinodandGitHub 3c6b14cee3 Merge pull request #288 from Yash-Singh1/patch-2
Improve Syntax Highlighting
2021-09-03 09:28:53 +05:30
dependabot[bot]andGitHub 015e112e6b chore(deps-dev): bump prettier-plugin-svelte from 2.3.1 to 2.4.0
Bumps [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/sveltejs/prettier-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/prettier-plugin-svelte/compare/v2.3.1...v2.4.0)

---
updated-dependencies:
- dependency-name: prettier-plugin-svelte
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 03:56:24 +00:00
Sidharth VinodandGitHub cb6bf6570d Merge pull request #325 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.30.0
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 4.29.3 to 4.30.0
2021-09-03 09:22:58 +05:30
Sidharth VinodandGitHub 8ee71a6f08 Merge pull request #326 from mermaid-js/dependabot/npm_and_yarn/develop/mocha-9.1.1
chore(deps-dev): bump mocha from 9.1.0 to 9.1.1
2021-09-03 09:22:49 +05:30
dependabot[bot]andGitHub 7ad1c2098c chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.29.3 to 4.30.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.30.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-02 06:15:36 +00:00
dependabot[bot]andGitHub 2c0d7db7cc chore(deps-dev): bump mocha from 9.1.0 to 9.1.1
Bumps [mocha](https://github.com/mochajs/mocha) from 9.1.0 to 9.1.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.1.0...v9.1.1)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-02 06:11:54 +00:00
Sidharth VinodandGitHub 5ce24780c0 Merge pull request #324 from mermaid-js/dependabot/npm_and_yarn/develop/husky-7.0.2
chore(deps-dev): bump husky from 7.0.1 to 7.0.2
2021-09-02 11:37:13 +05:30
dependabot[bot]andGitHub ad1cec76c7 chore(deps-dev): bump husky from 7.0.1 to 7.0.2
Bumps [husky](https://github.com/typicode/husky) from 7.0.1 to 7.0.2.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v7.0.1...v7.0.2)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-01 04:39:37 +00:00
Sidharth VinodandGitHub bdd6ca2c3d Merge pull request #317 from mermaid-js/dependabot/npm_and_yarn/develop/cypress-8.3.1
chore(deps-dev): bump cypress from 8.3.0 to 8.3.1
2021-09-01 10:05:45 +05:30
Sidharth VinodandGitHub 9f05ec4460 Merge pull request #318 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-preprocess-4.8.0
chore(deps-dev): bump svelte-preprocess from 4.7.4 to 4.8.0
2021-09-01 10:05:36 +05:30
Sidharth VinodandGitHub 6701dd2dd7 Merge pull request #319 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.29.3
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 4.29.2 to 4.29.3
2021-09-01 10:05:25 +05:30
Yash-Singh1 5bcb495569 Comment support 2021-08-29 19:42:27 -07:00
Yash-Singh1 4bdb5a0750 Add variables, types, and multiple refactors and fixes 2021-08-29 19:34:21 -07:00
Yash-Singh1 51c9488d0e colons are brackets in class diagrams 2021-08-29 12:46:21 -07:00
Yash-Singh1 65a1fa72a0 Remove unneccessary groups 2021-08-29 12:44:36 -07:00
Yash-Singh1 abc63488a1 Merge branch 'develop' of github.com:mermaid-js/mermaid-live-editor into patch-2 2021-08-29 12:02:32 -07:00
Yash-Singh1 a49819e120 Refactor syntax highlighting 2021-08-29 11:56:49 -07:00
dependabot[bot]andGitHub 980706b487 chore(deps-dev): bump svelte-preprocess from 4.7.4 to 4.8.0
Bumps [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess) from 4.7.4 to 4.8.0.
- [Release notes](https://github.com/sveltejs/svelte-preprocess/releases)
- [Changelog](https://github.com/sveltejs/svelte-preprocess/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte-preprocess/compare/v4.7.4...v4.8.0)

---
updated-dependencies:
- dependency-name: svelte-preprocess
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-28 04:01:58 +00:00
dependabot[bot]andGitHub 7fc789ab0f chore(deps-dev): bump cypress from 8.3.0 to 8.3.1
Bumps [cypress](https://github.com/cypress-io/cypress) from 8.3.0 to 8.3.1.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v8.3.0...v8.3.1)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-28 04:01:45 +00:00
dependabot[bot]andGitHub f245180882 chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.29.2 to 4.29.3.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.29.3/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-28 04:01:27 +00:00
Sidharth VinodandGitHub bb7b4d3f78 Merge pull request #313 from mermaid-js/dependabot/npm_and_yarn/develop/autoprefixer-10.3.3
chore(deps-dev): bump autoprefixer from 10.3.1 to 10.3.3
2021-08-28 09:27:53 +05:30
Sidharth VinodandGitHub d617524172 Merge pull request #312 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-3.42.3
chore(deps-dev): bump svelte from 3.42.2 to 3.42.3
2021-08-27 22:01:23 +05:30
Sidharth VinodandGitHub 834db65ecd Merge pull request #316 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-4.4.2
chore(deps-dev): bump typescript from 4.3.5 to 4.4.2
2021-08-27 22:01:07 +05:30
dependabot[bot]andGitHub 4238f1285c chore(deps-dev): bump typescript from 4.3.5 to 4.4.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.5 to 4.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.5...v4.4.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-27 13:03:40 +00:00
dependabot[bot]andGitHub bba0ae4ba1 chore(deps-dev): bump autoprefixer from 10.3.1 to 10.3.3
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.3.1 to 10.3.3.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.3.1...10.3.3)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-27 13:02:53 +00:00
dependabot[bot]andGitHub f612a5c703 chore(deps-dev): bump svelte from 3.42.2 to 3.42.3
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.42.2 to 3.42.3.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.42.2...v3.42.3)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-27 13:02:43 +00:00
Yash-Singh1 0b6dbf6857 Merge branch 'develop' of github.com:mermaid-js/mermaid-live-editor into patch-2 2021-08-22 15:41:41 -07:00
Yash-Singh1 1358185692 Gitgraph options 2021-08-22 14:54:26 -07:00
Yash-Singh1 b8d4ada693 Directives highlighting 2021-08-22 13:59:11 -07:00
Yash-Singh1 b34942355f Requirement diagrams 2021-08-22 13:06:49 -07:00
Yash-Singh1 c8e217d0c9 Git graphs 2021-08-22 11:47:29 -07:00
Yash-Singh1 536db58698 Pie charts 2021-08-22 11:45:07 -07:00
Yash-Singh1 d6d987e962 Ganntt diagrams 2021-08-22 11:17:20 -07:00
Yash-Singh1 4ae314c5c0 User-journey diagrams 2021-08-22 11:14:11 -07:00
Yash-Singh1 6868b0d761 Entity relationship diagrams 2021-08-22 11:11:28 -07:00
Yash-Singh1 0dd010336a States are blocks and notes 2021-08-22 11:04:14 -07:00
Yash-Singh1 d7e7121666 Allow scroll behind end to prevent suggestion cuts 2021-08-22 11:01:43 -07:00
Yash-Singh1 bfa35ca86e States 2021-08-22 11:00:52 -07:00
Yash-Singh1 d7a6ac2aa7 stateDiagram-v2 2021-08-22 10:57:20 -07:00
Yash-Singh1 3f843f29bf directives arent comments 2021-08-22 10:06:37 -07:00
Yash-Singh1 bcb8031c8f style comments 2021-08-22 09:52:31 -07:00
Yash-Singh1 b60718a18e Prevent dup keywords 2021-08-22 09:50:35 -07:00
Yash-Singh1 db5ce6b74b block keyword highlighting and class is also a normal keyword 2021-08-22 09:45:46 -07:00
Sidharth Vinod a1a085e526 fix: Writable 2021-08-22 19:32:35 +05:30
Sidharth Vinod 6675267d45 Merge branch 'master' into develop
* master:
  fix: renovate
  Create renovate.json
  fix(gist): warnings
  Gist URL
  Fix base path
  Fix tests
  Fix gist loading and code not updating issue
  Fix loading issue
  Loading Gist
  More tests
  Format names
  Fix test
  Show git revision history
  Fix file name
  Update file names
  Fix types
  Load data from urls
  Load data from gists
2021-08-22 18:56:00 +05:30
Sidharth Vinod 00bdd4500e chore: Update svelte 2021-08-22 18:55:48 +05:30
Yash-Singh1 7a04384b7d class is a block and its snippet 2021-08-21 21:00:06 -07:00
Yash-Singh1 ea0e8b9883 class, annotations, callbacks, classes, and much more 2021-08-21 20:55:50 -07:00
Yash-Singh1 7ef1f1325b finally...done...with...regexp 2021-08-21 20:30:01 -07:00
Yash-Singh1 3b5af96ab0 Keyword snippets 2021-08-21 19:38:03 -07:00
Yash-Singh1 3a4c437536 Auto closing brackets 2021-08-21 19:21:24 -07:00
Sidharth Vinod 4de2c97fbe Merge branch 'master' into daisyUI
* master:
  chore: Update monaco
  Revert "chore(deps-dev): bump @sveltejs/kit from 1.0.0-next.147 to 1.0.0-next.154"
  chore(deps-dev): bump @sveltejs/kit
  chore(deps-dev): bump cssnano from 5.0.7 to 5.0.8
  chore(deps-dev): bump mocha from 9.0.3 to 9.1.0
  chore(deps-dev): bump eslint-plugin-tailwindcss from 1.14.1 to 1.14.3
  chore(deps-dev): bump svelte from 3.42.1 to 3.42.2
  chore(deps-dev): bump @typescript-eslint/eslint-plugin
  chore(deps-dev): bump @typescript-eslint/parser from 4.29.1 to 4.29.2
  chore(deps-dev): bump cypress from 8.2.0 to 8.3.0
  chore(deps): bump @macfja/svelte-persistent-store from 1.1.1 to 1.2.0
  fix: renovate
  Create renovate.json
2021-08-21 09:47:25 +05:30
Sidharth VinodandGitHub dcaa313c0b Merge pull request #303 from mermaid-js/develop
Develop
2021-08-21 09:46:17 +05:30
Sidharth Vinod 2f7b0973fd fix: resize CSS 2021-08-21 09:26:39 +05:30
Sidharth Vinod 354ae063d7 fix: ResizeHandler 2021-08-21 09:24:42 +05:30
Sidharth Vinod 8d727e5cac fix: Auto sync margin 2021-08-21 09:14:20 +05:30
Sidharth Vinod 8957627cfc fix: Scroll 2021-08-21 08:58:05 +05:30
Sidharth Vinod 2c31be0b02 chore: Update monaco 2021-08-21 08:57:35 +05:30
Sidharth Vinod 626a600dae chore: Update daisyUI 2021-08-21 08:52:22 +05:30
Sidharth Vinod 045ab4df22 fix: Aqua dark 2021-08-20 23:44:53 +05:30
Sidharth Vinod 8956201dab fix: Button casing 2021-08-20 23:41:50 +05:30
Sidharth VinodandGitHub 0f63e777ae Merge pull request #310 from mermaid-js/revert-309-dependabot/npm_and_yarn/develop/sveltejs/kit-1.0.0-next.154
Revert "chore(deps-dev): bump @sveltejs/kit from 1.0.0-next.147 to 1.0.0-next.154"
2021-08-20 23:11:13 +05:30
Sidharth VinodandGitHub 64a2fd8843 Revert "chore(deps-dev): bump @sveltejs/kit from 1.0.0-next.147 to 1.0.0-next.154" 2021-08-20 23:11:04 +05:30
Sidharth VinodandGitHub d40c8ee085 Merge pull request #305 from mermaid-js/dependabot/npm_and_yarn/develop/cssnano-5.0.8
chore(deps-dev): bump cssnano from 5.0.7 to 5.0.8
2021-08-20 23:07:33 +05:30
Sidharth VinodandGitHub 61bafa4836 Merge pull request #309 from mermaid-js/dependabot/npm_and_yarn/develop/sveltejs/kit-1.0.0-next.154
chore(deps-dev): bump @sveltejs/kit from 1.0.0-next.147 to 1.0.0-next.154
2021-08-20 23:07:23 +05:30
Sidharth VinodandGitHub eeadbfdaa2 Merge pull request #304 from mermaid-js/dependabot/npm_and_yarn/develop/mocha-9.1.0
chore(deps-dev): bump mocha from 9.0.3 to 9.1.0
2021-08-20 23:07:14 +05:30
dependabot[bot]andGitHub 32f3832565 chore(deps-dev): bump @sveltejs/kit
Bumps @sveltejs/kit from 1.0.0-next.147 to 1.0.0-next.154.

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 17:18:31 +00:00
dependabot[bot]andGitHub 8ab28182d7 chore(deps-dev): bump cssnano from 5.0.7 to 5.0.8
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.7 to 5.0.8.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.7...cssnano@5.0.8)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 17:17:43 +00:00
dependabot[bot]andGitHub 81137e058c chore(deps-dev): bump mocha from 9.0.3 to 9.1.0
Bumps [mocha](https://github.com/mochajs/mocha) from 9.0.3 to 9.1.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.0.3...v9.1.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 17:17:41 +00:00
Sidharth VinodandGitHub c9fdba6cd3 Merge pull request #306 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-3.42.2
chore(deps-dev): bump svelte from 3.42.1 to 3.42.2
2021-08-20 22:42:16 +05:30
Sidharth VinodandGitHub 9318bde5cf Merge pull request #307 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-plugin-tailwindcss-1.14.3
chore(deps-dev): bump eslint-plugin-tailwindcss from 1.14.1 to 1.14.3
2021-08-20 22:42:06 +05:30
dependabot[bot]andGitHub 33fd537826 chore(deps-dev): bump eslint-plugin-tailwindcss from 1.14.1 to 1.14.3
Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 1.14.1 to 1.14.3.
- [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases)
- [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v1.14.1...v1.14.3)

---
updated-dependencies:
- dependency-name: eslint-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 16:56:26 +00:00
dependabot[bot]andGitHub 5af4466e6f chore(deps-dev): bump svelte from 3.42.1 to 3.42.2
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.42.1 to 3.42.2.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.42.1...v3.42.2)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 16:56:18 +00:00
Sidharth VinodandGitHub 4aa4641c6a Merge pull request #300 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.29.2
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 4.29.1 to 4.29.2
2021-08-20 22:25:42 +05:30
dependabot[bot]andGitHub b001e6d2a6 chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.29.1 to 4.29.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.29.2/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 16:55:22 +00:00
Sidharth VinodandGitHub 7812d9c241 Merge pull request #301 from mermaid-js/dependabot/npm_and_yarn/develop/cypress-8.3.0
chore(deps-dev): bump cypress from 8.2.0 to 8.3.0
2021-08-20 22:22:49 +05:30
Sidharth VinodandGitHub e7e4d7cf88 Merge pull request #302 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.29.2
chore(deps-dev): bump @typescript-eslint/parser from 4.29.1 to 4.29.2
2021-08-20 22:22:33 +05:30
Sidharth VinodandGitHub 863c3ea717 Merge pull request #299 from mermaid-js/dependabot/npm_and_yarn/develop/macfja/svelte-persistent-store-1.2.0
chore(deps): bump @macfja/svelte-persistent-store from 1.1.1 to 1.2.0
2021-08-20 22:22:12 +05:30
dependabot[bot]andGitHub 86b25a272f chore(deps-dev): bump @typescript-eslint/parser from 4.29.1 to 4.29.2
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.29.1 to 4.29.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.29.2/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 13:04:22 +00:00
dependabot[bot]andGitHub a7428ed0e5 chore(deps-dev): bump cypress from 8.2.0 to 8.3.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 8.2.0 to 8.3.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v8.2.0...v8.3.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 13:04:02 +00:00
dependabot[bot]andGitHub 27f56d309a chore(deps): bump @macfja/svelte-persistent-store from 1.1.1 to 1.2.0
Bumps [@macfja/svelte-persistent-store](https://github.com/macfja/svelte-persistent-store) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/macfja/svelte-persistent-store/releases)
- [Changelog](https://github.com/MacFJA/svelte-persistent-store/blob/main/CHANGELOG.md)
- [Commits](https://github.com/macfja/svelte-persistent-store/compare/1.1.1...1.2.0)

---
updated-dependencies:
- dependency-name: "@macfja/svelte-persistent-store"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 13:03:01 +00:00
Sidharth Vinod 19a6190b56 feat: Proper theme support 2021-08-19 00:19:22 +05:30
Yash-Singh1 c5348e9a81 Add more code block keywords 2021-08-17 17:44:47 -07:00
Yash-Singh1 7983b5d94c Different color for keywords 2021-08-17 17:43:20 -07:00
Yash-Singh1 ff48d906ae Non-bold non-type-keywords and orientations 2021-08-17 17:36:45 -07:00
Yash-Singh1 ae2880c8a2 Asymmetric, rhombus, hexagonal nodes 2021-08-17 17:11:22 -07:00
Yash-Singh1 ca07ed764d HTML Entities 2021-08-17 17:01:08 -07:00
Yash-Singh1 76a70be939 Proper theme name 2021-08-17 16:54:23 -07:00
Yash-Singh1 56cd1b5a78 Merge branch 'develop' of github.com:mermaid-js/mermaid-live-editor into patch-2 2021-08-16 18:05:34 -07:00
Yash-Singh1 3b63e9a9aa Finalize sequence diagrams 2021-08-16 17:57:54 -07:00
Yash-Singh1 b73afb400b Info diagrams 2021-08-16 17:31:21 -07:00
Sidharth Vinod a1b01cae2c fix: renovate 2021-08-16 21:50:28 +05:30
Sidharth VinodandGitHub 64b213aad9 Create renovate.json 2021-08-16 21:47:13 +05:30
Sidharth Vinod ffe260893d Merge branch 'master' of https://github.com/mermaid-js/mermaid-live-editor into daisyUI
* 'master' of https://github.com/mermaid-js/mermaid-live-editor:
  Lint
  Pointer cursor on card
2021-08-16 09:18:23 +05:30
Sidharth Vinod 166d08532b testing text 2021-08-16 09:15:53 +05:30
Sidharth Vinod a67481a4e7 Merge branch 'develop' of https://github.com/mermaid-js/mermaid-live-editor
* 'develop' of https://github.com/mermaid-js/mermaid-live-editor:
  Lint
  Pointer cursor on card
2021-08-16 08:52:40 +05:30
Sidharth VinodandGitHub b7f8b8aee3 Merge pull request #287 from Yash-Singh1/patch-1
Cursor pointer on card component
2021-08-16 08:51:23 +05:30
Yash-Singh1 b4814d7b13 Fix for + and - 2021-08-15 17:36:26 -07:00
Yash-Singh1 45b1c9f32c Merge branch 'develop' of github.com:mermaid-js/mermaid-live-editor into patch-2 2021-08-15 17:34:03 -07:00
Yash-Singh1 660e4c6bf1 Lint 2021-08-15 16:00:55 -07:00
Yash-Singh1 041ec91c6b Merge 2021-08-15 15:56:27 -07:00
Sidharth Vinod 2acde71f37 feat: Move theme into navbar 2021-08-16 00:17:29 +05:30
Sidharth Vinod 73fc573a2d feat: daisyUI 2021-08-16 00:09:30 +05:30
Sidharth Vinod d5a433bcdc feat: add daisyUI 2021-08-15 23:07:37 +05:30
Sidharth VinodandGitHub c5de0dca9f Merge pull request #113 from mermaid-js/gists
Load data from gists
2021-08-15 20:04:12 +05:30
Sidharth Vinod 76aef33868 Merge branch 'master' of https://github.com/mermaid-js/mermaid-live-editor into gists
* 'master' of https://github.com/mermaid-js/mermaid-live-editor: (50 commits)
  chore: update deps
  chore: update deps
  chore: update deps
  update cache logic
  fix: remove yarn cache
  chore: update deps
  chore: update deps
  chore: update deps
  chore: update deps
  fix: editor undefined issue
  Upgrade of Mermaid to version 8.11.4
  Update mermaid 8.11.3
  Update
  Fix tests
  Update mermaid
  Update deps
  fix: mermaid import
  Typo fix
  Bump autoprefixer from 10.3.0 to 10.3.1
  Bump eslint from 7.29.0 to 7.30.0
  ...
2021-08-15 19:58:09 +05:30
Sidharth VinodandGitHub f50d202fdf Merge pull request #290 from mermaid-js/develop
Develop
2021-08-15 12:02:59 +05:30
Sidharth Vinod 9403e617c1 chore: update deps 2021-08-15 12:00:59 +05:30
Sidharth Vinod 095767ad21 chore: update deps 2021-08-15 11:58:00 +05:30
Sidharth Vinod 0493b744e7 chore: update deps 2021-08-15 11:55:06 +05:30
Sidharth Vinod 0d15a2e487 update cache logic 2021-08-15 11:54:33 +05:30
Sidharth Vinod 01efb70cf3 fix: remove yarn cache 2021-08-15 11:45:34 +05:30
Sidharth Vinod 57f3288de3 chore: update deps 2021-08-15 11:30:36 +05:30
Sidharth Vinod eaa84ee5d6 chore: update deps 2021-08-15 11:20:11 +05:30
Sidharth Vinod f1f028737a chore: update deps 2021-08-15 11:19:48 +05:30
Sidharth Vinod 4428038b66 chore: update deps 2021-08-15 11:13:25 +05:30
Sidharth Vinod a230130db5 fix: editor undefined issue 2021-08-15 11:11:25 +05:30
Sidharth Vinod f3681b582d Merge remote-tracking branch 'origin' into develop
* origin:
  Upgrade of Mermaid to version 8.11.4
2021-08-15 10:56:10 +05:30
Yash SinghandGitHub dec0c58092 More arrows 2021-08-14 21:49:17 -07:00
Yash SinghandGitHub 0578294579 Merge branch 'develop' into patch-1 2021-08-14 21:16:02 -07:00
Yash SinghandGitHub fc47fcf75b Pointer cursor on card 2021-08-14 21:12:41 -07:00
Knut Sveidqvist bceca50b0e Upgrade of Mermaid to version 8.11.4 2021-08-06 08:50:36 +02:00
Sidharth Vinod d062dd7132 Update mermaid 8.11.3 2021-08-05 11:40:55 +05:30
Sidharth VinodandGitHub 57bb0fa248 Merge pull request #270 from mermaid-js/develop
fix: mermaid import
2021-07-30 15:26:05 +05:30
Sidharth Vinod bcb8a948a5 Update 2021-07-30 14:57:18 +05:30
Sidharth Vinod 81589e5d98 Fix tests 2021-07-30 14:55:28 +05:30
Sidharth Vinod 6becf69630 Update mermaid 2021-07-30 14:35:59 +05:30
Sidharth Vinod 1ee1701530 Update deps 2021-07-29 20:58:37 +05:30
Sidharth Vinod 0828d4393e fix: mermaid import 2021-07-29 19:53:18 +05:30
Sidharth VinodandGitHub 1777df6ab4 Merge pull request #264 from bbodenmiller/patch-1
Typo fix
2021-07-27 22:53:48 +05:30
Ben BodenmillerandGitHub e9a982d813 Typo fix 2021-07-20 14:44:48 -07:00
Sidharth VinodandGitHub 8c0aaa94a4 Merge pull request #250 from mermaid-js/develop
Develop
2021-07-17 23:51:22 +05:30
Sidharth VinodandGitHub bf8afc0c13 Merge pull request #262 from mermaid-js/dependabot/npm_and_yarn/develop/autoprefixer-10.3.1
Bump autoprefixer from 10.3.0 to 10.3.1
2021-07-17 00:35:27 +05:30
dependabot[bot]andGitHub 9c315b2d0d Bump autoprefixer from 10.3.0 to 10.3.1
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.3.0 to 10.3.1.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.3.0...10.3.1)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-16 14:08:58 +00:00
Sidharth VinodandGitHub d0a0c0a82d Merge pull request #258 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.28.3
Bump @typescript-eslint/eslint-plugin from 4.28.2 to 4.28.3
2021-07-16 19:36:31 +05:30
Sidharth VinodandGitHub 6c44a7218b Merge pull request #260 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-7.30.0
Bump eslint from 7.29.0 to 7.30.0
2021-07-16 19:36:25 +05:30
dependabot[bot]andGitHub 01162adbd1 Bump eslint from 7.29.0 to 7.30.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.29.0 to 7.30.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.29.0...v7.30.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-15 17:23:46 +00:00
dependabot[bot]andGitHub 8e304d2568 Bump @typescript-eslint/eslint-plugin from 4.28.2 to 4.28.3
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.28.2 to 4.28.3.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.3/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-15 17:23:37 +00:00
Sidharth VinodandGitHub 1af139ce23 Merge pull request #259 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-plugin-tailwindcss-1.14.1
Bump eslint-plugin-tailwindcss from 1.13.4 to 1.14.1
2021-07-15 22:52:20 +05:30
Sidharth VinodandGitHub 18fad37944 Merge pull request #257 from mermaid-js/dependabot/npm_and_yarn/develop/lint-staged-11.0.1
Bump lint-staged from 11.0.0 to 11.0.1
2021-07-15 22:52:00 +05:30
Sidharth VinodandGitHub 0dc04419c1 Merge pull request #256 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.28.3
Bump @typescript-eslint/parser from 4.28.0 to 4.28.3
2021-07-15 22:51:51 +05:30
dependabot[bot]andGitHub 1dfa32c6e5 Bump lint-staged from 11.0.0 to 11.0.1
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 11.0.0 to 11.0.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v11.0.0...v11.0.1)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-14 16:38:44 +00:00
dependabot[bot]andGitHub c3b055b235 Bump @typescript-eslint/parser from 4.28.0 to 4.28.3
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.28.0 to 4.28.3.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.3/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-14 16:38:34 +00:00
dependabot[bot]andGitHub 63e45c9120 Bump eslint-plugin-tailwindcss from 1.13.4 to 1.14.1
Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 1.13.4 to 1.14.1.
- [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases)
- [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v1.13.4...v1.14.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-14 16:38:17 +00:00
Sidharth VinodandGitHub 5d3e7fbbf0 Merge pull request #251 from mermaid-js/dependabot/npm_and_yarn/develop/types/mermaid-8.2.7
Bump @types/mermaid from 8.2.6 to 8.2.7
2021-07-14 22:06:14 +05:30
dependabot[bot]andGitHub f9e6635d53 Bump @types/mermaid from 8.2.6 to 8.2.7
Bumps [@types/mermaid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mermaid) from 8.2.6 to 8.2.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mermaid)

---
updated-dependencies:
- dependency-name: "@types/mermaid"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-14 15:20:57 +00:00
Sidharth VinodandGitHub 61ce370074 Merge pull request #252 from mermaid-js/dependabot/npm_and_yarn/develop/cypress-7.7.0
Bump cypress from 7.6.0 to 7.7.0
2021-07-14 20:48:48 +05:30
Sidharth VinodandGitHub a6209977b1 Merge pull request #253 from mermaid-js/dependabot/npm_and_yarn/develop/autoprefixer-10.3.0
Bump autoprefixer from 10.2.6 to 10.3.0
2021-07-14 20:48:38 +05:30
Sidharth VinodandGitHub 7c693363ae Merge pull request #247 from mermaid-js/dependabot/npm_and_yarn/develop/mocha-9.0.2
Bump mocha from 9.0.1 to 9.0.2
2021-07-14 20:48:26 +05:30
dependabot[bot]andGitHub 23091491ba Bump autoprefixer from 10.2.6 to 10.3.0
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.2.6 to 10.3.0.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.2.6...10.3.0)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 09:36:06 +00:00
dependabot[bot]andGitHub 540df1f96f Bump cypress from 7.6.0 to 7.7.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 7.6.0 to 7.7.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v7.6.0...v7.7.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 09:35:56 +00:00
dependabot[bot]andGitHub 0d40be232f Bump mocha from 9.0.1 to 9.0.2
Bumps [mocha](https://github.com/mochajs/mocha) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.0.1...v9.0.2)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 09:35:37 +00:00
Sidharth VinodandGitHub df2e097007 Merge pull request #245 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.28.2
Bump @typescript-eslint/eslint-plugin from 4.28.1 to 4.28.2
2021-07-12 15:04:30 +05:30
Sidharth VinodandGitHub be83fa2e08 Merge pull request #248 from mermaid-js/dependabot/npm_and_yarn/develop/husky-7.0.1
Bump husky from 6.0.0 to 7.0.1
2021-07-12 15:04:17 +05:30
Sidharth VinodandGitHub 19c0ddca94 Merge pull request #246 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-preprocess-4.7.4
Bump svelte-preprocess from 4.7.3 to 4.7.4
2021-07-12 15:03:52 +05:30
dependabot[bot]andGitHub 3533564c00 Bump husky from 6.0.0 to 7.0.1
Bumps [husky](https://github.com/typicode/husky) from 6.0.0 to 7.0.1.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v6.0.0...v7.0.1)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-09 13:02:54 +00:00
dependabot[bot]andGitHub 4585fd2994 Bump svelte-preprocess from 4.7.3 to 4.7.4
Bumps [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess) from 4.7.3 to 4.7.4.
- [Release notes](https://github.com/sveltejs/svelte-preprocess/releases)
- [Changelog](https://github.com/sveltejs/svelte-preprocess/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte-preprocess/commits)

---
updated-dependencies:
- dependency-name: svelte-preprocess
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-09 13:02:33 +00:00
dependabot[bot]andGitHub 425bd40805 Bump @typescript-eslint/eslint-plugin from 4.28.1 to 4.28.2
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.28.1 to 4.28.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.2/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-09 13:02:17 +00:00
Sidharth VinodandGitHub 411f7e9d70 Merge pull request #238 from mermaid-js/dependabot/npm_and_yarn/develop/prettier-2.3.2
Bump prettier from 2.3.1 to 2.3.2
2021-07-07 00:34:52 +05:30
Sidharth VinodandGitHub 79850eccef Merge pull request #239 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.28.1
Bump @typescript-eslint/eslint-plugin from 4.28.0 to 4.28.1
2021-07-07 00:34:40 +05:30
Sidharth VinodandGitHub 7792d26d53 Merge pull request #241 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-4.3.5
Bump typescript from 4.3.4 to 4.3.5
2021-07-07 00:34:28 +05:30
dependabot[bot]andGitHub 3a8bc1d5ea Bump typescript from 4.3.4 to 4.3.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.4 to 4.3.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.4...v4.3.5)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-02 13:03:05 +00:00
dependabot[bot]andGitHub 7309aa6c42 Bump @typescript-eslint/eslint-plugin from 4.28.0 to 4.28.1
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.28.0 to 4.28.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-02 13:02:40 +00:00
dependabot[bot]andGitHub d8d994581f Bump prettier from 2.3.1 to 2.3.2
Bumps [prettier](https://github.com/prettier/prettier) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-02 13:01:54 +00:00
Sidharth VinodandGitHub b3537d5dbe Merge pull request #237 from mermaid-js/develop
Develop
2021-06-28 14:53:00 +05:30
Sidharth Vinod fdcb1b7f1b Update mermaid to 8.11.0 2021-06-28 14:45:33 +05:30
Sidharth Vinod a2b212f6e4 Merge branch 'master' of https://github.com/mermaid-js/mermaid-live-editor into develop
* 'master' of https://github.com/mermaid-js/mermaid-live-editor:
2021-06-28 14:42:49 +05:30
Sidharth Vinod 282d039076 Merge branch 'master' into develop
* master:
2021-06-28 14:42:42 +05:30
Sidharth VinodandGitHub 030df21e4d Merge pull request #236 from mermaid-js/develop
Develop
2021-06-26 20:46:38 +05:30
Sidharth VinodandGitHub cb2806b572 Merge pull request #231 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.28.0
Bump @typescript-eslint/eslint-plugin from 4.27.0 to 4.28.0
2021-06-26 20:46:09 +05:30
Sidharth VinodandGitHub f287a643ce Merge pull request #232 from mermaid-js/develop
Develop
2021-06-26 20:45:46 +05:30
dependabot[bot]andGitHub cd8894a27b Bump @typescript-eslint/eslint-plugin from 4.27.0 to 4.28.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.27.0 to 4.28.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-26 15:12:04 +00:00
Sidharth VinodandGitHub 13d1a6099a Merge pull request #230 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.28.0
Bump @typescript-eslint/parser from 4.27.0 to 4.28.0
2021-06-26 20:39:16 +05:30
Sidharth VinodandGitHub 0d7ea7f4f3 Merge pull request #235 from mermaid-js/dependabot/npm_and_yarn/develop/svelte-3.38.3
Bump svelte from 3.38.2 to 3.38.3
2021-06-26 20:38:53 +05:30
dependabot[bot]andGitHub 39cdaff57b Bump svelte from 3.38.2 to 3.38.3
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.38.2 to 3.38.3.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.38.2...v3.38.3)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-26 05:52:01 +00:00
Sidharth VinodandGitHub 31ae188af3 Merge pull request #234 from mermaid-js/dependabot/npm_and_yarn/develop/cypress-7.6.0
Bump cypress from 7.5.0 to 7.6.0
2021-06-26 11:21:12 +05:30
Sidharth VinodandGitHub 8cde5eb23e Merge pull request #233 from mermaid-js/dependabot/npm_and_yarn/develop/prettier-plugin-svelte-2.3.1
Bump prettier-plugin-svelte from 2.3.0 to 2.3.1
2021-06-26 11:21:05 +05:30
dependabot[bot]andGitHub 7400507689 Bump cypress from 7.5.0 to 7.6.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 7.5.0 to 7.6.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v7.5.0...v7.6.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-25 15:01:21 +00:00
dependabot[bot]andGitHub 3bd1ea8c2e Bump prettier-plugin-svelte from 2.3.0 to 2.3.1
Bumps [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/sveltejs/prettier-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/prettier-plugin-svelte/compare/v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: prettier-plugin-svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-25 15:00:58 +00:00
Sidharth VinodandGitHub ef9395fd0e Merge pull request #229 from mermaid-js/dependabot/npm_and_yarn/develop/tailwindcss-2.2.4
Bump tailwindcss from 2.2.2 to 2.2.4
2021-06-25 20:28:57 +05:30
Sidharth VinodandGitHub f5503f88a7 Merge pull request #228 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-7.29.0
Bump eslint from 7.28.0 to 7.29.0
2021-06-25 20:28:51 +05:30
Sidharth VinodandGitHub 74d47a38b1 Merge pull request #227 from mermaid-js/dependabot/npm_and_yarn/develop/mocha-9.0.1
Bump mocha from 9.0.0 to 9.0.1
2021-06-25 20:28:45 +05:30
dependabot[bot]andGitHub f2606d7341 Bump @typescript-eslint/parser from 4.27.0 to 4.28.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.27.0 to 4.28.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-25 13:04:17 +00:00
dependabot[bot]andGitHub 1cc3478512 Bump tailwindcss from 2.2.2 to 2.2.4
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 2.2.2 to 2.2.4.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v2.2.2...v2.2.4)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-25 13:03:45 +00:00
dependabot[bot]andGitHub 5e6231e3f9 Bump eslint from 7.28.0 to 7.29.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.28.0 to 7.29.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.28.0...v7.29.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-25 13:03:20 +00:00
dependabot[bot]andGitHub 775c5765a3 Bump mocha from 9.0.0 to 9.0.1
Bumps [mocha](https://github.com/mochajs/mocha) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.0.0...v9.0.1)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-25 13:02:58 +00:00
Sidharth VinodandGitHub f05ccf497d Merge pull request #222 from mermaid-js/develop
Release
2021-06-19 09:45:22 +05:30
Sidharth Vinod 5472528ce0 update monaco 2021-06-18 23:06:29 +05:30
Sidharth Vinod 2b358ccd80 Update Monaco 2021-06-18 23:04:45 +05:30
Sidharth Vinod 39b2ebde32 Dependency update 2021-06-18 22:53:30 +05:30
Sidharth VinodandGitHub e8fad2b91c Merge pull request #218 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-plugin-tailwindcss-1.13.4
Bump eslint-plugin-tailwindcss from 1.13.2 to 1.13.4
2021-06-18 22:36:13 +05:30
Sidharth VinodandGitHub f337d16caf Merge pull request #221 from mermaid-js/dependabot/npm_and_yarn/develop/tailwindcss-2.2.0
Bump tailwindcss from 2.1.4 to 2.2.0
2021-06-18 22:36:02 +05:30
Sidharth VinodandGitHub 5773558e84 Merge pull request #219 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-4.3.4
Bump typescript from 4.3.2 to 4.3.4
2021-06-18 22:35:34 +05:30
Sidharth VinodandGitHub 8fe4b7f536 Merge pull request #217 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.27.0
Bump @typescript-eslint/parser from 4.26.1 to 4.27.0
2021-06-18 22:35:18 +05:30
dependabot[bot]andGitHub 765ed2f012 Bump tailwindcss from 2.1.4 to 2.2.0
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 2.1.4 to 2.2.0.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v2.1.4...v2.2.0)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-18 13:03:09 +00:00
dependabot[bot]andGitHub 63c23b9e0b Bump typescript from 4.3.2 to 4.3.4
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.2 to 4.3.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.2...v4.3.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-18 13:02:51 +00:00
dependabot[bot]andGitHub 0288392a61 Bump eslint-plugin-tailwindcss from 1.13.2 to 1.13.4
Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 1.13.2 to 1.13.4.
- [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases)
- [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v1.13.2...v1.13.4)

---
updated-dependencies:
- dependency-name: eslint-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-18 13:02:37 +00:00
dependabot[bot]andGitHub 21072d343c Bump @typescript-eslint/parser from 4.26.1 to 4.27.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.26.1 to 4.27.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.27.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-18 13:02:28 +00:00
Sidharth Vinod 9801dd606d fix(gist): warnings 2021-06-15 21:26:27 +05:30
Sidharth Vinod b762d1a44a Merge branch 'master' into gists
* master: (28 commits)
  fix: SecurityLevel
  Trigger an alert when securityLevel is stripped
  Only strip securityLevel option when state is loaded from URL
  Fix lint issues
  Update monaco
  Bump tslib from 2.2.0 to 2.3.0
  Bump monaco-editor from 0.24.0 to 0.25.0
  Bump eslint from 7.27.0 to 7.28.0
  Bump cssnano from 5.0.5 to 5.0.6
  Bump postcss from 8.3.0 to 8.3.2
  Bump eslint-plugin-tailwindcss from 1.9.1 to 1.13.2
  Bump cypress from 7.4.0 to 7.5.0
  Handle <img> tag support in graphs
  Force securityLevel option to 'strict' by default to mitigate XSS attacks
  Bump mocha from 8.4.0 to 9.0.0
  Bump @typescript-eslint/eslint-plugin from 4.26.0 to 4.26.1
  Bump prettier from 2.3.0 to 2.3.1
  Bump @typescript-eslint/parser from 4.26.0 to 4.26.1
  Bump normalize-url from 4.5.0 to 4.5.1
  Fix typo in grammer
  ...
2021-06-15 21:20:28 +05:30
Sidharth VinodandGitHub 1324242337 Merge pull request #216 from mermaid-js/develop
Develop
2021-06-15 21:17:05 +05:30
Sidharth Vinod af64307067 fix: SecurityLevel 2021-06-15 20:54:09 +05:30
Sidharth VinodandGitHub be6931d0ca Merge pull request #209 from Morreski/develop
Mitigate XSS vulnerability and allow img tags to be correctly handled in output SVG.
2021-06-15 13:02:33 +05:30
a907674539 Trigger an alert when securityLevel is stripped
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
2021-06-15 09:15:47 +02:00
Morreski fbe2f127b8 Only strip securityLevel option when state is loaded from URL 2021-06-14 22:38:44 +02:00
Sidharth VinodandGitHub 81a5181877 Merge pull request #215 from mermaid-js/develop
Develop
2021-06-12 11:19:50 +05:30
Sidharth Vinod 3848f9d618 Fix lint issues 2021-06-12 11:13:44 +05:30
Sidharth Vinod 4f52a37e1d Merge branch 'master' of https://github.com/mermaid-js/mermaid-live-editor into develop
* 'master' of https://github.com/mermaid-js/mermaid-live-editor:
  Bump normalize-url from 4.5.0 to 4.5.1
  Fix typo in grammer
  Fix CVE
2021-06-12 11:00:48 +05:30
Sidharth Vinod 6c8c0f20c8 Update monaco 2021-06-12 10:59:44 +05:30
Sidharth VinodandGitHub 570d5c79a8 Merge pull request #213 from mermaid-js/dependabot/npm_and_yarn/develop/monaco-editor-0.25.0
Bump monaco-editor from 0.24.0 to 0.25.0
2021-06-12 10:55:06 +05:30
Sidharth VinodandGitHub 5548625536 Merge pull request #214 from mermaid-js/dependabot/npm_and_yarn/develop/tslib-2.3.0
Bump tslib from 2.2.0 to 2.3.0
2021-06-12 10:54:49 +05:30
Sidharth VinodandGitHub bb2f5b46a8 Merge pull request #212 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-7.28.0
Bump eslint from 7.27.0 to 7.28.0
2021-06-12 10:54:36 +05:30
dependabot[bot]andGitHub 559feacae0 Bump tslib from 2.2.0 to 2.3.0
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.2.0...2.3.0)

---
updated-dependencies:
- dependency-name: tslib
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-12 05:14:48 +00:00
dependabot[bot]andGitHub ecc514816c Bump monaco-editor from 0.24.0 to 0.25.0
Bumps [monaco-editor](https://github.com/Microsoft/monaco-editor) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/Microsoft/monaco-editor/releases)
- [Changelog](https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Microsoft/monaco-editor/compare/v0.24.0...v0.25.0)

---
updated-dependencies:
- dependency-name: monaco-editor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-12 05:14:43 +00:00
dependabot[bot]andGitHub 8d2d6a83ae Bump eslint from 7.27.0 to 7.28.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.27.0 to 7.28.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.27.0...v7.28.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-12 05:14:31 +00:00
Sidharth VinodandGitHub 9ca183e654 Merge pull request #210 from mermaid-js/dependabot/npm_and_yarn/develop/cssnano-5.0.6
Bump cssnano from 5.0.5 to 5.0.6
2021-06-12 10:42:35 +05:30
Sidharth VinodandGitHub f65dba35c4 Merge pull request #207 from mermaid-js/dependabot/npm_and_yarn/develop/postcss-8.3.2
Bump postcss from 8.3.0 to 8.3.2
2021-06-12 10:42:26 +05:30
dependabot[bot]andGitHub 65a1e067ab Bump cssnano from 5.0.5 to 5.0.6
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.5 to 5.0.6.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.5...cssnano@5.0.6)

---
updated-dependencies:
- dependency-name: cssnano
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-12 05:01:04 +00:00
dependabot[bot]andGitHub 14bfbb1607 Bump postcss from 8.3.0 to 8.3.2
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.0 to 8.3.2.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.0...8.3.2)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-12 05:00:57 +00:00
Sidharth VinodandGitHub 49a812c43f Merge pull request #211 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-plugin-tailwindcss-1.13.2
Bump eslint-plugin-tailwindcss from 1.9.1 to 1.13.2
2021-06-12 10:29:36 +05:30
Sidharth VinodandGitHub 45010e17d2 Merge pull request #203 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.26.1
Bump @typescript-eslint/eslint-plugin from 4.26.0 to 4.26.1
2021-06-12 10:29:17 +05:30
Sidharth VinodandGitHub 60f553f9eb Merge pull request #202 from mermaid-js/dependabot/npm_and_yarn/develop/cypress-7.5.0
Bump cypress from 7.4.0 to 7.5.0
2021-06-12 10:29:04 +05:30
dependabot[bot]andGitHub cdf9ccd3c9 Bump eslint-plugin-tailwindcss from 1.9.1 to 1.13.2
Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 1.9.1 to 1.13.2.
- [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases)
- [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v1.9.1...v1.13.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 09:17:02 +00:00
dependabot[bot]andGitHub 566c696be8 Bump cypress from 7.4.0 to 7.5.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v7.4.0...v7.5.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 09:16:50 +00:00
Sidharth VinodandGitHub abde98bd5f Merge pull request #200 from mermaid-js/dependabot/npm_and_yarn/normalize-url-4.5.1
Bump normalize-url from 4.5.0 to 4.5.1
2021-06-11 14:46:12 +05:30
Sidharth VinodandGitHub 5c9afbc1ed Merge pull request #205 from mermaid-js/dependabot/npm_and_yarn/develop/mocha-9.0.0
Bump mocha from 8.4.0 to 9.0.0
2021-06-11 14:45:06 +05:30
Morreski cec1dc4df9 Handle <img> tag support in graphs 2021-06-11 11:13:13 +02:00
Morreski 1096d10cb4 Force securityLevel option to 'strict' by default to mitigate XSS attacks 2021-06-11 11:13:03 +02:00
dependabot[bot]andGitHub d5ecf60c84 Bump mocha from 8.4.0 to 9.0.0
Bumps [mocha](https://github.com/mochajs/mocha) from 8.4.0 to 9.0.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v8.4.0...v9.0.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 08:05:16 +00:00
dependabot[bot]andGitHub 4d48a14100 Bump @typescript-eslint/eslint-plugin from 4.26.0 to 4.26.1
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.26.0 to 4.26.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.26.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 08:03:53 +00:00
Sidharth VinodandGitHub d751945e94 Merge pull request #204 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/parser-4.26.1
Bump @typescript-eslint/parser from 4.26.0 to 4.26.1
2021-06-11 13:31:26 +05:30
Sidharth VinodandGitHub aa74eaff95 Merge pull request #206 from mermaid-js/dependabot/npm_and_yarn/develop/prettier-2.3.1
Bump prettier from 2.3.0 to 2.3.1
2021-06-11 13:31:13 +05:30
dependabot[bot]andGitHub 35bf065120 Bump prettier from 2.3.0 to 2.3.1
Bumps [prettier](https://github.com/prettier/prettier) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.3.0...2.3.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 05:05:32 +00:00
dependabot[bot]andGitHub 0604c27b56 Bump @typescript-eslint/parser from 4.26.0 to 4.26.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.26.0 to 4.26.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.26.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 05:04:56 +00:00
dependabot[bot]andGitHub 956d5d0684 Bump normalize-url from 4.5.0 to 4.5.1
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases)
- [Commits](https://github.com/sindresorhus/normalize-url/commits)

---
updated-dependencies:
- dependency-name: normalize-url
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-10 16:35:13 +00:00
Sidharth VinodandGitHub 4cba8bdb72 Merge pull request #199 from Yukaii/bugfix/fix-grammer-typo
Fix grammer typo
2021-06-09 11:51:38 +05:30
Yukai HuangandGitHub 09f4b4f35e Fix typo in grammer 2021-06-08 21:06:31 +08:00
Sidharth Vinod c751fc3c01 Merge branch 'master' of https://github.com/mermaid-js/mermaid-live-editor
* 'master' of https://github.com/mermaid-js/mermaid-live-editor:
  Update SRI
  Release 8.10.2
  Release 8.10.2
  Update README.md
  Migrate to GHCR
  Create docker-publish.yml
2021-06-08 11:40:46 +05:30
Sidharth Vinod 65ab28d03b Fix CVE 2021-06-08 11:40:36 +05:30
Sidharth Vinod f4d6ca8c92 Cypress regex fix 2021-06-06 12:27:10 +05:30
Sidharth VinodandGitHub 86953aadc7 Merge pull request #198 from mermaid-js/develop
Release 8.10.2
2021-06-06 12:09:57 +05:30
Sidharth Vinod 876b419c04 Update SRI 2021-06-06 12:02:49 +05:30
Sidharth Vinod 8bb611c50c Release 8.10.2 2021-06-06 11:59:16 +05:30
Sidharth Vinod 13286ff4d1 Release 8.10.2 2021-06-06 11:58:07 +05:30
Sidharth Vinod 88f9c3b6ea Gist URL 2021-06-05 17:35:44 +05:30
Sidharth Vinod 29ffa1a0a4 Fix base path 2021-06-05 16:31:22 +05:30
Sidharth Vinod 103f02bb90 Fix tests 2021-06-05 16:26:37 +05:30
Sidharth VinodandGitHub a6db07a4c1 Merge pull request #197 from mermaid-js/develop
Develop
2021-06-05 16:14:54 +05:30
Sidharth VinodandGitHub 8d8ae6a366 Merge pull request #105 from Thiht/master
Create docker-publish.yml
2021-06-05 16:09:34 +05:30
Sidharth VinodandGitHub e81e09ab23 Merge branch 'develop' into master 2021-06-05 16:09:21 +05:30
Sidharth Vinod bf8160e31e Fix gist loading and code not updating issue 2021-06-05 15:55:59 +05:30
Sidharth Vinod 5961c7d451 Fix loading issue 2021-06-05 15:44:26 +05:30
Sidharth Vinod cc3f4fabc2 Loading Gist 2021-06-05 15:31:22 +05:30
Sidharth Vinod aed37c19c7 More tests 2021-06-05 12:18:59 +05:30
Sidharth Vinod 43bac28b30 Format names 2021-06-05 12:13:19 +05:30
Sidharth Vinod ed2057312a Fix test 2021-06-05 11:57:39 +05:30
Sidharth Vinod fdff260f7f Show git revision history 2021-06-05 11:52:13 +05:30
Sidharth Vinod f5878feaa5 Fix file name 2021-06-05 02:53:35 +05:30
Sidharth Vinod aef1afe3f4 Update file names 2021-06-05 02:48:06 +05:30
Sidharth Vinod f2cf3e8111 Fix types 2021-06-05 02:27:42 +05:30
Sidharth Vinod 32351ab24e Load data from urls 2021-06-05 02:25:12 +05:30
Sidharth Vinod bd3b39a2c5 Merge branch 'master' into gists
* master: (338 commits)
  Update build image version
  Update dependencies
  Remove test run on push
  Update dependencies
  Fix docker build issue
  Bump typescript from 4.2.4 to 4.3.2
  Bump autoprefixer from 10.2.5 to 10.2.6
  Enable recording
  Bump tailwindcss from 2.1.2 to 2.1.4
  Bump @macfja/svelte-persistent-store from 1.1.0 to 1.1.1
  Bump @typescript-eslint/eslint-plugin from 4.22.1 to 4.26.0
  Bump eslint-plugin-tailwindcss from 1.8.0 to 1.9.1
  Disable lint
  Fix snapshot
  Fix editor
  Touchup
  Bump prettier from 2.2.1 to 2.3.0
  Test
  Delete docs
  Fix snapshot
  ...
2021-06-05 00:44:55 +05:30
Sidharth VinodandGitHub e286fb2fb7 Update README.md 2021-06-05 00:41:44 +05:30
Sidharth VinodandGitHub 3097161aa8 Migrate to GHCR 2021-06-05 00:27:41 +05:30
Sidharth Vinod b222e37457 Merge branch 'master' of https://github.com/mermaid-js/mermaid-live-editor
* 'master' of https://github.com/mermaid-js/mermaid-live-editor:
  Update dependencies
  Remove test run on push
  Update dependencies
  Fix docker build issue
  Bump typescript from 4.2.4 to 4.3.2
  Bump autoprefixer from 10.2.5 to 10.2.6
  Enable recording
  Bump tailwindcss from 2.1.2 to 2.1.4
  Bump @macfja/svelte-persistent-store from 1.1.0 to 1.1.1
  Bump @typescript-eslint/eslint-plugin from 4.22.1 to 4.26.0
  Bump eslint-plugin-tailwindcss from 1.8.0 to 1.9.1
  Disable lint
  Fix snapshot
  Fix editor
  Touchup
  Bump prettier from 2.2.1 to 2.3.0
  Bump prettier-plugin-svelte from 2.2.0 to 2.3.0
2021-06-04 23:57:55 +05:30
Sidharth Vinod 0d5240dfef Update build image version 2021-06-04 23:54:14 +05:30
Sidharth VinodandGitHub 09c3fbb13c Merge pull request #186 from mermaid-js/develop
Develop
2021-06-04 20:49:37 +05:30
Sidharth Vinod dd66ed095b Update dependencies 2021-06-04 20:33:36 +05:30
Sidharth Vinod d7308f019b Remove test run on push 2021-06-04 20:30:31 +05:30
Sidharth Vinod 634403dac7 Update dependencies 2021-06-04 20:25:40 +05:30
Sidharth Vinod 3bfc932ff7 Merge branch 'develop' of https://github.com/mermaid-js/mermaid-live-editor into develop
* 'develop' of https://github.com/mermaid-js/mermaid-live-editor:
  Bump typescript from 4.2.4 to 4.3.2
  Bump autoprefixer from 10.2.5 to 10.2.6
  Bump tailwindcss from 2.1.2 to 2.1.4
  Bump @macfja/svelte-persistent-store from 1.1.0 to 1.1.1
  Bump @typescript-eslint/eslint-plugin from 4.22.1 to 4.26.0
  Bump eslint-plugin-tailwindcss from 1.8.0 to 1.9.1
2021-06-04 20:07:54 +05:30
Sidharth Vinod 16e22b52a2 Fix docker build issue 2021-06-04 20:07:48 +05:30
Sidharth VinodandGitHub 7773252302 Merge pull request #188 from mermaid-js/dependabot/npm_and_yarn/develop/autoprefixer-10.2.6
Bump autoprefixer from 10.2.5 to 10.2.6
2021-06-04 19:05:31 +05:30
Sidharth VinodandGitHub d59859abc6 Merge pull request #190 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-4.3.2
Bump typescript from 4.2.4 to 4.3.2
2021-06-04 19:05:08 +05:30
dependabot[bot]andGitHub 2702f7b045 Bump typescript from 4.2.4 to 4.3.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.4 to 4.3.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.3.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 12:46:27 +00:00
dependabot[bot]andGitHub d392347bc0 Bump autoprefixer from 10.2.5 to 10.2.6
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.2.5 to 10.2.6.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.2.5...10.2.6)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 12:46:07 +00:00
Sidharth VinodandGitHub 38aecc2a3e Merge pull request #183 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-4.26.0
Bump @typescript-eslint/eslint-plugin from 4.22.1 to 4.26.0
2021-06-04 18:14:20 +05:30
Sidharth VinodandGitHub a549c4021d Merge pull request #184 from mermaid-js/dependabot/npm_and_yarn/develop/macfja/svelte-persistent-store-1.1.1
Bump @macfja/svelte-persistent-store from 1.1.0 to 1.1.1
2021-06-04 18:14:09 +05:30
Sidharth VinodandGitHub d4d7fd351b Merge pull request #185 from mermaid-js/dependabot/npm_and_yarn/develop/tailwindcss-2.1.4
Bump tailwindcss from 2.1.2 to 2.1.4
2021-06-04 18:13:55 +05:30
Sidharth VinodandGitHub d5548805d0 Merge pull request #181 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-plugin-tailwindcss-1.9.1
Bump eslint-plugin-tailwindcss from 1.8.0 to 1.9.1
2021-06-04 18:13:31 +05:30
Sidharth Vinod 708effa0b0 Enable recording 2021-06-04 11:30:34 +05:30
dependabot[bot]andGitHub afeb08fa39 Bump tailwindcss from 2.1.2 to 2.1.4
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 2.1.2 to 2.1.4.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v2.1.2...v2.1.4)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 05:04:55 +00:00
dependabot[bot]andGitHub 3df6b6d3f6 Bump @macfja/svelte-persistent-store from 1.1.0 to 1.1.1
Bumps [@macfja/svelte-persistent-store](https://github.com/macfja/svelte-persistent-store) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/macfja/svelte-persistent-store/releases)
- [Changelog](https://github.com/MacFJA/svelte-persistent-store/blob/main/CHANGELOG.md)
- [Commits](https://github.com/macfja/svelte-persistent-store/compare/1.1.0...1.1.1)

---
updated-dependencies:
- dependency-name: "@macfja/svelte-persistent-store"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 05:04:34 +00:00
dependabot[bot]andGitHub 298ca8cc6a Bump @typescript-eslint/eslint-plugin from 4.22.1 to 4.26.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.22.1 to 4.26.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.26.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 05:04:13 +00:00
dependabot[bot]andGitHub 6c06c72614 Bump eslint-plugin-tailwindcss from 1.8.0 to 1.9.1
Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 1.8.0 to 1.9.1.
- [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases)
- [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v1.8.0...v1.9.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 05:03:21 +00:00
Sidharth VinodandGitHub b431571662 Merge pull request #179 from mermaid-js/develop
Develop
2021-06-03 12:52:41 +05:30
Sidharth Vinod 4d6a2478ab Disable lint 2021-06-03 12:29:56 +05:30
Sidharth Vinod 1064f3ce81 Merge branch 'master' of https://github.com/mermaid-js/mermaid-live-editor into develop
* 'master' of https://github.com/mermaid-js/mermaid-live-editor:
2021-06-03 12:27:02 +05:30
Sidharth Vinod 8db133e240 Fix snapshot 2021-06-03 12:08:43 +05:30
Sidharth Vinod 4cba7c86d5 Fix editor 2021-06-03 11:54:08 +05:30
Sidharth VinodandGitHub 6622cb3968 Merge pull request #178 from mermaid-js/develop
Develop
2021-06-03 02:08:05 +05:30
Sidharth VinodandGitHub 84b0db4dbc Merge pull request #163 from mermaid-js/dependabot/npm_and_yarn/develop/prettier-2.3.0
Bump prettier from 2.2.1 to 2.3.0
2021-06-03 02:07:46 +05:30
Sidharth Vinod 4c4427a4b9 Touchup 2021-06-03 02:03:43 +05:30
dependabot[bot]andGitHub c6d0e3d4b3 Bump prettier from 2.2.1 to 2.3.0
Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.2.1...2.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-02 20:28:58 +00:00
Sidharth VinodandGitHub c4796f7dd7 Merge pull request #164 from mermaid-js/dependabot/npm_and_yarn/develop/prettier-plugin-svelte-2.3.0
Bump prettier-plugin-svelte from 2.2.0 to 2.3.0
2021-06-03 01:55:34 +05:30
Sidharth VinodandGitHub 1e787a5c16 Merge pull request #176 from mermaid-js/develop
Develop
2021-06-03 01:51:03 +05:30
Sidharth VinodandGitHub 0bc637f606 Merge pull request #177 from sidharthv96/master
Beta release
2021-06-03 01:48:43 +05:30
Sidharth VinodandGitHub bb70e37492 Merge pull request #60 from sidharthv96/develop
Develop
2021-06-03 01:45:53 +05:30
Sidharth Vinod e09d2f93f8 Test 2021-06-03 01:43:14 +05:30
Sidharth Vinod 66061ef8e0 Delete docs 2021-06-03 01:40:10 +05:30
Sidharth Vinod e13e09de25 Fix snapshot 2021-06-03 01:37:09 +05:30
Sidharth Vinod 3931ebbfc2 Fix deleting 2021-06-03 01:25:32 +05:30
Sidharth Vinod 893144d16f Test Beta 2021-06-03 01:18:33 +05:30
Sidharth Vinod e44fad0e85 Merge branch 'master' of https://github.com/mermaid-js/mermaid-live-editor into develop
* 'master' of https://github.com/mermaid-js/mermaid-live-editor:
  Release  2.0.67
  Fix editor
  Release  2.0.66
2021-06-03 01:10:25 +05:30
github-actions 7055b6e8ee Release 2.0.67 2021-06-02 19:33:11 +00:00
Sidharth Vinod 44ef76f086 Fix editor 2021-06-03 01:00:48 +05:30
Sidharth Vinod 411bbcf5e5 beta 2021-06-03 00:53:30 +05:30
Sidharth Vinod 025c524012 Test build 2021-06-03 00:50:06 +05:30
Sidharth Vinod 446e1c49c7 Merge branch 'develop' of github.com:sidharthv96/mermaid-live-editor into develop
* 'develop' of github.com:sidharthv96/mermaid-live-editor:
  Release  2.0.64
2021-06-03 00:47:03 +05:30
Sidharth Vinod 742cef3870 xx 2021-06-03 00:46:57 +05:30
Sidharth VinodandGitHub 8b681530cd Merge branch 'master' into develop 2021-06-03 00:45:54 +05:30
Sidharth Vinod 8c3951a5e1 Merge branch 'master' into develop
* master:
  Release  2.0.63
  Release  2.0.62
2021-06-03 00:44:54 +05:30
Sidharth Vinod cdbf3f150e dis 2021-06-03 00:40:28 +05:30
github-actions 1bd5b00a66 Release 2.0.64 2021-06-02 19:07:43 +00:00
Sidharth Vinod 6fc5a8f696 Test 2021-06-03 00:37:34 +05:30
Sidharth Vinod 2ae15aa74e Merge branch 'master' of github.com:sidharthv96/mermaid-live-editor
* 'master' of github.com:sidharthv96/mermaid-live-editor:
  Release  2.0.63
  Release  2.0.62
  Fix SVG Export
  Test hook
2021-06-03 00:36:48 +05:30
Sidharth Vinod 998cc45b01 test 2021-06-03 00:28:06 +05:30
Sidharth Vinod a9dcc95f8c push to pages 2021-06-03 00:25:19 +05:30
Sidharth Vinod 0b7f1a8e4e test 2021-06-03 00:23:55 +05:30
dependabot[bot]andGitHub 8ba1651135 Bump prettier-plugin-svelte from 2.2.0 to 2.3.0
Bumps [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/sveltejs/prettier-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/prettier-plugin-svelte/compare/v2.2.0...v2.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-02 18:20:27 +00:00
github-actions 12d997fc61 Release 2.0.66 2021-06-02 18:13:20 +00:00
github-actions ba6db70e96 Release 2.0.63 2021-06-02 13:32:23 +00:00
github-actions 77cf436225 Release 2.0.62 2021-06-02 01:20:37 +00:00
Sidharth Vinod 6708615c48 Load data from gists 2021-03-01 00:25:31 +05:30
Thibaut RousseauandGitHub 28181f7872 Create docker-publish.yml 2020-11-21 13:04:17 +01:00
89 changed files with 3269 additions and 2952 deletions
+5
View File
@@ -0,0 +1,5 @@
**/node_modules
**/.git
**/.svelte-kit
**/dist
**/docs
+14 -4
View File
@@ -7,8 +7,17 @@ module.exports = {
// 'plugin:@typescript-eslint/recommended-requiring-type-checking',
'prettier'
],
plugins: ['svelte3', 'tailwindcss', '@typescript-eslint'],
ignorePatterns: ['docs/*', '*.cjs', 'snapshots.js', 'svelte.config.js', 'package.json'],
plugins: ['svelte3', 'tailwindcss', '@typescript-eslint', 'es'],
ignorePatterns: [
'docs/*',
'*.cjs',
'*.md',
'snapshots.js',
'svelte.config.js',
'renovate.json',
'package.json',
'tsconfig.json'
],
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
settings: {
'svelte3/typescript': () => require('typescript')
@@ -32,7 +41,8 @@ module.exports = {
'ts-ignore': 'allow-with-description'
}
],
'@typescript-eslint/no-unsafe-member-access': 'warn',
'@typescript-eslint/no-unsafe-assignment': 'warn'
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'es/no-regexp-lookbehind-assertions': 'error'
}
};
+20 -5
View File
@@ -1,8 +1,23 @@
version: 2
updates:
- package-ecosystem: 'npm'
directory: '/'
target-branch: 'develop'
- package-ecosystem: docker
directory: /
target-branch: develop
schedule:
interval: 'weekly'
day: 'friday'
interval: weekly
day: friday
time: '07:00'
- package-ecosystem: github-actions
directory: /
target-branch: develop
schedule:
interval: weekly
day: friday
time: '07:00'
- package-ecosystem: npm
directory: /
target-branch: develop
schedule:
interval: weekly
day: friday
time: '07:00'
+2 -2
View File
@@ -12,6 +12,6 @@ Describe the way your implementation works or what design decisions you made if
Make sure you
- [ ] :book: have read the [contribution guidelines](https://github.com/mermaid-js/mermaid/blob/develop/CONTRIBUTING.md)
- [ ] :book: have read the [contribution guidelines](https://github.com/mermaid-js/mermaid/blob/master/CONTRIBUTING.md)
- [ ] :computer: have added unit/e2e tests (if appropriate)
- [ ] :bookmark: targeted `master` branch
- [ ] :bookmark: targeted `develop` branch
+8 -3
View File
@@ -1,14 +1,15 @@
name: Cypress Tests
on:
push:
pull_request:
branches:
- master
- develop
jobs:
cypress-run:
runs-on: ubuntu-latest
# Update after https://github.com/cypress-io/cypress-docker-images/issues/487
container: cypress/browsers:node14.16.0-chrome90-ff88
steps:
@@ -26,6 +27,11 @@ jobs:
restore-keys: |
${{ runner.os }}-node_modules-build-
- name: Lint
run: |
yarn install
yarn run lint
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
@@ -34,8 +40,7 @@ jobs:
build: yarn build
start: yarn preview
wait-on: 'http://localhost:3000'
wait-on-timeout: 120
# record: true
record: true
headless: true
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
+21 -25
View File
@@ -6,52 +6,48 @@ on:
pull_request:
branches:
- master
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '16'
- name: Checkout
uses: actions/checkout@v2
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-and-build-cache
id: yarn-cache
with:
path: |
node_modules
key: ${{ runner.os }}-node_modules-build-deploy-${{ hashFiles('**/yarn.lock') }}
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node_modules-build-deploy-
- name: Setup Beta
if: ${{ github.event_name == 'pull_request' }}
run: |
export BETA=true
rm -rf docs/beta/
- name: Cleanup build
if: ${{ github.event_name != 'pull_request' }}
run: |
rm -rf docs/_app/
${{ runner.os }}-yarn-
- name: Build & Deploy
run: |
npm i -g yarn
export DEPLOY=true
echo "$GITHUB_EVENT_NAME"
[ "$GITHUB_EVENT_NAME" == "pull_request" ] && export BETA=true && rm -rf docs/beta/
[ "$GITHUB_EVENT_NAME" != "pull_request" ] && rm -rf docs/_app/
yarn install
# yarn run lint
yarn run lint
version=$(yarn version --patch --no-git-tag-version | grep "New version" | cut -d':' -f 2)
yarn build
cd bin
./fix-path
cd ..
git config user.name github-actions
git config user.email github-actions@github.com
git pull origin gh-pages
git add .
git commit -nm "Release $version"
git push origin gh-pages
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
keep_files: true
+69
View File
@@ -0,0 +1,69 @@
name: Docker
on:
push:
# Publish `master` as Docker `latest` image.
branches:
- master
# Publish `v1.2.3` tags as releases.
tags:
- v*
# Run tests for all PRs to master and develop.
pull_request:
branches:
- master
- develop
env:
IMAGE_NAME: mermaid-live-editor
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run tests
run: |
docker build . --file Dockerfile
push:
# Ensure test job passes before pushing image.
needs: test
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v2
- name: Build image
run: docker build . --file Dockerfile --tag $IMAGE_NAME
- name: Log into registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Push image
run: |
IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME
# Change all uppercase to lowercase
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
# Strip git ref prefix from version
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
# Strip "v" prefix from tag name
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
# Use Docker `latest` tag convention
[ "$VERSION" == "master" ] && VERSION=latest
echo IMAGE_ID=$IMAGE_ID
echo VERSION=$VERSION
docker tag $IMAGE_NAME $IMAGE_ID:$VERSION
docker push $IMAGE_ID:$VERSION
+1 -1
View File
@@ -8,7 +8,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
- uses: actions/stale@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
exempt-issue-labels: 'retained'
+16
View File
@@ -0,0 +1,16 @@
name: Update Browserslist
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npx browserslist@latest --update-db
- name: Commit changes
uses: EndBug/add-and-commit@v8
with:
author_name: ${{ github.actor }}
author_email: ${{ github.actor }}@users.noreply.github.com
message: 'Update Browserslist'
@@ -0,0 +1,19 @@
name: Update Monaco-editor
on:
workflow_dispatch:
pull_request:
branches:
- 'dependabot/npm_and_yarn/develop/monaco-editor-**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: ./bin/update-monaco
- name: Commit changes
uses: EndBug/add-and-commit@v8
with:
author_name: ${{ github.actor }}
author_email: ${{ github.actor }}@users.noreply.github.com
message: 'Update Monaco-editor'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npm run pre-commit
yarn pre-commit
+1 -1
View File
@@ -1,7 +1,7 @@
{
"singleQuote": true,
"svelteSortOrder": "options-scripts-markup-styles",
"svelteBracketNewLine": false,
"bracketSameLine": true,
"useTabs": true,
"trailingComma": "none",
"printWidth": 100
+4
View File
@@ -0,0 +1,4 @@
{
"editor.formatOnSave": true,
"cSpell.words": ["pako", "Serde", "serdes"]
}
+1 -2
View File
@@ -6,8 +6,7 @@
# Stop : press ctrl + c
# or
# docker stop mermaid-live-editor
FROM node:14.16.0-alpine3.13 as mermaid-live-editor-builder
FROM node:17.4.0 as mermaid-live-editor-builder
COPY --chown=node:node . /home
WORKDIR /home
RUN yarn install
+8
View File
@@ -0,0 +1,8 @@
FROM node:17
WORKDIR /app
COPY package.json .
COPY yarn.lock .
RUN npm install
COPY . .
RUN ls
CMD ["yarn", "dev"]
+34 -21
View File
@@ -1,6 +1,6 @@
[![Join our Slack!](https://img.shields.io/static/v1?message=join%20chat&color=9cf&logo=slack&label=slack)](https://join.slack.com/t/mermaid-talk/shared_invite/enQtNzc4NDIyNzk4OTAyLWVhYjQxOTI2OTg4YmE1ZmJkY2Y4MTU3ODliYmIwOTY3NDJlYjA0YjIyZTdkMDMyZTUwOGI0NjEzYmEwODcwOTE)
[![Mermaid Live Editor](https://img.shields.io/endpoint?url=https://dashboard.cypress.io/badge/detailed/2ckppp/master&style=flat&logo=cypress)](https://dashboard.cypress.io/projects/2ckppp/runs) [![Join our Slack!](https://img.shields.io/static/v1?message=join%20chat&color=9cf&logo=slack&label=slack)](https://join.slack.com/t/mermaid-talk/shared_invite/enQtNzc4NDIyNzk4OTAyLWVhYjQxOTI2OTg4YmE1ZmJkY2Y4MTU3ODliYmIwOTY3NDJlYjA0YjIyZTdkMDMyZTUwOGI0NjEzYmEwODcwOTE)[![Netlify Status](https://api.netlify.com/api/v1/badges/27fa023d-7c73-4a3f-9791-b3b657a47100/deploy-status)](https://app.netlify.com/sites/mermaidjs/deploys)
# Contributors are welcome
# Contributors are welcome!
If you want to speed up the progress for mermaid-live-editor, join the slack channel and contact knsv.
@@ -17,32 +17,44 @@ Edit, preview and share mermaid charts/diagrams.
## Live demo
You can try out a live version [here](https://mermaid-js.github.io/mermaid-live-editor/).
You can try out a live version [here](https://mermaid.live/).
## Docker
### Run published image
```bash
docker run --publish 8000:80 ghcr.io/mermaid-js/mermaid-live-editor
```
### To configure renderer URL
When building, Set the Environment variable MERMAID_RENDERER_URL to the rendering service.
Default is `https://mermaid.ink`
### To configure Kroki Instance URL
When building, Set the Environment variable MERMAID_KROKI_RENDERER_URL to your Kroki instance.
Default is `https://kroki.io`
### Development
```bash
docker compose up --build
```
Then open http://localhost:8000
## Setup
[Volta](https://volta.sh) is used for managing node and yarn versions.
This project is set up using [Yarn](https://classic.yarnpkg.com/en/docs/getting-started). :
This project is set up using [Yarn](https://classic.yarnpkg.com/en/docs/getting-started):
```
yarn install
```
or in develop branch to use the beta version of mermaid use
```
yarn install --update-checksums
```
This together with a .npmrc file:
```
registry=https://registry.npmjs.com/
@mermaid-js:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken="XXXXXXXXX"
```
## Development
```
@@ -53,6 +65,7 @@ This app is created with Svelte Kit.
## Release
```
yarn release
```
When a PR is created targeting master, it will be built and deployed by Netlify.
The URL will be indicated in a Comment in the PR.
Once the PR is merged, it will automatically be released.
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
monacoVersion="$(jq -r '.dependencies."monaco-editor"' package.json)"
monacoVersion="${monacoVersion:1}"
if [[ $(uname) == "Darwin" ]];
then
sed -i '' -E "s/monaco-editor\/[^/]*/monaco-editor\/$monacoVersion/g" ./src/app.html
else
sed -i'' -E "s/monaco-editor\/[^/]*/monaco-editor\/$monacoVersion/g" ./src/app.html
fi
+6 -2
View File
@@ -1,9 +1,7 @@
describe('Check actions', () => {
// eslint-disable-next-line mocha/no-hooks-for-single-case
beforeEach(() => {
cy.clearLocalStorage();
cy.visit('/edit');
cy.contains('Actions').click();
});
it('should update markdown code', () => {
cy.get('#markdown')
@@ -17,4 +15,10 @@ describe('Check actions', () => {
});
});
});
it('should load gists from URL', () => {
cy.get('#gist').type('https://gist.github.com/sidharthv96/6268a23e673a533dcb198f241fd7012a');
cy.contains('Load Gist').click();
cy.contains('Go shopping!!');
});
});
+10
View File
@@ -30,4 +30,14 @@ describe('Auto sync tests', () => {
cy.get('#view').should('not.have.class', 'outOfSync');
cy.getLocalStorage('codeStore').snapshot();
});
it('supports commenting code out/in', () => {
const cmd = Cypress.platform === 'darwin' ? 'meta' : 'ctrl';
cy.get('#editor').type(`{uparrow}{${cmd}}/`);
cy.get('#view').contains('Car').should('not.exist');
cy.get('#editor').type(`{uparrow}{${cmd}}/`);
cy.get('#view').contains('Car').should('exist');
});
});
+4 -1
View File
@@ -1,8 +1,12 @@
describe('Save History', () => {
beforeEach(() => {
cy.clock();
cy.clearLocalStorage();
cy.visit('/edit');
cy.contains('Actions').click();
cy.contains('History').click();
});
it('should save when clicked', () => {
cy.get('#historyList').find('li').should('have.length', 0);
cy.get('#historyList').contains('No items in History');
@@ -43,7 +47,6 @@ describe('Save History', () => {
});
it('should auto save history', () => {
cy.clock();
cy.get('#editor').type(' C --> HistoryTest');
cy.tick(70000);
cy.contains('Timeline').click();
+93 -2
View File
@@ -1,3 +1,5 @@
import { toBase64 } from 'js-base64';
describe('Site Loads', () => {
beforeEach(() => {
cy.clearLocalStorage();
@@ -15,9 +17,8 @@ describe('Site Loads', () => {
);
cy.url().should(
'include',
'/edit/eyJjb2RlIjoiZ3JhcGggVERcbiAgICBBW0NocmlzdG1hc10gLS0-fEdldCBtb25leXwgQihHbyBzaG9wcGluZylcbiAgICBCIC0tPiBDe0xldCBtZSB0aGlua31cbiAgICBDIC0tPnxPbmV8IERbTGFwdG9wXVxuICAgIEMgLS0-fFR3b3wgRVtpUGhvbmVdXG4gICAgQyAtLT58VGhyZWV8IEZbZmE6ZmEtY2FyIENhcl0iLCJtZXJtYWlkIjp7InRoZW1lIjoiZGVmYXVsdCJ9LCJ1cGRhdGVFZGl0b3IiOmZhbHNlfQ'
'/edit#eyJjb2RlIjoiZ3JhcGggVERcbiAgICBBW0NocmlzdG1hc10gLS0-fEdldCBtb25leXwgQihHbyBzaG9wcGluZylcbiAgICBCIC0tPiBDe0xldCBtZSB0aGlua31cbiAgICBDIC0tPnxPbmV8IERbTGFwdG9wXVxuICAgIEMgLS0-fFR3b3wgRVtpUGhvbmVdXG4gICAgQyAtLT58VGhyZWV8IEZbZmE6ZmEtY2FyIENhcl0iLCJtZXJtYWlkIjp7InRoZW1lIjoiZGVmYXVsdCJ9LCJ1cGRhdGVFZGl0b3IiOmZhbHNlfQ'
);
cy.contains('History').click();
cy.getLocalStorage('codeStore').snapshot();
});
@@ -29,4 +30,94 @@ describe('Site Loads', () => {
cy.contains('Class Diagram').click();
cy.contains('classDiagram');
});
it('should load diagram from gist', () => {
cy.visit(`/edit?gist=https://gist.github.com/sidharthv96/6268a23e673a533dcb198f241fd7012a`);
cy.contains('History').click();
cy.contains('Go shopping!!');
cy.contains('Revisions');
cy.contains('sidharthv96 v8f8f1e2');
cy.contains('sidharthv96 v7851e19');
cy.getLocalStorage('codeStore').snapshot();
});
it('should load diagram from gist revision', () => {
cy.visit(
'/edit?gist=https://gist.github.com/sidharthv96/6268a23e673a533dcb198f241fd7012a/ec9b4ab0e41e4ff6287326cd3cb47affd7851e19'
);
cy.contains('History').click();
cy.contains('Party');
cy.contains('Revisions');
cy.contains('sidharthv96 v7851e19');
cy.getLocalStorage('codeStore').snapshot();
});
it('should load diagram from raw files', () => {
cy.visit(
'/edit?code=https://gist.githubusercontent.com/sidharthv96/6268a23e673a533dcb198f241fd7012a/raw/4eb03887e6a41397e80bdcdbf94017c498f8f1e2/code.mmd&config=https://gist.githubusercontent.com/sidharthv96/6268a23e673a533dcb198f241fd7012a/raw/4eb03887e6a41397e80bdcdbf94017c498f8f1e2/config.json'
);
cy.contains('Party');
cy.getLocalStorage('codeStore').snapshot();
});
// Disabled temporarily. Should be enabled after the issue is fixed in Mermaid.
// it('should prevent setting the "securityLevel" option via URL', () => {
// const b64State = toBase64(
// `{"code":"graph TD\\nA[\\"<img src='https://via.placeholder.com/64' width=64 />\\"]","mermaid":"{\\"securityLevel\\": \\"loose\\", \\"theme\\": \\"forest\\"}","updateEditor":true,"autoSync":true,"updateDiagram":true}`,
// true
// );
// cy.on('window:confirm', () => true);
// cy.visit(`/edit#${b64State}`);
// cy.contains('Config').click();
// cy.contains('forest');
// cy.contains('securityLevel').should('not.exist');
// cy.get('#view').find('img').should('not.exist');
// cy.get('#view').contains('<img');
// cy.get('#view').contains(`src='https://via.placeholder.com/64'`);
// });
it('should allow persisting "securityLevel" using confirm dialogue', () => {
const b64State = toBase64(
`{"code":"graph TD\\nA[\\"<img src='https://via.placeholder.com/64' width=64/>\\"]","mermaid":"{\\"securityLevel\\": \\"loose\\", \\"theme\\": \\"forest\\"}","updateEditor":true,"autoSync":true,"updateDiagram":true}`,
true
);
cy.on('window:confirm', () => false);
cy.visit(`/edit#${b64State}`);
cy.contains('Config').click();
cy.contains('forest');
cy.contains('securityLevel');
cy.get('#view').find('img').should('be.visible');
});
it('should show troubleshooting steps if loading fails', () => {
cy.visit('/#/edit/eyJjb2RlIjoiZ3JhcGggVERcbiAg');
cy.contains('Please Click here to Raise an issue in github.');
});
it('should load uncompressed URL', () => {
cy.visit(
'/edit/#eyJjb2RlIjoiZ3JhcGggVERcbiAgICBBW05ldyBZZWFyXSAtLT58R2V0IG1vbmV5fCBCKEdvIHNob3BwaW5nKVxuICAgIEIgLS0-IEN7TGV0IG1lIHRoaW5rfVxuICAgIEMgLS0-fE9uZXwgRFtMYXB0b3BdXG4gICAgQyAtLT58VHdvfCBFW2lQaG9uZV1cbiAgICBDIC0tPnxUaHJlZXwgRltmYTpmYS1jYXIgQ2FyXSIsIm1lcm1haWQiOiJ7XG4gIFwidGhlbWVcIjogXCJkZWZhdWx0XCJcbn0iLCJ1cGRhdGVFZGl0b3IiOmZhbHNlLCJhdXRvU3luYyI6dHJ1ZSwidXBkYXRlRGlhZ3JhbSI6ZmFsc2V9'
);
cy.contains('New Year');
cy.visit(
'/edit#eyJjb2RlIjoiY2xhc3NEaWFncmFtXG4gICAgQW5pbWFsIDx8LS0gRHVja1xuICAgIEFuaW1hbCA8fC0tIEZpc2hcbiAgICBBbmltYWwgPHwtLSBaZWJyYVxuICAgIEFuaW1hbCA6ICtpbnQgYWdlXG4gICAgQW5pbWFsIDogK1N0cmluZyBnZW5kZXJcbiAgICBBbmltYWw6ICtpc01hbW1hbCgpXG4gICAgQW5pbWFsOiArbWF0ZSgpXG4gICAgY2xhc3MgRHVja3tcbiAgICAgICtTdHJpbmcgYmVha0NvbG9yXG4gICAgICArc3dpbSgpXG4gICAgICArcXVhY2soKVxuICAgIH1cbiAgICBjbGFzcyBGaXNoe1xuICAgICAgLWludCBzaXplSW5GZWV0XG4gICAgICAtY2FuRWF0KClcbiAgICB9XG4gICAgY2xhc3MgWmVicmF7XG4gICAgICArYm9vbCBpc193aWxkXG4gICAgICArcnVuKClcbiAgICB9XG4gICAgICAgICAgICAiLCJtZXJtYWlkIjoie1xuICBcInRoZW1lXCI6IFwiZGFya1wiXG59IiwidXBkYXRlRWRpdG9yIjpmYWxzZSwiYXV0b1N5bmMiOnRydWUsInVwZGF0ZURpYWdyYW0iOmZhbHNlfQ'
);
cy.contains('Animal');
cy.visit(
'/edit/#base64:eyJjb2RlIjoiZ3JhcGggVERcbiAgICBBW05ldyBZZWFyXSAtLT58R2V0IG1vbmV5fCBCKEdvIHNob3BwaW5nKVxuICAgIEIgLS0-IEN7TGV0IG1lIHRoaW5rfVxuICAgIEMgLS0-fE9uZXwgRFtMYXB0b3BdXG4gICAgQyAtLT58VHdvfCBFW2lQaG9uZV1cbiAgICBDIC0tPnxUaHJlZXwgRltmYTpmYS1jYXIgQ2FyXSIsIm1lcm1haWQiOiJ7XG4gIFwidGhlbWVcIjogXCJkZWZhdWx0XCJcbn0iLCJ1cGRhdGVFZGl0b3IiOmZhbHNlLCJhdXRvU3luYyI6dHJ1ZSwidXBkYXRlRGlhZ3JhbSI6ZmFsc2V9'
);
cy.contains('New Year');
});
it('should load compressed URL', () => {
cy.visit(
'/edit#pako:eNpVkM2KwkAQhF-l6dMK5gVyEDRxvYi7sF6WjIcm0zqDzg_jBJEk725Hd2G3Tw31VVFUj23QjCWeEkUD-1p5kFs2O77BN1M6QFEshg1ncMHzfYDV2ybA1YQYrT_NXvhqgqDqtxPGkI315_ElVU__h-cB6mZLMYd4-Kvsb2GAdWM_jcT_V0xicb03RyqPVLSUoJI-OEfHyZHV0rqfDAqzYccKS3k1pbNC5Ufhuqgp81rbHBJKxuXKc6Quh6-7b7HMqeNfqLYkC7gfanwAlW1ZvQ'
);
cy.contains('New Year');
cy.visit(
'/edit#pako:eNptkU1PwzAMhv9K5BOI9Q9EXBDbJA477YYqITcxndV8QD40weh_Jy1rGR0-OY_tV2_sEyivCSQogzGuGduAtnaixINji0bcf1WVWGfVXdMtx8M1faYm4B8sxR27JLClJd6nwK4VLTlN4bI4jMQd2pLe3C4KFhNNcLQ92jv9ADGLNoTdozc-zIV4ZDsNlud7RtVN7_5Sb_jYrFcN3iN_0pPbEqUZK3QbTP_Ojyv4NdR4bwTHlyMbPcOQ3WJ2CliBpWCRdbnLqFJDOpClGmRJNYauhtr1pS-_6bKMjebkA8hXNJFWgDn5_YdTIFPINDWdb3vu6r8BaWOZRQ'
);
cy.reload();
cy.contains('Animal');
});
});
+57
View File
@@ -0,0 +1,57 @@
describe('Test themes', () => {
describe('Test light themes', () => {
beforeEach(() => {
cy.clearLocalStorage();
cy.visit('/edit', {
onBeforeLoad(win) {
cy.stub(win, 'matchMedia')
.callThrough()
.withArgs('(prefers-color-scheme: dark)')
.returns({
matches: false
});
}
});
cy.contains('Change Theme').click();
});
it('should set light theme as default', () => {
cy.contains('light').parent().should('have.class', 'bordered');
cy.contains('dark').parent().should('not.have.class', 'bordered');
cy.getLocalStorage('themeStore').snapshot();
});
it('should change themes when clicked', () => {
cy.contains('light').parent().should('have.class', 'bordered');
cy.contains('cupcake').click();
cy.contains('cupcake').parent().should('have.class', 'bordered');
cy.contains('light').parent().should('not.have.class', 'bordered');
cy.contains('dark').parent().should('not.have.class', 'bordered');
cy.getLocalStorage('themeStore').snapshot();
});
});
describe('Test dark mode', () => {
// eslint-disable-next-line mocha/no-hooks-for-single-case
beforeEach(() => {
cy.clearLocalStorage();
cy.visit('/edit', {
onBeforeLoad(win) {
cy.stub(win, 'matchMedia')
.callThrough()
.withArgs('(prefers-color-scheme: dark)')
.returns({
matches: true
});
}
});
cy.contains('Change Theme').click();
});
it('should set dark theme as default', () => {
cy.contains('light').parent().should('not.have.class', 'bordered');
cy.contains('dark').parent().should('have.class', 'bordered');
cy.getLocalStorage('themeStore').snapshot();
});
});
});
+35 -2
View File
@@ -4,10 +4,19 @@ module.exports = {
"1": "{\"code\":\"graph TD\\n A[Christmas] -->|Get money| B(Go shopping)\\n B --> C{Let me think}\\n C -->|One| D[Laptop]\\n C -->|Two| E[iPhone]\\n C -->|Three| F[fa:fa-car Car]\\n \",\"mermaid\":\"{\\n \\\"theme\\\": \\\"default\\\"\\n}\",\"updateEditor\":true,\"autoSync\":true,\"updateDiagram\":true}"
},
"Check Redirect from old URL": {
"1": "{\"code\":\"graph TD\\n A[Christmas] -->|Get money| B(Go shopping)\\n B --> C{Let me think}\\n C -->|One| D[Laptop]\\n C -->|Two| E[iPhone]\\n C -->|Three| F[fa:fa-car Car]\",\"mermaid\":\"{\\n \\\"theme\\\": \\\"default\\\"\\n}\",\"updateEditor\":false,\"autoSync\":true,\"updateDiagram\":false}"
"1": "{\"code\":\"graph TD\\n A[Christmas] -->|Get money| B(Go shopping)\\n B --> C{Let me think}\\n C -->|One| D[Laptop]\\n C -->|Two| E[iPhone]\\n C -->|Three| F[fa:fa-car Car]\",\"mermaid\":\"{\\n \\\"theme\\\": \\\"default\\\"\\n}\",\"updateEditor\":false,\"autoSync\":true,\"updateDiagram\":true}"
},
"should load diagram from gist": {
"1": "{\"code\":\"graph TD\\n A[Party] -->|Get money| B(Go shopping!!)\\n \",\"mermaid\":\"{\\n \\\"theme\\\": \\\"forest\\\",\\n \\\"test\\\": \\\"hello world\\\"\\n}\",\"updateEditor\":false,\"autoSync\":true,\"updateDiagram\":true,\"loader\":{\"type\":\"gist\",\"config\":{\"url\":\"https://gist.github.com/sidharthv96/6268a23e673a533dcb198f241fd7012a\"}}}"
},
"should load diagram from gist revision": {
"1": "{\"code\":\"graph TD\\n A[Party] -->|Get money| B(Go shopping)\\n \",\"mermaid\":\"{\\n \\\"theme\\\": \\\"forest\\\",\\n \\\"test\\\": \\\"hello\\\"\\n}\",\"updateEditor\":false,\"autoSync\":true,\"updateDiagram\":true,\"loader\":{\"type\":\"gist\",\"config\":{\"url\":\"https://gist.github.com/sidharthv96/6268a23e673a533dcb198f241fd7012a/ec9b4ab0e41e4ff6287326cd3cb47affd7851e19\"}}}"
},
"should load diagram from raw files": {
"1": "{\"code\":\"graph TD\\n A[Party] -->|Get money| B(Go shopping!!)\\n \",\"mermaid\":\"{\\n \\\"theme\\\": \\\"forest\\\",\\n \\\"test\\\": \\\"hello world\\\"\\n}\",\"updateEditor\":false,\"autoSync\":true,\"updateDiagram\":true,\"loader\":{\"type\":\"files\",\"config\":{\"codeURL\":\"https://gist.githubusercontent.com/sidharthv96/6268a23e673a533dcb198f241fd7012a/raw/4eb03887e6a41397e80bdcdbf94017c498f8f1e2/code.mmd\",\"configURL\":\"https://gist.githubusercontent.com/sidharthv96/6268a23e673a533dcb198f241fd7012a/raw/4eb03887e6a41397e80bdcdbf94017c498f8f1e2/config.json\"}}}"
}
},
"__version": "7.3.0",
"__version": "9.3.1",
"Auto sync tests": {
"should dim diagram when code is edited": {
"1": "{\"code\":\"graph TD\\n A[Christmas] -->|Get money| B(Go shopping)\\n B --> C{Let me think}\\n C -->|One| D[Laptop]\\n C -->|Two| E[iPhone]\\n C -->|Three| F[fa:fa-car Car]\\n C --> Test\",\"mermaid\":\"{\\n \\\"theme\\\": \\\"default\\\"\\n}\",\"updateEditor\":false,\"autoSync\":false,\"updateDiagram\":false}"
@@ -15,5 +24,29 @@ module.exports = {
"should not dim diagram when code is in sync": {
"1": "{\"code\":\"graph TD\\n A[Christmas] -->|Get money| B(Go shopping)\\n B --> C{Let me think}\\n C -->|One| D[Laptop]\\n C -->|Two| E[iPhone]\\n C -->|Three| F[fa:fa-car Car]\\n C --> Testing\",\"mermaid\":\"{\\n \\\"theme\\\": \\\"default\\\"\\n}\",\"updateEditor\":false,\"autoSync\":true,\"updateDiagram\":false}"
}
},
"Test themes": {
"should set light theme as default": {
"1": "{\"theme\":\"light\",\"isDark\":false}"
},
"should change themes when clicked": {
"1": "{\"theme\":\"cupcake\",\"isDark\":false}"
},
"should set dark theme as default": {
"1": "{\"theme\":\"dark\",\"isDark\":true}"
},
"Test light themes": {
"should set light theme as default": {
"1": "{\"theme\":\"light\",\"isDark\":false}"
},
"should change themes when clicked": {
"1": "{\"theme\":\"cupcake\",\"isDark\":false}"
}
},
"Test dark mode": {
"should set dark theme as default": {
"1": "{\"theme\":\"dark\",\"isDark\":true}"
}
}
}
}
+2 -2
View File
@@ -18,10 +18,10 @@ import './commands';
// Alternatively you can use CommonJS syntax:
// require('./commands')
const resizeObserverLoopErrRe = /^[^(ResizeObserver loop limit exceeded)]/;
Cypress.on('uncaught:exception', (err) => {
/* returning false here prevents Cypress from failing the test */
if (resizeObserverLoopErrRe.test(err.message)) {
if (err.message.includes('ResizeObserver loop limit exceeded')) {
return false;
}
});
+11
View File
@@ -0,0 +1,11 @@
version: '3.7'
services:
mermaid:
build:
context: .
dockerfile: Dockerfile.dev
volumes:
- ./src:/app/src
ports:
- 8080:8080
- 24678:24678
View File
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
#menu-toggle.svelte-qevfgi:checked+#menu.svelte-qevfgi{display:block}header.svelte-qevfgi.svelte-qevfgi{z-index:10000}.icon.svelte-1qkpo3v{transition-duration:.5s}.isOpen.svelte-1qkpo3v{transform:rotate(90deg)}#resizeHandler.svelte-ub8fux{cursor:col-resize;padding:0 2px}#resizeHandler.svelte-ub8fux:after{background-color:#ccc;content:"";height:100%;margin-left:-1px;position:absolute;top:0;width:2px}#resizeHandler.svelte-ub8fux:hover:after{background-color:#818cf8;margin-left:-2px;width:4px}@media screen and (max-width:768px){#resizeHandler.svelte-ub8fux{display:none}}
-1
View File
@@ -1 +0,0 @@
#svelte-announcer.svelte-1pdgbjn{clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;left:0;overflow:hidden;position:absolute;top:0;white-space:nowrap;width:1px}
-1
View File
@@ -1 +0,0 @@
#view.svelte-7vvt6c{border:1px #8b0000;flex:1}.error.svelte-7vvt6c,.outOfSync.svelte-7vvt6c{opacity:.5}
@@ -1 +0,0 @@
function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(t){for(var n=1;n<arguments.length;n++){var a=null!=arguments[n]?arguments[n]:{},i=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(a).filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable})))),i.forEach((function(n){e(t,n,a[n])}))}return t}var n={trackingId:null,debug:!1,anonymizeIp:!1,customDimensions:{},resetCustomDimensionsOnPage:[],setCustomDimensionsToPage:!0},a={};function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=!1,u=r(e),d=u.instanceName,p=u.instancePrefix;return{name:"google-analytics",config:t({},n,e),initialize:function(e){var n=e.config,i=e.instance;if(!n.trackingId)throw new Error("No GA trackingId defined");var r,c,s,u,g,f,v,m=n.customScriptSrc||"https://www.google-analytics.com/analytics.js";if(o(m)&&(r=window,c=document,s="script",u=m,g="ga",r.GoogleAnalyticsObject=g,r.ga=r.ga||function(){(r.ga.q=r.ga.q||[]).push(arguments)},r.ga.l=1*new Date,f=c.createElement(s),v=c.getElementsByTagName(s)[0],f.async=1,f.src=u,v.parentNode.insertBefore(f,v)),!a[d]){var y=t({cookieDomain:n.domain||"auto",siteSpeedSampleRate:n.siteSpeedSampleRate||1,sampleRate:n.sampleRate||100,allowLinker:!0},n.cookieConfig);if(d&&(y.name=d),ga("create",n.trackingId,y),n.debug&&(ga("".concat(p,"set"),"sendHitTask",null),window.ga_debug={trace:!0}),n.anonymizeIp&&ga("".concat(p,"set"),"anonymizeIp",!0),n.tasks){["customTask","previewTask","checkProtocolTask","validationTask","checkStorageTask","historyImportTask","samplerTask","buildHitTask","sendHitTask","timingTask","displayFeaturesTask"].forEach((function(e){if(n.tasks.hasOwnProperty(e)){var t=n.tasks[e];"function"==typeof t?ga(n.tasks[e]):null===t&&ga("".concat(p,"set"),e,t)}}))}var k=(i.user()||{}).traits||{};if(Object.keys(k).length){var h=l(k,n);ga("".concat(p,"set"),h)}a[d]=!0}},page:function(e){var n=e.payload,a=e.config,r=e.instance,c=n.properties,l=a.resetCustomDimensionsOnPage,u=a.customDimensions,f=r.getState("context.campaign");if(!o()){if(l&&l.length){var d=l.reduce((function(e,t){return u[t]&&(e[u[t]]=null),e}),{});Object.keys(d).length&&ga("".concat(p,"set"),d)}var v=c.path||document.location.pathname,m={page:v,title:c.title,location:c.url},y={page:v,title:c.title};c.referrer!==document.referrer&&(y.referrer=c.referrer);var k=t({},m,s(f),g(c,a,p));ga("".concat(p,"set"),y),i&&delete k.location,ga("".concat(p,"send"),"pageview",k),i=!0}},track:function(e){var t=e.payload,n=e.config,a=e.instance,i=t.properties,o=t.event,r=i.label,s=i.value;c({hitType:"event",event:o,label:r,category:i.category||"All",value:s,nonInteraction:i.nonInteraction,campaign:a.getState("context.campaign")},n,t)},identify:function(e){var t=e.payload,n=e.config;f(t.userId,t.traits,n)},loaded:function(){return!!window.gaplugins}}}function o(e){return e?!function(e){var t=document.querySelectorAll("script[src]");return!!Object.keys(t).filter((function(n){return(t[n].src||"")===e})).length}(e):"undefined"==typeof ga}function r(e){var t=e.instanceName;return{instancePrefix:t?"".concat(t,"."):"",instanceName:t}}function c(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0;if(!o()){var i=r(n),c=i.instancePrefix,l={hitType:e.hitType||"event",eventAction:e.event,eventLabel:e.label,eventCategory:e.category||"All",nonInteraction:void 0!==e.nonInteraction&&!!e.nonInteraction};e.value&&(l.eventValue=d(e.value));var u=s(e),f=g(a.properties,n,c),p=t({},l,u,f);return ga("".concat(c,"send"),"event",p),p}}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={},n=e.name,a=e.source,i=e.medium,o=e.content,r=e.keyword;return n&&(t.campaignName=n),a&&(t.campaignSource=a),i&&(t.campaignMedium=i),o&&(t.campaignContent=o),r&&(t.campaignKeyword=r),t}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.customDimensions;return Object.keys(n).reduce((function(t,a){var i=n[a],o=u(e,a)||e[a];return"boolean"==typeof o&&(o=o.toString()),o||0===o?(t[i]=o,t):t}),{})}function u(e,t,n,a,i){for(t=t.split?t.split("."):t,a=0;a<t.length;a++)e=e?e[t[a]]:i;return e===i?n:e}function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,a=l(e,t);return Object.keys(a).length?t.setCustomDimensionsToPage?(ga("".concat(n,"set"),a),{}):a:{}}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!o()){var a=r(n),i=a.instancePrefix;if(e&&ga("".concat(i,"set"),"userId",e),Object.keys(t).length){var c=l(t,n);ga("".concat(i,"set"),c)}}}function d(e){return!e||e<0?0:Math.round(e)}var p=i,v=i,m=void 0,y=void 0,k=c,h=f;export default p;export{h as identify,v as init,m as initialize,y as page,k as track};
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
let s="",a="/.";function e(e){({base:s,assets:a}=e)}export{s as b,e as s};
@@ -1 +0,0 @@
let e;const r={},t=function(t,n){if(!n)return t();if(void 0===e){const r=document.createElement("link").relList;e=r&&r.supports&&r.supports("modulepreload")?"modulepreload":"preload"}return Promise.all(n.map((t=>{if(t in r)return;r[t]=!0;const n=t.endsWith(".css"),o=n?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${t}"]${o}`))return;const s=document.createElement("link");return s.rel=n?"stylesheet":e,n||(s.as="script",s.crossOrigin=""),s.href=t,document.head.appendChild(s),n?new Promise(((e,r)=>{s.addEventListener("load",e),s.addEventListener("error",r)})):void 0}))).then((()=>t()))};export{t as _};
-1
View File
@@ -1 +0,0 @@
let t;function a(a){t=a}export{a as i,t as r};
-1
View File
@@ -1 +0,0 @@
var e=Object.defineProperty,a=Object.defineProperties,t=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,n=(a,t,r)=>t in a?e(a,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[t]=r,i=(e,a)=>{for(var t in a||(a={}))s.call(a,t)&&n(e,t,a[t]);if(r)for(var t of r(a))o.call(a,t)&&n(e,t,a[t]);return e},c=(e,r)=>a(e,t(r));import{a2 as l,a3 as d,C as p,a4 as u,Z as m,a6 as f,a9 as g,S as y,i as h,s as b,e as v,c as O,a as E,d as S,b as w,N as T,f as D,F as j,G as _,H as x,z as C,a8 as P,J as A}from"./vendor-8b597521.js";import{_ as I}from"./preload-helper-9f12a5fd.js";let J;let L;const N=l(p({code:"graph TD\n A[Christmas] --\x3e|Get money| B(Go shopping)\n B --\x3e C{Let me think}\n C --\x3e|One| D[Laptop]\n C --\x3e|Two| E[iPhone]\n C --\x3e|Three| F[fa:fa-car Car]\n ",mermaid:JSON.stringify({theme:"default"},null,2),updateEditor:!1,autoSync:!0,updateDiagram:!0}),d(),"codeStore"),k=u([N],(([e],a)=>{a(m(JSON.stringify(e),!0))})),V=e=>{N.update((a=>i(i({},a),e)))};let G=!1;const H=(e,a,t=!1)=>{var r;r=e,J&&(clearTimeout(L),L=setTimeout((function(){const e=r.replace(/^\s*%%.*\n/g,"\n").trimStart().split(" ")[0];console.debug("ga:","send","event","render",e),J.track("render",{graphType:e})}),5e3));if((e.match(/\n/g)||"").length+1>50&&!G&&f(N).autoSync){const e=confirm("Long diagram deteced. Turn off Auto Sync? Click the sync logo to manually sync.");G=!0,e&&V({autoSync:!1})}N.update((r=>c(i({},r),{code:e,updateEditor:a,updateDiagram:t})))},z=(e,a)=>{N.update((t=>c(i({},t),{mermaid:e,updateEditor:a})))},B=()=>JSON.stringify(f(N)),F=p(void 0);function M(e){let a,t;return{c(){a=v("div"),t=v("div"),this.h()},l(e){a=O(e,"DIV",{id:!0,class:!0});var r=E(a);t=O(r,"DIV",{id:!0,class:!0}),E(t).forEach(S),r.forEach(S),this.h()},h(){w(t,"id","container"),w(t,"class","flex-1 overflow-auto"),w(a,"id","view"),w(a,"class","p-2 svelte-7vvt6c"),T(a,"error",e[1]),T(a,"outOfSync",e[2])},m(r,s){D(r,a,s),j(a,t),e[3](t)},p(e,[t]){2&t&&T(a,"error",e[1]),4&t&&T(a,"outOfSync",e[2])},i:_,o:_,d(t){t&&S(a),e[3](null)}}}function R(e,a,t){let r;x(e,N,(e=>t(6,r=e)));const s=window.mermaid;let o,n="",i=!1,c=!1,l=!0;return C((()=>{N.subscribe((e=>{try{if(o&&e&&(e.updateDiagram||e.autoSync)){e.autoSync||P(N,r.updateDiagram=!1,r),t(2,c=!1),l=!0,n=e.code;const a=o.parentElement.parentElement.parentElement.scrollTop;t(0,o.innerHTML=n,o),delete o.dataset.processed,s.initialize(Object.assign({},JSON.parse(e.mermaid))),s.render("graph-div",n,(e=>{t(0,o.innerHTML=e,o)})),t(0,o.parentElement.parentElement.parentElement.scrollTop=a,o),t(1,i=!1)}else l?l=!1:t(2,c=!0)}catch(a){console.log("view fail",a),t(1,i=!0)}})),F.subscribe((e=>{void 0===e?t(1,i=!1):(t(1,i=!0),console.log("Error: ",e))}))})),[o,i,c,function(e){A[e?"unshift":"push"]((()=>{o=e,t(0,o)}))}]}class $ extends y{constructor(e){super(),h(this,e,R,M,b,{})}}const U=()=>{(e=>{let a;try{const t=g(e);console.log(`Tring to load state: ${t}`),a=JSON.parse(t),"string"!=typeof a.mermaid&&(a.mermaid=JSON.stringify(a.mermaid,null,2))}catch(t){e&&console.error("Init error",t),a=f(N),console.log(a)}V(c(i({},a),{updateEditor:!0}))})(window.location.hash.slice(1))},Z=()=>{V({updateDiagram:!0})},q=async()=>{U(),Z(),k.subscribe((e=>{history.replaceState(void 0,void 0,`#${e}`)})),await(async()=>{if(!J)try{const{Analytics:e}=await I((()=>import("./analytics.browser.es-eaddcc60.js")),void 0),a=await I((()=>import("./analytics-plugin-ga.browser.es-9bc8c1dc.js")),void 0);J=e({app:"mermaid-live-editor",plugins:[a.init({trackingId:"UA-153180559-1"})]})}catch{console.info("Analytics blocked ;)")}})(),null==J||J.page()};export{$ as V,J as a,k as b,N as c,z as d,F as e,B as g,q as i,Z as s,H as u};
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{S as s,i as r,s as a,e as t,t as e,c as o,a as n,g as c,d as u,f as p,F as l,h as f,k as i,l as d,n as m,G as h}from"./chunks/vendor-8b597521.js";function k(s){let r,a,i=s[1].stack+"";return{c(){r=t("pre"),a=e(i)},l(s){r=o(s,"PRE",{});var t=n(r);a=c(t,i),t.forEach(u)},m(s,t){p(s,r,t),l(r,a)},p(s,r){2&r&&i!==(i=s[1].stack+"")&&f(a,i)},d(s){s&&u(r)}}}function v(s){let r,a,v,E,g,x,P,$=s[1].message+"",b=s[1].stack&&k(s);return{c(){r=t("h1"),a=e(s[0]),v=i(),E=t("p"),g=e($),x=i(),b&&b.c(),P=d()},l(t){r=o(t,"H1",{});var e=n(r);a=c(e,s[0]),e.forEach(u),v=m(t),E=o(t,"P",{});var p=n(E);g=c(p,$),p.forEach(u),x=m(t),b&&b.l(t),P=d()},m(s,t){p(s,r,t),l(r,a),p(s,v,t),p(s,E,t),l(E,g),p(s,x,t),b&&b.m(s,t),p(s,P,t)},p(s,[r]){1&r&&f(a,s[0]),2&r&&$!==($=s[1].message+"")&&f(g,$),s[1].stack?b?b.p(s,r):(b=k(s),b.c(),b.m(P.parentNode,P)):b&&(b.d(1),b=null)},i:h,o:h,d(s){s&&u(r),s&&u(v),s&&u(E),s&&u(x),b&&b.d(s),s&&u(P)}}}function E({error:s,status:r}){return{props:{error:s,status:r}}}function g(s,r,a){let{status:t}=r,{error:e}=r;return s.$$set=s=>{"status"in s&&a(0,t=s.status),"error"in s&&a(1,e=s.error)},[t,e]}export default class extends s{constructor(s){super(),r(this,s,g,v,a,{status:0,error:1})}}export{E as load};
@@ -1 +0,0 @@
import{S as s,i as e,s as r,D as o,e as a,c,a as t,d as n,b as i,f as l,E as u,v as h,r as p,z as f}from"../chunks/vendor-8b597521.js";import{b as $}from"../chunks/paths-45dac81d.js";function d(s){let e,r;const f=s[1].default,$=o(f,s,s[0],null);return{c(){e=a("main"),$&&$.c(),this.h()},l(s){e=c(s,"MAIN",{class:!0});var r=t(e);$&&$.l(r),r.forEach(n),this.h()},h(){i(e,"class","h-screen")},m(s,o){l(s,e,o),$&&$.m(e,null),r=!0},p(s,[e]){$&&$.p&&(!r||1&e)&&u($,f,s,s[0],e,null,null)},i(s){r||(h($,s),r=!0)},o(s){p($,s),r=!1},d(s){s&&n(e),$&&$.d(s)}}}function v(s,e,r){let{$$slots:o={},$$scope:a}=e;return f((()=>{"serviceWorker"in navigator&&navigator.serviceWorker.register(`${$}/service-worker.js`,{scope:`${$}/`}).then((function(s){console.log("Registration successful, scope is:",s.scope)})).catch((function(s){console.log("Service worker registration failed, error:",s)}))})),s.$$set=s=>{"$$scope"in s&&r(0,a=s.$$scope)},[a,o]}export default class extends s{constructor(s){super(),e(this,s,v,d,r,{})}}
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
import{S as t,i as n,s as o,z as s}from"../chunks/vendor-8b597521.js";import{r as e}from"../chunks/singletons-bb9012b7.js";import{b as i}from"../chunks/paths-45dac81d.js";const c=async function(t,n){return e.goto(t,n,[])};function r(t){var n=this&&this.__awaiter||function(t,n,o,s){return new(o||(o=Promise))((function(e,i){function c(t){try{a(s.next(t))}catch(n){i(n)}}function r(t){try{a(s.throw(t))}catch(n){i(n)}}function a(t){var n;t.done?e(t.value):(n=t.value,n instanceof o?n:new o((function(t){t(n)}))).then(c,r)}a((s=s.apply(t,n||[])).next())}))};return s((()=>n(void 0,void 0,void 0,(function*(){const t=window.location.hash.split("/");let n="edit";t.length>2&&(n=`${t[1]}#${t[2]}`),yield c(`${i}/${n}`,{replaceState:!0})})))),[]}export default class extends t{constructor(t){super(),n(this,t,r,null,o,{})}}
-1
View File
@@ -1 +0,0 @@
import{S as s,i as a,s as r,j as t,m as e,o as n,G as o,v as f,r as m,w as u,z as i}from"../chunks/vendor-8b597521.js";import{V as c,i as p}from"../chunks/util-b71e0722.js";import"../chunks/preload-helper-9f12a5fd.js";function $(s){let a,r;return a=new c({}),{c(){t(a.$$.fragment)},l(s){e(a.$$.fragment,s)},m(s,t){n(a,s,t),r=!0},p:o,i(s){r||(f(a.$$.fragment,s),r=!0)},o(s){m(a.$$.fragment,s),r=!1},d(s){u(a,s)}}}function l(s){return i(p),[]}export default class extends s{constructor(s){super(),a(this,s,l,$,r,{})}}
File diff suppressed because one or more lines are too long
-89
View File
@@ -1,89 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Online FlowChart &amp; Diagrams Editor - Mermaid Live Editor</title>
<meta
name="og:image"
content="https://github.com/mermaid-js/mermaid/raw/develop/img/header.png"
/>
<link rel="canonical" href="https://mermaid-js.github.io/mermaid-live-editor/" />
<meta
name="description"
content="Simplify documentation and avoid heavy tools. Open source Visio Alternative. Commonly used for explaining your code! Mermaid is a simple markdown-like script language for generating charts from text via javascript."
/>
<link rel="icon" type="image/png" href="/mermaid-live-editor/favicon.png" />
<link rel="manifest" href="/mermaid-live-editor/manifest.json" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css"
/>
<script
src="https://cdn.jsdelivr.net/npm/mermaid@8.10.1/dist/mermaid.min.js"
integrity="sha256-aQCGsx3/OLAXwNyOUrAedielIQAjIrMFkcWdXMlIkGc="
crossorigin="anonymous"
></script>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.23.0/min/vs/editor/editor.main.min.css"
integrity="sha512-RhnuJxgda82cBylRysVDqdpwnBcSkMzxz1+BxGwBPNMzBJlvaOjHz7P2kXELC0bdNxazsNSyJb7KAww0T5iUdQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<script>
var require = {
paths: { vs: 'https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.23.0/min/vs' }
};
</script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.23.0/min/vs/loader.min.js"
integrity="sha512-+8+MX2hyUZxaUfMJT0ew+rPsrTGiTmCg8oksa6uVE/ZlR/g3SJtyozqcqDGkw/W785xYAvcx1LxXPP+ywD0SNw=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.23.0/min/vs/editor/editor.main.nls.min.js"
integrity="sha512-3aAqsDS5ClTlwyzxufRhW9WMwZlYn3V8GLRl324pMIftp+CA6kvxfjlm8TG7Wi53eBcerEdX0YfXm3QLvf1Pqg=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.23.0/min/vs/editor/editor.main.js"
integrity="sha512-sOJZBKiSvh/6vxIimdXkjO45Nd3v2n3ZYtrwktgj5SJh0+PCqNQ5oqzxEr6c/o4ULczn1Wo2yh1qrz+ghduDUA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<link rel="modulepreload" href="/mermaid-live-editor/_app/start-50d0be99.js">
<link rel="modulepreload" href="/mermaid-live-editor/_app/chunks/vendor-8b597521.js">
<link rel="modulepreload" href="/mermaid-live-editor/_app/chunks/preload-helper-9f12a5fd.js">
<link rel="modulepreload" href="/mermaid-live-editor/_app/chunks/singletons-bb9012b7.js">
<link rel="modulepreload" href="/mermaid-live-editor/_app/chunks/paths-45dac81d.js">
<link rel="stylesheet" href="/mermaid-live-editor/_app/assets/start-0826e215.css">
<script type="module">
import { start } from "/mermaid-live-editor/_app/start-50d0be99.js";
start({
target: document.querySelector("#svelte"),
paths: {"base":"/mermaid-live-editor","assets":"/mermaid-live-editor"},
session: {},
host: location.host,
route: true,
spa: true,
trailing_slash: "ignore",
hydrate: null
});
</script>
</head>
<body>
<div id="svelte">
</div>
</body>
</html>
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

-89
View File
@@ -1,89 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Online FlowChart &amp; Diagrams Editor - Mermaid Live Editor</title>
<meta
name="og:image"
content="https://github.com/mermaid-js/mermaid/raw/develop/img/header.png"
/>
<link rel="canonical" href="https://mermaid-js.github.io/mermaid-live-editor/" />
<meta
name="description"
content="Simplify documentation and avoid heavy tools. Open source Visio Alternative. Commonly used for explaining your code! Mermaid is a simple markdown-like script language for generating charts from text via javascript."
/>
<link rel="icon" type="image/png" href="/mermaid-live-editor/favicon.png" />
<link rel="manifest" href="/mermaid-live-editor/manifest.json" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css"
/>
<script
src="https://cdn.jsdelivr.net/npm/mermaid@8.10.1/dist/mermaid.min.js"
integrity="sha256-aQCGsx3/OLAXwNyOUrAedielIQAjIrMFkcWdXMlIkGc="
crossorigin="anonymous"
></script>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.23.0/min/vs/editor/editor.main.min.css"
integrity="sha512-RhnuJxgda82cBylRysVDqdpwnBcSkMzxz1+BxGwBPNMzBJlvaOjHz7P2kXELC0bdNxazsNSyJb7KAww0T5iUdQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<script>
var require = {
paths: { vs: 'https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.23.0/min/vs' }
};
</script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.23.0/min/vs/loader.min.js"
integrity="sha512-+8+MX2hyUZxaUfMJT0ew+rPsrTGiTmCg8oksa6uVE/ZlR/g3SJtyozqcqDGkw/W785xYAvcx1LxXPP+ywD0SNw=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.23.0/min/vs/editor/editor.main.nls.min.js"
integrity="sha512-3aAqsDS5ClTlwyzxufRhW9WMwZlYn3V8GLRl324pMIftp+CA6kvxfjlm8TG7Wi53eBcerEdX0YfXm3QLvf1Pqg=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.23.0/min/vs/editor/editor.main.js"
integrity="sha512-sOJZBKiSvh/6vxIimdXkjO45Nd3v2n3ZYtrwktgj5SJh0+PCqNQ5oqzxEr6c/o4ULczn1Wo2yh1qrz+ghduDUA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<link rel="modulepreload" href="/mermaid-live-editor/_app/start-50d0be99.js">
<link rel="modulepreload" href="/mermaid-live-editor/_app/chunks/vendor-8b597521.js">
<link rel="modulepreload" href="/mermaid-live-editor/_app/chunks/preload-helper-9f12a5fd.js">
<link rel="modulepreload" href="/mermaid-live-editor/_app/chunks/singletons-bb9012b7.js">
<link rel="modulepreload" href="/mermaid-live-editor/_app/chunks/paths-45dac81d.js">
<link rel="stylesheet" href="/mermaid-live-editor/_app/assets/start-0826e215.css">
<script type="module">
import { start } from "/mermaid-live-editor/_app/start-50d0be99.js";
start({
target: document.querySelector("#svelte"),
paths: {"base":"/mermaid-live-editor","assets":"/mermaid-live-editor"},
session: {},
host: location.host,
route: true,
spa: true,
trailing_slash: "ignore",
hydrate: null
});
</script>
</head>
<body>
<div id="svelte">
</div>
</body>
</html>
-1
View File
@@ -1 +0,0 @@
{"short_name":"Mermaid","name":"Mermaid Live Editor","icons":[{"src":"/mermaid-live-editor/icon-192.png","type":"image/png","sizes":"192x192"},{"src":"/mermaid-live-editor/icon-512.png","type":"image/png","sizes":"512x512"}],"start_url":"/mermaid-live-editor/edit/","background_color":"#6366F1","display":"standalone","scope":"/mermaid-live-editor/edit/","theme_color":"#6366F1","description":"FlowChart & Diagrams Editor.","orientation":"landscape"}
-3
View File
@@ -1,3 +0,0 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:
-2
View File
@@ -1,2 +0,0 @@
// eslint-disable-next-line @typescript-eslint/no-empty-function
self.addEventListener('fetch', (e) => {});
-89
View File
@@ -1,89 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Online FlowChart &amp; Diagrams Editor - Mermaid Live Editor</title>
<meta
name="og:image"
content="https://github.com/mermaid-js/mermaid/raw/develop/img/header.png"
/>
<link rel="canonical" href="https://mermaid-js.github.io/mermaid-live-editor/" />
<meta
name="description"
content="Simplify documentation and avoid heavy tools. Open source Visio Alternative. Commonly used for explaining your code! Mermaid is a simple markdown-like script language for generating charts from text via javascript."
/>
<link rel="icon" type="image/png" href="/mermaid-live-editor/favicon.png" />
<link rel="manifest" href="/mermaid-live-editor/manifest.json" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css"
/>
<script
src="https://cdn.jsdelivr.net/npm/mermaid@8.10.1/dist/mermaid.min.js"
integrity="sha256-aQCGsx3/OLAXwNyOUrAedielIQAjIrMFkcWdXMlIkGc="
crossorigin="anonymous"
></script>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.23.0/min/vs/editor/editor.main.min.css"
integrity="sha512-RhnuJxgda82cBylRysVDqdpwnBcSkMzxz1+BxGwBPNMzBJlvaOjHz7P2kXELC0bdNxazsNSyJb7KAww0T5iUdQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<script>
var require = {
paths: { vs: 'https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.23.0/min/vs' }
};
</script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.23.0/min/vs/loader.min.js"
integrity="sha512-+8+MX2hyUZxaUfMJT0ew+rPsrTGiTmCg8oksa6uVE/ZlR/g3SJtyozqcqDGkw/W785xYAvcx1LxXPP+ywD0SNw=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.23.0/min/vs/editor/editor.main.nls.min.js"
integrity="sha512-3aAqsDS5ClTlwyzxufRhW9WMwZlYn3V8GLRl324pMIftp+CA6kvxfjlm8TG7Wi53eBcerEdX0YfXm3QLvf1Pqg=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.23.0/min/vs/editor/editor.main.js"
integrity="sha512-sOJZBKiSvh/6vxIimdXkjO45Nd3v2n3ZYtrwktgj5SJh0+PCqNQ5oqzxEr6c/o4ULczn1Wo2yh1qrz+ghduDUA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<link rel="modulepreload" href="/mermaid-live-editor/_app/start-50d0be99.js">
<link rel="modulepreload" href="/mermaid-live-editor/_app/chunks/vendor-8b597521.js">
<link rel="modulepreload" href="/mermaid-live-editor/_app/chunks/preload-helper-9f12a5fd.js">
<link rel="modulepreload" href="/mermaid-live-editor/_app/chunks/singletons-bb9012b7.js">
<link rel="modulepreload" href="/mermaid-live-editor/_app/chunks/paths-45dac81d.js">
<link rel="stylesheet" href="/mermaid-live-editor/_app/assets/start-0826e215.css">
<script type="module">
import { start } from "/mermaid-live-editor/_app/start-50d0be99.js";
start({
target: document.querySelector("#svelte"),
paths: {"base":"/mermaid-live-editor","assets":"/mermaid-live-editor"},
session: {},
host: location.host,
route: true,
spa: true,
trailing_slash: "ignore",
hydrate: null
});
</script>
</head>
<body>
<div id="svelte">
</div>
</body>
</html>
+46 -38
View File
@@ -1,58 +1,66 @@
{
"name": "mermaid-live-editor",
"version": "2.0.65",
"version": "2.0.67",
"scripts": {
"dev": "svelte-kit dev",
"dev": "svelte-kit dev --host 0.0.0.0",
"build": "svelte-kit build",
"preview": "svelte-kit preview",
"lint": "prettier --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
"lint:fix": "prettier --write --plugin-search-dir=. . && eslint --fix --ignore-path .gitignore .",
"format": "prettier --write --plugin-search-dir=. .",
"pre-commit": "lint-staged",
"postinstall": "husky install"
"postinstall": "husky install",
"test": "cypress run",
"cy": "cypress open"
},
"devDependencies": {
"@cypress/snapshot": "^2.1.7",
"@sveltejs/adapter-static": "^1.0.0-next.11",
"@sveltejs/kit": "^1.0.0-next.109",
"@types/mermaid": "^8.2.5",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"autoprefixer": "^10.2.5",
"chai": "^4.3.4",
"cssnano": "^5.0.1",
"cypress": "^7.3.0",
"cypress-localstorage-commands": "^1.4.4",
"eslint": "^7.27.0",
"@sveltejs/adapter-static": "1.0.0-next.26",
"@sveltejs/kit": "1.0.0-next.260",
"@types/mermaid": "^8.2.7",
"@types/pako": "^1.0.3",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"autoprefixer": "^10.4.2",
"chai": "^4.3.6",
"cssnano": "^5.0.16",
"cypress": "9.4.1",
"cypress-localstorage-commands": "^1.6.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-cypress": "^2.11.3",
"eslint-plugin-mocha": "^8.1.0",
"eslint-plugin-postcss-modules": "^1.2.1",
"eslint-plugin-svelte3": "^3.2.0",
"eslint-plugin-tailwindcss": "^1.8.0",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"mocha": "^8.4.0",
"postcss": "^8.2.10",
"postcss-load-config": "^3.0.1",
"prettier": "~2.2.1",
"prettier-plugin-svelte": "^2.2.0",
"svelte": "^3.34.0",
"svelte-preprocess": "^4.7.1",
"tailwindcss": "^2.1.1",
"tslib": "^2.0.0",
"typescript": "^4.0.0"
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-es": "^4.1.0",
"eslint-plugin-mocha": "^10.0.3",
"eslint-plugin-postcss-modules": "^2.0.0",
"eslint-plugin-svelte3": "^3.4.0",
"eslint-plugin-tailwindcss": "^3.4.3",
"husky": "^7.0.4",
"lint-staged": "^12.3.3",
"mocha": "^9.2.0",
"node-html-parser": "^5.2.0",
"postcss": "^8.4.6",
"postcss-load-config": "^3.1.1",
"prettier": "~2.5.1",
"prettier-plugin-svelte": "^2.6.0",
"svelte": "^3.46.4",
"svelte-preprocess": "^4.10.2",
"tailwindcss": "^3.0.18",
"tslib": "^2.3.1",
"typescript": "^4.5.5"
},
"type": "module",
"dependencies": {
"@analytics/google-analytics": "^0.5.2",
"@macfja/svelte-persistent-store": "^1.1.0",
"analytics": "^0.7.5",
"js-base64": "^3.6.1",
"mermaid": "^8.10.1",
"@analytics/google-analytics": "^0.5.3",
"@macfja/svelte-persistent-store": "^1.2.0",
"analytics": "^0.7.21",
"daisyui": "1.25.4",
"js-base64": "^3.7.2",
"mermaid": "8.13.10",
"moment": "^2.29.1",
"monaco-editor": "^0.24.0",
"random-word-slugs": "^0.0.2"
"monaco-editor": "^0.32.0",
"monaco-mermaid": "^1.0.3",
"pako": "2.0.4",
"random-word-slugs": "^0.1.6"
},
"lint-staged": {
"*.{ts,svelte,js,css,md,json}": [
+28
View File
@@ -0,0 +1,28 @@
{
"extends": [
"config:base",
":rebaseStalePrs",
"group:allNonMajor",
"schedule:earlyMondays",
":automergeMinor",
":automergeTesters",
":automergeLinters",
":automergeTypes",
":automergePatch"
],
"packageRules": [
{
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true
},
{
"matchDatasources": ["npm"],
"stabilityDays": 3
}
],
"dependencyDashboard": true,
"major": {
"dependencyDashboardApproval": true
},
"dependencyDashboardAutoclose": true
}
+15 -31
View File
@@ -6,54 +6,38 @@
<title>Online FlowChart &amp; Diagrams Editor - Mermaid Live Editor</title>
<meta
name="og:image"
content="https://github.com/mermaid-js/mermaid/raw/develop/img/header.png"
/>
<link rel="canonical" href="https://mermaid-js.github.io/mermaid-live-editor/" />
content="https://github.com/mermaid-js/mermaid/raw/develop/img/header.png" />
<link rel="canonical" href="https://mermaid.live" />
<meta
name="description"
content="Simplify documentation and avoid heavy tools. Open source Visio Alternative. Commonly used for explaining your code! Mermaid is a simple markdown-like script language for generating charts from text via javascript."
/>
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="manifest" href="manifest.json" />
content="Simplify documentation and avoid heavy tools. Open source Visio Alternative. Commonly used for explaining your code! Mermaid is a simple markdown-like script language for generating charts from text via javascript." />
<link rel="icon" type="image/png" href="/favicon.png" />
<link rel="manifest" href="/manifest.json" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css"
/>
<script
src="https://cdn.jsdelivr.net/npm/mermaid@8.10.1/dist/mermaid.min.js"
integrity="sha256-aQCGsx3/OLAXwNyOUrAedielIQAjIrMFkcWdXMlIkGc="
crossorigin="anonymous"
></script>
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.23.0/min/vs/editor/editor.main.min.css"
integrity="sha512-RhnuJxgda82cBylRysVDqdpwnBcSkMzxz1+BxGwBPNMzBJlvaOjHz7P2kXELC0bdNxazsNSyJb7KAww0T5iUdQ=="
href="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.32.0/min/vs/editor/editor.main.min.css"
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
referrerpolicy="no-referrer" />
<script>
var require = {
paths: { vs: 'https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.23.0/min/vs' }
paths: { vs: 'https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.32.0/min/vs' }
};
</script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.23.0/min/vs/loader.min.js"
integrity="sha512-+8+MX2hyUZxaUfMJT0ew+rPsrTGiTmCg8oksa6uVE/ZlR/g3SJtyozqcqDGkw/W785xYAvcx1LxXPP+ywD0SNw=="
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.32.0/min/vs/loader.min.js"
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
referrerpolicy="no-referrer"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.23.0/min/vs/editor/editor.main.nls.min.js"
integrity="sha512-3aAqsDS5ClTlwyzxufRhW9WMwZlYn3V8GLRl324pMIftp+CA6kvxfjlm8TG7Wi53eBcerEdX0YfXm3QLvf1Pqg=="
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.32.0/min/vs/editor/editor.main.nls.min.js"
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
referrerpolicy="no-referrer"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.23.0/min/vs/editor/editor.main.js"
integrity="sha512-sOJZBKiSvh/6vxIimdXkjO45Nd3v2n3ZYtrwktgj5SJh0+PCqNQ5oqzxEr6c/o4ULczn1Wo2yh1qrz+ghduDUA=="
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.32.0/min/vs/editor/editor.main.js"
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
referrerpolicy="no-referrer"></script>
%svelte.head%
</head>
+3 -7
View File
@@ -2,13 +2,9 @@
@tailwind components;
@tailwind utilities;
.nav-btn {
@apply lg:p-2 py-3 px-0 block border-b-2 border-transparent hover:border-white;
}
.btn {
@apply bg-indigo-500 hover:bg-indigo-700 rounded px-4 shadow;
.input {
@apply flex-1 border-primary border-solid border-2 rounded;
}
.action-btn {
@apply rounded p-2 bg-indigo-400 shadow flex-auto text-white hover:bg-indigo-500;
@apply btn btn-primary;
}
+9
View File
@@ -0,0 +1,9 @@
import type { Handle } from '@sveltejs/kit/types/hooks';
export const handle: Handle = async ({ event, resolve }) => {
const response = await resolve(event, {
ssr: false
});
return response;
};
+89 -30
View File
@@ -1,7 +1,10 @@
<script lang="ts">
import { browser } from '$app/env';
import Card from '$lib/components/card/card.svelte';
import type { State } from '$lib/types';
import { base64State, codeStore } from '$lib/util/state';
import { krokiRendererUrl, rendererUrl } from '$lib/util/env';
import { pakoSerde } from '$lib/util/serde';
import { serializedState, codeStore } from '$lib/util/state';
import { toBase64 } from 'js-base64';
import moment from 'moment';
@@ -13,7 +16,9 @@
if (!svg) {
svg = document.querySelector('#container svg');
}
const svgString = svg.outerHTML.replaceAll('<br>', '<br/>');
const svgString = svg.outerHTML
.replaceAll('<br>', '<br/>')
.replaceAll(/<img([^>]*)>/g, (m, g: string) => `<img ${g} />`);
return toBase64(svgString);
};
@@ -74,7 +79,7 @@
canvas.toBlob((blob) => {
try {
// @ts-ignore: https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1004/files
navigator.clipboard.write([
void navigator.clipboard.write([
/* eslint-disable no-undef */
// @ts-ignore: https://github.com/microsoft/TypeScript/issues/43821
new ClipboardItem({
@@ -103,65 +108,119 @@
);
};
const onCopyMarkdown = (event: Event) => {
event.target.select();
const onCopyMarkdown = () => {
(document.getElementById('markdown') as HTMLInputElement).select();
document.execCommand('Copy');
};
let gistURL = '';
codeStore.subscribe((state) => {
if (state.loader?.type === 'gist') {
// @ts-ignore Gist will have url
gistURL = state.loader.config.url;
}
});
const loadGist = () => {
if (!gistURL) {
alert('Please enter a Gist URL first');
}
window.location.href = `${window.location.pathname}?gist=${gistURL}`;
};
let iUrl: string;
let svgUrl: string;
let krokiUrl: string;
let mdCode: string;
let imagemodeselected = 'auto';
let userimagesize = 1080;
codeStore.subscribe((state: State) => {
const stateCopy = JSON.parse(JSON.stringify(state));
if (typeof stateCopy.mermaid === 'string') {
stateCopy.mermaid = JSON.parse(stateCopy.mermaid);
}
const b64Code = toBase64(JSON.stringify(stateCopy), true);
iUrl = `https://mermaid.ink/img/${b64Code}`;
svgUrl = `https://mermaid.ink/svg/${b64Code}`;
mdCode = `[![](${iUrl})](${window.location.protocol}//${window.location.host}${window.location.pathname}#${window.location.hash})`;
let isNetlify = false;
if (browser && ['mermaid.live', 'netlify'].some((path) => window.location.host.includes(path))) {
isNetlify = true;
}
serializedState.subscribe((encodedState: string) => {
iUrl = `${rendererUrl}/img/${encodedState}`;
svgUrl = `${rendererUrl}/svg/${encodedState}`;
krokiUrl = `${krokiRendererUrl}/mermaid/svg/${pakoSerde.serialize($codeStore.code)}`;
mdCode = `[![](${iUrl})](${window.location.protocol}//${window.location.host}${window.location.pathname}#${encodedState})`;
});
</script>
<Card title="Actions" isOpen={false}>
<Card title="Actions" isOpen={true}>
<div class="flex flex-wrap gap-2 m-2">
{#if isClipboardAvailable()}
<button class="action-btn w-full" on:click={onCopyClipboard}
><i class="far fa-copy" /> Copy Image to clipboard
><i class="far fa-copy mr-2" /> Copy Image to clipboard
</button>
{/if}
<button class="action-btn flex-auto" on:click={onDownloadPNG}>
<i class="fas fa-download" /> PNG
<i class="fas fa-download mr-2" /> PNG
</button>
<button class="action-btn flex-auto" on:click={onDownloadSVG}>
<i class="fas fa-download" /> SVG
<i class="fas fa-download mr-2" /> SVG
</button>
<button class="action-btn flex-auto">
<a target="_blank" href={iUrl}><i class="fas fa-external-link-alt" /> PNG</a>
<a target="_blank" href={iUrl}><i class="fas fa-external-link-alt mr-2" /> PNG</a>
</button>
<button class="action-btn flex-auto">
<a target="_blank" href={svgUrl}><i class="fas fa-external-link-alt" /> SVG</a>
<a target="_blank" href={svgUrl}><i class="fas fa-external-link-alt mr-2" /> SVG</a>
</button>
<button class="action-btn flex-auto">
<a target="_blank" href={krokiUrl}><i class="fas fa-external-link-alt mr-2" /> Kroki</a>
</button>
<div class="flex gap-2 items-center">
PNG size
<input type="radio" value="auto" id="autosize" bind:group={imagemodeselected} />
<label for="autosize">Auto</label>
<input type="radio" value="width" id="width-active" bind:group={imagemodeselected} />
<label for="width">Width</label>
<input type="radio" value="height" id="height-active" bind:group={imagemodeselected} />
<label for="height">Height</label>
<label for="autosize">
<input type="radio" value="auto" id="autosize" bind:group={imagemodeselected} /> Auto
</label>
<label for="width">
<input type="radio" value="width" id="width" bind:group={imagemodeselected} /> Width
</label>
<label for="height">
<input type="radio" value="height" id="height" bind:group={imagemodeselected} /> Height
</label>
{#if imagemodeselected !== 'auto'}
<input id="height" type="number" min="3" max="10000" bind:value={userimagesize} />
<input
id="height"
class="input"
type="number"
min="3"
max="10000"
bind:value={userimagesize} />
{/if}
</div>
<div class="w-full flex gap-2 items-center">
<label for="markdown">Copy Markdown</label>
<input class="flex-1" id="markdown" type="text" value={mdCode} on:click={onCopyMarkdown} />
<input class="input" id="markdown" type="text" value={mdCode} on:click={onCopyMarkdown} />
<label for="markdown">
<button class="btn btn-primary btn-md flex-auto" on:click={onCopyMarkdown}>
Copy Markdown
</button>
</label>
</div>
<div class="w-full flex gap-2 items-center">
<input
class="input"
id="gist"
type="text"
bind:value={gistURL}
placeholder="Enter Gist URL" />
<label for="gist">
<button class="btn btn-primary btn-md flex-auto" on:click={loadGist}> Load Gist </button>
</label>
</div>
{#if isNetlify}
<div class="w-full flex items-center justify-center">
<a class="link underline text-gray-500 text-sm" href="https://netlify.com">
This site is powered by Netlify
</a>
</div>
{/if}
</div>
</Card>
+7 -4
View File
@@ -7,19 +7,22 @@
export let tabs: Tab[] = [];
export let title: string;
$: isOpen = isCloseable ? isOpen : true;
$: isTabsShown = isOpen && tabs.length > 0;
</script>
<div class="bg-white rounded overflow-hidden shadow m-2 flex-grow flex flex-col">
<div class="bg-indigo-400 border-gray-400 p-2 flex-none" on:click={() => (isOpen = !isOpen)}>
<div class="card rounded overflow-hidden m-2 flex-grow flex flex-col shadow-2xl">
<div
class="bg-primary p-2 {isTabsShown ? 'pb-0' : ''} flex-none cursor-pointer"
on:click={() => (isOpen = !isOpen)}>
<div class="flex justify-between">
<Tabs on:select {tabs} bind:isOpen {title} {isCloseable} />
<div class="flex gap-x-4 items-center text-white">
<div class="flex gap-x-4 items-center {isTabsShown ? '-mt-2' : ''}">
<slot name="actions" />
</div>
</div>
</div>
{#if isOpen}
<div class="flex-grow overflow-auto" transition:slide>
<div class="card-body p-0 flex-grow overflow-auto text-base-content" transition:slide>
<slot />
</div>
{/if}
+9 -14
View File
@@ -7,7 +7,7 @@
export let title: string;
export let isOpen = false;
let activeTabID: string = tabs[0]?.id;
$: activeTabID = tabs[0]?.id;
const dispatch = createEventDispatcher<TabEvents>();
const toggleTabs = (tab: Tab) => {
@@ -17,25 +17,20 @@
</script>
<div class="flex cursor-default">
<span class="text-white mr-2 font-semibold" on:click|stopPropagation={() => (isOpen = !isOpen)}>
<span class="mr-2 font-semibold" on:click|stopPropagation={() => (isOpen = !isOpen)}>
{#if isCloseable}
<i class="fas fa-chevron-right icon" class:isOpen />
{/if}
{title}</span>
{#if isOpen && tabs}
<ul class="flex flex-wrap flex-row" transition:fade>
<ul class="tabs" transition:fade>
{#each tabs as tab}
<li class="mr-2 last:mr-0 w-28 h-6 flex-auto text-center">
<div
class="text cursor-pointer font-semibold min-w-16 w-auto px-2 py-1 -mb-4 rounded-t block leading-normal {activeTabID ===
tab.id
? 'text-indigo-500 bg-white border-white'
: 'text-white bg-indigo-500 border-indigo-500 hover:bg-indigo-600'}"
on:click|stopPropagation={() => toggleTabs(tab)}>
<i class={tab.icon} />
{tab.title}
</div>
</li>
<div
class="tab tab-lifted text-primary-content {activeTabID === tab.id ? 'tab-active' : ''}"
on:click|stopPropagation={() => toggleTabs(tab)}>
<i class="mr-1 {tab.icon}" />
{tab.title}
</div>
{/each}
</ul>
{/if}
@@ -1,9 +1,10 @@
<script lang="ts">
import type { EditorEvents } from '$lib/types';
import { codeStore } from '$lib/util/state';
import { themeStore } from '$lib/util/theme';
import type monaco from 'monaco-editor';
import { createEventDispatcher, onMount } from 'svelte';
import { initEditor } from './util';
import initEditor from 'monaco-mermaid';
let divEl: HTMLDivElement = null;
let editor: monaco.editor.IStandaloneCodeEditor;
@@ -14,16 +15,15 @@
export let editorOptions: monaco.editor.IStandaloneEditorConstructionOptions = {
value: text,
language: language,
scrollBeyondLastLine: false,
minimap: {
enabled: false
},
theme: 'myCoolTheme',
theme: 'mermaid',
overviewRulerLanes: 0
};
export let errorMarkers: monaco.editor.IMarkerData[] = [];
let oldText = text;
$: Monaco?.editor.setModelLanguage(editor.getModel(), language);
$: editor && Monaco?.editor.setModelLanguage(editor.getModel(), language);
$: {
if (text !== oldText) {
if ($codeStore.updateEditor) {
@@ -31,15 +31,19 @@
}
oldText = text;
}
Monaco?.editor.setModelMarkers(editor.getModel(), 'test', errorMarkers);
editor && Monaco?.editor.setModelMarkers(editor.getModel(), 'test', errorMarkers);
}
themeStore.subscribe(({ isDark }) => {
editor && Monaco?.editor.setTheme(isDark ? 'mermaid-dark' : 'mermaid');
});
const dispatch = createEventDispatcher<EditorEvents>();
const loadMonaco = async () => {
let i = 0;
while (i++ < 10) {
try {
//@ts-ignore : This is a hack to handle a svelte-kit error when importing monaco.
// @ts-ignore : This is a hack to handle a svelte-kit error when importing monaco.
Monaco = monaco;
return;
} catch {
@@ -49,7 +53,12 @@
alert('Loading Monaco Editor failed. Please try refreshing the page.');
};
onMount(async () => {
await loadMonaco(); // Fix https://github.com/mermaid-js/mermaid-live-editor/issues/175
try {
// @ts-ignore : This is a hack to handle a svelte-kit error when importing monaco.
Monaco = monaco;
} catch {
await loadMonaco(); // Fix https://github.com/mermaid-js/mermaid-live-editor/issues/175
}
initEditor(Monaco);
editor = Monaco.editor.create(divEl, editorOptions);
editor.onDidChangeModelContent(() => {
@@ -58,7 +67,7 @@
text
});
});
Monaco?.editor.setTheme($themeStore.isDark ? 'mermaid-dark' : 'mermaid');
const resizeObserver = new ResizeObserver((entries) => {
editor.layout({
height: entries[0].contentRect.height,
-77
View File
@@ -1,77 +0,0 @@
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
/* eslint-disable @typescript-eslint/no-unsafe-call */
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
export const initEditor = (monacoEditor): void => {
monacoEditor.languages.register({ id: 'mermaid' });
// Register a tokens provider for the language
monacoEditor.languages.setMonarchTokensProvider('mermaid', {
typeKeywords: [
'graph',
'stateDiagram',
'sequenceDiagram',
'classDiagram',
'pie',
'erDiagram',
'flowchart',
'gantt',
'gitGraph',
'journey'
],
keywords: ['patricipant', 'as'],
arrows: ['---', '===', '-->', '==>', '->>', '->'],
tokenizer: {
root: [
[/[{}]/, 'delimiter.bracket'],
[/[a-z_$][\w$]*/, { cases: { '@typeKeywords': 'keyword', '@keywords': 'keyword' } }],
[/[-=>ox]+/, { cases: { '@arrows': 'transition' } }],
[/[[{(}]+.+?[)\]}]+/, 'string'],
[/".*"/, 'string']
]
},
whitespace: [
[/[ \t\r\n]+/, 'white'],
[/%%.*$/, 'comment']
]
});
monacoEditor.editor.defineTheme('myCoolTheme', {
base: 'vs',
inherit: false,
rules: [
{ token: 'keyword', foreground: '880000', fontStyle: 'bold' },
{ token: 'custom-error', foreground: 'ff0000', fontStyle: 'bold' },
{ token: 'string', foreground: 'AA8500' },
{ token: 'transition', foreground: '008800', fontStyle: 'bold' },
{ token: 'delimiter.bracket', foreground: '000000', fontStyle: 'bold' }
]
});
// Register a completion item provider for the new language
monacoEditor.languages.registerCompletionItemProvider('mermaid', {
provideCompletionItems: () => {
const suggestions = [
{
label: 'simpleText',
kind: monacoEditor.languages.CompletionItemKind.Text,
insertText: 'simpleText'
},
{
label: 'testing',
kind: monacoEditor.languages.CompletionItemKind.Keyword,
insertText: 'testing(${1:condition})',
insertTextRules: monacoEditor.languages.CompletionItemInsertTextRule.InsertAsSnippet
},
{
label: 'ifelse',
kind: monacoEditor.languages.CompletionItemKind.Snippet,
insertText: ['if (${1:condition}) {', '\t$0', '} else {', '\t', '}'].join('\n'),
insertTextRules: monacoEditor.languages.CompletionItemInsertTextRule.InsertAsSnippet,
documentation: 'If-Else Statement'
}
];
return { suggestions: suggestions };
}
});
};
+51 -26
View File
@@ -3,29 +3,30 @@
import { codeStore, getStateString } from '$lib/util/state';
import {
addHistoryEntry,
autoHistoryMode,
historyModeStore,
clearHistoryData,
getPreviousState,
historyStore
historyStore,
loaderHistoryStore
} from './history';
import { notify, prompt } from '$lib/util/notify';
import { onMount } from 'svelte';
import moment from 'moment';
import type { State, Tab } from '$lib/types';
import type { HistoryType, State, Tab } from '$lib/types';
const HISTORY_SAVE_INTERVAL = 60000;
const tabSelectHandler = (message: CustomEvent<Tab>) => {
autoHistoryMode.set('timeline' === message.detail.id);
historyModeStore.set(message.detail.id as HistoryType);
};
const tabs: Tab[] = [
let tabs: Tab[] = [
{
id: 'saved',
id: 'manual',
title: 'Saved',
icon: 'far fa-bookmark'
},
{
id: 'timeline',
id: 'auto',
title: 'Timeline',
icon: 'fas fa-history'
}
@@ -38,7 +39,7 @@
addHistoryEntry({
state: $codeStore,
time: Date.now(),
auto
type: auto ? 'auto' : 'manual'
});
} else if (!auto) {
notify('State already saved.');
@@ -62,52 +63,76 @@
};
onMount(() => {
autoHistoryMode.set(false);
historyModeStore.set('manual');
setInterval(() => {
saveHistory(true);
}, HISTORY_SAVE_INTERVAL);
});
let isOpen = true;
loaderHistoryStore.subscribe((entries) => {
if (entries.length > 0 && tabs.length === 2) {
tabs = [
{
id: 'loader',
title: 'Revisions',
icon: 'fab fa-git-alt'
},
...tabs
];
historyModeStore.set('loader');
}
});
let isOpen = false;
</script>
<Card on:select={tabSelectHandler} bind:isOpen {tabs} title="History">
<div slot="actions">
<button
id="saveHistory"
class="btn"
class="btn btn-xs btn-success w-12"
on:click|stopPropagation={() => saveHistory()}
title="Save current state"><i class="far fa-save" /></button>
<button
id="clearHistory"
class="btn text-red-400"
on:click|stopPropagation={() => clearHistory()}
title="Delete all saved states"><i class="fas fa-trash-alt" /></button>
{#if $historyModeStore !== 'loader'}
<button
id="clearHistory"
class="btn btn-xs btn-error w-12"
on:click|stopPropagation={() => clearHistory()}
title="Delete all saved states"><i class="fas fa-trash-alt" /></button>
{/if}
</div>
<ul class="p-2 space-y-2 overflow-auto h-56" id="historyList">
{#if $historyStore.length > 0}
{#each $historyStore as { state, time, name }}
{#each $historyStore as { state, time, name, url, type }}
<li class="rounded p-2 shadow flex-col">
<div class="flex">
<div class="flex-1">
<div class="flex flex-col">
<span>{name}</span>
<div class="flex flex-col text-base-content">
{#if url}
<a
href={url}
target="_blank"
title="Open revision in new tab"
class="hover:underline text-blue-500">{name}</a>
{:else}
<span>{name}</span>
{/if}
<span class="text-gray-400 text-sm">{relativeTime(time)}</span>
</div>
</div>
<div class="flex gap-2 content-center">
<button
class="rounded px-2 w-24 bg-green-200 hover:bg-green-300"
on:click={() => restoreHistory(state)}><i class="fas fa-undo" /> Restore</button>
<button
class="rounded px-2 w-24 bg-red-200 hover:bg-red-300"
on:click={() => clearHistory(time)}><i class="fas fa-trash-alt" /> Delete</button>
<button class="btn btn-success" on:click={() => restoreHistory(state)}
><i class="fas fa-undo mr-1" />Restore</button>
{#if type !== 'loader'}
<button class="btn btn-error" on:click={() => clearHistory(time)}
><i class="fas fa-trash-alt mr-1" />Delete</button>
{/if}
</div>
</div>
</li>
{/each}
{:else}
<div class="m-2 text-gray-600">
<div class="m-2">
No items in History<br />
Click the Save button to save current state and restore it later.<br />
Timeline will automatically be saved every minute.
+29 -12
View File
@@ -1,12 +1,13 @@
import { derived, Readable, Writable, writable, get } from 'svelte/store';
import { derived, writable, get } from 'svelte/store';
import type { Readable, Writable } from 'svelte/store';
import { persist, localStorage } from '@macfja/svelte-persistent-store';
import { generateSlug } from 'random-word-slugs';
import type { HistoryEntry } from '../../types';
import type { HistoryEntry, HistoryType } from '$lib/types';
const MAX_AUTO_HISTORY_LENGTH = 30;
export const autoHistoryMode: Writable<boolean> = persist(
writable(true),
export const historyModeStore: Writable<HistoryType> = persist(
writable('manual'),
localStorage(),
'autoHistoryMode'
);
@@ -23,17 +24,30 @@ const manualHistoryStore: Writable<HistoryEntry[]> = persist(
'manualHistoryStore'
);
export const loaderHistoryStore: Writable<HistoryEntry[]> = writable([] as HistoryEntry[]);
export const historyStore: Readable<HistoryEntry[]> = derived(
[autoHistoryMode, autoHistoryStore, manualHistoryStore],
([autoMode, autoHistories, manualHistories], set) => {
set(autoMode ? autoHistories : manualHistories);
[historyModeStore, autoHistoryStore, manualHistoryStore, loaderHistoryStore],
([historyMode, autoHistories, manualHistories, loadedHistories], set) => {
if (historyMode === 'auto') {
set(autoHistories);
} else if (historyMode === 'manual') {
set(manualHistories);
} else if (historyMode === 'loader') {
set(loadedHistories);
} else {
set(autoHistories);
}
}
);
export const addHistoryEntry = (entry: HistoryEntry): void => {
if (entry.type === 'loader') {
loaderHistoryStore.update((entries) => [entry, ...entries]);
return;
}
entry.name = generateSlug(2);
if (!entry.auto) {
if (entry.type !== 'auto') {
manualHistoryStore.update((entries) => [entry, ...entries]);
return;
}
@@ -46,9 +60,12 @@ export const addHistoryEntry = (entry: HistoryEntry): void => {
};
export const clearHistoryData = (time?: number): void => {
(get(autoHistoryMode) ? autoHistoryStore : manualHistoryStore).update((entries) =>
entries.filter((entry) => time && entry.time != time)
);
(get(historyModeStore) === 'auto' ? autoHistoryStore : manualHistoryStore).update((entries) => {
if (get(historyModeStore) !== 'loader') {
entries = entries.filter((entry) => time && entry.time != time);
}
return entries;
});
};
export const getPreviousState = (auto: boolean): string => {
+22 -20
View File
@@ -7,6 +7,8 @@
</script>
<script lang="ts">
import Theme from './theme.svelte';
interface Link {
title: string;
href: string;
@@ -37,11 +39,12 @@
];
</script>
<header class="p-2 bg-indigo-400 text-white font-bold flex flex-wrap items-center">
<div class="flex-1 flex justify-between items-center">
<a href="/">Mermaid<span class="text-xs font-thin">v{version}</span> Live Editor</a>
<div class="navbar mb-2 shadow-lg bg-primary">
<div class="flex-1 px-2 mx-2">
<span class="text-lg font-bold">
<a href="/">Mermaid<span class="text-xs font-thin">v{version}</span> Live Editor</a>
</span>
</div>
<label for="menu-toggle" class="pointer-cursor lg:hidden block"
><svg
class="fill-current "
@@ -49,32 +52,31 @@
width="20"
height="20"
viewBox="0 0 20 20"
><title>menu</title><path d="M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z" /></svg
><title>Menu</title><path d="M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z" /></svg
></label>
<input class="hidden" type="checkbox" id="menu-toggle" />
<Theme />
<div class="hidden lg:flex lg:items-center lg:w-auto w-full" id="menu">
<nav>
<ul class="lg:flex items-center justify-between text-base pt-4 lg:pt-0">
{#each links as { title, href, icon }}
<li>
<a class="nav-btn" target="_blank" {href}>
{#if icon}
<i class={icon} />
{/if}
{title}</a>
</li>
{/each}
</ul>
</nav>
<ul class="lg:flex items-center justify-between text-base pt-4 lg:pt-0">
{#each links as { title, href, icon }}
<li>
<a class="btn btn-ghost" target="_blank" {href}>
{#if icon}
<i class={icon} />
{/if}
{title}</a>
</li>
{/each}
</ul>
</div>
</header>
</div>
<style>
#menu-toggle:checked + #menu {
display: block;
}
header {
.navbar {
z-index: 10000;
}
</style>
+2 -19
View File
@@ -69,24 +69,6 @@
ORDER ||--|{ ORDER-ITEM : includes
PRODUCT-CATEGORY ||--|{ PRODUCT : contains
PRODUCT ||--o{ ORDER-ITEM : "ordered in"
`,
'Git Graph': `gitGraph:
options
{
"nodeSpacing": 150,
"nodeRadius": 10
}
end
commit
branch newbranch
checkout newbranch
commit
commit
checkout master
commit
commit
merge newbranch
`,
'User Journey': ` journey
title My working day
@@ -108,7 +90,8 @@ merge newbranch
<Card title="Sample Diagrams" isOpen={false}>
<div class="flex gap-2 flex-wrap p-2">
{#each Object.keys(samples) as sample}
<button class="action-btn" on:click={() => loadSampleDiagram(sample)}>{sample}</button>
<button class="btn btn-primary normal-case btn-sm" on:click={() => loadSampleDiagram(sample)}
>{sample}</button>
{/each}
</div>
</Card>
+59
View File
@@ -0,0 +1,59 @@
<script>
import { setTheme, themeStore } from '$lib/util/theme';
const themes = [
'🌝 light',
'🌚 dark',
'🧁 cupcake',
'🐝 bumblebee',
'✳️ emerald',
'🏢 corporate',
'🌃 synthwave',
'👴 retro',
'🤖 cyberpunk',
'🌸 valentine',
'🎃 halloween',
'🌷 garden',
'🌲 forest',
'🐟 aqua',
'👓 lofi',
'🖍 pastel',
'🧚‍♀️ fantasy',
'📝 wireframe',
'🏴 black',
'💎 luxury',
'🧛‍♂️ dracula'
];
</script>
<div class="hidden lg:block dropdown">
<div tabindex="0" class="btn btn-ghost ">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
class="inline-block w-6 h-6 stroke-current md:mr-2"
><path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01" /></svg>
<span class="hidden md:inline"> Change Theme </span>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 1792 1792"
class="inline-block w-4 h-4 ml-1 fill-current"
><path
d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z" /></svg>
</div>
<div
class="mt-14 overflow-y-auto shadow-2xl top-px dropdown-content h-96 w-56 bg-base-200 text-base-content">
<ul tabindex="0" class="p-4 menu compact">
{#each themes as theme}
<li class={theme.includes($themeStore.theme) ? 'bordered' : ''}>
<span class="btn btn-ghost justify-start" on:click={() => setTheme(theme)}>{theme}</span>
</li>
{/each}
</ul>
</div>
</div>
+12 -8
View File
@@ -3,11 +3,12 @@
import { codeStore } from '$lib/util/state';
import { onMount } from 'svelte';
import type { Mermaid } from 'mermaid';
import mermaid from 'mermaid';
const mermaid: Mermaid = (window.mermaid as unknown) as Mermaid;
let code = '';
let config = '';
let container: HTMLDivElement;
let view: HTMLDivElement;
let error = false;
let outOfSync = false;
let manualUpdate = true;
@@ -20,16 +21,19 @@
}
outOfSync = false;
manualUpdate = true;
// Replacing special characters '<' and '>' with encoded '&lt;' and '&gt;'
code = state.code; //.replace(/</g, '&lt;').replace(/>/g, '&gt;');
const scroll = container.parentElement.parentElement.parentElement.scrollTop;
container.innerHTML = code;
if (code === state.code && config === state.mermaid) {
// Do not render if there is no change in Code/Config
return;
}
code = state.code;
config = state.mermaid;
const scroll = view.parentElement.scrollTop;
delete container.dataset.processed;
mermaid.initialize(Object.assign({}, JSON.parse(state.mermaid)));
mermaid.render('graph-div', code, (svgCode) => {
container.innerHTML = svgCode;
});
container.parentElement.parentElement.parentElement.scrollTop = scroll;
view.parentElement.scrollTop = scroll;
error = false;
} else if (manualUpdate) {
manualUpdate = false;
@@ -52,7 +56,7 @@
});
</script>
<div id="view" class="p-2" class:error class:outOfSync>
<div id="view" bind:this={view} class="p-2" class:error class:outOfSync>
<div id="container" bind:this={container} class="flex-1 overflow-auto" />
</div>
+22 -1
View File
@@ -29,11 +29,32 @@ export interface State {
updateEditor: boolean;
updateDiagram: boolean;
autoSync: boolean;
loader?: LoaderConfig;
}
export interface GistLoaderConfig {
url: string;
}
export interface LoadingState {
loading: boolean;
message?: string;
}
export interface FileLoaderConfig {
codeURL: string;
configURL?: string;
}
export interface LoaderConfig {
type: 'gist' | 'files';
config: GistLoaderConfig | FileLoaderConfig;
}
export type HistoryType = 'auto' | 'manual' | 'loader';
export interface HistoryEntry {
state: State;
time: number;
name?: string;
auto: boolean;
type: HistoryType;
url?: string;
}
type Loader = (url: string) => Promise<State>;
+4
View File
@@ -0,0 +1,4 @@
export const rendererUrl: string =
(import.meta.env.MERMAID_RENDERER_URL as string) ?? 'https://mermaid.ink';
export const krokiRendererUrl: string =
(import.meta.env.MERMAID_KROKI_RENDERER_URL as string) ?? 'https://kroki.io';
+105
View File
@@ -0,0 +1,105 @@
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
/* eslint-disable @typescript-eslint/no-explicit-any */
import type { State } from '$lib/types';
import { defaultState } from '../state';
import { addHistoryEntry } from '../../components/history/history';
const codeFileName = 'code.mmd';
const configFileName = 'config.json';
const isValidGist = (files: any): boolean => {
return codeFileName in files;
};
const getFileContent = async (file: any): Promise<string> => {
if (file.truncated) {
return await (await fetch(file.raw_url)).text();
}
return file.content;
};
interface GistData {
code: string;
config?: string;
author: string;
time: number;
version: string;
url: string;
}
const getGistData = async (gistURL: string): Promise<GistData> => {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const [_, __, gistID, revisionID] = gistURL.split('github.com').pop().split('/');
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
const { html_url, files, history } = await (
await fetch(`https://api.github.com/gists/${gistID}${revisionID ? '/' + revisionID : ''}`)
).json();
if (isValidGist(files)) {
const code = await getFileContent(files[codeFileName]);
let config: string;
if (configFileName in files) {
config = await getFileContent(files[configFileName]);
}
const currentItem = history[0];
return {
url: `${html_url}/${currentItem.version}`,
code,
config,
author: currentItem.user.login,
time: new Date(currentItem.committed_at).getTime(),
version: (currentItem.version as string).slice(-7)
};
} else {
throw 'Invalid gist provided';
}
};
const getStateFromGist = (gist: GistData, gistURL: string = gist.url): State => {
const state: State = {
...defaultState,
code: gist.code,
loader: {
type: 'gist',
config: {
url: gistURL
}
}
};
gist.config && (state.mermaid = gist.config);
return state;
};
export const loadGistData = async (gistURL: string): Promise<State> => {
try {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const [_, __, gistID, revisionID] = gistURL.split('github.com').pop().split('/');
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
const { history } = await (
await fetch(`https://api.github.com/gists/${gistID}${revisionID ? '/' + revisionID : ''}`)
).json();
const gistHistory: GistData[] = [];
for (const entry of history) {
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
const data: GistData = await getGistData(entry.url).catch(() => undefined);
data && gistHistory.push(data);
}
if (gistHistory.length === 0) {
throw 'Invalid gist provided';
}
gistHistory.reverse();
const state = getStateFromGist(gistHistory.slice(-1).pop(), gistURL);
for (const gist of gistHistory) {
addHistoryEntry({
state: getStateFromGist(gist),
time: gist.time,
type: 'loader',
url: gist.url,
name: `${gist.author} v${gist.version}`
});
}
return state;
} catch (err) {
console.error(err);
}
};
+58
View File
@@ -0,0 +1,58 @@
import { loadGistData } from './gist';
import { updateCodeStore, defaultState } from '../state';
import type { Loader, State } from '$lib/types';
const loaders: Record<string, Loader> = {
gist: loadGistData
};
export const loadDataFromUrl = async (): Promise<void> => {
const searchParams = new URLSearchParams(window.location.search);
let state: State = defaultState;
let code: string, config: string;
let loaded = false;
const codeURL: string = searchParams.get('code');
const configURL: string = searchParams.get('config');
if (codeURL) {
code = await (await fetch(codeURL)).text();
loaded = true;
}
if (configURL) {
config = await (await fetch(configURL)).text();
} else {
config = defaultState.mermaid;
}
if (!code) {
for (const [key, value] of searchParams.entries()) {
if (key in loaders) {
try {
state = await loaders[key](value);
loaded = true;
break;
} catch (err) {
console.error(err);
}
}
}
} else {
state = {
code,
mermaid: config,
loader: {
type: 'files',
config: {
codeURL,
configURL
}
}
} as State;
}
loaded &&
updateCodeStore({
...state,
autoSync: true,
updateDiagram: true,
updateEditor: true
});
// window.location.search = '';
};
+20
View File
@@ -0,0 +1,20 @@
import { writable } from 'svelte/store';
import type { Writable } from 'svelte/store';
import type { LoadingState } from '$lib/types';
const defaultLoading: LoadingState = {
loading: false
};
export const loadingStateStore: Writable<LoadingState> = writable(defaultLoading);
export const initLoading = async <T>(message: string, task: Promise<T>): Promise<T> => {
loadingStateStore.set({
loading: true,
message
});
const result: T = await task;
loadingStateStore.set({
loading: false
});
return result;
};
+61
View File
@@ -0,0 +1,61 @@
import { deflate, inflate } from 'pako';
import { toUint8Array, fromUint8Array, toBase64, fromBase64 } from 'js-base64';
import type { State } from '$lib/types';
interface Serde {
serialize: (state: string) => string;
deserialize: (state: string) => string;
}
const base64Serde: Serde = {
serialize: (state: string): string => {
return toBase64(state, true);
},
deserialize: (state: string): string => {
return fromBase64(state);
}
};
export const pakoSerde: Serde = {
serialize: (state: string): string => {
const data = new TextEncoder().encode(state);
const compressed = deflate(data, { level: 9 });
return fromUint8Array(compressed, true);
},
deserialize: (state: string): string => {
const data = toUint8Array(state);
return inflate(data, { to: 'string' });
}
};
const serdes: { [key: string]: Serde } = {
base64: base64Serde,
pako: pakoSerde
};
type SerdeType = keyof typeof serdes;
export const serializeState = (state: State): string => {
const json = JSON.stringify(state);
const defaultSerde: SerdeType = 'pako';
const serialized = serdes[defaultSerde].serialize(json);
return `${defaultSerde}:${serialized}`;
};
export const deserializeState = (state: string): State => {
let type: SerdeType, serialized: string;
if (state.includes(':')) {
let tempType: string;
[tempType, serialized] = state.split(':');
if (tempType in serdes) {
type = tempType;
} else {
throw new Error(`Unknown serde type: ${tempType}`);
}
} else {
type = 'base64';
serialized = state;
}
const json = serdes[type].deserialize(serialized);
return JSON.parse(json) as State;
};
+47 -15
View File
@@ -1,10 +1,11 @@
import { writable, get, derived } from 'svelte/store';
import { toBase64, fromBase64 } from 'js-base64';
import type { Readable } from 'svelte/store';
import { persist, localStorage } from '@macfja/svelte-persistent-store';
import type { State } from '$lib/types';
import { saveStatistcs } from './stats';
import { saveStatistics } from './stats';
import { serializeState, deserializeState } from './serde';
const defaultState: State = {
export const defaultState: State = {
code: `graph TD
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me think}
@@ -24,26 +25,46 @@ const defaultState: State = {
updateDiagram: true
};
const urlParseFailedState = `graph TD
A[Loading URL failed. We can try to figure out why.] -->|Decode JSON| B(Please check the console to see the JSON and error details.)
B --> C{Is the JSON correct?}
C -->|Yes| D(Please Click here to Raise an issue in github.<br/>Including the broken link in the issue <br/> will speed up the fix.)
C -->|No| E{Did someone <br/>send you this link?}
E -->|Yes| F[Ask them to send <br/>you the complete link]
E -->|No| G{Did you copy <br/> the complete URL?}
G --> |Yes| D
G --> |"No :("| H(Try using the Timeline tab in History <br/>from same browser you used to create the diagram.)
click D href "https://github.com/mermaid-js/mermaid-live-editor/issues/new?assignees=&labels=bug&template=bug_report.md&title=Broken%20link" "Raise issue"`;
export const codeStore = persist(writable(defaultState), localStorage(), 'codeStore');
export const base64State = derived([codeStore], ([code], set) => {
set(toBase64(JSON.stringify(code), true));
export const serializedState: Readable<string> = derived([codeStore], ([code], set) => {
set(serializeState(code));
});
export const loadState = (data: string): void => {
let state: State;
console.log('Loading', data);
try {
const stateStr = fromBase64(data);
console.log(`Tring to load state: ${stateStr}`);
state = JSON.parse(stateStr);
if (typeof state.mermaid !== 'string') {
state.mermaid = JSON.stringify(state.mermaid, null, 2);
state = deserializeState(data);
const mermaidConfig: { [key: string]: string } =
typeof state.mermaid === 'string' ? JSON.parse(state.mermaid) : state.mermaid;
if (
mermaidConfig.securityLevel &&
mermaidConfig.securityLevel !== 'strict' &&
confirm(
`Removing "securityLevel":"${mermaidConfig.securityLevel}" from the config for safety.\nClick Cancel if you trust the source of this Diagram.`
)
) {
delete mermaidConfig.securityLevel; // Prevent setting overriding securityLevel when loading state to mitigate possible XSS attack
}
state.mermaid = JSON.stringify(mermaidConfig, null, 2);
} catch (e) {
state = get(codeStore);
if (data) {
console.error('Init error', e);
state.code = urlParseFailedState;
}
state = get(codeStore);
console.log(state);
}
updateCodeStore({ ...state, updateEditor: true });
};
@@ -56,12 +77,12 @@ export const updateCodeStore = (newState: State): void => {
let prompted = false;
export const updateCode = (code: string, updateEditor: boolean, updateDiagram = false): void => {
saveStatistcs(code);
saveStatistics(code);
const lines = (code.match(/\n/g) || '').length + 1;
if (lines > 50 && !prompted && get(codeStore).autoSync) {
const turnOff = confirm(
'Long diagram deteced. Turn off Auto Sync? Click the sync logo to manually sync.'
'Long diagram detected. Turn off Auto Sync? Click the sync logo to manually sync.'
);
prompted = true;
if (turnOff) {
@@ -82,8 +103,19 @@ export const updateConfig = (config: string, updateEditor: boolean): void => {
});
};
export const toggleDarkTheme = (dark: boolean): void => {
codeStore.update((state) => {
const config = JSON.parse(state.mermaid);
if (!config.theme || ['dark', 'default'].includes(config.theme)) {
config.theme = dark ? 'dark' : 'default';
}
return { ...state, mermaid: JSON.stringify(config, null, 2), updateEditor: true };
});
};
export const initURLSubscription = (): void => {
base64State.subscribe((state: string) => {
serializedState.subscribe((state: string) => {
history.replaceState(undefined, undefined, `#${state}`);
});
};
+2 -2
View File
@@ -34,10 +34,10 @@ const detectType = (text: string): string => {
// manual debounce
let timeout;
export const saveStatistcs = (graph: string): void => {
export const saveStatistics = (graph: string): void => {
if (analytics) {
clearTimeout(timeout);
// Only save statistcs after a 5 sec delay
// Only save statistics after a 5 sec delay
timeout = setTimeout(function () {
const graphType = detectType(graph);
console.debug('ga:', 'send', 'event', 'render', graphType);
+36
View File
@@ -0,0 +1,36 @@
import { writable } from 'svelte/store';
import type { Writable } from 'svelte/store';
import { persist, localStorage } from '@macfja/svelte-persistent-store';
export interface ThemeConfig {
isDark: boolean;
theme?: string;
}
export const themeStore: Writable<ThemeConfig> = persist(
writable({
isDark: false
}),
localStorage(),
'themeStore'
);
const darkThemes = [
'dark',
'synthwave',
'halloween',
'aqua',
'forest',
'luxury',
'black',
'dracula'
];
export const setTheme = (theme: string): void => {
if (theme.includes(' ')) {
theme = theme.split(' ')[1].trim();
}
const isDark = darkThemes.includes(theme);
console.log('Setting theme', theme);
themeStore.set({ theme, isDark });
};
+3
View File
@@ -1,6 +1,8 @@
import type { State } from '$lib/types';
import { initURLSubscription, loadState, updateCodeStore } from './state';
import { analytics, initAnalytics } from './stats';
import { loadDataFromUrl } from './fileLoaders/loader';
import { initLoading } from './loading';
export const loadStateFromURL = (): void => {
loadState(window.location.hash.slice(1));
@@ -14,6 +16,7 @@ export const syncDiagram = (): void => {
export const initHandler = async (): Promise<void> => {
loadStateFromURL();
await initLoading('Loading Gist...', loadDataFromUrl().catch(console.error));
syncDiagram();
initURLSubscription();
await initAnalytics();
+2
View File
@@ -0,0 +1,2 @@
import { get as manifestGet } from '../manifest.json';
export const get = manifestGet;
+59 -1
View File
@@ -2,6 +2,10 @@
import '../app.postcss';
import { base } from '$app/paths';
import { onMount } from 'svelte';
import { loadingStateStore } from '$lib/util/loading';
import { setTheme, themeStore } from '$lib/util/theme';
import { toggleDarkTheme } from '$lib/util/state';
// This can be removed once https://github.com/sveltejs/kit/issues/1612 is fixed.
// Then move it into src and vite will bundle it automatically.
onMount(() => {
@@ -17,9 +21,63 @@
console.log('Service worker registration failed, error:', error);
});
}
const isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches;
if ($themeStore.theme === undefined) {
setTheme(isDarkMode ? 'dark' : 'light');
}
themeStore.subscribe(({ theme, isDark }) => {
if (theme) {
document.getElementsByTagName('html')[0].setAttribute('data-theme', theme);
toggleDarkTheme(isDark);
}
});
});
</script>
<main class="h-screen">
<main class="h-screen text-primary-content">
<slot />
</main>
{#if $loadingStateStore.loading}
<div
class="w-screen h-screen z-50 absolute left-0 top-0 bg-gray-600 opacity-50 flex align-middle justify-center">
<div class="text-indigo-100 text-4xl font-bold my-auto">
<div class="loader mx-auto" />
<div>{$loadingStateStore.message}</div>
</div>
</div>
{/if}
<style>
.loader {
border: 0.45em solid #f3f3f3;
border-radius: 50%;
border-top: 0.45em solid #6365f1;
width: 3em;
height: 3em;
-webkit-animation: spin 2s linear infinite; /* Safari */
animation: spin 2s linear infinite;
}
/* Safari */
@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
}
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style>
+34 -33
View File
@@ -1,22 +1,21 @@
<script lang="ts">
import Editor from '$lib/components/editor/editor.svelte';
import Editor from '$lib/components/editor.svelte';
import Navbar from '$lib/components/navbar.svelte';
import Preset from '$lib/components/preset.svelte';
import Actions from '$lib/components/actions.svelte';
import View from '$lib/components/view.svelte';
import Card from '$lib/components/card/card.svelte';
import History from '$lib/components/history/history.svelte';
import { updateCode, updateConfig, codeStore, base64State } from '$lib/util/state';
import { updateCode, updateConfig, codeStore, serializedState } from '$lib/util/state';
import { initHandler, syncDiagram } from '$lib/util/util';
import { errorStore } from '$lib/util/error';
import { onMount } from 'svelte';
import mermaid from 'mermaid';
import type monaco from 'monaco-editor';
import type { Mermaid } from 'mermaid';
import type { EditorUpdateEvent, State, Tab } from '$lib/types';
import { base } from '$app/paths';
const mermaid: Mermaid = (window.mermaid as unknown) as Mermaid;
serializedState; // Weird fix for error > serializedState is not defined. Treeshaking?
let selectedMode = 'code';
const languageMap = {
code: 'mermaid',
@@ -83,7 +82,7 @@
startLineNumber: e.hash.loc.first_line,
startColumn: e.hash.loc.first_column,
endLineNumber: e.hash.loc.last_line,
endColumn: e.hash.loc.last_column + 1,
endColumn: (e.hash.loc.last_column as number) + 1,
message: e.str
};
errorMarkers.push(marker);
@@ -97,7 +96,7 @@
};
const viewDiagram = () => {
window.open(`${base}/view#${$base64State}`, '_blank').focus();
window.open(`${base}/view#${$serializedState}`, '_blank').focus();
};
onMount(async () => {
@@ -122,25 +121,32 @@
});
</script>
<div class="h-full flex flex-col overflow-hidden bg-gray-100">
<div class="h-full flex flex-col overflow-hidden">
<Navbar />
<div class="flex-1 flex overflow-hidden">
<div class="hidden md:flex flex-col" id="editorPane" style="width: 40%">
<Card on:select={tabSelectHandler} {tabs} isCloseable={false} title="Mermaid">
<div slot="actions">
{#if !$codeStore.autoSync}
<button
class="bg-indigo-500 hover:bg-indigo-700 rounded px-4 mx-2"
title="Sync Diagram"
data-cy="sync"
on:click={syncDiagram}><i class="fas fa-sync" /></button>
{/if}
<label
for="autoSync"
style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">
<input type="checkbox" id="autoSync" bind:checked={$codeStore.autoSync} />
Auto sync
</label>
<div class="flex flex-row items-center">
{#if !$codeStore.autoSync}
<button
class="btn btn-secondary btn-xs"
title="Sync Diagram"
data-cy="sync"
on:click={syncDiagram}><i class="fas fa-sync" /></button>
{/if}
<div class="form-control">
<label class="cursor-pointer label" for="autoSync">
<input
type="checkbox"
class="toggle toggle-primary mr-1"
id="autoSync"
bind:checked={$codeStore.autoSync} />
<span> Auto sync</span>
</label>
</div>
</div>
</div>
<Editor on:update={updateHandler} {language} bind:text {errorMarkers} />
@@ -152,20 +158,20 @@
<Actions />
</div>
</div>
<div id="resizeHandler" />
<div id="resizeHandler" class="hidden md:block" />
<div class="flex-1 flex flex-col overflow-hidden">
<Card title="Diagram" isCloseable={false}>
<button
slot="actions"
class="btn"
class="btn btn-primary btn-xs shadow-lg"
title="View diagram in new page"
on:click|stopPropagation={() => viewDiagram()}><i class="far fa-eye" /> View</button>
on:click|stopPropagation={() => viewDiagram()}><i class="far fa-eye mr-2" /> View</button>
<div class="flex-1 overflow-auto">
<View />
</div>
</Card>
<div class="md:hidden bg-white rounded shadow p-2 mx-2">
<div class="md:hidden rounded shadow p-2 mx-2">
Code editing not supported on mobile. Please use a desktop browser.
</div>
</div>
@@ -184,19 +190,14 @@
top: 0;
content: '';
position: absolute;
background-color: #ccc;
background-color: hsla(var(--b3));
margin-left: -1px;
transition-duration: 0.2s;
}
#resizeHandler:hover::after {
margin-left: -2px;
background-color: #818cf8;
background-color: hsla(var(--p));
width: 4px;
}
@media screen and (max-width: 768px) {
#resizeHandler {
display: none;
}
}
</style>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 47 KiB

+1 -1
View File
@@ -1,2 +1,2 @@
// eslint-disable-next-line @typescript-eslint/no-empty-function
self.addEventListener('fetch', (e) => {});
self.addEventListener('fetch', () => {});
+6 -6
View File
@@ -10,20 +10,20 @@ const config = {
postcss: true
})
],
kit: {
adapter: adapter({
pages: `docs${process.env['BETA'] ? '/beta' : ''}`
}),
paths: process.env['DEPLOY']
? {
base: `${process.env['BETA'] ? '/beta' : ''}/mermaid-live-editor`
base: `/mermaid-live-editor${process.env['BETA'] ? '/beta' : ''}`
}
: {},
ssr: false,
// hydrate the <div id="svelte"> element in src/app.html
target: '#svelte',
trailingSlash: 'ignore'
trailingSlash: 'ignore',
vite: {
envPrefix: 'MERMAID_',
optimizeDeps: { include: ['mermaid'] }
}
}
};
+2 -17
View File
@@ -1,21 +1,6 @@
const { tailwindExtractor } = require('tailwindcss/lib/lib/purgeUnusedStyles');
module.exports = {
mode: 'aot',
purge: {
content: ['./src/**/*.{html,js,svelte,ts}'],
options: {
defaultExtractor: (content) => [
// If this stops working, please open an issue at https://github.com/svelte-add/tailwindcss/issues rather than bothering Tailwind Labs about it
...tailwindExtractor(content),
// Match Svelte class: directives (https://github.com/tailwindlabs/tailwindcss/discussions/1731)
...[...content.matchAll(/(?:class:)*([\w\d-/:%.]+)/gm)].map(
([_match, group, ..._rest]) => group
)
]
},
safelist: [/^svelte-[\d\w]+$/]
},
plugins: [require('daisyui')],
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {}
},
+3 -2
View File
@@ -2,7 +2,7 @@
"compilerOptions": {
"moduleResolution": "node",
"module": "es2020",
"lib": ["es2020", "ESNext"],
"lib": ["es2020", "ESNext", "DOM.Iterable", "DOM"],
"target": "es2019",
/**
svelte-preprocess cannot figure out whether you have a value or a type, so tell TypeScript
@@ -33,6 +33,7 @@
"src/**/*.svelte",
"cypress/**/*.ts",
"cypress/**/*.js",
"static/**/*.js"
"static/**/*.js",
"src/pako.mts"
]
}
+1952 -2208
View File
File diff suppressed because it is too large Load Diff