@atlaskit/editor-plugin-emoji 13.0.24 → 13.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-emoji
|
|
2
2
|
|
|
3
|
+
## 13.0.25
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`c8476b968b952`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c8476b968b952) -
|
|
8
|
+
Prevent emoji hover tooltips from rendering during SSR.
|
|
9
|
+
|
|
3
10
|
## 13.0.24
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -258,6 +258,9 @@ var EmojiNodeView = exports.EmojiNodeView = /*#__PURE__*/function () {
|
|
|
258
258
|
if (!(0, _expValEquals.expValEquals)('platform_editor_emoji_hover_show_tooltip', 'isEnabled', true)) {
|
|
259
259
|
return;
|
|
260
260
|
}
|
|
261
|
+
if ((0, _coreUtils.isSSR)()) {
|
|
262
|
+
return;
|
|
263
|
+
}
|
|
261
264
|
var tooltipId = typeof crypto !== 'undefined' && typeof crypto.randomUUID === 'function' ? "emoji-tooltip-".concat(crypto.randomUUID()) : (0, _uniqueId.default)('emoji-tooltip-');
|
|
262
265
|
try {
|
|
263
266
|
var tooltipInstance = new _vanillaTooltip.VanillaTooltip(
|
|
@@ -227,6 +227,9 @@ export class EmojiNodeView {
|
|
|
227
227
|
if (!expValEquals('platform_editor_emoji_hover_show_tooltip', 'isEnabled', true)) {
|
|
228
228
|
return;
|
|
229
229
|
}
|
|
230
|
+
if (isSSR()) {
|
|
231
|
+
return;
|
|
232
|
+
}
|
|
230
233
|
const tooltipId = typeof crypto !== 'undefined' && typeof crypto.randomUUID === 'function' ? `emoji-tooltip-${crypto.randomUUID()}` : uniqueId('emoji-tooltip-');
|
|
231
234
|
try {
|
|
232
235
|
const tooltipInstance = new VanillaTooltip(
|
|
@@ -250,6 +250,9 @@ export var EmojiNodeView = /*#__PURE__*/function () {
|
|
|
250
250
|
if (!expValEquals('platform_editor_emoji_hover_show_tooltip', 'isEnabled', true)) {
|
|
251
251
|
return;
|
|
252
252
|
}
|
|
253
|
+
if (isSSR()) {
|
|
254
|
+
return;
|
|
255
|
+
}
|
|
253
256
|
var tooltipId = typeof crypto !== 'undefined' && typeof crypto.randomUUID === 'function' ? "emoji-tooltip-".concat(crypto.randomUUID()) : uniqueId('emoji-tooltip-');
|
|
254
257
|
try {
|
|
255
258
|
var tooltipInstance = new VanillaTooltip(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-emoji",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.25",
|
|
4
4
|
"description": "Emoji plugin for @atlaskit/editor-core",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"singleton": true
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@atlaskit/adf-schema": "^56.
|
|
24
|
+
"@atlaskit/adf-schema": "^56.1.0",
|
|
25
25
|
"@atlaskit/browser-apis": "^1.1.0",
|
|
26
26
|
"@atlaskit/editor-plugin-analytics": "^12.0.0",
|
|
27
27
|
"@atlaskit/editor-plugin-annotation": "^12.0.0",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/node-data-provider": "^13.0.0",
|
|
38
38
|
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
39
39
|
"@atlaskit/prosemirror-input-rules": "^4.0.0",
|
|
40
|
-
"@atlaskit/tmp-editor-statsig": "^121.
|
|
40
|
+
"@atlaskit/tmp-editor-statsig": "^121.1.0",
|
|
41
41
|
"@atlaskit/tokens": "^15.4.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
43
|
"@emotion/react": "^11.7.1",
|