@atlaskit/editor-plugin-rule 1.3.1 → 1.3.3
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/.eslintrc.js +12 -12
- package/CHANGELOG.md +186 -172
- package/LICENSE.md +6 -8
- package/package.json +4 -6
- package/report.api.md +19 -21
package/.eslintrc.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
rules: {
|
|
3
|
+
'@typescript-eslint/no-duplicate-imports': 'error',
|
|
4
|
+
'@typescript-eslint/no-explicit-any': 'error',
|
|
5
|
+
},
|
|
6
|
+
overrides: [
|
|
7
|
+
{
|
|
8
|
+
files: ['**/__tests__/**/*.{js,ts,tsx}', '**/examples/**/*.{js,ts,tsx}'],
|
|
9
|
+
rules: {
|
|
10
|
+
'@typescript-eslint/no-explicit-any': 'off',
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
],
|
|
14
14
|
};
|
package/CHANGELOG.md
CHANGED
|
@@ -1,402 +1,416 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-rule
|
|
2
2
|
|
|
3
|
+
## 1.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 1.3.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#102478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102478)
|
|
14
|
+
[`3378951608b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3378951608b0) -
|
|
15
|
+
[ED-23332] Update adf-schema package to 36.10.1
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 1.3.1
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
6
21
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
22
|
+
- [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
|
|
23
|
+
[`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
|
|
24
|
+
ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
|
|
10
25
|
|
|
11
26
|
## 1.3.0
|
|
12
27
|
|
|
13
28
|
### Minor Changes
|
|
14
29
|
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
30
|
+
- [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
|
|
31
|
+
[`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
|
|
32
|
+
Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
|
|
18
33
|
|
|
19
34
|
### Patch Changes
|
|
20
35
|
|
|
21
|
-
-
|
|
36
|
+
- Updated dependencies
|
|
22
37
|
|
|
23
38
|
## 1.2.7
|
|
24
39
|
|
|
25
40
|
### Patch Changes
|
|
26
41
|
|
|
27
|
-
-
|
|
42
|
+
- Updated dependencies
|
|
28
43
|
|
|
29
44
|
## 1.2.6
|
|
30
45
|
|
|
31
46
|
### Patch Changes
|
|
32
47
|
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
|
|
48
|
+
- [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
|
|
49
|
+
[`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
|
|
50
|
+
[ED-22282] Bump adf-schema to 36.1.0
|
|
36
51
|
|
|
37
52
|
## 1.2.5
|
|
38
53
|
|
|
39
54
|
### Patch Changes
|
|
40
55
|
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
56
|
+
- [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
|
|
57
|
+
[`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
|
|
58
|
+
[HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
|
|
59
|
+
language triggering composition on an empty line.This was fixed in a patch bump of
|
|
60
|
+
prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
|
|
46
61
|
|
|
47
62
|
## 1.2.4
|
|
48
63
|
|
|
49
64
|
### Patch Changes
|
|
50
65
|
|
|
51
|
-
-
|
|
66
|
+
- Updated dependencies
|
|
52
67
|
|
|
53
68
|
## 1.2.3
|
|
54
69
|
|
|
55
70
|
### Patch Changes
|
|
56
71
|
|
|
57
|
-
-
|
|
58
|
-
|
|
59
|
-
|
|
72
|
+
- [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
|
|
73
|
+
[`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
|
|
74
|
+
[ED-23102] Bump ADF schema to version 35.12.2
|
|
60
75
|
|
|
61
76
|
## 1.2.2
|
|
62
77
|
|
|
63
78
|
### Patch Changes
|
|
64
79
|
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
|
|
80
|
+
- [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
|
|
81
|
+
[`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
|
|
82
|
+
[ED-23097] Bump ADF schema to version 35.12.1
|
|
68
83
|
|
|
69
84
|
## 1.2.1
|
|
70
85
|
|
|
71
86
|
### Patch Changes
|
|
72
87
|
|
|
73
|
-
-
|
|
74
|
-
|
|
75
|
-
|
|
88
|
+
- [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
|
|
89
|
+
[`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
|
|
90
|
+
Updating adf-schema version to 35.10.0
|
|
76
91
|
|
|
77
92
|
## 1.2.0
|
|
78
93
|
|
|
79
94
|
### Minor Changes
|
|
80
95
|
|
|
81
|
-
-
|
|
82
|
-
|
|
83
|
-
|
|
96
|
+
- [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
|
|
97
|
+
[`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
|
|
98
|
+
bumped editor-prosemirror version to 4.0.0
|
|
84
99
|
|
|
85
100
|
### Patch Changes
|
|
86
101
|
|
|
87
|
-
-
|
|
102
|
+
- Updated dependencies
|
|
88
103
|
|
|
89
104
|
## 1.1.9
|
|
90
105
|
|
|
91
106
|
### Patch Changes
|
|
92
107
|
|
|
93
|
-
-
|
|
94
|
-
|
|
95
|
-
|
|
108
|
+
- [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
|
|
109
|
+
[`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
|
|
110
|
+
Bump adf-schema to 35.9.2 to support table alignment options
|
|
96
111
|
|
|
97
112
|
## 1.1.8
|
|
98
113
|
|
|
99
114
|
### Patch Changes
|
|
100
115
|
|
|
101
|
-
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
-
|
|
116
|
+
- [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
|
|
117
|
+
[`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
|
|
118
|
+
Bump ADF-schema package to version 35.0.0
|
|
119
|
+
- Updated dependencies
|
|
105
120
|
|
|
106
121
|
## 1.1.7
|
|
107
122
|
|
|
108
123
|
### Patch Changes
|
|
109
124
|
|
|
110
|
-
-
|
|
111
|
-
|
|
112
|
-
|
|
125
|
+
- [#89247](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/89247)
|
|
126
|
+
[`a65b4a0870d8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a65b4a0870d8) -
|
|
127
|
+
The internal composition of this package has changed. There is no expected change in behavior.
|
|
113
128
|
|
|
114
129
|
## 1.1.6
|
|
115
130
|
|
|
116
131
|
### Patch Changes
|
|
117
132
|
|
|
118
|
-
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
133
|
+
- [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
|
|
134
|
+
[`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
|
|
135
|
+
[ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
|
|
136
|
+
35.7.0 to 35.8.0
|
|
122
137
|
|
|
123
138
|
## 1.1.5
|
|
124
139
|
|
|
125
140
|
### Patch Changes
|
|
126
141
|
|
|
127
|
-
-
|
|
128
|
-
|
|
129
|
-
|
|
142
|
+
- [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
|
|
143
|
+
[`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
|
|
144
|
+
Bump adf-schema to 35.7.0
|
|
130
145
|
|
|
131
146
|
## 1.1.4
|
|
132
147
|
|
|
133
148
|
### Patch Changes
|
|
134
149
|
|
|
135
|
-
-
|
|
136
|
-
|
|
137
|
-
|
|
150
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
151
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
152
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
138
153
|
|
|
139
154
|
## 1.1.3
|
|
140
155
|
|
|
141
156
|
### Patch Changes
|
|
142
157
|
|
|
143
|
-
-
|
|
144
|
-
|
|
145
|
-
|
|
158
|
+
- [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
|
|
159
|
+
[`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
|
|
160
|
+
ED-22553 Updating adf-schema version to 35.6.0
|
|
146
161
|
|
|
147
162
|
## 1.1.2
|
|
148
163
|
|
|
149
164
|
### Patch Changes
|
|
150
165
|
|
|
151
|
-
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
-
|
|
166
|
+
- [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
|
|
167
|
+
[`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
|
|
168
|
+
ED-22219: adf-schema updated to 35.5.2
|
|
169
|
+
- Updated dependencies
|
|
155
170
|
|
|
156
171
|
## 1.1.1
|
|
157
172
|
|
|
158
173
|
### Patch Changes
|
|
159
174
|
|
|
160
|
-
-
|
|
161
|
-
|
|
162
|
-
|
|
175
|
+
- [#75482](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75482)
|
|
176
|
+
[`18b5a6fb910a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/18b5a6fb910a) - #
|
|
177
|
+
MAJOR CHANGE to `@atlaskit/prosemirror-input-rules` package.
|
|
163
178
|
|
|
164
|
-
|
|
179
|
+
## WHY?
|
|
165
180
|
|
|
166
|
-
|
|
181
|
+
Removing editor-common dependencies from prosemirror-input-rules package.
|
|
167
182
|
|
|
168
|
-
|
|
183
|
+
This makes it easier for editor updates because it simplifies our dependency graph.
|
|
169
184
|
|
|
170
|
-
|
|
185
|
+
## WHAT and HOW?
|
|
171
186
|
|
|
172
|
-
|
|
173
|
-
|
|
187
|
+
These are no longer available via `@atlaskit/prosemirror-input-rules` but are available from
|
|
188
|
+
`@atlaskit/editor-common/types`:
|
|
174
189
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
190
|
+
- InputRuleWrapper
|
|
191
|
+
- InputRuleHandler
|
|
192
|
+
- OnHandlerApply
|
|
193
|
+
- createRule
|
|
179
194
|
|
|
180
|
-
|
|
181
|
-
|
|
195
|
+
These have changed from a `SafePlugin` to a `SafePluginSpec`. In order to update your code you
|
|
196
|
+
need to instantiate a `SafePlugin` (ie. `new SafePlugin(createPlugin( ... ))`).
|
|
182
197
|
|
|
183
|
-
|
|
198
|
+
`SafePlugin` exists in `@atlaskit/editor-common/safe-plugin`.
|
|
184
199
|
|
|
185
|
-
|
|
186
|
-
|
|
200
|
+
- createPlugin
|
|
201
|
+
- createInputRulePlugin
|
|
187
202
|
|
|
188
|
-
-
|
|
203
|
+
- Updated dependencies
|
|
189
204
|
|
|
190
205
|
## 1.1.0
|
|
191
206
|
|
|
192
207
|
### Minor Changes
|
|
193
208
|
|
|
194
|
-
-
|
|
195
|
-
|
|
196
|
-
|
|
209
|
+
- [#72122](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72122)
|
|
210
|
+
[`c3186450404a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c3186450404a) -
|
|
211
|
+
Breaking change:
|
|
197
212
|
|
|
198
|
-
|
|
213
|
+
## WHAT?:
|
|
199
214
|
|
|
200
|
-
|
|
215
|
+
Removing feature flags:
|
|
201
216
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
217
|
+
- singleLayout
|
|
218
|
+
- newInsertionBehaviour
|
|
219
|
+
- interactiveExpand
|
|
220
|
+
- findReplace
|
|
221
|
+
- findReplaceMatchCase
|
|
222
|
+
- extendFloatingToolbar
|
|
208
223
|
|
|
209
|
-
|
|
224
|
+
## WHY?:
|
|
210
225
|
|
|
211
|
-
|
|
212
|
-
|
|
226
|
+
Because the flags and props are unused/by default active. Removing them will reduce our
|
|
227
|
+
maintenance burden
|
|
213
228
|
|
|
214
|
-
|
|
229
|
+
## HOW to update your code:
|
|
215
230
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
opted out of the behaviours. If you do have an issue please reach out to #help-editor.
|
|
231
|
+
- If you were using the feature flag - the behaviour is now default and you can remove the flags
|
|
232
|
+
- If you were not using the feature flag - the behaviour is now default.
|
|
233
|
+
- If you have opted out of using the feature flag - we have been careful to ensure no-one has
|
|
234
|
+
opted out of the behaviours. If you do have an issue please reach out to #help-editor.
|
|
221
235
|
|
|
222
236
|
### Patch Changes
|
|
223
237
|
|
|
224
|
-
-
|
|
238
|
+
- Updated dependencies
|
|
225
239
|
|
|
226
240
|
## 1.0.0
|
|
227
241
|
|
|
228
242
|
### Major Changes
|
|
229
243
|
|
|
230
|
-
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
244
|
+
- [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
|
|
245
|
+
[`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
|
|
246
|
+
This changeset exists to bump all editor plugins that currently don't have a major version. This
|
|
247
|
+
is to address an issue with Jira plugin consumption.
|
|
234
248
|
|
|
235
249
|
### Patch Changes
|
|
236
250
|
|
|
237
|
-
-
|
|
251
|
+
- Updated dependencies
|
|
238
252
|
|
|
239
253
|
## 0.1.19
|
|
240
254
|
|
|
241
255
|
### Patch Changes
|
|
242
256
|
|
|
243
|
-
-
|
|
244
|
-
|
|
245
|
-
|
|
257
|
+
- [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
|
|
258
|
+
[`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
|
|
259
|
+
Upgrading @atlaskit/editor-prosemirror dependency
|
|
246
260
|
|
|
247
261
|
## 0.1.18
|
|
248
262
|
|
|
249
263
|
### Patch Changes
|
|
250
264
|
|
|
251
|
-
-
|
|
252
|
-
|
|
253
|
-
|
|
265
|
+
- [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
|
|
266
|
+
[`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
|
|
267
|
+
Updating adf-schema version to 35.5.1
|
|
254
268
|
|
|
255
269
|
## 0.1.17
|
|
256
270
|
|
|
257
271
|
### Patch Changes
|
|
258
272
|
|
|
259
|
-
-
|
|
273
|
+
- Updated dependencies
|
|
260
274
|
|
|
261
275
|
## 0.1.16
|
|
262
276
|
|
|
263
277
|
### Patch Changes
|
|
264
278
|
|
|
265
|
-
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
-
|
|
279
|
+
- [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
|
|
280
|
+
[`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
|
|
281
|
+
ED-21609 Update adf-schema to 35.3.0
|
|
282
|
+
- Updated dependencies
|
|
269
283
|
|
|
270
284
|
## 0.1.15
|
|
271
285
|
|
|
272
286
|
### Patch Changes
|
|
273
287
|
|
|
274
|
-
-
|
|
275
|
-
|
|
276
|
-
|
|
288
|
+
- [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
|
|
289
|
+
[`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
|
|
290
|
+
[ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
|
|
277
291
|
|
|
278
292
|
## 0.1.14
|
|
279
293
|
|
|
280
294
|
### Patch Changes
|
|
281
295
|
|
|
282
|
-
-
|
|
283
|
-
|
|
284
|
-
|
|
296
|
+
- [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
|
|
297
|
+
[`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
|
|
298
|
+
ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
|
|
285
299
|
|
|
286
300
|
## 0.1.13
|
|
287
301
|
|
|
288
302
|
### Patch Changes
|
|
289
303
|
|
|
290
|
-
-
|
|
291
|
-
|
|
292
|
-
|
|
304
|
+
- [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
|
|
305
|
+
[`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
|
|
306
|
+
ED-21371 Update adf-schema to 35.1.0
|
|
293
307
|
|
|
294
308
|
## 0.1.12
|
|
295
309
|
|
|
296
310
|
### Patch Changes
|
|
297
311
|
|
|
298
|
-
-
|
|
312
|
+
- Updated dependencies
|
|
299
313
|
|
|
300
314
|
## 0.1.11
|
|
301
315
|
|
|
302
316
|
### Patch Changes
|
|
303
317
|
|
|
304
|
-
-
|
|
305
|
-
|
|
306
|
-
|
|
318
|
+
- [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
|
|
319
|
+
[`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
|
|
320
|
+
Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
|
|
307
321
|
|
|
308
322
|
## 0.1.10
|
|
309
323
|
|
|
310
324
|
### Patch Changes
|
|
311
325
|
|
|
312
|
-
-
|
|
313
|
-
|
|
314
|
-
|
|
326
|
+
- [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
|
|
327
|
+
[`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
|
|
328
|
+
update ADF schema
|
|
315
329
|
|
|
316
330
|
## 0.1.9
|
|
317
331
|
|
|
318
332
|
### Patch Changes
|
|
319
333
|
|
|
320
|
-
-
|
|
321
|
-
|
|
322
|
-
|
|
334
|
+
- [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
|
|
335
|
+
[`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
|
|
336
|
+
ED-21266: Updated @atlaskit/adf-schema to 34.0.1
|
|
323
337
|
|
|
324
338
|
## 0.1.8
|
|
325
339
|
|
|
326
340
|
### Patch Changes
|
|
327
341
|
|
|
328
|
-
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
342
|
+
- [#43646](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43646)
|
|
343
|
+
[`d43f8e9402f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d43f8e9402f) - Make
|
|
344
|
+
feature flags plugin optional in all plugins including:
|
|
345
|
+
|
|
346
|
+
- analytics
|
|
347
|
+
- base
|
|
348
|
+
- card
|
|
349
|
+
- code-block
|
|
350
|
+
- expand
|
|
351
|
+
- extension
|
|
352
|
+
- floating-toolbar
|
|
353
|
+
- hyperlink
|
|
354
|
+
- insert-block
|
|
355
|
+
- layout
|
|
356
|
+
- layout
|
|
357
|
+
- list
|
|
358
|
+
- media
|
|
359
|
+
- paste
|
|
360
|
+
- rule
|
|
361
|
+
- table
|
|
362
|
+
- tasks-and-decisions
|
|
363
|
+
|
|
364
|
+
We already treat it as optional in the plugins, so this is just ensuring that the plugin is not
|
|
365
|
+
mandatory to be added to the preset.
|
|
352
366
|
|
|
353
367
|
## 0.1.7
|
|
354
368
|
|
|
355
369
|
### Patch Changes
|
|
356
370
|
|
|
357
|
-
-
|
|
358
|
-
|
|
359
|
-
|
|
371
|
+
- [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
|
|
372
|
+
[`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) - ED-20971
|
|
373
|
+
Upgrade adf-schema package to ^34.0.0
|
|
360
374
|
|
|
361
375
|
## 0.1.6
|
|
362
376
|
|
|
363
377
|
### Patch Changes
|
|
364
378
|
|
|
365
|
-
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
-
|
|
379
|
+
- [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
|
|
380
|
+
[`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) - ED-20763
|
|
381
|
+
Upgrade ADF schema version to 33.2.3 for MBE nodes.
|
|
382
|
+
- Updated dependencies
|
|
369
383
|
|
|
370
384
|
## 0.1.5
|
|
371
385
|
|
|
372
386
|
### Patch Changes
|
|
373
387
|
|
|
374
|
-
-
|
|
388
|
+
- Updated dependencies
|
|
375
389
|
|
|
376
390
|
## 0.1.4
|
|
377
391
|
|
|
378
392
|
### Patch Changes
|
|
379
393
|
|
|
380
|
-
-
|
|
381
|
-
|
|
382
|
-
|
|
394
|
+
- [#39749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39749)
|
|
395
|
+
[`e6b69f455c3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6b69f455c3) - Connect
|
|
396
|
+
yarn changeset to packages, upgrade adf-schema
|
|
383
397
|
|
|
384
398
|
## 0.1.3
|
|
385
399
|
|
|
386
400
|
### Patch Changes
|
|
387
401
|
|
|
388
|
-
-
|
|
402
|
+
- Updated dependencies
|
|
389
403
|
|
|
390
404
|
## 0.1.2
|
|
391
405
|
|
|
392
406
|
### Patch Changes
|
|
393
407
|
|
|
394
|
-
-
|
|
408
|
+
- Updated dependencies
|
|
395
409
|
|
|
396
410
|
## 0.1.1
|
|
397
411
|
|
|
398
412
|
### Patch Changes
|
|
399
413
|
|
|
400
|
-
-
|
|
401
|
-
|
|
402
|
-
|
|
414
|
+
- [#39481](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39481)
|
|
415
|
+
[`aeb5c9a01e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aeb5c9a01e8) - Delete
|
|
416
|
+
adf-schema from AFE and rely on npm package for adf-schema
|
package/LICENSE.md
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
Copyright 2023 Atlassian Pty Ltd
|
|
2
2
|
|
|
3
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
|
|
5
|
-
You may obtain a copy of the License at
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
|
|
4
|
+
compliance with the License. You may obtain a copy of the License at
|
|
6
5
|
|
|
7
6
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
7
|
|
|
9
|
-
Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
distributed
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
limitations under the License.
|
|
8
|
+
Unless required by applicable law or agreed to in writing, software distributed under the License is
|
|
9
|
+
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
10
|
+
implied. See the License for the specific language governing permissions and limitations under the
|
|
11
|
+
License.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-rule",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"description": "Rule plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
".": "./src/index.ts"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlaskit/adf-schema": "^36.
|
|
36
|
-
"@atlaskit/editor-common": "^
|
|
35
|
+
"@atlaskit/adf-schema": "^36.10.7",
|
|
36
|
+
"@atlaskit/editor-common": "^82.0.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^1.2.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
39
39
|
"@atlaskit/prosemirror-input-rules": "^3.1.0",
|
|
@@ -43,7 +43,6 @@
|
|
|
43
43
|
"react": "^16.8.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
47
46
|
"@testing-library/react": "^12.1.5",
|
|
48
47
|
"react-dom": "^16.8.0",
|
|
49
48
|
"typescript": "~5.4.2"
|
|
@@ -80,6 +79,5 @@
|
|
|
80
79
|
"import-no-extraneous-disable-for-examples-and-docs"
|
|
81
80
|
]
|
|
82
81
|
}
|
|
83
|
-
}
|
|
84
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
|
|
82
|
+
}
|
|
85
83
|
}
|
package/report.api.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## API Report File for "@atlaskit/editor-plugin-rule"
|
|
4
4
|
|
|
5
|
-
> Do not edit this file. This report is auto-generated using
|
|
5
|
+
> Do not edit this file. This report is auto-generated using
|
|
6
|
+
> [API Extractor](https://api-extractor.com/).
|
|
6
7
|
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
7
8
|
|
|
8
9
|
### Table of contents
|
|
@@ -26,30 +27,27 @@ import type { OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
|
26
27
|
|
|
27
28
|
// @public (undocumented)
|
|
28
29
|
const insertHorizontalRule: (
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
featureFlags: FeatureFlags,
|
|
31
|
+
editorAnalyticsAPI: EditorAnalyticsAPI | undefined,
|
|
31
32
|
) => (
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
inputMethod:
|
|
34
|
+
| INPUT_METHOD.FORMATTING
|
|
35
|
+
| INPUT_METHOD.INSERT_MENU
|
|
36
|
+
| INPUT_METHOD.QUICK_INSERT
|
|
37
|
+
| INPUT_METHOD.SHORTCUT
|
|
38
|
+
| INPUT_METHOD.TOOLBAR,
|
|
38
39
|
) => Command;
|
|
39
40
|
|
|
40
41
|
// @public (undocumented)
|
|
41
42
|
export type RulePlugin = NextEditorPlugin<
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
insertHorizontalRule: ReturnType<typeof insertHorizontalRule>;
|
|
51
|
-
};
|
|
52
|
-
}
|
|
43
|
+
'rule',
|
|
44
|
+
{
|
|
45
|
+
pluginConfiguration: undefined;
|
|
46
|
+
dependencies: [OptionalPlugin<FeatureFlagsPlugin>, OptionalPlugin<AnalyticsPlugin>];
|
|
47
|
+
actions: {
|
|
48
|
+
insertHorizontalRule: ReturnType<typeof insertHorizontalRule>;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
53
51
|
>;
|
|
54
52
|
|
|
55
53
|
// @public (undocumented)
|
|
@@ -66,7 +64,7 @@ export const rulePlugin: RulePlugin;
|
|
|
66
64
|
|
|
67
65
|
```json
|
|
68
66
|
{
|
|
69
|
-
|
|
67
|
+
"react": "^16.8.0"
|
|
70
68
|
}
|
|
71
69
|
```
|
|
72
70
|
|