@atlaskit/editor-plugin-card 6.5.4 → 6.6.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 +12 -0
- package/dist/cjs/nodeviews/inlineCard.js +2 -1
- package/dist/es2019/nodeviews/inlineCard.js +2 -1
- package/dist/esm/nodeviews/inlineCard.js +2 -1
- package/dist/types/nodeviews/genericCard.d.ts +1 -0
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types-ts4.5/nodeviews/genericCard.d.ts +1 -0
- package/dist/types-ts4.5/types/index.d.ts +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-card
|
|
2
2
|
|
|
3
|
+
## 6.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#166813](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/166813)
|
|
8
|
+
[`31f2603b81531`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/31f2603b81531) -
|
|
9
|
+
[ux] Adjust optional CompetitorPrompt component type
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 6.5.4
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -201,7 +201,8 @@ function InlineCardNodeView(props) {
|
|
|
201
201
|
var floatingToolbarNode = selection instanceof _state.NodeSelection && selection.node;
|
|
202
202
|
var url = node.attrs.url;
|
|
203
203
|
var CompetitorPromptComponent = CompetitorPrompt && url ? /*#__PURE__*/_react.default.createElement(CompetitorPrompt, {
|
|
204
|
-
sourceUrl: url
|
|
204
|
+
sourceUrl: url,
|
|
205
|
+
linkType: "inline"
|
|
205
206
|
}) : null;
|
|
206
207
|
if (__livePage && (0, _platformFeatureFlags.fg)('linking_platform_smart_links_in_live_pages')) {
|
|
207
208
|
var showHoverPreview = floatingToolbarNode !== node;
|
|
@@ -197,7 +197,8 @@ export function InlineCardNodeView(props) {
|
|
|
197
197
|
const floatingToolbarNode = selection instanceof NodeSelection && selection.node;
|
|
198
198
|
const url = node.attrs.url;
|
|
199
199
|
const CompetitorPromptComponent = CompetitorPrompt && url ? /*#__PURE__*/React.createElement(CompetitorPrompt, {
|
|
200
|
-
sourceUrl: url
|
|
200
|
+
sourceUrl: url,
|
|
201
|
+
linkType: "inline"
|
|
201
202
|
}) : null;
|
|
202
203
|
if (__livePage && fg('linking_platform_smart_links_in_live_pages')) {
|
|
203
204
|
const showHoverPreview = floatingToolbarNode !== node;
|
|
@@ -190,7 +190,8 @@ export function InlineCardNodeView(props) {
|
|
|
190
190
|
var floatingToolbarNode = selection instanceof NodeSelection && selection.node;
|
|
191
191
|
var url = node.attrs.url;
|
|
192
192
|
var CompetitorPromptComponent = CompetitorPrompt && url ? /*#__PURE__*/React.createElement(CompetitorPrompt, {
|
|
193
|
-
sourceUrl: url
|
|
193
|
+
sourceUrl: url,
|
|
194
|
+
linkType: "inline"
|
|
194
195
|
}) : null;
|
|
195
196
|
if (__livePage && fg('linking_platform_smart_links_in_live_pages')) {
|
|
196
197
|
var showHoverPreview = floatingToolbarNode !== node;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-card",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.6.0",
|
|
4
4
|
"description": "Card plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@atlaskit/smart-card": "^38.8.0",
|
|
65
65
|
"@atlaskit/theme": "^18.0.0",
|
|
66
66
|
"@atlaskit/tmp-editor-statsig": "^5.13.0",
|
|
67
|
-
"@atlaskit/tokens": "^5.
|
|
67
|
+
"@atlaskit/tokens": "^5.1.0",
|
|
68
68
|
"@babel/runtime": "^7.0.0",
|
|
69
69
|
"@emotion/react": "^11.7.1",
|
|
70
70
|
"lodash": "^4.17.21",
|