@atlaskit/editor-common 114.32.1 → 114.32.3
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 +17 -0
- package/dist/cjs/messages/block-menu.js +5 -0
- package/dist/cjs/messages/block-type.js +5 -0
- package/dist/cjs/messages/syncBlock.js +5 -0
- package/dist/cjs/styles/shared/sync-block.js +3 -0
- package/dist/es2019/messages/block-menu.js +5 -0
- package/dist/es2019/messages/block-type.js +5 -0
- package/dist/es2019/messages/syncBlock.js +5 -0
- package/dist/es2019/styles/shared/sync-block.js +3 -0
- package/dist/esm/messages/block-menu.js +5 -0
- package/dist/esm/messages/block-type.js +5 -0
- package/dist/esm/messages/syncBlock.js +5 -0
- package/dist/esm/styles/shared/sync-block.js +3 -0
- package/dist/types/messages/block-menu.d.ts +5 -0
- package/dist/types/messages/block-type.d.ts +5 -0
- package/dist/types/messages/syncBlock.d.ts +5 -0
- package/dist/types-ts4.5/messages/block-menu.d.ts +5 -0
- package/dist/types-ts4.5/messages/block-type.d.ts +5 -0
- package/dist/types-ts4.5/messages/syncBlock.d.ts +5 -0
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 114.32.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`81682ab6c4a7f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/81682ab6c4a7f) -
|
|
8
|
+
EDITOR-7104: Update editor block menu copy behind feature gates.
|
|
9
|
+
- Update synced block quick insert and toolbar copy to "Sync block" behind
|
|
10
|
+
`platform_synced_block_patch_12`
|
|
11
|
+
- Update block menu "Turn into" copy to "Change format" behind
|
|
12
|
+
`platform_editor_block_menu_v2_patch_2`
|
|
13
|
+
|
|
14
|
+
## 114.32.2
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 114.32.1
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -61,6 +61,11 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
61
61
|
defaultMessage: 'Turn into',
|
|
62
62
|
description: 'Turn the selected block into another type'
|
|
63
63
|
},
|
|
64
|
+
changeFormat: {
|
|
65
|
+
id: 'fabric.editor.block.menu.change.format',
|
|
66
|
+
defaultMessage: 'Change format',
|
|
67
|
+
description: 'Change the selected block to another format'
|
|
68
|
+
},
|
|
64
69
|
syncBlock: {
|
|
65
70
|
id: 'fabric.editor.block.menu.sync.block',
|
|
66
71
|
defaultMessage: 'Sync block',
|
|
@@ -161,6 +161,11 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
161
161
|
defaultMessage: 'Create synced block',
|
|
162
162
|
description: 'Inserts a synced block that auto-updates content across Atlassian apps'
|
|
163
163
|
},
|
|
164
|
+
syncBlock: {
|
|
165
|
+
id: 'fabric.editor.syncBlock',
|
|
166
|
+
defaultMessage: 'Sync block',
|
|
167
|
+
description: 'Short label for inserting a synced block'
|
|
168
|
+
},
|
|
164
169
|
syncedBlockDescription: {
|
|
165
170
|
id: 'fabric.editor.syncedBlock.description',
|
|
166
171
|
defaultMessage: 'Sync content across multiple locations',
|
|
@@ -146,6 +146,11 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntl.defineMessage
|
|
|
146
146
|
defaultMessage: 'Create synced block',
|
|
147
147
|
description: 'Label for button which creates a new synced block'
|
|
148
148
|
},
|
|
149
|
+
syncBlockLabel: {
|
|
150
|
+
id: 'fabric.editor.syncBlockLabel',
|
|
151
|
+
defaultMessage: 'Sync block',
|
|
152
|
+
description: 'Short label for button which creates a new synced block'
|
|
153
|
+
},
|
|
149
154
|
newLozenge: {
|
|
150
155
|
id: 'fabric.editor.syncBlock.toolbar.newLozenge',
|
|
151
156
|
defaultMessage: 'New',
|
|
@@ -19,6 +19,9 @@ var BodiedSyncBlockSharedCssClassName = exports.BodiedSyncBlockSharedCssClassNam
|
|
|
19
19
|
content: "".concat(bodiedPrefix, "__content"),
|
|
20
20
|
selectionInside: "".concat(bodiedPrefix, "__selection_inside")
|
|
21
21
|
};
|
|
22
|
+
|
|
23
|
+
// Constant labelClassName value here has been inlined in css from EditorContentContainer, if you need to make
|
|
24
|
+
// update here, please also update packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
22
25
|
var labelClassName = 'ak-editor-sync-block__label';
|
|
23
26
|
var SyncBlockLabelSharedCssClassName = exports.SyncBlockLabelSharedCssClassName = {
|
|
24
27
|
labelClassName: labelClassName
|
|
@@ -55,6 +55,11 @@ export const messages = defineMessages({
|
|
|
55
55
|
defaultMessage: 'Turn into',
|
|
56
56
|
description: 'Turn the selected block into another type'
|
|
57
57
|
},
|
|
58
|
+
changeFormat: {
|
|
59
|
+
id: 'fabric.editor.block.menu.change.format',
|
|
60
|
+
defaultMessage: 'Change format',
|
|
61
|
+
description: 'Change the selected block to another format'
|
|
62
|
+
},
|
|
58
63
|
syncBlock: {
|
|
59
64
|
id: 'fabric.editor.block.menu.sync.block',
|
|
60
65
|
defaultMessage: 'Sync block',
|
|
@@ -155,6 +155,11 @@ export const messages = defineMessages({
|
|
|
155
155
|
defaultMessage: 'Create synced block',
|
|
156
156
|
description: 'Inserts a synced block that auto-updates content across Atlassian apps'
|
|
157
157
|
},
|
|
158
|
+
syncBlock: {
|
|
159
|
+
id: 'fabric.editor.syncBlock',
|
|
160
|
+
defaultMessage: 'Sync block',
|
|
161
|
+
description: 'Short label for inserting a synced block'
|
|
162
|
+
},
|
|
158
163
|
syncedBlockDescription: {
|
|
159
164
|
id: 'fabric.editor.syncedBlock.description',
|
|
160
165
|
defaultMessage: 'Sync content across multiple locations',
|
|
@@ -140,6 +140,11 @@ export const syncBlockMessages = defineMessages({
|
|
|
140
140
|
defaultMessage: 'Create synced block',
|
|
141
141
|
description: 'Label for button which creates a new synced block'
|
|
142
142
|
},
|
|
143
|
+
syncBlockLabel: {
|
|
144
|
+
id: 'fabric.editor.syncBlockLabel',
|
|
145
|
+
defaultMessage: 'Sync block',
|
|
146
|
+
description: 'Short label for button which creates a new synced block'
|
|
147
|
+
},
|
|
143
148
|
newLozenge: {
|
|
144
149
|
id: 'fabric.editor.syncBlock.toolbar.newLozenge',
|
|
145
150
|
defaultMessage: 'New',
|
|
@@ -13,6 +13,9 @@ export const BodiedSyncBlockSharedCssClassName = {
|
|
|
13
13
|
content: `${bodiedPrefix}__content`,
|
|
14
14
|
selectionInside: `${bodiedPrefix}__selection_inside`
|
|
15
15
|
};
|
|
16
|
+
|
|
17
|
+
// Constant labelClassName value here has been inlined in css from EditorContentContainer, if you need to make
|
|
18
|
+
// update here, please also update packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
16
19
|
const labelClassName = 'ak-editor-sync-block__label';
|
|
17
20
|
export const SyncBlockLabelSharedCssClassName = {
|
|
18
21
|
labelClassName
|
|
@@ -55,6 +55,11 @@ export var messages = defineMessages({
|
|
|
55
55
|
defaultMessage: 'Turn into',
|
|
56
56
|
description: 'Turn the selected block into another type'
|
|
57
57
|
},
|
|
58
|
+
changeFormat: {
|
|
59
|
+
id: 'fabric.editor.block.menu.change.format',
|
|
60
|
+
defaultMessage: 'Change format',
|
|
61
|
+
description: 'Change the selected block to another format'
|
|
62
|
+
},
|
|
58
63
|
syncBlock: {
|
|
59
64
|
id: 'fabric.editor.block.menu.sync.block',
|
|
60
65
|
defaultMessage: 'Sync block',
|
|
@@ -155,6 +155,11 @@ export var messages = defineMessages({
|
|
|
155
155
|
defaultMessage: 'Create synced block',
|
|
156
156
|
description: 'Inserts a synced block that auto-updates content across Atlassian apps'
|
|
157
157
|
},
|
|
158
|
+
syncBlock: {
|
|
159
|
+
id: 'fabric.editor.syncBlock',
|
|
160
|
+
defaultMessage: 'Sync block',
|
|
161
|
+
description: 'Short label for inserting a synced block'
|
|
162
|
+
},
|
|
158
163
|
syncedBlockDescription: {
|
|
159
164
|
id: 'fabric.editor.syncedBlock.description',
|
|
160
165
|
defaultMessage: 'Sync content across multiple locations',
|
|
@@ -140,6 +140,11 @@ export var syncBlockMessages = defineMessages({
|
|
|
140
140
|
defaultMessage: 'Create synced block',
|
|
141
141
|
description: 'Label for button which creates a new synced block'
|
|
142
142
|
},
|
|
143
|
+
syncBlockLabel: {
|
|
144
|
+
id: 'fabric.editor.syncBlockLabel',
|
|
145
|
+
defaultMessage: 'Sync block',
|
|
146
|
+
description: 'Short label for button which creates a new synced block'
|
|
147
|
+
},
|
|
143
148
|
newLozenge: {
|
|
144
149
|
id: 'fabric.editor.syncBlock.toolbar.newLozenge',
|
|
145
150
|
defaultMessage: 'New',
|
|
@@ -13,6 +13,9 @@ export var BodiedSyncBlockSharedCssClassName = {
|
|
|
13
13
|
content: "".concat(bodiedPrefix, "__content"),
|
|
14
14
|
selectionInside: "".concat(bodiedPrefix, "__selection_inside")
|
|
15
15
|
};
|
|
16
|
+
|
|
17
|
+
// Constant labelClassName value here has been inlined in css from EditorContentContainer, if you need to make
|
|
18
|
+
// update here, please also update packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
16
19
|
var labelClassName = 'ak-editor-sync-block__label';
|
|
17
20
|
export var SyncBlockLabelSharedCssClassName = {
|
|
18
21
|
labelClassName: labelClassName
|
|
@@ -104,6 +104,11 @@ export declare const messages: {
|
|
|
104
104
|
description: string;
|
|
105
105
|
id: string;
|
|
106
106
|
};
|
|
107
|
+
changeFormat: {
|
|
108
|
+
defaultMessage: string;
|
|
109
|
+
description: string;
|
|
110
|
+
id: string;
|
|
111
|
+
};
|
|
107
112
|
wrapIcon: {
|
|
108
113
|
defaultMessage: string;
|
|
109
114
|
description: string;
|
|
@@ -159,6 +159,11 @@ export declare const messages: {
|
|
|
159
159
|
description: string;
|
|
160
160
|
id: string;
|
|
161
161
|
};
|
|
162
|
+
syncBlock: {
|
|
163
|
+
defaultMessage: string;
|
|
164
|
+
description: string;
|
|
165
|
+
id: string;
|
|
166
|
+
};
|
|
162
167
|
syncedBlockDescription: {
|
|
163
168
|
defaultMessage: string;
|
|
164
169
|
description: string;
|
|
@@ -59,6 +59,11 @@ export declare const syncBlockMessages: {
|
|
|
59
59
|
description: string;
|
|
60
60
|
id: string;
|
|
61
61
|
};
|
|
62
|
+
syncBlockLabel: {
|
|
63
|
+
defaultMessage: string;
|
|
64
|
+
description: string;
|
|
65
|
+
id: string;
|
|
66
|
+
};
|
|
62
67
|
defaultSyncBlockTooltip: {
|
|
63
68
|
defaultMessage: string;
|
|
64
69
|
description: string;
|
|
@@ -104,6 +104,11 @@ export declare const messages: {
|
|
|
104
104
|
description: string;
|
|
105
105
|
id: string;
|
|
106
106
|
};
|
|
107
|
+
changeFormat: {
|
|
108
|
+
defaultMessage: string;
|
|
109
|
+
description: string;
|
|
110
|
+
id: string;
|
|
111
|
+
};
|
|
107
112
|
wrapIcon: {
|
|
108
113
|
defaultMessage: string;
|
|
109
114
|
description: string;
|
|
@@ -159,6 +159,11 @@ export declare const messages: {
|
|
|
159
159
|
description: string;
|
|
160
160
|
id: string;
|
|
161
161
|
};
|
|
162
|
+
syncBlock: {
|
|
163
|
+
defaultMessage: string;
|
|
164
|
+
description: string;
|
|
165
|
+
id: string;
|
|
166
|
+
};
|
|
162
167
|
syncedBlockDescription: {
|
|
163
168
|
defaultMessage: string;
|
|
164
169
|
description: string;
|
|
@@ -59,6 +59,11 @@ export declare const syncBlockMessages: {
|
|
|
59
59
|
description: string;
|
|
60
60
|
id: string;
|
|
61
61
|
};
|
|
62
|
+
syncBlockLabel: {
|
|
63
|
+
defaultMessage: string;
|
|
64
|
+
description: string;
|
|
65
|
+
id: string;
|
|
66
|
+
};
|
|
62
67
|
defaultSyncBlockTooltip: {
|
|
63
68
|
defaultMessage: string;
|
|
64
69
|
description: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "114.32.
|
|
3
|
+
"version": "114.32.3",
|
|
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/"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"singleton": true
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@atlaskit/activity-provider": "^2.
|
|
39
|
+
"@atlaskit/activity-provider": "^2.6.0",
|
|
40
40
|
"@atlaskit/adf-schema": "^52.11.0",
|
|
41
41
|
"@atlaskit/adf-utils": "^19.29.0",
|
|
42
42
|
"@atlaskit/afm-i18n-platform-editor-editor-common": "2.18.0",
|
|
@@ -48,16 +48,16 @@
|
|
|
48
48
|
"@atlaskit/button": "^23.11.0",
|
|
49
49
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
50
50
|
"@atlaskit/css": "^0.19.0",
|
|
51
|
-
"@atlaskit/custom-steps": "^0.
|
|
51
|
+
"@atlaskit/custom-steps": "^0.17.0",
|
|
52
52
|
"@atlaskit/dropdown-menu": "^16.8.0",
|
|
53
|
-
"@atlaskit/editor-json-transformer": "^8.
|
|
54
|
-
"@atlaskit/editor-palette": "^2.
|
|
53
|
+
"@atlaskit/editor-json-transformer": "^8.32.0",
|
|
54
|
+
"@atlaskit/editor-palette": "^2.2.0",
|
|
55
55
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
56
56
|
"@atlaskit/editor-shared-styles": "^3.11.0",
|
|
57
57
|
"@atlaskit/editor-tables": "^2.10.0",
|
|
58
|
-
"@atlaskit/editor-toolbar": "^1.
|
|
58
|
+
"@atlaskit/editor-toolbar": "^1.5.0",
|
|
59
59
|
"@atlaskit/editor-toolbar-model": "^0.5.0",
|
|
60
|
-
"@atlaskit/emoji": "^70.
|
|
60
|
+
"@atlaskit/emoji": "^70.8.0",
|
|
61
61
|
"@atlaskit/icon": "^34.5.0",
|
|
62
62
|
"@atlaskit/link": "^3.4.0",
|
|
63
63
|
"@atlaskit/link-datasource": "^5.2.0",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"@atlaskit/primitives": "^19.0.0",
|
|
80
80
|
"@atlaskit/profilecard": "^25.6.0",
|
|
81
81
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
82
|
-
"@atlaskit/react-ufo": "^5.
|
|
82
|
+
"@atlaskit/react-ufo": "^5.21.0",
|
|
83
83
|
"@atlaskit/section-message": "^8.12.0",
|
|
84
84
|
"@atlaskit/smart-card": "^44.11.0",
|
|
85
85
|
"@atlaskit/smart-user-picker": "^10.0.0",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"@atlaskit/task-decision": "^20.1.0",
|
|
88
88
|
"@atlaskit/teams-app-config": "^1.12.0",
|
|
89
89
|
"@atlaskit/textfield": "^8.3.0",
|
|
90
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
90
|
+
"@atlaskit/tmp-editor-statsig": "^81.0.0",
|
|
91
91
|
"@atlaskit/tokens": "^13.0.0",
|
|
92
92
|
"@atlaskit/tooltip": "^22.2.0",
|
|
93
93
|
"@atlaskit/width-detector": "^5.1.0",
|