@atlaskit/editor-plugin-caption 3.1.2 → 3.1.4

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,21 @@
1
1
  # @atlaskit/editor-plugin-caption
2
2
 
3
+ ## 3.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`57b19274b9fdd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/57b19274b9fdd) -
8
+ EDITOR-1373 Bump adf-schema version
9
+ - Updated dependencies
10
+
11
+ ## 3.1.3
12
+
13
+ ### Patch Changes
14
+
15
+ - [`20d3223b57972`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/20d3223b57972) -
16
+ Opted out of debounced portal provider
17
+ - Updated dependencies
18
+
3
19
  ## 3.1.2
4
20
 
5
21
  ### 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.4",
4
4
  "description": "Caption plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -30,7 +30,7 @@
30
30
  ".": "./src/index.ts"
31
31
  },
32
32
  "dependencies": {
33
- "@atlaskit/adf-schema": "^50.2.0",
33
+ "@atlaskit/adf-schema": "^50.2.1",
34
34
  "@atlaskit/editor-plugin-analytics": "^3.0.0",
35
35
  "@atlaskit/editor-plugin-editor-disabled": "^3.0.0",
36
36
  "@atlaskit/editor-prosemirror": "7.0.0",
@@ -44,12 +44,12 @@
44
44
  "@atlaskit/editor-plugin-focus": "^2.0.0",
45
45
  "@atlaskit/editor-plugin-grid": "^3.1.0",
46
46
  "@atlaskit/editor-plugin-guideline": "^3.0.0",
47
- "@atlaskit/editor-plugin-selection": "^3.0.0",
47
+ "@atlaskit/editor-plugin-selection": "^3.1.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.26.0",
53
53
  "react": "^18.2.0"
54
54
  },
55
55
  "techstack": {