@atlaskit/editor-common 110.21.4 → 110.22.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,12 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 110.22.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`ce8436f1e7dc4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ce8436f1e7dc4) -
8
+ [ux] Add draft reply as hero prompt only for JSM
9
+
3
10
  ## 110.21.4
4
11
 
5
12
  ### Patch Changes
@@ -255,6 +255,17 @@ var aiConfigItemMessages = exports.aiConfigItemMessages = (0, _reactIntlNext.def
255
255
  defaultMessage: 'Drafts a reply based on issues similar to the one you’re working on',
256
256
  description: 'Describes the "Draft reply" Atlassian Intelligence feature shown in editor typeahead and element browser.'
257
257
  },
258
+ // Draft reply pill messages
259
+ draftReplyHeroPromptTitle: {
260
+ id: 'fabric.editor.ai.config.item.draftReply.heroPromptTitle',
261
+ defaultMessage: 'Suggest reply',
262
+ description: 'Title for feature feature when shown in AIFC new editor as hero prompt'
263
+ },
264
+ draftReplyHeroPromptDescription: {
265
+ id: 'fabric.editor.ai.config.item.draftReply.heroPromptDescription',
266
+ defaultMessage: 'Enhances the reply based on issues similar to the one you’re working on',
267
+ description: 'Describes the "Enhance reply" feature when Draft reply is shown in AIFC new editor as hero prompt'
268
+ },
258
269
  // Generate Escalation Notes messages
259
270
  generateEscalationNotesTitle: {
260
271
  id: 'fabric.editor.ai.config.item.generateEscalationNotes.title',
@@ -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.21.3";
19
+ var packageVersion = "0.0.0-development";
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.21.3";
27
+ var packageVersion = "0.0.0-development";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -249,6 +249,17 @@ export const aiConfigItemMessages = defineMessages({
249
249
  defaultMessage: 'Drafts a reply based on issues similar to the one you’re working on',
250
250
  description: 'Describes the "Draft reply" Atlassian Intelligence feature shown in editor typeahead and element browser.'
251
251
  },
252
+ // Draft reply pill messages
253
+ draftReplyHeroPromptTitle: {
254
+ id: 'fabric.editor.ai.config.item.draftReply.heroPromptTitle',
255
+ defaultMessage: 'Suggest reply',
256
+ description: 'Title for feature feature when shown in AIFC new editor as hero prompt'
257
+ },
258
+ draftReplyHeroPromptDescription: {
259
+ id: 'fabric.editor.ai.config.item.draftReply.heroPromptDescription',
260
+ defaultMessage: 'Enhances the reply based on issues similar to the one you’re working on',
261
+ description: 'Describes the "Enhance reply" feature when Draft reply is shown in AIFC new editor as hero prompt'
262
+ },
252
263
  // Generate Escalation Notes messages
253
264
  generateEscalationNotesTitle: {
254
265
  id: 'fabric.editor.ai.config.item.generateEscalationNotes.title',
@@ -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.21.3";
4
+ const packageVersion = "0.0.0-development";
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.21.3";
17
+ const packageVersion = "0.0.0-development";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -249,6 +249,17 @@ export var aiConfigItemMessages = defineMessages({
249
249
  defaultMessage: 'Drafts a reply based on issues similar to the one you’re working on',
250
250
  description: 'Describes the "Draft reply" Atlassian Intelligence feature shown in editor typeahead and element browser.'
251
251
  },
252
+ // Draft reply pill messages
253
+ draftReplyHeroPromptTitle: {
254
+ id: 'fabric.editor.ai.config.item.draftReply.heroPromptTitle',
255
+ defaultMessage: 'Suggest reply',
256
+ description: 'Title for feature feature when shown in AIFC new editor as hero prompt'
257
+ },
258
+ draftReplyHeroPromptDescription: {
259
+ id: 'fabric.editor.ai.config.item.draftReply.heroPromptDescription',
260
+ defaultMessage: 'Enhances the reply based on issues similar to the one you’re working on',
261
+ description: 'Describes the "Enhance reply" feature when Draft reply is shown in AIFC new editor as hero prompt'
262
+ },
252
263
  // Generate Escalation Notes messages
253
264
  generateEscalationNotesTitle: {
254
265
  id: 'fabric.editor.ai.config.item.generateEscalationNotes.title',
@@ -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.21.3";
10
+ var packageVersion = "0.0.0-development";
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.21.3";
24
+ var packageVersion = "0.0.0-development";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -239,6 +239,16 @@ export declare const aiConfigItemMessages: {
239
239
  defaultMessage: string;
240
240
  description: string;
241
241
  };
242
+ draftReplyHeroPromptTitle: {
243
+ id: string;
244
+ defaultMessage: string;
245
+ description: string;
246
+ };
247
+ draftReplyHeroPromptDescription: {
248
+ id: string;
249
+ defaultMessage: string;
250
+ description: string;
251
+ };
242
252
  generateEscalationNotesTitle: {
243
253
  id: string;
244
254
  defaultMessage: string;
@@ -1,9 +1,9 @@
1
- import type { EmojiProvider } from "@atlaskit/emoji";
2
- import type { MentionProvider } from "@atlaskit/mention/types";
3
- import type { TaskDecisionProvider } from "@atlaskit/task-decision/types";
4
- import type { CardProvider } from "./card-provider";
5
- import type { MediaProvider } from "./media-provider";
6
- import type { ProfilecardProvider } from "./profile-card-provider";
1
+ import type { EmojiProvider } from '@atlaskit/emoji';
2
+ import type { MentionProvider } from '@atlaskit/mention/types';
3
+ import type { TaskDecisionProvider } from '@atlaskit/task-decision/types';
4
+ import type { CardProvider } from './card-provider';
5
+ import type { MediaProvider } from './media-provider';
6
+ import type { ProfilecardProvider } from './profile-card-provider';
7
7
  export type SyncedBlockRendererDataProviders = {
8
8
  cardProvider: Promise<CardProvider> | undefined;
9
9
  emojiProvider: Promise<EmojiProvider> | undefined;
@@ -239,6 +239,16 @@ export declare const aiConfigItemMessages: {
239
239
  defaultMessage: string;
240
240
  description: string;
241
241
  };
242
+ draftReplyHeroPromptTitle: {
243
+ id: string;
244
+ defaultMessage: string;
245
+ description: string;
246
+ };
247
+ draftReplyHeroPromptDescription: {
248
+ id: string;
249
+ defaultMessage: string;
250
+ description: string;
251
+ };
242
252
  generateEscalationNotesTitle: {
243
253
  id: string;
244
254
  defaultMessage: string;
@@ -1,9 +1,9 @@
1
- import type { EmojiProvider } from "@atlaskit/emoji";
2
- import type { MentionProvider } from "@atlaskit/mention/types";
3
- import type { TaskDecisionProvider } from "@atlaskit/task-decision/types";
4
- import type { CardProvider } from "./card-provider";
5
- import type { MediaProvider } from "./media-provider";
6
- import type { ProfilecardProvider } from "./profile-card-provider";
1
+ import type { EmojiProvider } from '@atlaskit/emoji';
2
+ import type { MentionProvider } from '@atlaskit/mention/types';
3
+ import type { TaskDecisionProvider } from '@atlaskit/task-decision/types';
4
+ import type { CardProvider } from './card-provider';
5
+ import type { MediaProvider } from './media-provider';
6
+ import type { ProfilecardProvider } from './profile-card-provider';
7
7
  export type SyncedBlockRendererDataProviders = {
8
8
  cardProvider: Promise<CardProvider> | undefined;
9
9
  emojiProvider: Promise<EmojiProvider> | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "110.21.4",
3
+ "version": "110.22.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/"
@@ -248,6 +248,9 @@
248
248
  },
249
249
  "cc_fd_wb_create_priority_in_slash_menu_enabled": {
250
250
  "type": "boolean"
251
+ },
252
+ "draft_reply_contextual_pills_gate": {
253
+ "type": "boolean"
251
254
  }
252
255
  }
253
256
  }