@atlaskit/editor-plugin-emoji 1.3.2 → 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 +12 -12
- package/CHANGELOG.md +181 -175
- package/LICENSE.md +6 -8
- package/dist/cjs/nodeviews/emoji.js +9 -5
- package/dist/cjs/ui/Emoji/index.js +1 -1
- package/dist/es2019/nodeviews/emoji.js +9 -5
- package/dist/es2019/ui/Emoji/index.js +2 -2
- package/dist/esm/nodeviews/emoji.js +9 -5
- package/dist/esm/ui/Emoji/index.js +1 -1
- package/package.json +3 -5
- package/report.api.md +24 -26
package/.eslintrc.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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,477 +1,483 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-emoji
|
|
2
2
|
|
|
3
|
+
## 1.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 1.3.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
-
|
|
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
|
|
11
17
|
|
|
12
18
|
## 1.3.1
|
|
13
19
|
|
|
14
20
|
### Patch Changes
|
|
15
21
|
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
|
19
25
|
|
|
20
26
|
## 1.3.0
|
|
21
27
|
|
|
22
28
|
### Minor Changes
|
|
23
29
|
|
|
24
|
-
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
|
27
33
|
|
|
28
34
|
### Patch Changes
|
|
29
35
|
|
|
30
|
-
-
|
|
36
|
+
- Updated dependencies
|
|
31
37
|
|
|
32
38
|
## 1.2.7
|
|
33
39
|
|
|
34
40
|
### Patch Changes
|
|
35
41
|
|
|
36
|
-
-
|
|
42
|
+
- Updated dependencies
|
|
37
43
|
|
|
38
44
|
## 1.2.6
|
|
39
45
|
|
|
40
46
|
### Patch Changes
|
|
41
47
|
|
|
42
|
-
-
|
|
43
|
-
|
|
44
|
-
|
|
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
|
|
45
51
|
|
|
46
52
|
## 1.2.5
|
|
47
53
|
|
|
48
54
|
### Patch Changes
|
|
49
55
|
|
|
50
|
-
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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
|
|
55
61
|
|
|
56
62
|
## 1.2.4
|
|
57
63
|
|
|
58
64
|
### Patch Changes
|
|
59
65
|
|
|
60
|
-
-
|
|
66
|
+
- Updated dependencies
|
|
61
67
|
|
|
62
68
|
## 1.2.3
|
|
63
69
|
|
|
64
70
|
### Patch Changes
|
|
65
71
|
|
|
66
|
-
-
|
|
67
|
-
|
|
68
|
-
|
|
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
|
|
69
75
|
|
|
70
76
|
## 1.2.2
|
|
71
77
|
|
|
72
78
|
### Patch Changes
|
|
73
79
|
|
|
74
|
-
-
|
|
75
|
-
|
|
76
|
-
|
|
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
|
|
77
83
|
|
|
78
84
|
## 1.2.1
|
|
79
85
|
|
|
80
86
|
### Patch Changes
|
|
81
87
|
|
|
82
|
-
-
|
|
83
|
-
|
|
84
|
-
|
|
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
|
|
85
91
|
|
|
86
92
|
## 1.2.0
|
|
87
93
|
|
|
88
94
|
### Minor Changes
|
|
89
95
|
|
|
90
|
-
-
|
|
91
|
-
|
|
92
|
-
|
|
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
|
|
93
99
|
|
|
94
100
|
### Patch Changes
|
|
95
101
|
|
|
96
|
-
-
|
|
102
|
+
- Updated dependencies
|
|
97
103
|
|
|
98
104
|
## 1.1.13
|
|
99
105
|
|
|
100
106
|
### Patch Changes
|
|
101
107
|
|
|
102
|
-
-
|
|
103
|
-
|
|
104
|
-
|
|
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
|
|
105
111
|
|
|
106
112
|
## 1.1.12
|
|
107
113
|
|
|
108
114
|
### Patch Changes
|
|
109
115
|
|
|
110
|
-
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
-
|
|
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
|
|
114
120
|
|
|
115
121
|
## 1.1.11
|
|
116
122
|
|
|
117
123
|
### Patch Changes
|
|
118
124
|
|
|
119
|
-
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
125
|
+
- [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724)
|
|
126
|
+
[`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) -
|
|
127
|
+
[ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from
|
|
128
|
+
35.7.0 to 35.8.0
|
|
123
129
|
|
|
124
130
|
## 1.1.10
|
|
125
131
|
|
|
126
132
|
### Patch Changes
|
|
127
133
|
|
|
128
|
-
-
|
|
129
|
-
|
|
130
|
-
|
|
134
|
+
- [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777)
|
|
135
|
+
[`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) -
|
|
136
|
+
Bump adf-schema to 35.7.0
|
|
131
137
|
|
|
132
138
|
## 1.1.9
|
|
133
139
|
|
|
134
140
|
### Patch Changes
|
|
135
141
|
|
|
136
|
-
-
|
|
137
|
-
|
|
138
|
-
|
|
142
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
143
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
144
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
139
145
|
|
|
140
146
|
## 1.1.8
|
|
141
147
|
|
|
142
148
|
### Patch Changes
|
|
143
149
|
|
|
144
|
-
-
|
|
145
|
-
|
|
146
|
-
|
|
150
|
+
- [#80679](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80679)
|
|
151
|
+
[`104eb9443b7e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/104eb9443b7e) -
|
|
152
|
+
ED-22553 Updating adf-schema version to 35.6.0
|
|
147
153
|
|
|
148
154
|
## 1.1.7
|
|
149
155
|
|
|
150
156
|
### Patch Changes
|
|
151
157
|
|
|
152
|
-
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
-
|
|
158
|
+
- [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224)
|
|
159
|
+
[`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) -
|
|
160
|
+
ED-22219: adf-schema updated to 35.5.2
|
|
161
|
+
- Updated dependencies
|
|
156
162
|
|
|
157
163
|
## 1.1.6
|
|
158
164
|
|
|
159
165
|
### Patch Changes
|
|
160
166
|
|
|
161
|
-
-
|
|
162
|
-
|
|
163
|
-
|
|
167
|
+
- [#75482](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75482)
|
|
168
|
+
[`18b5a6fb910a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/18b5a6fb910a) - #
|
|
169
|
+
MAJOR CHANGE to `@atlaskit/prosemirror-input-rules` package.
|
|
164
170
|
|
|
165
|
-
|
|
171
|
+
## WHY?
|
|
166
172
|
|
|
167
|
-
|
|
173
|
+
Removing editor-common dependencies from prosemirror-input-rules package.
|
|
168
174
|
|
|
169
|
-
|
|
175
|
+
This makes it easier for editor updates because it simplifies our dependency graph.
|
|
170
176
|
|
|
171
|
-
|
|
177
|
+
## WHAT and HOW?
|
|
172
178
|
|
|
173
|
-
|
|
174
|
-
|
|
179
|
+
These are no longer available via `@atlaskit/prosemirror-input-rules` but are available from
|
|
180
|
+
`@atlaskit/editor-common/types`:
|
|
175
181
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
182
|
+
- InputRuleWrapper
|
|
183
|
+
- InputRuleHandler
|
|
184
|
+
- OnHandlerApply
|
|
185
|
+
- createRule
|
|
180
186
|
|
|
181
|
-
|
|
182
|
-
|
|
187
|
+
These have changed from a `SafePlugin` to a `SafePluginSpec`. In order to update your code you
|
|
188
|
+
need to instantiate a `SafePlugin` (ie. `new SafePlugin(createPlugin( ... ))`).
|
|
183
189
|
|
|
184
|
-
|
|
190
|
+
`SafePlugin` exists in `@atlaskit/editor-common/safe-plugin`.
|
|
185
191
|
|
|
186
|
-
|
|
187
|
-
|
|
192
|
+
- createPlugin
|
|
193
|
+
- createInputRulePlugin
|
|
188
194
|
|
|
189
|
-
-
|
|
195
|
+
- Updated dependencies
|
|
190
196
|
|
|
191
197
|
## 1.1.5
|
|
192
198
|
|
|
193
199
|
### Patch Changes
|
|
194
200
|
|
|
195
|
-
-
|
|
201
|
+
- Updated dependencies
|
|
196
202
|
|
|
197
203
|
## 1.1.4
|
|
198
204
|
|
|
199
205
|
### Patch Changes
|
|
200
206
|
|
|
201
|
-
-
|
|
207
|
+
- Updated dependencies
|
|
202
208
|
|
|
203
209
|
## 1.1.3
|
|
204
210
|
|
|
205
211
|
### Patch Changes
|
|
206
212
|
|
|
207
|
-
-
|
|
208
|
-
|
|
209
|
-
|
|
213
|
+
- [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
|
|
214
|
+
[`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
|
|
215
|
+
Upgrading @atlaskit/editor-prosemirror dependency
|
|
210
216
|
|
|
211
217
|
## 1.1.2
|
|
212
218
|
|
|
213
219
|
### Patch Changes
|
|
214
220
|
|
|
215
|
-
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
-
|
|
221
|
+
- [#71136](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71136)
|
|
222
|
+
[`c803fea1e6a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c803fea1e6a4) -
|
|
223
|
+
Move all plugin translations to editor-common
|
|
224
|
+
- Updated dependencies
|
|
219
225
|
|
|
220
226
|
## 1.1.1
|
|
221
227
|
|
|
222
228
|
### Patch Changes
|
|
223
229
|
|
|
224
|
-
-
|
|
225
|
-
|
|
226
|
-
|
|
230
|
+
- [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152)
|
|
231
|
+
[`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) -
|
|
232
|
+
Updating adf-schema version to 35.5.1
|
|
227
233
|
|
|
228
234
|
## 1.1.0
|
|
229
235
|
|
|
230
236
|
### Minor Changes
|
|
231
237
|
|
|
232
|
-
-
|
|
233
|
-
|
|
234
|
-
|
|
238
|
+
- [#68790](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68790)
|
|
239
|
+
[`c6d8affc52d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d8affc52d1) -
|
|
240
|
+
Support maybeAdd plugins in usePreset. Add typing support for universal preset.
|
|
235
241
|
|
|
236
|
-
|
|
242
|
+
Now when using the editor API with the universal preset
|
|
237
243
|
|
|
238
244
|
### Patch Changes
|
|
239
245
|
|
|
240
|
-
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
-
|
|
246
|
+
- [#69345](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69345)
|
|
247
|
+
[`9c8c65dfd75b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9c8c65dfd75b) -
|
|
248
|
+
migrating tests out of editor-plugin-emoji into editor-plugin-emoji-tests
|
|
249
|
+
- Updated dependencies
|
|
244
250
|
|
|
245
251
|
## 1.0.6
|
|
246
252
|
|
|
247
253
|
### Patch Changes
|
|
248
254
|
|
|
249
|
-
-
|
|
255
|
+
- Updated dependencies
|
|
250
256
|
|
|
251
257
|
## 1.0.5
|
|
252
258
|
|
|
253
259
|
### Patch Changes
|
|
254
260
|
|
|
255
|
-
-
|
|
256
|
-
|
|
257
|
-
|
|
261
|
+
- [#67238](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67238)
|
|
262
|
+
[`40533849b2ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40533849b2ec) -
|
|
263
|
+
[ED-21835] Change EditorAPI type to always union with undefined
|
|
258
264
|
|
|
259
265
|
## 1.0.4
|
|
260
266
|
|
|
261
267
|
### Patch Changes
|
|
262
268
|
|
|
263
|
-
-
|
|
264
|
-
|
|
265
|
-
|
|
269
|
+
- [#64647](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64647)
|
|
270
|
+
[`f2cd17119b76`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f2cd17119b76) -
|
|
271
|
+
[ECA11Y-15] Fixing screen reader announcement for Emoji
|
|
266
272
|
|
|
267
273
|
## 1.0.3
|
|
268
274
|
|
|
269
275
|
### Patch Changes
|
|
270
276
|
|
|
271
|
-
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
-
|
|
277
|
+
- [#65031](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65031)
|
|
278
|
+
[`a00094111b5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a00094111b5a) -
|
|
279
|
+
ED-21609 Update adf-schema to 35.3.0
|
|
280
|
+
- Updated dependencies
|
|
275
281
|
|
|
276
282
|
## 1.0.2
|
|
277
283
|
|
|
278
284
|
### Patch Changes
|
|
279
285
|
|
|
280
|
-
-
|
|
286
|
+
- Updated dependencies
|
|
281
287
|
|
|
282
288
|
## 1.0.1
|
|
283
289
|
|
|
284
290
|
### Patch Changes
|
|
285
291
|
|
|
286
|
-
-
|
|
287
|
-
|
|
288
|
-
|
|
292
|
+
- [#62165](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/62165)
|
|
293
|
+
[`b44ac0968d79`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b44ac0968d79) -
|
|
294
|
+
[ED-21562] Bump @atlaskit/adf-schema to 35.2.0 for border mark update
|
|
289
295
|
|
|
290
296
|
## 1.0.0
|
|
291
297
|
|
|
292
298
|
### Major Changes
|
|
293
299
|
|
|
294
|
-
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
300
|
+
- [#61337](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/61337)
|
|
301
|
+
[`2d827c1d6c40`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2d827c1d6c40) -
|
|
302
|
+
Remove emojiProvider property from the sharedState of the emoji plugin. This avoids a performance
|
|
303
|
+
degradation if the provider is not memoised. It can still be retrieved via the provider factory if
|
|
304
|
+
required internally.
|
|
299
305
|
|
|
300
306
|
## 0.4.12
|
|
301
307
|
|
|
302
308
|
### Patch Changes
|
|
303
309
|
|
|
304
|
-
-
|
|
305
|
-
|
|
306
|
-
|
|
310
|
+
- [#60808](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60808)
|
|
311
|
+
[`f509a21be124`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f509a21be124) -
|
|
312
|
+
ED-21506: @atlaskit/adf-schema upgraded to 35.1.1 to support renderer for MBE
|
|
307
313
|
|
|
308
314
|
## 0.4.11
|
|
309
315
|
|
|
310
316
|
### Patch Changes
|
|
311
317
|
|
|
312
|
-
-
|
|
313
|
-
|
|
314
|
-
|
|
318
|
+
- [#58246](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58246)
|
|
319
|
+
[`a381b2599716`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a381b2599716) -
|
|
320
|
+
ED-21371 Update adf-schema to 35.1.0
|
|
315
321
|
|
|
316
322
|
## 0.4.10
|
|
317
323
|
|
|
318
324
|
### Patch Changes
|
|
319
325
|
|
|
320
|
-
-
|
|
326
|
+
- Updated dependencies
|
|
321
327
|
|
|
322
328
|
## 0.4.9
|
|
323
329
|
|
|
324
330
|
### Patch Changes
|
|
325
331
|
|
|
326
|
-
-
|
|
332
|
+
- Updated dependencies
|
|
327
333
|
|
|
328
334
|
## 0.4.8
|
|
329
335
|
|
|
330
336
|
### Patch Changes
|
|
331
337
|
|
|
332
|
-
-
|
|
333
|
-
|
|
334
|
-
|
|
338
|
+
- [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
|
|
339
|
+
[`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
|
|
340
|
+
Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
|
|
335
341
|
|
|
336
342
|
## 0.4.7
|
|
337
343
|
|
|
338
344
|
### Patch Changes
|
|
339
345
|
|
|
340
|
-
-
|
|
341
|
-
|
|
342
|
-
|
|
346
|
+
- [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763)
|
|
347
|
+
[`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) -
|
|
348
|
+
update ADF schema
|
|
343
349
|
|
|
344
350
|
## 0.4.6
|
|
345
351
|
|
|
346
352
|
### Patch Changes
|
|
347
353
|
|
|
348
|
-
-
|
|
349
|
-
|
|
350
|
-
|
|
354
|
+
- [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790)
|
|
355
|
+
[`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) -
|
|
356
|
+
ED-21266: Updated @atlaskit/adf-schema to 34.0.1
|
|
351
357
|
|
|
352
358
|
## 0.4.5
|
|
353
359
|
|
|
354
360
|
### Patch Changes
|
|
355
361
|
|
|
356
|
-
-
|
|
357
|
-
|
|
358
|
-
|
|
362
|
+
- [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417)
|
|
363
|
+
[`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) - ED-20971
|
|
364
|
+
Upgrade adf-schema package to ^34.0.0
|
|
359
365
|
|
|
360
366
|
## 0.4.4
|
|
361
367
|
|
|
362
368
|
### Patch Changes
|
|
363
369
|
|
|
364
|
-
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
-
|
|
370
|
+
- [#43379](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43379)
|
|
371
|
+
[`482c025520d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/482c025520d) - ED-20763
|
|
372
|
+
Upgrade ADF schema version to 33.2.3 for MBE nodes.
|
|
373
|
+
- Updated dependencies
|
|
368
374
|
|
|
369
375
|
## 0.4.3
|
|
370
376
|
|
|
371
377
|
### Patch Changes
|
|
372
378
|
|
|
373
|
-
-
|
|
379
|
+
- Updated dependencies
|
|
374
380
|
|
|
375
381
|
## 0.4.2
|
|
376
382
|
|
|
377
383
|
### Patch Changes
|
|
378
384
|
|
|
379
|
-
-
|
|
385
|
+
- Updated dependencies
|
|
380
386
|
|
|
381
387
|
## 0.4.1
|
|
382
388
|
|
|
383
389
|
### Patch Changes
|
|
384
390
|
|
|
385
|
-
-
|
|
391
|
+
- Updated dependencies
|
|
386
392
|
|
|
387
393
|
## 0.4.0
|
|
388
394
|
|
|
389
395
|
### Minor Changes
|
|
390
396
|
|
|
391
|
-
-
|
|
392
|
-
|
|
393
|
-
|
|
397
|
+
- [#41143](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41143)
|
|
398
|
+
[`7d6dfe2befa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d6dfe2befa) -
|
|
399
|
+
[ED-20003] Replace TyepAhead API for Editor Plugin Injection API
|
|
394
400
|
|
|
395
401
|
### Patch Changes
|
|
396
402
|
|
|
397
|
-
-
|
|
403
|
+
- Updated dependencies
|
|
398
404
|
|
|
399
405
|
## 0.3.6
|
|
400
406
|
|
|
401
407
|
### Patch Changes
|
|
402
408
|
|
|
403
|
-
-
|
|
409
|
+
- Updated dependencies
|
|
404
410
|
|
|
405
411
|
## 0.3.5
|
|
406
412
|
|
|
407
413
|
### Patch Changes
|
|
408
414
|
|
|
409
|
-
-
|
|
410
|
-
|
|
411
|
-
|
|
415
|
+
- [#39749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39749)
|
|
416
|
+
[`e6b69f455c3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6b69f455c3) - Connect
|
|
417
|
+
yarn changeset to packages, upgrade adf-schema
|
|
412
418
|
|
|
413
419
|
## 0.3.4
|
|
414
420
|
|
|
415
421
|
### Patch Changes
|
|
416
422
|
|
|
417
|
-
-
|
|
423
|
+
- Updated dependencies
|
|
418
424
|
|
|
419
425
|
## 0.3.3
|
|
420
426
|
|
|
421
427
|
### Patch Changes
|
|
422
428
|
|
|
423
|
-
-
|
|
429
|
+
- Updated dependencies
|
|
424
430
|
|
|
425
431
|
## 0.3.2
|
|
426
432
|
|
|
427
433
|
### Patch Changes
|
|
428
434
|
|
|
429
|
-
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
-
|
|
433
|
-
|
|
434
|
-
-
|
|
435
|
-
|
|
435
|
+
- [#39481](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39481)
|
|
436
|
+
[`aeb5c9a01e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/aeb5c9a01e8) - Delete
|
|
437
|
+
adf-schema from AFE and rely on npm package for adf-schema
|
|
438
|
+
- [`dec85b34bcd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dec85b34bcd) - Delete
|
|
439
|
+
adf-schema package
|
|
440
|
+
- [`4b4dcfe0bba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4b4dcfe0bba) - Delete
|
|
441
|
+
adf-schema, use published version
|
|
436
442
|
|
|
437
443
|
## 0.3.1
|
|
438
444
|
|
|
439
445
|
### Patch Changes
|
|
440
446
|
|
|
441
|
-
-
|
|
447
|
+
- Updated dependencies
|
|
442
448
|
|
|
443
449
|
## 0.3.0
|
|
444
450
|
|
|
445
451
|
### Minor Changes
|
|
446
452
|
|
|
447
|
-
-
|
|
448
|
-
|
|
449
|
-
|
|
453
|
+
- [#39325](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39325)
|
|
454
|
+
[`ad3c5c21079`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad3c5c21079) - Updating
|
|
455
|
+
all plugins with minor version to correct issue with semver.
|
|
450
456
|
|
|
451
457
|
### Patch Changes
|
|
452
458
|
|
|
453
|
-
-
|
|
459
|
+
- Updated dependencies
|
|
454
460
|
|
|
455
461
|
## 0.2.0
|
|
456
462
|
|
|
457
463
|
### Minor Changes
|
|
458
464
|
|
|
459
|
-
-
|
|
460
|
-
|
|
461
|
-
|
|
465
|
+
- [#39154](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39154)
|
|
466
|
+
[`113fcc02759`](https://bitbucket.org/atlassian/atlassian-frontend/commits/113fcc02759) - ED-19433
|
|
467
|
+
Extract Emoji Plugin to its own package
|
|
462
468
|
|
|
463
469
|
## 0.1.2
|
|
464
470
|
|
|
465
471
|
### Patch Changes
|
|
466
472
|
|
|
467
|
-
-
|
|
468
|
-
|
|
469
|
-
|
|
473
|
+
- [#39177](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39177)
|
|
474
|
+
[`24e27147cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/24e27147cbd) - Added
|
|
475
|
+
atlaskit docs to all existing plugins.
|
|
470
476
|
|
|
471
477
|
## 0.1.1
|
|
472
478
|
|
|
473
479
|
### Patch Changes
|
|
474
480
|
|
|
475
|
-
-
|
|
476
|
-
|
|
477
|
-
|
|
481
|
+
- [#39095](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39095)
|
|
482
|
+
[`2b28c870854`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2b28c870854) - Adding
|
|
483
|
+
mssing dependencies to build the package
|
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.
|
|
@@ -12,11 +12,15 @@ var _Emoji = _interopRequireDefault(require("../ui/Emoji"));
|
|
|
12
12
|
var EmojiAssistiveTextComponent = /*#__PURE__*/_react.default.memo(function (_ref) {
|
|
13
13
|
var emojiShortName = _ref.emojiShortName;
|
|
14
14
|
var intl = (0, _reactIntlNext.useIntl)();
|
|
15
|
-
return
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
return (
|
|
16
|
+
/*#__PURE__*/
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
18
|
+
_react.default.createElement("span", {
|
|
19
|
+
style: {
|
|
20
|
+
fontSize: 0
|
|
21
|
+
}
|
|
22
|
+
}, "".concat(intl.formatMessage(_emoji.messages.emojiNodeLabel), " ").concat(emojiShortName))
|
|
23
|
+
);
|
|
20
24
|
});
|
|
21
25
|
function EmojiNodeView(props) {
|
|
22
26
|
var _props$node$attrs = props.node.attrs,
|
|
@@ -11,7 +11,7 @@ var _emoji = require("@atlaskit/editor-common/emoji");
|
|
|
11
11
|
var _templateObject;
|
|
12
12
|
/** @jsx jsx */
|
|
13
13
|
// eslint-disable-next-line
|
|
14
|
-
var clickSelectWrapperStyle = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n
|
|
14
|
+
var clickSelectWrapperStyle = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage\n\tuser-select: all;\n"])));
|
|
15
15
|
function EmojiNode(props) {
|
|
16
16
|
return (0, _react.jsx)("span", {
|
|
17
17
|
css: clickSelectWrapperStyle
|
|
@@ -6,11 +6,15 @@ const EmojiAssistiveTextComponent = /*#__PURE__*/React.memo(({
|
|
|
6
6
|
emojiShortName
|
|
7
7
|
}) => {
|
|
8
8
|
const intl = useIntl();
|
|
9
|
-
return
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
return (
|
|
10
|
+
/*#__PURE__*/
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
12
|
+
React.createElement("span", {
|
|
13
|
+
style: {
|
|
14
|
+
fontSize: 0
|
|
15
|
+
}
|
|
16
|
+
}, `${intl.formatMessage(messages.emojiNodeLabel)} ${emojiShortName}`)
|
|
17
|
+
);
|
|
14
18
|
});
|
|
15
19
|
export function EmojiNodeView(props) {
|
|
16
20
|
const {
|
|
@@ -3,8 +3,8 @@ import { css, jsx } from '@emotion/react';
|
|
|
3
3
|
import { Emoji } from '@atlaskit/editor-common/emoji';
|
|
4
4
|
// eslint-disable-next-line
|
|
5
5
|
const clickSelectWrapperStyle = css`
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
7
|
+
user-select: all;
|
|
8
8
|
`;
|
|
9
9
|
export default function EmojiNode(props) {
|
|
10
10
|
return jsx("span", {
|
|
@@ -5,11 +5,15 @@ import Emoji from '../ui/Emoji';
|
|
|
5
5
|
var EmojiAssistiveTextComponent = /*#__PURE__*/React.memo(function (_ref) {
|
|
6
6
|
var emojiShortName = _ref.emojiShortName;
|
|
7
7
|
var intl = useIntl();
|
|
8
|
-
return
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
return (
|
|
9
|
+
/*#__PURE__*/
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
11
|
+
React.createElement("span", {
|
|
12
|
+
style: {
|
|
13
|
+
fontSize: 0
|
|
14
|
+
}
|
|
15
|
+
}, "".concat(intl.formatMessage(messages.emojiNodeLabel), " ").concat(emojiShortName))
|
|
16
|
+
);
|
|
13
17
|
});
|
|
14
18
|
export function EmojiNodeView(props) {
|
|
15
19
|
var _props$node$attrs = props.node.attrs,
|
|
@@ -4,7 +4,7 @@ var _templateObject;
|
|
|
4
4
|
import { css, jsx } from '@emotion/react';
|
|
5
5
|
import { Emoji } from '@atlaskit/editor-common/emoji';
|
|
6
6
|
// eslint-disable-next-line
|
|
7
|
-
var clickSelectWrapperStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n
|
|
7
|
+
var clickSelectWrapperStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage\n\tuser-select: all;\n"])));
|
|
8
8
|
export default function EmojiNode(props) {
|
|
9
9
|
return jsx("span", {
|
|
10
10
|
css: clickSelectWrapperStyle
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-emoji",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"description": "Emoji plugin for @atlaskit/editor-core",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@atlaskit/adf-schema": "^36.10.7",
|
|
25
|
-
"@atlaskit/editor-common": "^
|
|
25
|
+
"@atlaskit/editor-common": "^82.0.0",
|
|
26
26
|
"@atlaskit/editor-plugin-analytics": "^1.2.0",
|
|
27
27
|
"@atlaskit/editor-plugin-type-ahead": "^1.2.0",
|
|
28
28
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
"@atlaskit/ssr": "*",
|
|
43
43
|
"@atlaskit/util-data-test": "^17.9.0",
|
|
44
44
|
"@atlaskit/visual-regression": "*",
|
|
45
|
-
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
46
45
|
"@testing-library/react": "^12.1.5",
|
|
47
46
|
"react-dom": "^16.8.0",
|
|
48
47
|
"typescript": "~5.4.2",
|
|
@@ -91,6 +90,5 @@
|
|
|
91
90
|
},
|
|
92
91
|
"af:exports": {
|
|
93
92
|
".": "./src/index.ts"
|
|
94
|
-
}
|
|
95
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
|
|
93
|
+
}
|
|
96
94
|
}
|
package/report.api.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## API Report File for "@atlaskit/editor-plugin-emoji"
|
|
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
|
|
@@ -30,24 +31,21 @@ import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
|
|
|
30
31
|
|
|
31
32
|
// @public (undocumented)
|
|
32
33
|
export type EmojiPlugin = NextEditorPlugin<
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
openTypeAhead: (inputMethod: TypeAheadInputMethod) => boolean;
|
|
49
|
-
};
|
|
50
|
-
}
|
|
34
|
+
'emoji',
|
|
35
|
+
{
|
|
36
|
+
pluginConfiguration: EmojiPluginOptions | undefined;
|
|
37
|
+
dependencies: [OptionalPlugin<AnalyticsPlugin>, TypeAheadPlugin];
|
|
38
|
+
sharedState: EmojiPluginSharedState | undefined;
|
|
39
|
+
commands: {
|
|
40
|
+
insertEmoji: (
|
|
41
|
+
emojiId: EmojiId,
|
|
42
|
+
inputMethod?: INPUT_METHOD.ASCII | INPUT_METHOD.PICKER | INPUT_METHOD.TYPEAHEAD,
|
|
43
|
+
) => EditorCommand;
|
|
44
|
+
};
|
|
45
|
+
actions: {
|
|
46
|
+
openTypeAhead: (inputMethod: TypeAheadInputMethod) => boolean;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
51
49
|
>;
|
|
52
50
|
|
|
53
51
|
// @public
|
|
@@ -55,20 +53,20 @@ export const emojiPlugin: EmojiPlugin;
|
|
|
55
53
|
|
|
56
54
|
// @public (undocumented)
|
|
57
55
|
export interface EmojiPluginOptions {
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
// (undocumented)
|
|
57
|
+
headless?: boolean;
|
|
60
58
|
}
|
|
61
59
|
|
|
62
60
|
// @public (undocumented)
|
|
63
61
|
type EmojiPluginSharedState = EmojiPluginState & {
|
|
64
|
-
|
|
62
|
+
typeAheadHandler: TypeAheadHandler;
|
|
65
63
|
};
|
|
66
64
|
|
|
67
65
|
// @public (undocumented)
|
|
68
66
|
export type EmojiPluginState = {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
67
|
+
emojiProvider?: EmojiProvider;
|
|
68
|
+
emojiResourceConfig?: EmojiResourceConfig;
|
|
69
|
+
asciiMap?: Map<string, EmojiDescription>;
|
|
72
70
|
};
|
|
73
71
|
|
|
74
72
|
// (No @packageDocumentation comment for this package)
|
|
@@ -82,7 +80,7 @@ export type EmojiPluginState = {
|
|
|
82
80
|
|
|
83
81
|
```json
|
|
84
82
|
{
|
|
85
|
-
|
|
83
|
+
"react": "^16.8.0"
|
|
86
84
|
}
|
|
87
85
|
```
|
|
88
86
|
|