@atlaskit/editor-plugin-card 1.9.3 → 1.10.0
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,17 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-card
|
|
2
2
|
|
|
3
|
+
## 1.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#95168](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95168)
|
|
8
|
+
[`2091e194a817`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2091e194a817) -
|
|
9
|
+
Introduced new PortalProviderAPI behind a FF
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 1.9.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -3,9 +3,10 @@ import React from 'react';
|
|
|
3
3
|
import { jsx } from '@emotion/react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
6
|
-
import type {
|
|
6
|
+
import type { LegacyPortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
|
|
7
7
|
import type { getPosHandler, ReactComponentProps } from '@atlaskit/editor-common/react-node-view';
|
|
8
8
|
import ReactNodeView from '@atlaskit/editor-common/react-node-view';
|
|
9
|
+
import { type PortalProviderAPI } from '@atlaskit/editor-common/src/portal';
|
|
9
10
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
10
11
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
11
12
|
import type { Decoration, DecorationSource, EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -14,7 +15,7 @@ export interface DatasourceProps extends ReactComponentProps {
|
|
|
14
15
|
node: PMNode;
|
|
15
16
|
view: EditorView;
|
|
16
17
|
getPos: getPosHandler;
|
|
17
|
-
portalProviderAPI: PortalProviderAPI;
|
|
18
|
+
portalProviderAPI: LegacyPortalProviderAPI | PortalProviderAPI;
|
|
18
19
|
eventDispatcher: EventDispatcher;
|
|
19
20
|
hasIntlContext: boolean;
|
|
20
21
|
pluginInjectionApi: ExtractInjectionAPI<typeof cardPlugin> | undefined;
|
|
@@ -3,9 +3,10 @@ import React from 'react';
|
|
|
3
3
|
import { jsx } from '@emotion/react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
6
|
-
import type {
|
|
6
|
+
import type { LegacyPortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
|
|
7
7
|
import type { getPosHandler, ReactComponentProps } from '@atlaskit/editor-common/react-node-view';
|
|
8
8
|
import ReactNodeView from '@atlaskit/editor-common/react-node-view';
|
|
9
|
+
import { type PortalProviderAPI } from '@atlaskit/editor-common/src/portal';
|
|
9
10
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
10
11
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
11
12
|
import type { Decoration, DecorationSource, EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -14,7 +15,7 @@ export interface DatasourceProps extends ReactComponentProps {
|
|
|
14
15
|
node: PMNode;
|
|
15
16
|
view: EditorView;
|
|
16
17
|
getPos: getPosHandler;
|
|
17
|
-
portalProviderAPI: PortalProviderAPI;
|
|
18
|
+
portalProviderAPI: LegacyPortalProviderAPI | PortalProviderAPI;
|
|
18
19
|
eventDispatcher: EventDispatcher;
|
|
19
20
|
hasIntlContext: boolean;
|
|
20
21
|
pluginInjectionApi: ExtractInjectionAPI<typeof cardPlugin> | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-card",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"description": "Card plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@atlaskit/adf-schema": "^35.12.2",
|
|
36
36
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
37
37
|
"@atlaskit/custom-steps": "^0.1.0",
|
|
38
|
-
"@atlaskit/editor-common": "^
|
|
38
|
+
"@atlaskit/editor-common": "^79.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^1.1.0",
|
|
40
40
|
"@atlaskit/editor-plugin-decorations": "^1.1.0",
|
|
41
41
|
"@atlaskit/editor-plugin-editor-viewmode": "^1.1.0",
|