@atlaskit/editor-common 123.0.0 → 123.0.1

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-common
2
2
 
3
+ ## 123.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`5c5d8787bebca`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5c5d8787bebca) -
8
+ clean up feature gate tinymce_display_unknown_macro_body_content
9
+ - Updated dependencies
10
+
3
11
  ## 123.0.0
4
12
 
5
13
  ### Major Changes
@@ -296,7 +296,7 @@ var ExtensionComponentInner = /*#__PURE__*/function (_Component) {
296
296
  references: _this.props.references,
297
297
  isSelected: isSelected,
298
298
  loadingFallback: loadingFallback,
299
- showUnknownMacroPlaceholder: (0, _fg.fg)('tinymce_display_unknown_macro_body_content')
299
+ showUnknownMacroPlaceholder: true
300
300
  });
301
301
  }
302
302
  }
@@ -20,7 +20,6 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
20
20
  var _react = _interopRequireDefault(require("react"));
21
21
  var _reactIntl = require("react-intl");
22
22
  var _reactLoadable = _interopRequireDefault(require("react-loadable"));
23
- var _fg = require("@atlaskit/platform-feature-flags/fg");
24
23
  var _manifestHelpers = require("./manifest-helpers");
25
24
  var _messages = require("./messages");
26
25
  var _resolveImportSync = require("./resolveImportSync");
