@atlaskit/editor-common 111.19.0 → 111.19.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,13 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 111.19.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`85444e8a5672a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/85444e8a5672a) -
8
+ EDITOR-5526 clean up platform_synced_block_patch_2
9
+ - Updated dependencies
10
+
3
11
  ## 111.19.0
4
12
 
5
13
  ### Minor Changes
@@ -101,11 +101,6 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntlNext.defineMes
101
101
  defaultMessage: 'This content is synced. Edit it at the source.',
102
102
  description: 'Tooltip that shows when you hover over a task in the destination synced block'
103
103
  },
104
- deleteConfirmationModalTitleSingle: {
105
- id: 'fabric.editor.deleteConfirmationModalTitleSingle',
106
- defaultMessage: 'Delete synced block?',
107
- description: 'Title of delete confirmation modal that appears when user tries to delete source synced block that has no reference'
108
- },
109
104
  deletionConfirmationModalTitleSingle: {
110
105
  id: 'fabric.editor.deletionConfirmationModalTitleSingle',
111
106
  defaultMessage: 'Delete synced content?',
@@ -131,26 +126,11 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntlNext.defineMes
131
126
  defaultMessage: 'Try again',
132
127
  description: 'Text on button which retries deleting the sync block when the previous deletion failed'
133
128
  },
134
- deleteConfirmationModalDescriptionMultiple: {
135
- id: 'fabric.editor.deleteConfirmationModalDescriptionMultiple',
136
- defaultMessage: 'Deleting this content will also remove it from synced locations, where it will appear as an “Unsynced block”.',
137
- description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
138
- },
139
- deleteConfirmationModalDescription: {
140
- id: 'fabric.editor.deleteConfirmationModalDescriptionSingle',
141
- defaultMessage: 'Deleting this content will also remove {syncBlockCount, plural, one {a synced block. References to this block} other {# synced blocks. References to these blocks}} in other locations will show an error. Continue with deletion?',
142
- description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
143
- },
144
129
  deletionConfirmationModalDescription: {
145
130
  id: 'fabric.editor.deletionConfirmationModalDescription',
146
131
  defaultMessage: 'If you delete this synced block, it will become an “Unsynced block” in other locations. This action is permanent and cannot be undone.',
147
132
  description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
148
133
  },
149
- deleteConfirmationModalDescriptionNoRef: {
150
- id: 'fabric.editor.deleteConfirmationModalDescriptionNoRef',
151
- defaultMessage: "You'll no longer be able to reuse this synced block to keep content updated across locations. ",
152
- description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
153
- },
154
134
  deletionConfirmationModalDescriptionNoRef: {
155
135
  id: 'fabric.editor.deletionConfirmationModalDescriptionNoRef',
156
136
  defaultMessage: 'Your content will no longer appear, and the synced block will be deleted. This action is permanent and cannot be undone.',
@@ -346,21 +326,11 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntlNext.defineMes
346
326
  defaultMessage: 'Unsync this content?',
347
327
  description: 'Title of unsync confirmation modal that appears when user tries to unsync source synced block'
348
328
  },
349
- unsyncConfirmationModalDescriptionSingle: {
350
- id: 'fabric.editor.unsyncConfirmationModalDescriptionSingle',
351
- defaultMessage: 'Your content will stay here. It will no longer be a synced block.',
352
- description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with no reference'
353
- },
354
329
  unsyncConfirmModalDescriptionSingle: {
355
330
  id: 'fabric.editor.unsyncConfirmModalDescriptionSingle',
356
331
  defaultMessage: 'Your content will stay here. It will no longer be a synced block. This action is permanent and cannot be undone.',
357
332
  description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with no reference'
358
333
  },
359
- unsyncConfirmationModalDescriptionMultiple: {
360
- id: 'fabric.editor.unsyncConfirmationModalDescriptionMultiple',
361
- defaultMessage: 'Your content will stay here. In {syncBlockCount, plural, one {1 other synced location} other {# other synced locations}} it will appear as an “Unsynced block”. ',
362
- description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with multiple references'
363
- },
364
334
  unsyncConfirmModalDescriptionMultiple: {
365
335
  id: 'fabric.editor.unsyncConfirmModalDescriptionMultiple',
366
336
  defaultMessage: 'Your content will stay here. In {syncBlockCount, plural, one {1 other synced location} other {# other synced locations}} it will appear as an “Unsynced block”. This action is permanent and cannot be undone.',
@@ -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 = "111.18.1";
22
+ var packageVersion = "111.19.0";
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 = "111.18.1";
27
+ var packageVersion = "111.19.0";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -95,11 +95,6 @@ export const syncBlockMessages = defineMessages({
95
95
  defaultMessage: 'This content is synced. Edit it at the source.',
96
96
  description: 'Tooltip that shows when you hover over a task in the destination synced block'
97
97
  },
98
- deleteConfirmationModalTitleSingle: {
99
- id: 'fabric.editor.deleteConfirmationModalTitleSingle',
100
- defaultMessage: 'Delete synced block?',
101
- description: 'Title of delete confirmation modal that appears when user tries to delete source synced block that has no reference'
102
- },
103
98
  deletionConfirmationModalTitleSingle: {
104
99
  id: 'fabric.editor.deletionConfirmationModalTitleSingle',
105
100
  defaultMessage: 'Delete synced content?',
@@ -125,26 +120,11 @@ export const syncBlockMessages = defineMessages({
125
120
  defaultMessage: 'Try again',
126
121
  description: 'Text on button which retries deleting the sync block when the previous deletion failed'
127
122
  },
128
- deleteConfirmationModalDescriptionMultiple: {
129
- id: 'fabric.editor.deleteConfirmationModalDescriptionMultiple',
130
- defaultMessage: 'Deleting this content will also remove it from synced locations, where it will appear as an “Unsynced block”.',
131
- description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
132
- },
133
- deleteConfirmationModalDescription: {
134
- id: 'fabric.editor.deleteConfirmationModalDescriptionSingle',
135
- defaultMessage: 'Deleting this content will also remove {syncBlockCount, plural, one {a synced block. References to this block} other {# synced blocks. References to these blocks}} in other locations will show an error. Continue with deletion?',
136
- description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
137
- },
138
123
  deletionConfirmationModalDescription: {
139
124
  id: 'fabric.editor.deletionConfirmationModalDescription',
140
125
  defaultMessage: 'If you delete this synced block, it will become an “Unsynced block” in other locations. This action is permanent and cannot be undone.',
141
126
  description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
142
127
  },
143
- deleteConfirmationModalDescriptionNoRef: {
144
- id: 'fabric.editor.deleteConfirmationModalDescriptionNoRef',
145
- defaultMessage: "You'll no longer be able to reuse this synced block to keep content updated across locations. ",
146
- description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
147
- },
148
128
  deletionConfirmationModalDescriptionNoRef: {
149
129
  id: 'fabric.editor.deletionConfirmationModalDescriptionNoRef',
150
130
  defaultMessage: 'Your content will no longer appear, and the synced block will be deleted. This action is permanent and cannot be undone.',
@@ -340,21 +320,11 @@ export const syncBlockMessages = defineMessages({
340
320
  defaultMessage: 'Unsync this content?',
341
321
  description: 'Title of unsync confirmation modal that appears when user tries to unsync source synced block'
342
322
  },
343
- unsyncConfirmationModalDescriptionSingle: {
344
- id: 'fabric.editor.unsyncConfirmationModalDescriptionSingle',
345
- defaultMessage: 'Your content will stay here. It will no longer be a synced block.',
346
- description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with no reference'
347
- },
348
323
  unsyncConfirmModalDescriptionSingle: {
349
324
  id: 'fabric.editor.unsyncConfirmModalDescriptionSingle',
350
325
  defaultMessage: 'Your content will stay here. It will no longer be a synced block. This action is permanent and cannot be undone.',
351
326
  description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with no reference'
352
327
  },
353
- unsyncConfirmationModalDescriptionMultiple: {
354
- id: 'fabric.editor.unsyncConfirmationModalDescriptionMultiple',
355
- defaultMessage: 'Your content will stay here. In {syncBlockCount, plural, one {1 other synced location} other {# other synced locations}} it will appear as an “Unsynced block”. ',
356
- description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with multiple references'
357
- },
358
328
  unsyncConfirmModalDescriptionMultiple: {
359
329
  id: 'fabric.editor.unsyncConfirmModalDescriptionMultiple',
360
330
  defaultMessage: 'Your content will stay here. In {syncBlockCount, plural, one {1 other synced location} other {# other synced locations}} it will appear as an “Unsynced block”. This action is permanent and cannot be undone.',
@@ -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 = "111.18.1";
7
+ const packageVersion = "111.19.0";
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 = "111.18.1";
17
+ const packageVersion = "111.19.0";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -95,11 +95,6 @@ export var syncBlockMessages = defineMessages({
95
95
  defaultMessage: 'This content is synced. Edit it at the source.',
96
96
  description: 'Tooltip that shows when you hover over a task in the destination synced block'
97
97
  },
98
- deleteConfirmationModalTitleSingle: {
99
- id: 'fabric.editor.deleteConfirmationModalTitleSingle',
100
- defaultMessage: 'Delete synced block?',
101
- description: 'Title of delete confirmation modal that appears when user tries to delete source synced block that has no reference'
102
- },
103
98
  deletionConfirmationModalTitleSingle: {
104
99
  id: 'fabric.editor.deletionConfirmationModalTitleSingle',
105
100
  defaultMessage: 'Delete synced content?',
@@ -125,26 +120,11 @@ export var syncBlockMessages = defineMessages({
125
120
  defaultMessage: 'Try again',
126
121
  description: 'Text on button which retries deleting the sync block when the previous deletion failed'
127
122
  },
128
- deleteConfirmationModalDescriptionMultiple: {
129
- id: 'fabric.editor.deleteConfirmationModalDescriptionMultiple',
130
- defaultMessage: 'Deleting this content will also remove it from synced locations, where it will appear as an “Unsynced block”.',
131
- description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
132
- },
133
- deleteConfirmationModalDescription: {
134
- id: 'fabric.editor.deleteConfirmationModalDescriptionSingle',
135
- defaultMessage: 'Deleting this content will also remove {syncBlockCount, plural, one {a synced block. References to this block} other {# synced blocks. References to these blocks}} in other locations will show an error. Continue with deletion?',
136
- description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
137
- },
138
123
  deletionConfirmationModalDescription: {
139
124
  id: 'fabric.editor.deletionConfirmationModalDescription',
140
125
  defaultMessage: 'If you delete this synced block, it will become an “Unsynced block” in other locations. This action is permanent and cannot be undone.',
141
126
  description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
142
127
  },
143
- deleteConfirmationModalDescriptionNoRef: {
144
- id: 'fabric.editor.deleteConfirmationModalDescriptionNoRef',
145
- defaultMessage: "You'll no longer be able to reuse this synced block to keep content updated across locations. ",
146
- description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
147
- },
148
128
  deletionConfirmationModalDescriptionNoRef: {
149
129
  id: 'fabric.editor.deletionConfirmationModalDescriptionNoRef',
150
130
  defaultMessage: 'Your content will no longer appear, and the synced block will be deleted. This action is permanent and cannot be undone.',
@@ -340,21 +320,11 @@ export var syncBlockMessages = defineMessages({
340
320
  defaultMessage: 'Unsync this content?',
341
321
  description: 'Title of unsync confirmation modal that appears when user tries to unsync source synced block'
342
322
  },
343
- unsyncConfirmationModalDescriptionSingle: {
344
- id: 'fabric.editor.unsyncConfirmationModalDescriptionSingle',
345
- defaultMessage: 'Your content will stay here. It will no longer be a synced block.',
346
- description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with no reference'
347
- },
348
323
  unsyncConfirmModalDescriptionSingle: {
349
324
  id: 'fabric.editor.unsyncConfirmModalDescriptionSingle',
350
325
  defaultMessage: 'Your content will stay here. It will no longer be a synced block. This action is permanent and cannot be undone.',
351
326
  description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with no reference'
352
327
  },
353
- unsyncConfirmationModalDescriptionMultiple: {
354
- id: 'fabric.editor.unsyncConfirmationModalDescriptionMultiple',
355
- defaultMessage: 'Your content will stay here. In {syncBlockCount, plural, one {1 other synced location} other {# other synced locations}} it will appear as an “Unsynced block”. ',
356
- description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with multiple references'
357
- },
358
328
  unsyncConfirmModalDescriptionMultiple: {
359
329
  id: 'fabric.editor.unsyncConfirmModalDescriptionMultiple',
360
330
  defaultMessage: 'Your content will stay here. In {syncBlockCount, plural, one {1 other synced location} other {# other synced locations}} it will appear as an “Unsynced block”. This action is permanent and cannot be undone.',
@@ -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 = "111.18.1";
13
+ var packageVersion = "111.19.0";
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 = "111.18.1";
24
+ var packageVersion = "111.19.0";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -94,11 +94,6 @@ export declare const syncBlockMessages: {
94
94
  defaultMessage: string;
95
95
  description: string;
96
96
  };
97
- deleteConfirmationModalTitleSingle: {
98
- id: string;
99
- defaultMessage: string;
100
- description: string;
101
- };
102
97
  deletionConfirmationModalTitleSingle: {
103
98
  id: string;
104
99
  defaultMessage: string;
@@ -124,26 +119,11 @@ export declare const syncBlockMessages: {
124
119
  defaultMessage: string;
125
120
  description: string;
126
121
  };
127
- deleteConfirmationModalDescriptionMultiple: {
128
- id: string;
129
- defaultMessage: string;
130
- description: string;
131
- };
132
- deleteConfirmationModalDescription: {
133
- id: string;
134
- defaultMessage: string;
135
- description: string;
136
- };
137
122
  deletionConfirmationModalDescription: {
138
123
  id: string;
139
124
  defaultMessage: string;
140
125
  description: string;
141
126
  };
142
- deleteConfirmationModalDescriptionNoRef: {
143
- id: string;
144
- defaultMessage: string;
145
- description: string;
146
- };
147
127
  deletionConfirmationModalDescriptionNoRef: {
148
128
  id: string;
149
129
  defaultMessage: string;
@@ -339,21 +319,11 @@ export declare const syncBlockMessages: {
339
319
  defaultMessage: string;
340
320
  description: string;
341
321
  };
342
- unsyncConfirmationModalDescriptionSingle: {
343
- id: string;
344
- defaultMessage: string;
345
- description: string;
346
- };
347
322
  unsyncConfirmModalDescriptionSingle: {
348
323
  id: string;
349
324
  defaultMessage: string;
350
325
  description: string;
351
326
  };
352
- unsyncConfirmationModalDescriptionMultiple: {
353
- id: string;
354
- defaultMessage: string;
355
- description: string;
356
- };
357
327
  unsyncConfirmModalDescriptionMultiple: {
358
328
  id: string;
359
329
  defaultMessage: string;
@@ -94,11 +94,6 @@ export declare const syncBlockMessages: {
94
94
  defaultMessage: string;
95
95
  description: string;
96
96
  };
97
- deleteConfirmationModalTitleSingle: {
98
- id: string;
99
- defaultMessage: string;
100
- description: string;
101
- };
102
97
  deletionConfirmationModalTitleSingle: {
103
98
  id: string;
104
99
  defaultMessage: string;
@@ -124,26 +119,11 @@ export declare const syncBlockMessages: {
124
119
  defaultMessage: string;
125
120
  description: string;
126
121
  };
127
- deleteConfirmationModalDescriptionMultiple: {
128
- id: string;
129
- defaultMessage: string;
130
- description: string;
131
- };
132
- deleteConfirmationModalDescription: {
133
- id: string;
134
- defaultMessage: string;
135
- description: string;
136
- };
137
122
  deletionConfirmationModalDescription: {
138
123
  id: string;
139
124
  defaultMessage: string;
140
125
  description: string;
141
126
  };
142
- deleteConfirmationModalDescriptionNoRef: {
143
- id: string;
144
- defaultMessage: string;
145
- description: string;
146
- };
147
127
  deletionConfirmationModalDescriptionNoRef: {
148
128
  id: string;
149
129
  defaultMessage: string;
@@ -339,21 +319,11 @@ export declare const syncBlockMessages: {
339
319
  defaultMessage: string;
340
320
  description: string;
341
321
  };
342
- unsyncConfirmationModalDescriptionSingle: {
343
- id: string;
344
- defaultMessage: string;
345
- description: string;
346
- };
347
322
  unsyncConfirmModalDescriptionSingle: {
348
323
  id: string;
349
324
  defaultMessage: string;
350
325
  description: string;
351
326
  };
352
- unsyncConfirmationModalDescriptionMultiple: {
353
- id: string;
354
- defaultMessage: string;
355
- description: string;
356
- };
357
327
  unsyncConfirmModalDescriptionMultiple: {
358
328
  id: string;
359
329
  defaultMessage: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "111.19.0",
3
+ "version": "111.19.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/"
@@ -48,7 +48,7 @@
48
48
  "@atlaskit/editor-shared-styles": "^3.10.0",
49
49
  "@atlaskit/editor-tables": "^2.9.0",
50
50
  "@atlaskit/editor-toolbar": "^0.19.0",
51
- "@atlaskit/editor-toolbar-model": "^0.3.0",
51
+ "@atlaskit/editor-toolbar-model": "^0.4.0",
52
52
  "@atlaskit/emoji": "^69.10.0",
53
53
  "@atlaskit/icon": "^31.0.0",
54
54
  "@atlaskit/icon-object": "^7.4.0",
@@ -81,7 +81,7 @@
81
81
  "@atlaskit/task-decision": "^19.2.0",
82
82
  "@atlaskit/textfield": "^8.2.0",
83
83
  "@atlaskit/theme": "^21.0.0",
84
- "@atlaskit/tmp-editor-statsig": "^29.4.0",
84
+ "@atlaskit/tmp-editor-statsig": "^29.5.0",
85
85
  "@atlaskit/tokens": "^11.0.0",
86
86
  "@atlaskit/tooltip": "^20.14.0",
87
87
  "@atlaskit/width-detector": "^5.0.0",