@atlaskit/editor-plugin-card 6.3.2 → 6.3.3
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,29 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-card
|
|
2
2
|
|
|
3
|
+
## 6.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#159655](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/159655)
|
|
8
|
+
[`24f8c627d50f2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/24f8c627d50f2) - ##
|
|
9
|
+
WHAT? Remove experimental graceful edit mode from view mode plugin and associated props.
|
|
10
|
+
|
|
11
|
+
## WHY?
|
|
12
|
+
|
|
13
|
+
This experiment is being cleaned up and we are no longer proceeding in this direction.
|
|
14
|
+
|
|
15
|
+
## HOW to adjust?
|
|
16
|
+
|
|
17
|
+
This experiment was only enabled for Confluence and should not have been enabled in other places.
|
|
18
|
+
If for some reason any of the following props/state/methdos were used please remove them:
|
|
19
|
+
|
|
20
|
+
- isConsumption
|
|
21
|
+
- contentMode
|
|
22
|
+
- initialContentMode
|
|
23
|
+
- updateContentMode
|
|
24
|
+
|
|
25
|
+
- Updated dependencies
|
|
26
|
+
|
|
3
27
|
## 6.3.2
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/compass.yml
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
id: 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/b3ffe2fd-7f29-4a07-81cd-67c57914ec9a'
|
|
1
2
|
name: '@atlaskit/editor-plugin-card'
|
|
2
3
|
description: |-
|
|
3
4
|
This is an editor plugin for Atlassian's rich text editor that enables support for "smart cards" and advanced linking features within the editor. It integrates with the Atlassian linking platform to allow users to insert, display, and interact with rich link previews (smart cards) directly in the editor surface.
|
|
@@ -18,11 +19,11 @@ links:
|
|
|
18
19
|
- name: '#help-twg-linking-platform'
|
|
19
20
|
type: CHAT_CHANNEL
|
|
20
21
|
url: 'https://atlassian.enterprise.slack.com/archives/CFKGAQZRV'
|
|
21
|
-
- name:
|
|
22
|
+
- name: ''
|
|
22
23
|
type: ON_CALL
|
|
23
24
|
url: 'https://atlassian.app.opsgenie.com/settings/schedule/detail/b9c8b313-dd6d-4a41-8eeb-d7a9df55be9d'
|
|
24
25
|
- name: source code
|
|
25
26
|
type: REPOSITORY
|
|
26
|
-
url: 'https://bitbucket.org/atlassian/atlassian-frontend/src/master/packages/editor/editor-plugin-card'
|
|
27
|
+
url: 'https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/editor/editor-plugin-card'
|
|
27
28
|
customFields: []
|
|
28
29
|
relationships: {}
|
|
@@ -21,7 +21,6 @@ var _state = require("@atlaskit/editor-prosemirror/state");
|
|
|
21
21
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
22
22
|
var _smartCard = require("@atlaskit/smart-card");
|
|
23
23
|
var _ssr = require("@atlaskit/smart-card/ssr");
|
|
24
|
-
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
25
24
|
var _actions = require("../pm-plugins/actions");
|
|
26
25
|
var _utils = require("../pm-plugins/utils");
|
|
27
26
|
var _ConfigureOverlay = _interopRequireDefault(require("../ui/ConfigureOverlay"));
|
|
@@ -230,7 +229,7 @@ function InlineCardNodeView(props) {
|
|
|
230
229
|
appearance: "inline"
|
|
231
230
|
// Ignored via go/ees005
|
|
232
231
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
233
|
-
}, enableInlineUpgradeFeatures && (0, _utils.getAwarenessProps)(view.state, getPos, allowEmbeds, allowBlockCards,
|
|
232
|
+
}, enableInlineUpgradeFeatures && (0, _utils.getAwarenessProps)(view.state, getPos, allowEmbeds, allowBlockCards, mode === 'view'))), (0, _platformFeatureFlags.fg)('prompt_whiteboard_competitor_link_gate') && CompetitorPromptComponent);
|
|
234
233
|
}
|
|
235
234
|
var inlineCardNodeView = exports.inlineCardNodeView = function inlineCardNodeView(_ref2) {
|
|
236
235
|
var inlineCardViewProducer = _ref2.inlineCardViewProducer;
|
|
@@ -10,7 +10,6 @@ import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
|
10
10
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
11
|
import { Card as SmartCard } from '@atlaskit/smart-card';
|
|
12
12
|
import { CardSSR } from '@atlaskit/smart-card/ssr';
|
|
13
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
14
13
|
import { registerCard, removeCard } from '../pm-plugins/actions';
|
|
15
14
|
import { getAwarenessProps } from '../pm-plugins/utils';
|
|
16
15
|
import OverlayWrapper from '../ui/ConfigureOverlay';
|
|
@@ -224,7 +223,7 @@ export function InlineCardNodeView(props) {
|
|
|
224
223
|
appearance: "inline"
|
|
225
224
|
// Ignored via go/ees005
|
|
226
225
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
227
|
-
}, enableInlineUpgradeFeatures && getAwarenessProps(view.state, getPos, allowEmbeds, allowBlockCards,
|
|
226
|
+
}, enableInlineUpgradeFeatures && getAwarenessProps(view.state, getPos, allowEmbeds, allowBlockCards, mode === 'view'))), fg('prompt_whiteboard_competitor_link_gate') && CompetitorPromptComponent);
|
|
228
227
|
}
|
|
229
228
|
export const inlineCardNodeView = ({
|
|
230
229
|
inlineCardViewProducer
|
|
@@ -11,7 +11,6 @@ import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
|
11
11
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
12
|
import { Card as SmartCard } from '@atlaskit/smart-card';
|
|
13
13
|
import { CardSSR } from '@atlaskit/smart-card/ssr';
|
|
14
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
15
14
|
import { registerCard, removeCard } from '../pm-plugins/actions';
|
|
16
15
|
import { getAwarenessProps } from '../pm-plugins/utils';
|
|
17
16
|
import OverlayWrapper from '../ui/ConfigureOverlay';
|
|
@@ -218,7 +217,7 @@ export function InlineCardNodeView(props) {
|
|
|
218
217
|
appearance: "inline"
|
|
219
218
|
// Ignored via go/ees005
|
|
220
219
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
221
|
-
}, enableInlineUpgradeFeatures && getAwarenessProps(view.state, getPos, allowEmbeds, allowBlockCards,
|
|
220
|
+
}, enableInlineUpgradeFeatures && getAwarenessProps(view.state, getPos, allowEmbeds, allowBlockCards, mode === 'view'))), fg('prompt_whiteboard_competitor_link_gate') && CompetitorPromptComponent);
|
|
222
221
|
}
|
|
223
222
|
export var inlineCardNodeView = function inlineCardNodeView(_ref2) {
|
|
224
223
|
var inlineCardViewProducer = _ref2.inlineCardViewProducer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-card",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.3",
|
|
4
4
|
"description": "Card plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
"@atlaskit/analytics-next": "^11.0.0",
|
|
38
38
|
"@atlaskit/button": "^23.2.0",
|
|
39
39
|
"@atlaskit/custom-steps": "^0.11.0",
|
|
40
|
-
"@atlaskit/editor-common": "^105.
|
|
40
|
+
"@atlaskit/editor-common": "^105.10.0",
|
|
41
41
|
"@atlaskit/editor-plugin-analytics": "^2.3.0",
|
|
42
42
|
"@atlaskit/editor-plugin-base": "^3.0.0",
|
|
43
43
|
"@atlaskit/editor-plugin-connectivity": "^2.0.0",
|
|
44
44
|
"@atlaskit/editor-plugin-decorations": "^2.0.0",
|
|
45
45
|
"@atlaskit/editor-plugin-editor-disabled": "^2.0.0",
|
|
46
|
-
"@atlaskit/editor-plugin-editor-viewmode": "^
|
|
46
|
+
"@atlaskit/editor-plugin-editor-viewmode": "^4.0.0",
|
|
47
47
|
"@atlaskit/editor-plugin-feature-flags": "^1.4.0",
|
|
48
48
|
"@atlaskit/editor-plugin-floating-toolbar": "^4.1.0",
|
|
49
49
|
"@atlaskit/editor-plugin-grid": "^2.0.0",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
52
52
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
53
53
|
"@atlaskit/frontend-utilities": "^3.0.0",
|
|
54
|
-
"@atlaskit/icon": "^26.
|
|
54
|
+
"@atlaskit/icon": "^26.3.0",
|
|
55
55
|
"@atlaskit/link": "^3.2.0",
|
|
56
56
|
"@atlaskit/link-analytics": "^10.0.0",
|
|
57
57
|
"@atlaskit/link-client-extension": "^5.0.0",
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
"@atlaskit/menu": "^8.0.0",
|
|
62
62
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
63
63
|
"@atlaskit/primitives": "^14.8.0",
|
|
64
|
-
"@atlaskit/smart-card": "^38.
|
|
64
|
+
"@atlaskit/smart-card": "^38.5.0",
|
|
65
65
|
"@atlaskit/theme": "^18.0.0",
|
|
66
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
66
|
+
"@atlaskit/tmp-editor-statsig": "^5.0.0",
|
|
67
67
|
"@atlaskit/tokens": "^4.9.0",
|
|
68
68
|
"@babel/runtime": "^7.0.0",
|
|
69
69
|
"@emotion/react": "^11.7.1",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"uuid": "^3.1.0"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
|
-
"@atlaskit/link-provider": "^3.
|
|
76
|
+
"@atlaskit/link-provider": "^3.1.0",
|
|
77
77
|
"react": "^18.2.0",
|
|
78
78
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
79
79
|
},
|
|
@@ -173,5 +173,6 @@
|
|
|
173
173
|
"no-unused-dependencies": {
|
|
174
174
|
"checkDevDependencies": true
|
|
175
175
|
}
|
|
176
|
-
}
|
|
176
|
+
},
|
|
177
|
+
"compassUnitTestMetricSourceId": "ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/44b8f355-366d-4e0c-a22a-1ba5a6106330"
|
|
177
178
|
}
|