@atlaskit/editor-plugin-guideline 1.1.0 → 1.1.2

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +125 -59
  2. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,218 +1,284 @@
1
1
  # @atlaskit/editor-plugin-guideline
2
2
 
3
+ ## 1.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
8
+ [`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
9
+ [HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
10
+ language triggering composition on an empty line.This was fixed in a patch bump of
11
+ prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
12
+
13
+ ## 1.1.1
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+
3
19
  ## 1.1.0
4
20
 
5
21
  ### Minor Changes
6
22
 
7
- - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934) [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) - bumped editor-prosemirror version to 4.0.0
23
+ - [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
24
+ [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
25
+ bumped editor-prosemirror version to 4.0.0
8
26
 
9
27
  ### Patch Changes
10
28
 
11
- - Updated dependencies
29
+ - Updated dependencies
12
30
 
13
31
  ## 1.0.2
14
32
 
15
33
  ### Patch Changes
16
34
 
17
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
35
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
36
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
37
+ Upgrade Typescript from `4.9.5` to `5.4.2`
18
38
 
19
39
  ## 1.0.1
20
40
 
21
41
  ### Patch Changes
22
42
 
23
- - Updated dependencies
43
+ - Updated dependencies
24
44
 
25
45
  ## 1.0.0
26
46
 
27
47
  ### Major Changes
28
48
 
29
- - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386) [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) - This changeset exists to bump all editor plugins that currently don't have a major version. This is to address an issue with Jira plugin consumption.
49
+ - [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
50
+ [`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
51
+ This changeset exists to bump all editor plugins that currently don't have a major version. This
52
+ is to address an issue with Jira plugin consumption.
30
53
 
31
54
  ### Patch Changes
32
55
 
33
- - Updated dependencies
56
+ - Updated dependencies
34
57
 
35
58
  ## 0.5.4
36
59
 
37
60
  ### Patch Changes
38
61
 
39
- - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572) [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) - Upgrading @atlaskit/editor-prosemirror dependency
62
+ - [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
63
+ [`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
64
+ Upgrading @atlaskit/editor-prosemirror dependency
40
65
 
41
66
  ## 0.5.3
42
67
 
43
68
  ### Patch Changes
44
69
 
45
- - Updated dependencies
70
+ - Updated dependencies
46
71
 
47
72
  ## 0.5.2
48
73
 
49
74
  ### Patch Changes
50
75
 
51
- - Updated dependencies
76
+ - Updated dependencies
52
77
 
53
78
  ## 0.5.1
54
79
 
55
80
  ### Patch Changes
56
81
 
57
- - Updated dependencies
82
+ - Updated dependencies
58
83
 
59
84
  ## 0.5.0
60
85
 
61
86
  ### Minor Changes
62
87
 
63
- - [#39325](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39325) [`ad3c5c21079`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad3c5c21079) - Updating all plugins with minor version to correct issue with semver.
88
+ - [#39325](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39325)
89
+ [`ad3c5c21079`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad3c5c21079) -
90
+ Updating all plugins with minor version to correct issue with semver.
64
91
 
65
92
  ### Patch Changes
66
93
 
67
- - Updated dependencies
94
+ - Updated dependencies
68
95
 
69
96
  ## 0.4.2
70
97
 
71
98
  ### Patch Changes
72
99
 
73
- - [#39010](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39010) [`8467bdcdf4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8467bdcdf4f) - Removing `dependencies` prop from PluginInjectionAPI and changing
74
- signature of `NextEditorPlugin`.
100
+ - [#39010](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39010)
101
+ [`8467bdcdf4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8467bdcdf4f) -
102
+ Removing `dependencies` prop from PluginInjectionAPI and changing signature of
103
+ `NextEditorPlugin`.
75
104
 
76
- Previously a `NextEditorPlugin` would be consumed as so:
105
+ Previously a `NextEditorPlugin` would be consumed as so:
77
106
 
78
- ```ts
79
- const plugin: NextEditorPlugin< ... > = (config, api) => {
80
- // Can use api like so:
81
- api.dependencies.core.actions.execute( ... )
82
- return { ... }
83
- }
84
- ```
107
+ ```ts
108
+ const plugin: NextEditorPlugin< ... > = (config, api) => {
109
+ // Can use api like so:
110
+ api.dependencies.core.actions.execute( ... )
111
+ return { ... }
112
+ }
113
+ ```
85
114
 
86
- Now these have become named parameters like so and the `pluginInjectionAPI` is used
87
- without the `dependencies` prop:
115
+ Now these have become named parameters like so and the `pluginInjectionAPI` is used without the
116
+ `dependencies` prop:
88
117
 
89
- ```ts
90
- const plugin: NextEditorPlugin< ... > = ({ config, api }) => {
91
- // Can use api like so:
92
- api.core.actions.execute( ... )
93
- return { ... }
94
- }
95
- ```
118
+ ```ts
119
+ const plugin: NextEditorPlugin< ... > = ({ config, api }) => {
120
+ // Can use api like so:
121
+ api.core.actions.execute( ... )
122
+ return { ... }
123
+ }
124
+ ```
96
125
 
97
- - Updated dependencies
126
+ - Updated dependencies
98
127
 
99
128
  ## 0.4.1
100
129
 
101
130
  ### Patch Changes
102
131
 
103
- - [#39177](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39177) [`24e27147cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/24e27147cbd) - Added atlaskit docs to all existing plugins.
132
+ - [#39177](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39177)
133
+ [`24e27147cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/24e27147cbd) - Added
134
+ atlaskit docs to all existing plugins.
104
135
 
105
136
  ## 0.4.0
106
137
 
107
138
  ### Minor Changes
108
139
 
109
- - [#38980](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38980) [`7f45581d141`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f45581d141) - ED-19630 fixed guideline alignment issue.
140
+ - [#38980](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38980)
141
+ [`7f45581d141`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f45581d141) -
142
+ ED-19630 fixed guideline alignment issue.
110
143
 
111
144
  ### Patch Changes
112
145
 
113
- - Updated dependencies
146
+ - Updated dependencies
114
147
 
115
148
  ## 0.3.13
116
149
 
117
150
  ### Patch Changes
118
151
 
119
- - [#38672](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38672) [`51e6a0128eb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/51e6a0128eb) - ED-18969 Implemented relative guideline
152
+ - [#38672](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38672)
153
+ [`51e6a0128eb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/51e6a0128eb) -
154
+ ED-18969 Implemented relative guideline
120
155
 
121
156
  ## 0.3.12
122
157
 
123
158
  ### Patch Changes
124
159
 
125
- - Updated dependencies
160
+ - Updated dependencies
126
161
 
127
162
  ## 0.3.11
128
163
 
129
164
  ### Patch Changes
130
165
 
131
- - [#38341](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38341) [`c46821ab461`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c46821ab461) - Update guideline colour to color.border.disabled to provide more contrast against table borders
132
- - Updated dependencies
166
+ - [#38341](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38341)
167
+ [`c46821ab461`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c46821ab461) - Update
168
+ guideline colour to color.border.disabled to provide more contrast against table borders
169
+ - Updated dependencies
133
170
 
134
171
  ## 0.3.10
135
172
 
136
173
  ### Patch Changes
137
174
 
138
- - [#38130](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38130) [`8b9fec4c803`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8b9fec4c803) - [ux] improve guidelines styles left position
139
- - Updated dependencies
175
+ - [#38130](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38130)
176
+ [`8b9fec4c803`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8b9fec4c803) - [ux]
177
+ improve guidelines styles left position
178
+ - Updated dependencies
140
179
 
141
180
  ## 0.3.9
142
181
 
143
182
  ### Patch Changes
144
183
 
145
- - [#38063](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38063) [`75fe8860154`](https://bitbucket.org/atlassian/atlassian-frontend/commits/75fe8860154) - Update styles of guidelines so they align correctly
184
+ - [#38063](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38063)
185
+ [`75fe8860154`](https://bitbucket.org/atlassian/atlassian-frontend/commits/75fe8860154) - Update
186
+ styles of guidelines so they align correctly
146
187
 
147
188
  ## 0.3.8
148
189
 
149
190
  ### Patch Changes
150
191
 
151
- - [#32787](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32787) [`936c30f8dc9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/936c30f8dc9) - support new image resize experience under feature flag
152
- - Updated dependencies
192
+ - [#32787](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32787)
193
+ [`936c30f8dc9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/936c30f8dc9) -
194
+ support new image resize experience under feature flag
195
+ - Updated dependencies
153
196
 
154
197
  ## 0.3.7
155
198
 
156
199
  ### Patch Changes
157
200
 
158
- - [#37785](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37785) [`4e6f1bf8511`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e6f1bf8511) - [ED-19233] Import prosemirror libraries from internal facade package
201
+ - [#37785](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37785)
202
+ [`4e6f1bf8511`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e6f1bf8511) -
203
+ [ED-19233] Import prosemirror libraries from internal facade package
159
204
 
160
205
  ## 0.3.6
161
206
 
162
207
  ### Patch Changes
163
208
 
164
- - [#37398](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37398) [`3d065399b07`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3d065399b07) - ED-18969 refactor guideline plugin interface.
209
+ - [#37398](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37398)
210
+ [`3d065399b07`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3d065399b07) -
211
+ ED-18969 refactor guideline plugin interface.
165
212
 
166
213
  ## 0.3.5
167
214
 
168
215
  ### Patch Changes
169
216
 
170
- - [#37348](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37348) [`e8885f55db6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e8885f55db6) - ED-18969 implement relative guides support
217
+ - [#37348](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37348)
218
+ [`e8885f55db6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e8885f55db6) -
219
+ ED-18969 implement relative guides support
171
220
 
172
221
  ## 0.3.4
173
222
 
174
223
  ### Patch Changes
175
224
 
176
- - [#36241](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36241) [`5f5ba16de66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f5ba16de66) - [ED-13910] Fix prosemirror types
225
+ - [#36241](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36241)
226
+ [`5f5ba16de66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f5ba16de66) -
227
+ [ED-13910] Fix prosemirror types
177
228
 
178
229
  ## 0.3.3
179
230
 
180
231
  ### Patch Changes
181
232
 
182
- - [#36310](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36310) [`e118dc7562b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e118dc7562b) - ED-18897 guideline interface to use css tokens.
233
+ - [#36310](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36310)
234
+ [`e118dc7562b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e118dc7562b) -
235
+ ED-18897 guideline interface to use css tokens.
183
236
 
184
237
  ## 0.3.2
185
238
 
186
239
  ### Patch Changes
187
240
 
188
- - [#35782](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35782) [`73b5128036b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/73b5128036b) - [ED-17082] Mark package as a singleton one
189
- - Updated dependencies
241
+ - [#35782](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35782)
242
+ [`73b5128036b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/73b5128036b) -
243
+ [ED-17082] Mark package as a singleton one
244
+ - Updated dependencies
190
245
 
191
246
  ## 0.3.1
192
247
 
193
248
  ### Patch Changes
194
249
 
195
- - [#34938](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34938) [`7cd4abcdc0d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7cd4abcdc0d) - Fix workaround in `editor-plugin-width`. This involved removing `WidthEmitter` in `editor-core`, removing `containerWidth` from `WidthPluginState`. This change also introduces `usePluginHook` for an `EditorPlugin` - this enables a react hook to be mounted for plugins (in all appearances).
196
- - Updated dependencies
250
+ - [#34938](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34938)
251
+ [`7cd4abcdc0d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7cd4abcdc0d) - Fix
252
+ workaround in `editor-plugin-width`. This involved removing `WidthEmitter` in `editor-core`,
253
+ removing `containerWidth` from `WidthPluginState`. This change also introduces `usePluginHook`
254
+ for an `EditorPlugin` - this enables a react hook to be mounted for plugins (in all
255
+ appearances).
256
+ - Updated dependencies
197
257
 
198
258
  ## 0.3.0
199
259
 
200
260
  ### Minor Changes
201
261
 
202
- - [#34887](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34887) [`d7aa08972c6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d7aa08972c6) - add style handler for the editor guideline plugin
203
- - [`1dadcae5b09`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1dadcae5b09) - COLLAB-2623 Updated API to newest interface and added utils to create default gridlines
262
+ - [#34887](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34887)
263
+ [`d7aa08972c6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d7aa08972c6) - add
264
+ style handler for the editor guideline plugin
265
+ - [`1dadcae5b09`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1dadcae5b09) -
266
+ COLLAB-2623 Updated API to newest interface and added utils to create default gridlines
204
267
 
205
268
  ### Patch Changes
206
269
 
207
- - Updated dependencies
270
+ - Updated dependencies
208
271
 
209
272
  ## 0.2.0
210
273
 
211
274
  ### Minor Changes
212
275
 
213
- - [#34644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34644) [`d8f19b90c43`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d8f19b90c43) - COLLAB-2622 Update editor-plugin-guideline to support position config.
276
+ - [#34644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34644)
277
+ [`d8f19b90c43`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d8f19b90c43) -
278
+ COLLAB-2622 Update editor-plugin-guideline to support position config.
214
279
 
215
280
  ### Patch Changes
216
281
 
217
- - [`2625e4baea0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2625e4baea0) - COLLAB-2622 Setup React components for future works.
218
- - Updated dependencies
282
+ - [`2625e4baea0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2625e4baea0) -
283
+ COLLAB-2622 Setup React components for future works.
284
+ - Updated dependencies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-guideline",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "guideline plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -24,12 +24,12 @@
24
24
  ".": "./src/index.ts"
25
25
  },
26
26
  "dependencies": {
27
- "@atlaskit/editor-common": "^78.31.0",
27
+ "@atlaskit/editor-common": "^79.1.0",
28
28
  "@atlaskit/editor-plugin-width": "^1.1.0",
29
- "@atlaskit/editor-prosemirror": "4.0.0",
30
- "@atlaskit/editor-shared-styles": "^2.9.0",
29
+ "@atlaskit/editor-prosemirror": "4.0.1",
30
+ "@atlaskit/editor-shared-styles": "^2.10.0",
31
31
  "@atlaskit/theme": "^12.7.0",
32
- "@atlaskit/tokens": "^1.43.0",
32
+ "@atlaskit/tokens": "^1.45.0",
33
33
  "@babel/runtime": "^7.0.0",
34
34
  "@emotion/react": "^11.7.1"
35
35
  },