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