@atlaskit/editor-plugin-emoji 6.0.1 → 6.2.0

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,27 @@
1
1
  # @atlaskit/editor-plugin-emoji
2
2
 
3
+ ## 6.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`b367661ba720e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b367661ba720e) -
8
+ EDITOR-1562 bump adf-schema for afm
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 6.1.0
15
+
16
+ ### Minor Changes
17
+
18
+ - [`64ec65231b4cf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/64ec65231b4cf) -
19
+ EDITOR-1568 bump adf-schema for afm
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+
3
25
  ## 6.0.1
4
26
 
5
27
  ### Patch Changes
@@ -315,7 +315,7 @@ var emojiPlugin = exports.emojiPlugin = function emojiPlugin(_ref2) {
315
315
  popupsBoundariesElement = _ref1.popupsBoundariesElement,
316
316
  popupsMountPoint = _ref1.popupsMountPoint,
317
317
  popupsScrollableElement = _ref1.popupsScrollableElement;
318
- if (!api || (0, _experiments.editorExperiment)('platform_editor_controls', 'control')) {
318
+ if (!api || (0, _experiments.editorExperiment)('platform_editor_controls', 'control') || !editorView) {
319
319
  return null;
320
320
  }
321
321
  if (!(0, _experiments.editorExperiment)('platform_editor_controls_performance_fixes', true)) {
@@ -282,7 +282,7 @@ export const emojiPlugin = ({
282
282
  popupsMountPoint,
283
283
  popupsScrollableElement
284
284
  }) {
285
- if (!api || editorExperiment('platform_editor_controls', 'control')) {
285
+ if (!api || editorExperiment('platform_editor_controls', 'control') || !editorView) {
286
286
  return null;
287
287
  }
288
288
  if (!editorExperiment('platform_editor_controls_performance_fixes', true)) {
@@ -304,7 +304,7 @@ export var emojiPlugin = function emojiPlugin(_ref2) {
304
304
  popupsBoundariesElement = _ref1.popupsBoundariesElement,
305
305
  popupsMountPoint = _ref1.popupsMountPoint,
306
306
  popupsScrollableElement = _ref1.popupsScrollableElement;
307
- if (!api || editorExperiment('platform_editor_controls', 'control')) {
307
+ if (!api || editorExperiment('platform_editor_controls', 'control') || !editorView) {
308
308
  return null;
309
309
  }
310
310
  if (!editorExperiment('platform_editor_controls_performance_fixes', true)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-emoji",
3
- "version": "6.0.1",
3
+ "version": "6.2.0",
4
4
  "description": "Emoji plugin for @atlaskit/editor-core",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -21,13 +21,13 @@
21
21
  "singleton": true
22
22
  },
23
23
  "dependencies": {
24
- "@atlaskit/adf-schema": "^51.0.0",
25
- "@atlaskit/editor-plugin-analytics": "^5.0.0",
26
- "@atlaskit/editor-plugin-annotation": "^5.0.0",
27
- "@atlaskit/editor-plugin-base": "^6.0.0",
24
+ "@atlaskit/adf-schema": "^51.1.2",
25
+ "@atlaskit/editor-plugin-analytics": "^5.2.0",
26
+ "@atlaskit/editor-plugin-annotation": "^5.3.0",
27
+ "@atlaskit/editor-plugin-base": "^6.2.0",
28
28
  "@atlaskit/editor-plugin-editor-viewmode": "^7.0.0",
29
- "@atlaskit/editor-plugin-metrics": "^6.0.0",
30
- "@atlaskit/editor-plugin-type-ahead": "^5.0.0",
29
+ "@atlaskit/editor-plugin-metrics": "^6.2.0",
30
+ "@atlaskit/editor-plugin-type-ahead": "^5.2.0",
31
31
  "@atlaskit/editor-prosemirror": "7.0.0",
32
32
  "@atlaskit/editor-shared-styles": "^3.6.0",
33
33
  "@atlaskit/emoji": "^69.5.0",
@@ -35,7 +35,7 @@
35
35
  "@atlaskit/platform-feature-flags": "^1.1.0",
36
36
  "@atlaskit/prosemirror-input-rules": "^3.4.0",
37
37
  "@atlaskit/theme": "^21.0.0",
38
- "@atlaskit/tmp-editor-statsig": "^12.10.0",
38
+ "@atlaskit/tmp-editor-statsig": "^12.18.0",
39
39
  "@atlaskit/tokens": "^6.3.0",
40
40
  "@babel/runtime": "^7.0.0",
41
41
  "@emotion/react": "^11.7.1",
@@ -43,7 +43,7 @@
43
43
  "react-loadable": "^5.1.0"
44
44
  },
45
45
  "peerDependencies": {
46
- "@atlaskit/editor-common": "^109.1.0",
46
+ "@atlaskit/editor-common": "^109.5.0",
47
47
  "react": "^18.2.0",
48
48
  "react-dom": "^18.2.0"
49
49
  },
@@ -52,7 +52,7 @@
52
52
  "@atlaskit/editor-plugin-composition": "^4.0.0",
53
53
  "@atlaskit/editor-plugin-decorations": "^5.0.0",
54
54
  "@atlaskit/ssr": "workspace:^",
55
- "@atlaskit/util-data-test": "^18.1.0",
55
+ "@atlaskit/util-data-test": "^18.2.0",
56
56
  "@testing-library/react": "^13.4.0",
57
57
  "wait-for-expect": "^1.2.0"
58
58
  },