@fabrika/canvas-kernel 0.9.0-dev.4 → 0.9.0-dev.5
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fabrika/canvas-kernel",
|
|
3
|
-
"version": "0.9.0-dev.
|
|
3
|
+
"version": "0.9.0-dev.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Canvas JSX compiler, session/revision store, renderer and interactive component library.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"zod": "^3.25.76",
|
|
67
|
-
"@fabrika/annotations": "0.9.0-dev.
|
|
68
|
-
"@fabrika/daemon-kit": "0.9.0-dev.
|
|
67
|
+
"@fabrika/annotations": "0.9.0-dev.5",
|
|
68
|
+
"@fabrika/daemon-kit": "0.9.0-dev.5",
|
|
69
69
|
"marked": "^17.0.4",
|
|
70
70
|
"mermaid-parser-bundle": "^0.1.2",
|
|
71
71
|
"preact": "^10.25.0",
|
|
@@ -200,6 +200,6 @@ function rewriteUploadPaths(md: string): string {
|
|
|
200
200
|
|
|
201
201
|
export function MarkdownPreview({ text }: { text: string }) {
|
|
202
202
|
const html = useMemo(() => marked.parse(rewriteUploadPaths(text), { async: false }) as string, [text])
|
|
203
|
-
//
|
|
203
|
+
// oxlint-disable-next-line react/no-danger -- Canvas modules already execute as code in this document.
|
|
204
204
|
return <div className="prose-canvas font-body text-body text-text-primary leading-relaxed" dangerouslySetInnerHTML={{ __html: html }} />
|
|
205
205
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* oxlint-disable react/no-danger -- Canvas modules already execute as code in this document. */
|
|
2
2
|
import { marked } from 'marked'
|
|
3
3
|
import React, { useMemo } from 'react'
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* oxlint-disable react/no-danger -- Canvas modules already execute as code in this document. */
|
|
2
2
|
import { useAnnotations, useCanvasFile } from '#canvas/runtime'
|
|
3
3
|
import type { Annotation } from '#canvas/runtime'
|
|
4
4
|
import { AnnotationCreatePopover } from '@fabrika/annotations'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* oxlint-disable react/no-danger -- Canvas modules already execute as code in this document. */
|
|
2
2
|
import { marked } from 'marked'
|
|
3
3
|
import React from 'react'
|
|
4
4
|
|