@atlaskit/editor-plugin-caption 1.11.3 → 1.11.5

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,19 @@
1
1
  # @atlaskit/editor-plugin-caption
2
2
 
3
+ ## 1.11.5
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
+
11
+ ## 1.11.4
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 1.11.3
4
18
 
5
19
  ### Patch Changes
package/dist/cjs/index.js CHANGED
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  Object.defineProperty(exports, "captionPlugin", {
8
8
  enumerable: true,
9
9
  get: function get() {
10
- return _plugin.default;
10
+ return _captionPlugin.default;
11
11
  }
12
12
  });
13
- var _plugin = _interopRequireDefault(require("./plugin"));
13
+ var _captionPlugin = _interopRequireDefault(require("./captionPlugin"));
@@ -1 +1 @@
1
- export { default as captionPlugin } from './plugin';
1
+ export { default as captionPlugin } from './captionPlugin';
package/dist/esm/index.js CHANGED
@@ -1 +1 @@
1
- export { default as captionPlugin } from './plugin';
1
+ export { default as captionPlugin } from './captionPlugin';
@@ -1,3 +1,3 @@
1
- import type { CaptionPlugin } from './types';
1
+ import type { CaptionPlugin } from './captionPluginType';
2
2
  declare const captionPlugin: CaptionPlugin;
3
3
  export default captionPlugin;
@@ -1,2 +1,2 @@
1
- export type { CaptionPlugin } from './types';
2
- export { default as captionPlugin } from './plugin';
1
+ export type { CaptionPlugin } from './captionPluginType';
2
+ export { default as captionPlugin } from './captionPlugin';
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
3
+ import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
3
4
  import type { ForwardRef, ReactComponentProps, shouldUpdate } from '@atlaskit/editor-common/react-node-view';
4
5
  import { SelectionBasedNodeView } from '@atlaskit/editor-common/selection-based-node-view';
5
- import { type PortalProviderAPI } from '@atlaskit/editor-common/src/portal';
6
6
  import type { ExtractInjectionAPI, getPosHandler } from '@atlaskit/editor-common/types';
7
7
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
8
8
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
9
- import type { CaptionPlugin } from '../types';
9
+ import type { CaptionPlugin } from '../captionPluginType';
10
10
  export declare class CaptionNodeView extends SelectionBasedNodeView {
11
11
  private selected;
12
12
  private cleanupEditorDisabledListener?;
@@ -1,8 +1,8 @@
1
1
  import type { Dispatch, EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
2
+ import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
2
3
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
3
4
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
4
- import { type PortalProviderAPI } from '@atlaskit/editor-common/src/portal';
5
5
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
6
- import type { CaptionPlugin } from '../types';
6
+ import type { CaptionPlugin } from '../captionPluginType';
7
7
  declare const _default: (portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, providerFactory: ProviderFactory, dispatch: Dispatch, pluginInjectionApi: ExtractInjectionAPI<CaptionPlugin> | undefined) => SafePlugin<any>;
8
8
  export default _default;
@@ -1,3 +1,3 @@
1
- import type { CaptionPlugin } from './types';
1
+ import type { CaptionPlugin } from './captionPluginType';
2
2
  declare const captionPlugin: CaptionPlugin;
3
3
  export default captionPlugin;
@@ -1,2 +1,2 @@
1
- export type { CaptionPlugin } from './types';
2
- export { default as captionPlugin } from './plugin';
1
+ export type { CaptionPlugin } from './captionPluginType';
2
+ export { default as captionPlugin } from './captionPlugin';
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
2
  import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
3
+ import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
3
4
  import type { ForwardRef, ReactComponentProps, shouldUpdate } from '@atlaskit/editor-common/react-node-view';
4
5
  import { SelectionBasedNodeView } from '@atlaskit/editor-common/selection-based-node-view';
5
- import { type PortalProviderAPI } from '@atlaskit/editor-common/src/portal';
6
6
  import type { ExtractInjectionAPI, getPosHandler } from '@atlaskit/editor-common/types';
7
7
  import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
8
8
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
9
- import type { CaptionPlugin } from '../types';
9
+ import type { CaptionPlugin } from '../captionPluginType';
10
10
  export declare class CaptionNodeView extends SelectionBasedNodeView {
11
11
  private selected;
12
12
  private cleanupEditorDisabledListener?;
@@ -1,8 +1,8 @@
1
1
  import type { Dispatch, EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
2
+ import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
2
3
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
3
4
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
4
- import { type PortalProviderAPI } from '@atlaskit/editor-common/src/portal';
5
5
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
6
- import type { CaptionPlugin } from '../types';
6
+ import type { CaptionPlugin } from '../captionPluginType';
7
7
  declare const _default: (portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, providerFactory: ProviderFactory, dispatch: Dispatch, pluginInjectionApi: ExtractInjectionAPI<CaptionPlugin> | undefined) => SafePlugin<any>;
8
8
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-caption",
3
- "version": "1.11.3",
3
+ "version": "1.11.5",
4
4
  "description": "Caption 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/adf-schema": "^44.2.0",
35
- "@atlaskit/editor-common": "^94.9.0",
35
+ "@atlaskit/editor-common": "^95.6.0",
36
36
  "@atlaskit/editor-plugin-analytics": "^1.10.0",
37
37
  "@atlaskit/editor-plugin-editor-disabled": "^1.3.0",
38
38
  "@atlaskit/editor-prosemirror": "6.0.0",
@@ -48,13 +48,16 @@
48
48
  "@atlaskit/editor-plugin-guideline": "^1.2.0",
49
49
  "@atlaskit/editor-plugin-selection": "^1.5.0",
50
50
  "@atlaskit/editor-plugin-width": "^1.3.0",
51
- "@atlaskit/renderer": "^112.2.0"
51
+ "@atlaskit/renderer": "^112.6.0"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
55
55
  },
56
56
  "techstack": {
57
57
  "@atlassian/frontend": {
58
+ "code-structure": [
59
+ "editor-plugin"
60
+ ],
58
61
  "import-structure": [
59
62
  "atlassian-conventions"
60
63
  ],
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes