@atlaskit/editor-presets 9.0.1 → 9.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
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-presets
|
|
2
2
|
|
|
3
|
+
## 9.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`40071c3a1e51d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/40071c3a1e51d) -
|
|
8
|
+
Add the interactivity plugin package and register it in the Confluence full page presets behind
|
|
9
|
+
the platform_editor_editor_interactivity experiment. The plugin is a stub for now — it collects
|
|
10
|
+
nothing.
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 9.0.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -57,6 +57,7 @@ var _editorPluginHyperlink = require("@atlaskit/editor-plugin-hyperlink");
|
|
|
57
57
|
var _editorPluginIndentation = require("@atlaskit/editor-plugin-indentation");
|
|
58
58
|
var _editorPluginInsertBlock = require("@atlaskit/editor-plugin-insert-block");
|
|
59
59
|
var _editorPluginInteraction = require("@atlaskit/editor-plugin-interaction");
|
|
60
|
+
var _editorPluginInteractivity = require("@atlaskit/editor-plugin-interactivity");
|
|
60
61
|
var _editorPluginLayout = require("@atlaskit/editor-plugin-layout");
|
|
61
62
|
var _editorPluginLimitedMode = require("@atlaskit/editor-plugin-limited-mode");
|
|
62
63
|
var _editorPluginList = require("@atlaskit/editor-plugin-list");
|
|
@@ -98,6 +99,7 @@ var _editorPluginUnsupportedContent = require("@atlaskit/editor-plugin-unsupport
|
|
|
98
99
|
var _editorPluginUserIntent = require("@atlaskit/editor-plugin-user-intent");
|
|
99
100
|
var _editorPluginUserPreferences = require("@atlaskit/editor-plugin-user-preferences");
|
|
100
101
|
var _editorPluginWidth = require("@atlaskit/editor-plugin-width");
|
|
102
|
+
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
101
103
|
var _unsafeExpValNoExposure = require("@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure");
|
|
102
104
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
103
105
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
@@ -312,7 +314,7 @@ function confluenceFullPageBasePreset(props) {
|
|
|
312
314
|
rightSideControlsEnabled: (0, _platformFeatureFlags.fg)('confluence_remix_button_right_side_block_fg') && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-maui-experiment', 'isEnabled', true)
|
|
313
315
|
}]).add(_editorPluginHighlight.highlightPlugin).maybeAdd(_editorPluginConnectivity.connectivityPlugin, enabledOptionalPlugins.connectivity).maybeAdd([_editorPluginMetrics.metricsPlugin, (0, _metricsPluginOptions.metricsPluginOptions)({
|
|
314
316
|
options: pluginOptions.metrics
|
|
315
|
-
})], enabledOptionalPlugins.metrics).add([_editorPluginContentFormat.contentFormatPlugin, (0, _contentFormatPluginOptions.contentFormatPluginOptions)({
|
|
317
|
+
})], enabledOptionalPlugins.metrics).maybeAdd(_editorPluginInteractivity.interactivityPlugin, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_editor_interactivity')).add([_editorPluginContentFormat.contentFormatPlugin, (0, _contentFormatPluginOptions.contentFormatPluginOptions)({
|
|
316
318
|
options: pluginOptions.contentFormat
|
|
317
319
|
})]).maybeAdd([_editorPluginCodeBlockAdvanced.codeBlockAdvancedPlugin, (0, _codeBlockAdvancedPluginOptions.codeBlockAdvancedPluginOptions)({
|
|
318
320
|
options: pluginOptions.codeBlockAdvanced
|
|
@@ -51,6 +51,7 @@ import { hyperlinkPlugin } from '@atlaskit/editor-plugin-hyperlink';
|
|
|
51
51
|
import { indentationPlugin } from '@atlaskit/editor-plugin-indentation';
|
|
52
52
|
import { insertBlockPlugin } from '@atlaskit/editor-plugin-insert-block';
|
|
53
53
|
import { interactionPlugin } from '@atlaskit/editor-plugin-interaction';
|
|
54
|
+
import { interactivityPlugin } from '@atlaskit/editor-plugin-interactivity';
|
|
54
55
|
import { layoutPlugin } from '@atlaskit/editor-plugin-layout';
|
|
55
56
|
import { limitedModePlugin } from '@atlaskit/editor-plugin-limited-mode';
|
|
56
57
|
import { listPlugin } from '@atlaskit/editor-plugin-list';
|
|
@@ -92,6 +93,7 @@ import { unsupportedContentPlugin } from '@atlaskit/editor-plugin-unsupported-co
|
|
|
92
93
|
import { userIntentPlugin } from '@atlaskit/editor-plugin-user-intent';
|
|
93
94
|
import { userPreferencesPlugin } from '@atlaskit/editor-plugin-user-preferences';
|
|
94
95
|
import { widthPlugin } from '@atlaskit/editor-plugin-width';
|
|
96
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
95
97
|
import { UNSAFE_expValNoExposure } from '@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure';
|
|
96
98
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
97
99
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -308,7 +310,7 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
308
310
|
rightSideControlsEnabled: fg('confluence_remix_button_right_side_block_fg') && expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true)
|
|
309
311
|
}]).add(highlightPlugin).maybeAdd(connectivityPlugin, enabledOptionalPlugins.connectivity).maybeAdd([metricsPlugin, metricsPluginOptions({
|
|
310
312
|
options: pluginOptions.metrics
|
|
311
|
-
})], enabledOptionalPlugins.metrics).add([contentFormatPlugin, contentFormatPluginOptions({
|
|
313
|
+
})], enabledOptionalPlugins.metrics).maybeAdd(interactivityPlugin, isExperimentEnabled('platform_editor_editor_interactivity')).add([contentFormatPlugin, contentFormatPluginOptions({
|
|
312
314
|
options: pluginOptions.contentFormat
|
|
313
315
|
})]).maybeAdd([codeBlockAdvancedPlugin, codeBlockAdvancedPluginOptions({
|
|
314
316
|
options: pluginOptions.codeBlockAdvanced
|
|
@@ -51,6 +51,7 @@ import { hyperlinkPlugin } from '@atlaskit/editor-plugin-hyperlink';
|
|
|
51
51
|
import { indentationPlugin } from '@atlaskit/editor-plugin-indentation';
|
|
52
52
|
import { insertBlockPlugin } from '@atlaskit/editor-plugin-insert-block';
|
|
53
53
|
import { interactionPlugin } from '@atlaskit/editor-plugin-interaction';
|
|
54
|
+
import { interactivityPlugin } from '@atlaskit/editor-plugin-interactivity';
|
|
54
55
|
import { layoutPlugin } from '@atlaskit/editor-plugin-layout';
|
|
55
56
|
import { limitedModePlugin } from '@atlaskit/editor-plugin-limited-mode';
|
|
56
57
|
import { listPlugin } from '@atlaskit/editor-plugin-list';
|
|
@@ -92,6 +93,7 @@ import { unsupportedContentPlugin } from '@atlaskit/editor-plugin-unsupported-co
|
|
|
92
93
|
import { userIntentPlugin } from '@atlaskit/editor-plugin-user-intent';
|
|
93
94
|
import { userPreferencesPlugin } from '@atlaskit/editor-plugin-user-preferences';
|
|
94
95
|
import { widthPlugin } from '@atlaskit/editor-plugin-width';
|
|
96
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
95
97
|
import { UNSAFE_expValNoExposure } from '@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure';
|
|
96
98
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
97
99
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -306,7 +308,7 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
306
308
|
rightSideControlsEnabled: fg('confluence_remix_button_right_side_block_fg') && expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true)
|
|
307
309
|
}]).add(highlightPlugin).maybeAdd(connectivityPlugin, enabledOptionalPlugins.connectivity).maybeAdd([metricsPlugin, metricsPluginOptions({
|
|
308
310
|
options: pluginOptions.metrics
|
|
309
|
-
})], enabledOptionalPlugins.metrics).add([contentFormatPlugin, contentFormatPluginOptions({
|
|
311
|
+
})], enabledOptionalPlugins.metrics).maybeAdd(interactivityPlugin, isExperimentEnabled('platform_editor_editor_interactivity')).add([contentFormatPlugin, contentFormatPluginOptions({
|
|
310
312
|
options: pluginOptions.contentFormat
|
|
311
313
|
})]).maybeAdd([codeBlockAdvancedPlugin, codeBlockAdvancedPluginOptions({
|
|
312
314
|
options: pluginOptions.codeBlockAdvanced
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-presets",
|
|
3
|
-
"version": "9.0
|
|
3
|
+
"version": "9.1.0",
|
|
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": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@atlaskit/editor-plugin-block-type": "^19.0.0",
|
|
35
35
|
"@atlaskit/editor-plugin-border": "^15.0.0",
|
|
36
36
|
"@atlaskit/editor-plugin-breakout": "^15.0.0",
|
|
37
|
-
"@atlaskit/editor-plugin-caption": "^15.
|
|
37
|
+
"@atlaskit/editor-plugin-caption": "^15.1.0",
|
|
38
38
|
"@atlaskit/editor-plugin-card": "^21.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-clear-marks-on-empty-doc": "^15.0.0",
|
|
40
40
|
"@atlaskit/editor-plugin-clipboard": "^15.0.0",
|
|
@@ -73,6 +73,7 @@
|
|
|
73
73
|
"@atlaskit/editor-plugin-indentation": "^15.0.0",
|
|
74
74
|
"@atlaskit/editor-plugin-insert-block": "^16.0.0",
|
|
75
75
|
"@atlaskit/editor-plugin-interaction": "^26.0.0",
|
|
76
|
+
"@atlaskit/editor-plugin-interactivity": "^0.1.0",
|
|
76
77
|
"@atlaskit/editor-plugin-layout": "^16.0.0",
|
|
77
78
|
"@atlaskit/editor-plugin-limited-mode": "^12.0.0",
|
|
78
79
|
"@atlaskit/editor-plugin-list": "^17.0.0",
|
|
@@ -116,13 +117,13 @@
|
|
|
116
117
|
"@atlaskit/editor-plugin-width": "^16.0.0",
|
|
117
118
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
118
119
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
119
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
120
|
+
"@atlaskit/tmp-editor-statsig": "^148.0.0",
|
|
120
121
|
"@atlassian/ari": "^2.596.0",
|
|
121
122
|
"@atlassian/editor-plugin-agent-managed-extension": "^5.0.0",
|
|
122
123
|
"@babel/runtime": "^7.0.0"
|
|
123
124
|
},
|
|
124
125
|
"peerDependencies": {
|
|
125
|
-
"@atlaskit/editor-common": "^119.
|
|
126
|
+
"@atlaskit/editor-common": "^119.5.0",
|
|
126
127
|
"react": "^18.2.0 || ^19.2.0",
|
|
127
128
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
128
129
|
},
|