@liveblocks/react-blocknote 2.25.0-aiprivatebeta8 → 3.0.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.
- package/dist/comments/AnchoredThreads.cjs.map +1 -1
- package/dist/comments/AnchoredThreads.js.map +1 -1
- package/dist/comments/FloatingComposer.cjs.map +1 -1
- package/dist/comments/FloatingComposer.js.map +1 -1
- package/dist/comments/FloatingThreads.cjs.map +1 -1
- package/dist/comments/FloatingThreads.js.map +1 -1
- package/dist/version-history/HistoryVersionPreview.cjs.map +1 -1
- package/dist/version-history/HistoryVersionPreview.js.map +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.cjs.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/package.json +17 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnchoredThreads.cjs","sources":["../../src/comments/AnchoredThreads.tsx"],"sourcesContent":["import type {\n BlockNoteEditor
|
|
1
|
+
{"version":3,"file":"AnchoredThreads.cjs","sources":["../../src/comments/AnchoredThreads.tsx"],"sourcesContent":["import type {\n BlockNoteEditor,\n BlockSchema,\n DefaultBlockSchema,\n DefaultInlineContentSchema,\n DefaultStyleSchema,\n InlineContentSchema,\n StyleSchema,\n} from \"@blocknote/core\";\nimport { AnchoredThreads as TipTapAnchoredThreads } from \"@liveblocks/react-tiptap\";\nimport type { Editor } from \"@tiptap/core\";\n\ntype AnchoredThreadsProps<\n B extends BlockSchema = DefaultBlockSchema,\n I extends InlineContentSchema = DefaultInlineContentSchema,\n S extends StyleSchema = DefaultStyleSchema,\n> = Omit<Parameters<typeof TipTapAnchoredThreads>[0], \"editor\"> & {\n editor: BlockNoteEditor<B, I, S>;\n};\n\nexport function AnchoredThreads(props: AnchoredThreadsProps) {\n return (\n <TipTapAnchoredThreads\n {...props}\n editor={props.editor._tiptapEditor as unknown as Editor}\n />\n );\n}\n"],"names":["jsx","TipTapAnchoredThreads"],"mappings":";;;;;AAoBO,SAAS,gBAAgB,KAA6B,EAAA;AAC3D,EAAA,uBACGA,cAAA,CAAAC,2BAAA,EAAA;AAAA,IACE,GAAG,KAAA;AAAA,IACJ,MAAA,EAAQ,MAAM,MAAO,CAAA,aAAA;AAAA,GACvB,CAAA,CAAA;AAEJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnchoredThreads.js","sources":["../../src/comments/AnchoredThreads.tsx"],"sourcesContent":["import type {\n BlockNoteEditor
|
|
1
|
+
{"version":3,"file":"AnchoredThreads.js","sources":["../../src/comments/AnchoredThreads.tsx"],"sourcesContent":["import type {\n BlockNoteEditor,\n BlockSchema,\n DefaultBlockSchema,\n DefaultInlineContentSchema,\n DefaultStyleSchema,\n InlineContentSchema,\n StyleSchema,\n} from \"@blocknote/core\";\nimport { AnchoredThreads as TipTapAnchoredThreads } from \"@liveblocks/react-tiptap\";\nimport type { Editor } from \"@tiptap/core\";\n\ntype AnchoredThreadsProps<\n B extends BlockSchema = DefaultBlockSchema,\n I extends InlineContentSchema = DefaultInlineContentSchema,\n S extends StyleSchema = DefaultStyleSchema,\n> = Omit<Parameters<typeof TipTapAnchoredThreads>[0], \"editor\"> & {\n editor: BlockNoteEditor<B, I, S>;\n};\n\nexport function AnchoredThreads(props: AnchoredThreadsProps) {\n return (\n <TipTapAnchoredThreads\n {...props}\n editor={props.editor._tiptapEditor as unknown as Editor}\n />\n );\n}\n"],"names":["TipTapAnchoredThreads"],"mappings":";;;AAoBO,SAAS,gBAAgB,KAA6B,EAAA;AAC3D,EAAA,uBACG,GAAA,CAAAA,iBAAA,EAAA;AAAA,IACE,GAAG,KAAA;AAAA,IACJ,MAAA,EAAQ,MAAM,MAAO,CAAA,aAAA;AAAA,GACvB,CAAA,CAAA;AAEJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FloatingComposer.cjs","sources":["../../src/comments/FloatingComposer.tsx"],"sourcesContent":["import type {\n BlockNoteEditor
|
|
1
|
+
{"version":3,"file":"FloatingComposer.cjs","sources":["../../src/comments/FloatingComposer.tsx"],"sourcesContent":["import type {\n BlockNoteEditor,\n BlockSchema,\n DefaultBlockSchema,\n DefaultInlineContentSchema,\n DefaultStyleSchema,\n InlineContentSchema,\n StyleSchema,\n} from \"@blocknote/core\";\nimport { FloatingComposer as TipTapFloatingComposer } from \"@liveblocks/react-tiptap\";\nimport type { Editor } from \"@tiptap/core\";\n\ntype FloatingComposerProps<\n B extends BlockSchema = DefaultBlockSchema,\n I extends InlineContentSchema = DefaultInlineContentSchema,\n S extends StyleSchema = DefaultStyleSchema,\n> = Omit<Parameters<typeof TipTapFloatingComposer>[0], \"editor\"> & {\n editor: BlockNoteEditor<B, I, S>;\n};\n\nexport function FloatingComposer(props: FloatingComposerProps) {\n return (\n <TipTapFloatingComposer\n {...props}\n editor={props.editor._tiptapEditor as unknown as Editor}\n />\n );\n}\n"],"names":["jsx","TipTapFloatingComposer"],"mappings":";;;;;AAoBO,SAAS,iBAAiB,KAA8B,EAAA;AAC7D,EAAA,uBACGA,cAAA,CAAAC,4BAAA,EAAA;AAAA,IACE,GAAG,KAAA;AAAA,IACJ,MAAA,EAAQ,MAAM,MAAO,CAAA,aAAA;AAAA,GACvB,CAAA,CAAA;AAEJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FloatingComposer.js","sources":["../../src/comments/FloatingComposer.tsx"],"sourcesContent":["import type {\n BlockNoteEditor
|
|
1
|
+
{"version":3,"file":"FloatingComposer.js","sources":["../../src/comments/FloatingComposer.tsx"],"sourcesContent":["import type {\n BlockNoteEditor,\n BlockSchema,\n DefaultBlockSchema,\n DefaultInlineContentSchema,\n DefaultStyleSchema,\n InlineContentSchema,\n StyleSchema,\n} from \"@blocknote/core\";\nimport { FloatingComposer as TipTapFloatingComposer } from \"@liveblocks/react-tiptap\";\nimport type { Editor } from \"@tiptap/core\";\n\ntype FloatingComposerProps<\n B extends BlockSchema = DefaultBlockSchema,\n I extends InlineContentSchema = DefaultInlineContentSchema,\n S extends StyleSchema = DefaultStyleSchema,\n> = Omit<Parameters<typeof TipTapFloatingComposer>[0], \"editor\"> & {\n editor: BlockNoteEditor<B, I, S>;\n};\n\nexport function FloatingComposer(props: FloatingComposerProps) {\n return (\n <TipTapFloatingComposer\n {...props}\n editor={props.editor._tiptapEditor as unknown as Editor}\n />\n );\n}\n"],"names":["TipTapFloatingComposer"],"mappings":";;;AAoBO,SAAS,iBAAiB,KAA8B,EAAA;AAC7D,EAAA,uBACG,GAAA,CAAAA,kBAAA,EAAA;AAAA,IACE,GAAG,KAAA;AAAA,IACJ,MAAA,EAAQ,MAAM,MAAO,CAAA,aAAA;AAAA,GACvB,CAAA,CAAA;AAEJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FloatingThreads.cjs","sources":["../../src/comments/FloatingThreads.tsx"],"sourcesContent":["import type {\n BlockNoteEditor
|
|
1
|
+
{"version":3,"file":"FloatingThreads.cjs","sources":["../../src/comments/FloatingThreads.tsx"],"sourcesContent":["import type {\n BlockNoteEditor,\n BlockSchema,\n DefaultBlockSchema,\n DefaultInlineContentSchema,\n DefaultStyleSchema,\n InlineContentSchema,\n StyleSchema,\n} from \"@blocknote/core\";\nimport { FloatingThreads as TipTapFloatingThreads } from \"@liveblocks/react-tiptap\";\nimport type { Editor } from \"@tiptap/core\";\n\ntype FloatingThreadsProps<\n B extends BlockSchema = DefaultBlockSchema,\n I extends InlineContentSchema = DefaultInlineContentSchema,\n S extends StyleSchema = DefaultStyleSchema,\n> = Omit<Parameters<typeof TipTapFloatingThreads>[0], \"editor\"> & {\n editor: BlockNoteEditor<B, I, S>;\n};\n\nexport function FloatingThreads(props: FloatingThreadsProps) {\n return (\n <TipTapFloatingThreads\n {...props}\n editor={props.editor._tiptapEditor as unknown as Editor}\n />\n );\n}\n"],"names":["jsx","TipTapFloatingThreads"],"mappings":";;;;;AAoBO,SAAS,gBAAgB,KAA6B,EAAA;AAC3D,EAAA,uBACGA,cAAA,CAAAC,2BAAA,EAAA;AAAA,IACE,GAAG,KAAA;AAAA,IACJ,MAAA,EAAQ,MAAM,MAAO,CAAA,aAAA;AAAA,GACvB,CAAA,CAAA;AAEJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FloatingThreads.js","sources":["../../src/comments/FloatingThreads.tsx"],"sourcesContent":["import type {\n BlockNoteEditor
|
|
1
|
+
{"version":3,"file":"FloatingThreads.js","sources":["../../src/comments/FloatingThreads.tsx"],"sourcesContent":["import type {\n BlockNoteEditor,\n BlockSchema,\n DefaultBlockSchema,\n DefaultInlineContentSchema,\n DefaultStyleSchema,\n InlineContentSchema,\n StyleSchema,\n} from \"@blocknote/core\";\nimport { FloatingThreads as TipTapFloatingThreads } from \"@liveblocks/react-tiptap\";\nimport type { Editor } from \"@tiptap/core\";\n\ntype FloatingThreadsProps<\n B extends BlockSchema = DefaultBlockSchema,\n I extends InlineContentSchema = DefaultInlineContentSchema,\n S extends StyleSchema = DefaultStyleSchema,\n> = Omit<Parameters<typeof TipTapFloatingThreads>[0], \"editor\"> & {\n editor: BlockNoteEditor<B, I, S>;\n};\n\nexport function FloatingThreads(props: FloatingThreadsProps) {\n return (\n <TipTapFloatingThreads\n {...props}\n editor={props.editor._tiptapEditor as unknown as Editor}\n />\n );\n}\n"],"names":["TipTapFloatingThreads"],"mappings":";;;AAoBO,SAAS,gBAAgB,KAA6B,EAAA;AAC3D,EAAA,uBACG,GAAA,CAAAA,iBAAA,EAAA;AAAA,IACE,GAAG,KAAA;AAAA,IACJ,MAAA,EAAQ,MAAM,MAAO,CAAA,aAAA;AAAA,GACvB,CAAA,CAAA;AAEJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HistoryVersionPreview.cjs","sources":["../../src/version-history/HistoryVersionPreview.tsx"],"sourcesContent":["import type {\n BlockNoteEditor
|
|
1
|
+
{"version":3,"file":"HistoryVersionPreview.cjs","sources":["../../src/version-history/HistoryVersionPreview.tsx"],"sourcesContent":["import type {\n BlockNoteEditor,\n BlockSchema,\n DefaultBlockSchema,\n DefaultInlineContentSchema,\n DefaultStyleSchema,\n InlineContentSchema,\n StyleSchema,\n} from \"@blocknote/core\";\nimport { HistoryVersionPreview as TipTapHistoryVersionPreview } from \"@liveblocks/react-tiptap\";\nimport type { Editor } from \"@tiptap/core\";\n\ntype HistoryVersionPreviewProps<\n B extends BlockSchema = DefaultBlockSchema,\n I extends InlineContentSchema = DefaultInlineContentSchema,\n S extends StyleSchema = DefaultStyleSchema,\n> = Omit<Parameters<typeof TipTapHistoryVersionPreview>[0], \"editor\"> & {\n editor: BlockNoteEditor<B, I, S>;\n};\n\nexport function HistoryVersionPreview(props: HistoryVersionPreviewProps) {\n return (\n <TipTapHistoryVersionPreview\n {...props}\n editor={props.editor._tiptapEditor as unknown as Editor}\n />\n );\n}\n"],"names":["jsx","TipTapHistoryVersionPreview"],"mappings":";;;;;AAoBO,SAAS,sBAAsB,KAAmC,EAAA;AACvE,EAAA,uBACGA,cAAA,CAAAC,iCAAA,EAAA;AAAA,IACE,GAAG,KAAA;AAAA,IACJ,MAAA,EAAQ,MAAM,MAAO,CAAA,aAAA;AAAA,GACvB,CAAA,CAAA;AAEJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HistoryVersionPreview.js","sources":["../../src/version-history/HistoryVersionPreview.tsx"],"sourcesContent":["import type {\n BlockNoteEditor
|
|
1
|
+
{"version":3,"file":"HistoryVersionPreview.js","sources":["../../src/version-history/HistoryVersionPreview.tsx"],"sourcesContent":["import type {\n BlockNoteEditor,\n BlockSchema,\n DefaultBlockSchema,\n DefaultInlineContentSchema,\n DefaultStyleSchema,\n InlineContentSchema,\n StyleSchema,\n} from \"@blocknote/core\";\nimport { HistoryVersionPreview as TipTapHistoryVersionPreview } from \"@liveblocks/react-tiptap\";\nimport type { Editor } from \"@tiptap/core\";\n\ntype HistoryVersionPreviewProps<\n B extends BlockSchema = DefaultBlockSchema,\n I extends InlineContentSchema = DefaultInlineContentSchema,\n S extends StyleSchema = DefaultStyleSchema,\n> = Omit<Parameters<typeof TipTapHistoryVersionPreview>[0], \"editor\"> & {\n editor: BlockNoteEditor<B, I, S>;\n};\n\nexport function HistoryVersionPreview(props: HistoryVersionPreviewProps) {\n return (\n <TipTapHistoryVersionPreview\n {...props}\n editor={props.editor._tiptapEditor as unknown as Editor}\n />\n );\n}\n"],"names":["TipTapHistoryVersionPreview"],"mappings":";;;AAoBO,SAAS,sBAAsB,KAAmC,EAAA;AACvE,EAAA,uBACG,GAAA,CAAAA,uBAAA,EAAA;AAAA,IACE,GAAG,KAAA;AAAA,IACJ,MAAA,EAAQ,MAAM,MAAO,CAAA,aAAA;AAAA,GACvB,CAAA,CAAA;AAEJ;;;;"}
|
package/dist/version.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const PKG_NAME = "@liveblocks/react-blocknote";
|
|
4
|
-
const PKG_VERSION = typeof "
|
|
4
|
+
const PKG_VERSION = typeof "3.0.0" === "string" && "3.0.0";
|
|
5
5
|
const PKG_FORMAT = typeof "cjs" === "string" && "cjs";
|
|
6
6
|
|
|
7
7
|
exports.PKG_FORMAT = PKG_FORMAT;
|
package/dist/version.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.cjs","sources":["../src/version.ts"],"sourcesContent":["declare const __VERSION__: string;\ndeclare const ROLLUP_FORMAT: string;\n\nexport const PKG_NAME = \"@liveblocks/react-blocknote\";\nexport const PKG_VERSION = typeof __VERSION__ === \"string\" && __VERSION__;\nexport const PKG_FORMAT = typeof ROLLUP_FORMAT === \"string\" && ROLLUP_FORMAT;\n"],"names":[],"mappings":";;AAGO,MAAM,QAAW,GAAA,8BAAA;AACX,MAAA,WAAA,GAAc,OAAO,
|
|
1
|
+
{"version":3,"file":"version.cjs","sources":["../src/version.ts"],"sourcesContent":["declare const __VERSION__: string;\ndeclare const ROLLUP_FORMAT: string;\n\nexport const PKG_NAME = \"@liveblocks/react-blocknote\";\nexport const PKG_VERSION = typeof __VERSION__ === \"string\" && __VERSION__;\nexport const PKG_FORMAT = typeof ROLLUP_FORMAT === \"string\" && ROLLUP_FORMAT;\n"],"names":[],"mappings":";;AAGO,MAAM,QAAW,GAAA,8BAAA;AACX,MAAA,WAAA,GAAc,OAAO,OAAA,KAAgB,QAAY,IAAA,QAAA;AACjD,MAAA,UAAA,GAAa,OAAO,KAAA,KAAkB,QAAY,IAAA;;;;;;"}
|
package/dist/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const PKG_NAME = "@liveblocks/react-blocknote";
|
|
2
|
-
const PKG_VERSION = typeof "
|
|
2
|
+
const PKG_VERSION = typeof "3.0.0" === "string" && "3.0.0";
|
|
3
3
|
const PKG_FORMAT = typeof "esm" === "string" && "esm";
|
|
4
4
|
|
|
5
5
|
export { PKG_FORMAT, PKG_NAME, PKG_VERSION };
|
package/dist/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sources":["../src/version.ts"],"sourcesContent":["declare const __VERSION__: string;\ndeclare const ROLLUP_FORMAT: string;\n\nexport const PKG_NAME = \"@liveblocks/react-blocknote\";\nexport const PKG_VERSION = typeof __VERSION__ === \"string\" && __VERSION__;\nexport const PKG_FORMAT = typeof ROLLUP_FORMAT === \"string\" && ROLLUP_FORMAT;\n"],"names":[],"mappings":"AAGO,MAAM,QAAW,GAAA,8BAAA;AACX,MAAA,WAAA,GAAc,OAAO,
|
|
1
|
+
{"version":3,"file":"version.js","sources":["../src/version.ts"],"sourcesContent":["declare const __VERSION__: string;\ndeclare const ROLLUP_FORMAT: string;\n\nexport const PKG_NAME = \"@liveblocks/react-blocknote\";\nexport const PKG_VERSION = typeof __VERSION__ === \"string\" && __VERSION__;\nexport const PKG_FORMAT = typeof ROLLUP_FORMAT === \"string\" && ROLLUP_FORMAT;\n"],"names":[],"mappings":"AAGO,MAAM,QAAW,GAAA,8BAAA;AACX,MAAA,WAAA,GAAc,OAAO,OAAA,KAAgB,QAAY,IAAA,QAAA;AACjD,MAAA,UAAA,GAAa,OAAO,KAAA,KAAkB,QAAY,IAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liveblocks/react-blocknote",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "An integration of BlockNote + React to enable collaboration, comments, live cursors, and more with Liveblocks.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"test:watch": "vitest"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@liveblocks/client": "
|
|
46
|
-
"@liveblocks/core": "
|
|
47
|
-
"@liveblocks/react": "
|
|
48
|
-
"@liveblocks/react-tiptap": "
|
|
49
|
-
"@liveblocks/react-ui": "
|
|
50
|
-
"@liveblocks/yjs": "
|
|
45
|
+
"@liveblocks/client": "3.0.0",
|
|
46
|
+
"@liveblocks/core": "3.0.0",
|
|
47
|
+
"@liveblocks/react": "3.0.0",
|
|
48
|
+
"@liveblocks/react-tiptap": "3.0.0",
|
|
49
|
+
"@liveblocks/react-ui": "3.0.0",
|
|
50
|
+
"@liveblocks/yjs": "3.0.0",
|
|
51
51
|
"@tiptap/core": "^2.7.2",
|
|
52
52
|
"vitest-tsconfig-paths": "^3.4.1"
|
|
53
53
|
},
|
|
@@ -55,9 +55,19 @@
|
|
|
55
55
|
"@blocknote/core": "0.25.1 - 1.0.0",
|
|
56
56
|
"@blocknote/react": "0.25.1 - 1.0.0",
|
|
57
57
|
"@tiptap/core": "^2.7.2",
|
|
58
|
+
"@types/react": "*",
|
|
59
|
+
"@types/react-dom": "*",
|
|
58
60
|
"react": "^18 || ^19 || ^19.0.0-rc",
|
|
59
61
|
"react-dom": "^18 || ^19 || ^19.0.0-rc"
|
|
60
62
|
},
|
|
63
|
+
"peerDependenciesMeta": {
|
|
64
|
+
"@types/react": {
|
|
65
|
+
"optional": true
|
|
66
|
+
},
|
|
67
|
+
"@types/react-dom": {
|
|
68
|
+
"optional": true
|
|
69
|
+
}
|
|
70
|
+
},
|
|
61
71
|
"devDependencies": {
|
|
62
72
|
"@liveblocks/eslint-config": "*",
|
|
63
73
|
"@liveblocks/jest-config": "*",
|