@atlaskit/editor-plugin-caption 3.1.2 → 3.1.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,13 @@
1
1
  # @atlaskit/editor-plugin-caption
2
2
 
3
+ ## 3.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`20d3223b57972`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/20d3223b57972) -
8
+ Opted out of debounced portal provider
9
+ - Updated dependencies
10
+
3
11
  ## 3.1.2
4
12
 
5
13
  ### Patch Changes
@@ -21,7 +21,9 @@ var CaptionNodeView = exports.CaptionNodeView = /*#__PURE__*/function (_Selectio
21
21
  function CaptionNodeView(node, view, getPos, portalProviderAPI, eventDispatcher, reactComponentProps, reactComponent, viewShouldUpdate, pluginInjectionApi) {
22
22
  var _this;
23
23
  (0, _classCallCheck2.default)(this, CaptionNodeView);
24
- _this = _callSuper(this, CaptionNodeView, [node, view, getPos, portalProviderAPI, eventDispatcher, reactComponentProps, reactComponent, viewShouldUpdate]);
24
+ _this = _callSuper(this, CaptionNodeView, [node, view, getPos, portalProviderAPI, eventDispatcher, reactComponentProps, reactComponent, viewShouldUpdate,
25
+ // @portal-render-immediately
26
+ true]);
25
27
  (0, _defineProperty2.default)(_this, "selected", _this.insideSelection());
26
28
  _this.pluginInjectionApi = pluginInjectionApi;
27
29
  _this.handleEditorDisabledChanged();
@@ -4,7 +4,9 @@ import { SelectionBasedNodeView } from '@atlaskit/editor-common/selection-based-
4
4
  import { Caption } from '@atlaskit/editor-common/ui';
5
5
  export class CaptionNodeView extends SelectionBasedNodeView {
6
6
  constructor(node, view, getPos, portalProviderAPI, eventDispatcher, reactComponentProps, reactComponent, viewShouldUpdate, pluginInjectionApi) {
7
- super(node, view, getPos, portalProviderAPI, eventDispatcher, reactComponentProps, reactComponent, viewShouldUpdate);
7
+ super(node, view, getPos, portalProviderAPI, eventDispatcher, reactComponentProps, reactComponent, viewShouldUpdate,
8
+ // @portal-render-immediately
9
+ true);
8
10
  _defineProperty(this, "selected", this.insideSelection());
9
11
  this.pluginInjectionApi = pluginInjectionApi;
10
12
  this.handleEditorDisabledChanged();
@@ -13,7 +13,9 @@ export var CaptionNodeView = /*#__PURE__*/function (_SelectionBasedNodeVi) {
13
13
  function CaptionNodeView(node, view, getPos, portalProviderAPI, eventDispatcher, reactComponentProps, reactComponent, viewShouldUpdate, pluginInjectionApi) {
14
14
  var _this;
15
15
  _classCallCheck(this, CaptionNodeView);
16
- _this = _callSuper(this, CaptionNodeView, [node, view, getPos, portalProviderAPI, eventDispatcher, reactComponentProps, reactComponent, viewShouldUpdate]);
16
+ _this = _callSuper(this, CaptionNodeView, [node, view, getPos, portalProviderAPI, eventDispatcher, reactComponentProps, reactComponent, viewShouldUpdate,
17
+ // @portal-render-immediately
18
+ true]);
17
19
  _defineProperty(_this, "selected", _this.insideSelection());
18
20
  _this.pluginInjectionApi = pluginInjectionApi;
19
21
  _this.handleEditorDisabledChanged();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-caption",
3
- "version": "3.1.2",
3
+ "version": "3.1.3",
4
4
  "description": "Caption plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "@atlaskit/editor-plugin-guideline": "^3.0.0",
47
47
  "@atlaskit/editor-plugin-selection": "^3.0.0",
48
48
  "@atlaskit/editor-plugin-width": "^4.0.0",
49
- "@atlaskit/renderer": "^120.3.0"
49
+ "@atlaskit/renderer": "^120.4.0"
50
50
  },
51
51
  "peerDependencies": {
52
- "@atlaskit/editor-common": "^107.16.0",
52
+ "@atlaskit/editor-common": "^107.25.0",
53
53
  "react": "^18.2.0"
54
54
  },
55
55
  "techstack": {