docmedown 0.1.7 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (304) hide show
  1. package/LICENSE +201 -21
  2. package/README.md +86 -37
  3. package/dist/architecture-7GRP2DOG-B8Xs9IfY.mjs +2 -0
  4. package/dist/architecture-7GRP2DOG-Vdsw7WC7.js +1 -0
  5. package/dist/cli.js +672 -1294
  6. package/dist/cynefin-OW5HDTMX-DU6kwwck.js +1 -0
  7. package/dist/cynefin-OW5HDTMX-F0P2M_lQ.mjs +2 -0
  8. package/dist/docmedown-compiler.js +228 -0
  9. package/dist/docmedown-mermaid.js +3588 -0
  10. package/dist/docmedown.cjs +7264 -80
  11. package/dist/docmedown.iife.js +7624 -424
  12. package/dist/docmedown.mjs +15531 -15009
  13. package/dist/docmedown.web.js +7628 -0
  14. package/dist/eventmodeling-NTZA5JFV-D58ICByZ.js +1 -0
  15. package/dist/eventmodeling-NTZA5JFV-SxxTo5cJ.mjs +2 -0
  16. package/dist/gitGraph-4MIJSDKK-C_R2a4aQ.mjs +2 -0
  17. package/dist/gitGraph-4MIJSDKK-CdMj8HJ8.js +1 -0
  18. package/dist/info-A6RAGUB7-CG4UBCfn.js +1 -0
  19. package/dist/info-A6RAGUB7-DmjQlHTj.mjs +2 -0
  20. package/dist/mermaid-BvOI3ZSW.js +3334 -0
  21. package/dist/mermaid-Cx9uSfoz.mjs +116948 -0
  22. package/dist/packet-AYTQ26CC-CMuoEJn0.js +1 -0
  23. package/dist/packet-AYTQ26CC-tdMo_iPL.mjs +2 -0
  24. package/dist/pie-WAS4IAKB-C1hjX8y0.js +1 -0
  25. package/dist/pie-WAS4IAKB-DG2Bio1G.mjs +2 -0
  26. package/dist/prism-CeBRmKvl.js +2 -0
  27. package/dist/prism-CummdiZX.mjs +1588 -0
  28. package/dist/radar-RG4KPBEZ-DHxYOB0f.mjs +2 -0
  29. package/dist/radar-RG4KPBEZ-Dvyo3gdA.js +1 -0
  30. package/dist/railroad-74A4TZTK-1sb9Z_QQ.js +1 -0
  31. package/dist/railroad-74A4TZTK-CwztrSkE.mjs +2 -0
  32. package/dist/railroad-abnf-HS5TGJTU-4264fZjH.js +1 -0
  33. package/dist/railroad-abnf-HS5TGJTU-BKCsR9iC.mjs +2 -0
  34. package/dist/railroad-ebnf-LZEXJU2U-BXErl5kO.js +1 -0
  35. package/dist/railroad-ebnf-LZEXJU2U-DzDOfuxK.mjs +2 -0
  36. package/dist/railroad-peg-WCYAUIDC-B6gNHamV.mjs +2 -0
  37. package/dist/railroad-peg-WCYAUIDC-D7pSwRGa.js +1 -0
  38. package/dist/rolldown-runtime-B0aSnxlc.mjs +20 -0
  39. package/dist/rolldown-runtime-DF3sbh8G.js +1 -0
  40. package/dist/svelte-compiler-loader-Deqbdbvf.js +1 -0
  41. package/dist/svelte-compiler-loader-DtYQgEKV.mjs +50 -0
  42. package/dist/svelte-runtime-Brc440dp.js +5 -0
  43. package/dist/svelte-runtime-CgCk_bw1.mjs +40 -0
  44. package/dist/treeView-Q6P3EWNA-DArM8kFH.mjs +2 -0
  45. package/dist/treeView-Q6P3EWNA-JstiGzov.js +1 -0
  46. package/dist/treemap-WGGIJYW6-CMIcmEVN.mjs +2 -0
  47. package/dist/treemap-WGGIJYW6-Dq6fFckz.js +1 -0
  48. package/dist/ts-compiler-BMDmcNn5.mjs +93 -0
  49. package/dist/ts-compiler-U7pTMJjY.js +3 -0
  50. package/dist/types/runtime/bridges/dynamic-component.d.ts +43 -0
  51. package/dist/types/runtime/bridges/element-bridge.d.ts +24 -0
  52. package/dist/types/runtime/bridges/index.d.ts +3 -0
  53. package/dist/types/runtime/bridges/react-bridge.d.ts +35 -0
  54. package/dist/types/runtime/compiler-cache.d.ts +18 -0
  55. package/dist/types/runtime/config-schema.d.ts +2 -0
  56. package/dist/types/runtime/favicons.d.ts +28 -0
  57. package/dist/types/runtime/loader/local-loader.d.ts +13 -0
  58. package/dist/types/runtime/markdown/component-body.d.ts +7 -0
  59. package/dist/types/runtime/markdown/escape.d.ts +1 -0
  60. package/dist/types/runtime/markdown/highlighter.d.ts +32 -6
  61. package/dist/types/runtime/markdown/katex.d.ts +5 -0
  62. package/dist/types/runtime/markdown/mermaid-engine.d.ts +1 -0
  63. package/dist/types/runtime/markdown/mermaid-loader.d.ts +19 -0
  64. package/dist/types/runtime/markdown/mermaid.d.ts +6 -0
  65. package/dist/types/runtime/markdown/tables.d.ts +68 -0
  66. package/dist/types/runtime/media.d.ts +30 -0
  67. package/dist/types/runtime/motion.d.ts +134 -0
  68. package/dist/types/runtime/offline-export.d.ts +9 -2
  69. package/dist/types/runtime/router.d.ts +40 -2
  70. package/dist/types/runtime/splash.d.ts +90 -0
  71. package/dist/types/runtime/svelte-compiler-engine.d.ts +1 -0
  72. package/dist/types/runtime/svelte-compiler-loader.d.ts +14 -0
  73. package/dist/types/runtime/svelte-runtime.d.ts +29 -0
  74. package/dist/types/runtime/svelte-tag.d.ts +7 -0
  75. package/dist/types/runtime/ts-compiler.d.ts +24 -0
  76. package/dist/types/runtime/types.d.ts +1 -0
  77. package/dist/types/ui/doc-context.svelte.d.ts +198 -0
  78. package/dist/types/ui/index.d.ts +33 -0
  79. package/dist/types/ui/registry.d.ts +52 -0
  80. package/dist/types/ui/theme.svelte.d.ts +32 -0
  81. package/dist/wardley-WFR3VGLG-BK9BA6h6.mjs +2 -0
  82. package/dist/wardley-WFR3VGLG-Cbs7W-dU.js +1 -0
  83. package/package.json +61 -48
  84. package/schemas/docs.schema.json +186 -181
  85. package/templates/.dmd/CounterWidget.svelte +29 -0
  86. package/templates/README.md +2 -2
  87. package/templates/favicon.svg +12 -0
  88. package/templates/favicons/favicon-book.svg +11 -0
  89. package/templates/favicons/favicon-markdown.svg +11 -0
  90. package/templates/favicons/favicon-minimal.svg +15 -0
  91. package/templates/favicons/favicon-terminal.svg +14 -0
  92. package/templates/favicons/favicon.svg +12 -0
  93. package/templates/guides/custom-components.md +82 -22
  94. package/templates/index.html +6 -3
  95. package/dist/abnfDiagram-VCTEODGH-CtQBp0Qv.mjs +0 -89
  96. package/dist/abnfDiagram-VCTEODGH-mccrzlD_.js +0 -1
  97. package/dist/arc-DgPKXEdT.mjs +0 -82
  98. package/dist/arc-n7TW7Bis.js +0 -1
  99. package/dist/architecture-7GRP2DOG-B7myQ46f.js +0 -1
  100. package/dist/architecture-7GRP2DOG-Cxj1ussQ.mjs +0 -3
  101. package/dist/architectureDiagram-5GKGNRK7-BdTCu5T3.js +0 -36
  102. package/dist/architectureDiagram-5GKGNRK7-CkgZa-G1.mjs +0 -4154
  103. package/dist/array-CApNbSU9.mjs +0 -6
  104. package/dist/array-DZSRzHA_.js +0 -1
  105. package/dist/blockDiagram-I7D4REHJ-CSYvpxQw.js +0 -129
  106. package/dist/blockDiagram-I7D4REHJ-CYngfPD9.mjs +0 -1922
  107. package/dist/c4Diagram-7LVT6UL2-B-sz5MUK.js +0 -38
  108. package/dist/c4Diagram-7LVT6UL2-DEzxFf2b.mjs +0 -3010
  109. package/dist/channel-LgHproiI.mjs +0 -5
  110. package/dist/channel-yqu0m4cl.js +0 -1
  111. package/dist/chunk-2E4U76K2-BOyeRQsI.js +0 -1
  112. package/dist/chunk-2E4U76K2-CoTrgtfg.mjs +0 -348
  113. package/dist/chunk-2Q5K7J3B-D4EgYPOq.mjs +0 -15
  114. package/dist/chunk-2Q5K7J3B-DhjCNjaM.js +0 -1
  115. package/dist/chunk-4HAMMTFA-GFyfmcSO.js +0 -62
  116. package/dist/chunk-4HAMMTFA-VgWPe1ng.mjs +0 -4188
  117. package/dist/chunk-5VM5RSS4-GINalzIv.js +0 -15
  118. package/dist/chunk-5VM5RSS4-TqxtqrwE.mjs +0 -5
  119. package/dist/chunk-75Z2AOVW-DYouz5MZ.js +0 -2
  120. package/dist/chunk-75Z2AOVW-Dz0Sko9Y.mjs +0 -1330
  121. package/dist/chunk-CLGD4ZFX-C5J-e2io.js +0 -1
  122. package/dist/chunk-CLGD4ZFX-DBkwyMMv.mjs +0 -14
  123. package/dist/chunk-DU6HZSFF-BEQZSmUu.mjs +0 -3836
  124. package/dist/chunk-DU6HZSFF-CWc5ewtb.js +0 -127
  125. package/dist/chunk-F27PBJKO-8jvY_jJK.js +0 -1
  126. package/dist/chunk-F27PBJKO-DFH3sRZG.mjs +0 -61
  127. package/dist/chunk-FOHPRMQF-LRqOLsSw.mjs +0 -21456
  128. package/dist/chunk-FOHPRMQF-tmTlwTeH.js +0 -161
  129. package/dist/chunk-GMAD6QVW-BZeZ4fdb.mjs +0 -1863
  130. package/dist/chunk-GMAD6QVW-DEQiTa0c.js +0 -72
  131. package/dist/chunk-GVQU2GXP-B1D3J05J.mjs +0 -37
  132. package/dist/chunk-GVQU2GXP-CdJIWN41.js +0 -1
  133. package/dist/chunk-IMKFNOWR-BmZb9U1f.mjs +0 -2042
  134. package/dist/chunk-IMKFNOWR-CPJsszGN.js +0 -231
  135. package/dist/chunk-JWPE2WC7-DIKiF5cm.mjs +0 -8
  136. package/dist/chunk-JWPE2WC7-p1fYVdYc.js +0 -1
  137. package/dist/chunk-L3NEJ4N5-TzDiVs78.js +0 -1
  138. package/dist/chunk-L3NEJ4N5-lal8wUID.mjs +0 -245
  139. package/dist/chunk-LNGE3PJU-BQX75wkM.js +0 -34
  140. package/dist/chunk-LNGE3PJU-DJ9JuXV6.mjs +0 -1521
  141. package/dist/chunk-OSK3NFVY-9AWK88m1.mjs +0 -672
  142. package/dist/chunk-OSK3NFVY-CHzvVe8m.js +0 -10
  143. package/dist/chunk-P2QGCYS3-6q3AXPt5.mjs +0 -67
  144. package/dist/chunk-P2QGCYS3-DKZzpRQW.js +0 -1
  145. package/dist/chunk-POPQ4Y6H-Dd7J9tx3.mjs +0 -26
  146. package/dist/chunk-POPQ4Y6H-T5C7wpjf.js +0 -1
  147. package/dist/chunk-PWAF6VOD-BYG76tEe.mjs +0 -275
  148. package/dist/chunk-PWAF6VOD-DxZLuCEw.js +0 -1
  149. package/dist/chunk-SHT3W25Y-B2Wes8jn.mjs +0 -4183
  150. package/dist/chunk-SHT3W25Y-BQjHSn5K.js +0 -168
  151. package/dist/chunk-SVP7TREG-BFMd615E.js +0 -88
  152. package/dist/chunk-SVP7TREG-CynckzeF.mjs +0 -490
  153. package/dist/chunk-TICWLB2K-BfCuoR1V.mjs +0 -3357
  154. package/dist/chunk-TICWLB2K-agcyBfUp.js +0 -206
  155. package/dist/chunk-TLUHSLCS-CUrWaKDG.mjs +0 -59
  156. package/dist/chunk-TLUHSLCS-Drx_a7am.js +0 -1
  157. package/dist/chunk-XXDRQBXY-AAk1-Cyg.js +0 -1
  158. package/dist/chunk-XXDRQBXY-DpR8eYzz.mjs +0 -9
  159. package/dist/chunk-Y2CYZVJY-CnmLqFtv.js +0 -1
  160. package/dist/chunk-Y2CYZVJY-i11wjrBe.mjs +0 -12
  161. package/dist/classDiagram-ZZMXUADV-B7IN9zcX.js +0 -1
  162. package/dist/classDiagram-ZZMXUADV-tcy6gxSB.mjs +0 -30
  163. package/dist/classDiagram-v2-VYDZK3BY-B7IN9zcX.js +0 -1
  164. package/dist/classDiagram-v2-VYDZK3BY-D5wM6Acp.mjs +0 -30
  165. package/dist/cose-bilkent-JH36ORCC-DBUPO3qJ.js +0 -1
  166. package/dist/cose-bilkent-JH36ORCC-Slpx4WIt.mjs +0 -2253
  167. package/dist/cynefin-OW5HDTMX--QVnfGi1.mjs +0 -3
  168. package/dist/cynefin-OW5HDTMX-lNKysi7S.js +0 -1
  169. package/dist/cynefinDiagram-5FMLGOSQ-CsFONYqx.js +0 -62
  170. package/dist/cynefinDiagram-5FMLGOSQ-DsrxYBcg.mjs +0 -355
  171. package/dist/cytoscape.esm-C5TvPYYm.mjs +0 -18148
  172. package/dist/cytoscape.esm-CBmWJr5M.js +0 -321
  173. package/dist/dagre-CZ6P9L_h.js +0 -1
  174. package/dist/dagre-GXQ25YYZ-CQszk-7P.js +0 -4
  175. package/dist/dagre-GXQ25YYZ-ecYByRSn.mjs +0 -425
  176. package/dist/dagre-J_1oH0eY.mjs +0 -1934
  177. package/dist/defaultLocale-N-0uLSyg.mjs +0 -198
  178. package/dist/defaultLocale-ybN1Vtvg.js +0 -1
  179. package/dist/diagram-S7CK7UJ4-CTMvxX__.js +0 -30
  180. package/dist/diagram-S7CK7UJ4-DxCghfa-.mjs +0 -301
  181. package/dist/diagram-UQ7AKVKN-1viEkqlG.js +0 -41
  182. package/dist/diagram-UQ7AKVKN-BA7Z_oB7.mjs +0 -214
  183. package/dist/diagram-VSXAHHWV-DgVT19mq.js +0 -3
  184. package/dist/diagram-VSXAHHWV-Dtqo03M5.mjs +0 -432
  185. package/dist/diagram-VX7I27RA-CNw0pOX_.js +0 -24
  186. package/dist/diagram-VX7I27RA-GMPRt8Zh.mjs +0 -527
  187. package/dist/diagram-Z3DM3KII-C6XdQK_Q.mjs +0 -134
  188. package/dist/diagram-Z3DM3KII-CPkBr3FT.js +0 -24
  189. package/dist/dist-CXWJafG_.js +0 -1
  190. package/dist/dist-DNdLIC8h.mjs +0 -59
  191. package/dist/ebnfDiagram-PWID7BFC-CseVsyL3.js +0 -1
  192. package/dist/ebnfDiagram-PWID7BFC-D_dBDXWC.mjs +0 -100
  193. package/dist/erDiagram-RLTQ6QDP-DFwfQTRS.js +0 -99
  194. package/dist/erDiagram-RLTQ6QDP-DP7ddGMH.mjs +0 -1966
  195. package/dist/eventmodeling-NTZA5JFV-CzxVg0l5.js +0 -1
  196. package/dist/eventmodeling-NTZA5JFV-Djsy__5n.mjs +0 -3
  197. package/dist/flowDiagram-HODETNUW-7hSJfI3W.js +0 -1
  198. package/dist/flowDiagram-HODETNUW-Dqu5Lr19.mjs +0 -17
  199. package/dist/ganttDiagram-EL5Y4UJY-KNL3tzTD.mjs +0 -3072
  200. package/dist/ganttDiagram-EL5Y4UJY-aiLqNWgi.js +0 -292
  201. package/dist/gitGraph-4MIJSDKK-DnElfqX7.js +0 -1
  202. package/dist/gitGraph-4MIJSDKK-xuKJBT2e.mjs +0 -3
  203. package/dist/gitGraphDiagram-WWUBYQGX-D4gSo_-e.js +0 -106
  204. package/dist/gitGraphDiagram-WWUBYQGX-Dooss5fG.mjs +0 -733
  205. package/dist/graphlib-BaETKKSa.js +0 -1
  206. package/dist/graphlib-XW-Jr8pF.mjs +0 -1267
  207. package/dist/info-A6RAGUB7-ClYskpn6.mjs +0 -3
  208. package/dist/info-A6RAGUB7-DDvvt-fW.js +0 -1
  209. package/dist/infoDiagram-27XIBGKW-B2-y2mdQ.mjs +0 -20
  210. package/dist/infoDiagram-27XIBGKW-DYQ9NzfL.js +0 -2
  211. package/dist/init-BJdqMO10.js +0 -1
  212. package/dist/init-CsQUQz36.mjs +0 -13
  213. package/dist/ishikawaDiagram-5VMMS53U-ULIhoYO5.js +0 -70
  214. package/dist/ishikawaDiagram-5VMMS53U-xAArNh-1.mjs +0 -719
  215. package/dist/journeyDiagram-3NMN7TZE-BBMYNZRL.js +0 -139
  216. package/dist/journeyDiagram-3NMN7TZE-BH-uKqP7.mjs +0 -884
  217. package/dist/kanban-definition-UXKFOSKX-Be49llXr.mjs +0 -976
  218. package/dist/kanban-definition-UXKFOSKX-CDL5yJkq.js +0 -89
  219. package/dist/line-BEwhHSLl.js +0 -1
  220. package/dist/line-CiXRog8O.mjs +0 -34
  221. package/dist/linear-75tfjrny.js +0 -1
  222. package/dist/linear-Ncx_RuON.mjs +0 -288
  223. package/dist/mermaid-parser.core-BBApyu_y.js +0 -6
  224. package/dist/mermaid-parser.core-BRHibdUE.mjs +0 -638
  225. package/dist/mindmap-definition-YA3MSWOX-Chy7XP_5.mjs +0 -1006
  226. package/dist/mindmap-definition-YA3MSWOX-DOda-fkL.js +0 -96
  227. package/dist/ordinal-B1BNQwUR.mjs +0 -65
  228. package/dist/ordinal-B9aFWmF9.js +0 -1
  229. package/dist/packet-AYTQ26CC-CorIy9Ul.js +0 -1
  230. package/dist/packet-AYTQ26CC-DWH8gXJK.mjs +0 -3
  231. package/dist/path-CnWkkRiY.mjs +0 -84
  232. package/dist/path-DIS6ck99.js +0 -1
  233. package/dist/pegDiagram-XKGWAZYB-Cdw6MeON.js +0 -1
  234. package/dist/pegDiagram-XKGWAZYB-uNfxRaq1.mjs +0 -94
  235. package/dist/pie-WAS4IAKB-Cn5eK-5P.mjs +0 -3
  236. package/dist/pie-WAS4IAKB-D84xrSoY.js +0 -1
  237. package/dist/pieDiagram-E7YTZNPT-Bd6mvpJw.js +0 -39
  238. package/dist/pieDiagram-E7YTZNPT-Cczo96a2.mjs +0 -203
  239. package/dist/quadrantDiagram-AXDQQJYC-BPfgvMsS.js +0 -7
  240. package/dist/quadrantDiagram-AXDQQJYC-eqRNtVRl.mjs +0 -2001
  241. package/dist/radar-RG4KPBEZ-DvkxGdO6.mjs +0 -3
  242. package/dist/radar-RG4KPBEZ-R2sQOLL9.js +0 -1
  243. package/dist/railroad-74A4TZTK-BOZIf6ts.js +0 -1
  244. package/dist/railroad-74A4TZTK-CrQzn8Nm.mjs +0 -3
  245. package/dist/railroad-abnf-HS5TGJTU-BZYetxLz.mjs +0 -3
  246. package/dist/railroad-abnf-HS5TGJTU-CXU1aC4B.js +0 -1
  247. package/dist/railroad-ebnf-LZEXJU2U-D29kI3YW.js +0 -1
  248. package/dist/railroad-ebnf-LZEXJU2U-qgzTOmN6.mjs +0 -3
  249. package/dist/railroad-peg-WCYAUIDC-Bjs9Ws3P.mjs +0 -3
  250. package/dist/railroad-peg-WCYAUIDC-CXviP0hz.js +0 -1
  251. package/dist/railroadDiagram-O6MQD6OU-58kvwt7H.mjs +0 -76
  252. package/dist/railroadDiagram-O6MQD6OU-CKY3uzTc.js +0 -1
  253. package/dist/requirementDiagram-BXWQKSXE-0hZ04Q6h.js +0 -84
  254. package/dist/requirementDiagram-BXWQKSXE-CS673B5n.mjs +0 -2224
  255. package/dist/rough.esm-ChRLLRha.js +0 -1
  256. package/dist/rough.esm-DXYGHN3m.mjs +0 -1361
  257. package/dist/sankeyDiagram-P5KCCOFB-D1D6HfAM.mjs +0 -972
  258. package/dist/sankeyDiagram-P5KCCOFB-ciJb9Zr8.js +0 -40
  259. package/dist/sequenceDiagram-WJ2MYXX4-BXEznuI6.js +0 -162
  260. package/dist/sequenceDiagram-WJ2MYXX4-CI1VT8AG.mjs +0 -4156
  261. package/dist/sizeCapture-INFHLROL-BihkCH-7.js +0 -1
  262. package/dist/sizeCapture-INFHLROL-BmxqyOLj.mjs +0 -46
  263. package/dist/src-B4mN2BMl.js +0 -1
  264. package/dist/src-D_hsMyeP.mjs +0 -2154
  265. package/dist/stateDiagram-D77RDMKH-BQrSs72W.mjs +0 -220
  266. package/dist/stateDiagram-D77RDMKH-D2PtkW2U.js +0 -1
  267. package/dist/stateDiagram-v2-MP3YSRHH-CCbvNfk-.mjs +0 -30
  268. package/dist/stateDiagram-v2-MP3YSRHH-Dq1QuPeN.js +0 -1
  269. package/dist/swimlanes-42K2YHIH-CA316NPm.mjs +0 -4979
  270. package/dist/swimlanes-42K2YHIH-DlggBCTy.js +0 -1
  271. package/dist/swimlanesDiagram-VR7AAH4N-BV9PEIoG.js +0 -8
  272. package/dist/swimlanesDiagram-VR7AAH4N-BfrOCfdf.mjs +0 -31
  273. package/dist/timeline-definition-24CTP7MA-Bkd8rWNJ.js +0 -120
  274. package/dist/timeline-definition-24CTP7MA-BvkqNYt1.mjs +0 -1069
  275. package/dist/treeView-Q6P3EWNA-Aof3Cp1M.mjs +0 -3
  276. package/dist/treeView-Q6P3EWNA-BTzvdwbb.js +0 -1
  277. package/dist/treemap-WGGIJYW6-BNXGg99p.mjs +0 -3
  278. package/dist/treemap-WGGIJYW6-DfR4P2Hh.js +0 -1
  279. package/dist/types/runtime/app.d.ts +0 -9
  280. package/dist/types/runtime/components/AppearanceMenu.d.ts +0 -2
  281. package/dist/types/runtime/components/Builtins.d.ts +0 -44
  282. package/dist/types/runtime/components/Content.d.ts +0 -2
  283. package/dist/types/runtime/components/DmdRegistry.d.ts +0 -19
  284. package/dist/types/runtime/components/Layout.d.ts +0 -2
  285. package/dist/types/runtime/components/MermaidDiagram.d.ts +0 -16
  286. package/dist/types/runtime/components/Navbar.d.ts +0 -2
  287. package/dist/types/runtime/components/OfflineDownloadButton.d.ts +0 -2
  288. package/dist/types/runtime/components/OfflineNotice.d.ts +0 -6
  289. package/dist/types/runtime/components/Sidebar.d.ts +0 -2
  290. package/dist/types/runtime/components/TableOfContents.d.ts +0 -8
  291. package/dist/types/runtime/index.d.ts +0 -8
  292. package/dist/types/runtime/markdown/renderer.d.ts +0 -7
  293. package/dist/types/runtime/provider/DocProvider.d.ts +0 -40
  294. package/dist/types/runtime/provider/ThemeProvider.d.ts +0 -25
  295. package/dist/types/runtime/search/SearchModal.d.ts +0 -11
  296. package/dist/vennDiagram-4TSXK5OY-BOUFXjso.js +0 -34
  297. package/dist/vennDiagram-4TSXK5OY-CeOg3-hU.mjs +0 -1880
  298. package/dist/wardley-WFR3VGLG-BOYcSLd1.mjs +0 -3
  299. package/dist/wardley-WFR3VGLG-DWDqJSgm.js +0 -1
  300. package/dist/wardleyDiagram-VM6X3IG4-BhWgMjFr.js +0 -78
  301. package/dist/wardleyDiagram-VM6X3IG4-C31KoRmF.mjs +0 -645
  302. package/dist/xychartDiagram-S5SC5T6Z-1yU8zz6I.js +0 -7
  303. package/dist/xychartDiagram-S5SC5T6Z-BK7upFom.mjs +0 -2210
  304. package/templates/.dmd/components.js +0 -25
