@atlaskit/editor-plugin-engagement-platform 2.2.3 → 2.2.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 +8 -0
- package/dist/cjs/{actions → editor-actions}/startMessage.js +1 -1
- package/dist/cjs/{actions → editor-actions}/stopMessage.js +1 -1
- package/dist/cjs/engagementPlatformPlugin.js +4 -4
- package/dist/es2019/{actions → editor-actions}/startMessage.js +1 -1
- package/dist/es2019/{actions → editor-actions}/stopMessage.js +1 -1
- package/dist/es2019/engagementPlatformPlugin.js +4 -4
- package/dist/es2019/index.js +3 -0
- package/dist/esm/{actions → editor-actions}/startMessage.js +1 -1
- package/dist/esm/{actions → editor-actions}/stopMessage.js +1 -1
- package/dist/esm/engagementPlatformPlugin.js +4 -4
- package/dist/esm/index.js +3 -0
- package/dist/types/engagementPlatformPluginType.d.ts +1 -1
- package/dist/types-ts4.5/engagementPlatformPluginType.d.ts +1 -1
- package/package.json +5 -2
- /package/dist/cjs/{actions → editor-actions}/types.js +0 -0
- /package/dist/cjs/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/engagementPlatformPmPlugin.js +0 -0
- /package/dist/cjs/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/engagementPlatformPmPluginCommand.js +0 -0
- /package/dist/cjs/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/engagementPlatformPmPluginKey.js +0 -0
- /package/dist/cjs/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/types.js +0 -0
- /package/dist/es2019/{actions → editor-actions}/types.js +0 -0
- /package/dist/es2019/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/engagementPlatformPmPlugin.js +0 -0
- /package/dist/es2019/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/engagementPlatformPmPluginCommand.js +0 -0
- /package/dist/es2019/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/engagementPlatformPmPluginKey.js +0 -0
- /package/dist/es2019/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/types.js +0 -0
- /package/dist/esm/{actions → editor-actions}/types.js +0 -0
- /package/dist/esm/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/engagementPlatformPmPlugin.js +0 -0
- /package/dist/esm/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/engagementPlatformPmPluginCommand.js +0 -0
- /package/dist/esm/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/engagementPlatformPmPluginKey.js +0 -0
- /package/dist/esm/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/types.js +0 -0
- /package/dist/types/{actions → editor-actions}/startMessage.d.ts +0 -0
- /package/dist/types/{actions → editor-actions}/stopMessage.d.ts +0 -0
- /package/dist/types/{actions → editor-actions}/types.d.ts +0 -0
- /package/dist/types/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/engagementPlatformPmPlugin.d.ts +0 -0
- /package/dist/types/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/engagementPlatformPmPluginCommand.d.ts +0 -0
- /package/dist/types/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/engagementPlatformPmPluginKey.d.ts +0 -0
- /package/dist/types/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/types.d.ts +0 -0
- /package/dist/types-ts4.5/{actions → editor-actions}/startMessage.d.ts +0 -0
- /package/dist/types-ts4.5/{actions → editor-actions}/stopMessage.d.ts +0 -0
- /package/dist/types-ts4.5/{actions → editor-actions}/types.d.ts +0 -0
- /package/dist/types-ts4.5/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/engagementPlatformPmPlugin.d.ts +0 -0
- /package/dist/types-ts4.5/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/engagementPlatformPmPluginCommand.d.ts +0 -0
- /package/dist/types-ts4.5/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/engagementPlatformPmPluginKey.d.ts +0 -0
- /package/dist/types-ts4.5/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/types.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-engagement-platform
|
|
2
2
|
|
|
3
|
+
## 2.2.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#177988](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/177988)
|
|
8
|
+
[`8f78c40775b7c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8f78c40775b7c) -
|
|
9
|
+
ED-25810 - refactors editor plugins to engineering standards
|
|
10
|
+
|
|
3
11
|
## 2.2.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.startMessage = startMessage;
|
|
7
7
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
8
|
-
var _engagementPlatformPmPluginCommand = require("../
|
|
8
|
+
var _engagementPlatformPmPluginCommand = require("../pm-plugins/engagementPlatformPmPlugin/engagementPlatformPmPluginCommand");
|
|
9
9
|
function startMessage(api, coordinationClient) {
|
|
10
10
|
return function (messageId, variationId) {
|
|
11
11
|
var _api$engagementPlatfo, _api$engagementPlatfo2, _api$engagementPlatfo3, _api$engagementPlatfo4;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.stopMessage = stopMessage;
|
|
7
7
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
8
|
-
var _engagementPlatformPmPluginCommand = require("../
|
|
8
|
+
var _engagementPlatformPmPluginCommand = require("../pm-plugins/engagementPlatformPmPlugin/engagementPlatformPmPluginCommand");
|
|
9
9
|
function stopMessage(api, coordinationClient) {
|
|
10
10
|
return function (messageId) {
|
|
11
11
|
var _api$engagementPlatfo, _api$engagementPlatfo2, _api$engagementPlatfo3, _api$engagementPlatfo4;
|
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.engagementPlatformPlugin = void 0;
|
|
7
|
-
var _startMessage = require("./actions/startMessage");
|
|
8
|
-
var _stopMessage = require("./actions/stopMessage");
|
|
9
|
-
var _engagementPlatformPmPlugin = require("./
|
|
10
|
-
var _engagementPlatformPmPluginKey = require("./
|
|
7
|
+
var _startMessage = require("./editor-actions/startMessage");
|
|
8
|
+
var _stopMessage = require("./editor-actions/stopMessage");
|
|
9
|
+
var _engagementPlatformPmPlugin = require("./pm-plugins/engagementPlatformPmPlugin/engagementPlatformPmPlugin");
|
|
10
|
+
var _engagementPlatformPmPluginKey = require("./pm-plugins/engagementPlatformPmPlugin/engagementPlatformPmPluginKey");
|
|
11
11
|
var engagementPlatformPlugin = exports.engagementPlatformPlugin = function engagementPlatformPlugin(_ref) {
|
|
12
12
|
var config = _ref.config,
|
|
13
13
|
api = _ref.api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
|
|
2
|
-
import { engagementPlatformPmPluginCommand } from '../
|
|
2
|
+
import { engagementPlatformPmPluginCommand } from '../pm-plugins/engagementPlatformPmPlugin/engagementPlatformPmPluginCommand';
|
|
3
3
|
export function startMessage(api, coordinationClient) {
|
|
4
4
|
return (messageId, variationId) => {
|
|
5
5
|
var _api$engagementPlatfo, _api$engagementPlatfo2, _api$engagementPlatfo3, _api$engagementPlatfo4;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
|
|
2
|
-
import { engagementPlatformPmPluginCommand } from '../
|
|
2
|
+
import { engagementPlatformPmPluginCommand } from '../pm-plugins/engagementPlatformPmPlugin/engagementPlatformPmPluginCommand';
|
|
3
3
|
export function stopMessage(api, coordinationClient) {
|
|
4
4
|
return messageId => {
|
|
5
5
|
var _api$engagementPlatfo, _api$engagementPlatfo2, _api$engagementPlatfo3, _api$engagementPlatfo4;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { startMessage } from './actions/startMessage';
|
|
2
|
-
import { stopMessage } from './actions/stopMessage';
|
|
3
|
-
import { engagementPlatformPmPlugin } from './
|
|
4
|
-
import { engagementPlatformPmPluginKey } from './
|
|
1
|
+
import { startMessage } from './editor-actions/startMessage';
|
|
2
|
+
import { stopMessage } from './editor-actions/stopMessage';
|
|
3
|
+
import { engagementPlatformPmPlugin } from './pm-plugins/engagementPlatformPmPlugin/engagementPlatformPmPlugin';
|
|
4
|
+
import { engagementPlatformPmPluginKey } from './pm-plugins/engagementPlatformPmPlugin/engagementPlatformPmPluginKey';
|
|
5
5
|
export const engagementPlatformPlugin = ({
|
|
6
6
|
config,
|
|
7
7
|
api
|
package/dist/es2019/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
|
|
2
|
-
import { engagementPlatformPmPluginCommand } from '../
|
|
2
|
+
import { engagementPlatformPmPluginCommand } from '../pm-plugins/engagementPlatformPmPlugin/engagementPlatformPmPluginCommand';
|
|
3
3
|
export function startMessage(api, coordinationClient) {
|
|
4
4
|
return function (messageId, variationId) {
|
|
5
5
|
var _api$engagementPlatfo, _api$engagementPlatfo2, _api$engagementPlatfo3, _api$engagementPlatfo4;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
|
|
2
|
-
import { engagementPlatformPmPluginCommand } from '../
|
|
2
|
+
import { engagementPlatformPmPluginCommand } from '../pm-plugins/engagementPlatformPmPlugin/engagementPlatformPmPluginCommand';
|
|
3
3
|
export function stopMessage(api, coordinationClient) {
|
|
4
4
|
return function (messageId) {
|
|
5
5
|
var _api$engagementPlatfo, _api$engagementPlatfo2, _api$engagementPlatfo3, _api$engagementPlatfo4;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { startMessage } from './actions/startMessage';
|
|
2
|
-
import { stopMessage } from './actions/stopMessage';
|
|
3
|
-
import { engagementPlatformPmPlugin } from './
|
|
4
|
-
import { engagementPlatformPmPluginKey } from './
|
|
1
|
+
import { startMessage } from './editor-actions/startMessage';
|
|
2
|
+
import { stopMessage } from './editor-actions/stopMessage';
|
|
3
|
+
import { engagementPlatformPmPlugin } from './pm-plugins/engagementPlatformPmPlugin/engagementPlatformPmPlugin';
|
|
4
|
+
import { engagementPlatformPmPluginKey } from './pm-plugins/engagementPlatformPmPlugin/engagementPlatformPmPluginKey';
|
|
5
5
|
export var engagementPlatformPlugin = function engagementPlatformPlugin(_ref) {
|
|
6
6
|
var config = _ref.config,
|
|
7
7
|
api = _ref.api;
|
package/dist/esm/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ComponentType, PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
4
|
-
import type { EngagementPlatformPmPluginState } from './
|
|
4
|
+
import type { EngagementPlatformPmPluginState } from './pm-plugins/engagementPlatformPmPlugin/types';
|
|
5
5
|
export type EngagementPlatformPlugin = NextEditorPlugin<'engagementPlatform', {
|
|
6
6
|
actions: {
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ComponentType, PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
4
|
-
import type { EngagementPlatformPmPluginState } from './
|
|
4
|
+
import type { EngagementPlatformPmPluginState } from './pm-plugins/engagementPlatformPmPlugin/types';
|
|
5
5
|
export type EngagementPlatformPlugin = NextEditorPlugin<'engagementPlatform', {
|
|
6
6
|
actions: {
|
|
7
7
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-engagement-platform",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.4",
|
|
4
4
|
"description": "Engagement platform plugin for @atlaskit/editor-core“",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
".": "./src/index.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/editor-common": "^96.
|
|
36
|
+
"@atlaskit/editor-common": "^96.5.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^1.10.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
39
39
|
"@babel/runtime": "^7.0.0"
|
|
@@ -48,6 +48,9 @@
|
|
|
48
48
|
],
|
|
49
49
|
"circular-dependencies": [
|
|
50
50
|
"file-and-folder-level"
|
|
51
|
+
],
|
|
52
|
+
"code-structure": [
|
|
53
|
+
"editor-plugin"
|
|
51
54
|
]
|
|
52
55
|
},
|
|
53
56
|
"@repo/internal": {
|
|
File without changes
|
/package/dist/cjs/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/engagementPlatformPmPlugin.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/{pmPlugins → pm-plugins}/engagementPlatformPmPlugin/engagementPlatformPmPlugin.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|