@atlaskit/editor-plugin-extension 27.0.4 → 28.0.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,31 @@
1
1
  # @atlaskit/editor-plugin-extension
2
2
 
3
+ ## 28.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 27.0.5
10
+
11
+ ### Patch Changes
12
+
13
+ - [`950fcabdaee51`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/950fcabdaee51) -
14
+ Show comment markers for eligible Remix extension nodes in the editor behind
15
+ `cc_maui_annotations_on_extensions`. Highlight an open draft or selected unresolved thread, open
16
+ existing comments from the marker, and preserve the embedded iframe and unsaved drafts when
17
+ switching threads.
18
+
19
+ Render each badge from its extension node view, using its node and current position instead of
20
+ scanning the document. Both standard and referentiality extension node views render the shared
21
+ badge directly, using annotation state and logic-only actions. Expose the reusable badge container
22
+ as BlockNodeBadges, retaining MediaBadges as a compatibility wrapper for existing media consumers.
23
+
24
+ Preserve the existing Emotion styling for the shared badge container; defer its Compiled migration
25
+ with a file-scoped ratcheting exception.
26
+
27
+ - Updated dependencies
28
+
3
29
  ## 27.0.4
4
30
 
5
31
  ### 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": "28.0.0",
4
4
  "description": "editor-plugin-extension plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -26,7 +26,7 @@
26
26
  ],
27
27
  "atlaskit:src": "src/index.ts",
28
28
  "dependencies": {
29
- "@atlaskit/adf-schema": "^57.6.0",
29
+ "@atlaskit/adf-schema": "^57.7.0",
30
30
  "@atlaskit/adf-utils": "^20.9.0",
31
31
  "@atlaskit/analytics-next": "^12.5.0",
32
32
  "@atlaskit/avatar": "^30.0.0",
@@ -34,19 +34,19 @@
34
34
  "@atlaskit/button": "^25.4.0",
35
35
  "@atlaskit/checkbox": "^19.3.0",
36
36
  "@atlaskit/code": "^20.0.0",
37
- "@atlaskit/datetime-picker": "^19.0.0",
37
+ "@atlaskit/datetime-picker": "^19.1.0",
38
38
  "@atlaskit/editor-json-transformer": "^10.0.0",
39
- "@atlaskit/editor-plugin-analytics": "^24.0.0",
40
- "@atlaskit/editor-plugin-block-menu": "^23.0.0",
41
- "@atlaskit/editor-plugin-connectivity": "^24.0.0",
42
- "@atlaskit/editor-plugin-context-identifier": "^24.0.0",
43
- "@atlaskit/editor-plugin-context-panel": "^26.0.0",
44
- "@atlaskit/editor-plugin-copy-button": "^24.0.0",
45
- "@atlaskit/editor-plugin-decorations": "^24.0.0",
46
- "@atlaskit/editor-plugin-feature-flags": "^23.0.0",
47
- "@atlaskit/editor-plugin-mentions": "^26.0.0",
48
- "@atlaskit/editor-plugin-toolbar": "^21.0.0",
49
- "@atlaskit/editor-plugin-width": "^25.0.0",
39
+ "@atlaskit/editor-plugin-analytics": "^25.0.0",
40
+ "@atlaskit/editor-plugin-block-menu": "^24.0.0",
41
+ "@atlaskit/editor-plugin-connectivity": "^25.0.0",
42
+ "@atlaskit/editor-plugin-context-identifier": "^25.0.0",
43
+ "@atlaskit/editor-plugin-context-panel": "^27.0.0",
44
+ "@atlaskit/editor-plugin-copy-button": "^25.0.0",
45
+ "@atlaskit/editor-plugin-decorations": "^25.0.0",
46
+ "@atlaskit/editor-plugin-feature-flags": "^24.0.0",
47
+ "@atlaskit/editor-plugin-mentions": "^27.0.0",
48
+ "@atlaskit/editor-plugin-toolbar": "^22.0.0",
49
+ "@atlaskit/editor-plugin-width": "^26.0.0",
50
50
  "@atlaskit/editor-prosemirror": "^9.0.0",
51
51
  "@atlaskit/editor-shared-styles": "^4.3.0",
52
52
  "@atlaskit/editor-tables": "^3.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": "^129.0.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
  },