@atlaskit/editor-common 120.3.1 → 120.3.2

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,19 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 120.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`1d44842106f7b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1d44842106f7b) -
8
+ Revert the AI entry-point relabel that was gated behind the
9
+ `platform_editor_ai_new_aifc_editor_experience` experiment. The editor AI entry points now always
10
+ show the "Ask Rovo" label and "Ask Rovo" tooltip instead of "Edit" / "Edit with Rovo". This covers
11
+ the floating/selection toolbar button, the main and inline toolbar Rovo button (label, tooltip,
12
+ and icon label), and the free-generate modal title. The now-unused
13
+ `aiNewAifcEntryPointCallToAction` and `askRovoToolbarIconTooltipQuickCommandNewAifc` messages have
14
+ been removed.
15
+ - Updated dependencies
16
+
3
17
  ## 120.3.1
4
18
 
5
19
  ### Patch Changes
@@ -78,11 +78,6 @@ var aiMessages = exports.aiMessages = (0, _reactIntl.defineMessages)({
78
78
  defaultMessage: "Ask Rovo {key}+'",
79
79
  description: 'Tooltip text for an option to use Rovo AI with quick command'
80
80
  },
81
- askRovoToolbarIconTooltipQuickCommandNewAifc: {
82
- id: 'fabric.editor.ai.toolbar.askRovo.tooltip.quickCommand.newAifc',
83
- defaultMessage: "Edit with Rovo {key}+'",
84
- description: 'Tooltip text for the Rovo AI entry-point button in the new AIFC editor experience, where the button is labelled "Edit", with quick command'
85
- },
86
81
  askRovoToolbarRemixAppTooltipQuickCommand: {
87
82
  id: 'fabric.editor.ai.toolbar.askRovo.remixApp.tooltip.quickCommand',
88
83
  defaultMessage: "Edit {key}+'",
@@ -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 = "120.3.0";
31
+ var packageVersion = "120.3.1";
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 = "120.3.0";
27
+ var packageVersion = "120.3.1";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -72,11 +72,6 @@ export const aiMessages = defineMessages({
72
72
  defaultMessage: "Ask Rovo {key}+'",
73
73
  description: 'Tooltip text for an option to use Rovo AI with quick command'
74
74
  },
75
- askRovoToolbarIconTooltipQuickCommandNewAifc: {
76
- id: 'fabric.editor.ai.toolbar.askRovo.tooltip.quickCommand.newAifc',
77
- defaultMessage: "Edit with Rovo {key}+'",
78
- description: 'Tooltip text for the Rovo AI entry-point button in the new AIFC editor experience, where the button is labelled "Edit", with quick command'
79
- },
80
75
  askRovoToolbarRemixAppTooltipQuickCommand: {
81
76
  id: 'fabric.editor.ai.toolbar.askRovo.remixApp.tooltip.quickCommand',
82
77
  defaultMessage: "Edit {key}+'",
@@ -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 = "120.3.0";
17
+ const packageVersion = "120.3.1";
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/fg';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "120.3.0";
17
+ const packageVersion = "120.3.1";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -72,11 +72,6 @@ export var aiMessages = defineMessages({
72
72
  defaultMessage: "Ask Rovo {key}+'",
73
73
  description: 'Tooltip text for an option to use Rovo AI with quick command'
74
74
  },
75
- askRovoToolbarIconTooltipQuickCommandNewAifc: {
76
- id: 'fabric.editor.ai.toolbar.askRovo.tooltip.quickCommand.newAifc',
77
- defaultMessage: "Edit with Rovo {key}+'",
78
- description: 'Tooltip text for the Rovo AI entry-point button in the new AIFC editor experience, where the button is labelled "Edit", with quick command'
79
- },
80
75
  askRovoToolbarRemixAppTooltipQuickCommand: {
81
76
  id: 'fabric.editor.ai.toolbar.askRovo.remixApp.tooltip.quickCommand',
82
77
  defaultMessage: "Edit {key}+'",
@@ -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 = "120.3.0";
23
+ var packageVersion = "120.3.1";
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/fg';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "120.3.0";
24
+ var packageVersion = "120.3.1";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -74,11 +74,6 @@ export declare const aiMessages: {
74
74
  description: string;
75
75
  id: string;
76
76
  };
77
- askRovoToolbarIconTooltipQuickCommandNewAifc: {
78
- defaultMessage: string;
79
- description: string;
80
- id: string;
81
- };
82
77
  askRovoToolbarImageTitle: {
83
78
  defaultMessage: string;
84
79
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "120.3.1",
3
+ "version": "120.3.2",
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/"
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@atlaskit/activity-provider": "^3.0.0",
32
- "@atlaskit/adf-schema": "^57.1.0",
32
+ "@atlaskit/adf-schema": "^57.2.0",
33
33
  "@atlaskit/adf-utils": "^20.7.0",
34
34
  "@atlaskit/afm-i18n-platform-editor-editor-common": "2.200.0",
35
35
  "@atlaskit/analytics-listeners": "^11.1.0",
@@ -39,7 +39,7 @@
39
39
  "@atlaskit/browser-apis": "^1.2.0",
40
40
  "@atlaskit/button": "^25.2.0",
41
41
  "@atlaskit/codemod-utils": "^5.0.0",
42
- "@atlaskit/css": "^1.0.0",
42
+ "@atlaskit/css": "^1.1.0",
43
43
  "@atlaskit/custom-steps": "^1.0.0",
44
44
  "@atlaskit/dropdown-menu": "^18.2.0",
45
45
  "@atlaskit/editor-json-transformer": "^9.6.0",
@@ -84,7 +84,7 @@
84
84
  "@atlaskit/task-decision": "^21.8.0",
85
85
  "@atlaskit/teams-app-config": "^3.0.0",
86
86
  "@atlaskit/textfield": "^10.1.0",
87
- "@atlaskit/tmp-editor-statsig": "^162.0.0",
87
+ "@atlaskit/tmp-editor-statsig": "^163.0.0",
88
88
  "@atlaskit/tokens": "^16.8.0",
89
89
  "@atlaskit/tooltip": "^24.2.0",
90
90
  "@atlaskit/width-detector": "^7.1.0",
@@ -138,7 +138,6 @@
138
138
  "@types/markdown-it": "^14.1.2",
139
139
  "@types/raf-schd": "^4.0.1",
140
140
  "@types/react-virtualized": "^9.18.12",
141
- "enzyme": "^3.10.0",
142
141
  "raf-stub": "^2.0.1",
143
142
  "react": "^19.2.0",
144
143
  "react-dom": "^19.2.0",