@atlaskit/editor-plugin-collab-edit 1.1.5 → 1.1.6

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,11 @@
1
1
  # @atlaskit/editor-plugin-collab-edit
2
2
 
3
+ ## 1.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#82308](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/82308) [`26970b6663ae`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/26970b6663ae) - Register the custom prosemirror within the collab PM plugin
8
+
3
9
  ## 1.1.5
4
10
 
5
11
  ### Patch Changes
@@ -3,11 +3,55 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ Object.defineProperty(exports, "AddColumnStep", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _customSteps.AddColumnStep;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "AnalyticsStep", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _steps.AnalyticsStep;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "InsertTypeAheadStep", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _steps.InsertTypeAheadStep;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "LinkMetaStep", {
25
+ enumerable: true,
26
+ get: function get() {
27
+ return _steps.LinkMetaStep;
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "OverrideDocumentStep", {
31
+ enumerable: true,
32
+ get: function get() {
33
+ return _steps.OverrideDocumentStep;
34
+ }
35
+ });
36
+ Object.defineProperty(exports, "SetAttrsStep", {
37
+ enumerable: true,
38
+ get: function get() {
39
+ return _steps.SetAttrsStep;
40
+ }
41
+ });
42
+ Object.defineProperty(exports, "TableSortStep", {
43
+ enumerable: true,
44
+ get: function get() {
45
+ return _customSteps.TableSortStep;
46
+ }
47
+ });
6
48
  exports.createPlugin = void 0;
7
49
  var _analytics = require("@atlaskit/editor-common/analytics");
8
50
  var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
9
51
  var _analytics2 = require("../../analytics");
10
52
  var _initialize = require("../../events/initialize");
53
+ var _customSteps = require("@atlaskit/custom-steps");
54
+ var _steps = require("@atlaskit/adf-schema/steps");
11
55
  var _pluginKey = require("./plugin-key");
12
56
  var _pluginState = require("./plugin-state");
13
57
  var createPlugin = exports.createPlugin = function createPlugin(dispatch, providerFactory, providerResolver, collabProviderCallback, options, featureFlags, pluginInjectionApi) {
@@ -2,6 +2,8 @@ import { ACTION, ACTION_SUBJECT, EVENT_TYPE, fireAnalyticsEvent } from '@atlaski
2
2
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
3
3
  import { addSynchronyErrorAnalytics } from '../../analytics';
4
4
  import { initialize } from '../../events/initialize';
5
+ export { TableSortStep, AddColumnStep } from '@atlaskit/custom-steps';
6
+ export { InsertTypeAheadStep, SetAttrsStep, AnalyticsStep, LinkMetaStep, OverrideDocumentStep } from '@atlaskit/adf-schema/steps';
5
7
  import { pluginKey } from './plugin-key';
6
8
  import { PluginState } from './plugin-state';
7
9
  export const createPlugin = (dispatch, providerFactory, providerResolver, collabProviderCallback, options, featureFlags, pluginInjectionApi) => {
@@ -2,6 +2,8 @@ import { ACTION, ACTION_SUBJECT, EVENT_TYPE, fireAnalyticsEvent } from '@atlaski
2
2
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
3
3
  import { addSynchronyErrorAnalytics } from '../../analytics';
4
4
  import { initialize } from '../../events/initialize';
5
+ export { TableSortStep, AddColumnStep } from '@atlaskit/custom-steps';
6
+ export { InsertTypeAheadStep, SetAttrsStep, AnalyticsStep, LinkMetaStep, OverrideDocumentStep } from '@atlaskit/adf-schema/steps';
5
7
  import { pluginKey } from './plugin-key';
6
8
  import { PluginState } from './plugin-state';
7
9
  export var createPlugin = function createPlugin(dispatch, providerFactory, providerResolver, collabProviderCallback, options, featureFlags, pluginInjectionApi) {
@@ -5,5 +5,7 @@ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
5
5
  import type { ExtractInjectionAPI, FeatureFlags } from '@atlaskit/editor-common/types';
6
6
  import type { PrivateCollabEditOptions, ProviderCallback } from '../../types';
7
7
  import type { CollabEditPlugin } from '../../types';
8
+ export { TableSortStep, AddColumnStep } from '@atlaskit/custom-steps';
9
+ export { InsertTypeAheadStep, SetAttrsStep, AnalyticsStep, LinkMetaStep, OverrideDocumentStep, } from '@atlaskit/adf-schema/steps';
8
10
  import { PluginState } from './plugin-state';
9
11
  export declare const createPlugin: (dispatch: Dispatch, providerFactory: ProviderFactory, providerResolver: (value: CollabEditProvider) => void, collabProviderCallback: ProviderCallback, options: PrivateCollabEditOptions, featureFlags: FeatureFlags, pluginInjectionApi: ExtractInjectionAPI<CollabEditPlugin> | undefined) => SafePlugin<PluginState>;
@@ -5,5 +5,7 @@ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
5
5
  import type { ExtractInjectionAPI, FeatureFlags } from '@atlaskit/editor-common/types';
6
6
  import type { PrivateCollabEditOptions, ProviderCallback } from '../../types';
7
7
  import type { CollabEditPlugin } from '../../types';
8
+ export { TableSortStep, AddColumnStep } from '@atlaskit/custom-steps';
9
+ export { InsertTypeAheadStep, SetAttrsStep, AnalyticsStep, LinkMetaStep, OverrideDocumentStep, } from '@atlaskit/adf-schema/steps';
8
10
  import { PluginState } from './plugin-state';
9
11
  export declare const createPlugin: (dispatch: Dispatch, providerFactory: ProviderFactory, providerResolver: (value: CollabEditProvider) => void, collabProviderCallback: ProviderCallback, options: PrivateCollabEditOptions, featureFlags: FeatureFlags, pluginInjectionApi: ExtractInjectionAPI<CollabEditPlugin> | undefined) => SafePlugin<PluginState>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-collab-edit",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "Collab Edit plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,7 +32,9 @@
32
32
  ".": "./src/index.ts"
33
33
  },
34
34
  "dependencies": {
35
- "@atlaskit/editor-common": "^78.12.0",
35
+ "@atlaskit/adf-schema": "^35.6.0",
36
+ "@atlaskit/custom-steps": "^0.0.15",
37
+ "@atlaskit/editor-common": "^78.14.0",
36
38
  "@atlaskit/editor-plugin-analytics": "1.0.4",
37
39
  "@atlaskit/editor-plugin-feature-flags": "^1.0.0",
38
40
  "@atlaskit/editor-prosemirror": "3.0.0",
@@ -47,7 +49,6 @@
47
49
  "devDependencies": {
48
50
  "@af/integration-testing": "*",
49
51
  "@af/visual-regression": "*",
50
- "@atlaskit/adf-schema": "^35.6.0",
51
52
  "@atlaskit/editor-plugin-mentions": "^1.0.0",
52
53
  "@atlaskit/editor-plugin-text-formatting": "^1.2.0",
53
54
  "@atlaskit/editor-plugin-type-ahead": "^1.0.0",
@@ -87,11 +88,9 @@
87
88
  "ui-components": [
88
89
  "lite-mode"
89
90
  ],
90
- "deprecation": [
91
- "no-deprecated-imports"
92
- ],
91
+ "deprecation": "no-deprecated-imports",
93
92
  "styling": [
94
- "static",
93
+ "emotion",
95
94
  "emotion"
96
95
  ],
97
96
  "imports": [