@atlaskit/prosemirror-input-rules 3.1.0 → 3.1.1
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/CHANGELOG.md +131 -66
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,259 +1,324 @@
|
|
|
1
1
|
# @atlaskit/prosemirror-input-rules
|
|
2
2
|
|
|
3
|
+
## 3.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
|
|
8
|
+
[`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
|
|
9
|
+
[HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
|
|
10
|
+
language triggering composition on an empty line.This was fixed in a patch bump of
|
|
11
|
+
prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
|
|
12
|
+
|
|
3
13
|
## 3.1.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
|
6
16
|
|
|
7
|
-
-
|
|
17
|
+
- [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
|
|
18
|
+
[`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
|
|
19
|
+
bumped editor-prosemirror version to 4.0.0
|
|
8
20
|
|
|
9
21
|
## 3.0.0
|
|
10
22
|
|
|
11
23
|
### Major Changes
|
|
12
24
|
|
|
13
|
-
-
|
|
25
|
+
- [#75482](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75482)
|
|
26
|
+
[`18b5a6fb910a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/18b5a6fb910a) - #
|
|
27
|
+
MAJOR CHANGE to `@atlaskit/prosemirror-input-rules` package.
|
|
14
28
|
|
|
15
|
-
|
|
29
|
+
## WHY?
|
|
16
30
|
|
|
17
|
-
|
|
31
|
+
Removing editor-common dependencies from prosemirror-input-rules package.
|
|
18
32
|
|
|
19
|
-
|
|
33
|
+
This makes it easier for editor updates because it simplifies our dependency graph.
|
|
20
34
|
|
|
21
|
-
|
|
35
|
+
## WHAT and HOW?
|
|
22
36
|
|
|
23
|
-
|
|
37
|
+
These are no longer available via `@atlaskit/prosemirror-input-rules` but are available from
|
|
38
|
+
`@atlaskit/editor-common/types`:
|
|
24
39
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
40
|
+
- InputRuleWrapper
|
|
41
|
+
- InputRuleHandler
|
|
42
|
+
- OnHandlerApply
|
|
43
|
+
- createRule
|
|
29
44
|
|
|
30
|
-
|
|
45
|
+
These have changed from a `SafePlugin` to a `SafePluginSpec`. In order to update your code you
|
|
46
|
+
need to instantiate a `SafePlugin` (ie. `new SafePlugin(createPlugin( ... ))`).
|
|
31
47
|
|
|
32
|
-
|
|
48
|
+
`SafePlugin` exists in `@atlaskit/editor-common/safe-plugin`.
|
|
33
49
|
|
|
34
|
-
|
|
35
|
-
|
|
50
|
+
- createPlugin
|
|
51
|
+
- createInputRulePlugin
|
|
36
52
|
|
|
37
53
|
## 2.4.6
|
|
38
54
|
|
|
39
55
|
### Patch Changes
|
|
40
56
|
|
|
41
|
-
-
|
|
57
|
+
- Updated dependencies
|
|
42
58
|
|
|
43
59
|
## 2.4.5
|
|
44
60
|
|
|
45
61
|
### Patch Changes
|
|
46
62
|
|
|
47
|
-
-
|
|
63
|
+
- [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
|
|
64
|
+
[`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
|
|
65
|
+
Upgrading @atlaskit/editor-prosemirror dependency
|
|
48
66
|
|
|
49
67
|
## 2.4.4
|
|
50
68
|
|
|
51
69
|
### Patch Changes
|
|
52
70
|
|
|
53
|
-
-
|
|
71
|
+
- Updated dependencies
|
|
54
72
|
|
|
55
73
|
## 2.4.3
|
|
56
74
|
|
|
57
75
|
### Patch Changes
|
|
58
76
|
|
|
59
|
-
-
|
|
77
|
+
- Updated dependencies
|
|
60
78
|
|
|
61
79
|
## 2.4.2
|
|
62
80
|
|
|
63
81
|
### Patch Changes
|
|
64
82
|
|
|
65
|
-
-
|
|
83
|
+
- Updated dependencies
|
|
66
84
|
|
|
67
85
|
## 2.4.1
|
|
68
86
|
|
|
69
87
|
### Patch Changes
|
|
70
88
|
|
|
71
|
-
-
|
|
89
|
+
- Updated dependencies
|
|
72
90
|
|
|
73
91
|
## 2.4.0
|
|
74
92
|
|
|
75
93
|
### Minor Changes
|
|
76
94
|
|
|
77
|
-
-
|
|
95
|
+
- [#37964](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37964)
|
|
96
|
+
[`1944b35b538`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1944b35b538) - move
|
|
97
|
+
common utilities to editor-common, to help with decoupling block-type plugin
|
|
78
98
|
|
|
79
99
|
### Patch Changes
|
|
80
100
|
|
|
81
|
-
-
|
|
101
|
+
- Updated dependencies
|
|
82
102
|
|
|
83
103
|
## 2.3.2
|
|
84
104
|
|
|
85
105
|
### Patch Changes
|
|
86
106
|
|
|
87
|
-
-
|
|
88
|
-
-
|
|
107
|
+
- [#37821](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37821)
|
|
108
|
+
[`d2ecb6bf1a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2ecb6bf1a3) -
|
|
109
|
+
[ED-19203] Moved input rule types to editor-common to avoid circular dependencies
|
|
110
|
+
- Updated dependencies
|
|
89
111
|
|
|
90
112
|
## 2.3.1
|
|
91
113
|
|
|
92
114
|
### Patch Changes
|
|
93
115
|
|
|
94
|
-
-
|
|
116
|
+
- [#37785](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37785)
|
|
117
|
+
[`4e6f1bf8511`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e6f1bf8511) -
|
|
118
|
+
[ED-19233] Import prosemirror libraries from internal facade package
|
|
95
119
|
|
|
96
120
|
## 2.3.0
|
|
97
121
|
|
|
98
122
|
### Minor Changes
|
|
99
123
|
|
|
100
|
-
-
|
|
124
|
+
- [#36631](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36631)
|
|
125
|
+
[`8b891bf3590`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8b891bf3590) - This
|
|
126
|
+
change introduces `editor-plugin-hyperlink` which separates the hyperlink plugin from
|
|
127
|
+
`editor-core`. In order to enable this change there are now new entry points on `editor-common`
|
|
128
|
+
(such as `/link`, `/quick-insert`) in order to separate common code. Further
|
|
129
|
+
`prosemirror-input-rules` now has new exports of `createPlugin` and `createRule` which are used
|
|
130
|
+
in many plugins in `editor-core`.
|
|
101
131
|
|
|
102
132
|
### Patch Changes
|
|
103
133
|
|
|
104
|
-
-
|
|
134
|
+
- Updated dependencies
|
|
105
135
|
|
|
106
136
|
## 2.2.5
|
|
107
137
|
|
|
108
138
|
### Patch Changes
|
|
109
139
|
|
|
110
|
-
-
|
|
140
|
+
- [#36241](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36241)
|
|
141
|
+
[`5f5ba16de66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f5ba16de66) -
|
|
142
|
+
[ED-13910] Fix prosemirror types
|
|
111
143
|
|
|
112
144
|
## 2.2.4
|
|
113
145
|
|
|
114
146
|
### Patch Changes
|
|
115
147
|
|
|
116
|
-
-
|
|
117
|
-
-
|
|
148
|
+
- [#35782](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35782)
|
|
149
|
+
[`73b5128036b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/73b5128036b) -
|
|
150
|
+
[ED-17082] Mark package as a singleton one
|
|
151
|
+
- Updated dependencies
|
|
118
152
|
|
|
119
153
|
## 2.2.3
|
|
120
154
|
|
|
121
155
|
### Patch Changes
|
|
122
156
|
|
|
123
|
-
-
|
|
157
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
158
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
159
|
+
legacy types are published for TS 4.5-4.8
|
|
124
160
|
|
|
125
161
|
## 2.2.2
|
|
126
162
|
|
|
127
163
|
### Patch Changes
|
|
128
164
|
|
|
129
|
-
-
|
|
130
|
-
-
|
|
165
|
+
- [#33771](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33771)
|
|
166
|
+
[`a142ba1aa28`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a142ba1aa28) -
|
|
167
|
+
[ED17172] Bump prosemirror-model to 1.16.0 and prosemirror-view to 1.23.7 and removed
|
|
168
|
+
work-arounds for fixed issues
|
|
169
|
+
- Updated dependencies
|
|
131
170
|
|
|
132
171
|
## 2.2.1
|
|
133
172
|
|
|
134
173
|
### Patch Changes
|
|
135
174
|
|
|
136
|
-
-
|
|
175
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
176
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
|
|
177
|
+
Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
137
178
|
|
|
138
179
|
## 2.2.0
|
|
139
180
|
|
|
140
181
|
### Minor Changes
|
|
141
182
|
|
|
142
|
-
-
|
|
183
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
184
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
185
|
+
minor dependency bump
|
|
143
186
|
|
|
144
187
|
### Patch Changes
|
|
145
188
|
|
|
146
|
-
-
|
|
189
|
+
- Updated dependencies
|
|
147
190
|
|
|
148
191
|
## 2.1.12
|
|
149
192
|
|
|
150
193
|
### Patch Changes
|
|
151
194
|
|
|
152
|
-
-
|
|
153
|
-
-
|
|
195
|
+
- [#33004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33004)
|
|
196
|
+
[`0ffb55018c9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0ffb55018c9) - Revert
|
|
197
|
+
"[ED-17172] Bumped prosemirror-view from 1.23.2 to 1.23.7 and removed work-around for fixed
|
|
198
|
+
issues"
|
|
199
|
+
- Updated dependencies
|
|
154
200
|
|
|
155
201
|
## 2.1.11
|
|
156
202
|
|
|
157
203
|
### Patch Changes
|
|
158
204
|
|
|
159
|
-
-
|
|
160
|
-
-
|
|
205
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
|
|
206
|
+
[`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
|
|
207
|
+
remove before merging to master; dupe adf-schema via adf-utils
|
|
208
|
+
- Updated dependencies
|
|
161
209
|
|
|
162
210
|
## 2.1.10
|
|
163
211
|
|
|
164
212
|
### Patch Changes
|
|
165
213
|
|
|
166
|
-
-
|
|
214
|
+
- Updated dependencies
|
|
167
215
|
|
|
168
216
|
## 2.1.9
|
|
169
217
|
|
|
170
218
|
### Patch Changes
|
|
171
219
|
|
|
172
|
-
-
|
|
173
|
-
-
|
|
220
|
+
- [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712)
|
|
221
|
+
[`0606572f9b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0606572f9b8) - [ux]
|
|
222
|
+
ED-15348 docs(changeset): ED-15348 Fix a bug preventing typeahead actions to be fired from a gap
|
|
223
|
+
cursor. Typing a typeahead trigger key (/, : or @) should pop-up a typeahead menu. However, if
|
|
224
|
+
the current selection is inside a gap cursor, the trigger character is inserted and the pop-up
|
|
225
|
+
menu doesn't open. This changeset fixes that.
|
|
226
|
+
- Updated dependencies
|
|
174
227
|
|
|
175
228
|
## 2.1.8
|
|
176
229
|
|
|
177
230
|
### Patch Changes
|
|
178
231
|
|
|
179
|
-
-
|
|
232
|
+
- Updated dependencies
|
|
180
233
|
|
|
181
234
|
## 2.1.7
|
|
182
235
|
|
|
183
236
|
### Patch Changes
|
|
184
237
|
|
|
185
|
-
-
|
|
238
|
+
- Updated dependencies
|
|
186
239
|
|
|
187
240
|
## 2.1.6
|
|
188
241
|
|
|
189
242
|
### Patch Changes
|
|
190
243
|
|
|
191
|
-
-
|
|
244
|
+
- Updated dependencies
|
|
192
245
|
|
|
193
246
|
## 2.1.5
|
|
194
247
|
|
|
195
248
|
### Patch Changes
|
|
196
249
|
|
|
197
|
-
-
|
|
250
|
+
- Updated dependencies
|
|
198
251
|
|
|
199
252
|
## 2.1.4
|
|
200
253
|
|
|
201
254
|
### Patch Changes
|
|
202
255
|
|
|
203
|
-
-
|
|
256
|
+
- Updated dependencies
|
|
204
257
|
|
|
205
258
|
## 2.1.3
|
|
206
259
|
|
|
207
260
|
### Patch Changes
|
|
208
261
|
|
|
209
|
-
-
|
|
262
|
+
- Updated dependencies
|
|
210
263
|
|
|
211
264
|
## 2.1.2
|
|
212
265
|
|
|
213
266
|
### Patch Changes
|
|
214
267
|
|
|
215
|
-
-
|
|
268
|
+
- [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526)
|
|
269
|
+
[`4e6fbaf5898`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e6fbaf5898) -
|
|
270
|
+
ED-14117 Change EditorState.apply type to receive readonly transaction
|
|
216
271
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
272
|
+
Transactions should not be mutated after being dispatched as it can lead to unexpected
|
|
273
|
+
behaviour. This change patches the relevant types declared in prosemirror-state as a
|
|
274
|
+
compile-time safeguard.
|
|
220
275
|
|
|
221
|
-
-
|
|
276
|
+
- Updated dependencies
|
|
222
277
|
|
|
223
278
|
## 2.1.1
|
|
224
279
|
|
|
225
280
|
### Patch Changes
|
|
226
281
|
|
|
227
|
-
-
|
|
282
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
|
|
283
|
+
[`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) -
|
|
284
|
+
ED-13025 Bump prosemirror-view 1.23.1 -> 1.23.2
|
|
228
285
|
|
|
229
286
|
## 2.1.0
|
|
230
287
|
|
|
231
288
|
### Minor Changes
|
|
232
289
|
|
|
233
|
-
-
|
|
290
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
|
|
291
|
+
[`b230f366971`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b230f366971) -
|
|
292
|
+
[ED-14008] Bump prosemirror-view from 1.20.2 to 1.23.1
|
|
234
293
|
|
|
235
294
|
### Patch Changes
|
|
236
295
|
|
|
237
|
-
-
|
|
296
|
+
- [`c6feed82071`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6feed82071) -
|
|
297
|
+
ED-11632: Bump prosemirror packages;
|
|
238
298
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
299
|
+
- prosmirror-commands 1.1.4 -> 1.1.11,
|
|
300
|
+
- prosemirror-model 1.11.0 -> 1.14.3,
|
|
301
|
+
- prosemirror-state 1.3.3 -> 1.3.4,
|
|
302
|
+
- prosemirror-transform 1.2.8 -> 1.3.2,
|
|
303
|
+
- prosemirror-view 1.15.4 + 1.18.8 -> 1.20.2.
|
|
244
304
|
|
|
245
305
|
## 2.0.1
|
|
246
306
|
|
|
247
307
|
### Patch Changes
|
|
248
308
|
|
|
249
|
-
-
|
|
309
|
+
- [#10943](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10943)
|
|
310
|
+
[`312a2810b0b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/312a2810b0b) - [ux]
|
|
311
|
+
ED-12931 Fix input rules replacing text outside of matched word in a long paragraph
|
|
250
312
|
|
|
251
313
|
## 2.0.0
|
|
252
314
|
|
|
253
315
|
### Major Changes
|
|
254
316
|
|
|
255
|
-
-
|
|
317
|
+
- [#10230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10230)
|
|
318
|
+
[`d989a24dd88`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d989a24dd88) -
|
|
319
|
+
[ED-11915] New package to manage auto formatting rules without a undoInputRules
|
|
256
320
|
|
|
257
321
|
### Minor Changes
|
|
258
322
|
|
|
259
|
-
-
|
|
323
|
+
- [`54ec986ebff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54ec986ebff) -
|
|
324
|
+
[ED-11915] Export editor/input-rules OnHandlerApply type
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/prosemirror-input-rules",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "A package that contains helpers to create autoformatting rules for ProseMirror",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"releaseModel": "continuous"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@atlaskit/editor-prosemirror": "4.0.
|
|
31
|
+
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
32
32
|
"@babel/runtime": "^7.0.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@atlaskit/editor-common": "^
|
|
35
|
+
"@atlaskit/editor-common": "^79.1.0",
|
|
36
36
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1"
|
|
37
37
|
},
|
|
38
38
|
"techstack": {
|