@@ -130,7 +129,7 @@ function ExtensionLoading(props) {
130
129
  if (props.error || props.timedOut) {
131
130
  // eslint-disable-next-line no-console
132
131
  console.error('Error rendering extension', props.error);
133
- if (props.error && props.showUnknownMacroPlaceholder && extensionNode && isUnknownConfluenceMacroWithBody(extensionNode) && (0, _fg.fg)('tinymce_display_unknown_macro_body_content')) {
132
+ if (props.error && props.showUnknownMacroPlaceholder && extensionNode && isUnknownConfluenceMacroWithBody(extensionNode)) {
134
133
  return /*#__PURE__*/_react.default.createElement(_UnknownMacroPlaceholder.UnknownMacroPlaceholder, {
135
134
  extensionNode: extensionNode
136
135
  });
@@ -27,7 +27,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
27
27
  var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
28
28
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
29
29
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
30
- var packageVersion = "122.12.0";
30
+ var packageVersion = "123.0.1";
31
31
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
32
32
  // Remove URL as it has UGC
33
33
  // Ignored via go/ees007
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
24
24
  * @jsx jsx
25
25
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
26
26
  var packageName = "@atlaskit/editor-common";
27
- var packageVersion = "122.12.0";
27
+ var packageVersion = "123.0.1";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -237,7 +237,7 @@ class ExtensionComponentInner extends Component {
237
237
  references: this.props.references,
238
238
  isSelected: isSelected,
239
239
  loadingFallback: loadingFallback,
240
- showUnknownMacroPlaceholder: fg('tinymce_display_unknown_macro_body_content')
240
+ showUnknownMacroPlaceholder: true
241
241
  });
242
242
  }
243
243
  }
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { useIntl } from 'react-intl';
3
3
  import Loadable from 'react-loadable';
4
- import { fg } from '@atlaskit/platform-feature-flags/fg';
5
4
  import { getExtensionKeyAndNodeKey, resolveImport } from './manifest-helpers';
6
5
  import { messages } from './messages';
7
6
  import { resolveImportSync } from './resolveImportSync';
@@ -69,7 +68,7 @@ function ExtensionLoading(props) {
69
68
  if (props.error || props.timedOut) {
70
69
  // eslint-disable-next-line no-console
71
70
  console.error('Error rendering extension', props.error);
72
- if (props.error && props.showUnknownMacroPlaceholder && extensionNode && isUnknownConfluenceMacroWithBody(extensionNode) && fg('tinymce_display_unknown_macro_body_content')) {
71
+ if (props.error && props.showUnknownMacroPlaceholder && extensionNode && isUnknownConfluenceMacroWithBody(extensionNode)) {
73
72
  return /*#__PURE__*/React.createElement(UnknownMacroPlaceholder, {
74
73
  extensionNode: extensionNode
75
74
  });
@@ -13,7 +13,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
13
13
  const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
14
14
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
15
15
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
16
- const packageVersion = "122.12.0";
16
+ const packageVersion = "123.0.1";
17
17
  const sanitiseSentryEvents = (data, _hint) => {
18
18
  // Remove URL as it has UGC
19
19
  // Ignored via go/ees007
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import { fg } from '@atlaskit/platform-feature-flags/fg';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "122.12.0";
17
+ const packageVersion = "123.0.1";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -287,7 +287,7 @@ var ExtensionComponentInner = /*#__PURE__*/function (_Component) {
287
287
  references: _this.props.references,
288
288
  isSelected: isSelected,
289
289
  loadingFallback: loadingFallback,
290
- showUnknownMacroPlaceholder: fg('tinymce_display_unknown_macro_body_content')
290
+ showUnknownMacroPlaceholder: true
291
291
  });
292
292
  }
293
293
  }
@@ -4,7 +4,6 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
4
4
  import React from 'react';
5
5
  import { useIntl } from 'react-intl';
6
6
  import Loadable from 'react-loadable';
7
- import { fg } from '@atlaskit/platform-feature-flags/fg';
8
7
  import { getExtensionKeyAndNodeKey, resolveImport } from './manifest-helpers';
9
8
  import { messages } from './messages';
10
9
  import { resolveImportSync } from './resolveImportSync';
@@ -115,7 +114,7 @@ function ExtensionLoading(props) {
115
114
  if (props.error || props.timedOut) {
116
115
  // eslint-disable-next-line no-console
117
116
  console.error('Error rendering extension', props.error);
118
- if (props.error && props.showUnknownMacroPlaceholder && extensionNode && isUnknownConfluenceMacroWithBody(extensionNode) && fg('tinymce_display_unknown_macro_body_content')) {
117
+ if (props.error && props.showUnknownMacroPlaceholder && extensionNode && isUnknownConfluenceMacroWithBody(extensionNode)) {
119
118
  return /*#__PURE__*/React.createElement(UnknownMacroPlaceholder, {
120
119
  extensionNode: extensionNode
121
120
  });
@@ -19,7 +19,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
19
19
  var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
20
20
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
21
21
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
22
- var packageVersion = "122.12.0";
22
+ var packageVersion = "123.0.1";
23
23
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
24
24
  // Remove URL as it has UGC
25
25
  // Ignored via go/ees007
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import { fg } from '@atlaskit/platform-feature-flags/fg';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "122.12.0";
24
+ var packageVersion = "123.0.1";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "123.0.0",
3
+ "version": "123.0.1",
4
4
  "description": "A package that contains common classes and components for editor and renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -32,7 +32,7 @@
32
32
  "@atlaskit/adf-schema": "^57.5.0",
33
33
  "@atlaskit/adf-utils": "^20.9.0",
34
34
  "@atlaskit/afm-i18n-platform-editor-editor-common": "2.249.0",
35
- "@atlaskit/analytics-listeners": "^11.3.0",
35
+ "@atlaskit/analytics-listeners": "^11.4.0",
36
36
  "@atlaskit/analytics-namespaced-context": "^8.2.0",
37
37
  "@atlaskit/analytics-next": "^12.5.0",
38
38
  "@atlaskit/atlassian-context": "^1.2.0",
@@ -229,9 +229,6 @@
229
229
  "jim-lower-ranking-in-jira-macro-search": {
230
230
  "type": "boolean"
231
231
  },
232
- "tinymce_display_unknown_macro_body_content": {
233
- "type": "boolean"
234
- },
235
232
  "platform_editor_media_border_radius_fix": {
236
233
  "type": "boolean"
237
234
  },