@atlaskit/prosemirror-input-rules 3.0.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 +136 -65
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,253 +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
|
+
|
|
13
|
+
## 3.1.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
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
|
|
20
|
+
|
|
3
21
|
## 3.0.0
|
|
4
22
|
|
|
5
23
|
### Major Changes
|
|
6
24
|
|
|
7
|
-
-
|
|
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.
|
|
8
28
|
|
|
9
|
-
|
|
29
|
+
## WHY?
|
|
10
30
|
|
|
11
|
-
|
|
31
|
+
Removing editor-common dependencies from prosemirror-input-rules package.
|
|
12
32
|
|
|
13
|
-
|
|
33
|
+
This makes it easier for editor updates because it simplifies our dependency graph.
|
|
14
34
|
|
|
15
|
-
|
|
35
|
+
## WHAT and HOW?
|
|
16
36
|
|
|
17
|
-
|
|
37
|
+
These are no longer available via `@atlaskit/prosemirror-input-rules` but are available from
|
|
38
|
+
`@atlaskit/editor-common/types`:
|
|
18
39
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
40
|
+
- InputRuleWrapper
|
|
41
|
+
- InputRuleHandler
|
|
42
|
+
- OnHandlerApply
|
|
43
|
+
- createRule
|
|
23
44
|
|
|
24
|
-
|
|
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( ... ))`).
|
|
25
47
|
|
|
26
|
-
|
|
48
|
+
`SafePlugin` exists in `@atlaskit/editor-common/safe-plugin`.
|
|
27
49
|
|
|
28
|
-
|
|
29
|
-
|
|
50
|
+
- createPlugin
|
|
51
|
+
- createInputRulePlugin
|
|
30
52
|
|
|
31
53
|
## 2.4.6
|
|
32
54
|
|
|
33
55
|
### Patch Changes
|
|
34
56
|
|
|
35
|
-
-
|
|
57
|
+
- Updated dependencies
|
|
36
58
|
|
|
37
59
|
## 2.4.5
|
|
38
60
|
|
|
39
61
|
### Patch Changes
|
|
40
62
|
|
|
41
|
-
-
|
|
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
|
|
42
66
|
|
|
43
67
|
## 2.4.4
|
|
44
68
|
|
|
45
69
|
### Patch Changes
|
|
46
70
|
|
|
47
|
-
-
|
|
71
|
+
- Updated dependencies
|
|
48
72
|
|
|
49
73
|
## 2.4.3
|
|
50
74
|
|
|
51
75
|
### Patch Changes
|
|
52
76
|
|
|
53
|
-
-
|
|
77
|
+
- Updated dependencies
|
|
54
78
|
|
|
55
79
|
## 2.4.2
|
|
56
80
|
|
|
57
81
|
### Patch Changes
|
|
58
82
|
|
|
59
|
-
-
|
|
83
|
+
- Updated dependencies
|
|
60
84
|
|
|
61
85
|
## 2.4.1
|
|
62
86
|
|
|
63
87
|
### Patch Changes
|
|
64
88
|
|
|
65
|
-
-
|
|
89
|
+
- Updated dependencies
|
|
66
90
|
|
|
67
91
|
## 2.4.0
|
|
68
92
|
|
|
69
93
|
### Minor Changes
|
|
70
94
|
|
|
71
|
-
-
|
|
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
|
|
72
98
|
|
|
73
99
|
### Patch Changes
|
|
74
100
|
|
|
75
|
-
-
|
|
101
|
+
- Updated dependencies
|
|
76
102
|
|
|
77
103
|
## 2.3.2
|
|
78
104
|
|
|
79
105
|
### Patch Changes
|
|
80
106
|
|
|
81
|
-
-
|
|
82
|
-
-
|
|
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
|
|
83
111
|
|
|
84
112
|
## 2.3.1
|
|
85
113
|
|
|
86
114
|
### Patch Changes
|
|
87
115
|
|
|
88
|
-
-
|
|
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
|
|
89
119
|
|
|
90
120
|
## 2.3.0
|
|
91
121
|
|
|
92
122
|
### Minor Changes
|
|
93
123
|
|
|
94
|
-
-
|
|
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`.
|
|
95
131
|
|
|
96
132
|
### Patch Changes
|
|
97
133
|
|
|
98
|
-
-
|
|
134
|
+
- Updated dependencies
|
|
99
135
|
|
|
100
136
|
## 2.2.5
|
|
101
137
|
|
|
102
138
|
### Patch Changes
|
|
103
139
|
|
|
104
|
-
-
|
|
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
|
|
105
143
|
|
|
106
144
|
## 2.2.4
|
|
107
145
|
|
|
108
146
|
### Patch Changes
|
|
109
147
|
|
|
110
|
-
-
|
|
111
|
-
-
|
|
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
|
|
112
152
|
|
|
113
153
|
## 2.2.3
|
|
114
154
|
|
|
115
155
|
### Patch Changes
|
|
116
156
|
|
|
117
|
-
-
|
|
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
|
|
118
160
|
|
|
119
161
|
## 2.2.2
|
|
120
162
|
|
|
121
163
|
### Patch Changes
|
|
122
164
|
|
|
123
|
-
-
|
|
124
|
-
-
|
|
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
|
|
125
170
|
|
|
126
171
|
## 2.2.1
|
|
127
172
|
|
|
128
173
|
### Patch Changes
|
|
129
174
|
|
|
130
|
-
-
|
|
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`
|
|
131
178
|
|
|
132
179
|
## 2.2.0
|
|
133
180
|
|
|
134
181
|
### Minor Changes
|
|
135
182
|
|
|
136
|
-
-
|
|
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
|
|
137
186
|
|
|
138
187
|
### Patch Changes
|
|
139
188
|
|
|
140
|
-
-
|
|
189
|
+
- Updated dependencies
|
|
141
190
|
|
|
142
191
|
## 2.1.12
|
|
143
192
|
|
|
144
193
|
### Patch Changes
|
|
145
194
|
|
|
146
|
-
-
|
|
147
|
-
-
|
|
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
|
|
148
200
|
|
|
149
201
|
## 2.1.11
|
|
150
202
|
|
|
151
203
|
### Patch Changes
|
|
152
204
|
|
|
153
|
-
-
|
|
154
|
-
-
|
|
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
|
|
155
209
|
|
|
156
210
|
## 2.1.10
|
|
157
211
|
|
|
158
212
|
### Patch Changes
|
|
159
213
|
|
|
160
|
-
-
|
|
214
|
+
- Updated dependencies
|
|
161
215
|
|
|
162
216
|
## 2.1.9
|
|
163
217
|
|
|
164
218
|
### Patch Changes
|
|
165
219
|
|
|
166
|
-
-
|
|
167
|
-
-
|
|
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
|
|
168
227
|
|
|
169
228
|
## 2.1.8
|
|
170
229
|
|
|
171
230
|
### Patch Changes
|
|
172
231
|
|
|
173
|
-
-
|
|
232
|
+
- Updated dependencies
|
|
174
233
|
|
|
175
234
|
## 2.1.7
|
|
176
235
|
|
|
177
236
|
### Patch Changes
|
|
178
237
|
|
|
179
|
-
-
|
|
238
|
+
- Updated dependencies
|
|
180
239
|
|
|
181
240
|
## 2.1.6
|
|
182
241
|
|
|
183
242
|
### Patch Changes
|
|
184
243
|
|
|
185
|
-
-
|
|
244
|
+
- Updated dependencies
|
|
186
245
|
|
|
187
246
|
## 2.1.5
|
|
188
247
|
|
|
189
248
|
### Patch Changes
|
|
190
249
|
|
|
191
|
-
-
|
|
250
|
+
- Updated dependencies
|
|
192
251
|
|
|
193
252
|
## 2.1.4
|
|
194
253
|
|
|
195
254
|
### Patch Changes
|
|
196
255
|
|
|
197
|
-
-
|
|
256
|
+
- Updated dependencies
|
|
198
257
|
|
|
199
258
|
## 2.1.3
|
|
200
259
|
|
|
201
260
|
### Patch Changes
|
|
202
261
|
|
|
203
|
-
-
|
|
262
|
+
- Updated dependencies
|
|
204
263
|
|
|
205
264
|
## 2.1.2
|
|
206
265
|
|
|
207
266
|
### Patch Changes
|
|
208
267
|
|
|
209
|
-
-
|
|
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
|
|
210
271
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
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.
|
|
214
275
|
|
|
215
|
-
-
|
|
276
|
+
- Updated dependencies
|
|
216
277
|
|
|
217
278
|
## 2.1.1
|
|
218
279
|
|
|
219
280
|
### Patch Changes
|
|
220
281
|
|
|
221
|
-
-
|
|
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
|
|
222
285
|
|
|
223
286
|
## 2.1.0
|
|
224
287
|
|
|
225
288
|
### Minor Changes
|
|
226
289
|
|
|
227
|
-
-
|
|
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
|
|
228
293
|
|
|
229
294
|
### Patch Changes
|
|
230
295
|
|
|
231
|
-
-
|
|
296
|
+
- [`c6feed82071`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6feed82071) -
|
|
297
|
+
ED-11632: Bump prosemirror packages;
|
|
232
298
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
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.
|
|
238
304
|
|
|
239
305
|
## 2.0.1
|
|
240
306
|
|
|
241
307
|
### Patch Changes
|
|
242
308
|
|
|
243
|
-
-
|
|
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
|
|
244
312
|
|
|
245
313
|
## 2.0.0
|
|
246
314
|
|
|
247
315
|
### Major Changes
|
|
248
316
|
|
|
249
|
-
-
|
|
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
|
|
250
320
|
|
|
251
321
|
### Minor Changes
|
|
252
322
|
|
|
253
|
-
-
|
|
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.
|
|
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": "
|
|
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": {
|
|
@@ -53,4 +53,4 @@
|
|
|
53
53
|
".": "./src/index.ts"
|
|
54
54
|
},
|
|
55
55
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
|
56
|
-
}
|
|
56
|
+
}
|