@atlaskit/editor-plugin-code-bidi-warning 1.2.12 → 1.2.13
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/codeBidiWarningPluginType.js +5 -0
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/pm-plugins/main.js +1 -1
- package/dist/cjs/pm-plugins/plugin-factory.js +1 -1
- package/dist/es2019/codeBidiWarningPluginType.js +1 -0
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/pm-plugins/main.js +1 -1
- package/dist/es2019/pm-plugins/plugin-factory.js +1 -1
- package/dist/esm/codeBidiWarningPluginType.js +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/pm-plugins/main.js +1 -1
- package/dist/esm/pm-plugins/plugin-factory.js +1 -1
- package/dist/types/codeBidiWarningPlugin.d.ts +2 -0
- package/dist/types/{plugin.d.ts → codeBidiWarningPluginType.d.ts} +0 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types-ts4.5/codeBidiWarningPlugin.d.ts +2 -0
- package/dist/types-ts4.5/{plugin.d.ts → codeBidiWarningPluginType.d.ts} +0 -1
- package/dist/types-ts4.5/index.d.ts +2 -2
- package/package.json +5 -2
- /package/dist/cjs/{plugin.js → codeBidiWarningPlugin.js} +0 -0
- /package/dist/cjs/{plugin-key.js → pm-plugins/plugin-key.js} +0 -0
- /package/dist/es2019/{plugin.js → codeBidiWarningPlugin.js} +0 -0
- /package/dist/es2019/{plugin-key.js → pm-plugins/plugin-key.js} +0 -0
- /package/dist/esm/{plugin.js → codeBidiWarningPlugin.js} +0 -0
- /package/dist/esm/{plugin-key.js → pm-plugins/plugin-key.js} +0 -0
- /package/dist/types/{plugin-key.d.ts → pm-plugins/plugin-key.d.ts} +0 -0
- /package/dist/types-ts4.5/{plugin-key.d.ts → pm-plugins/plugin-key.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-code-bidi-warning
|
|
2
2
|
|
|
3
|
+
## 1.2.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#168198](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/168198)
|
|
8
|
+
[`c191e2b8a81ea`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c191e2b8a81ea) -
|
|
9
|
+
ED-25807: refactors plugins to meet folder standards
|
|
10
|
+
|
|
3
11
|
## 1.2.12
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/dist/cjs/index.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "codeBidiWarningPlugin", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function get() {
|
|
9
|
-
return
|
|
9
|
+
return _codeBidiWarningPlugin.codeBidiWarningPlugin;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
var
|
|
12
|
+
var _codeBidiWarningPlugin = require("./codeBidiWarningPlugin");
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.createPlugin = void 0;
|
|
7
7
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
8
8
|
var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
|
|
9
|
-
var _pluginKey = require("../plugin-key");
|
|
10
9
|
var _pluginFactory = require("./plugin-factory");
|
|
10
|
+
var _pluginKey = require("./plugin-key");
|
|
11
11
|
var createPlugin = exports.createPlugin = function createPlugin(_ref, _ref2) {
|
|
12
12
|
var dispatch = _ref.dispatch,
|
|
13
13
|
getIntl = _ref.getIntl,
|
|
@@ -15,7 +15,7 @@ var _bidiWarningDecorator = _interopRequireDefault(require("@atlaskit/code/bidi-
|
|
|
15
15
|
var _utils = require("@atlaskit/editor-common/utils");
|
|
16
16
|
var _view = require("@atlaskit/editor-prosemirror/view");
|
|
17
17
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
18
|
-
var _pluginKey = require("
|
|
18
|
+
var _pluginKey = require("./plugin-key");
|
|
19
19
|
var _reducer = _interopRequireDefault(require("./reducer"));
|
|
20
20
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
21
21
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/es2019/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { codeBidiWarningPlugin } from './
|
|
1
|
+
export { codeBidiWarningPlugin } from './codeBidiWarningPlugin';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { codeBidiWarningMessages } from '@atlaskit/editor-common/messages';
|
|
2
2
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
3
|
-
import { codeBidiWarningPluginKey } from '../plugin-key';
|
|
4
3
|
import { createBidiWarningsDecorationSetFromDoc, pluginFactoryCreator } from './plugin-factory';
|
|
4
|
+
import { codeBidiWarningPluginKey } from './plugin-key';
|
|
5
5
|
export const createPlugin = ({
|
|
6
6
|
dispatch,
|
|
7
7
|
getIntl,
|
|
@@ -6,7 +6,7 @@ import codeBidiWarningDecorator from '@atlaskit/code/bidi-warning-decorator';
|
|
|
6
6
|
import { pluginFactory, stepHasSlice } from '@atlaskit/editor-common/utils';
|
|
7
7
|
import { Decoration, DecorationSet } from '@atlaskit/editor-prosemirror/view';
|
|
8
8
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
|
-
import { codeBidiWarningPluginKey } from '
|
|
9
|
+
import { codeBidiWarningPluginKey } from './plugin-key';
|
|
10
10
|
import reducer from './reducer';
|
|
11
11
|
export const pluginFactoryCreator = nodeViewPortalProviderAPI => pluginFactory(codeBidiWarningPluginKey, reducer, {
|
|
12
12
|
onDocChanged: (tr, pluginState) => {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/esm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { codeBidiWarningPlugin } from './
|
|
1
|
+
export { codeBidiWarningPlugin } from './codeBidiWarningPlugin';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { codeBidiWarningMessages } from '@atlaskit/editor-common/messages';
|
|
2
2
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
3
|
-
import { codeBidiWarningPluginKey } from '../plugin-key';
|
|
4
3
|
import { createBidiWarningsDecorationSetFromDoc, pluginFactoryCreator } from './plugin-factory';
|
|
4
|
+
import { codeBidiWarningPluginKey } from './plugin-key';
|
|
5
5
|
export var createPlugin = function createPlugin(_ref, _ref2) {
|
|
6
6
|
var dispatch = _ref.dispatch,
|
|
7
7
|
getIntl = _ref.getIntl,
|
|
@@ -9,7 +9,7 @@ import codeBidiWarningDecorator from '@atlaskit/code/bidi-warning-decorator';
|
|
|
9
9
|
import { pluginFactory, stepHasSlice } from '@atlaskit/editor-common/utils';
|
|
10
10
|
import { Decoration, DecorationSet } from '@atlaskit/editor-prosemirror/view';
|
|
11
11
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
|
-
import { codeBidiWarningPluginKey } from '
|
|
12
|
+
import { codeBidiWarningPluginKey } from './plugin-key';
|
|
13
13
|
import reducer from './reducer';
|
|
14
14
|
export var pluginFactoryCreator = function pluginFactoryCreator(nodeViewPortalProviderAPI) {
|
|
15
15
|
return pluginFactory(codeBidiWarningPluginKey, reducer, {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { codeBidiWarningPlugin } from './
|
|
2
|
-
export type { CodeBidiWarningPlugin } from './
|
|
1
|
+
export { codeBidiWarningPlugin } from './codeBidiWarningPlugin';
|
|
2
|
+
export type { CodeBidiWarningPlugin } from './codeBidiWarningPluginType';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { codeBidiWarningPlugin } from './
|
|
2
|
-
export type { CodeBidiWarningPlugin } from './
|
|
1
|
+
export { codeBidiWarningPlugin } from './codeBidiWarningPlugin';
|
|
2
|
+
export type { CodeBidiWarningPlugin } from './codeBidiWarningPluginType';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-code-bidi-warning",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.13",
|
|
4
4
|
"description": "Code bidi warning plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/code": "^15.6.0",
|
|
35
|
-
"@atlaskit/editor-common": "^95.
|
|
35
|
+
"@atlaskit/editor-common": "^95.6.0",
|
|
36
36
|
"@atlaskit/editor-prosemirror": "6.0.0",
|
|
37
37
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
38
38
|
"@babel/runtime": "^7.0.0",
|
|
@@ -53,6 +53,9 @@
|
|
|
53
53
|
},
|
|
54
54
|
"techstack": {
|
|
55
55
|
"@atlassian/frontend": {
|
|
56
|
+
"code-structure": [
|
|
57
|
+
"editor-plugin"
|
|
58
|
+
],
|
|
56
59
|
"import-structure": [
|
|
57
60
|
"atlassian-conventions"
|
|
58
61
|
],
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|