@atlaskit/editor-common 72.8.0 → 73.0.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 +17 -0
- package/dist/cjs/analytics/types/enums.js +32 -32
- package/dist/cjs/analytics/types/extension-events.js +8 -8
- package/dist/cjs/analytics/types/format-events.js +8 -8
- package/dist/cjs/analytics/types/general-events.js +16 -16
- package/dist/cjs/analytics/types/inline-comment-events.js +4 -4
- package/dist/cjs/analytics/types/insert-events.js +16 -16
- package/dist/cjs/analytics/types/list-events.js +16 -16
- package/dist/cjs/analytics/types/node-events.js +8 -8
- package/dist/cjs/analytics/types/substitute-events.js +8 -8
- package/dist/cjs/analytics/types/table-events.js +11 -10
- package/dist/cjs/analytics/types/toolbar-button.js +4 -4
- package/dist/cjs/analytics/types/utils.js +8 -8
- package/dist/cjs/extensions/default-extension-provider.js +55 -62
- package/dist/cjs/extensions/extension-fields-helpers.js +83 -94
- package/dist/cjs/extensions/extension-handlers.js +50 -55
- package/dist/cjs/extensions/manifest-helpers.js +13 -16
- package/dist/cjs/extensions/module-helpers.js +50 -57
- package/dist/cjs/i18n/cs.js +36 -2
- package/dist/cjs/i18n/da.js +36 -2
- package/dist/cjs/i18n/de.js +37 -3
- package/dist/cjs/i18n/en.js +36 -2
- package/dist/cjs/i18n/en_GB.js +36 -2
- package/dist/cjs/i18n/en_ZZ.js +18 -2
- package/dist/cjs/i18n/es.js +36 -2
- package/dist/cjs/i18n/fi.js +36 -2
- package/dist/cjs/i18n/fr.js +36 -2
- package/dist/cjs/i18n/hu.js +36 -2
- package/dist/cjs/i18n/it.js +36 -2
- package/dist/cjs/i18n/ja.js +36 -2
- package/dist/cjs/i18n/ko.js +36 -2
- package/dist/cjs/i18n/nb.js +36 -2
- package/dist/cjs/i18n/nl.js +36 -2
- package/dist/cjs/i18n/pl.js +36 -2
- package/dist/cjs/i18n/pt_BR.js +36 -2
- package/dist/cjs/i18n/ru.js +36 -2
- package/dist/cjs/i18n/sv.js +36 -2
- package/dist/cjs/i18n/th.js +36 -2
- package/dist/cjs/i18n/tr.js +36 -2
- package/dist/cjs/i18n/uk.js +36 -2
- package/dist/cjs/i18n/vi.js +36 -2
- package/dist/cjs/i18n/zh.js +36 -2
- package/dist/cjs/i18n/zh_TW.js +36 -2
- package/dist/cjs/icons/index.js +1 -1
- package/dist/cjs/preset/plugin-injection-api.js +1 -1
- package/dist/cjs/provider-helpers/combine-providers.js +63 -72
- package/dist/cjs/provider-helpers/promise-helpers.js +4 -4
- package/dist/cjs/selection/gap-cursor/selection.js +4 -4
- package/dist/cjs/selection/types.js +4 -4
- package/dist/cjs/styles/shared/lists.js +3 -3
- package/dist/cjs/type-ahead/index.js +8 -8
- package/dist/cjs/types/annotation/emitter.js +4 -4
- package/dist/cjs/types/index.js +4 -4
- package/dist/cjs/types/toolbar.js +12 -12
- package/dist/cjs/ufo/experience-store.js +4 -4
- package/dist/cjs/ui/DropList/index.js +2 -2
- package/dist/cjs/ui/Layer/index.js +1 -2
- package/dist/cjs/ui/OverflowShadow/shadowObserver.js +4 -4
- package/dist/cjs/ui/Popup/index.js +3 -4
- package/dist/cjs/ui-menu/ArrowKeyNavigationProvider/ColorPaletteArrowKeyNavigationProvider/index.js +10 -4
- package/dist/cjs/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.js +8 -4
- package/dist/cjs/ui-menu/ArrowKeyNavigationProvider/index.js +19 -7
- package/dist/cjs/ui-menu/ArrowKeyNavigationProvider/types.js +4 -4
- package/dist/cjs/utils/analytics.js +4 -4
- package/dist/cjs/utils/browser-extensions.js +1 -1
- package/dist/cjs/utils/compareNodes.js +6 -6
- package/dist/cjs/utils/date.js +3 -3
- package/dist/cjs/utils/list.js +3 -0
- package/dist/cjs/utils/nodes.js +15 -14
- package/dist/cjs/utils/referentiality.js +1 -1
- package/dist/cjs/utils/unsupportedContent/get-unsupported-content-level-data.js +4 -4
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/with-plugin-state/index.js +3 -4
- package/dist/es2019/analytics/types/enums.js +24 -24
- package/dist/es2019/analytics/types/extension-events.js +8 -8
- package/dist/es2019/analytics/types/format-events.js +6 -6
- package/dist/es2019/analytics/types/general-events.js +14 -12
- package/dist/es2019/analytics/types/inline-comment-events.js +3 -3
- package/dist/es2019/analytics/types/insert-events.js +12 -12
- package/dist/es2019/analytics/types/list-events.js +12 -12
- package/dist/es2019/analytics/types/node-events.js +6 -6
- package/dist/es2019/analytics/types/substitute-events.js +6 -6
- package/dist/es2019/analytics/types/table-events.js +10 -9
- package/dist/es2019/analytics/types/toolbar-button.js +3 -3
- package/dist/es2019/analytics/types/utils.js +6 -6
- package/dist/es2019/i18n/cs.js +36 -2
- package/dist/es2019/i18n/da.js +36 -2
- package/dist/es2019/i18n/de.js +37 -3
- package/dist/es2019/i18n/en.js +36 -2
- package/dist/es2019/i18n/en_GB.js +36 -2
- package/dist/es2019/i18n/en_ZZ.js +18 -2
- package/dist/es2019/i18n/es.js +36 -2
- package/dist/es2019/i18n/fi.js +36 -2
- package/dist/es2019/i18n/fr.js +36 -2
- package/dist/es2019/i18n/hu.js +36 -2
- package/dist/es2019/i18n/it.js +36 -2
- package/dist/es2019/i18n/ja.js +36 -2
- package/dist/es2019/i18n/ko.js +36 -2
- package/dist/es2019/i18n/nb.js +36 -2
- package/dist/es2019/i18n/nl.js +36 -2
- package/dist/es2019/i18n/pl.js +36 -2
- package/dist/es2019/i18n/pt_BR.js +36 -2
- package/dist/es2019/i18n/ru.js +36 -2
- package/dist/es2019/i18n/sv.js +36 -2
- package/dist/es2019/i18n/th.js +36 -2
- package/dist/es2019/i18n/tr.js +36 -2
- package/dist/es2019/i18n/uk.js +36 -2
- package/dist/es2019/i18n/vi.js +36 -2
- package/dist/es2019/i18n/zh.js +36 -2
- package/dist/es2019/i18n/zh_TW.js +36 -2
- package/dist/es2019/provider-helpers/promise-helpers.js +3 -3
- package/dist/es2019/selection/gap-cursor/selection.js +3 -3
- package/dist/es2019/selection/types.js +3 -3
- package/dist/es2019/styles/shared/lists.js +3 -3
- package/dist/es2019/type-ahead/index.js +6 -6
- package/dist/es2019/types/annotation/emitter.js +3 -3
- package/dist/es2019/types/index.js +3 -3
- package/dist/es2019/types/toolbar.js +9 -9
- package/dist/es2019/ufo/experience-store.js +3 -3
- package/dist/es2019/ui/DropList/index.js +2 -2
- package/dist/es2019/ui/Layer/index.js +1 -2
- package/dist/es2019/ui/OverflowShadow/shadowObserver.js +3 -3
- package/dist/es2019/ui/Popup/index.js +3 -5
- package/dist/es2019/ui-menu/ArrowKeyNavigationProvider/ColorPaletteArrowKeyNavigationProvider/index.js +7 -5
- package/dist/es2019/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.js +6 -4
- package/dist/es2019/ui-menu/ArrowKeyNavigationProvider/index.js +14 -4
- package/dist/es2019/ui-menu/ArrowKeyNavigationProvider/types.js +3 -3
- package/dist/es2019/utils/analytics.js +3 -3
- package/dist/es2019/utils/compareNodes.js +3 -3
- package/dist/es2019/utils/date.js +3 -3
- package/dist/es2019/utils/list.js +3 -0
- package/dist/es2019/utils/nodes.js +5 -5
- package/dist/es2019/utils/unsupportedContent/get-unsupported-content-level-data.js +3 -3
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/with-plugin-state/index.js +3 -5
- package/dist/esm/analytics/types/enums.js +24 -24
- package/dist/esm/analytics/types/extension-events.js +8 -8
- package/dist/esm/analytics/types/format-events.js +6 -6
- package/dist/esm/analytics/types/general-events.js +14 -12
- package/dist/esm/analytics/types/inline-comment-events.js +3 -3
- package/dist/esm/analytics/types/insert-events.js +12 -12
- package/dist/esm/analytics/types/list-events.js +12 -12
- package/dist/esm/analytics/types/node-events.js +6 -6
- package/dist/esm/analytics/types/substitute-events.js +6 -6
- package/dist/esm/analytics/types/table-events.js +10 -9
- package/dist/esm/analytics/types/toolbar-button.js +3 -3
- package/dist/esm/analytics/types/utils.js +6 -6
- package/dist/esm/extensions/default-extension-provider.js +55 -62
- package/dist/esm/extensions/extension-fields-helpers.js +83 -94
- package/dist/esm/extensions/extension-handlers.js +50 -55
- package/dist/esm/extensions/manifest-helpers.js +13 -16
- package/dist/esm/extensions/module-helpers.js +50 -57
- package/dist/esm/i18n/cs.js +36 -2
- package/dist/esm/i18n/da.js +36 -2
- package/dist/esm/i18n/de.js +37 -3
- package/dist/esm/i18n/en.js +36 -2
- package/dist/esm/i18n/en_GB.js +36 -2
- package/dist/esm/i18n/en_ZZ.js +18 -2
- package/dist/esm/i18n/es.js +36 -2
- package/dist/esm/i18n/fi.js +36 -2
- package/dist/esm/i18n/fr.js +36 -2
- package/dist/esm/i18n/hu.js +36 -2
- package/dist/esm/i18n/it.js +36 -2
- package/dist/esm/i18n/ja.js +36 -2
- package/dist/esm/i18n/ko.js +36 -2
- package/dist/esm/i18n/nb.js +36 -2
- package/dist/esm/i18n/nl.js +36 -2
- package/dist/esm/i18n/pl.js +36 -2
- package/dist/esm/i18n/pt_BR.js +36 -2
- package/dist/esm/i18n/ru.js +36 -2
- package/dist/esm/i18n/sv.js +36 -2
- package/dist/esm/i18n/th.js +36 -2
- package/dist/esm/i18n/tr.js +36 -2
- package/dist/esm/i18n/uk.js +36 -2
- package/dist/esm/i18n/vi.js +36 -2
- package/dist/esm/i18n/zh.js +36 -2
- package/dist/esm/i18n/zh_TW.js +36 -2
- package/dist/esm/preset/plugin-injection-api.js +1 -1
- package/dist/esm/provider-helpers/combine-providers.js +63 -72
- package/dist/esm/provider-helpers/promise-helpers.js +3 -3
- package/dist/esm/selection/gap-cursor/selection.js +3 -3
- package/dist/esm/selection/types.js +3 -3
- package/dist/esm/styles/shared/lists.js +3 -3
- package/dist/esm/type-ahead/index.js +6 -6
- package/dist/esm/types/annotation/emitter.js +3 -3
- package/dist/esm/types/index.js +3 -3
- package/dist/esm/types/toolbar.js +9 -9
- package/dist/esm/ufo/experience-store.js +3 -3
- package/dist/esm/ui/DropList/index.js +2 -2
- package/dist/esm/ui/Layer/index.js +1 -2
- package/dist/esm/ui/OverflowShadow/shadowObserver.js +3 -3
- package/dist/esm/ui/Popup/index.js +3 -4
- package/dist/esm/ui-menu/ArrowKeyNavigationProvider/ColorPaletteArrowKeyNavigationProvider/index.js +10 -5
- package/dist/esm/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.js +8 -4
- package/dist/esm/ui-menu/ArrowKeyNavigationProvider/index.js +19 -7
- package/dist/esm/ui-menu/ArrowKeyNavigationProvider/types.js +3 -3
- package/dist/esm/utils/analytics.js +3 -3
- package/dist/esm/utils/browser-extensions.js +1 -1
- package/dist/esm/utils/compareNodes.js +5 -5
- package/dist/esm/utils/date.js +3 -3
- package/dist/esm/utils/list.js +3 -0
- package/dist/esm/utils/nodes.js +15 -14
- package/dist/esm/utils/referentiality.js +1 -1
- package/dist/esm/utils/unsupportedContent/get-unsupported-content-level-data.js +3 -3
- package/dist/esm/version.json +1 -1
- package/dist/esm/with-plugin-state/index.js +3 -4
- package/dist/types/collab/types.d.ts +0 -1
- package/dist/types/i18n/cs.d.ts +35 -2
- package/dist/types/i18n/da.d.ts +35 -2
- package/dist/types/i18n/de.d.ts +35 -2
- package/dist/types/i18n/en.d.ts +35 -2
- package/dist/types/i18n/en_GB.d.ts +35 -2
- package/dist/types/i18n/en_ZZ.d.ts +17 -2
- package/dist/types/i18n/es.d.ts +35 -2
- package/dist/types/i18n/fi.d.ts +35 -2
- package/dist/types/i18n/fr.d.ts +35 -2
- package/dist/types/i18n/hu.d.ts +35 -2
- package/dist/types/i18n/it.d.ts +35 -2
- package/dist/types/i18n/ja.d.ts +35 -2
- package/dist/types/i18n/ko.d.ts +35 -2
- package/dist/types/i18n/nb.d.ts +35 -2
- package/dist/types/i18n/nl.d.ts +35 -2
- package/dist/types/i18n/pl.d.ts +35 -2
- package/dist/types/i18n/pt_BR.d.ts +35 -2
- package/dist/types/i18n/ru.d.ts +35 -2
- package/dist/types/i18n/sv.d.ts +35 -2
- package/dist/types/i18n/th.d.ts +35 -2
- package/dist/types/i18n/tr.d.ts +35 -2
- package/dist/types/i18n/uk.d.ts +35 -2
- package/dist/types/i18n/vi.d.ts +35 -2
- package/dist/types/i18n/zh.d.ts +35 -2
- package/dist/types/i18n/zh_TW.d.ts +35 -2
- package/dist/types/ui-menu/ArrowKeyNavigationProvider/types.d.ts +4 -1
- package/package.json +6 -6
package/dist/types/i18n/tr.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
'fabric.editor.action': string;
|
|
3
3
|
'fabric.editor.action.description': string;
|
|
4
|
+
'fabric.editor.addMediaFiles': string;
|
|
4
5
|
'fabric.editor.alignImageCenter': string;
|
|
5
6
|
'fabric.editor.alignImageLeft': string;
|
|
6
7
|
'fabric.editor.alignImageRight': string;
|
|
@@ -10,6 +11,8 @@ declare const _default: {
|
|
|
10
11
|
'fabric.editor.codeBidiWarningLabel': string;
|
|
11
12
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
12
13
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
14
|
+
'fabric.editor.codeBlockWrapButton.unwrapCodeBlock': string;
|
|
15
|
+
'fabric.editor.codeBlockWrapButton.wrapCodeBlock': string;
|
|
13
16
|
'fabric.editor.collapseNode': string;
|
|
14
17
|
'fabric.editor.columns': string;
|
|
15
18
|
'fabric.editor.columns.description': string;
|
|
@@ -29,8 +32,6 @@ declare const _default: {
|
|
|
29
32
|
'fabric.editor.expandPlaceholder': string;
|
|
30
33
|
'fabric.editor.feedbackDialog': string;
|
|
31
34
|
'fabric.editor.feedbackDialog.description': string;
|
|
32
|
-
'fabric.editor.filesAndImages': string;
|
|
33
|
-
'fabric.editor.filesAndImages.description': string;
|
|
34
35
|
'fabric.editor.help': string;
|
|
35
36
|
'fabric.editor.help.description': string;
|
|
36
37
|
'fabric.editor.horizontalRule': string;
|
|
@@ -42,6 +43,8 @@ declare const _default: {
|
|
|
42
43
|
'fabric.editor.layoutWide': string;
|
|
43
44
|
'fabric.editor.link': string;
|
|
44
45
|
'fabric.editor.link.description': string;
|
|
46
|
+
'fabric.editor.mediaFiles': string;
|
|
47
|
+
'fabric.editor.mediaFiles.description': string;
|
|
45
48
|
'fabric.editor.mention': string;
|
|
46
49
|
'fabric.editor.mention.description': string;
|
|
47
50
|
'fabric.editor.openLink': string;
|
|
@@ -69,12 +72,32 @@ declare const _default: {
|
|
|
69
72
|
'fabric.editor.viewMore': string;
|
|
70
73
|
'fabric.editor.visit': string;
|
|
71
74
|
'fabric.theme.blue': string;
|
|
75
|
+
'fabric.theme.bold-blue': string;
|
|
76
|
+
'fabric.theme.bold-gray': string;
|
|
77
|
+
'fabric.theme.bold-green': string;
|
|
78
|
+
'fabric.theme.bold-magenta': string;
|
|
79
|
+
'fabric.theme.bold-orange': string;
|
|
80
|
+
'fabric.theme.bold-purple': string;
|
|
81
|
+
'fabric.theme.bold-red': string;
|
|
82
|
+
'fabric.theme.bold-teal': string;
|
|
83
|
+
'fabric.theme.bold-yellow': string;
|
|
84
|
+
'fabric.theme.bolder-blue': string;
|
|
85
|
+
'fabric.theme.bolder-gray': string;
|
|
86
|
+
'fabric.theme.bolder-green': string;
|
|
87
|
+
'fabric.theme.bolder-magenta': string;
|
|
88
|
+
'fabric.theme.bolder-orange': string;
|
|
89
|
+
'fabric.theme.bolder-purple': string;
|
|
90
|
+
'fabric.theme.bolder-red': string;
|
|
91
|
+
'fabric.theme.bolder-teal': string;
|
|
92
|
+
'fabric.theme.bolder-yellow': string;
|
|
72
93
|
'fabric.theme.dark-blue': string;
|
|
94
|
+
'fabric.theme.dark-gray': string;
|
|
73
95
|
'fabric.theme.dark-green': string;
|
|
74
96
|
'fabric.theme.dark-purple': string;
|
|
75
97
|
'fabric.theme.dark-red': string;
|
|
76
98
|
'fabric.theme.dark-teal': string;
|
|
77
99
|
'fabric.theme.dark-yellow': string;
|
|
100
|
+
'fabric.theme.default': string;
|
|
78
101
|
'fabric.theme.gray': string;
|
|
79
102
|
'fabric.theme.green': string;
|
|
80
103
|
'fabric.theme.light-blue': string;
|
|
@@ -84,9 +107,19 @@ declare const _default: {
|
|
|
84
107
|
'fabric.theme.light-red': string;
|
|
85
108
|
'fabric.theme.light-teal': string;
|
|
86
109
|
'fabric.theme.light-yellow': string;
|
|
110
|
+
'fabric.theme.magenta': string;
|
|
87
111
|
'fabric.theme.orange': string;
|
|
88
112
|
'fabric.theme.purple': string;
|
|
89
113
|
'fabric.theme.red': string;
|
|
114
|
+
'fabric.theme.subtle-blue': string;
|
|
115
|
+
'fabric.theme.subtle-gray': string;
|
|
116
|
+
'fabric.theme.subtle-green': string;
|
|
117
|
+
'fabric.theme.subtle-magenta': string;
|
|
118
|
+
'fabric.theme.subtle-orange': string;
|
|
119
|
+
'fabric.theme.subtle-purple': string;
|
|
120
|
+
'fabric.theme.subtle-red': string;
|
|
121
|
+
'fabric.theme.subtle-teal': string;
|
|
122
|
+
'fabric.theme.subtle-yellow': string;
|
|
90
123
|
'fabric.theme.teal': string;
|
|
91
124
|
'fabric.theme.white': string;
|
|
92
125
|
'fabric.theme.yellow': string;
|
package/dist/types/i18n/uk.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
'fabric.editor.action': string;
|
|
3
3
|
'fabric.editor.action.description': string;
|
|
4
|
+
'fabric.editor.addMediaFiles': string;
|
|
4
5
|
'fabric.editor.alignImageCenter': string;
|
|
5
6
|
'fabric.editor.alignImageLeft': string;
|
|
6
7
|
'fabric.editor.alignImageRight': string;
|
|
@@ -10,6 +11,8 @@ declare const _default: {
|
|
|
10
11
|
'fabric.editor.codeBidiWarningLabel': string;
|
|
11
12
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
12
13
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
14
|
+
'fabric.editor.codeBlockWrapButton.unwrapCodeBlock': string;
|
|
15
|
+
'fabric.editor.codeBlockWrapButton.wrapCodeBlock': string;
|
|
13
16
|
'fabric.editor.collapseNode': string;
|
|
14
17
|
'fabric.editor.columns': string;
|
|
15
18
|
'fabric.editor.columns.description': string;
|
|
@@ -29,8 +32,6 @@ declare const _default: {
|
|
|
29
32
|
'fabric.editor.expandPlaceholder': string;
|
|
30
33
|
'fabric.editor.feedbackDialog': string;
|
|
31
34
|
'fabric.editor.feedbackDialog.description': string;
|
|
32
|
-
'fabric.editor.filesAndImages': string;
|
|
33
|
-
'fabric.editor.filesAndImages.description': string;
|
|
34
35
|
'fabric.editor.help': string;
|
|
35
36
|
'fabric.editor.help.description': string;
|
|
36
37
|
'fabric.editor.horizontalRule': string;
|
|
@@ -42,6 +43,8 @@ declare const _default: {
|
|
|
42
43
|
'fabric.editor.layoutWide': string;
|
|
43
44
|
'fabric.editor.link': string;
|
|
44
45
|
'fabric.editor.link.description': string;
|
|
46
|
+
'fabric.editor.mediaFiles': string;
|
|
47
|
+
'fabric.editor.mediaFiles.description': string;
|
|
45
48
|
'fabric.editor.mention': string;
|
|
46
49
|
'fabric.editor.mention.description': string;
|
|
47
50
|
'fabric.editor.openLink': string;
|
|
@@ -69,12 +72,32 @@ declare const _default: {
|
|
|
69
72
|
'fabric.editor.viewMore': string;
|
|
70
73
|
'fabric.editor.visit': string;
|
|
71
74
|
'fabric.theme.blue': string;
|
|
75
|
+
'fabric.theme.bold-blue': string;
|
|
76
|
+
'fabric.theme.bold-gray': string;
|
|
77
|
+
'fabric.theme.bold-green': string;
|
|
78
|
+
'fabric.theme.bold-magenta': string;
|
|
79
|
+
'fabric.theme.bold-orange': string;
|
|
80
|
+
'fabric.theme.bold-purple': string;
|
|
81
|
+
'fabric.theme.bold-red': string;
|
|
82
|
+
'fabric.theme.bold-teal': string;
|
|
83
|
+
'fabric.theme.bold-yellow': string;
|
|
84
|
+
'fabric.theme.bolder-blue': string;
|
|
85
|
+
'fabric.theme.bolder-gray': string;
|
|
86
|
+
'fabric.theme.bolder-green': string;
|
|
87
|
+
'fabric.theme.bolder-magenta': string;
|
|
88
|
+
'fabric.theme.bolder-orange': string;
|
|
89
|
+
'fabric.theme.bolder-purple': string;
|
|
90
|
+
'fabric.theme.bolder-red': string;
|
|
91
|
+
'fabric.theme.bolder-teal': string;
|
|
92
|
+
'fabric.theme.bolder-yellow': string;
|
|
72
93
|
'fabric.theme.dark-blue': string;
|
|
94
|
+
'fabric.theme.dark-gray': string;
|
|
73
95
|
'fabric.theme.dark-green': string;
|
|
74
96
|
'fabric.theme.dark-purple': string;
|
|
75
97
|
'fabric.theme.dark-red': string;
|
|
76
98
|
'fabric.theme.dark-teal': string;
|
|
77
99
|
'fabric.theme.dark-yellow': string;
|
|
100
|
+
'fabric.theme.default': string;
|
|
78
101
|
'fabric.theme.gray': string;
|
|
79
102
|
'fabric.theme.green': string;
|
|
80
103
|
'fabric.theme.light-blue': string;
|
|
@@ -84,9 +107,19 @@ declare const _default: {
|
|
|
84
107
|
'fabric.theme.light-red': string;
|
|
85
108
|
'fabric.theme.light-teal': string;
|
|
86
109
|
'fabric.theme.light-yellow': string;
|
|
110
|
+
'fabric.theme.magenta': string;
|
|
87
111
|
'fabric.theme.orange': string;
|
|
88
112
|
'fabric.theme.purple': string;
|
|
89
113
|
'fabric.theme.red': string;
|
|
114
|
+
'fabric.theme.subtle-blue': string;
|
|
115
|
+
'fabric.theme.subtle-gray': string;
|
|
116
|
+
'fabric.theme.subtle-green': string;
|
|
117
|
+
'fabric.theme.subtle-magenta': string;
|
|
118
|
+
'fabric.theme.subtle-orange': string;
|
|
119
|
+
'fabric.theme.subtle-purple': string;
|
|
120
|
+
'fabric.theme.subtle-red': string;
|
|
121
|
+
'fabric.theme.subtle-teal': string;
|
|
122
|
+
'fabric.theme.subtle-yellow': string;
|
|
90
123
|
'fabric.theme.teal': string;
|
|
91
124
|
'fabric.theme.white': string;
|
|
92
125
|
'fabric.theme.yellow': string;
|
package/dist/types/i18n/vi.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
'fabric.editor.action': string;
|
|
3
3
|
'fabric.editor.action.description': string;
|
|
4
|
+
'fabric.editor.addMediaFiles': string;
|
|
4
5
|
'fabric.editor.alignImageCenter': string;
|
|
5
6
|
'fabric.editor.alignImageLeft': string;
|
|
6
7
|
'fabric.editor.alignImageRight': string;
|
|
@@ -10,6 +11,8 @@ declare const _default: {
|
|
|
10
11
|
'fabric.editor.codeBidiWarningLabel': string;
|
|
11
12
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
12
13
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
14
|
+
'fabric.editor.codeBlockWrapButton.unwrapCodeBlock': string;
|
|
15
|
+
'fabric.editor.codeBlockWrapButton.wrapCodeBlock': string;
|
|
13
16
|
'fabric.editor.collapseNode': string;
|
|
14
17
|
'fabric.editor.columns': string;
|
|
15
18
|
'fabric.editor.columns.description': string;
|
|
@@ -29,8 +32,6 @@ declare const _default: {
|
|
|
29
32
|
'fabric.editor.expandPlaceholder': string;
|
|
30
33
|
'fabric.editor.feedbackDialog': string;
|
|
31
34
|
'fabric.editor.feedbackDialog.description': string;
|
|
32
|
-
'fabric.editor.filesAndImages': string;
|
|
33
|
-
'fabric.editor.filesAndImages.description': string;
|
|
34
35
|
'fabric.editor.help': string;
|
|
35
36
|
'fabric.editor.help.description': string;
|
|
36
37
|
'fabric.editor.horizontalRule': string;
|
|
@@ -42,6 +43,8 @@ declare const _default: {
|
|
|
42
43
|
'fabric.editor.layoutWide': string;
|
|
43
44
|
'fabric.editor.link': string;
|
|
44
45
|
'fabric.editor.link.description': string;
|
|
46
|
+
'fabric.editor.mediaFiles': string;
|
|
47
|
+
'fabric.editor.mediaFiles.description': string;
|
|
45
48
|
'fabric.editor.mention': string;
|
|
46
49
|
'fabric.editor.mention.description': string;
|
|
47
50
|
'fabric.editor.openLink': string;
|
|
@@ -69,12 +72,32 @@ declare const _default: {
|
|
|
69
72
|
'fabric.editor.viewMore': string;
|
|
70
73
|
'fabric.editor.visit': string;
|
|
71
74
|
'fabric.theme.blue': string;
|
|
75
|
+
'fabric.theme.bold-blue': string;
|
|
76
|
+
'fabric.theme.bold-gray': string;
|
|
77
|
+
'fabric.theme.bold-green': string;
|
|
78
|
+
'fabric.theme.bold-magenta': string;
|
|
79
|
+
'fabric.theme.bold-orange': string;
|
|
80
|
+
'fabric.theme.bold-purple': string;
|
|
81
|
+
'fabric.theme.bold-red': string;
|
|
82
|
+
'fabric.theme.bold-teal': string;
|
|
83
|
+
'fabric.theme.bold-yellow': string;
|
|
84
|
+
'fabric.theme.bolder-blue': string;
|
|
85
|
+
'fabric.theme.bolder-gray': string;
|
|
86
|
+
'fabric.theme.bolder-green': string;
|
|
87
|
+
'fabric.theme.bolder-magenta': string;
|
|
88
|
+
'fabric.theme.bolder-orange': string;
|
|
89
|
+
'fabric.theme.bolder-purple': string;
|
|
90
|
+
'fabric.theme.bolder-red': string;
|
|
91
|
+
'fabric.theme.bolder-teal': string;
|
|
92
|
+
'fabric.theme.bolder-yellow': string;
|
|
72
93
|
'fabric.theme.dark-blue': string;
|
|
94
|
+
'fabric.theme.dark-gray': string;
|
|
73
95
|
'fabric.theme.dark-green': string;
|
|
74
96
|
'fabric.theme.dark-purple': string;
|
|
75
97
|
'fabric.theme.dark-red': string;
|
|
76
98
|
'fabric.theme.dark-teal': string;
|
|
77
99
|
'fabric.theme.dark-yellow': string;
|
|
100
|
+
'fabric.theme.default': string;
|
|
78
101
|
'fabric.theme.gray': string;
|
|
79
102
|
'fabric.theme.green': string;
|
|
80
103
|
'fabric.theme.light-blue': string;
|
|
@@ -84,9 +107,19 @@ declare const _default: {
|
|
|
84
107
|
'fabric.theme.light-red': string;
|
|
85
108
|
'fabric.theme.light-teal': string;
|
|
86
109
|
'fabric.theme.light-yellow': string;
|
|
110
|
+
'fabric.theme.magenta': string;
|
|
87
111
|
'fabric.theme.orange': string;
|
|
88
112
|
'fabric.theme.purple': string;
|
|
89
113
|
'fabric.theme.red': string;
|
|
114
|
+
'fabric.theme.subtle-blue': string;
|
|
115
|
+
'fabric.theme.subtle-gray': string;
|
|
116
|
+
'fabric.theme.subtle-green': string;
|
|
117
|
+
'fabric.theme.subtle-magenta': string;
|
|
118
|
+
'fabric.theme.subtle-orange': string;
|
|
119
|
+
'fabric.theme.subtle-purple': string;
|
|
120
|
+
'fabric.theme.subtle-red': string;
|
|
121
|
+
'fabric.theme.subtle-teal': string;
|
|
122
|
+
'fabric.theme.subtle-yellow': string;
|
|
90
123
|
'fabric.theme.teal': string;
|
|
91
124
|
'fabric.theme.white': string;
|
|
92
125
|
'fabric.theme.yellow': string;
|
package/dist/types/i18n/zh.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
'fabric.editor.action': string;
|
|
3
3
|
'fabric.editor.action.description': string;
|
|
4
|
+
'fabric.editor.addMediaFiles': string;
|
|
4
5
|
'fabric.editor.alignImageCenter': string;
|
|
5
6
|
'fabric.editor.alignImageLeft': string;
|
|
6
7
|
'fabric.editor.alignImageRight': string;
|
|
@@ -10,6 +11,8 @@ declare const _default: {
|
|
|
10
11
|
'fabric.editor.codeBidiWarningLabel': string;
|
|
11
12
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
12
13
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
14
|
+
'fabric.editor.codeBlockWrapButton.unwrapCodeBlock': string;
|
|
15
|
+
'fabric.editor.codeBlockWrapButton.wrapCodeBlock': string;
|
|
13
16
|
'fabric.editor.collapseNode': string;
|
|
14
17
|
'fabric.editor.columns': string;
|
|
15
18
|
'fabric.editor.columns.description': string;
|
|
@@ -29,8 +32,6 @@ declare const _default: {
|
|
|
29
32
|
'fabric.editor.expandPlaceholder': string;
|
|
30
33
|
'fabric.editor.feedbackDialog': string;
|
|
31
34
|
'fabric.editor.feedbackDialog.description': string;
|
|
32
|
-
'fabric.editor.filesAndImages': string;
|
|
33
|
-
'fabric.editor.filesAndImages.description': string;
|
|
34
35
|
'fabric.editor.help': string;
|
|
35
36
|
'fabric.editor.help.description': string;
|
|
36
37
|
'fabric.editor.horizontalRule': string;
|
|
@@ -42,6 +43,8 @@ declare const _default: {
|
|
|
42
43
|
'fabric.editor.layoutWide': string;
|
|
43
44
|
'fabric.editor.link': string;
|
|
44
45
|
'fabric.editor.link.description': string;
|
|
46
|
+
'fabric.editor.mediaFiles': string;
|
|
47
|
+
'fabric.editor.mediaFiles.description': string;
|
|
45
48
|
'fabric.editor.mention': string;
|
|
46
49
|
'fabric.editor.mention.description': string;
|
|
47
50
|
'fabric.editor.openLink': string;
|
|
@@ -69,12 +72,32 @@ declare const _default: {
|
|
|
69
72
|
'fabric.editor.viewMore': string;
|
|
70
73
|
'fabric.editor.visit': string;
|
|
71
74
|
'fabric.theme.blue': string;
|
|
75
|
+
'fabric.theme.bold-blue': string;
|
|
76
|
+
'fabric.theme.bold-gray': string;
|
|
77
|
+
'fabric.theme.bold-green': string;
|
|
78
|
+
'fabric.theme.bold-magenta': string;
|
|
79
|
+
'fabric.theme.bold-orange': string;
|
|
80
|
+
'fabric.theme.bold-purple': string;
|
|
81
|
+
'fabric.theme.bold-red': string;
|
|
82
|
+
'fabric.theme.bold-teal': string;
|
|
83
|
+
'fabric.theme.bold-yellow': string;
|
|
84
|
+
'fabric.theme.bolder-blue': string;
|
|
85
|
+
'fabric.theme.bolder-gray': string;
|
|
86
|
+
'fabric.theme.bolder-green': string;
|
|
87
|
+
'fabric.theme.bolder-magenta': string;
|
|
88
|
+
'fabric.theme.bolder-orange': string;
|
|
89
|
+
'fabric.theme.bolder-purple': string;
|
|
90
|
+
'fabric.theme.bolder-red': string;
|
|
91
|
+
'fabric.theme.bolder-teal': string;
|
|
92
|
+
'fabric.theme.bolder-yellow': string;
|
|
72
93
|
'fabric.theme.dark-blue': string;
|
|
94
|
+
'fabric.theme.dark-gray': string;
|
|
73
95
|
'fabric.theme.dark-green': string;
|
|
74
96
|
'fabric.theme.dark-purple': string;
|
|
75
97
|
'fabric.theme.dark-red': string;
|
|
76
98
|
'fabric.theme.dark-teal': string;
|
|
77
99
|
'fabric.theme.dark-yellow': string;
|
|
100
|
+
'fabric.theme.default': string;
|
|
78
101
|
'fabric.theme.gray': string;
|
|
79
102
|
'fabric.theme.green': string;
|
|
80
103
|
'fabric.theme.light-blue': string;
|
|
@@ -84,9 +107,19 @@ declare const _default: {
|
|
|
84
107
|
'fabric.theme.light-red': string;
|
|
85
108
|
'fabric.theme.light-teal': string;
|
|
86
109
|
'fabric.theme.light-yellow': string;
|
|
110
|
+
'fabric.theme.magenta': string;
|
|
87
111
|
'fabric.theme.orange': string;
|
|
88
112
|
'fabric.theme.purple': string;
|
|
89
113
|
'fabric.theme.red': string;
|
|
114
|
+
'fabric.theme.subtle-blue': string;
|
|
115
|
+
'fabric.theme.subtle-gray': string;
|
|
116
|
+
'fabric.theme.subtle-green': string;
|
|
117
|
+
'fabric.theme.subtle-magenta': string;
|
|
118
|
+
'fabric.theme.subtle-orange': string;
|
|
119
|
+
'fabric.theme.subtle-purple': string;
|
|
120
|
+
'fabric.theme.subtle-red': string;
|
|
121
|
+
'fabric.theme.subtle-teal': string;
|
|
122
|
+
'fabric.theme.subtle-yellow': string;
|
|
90
123
|
'fabric.theme.teal': string;
|
|
91
124
|
'fabric.theme.white': string;
|
|
92
125
|
'fabric.theme.yellow': string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
'fabric.editor.action': string;
|
|
3
3
|
'fabric.editor.action.description': string;
|
|
4
|
+
'fabric.editor.addMediaFiles': string;
|
|
4
5
|
'fabric.editor.alignImageCenter': string;
|
|
5
6
|
'fabric.editor.alignImageLeft': string;
|
|
6
7
|
'fabric.editor.alignImageRight': string;
|
|
@@ -10,6 +11,8 @@ declare const _default: {
|
|
|
10
11
|
'fabric.editor.codeBidiWarningLabel': string;
|
|
11
12
|
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
12
13
|
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
14
|
+
'fabric.editor.codeBlockWrapButton.unwrapCodeBlock': string;
|
|
15
|
+
'fabric.editor.codeBlockWrapButton.wrapCodeBlock': string;
|
|
13
16
|
'fabric.editor.collapseNode': string;
|
|
14
17
|
'fabric.editor.columns': string;
|
|
15
18
|
'fabric.editor.columns.description': string;
|
|
@@ -29,8 +32,6 @@ declare const _default: {
|
|
|
29
32
|
'fabric.editor.expandPlaceholder': string;
|
|
30
33
|
'fabric.editor.feedbackDialog': string;
|
|
31
34
|
'fabric.editor.feedbackDialog.description': string;
|
|
32
|
-
'fabric.editor.filesAndImages': string;
|
|
33
|
-
'fabric.editor.filesAndImages.description': string;
|
|
34
35
|
'fabric.editor.help': string;
|
|
35
36
|
'fabric.editor.help.description': string;
|
|
36
37
|
'fabric.editor.horizontalRule': string;
|
|
@@ -42,6 +43,8 @@ declare const _default: {
|
|
|
42
43
|
'fabric.editor.layoutWide': string;
|
|
43
44
|
'fabric.editor.link': string;
|
|
44
45
|
'fabric.editor.link.description': string;
|
|
46
|
+
'fabric.editor.mediaFiles': string;
|
|
47
|
+
'fabric.editor.mediaFiles.description': string;
|
|
45
48
|
'fabric.editor.mention': string;
|
|
46
49
|
'fabric.editor.mention.description': string;
|
|
47
50
|
'fabric.editor.openLink': string;
|
|
@@ -69,12 +72,32 @@ declare const _default: {
|
|
|
69
72
|
'fabric.editor.viewMore': string;
|
|
70
73
|
'fabric.editor.visit': string;
|
|
71
74
|
'fabric.theme.blue': string;
|
|
75
|
+
'fabric.theme.bold-blue': string;
|
|
76
|
+
'fabric.theme.bold-gray': string;
|
|
77
|
+
'fabric.theme.bold-green': string;
|
|
78
|
+
'fabric.theme.bold-magenta': string;
|
|
79
|
+
'fabric.theme.bold-orange': string;
|
|
80
|
+
'fabric.theme.bold-purple': string;
|
|
81
|
+
'fabric.theme.bold-red': string;
|
|
82
|
+
'fabric.theme.bold-teal': string;
|
|
83
|
+
'fabric.theme.bold-yellow': string;
|
|
84
|
+
'fabric.theme.bolder-blue': string;
|
|
85
|
+
'fabric.theme.bolder-gray': string;
|
|
86
|
+
'fabric.theme.bolder-green': string;
|
|
87
|
+
'fabric.theme.bolder-magenta': string;
|
|
88
|
+
'fabric.theme.bolder-orange': string;
|
|
89
|
+
'fabric.theme.bolder-purple': string;
|
|
90
|
+
'fabric.theme.bolder-red': string;
|
|
91
|
+
'fabric.theme.bolder-teal': string;
|
|
92
|
+
'fabric.theme.bolder-yellow': string;
|
|
72
93
|
'fabric.theme.dark-blue': string;
|
|
94
|
+
'fabric.theme.dark-gray': string;
|
|
73
95
|
'fabric.theme.dark-green': string;
|
|
74
96
|
'fabric.theme.dark-purple': string;
|
|
75
97
|
'fabric.theme.dark-red': string;
|
|
76
98
|
'fabric.theme.dark-teal': string;
|
|
77
99
|
'fabric.theme.dark-yellow': string;
|
|
100
|
+
'fabric.theme.default': string;
|
|
78
101
|
'fabric.theme.gray': string;
|
|
79
102
|
'fabric.theme.green': string;
|
|
80
103
|
'fabric.theme.light-blue': string;
|
|
@@ -84,9 +107,19 @@ declare const _default: {
|
|
|
84
107
|
'fabric.theme.light-red': string;
|
|
85
108
|
'fabric.theme.light-teal': string;
|
|
86
109
|
'fabric.theme.light-yellow': string;
|
|
110
|
+
'fabric.theme.magenta': string;
|
|
87
111
|
'fabric.theme.orange': string;
|
|
88
112
|
'fabric.theme.purple': string;
|
|
89
113
|
'fabric.theme.red': string;
|
|
114
|
+
'fabric.theme.subtle-blue': string;
|
|
115
|
+
'fabric.theme.subtle-gray': string;
|
|
116
|
+
'fabric.theme.subtle-green': string;
|
|
117
|
+
'fabric.theme.subtle-magenta': string;
|
|
118
|
+
'fabric.theme.subtle-orange': string;
|
|
119
|
+
'fabric.theme.subtle-purple': string;
|
|
120
|
+
'fabric.theme.subtle-red': string;
|
|
121
|
+
'fabric.theme.subtle-teal': string;
|
|
122
|
+
'fabric.theme.subtle-yellow': string;
|
|
90
123
|
'fabric.theme.teal': string;
|
|
91
124
|
'fabric.theme.white': string;
|
|
92
125
|
'fabric.theme.yellow': string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export interface KeyDownHandlerContext {
|
|
2
3
|
handleArrowRight: () => void;
|
|
3
4
|
handleArrowLeft: () => void;
|
|
@@ -18,6 +19,7 @@ export declare type ColorPaletteArrowKeyNavigationOptions = {
|
|
|
18
19
|
export declare type ColorPaletteArrowKeyNavigationProps = ColorPaletteArrowKeyNavigationOptions & {
|
|
19
20
|
handleClose?: SimpleEventHandler<KeyboardEvent>;
|
|
20
21
|
closeOnTab?: boolean;
|
|
22
|
+
editorRef: React.RefObject<HTMLDivElement>;
|
|
21
23
|
};
|
|
22
24
|
export declare type MenuArrowKeyNavigationOptions = {
|
|
23
25
|
type: ArrowKeyNavigationType.MENU;
|
|
@@ -28,6 +30,7 @@ export declare type MenuArrowKeyNavigationProviderProps = MenuArrowKeyNavigation
|
|
|
28
30
|
handleClose?: SimpleEventHandler<KeyboardEvent>;
|
|
29
31
|
onSelection?: (index: number) => void;
|
|
30
32
|
closeOnTab?: boolean;
|
|
33
|
+
editorRef: React.RefObject<HTMLDivElement>;
|
|
31
34
|
};
|
|
32
35
|
export declare type ArrowKeyNavigationProviderOptions = ColorPaletteArrowKeyNavigationOptions | MenuArrowKeyNavigationOptions;
|
|
33
|
-
export declare type ArrowKeyNavigationProviderProps = ColorPaletteArrowKeyNavigationProps | MenuArrowKeyNavigationProviderProps
|
|
36
|
+
export declare type ArrowKeyNavigationProviderProps = Omit<ColorPaletteArrowKeyNavigationProps, 'editorRef'> | Omit<MenuArrowKeyNavigationProviderProps, 'editorRef'>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "73.0.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/"
|
|
@@ -75,12 +75,12 @@
|
|
|
75
75
|
"@atlaskit/icon": "^21.11.0",
|
|
76
76
|
"@atlaskit/in-product-testing": "^0.1.0",
|
|
77
77
|
"@atlaskit/media-card": "^74.7.0",
|
|
78
|
-
"@atlaskit/media-client": "^21.
|
|
79
|
-
"@atlaskit/media-picker": "^64.
|
|
78
|
+
"@atlaskit/media-client": "^21.1.0",
|
|
79
|
+
"@atlaskit/media-picker": "^64.4.0",
|
|
80
80
|
"@atlaskit/mention": "^22.0.0",
|
|
81
81
|
"@atlaskit/menu": "^1.5.0",
|
|
82
82
|
"@atlaskit/profilecard": "^19.2.0",
|
|
83
|
-
"@atlaskit/smart-card": "^25.
|
|
83
|
+
"@atlaskit/smart-card": "^25.9.0",
|
|
84
84
|
"@atlaskit/smart-user-picker": "^6.0.0",
|
|
85
85
|
"@atlaskit/task-decision": "^17.5.0",
|
|
86
86
|
"@atlaskit/theme": "^12.4.0",
|
|
@@ -117,9 +117,9 @@
|
|
|
117
117
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
118
118
|
},
|
|
119
119
|
"devDependencies": {
|
|
120
|
-
"@atlaskit/editor-core": "^182.
|
|
120
|
+
"@atlaskit/editor-core": "^182.2.0",
|
|
121
121
|
"@atlaskit/editor-json-transformer": "^8.8.0",
|
|
122
|
-
"@atlaskit/editor-plugin-feature-flags": "^0.0.
|
|
122
|
+
"@atlaskit/editor-plugin-feature-flags": "^0.0.4",
|
|
123
123
|
"@atlaskit/editor-plugin-table": "^1.2.0",
|
|
124
124
|
"@atlaskit/editor-test-helpers": "^18.2.0",
|
|
125
125
|
"@atlaskit/media-core": "^34.0.0",
|