@atlaskit/editor-plugin-caption 14.0.0 → 15.0.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 +19 -0
- package/compass.yml +3 -3
- package/dist/cjs/nodeviews/index.js +1 -1
- package/dist/es2019/nodeviews/index.js +2 -2
- package/dist/esm/nodeviews/index.js +2 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-caption
|
|
2
2
|
|
|
3
|
+
## 15.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 14.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`da5eaf0bc37da`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/da5eaf0bc37da) -
|
|
14
|
+
Clean up the platform_editor_editor_ssr_streaming experiment. The SSR streaming code paths are now
|
|
15
|
+
permanent and the isSSRStreaming() utility has been removed from
|
|
16
|
+
@atlaskit/editor-common/core-utils.
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 14.0.0
|
|
4
23
|
|
|
5
24
|
### 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/
|
|
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/
|
|
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:
|
|
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)()
|
|
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
|
|
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()
|
|
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
|
|
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()
|
|
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": "
|
|
3
|
+
"version": "15.0.0",
|
|
4
4
|
"description": "Caption plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"atlaskit:src": "src/index.ts",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@atlaskit/adf-schema": "^56.
|
|
22
|
+
"@atlaskit/adf-schema": "^56.7.0",
|
|
23
23
|
"@atlaskit/browser-apis": "^1.2.0",
|
|
24
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
25
|
-
"@atlaskit/editor-plugin-editor-disabled": "^
|
|
24
|
+
"@atlaskit/editor-plugin-analytics": "^15.0.0",
|
|
25
|
+
"@atlaskit/editor-plugin-editor-disabled": "^15.0.0",
|
|
26
26
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
27
27
|
"@babel/runtime": "^7.0.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@atlaskit/editor-common": "^
|
|
30
|
+
"@atlaskit/editor-common": "^119.0.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
|
},
|