@atlaskit/editor-common 116.31.0 → 116.32.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,24 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 116.32.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 116.32.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`3574c94470487`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3574c94470487) -
14
+ Add `blockTypeMessages.syncedBlockQuickInsertTitle` for noun-form synced block labels, for example
15
+ `formatMessage(blockTypeMessages.syncedBlockQuickInsertTitle)`, and use it in quick insert under
16
+ the activation experiment.
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies
21
+
3
22
  ## 116.31.0
4
23
 
5
24
  ### Minor Changes
@@ -166,6 +166,11 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
166
166
  defaultMessage: 'Sync block',
167
167
  description: 'Short label for inserting a synced block'
168
168
  },
169
+ syncedBlockQuickInsertTitle: {
170
+ id: 'editor-common.messages.block-type.syncedBlockQuickInsertTitle',
171
+ defaultMessage: 'Synced block',
172
+ description: 'Label for the synced block item in the quick insert menu. This names the object that the item inserts.'
173
+ },
169
174
  syncedBlockDescription: {
170
175
  id: 'fabric.editor.syncedBlock.description',
171
176
  defaultMessage: 'Sync content across multiple locations',
@@ -28,7 +28,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
28
28
  var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
29
29
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
30
30
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
31
- var packageVersion = "116.30.4";
31
+ var packageVersion = "116.32.0";
32
32
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
33
33
  // Remove URL as it has UGC
34
34
  // 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 = "116.30.4";
27
+ var packageVersion = "116.32.0";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -14,7 +14,7 @@ var _anchor = _interopRequireDefault(require("@atlaskit/primitives/anchor"));
14
14
  var _user = _interopRequireDefault(require("@atlaskit/profilecard/user"));
15
15
  var _navigation = require("@atlaskit/teams-app-config/navigation");
16
16
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
17
- 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" != (0, _typeof2.default)(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
+ 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" != (0, _typeof2.default)(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); } // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
18
18
  // Lazy-loaded so the agent profile card chunk (and its `@atlaskit/rovo-agent-components`
19
19
  // dependency) stays off the critical path — it is only fetched when an agent mention
20
20
  // (`userType === 'APP'`) actually renders, never for person mentions.
@@ -160,6 +160,11 @@ export const messages = defineMessages({
160
160
  defaultMessage: 'Sync block',
161
161
  description: 'Short label for inserting a synced block'
162
162
  },
163
+ syncedBlockQuickInsertTitle: {
164
+ id: 'editor-common.messages.block-type.syncedBlockQuickInsertTitle',
165
+ defaultMessage: 'Synced block',
166
+ description: 'Label for the synced block item in the quick insert menu. This names the object that the item inserts.'
167
+ },
163
168
  syncedBlockDescription: {
164
169
  id: 'fabric.editor.syncedBlock.description',
165
170
  defaultMessage: 'Sync content across multiple locations',
@@ -14,7 +14,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
14
14
  const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
15
15
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
16
16
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
17
- const packageVersion = "116.30.4";
17
+ const packageVersion = "116.32.0";
18
18
  const sanitiseSentryEvents = (data, _hint) => {
19
19
  // Remove URL as it has UGC
20
20
  // 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 = "116.30.4";
17
+ const packageVersion = "116.32.0";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -2,6 +2,7 @@ import React, { useMemo } from 'react';
2
2
  import Loadable from 'react-loadable';
3
3
  import { ResourcedMention } from '@atlaskit/mention';
4
4
  import { fg } from '@atlaskit/platform-feature-flags';
5
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
5
6
  import Anchor from '@atlaskit/primitives/anchor';
6
7
  import ProfileCardTrigger from '@atlaskit/profilecard/user';
7
8
  import { navigateToTeamsApp } from '@atlaskit/teams-app-config/navigation';
@@ -160,6 +160,11 @@ export var messages = defineMessages({
160
160
  defaultMessage: 'Sync block',
161
161
  description: 'Short label for inserting a synced block'
162
162
  },
163
+ syncedBlockQuickInsertTitle: {
164
+ id: 'editor-common.messages.block-type.syncedBlockQuickInsertTitle',
165
+ defaultMessage: 'Synced block',
166
+ description: 'Label for the synced block item in the quick insert menu. This names the object that the item inserts.'
167
+ },
163
168
  syncedBlockDescription: {
164
169
  id: 'fabric.editor.syncedBlock.description',
165
170
  defaultMessage: 'Sync content across multiple locations',
@@ -20,7 +20,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
20
20
  var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
21
21
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
22
22
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
23
- var packageVersion = "116.30.4";
23
+ var packageVersion = "116.32.0";
24
24
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
25
25
  // Remove URL as it has UGC
26
26
  // 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 = "116.30.4";
24
+ var packageVersion = "116.32.0";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -2,6 +2,7 @@ import React, { useMemo } from 'react';
2
2
  import Loadable from 'react-loadable';
3
3
  import { ResourcedMention } from '@atlaskit/mention';
4
4
  import { fg } from '@atlaskit/platform-feature-flags';
5
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
5
6
  import Anchor from '@atlaskit/primitives/anchor';
6
7
  import ProfileCardTrigger from '@atlaskit/profilecard/user';
7
8
  import { navigateToTeamsApp } from '@atlaskit/teams-app-config/navigation';
@@ -154,12 +154,12 @@ export declare const messages: {
154
154
  description: string;
155
155
  id: string;
156
156
  };
157
- syncedBlock: {
157
+ syncBlock: {
158
158
  defaultMessage: string;
159
159
  description: string;
160
160
  id: string;
161
161
  };
162
- syncBlock: {
162
+ syncedBlock: {
163
163
  defaultMessage: string;
164
164
  description: string;
165
165
  id: string;
@@ -169,6 +169,11 @@ export declare const messages: {
169
169
  description: string;
170
170
  id: string;
171
171
  };
172
+ syncedBlockQuickInsertTitle: {
173
+ defaultMessage: string;
174
+ description: string;
175
+ id: string;
176
+ };
172
177
  warningPanel: {
173
178
  defaultMessage: string;
174
179
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "116.31.0",
3
+ "version": "116.32.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/"
@@ -47,7 +47,7 @@
47
47
  "@atlaskit/editor-prosemirror": "^8.0.0",
48
48
  "@atlaskit/editor-shared-styles": "^4.0.0",
49
49
  "@atlaskit/editor-tables": "^3.0.0",
50
- "@atlaskit/editor-toolbar": "^2.2.0",
50
+ "@atlaskit/editor-toolbar": "^2.3.0",
51
51
  "@atlaskit/editor-toolbar-model": "^1.1.0",
52
52
  "@atlaskit/emoji": "^71.9.0",
53
53
  "@atlaskit/icon": "^37.0.0",
@@ -62,7 +62,7 @@
62
62
  "@atlaskit/media-picker": "^72.1.0",
63
63
  "@atlaskit/media-ui": "^30.7.0",
64
64
  "@atlaskit/media-viewer": "^54.5.0",
65
- "@atlaskit/mention": "^27.6.0",
65
+ "@atlaskit/mention": "^27.7.0",
66
66
  "@atlaskit/menu": "^9.2.0",
67
67
  "@atlaskit/object": "^2.2.0",
68
68
  "@atlaskit/onboarding": "^15.1.0",
@@ -81,7 +81,7 @@
81
81
  "@atlaskit/teams-app-config": "^2.1.0",
82
82
  "@atlaskit/textfield": "^9.1.0",
83
83
  "@atlaskit/tmp-editor-statsig": "^126.1.0",
84
- "@atlaskit/tokens": "^15.8.0",
84
+ "@atlaskit/tokens": "^16.0.0",
85
85
  "@atlaskit/tooltip": "^23.1.0",
86
86
  "@atlaskit/width-detector": "^6.2.0",
87
87
  "@babel/runtime": "^7.0.0",