@@ -0,0 +1,198 @@
1
+ import { type HomeDocumentInput, type ResolvedHome } from "../runtime/home";
2
+ import { type ParsedMarkdown } from "../runtime/markdown/parser";
3
+ import { type HashRouter } from "../runtime/router";
4
+ import { DocSearchIndex } from "../runtime/search/search-index";
5
+ import type { DocConfig, DocFileItem, SidebarTreeNode } from "../runtime/types";
6
+ export interface ActiveDocData extends ParsedMarkdown {
7
+ slug: string;
8
+ title: string;
9
+ rawContent: string;
10
+ }
11
+ export interface NavDocItem {
12
+ slug: string;
13
+ title: string;
14
+ }
15
+ /**
16
+ * Runes-based port of the React DocProvider. A single store instance drives
17
+ * the whole reader: configuration, routing, document loading, the sidebar
18
+ * tree, search, and prev/next navigation.
19
+ */
20
+ export declare class DocStore {
21
+ config: {
22
+ name: string;
23
+ $schema?: string | undefined;
24
+ tagline?: string | undefined;
25
+ description?: string | undefined;
26
+ url?: string | undefined;
27
+ version?: string | undefined;
28
+ rootDoc?: string | undefined;
29
+ home?: string | undefined;
30
+ source?: {
31
+ type: "github";
32
+ repo: string;
33
+ branch?: string | undefined;
34
+ docsDir?: string | undefined;
35
+ token?: string | undefined;
36
+ baseUrl?: string | undefined;
37
+ } | {
38
+ type: "gitlab";
39
+ repo: string;
40
+ branch?: string | undefined;
41
+ docsDir?: string | undefined;
42
+ token?: string | undefined;
43
+ baseUrl?: string | undefined;
44
+ } | {
45
+ type: "raw";
46
+ baseUrl: string;
47
+ branch?: string | undefined;
48
+ docsDir?: string | undefined;
49
+ token?: string | undefined;
50
+ } | undefined;
51
+ theme?: {
52
+ family?: "atlas" | "blueprint" | "terminal" | "editorial" | undefined;
53
+ density?: "comfortable" | "compact" | undefined;
54
+ preset?: "indigo" | "emerald" | "sunset" | "violet" | "rose" | "slate" | "cyberpunk" | undefined;
55
+ defaultMode?: "light" | "dark" | "auto" | undefined;
56
+ accentColor?: string | undefined;
57
+ accentColorDark?: string | undefined;
58
+ fontFamily?: string | undefined;
59
+ codeTheme?: "github" | "dracula" | "one-dark" | "synthwave" | undefined;
60
+ logo?: {
61
+ light?: string | undefined;
62
+ dark?: string | undefined;
63
+ alt?: string | undefined;
64
+ text?: string | undefined;
65
+ } | undefined;
66
+ favicon?: string | undefined;
67
+ } | undefined;
68
+ nav?: {
69
+ label: string;
70
+ href: string;
71
+ external?: boolean | undefined;
72
+ icon?: string | undefined;
73
+ }[] | undefined;
74
+ socials?: {
75
+ type: "github" | "gitlab" | "twitter" | "x" | "discord" | "custom";
76
+ url: string;
77
+ label?: string | undefined;
78
+ icon?: string | undefined;
79
+ }[] | undefined;
80
+ sidebar?: import("../runtime/config-schema").SidebarItemConfigShape[] | undefined;
81
+ autoIndex?: {
82
+ enabled?: boolean | undefined;
83
+ exclude?: string[] | undefined;
84
+ sort?: "alphabetical" | "frontmatter" | "natural" | undefined;
85
+ defaultCollapsed?: boolean | undefined;
86
+ } | undefined;
87
+ search?: {
88
+ enabled?: boolean | undefined;
89
+ placeholder?: string | undefined;
90
+ maxResults?: number | undefined;
91
+ } | undefined;
92
+ offline?: {
93
+ embedNestedDocs?: boolean | undefined;
94
+ } | undefined;
95
+ footer?: {
96
+ copyright?: string | undefined;
97
+ links?: {
98
+ label: string;
99
+ href: string;
100
+ external?: boolean | undefined;
101
+ icon?: string | undefined;
102
+ }[] | undefined;
103
+ showBuiltWith?: boolean | undefined;
104
+ } | undefined;
105
+ componentsUrl?: string | undefined;
106
+ editUrl?: string | undefined;
107
+ } | null;
108
+ currentSlug: string;
109
+ currentDoc: ActiveDocData | null;
110
+ tree: SidebarTreeNode[];
111
+ isLoading: boolean;
112
+ /** True while a network navigation is in flight; the current article stays visible. */
113
+ isNavigating: boolean;
114
+ error: string | null;
115
+ isSearchOpen: boolean;
116
+ isMobileSidebarOpen: boolean;
117
+ isEditorOpen: boolean;
118
+ serverMode: "production" | "preview";
119
+ hasPreviewChanges: boolean;
120
+ isScrolled: boolean;
121
+ activeTagModal: string | null;
122
+ allDocs: DocFileItem[];
123
+ openTagModal(tag: string): void;
124
+ closeTagModal(): void;
125
+ getDocsWithTag(tag: string): DocFileItem[];
126
+ getAllTags(): Array<{
127
+ tag: string;
128
+ count: number;
129
+ }>;
130
+ getPossiblePaths(crumbIndex: number, _crumbSegment?: string): Array<{
131
+ slug: string;
132
+ title: string;
133
+ category?: string;
134
+ readingTimeMinutes?: number;
135
+ }>;
136
+ originalHome: ResolvedHome | null;
137
+ docPaths: HomeDocumentInput[];
138
+ basePath: string;
139
+ router: HashRouter | null;
140
+ readonly searchIndex: DocSearchIndex;
141
+ private localLoader;
142
+ private remoteGithub;
143
+ private remoteGitlab;
144
+ private unsubscribeRouter;
145
+ private homeCancelled;
146
+ private epoch;
147
+ /**
148
+ * Parsed-markdown cache keyed by slug. Rendering a page runs the whole
149
+ * markdown pipeline (marked + Prism + KaTeX + component bodies), which is the
150
+ * most expensive work per navigation. Revisiting a slug — back/forward,
151
+ * sidebar hops, or a same-page anchor change — reuses the parsed result. The
152
+ * raw source is stored alongside so a content change (e.g. a dev rebuild)
153
+ * invalidates the entry instead of serving stale HTML.
154
+ */
155
+ private parseCacheLimit;
156
+ private parseCache;
157
+ /** Remote documents fetched this session, so revisits resolve synchronously. */
158
+ private remoteCache;
159
+ flatDocs: NavDocItem[];
160
+ prevDoc: NavDocItem | null;
161
+ nextDoc: NavDocItem | null;
162
+ home: ResolvedHome | null;
163
+ navigate(slug: string, anchor?: string): void;
164
+ destroy(): void;
165
+ /** Bootstraps the store. Safe to call again after destroy() (SPA re-mount). */
166
+ init(initialConfig: DocConfig, basePath?: string): Promise<void>;
167
+ private initTree;
168
+ /** Returns the parsed document for a slug, reusing a recent parse when the source is unchanged. */
169
+ private parseMarkdownCached;
170
+ /** Applies a resolved document — the synchronous tail shared by both load paths. */
171
+ private renderDoc;
172
+ toggleEditor(open?: boolean): void;
173
+ updateDocContent(content: string, slug?: string, resetScroll?: boolean): void;
174
+ applyHmrUpdate(slug: string, content: string): void;
175
+ updateConfig(newConfig: Partial<DocConfig>): void;
176
+ private resetScroll;
177
+ /**
178
+ * Renders a page without awaiting anything when its content is already in
179
+ * memory — the embedded static/offline corpus or a document fetched earlier
180
+ * this session. Returns false when a network request is required so the caller
181
+ * can fall back to `loadDoc`.
182
+ *
183
+ * This is what removes the click-to-paint delay: no `isLoading` flip, no
184
+ * skeleton, no awaited microtask. The page swaps within the same frame.
185
+ */
186
+ private renderDocNow;
187
+ private loadDoc;
188
+ /**
189
+ * Pre-parses the embedded corpus during idle time so the first visit to any
190
+ * page is a synchronous cache hit — this is what makes navigation feel
191
+ * instant, most of all in offline and static builds where the whole corpus is
192
+ * already in memory. Work is time-sliced across idle callbacks so it never
193
+ * competes with interaction, and it aborts as soon as the store re-initialises.
194
+ */
195
+ private warmParseCache;
196
+ private initHome;
197
+ }
198
+ export declare const doc: DocStore;
@@ -0,0 +1,33 @@
1
+ import "./components/MermaidDiagram.svelte";
2
+ import type { DocMeDownInitOptions, DocMeDownInstance } from "../runtime/types";
3
+ import "./builtins/Accordion.svelte";
4
+ import "./builtins/AccordionItem.svelte";
5
+ import "./builtins/Alert.svelte";
6
+ import "./builtins/Callout.svelte";
7
+ import "./builtins/Badge.svelte";
8
+ import "./builtins/Button.svelte";
9
+ import "./builtins/Card.svelte";
10
+ import "./builtins/CardGrid.svelte";
11
+ import "./builtins/Columns.svelte";
12
+ import "./builtins/Column.svelte";
13
+ import "./builtins/Details.svelte";
14
+ import "./builtins/Item.svelte";
15
+ import "./builtins/Kbd.svelte";
16
+ import "./builtins/Step.svelte";
17
+ import "./builtins/Steps.svelte";
18
+ import "./builtins/Tab.svelte";
19
+ import "./builtins/Tabs.svelte";
20
+ import "./builtins/Timeline.svelte";
21
+ import "./builtins/TimelineItem.svelte";
22
+ import "./builtins/Media.svelte";
23
+ export { loadDocConfig, normalizeConfig } from "../runtime/config";
24
+ export { docConfigSchema, docSearchConfigSchema, docThemeConfigSchema, formatConfigIssues, navLinkSchema, normalizedDocConfigSchema, parseDocConfig, remoteSourceSchema, sidebarItemSchema, socialLinkSchema, } from "../runtime/config-schema";
25
+ export * as motionLib from "../runtime/motion";
26
+ export { animate, collapse, expand, fade, getMotionOptions, motion, prefersReducedMotion, scale, slide, smoothScroll, stagger, useMotion, } from "../runtime/motion";
27
+ export { createOfflineDownload, downloadOfflineCopy, isOfflineDocumentation, sanitizeDownloadName, } from "../runtime/offline-export";
28
+ export { createRouter, getStaticRuntimeContext, isStaticRuntime, joinStaticBase, StaticRouter, } from "../runtime/router";
29
+ export * from "../runtime/types";
30
+ export { doc } from "./doc-context.svelte";
31
+ export { ComponentRegistry, createElementBridge, createReactBridge, defineDmd, defineReactDmd, defineWebComponentDmd, detectComponentKind, dmdTag, registerWebComponent, } from "./registry";
32
+ export { theme } from "./theme.svelte";
33
+ export declare function initDocMeDown(options?: DocMeDownInitOptions): Promise<DocMeDownInstance | null>;
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Component registry v2 (Svelte runtime).
3
+ *
4
+ * Markdown components are **custom elements**: the markdown pipeline emits
5
+ * PascalCase tags (`<Tabs>`, `<CardGrid>`, user `.dmd` components) and the
6
+ * markdown body renames them to registered kebab-case element names
7
+ * (`<dmd-tabs>`, `<dmd-card-grid>`, …). The browser upgrades them natively,
8
+ * so nested component trees work without any framework mounting logic.
9
+ */
10
+ import { type ComponentKind, createElementBridge, createReactBridge, type DynamicComponent, detectComponentKind, registerWebComponent } from "../runtime/bridges";
11
+ import { dmdTag } from "../runtime/svelte-tag";
12
+ export type DmdElementClass = new () => HTMLElement;
13
+ export { type ComponentKind, createElementBridge, createReactBridge, type DynamicComponent, detectComponentKind, dmdTag, registerWebComponent, };
14
+ export declare class ComponentRegistry {
15
+ private static instance;
16
+ /** Component name (any case) → custom element tag. */
17
+ private tags;
18
+ static getInstance(): ComponentRegistry;
19
+ private constructor();
20
+ /**
21
+ * Registers a markdown component. `element` may be a custom element class
22
+ * (defined automatically under the derived tag), or omitted when the class
23
+ * was already defined (e.g. Svelte `<svelte:options customElement>`).
24
+ * Returns the element tag used in the DOM.
25
+ */
26
+ register(name: string, element?: DmdElementClass | string, tag?: string): string;
27
+ /**
28
+ * Registers a React component function/class, wrapping it via ReactBridge.
29
+ */
30
+ registerReact(name: string, component: any, tag?: string): string;
31
+ /**
32
+ * Registers a Web Component or Lit class, wrapping it via ElementBridge.
33
+ */
34
+ registerWebComponent(name: string, elementClass: CustomElementConstructor, tag?: string): string;
35
+ registerMultiple(map: Record<string, DmdElementClass | string>): void;
36
+ /** Resolves a PascalCase markdown tag (any case) to its custom element tag. */
37
+ resolveTag(tagName: string): string | null;
38
+ getAll(): Record<string, string>;
39
+ /**
40
+ * Loads user components from the `.dmd` directory (or the embedded
41
+ * `componentsSource` blob produced by the build). Components may be
42
+ * AOT-compiled `.svelte` custom elements, runtime-compiled `.svelte` files,
43
+ * or legacy custom element classes.
44
+ */
45
+ loadDmdDirectory(basePath?: string): Promise<void>;
46
+ }
47
+ /** Convenience helper for `.dmd` Svelte component modules: `defineDmd("CounterWidget", CounterWidgetElement)`. */
48
+ export declare function defineDmd(name: string, element: DmdElementClass | string, tag?: string): string;
49
+ /** Convenience helper for `.dmd` React component modules: `defineReactDmd("ReactMetric", ReactMetricComponent)`. */
50
+ export declare function defineReactDmd(name: string, component: any, tag?: string): string;
51
+ /** Convenience helper for `.dmd` Web Component / Lit modules: `defineWebComponentDmd("UserBadge", UserBadgeElement)`. */
52
+ export declare function defineWebComponentDmd(name: string, elementClass: CustomElementConstructor, tag?: string): string;
@@ -0,0 +1,32 @@
1
+ import type { ColorMode, ThemeDensity, ThemeFamily } from "../runtime/types";
2
+ export interface ThemeInitOptions {
3
+ defaultMode?: ColorMode;
4
+ defaultFamily?: ThemeFamily;
5
+ defaultDensity?: ThemeDensity;
6
+ /** Optional brand override for --dmd-accent in light mode. */
7
+ accentColor?: string;
8
+ /** Optional brand override for --dmd-accent in dark mode. */
9
+ accentColorDark?: string;
10
+ }
11
+ /** Runes-based theme store: family, color mode, and density with persisted preferences. */
12
+ export declare class ThemeStore {
13
+ mode: "light" | "dark" | "auto";
14
+ family: "atlas" | "blueprint" | "terminal" | "editorial";
15
+ density: "comfortable" | "compact";
16
+ motion: "reduced" | "full";
17
+ systemDark: boolean;
18
+ /** Brand overrides applied by the app as inline `--dmd-accent` tokens. */
19
+ accentColor: string | undefined;
20
+ accentColorDark: string | undefined;
21
+ resolvedMode: "light" | "dark";
22
+ private mediaQuery;
23
+ private mediaHandler;
24
+ init(options?: ThemeInitOptions): void;
25
+ setMode(newMode: ColorMode): void;
26
+ setFamily(newFamily: ThemeFamily): void;
27
+ setDensity(newDensity: ThemeDensity): void;
28
+ setMotion(newMotion: "full" | "reduced"): void;
29
+ toggleMode(): void;
30
+ destroy(): void;
31
+ }
32
+ export declare const theme: ThemeStore;
@@ -0,0 +1,2 @@
1
+ import { r as e } from "./mermaid-Cx9uSfoz.mjs";
2
+ export { e as createWardleyServices };
@@ -0,0 +1 @@
1
+ const e=require("./mermaid-BvOI3ZSW.js");exports.createWardleyServices=e.r;
package/package.json CHANGED
@@ -1,13 +1,46 @@
1
1
  {
2
2
  "name": "docmedown",
3
- "version": "0.1.7",
4
- "description": "The simplest MarkDown documenter yet. CLI & Web Script React SPA documentation engine.",
3
+ "version": "0.9.0",
4
+ "description": "The simplest MarkDown documenter yet. CLI, web script, and static-site compiler with AI-native distribution.",
5
+ "author": "Gabriel M. P. da Silva",
6
+ "license": "Apache-2.0",
7
+ "homepage": "https://github.com/gabrielmsilva00/docmedown#readme",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/gabrielmsilva00/docmedown.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/gabrielmsilva00/docmedown/issues"
14
+ },
15
+ "keywords": [
16
+ "markdown",
17
+ "documentation",
18
+ "docs",
19
+ "docusaurus",
20
+ "docsify",
21
+ "svelte",
22
+ "spa",
23
+ "cli",
24
+ "offline-docs",
25
+ "github-docs",
26
+ "mcp",
27
+ "model-context-protocol"
28
+ ],
29
+ "engines": {
30
+ "node": ">=20.19.0"
31
+ },
32
+ "packageManager": "npm@11.16.0",
5
33
  "main": "./dist/docmedown.cjs",
