@atlaskit/editor-common 77.0.5 → 77.1.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 +21 -0
- package/dist/cjs/extensibility/MultiBodiedExtension/action-api.js +131 -0
- package/dist/cjs/extensibility/MultiBodiedExtension/index.js +62 -150
- package/dist/cjs/extensibility/MultiBodiedExtension/styles.js +19 -0
- package/dist/cjs/extensibility/MultiBodiedExtension/utils.js +26 -0
- package/dist/cjs/i18n/cs.js +0 -3
- package/dist/cjs/i18n/da.js +24 -4
- package/dist/cjs/i18n/de.js +0 -3
- package/dist/cjs/i18n/en.js +23 -5
- package/dist/cjs/i18n/en_GB.js +24 -6
- package/dist/cjs/i18n/en_ZZ.js +24 -6
- package/dist/cjs/i18n/es.js +24 -4
- package/dist/cjs/i18n/fi.js +23 -4
- package/dist/cjs/i18n/fr.js +24 -4
- package/dist/cjs/i18n/hu.js +24 -4
- package/dist/cjs/i18n/it.js +24 -4
- package/dist/cjs/i18n/ja.js +25 -2
- package/dist/cjs/i18n/ko.js +24 -4
- package/dist/cjs/i18n/nb.js +24 -2
- package/dist/cjs/i18n/nl.js +24 -4
- package/dist/cjs/i18n/pl.js +23 -4
- package/dist/cjs/i18n/pt_BR.js +22 -4
- package/dist/cjs/i18n/ru.js +22 -4
- package/dist/cjs/i18n/sv.js +24 -4
- package/dist/cjs/i18n/th.js +24 -4
- package/dist/cjs/i18n/tr.js +22 -4
- package/dist/cjs/i18n/uk.js +25 -5
- package/dist/cjs/i18n/vi.js +24 -4
- package/dist/cjs/i18n/zh.js +23 -5
- package/dist/cjs/i18n/zh_TW.js +24 -4
- package/dist/cjs/messages/full-page.js +1 -1
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/extensibility/MultiBodiedExtension/action-api.js +134 -0
- package/dist/es2019/extensibility/MultiBodiedExtension/index.js +55 -161
- package/dist/es2019/extensibility/MultiBodiedExtension/styles.js +81 -0
- package/dist/es2019/extensibility/MultiBodiedExtension/utils.js +20 -0
- package/dist/es2019/i18n/cs.js +0 -3
- package/dist/es2019/i18n/da.js +24 -4
- package/dist/es2019/i18n/de.js +0 -3
- package/dist/es2019/i18n/en.js +23 -5
- package/dist/es2019/i18n/en_GB.js +24 -6
- package/dist/es2019/i18n/en_ZZ.js +24 -6
- package/dist/es2019/i18n/es.js +24 -4
- package/dist/es2019/i18n/fi.js +23 -4
- package/dist/es2019/i18n/fr.js +24 -4
- package/dist/es2019/i18n/hu.js +24 -4
- package/dist/es2019/i18n/it.js +24 -4
- package/dist/es2019/i18n/ja.js +25 -2
- package/dist/es2019/i18n/ko.js +24 -4
- package/dist/es2019/i18n/nb.js +24 -2
- package/dist/es2019/i18n/nl.js +24 -4
- package/dist/es2019/i18n/pl.js +23 -4
- package/dist/es2019/i18n/pt_BR.js +22 -4
- package/dist/es2019/i18n/ru.js +22 -4
- package/dist/es2019/i18n/sv.js +24 -4
- package/dist/es2019/i18n/th.js +24 -4
- package/dist/es2019/i18n/tr.js +22 -4
- package/dist/es2019/i18n/uk.js +25 -5
- package/dist/es2019/i18n/vi.js +24 -4
- package/dist/es2019/i18n/zh.js +23 -5
- package/dist/es2019/i18n/zh_TW.js +24 -4
- package/dist/es2019/messages/full-page.js +1 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/extensibility/MultiBodiedExtension/action-api.js +124 -0
- package/dist/esm/extensibility/MultiBodiedExtension/index.js +61 -150
- package/dist/esm/extensibility/MultiBodiedExtension/styles.js +13 -0
- package/dist/esm/extensibility/MultiBodiedExtension/utils.js +20 -0
- package/dist/esm/i18n/cs.js +0 -3
- package/dist/esm/i18n/da.js +24 -4
- package/dist/esm/i18n/de.js +0 -3
- package/dist/esm/i18n/en.js +23 -5
- package/dist/esm/i18n/en_GB.js +24 -6
- package/dist/esm/i18n/en_ZZ.js +24 -6
- package/dist/esm/i18n/es.js +24 -4
- package/dist/esm/i18n/fi.js +23 -4
- package/dist/esm/i18n/fr.js +24 -4
- package/dist/esm/i18n/hu.js +24 -4
- package/dist/esm/i18n/it.js +24 -4
- package/dist/esm/i18n/ja.js +25 -2
- package/dist/esm/i18n/ko.js +24 -4
- package/dist/esm/i18n/nb.js +24 -2
- package/dist/esm/i18n/nl.js +24 -4
- package/dist/esm/i18n/pl.js +23 -4
- package/dist/esm/i18n/pt_BR.js +22 -4
- package/dist/esm/i18n/ru.js +22 -4
- package/dist/esm/i18n/sv.js +24 -4
- package/dist/esm/i18n/th.js +24 -4
- package/dist/esm/i18n/tr.js +22 -4
- package/dist/esm/i18n/uk.js +25 -5
- package/dist/esm/i18n/vi.js +24 -4
- package/dist/esm/i18n/zh.js +23 -5
- package/dist/esm/i18n/zh_TW.js +24 -4
- package/dist/esm/messages/full-page.js +1 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/card/cardOptions.d.ts +7 -0
- package/dist/types/extensibility/MultiBodiedExtension/action-api.d.ts +13 -0
- package/dist/types/extensibility/MultiBodiedExtension/styles.d.ts +4 -0
- package/dist/types/extensibility/MultiBodiedExtension/utils.d.ts +6 -0
- package/dist/types/i18n/cs.d.ts +0 -3
- package/dist/types/i18n/da.d.ts +23 -3
- package/dist/types/i18n/de.d.ts +0 -3
- package/dist/types/i18n/en.d.ts +20 -2
- package/dist/types/i18n/en_GB.d.ts +20 -2
- package/dist/types/i18n/en_ZZ.d.ts +20 -2
- package/dist/types/i18n/es.d.ts +23 -3
- package/dist/types/i18n/fi.d.ts +22 -3
- package/dist/types/i18n/fr.d.ts +23 -3
- package/dist/types/i18n/hu.d.ts +23 -3
- package/dist/types/i18n/it.d.ts +23 -3
- package/dist/types/i18n/ja.d.ts +24 -1
- package/dist/types/i18n/ko.d.ts +23 -3
- package/dist/types/i18n/nb.d.ts +23 -1
- package/dist/types/i18n/nl.d.ts +23 -3
- package/dist/types/i18n/pl.d.ts +22 -3
- package/dist/types/i18n/pt_BR.d.ts +21 -3
- package/dist/types/i18n/ru.d.ts +21 -3
- package/dist/types/i18n/sv.d.ts +23 -3
- package/dist/types/i18n/th.d.ts +23 -3
- package/dist/types/i18n/tr.d.ts +21 -3
- package/dist/types/i18n/uk.d.ts +23 -3
- package/dist/types/i18n/vi.d.ts +23 -3
- package/dist/types/i18n/zh.d.ts +21 -3
- package/dist/types/i18n/zh_TW.d.ts +23 -3
- package/dist/types/types/next-editor-plugin.d.ts +1 -4
- package/dist/types-ts4.5/card/cardOptions.d.ts +7 -0
- package/dist/types-ts4.5/extensibility/MultiBodiedExtension/action-api.d.ts +13 -0
- package/dist/types-ts4.5/extensibility/MultiBodiedExtension/styles.d.ts +4 -0
- package/dist/types-ts4.5/extensibility/MultiBodiedExtension/utils.d.ts +6 -0
- package/dist/types-ts4.5/i18n/cs.d.ts +0 -3
- package/dist/types-ts4.5/i18n/da.d.ts +23 -3
- package/dist/types-ts4.5/i18n/de.d.ts +0 -3
- package/dist/types-ts4.5/i18n/en.d.ts +20 -2
- package/dist/types-ts4.5/i18n/en_GB.d.ts +20 -2
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +20 -2
- package/dist/types-ts4.5/i18n/es.d.ts +23 -3
- package/dist/types-ts4.5/i18n/fi.d.ts +22 -3
- package/dist/types-ts4.5/i18n/fr.d.ts +23 -3
- package/dist/types-ts4.5/i18n/hu.d.ts +23 -3
- package/dist/types-ts4.5/i18n/it.d.ts +23 -3
- package/dist/types-ts4.5/i18n/ja.d.ts +24 -1
- package/dist/types-ts4.5/i18n/ko.d.ts +23 -3
- package/dist/types-ts4.5/i18n/nb.d.ts +23 -1
- package/dist/types-ts4.5/i18n/nl.d.ts +23 -3
- package/dist/types-ts4.5/i18n/pl.d.ts +22 -3
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +21 -3
- package/dist/types-ts4.5/i18n/ru.d.ts +21 -3
- package/dist/types-ts4.5/i18n/sv.d.ts +23 -3
- package/dist/types-ts4.5/i18n/th.d.ts +23 -3
- package/dist/types-ts4.5/i18n/tr.d.ts +21 -3
- package/dist/types-ts4.5/i18n/uk.d.ts +23 -3
- package/dist/types-ts4.5/i18n/vi.d.ts +23 -3
- package/dist/types-ts4.5/i18n/zh.d.ts +21 -3
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +23 -3
- package/dist/types-ts4.5/types/next-editor-plugin.d.ts +1 -4
- package/package.json +8 -8
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
declare const _default: {
|
|
8
8
|
'fabric.editor.action': string;
|
|
9
9
|
'fabric.editor.action.description': string;
|
|
10
|
-
'fabric.editor.
|
|
10
|
+
'fabric.editor.addColumnLeft': string;
|
|
11
|
+
'fabric.editor.addColumnRight': string;
|
|
11
12
|
'fabric.editor.addMediaFiles': string;
|
|
12
|
-
'fabric.editor.
|
|
13
|
+
'fabric.editor.addRowAbove': string;
|
|
14
|
+
'fabric.editor.addRowBelow': string;
|
|
13
15
|
'fabric.editor.alignCenter': string;
|
|
14
16
|
'fabric.editor.alignImageCenter': string;
|
|
15
17
|
'fabric.editor.alignImageLeft': string;
|
|
@@ -47,6 +49,7 @@ declare const _default: {
|
|
|
47
49
|
'fabric.editor.codeblock.description': string;
|
|
48
50
|
'fabric.editor.collapseNode': string;
|
|
49
51
|
'fabric.editor.collapseTable': string;
|
|
52
|
+
'fabric.editor.columnDragHandle': string;
|
|
50
53
|
'fabric.editor.columns': string;
|
|
51
54
|
'fabric.editor.columns.description': string;
|
|
52
55
|
'fabric.editor.copiedToClipboard': string;
|
|
@@ -84,6 +87,11 @@ declare const _default: {
|
|
|
84
87
|
'fabric.editor.elementbrowser.search.empty-state.heading': string;
|
|
85
88
|
'fabric.editor.elementbrowser.search.empty-state.sub-heading': string;
|
|
86
89
|
'fabric.editor.elementbrowser.search.empty-state.sub-heading.link': string;
|
|
90
|
+
'fabric.editor.elementbrowser.searchbar.assistive.text.nothing': string;
|
|
91
|
+
'fabric.editor.elementbrowser.searchbar.assistive.text.suggestion': string;
|
|
92
|
+
'fabric.editor.elementbrowser.searchbar.assistive.text.suggestions': string;
|
|
93
|
+
'fabric.editor.elementbrowser.searchbar.elementAfterInput': string;
|
|
94
|
+
'fabric.editor.elementbrowser.searchbar.placeholder': string;
|
|
87
95
|
'fabric.editor.elementbrowser.sidebar.heading': string;
|
|
88
96
|
'fabric.editor.embedTitle': string;
|
|
89
97
|
'fabric.editor.emoji': string;
|
|
@@ -139,6 +147,7 @@ declare const _default: {
|
|
|
139
147
|
'fabric.editor.infoPanel': string;
|
|
140
148
|
'fabric.editor.infoPanel.description': string;
|
|
141
149
|
'fabric.editor.inlineDescription': string;
|
|
150
|
+
'fabric.editor.inlineOverlay': string;
|
|
142
151
|
'fabric.editor.inlineTitle': string;
|
|
143
152
|
'fabric.editor.insertColumn': string;
|
|
144
153
|
'fabric.editor.insertColumnDrag': string;
|
|
@@ -159,12 +168,15 @@ declare const _default: {
|
|
|
159
168
|
'fabric.editor.mediaAddLink': string;
|
|
160
169
|
'fabric.editor.mediaFiles': string;
|
|
161
170
|
'fabric.editor.mediaFiles.description': string;
|
|
162
|
-
'fabric.editor.media_change_mediainline': string;
|
|
163
171
|
'fabric.editor.media_change_mediasingle': string;
|
|
164
172
|
'fabric.editor.mention': string;
|
|
165
173
|
'fabric.editor.mention.description': string;
|
|
166
174
|
'fabric.editor.mergeCells': string;
|
|
167
175
|
'fabric.editor.moreFormatting': string;
|
|
176
|
+
'fabric.editor.moveColumnLeft': string;
|
|
177
|
+
'fabric.editor.moveColumnRight': string;
|
|
178
|
+
'fabric.editor.moveDownDown': string;
|
|
179
|
+
'fabric.editor.moveRowUp': string;
|
|
168
180
|
'fabric.editor.navigate.toolbar.editor': string;
|
|
169
181
|
'fabric.editor.navigate.toolbar.floating': string;
|
|
170
182
|
'fabric.editor.normal': string;
|
|
@@ -190,11 +202,14 @@ declare const _default: {
|
|
|
190
202
|
'fabric.editor.removeRows': string;
|
|
191
203
|
'fabric.editor.rightSidebar': string;
|
|
192
204
|
'fabric.editor.rowControl': string;
|
|
205
|
+
'fabric.editor.rowDragHandle': string;
|
|
193
206
|
'fabric.editor.saveButton': string;
|
|
194
207
|
'fabric.editor.settingsLinks': string;
|
|
195
208
|
'fabric.editor.single': string;
|
|
196
209
|
'fabric.editor.sortColumnASC': string;
|
|
197
210
|
'fabric.editor.sortColumnDESC': string;
|
|
211
|
+
'fabric.editor.sortColumnDecreasing': string;
|
|
212
|
+
'fabric.editor.sortColumnIncreasing': string;
|
|
198
213
|
'fabric.editor.splitCell': string;
|
|
199
214
|
'fabric.editor.status': string;
|
|
200
215
|
'fabric.editor.status.description': string;
|
|
@@ -213,6 +228,10 @@ declare const _default: {
|
|
|
213
228
|
'fabric.editor.tableOptions': string;
|
|
214
229
|
'fabric.editor.tableResizeDecreaseScreenReaderInformation': string;
|
|
215
230
|
'fabric.editor.tableResizeIncreaseScreenReaderInformation': string;
|
|
231
|
+
'fabric.editor.tableSelector': string;
|
|
232
|
+
'fabric.editor.tableSelector.description': string;
|
|
233
|
+
'fabric.editor.tableSizeSelectorButton': string;
|
|
234
|
+
'fabric.editor.tableSizeSelectorPopup': string;
|
|
216
235
|
'fabric.editor.tables.adjustColumn': string;
|
|
217
236
|
'fabric.editor.tables.confirmDeleteLinkedModalMessage': string;
|
|
218
237
|
'fabric.editor.tables.confirmDeleteLinkedModalOKButton': string;
|
|
@@ -304,5 +323,6 @@ declare const _default: {
|
|
|
304
323
|
'fabric.theme.teal': string;
|
|
305
324
|
'fabric.theme.white': string;
|
|
306
325
|
'fabric.theme.yellow': string;
|
|
326
|
+
'fabrid.editor.rowNumbers': string;
|
|
307
327
|
};
|
|
308
328
|
export default _default;
|
|
@@ -151,9 +151,6 @@ export type PublicPluginAPI<PluginList extends NextEditorPlugin<any, any>[]> = C
|
|
|
151
151
|
CorePlugin
|
|
152
152
|
]>;
|
|
153
153
|
export type ExtractNextEditorPlugins<Plugins extends AllEditorPresetPluginTypes[]> = {
|
|
154
|
-
[PluginNumber in keyof Plugins]: Plugins[PluginNumber] extends NextEditorPlugin<infer Name, infer Metadata
|
|
155
|
-
NextEditorPlugin<infer Name, infer Metadata>,
|
|
156
|
-
any
|
|
157
|
-
] ? NextEditorPlugin<Name, Metadata> : never;
|
|
154
|
+
[PluginNumber in keyof Plugins]: Plugins[PluginNumber] extends MaybePlugin<NextEditorPlugin<infer Name, infer Metadata>> ? NextEditorPlugin<Name, Metadata> : Plugins[PluginNumber] extends MaybePlugin<NextEditorPlugin<infer Name, infer Metadata>> ? NextEditorPlugin<Name, Metadata> : never;
|
|
158
155
|
};
|
|
159
156
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "77.0
|
|
3
|
+
"version": "77.1.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/"
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"@atlaskit/editor-palette": "1.5.2",
|
|
106
106
|
"@atlaskit/editor-prosemirror": "1.1.0",
|
|
107
107
|
"@atlaskit/editor-shared-styles": "^2.9.0",
|
|
108
|
-
"@atlaskit/editor-tables": "^2.
|
|
108
|
+
"@atlaskit/editor-tables": "^2.5.0",
|
|
109
109
|
"@atlaskit/emoji": "^67.6.0",
|
|
110
110
|
"@atlaskit/icon": "^22.0.0",
|
|
111
111
|
"@atlaskit/icon-object": "^6.3.0",
|
|
@@ -118,14 +118,14 @@
|
|
|
118
118
|
"@atlaskit/mention": "^22.1.0",
|
|
119
119
|
"@atlaskit/menu": "^2.1.0",
|
|
120
120
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
121
|
-
"@atlaskit/profilecard": "^19.
|
|
122
|
-
"@atlaskit/smart-card": "^26.
|
|
123
|
-
"@atlaskit/smart-user-picker": "^6.
|
|
121
|
+
"@atlaskit/profilecard": "^19.8.0",
|
|
122
|
+
"@atlaskit/smart-card": "^26.46.0",
|
|
123
|
+
"@atlaskit/smart-user-picker": "^6.5.0",
|
|
124
124
|
"@atlaskit/spinner": "^16.0.0",
|
|
125
125
|
"@atlaskit/task-decision": "^17.9.0",
|
|
126
126
|
"@atlaskit/textfield": "^6.0.0",
|
|
127
127
|
"@atlaskit/theme": "^12.6.0",
|
|
128
|
-
"@atlaskit/tokens": "^1.
|
|
128
|
+
"@atlaskit/tokens": "^1.35.0",
|
|
129
129
|
"@atlaskit/tooltip": "^18.1.0",
|
|
130
130
|
"@atlaskit/ufo": "^0.2.0",
|
|
131
131
|
"@atlaskit/width-detector": "^4.1.0",
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
"fuse.js": "^6.6.2",
|
|
143
143
|
"linkify-it": "^3.0.3",
|
|
144
144
|
"lodash": "^4.17.21",
|
|
145
|
-
"markdown-it": "^
|
|
145
|
+
"markdown-it": "^13.0.2",
|
|
146
146
|
"memoize-one": "^6.0.0",
|
|
147
147
|
"popper.js": "^1.14.1",
|
|
148
148
|
"prop-types": "^15.5.10",
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
"@testing-library/react-hooks": "^8.0.1",
|
|
174
174
|
"@testing-library/user-event": "^14.4.3",
|
|
175
175
|
"@types/linkify-it": "^3.0.2",
|
|
176
|
-
"@types/markdown-it": "^
|
|
176
|
+
"@types/markdown-it": "^13.0.7",
|
|
177
177
|
"@types/raf-schd": "^4.0.1",
|
|
178
178
|
"@types/react-virtualized": "^9.18.12",
|
|
179
179
|
"enzyme": "^3.10.0",
|