@remirror/extension-yjs 1.0.5 → 1.0.9

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.
@@ -1,2 +1,2 @@
1
- export type { YjsOptions } from './yjs-extension';
2
- export { defaultDestroyProvider, YjsExtension } from './yjs-extension';
1
+ export type { YjsOptions } from './yjs-extension';
2
+ export { defaultDestroyProvider, YjsExtension } from './yjs-extension';
@@ -1,127 +1,127 @@
1
- import type { Doc } from 'yjs';
2
- import { AcceptUndefined, EditorState, KeyBindingProps, NonChainableCommandFunction, OnSetOptionsProps, PlainExtension, ProsemirrorPlugin, Selection, Shape } from '@remirror/core';
3
- export interface ColorDef {
4
- light: string;
5
- dark: string;
6
- }
7
- export interface YSyncOpts {
8
- colors?: ColorDef[];
9
- colorMapping?: Map<string, ColorDef>;
10
- permanentUserData?: any | null;
11
- }
12
- /**
13
- * yjs typings are very rough; so we define here the interface that we require
14
- * (y-webrtc and y-websocket providers are both compatible with this interface;
15
- * no other providers have been checked).
16
- */
17
- interface YjsRealtimeProvider {
18
- doc: Doc;
19
- awareness: any;
20
- destroy: () => void;
21
- disconnect: () => void;
22
- }
23
- export interface YjsOptions<Provider extends YjsRealtimeProvider = YjsRealtimeProvider> {
24
- /**
25
- * Get the provider for this extension.
26
- */
27
- getProvider: Provider | (() => Provider);
28
- /**
29
- * Remove the active provider. This should only be set at initial construction
30
- * of the editor.
31
- */
32
- destroyProvider?: (provider: Provider) => void;
33
- /**
34
- * The options which are passed through to the Yjs sync plugin.
35
- */
36
- syncPluginOptions?: AcceptUndefined<YSyncOpts>;
37
- /**
38
- * Take the user data and transform it into a html element which is used for
39
- * the cursor. This is passed into the cursor builder.
40
- *
41
- * See https://github.com/yjs/y-prosemirror#remote-cursors
42
- */
43
- cursorBuilder?: (user: Shape) => HTMLElement;
44
- /**
45
- * By default all editor bindings use the awareness 'cursor' field to
46
- * propagate cursor information.
47
- *
48
- * @default 'cursor'
49
- */
50
- cursorStateField?: string;
51
- /**
52
- * Get the current editor selection.
53
- *
54
- * @default `(state) => state.selection`
55
- */
56
- getSelection?: (state: EditorState) => Selection;
57
- /**
58
- * Names of nodes in the editor which should be protected.
59
- *
60
- * @default `new Set('paragraph')`
61
- */
62
- protectedNodes?: Set<string>;
63
- trackedOrigins?: any[];
64
- }
65
- /**
66
- * The YJS extension is the recommended extension for creating a collaborative
67
- * editor.
68
- */
69
- export declare class YjsExtension extends PlainExtension<YjsOptions> {
70
- get name(): "yjs";
71
- private _provider?;
72
- /**
73
- * The provider that is being used for the editor.
74
- */
75
- get provider(): YjsRealtimeProvider;
76
- onView(): void;
77
- /**
78
- * Create the yjs plugins.
79
- */
80
- createExternalPlugins(): ProsemirrorPlugin[];
81
- /**
82
- * This managers the updates of the collaboration provider.
83
- */
84
- onSetOptions(props: OnSetOptionsProps<YjsOptions>): void;
85
- /**
86
- * Remove the provider from the manager.
87
- */
88
- onDestroy(): void;
89
- /**
90
- * Undo within a collaborative editor.
91
- *
92
- * This should be used instead of the built in `undo` command.
93
- *
94
- * This command does **not** support chaining.
95
- */
96
- yUndo(): NonChainableCommandFunction;
97
- /**
98
- * Redo, within a collaborative editor.
99
- *
100
- * This should be used instead of the built in `redo` command.
101
- *
102
- * This command does **not** support chaining.
103
- */
104
- yRedo(): NonChainableCommandFunction;
105
- /**
106
- * Handle the undo keybinding.
107
- */
108
- undoShortcut(props: KeyBindingProps): boolean;
109
- /**
110
- * Handle the redo keybinding for the editor.
111
- */
112
- redoShortcut(props: KeyBindingProps): boolean;
113
- private absolutePositionToRelativePosition;
114
- private relativePositionToAbsolutePosition;
115
- }
116
- /**
117
- * The default destroy provider method.
118
- */
119
- export declare function defaultDestroyProvider(provider: YjsRealtimeProvider): void;
120
- declare global {
121
- namespace Remirror {
122
- interface AllExtensions {
123
- yjs: YjsExtension;
124
- }
125
- }
126
- }
127
- export {};
1
+ import type { Doc } from 'yjs';
2
+ import { AcceptUndefined, EditorState, KeyBindingProps, NonChainableCommandFunction, OnSetOptionsProps, PlainExtension, ProsemirrorPlugin, Selection, Shape } from '@remirror/core';
3
+ export interface ColorDef {
4
+ light: string;
5
+ dark: string;
6
+ }
7
+ export interface YSyncOpts {
8
+ colors?: ColorDef[];
9
+ colorMapping?: Map<string, ColorDef>;
10
+ permanentUserData?: any | null;
11
+ }
12
+ /**
13
+ * yjs typings are very rough; so we define here the interface that we require
14
+ * (y-webrtc and y-websocket providers are both compatible with this interface;
15
+ * no other providers have been checked).
16
+ */
17
+ interface YjsRealtimeProvider {
18
+ doc: Doc;
19
+ awareness: any;
20
+ destroy: () => void;
21
+ disconnect: () => void;
22
+ }
23
+ export interface YjsOptions<Provider extends YjsRealtimeProvider = YjsRealtimeProvider> {
24
+ /**
25
+ * Get the provider for this extension.
26
+ */
27
+ getProvider: Provider | (() => Provider);
28
+ /**
29
+ * Remove the active provider. This should only be set at initial construction
30
+ * of the editor.
31
+ */
32
+ destroyProvider?: (provider: Provider) => void;
33
+ /**
34
+ * The options which are passed through to the Yjs sync plugin.
35
+ */
36
+ syncPluginOptions?: AcceptUndefined<YSyncOpts>;
37
+ /**
38
+ * Take the user data and transform it into a html element which is used for
39
+ * the cursor. This is passed into the cursor builder.
40
+ *
41
+ * See https://github.com/yjs/y-prosemirror#remote-cursors
42
+ */
43
+ cursorBuilder?: (user: Shape) => HTMLElement;
44
+ /**
45
+ * By default all editor bindings use the awareness 'cursor' field to
46
+ * propagate cursor information.
47
+ *
48
+ * @default 'cursor'
49
+ */
50
+ cursorStateField?: string;
51
+ /**
52
+ * Get the current editor selection.
53
+ *
54
+ * @default `(state) => state.selection`
55
+ */
56
+ getSelection?: (state: EditorState) => Selection;
57
+ /**
58
+ * Names of nodes in the editor which should be protected.
59
+ *
60
+ * @default `new Set('paragraph')`
61
+ */
62
+ protectedNodes?: Set<string>;
63
+ trackedOrigins?: any[];
64
+ }
65
+ /**
66
+ * The YJS extension is the recommended extension for creating a collaborative
67
+ * editor.
68
+ */
69
+ export declare class YjsExtension extends PlainExtension<YjsOptions> {
70
+ get name(): "yjs";
71
+ private _provider?;
72
+ /**
73
+ * The provider that is being used for the editor.
74
+ */
75
+ get provider(): YjsRealtimeProvider;
76
+ onView(): void;
77
+ /**
78
+ * Create the yjs plugins.
79
+ */
80
+ createExternalPlugins(): ProsemirrorPlugin[];
81
+ /**
82
+ * This managers the updates of the collaboration provider.
83
+ */
84
+ onSetOptions(props: OnSetOptionsProps<YjsOptions>): void;
85
+ /**
86
+ * Remove the provider from the manager.
87
+ */
88
+ onDestroy(): void;
89
+ /**
90
+ * Undo within a collaborative editor.
91
+ *
92
+ * This should be used instead of the built in `undo` command.
93
+ *
94
+ * This command does **not** support chaining.
95
+ */
96
+ yUndo(): NonChainableCommandFunction;
97
+ /**
98
+ * Redo, within a collaborative editor.
99
+ *
100
+ * This should be used instead of the built in `redo` command.
101
+ *
102
+ * This command does **not** support chaining.
103
+ */
104
+ yRedo(): NonChainableCommandFunction;
105
+ /**
106
+ * Handle the undo keybinding.
107
+ */
108
+ undoShortcut(props: KeyBindingProps): boolean;
109
+ /**
110
+ * Handle the redo keybinding for the editor.
111
+ */
112
+ redoShortcut(props: KeyBindingProps): boolean;
113
+ private absolutePositionToRelativePosition;
114
+ private relativePositionToAbsolutePosition;
115
+ }
116
+ /**
117
+ * The default destroy provider method.
118
+ */
119
+ export declare function defaultDestroyProvider(provider: YjsRealtimeProvider): void;
120
+ declare global {
121
+ namespace Remirror {
122
+ interface AllExtensions {
123
+ yjs: YjsExtension;
124
+ }
125
+ }
126
+ }
127
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remirror/extension-yjs",
3
- "version": "1.0.5",
3
+ "version": "1.0.9",
4
4
  "description": "Realtime collaboration with yjs",
