@atlaskit/editor-plugin-block-menu 6.1.9 → 6.1.11

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,17 @@
1
1
  # @atlaskit/editor-plugin-block-menu
2
2
 
3
+ ## 6.1.11
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 6.1.10
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 6.1.9
4
16
 
5
17
  ### Patch Changes
@@ -124,10 +124,10 @@ var getBlockMenuExperiencesPlugin = exports.getBlockMenuExperiencesPlugin = func
124
124
  });
125
125
  };
126
126
  var handleTransformActioned = function handleTransformActioned(target) {
127
- if (!target.closest('[data-testid="editor-turn-into-menu--content"]')
127
+ if (!target.closest('[data-testid="editor-turn-into-menu--content"]') ||
128
128
  // Skip experience tracking when the clicked item is an extension menu item
129
129
  // (e.g. Jira macro, etc.) - they don't perform block transforms
130
- || target.closest("[data-testid=\"".concat(_blockMenu.EXTENSION_MENU_ITEM_TEST_ID, "\"]"))) {
130
+ target.closest("[data-testid=\"".concat(_blockMenu.EXTENSION_MENU_ITEM_TEST_ID, "\"]"))) {
131
131
  return false;
132
132
  }
133
133
  var turnIntoButton = target.closest('button');
@@ -117,10 +117,10 @@ export const getBlockMenuExperiencesPlugin = ({
117
117
  });
118
118
  };
119
119
  const handleTransformActioned = target => {
120
- if (!target.closest('[data-testid="editor-turn-into-menu--content"]')
120
+ if (!target.closest('[data-testid="editor-turn-into-menu--content"]') ||
121
121
  // Skip experience tracking when the clicked item is an extension menu item
122
122
  // (e.g. Jira macro, etc.) - they don't perform block transforms
123
- || target.closest(`[data-testid="${EXTENSION_MENU_ITEM_TEST_ID}"]`)) {
123
+ target.closest(`[data-testid="${EXTENSION_MENU_ITEM_TEST_ID}"]`)) {
124
124
  return false;
125
125
  }
126
126
  const turnIntoButton = target.closest('button');
@@ -118,10 +118,10 @@ export var getBlockMenuExperiencesPlugin = function getBlockMenuExperiencesPlugi
118
118
  });
119
119
  };
120
120
  var handleTransformActioned = function handleTransformActioned(target) {
121
- if (!target.closest('[data-testid="editor-turn-into-menu--content"]')
121
+ if (!target.closest('[data-testid="editor-turn-into-menu--content"]') ||
122
122
  // Skip experience tracking when the clicked item is an extension menu item
123
123
  // (e.g. Jira macro, etc.) - they don't perform block transforms
124
- || target.closest("[data-testid=\"".concat(EXTENSION_MENU_ITEM_TEST_ID, "\"]"))) {
124
+ target.closest("[data-testid=\"".concat(EXTENSION_MENU_ITEM_TEST_ID, "\"]"))) {
125
125
  return false;
126
126
  }
127
127
  var turnIntoButton = target.closest('button');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-menu",
3
- "version": "6.1.9",
3
+ "version": "6.1.11",
4
4
  "description": "BlockMenu plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,7 +32,7 @@
32
32
  "@atlaskit/css": "^0.19.0",
33
33
  "@atlaskit/dropdown-menu": "^16.5.0",
34
34
  "@atlaskit/editor-plugin-analytics": "^7.0.0",
35
- "@atlaskit/editor-plugin-block-controls": "^8.8.0",
35
+ "@atlaskit/editor-plugin-block-controls": "^8.10.0",
36
36
  "@atlaskit/editor-plugin-decorations": "^7.0.0",
37
37
  "@atlaskit/editor-plugin-selection": "^7.0.0",
38
38
  "@atlaskit/editor-plugin-user-intent": "^5.0.0",
@@ -46,13 +46,13 @@
46
46
  "@atlaskit/platform-feature-flags-react": "^0.4.0",
47
47
  "@atlaskit/primitives": "^18.0.0",
48
48
  "@atlaskit/prosemirror-history": "^0.2.0",
49
- "@atlaskit/tmp-editor-statsig": "^32.11.0",
49
+ "@atlaskit/tmp-editor-statsig": "^34.0.0",
50
50
  "@atlaskit/tokens": "^11.0.0",
51
51
  "@babel/runtime": "^7.0.0",
52
52
  "bind-event-listener": "^3.0.0"
53
53
  },
54
54
  "peerDependencies": {
55
- "@atlaskit/editor-common": "^111.24.0",
55
+ "@atlaskit/editor-common": "^111.28.0",
56
56
  "react": "^18.2.0",
57
57
  "react-intl-next": "npm:react-intl@^5.18.1"
58
58
  },