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