@atlaskit/editor-common 114.30.6 → 114.31.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,15 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 114.31.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`a41380b1c3530`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a41380b1c3530) -
8
+ [ux] Extended the empty state hero prompt config to support a consumer overriding what 'empty'
9
+ means, via a boolean override flag, which a consumer can set through the API ref. For example, for
10
+ a comment reply editor which is opened with a user mentioned by default, this can be treated as
11
+ 'empty' by the consumer.
12
+
3
13
  ## 114.30.6
4
14
 
5
15
  ### Patch Changes
@@ -407,6 +407,17 @@ var aiConfigItemMessages = exports.aiConfigItemMessages = (0, _reactIntl.defineM
407
407
  defaultMessage: 'Get an AI-suggested comment based on this work item',
408
408
  description: 'Description for the "Suggest a comment" Atlassian Intelligence feature shown in the editor toolbar.'
409
409
  },
410
+ // Suggest a reply messages
411
+ suggestReplyTitle: {
412
+ id: 'fabric.editor.ai.config.item.suggestReply.title',
413
+ defaultMessage: 'Suggest a reply',
414
+ description: 'Label for the AI-powered "Suggest a reply" hero button shown in the editor toolbar when the reply editor is open.'
415
+ },
416
+ suggestReplyDescription: {
417
+ id: 'fabric.editor.ai.config.item.suggestReply.description',
418
+ defaultMessage: 'Get an AI-suggested reply to this comment',
419
+ description: 'Description for the "Suggest a reply" Atlassian Intelligence feature shown in the editor toolbar.'
420
+ },
410
421
  // Suggest title messages
411
422
  suggestTitleTitle: {
412
423
  id: 'fabric.editor.ai.config.item.suggest.title',
@@ -19,7 +19,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
19
19
  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); }
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 = "114.30.5";
22
+ var packageVersion = "114.30.6";
23
23
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
24
24
  // Remove URL as it has UGC
25
25
  // 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 = "114.30.5";
27
+ var packageVersion = "114.30.6";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -401,6 +401,17 @@ export const aiConfigItemMessages = defineMessages({
401
401
  defaultMessage: 'Get an AI-suggested comment based on this work item',
402
402
  description: 'Description for the "Suggest a comment" Atlassian Intelligence feature shown in the editor toolbar.'
403
403
  },
404
+ // Suggest a reply messages
405
+ suggestReplyTitle: {
406
+ id: 'fabric.editor.ai.config.item.suggestReply.title',
407
+ defaultMessage: 'Suggest a reply',
408
+ description: 'Label for the AI-powered "Suggest a reply" hero button shown in the editor toolbar when the reply editor is open.'
409
+ },
410
+ suggestReplyDescription: {
411
+ id: 'fabric.editor.ai.config.item.suggestReply.description',
412
+ defaultMessage: 'Get an AI-suggested reply to this comment',
413
+ description: 'Description for the "Suggest a reply" Atlassian Intelligence feature shown in the editor toolbar.'
414
+ },
404
415
  // Suggest title messages
405
416
  suggestTitleTitle: {
406
417
  id: 'fabric.editor.ai.config.item.suggest.title',
@@ -4,7 +4,7 @@ import { isFedRamp } from './environment';
4
4
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
5
5
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
6
6
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
7
- const packageVersion = "114.30.5";
7
+ const packageVersion = "114.30.6";
8
8
  const sanitiseSentryEvents = (data, _hint) => {
9
9
  // Remove URL as it has UGC
10
10
  // 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 = "114.30.5";
17
+ const packageVersion = "114.30.6";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -401,6 +401,17 @@ export var aiConfigItemMessages = defineMessages({
401
401
  defaultMessage: 'Get an AI-suggested comment based on this work item',
402
402
  description: 'Description for the "Suggest a comment" Atlassian Intelligence feature shown in the editor toolbar.'
403
403
  },
404
+ // Suggest a reply messages
405
+ suggestReplyTitle: {
406
+ id: 'fabric.editor.ai.config.item.suggestReply.title',
407
+ defaultMessage: 'Suggest a reply',
408
+ description: 'Label for the AI-powered "Suggest a reply" hero button shown in the editor toolbar when the reply editor is open.'
409
+ },
410
+ suggestReplyDescription: {
411
+ id: 'fabric.editor.ai.config.item.suggestReply.description',
412
+ defaultMessage: 'Get an AI-suggested reply to this comment',
413
+ description: 'Description for the "Suggest a reply" Atlassian Intelligence feature shown in the editor toolbar.'
414
+ },
404
415
  // Suggest title messages
405
416
  suggestTitleTitle: {
406
417
  id: 'fabric.editor.ai.config.item.suggest.title',
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
10
10
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
11
11
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
12
12
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
13
- var packageVersion = "114.30.5";
13
+ var packageVersion = "114.30.6";
14
14
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
15
15
  // Remove URL as it has UGC
16
16
  // 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 = "114.30.5";
24
+ var packageVersion = "114.30.6";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -399,6 +399,16 @@ export declare const aiConfigItemMessages: {
399
399
  description: string;
400
400
  id: string;
401
401
  };
402
+ suggestReplyDescription: {
403
+ defaultMessage: string;
404
+ description: string;
405
+ id: string;
406
+ };
407
+ suggestReplyTitle: {
408
+ defaultMessage: string;
409
+ description: string;
410
+ id: string;
411
+ };
402
412
  suggestTitleDescription: {
403
413
  defaultMessage: string;
404
414
  description: string;
@@ -399,6 +399,16 @@ export declare const aiConfigItemMessages: {
399
399
  description: string;
400
400
  id: string;
401
401
  };
402
+ suggestReplyDescription: {
403
+ defaultMessage: string;
404
+ description: string;
405
+ id: string;
406
+ };
407
+ suggestReplyTitle: {
408
+ defaultMessage: string;
409
+ description: string;
410
+ id: string;
411
+ };
402
412
  suggestTitleDescription: {
403
413
  defaultMessage: string;
404
414
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "114.30.6",
3
+ "version": "114.31.0",
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/"