@atlaskit/editor-common 110.26.0 → 110.27.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,23 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 110.27.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 110.27.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`4303503b123a8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4303503b123a8) -
14
+ Revert fg-cleanup platform_editor_disable_rerender_tracking_jira
15
+
16
+ ### Patch Changes
17
+
18
+ - [`9aaeaa5054b55`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9aaeaa5054b55) -
19
+ EDITOR-2863 Add copy sync block option to block menu
20
+
3
21
  ## 110.26.0
4
22
 
5
23
  ### Minor Changes
@@ -66,6 +66,11 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
66
66
  defaultMessage: 'Create synced block',
67
67
  description: 'Create a synced block at this line, converting the selection to a synced block if applicable'
68
68
  },
69
+ copySyncedBlock: {
70
+ id: 'fabric.editor.block.menu.copy.synced.block',
71
+ defaultMessage: 'Copy synced block',
72
+ description: 'Copy the selected synced block to the clipboard'
73
+ },
69
74
  newLozenge: {
70
75
  id: 'fabric.editor.block.menu.new.lozenge',
71
76
  defaultMessage: 'New',
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
16
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
17
17
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
18
18
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
19
- var packageVersion = "110.25.4";
19
+ var packageVersion = "110.27.0";
20
20
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
21
21
  // Remove URL as it has UGC
22
22
  // 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 = "110.25.4";
27
+ var packageVersion = "110.27.0";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -60,6 +60,11 @@ export const messages = defineMessages({
60
60
  defaultMessage: 'Create synced block',
61
61
  description: 'Create a synced block at this line, converting the selection to a synced block if applicable'
62
62
  },
63
+ copySyncedBlock: {
64
+ id: 'fabric.editor.block.menu.copy.synced.block',
65
+ defaultMessage: 'Copy synced block',
66
+ description: 'Copy the selected synced block to the clipboard'
67
+ },
63
68
  newLozenge: {
64
69
  id: 'fabric.editor.block.menu.new.lozenge',
65
70
  defaultMessage: 'New',
@@ -1,7 +1,7 @@
1
1
  import { isFedRamp } from './environment';
2
2
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
3
3
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
4
- const packageVersion = "110.25.4";
4
+ const packageVersion = "110.27.0";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // Ignored via go/ees007
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import { fg } from '@atlaskit/platform-feature-flags';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "110.25.4";
17
+ const packageVersion = "110.27.0";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -60,6 +60,11 @@ export var messages = defineMessages({
60
60
  defaultMessage: 'Create synced block',
61
61
  description: 'Create a synced block at this line, converting the selection to a synced block if applicable'
62
62
  },
63
+ copySyncedBlock: {
64
+ id: 'fabric.editor.block.menu.copy.synced.block',
65
+ defaultMessage: 'Copy synced block',
66
+ description: 'Copy the selected synced block to the clipboard'
67
+ },
63
68
  newLozenge: {
64
69
  id: 'fabric.editor.block.menu.new.lozenge',
65
70
  defaultMessage: 'New',
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import { isFedRamp } from './environment';
8
8
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
9
9
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
10
- var packageVersion = "110.25.4";
10
+ var packageVersion = "110.27.0";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // Ignored via go/ees007
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import { fg } from '@atlaskit/platform-feature-flags';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "110.25.4";
24
+ var packageVersion = "110.27.0";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -59,6 +59,11 @@ export declare const messages: {
59
59
  defaultMessage: string;
60
60
  description: string;
61
61
  };
62
+ copySyncedBlock: {
63
+ id: string;
64
+ defaultMessage: string;
65
+ description: string;
66
+ };
62
67
  newLozenge: {
63
68
  id: string;
64
69
  defaultMessage: string;
@@ -125,6 +125,16 @@ export type FeatureFlags = {
125
125
  * @default false
126
126
  */
127
127
  extensionLocalIdGeneration?: boolean;
128
+ /**
129
+ * @description
130
+ * Used by the legacy content macro to disable render tracking due to excessive logs.
131
+ * Will be removed once re-rendering issue is resolved.
132
+ * Note: This is hardcoded into the LCM code, it does not exist in Switcheroo.
133
+ *
134
+ * @see https://product-fabric.atlassian.net/browse/ED-26650
135
+ * @default false
136
+ */
137
+ lcmPreventRenderTracking?: boolean;
128
138
  /**
129
139
  * @description
130
140
  * Use the linking platform link picker for link insertion and edit
@@ -59,6 +59,11 @@ export declare const messages: {
59
59
  defaultMessage: string;
60
60
  description: string;
61
61
  };
62
+ copySyncedBlock: {
63
+ id: string;
64
+ defaultMessage: string;
65
+ description: string;
66
+ };
62
67
  newLozenge: {
63
68
  id: string;
64
69
  defaultMessage: string;
@@ -125,6 +125,16 @@ export type FeatureFlags = {
125
125
  * @default false
126
126
  */
127
127
  extensionLocalIdGeneration?: boolean;
128
+ /**
129
+ * @description
130
+ * Used by the legacy content macro to disable render tracking due to excessive logs.
131
+ * Will be removed once re-rendering issue is resolved.
132
+ * Note: This is hardcoded into the LCM code, it does not exist in Switcheroo.
133
+ *
134
+ * @see https://product-fabric.atlassian.net/browse/ED-26650
135
+ * @default false
136
+ */
137
+ lcmPreventRenderTracking?: boolean;
128
138
  /**
129
139
  * @description
130
140
  * Use the linking platform link picker for link insertion and edit
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "110.26.0",
3
+ "version": "110.27.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/activity-provider": "^2.5.0",
33
33
  "@atlaskit/adf-schema": "^51.3.2",
34
34
  "@atlaskit/adf-utils": "^19.26.0",
35
- "@atlaskit/afm-i18n-platform-editor-editor-common": "2.7.0",
35
+ "@atlaskit/afm-i18n-platform-editor-editor-common": "2.10.0",
36
36
  "@atlaskit/analytics-listeners": "^9.1.0",
37
37
  "@atlaskit/analytics-namespaced-context": "^7.1.0",
38
38
  "@atlaskit/analytics-next": "^11.1.0",
@@ -51,7 +51,7 @@
51
51
  "@atlaskit/editor-toolbar": "^0.17.0",
52
52
  "@atlaskit/editor-toolbar-model": "^0.2.0",
53
53
  "@atlaskit/emoji": "^69.7.0",
54
- "@atlaskit/icon": "^28.5.0",
54
+ "@atlaskit/icon": "^29.0.0",
55
55
  "@atlaskit/icon-object": "^7.3.0",
56
56
  "@atlaskit/link": "^3.2.0",
57
57
  "@atlaskit/link-datasource": "^4.29.0",