@atlaskit/editor-plugin-caption 14.0.0 → 14.1.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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @atlaskit/editor-plugin-caption
2
2
 
3
+ ## 14.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`da5eaf0bc37da`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/da5eaf0bc37da) -
8
+ Clean up the platform_editor_editor_ssr_streaming experiment. The SSR streaming code paths are now
9
+ permanent and the isSSRStreaming() utility has been removed from
10
+ @atlaskit/editor-common/core-utils.
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 14.0.0
4
17
 
5
18
  ### Patch Changes
package/compass.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  configVersion: 1
2
2
  id: ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/8675b08d-8df2-45fe-b0ae-38e71c4206e9
3
3
  name: '@atlaskit/editor-plugin-caption'
4
- ownerId: ari:cloud:identity::team/0250ee69-f755-47fd-a468-bf8a9d10a3c5 # Editor AI
4
+ ownerId: ari:cloud:identity::team/cf6a670b-5252-4c68-a769-9207de366beb # Editor Developers
5
5
  labels:
6
6
  - platform-code
7
7
  - platform-afm
@@ -16,14 +16,14 @@ links:
16
16
  url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master
17
17
  - name: Slack Channel
18
18
  type: CHAT_CHANNEL
19
- url: https://atlassian.enterprise.slack.com/archives/C03ULQ29LJ0 # #team-cc-editor-ai
19
+ url: https://atlassian.enterprise.slack.com/archives/CFG3PSQ9E # #help-editor
20
20
  - name: Editor Plugin Caption
21
21
  type: REPOSITORY
22
22
  url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/editor/editor-plugin-caption
23
23
  customFields:
24
24
  - name: Department
25
25
  type: text
26
- value: Eng - Editor
26
+ value: Editor Developers
27
27
  - name: Trusted Reviewer Teams
28
28
  type: text
29
29
  value: ari:cloud:identity::team/cf6a670b-5252-4c68-a769-9207de366beb
@@ -87,7 +87,7 @@ var CaptionNodeView = exports.CaptionNodeView = /*#__PURE__*/function (_Selectio
87
87
  }, /*#__PURE__*/_react.default.createElement(_reactNodeView.NodeViewContentHole, {
88
88
  ref: forwardRef
89
89
  }));
90
- if (!this.intl || !(0, _coreUtils.isSSR)() || !(0, _coreUtils.isSSRStreaming)()) {
90
+ if (!this.intl || !(0, _coreUtils.isSSR)()) {
91
91
  return children;
92
92
  }
93
93
  return /*#__PURE__*/_react.default.createElement(_reactIntl.RawIntlProvider, {
@@ -2,7 +2,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import React from 'react';
3
3
  import { RawIntlProvider } from 'react-intl';
4
4
  import { getDocument } from '@atlaskit/browser-apis';
5
- import { isSSR, isSSRStreaming } from '@atlaskit/editor-common/core-utils';
5
+ import { isSSR } from '@atlaskit/editor-common/core-utils';
6
6
  import { NodeViewContentHole } from '@atlaskit/editor-common/react-node-view';
7
7
  import { SelectionBasedNodeView } from '@atlaskit/editor-common/selection-based-node-view';
8
8
  import { Caption } from '@atlaskit/editor-common/ui';
@@ -57,7 +57,7 @@ export class CaptionNodeView extends SelectionBasedNodeView {
57
57
  }, /*#__PURE__*/React.createElement(NodeViewContentHole, {
58
58
  ref: forwardRef
59
59
  }));
60
- if (!this.intl || !isSSR() || !isSSRStreaming()) {
60
+ if (!this.intl || !isSSR()) {
61
61
  return children;
62
62
  }
63
63
  return /*#__PURE__*/React.createElement(RawIntlProvider, {
@@ -9,7 +9,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
9
9
  import React from 'react';
10
10
  import { RawIntlProvider } from 'react-intl';
11
11
  import { getDocument } from '@atlaskit/browser-apis';
12
- import { isSSR, isSSRStreaming } from '@atlaskit/editor-common/core-utils';
12
+ import { isSSR } from '@atlaskit/editor-common/core-utils';
13
13
  import { NodeViewContentHole } from '@atlaskit/editor-common/react-node-view';
14
14
  import { SelectionBasedNodeView } from '@atlaskit/editor-common/selection-based-node-view';
15
15
  import { Caption } from '@atlaskit/editor-common/ui';
@@ -79,7 +79,7 @@ export var CaptionNodeView = /*#__PURE__*/function (_SelectionBasedNodeVi) {
79
79
  }, /*#__PURE__*/React.createElement(NodeViewContentHole, {
80
80
  ref: forwardRef
81
81
  }));
82
- if (!this.intl || !isSSR() || !isSSRStreaming()) {
82
+ if (!this.intl || !isSSR()) {
83
83
  return children;
84
84
  }
85
85
  return /*#__PURE__*/React.createElement(RawIntlProvider, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-caption",
3
- "version": "14.0.0",
3
+ "version": "14.1.0",
4
4
  "description": "Caption plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -19,7 +19,7 @@
19
19
  "sideEffects": false,
20
20
  "atlaskit:src": "src/index.ts",
21
21
  "dependencies": {
22
- "@atlaskit/adf-schema": "^56.6.0",
22
+ "@atlaskit/adf-schema": "^56.7.0",
23
23
  "@atlaskit/browser-apis": "^1.2.0",
24
24
  "@atlaskit/editor-plugin-analytics": "^14.0.0",
25
25
  "@atlaskit/editor-plugin-editor-disabled": "^14.0.0",
@@ -27,7 +27,7 @@
27
27
  "@babel/runtime": "^7.0.0"
28
28
  },
29
29
  "peerDependencies": {
30
- "@atlaskit/editor-common": "^118.0.0",
30
+ "@atlaskit/editor-common": "^118.12.0",
31
31
  "react": "^18.2.0 || ^19.2.0",
32
32
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
33
33
  },