6
34
  "module": "./dist/docmedown.mjs",
7
- "types": "./dist/types/runtime/index.d.ts",
35
+ "types": "./dist/types/ui/index.d.ts",
8
36
  "exports": {
9
37
  ".": {
10
- "types": "./dist/types/runtime/index.d.ts",
38
+ "types": "./dist/types/ui/index.d.ts",
39
+ "import": "./dist/docmedown.mjs",
40
+ "require": "./dist/docmedown.cjs"
41
+ },
42
+ "./motion": {
43
+ "types": "./dist/types/runtime/motion.d.ts",
11
44
  "import": "./dist/docmedown.mjs",
12
45
  "require": "./dist/docmedown.cjs"
13
46
  },
@@ -28,63 +61,41 @@
28
61
  "LICENSE"
29
62
  ],
30
63
  "scripts": {
64
+ "build": "node ./scripts/build.mjs",
65
+ "build:fast": "node ./scripts/build.mjs --fast",
66
+ "build:docs": "node ./bin/docmedown.js build ./docs",
67
+ "build:docs:watch": "node ./bin/docmedown.js build ./docs --watch",
68
+ "dev": "node ./bin/docmedown.js serve ./docs",
31
69
  "dev:runtime": "vite build --watch",
32
- "build:runtime": "vite build",
33
- "build:cli": "tsup",
70
+ "dev:mcp": "node ./bin/docmedown.js mcp ./docs",
71
+ "serve": "node ./bin/docmedown.js serve ./docs",
72
+ "check": "npm run typecheck && npm run lint",
34
73
  "typecheck": "tsc --noEmit",
35
74
  "lint": "biome check .",
36
75
  "lint:fix": "biome check --write .",
37
76
  "format": "biome format --write .",
38
- "build:types": "tsc -p tsconfig.runtime.json",
39
- "build": "npm run build:runtime && npm run build:cli && npm run build:types",
40
- "docmedown": "node ./bin/docmedown.js",
41
- "dmd": "node ./bin/docmedown.js",
42
- "init:docs": "node ./bin/docmedown.js init",
43
- "serve": "node ./bin/docmedown.js serve ./docs",
44
- "dev": "node ./bin/docmedown.js serve ./docs",
45
- "build:docs": "node ./bin/docmedown.js build ./docs",
46
- "build:docs:watch": "node ./bin/docmedown.js build ./docs --watch",
47
- "build:offline": "node ./bin/docmedown.js build ./docs",
48
- "config:docs": "node ./bin/docmedown.js config ./docs/docs.json",
49
- "test": "npx tsx --test tests/parser.test.ts tests/scanner.test.ts tests/theme-schema.test.ts tests/runtime-integration.test.ts tests/package-smoke.test.ts tests/hosting.test.ts tests/deploy.test.ts tests/home.test.ts",
77
+ "test": "node ./scripts/test-unit.mjs",
78
+ "test:mcp": "npx tsx --test tests/mcp.test.ts",
79
+ "test:mcp:client": "node ./scripts/test-mcp-client.mjs",
50
80
  "test:artifacts": "npx tsx --test tests/offline-artifact.test.ts",
51
- "test:release": "npm run typecheck && npm run lint && npm run test && npm run build && npm run build:docs && npm run test:artifacts && npm pack --dry-run",
81
+ "test:bundle": "npx tsx --test tests/bundle-size.test.ts",
82
+ "test:release": "npm run typecheck && npm run lint && npm run test && npm run test:mcp && npm run build && npm run build:docs && npm run test:artifacts && npm run test:bundle && npm pack --dry-run",
83
+ "doctor": "node ./bin/docmedown.js doctor ./docs",
84
+ "doctor:project": "node ./scripts/doctor-project.mjs",
85
+ "validate": "node ./bin/docmedown.js validate ./docs",
86
+ "config:docs": "node ./bin/docmedown.js config ./docs/docs.json",
87
+ "clean": "node -e \"fs.rmSync('dist', { recursive: true, force: true }); fs.rmSync('docs/.dist', { recursive: true, force: true })\"",
52
88
  "deploy": "node ./scripts/deploy.mjs",
53
89
  "deploy:dry-run": "npm run deploy -- --dry-run",
54
90
  "prepublishOnly": "npm run test:release"
55
91
  },
