@atlaskit/editor-plugin-code-bidi-warning 1.2.12 → 1.2.14

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.
Files changed (28) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/codeBidiWarningPluginType.js +5 -0
  3. package/dist/cjs/index.js +2 -2
  4. package/dist/cjs/pm-plugins/main.js +1 -1
  5. package/dist/cjs/pm-plugins/plugin-factory.js +1 -1
  6. package/dist/es2019/codeBidiWarningPluginType.js +1 -0
  7. package/dist/es2019/index.js +1 -1
  8. package/dist/es2019/pm-plugins/main.js +1 -1
  9. package/dist/es2019/pm-plugins/plugin-factory.js +1 -1
  10. package/dist/esm/codeBidiWarningPluginType.js +1 -0
  11. package/dist/esm/index.js +1 -1
  12. package/dist/esm/pm-plugins/main.js +1 -1
  13. package/dist/esm/pm-plugins/plugin-factory.js +1 -1
  14. package/dist/types/codeBidiWarningPlugin.d.ts +2 -0
  15. package/dist/types/{plugin.d.ts → codeBidiWarningPluginType.d.ts} +0 -1
  16. package/dist/types/index.d.ts +2 -2
  17. package/dist/types-ts4.5/codeBidiWarningPlugin.d.ts +2 -0
  18. package/dist/types-ts4.5/{plugin.d.ts → codeBidiWarningPluginType.d.ts} +0 -1
  19. package/dist/types-ts4.5/index.d.ts +2 -2
  20. package/package.json +6 -3
  21. /package/dist/cjs/{plugin.js → codeBidiWarningPlugin.js} +0 -0
  22. /package/dist/cjs/{plugin-key.js → pm-plugins/plugin-key.js} +0 -0
  23. /package/dist/es2019/{plugin.js → codeBidiWarningPlugin.js} +0 -0
  24. /package/dist/es2019/{plugin-key.js → pm-plugins/plugin-key.js} +0 -0
  25. /package/dist/esm/{plugin.js → codeBidiWarningPlugin.js} +0 -0
  26. /package/dist/esm/{plugin-key.js → pm-plugins/plugin-key.js} +0 -0
  27. /package/dist/types/{plugin-key.d.ts → pm-plugins/plugin-key.d.ts} +0 -0
  28. /package/dist/types-ts4.5/{plugin-key.d.ts → pm-plugins/plugin-key.d.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/editor-plugin-code-bidi-warning
2
2
 
3
+ ## 1.2.14
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.2.13
10
+
11
+ ### Patch Changes
12
+
13
+ - [#168198](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/168198)
14
+ [`c191e2b8a81ea`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c191e2b8a81ea) -
15
+ ED-25807: refactors plugins to meet folder standards
16
+
3
17
  ## 1.2.12
4
18
 
5
19
  ### Patch Changes
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
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 _plugin.codeBidiWarningPlugin;
9
+ return _codeBidiWarningPlugin.codeBidiWarningPlugin;
10
10
  }
11
11
  });
12
- var _plugin = require("./plugin");
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("../plugin-key");
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 {};
@@ -1 +1 @@
1
- export { codeBidiWarningPlugin } from './plugin';
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 '../plugin-key';
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 './plugin';
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 '../plugin-key';
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, {
@@ -0,0 +1,2 @@
1
+ import type { CodeBidiWarningPlugin } from './codeBidiWarningPluginType';
2
+ export declare const codeBidiWarningPlugin: CodeBidiWarningPlugin;
@@ -5,5 +5,4 @@ type Config = {
5
5
  export type CodeBidiWarningPlugin = NextEditorPlugin<'codeBidiWarning', {
6
6
  pluginConfiguration: Config | undefined;
7
7
  }>;
8
- export declare const codeBidiWarningPlugin: CodeBidiWarningPlugin;
9
8
  export {};
@@ -1,2 +1,2 @@
1
- export { codeBidiWarningPlugin } from './plugin';
2
- export type { CodeBidiWarningPlugin } from './plugin';
1
+ export { codeBidiWarningPlugin } from './codeBidiWarningPlugin';
2
+ export type { CodeBidiWarningPlugin } from './codeBidiWarningPluginType';
@@ -0,0 +1,2 @@
1
+ import type { CodeBidiWarningPlugin } from './codeBidiWarningPluginType';
2
+ export declare const codeBidiWarningPlugin: CodeBidiWarningPlugin;
@@ -5,5 +5,4 @@ type Config = {
5
5
  export type CodeBidiWarningPlugin = NextEditorPlugin<'codeBidiWarning', {
6
6
  pluginConfiguration: Config | undefined;
7
7
  }>;
8
- export declare const codeBidiWarningPlugin: CodeBidiWarningPlugin;
9
8
  export {};
@@ -1,2 +1,2 @@
1
- export { codeBidiWarningPlugin } from './plugin';
2
- export type { CodeBidiWarningPlugin } from './plugin';
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.12",
3
+ "version": "1.2.14",
4
4
  "description": "Code bidi warning plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,8 +32,8 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@atlaskit/code": "^15.6.0",
35
- "@atlaskit/editor-common": "^95.0.0",
36
- "@atlaskit/editor-prosemirror": "6.0.0",
35
+ "@atlaskit/editor-common": "^96.0.0",
36
+ "@atlaskit/editor-prosemirror": "6.2.1",
37
37
  "@atlaskit/platform-feature-flags": "^0.3.0",
38
38
  "@babel/runtime": "^7.0.0",
39
39
  "uuid": "^3.1.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
  ],