@atlaskit/editor-plugin-synced-block 12.0.12 → 12.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-synced-block
2
2
 
3
+ ## 12.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
  ## 12.0.12
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/c3a58f4b-80a7-4d15-83e6-05bbc6d0bd2e
3
3
  name: '@atlaskit/editor-plugin-synced-block'
4
- ownerId: ari:cloud:identity::team/2484e1f6-f62c-4a70-95f1-8e5695c51b6b # Editor Jenga
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/C061GUMN3NY # #team-cc-editor-exp-cloud-native
19
+ url: https://atlassian.enterprise.slack.com/archives/CFG3PSQ9E # #help-editor
20
20
  - name: Editor Plugin Synced Block
21
21
  type: REPOSITORY
22
22
  url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/editor/editor-plugin-synced-block
23
23
  customFields:
24
24
  - name: Department
25
25
  type: text
26
- value: Eng - Editor Autonomy - Jenga
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
@@ -22,7 +22,7 @@ var _coreUtils = require("@atlaskit/editor-common/core-utils");
22
22
  function SyncBlockSSRReactContextsProvider(_ref) {
23
23
  var children = _ref.children,
24
24
  intl = _ref.intl;
25
- if (!(0, _coreUtils.isSSR)() || !(0, _coreUtils.isSSRStreaming)()) {
25
+ if (!(0, _coreUtils.isSSR)()) {
26
26
  return children;
27
27
  }
28
28
  if (!intl) {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { RawIntlProvider } from 'react-intl';
3
- import { isSSR, isSSRStreaming } from '@atlaskit/editor-common/core-utils';
3
+ import { isSSR } from '@atlaskit/editor-common/core-utils';
4
4
  /**
5
5
  * Wraps syncBlock nodeview children with the editor's actual IntlProvider during
6
6
  * SSR streaming (renderToStaticMarkup). This ensures that components using
@@ -16,7 +16,7 @@ export function SyncBlockSSRReactContextsProvider({
16
16
  children,
17
17
  intl
18
18
  }) {
19
- if (!isSSR() || !isSSRStreaming()) {
19
+ if (!isSSR()) {
20
20
  return children;
21
21
  }
22
22
  if (!intl) {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { RawIntlProvider } from 'react-intl';
3
- import { isSSR, isSSRStreaming } from '@atlaskit/editor-common/core-utils';
3
+ import { isSSR } from '@atlaskit/editor-common/core-utils';
4
4
  /**
5
5
  * Wraps syncBlock nodeview children with the editor's actual IntlProvider during
6
6
  * SSR streaming (renderToStaticMarkup). This ensures that components using
@@ -15,7 +15,7 @@ import { isSSR, isSSRStreaming } from '@atlaskit/editor-common/core-utils';
15
15
  export function SyncBlockSSRReactContextsProvider(_ref) {
16
16
  var children = _ref.children,
17
17
  intl = _ref.intl;
18
- if (!isSSR() || !isSSRStreaming()) {
18
+ if (!isSSR()) {
19
19
  return children;
20
20
  }
21
21
  if (!intl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-synced-block",
3
- "version": "12.0.12",
3
+ "version": "12.1.0",
4
4
  "description": "SyncedBlock plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -46,7 +46,7 @@
46
46
  "@atlaskit/platform-feature-flags": "^2.1.0",
47
47
  "@atlaskit/primitives": "^22.2.0",
48
48
  "@atlaskit/spinner": "20.1.2",
49
- "@atlaskit/tmp-editor-statsig": "^147.0.0",
49
+ "@atlaskit/tmp-editor-statsig": "^147.1.0",
50
50
  "@atlaskit/tokens": "16.7.0",
51
51
  "@atlaskit/tooltip": "^24.0.0",
52
52
  "@atlaskit/visually-hidden": "^4.2.0",
@@ -58,7 +58,7 @@
58
58
  "memoize-one": "^6.0.0"
59
59
  },
60
60
  "peerDependencies": {
61
- "@atlaskit/editor-common": "^118.10.0",
61
+ "@atlaskit/editor-common": "^118.12.0",
62
62
  "react": "^18.2.0 || ^19.2.0",
63
63
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
64
64
  },