From 1177e8e324942213547a23628d0e37758640bd71 Mon Sep 17 00:00:00 2001 From: Iisakki Rotko Date: Mon, 19 Feb 2024 09:40:00 +0100 Subject: [PATCH] chore: bump mermaid version --- packages/assets/hatch_build.py | 2 +- solara/components/markdown.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/assets/hatch_build.py b/packages/assets/hatch_build.py index fbc969ab4..efeb0d2f3 100644 --- a/packages/assets/hatch_build.py +++ b/packages/assets/hatch_build.py @@ -9,7 +9,7 @@ ["@widgetti/solara-vuetify-app", "8.0.0"], ["@widgetti/solara-vuetify3-app", "3.0.0"], ["requirejs", "2.3.6"], - ["mermaid", "8.6.4"], + ["mermaid", "10.8.0"], ["codemirror", "5.65.3"], ["vega", "5.21.0"], ["vega-lite", "5.2.0"], diff --git a/solara/components/markdown.py b/solara/components/markdown.py index 9544754b4..18fa2b2af 100644 --- a/solara/components/markdown.py +++ b/solara/components/markdown.py @@ -10,7 +10,6 @@ import pymdownx.emoji import pymdownx.highlight import pymdownx.superfences - import solara import solara.components.applayout @@ -150,7 +149,7 @@ def _markdown_template( return (await this.import([`${this.getCdn()}/katex@0.16.9/dist/contrib/auto-render.min.js`]))[0] }, async loadMermaid() { - return (await this.import([`${this.getCdn()}/mermaid@8.6.4/dist/mermaid.min.js`]))[0] + return (await this.import([`${this.getCdn()}/mermaid@10.8.0/dist/mermaid.min.js`]))[0] }, import(dependencies) { return this.loadRequire().then(