Virtual whiteboard for sketching hand-drawn like diagrams
feat(editor): support mermaid staate diagrams (#11031)
David Luzarc1082923eedf
diff --git a/packages/excalidraw/locales/en.json b/packages/excalidraw/locales/en.jsonindex b0a8761de4..42e87bdf82 100644--- a/packages/excalidraw/locales/en.json+++ b/packages/excalidraw/locales/en.json@@ -661,7 +661,7 @@"placeholder": {"title": "Let's design your diagram","description": "Describe the diagram you want to create, and we'll generate it for you.",- "hint": "At the moment we know Flowchart, Sequence, Class, and Entity Relationship diagrams."+ "hint": "At the moment we know Flowchart, Sequence, Class, State, and Entity Relationship diagrams."},"preview": "Preview","insert": "Insert",diff --git a/packages/excalidraw/package.json b/packages/excalidraw/package.jsonindex 3d8fe1daeb..1d01b82bd8 100644--- a/packages/excalidraw/package.json+++ b/packages/excalidraw/package.json@@ -88,7 +88,7 @@"@excalidraw/element": "0.18.0","@excalidraw/laser-pointer": "1.3.1","@excalidraw/math": "0.18.0",- "@excalidraw/mermaid-to-excalidraw": "2.1.1",+ "@excalidraw/mermaid-to-excalidraw": "2.2.2","@excalidraw/random-username": "1.1.0","browser-fs-access": "0.38.0","canvas-roundrect-polyfill": "0.0.1",diff --git a/yarn.lock b/yarn.lockindex 3b2d6cddc9..dd87b52426 100644--- a/yarn.lock+++ b/yarn.lock@@ -1531,10 +1531,10 @@resolved "https://registry.yarnpkg.com/@excalidraw/markdown-to-text/-/markdown-to-text-0.1.2.tgz#1703705e7da608cf478f17bfe96fb295f55a23eb"integrity sha512-1nDXBNAojfi3oSFwJswKREkFm5wrSjqay81QlyRv2pkITG/XYB5v+oChENVBQLcxQwX4IUATWvXM5BcaNhPiIg==-"@excalidraw/[email protected]":- version "2.1.1"- resolved "https://registry.yarnpkg.com/@excalidraw/mermaid-to-excalidraw/-/mermaid-to-excalidraw-2.1.1.tgz#659c934a607dd2cf57f2a69282588ee2b0722959"- integrity sha512-jU+frqcxazsY+t5yOBf2mgrQy+WUrbrzA36if3SQB/Vwaf2qOJjnWxucNafgZZk/3+9xGmRotUeOviSOJG+wYA==+"@excalidraw/[email protected]":+ version "2.2.2"+ resolved "https://registry.yarnpkg.com/@excalidraw/mermaid-to-excalidraw/-/mermaid-to-excalidraw-2.2.2.tgz#ee6b597a0d95b9a76f7ae41ce0e3733a9b96e4a0"+ integrity sha512-5VKQq5CdRocC82vOIUpQ5ufJOVV9FpBTdHGA+ULqazeIVV+cr299877omQCibsdS3Bpitz2fsnTwnIXEmLVDSg==dependencies:"@excalidraw/markdown-to-text" "0.1.2""@mermaid-js/parser" "^0.6.3"