@atlaskit/editor-common 111.11.11 → 111.11.12

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.11.12
4
+
5
+ ### Patch Changes
6
+
7
+ - [`f24892f905e1a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f24892f905e1a) -
8
+ [ux] EDITOR-5002 update delete and unsync synced block modal messages
9
+ - Updated dependencies
10
+
3
11
  ## 111.11.11
4
12
 
5
13
  ### Patch Changes
@@ -106,6 +106,11 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntlNext.defineMes
106
106
  defaultMessage: 'Delete synced block?',
107
107
  description: 'Title of delete confirmation modal that appears when user tries to delete source synced block that has no reference'
108
108
  },
109
+ deletionConfirmationModalTitleSingle: {
110
+ id: 'fabric.editor.deletionConfirmationModalTitleSingle',
111
+ defaultMessage: 'Delete synced content?',
112
+ description: 'Title of delete confirmation modal that appears when user tries to delete source synced block that has no reference'
113
+ },
109
114
  deleteConfirmationModalTitleMultiple: {
110
115
  id: 'fabric.editor.deleteConfirmationModalTitleMultiple',
111
116
  defaultMessage: 'Delete content in {count, plural, one {1 location} other {# locations}}?',
@@ -136,11 +141,21 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntlNext.defineMes
136
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?',
137
142
  description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
138
143
  },
144
+ deletionConfirmationModalDescription: {
145
+ id: 'fabric.editor.deletionConfirmationModalDescription',
146
+ 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
+ description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
148
+ },
139
149
  deleteConfirmationModalDescriptionNoRef: {
140
150
  id: 'fabric.editor.deleteConfirmationModalDescriptionNoRef',
141
151
  defaultMessage: "You'll no longer be able to reuse this synced block to keep content updated across locations. ",
142
152
  description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
143
153
  },
154
+ deletionConfirmationModalDescriptionNoRef: {
155
+ id: 'fabric.editor.deletionConfirmationModalDescriptionNoRef',
156
+ defaultMessage: 'Your content will no longer appear, and the synced block will be deleted. This action is permanent and cannot be undone.',
157
+ description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
158
+ },
144
159
  createSyncBlockLabel: {
145
160
  id: 'fabric.editor.createSyncBlockLabel',
146
161
  defaultMessage: 'Create synced block',
@@ -336,11 +351,21 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntlNext.defineMes
336
351
  defaultMessage: 'Your content will stay here. It will no longer be a synced block.',
337
352
  description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with no reference'
338
353
  },
354
+ unsyncConfirmModalDescriptionSingle: {
355
+ id: 'fabric.editor.unsyncConfirmModalDescriptionSingle',
356
+ defaultMessage: 'Your content will stay here. It will no longer be a synced block. This action is permanent and cannot be undone.',
357
+ description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with no reference'
358
+ },
339
359
  unsyncConfirmationModalDescriptionMultiple: {
340
360
  id: 'fabric.editor.unsyncConfirmationModalDescriptionMultiple',
341
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”. ',
342
362
  description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with multiple references'
343
363
  },
364
+ unsyncConfirmModalDescriptionMultiple: {
365
+ id: 'fabric.editor.unsyncConfirmModalDescriptionMultiple',
366
+ 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.',
367
+ description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with multiple references'
368
+ },
344
369
  cannotPasteSyncedBlockTitle: {
345
370
  id: 'fabric.editor.cannotPasteSyncedBlockTitle',
346
371
  defaultMessage: 'Unable to paste',
@@ -100,6 +100,11 @@ export const syncBlockMessages = defineMessages({
100
100
  defaultMessage: 'Delete synced block?',
101
101
  description: 'Title of delete confirmation modal that appears when user tries to delete source synced block that has no reference'
102
102
  },
103
+ deletionConfirmationModalTitleSingle: {
104
+ id: 'fabric.editor.deletionConfirmationModalTitleSingle',
105
+ defaultMessage: 'Delete synced content?',
106
+ description: 'Title of delete confirmation modal that appears when user tries to delete source synced block that has no reference'
107
+ },
103
108
  deleteConfirmationModalTitleMultiple: {
104
109
  id: 'fabric.editor.deleteConfirmationModalTitleMultiple',
105
110
  defaultMessage: 'Delete content in {count, plural, one {1 location} other {# locations}}?',
@@ -130,11 +135,21 @@ export const syncBlockMessages = defineMessages({
130
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?',
131
136
  description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
132
137
  },
138
+ deletionConfirmationModalDescription: {
139
+ id: 'fabric.editor.deletionConfirmationModalDescription',
140
+ 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
+ description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
142
+ },
133
143
  deleteConfirmationModalDescriptionNoRef: {
134
144
  id: 'fabric.editor.deleteConfirmationModalDescriptionNoRef',
135
145
  defaultMessage: "You'll no longer be able to reuse this synced block to keep content updated across locations. ",
136
146
  description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
137
147
  },
148
+ deletionConfirmationModalDescriptionNoRef: {
149
+ id: 'fabric.editor.deletionConfirmationModalDescriptionNoRef',
150
+ defaultMessage: 'Your content will no longer appear, and the synced block will be deleted. This action is permanent and cannot be undone.',
151
+ description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
152
+ },
138
153
  createSyncBlockLabel: {
139
154
  id: 'fabric.editor.createSyncBlockLabel',
140
155
  defaultMessage: 'Create synced block',
@@ -330,11 +345,21 @@ export const syncBlockMessages = defineMessages({
330
345
  defaultMessage: 'Your content will stay here. It will no longer be a synced block.',
331
346
  description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with no reference'
332
347
  },
348
+ unsyncConfirmModalDescriptionSingle: {
349
+ id: 'fabric.editor.unsyncConfirmModalDescriptionSingle',
350
+ defaultMessage: 'Your content will stay here. It will no longer be a synced block. This action is permanent and cannot be undone.',
351
+ description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with no reference'
352
+ },
333
353
  unsyncConfirmationModalDescriptionMultiple: {
334
354
  id: 'fabric.editor.unsyncConfirmationModalDescriptionMultiple',
335
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”. ',
336
356
  description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with multiple references'
337
357
  },
358
+ unsyncConfirmModalDescriptionMultiple: {
359
+ id: 'fabric.editor.unsyncConfirmModalDescriptionMultiple',
360
+ 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.',
361
+ description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with multiple references'
362
+ },
338
363
  cannotPasteSyncedBlockTitle: {
339
364
  id: 'fabric.editor.cannotPasteSyncedBlockTitle',
340
365
  defaultMessage: 'Unable to paste',
@@ -100,6 +100,11 @@ export var syncBlockMessages = defineMessages({
100
100
  defaultMessage: 'Delete synced block?',
101
101
  description: 'Title of delete confirmation modal that appears when user tries to delete source synced block that has no reference'
102
102
  },
103
+ deletionConfirmationModalTitleSingle: {
104
+ id: 'fabric.editor.deletionConfirmationModalTitleSingle',
105
+ defaultMessage: 'Delete synced content?',
106
+ description: 'Title of delete confirmation modal that appears when user tries to delete source synced block that has no reference'
107
+ },
103
108
  deleteConfirmationModalTitleMultiple: {
104
109
  id: 'fabric.editor.deleteConfirmationModalTitleMultiple',
105
110
  defaultMessage: 'Delete content in {count, plural, one {1 location} other {# locations}}?',
@@ -130,11 +135,21 @@ export var syncBlockMessages = defineMessages({
130
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?',
131
136
  description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
132
137
  },
138
+ deletionConfirmationModalDescription: {
139
+ id: 'fabric.editor.deletionConfirmationModalDescription',
140
+ 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
+ description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
142
+ },
133
143
  deleteConfirmationModalDescriptionNoRef: {
134
144
  id: 'fabric.editor.deleteConfirmationModalDescriptionNoRef',
135
145
  defaultMessage: "You'll no longer be able to reuse this synced block to keep content updated across locations. ",
136
146
  description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
137
147
  },
148
+ deletionConfirmationModalDescriptionNoRef: {
149
+ id: 'fabric.editor.deletionConfirmationModalDescriptionNoRef',
150
+ defaultMessage: 'Your content will no longer appear, and the synced block will be deleted. This action is permanent and cannot be undone.',
151
+ description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
152
+ },
138
153
  createSyncBlockLabel: {
139
154
  id: 'fabric.editor.createSyncBlockLabel',
140
155
  defaultMessage: 'Create synced block',
@@ -330,11 +345,21 @@ export var syncBlockMessages = defineMessages({
330
345
  defaultMessage: 'Your content will stay here. It will no longer be a synced block.',
331
346
  description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with no reference'
332
347
  },
348
+ unsyncConfirmModalDescriptionSingle: {
349
+ id: 'fabric.editor.unsyncConfirmModalDescriptionSingle',
350
+ defaultMessage: 'Your content will stay here. It will no longer be a synced block. This action is permanent and cannot be undone.',
351
+ description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with no reference'
352
+ },
333
353
  unsyncConfirmationModalDescriptionMultiple: {
334
354
  id: 'fabric.editor.unsyncConfirmationModalDescriptionMultiple',
335
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”. ',
336
356
  description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with multiple references'
337
357
  },
358
+ unsyncConfirmModalDescriptionMultiple: {
359
+ id: 'fabric.editor.unsyncConfirmModalDescriptionMultiple',
360
+ 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.',
361
+ description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with multiple references'
362
+ },
338
363
  cannotPasteSyncedBlockTitle: {
339
364
  id: 'fabric.editor.cannotPasteSyncedBlockTitle',
340
365
  defaultMessage: 'Unable to paste',
@@ -99,6 +99,11 @@ export declare const syncBlockMessages: {
99
99
  defaultMessage: string;
100
100
  description: string;
101
101
  };
102
+ deletionConfirmationModalTitleSingle: {
103
+ id: string;
104
+ defaultMessage: string;
105
+ description: string;
106
+ };
102
107
  deleteConfirmationModalTitleMultiple: {
103
108
  id: string;
104
109
  defaultMessage: string;
@@ -129,11 +134,21 @@ export declare const syncBlockMessages: {
129
134
  defaultMessage: string;
130
135
  description: string;
131
136
  };
137
+ deletionConfirmationModalDescription: {
138
+ id: string;
139
+ defaultMessage: string;
140
+ description: string;
141
+ };
132
142
  deleteConfirmationModalDescriptionNoRef: {
133
143
  id: string;
134
144
  defaultMessage: string;
135
145
  description: string;
136
146
  };
147
+ deletionConfirmationModalDescriptionNoRef: {
148
+ id: string;
149
+ defaultMessage: string;
150
+ description: string;
151
+ };
137
152
  createSyncBlockLabel: {
138
153
  id: string;
139
154
  defaultMessage: string;
@@ -329,11 +344,21 @@ export declare const syncBlockMessages: {
329
344
  defaultMessage: string;
330
345
  description: string;
331
346
  };
347
+ unsyncConfirmModalDescriptionSingle: {
348
+ id: string;
349
+ defaultMessage: string;
350
+ description: string;
351
+ };
332
352
  unsyncConfirmationModalDescriptionMultiple: {
333
353
  id: string;
334
354
  defaultMessage: string;
335
355
  description: string;
336
356
  };
357
+ unsyncConfirmModalDescriptionMultiple: {
358
+ id: string;
359
+ defaultMessage: string;
360
+ description: string;
361
+ };
337
362
  cannotPasteSyncedBlockTitle: {
338
363
  id: string;
339
364
  defaultMessage: string;
@@ -99,6 +99,11 @@ export declare const syncBlockMessages: {
99
99
  defaultMessage: string;
100
100
  description: string;
101
101
  };
102
+ deletionConfirmationModalTitleSingle: {
103
+ id: string;
104
+ defaultMessage: string;
105
+ description: string;
106
+ };
102
107
  deleteConfirmationModalTitleMultiple: {
103
108
  id: string;
104
109
  defaultMessage: string;
@@ -129,11 +134,21 @@ export declare const syncBlockMessages: {
129
134
  defaultMessage: string;
130
135
  description: string;
131
136
  };
137
+ deletionConfirmationModalDescription: {
138
+ id: string;
139
+ defaultMessage: string;
140
+ description: string;
141
+ };
132
142
  deleteConfirmationModalDescriptionNoRef: {
133
143
  id: string;
134
144
  defaultMessage: string;
135
145
  description: string;
136
146
  };
147
+ deletionConfirmationModalDescriptionNoRef: {
148
+ id: string;
149
+ defaultMessage: string;
150
+ description: string;
151
+ };
137
152
  createSyncBlockLabel: {
138
153
  id: string;
139
154
  defaultMessage: string;
@@ -329,11 +344,21 @@ export declare const syncBlockMessages: {
329
344
  defaultMessage: string;
330
345
  description: string;
331
346
  };
347
+ unsyncConfirmModalDescriptionSingle: {
348
+ id: string;
349
+ defaultMessage: string;
350
+ description: string;
351
+ };
332
352
  unsyncConfirmationModalDescriptionMultiple: {
333
353
  id: string;
334
354
  defaultMessage: string;
335
355
  description: string;
336
356
  };
357
+ unsyncConfirmModalDescriptionMultiple: {
358
+ id: string;
359
+ defaultMessage: string;
360
+ description: string;
361
+ };
337
362
  cannotPasteSyncedBlockTitle: {
338
363
  id: string;
339
364
  defaultMessage: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "111.11.11",
3
+ "version": "111.11.12",
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/"