@atlaskit/editor-plugin-emoji 1.3.1 → 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 +186 -171
- 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 +4 -6
- 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,468 +1,483 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-emoji
|
|
2
2
|
|
|
3
|
+
## 1.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 1.3.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
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
|
|
17
|
+
|
|
3
18
|
## 1.3.1
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
6
21
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
|
10
25
|
|
|
11
26
|
## 1.3.0
|
|
12
27
|
|
|
13
28
|
### Minor Changes
|
|
14
29
|
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
|
18
33
|
|
|
19
34
|
### Patch Changes
|
|
20
35
|
|
|
21
|
-
-
|
|
36
|
+
- Updated dependencies
|
|
22
37
|
|
|
23
38
|
## 1.2.7
|
|
24
39
|
|
|
25
40
|
### Patch Changes
|
|
26
41
|
|
|
27
|
-
-
|
|
42
|
+
- Updated dependencies
|
|
28
43
|
|
|
29
44
|
## 1.2.6
|
|
30
45
|
|
|
31
46
|
### Patch Changes
|
|
32
47
|
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
|
36
51
|
|
|
37
52
|
## 1.2.5
|
|
38
53
|
|
|
39
54
|
### Patch Changes
|
|
40
55
|
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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
|
|
46
61
|
|
|
47
62
|
## 1.2.4
|
|
48
63
|
|
|
49
64
|
### Patch Changes
|
|
50
65
|
|
|
51
|
-
-
|
|
66
|
+
- Updated dependencies
|
|
52
67
|
|
|
53
68
|
## 1.2.3
|
|
54
69
|
|
|
55
70
|
### Patch Changes
|
|
56
71
|
|
|
57
|
-
-
|
|
58
|
-
|
|
59
|
-
|
|
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
|
|
60
75
|
|
|
61
76
|
## 1.2.2
|
|
62
77
|
|
|
63
78
|
### Patch Changes
|
|
64
79
|
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
|
|
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
|
|
68
83
|
|
|
69
84
|
## 1.2.1
|
|
70
85
|
|
|
71
86
|
### Patch Changes
|
|
72
87
|
|
|
73
|
-
-
|
|
74
|
-
|
|
75
|
-
|
|
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
|
|
76
91
|
|
|
77
92
|
## 1.2.0
|
|
78
93
|
|
|
79
94
|
### Minor Changes
|
|
80
95
|
|
|
81
|
-
-
|
|
82
|
-
|
|
83
|
-
|
|
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
|
|
84
99
|
|
|
85
100
|
### Patch Changes
|
|
86
101
|
|
|
87
|
-
-
|
|
102
|
+
- Updated dependencies
|
|
88
103
|
|
|
89
104
|
## 1.1.13
|
|
90
105
|
|
|
91
106
|
### Patch Changes
|
|
92
107
|
|
|
93
|
-
-
|
|
94
|
-
|
|
95
|
-
|
|
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
|
|
96
111
|
|
|
97
112
|
## 1.1.12
|
|
98
113
|
|
|
99
114
|
### Patch Changes
|
|
100
115
|
|
|
101
|
-
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
-
|
|
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
|
|
105
120
|
|
|
106
121
|
## 1.1.11
|
|
107
122
|
|
|
108
123
|
### Patch Changes
|
|
109
124
|
|
|
110
|
-
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
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
|
|
114
129
|
|
|
115
130
|
## 1.1.10
|
|
116
131
|
|
|
117
132
|
### Patch Changes
|
|
118
133
|
|
|
119
|
-
-
|
|
120
|
-
|
|
121
|
-
|
|
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
|
|
122
137
|
|
|
123
138
|
## 1.1.9
|
|
124
139
|
|
|
125
140
|
### Patch Changes
|
|
126
141
|
|
|
127
|
-
-
|
|
128
|
-
|
|
129
|
-
|
|
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`
|
|
130
145
|
|
|
131
146
|
## 1.1.8
|
|
132
147
|
|
|
133
148
|
### Patch Changes
|
|
134
149
|
|
|
135
|
-
-
|
|
136
|
-
|
|
137
|
-
|
|
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
|
|
138
153
|
|
|
139
154
|
## 1.1.7
|
|
140
155
|
|
|
141
156
|
### Patch Changes
|
|
142
157
|
|
|
143
|
-
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
-
|
|
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
|
|
147
162
|
|
|
148
163
|
## 1.1.6
|
|
149
164
|
|
|
150
165
|
### Patch Changes
|
|
151
166
|
|
|
152
|
-
-
|
|
153
|
-
|
|
154
|
-
|
|
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.
|
|
155
170
|
|
|
156
|
-
|
|
171
|
+
## WHY?
|
|
157
172
|
|
|
158
|
-
|
|
173
|
+
Removing editor-common dependencies from prosemirror-input-rules package.
|
|
159
174
|
|
|
160
|
-
|
|
175
|
+
This makes it easier for editor updates because it simplifies our dependency graph.
|
|
161
176
|
|
|
162
|
-
|
|
177
|
+
## WHAT and HOW?
|
|
163
178
|
|
|
164
|
-
|
|
165
|
-
|
|
179
|
+
These are no longer available via `@atlaskit/prosemirror-input-rules` but are available from
|
|
180
|
+
`@atlaskit/editor-common/types`:
|
|
166
181
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
182
|
+
- InputRuleWrapper
|
|
183
|
+
- InputRuleHandler
|
|
184
|
+
- OnHandlerApply
|
|
185
|
+
- createRule
|
|
171
186
|
|
|
172
|
-
|
|
173
|
-
|
|
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( ... ))`).
|
|
174
189
|
|
|
175
|
-
|
|
190
|
+
`SafePlugin` exists in `@atlaskit/editor-common/safe-plugin`.
|
|
176
191
|
|
|
177
|
-
|
|
178
|
-
|
|
192
|
+
- createPlugin
|
|
193
|
+
- createInputRulePlugin
|
|
179
194
|
|
|
180
|
-
-
|
|
195
|
+
- Updated dependencies
|
|
181
196
|
|
|
182
197
|
## 1.1.5
|
|
183
198
|
|
|
184
199
|
### Patch Changes
|
|
185
200
|
|
|
186
|
-
-
|
|
201
|
+
- Updated dependencies
|
|
187
202
|
|
|
188
203
|
## 1.1.4
|
|
189
204
|
|
|
190
205
|
### Patch Changes
|
|
191
206
|
|
|
192
|
-
-
|
|
207
|
+
- Updated dependencies
|
|
193
208
|
|
|
194
209
|
## 1.1.3
|
|
195
210
|
|
|
196
211
|
### Patch Changes
|
|
197
212
|
|
|
198
|
-
-
|
|
199
|
-
|
|
200
|
-
|
|
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
|
|
201
216
|
|
|
202
217
|
## 1.1.2
|
|
203
218
|
|
|
204
219
|
### Patch Changes
|
|
205
220
|
|
|
206
|
-
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
-
|
|
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
|
|
210
225
|
|
|
211
226
|
## 1.1.1
|
|
212
227
|
|
|
213
228
|
### Patch Changes
|
|
214
229
|
|
|
215
|
-
-
|
|
216
|
-
|
|
217
|
-
|
|
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
|
|
218
233
|
|
|
219
234
|
## 1.1.0
|
|
220
235
|
|
|
221
236
|
### Minor Changes
|
|
222
237
|
|
|
223
|
-
-
|
|
224
|
-
|
|
225
|
-
|
|
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.
|
|
226
241
|
|
|
227
|
-
|
|
242
|
+
Now when using the editor API with the universal preset
|
|
228
243
|
|
|
229
244
|
### Patch Changes
|
|
230
245
|
|
|
231
|
-
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
-
|
|
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
|
|
235
250
|
|
|
236
251
|
## 1.0.6
|
|
237
252
|
|
|
238
253
|
### Patch Changes
|
|
239
254
|
|
|
240
|
-
-
|
|
255
|
+
- Updated dependencies
|
|
241
256
|
|
|
242
257
|
## 1.0.5
|
|
243
258
|
|
|
244
259
|
### Patch Changes
|
|
245
260
|
|
|
246
|
-
-
|
|
247
|
-
|
|
248
|
-
|
|
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
|
|
249
264
|
|
|
250
265
|
## 1.0.4
|
|
251
266
|
|
|
252
267
|
### Patch Changes
|
|
253
268
|
|
|
254
|
-
-
|
|
255
|
-
|
|
256
|
-
|
|
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
|
|
257
272
|
|
|
258
273
|
## 1.0.3
|
|
259
274
|
|
|
260
275
|
### Patch Changes
|
|
261
276
|
|
|
262
|
-
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
-
|
|
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
|
|
266
281
|
|
|
267
282
|
## 1.0.2
|
|
268
283
|
|
|
269
284
|
### Patch Changes
|
|
270
285
|
|
|
271
|
-
-
|
|
286
|
+
- Updated dependencies
|
|
272
287
|
|
|
273
288
|
## 1.0.1
|
|
274
289
|
|
|
275
290
|
### Patch Changes
|
|
276
291
|
|
|
277
|
-
-
|
|
278
|
-
|
|
279
|
-
|
|
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
|
|
280
295
|
|
|
281
296
|
## 1.0.0
|
|
282
297
|
|
|
283
298
|
### Major Changes
|
|
284
299
|
|
|
285
|
-
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
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.
|
|
290
305
|
|
|
291
306
|
## 0.4.12
|
|
292
307
|
|
|
293
308
|
### Patch Changes
|
|
294
309
|
|
|
295
|
-
-
|
|
296
|
-
|
|
297
|
-
|
|
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
|
|
298
313
|
|
|
299
314
|
## 0.4.11
|
|
300
315
|
|
|
301
316
|
### Patch Changes
|
|
302
317
|
|
|
303
|
-
-
|
|
304
|
-
|
|
305
|
-
|
|
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
|
|
306
321
|
|
|
307
322
|
## 0.4.10
|
|
308
323
|
|
|
309
324
|
### Patch Changes
|
|
310
325
|
|
|
311
|
-
-
|
|
326
|
+
- Updated dependencies
|
|
312
327
|
|
|
313
328
|
## 0.4.9
|
|
314
329
|
|
|
315
330
|
### Patch Changes
|
|
316
331
|
|
|
317
|
-
-
|
|
332
|
+
- Updated dependencies
|
|
318
333
|
|
|
319
334
|
## 0.4.8
|
|
320
335
|
|
|
321
336
|
### Patch Changes
|
|
322
337
|
|
|
323
|
-
-
|
|
324
|
-
|
|
325
|
-
|
|
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).
|
|
326
341
|
|
|
327
342
|
## 0.4.7
|
|
328
343
|
|
|
329
344
|
### Patch Changes
|
|
330
345
|
|
|
331
|
-
-
|
|
332
|
-
|
|
333
|
-
|
|
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
|
|
334
349
|
|
|
335
350
|
## 0.4.6
|
|
336
351
|
|
|
337
352
|
### Patch Changes
|
|
338
353
|
|
|
339
|
-
-
|
|
340
|
-
|
|
341
|
-
|
|
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
|
|
342
357
|
|
|
343
358
|
## 0.4.5
|
|
344
359
|
|
|
345
360
|
### Patch Changes
|
|
346
361
|
|
|
347
|
-
-
|
|
348
|
-
|
|
349
|
-
|
|
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
|
|
350
365
|
|
|
351
366
|
## 0.4.4
|
|
352
367
|
|
|
353
368
|
### Patch Changes
|
|
354
369
|
|
|
355
|
-
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
-
|
|
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
|
|
359
374
|
|
|
360
375
|
## 0.4.3
|
|
361
376
|
|
|
362
377
|
### Patch Changes
|
|
363
378
|
|
|
364
|
-
-
|
|
379
|
+
- Updated dependencies
|
|
365
380
|
|
|
366
381
|
## 0.4.2
|
|
367
382
|
|
|
368
383
|
### Patch Changes
|
|
369
384
|
|
|
370
|
-
-
|
|
385
|
+
- Updated dependencies
|
|
371
386
|
|
|
372
387
|
## 0.4.1
|
|
373
388
|
|
|
374
389
|
### Patch Changes
|
|
375
390
|
|
|
376
|
-
-
|
|
391
|
+
- Updated dependencies
|
|
377
392
|
|
|
378
393
|
## 0.4.0
|
|
379
394
|
|
|
380
395
|
### Minor Changes
|
|
381
396
|
|
|
382
|
-
-
|
|
383
|
-
|
|
384
|
-
|
|
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
|
|
385
400
|
|
|
386
401
|
### Patch Changes
|
|
387
402
|
|
|
388
|
-
-
|
|
403
|
+
- Updated dependencies
|
|
389
404
|
|
|
390
405
|
## 0.3.6
|
|
391
406
|
|
|
392
407
|
### Patch Changes
|
|
393
408
|
|
|
394
|
-
-
|
|
409
|
+
- Updated dependencies
|
|
395
410
|
|
|
396
411
|
## 0.3.5
|
|
397
412
|
|
|
398
413
|
### Patch Changes
|
|
399
414
|
|
|
400
|
-
-
|
|
401
|
-
|
|
402
|
-
|
|
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
|
|
403
418
|
|
|
404
419
|
## 0.3.4
|
|
405
420
|
|
|
406
421
|
### Patch Changes
|
|
407
422
|
|
|
408
|
-
-
|
|
423
|
+
- Updated dependencies
|
|
409
424
|
|
|
410
425
|
## 0.3.3
|
|
411
426
|
|
|
412
427
|
### Patch Changes
|
|
413
428
|
|
|
414
|
-
-
|
|
429
|
+
- Updated dependencies
|
|
415
430
|
|
|
416
431
|
## 0.3.2
|
|
417
432
|
|
|
418
433
|
### Patch Changes
|
|
419
434
|
|
|
420
|
-
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
-
|
|
424
|
-
|
|
425
|
-
-
|
|
426
|
-
|
|
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
|
|
427
442
|
|
|
428
443
|
## 0.3.1
|
|
429
444
|
|
|
430
445
|
### Patch Changes
|
|
431
446
|
|
|
432
|
-
-
|
|
447
|
+
- Updated dependencies
|
|
433
448
|
|
|
434
449
|
## 0.3.0
|
|
435
450
|
|
|
436
451
|
### Minor Changes
|
|
437
452
|
|
|
438
|
-
-
|
|
439
|
-
|
|
440
|
-
|
|
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.
|
|
441
456
|
|
|
442
457
|
### Patch Changes
|
|
443
458
|
|
|
444
|
-
-
|
|
459
|
+
- Updated dependencies
|
|
445
460
|
|
|
446
461
|
## 0.2.0
|
|
447
462
|
|
|
448
463
|
### Minor Changes
|
|
449
464
|
|
|
450
|
-
-
|
|
451
|
-
|
|
452
|
-
|
|
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
|
|
453
468
|
|
|
454
469
|
## 0.1.2
|
|
455
470
|
|
|
456
471
|
### Patch Changes
|
|
457
472
|
|
|
458
|
-
-
|
|
459
|
-
|
|
460
|
-
|
|
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.
|
|
461
476
|
|
|
462
477
|
## 0.1.1
|
|
463
478
|
|
|
464
479
|
### Patch Changes
|
|
465
480
|
|
|
466
|
-
-
|
|
467
|
-
|
|
468
|
-
|
|
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/"
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"runReact18": false
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@atlaskit/adf-schema": "^36.
|
|
25
|
-
"@atlaskit/editor-common": "^
|
|
24
|
+
"@atlaskit/adf-schema": "^36.10.7",
|
|
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
|
|