@atlaskit/editor-presets 3.1.2 → 3.2.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 +21 -0
- package/dist/cjs/confluence-full-page-base/index.js +3 -3
- package/dist/cjs/confluence-full-page-base/pluginOptions/cardPluginOptions.js +1 -0
- package/dist/es2019/confluence-full-page-base/index.js +3 -3
- package/dist/es2019/confluence-full-page-base/pluginOptions/cardPluginOptions.js +1 -0
- package/dist/esm/confluence-full-page-base/index.js +3 -3
- package/dist/esm/confluence-full-page-base/pluginOptions/cardPluginOptions.js +1 -0
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @atlaskit/editor-presets
|
|
2
2
|
|
|
3
|
+
## 3.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`6403e27aa3327`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6403e27aa3327) -
|
|
8
|
+
Add the experimental table row menu structure, keyboard shortcut hints, and shared table menu
|
|
9
|
+
items. Expose table row menu icons through editor-toolbar. Ensure the UI control registry is
|
|
10
|
+
available before table row menu items are registered.
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 3.2.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- [`edd5d6d4c23ec`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/edd5d6d4c23ec) -
|
|
18
|
+
Add SSR streaming supporting to Editor starmt cards and extensions
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
|
|
3
24
|
## 3.1.2
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
|
@@ -206,7 +206,7 @@ function confluenceFullPageBasePreset(props) {
|
|
|
206
206
|
options: pluginOptions.typeAhead
|
|
207
207
|
})]).add(_editorPluginHistory.historyPlugin).add([_editorPluginPrimaryToolbar.primaryToolbarPlugin, (0, _primaryToolbarPluginOptions.primaryToolbarPluginOptions)({
|
|
208
208
|
options: pluginOptions.primaryToolbar
|
|
209
|
-
})]).maybeAdd([_editorPluginToolbar.toolbarPlugin, (0, _toolbarPluginOptions.toolbarPluginOptions)({
|
|
209
|
+
})]).maybeAdd(_editorPluginUiControlRegistry.uiControlRegistryPlugin, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_table_menu_updates', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_layout_column_menu', 'isEnabled', true)).maybeAdd([_editorPluginToolbar.toolbarPlugin, (0, _toolbarPluginOptions.toolbarPluginOptions)({
|
|
210
210
|
options: pluginOptions.toolbar
|
|
211
211
|
})], Boolean(enabledOptionalPlugins.toolbar)).maybeAdd([_editorPluginBlockMenu.blockMenuPlugin, (0, _blockMenuPluginOptions.blockMenuPluginOptions)({
|
|
212
212
|
options: pluginOptions.blockMenu
|
|
@@ -278,7 +278,7 @@ function confluenceFullPageBasePreset(props) {
|
|
|
278
278
|
options: pluginOptions.date
|
|
279
279
|
})]).add([_editorPluginPlaceholderText.placeholderTextPlugin, (0, _placeholderTextPluginOptions.placeholderTextPluginOptions)({
|
|
280
280
|
options: pluginOptions.placeholderText
|
|
281
|
-
})]).
|
|
281
|
+
})]).add([_editorPluginLayout.layoutPlugin, (0, _layoutPluginOptions.layoutPluginOptions)({
|
|
282
282
|
options: pluginOptions.layout
|
|
283
283
|
})]).add([_editorPluginCard.cardPlugin, (0, _cardPluginOptions.cardPluginOptions)({
|
|
284
284
|
options: pluginOptions.card,
|
|
@@ -302,7 +302,7 @@ function confluenceFullPageBasePreset(props) {
|
|
|
302
302
|
usePopupBasedPasteActionsMenu: false
|
|
303
303
|
}]).maybeAdd(
|
|
304
304
|
// @ts-expect-error - Preserve paste registry order; mutually exclusive with layout insertion.
|
|
305
|
-
_editorPluginUiControlRegistry.uiControlRegistryPlugin, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_paste_actions_menu', 'isEnabled', true) && !(0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_layout_column_menu', 'isEnabled', true)).maybeAdd([_editorPluginCodeBidiWarning.codeBidiWarningPlugin, (0, _codeBidiWarningPluginOptions.codeBidiWarningPluginOptions)({
|
|
305
|
+
_editorPluginUiControlRegistry.uiControlRegistryPlugin, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_paste_actions_menu', 'isEnabled', true) && !((0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_layout_column_menu', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_table_menu_updates', 'isEnabled', true))).maybeAdd([_editorPluginCodeBidiWarning.codeBidiWarningPlugin, (0, _codeBidiWarningPluginOptions.codeBidiWarningPluginOptions)({
|
|
306
306
|
options: pluginOptions.codeBidiWarning
|
|
307
307
|
})], !(0, _expValEquals.expValEquals)('platform_editor_remove_bidi_char_warning', 'isEnabled', true)).maybeAdd([_editorPluginLoom.loomPlugin, (0, _loomPluginOptions.loomPluginOptions)({
|
|
308
308
|
options: pluginOptions.loom
|
|
@@ -11,6 +11,7 @@ var _coreUtils = require("@atlaskit/editor-common/core-utils");
|
|
|
11
11
|
* (only supports Cloud single-issue URLs right now)
|
|
12
12
|
*/
|
|
13
13
|
var SMART_LINKS_BEFORE_MACROS = 'jira,jiraroadmap,google-drive-sheets,google-drive-docs,OneDrive,google-drive-slides'.split(',');
|
|
14
|
+
|
|
14
15
|
// END SECTION
|
|
15
16
|
|
|
16
17
|
/**
|
|
@@ -202,7 +202,7 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
202
202
|
options: pluginOptions.typeAhead
|
|
203
203
|
})]).add(historyPlugin).add([primaryToolbarPlugin, primaryToolbarPluginOptions({
|
|
204
204
|
options: pluginOptions.primaryToolbar
|
|
205
|
-
})]).maybeAdd([toolbarPlugin, toolbarPluginOptions({
|
|
205
|
+
})]).maybeAdd(uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true)).maybeAdd([toolbarPlugin, toolbarPluginOptions({
|
|
206
206
|
options: pluginOptions.toolbar
|
|
207
207
|
})], Boolean(enabledOptionalPlugins.toolbar)).maybeAdd([blockMenuPlugin, blockMenuPluginOptions({
|
|
208
208
|
options: pluginOptions.blockMenu
|
|
@@ -274,7 +274,7 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
274
274
|
options: pluginOptions.date
|
|
275
275
|
})]).add([placeholderTextPlugin, placeholderTextPluginOptions({
|
|
276
276
|
options: pluginOptions.placeholderText
|
|
277
|
-
})]).
|
|
277
|
+
})]).add([layoutPlugin, layoutPluginOptions({
|
|
278
278
|
options: pluginOptions.layout
|
|
279
279
|
})]).add([cardPlugin, cardPluginOptions({
|
|
280
280
|
options: pluginOptions.card,
|
|
@@ -298,7 +298,7 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
298
298
|
usePopupBasedPasteActionsMenu: false
|
|
299
299
|
}]).maybeAdd(
|
|
300
300
|
// @ts-expect-error - Preserve paste registry order; mutually exclusive with layout insertion.
|
|
301
|
-
uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_paste_actions_menu', 'isEnabled', true) && !expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true)).maybeAdd([codeBidiWarningPlugin, codeBidiWarningPluginOptions({
|
|
301
|
+
uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_paste_actions_menu', 'isEnabled', true) && !(expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true))).maybeAdd([codeBidiWarningPlugin, codeBidiWarningPluginOptions({
|
|
302
302
|
options: pluginOptions.codeBidiWarning
|
|
303
303
|
})], !expValEquals('platform_editor_remove_bidi_char_warning', 'isEnabled', true)).maybeAdd([loomPlugin, loomPluginOptions({
|
|
304
304
|
options: pluginOptions.loom
|
|
@@ -5,6 +5,7 @@ import { isSSR } from '@atlaskit/editor-common/core-utils';
|
|
|
5
5
|
* (only supports Cloud single-issue URLs right now)
|
|
6
6
|
*/
|
|
7
7
|
const SMART_LINKS_BEFORE_MACROS = 'jira,jiraroadmap,google-drive-sheets,google-drive-docs,OneDrive,google-drive-slides'.split(',');
|
|
8
|
+
|
|
8
9
|
// END SECTION
|
|
9
10
|
|
|
10
11
|
/**
|
|
@@ -200,7 +200,7 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
200
200
|
options: pluginOptions.typeAhead
|
|
201
201
|
})]).add(historyPlugin).add([primaryToolbarPlugin, primaryToolbarPluginOptions({
|
|
202
202
|
options: pluginOptions.primaryToolbar
|
|
203
|
-
})]).maybeAdd([toolbarPlugin, toolbarPluginOptions({
|
|
203
|
+
})]).maybeAdd(uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true)).maybeAdd([toolbarPlugin, toolbarPluginOptions({
|
|
204
204
|
options: pluginOptions.toolbar
|
|
205
205
|
})], Boolean(enabledOptionalPlugins.toolbar)).maybeAdd([blockMenuPlugin, blockMenuPluginOptions({
|
|
206
206
|
options: pluginOptions.blockMenu
|
|
@@ -272,7 +272,7 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
272
272
|
options: pluginOptions.date
|
|
273
273
|
})]).add([placeholderTextPlugin, placeholderTextPluginOptions({
|
|
274
274
|
options: pluginOptions.placeholderText
|
|
275
|
-
})]).
|
|
275
|
+
})]).add([layoutPlugin, layoutPluginOptions({
|
|
276
276
|
options: pluginOptions.layout
|
|
277
277
|
})]).add([cardPlugin, cardPluginOptions({
|
|
278
278
|
options: pluginOptions.card,
|
|
@@ -296,7 +296,7 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
296
296
|
usePopupBasedPasteActionsMenu: false
|
|
297
297
|
}]).maybeAdd(
|
|
298
298
|
// @ts-expect-error - Preserve paste registry order; mutually exclusive with layout insertion.
|
|
299
|
-
uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_paste_actions_menu', 'isEnabled', true) && !expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true)).maybeAdd([codeBidiWarningPlugin, codeBidiWarningPluginOptions({
|
|
299
|
+
uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_paste_actions_menu', 'isEnabled', true) && !(expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true))).maybeAdd([codeBidiWarningPlugin, codeBidiWarningPluginOptions({
|
|
300
300
|
options: pluginOptions.codeBidiWarning
|
|
301
301
|
})], !expValEquals('platform_editor_remove_bidi_char_warning', 'isEnabled', true)).maybeAdd([loomPlugin, loomPluginOptions({
|
|
302
302
|
options: pluginOptions.loom
|
|
@@ -5,6 +5,7 @@ import { isSSR } from '@atlaskit/editor-common/core-utils';
|
|
|
5
5
|
* (only supports Cloud single-issue URLs right now)
|
|
6
6
|
*/
|
|
7
7
|
var SMART_LINKS_BEFORE_MACROS = 'jira,jiraroadmap,google-drive-sheets,google-drive-docs,OneDrive,google-drive-slides'.split(',');
|
|
8
|
+
|
|
8
9
|
// END SECTION
|
|
9
10
|
|
|
10
11
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-presets",
|
|
3
|
-
"version": "3.1
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Public editor presets for Atlassian Editor containing base configurations for Confluence and other products",
|
|
6
6
|
"publishConfig": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@atlaskit/editor-plugin-border": "^10.0.0",
|
|
44
44
|
"@atlaskit/editor-plugin-breakout": "^10.1.0",
|
|
45
45
|
"@atlaskit/editor-plugin-caption": "^10.0.0",
|
|
46
|
-
"@atlaskit/editor-plugin-card": "^16.
|
|
46
|
+
"@atlaskit/editor-plugin-card": "^16.7.0",
|
|
47
47
|
"@atlaskit/editor-plugin-clear-marks-on-empty-doc": "^10.0.0",
|
|
48
48
|
"@atlaskit/editor-plugin-clipboard": "^10.0.0",
|
|
49
49
|
"@atlaskit/editor-plugin-code-bidi-warning": "^10.0.0",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@atlaskit/editor-plugin-editor-viewmode-effects": "^10.0.0",
|
|
67
67
|
"@atlaskit/editor-plugin-emoji": "^11.0.0",
|
|
68
68
|
"@atlaskit/editor-plugin-expand": "^11.1.0",
|
|
69
|
-
"@atlaskit/editor-plugin-extension": "^13.
|
|
69
|
+
"@atlaskit/editor-plugin-extension": "^13.3.0",
|
|
70
70
|
"@atlaskit/editor-plugin-feature-flags": "^9.0.0",
|
|
71
71
|
"@atlaskit/editor-plugin-find-replace": "^10.1.0",
|
|
72
72
|
"@atlaskit/editor-plugin-floating-toolbar": "^12.0.0",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"@atlaskit/editor-plugin-placeholder": "^10.1.0",
|
|
97
97
|
"@atlaskit/editor-plugin-placeholder-text": "^11.0.0",
|
|
98
98
|
"@atlaskit/editor-plugin-primary-toolbar": "^11.0.0",
|
|
99
|
-
"@atlaskit/editor-plugin-quick-insert": "^10.
|
|
99
|
+
"@atlaskit/editor-plugin-quick-insert": "^10.3.0",
|
|
100
100
|
"@atlaskit/editor-plugin-rule": "^10.0.0",
|
|
101
101
|
"@atlaskit/editor-plugin-scroll-into-view": "^10.1.0",
|
|
102
102
|
"@atlaskit/editor-plugin-selection": "^10.0.0",
|
|
@@ -107,11 +107,11 @@
|
|
|
107
107
|
"@atlaskit/editor-plugin-status": "^11.0.0",
|
|
108
108
|
"@atlaskit/editor-plugin-submit-editor": "^10.0.0",
|
|
109
109
|
"@atlaskit/editor-plugin-synced-block": "^8.2.0",
|
|
110
|
-
"@atlaskit/editor-plugin-table": "^22.
|
|
110
|
+
"@atlaskit/editor-plugin-table": "^22.3.0",
|
|
111
111
|
"@atlaskit/editor-plugin-tasks-and-decisions": "^13.1.0",
|
|
112
112
|
"@atlaskit/editor-plugin-text-color": "^10.0.0",
|
|
113
113
|
"@atlaskit/editor-plugin-text-formatting": "^10.0.0",
|
|
114
|
-
"@atlaskit/editor-plugin-toolbar": "^7.
|
|
114
|
+
"@atlaskit/editor-plugin-toolbar": "^7.2.0",
|
|
115
115
|
"@atlaskit/editor-plugin-toolbar-lists-indentation": "^11.0.0",
|
|
116
116
|
"@atlaskit/editor-plugin-track-changes": "^9.0.0",
|
|
117
117
|
"@atlaskit/editor-plugin-type-ahead": "^10.0.0",
|
|
@@ -123,12 +123,12 @@
|
|
|
123
123
|
"@atlaskit/editor-plugin-user-preferences": "^8.1.0",
|
|
124
124
|
"@atlaskit/editor-plugin-width": "^11.0.0",
|
|
125
125
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
126
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
126
|
+
"@atlaskit/tmp-editor-statsig": "^80.0.0",
|
|
127
127
|
"@atlassian/editor-plugin-agent-managed-extension": "^0.1.0",
|
|
128
128
|
"@babel/runtime": "^7.0.0"
|
|
129
129
|
},
|
|
130
130
|
"peerDependencies": {
|
|
131
|
-
"@atlaskit/editor-common": "^114.
|
|
131
|
+
"@atlaskit/editor-common": "^114.30.0",
|
|
132
132
|
"react": "^18.2.0",
|
|
133
133
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
134
134
|
},
|