@atlaskit/editor-plugin-status 2.6.3 → 2.6.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 +6 -0
- package/dist/cjs/pm-plugins/plugin-key.js +1 -2
- package/dist/cjs/pm-plugins/plugin.js +0 -12
- package/dist/es2019/pm-plugins/plugin-key.js +0 -1
- package/dist/es2019/pm-plugins/plugin.js +0 -1
- package/dist/esm/pm-plugins/plugin-key.js +0 -1
- package/dist/esm/pm-plugins/plugin.js +0 -1
- package/dist/types/pm-plugins/plugin-key.d.ts +0 -1
- package/dist/types/pm-plugins/plugin.d.ts +0 -2
- package/dist/types-ts4.5/pm-plugins/plugin-key.d.ts +0 -1
- package/dist/types-ts4.5/pm-plugins/plugin.d.ts +0 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.pluginKey = void 0;
|
|
7
7
|
var _state = require("@atlaskit/editor-prosemirror/state");
|
|
8
|
-
var pluginKeyName = exports.pluginKeyName = 'statusPlugin';
|
|
9
8
|
var pluginKey = exports.pluginKey = new _state.PluginKey('statusPlugin');
|
|
@@ -5,18 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
Object.defineProperty(exports, "pluginKey", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function get() {
|
|
11
|
-
return _pluginKey.pluginKey;
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
Object.defineProperty(exports, "pluginKeyName", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function get() {
|
|
17
|
-
return _pluginKey.pluginKeyName;
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
21
9
|
var _reactNodeView = require("@atlaskit/editor-common/react-node-view");
|
|
22
10
|
var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
|
|
@@ -5,7 +5,6 @@ import { NodeSelection, TextSelection } from '@atlaskit/editor-prosemirror/state
|
|
|
5
5
|
import { StatusNodeView } from '../nodeviews/status';
|
|
6
6
|
import { pluginKey } from './plugin-key';
|
|
7
7
|
import { isEmptyStatus, mayGetStatusAtSelection } from './utils';
|
|
8
|
-
export { pluginKey, pluginKeyName } from './plugin-key';
|
|
9
8
|
const createPlugin = (pmPluginFactoryParams, options) => new SafePlugin({
|
|
10
9
|
state: {
|
|
11
10
|
init: () => ({
|
|
@@ -8,7 +8,6 @@ import { NodeSelection, TextSelection } from '@atlaskit/editor-prosemirror/state
|
|
|
8
8
|
import { StatusNodeView } from '../nodeviews/status';
|
|
9
9
|
import { pluginKey } from './plugin-key';
|
|
10
10
|
import { isEmptyStatus, mayGetStatusAtSelection } from './utils';
|
|
11
|
-
export { pluginKey, pluginKeyName } from './plugin-key';
|
|
12
11
|
var createPlugin = function createPlugin(pmPluginFactoryParams, options) {
|
|
13
12
|
return new SafePlugin({
|
|
14
13
|
state: {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
2
|
import type { PMPluginFactoryParams } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { StatusPluginOptions } from '../types';
|
|
4
|
-
export { pluginKey, pluginKeyName } from './plugin-key';
|
|
5
|
-
export type { StatusState, StatusType, ClosingPayload } from '../types';
|
|
6
4
|
declare const createPlugin: (pmPluginFactoryParams: PMPluginFactoryParams, options?: StatusPluginOptions) => SafePlugin<any>;
|
|
7
5
|
export default createPlugin;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
2
|
import type { PMPluginFactoryParams } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { StatusPluginOptions } from '../types';
|
|
4
|
-
export { pluginKey, pluginKeyName } from './plugin-key';
|
|
5
|
-
export type { StatusState, StatusType, ClosingPayload } from '../types';
|
|
6
4
|
declare const createPlugin: (pmPluginFactoryParams: PMPluginFactoryParams, options?: StatusPluginOptions) => SafePlugin<any>;
|
|
7
5
|
export default createPlugin;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-status",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.4",
|
|
4
4
|
"description": "Status plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "^46.1.0",
|
|
35
35
|
"@atlaskit/analytics-next": "^10.2.0",
|
|
36
|
-
"@atlaskit/editor-common": "^
|
|
36
|
+
"@atlaskit/editor-common": "^97.0.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^1.10.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
39
39
|
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
42
42
|
"@atlaskit/status": "^1.8.0",
|
|
43
43
|
"@atlaskit/theme": "^14.0.0",
|
|
44
|
-
"@atlaskit/tokens": "^2.
|
|
44
|
+
"@atlaskit/tokens": "^2.5.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
46
|
"@emotion/react": "^11.7.1"
|
|
47
47
|
},
|