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