5
5
  "keywords": [
6
6
  "remirror",
@@ -44,19 +44,19 @@
44
44
  ],
45
45
  "dependencies": {
46
46
  "@babel/runtime": "^7.13.10",
47
- "@remirror/core": "^1.1.0",
48
- "@remirror/extension-annotation": "^1.0.5",
49
- "@remirror/messages": "^1.0.2",
47
+ "@remirror/core": "^1.1.3",
48
+ "@remirror/extension-annotation": "^1.1.1",
49
+ "@remirror/messages": "^1.0.3",
50
50
  "y-prosemirror": "^1.0.9",
51
51
  "y-protocols": "^1.0.5"
52
52
  },
53
53
  "devDependencies": {
54
- "@remirror/pm": "^1.0.2",
54
+ "@remirror/pm": "^1.0.3",
55
55
  "y-webrtc": "^10.2.0",
56
56
  "yjs": "^13.5.11"
57
57
  },
58
58
  "peerDependencies": {
59
- "@remirror/pm": "^1.0.1",
59
+ "@remirror/pm": "^1.0.3",
60
60
  "yjs": "^13.4.0"
61
61
  },
62
62
  "publishConfig": {
@@ -66,4 +66,4 @@
66
66
  "sizeLimit": "115 KB"
67
67
  },
68
68
  "rn:dev": "src/index.ts"
