Compare commits

...
618 Commits
Author SHA1 Message Date
Matthieu MORELandGitHub 5ae0bc241e Update deploy.yml 2022-02-25 11:30:04 +01:00
Matthieu MORELandGitHub 96936a3c73 Update deploy.yml 2022-02-25 11:27:46 +01:00
Matthieu MORELandGitHub e93172458c Update deploy.yml 2022-02-25 11:24:57 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3b89fff0ef chore(deps-dev): bump cypress-localstorage-commands from 1.6.1 to 1.7.0 (#669)
Bumps [cypress-localstorage-commands](https://github.com/javierbrea/cypress-localstorage-commands) from 1.6.1 to 1.7.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.6.1...v1.7.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>
2022-02-25 11:18:30 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7ccf417793 chore(deps-dev): bump svelte-preprocess from 4.10.3 to 4.10.4 (#664)
Bumps [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess) from 4.10.3 to 4.10.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.10.3...v4.10.4)

---
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>
2022-02-25 11:07:00 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8b602ecea1 chore(deps-dev): bump eslint-plugin-svelte3 from 3.4.0 to 3.4.1 (#672)
Bumps [eslint-plugin-svelte3](https://github.com/sveltejs/eslint-plugin-svelte3) from 3.4.0 to 3.4.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.4.0...v3.4.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-25 11:05:55 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
df2425188d chore(deps): bump daisyui from 2.0.9 to 2.2.2 (#671)
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 2.0.9 to 2.2.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/v2.0.9...v2.2.2)

---
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>
2022-02-25 11:05:29 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8a3a914162 chore(deps-dev): bump postcss from 8.4.6 to 8.4.7 (#666)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.6 to 8.4.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.4.6...8.4.7)

---
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-25 10:05:00 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6377fb376d chore(deps-dev): bump mocha from 9.2.0 to 9.2.1 (#663)
Bumps [mocha](https://github.com/mochajs/mocha) from 9.2.0 to 9.2.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.2.0...v9.2.1)

---
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>
2022-02-25 10:04:32 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fcfb915e68 chore(deps): bump node from 17.5.0 to 17.6.0 (#668)
Bumps node from 17.5.0 to 17.6.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>
2022-02-25 09:32:39 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
23afba7612 chore(deps-dev): bump eslint-config-prettier from 8.3.0 to 8.4.0 (#665)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.3.0 to 8.4.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.3.0...v8.4.0)

---
updated-dependencies:
- dependency-name: eslint-config-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>
2022-02-25 09:31:21 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
b4928339c6 chore(deps-dev): bump eslint-plugin-tailwindcss from 3.4.4 to 3.5.0 (#662)
Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 3.4.4 to 3.5.0.
- [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases)
- [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v3.4.4...v3.5.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-25 09:30:57 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Matthieu MOREL
e25a5c7230 chore(deps): bump actions/setup-node from 2 to 3 (#667)
* chore(deps): bump actions/setup-node from 2 to 3.0.0

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.0.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3.0.0)

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

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

* Update deploy.yml

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-25 09:29:35 +01:00
Sidharth VinodandGitHub b75d8585ef Merge pull request #660 from mermaid-js/dependabot/npm_and_yarn/develop/lint-staged-12.3.4
chore(deps-dev): bump lint-staged from 12.3.3 to 12.3.4
2022-02-19 09:33:32 +05:30
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
a1042eaad9 chore(deps-dev): bump @sveltejs/kit (#659)
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 1.0.0-next.260 to 1.0.0-next.278.
- [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.278/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-02-18 08:25:19 +01:00
dependabot[bot]andGitHub 03aab93bcd chore(deps-dev): bump lint-staged from 12.3.3 to 12.3.4
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.3.3 to 12.3.4.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v12.3.3...v12.3.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>
2022-02-18 07:23:45 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e7ab3e05aa chore(deps-dev): bump eslint-plugin-tailwindcss from 3.4.3 to 3.4.4 (#658)
Bumps [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss) from 3.4.3 to 3.4.4.
- [Release notes](https://github.com/francoismassart/eslint-plugin-tailwindcss/releases)
- [Commits](https://github.com/francoismassart/eslint-plugin-tailwindcss/compare/v3.4.3...v3.4.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-18 08:20:42 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3392c02184 chore(deps-dev): bump cypress from 9.4.1 to 9.5.0 (#656)
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.4.1 to 9.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/v9.4.1...v9.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-18 08:19:55 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3a63ad9080 chore(deps): bump daisyui from 1.25.4 to 2.0.9 (#655)
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 1.25.4 to 2.0.9.
- [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.25.4...v2.0.9)

---
updated-dependencies:
- dependency-name: daisyui
  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>
2022-02-18 08:19:33 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
a49e8e93bc chore(deps-dev): bump postcss-load-config from 3.1.1 to 3.1.3 (#652)
Bumps [postcss-load-config](https://github.com/postcss/postcss-load-config) from 3.1.1 to 3.1.3.
- [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.1...3.1.3)

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-11 12:51:14 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
60292f0170 chore(deps-dev): bump tailwindcss from 3.0.18 to 3.0.21 (#644)
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.18 to 3.0.21.
- [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.18...v3.0.21)

---
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-11 12:31:02 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4cc2062eef chore(deps): bump analytics from 0.7.21 to 0.8.0 (#649)
Bumps [analytics](https://github.com/DavidWells/analytics) from 0.7.21 to 0.8.0.
- [Release notes](https://github.com/DavidWells/analytics/releases)
- [Commits](https://github.com/DavidWells/analytics/compare/analytics@0.7.21...analytics@0.8.0)

---
updated-dependencies:
- dependency-name: analytics
  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-11 09:05:04 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
cfb3d93cab chore(deps-dev): bump @sveltejs/adapter-static (#647)
Bumps [@sveltejs/adapter-static](https://github.com/sveltejs/kit/tree/HEAD/packages/adapter-static) from 1.0.0-next.26 to 1.0.0-next.28.
- [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/@sveltejs/adapter-static@1.0.0-next.28/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>
2022-02-11 08:55:17 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4f430bed19 chore(deps): bump mermaid from 8.13.10 to 8.14.0 (#645)
Bumps [mermaid](https://github.com/knsv/mermaid) from 8.13.10 to 8.14.0.
- [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.10...8.14.0)

---
updated-dependencies:
- dependency-name: mermaid
  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-11 08:55:01 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8143e4824e chore(deps): bump node from 17.4.0 to 17.5.0 (#646)
Bumps node from 17.4.0 to 17.5.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>
2022-02-11 08:53:30 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ba9f42e27f chore(deps-dev): bump svelte-preprocess from 4.10.2 to 4.10.3 (#643)
Bumps [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess) from 4.10.2 to 4.10.3.
- [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.2...v4.10.3)

---
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>
2022-02-11 08:53:02 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
b0d774ee94 chore(deps-dev): bump cssnano from 5.0.16 to 5.0.17 (#642)
Bumps [cssnano](https://github.com/cssnano/cssnano) from 5.0.16 to 5.0.17.
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@5.0.16...cssnano@5.0.17)

---
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-02-11 08:52:43 +01:00
Sidharth VinodandGitHub a6e8aa82ab Merge pull request #641 from mermaid-js/dependabot/npm_and_yarn/develop/monaco-editor-0.32.1
chore(deps): bump monaco-editor from 0.32.0 to 0.32.1
2022-02-11 13:15:21 +05:30
Matthieu MORELandGitHub 8cd6098ebc Update update-monaco-editor.yml 2022-02-11 08:27:51 +01:00
mmorel-35 9565d93ebe Update Monaco-editor 2022-02-11 07:21:32 +00:00
dependabot[bot]andGitHub 6df116a073 chore(deps): bump monaco-editor from 0.32.0 to 0.32.1
Bumps [monaco-editor](https://github.com/microsoft/monaco-editor) from 0.32.0 to 0.32.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-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 07:02:59 +00:00
Sidharth Vinod bb5f8d0523 Add issue number 2022-02-07 23:48:39 +05:30
Sidharth Vinod a900eb4cf4 Disable buggy test 2022-02-07 23:45:53 +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
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
53 changed files with 2169 additions and 3116 deletions
+5
View File
@@ -0,0 +1,5 @@
**/node_modules
**/.git
**/.svelte-kit
**/dist
**/docs
+4 -2
View File
@@ -7,13 +7,14 @@ module.exports = {
// 'plugin:@typescript-eslint/recommended-requiring-type-checking',
'prettier'
],
plugins: ['svelte3', 'tailwindcss', '@typescript-eslint'],
plugins: ['svelte3', 'tailwindcss', '@typescript-eslint', 'es'],
ignorePatterns: [
'docs/*',
'*.cjs',
'*.md',
'snapshots.js',
'svelte.config.js',
'renovate.json',
'package.json',
'tsconfig.json'
],
@@ -41,6 +42,7 @@ module.exports = {
}
],
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-assignment': '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'
+1
View File
@@ -9,6 +9,7 @@ on:
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:
+5 -14
View File
@@ -6,28 +6,18 @@ on:
pull_request:
branches:
- master
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: '14'
- 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-cache
- uses: actions/setup-node@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
node-version: '16'
cache: yarn
- name: Build & Deploy
run: |
@@ -45,6 +35,7 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
+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:
push:
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,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 -1
View File
@@ -6,7 +6,7 @@
# Stop : press ctrl + c
# or
# docker stop mermaid-live-editor
FROM node:14.17.0 as mermaid-live-editor-builder
FROM node:17.6.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"]
+22 -3
View File
@@ -1,4 +1,4 @@
[![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)
[![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!
@@ -17,14 +17,32 @@ 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
@@ -47,6 +65,7 @@ This app is created with Svelte Kit.
## Release
When a PR is created targeting master, it will be built and deployed as a beta in http://mermaid-js.github.io/mermaid-live-editor/beta
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
-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')
+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');
});
});
+7 -2
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');
@@ -42,8 +46,9 @@ describe('Save History', () => {
cy.get('#historyList').contains('No items in History');
});
it('should auto save history', () => {
cy.clock();
// TODO: Fix #639
// eslint-disable-next-line mocha/no-skipped-tests
xit('should auto save history', () => {
cy.get('#editor').type(' C --> HistoryTest');
cy.tick(70000);
cy.contains('Timeline').click();
+50 -16
View File
@@ -17,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();
});
@@ -34,6 +33,7 @@ describe('Site Loads', () => {
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');
@@ -45,6 +45,7 @@ describe('Site Loads', () => {
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');
@@ -59,20 +60,21 @@ describe('Site Loads', () => {
cy.getLocalStorage('codeStore').snapshot();
});
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"');
});
// 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(
@@ -86,4 +88,36 @@ describe('Site Loads', () => {
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();
});
});
});
+25 -1
View File
@@ -16,7 +16,7 @@ module.exports = {
"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": "8.2.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}"
@@ -24,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}"
}
}
}
}
+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
+39 -33
View File
@@ -2,7 +2,7 @@
"name": "mermaid-live-editor",
"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 .",
@@ -15,46 +15,52 @@
},
"devDependencies": {
"@cypress/snapshot": "^2.1.7",
"@sveltejs/adapter-static": "1.0.0-next.16",
"@sveltejs/kit": "1.0.0-next.147",
"@sveltejs/adapter-static": "1.0.0-next.28",
"@sveltejs/kit": "1.0.0-next.278",
"@types/mermaid": "^8.2.7",
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.1",
"autoprefixer": "^10.3.1",
"chai": "^4.3.4",
"cssnano": "^5.0.7",
"cypress": "8.2.0",
"cypress-localstorage-commands": "^1.5.0",
"@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.17",
"cypress": "9.5.0",
"cypress-localstorage-commands": "^1.7.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-cypress": "^2.11.3",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-postcss-modules": "^1.2.1",
"eslint-plugin-svelte3": "^3.2.0",
"eslint-plugin-tailwindcss": "^1.14.1",
"husky": "^7.0.1",
"lint-staged": "^11.1.2",
"mocha": "^9.0.2",
"postcss": "^8.3.6",
"postcss-load-config": "^3.1.0",
"prettier": "~2.3.2",
"prettier-plugin-svelte": "^2.3.1",
"svelte": "^3.42.1",
"svelte-preprocess": "^4.7.4",
"tailwindcss": "^2.2.7",
"eslint-config-prettier": "^8.4.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.1",
"eslint-plugin-tailwindcss": "^3.5.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.4",
"mocha": "^9.2.1",
"node-html-parser": "^5.2.0",
"postcss": "^8.4.7",
"postcss-load-config": "^3.1.3",
"prettier": "~2.5.1",
"prettier-plugin-svelte": "^2.6.0",
"svelte": "^3.46.4",
"svelte-preprocess": "^4.10.4",
"tailwindcss": "^3.0.21",
"tslib": "^2.3.1",
"typescript": "^4.3.5"
"typescript": "^4.5.5"
},
"type": "module",
"dependencies": {
"@analytics/google-analytics": "^0.5.3",
"@macfja/svelte-persistent-store": "^1.1.1",
"analytics": "^0.7.13",
"js-base64": "^3.6.1",
"mermaid": "^8.11.4",
"@macfja/svelte-persistent-store": "^1.2.0",
"analytics": "^0.8.0",
"daisyui": "2.2.2",
"js-base64": "^3.7.2",
"mermaid": "8.14.0",
"moment": "^2.29.1",
"monaco-editor": "^0.25.2",
"random-word-slugs": "^0.0.5"
"monaco-editor": "^0.32.1",
"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
}
+13 -20
View File
@@ -6,45 +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."
/>
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"
/>
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.25.2/min/vs/editor/editor.main.min.css"
href="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.32.1/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.25.2/min/vs' }
paths: { vs: 'https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.32.1/min/vs' }
};
</script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.25.2/min/vs/loader.min.js"
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.32.1/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.25.2/min/vs/editor/editor.main.nls.min.js"
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.32.1/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.25.2/min/vs/editor/editor.main.js"
src="https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.32.1/min/vs/editor/editor.main.js"
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
referrerpolicy="no-referrer"></script>
%svelte.head%
</head>
+3 -11
View File
@@ -2,17 +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;
}
.input {
@apply flex-1 border-indigo-400 border-solid border-2 rounded;
@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;
};
+57 -29
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 { 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';
@@ -15,7 +18,7 @@
}
const svgString = svg.outerHTML
.replaceAll('<br>', '<br/>')
.replaceAll(/<img([^>]*)>/g, (m, g) => `<img ${g} />`);
.replaceAll(/<img([^>]*)>/g, (m, g: string) => `<img ${g} />`);
return toBase64(svgString);
};
@@ -76,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({
@@ -106,7 +109,7 @@
};
const onCopyMarkdown = () => {
document.getElementById('markdown').select();
(document.getElementById('markdown') as HTMLInputElement).select();
document.execCommand('Copy');
};
@@ -127,59 +130,77 @@
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">
<input class="input" id="markdown" type="text" value={mdCode} on:click={onCopyMarkdown} />
<label for="markdown">
<button class="btn text-white flex-auto" on:click={onCopyMarkdown}> Copy Markdown </button>
<button class="btn btn-primary btn-md flex-auto" on:click={onCopyMarkdown}>
Copy Markdown
</button>
</label>
</div>
@@ -191,8 +212,15 @@
bind:value={gistURL}
placeholder="Enter Gist URL" />
<label for="gist">
<button class="btn text-white flex-auto" on:click={loadGist}> Load Gist </button>
<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}
+8 -13
View File
@@ -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,11 +15,10 @@
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[] = [];
@@ -34,12 +34,16 @@
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 {
@@ -50,7 +54,7 @@
};
onMount(async () => {
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;
} catch {
await loadMonaco(); // Fix https://github.com/mermaid-js/mermaid-live-editor/issues/175
@@ -63,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: ['participant', '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 };
}
});
};
+9 -11
View File
@@ -83,20 +83,20 @@
}
});
let isOpen = true;
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>
{#if $historyModeStore !== 'loader'}
<button
id="clearHistory"
class="btn text-red-400"
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}
@@ -107,7 +107,7 @@
<li class="rounded p-2 shadow flex-col">
<div class="flex">
<div class="flex-1">
<div class="flex flex-col">
<div class="flex flex-col text-base-content">
{#if url}
<a
href={url}
@@ -121,20 +121,18 @@
</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="btn btn-success" on:click={() => restoreHistory(state)}
><i class="fas fa-undo mr-1" />Restore</button>
{#if type !== 'loader'}
<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-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.
+2 -1
View File
@@ -1,4 +1,5 @@
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, HistoryType } from '$lib/types';
+21 -19
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 "
@@ -53,28 +56,27 @@
></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>
+5 -4
View File
@@ -3,11 +3,12 @@
import { codeStore } from '$lib/util/state';
import { onMount } from 'svelte';
import * as mermaid from 'mermaid';
import mermaid from 'mermaid';
let code = '';
let config = '';
let container: HTMLDivElement;
let view: HTMLDivElement;
let error = false;
let outOfSync = false;
let manualUpdate = true;
@@ -26,13 +27,13 @@
}
code = state.code;
config = state.mermaid;
const scroll = container.parentElement.parentElement.parentElement.scrollTop;
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;
@@ -55,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>
+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';
+2 -1
View File
@@ -1,4 +1,5 @@
import { writable, Writable } from 'svelte/store';
import { writable } from 'svelte/store';
import type { Writable } from 'svelte/store';
import type { LoadingState } from '$lib/types';
const defaultLoading: LoadingState = {
+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;
};
+35 -13
View File
@@ -1,8 +1,9 @@
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';
export const defaultState: State = {
code: `graph TD
@@ -24,18 +25,28 @@ export 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);
const mermaidConfig =
state = deserializeState(data);
const mermaidConfig: { [key: string]: string } =
typeof state.mermaid === 'string' ? JSON.parse(state.mermaid) : state.mermaid;
if (
mermaidConfig.securityLevel &&
@@ -49,11 +60,11 @@ export const loadState = (data: string): void => {
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 });
};
@@ -66,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) {
@@ -92,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 });
};
+2
View File
@@ -0,0 +1,2 @@
import { get as manifestGet } from '../manifest.json';
export const get = manifestGet;
+17 -1
View File
@@ -3,6 +3,9 @@
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(() => {
@@ -18,10 +21,23 @@
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>
+34 -31
View File
@@ -1,20 +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 * as mermaid from 'mermaid';
import mermaid from 'mermaid';
import type monaco from 'monaco-editor';
import type { EditorUpdateEvent, State, Tab } from '$lib/types';
import { base } from '$app/paths';
serializedState; // Weird fix for error > serializedState is not defined. Treeshaking?
let selectedMode = 'code';
const languageMap = {
code: 'mermaid',
@@ -81,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);
@@ -95,7 +96,7 @@
};
const viewDiagram = () => {
window.open(`${base}/view#${$base64State}`, '_blank').focus();
window.open(`${base}/view#${$serializedState}`, '_blank').focus();
};
onMount(async () => {
@@ -120,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} />
@@ -150,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>
@@ -182,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 -3
View File
@@ -19,11 +19,9 @@ const config = {
base: `/mermaid-live-editor${process.env['BETA'] ? '/beta' : ''}`
}
: {},
ssr: false,
// hydrate the <div id="svelte"> element in src/app.html
target: '#svelte',
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", "DOM.Iterable"],
"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"
]
}
+1419 -2751
View File
File diff suppressed because it is too large Load Diff