@atlaskit/editor-plugin-text-color 1.4.0 → 1.4.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/.eslintrc.js +4 -4
- package/CHANGELOG.md +163 -157
- package/LICENSE.md +6 -8
- package/dist/types/index.d.ts +1 -1
- package/dist/types/types.d.ts +1 -4
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/package.json +4 -6
- package/report.api.md +21 -20
package/.eslintrc.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,412 +1,418 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-text-color
|
|
2
2
|
|
|
3
|
+
## 1.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 1.4.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
6
12
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
13
|
+
- [#101406](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101406)
|
|
14
|
+
[`6daffd65aec4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6daffd65aec4) -
|
|
15
|
+
[ED-23298] Extract primary toolbar components to editor plugin to allow for custom ordering
|
|
10
16
|
|
|
11
17
|
### Patch Changes
|
|
12
18
|
|
|
13
|
-
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
-
|
|
19
|
+
- [#102478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102478)
|
|
20
|
+
[`3378951608b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3378951608b0) -
|
|
21
|
+
[ED-23332] Update adf-schema package to 36.10.1
|
|
22
|
+
- Updated dependencies
|
|
17
23
|
|
|
18
24
|
## 1.3.3
|
|
19
25
|
|
|
20
26
|
### Patch Changes
|
|
21
27
|
|
|
22
|
-
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
28
|
+
- [#101513](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101513)
|
|
29
|
+
[`98b5dfc33bed`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/98b5dfc33bed) -
|
|
30
|
+
[ux] [ED-23156] The highlight primary toolbar button is disabled when trying to apply it on nodes
|
|
31
|
+
that don't enable the mark and when in a gap cursor. The text color primary toolbar button is
|
|
32
|
+
disabled when selecting text with a highlight.
|
|
27
33
|
|
|
28
34
|
## 1.3.2
|
|
29
35
|
|
|
30
36
|
### Patch Changes
|
|
31
37
|
|
|
32
|
-
-
|
|
33
|
-
|
|
34
|
-
|
|
38
|
+
- [#101524](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101524)
|
|
39
|
+
[`4821570088e6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4821570088e6) -
|
|
40
|
+
ED-23362 Bump ADF schema to version 36.8.1 and add support for adf validation and transformation
|
|
35
41
|
|
|
36
42
|
## 1.3.1
|
|
37
43
|
|
|
38
44
|
### Patch Changes
|
|
39
45
|
|
|
40
|
-
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
-
|
|
46
|
+
- [#100495](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/100495)
|
|
47
|
+
[`dbb78a011fac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dbb78a011fac) -
|
|
48
|
+
[ux] [ED-23150] Added `changeColor` command for editor-plugin-highlight, including new
|
|
49
|
+
`removeMark` command for editor-common. Fixed bug with editor-plugin-text-color which prevented
|
|
50
|
+
color from being removed when user selects all.
|
|
51
|
+
- Updated dependencies
|
|
46
52
|
|
|
47
53
|
## 1.3.0
|
|
48
54
|
|
|
49
55
|
### Minor Changes
|
|
50
56
|
|
|
51
|
-
-
|
|
52
|
-
|
|
53
|
-
|
|
57
|
+
- [#99579](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99579)
|
|
58
|
+
[`f222af5687e9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f222af5687e9) -
|
|
59
|
+
Bump adf-schema to 36.3.0 and adf-schema-json to 1.14.0
|
|
54
60
|
|
|
55
61
|
### Patch Changes
|
|
56
62
|
|
|
57
|
-
-
|
|
63
|
+
- Updated dependencies
|
|
58
64
|
|
|
59
65
|
## 1.2.2
|
|
60
66
|
|
|
61
67
|
### Patch Changes
|
|
62
68
|
|
|
63
|
-
-
|
|
69
|
+
- Updated dependencies
|
|
64
70
|
|
|
65
71
|
## 1.2.1
|
|
66
72
|
|
|
67
73
|
### Patch Changes
|
|
68
74
|
|
|
69
|
-
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
-
|
|
75
|
+
- [#99242](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99242)
|
|
76
|
+
[`854acdf04f29`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/854acdf04f29) -
|
|
77
|
+
Adjust tooltip text for editor toolbar buttons
|
|
78
|
+
- Updated dependencies
|
|
73
79
|
|
|
74
80
|
## 1.2.0
|
|
75
81
|
|
|
76
82
|
### Minor Changes
|
|
77
83
|
|
|
78
|
-
-
|
|
79
|
-
|
|
80
|
-
|
|
84
|
+
- [#98130](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98130)
|
|
85
|
+
[`6a3c0d9d6382`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6a3c0d9d6382) -
|
|
86
|
+
[ED-23154] Add highlight option to main toolbar in editor
|
|
81
87
|
|
|
82
88
|
### Patch Changes
|
|
83
89
|
|
|
84
|
-
-
|
|
90
|
+
- Updated dependencies
|
|
85
91
|
|
|
86
92
|
## 1.1.8
|
|
87
93
|
|
|
88
94
|
### Patch Changes
|
|
89
95
|
|
|
90
|
-
-
|
|
91
|
-
|
|
92
|
-
|
|
96
|
+
- [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
|
|
97
|
+
[`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
|
|
98
|
+
[ED-22282] Bump adf-schema to 36.1.0
|
|
93
99
|
|
|
94
100
|
## 1.1.7
|
|
95
101
|
|
|
96
102
|
### Patch Changes
|
|
97
103
|
|
|
98
|
-
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
104
|
+
- [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
|
|
105
|
+
[`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
|
|
106
|
+
[HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
|
|
107
|
+
language triggering composition on an empty line.This was fixed in a patch bump of
|
|
108
|
+
prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
|
|
103
109
|
|
|
104
110
|
## 1.1.6
|
|
105
111
|
|
|
106
112
|
### Patch Changes
|
|
107
113
|
|
|
108
|
-
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
-
|
|
114
|
+
- [#93784](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93784)
|
|
115
|
+
[`de2e52677025`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/de2e52677025) -
|
|
116
|
+
ECA11Y-217 Improve editor toolbar screen reader text for text styles and color
|
|
117
|
+
- Updated dependencies
|
|
112
118
|
|
|
113
119
|
## 1.1.5
|
|
114
120
|
|
|
115
121
|
### Patch Changes
|
|
116
122
|
|
|
117
|
-
-
|
|
123
|
+
- Updated dependencies
|
|
118
124
|
|
|
119
125
|
## 1.1.4
|
|
120
126
|
|
|
121
127
|
### Patch Changes
|
|
122
128
|
|
|
123
|
-
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
129
|
+
- [#96237](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96237)
|
|
130
|
+
[`0401e7b5a88e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0401e7b5a88e) -
|
|
131
|
+
[ED-23102] Bump ADF schema to version 35.12.2
|
|
132
|
+
- [#96613](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96613)
|
|
133
|
+
[`398961a2b0a1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/398961a2b0a1) -
|
|
134
|
+
[ux] [ED-23133] Moved stepped rainbow text colour icon styles to editor-common and refactored to
|
|
135
|
+
be reusable
|
|
130
136
|
|
|
131
137
|
## 1.1.3
|
|
132
138
|
|
|
133
139
|
### Patch Changes
|
|
134
140
|
|
|
135
|
-
-
|
|
141
|
+
- Updated dependencies
|
|
136
142
|
|
|
137
143
|
## 1.1.2
|
|
138
144
|
|
|
139
145
|
### Patch Changes
|
|
140
146
|
|
|
141
|
-
-
|
|
142
|
-
|
|
143
|
-
|
|
147
|
+
- [#94901](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94901)
|
|
148
|
+
[`da964fcdc828`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/da964fcdc828) -
|
|
149
|
+
[ED-23097] Bump ADF schema to version 35.12.1
|
|
144
150
|
|
|
145
151
|
## 1.1.1
|
|
146
152
|
|
|
147
153
|
### Patch Changes
|
|
148
154
|
|
|
149
|
-
-
|
|
150
|
-
|
|
151
|
-
|
|
155
|
+
- [#93689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93689)
|
|
156
|
+
[`5ba5d2b4a9ac`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ba5d2b4a9ac) -
|
|
157
|
+
Updating adf-schema version to 35.10.0
|
|
152
158
|
|
|
153
159
|
## 1.1.0
|
|
154
160
|
|
|
155
161
|
### Minor Changes
|
|
156
162
|
|
|
157
|
-
-
|
|
158
|
-
|
|
159
|
-
|
|
163
|
+
- [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
|
|
164
|
+
[`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
|
|
165
|
+
bumped editor-prosemirror version to 4.0.0
|
|
160
166
|
|
|
161
167
|
### Patch Changes
|
|
162
168
|
|
|
163
|
-
-
|
|
169
|
+
- Updated dependencies
|
|
164
170
|
|
|
165
171
|
## 1.0.8
|
|
166
172
|
|
|
167
173
|
### Patch Changes
|
|
168
174
|
|
|
169
|
-
-
|
|
170
|
-
|
|
171
|
-
|
|
175
|
+
- [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426)
|
|
176
|
+
[`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) -
|
|
177
|
+
Bump adf-schema to 35.9.2 to support table alignment options
|
|
172
178
|
|
|
173
179
|
## 1.0.7
|
|
174
180
|
|
|
175
181
|
### Patch Changes
|
|
176
182
|
|
|
177
|
-
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
-
|
|
183
|
+
- [#91106](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91106)
|
|
184
|
+
[`b6ffa30186b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b6ffa30186b9) -
|
|
185
|
+
Bump ADF-schema package to version 35.0.0
|
|
186
|
+
- Updated dependencies
|
|
181
187
|
|
|
182
188
|
## 1.0.6
|
|
183
189
|
|
|
184
190
|
### Patch Changes
|
|
185
191
|
|
|
186
|
-
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
192
|
+
- [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
|
|
193
|
+
[`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
|
|
194
|
+
[ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
|
|
195
|
+
35.7.0 to 35.8.0
|
|
190
196
|
|
|
191
197
|
## 1.0.5
|
|
192
198
|
|
|
193
199
|
### Patch Changes
|
|
194
200
|
|
|
195
|
-
-
|
|
196
|
-
|
|
197
|
-
|
|
201
|
+
- [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
|
|
202
|
+
[`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
|
|
203
|
+
Bump adf-schema to 35.7.0
|
|
198
204
|
|
|
199
205
|
## 1.0.4
|
|
200
206
|
|
|
201
207
|
### Patch Changes
|
|
202
208
|
|
|
203
|
-
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
-
|
|
209
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
210
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
211
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
212
|
+
- Updated dependencies
|
|
207
213
|
|
|
208
214
|
## 1.0.3
|
|
209
215
|
|
|
210
216
|
### Patch Changes
|
|
211
217
|
|
|
212
|
-
-
|
|
213
|
-
|
|
214
|
-
|
|
218
|
+
- [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
|
|
219
|
+
[`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
|
|
220
|
+
ED-22553 Updating adf-schema version to 35.6.0
|
|
215
221
|
|
|
216
222
|
## 1.0.2
|
|
217
223
|
|
|
218
224
|
### Patch Changes
|
|
219
225
|
|
|
220
|
-
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
-
|
|
226
|
+
- [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
|
|
227
|
+
[`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
|
|
228
|
+
ED-22219: adf-schema updated to 35.5.2
|
|
229
|
+
- Updated dependencies
|
|
224
230
|
|
|
225
231
|
## 1.0.1
|
|
226
232
|
|
|
227
233
|
### Patch Changes
|
|
228
234
|
|
|
229
|
-
-
|
|
235
|
+
- Updated dependencies
|
|
230
236
|
|
|
231
237
|
## 1.0.0
|
|
232
238
|
|
|
233
239
|
### Major Changes
|
|
234
240
|
|
|
235
|
-
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
241
|
+
- [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
|
|
242
|
+
[`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
|
|
243
|
+
This changeset exists to bump all editor plugins that currently don't have a major version. This
|
|
244
|
+
is to address an issue with Jira plugin consumption.
|
|
239
245
|
|
|
240
246
|
### Patch Changes
|
|
241
247
|
|
|
242
|
-
-
|
|
248
|
+
- Updated dependencies
|
|
243
249
|
|
|
244
250
|
## 0.2.3
|
|
245
251
|
|
|
246
252
|
### Patch Changes
|
|
247
253
|
|
|
248
|
-
-
|
|
249
|
-
|
|
250
|
-
|
|
254
|
+
- [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
|
|
255
|
+
[`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
|
|
256
|
+
Upgrading @atlaskit/editor-prosemirror dependency
|
|
251
257
|
|
|
252
258
|
## 0.2.2
|
|
253
259
|
|
|
254
260
|
### Patch Changes
|
|
255
261
|
|
|
256
|
-
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
-
|
|
262
|
+
- [#71136](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71136)
|
|
263
|
+
[`c803fea1e6a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c803fea1e6a4) -
|
|
264
|
+
Move all plugin translations to editor-common
|
|
265
|
+
- Updated dependencies
|
|
260
266
|
|
|
261
267
|
## 0.2.1
|
|
262
268
|
|
|
263
269
|
### Patch Changes
|
|
264
270
|
|
|
265
|
-
-
|
|
266
|
-
|
|
267
|
-
|
|
271
|
+
- [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
|
|
272
|
+
[`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
|
|
273
|
+
Updating adf-schema version to 35.5.1
|
|
268
274
|
|
|
269
275
|
## 0.2.0
|
|
270
276
|
|
|
271
277
|
### Minor Changes
|
|
272
278
|
|
|
273
|
-
-
|
|
274
|
-
|
|
275
|
-
|
|
279
|
+
- [#68790](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68790)
|
|
280
|
+
[`c6d8affc52d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d8affc52d1) -
|
|
281
|
+
Support maybeAdd plugins in usePreset. Add typing support for universal preset.
|
|
276
282
|
|
|
277
|
-
|
|
283
|
+
Now when using the editor API with the universal preset
|
|
278
284
|
|
|
279
285
|
### Patch Changes
|
|
280
286
|
|
|
281
|
-
-
|
|
287
|
+
- Updated dependencies
|
|
282
288
|
|
|
283
289
|
## 0.1.17
|
|
284
290
|
|
|
285
291
|
### Patch Changes
|
|
286
292
|
|
|
287
|
-
-
|
|
293
|
+
- Updated dependencies
|
|
288
294
|
|
|
289
295
|
## 0.1.16
|
|
290
296
|
|
|
291
297
|
### Patch Changes
|
|
292
298
|
|
|
293
|
-
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
-
|
|
299
|
+
- [#67557](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67557)
|
|
300
|
+
[`124d0c6d5286`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/124d0c6d5286) -
|
|
301
|
+
Migrating block-type, text-color, and text-formatting to use useSharedPluginState rather than
|
|
302
|
+
WithPluginState. Removing unused option on default preset. Adding formattingIsPresent prop to
|
|
303
|
+
TextFormattingState.
|
|
304
|
+
- Updated dependencies
|
|
299
305
|
|
|
300
306
|
## 0.1.15
|
|
301
307
|
|
|
302
308
|
### Patch Changes
|
|
303
309
|
|
|
304
|
-
-
|
|
305
|
-
|
|
306
|
-
|
|
310
|
+
- [#65802](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65802)
|
|
311
|
+
[`438ead060875`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/438ead060875) -
|
|
312
|
+
Ensure all editor plugins are marked as singletons
|
|
307
313
|
|
|
308
314
|
## 0.1.14
|
|
309
315
|
|
|
310
316
|
### Patch Changes
|
|
311
317
|
|
|
312
|
-
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
-
|
|
318
|
+
- [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
|
|
319
|
+
[`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
|
|
320
|
+
ED-21609 Update adf-schema to 35.3.0
|
|
321
|
+
- Updated dependencies
|
|
316
322
|
|
|
317
323
|
## 0.1.13
|
|
318
324
|
|
|
319
325
|
### Patch Changes
|
|
320
326
|
|
|
321
|
-
-
|
|
322
|
-
|
|
323
|
-
|
|
327
|
+
- [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
|
|
328
|
+
[`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
|
|
329
|
+
[ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
|
|
324
330
|
|
|
325
331
|
## 0.1.12
|
|
326
332
|
|
|
327
333
|
### Patch Changes
|
|
328
334
|
|
|
329
|
-
-
|
|
330
|
-
|
|
331
|
-
|
|
335
|
+
- [#62088](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62088)
|
|
336
|
+
[`cbb82175953e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cbb82175953e) -
|
|
337
|
+
[ux] Fixes the text color popup not disappearing when clicking on the toolbar icon.
|
|
332
338
|
|
|
333
339
|
## 0.1.11
|
|
334
340
|
|
|
335
341
|
### Patch Changes
|
|
336
342
|
|
|
337
|
-
-
|
|
338
|
-
|
|
339
|
-
|
|
343
|
+
- [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
|
|
344
|
+
[`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
|
|
345
|
+
ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
|
|
340
346
|
|
|
341
347
|
## 0.1.10
|
|
342
348
|
|
|
343
349
|
### Patch Changes
|
|
344
350
|
|
|
345
|
-
-
|
|
346
|
-
|
|
347
|
-
|
|
351
|
+
- [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
|
|
352
|
+
[`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
|
|
353
|
+
ED-21371 Update adf-schema to 35.1.0
|
|
348
354
|
|
|
349
355
|
## 0.1.9
|
|
350
356
|
|
|
351
357
|
### Patch Changes
|
|
352
358
|
|
|
353
|
-
-
|
|
359
|
+
- Updated dependencies
|
|
354
360
|
|
|
355
361
|
## 0.1.8
|
|
356
362
|
|
|
357
363
|
### Patch Changes
|
|
358
364
|
|
|
359
|
-
-
|
|
360
|
-
|
|
361
|
-
|
|
365
|
+
- [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
|
|
366
|
+
[`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
|
|
367
|
+
Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
|
|
362
368
|
|
|
363
369
|
## 0.1.7
|
|
364
370
|
|
|
365
371
|
### Patch Changes
|
|
366
372
|
|
|
367
|
-
-
|
|
368
|
-
|
|
369
|
-
|
|
373
|
+
- [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
|
|
374
|
+
[`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
|
|
375
|
+
update ADF schema
|
|
370
376
|
|
|
371
377
|
## 0.1.6
|
|
372
378
|
|
|
373
379
|
### Patch Changes
|
|
374
380
|
|
|
375
|
-
-
|
|
376
|
-
|
|
377
|
-
|
|
381
|
+
- [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
|
|
382
|
+
[`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
|
|
383
|
+
ED-21266: Updated @atlaskit/adf-schema to 34.0.1
|
|
378
384
|
|
|
379
385
|
## 0.1.5
|
|
380
386
|
|
|
381
387
|
### Patch Changes
|
|
382
388
|
|
|
383
|
-
-
|
|
384
|
-
|
|
385
|
-
|
|
389
|
+
- [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
|
|
390
|
+
[`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) - ED-20971
|
|
391
|
+
Upgrade adf-schema package to ^34.0.0
|
|
386
392
|
|
|
387
393
|
## 0.1.4
|
|
388
394
|
|
|
389
395
|
### Patch Changes
|
|
390
396
|
|
|
391
|
-
-
|
|
397
|
+
- Updated dependencies
|
|
392
398
|
|
|
393
399
|
## 0.1.3
|
|
394
400
|
|
|
395
401
|
### Patch Changes
|
|
396
402
|
|
|
397
|
-
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
-
|
|
403
|
+
- [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
|
|
404
|
+
[`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) - ED-20763
|
|
405
|
+
Upgrade ADF schema version to 33.2.3 for MBE nodes.
|
|
406
|
+
- Updated dependencies
|
|
401
407
|
|
|
402
408
|
## 0.1.2
|
|
403
409
|
|
|
404
410
|
### Patch Changes
|
|
405
411
|
|
|
406
|
-
-
|
|
412
|
+
- Updated dependencies
|
|
407
413
|
|
|
408
414
|
## 0.1.1
|
|
409
415
|
|
|
410
416
|
### Patch Changes
|
|
411
417
|
|
|
412
|
-
-
|
|
418
|
+
- Updated dependencies
|
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
|
-
|
|
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
|
|
11
|
-
|
|
12
|
-
|
|
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/dist/types/index.d.ts
CHANGED
package/dist/types/types.d.ts
CHANGED
|
@@ -5,10 +5,7 @@ import type { TextColorPluginConfig, TextColorPluginState } from './pm-plugins/m
|
|
|
5
5
|
type Config = TextColorPluginConfig | boolean;
|
|
6
6
|
export type TextColorPlugin = NextEditorPlugin<'textColor', {
|
|
7
7
|
pluginConfiguration: Config | undefined;
|
|
8
|
-
dependencies: [
|
|
9
|
-
OptionalPlugin<AnalyticsPlugin>,
|
|
10
|
-
OptionalPlugin<PrimaryToolbarPlugin>
|
|
11
|
-
];
|
|
8
|
+
dependencies: [OptionalPlugin<AnalyticsPlugin>, OptionalPlugin<PrimaryToolbarPlugin>];
|
|
12
9
|
actions: {
|
|
13
10
|
changeColor: (color: string) => Command;
|
|
14
11
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-text-color",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "Text color plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/adf-schema": "^36.10.7",
|
|
37
|
-
"@atlaskit/editor-common": "^
|
|
37
|
+
"@atlaskit/editor-common": "^82.0.0",
|
|
38
38
|
"@atlaskit/editor-palette": "1.6.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^1.2.0",
|
|
40
40
|
"@atlaskit/editor-plugin-primary-toolbar": "^1.1.0",
|
|
41
41
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
42
|
-
"@atlaskit/editor-shared-styles": "^2.
|
|
42
|
+
"@atlaskit/editor-shared-styles": "^2.12.0",
|
|
43
43
|
"@atlaskit/editor-tables": "^2.7.0",
|
|
44
44
|
"@atlaskit/icon": "^22.3.0",
|
|
45
45
|
"@atlaskit/theme": "^12.8.0",
|
|
@@ -54,7 +54,6 @@
|
|
|
54
54
|
"@af/visual-regression": "*",
|
|
55
55
|
"@atlaskit/ssr": "*",
|
|
56
56
|
"@atlaskit/visual-regression": "*",
|
|
57
|
-
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
58
57
|
"@testing-library/react": "^12.1.5",
|
|
59
58
|
"react-dom": "^16.8.0",
|
|
60
59
|
"typescript": "~5.4.2",
|
|
@@ -92,6 +91,5 @@
|
|
|
92
91
|
"import-no-extraneous-disable-for-examples-and-docs"
|
|
93
92
|
]
|
|
94
93
|
}
|
|
95
|
-
}
|
|
96
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
|
|
94
|
+
}
|
|
97
95
|
}
|
package/report.api.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## API Report File for "@atlaskit/editor-plugin-text-color"
|
|
4
4
|
|
|
5
|
-
> Do not edit this file. This report is auto-generated using
|
|
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,21 +27,21 @@ type Config = TextColorPluginConfig | boolean;
|
|
|
26
27
|
|
|
27
28
|
// @public (undocumented)
|
|
28
29
|
type TextColorDefaultColor = {
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
color: string;
|
|
31
|
+
label: string;
|
|
31
32
|
};
|
|
32
33
|
|
|
33
34
|
// @public (undocumented)
|
|
34
35
|
export type TextColorPlugin = NextEditorPlugin<
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
36
|
+
'textColor',
|
|
37
|
+
{
|
|
38
|
+
pluginConfiguration: Config | undefined;
|
|
39
|
+
dependencies: TextColorPluginDependencies;
|
|
40
|
+
actions: {
|
|
41
|
+
changeColor: (color: string) => Command;
|
|
42
|
+
};
|
|
43
|
+
sharedState: TextColorPluginState | undefined;
|
|
44
|
+
}
|
|
44
45
|
>;
|
|
45
46
|
|
|
46
47
|
// @public (undocumented)
|
|
@@ -48,8 +49,8 @@ export const textColorPlugin: TextColorPlugin;
|
|
|
48
49
|
|
|
49
50
|
// @public (undocumented)
|
|
50
51
|
export interface TextColorPluginConfig {
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
// (undocumented)
|
|
53
|
+
defaultColor?: TextColorDefaultColor;
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
// @public (undocumented)
|
|
@@ -57,10 +58,10 @@ type TextColorPluginDependencies = [OptionalPlugin<AnalyticsPlugin>];
|
|
|
57
58
|
|
|
58
59
|
// @public (undocumented)
|
|
59
60
|
export type TextColorPluginState = {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
palette: Array<PaletteColor>;
|
|
62
|
+
defaultColor: string;
|
|
63
|
+
disabled?: boolean;
|
|
64
|
+
color: null | string;
|
|
64
65
|
};
|
|
65
66
|
|
|
66
67
|
// (No @packageDocumentation comment for this package)
|
|
@@ -74,8 +75,8 @@ export type TextColorPluginState = {
|
|
|
74
75
|
|
|
75
76
|
```json
|
|
76
77
|
{
|
|
77
|
-
|
|
78
|
-
|
|
78
|
+
"react": "^16.8.0",
|
|
79
|
+
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
79
80
|
}
|
|
80
81
|
```
|
|
81
82
|
|