@atlaskit/editor-plugin-guideline 1.0.2 → 1.1.1

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