@atlaskit/editor-plugin-extension 27.0.4 → 27.0.5

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,25 @@
1
1
  # @atlaskit/editor-plugin-extension
2
2
 
3
+ ## 27.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`950fcabdaee51`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/950fcabdaee51) -
8
+ Show comment markers for eligible Remix extension nodes in the editor behind
9
+ `cc_maui_annotations_on_extensions`. Highlight an open draft or selected unresolved thread, open
10
+ existing comments from the marker, and preserve the embedded iframe and unsaved drafts when
11
+ switching threads.
12
+
13
+ Render each badge from its extension node view, using its node and current position instead of
14
+ scanning the document. Both standard and referentiality extension node views render the shared
15
+ badge directly, using annotation state and logic-only actions. Expose the reusable badge container
16
+ as BlockNodeBadges, retaining MediaBadges as a compatibility wrapper for existing media consumers.
17
+
18
+ Preserve the existing Emotion styling for the shared badge container; defer its Compiled migration
19
+ with a file-scoped ratcheting exception.
20
+
21
+ - Updated dependencies
22
+
3
23
  ## 27.0.4
4
24
 
5
25
  ### Patch Changes
@@ -1,6 +1,7 @@
1
1
  import type { ADFEntity } from '@atlaskit/adf-utils/types';
2
2
  import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
3
3
  import type { GetPMNodeHeight } from '@atlaskit/editor-common/extensibility';
4
+ import type { ExtensionAnnotationPlugin } from '@atlaskit/editor-common/extensibility/types';
4
5
  import type { ExtensionAPI, ExtensionHandlers, ExtensionParams, ExtensionProvider, Parameters, TransformAfter, TransformBefore, UpdateExtension } from '@atlaskit/editor-common/extensions';
5
6
  import type { MacroProvider } from '@atlaskit/editor-common/provider-factory';
6
7
  import type { EditorAppearance, LongPressSelectionPluginOptions, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
@@ -104,6 +105,7 @@ export type InsertOrReplaceExtensionType = {
104
105
  };
105
106
  type InsertOrReplaceExtensionAction = ({ editorView, action, attrs, content, position, size, tr, }: InsertOrReplaceExtensionType) => Transaction;
106
107
  export type ExtensionPluginDependencies = [
108
+ OptionalPlugin<ExtensionAnnotationPlugin>,
107
109
  OptionalPlugin<AnalyticsPlugin>,
108
110
  OptionalPlugin<FeatureFlagsPlugin>,
109
111
  WidthPlugin,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-extension",
3
- "version": "27.0.4",
3
+ "version": "27.0.5",
4
4
  "description": "editor-plugin-extension plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -85,7 +85,7 @@
85
85
  "uuid": "^11.1.1"
86
86
  },
87
87
  "peerDependencies": {
88
- "@atlaskit/editor-common": "^128.3.0",
88
+ "@atlaskit/editor-common": "^128.4.0",
89
89
  "react": "^18.2.0 || ^19.2.0",
90
90
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
91
91
  },