@atlaskit/editor-plugin-extension 2.0.2 → 2.0.4

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,21 @@
1
1
  # @atlaskit/editor-plugin-extension
2
2
 
3
+ ## 2.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 2.0.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [#175651](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/175651)
14
+ [`26349f1048cb4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/26349f1048cb4) -
15
+ ED-25982 - Revert selection click handler slightly so non-LCM extension nodes are selectable
16
+ again.
17
+ - Updated dependencies
18
+
3
19
  ## 2.0.2
4
20
 
5
21
  ### Patch Changes
@@ -344,7 +344,7 @@ var createPlugin = exports.createPlugin = function createPlugin(dispatch, provid
344
344
  return null;
345
345
  },
346
346
  handleClickOn: (0, _selection2.createSelectionClickHandler)(['extension', 'bodiedExtension', 'multiBodiedExtension'], function (target) {
347
- return (0, _platformFeatureFlags.fg)('platform_editor_legacy_content_macro') ? !!target.closest('.extension-container') : !target.closest('.extension-content');
347
+ return (0, _platformFeatureFlags.fg)('platform_editor_legacy_content_macro') ? !target.closest('.extension-content') || !!target.closest('.extension-container') : !target.closest('.extension-content');
348
348
  },
349
349
  // It's to enable nested extensions selection
350
350
  {
@@ -279,7 +279,7 @@ const createPlugin = (dispatch, providerFactory, extensionHandlers, portalProvid
279
279
  }
280
280
  return null;
281
281
  },
282
- handleClickOn: createSelectionClickHandler(['extension', 'bodiedExtension', 'multiBodiedExtension'], target => fg('platform_editor_legacy_content_macro') ? !!target.closest('.extension-container') : !target.closest('.extension-content'),
282
+ handleClickOn: createSelectionClickHandler(['extension', 'bodiedExtension', 'multiBodiedExtension'], target => fg('platform_editor_legacy_content_macro') ? !target.closest('.extension-content') || !!target.closest('.extension-container') : !target.closest('.extension-content'),
283
283
  // It's to enable nested extensions selection
284
284
  {
285
285
  useLongPressSelection
@@ -318,7 +318,7 @@ var createPlugin = function createPlugin(dispatch, providerFactory, extensionHan
318
318
  return null;
319
319
  },
320
320
  handleClickOn: createSelectionClickHandler(['extension', 'bodiedExtension', 'multiBodiedExtension'], function (target) {
321
- return fg('platform_editor_legacy_content_macro') ? !!target.closest('.extension-container') : !target.closest('.extension-content');
321
+ return fg('platform_editor_legacy_content_macro') ? !target.closest('.extension-content') || !!target.closest('.extension-container') : !target.closest('.extension-content');
322
322
  },
323
323
  // It's to enable nested extensions selection
324
324
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-extension",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "editor-plugin-extension plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -25,12 +25,12 @@
25
25
  "dependencies": {
26
26
  "@atlaskit/adf-schema": "^46.1.0",
27
27
  "@atlaskit/adf-utils": "^19.14.0",
28
- "@atlaskit/analytics-next": "^10.1.0",
28
+ "@atlaskit/analytics-next": "^10.2.0",
29
29
  "@atlaskit/avatar": "^21.17.0",
30
30
  "@atlaskit/button": "^20.3.0",
31
31
  "@atlaskit/checkbox": "^15.2.0",
32
- "@atlaskit/datetime-picker": "^15.9.0",
33
- "@atlaskit/editor-common": "^96.2.0",
32
+ "@atlaskit/datetime-picker": "^15.10.0",
33
+ "@atlaskit/editor-common": "^96.3.0",
34
34
  "@atlaskit/editor-json-transformer": "^8.21.0",
35
35
  "@atlaskit/editor-plugin-analytics": "^1.10.0",
36
36
  "@atlaskit/editor-plugin-context-identifier": "^1.3.0",
@@ -44,10 +44,10 @@
44
44
  "@atlaskit/empty-state": "^8.0.0",
45
45
  "@atlaskit/form": "^10.6.0",
46
46
  "@atlaskit/heading": "4.0.0",
47
- "@atlaskit/icon": "^23.0.0",
47
+ "@atlaskit/icon": "^23.1.0",
48
48
  "@atlaskit/platform-feature-flags": "^0.3.0",
49
49
  "@atlaskit/primitives": "^13.3.0",
50
- "@atlaskit/radio": "^6.6.0",
50
+ "@atlaskit/radio": "^7.0.0",
51
51
  "@atlaskit/section-message": "^6.8.0",
52
52
  "@atlaskit/select": "^18.8.0",
53
53
  "@atlaskit/smart-user-picker": "^6.11.0",
@@ -56,7 +56,7 @@
56
56
  "@atlaskit/textarea": "^5.7.0",
57
57
  "@atlaskit/textfield": "^6.7.0",
58
58
  "@atlaskit/theme": "^14.0.0",
59
- "@atlaskit/tmp-editor-statsig": "^2.23.0",
59
+ "@atlaskit/tmp-editor-statsig": "^2.25.0",
60
60
  "@atlaskit/toggle": "^13.4.0",
61
61
  "@atlaskit/tokens": "^2.4.0",
62
62
  "@atlaskit/tooltip": "^18.9.0",