@liveblocks/react-blocknote 3.13.3 → 3.13.4

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/index.d.cts CHANGED
@@ -28,75 +28,7 @@ declare function FloatingThreads(props: FloatingThreadsProps): react_jsx_runtime
28
28
  /**
29
29
  * Helper function to add Liveblocks support to BlockNoteEditorOptions
30
30
  */
31
- declare const withLiveblocksEditorOptions: <B extends BlockSchema = _blocknote_core._DefaultBlockSchema, I extends InlineContentSchema = _blocknote_core.InlineContentSchemaFromSpecs<{
32
- text: {
33
- config: "text";
34
- implementation: any;
35
- };
36
- link: {
37
- config: "link";
38
- implementation: any;
39
- };
40
- }>, S extends StyleSchema = _blocknote_core.StyleSchemaFromSpecs<{
41
- bold: {
42
- config: {
43
- type: string;
44
- propSchema: "boolean";
45
- };
46
- implementation: _blocknote_core.StyleImplementation<{
47
- type: string;
48
- propSchema: "boolean";
49
- }>;
50
- };
51
- italic: {
52
- config: {
53
- type: string;
54
- propSchema: "boolean";
55
- };
56
- implementation: _blocknote_core.StyleImplementation<{
57
- type: string;
58
- propSchema: "boolean";
59
- }>;
60
- };
61
- underline: {
62
- config: {
63
- type: string;
64
- propSchema: "boolean";
65
- };
66
- implementation: _blocknote_core.StyleImplementation<{
67
- type: string;
68
- propSchema: "boolean";
69
- }>;
70
- };
71
- strike: {
72
- config: {
73
- type: string;
74
- propSchema: "boolean";
75
- };
76
- implementation: _blocknote_core.StyleImplementation<{
77
- type: string;
78
- propSchema: "boolean";
79
- }>;
80
- };
81
- code: {
82
- config: {
83
- type: string;
84
- propSchema: "boolean";
85
- };
86
- implementation: _blocknote_core.StyleImplementation<{
87
- type: string;
88
- propSchema: "boolean";
89
- }>;
90
- };
91
- textColor: _blocknote_core.StyleSpec<{
92
- readonly type: "textColor";
93
- readonly propSchema: "string";
94
- }>;
95
- backgroundColor: _blocknote_core.StyleSpec<{
96
- readonly type: "backgroundColor";
97
- readonly propSchema: "string";
98
- }>;
99
- }>>(liveblocksExtension: Extension<any, any>, blocknoteOptions?: Partial<BlockNoteEditorOptions<B, I, S>>, liveblocksOptions?: Partial<{
31
+ declare const withLiveblocksEditorOptions: <B extends BlockSchema = DefaultBlockSchema, I extends InlineContentSchema = DefaultInlineContentSchema, S extends StyleSchema = DefaultStyleSchema>(liveblocksExtension: Extension<any, any>, blocknoteOptions?: Partial<BlockNoteEditorOptions<B, I, S>>, liveblocksOptions?: Partial<{
100
32
  mentions: boolean;
101
33
  }>) => Partial<BlockNoteEditorOptions<B, I, S>>;
102
34
 
@@ -112,75 +44,7 @@ declare const withLiveblocksSchema: <B extends BlockSchema, I extends InlineCont
112
44
  /**
113
45
  * Function that can be used instead of standard useCreateBlockNote to add Liveblocks support
114
46
  */
115
- declare const useCreateBlockNoteWithLiveblocks: <B extends BlockSchema = _blocknote_core._DefaultBlockSchema, I extends InlineContentSchema = _blocknote_core.InlineContentSchemaFromSpecs<{
116
- text: {
117
- config: "text";
118
- implementation: any;
119
- };
120
- link: {
121
- config: "link";
122
- implementation: any;
123
- };
124
- }>, S extends StyleSchema = _blocknote_core.StyleSchemaFromSpecs<{
125
- bold: {
126
- config: {
127
- type: string;
128
- propSchema: "boolean";
129
- };
130
- implementation: _blocknote_core.StyleImplementation<{
131
- type: string;
132
- propSchema: "boolean";
133
- }>;
134
- };
135
- italic: {
136
- config: {
137
- type: string;
138
- propSchema: "boolean";
139
- };
140
- implementation: _blocknote_core.StyleImplementation<{
141
- type: string;
142
- propSchema: "boolean";
143
- }>;
144
- };
145
- underline: {
146
- config: {
147
- type: string;
148
- propSchema: "boolean";
149
- };
150
- implementation: _blocknote_core.StyleImplementation<{
151
- type: string;
152
- propSchema: "boolean";
153
- }>;
154
- };
155
- strike: {
156
- config: {
157
- type: string;
158
- propSchema: "boolean";
159
- };
160
- implementation: _blocknote_core.StyleImplementation<{
161
- type: string;
162
- propSchema: "boolean";
163
- }>;
164
- };
165
- code: {
166
- config: {
167
- type: string;
168
- propSchema: "boolean";
169
- };
170
- implementation: _blocknote_core.StyleImplementation<{
171
- type: string;
172
- propSchema: "boolean";
173
- }>;
174
- };
175
- textColor: _blocknote_core.StyleSpec<{
176
- readonly type: "textColor";
177
- readonly propSchema: "string";
178
- }>;
179
- backgroundColor: _blocknote_core.StyleSpec<{
180
- readonly type: "backgroundColor";
181
- readonly propSchema: "string";
182
- }>;
183
- }>>(blocknoteOptions?: Partial<BlockNoteEditorOptions<B, I, S>>, liveblocksOptions?: LiveblocksExtensionOptions, deps?: DependencyList) => _blocknote_core.BlockNoteEditor<_blocknote_core._DefaultBlockSchema, _blocknote_core.InlineContentSchemaFromSpecs<{
47
+ declare const useCreateBlockNoteWithLiveblocks: <B extends BlockSchema = DefaultBlockSchema, I extends InlineContentSchema = DefaultInlineContentSchema, S extends StyleSchema = DefaultStyleSchema>(blocknoteOptions?: Partial<BlockNoteEditorOptions<B, I, S>>, liveblocksOptions?: LiveblocksExtensionOptions, deps?: DependencyList) => _blocknote_core.BlockNoteEditor<_blocknote_core._DefaultBlockSchema, _blocknote_core.InlineContentSchemaFromSpecs<{
184
48
  text: {
185
49
  config: "text";
186
50
  implementation: any;
package/dist/index.d.ts CHANGED
@@ -28,75 +28,7 @@ declare function FloatingThreads(props: FloatingThreadsProps): react_jsx_runtime
28
28
  /**
29
29
  * Helper function to add Liveblocks support to BlockNoteEditorOptions
30
30
  */
31
- declare const withLiveblocksEditorOptions: <B extends BlockSchema = _blocknote_core._DefaultBlockSchema, I extends InlineContentSchema = _blocknote_core.InlineContentSchemaFromSpecs<{
32
- text: {
33
- config: "text";
34
- implementation: any;
35
- };
36
- link: {
37
- config: "link";
38
- implementation: any;
39
- };
40
- }>, S extends StyleSchema = _blocknote_core.StyleSchemaFromSpecs<{
41
- bold: {
42
- config: {
43
- type: string;
44
- propSchema: "boolean";
45
- };
46
- implementation: _blocknote_core.StyleImplementation<{
47
- type: string;
48
- propSchema: "boolean";
49
- }>;
50
- };
51
- italic: {
52
- config: {
53
- type: string;
54
- propSchema: "boolean";
55
- };
56
- implementation: _blocknote_core.StyleImplementation<{
57
- type: string;
58
- propSchema: "boolean";
59
- }>;
60
- };
61
- underline: {
62
- config: {
63
- type: string;
64
- propSchema: "boolean";
65
- };
66
- implementation: _blocknote_core.StyleImplementation<{
67
- type: string;
68
- propSchema: "boolean";
69
- }>;
70
- };
71
- strike: {
72
- config: {
73
- type: string;
74
- propSchema: "boolean";
75
- };
76
- implementation: _blocknote_core.StyleImplementation<{
77
- type: string;
78
- propSchema: "boolean";
79
- }>;
80
- };
81
- code: {
82
- config: {
83
- type: string;
84
- propSchema: "boolean";
85
- };
86
- implementation: _blocknote_core.StyleImplementation<{
87
- type: string;
88
- propSchema: "boolean";
89
- }>;
90
- };
91
- textColor: _blocknote_core.StyleSpec<{
92
- readonly type: "textColor";
93
- readonly propSchema: "string";
94
- }>;
95
- backgroundColor: _blocknote_core.StyleSpec<{
96
- readonly type: "backgroundColor";
97
- readonly propSchema: "string";
98
- }>;
99
- }>>(liveblocksExtension: Extension<any, any>, blocknoteOptions?: Partial<BlockNoteEditorOptions<B, I, S>>, liveblocksOptions?: Partial<{
31
+ declare const withLiveblocksEditorOptions: <B extends BlockSchema = DefaultBlockSchema, I extends InlineContentSchema = DefaultInlineContentSchema, S extends StyleSchema = DefaultStyleSchema>(liveblocksExtension: Extension<any, any>, blocknoteOptions?: Partial<BlockNoteEditorOptions<B, I, S>>, liveblocksOptions?: Partial<{
100
32
  mentions: boolean;
101
33
  }>) => Partial<BlockNoteEditorOptions<B, I, S>>;
102
34
 
@@ -112,75 +44,7 @@ declare const withLiveblocksSchema: <B extends BlockSchema, I extends InlineCont
112
44
  /**
113
45
  * Function that can be used instead of standard useCreateBlockNote to add Liveblocks support
114
46
  */
115
- declare const useCreateBlockNoteWithLiveblocks: <B extends BlockSchema = _blocknote_core._DefaultBlockSchema, I extends InlineContentSchema = _blocknote_core.InlineContentSchemaFromSpecs<{
116
- text: {
117
- config: "text";
118
- implementation: any;
119
- };
120
- link: {
121
- config: "link";
122
- implementation: any;
123
- };
124
- }>, S extends StyleSchema = _blocknote_core.StyleSchemaFromSpecs<{
125
- bold: {
126
- config: {
127
- type: string;
128
- propSchema: "boolean";
129
- };
130
- implementation: _blocknote_core.StyleImplementation<{
131
- type: string;
132
- propSchema: "boolean";
133
- }>;
134
- };
135
- italic: {
136
- config: {
137
- type: string;
138
- propSchema: "boolean";
139
- };
140
- implementation: _blocknote_core.StyleImplementation<{
141
- type: string;
142
- propSchema: "boolean";
143
- }>;
144
- };
145
- underline: {
146
- config: {
147
- type: string;
148
- propSchema: "boolean";
149
- };
150
- implementation: _blocknote_core.StyleImplementation<{
151
- type: string;
152
- propSchema: "boolean";
153
- }>;
154
- };
155
- strike: {
156
- config: {
157
- type: string;
158
- propSchema: "boolean";
159
- };
160
- implementation: _blocknote_core.StyleImplementation<{
161
- type: string;
162
- propSchema: "boolean";
163
- }>;
164
- };
165
- code: {
166
- config: {
167
- type: string;
168
- propSchema: "boolean";
169
- };
170
- implementation: _blocknote_core.StyleImplementation<{
171
- type: string;
172
- propSchema: "boolean";
173
- }>;
174
- };
175
- textColor: _blocknote_core.StyleSpec<{
176
- readonly type: "textColor";
177
- readonly propSchema: "string";
178
- }>;
179
- backgroundColor: _blocknote_core.StyleSpec<{
180
- readonly type: "backgroundColor";
181
- readonly propSchema: "string";
182
- }>;
183
- }>>(blocknoteOptions?: Partial<BlockNoteEditorOptions<B, I, S>>, liveblocksOptions?: LiveblocksExtensionOptions, deps?: DependencyList) => _blocknote_core.BlockNoteEditor<_blocknote_core._DefaultBlockSchema, _blocknote_core.InlineContentSchemaFromSpecs<{
47
+ declare const useCreateBlockNoteWithLiveblocks: <B extends BlockSchema = DefaultBlockSchema, I extends InlineContentSchema = DefaultInlineContentSchema, S extends StyleSchema = DefaultStyleSchema>(blocknoteOptions?: Partial<BlockNoteEditorOptions<B, I, S>>, liveblocksOptions?: LiveblocksExtensionOptions, deps?: DependencyList) => _blocknote_core.BlockNoteEditor<_blocknote_core._DefaultBlockSchema, _blocknote_core.InlineContentSchemaFromSpecs<{
184
48
  text: {
185
49
  config: "text";
186
50
  implementation: any;
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 "3.13.3" === "string" && "3.13.3";
4
+ const PKG_VERSION = typeof "3.13.4" === "string" && "3.13.4";
5
5
  const PKG_FORMAT = typeof "cjs" === "string" && "cjs";
6
6
 
7
7
  exports.PKG_FORMAT = PKG_FORMAT;
package/dist/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const PKG_NAME = "@liveblocks/react-blocknote";
2
- const PKG_VERSION = typeof "3.13.3" === "string" && "3.13.3";
2
+ const PKG_VERSION = typeof "3.13.4" === "string" && "3.13.4";
3
3
  const PKG_FORMAT = typeof "esm" === "string" && "esm";
4
4
 
5
5
  export { PKG_FORMAT, PKG_NAME, PKG_VERSION };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liveblocks/react-blocknote",
3
- "version": "3.13.3",
3
+ "version": "3.13.4",
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": "NODE_OPTIONS=\"--no-deprecation\" vitest"
43
43
  },
44
44
  "dependencies": {
45
- "@liveblocks/client": "3.13.3",
46
- "@liveblocks/core": "3.13.3",
47
- "@liveblocks/react": "3.13.3",
48
- "@liveblocks/react-tiptap": "3.13.3",
49
- "@liveblocks/react-ui": "3.13.3",
50
- "@liveblocks/yjs": "3.13.3",
45
+ "@liveblocks/client": "3.13.4",
46
+ "@liveblocks/core": "3.13.4",
47
+ "@liveblocks/react": "3.13.4",
48
+ "@liveblocks/react-tiptap": "3.13.4",
49
+ "@liveblocks/react-ui": "3.13.4",
50
+ "@liveblocks/yjs": "3.13.4",
51
51
  "@tiptap/core": "^3.4.2",
52
52
  "vitest-tsconfig-paths": "^3.4.1"
53
53
  },