@atlaskit/editor-plugin-card 5.2.0 → 5.2.2

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-card
2
2
 
3
+ ## 5.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#123042](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/123042)
8
+ [`c21eaf81cd674`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c21eaf81cd674) -
9
+ Fix card state on embed card which was never removed if the card was deleted or changed.
10
+
11
+ ## 5.2.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 5.2.0
4
18
 
5
19
  ### Minor Changes
@@ -400,7 +400,8 @@ var EmbedCard = exports.EmbedCard = /*#__PURE__*/function (_ReactNodeView) {
400
400
  fullWidthMode: fullWidthMode,
401
401
  dispatchAnalyticsEvent: dispatchAnalyticsEvent,
402
402
  pluginInjectionApi: pluginInjectionApi,
403
- onClickCallback: onClickCallback
403
+ onClickCallback: onClickCallback,
404
+ id: this.id
404
405
  });
405
406
  }
406
407
  }, {
@@ -378,7 +378,8 @@ export class EmbedCard extends ReactNodeView {
378
378
  fullWidthMode: fullWidthMode,
379
379
  dispatchAnalyticsEvent: dispatchAnalyticsEvent,
380
380
  pluginInjectionApi: pluginInjectionApi,
381
- onClickCallback: onClickCallback
381
+ onClickCallback: onClickCallback,
382
+ id: this.id
382
383
  });
383
384
  }
384
385
  destroy() {
@@ -393,7 +393,8 @@ export var EmbedCard = /*#__PURE__*/function (_ReactNodeView) {
393
393
  fullWidthMode: fullWidthMode,
394
394
  dispatchAnalyticsEvent: dispatchAnalyticsEvent,
395
395
  pluginInjectionApi: pluginInjectionApi,
396
- onClickCallback: onClickCallback
396
+ onClickCallback: onClickCallback,
397
+ id: this.id
397
398
  });
398
399
  }
399
400
  }, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-card",
3
- "version": "5.2.0",
3
+ "version": "5.2.2",
4
4
  "description": "Card plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -57,11 +57,11 @@
57
57
  "@atlaskit/link-datasource": "^3.22.0",
58
58
  "@atlaskit/linking-common": "^8.0.0",
59
59
  "@atlaskit/linking-types": "^9.6.0",
60
- "@atlaskit/menu": "3.1.0",
60
+ "@atlaskit/menu": "3.1.1",
61
61
  "@atlaskit/platform-feature-flags": "^1.1.0",
62
62
  "@atlaskit/primitives": "^14.1.0",
63
- "@atlaskit/smart-card": "^35.1.0",
64
- "@atlaskit/theme": "^17.0.0",
63
+ "@atlaskit/smart-card": "^35.2.0",
64
+ "@atlaskit/theme": "^18.0.0",
65
65
  "@atlaskit/tmp-editor-statsig": "^3.4.0",
66
66
  "@atlaskit/tokens": "^4.3.0",
67
67
  "@babel/runtime": "^7.0.0",