@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.
- package/CHANGELOG.md +123 -57
- 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
|
-
-
|
|
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
|
-
-
|
|
33
|
+
- Updated dependencies
|
|
14
34
|
|
|
15
35
|
## 1.0.0
|
|
16
36
|
|
|
17
37
|
### Major Changes
|
|
18
38
|
|
|
19
|
-
-
|
|
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
|
-
-
|
|
46
|
+
- Updated dependencies
|
|
24
47
|
|
|
25
48
|
## 0.5.4
|
|
26
49
|
|
|
27
50
|
### Patch Changes
|
|
28
51
|
|
|
29
|
-
-
|
|
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
|
-
-
|
|
60
|
+
- Updated dependencies
|
|
36
61
|
|
|
37
62
|
## 0.5.2
|
|
38
63
|
|
|
39
64
|
### Patch Changes
|
|
40
65
|
|
|
41
|
-
-
|
|
66
|
+
- Updated dependencies
|
|
42
67
|
|
|
43
68
|
## 0.5.1
|
|
44
69
|
|
|
45
70
|
### Patch Changes
|
|
46
71
|
|
|
47
|
-
-
|
|
72
|
+
- Updated dependencies
|
|
48
73
|
|
|
49
74
|
## 0.5.0
|
|
50
75
|
|
|
51
76
|
### Minor Changes
|
|
52
77
|
|
|
53
|
-
-
|
|
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
|
-
-
|
|
84
|
+
- Updated dependencies
|
|
58
85
|
|
|
59
86
|
## 0.4.2
|
|
60
87
|
|
|
61
88
|
### Patch Changes
|
|
62
89
|
|
|
63
|
-
-
|
|
64
|
-
|
|
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
|
-
|
|
95
|
+
Previously a `NextEditorPlugin` would be consumed as so:
|
|
67
96
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
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
|
-
|
|
77
|
-
|
|
105
|
+
Now these have become named parameters like so and the `pluginInjectionAPI` is used without the
|
|
106
|
+
`dependencies` prop:
|
|
78
107
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
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
|
-
-
|
|
116
|
+
- Updated dependencies
|
|
88
117
|
|
|
89
118
|
## 0.4.1
|
|
90
119
|
|
|
91
120
|
### Patch Changes
|
|
92
121
|
|
|
93
|
-
-
|
|
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
|
-
-
|
|
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
|
-
-
|
|
136
|
+
- Updated dependencies
|
|
104
137
|
|
|
105
138
|
## 0.3.13
|
|
106
139
|
|
|
107
140
|
### Patch Changes
|
|
108
141
|
|
|
109
|
-
-
|
|
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
|
-
-
|
|
150
|
+
- Updated dependencies
|
|
116
151
|
|
|
117
152
|
## 0.3.11
|
|
118
153
|
|
|
119
154
|
### Patch Changes
|
|
120
155
|
|
|
121
|
-
-
|
|
122
|
-
-
|
|
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
|
-
-
|
|
129
|
-
-
|
|
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
|
-
-
|
|
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
|
-
-
|
|
142
|
-
-
|
|
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
|
-
-
|
|
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
|
-
-
|
|
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
|
-
-
|
|
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
|
-
-
|
|
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
|
-
-
|
|
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
|
-
-
|
|
179
|
-
-
|
|
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
|
-
-
|
|
186
|
-
-
|
|
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
|
-
-
|
|
193
|
-
|
|
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
|
-
-
|
|
260
|
+
- Updated dependencies
|
|
198
261
|
|
|
199
262
|
## 0.2.0
|
|
200
263
|
|
|
201
264
|
### Minor Changes
|
|
202
265
|
|
|
203
|
-
-
|
|
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
|
-
-
|
|
208
|
-
-
|
|
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.
|
|
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": "^
|
|
28
|
-
"@atlaskit/editor-plugin-width": "^1.
|
|
29
|
-
"@atlaskit/editor-prosemirror": "
|
|
30
|
-
"@atlaskit/editor-shared-styles": "^2.
|
|
31
|
-
"@atlaskit/theme": "^12.
|
|
32
|
-
"@atlaskit/tokens": "^1.
|
|
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
|
},
|