@atlaskit/editor-common 116.39.0 → 116.40.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,21 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 116.40.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`268f447fd26f4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/268f447fd26f4) -
8
+ Fix autocomplete click interactions in the editor
9
+
10
+ ## 116.39.1
11
+
12
+ ### Patch Changes
13
+
14
+ - [`8b49fc1fd582e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8b49fc1fd582e) -
15
+ Show the number of synced block references in the floating toolbar when the sync block activation
16
+ experiment is enabled.
17
+ - Updated dependencies
18
+
3
19
  ## 116.39.0
4
20
 
5
21
  ### Minor Changes
@@ -296,6 +296,21 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntl.defineMessage
296
296
  defaultMessage: 'Synced locations',
297
297
  description: 'Title for the dropdown menu that shows the synced (referenced) locations of the source sync block'
298
298
  },
299
+ syncedLocationDropdownTitleWithCount: {
300
+ id: 'fabric.editor.syncedLocationDropdownTitleWithCount.ai-non-final',
301
+ defaultMessage: 'Synced locations ({count})',
302
+ description: 'Toolbar button label that shows the number of references to the selected synced block.'
303
+ },
304
+ syncedLocationDropdownNone: {
305
+ id: 'fabric.editor.syncedLocationDropdownNone.ai-non-final',
306
+ defaultMessage: 'None',
307
+ description: 'Toolbar reference count shown when a synced block has no references.'
308
+ },
309
+ syncedLocationDropdownLoading: {
310
+ id: 'fabric.editor.syncedLocationDropdownLoading.ai-non-final',
311
+ defaultMessage: 'Loading synced locations',
312
+ description: 'Accessible label for the spinner while synced locations are loading.'
313
+ },
299
314
  syncedLocationDropdownHeading: {
300
315
  id: 'fabric.editor.syncedLocationDropdownHeading',
301
316
  defaultMessage: '{count} 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.38.0";
31
+ var packageVersion = "116.39.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 = "116.38.0";
27
+ var packageVersion = "116.39.1";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -290,6 +290,21 @@ export const syncBlockMessages = defineMessages({
290
290
  defaultMessage: 'Synced locations',
291
291
  description: 'Title for the dropdown menu that shows the synced (referenced) locations of the source sync block'
292
292
  },
293
+ syncedLocationDropdownTitleWithCount: {
294
+ id: 'fabric.editor.syncedLocationDropdownTitleWithCount.ai-non-final',
295
+ defaultMessage: 'Synced locations ({count})',
296
+ description: 'Toolbar button label that shows the number of references to the selected synced block.'
297
+ },
298
+ syncedLocationDropdownNone: {
299
+ id: 'fabric.editor.syncedLocationDropdownNone.ai-non-final',
300
+ defaultMessage: 'None',
301
+ description: 'Toolbar reference count shown when a synced block has no references.'
302
+ },
303
+ syncedLocationDropdownLoading: {
304
+ id: 'fabric.editor.syncedLocationDropdownLoading.ai-non-final',
305
+ defaultMessage: 'Loading synced locations',
306
+ description: 'Accessible label for the spinner while synced locations are loading.'
307
+ },
293
308
  syncedLocationDropdownHeading: {
294
309
  id: 'fabric.editor.syncedLocationDropdownHeading',
295
310
  defaultMessage: '{count} 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.38.0";
17
+ const packageVersion = "116.39.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';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "116.38.0";
17
+ const packageVersion = "116.39.1";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -290,6 +290,21 @@ export var syncBlockMessages = defineMessages({
290
290
  defaultMessage: 'Synced locations',
291
291
  description: 'Title for the dropdown menu that shows the synced (referenced) locations of the source sync block'
292
292
  },
293
+ syncedLocationDropdownTitleWithCount: {
294
+ id: 'fabric.editor.syncedLocationDropdownTitleWithCount.ai-non-final',
295
+ defaultMessage: 'Synced locations ({count})',
296
+ description: 'Toolbar button label that shows the number of references to the selected synced block.'
297
+ },
298
+ syncedLocationDropdownNone: {
299
+ id: 'fabric.editor.syncedLocationDropdownNone.ai-non-final',
300
+ defaultMessage: 'None',
301
+ description: 'Toolbar reference count shown when a synced block has no references.'
302
+ },
303
+ syncedLocationDropdownLoading: {
304
+ id: 'fabric.editor.syncedLocationDropdownLoading.ai-non-final',
305
+ defaultMessage: 'Loading synced locations',
306
+ description: 'Accessible label for the spinner while synced locations are loading.'
307
+ },
293
308
  syncedLocationDropdownHeading: {
294
309
  id: 'fabric.editor.syncedLocationDropdownHeading',
295
310
  defaultMessage: '{count} 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.38.0";
23
+ var packageVersion = "116.39.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';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "116.38.0";
24
+ var packageVersion = "116.39.1";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -23,7 +23,7 @@ type ContextualTypeaheadAcceptedAttributes = {
23
23
  type ContextualTypeaheadAcceptedAEP = TrackAEP<ACTION.SUGGESTION_INSERTED, ACTION_SUBJECT.CONTEXTUAL_TYPEAHEAD, undefined, ContextualTypeaheadAcceptedAttributes, undefined>;
24
24
  type ContextualTypeaheadDismissedAttributes = {
25
25
  completionSource: CompletionSource;
26
- reason: 'escape' | 'blur';
26
+ reason: 'escape' | 'blur' | 'click';
27
27
  surface: string;
28
28
  };
29
29
  type ContextualTypeaheadDismissedAEP = TrackAEP<ACTION.SUGGESTION_DISMISSED, ACTION_SUBJECT.CONTEXTUAL_TYPEAHEAD, undefined, ContextualTypeaheadDismissedAttributes, undefined>;
@@ -374,6 +374,16 @@ export declare const syncBlockMessages: {
374
374
  description: string;
375
375
  id: string;
376
376
  };
377
+ syncedLocationDropdownLoading: {
378
+ defaultMessage: string;
379
+ description: string;
380
+ id: string;
381
+ };
382
+ syncedLocationDropdownNone: {
383
+ defaultMessage: string;
384
+ description: string;
385
+ id: string;
386
+ };
377
387
  syncedLocationDropdownNoResults: {
378
388
  defaultMessage: string;
379
389
  description: string;
@@ -414,6 +424,11 @@ export declare const syncBlockMessages: {
414
424
  description: string;
415
425
  id: string;
416
426
  };
427
+ syncedLocationDropdownTitleWithCount: {
428
+ defaultMessage: string;
429
+ description: string;
430
+ id: string;
431
+ };
417
432
  syncedLocationDropdownUntitledPage: {
418
433
  defaultMessage: string;
419
434
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "116.39.0",
3
+ "version": "116.40.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/"
@@ -42,7 +42,7 @@
42
42
  "@atlaskit/css": "^1.0.0",
43
43
  "@atlaskit/custom-steps": "^1.0.0",
44
44
  "@atlaskit/dropdown-menu": "^17.1.0",
45
- "@atlaskit/editor-json-transformer": "^9.0.0",
45
+ "@atlaskit/editor-json-transformer": "^9.1.0",
46
46
  "@atlaskit/editor-palette": "^3.1.0",
47
47
  "@atlaskit/editor-prosemirror": "^8.0.0",
48
48
  "@atlaskit/editor-shared-styles": "^4.0.0",
@@ -52,8 +52,8 @@
52
52
  "@atlaskit/emoji": "^71.13.0",
53
53
  "@atlaskit/icon": "^37.1.0",
54
54
  "@atlaskit/link": "^4.3.0",
55
- "@atlaskit/link-datasource": "^6.2.0",
56
- "@atlaskit/link-picker": "^6.2.0",
55
+ "@atlaskit/link-datasource": "^6.3.0",
56
+ "@atlaskit/link-picker": "^6.3.0",
57
57
  "@atlaskit/media-card": "^81.4.0",
58
58
  "@atlaskit/media-client": "^37.2.0",
59
59
  "@atlaskit/media-client-react": "^6.1.0",
@@ -74,13 +74,13 @@
74
74
  "@atlaskit/react-compiler-gating": "^0.2.0",
75
75
  "@atlaskit/react-ufo": "^7.3.0",
76
76
  "@atlaskit/section-message": "^9.2.0",
77
- "@atlaskit/smart-card": "^45.12.0",
78
- "@atlaskit/smart-user-picker": "^11.1.0",
77
+ "@atlaskit/smart-card": "^45.13.0",
78
+ "@atlaskit/smart-user-picker": "^11.2.0",
79
79
  "@atlaskit/spinner": "^20.1.0",
80
80
  "@atlaskit/task-decision": "^21.7.0",
81
81
  "@atlaskit/teams-app-config": "^2.1.0",
82
82
  "@atlaskit/textfield": "^9.1.0",
83
- "@atlaskit/tmp-editor-statsig": "^133.0.0",
83
+ "@atlaskit/tmp-editor-statsig": "^133.2.0",
84
84
  "@atlaskit/tokens": "^16.3.0",
85
85
  "@atlaskit/tooltip": "^23.1.0",
86
86
  "@atlaskit/width-detector": "^6.2.0",