@atlaskit/editor-plugin-card 4.5.14 → 4.5.15
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/types/cardPluginType.d.ts +15 -14
- package/dist/types/nodeviews/inlineCard.d.ts +1 -2
- package/dist/types/nodeviews/lazy-block-card.d.ts +2 -1
- package/dist/types/nodeviews/lazy-embed-card.d.ts +2 -1
- package/dist/types-ts4.5/cardPluginType.d.ts +15 -14
- package/dist/types-ts4.5/nodeviews/inlineCard.d.ts +1 -2
- package/dist/types-ts4.5/nodeviews/lazy-block-card.d.ts +2 -1
- package/dist/types-ts4.5/nodeviews/lazy-embed-card.d.ts +2 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-card
|
|
2
2
|
|
|
3
|
+
## 4.5.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#104847](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/104847)
|
|
8
|
+
[`b55fc11242d17`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b55fc11242d17) -
|
|
9
|
+
Consolidate duplicate import statements
|
|
10
|
+
|
|
3
11
|
## 4.5.14
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -20,22 +20,23 @@ type DummyAnnotationPlugin = NextEditorPlugin<'annotation', {
|
|
|
20
20
|
setInlineCommentDraftState: (isDraft: boolean, inputMethod: INPUT_METHOD) => Command;
|
|
21
21
|
};
|
|
22
22
|
}>;
|
|
23
|
+
export type CardPluginDependencies = [
|
|
24
|
+
OptionalPlugin<FeatureFlagsPlugin>,
|
|
25
|
+
OptionalPlugin<AnalyticsPlugin>,
|
|
26
|
+
OptionalPlugin<EditorViewModePlugin>,
|
|
27
|
+
WidthPlugin,
|
|
28
|
+
DecorationsPlugin,
|
|
29
|
+
GridPlugin,
|
|
30
|
+
FloatingToolbarPlugin,
|
|
31
|
+
OptionalPlugin<EditorDisabledPlugin>,
|
|
32
|
+
OptionalPlugin<SelectionPlugin>,
|
|
33
|
+
OptionalPlugin<DummyAnnotationPlugin>,
|
|
34
|
+
OptionalPlugin<ConnectivityPlugin>,
|
|
35
|
+
OptionalPlugin<BasePlugin>
|
|
36
|
+
];
|
|
23
37
|
export type CardPlugin = NextEditorPlugin<'card', {
|
|
24
38
|
pluginConfiguration: CardPluginOptions | undefined;
|
|
25
|
-
dependencies:
|
|
26
|
-
OptionalPlugin<FeatureFlagsPlugin>,
|
|
27
|
-
OptionalPlugin<AnalyticsPlugin>,
|
|
28
|
-
OptionalPlugin<EditorViewModePlugin>,
|
|
29
|
-
WidthPlugin,
|
|
30
|
-
DecorationsPlugin,
|
|
31
|
-
GridPlugin,
|
|
32
|
-
FloatingToolbarPlugin,
|
|
33
|
-
OptionalPlugin<EditorDisabledPlugin>,
|
|
34
|
-
OptionalPlugin<SelectionPlugin>,
|
|
35
|
-
OptionalPlugin<DummyAnnotationPlugin>,
|
|
36
|
-
OptionalPlugin<ConnectivityPlugin>,
|
|
37
|
-
OptionalPlugin<BasePlugin>
|
|
38
|
-
];
|
|
39
|
+
dependencies: CardPluginDependencies;
|
|
39
40
|
sharedState: CardPluginState | null;
|
|
40
41
|
actions: CardPluginActions;
|
|
41
42
|
}>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { InlineNodeViewComponentProps } from '@atlaskit/editor-common/react-node-view';
|
|
3
|
-
import { type getInlineNodeViewProducer } from '@atlaskit/editor-common/react-node-view';
|
|
2
|
+
import type { InlineNodeViewComponentProps, getInlineNodeViewProducer } from '@atlaskit/editor-common/react-node-view';
|
|
4
3
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
5
4
|
import type { Decoration, EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
6
5
|
import type { SmartCardProps } from './genericCard';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import { type NodeViewConstructor } from '@atlaskit/editor-common/lazy-node-view';
|
|
1
2
|
import { type BlockCardNodeViewProperties } from './blockCard';
|
|
2
|
-
export declare const lazyBlockCardView: (props: BlockCardNodeViewProperties) =>
|
|
3
|
+
export declare const lazyBlockCardView: (props: BlockCardNodeViewProperties) => NodeViewConstructor;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import { type NodeViewConstructor } from '@atlaskit/editor-common/lazy-node-view';
|
|
1
2
|
import { type EmbedCardNodeViewProperties } from './embedCard';
|
|
2
|
-
export declare const lazyEmbedCardView: (props: EmbedCardNodeViewProperties) =>
|
|
3
|
+
export declare const lazyEmbedCardView: (props: EmbedCardNodeViewProperties) => NodeViewConstructor;
|
|
@@ -20,22 +20,23 @@ type DummyAnnotationPlugin = NextEditorPlugin<'annotation', {
|
|
|
20
20
|
setInlineCommentDraftState: (isDraft: boolean, inputMethod: INPUT_METHOD) => Command;
|
|
21
21
|
};
|
|
22
22
|
}>;
|
|
23
|
+
export type CardPluginDependencies = [
|
|
24
|
+
OptionalPlugin<FeatureFlagsPlugin>,
|
|
25
|
+
OptionalPlugin<AnalyticsPlugin>,
|
|
26
|
+
OptionalPlugin<EditorViewModePlugin>,
|
|
27
|
+
WidthPlugin,
|
|
28
|
+
DecorationsPlugin,
|
|
29
|
+
GridPlugin,
|
|
30
|
+
FloatingToolbarPlugin,
|
|
31
|
+
OptionalPlugin<EditorDisabledPlugin>,
|
|
32
|
+
OptionalPlugin<SelectionPlugin>,
|
|
33
|
+
OptionalPlugin<DummyAnnotationPlugin>,
|
|
34
|
+
OptionalPlugin<ConnectivityPlugin>,
|
|
35
|
+
OptionalPlugin<BasePlugin>
|
|
36
|
+
];
|
|
23
37
|
export type CardPlugin = NextEditorPlugin<'card', {
|
|
24
38
|
pluginConfiguration: CardPluginOptions | undefined;
|
|
25
|
-
dependencies:
|
|
26
|
-
OptionalPlugin<FeatureFlagsPlugin>,
|
|
27
|
-
OptionalPlugin<AnalyticsPlugin>,
|
|
28
|
-
OptionalPlugin<EditorViewModePlugin>,
|
|
29
|
-
WidthPlugin,
|
|
30
|
-
DecorationsPlugin,
|
|
31
|
-
GridPlugin,
|
|
32
|
-
FloatingToolbarPlugin,
|
|
33
|
-
OptionalPlugin<EditorDisabledPlugin>,
|
|
34
|
-
OptionalPlugin<SelectionPlugin>,
|
|
35
|
-
OptionalPlugin<DummyAnnotationPlugin>,
|
|
36
|
-
OptionalPlugin<ConnectivityPlugin>,
|
|
37
|
-
OptionalPlugin<BasePlugin>
|
|
38
|
-
];
|
|
39
|
+
dependencies: CardPluginDependencies;
|
|
39
40
|
sharedState: CardPluginState | null;
|
|
40
41
|
actions: CardPluginActions;
|
|
41
42
|
}>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { InlineNodeViewComponentProps } from '@atlaskit/editor-common/react-node-view';
|
|
3
|
-
import { type getInlineNodeViewProducer } from '@atlaskit/editor-common/react-node-view';
|
|
2
|
+
import type { InlineNodeViewComponentProps, getInlineNodeViewProducer } from '@atlaskit/editor-common/react-node-view';
|
|
4
3
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
5
4
|
import type { Decoration, EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
6
5
|
import type { SmartCardProps } from './genericCard';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import { type NodeViewConstructor } from '@atlaskit/editor-common/lazy-node-view';
|
|
1
2
|
import { type BlockCardNodeViewProperties } from './blockCard';
|
|
2
|
-
export declare const lazyBlockCardView: (props: BlockCardNodeViewProperties) =>
|
|
3
|
+
export declare const lazyBlockCardView: (props: BlockCardNodeViewProperties) => NodeViewConstructor;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import { type NodeViewConstructor } from '@atlaskit/editor-common/lazy-node-view';
|
|
1
2
|
import { type EmbedCardNodeViewProperties } from './embedCard';
|
|
2
|
-
export declare const lazyEmbedCardView: (props: EmbedCardNodeViewProperties) =>
|
|
3
|
+
export declare const lazyEmbedCardView: (props: EmbedCardNodeViewProperties) => NodeViewConstructor;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-card",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.15",
|
|
4
4
|
"description": "Card plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@atlaskit/adf-schema": "^46.1.0",
|
|
35
35
|
"@atlaskit/analytics-next": "^10.2.0",
|
|
36
36
|
"@atlaskit/custom-steps": "^0.9.0",
|
|
37
|
-
"@atlaskit/editor-common": "^99.
|
|
37
|
+
"@atlaskit/editor-common": "^99.4.0",
|
|
38
38
|
"@atlaskit/editor-plugin-analytics": "^1.10.0",
|
|
39
39
|
"@atlaskit/editor-plugin-base": "^2.1.0",
|
|
40
40
|
"@atlaskit/editor-plugin-connectivity": "^1.1.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
49
49
|
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
50
50
|
"@atlaskit/frontend-utilities": "^2.8.0",
|
|
51
|
-
"@atlaskit/icon": "^23.
|
|
51
|
+
"@atlaskit/icon": "^23.4.0",
|
|
52
52
|
"@atlaskit/link-analytics": "^8.6.0",
|
|
53
53
|
"@atlaskit/link-client-extension": "^3.0.0",
|
|
54
54
|
"@atlaskit/link-datasource": "^3.15.0",
|
|
@@ -57,10 +57,10 @@
|
|
|
57
57
|
"@atlaskit/menu": "2.13.8",
|
|
58
58
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
59
59
|
"@atlaskit/primitives": "^13.3.0",
|
|
60
|
-
"@atlaskit/smart-card": "^34.
|
|
60
|
+
"@atlaskit/smart-card": "^34.5.0",
|
|
61
61
|
"@atlaskit/theme": "^14.0.0",
|
|
62
|
-
"@atlaskit/tmp-editor-statsig": "^2.
|
|
63
|
-
"@atlaskit/tokens": "^3.
|
|
62
|
+
"@atlaskit/tmp-editor-statsig": "^2.38.0",
|
|
63
|
+
"@atlaskit/tokens": "^3.1.0",
|
|
64
64
|
"@babel/runtime": "^7.0.0",
|
|
65
65
|
"@emotion/react": "^11.7.1",
|
|
66
66
|
"lodash": "^4.17.21",
|