56
- "keywords": [
57
- "markdown",
58
- "documentation",
59
- "docs",
60
- "docusaurus",
61
- "docsify",
62
- "react",
63
- "spa",
64
- "cli",
65
- "offline-docs",
66
- "github-docs"
67
- ],
68
- "author": "Gabriel M. Silva",
69
- "license": "MIT",
70
- "engines": {
71
- "node": ">=20.19.0"
72
- },
73
- "repository": {
74
- "type": "git",
75
- "url": "git+https://github.com/gabrielmsilva00/docmedown.git"
76
- },
77
- "bugs": {
78
- "url": "https://github.com/gabrielmsilva00/docmedown/issues"
79
- },
80
- "homepage": "https://github.com/gabrielmsilva00/docmedown#readme",
81
- "packageManager": "npm@11.16.0",
82
92
  "overrides": {
83
93
  "tsup": {
84
94
  "esbuild": "0.28.2"
85
95
  }
86
96
  },
87
97
  "dependencies": {
98
+ "@modelcontextprotocol/sdk": "^1.30.0",
88
99
  "chalk": "^4.1.2",
89
100
  "chokidar": "^3.6.0",
90
101
  "commander": "^12.1.0",
@@ -93,22 +104,24 @@
93
104
  "mime-types": "^2.1.35",
94
105
  "open": "^10.1.0",
95
106
  "prompts": "^2.4.2",
107
+ "svelte": "^5.57.0",
96
108
  "ws": "^8.18.0",
97
109
  "zod": "^4.4.3"
98
110
  },
99
111
  "devDependencies": {
100
112
  "@biomejs/biome": "^2.5.10",
113
+ "@sveltejs/vite-plugin-svelte": "^7.3.0",
101
114
  "@types/node": "^22.5.0",
102
115
  "@types/prismjs": "^1.26.6",
103
116
  "@types/prompts": "^2.4.9",
104
- "@types/react": "^18.3.5",
105
- "@types/react-dom": "^18.3.0",
117
+ "@types/react": "^18.3.31",
118
+ "@types/react-dom": "^18.3.7",
106
119
  "@types/ws": "^8.5.12",
107
- "@vitejs/plugin-react": "^6.1.0",
108
120
  "katex": "^0.16.11",
109
121
  "marked": "^14.1.1",
110
122
  "mermaid": "^11.17.2",
111
123
  "minisearch": "^7.1.0",
124
+ "motion": "^13.4.4",
112
125
  "prismjs": "^1.29.0",
113
126
  "react": "^18.3.1",
114
127
  "react-dom": "^18.3.1",