69
- }
69
+ }
package/CHANGELOG.md DELETED
@@ -1,697 +0,0 @@
1
- # @remirror/extension-yjs
2
-
3
- ## 1.0.5
4
-
5
- > 2021-08-30
6
-
7
- ### Patch Changes
8
-
9
- - Reset some CSS on IMG separator nodes.
10
-
11
- - Updated dependencies []:
12
- - @remirror/extension-annotation@1.0.5
13
-
14
- ## 1.0.4
15
-
16
- > 2021-08-29
17
-
18
- ### Patch Changes
19
-
20
- - Override the default browser style about the nested list, so that users can tell the different between two adjacent nested lists.
21
-
22
- * Don't install `@remirror/theme` as a dependency of `@remirror/core`.
23
-
24
- - Add a new `UploadExtension` to the built-in preset, which will manage all upload states from `FileExtension` and other extensions in the future.
25
-
26
- **Breaking changes**: `UploadContext` and `FileUploader` are now exported by `@remirror/core` instead of `@remirror/extension-file`.
27
-
28
- - Updated dependencies []:
29
- - @remirror/extension-annotation@1.0.4
30
- - @remirror/core@1.1.0
31
-
32
- ## 1.0.3
33
-
34
- > 2021-08-26
35
-
36
- ### Patch Changes
37
-
38
- - Add a `helpers` property to the `BasePositionerProps`. This will make it easier to use preconfigured helpers in the positioners.
39
-
40
- - Updated dependencies []:
41
- - @remirror/extension-annotation@1.0.3
42
-
43
- ## 1.0.2
44
-
45
- > 2021-08-22
46
-
47
- ### Patch Changes
48
-
49
- - Set `sideEffect` from `@remirror/i18n`'s package.json as true.
50
-
51
- - Updated dependencies []:
52
- - @remirror/core@1.0.3
53
- - @remirror/extension-annotation@1.0.2
54
-
55
- ## 1.0.1
56
-
57
- > 2021-07-17
58
-
59
- ### Patch Changes
60
-
61
- - [#1002](https://github.com/remirror/remirror/pull/1002) [`b3ea6f10d`](https://github.com/remirror/remirror/commit/b3ea6f10d4917f933971236be936731f75a69a70) Thanks [@ifiokjr](https://github.com/ifiokjr)! - Use carets `^` for versioning of `remirror` packages.
62
-
63
- - Updated dependencies [[`b3ea6f10d`](https://github.com/remirror/remirror/commit/b3ea6f10d4917f933971236be936731f75a69a70)]:
64
- - @remirror/core@1.0.1
65
- - @remirror/extension-annotation@1.0.1
66
- - @remirror/messages@1.0.1
67
- - @remirror/pm@1.0.1
68
-
69
- ## 1.0.0
70
-
71
- > 2021-07-17
72
-
73
- ##### Major Changes
74
-
75
- For information on what's changed in this release see the [`v1.0.0` release](https://github.com/remirror/remirror/releases/tag/v1.0.0).
76
-
77
- ### Minor Changes
78
-
79
- - [#970](https://github.com/remirror/remirror/pull/970) [`9fe4191e1`](https://github.com/remirror/remirror/commit/9fe4191e171d5e693c0f72cd7dd44a0dcab89297) Thanks [@whawker](https://github.com/whawker)! - Ignore unnecessary handling of own changes to Yjs document
80
-
81
- * [#956](https://github.com/remirror/remirror/pull/956) [`6bba1782e`](https://github.com/remirror/remirror/commit/6bba1782e838fbe94e0d0aee0824a45371644c88) Thanks [@whawker](https://github.com/whawker)! - Add the ability to share annotations via YJS if both extensions are present in the editor
82
-
83
- - [#865](https://github.com/remirror/remirror/pull/865) [`561ae7792`](https://github.com/remirror/remirror/commit/561ae7792e9a6632f220429c8b9add3061f964dc) Thanks [@ifiokjr](https://github.com/ifiokjr)! - Add `y-protocols` to `@remirror/extension-yjs` dependencies.
84
-
85
- ### Patch Changes
86
-
87
- - [#959](https://github.com/remirror/remirror/pull/959) [`281ba2172`](https://github.com/remirror/remirror/commit/281ba2172713e40448c6208cc728ff60af2b2761) Thanks [@whawker](https://github.com/whawker)! - Fix types for Yjs extension relative/absolute position transforms Add tests and JSDoc for Annotation extension options
88
-
89
- - Updated dependencies [[`8202b65ef`](https://github.com/remirror/remirror/commit/8202b65efbce5a8338c45fd34b3efb676b7e54e7), [`6bba1782e`](https://github.com/remirror/remirror/commit/6bba1782e838fbe94e0d0aee0824a45371644c88), [`adfb12a4c`](https://github.com/remirror/remirror/commit/adfb12a4cee7031eec4baa10830b0fc0134ebdc8), [`7d9f43837`](https://github.com/remirror/remirror/commit/7d9f43837e7b83e09c80374f7c09ad489a561cfa), [`281ba2172`](https://github.com/remirror/remirror/commit/281ba2172713e40448c6208cc728ff60af2b2761), [`d896c3196`](https://github.com/remirror/remirror/commit/d896c3196d0a2ec372e9515ea5d9362205a352a7), [`7f3569729`](https://github.com/remirror/remirror/commit/7f3569729c0d843b7745a490feda383b31aa2b7e), [`270edd91b`](https://github.com/remirror/remirror/commit/270edd91ba6badf9468721e35fa0ddc6a21c6dd2), [`b4dfcad36`](https://github.com/remirror/remirror/commit/b4dfcad364a0b41d321fbd26a97377f2b6d4047c), [`e9b10fa5a`](https://github.com/remirror/remirror/commit/e9b10fa5a50dd3e342b75b0a852627db99f22dc2), [`6ab7d2224`](https://github.com/remirror/remirror/commit/6ab7d2224d16ba821d8510e0498aaa9c420922c4), [`270edd91b`](https://github.com/remirror/remirror/commit/270edd91ba6badf9468721e35fa0ddc6a21c6dd2), [`270edd91b`](https://github.com/remirror/remirror/commit/270edd91ba6badf9468721e35fa0ddc6a21c6dd2), [`7024de573`](https://github.com/remirror/remirror/commit/7024de5738a968f2914a999e570d723899815611), [`03d0ae485`](https://github.com/remirror/remirror/commit/03d0ae485079a166a223b902ea72cbe62504b0f0)]:
90
- - @remirror/core@1.0.0
91
- - @remirror/extension-annotation@1.0.0
92
- - @remirror/messages@1.0.0
93
- - @remirror/pm@1.0.0
94
-
95
- ## 1.0.0-next.60
96
-
97
- > 2020-12-17
98
-
99
- ### Patch Changes
100
-
101
- - [`34a7981d`](https://github.com/remirror/remirror/commit/34a7981de827e9d804a0fb5e1304ddf5a8ae4505) Thanks [@ifiokjr](https://github.com/ifiokjr)! - Includes fixes for scrolling while remote clients are editing and incorrect remote selections
102
-
103
- - Updated dependencies []:
104
- - @remirror/core@1.0.0-next.60
105
- - @remirror/pm@1.0.0-next.60
106
-
107
- ## 1.0.0-next.59
108
-
109
- > 2020-12-12
110
-
111
- ### Patch Changes
112
-
113
- - Forced update in pre-release mode.
114
-
115
- - Updated dependencies []:
116
- - @remirror/core@1.0.0-next.59
117
- - @remirror/pm@1.0.0-next.59
118
-
119
- ## 1.0.0-next.58
120
-
121
- > 2020-11-29
122
-
123
- ### Patch Changes
124
-
125
- - Forced update in pre-release mode.
126
-
127
- - Updated dependencies [[`3d3da227`](https://github.com/remirror/remirror/commit/3d3da227fd582d388ed2587f0ccd0ac6e5b6ae73)]:
128
- - @remirror/core@1.0.0-next.58
129
- - @remirror/pm@1.0.0-next.58
130
-
131
- ## 1.0.0-next.57
132
-
133
- > 2020-11-25
134
-
135
- ### Patch Changes
136
-
137
- - Forced update in pre-release mode.
138
-
139
- - Updated dependencies []:
140
- - @remirror/core@1.0.0-next.57
141
- - @remirror/pm@1.0.0-next.57
142
-
143
- ## 1.0.0-next.56
144
-
145
- > 2020-11-24
146
-
147
- ### Patch Changes
148
-
149
- - Forced update in pre-release mode.
150
-
151
- - Updated dependencies []:
152
- - @remirror/core@1.0.0-next.56
153
- - @remirror/pm@1.0.0-next.56
154
-
155
- ## 1.0.0-next.55
156
-
157
- > 2020-11-20
158
-
159
- ### Patch Changes
160
-
161
- - Forced update in pre-release mode.
162
-
163
- - Updated dependencies [[`1adea88a`](https://github.com/remirror/remirror/commit/1adea88a600ea5f92f4403f6817a4acd140eb0b3)]:
164
- - @remirror/core@1.0.0-next.55
165
- - @remirror/pm@1.0.0-next.55
166
-
167
- ## 1.0.0-next.54
168
-
169
- > 2020-11-19
170
-
171
- ### Minor Changes
172
-
173
- - [`e9d95fa4`](https://github.com/remirror/remirror/commit/e9d95fa4891b256d26432e63fbdbeeeabc63f764) [#786](https://github.com/remirror/remirror/pull/786) Thanks [@ifiokjr](https://github.com/ifiokjr)! - Fix problems around destroying the `YjsExtension` provider and the `CMD+SHIFT+Z` keymap not registering as mentioned in [#772](https://github.com/remirror/remirror/issues/772).
174
-
175
- ### Patch Changes
176
-
177
- - Updated dependencies [[`e9d95fa4`](https://github.com/remirror/remirror/commit/e9d95fa4891b256d26432e63fbdbeeeabc63f764)]:
178
- - @remirror/core@1.0.0-next.54
179
- - @remirror/pm@1.0.0-next.54
180
-
181
- ## 1.0.0-next.53
182
-
183
- > 2020-11-12
184
-
185
- ### Patch Changes
186
-
187
- - Forced update in pre-release mode.
188
-
189
- - Updated dependencies [[`a1d65df6`](https://github.com/remirror/remirror/commit/a1d65df634f5a575a1cd37b584f52b7b526d3655)]:
190
- - @remirror/core@1.0.0-next.53
191
- - @remirror/pm@1.0.0-next.53
192
-
193
- ## 1.0.0-next.52
194
-
195
- > 2020-11-06
196
-
197
- ### Patch Changes
198
-
199
- - Forced update in pre-release mode.
200
-
201
- - Updated dependencies []:
202
- - @remirror/core@1.0.0-next.52
203
- - @remirror/pm@1.0.0-next.52
204
-
205
- ## 1.0.0-next.51
206
-
207
- > 2020-10-27
208
-
209
- ### Patch Changes
210
-
211
- - Forced update in pre-release mode.
212
-
213
- - Updated dependencies [[`997eb56a`](https://github.com/remirror/remirror/commit/997eb56a49ad653544fcd00b83e394e63df3a116)]:
214
- - @remirror/core@1.0.0-next.51
215
- - @remirror/pm@1.0.0-next.51
216
-
217
- ## 1.0.0-next.50
218
-
219
- > 2020-10-15
220
-
221
- ### Patch Changes
222
-
223
- - [`bd8ac67d`](https://github.com/remirror/remirror/commit/bd8ac67da57c85e67f84cf41e04900f99f4f0455) Thanks [@ifiokjr](https://github.com/ifiokjr)! - Upgrade package dependencies.
224
-
225
- - Updated dependencies [[`bd8ac67d`](https://github.com/remirror/remirror/commit/bd8ac67da57c85e67f84cf41e04900f99f4f0455)]:
226
- - @remirror/core@1.0.0-next.50
227
- - @remirror/pm@1.0.0-next.50
228
-
229
- ## 1.0.0-next.49
230
-
231
- > 2020-10-10
232
-
233
- ### Patch Changes
234
-
235
- - Forced update in pre-release mode.
236
-
237
- - Updated dependencies []:
238
- - @remirror/core@1.0.0-next.49
239
- - @remirror/pm@1.0.0-next.49
240
-
241
- ## 1.0.0-next.48
242
-
243
- > 2020-10-08
244
-
245
- ### Patch Changes
246
-
247
- - Updated dependencies [[`a2fa2c2b`](https://github.com/remirror/remirror/commit/a2fa2c2b935a6fce99e3f79aad8a207c920e236e)]:
248
- - @remirror/core@1.0.0-next.48
249
-
250
- ## 1.0.0-next.47
251
-
252
- > 2020-10-08
253
-
254
- ### Major Changes
255
-
256
- - [`56349ca5`](https://github.com/remirror/remirror/commit/56349ca5f638b90b743f7f008fbf190fa0ab1e12) [#744](https://github.com/remirror/remirror/pull/744) Thanks [@ifiokjr](https://github.com/ifiokjr)! - Add new options to the `YjsExtension` to support full configuration of the `y-prosemirror` plugins.
257
-
258
- **BREAKING:** 💥 Remove `WebrtcProvider`. It was always required via TypeScript but now the default implementation throws an error if you don't install and provide the [provider](https://github.com/yjs/yjs#providers) you want to use. The `readme` has been updated to reflect this change.
259
-
260
- **BREAKING:** 💥 `yjs` is now a `peerDependency` and you will need to install it in your codebase in order to consume the `YjsExtension`. This change follows from the above breaking change. For example, to configure any provider will need to provide your desired `Doc` from the `yjs` package.
261
-
262
- ### Patch Changes
263
-
264
- - Updated dependencies [[`4658d45c`](https://github.com/remirror/remirror/commit/4658d45ce2c60eb609cb54b19a86cc3fd4a1f33e)]:
265
- - @remirror/core@1.0.0-next.47
266
- - @remirror/pm@1.0.0-next.47
267
-
268
- ## 1.0.0-next.45
269
-
270
- > 2020-10-01
271
-
272
- ### Patch Changes
273
-
274
- - Updated dependencies [[`2175be1d`](https://github.com/remirror/remirror/commit/2175be1d4b3fb1d4d1ec7edd8f6054e4e1873fc0)]:
275
- - @remirror/core@1.0.0-next.45
276
-
277
- ## 1.0.0-next.44
278
-
279
- > 2020-09-30
280
-
281
- ### Patch Changes
282
-
283
- - [`bcf3b2c4`](https://github.com/remirror/remirror/commit/bcf3b2c4c0eabc90e1690593d4a9dfb2a9d39c68) [#731](https://github.com/remirror/remirror/pull/731) Thanks [@ifiokjr](https://github.com/ifiokjr)! - Bump dependencies with minor and patch updates.
284
-
285
- - Updated dependencies [[`bcf3b2c4`](https://github.com/remirror/remirror/commit/bcf3b2c4c0eabc90e1690593d4a9dfb2a9d39c68)]:
286
- - @remirror/pm@1.0.0-next.44
287
- - @remirror/core@1.0.0-next.44
288
-
289
- ## 1.0.0-next.43
290
-
291
- > 2020-09-28
292
-
293
- ### Patch Changes
294
-
295
- - Updated dependencies []:
296
- - @remirror/core@1.0.0-next.43
297
-
298
- ## 1.0.0-next.42
299
-
300
- > 2020-09-26
301
-
302
- ### Patch Changes
303
-
304
- - Updated dependencies []:
305
- - @remirror/core@1.0.0-next.42
306
-
307
- ## 1.0.0-next.41
308
-
309
- > 2020-09-26
310
-
311
- ### Patch Changes
312
-
313
- - Updated dependencies [[`e4701dc4`](https://github.com/remirror/remirror/commit/e4701dc4c045e92e9864f9dabfcee515c4f90bb2), [`83217437`](https://github.com/remirror/remirror/commit/8321743733d1aa794c5b5f5b2f07a9e1065d9ac9)]:
314
- - @remirror/core@1.0.0-next.41
315
-
316
- ## 1.0.0-next.40
317
-
318
- > 2020-09-24
319
-
320
- ### Patch Changes
321
-
322
- - Updated dependencies [[`7c5778ed`](https://github.com/remirror/remirror/commit/7c5778edf123e6a812c77b1fd6181d16887b0fa1), [`cbf15ec4`](https://github.com/remirror/remirror/commit/cbf15ec4e38832ccf1495442c306d2c0bc6d6f2c), [`fd694d61`](https://github.com/remirror/remirror/commit/fd694d610e12bef9e43682074f71ef3097f6ea6e)]:
323
- - @remirror/core@1.0.0-next.40
324
- - @remirror/pm@1.0.0-next.40
325
-
326
- ## 1.0.0-next.39
327
-
328
- > 2020-09-16
329
-
330
- ### Patch Changes
331
-
332
- - Updated dependencies [[`61894188`](https://github.com/remirror/remirror/commit/61894188781ca9f6e0571b1e425261028545385c)]:
333
- - @remirror/pm@1.0.0-next.39
334
- - @remirror/core@1.0.0-next.39
335
-
336
- ## 1.0.0-next.38
337
-
338
- > 2020-09-16
339
-
340
- ### Patch Changes
341
-
342
- - Updated dependencies [[`14e48698`](https://github.com/remirror/remirror/commit/14e48698a28c3ec54a475970e0a6375f446a3a73), [`913e8e68`](https://github.com/remirror/remirror/commit/913e8e688081560e53c862adb1187f2f635f7671), [`efd2e537`](https://github.com/remirror/remirror/commit/efd2e53779666876bb2d9bdcb917923c0a3a6295)]:
343
- - @remirror/pm@1.0.0-next.38
344
- - @remirror/core@1.0.0-next.38
345
-
346
- ## 1.0.0-next.37
347
-
348
- > 2020-09-14
349
-
350
- ### Minor Changes
351
-
352
- - [`5a3dd95f`](https://github.com/remirror/remirror/commit/5a3dd95f11edee885c1d07b1ece8413d830b3405) [#686](https://github.com/remirror/remirror/pull/686) Thanks [@ifiokjr](https://github.com/ifiokjr)! - Add all extensions to the `Remirror.AllExtensions` interface to support automatic TypeScript inference for every installed extension package.
353
-
354
- ### Patch Changes
355
-
356
- - Updated dependencies [[`5a3dd95f`](https://github.com/remirror/remirror/commit/5a3dd95f11edee885c1d07b1ece8413d830b3405), [`5a3dd95f`](https://github.com/remirror/remirror/commit/5a3dd95f11edee885c1d07b1ece8413d830b3405)]:
357
- - @remirror/core@1.0.0-next.37
358
- - @remirror/pm@1.0.0-next.37
359
-
360
- ## 1.0.0-next.35
361
-
362
- > 2020-09-13
363
-
364
- ### Patch Changes
365
-
366
- - [`725df02b`](https://github.com/remirror/remirror/commit/725df02b53fa16b9c7a3768b0c9464e739e35813) [#672](https://github.com/remirror/remirror/pull/672) Thanks [@ifiokjr](https://github.com/ifiokjr)! - Reduce bundle size by updating babel configuration thanks to help from [preconstruct/preconstruct/297](https://github.com/preconstruct/preconstruct/issues/297#issuecomment-690964802). [Fixes #358](https://github.com/remirror/remirror/issues/358).
367
-
368
- * [`f9760792`](https://github.com/remirror/remirror/commit/f9760792c887a24336cb0a3777e1b47f6ac87ad3) [#676](https://github.com/remirror/remirror/pull/676) Thanks [@ifiokjr](https://github.com/ifiokjr)! - Upgrade linaria and other dependencies
369
-
370
- * Updated dependencies [[`34b0f0b3`](https://github.com/remirror/remirror/commit/34b0f0b3c502e5c43712085b9d0da4f4168797aa), [`1b6b2922`](https://github.com/remirror/remirror/commit/1b6b2922cdc83d5a426cf43d3ad9540c18b799d9), [`725df02b`](https://github.com/remirror/remirror/commit/725df02b53fa16b9c7a3768b0c9464e739e35813), [`4fee3e94`](https://github.com/remirror/remirror/commit/4fee3e9400dd5557ddb24f6256e6d7219cef34ec), [`f9760792`](https://github.com/remirror/remirror/commit/f9760792c887a24336cb0a3777e1b47f6ac87ad3)]:
371
- - @remirror/core@1.0.0-next.35
372
- - @remirror/pm@1.0.0-next.35
373
-
374
- ## 1.0.0-next.34
375
-
376
- > 2020-09-10
377
-
378
- ### Patch Changes
379
-
380
- - Updated dependencies [[`27b358e4`](https://github.com/remirror/remirror/commit/27b358e4cb877a1e8df61c9d5326f366e66f30dc), [`db7165f1`](https://github.com/remirror/remirror/commit/db7165f15c3161e1e51faae4f85571b4319c61be)]:
381
- - @remirror/core@1.0.0-next.34
382
- - @remirror/pm@1.0.0-next.34
383
-
384
- ## 1.0.0-next.33
385
-
386
- > 2020-09-07
387
-
388
- ### Patch Changes
389
-
390
- - Updated dependencies [7a34e15d]
391
- - Updated dependencies [7a34e15d]
392
- - Updated dependencies [7a34e15d]
393
- - Updated dependencies [7a34e15d]
394
- - Updated dependencies [7a34e15d]
395
- - Updated dependencies [7a34e15d]
396
- - Updated dependencies [525ac3d8]
397
- - Updated dependencies [7a34e15d]
398
- - Updated dependencies [7a34e15d]
399
- - Updated dependencies [7a34e15d]
400
- - Updated dependencies [d47bd78f]
401
- - @remirror/core@1.0.0-next.33
402
-
403
- ## 1.0.0-next.32
404
-
405
- > 2020-09-05
406
-
407
- ### Patch Changes
408
-
409
- - Updated dependencies [[`5786901c`](https://github.com/remirror/remirror/commit/5786901c58d717c0921415f7bfd1f480c39a44f3), [`aa27e968`](https://github.com/remirror/remirror/commit/aa27e96853aaaa701409a04e9b5135c94c371044), [`c8239120`](https://github.com/remirror/remirror/commit/c823912099e9906a21a04bd80d92bc89e251bd37), [`a830c70f`](https://github.com/remirror/remirror/commit/a830c70f76a5021c955e9cbba26b86e2db0333e3), [`5786901c`](https://github.com/remirror/remirror/commit/5786901c58d717c0921415f7bfd1f480c39a44f3), [`bed5a9e3`](https://github.com/remirror/remirror/commit/bed5a9e37026dcbdee323c921f5c05e15d49c93d)]:
410
- - @remirror/core@1.0.0-next.32
411
- - @remirror/pm@1.0.0-next.32
412
-
413
- ## 1.0.0-next.31
414
-
415
- > 2020-09-03
416
-
417
- ### Patch Changes
418
-
419
- - Updated dependencies [[`e8458bc5`](https://github.com/remirror/remirror/commit/e8458bc54402d55355bd5315526fb239bce65ed6), [`1a7da61a`](https://github.com/remirror/remirror/commit/1a7da61a483358214f8f24e193d837b171dd4e1d), [`e8458bc5`](https://github.com/remirror/remirror/commit/e8458bc54402d55355bd5315526fb239bce65ed6), [`e8458bc5`](https://github.com/remirror/remirror/commit/e8458bc54402d55355bd5315526fb239bce65ed6), [`e8458bc5`](https://github.com/remirror/remirror/commit/e8458bc54402d55355bd5315526fb239bce65ed6)]:
420
- - @remirror/core@1.0.0-next.31
421
-
422
- ## 1.0.0-next.29
423
-
424
- > 2020-08-28
425
-
426
- ### Patch Changes
427
-
428
- - Updated dependencies [[`05446a62`](https://github.com/remirror/remirror/commit/05446a62d4f1d1cf3c940b2766a7ea5f66a77ebf)]:
429
- - @remirror/core@1.0.0-next.29
430
-
431
- ## 1.0.0-next.28
432
-
433
- > 2020-08-27
434
-
435
- ### Patch Changes
436
-
437
- - [`d5bbeb4e`](https://github.com/remirror/remirror/commit/d5bbeb4e8e193e695838207706a04f7739cc1448) [#585](https://github.com/remirror/remirror/pull/585) Thanks [@ifiokjr](https://github.com/ifiokjr)! - Upgrade dependencies and `linaria`.
438
-
439
- - Updated dependencies [[`c0dce043`](https://github.com/remirror/remirror/commit/c0dce0433780e1ddb8b21384eef4b67ae1f74e47), [`d5bbeb4e`](https://github.com/remirror/remirror/commit/d5bbeb4e8e193e695838207706a04f7739cc1448), [`0400fbc8`](https://github.com/remirror/remirror/commit/0400fbc8a5f97441f70528f7d6c6f11d560b381d), [`d23a0434`](https://github.com/remirror/remirror/commit/d23a0434c49ecd5bbaccffd9b8d8c42bc626219a)]:
440
- - @remirror/core@1.0.0-next.28
441
- - @remirror/pm@1.0.0-next.28
442
-
443
- ## 1.0.0-next.26
444
-
445
- > 2020-08-24
446
-
447
- ### Patch Changes
448
-
449
- - Updated dependencies [a2bc3bfb]
450
- - Updated dependencies [147d0f2a]
451
- - @remirror/core@1.0.0-next.26
452
- - @remirror/pm@1.0.0-next.26
453
-
454
- ## 1.0.0-next.25
455
-
456
- > 2020-08-23
457
-
458
- ### Patch Changes
459
-
460
- - Updated dependencies [e37d64de]
461
- - Updated dependencies [3f2625bf]
462
- - @remirror/core@1.0.0-next.25
463
-
464
- ## 1.0.0-next.24
465
-
466
- > 2020-08-20
467
-
468
- ### Patch Changes
469
-
470
- - Updated dependencies [65a7ea24]
471
- - @remirror/core@1.0.0-next.24
472
-
473
- ## 1.0.0-next.22
474
-
475
- > 2020-08-17
476
-
477
- ### Patch Changes
478
-
479
- - Updated dependencies [9ab1d0f3]
480
- - Updated dependencies [45d82746]
481
- - @remirror/core@1.0.0-next.22
482
- - @remirror/pm@1.0.0-next.22
483
-
484
- ## 1.0.0-next.21
485
-
486
- > 2020-08-15
487
-
488
- ### Patch Changes
489
-
490
- - Updated dependencies [3673a0f0]
491
- - Updated dependencies [8c34030e]
492
- - Updated dependencies [baf3f56d]
493
- - @remirror/core@1.0.0-next.21
494
- - @remirror/pm@1.0.0-next.21
495
-
496
- ## 1.0.0-next.20
497
-
498
- > 2020-08-14
499
-
500
- ### Patch Changes
501
-
502
- - Updated dependencies [770e3d4a]
503
- - Updated dependencies [92653907]
504
- - @remirror/pm@1.0.0-next.20
505
- - @remirror/core@1.0.0-next.20
506
-
507
- ## 1.0.0-next.17
508
-
509
- > 2020-08-02
510
-
511
- ### Patch Changes
512
-
513
- - Updated dependencies [898c62e0]
514
- - @remirror/core@1.0.0-next.17
515
-
516
- ## 1.0.0-next.16
517
-
518
- > 2020-08-01
519
-
520
- ### Patch Changes
521
-
522
- - a7037832: Use exact versions for `@remirror` package `dependencies` and `peerDepedencies`.
523
-
524
- Closes #435
525
-
526
- - dcccc5fc: Add browser entrypoint to packages and shrink bundle size.
527
- - 231f664b: Upgrade dependencies.
528
- - 6c6d524e: Remove use of `export *` for better tree shaking.
529
-
530
- Closes #406
531
-
532
- - Updated dependencies [f032db7e]
533
- - Updated dependencies [a7037832]
534
- - Updated dependencies [6e8b749a]
535
- - Updated dependencies [dcccc5fc]
536
- - Updated dependencies [231f664b]
537
- - Updated dependencies [982a6b15]
538
- - Updated dependencies [6c6d524e]
539
- - Updated dependencies [6c6d524e]
540
- - Updated dependencies [be9a9c17]
541
- - Updated dependencies [720c9b43]
542
- - @remirror/core@1.0.0-next.16
543
- - @remirror/pm@1.0.0-next.16
544
-
545
- ## 1.0.0-next.15
546
-
547
- > 2020-07-31
548
-
549
- ### Patch Changes
550
-
551
- - 7477b935: Use `NonChainableCommandFunction` annotation to indicate commands are not chainable.
552
- - Updated dependencies [cdc5b801]
553
- - Updated dependencies [44516da4]
554
- - Updated dependencies [e5ea0c84]
555
- - Updated dependencies [a404f5a1]
556
- - Updated dependencies [6c3b278b]
557
- - @remirror/core@1.0.0-next.15
558
-
559
- ## 1.0.0-next.13
560
-
561
- > 2020-07-29
562
-
563
- ### Patch Changes
564
-
565
- - d877adb3: Switch to using method signatures for extension class methods as discussed in #360. The following methods have been affected:
566
-
567
- ```
568
- createKeymap
569
- createInputRules
570
- createPasteRules
571
- ```
572
-
573
- - 38941404: Switch from static properties to using the `@extensionDecorator` and `@presetDecorator` instead.
574
- - Updated dependencies [d877adb3]
575
- - Updated dependencies [cc5c1c1c]
576
- - Updated dependencies [e45706e5]
577
- - Updated dependencies [f3155b5f]
578
- - Updated dependencies [4571a447]
579
- - Updated dependencies [92342ab0]
580
- - @remirror/core@1.0.0-next.13
581
-
582
- ## 1.0.0-next.12
583
-
584
- > 2020-07-28
585
-
586
- ### Patch Changes
587
-
588
- - Updated dependencies [19b3595f]
589
- - Updated dependencies [d8aa2432]
590
- - @remirror/core@1.0.0-next.12
591
-
592
- ## 1.0.0-next.11
593
-
594
- > 2020-07-26
595
-
596
- ### Patch Changes
597
-
598
- - 54461006: Remove the first parameter `extensions` from the lifecycle methods `onCreate`, `onView` and `onDestroy`.
599
-
600
- Switch to using method signatures for extension class methods as discussed in #360. The following methods have been affected:
601
-
602
- ```
603
- onCreate
604
- onView
605
- onStateUpdate
606
- onDestroy
607
- createAttributes
608
- createCommands
609
- createPlugin
610
- createExternalPlugins
611
- createSuggestions
612
- createHelpers
613
- fromObject
614
- onSetOptions
615
- ```
616
-
617
- - Updated dependencies [54461006]
618
- - @remirror/core@1.0.0-next.11
619
-
620
- ## 1.0.0-next.10
621
-
622
- > 2020-07-26
623
-
624
- ### Patch Changes
625
-
626
- - Updated dependencies [6468058a]
627
- - @remirror/core@1.0.0-next.10
628
-
629
- ## 1.0.0-next.9
630
-
631
- > 2020-07-23
632
-
633
- ### Patch Changes
634
-
635
- - Updated dependencies [02fdafff]
636
- - @remirror/core@1.0.0-next.9
637
-
638
- ## 1.0.0-next.4
639
-
640
- > 2020-07-16
641
-
642
- ### Patch Changes
643
-
644
- - 5d5970ae: Update repository and website field to point to HEAD rather than a specific branch.
645
- - Updated dependencies [64edeec2]
646
- - Updated dependencies [9f495078]
647
- - Updated dependencies [5d5970ae]
648
- - @remirror/core@1.0.0-next.4
649
- - @remirror/pm@1.0.0-next.4
650
-
651
- ## 1.0.0-next.3
652
-
653
- > 2020-07-11
654
-
655
- ### Patch Changes
656
-
657
- - Updated dependencies [e90bc748]
658
- - @remirror/pm@1.0.0-next.3
659
- - @remirror/core@1.0.0-next.3
660
-
661
- ## 1.0.0-next.2
662
-
663
- > 2020-07-06
664
-
665
- ### Patch Changes
666
-
667
- - Updated dependencies [undefined]
668
- - @remirror/core@1.0.0-next.2
669
-
670
- ## 1.0.0-next.1
671
-
672
- > 2020-07-05
673
-
674
- ### Patch Changes
675
-
676
- - Fix missing dist files from previous publish.
677
- - Updated dependencies [undefined]
678
- - @remirror/core@1.0.0-next.1
679
- - @remirror/pm@1.0.0-next.1
680
-
681
- ## 1.0.0-next.0
682
-
683
- > 2020-07-05
684
-
685
- ### Major Changes
686
-
687
- - The whole API for remirror has completely changed. These pre-release versions are a breaking change across all packages. The best way to know what's changed is to read the documentaion on the new documentation site `https://remirror.io`.
688
-
689
- ### Patch Changes
690
-
691
- - Updated dependencies [undefined]
692
- - Updated dependencies [28bd8bea]
693
- - Updated dependencies [7b817ac2]
694
- - Updated dependencies [undefined]
695
- - Updated dependencies [09e990cb]
696
- - @remirror/core@1.0.0-next.0
697
- - @remirror/pm@1.0.0-next.0