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