@atlaskit/editor-presets 18.0.0 → 18.0.2

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,20 @@
1
1
  # @atlaskit/editor-presets
2
2
 
3
+ ## 18.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 18.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [`5631a646dd1de`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5631a646dd1de) -
14
+ Remove the platform_editor_editor_interactivity experiment; the interactivity plugin is always
15
+ added.
16
+ - Updated dependencies
17
+
3
18
  ## 18.0.0
4
19
 
5
20
  ### Patch Changes
@@ -98,7 +98,6 @@ var _editorPluginUnsupportedContent = require("@atlaskit/editor-plugin-unsupport
98
98
  var _editorPluginUserIntent = require("@atlaskit/editor-plugin-user-intent");
99
99
  var _editorPluginUserPreferences = require("@atlaskit/editor-plugin-user-preferences");
100
100
  var _editorPluginWidth = require("@atlaskit/editor-plugin-width");
101
- var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
102
101
  var _unsafeExpValNoExposure = require("@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure");
103
102
  var _fg = require("@atlaskit/platform-feature-flags/fg");
104
103
  var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
@@ -305,7 +304,7 @@ function confluenceFullPageBasePreset(props) {
305
304
  rightSideControlsEnabled: (0, _fg.fg)('confluence_remix_button_right_side_block_fg') && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-maui-experiment', 'isEnabled', true)
306
305
  }]).add(_editorPluginHighlight.highlightPlugin).maybeAdd(_editorPluginConnectivity.connectivityPlugin, enabledOptionalPlugins.connectivity).maybeAdd([_editorPluginMetrics.metricsPlugin, (0, _metricsPluginOptions.metricsPluginOptions)({
307
306
  options: pluginOptions.metrics
308
- })], enabledOptionalPlugins.metrics).maybeAdd(_editorPluginInteractivity.interactivityPlugin, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_editor_interactivity')).add([_editorPluginContentFormat.contentFormatPlugin, (0, _contentFormatPluginOptions.contentFormatPluginOptions)({
307
+ })], enabledOptionalPlugins.metrics).add(_editorPluginInteractivity.interactivityPlugin).add([_editorPluginContentFormat.contentFormatPlugin, (0, _contentFormatPluginOptions.contentFormatPluginOptions)({
309
308
  options: pluginOptions.contentFormat
310
309
  })]).maybeAdd([_editorPluginCodeBlockAdvanced.codeBlockAdvancedPlugin, (0, _codeBlockAdvancedPluginOptions.codeBlockAdvancedPluginOptions)({
311
310
  options: pluginOptions.codeBlockAdvanced
@@ -92,7 +92,6 @@ import { unsupportedContentPlugin } from '@atlaskit/editor-plugin-unsupported-co
92
92
  import { userIntentPlugin } from '@atlaskit/editor-plugin-user-intent';
93
93
  import { userPreferencesPlugin } from '@atlaskit/editor-plugin-user-preferences';
94
94
  import { widthPlugin } from '@atlaskit/editor-plugin-width';
95
- import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
96
95
  import { UNSAFE_expValNoExposure } from '@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure';
97
96
  import { fg } from '@atlaskit/platform-feature-flags/fg';
98
97
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
@@ -301,7 +300,7 @@ export function confluenceFullPageBasePreset(props) {
301
300
  rightSideControlsEnabled: fg('confluence_remix_button_right_side_block_fg') && expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true)
302
301
  }]).add(highlightPlugin).maybeAdd(connectivityPlugin, enabledOptionalPlugins.connectivity).maybeAdd([metricsPlugin, metricsPluginOptions({
303
302
  options: pluginOptions.metrics
304
- })], enabledOptionalPlugins.metrics).maybeAdd(interactivityPlugin, isExperimentEnabled('platform_editor_editor_interactivity')).add([contentFormatPlugin, contentFormatPluginOptions({
303
+ })], enabledOptionalPlugins.metrics).add(interactivityPlugin).add([contentFormatPlugin, contentFormatPluginOptions({
305
304
  options: pluginOptions.contentFormat
306
305
  })]).maybeAdd([codeBlockAdvancedPlugin, codeBlockAdvancedPluginOptions({
307
306
  options: pluginOptions.codeBlockAdvanced
@@ -92,7 +92,6 @@ import { unsupportedContentPlugin } from '@atlaskit/editor-plugin-unsupported-co
92
92
  import { userIntentPlugin } from '@atlaskit/editor-plugin-user-intent';
93
93
  import { userPreferencesPlugin } from '@atlaskit/editor-plugin-user-preferences';
94
94
  import { widthPlugin } from '@atlaskit/editor-plugin-width';
95
- import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
96
95
  import { UNSAFE_expValNoExposure } from '@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure';
97
96
  import { fg } from '@atlaskit/platform-feature-flags/fg';
98
97
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
@@ -299,7 +298,7 @@ export function confluenceFullPageBasePreset(props) {
299
298
  rightSideControlsEnabled: fg('confluence_remix_button_right_side_block_fg') && expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true)
300
299
  }]).add(highlightPlugin).maybeAdd(connectivityPlugin, enabledOptionalPlugins.connectivity).maybeAdd([metricsPlugin, metricsPluginOptions({
301
300
  options: pluginOptions.metrics
302
- })], enabledOptionalPlugins.metrics).maybeAdd(interactivityPlugin, isExperimentEnabled('platform_editor_editor_interactivity')).add([contentFormatPlugin, contentFormatPluginOptions({
301
+ })], enabledOptionalPlugins.metrics).add(interactivityPlugin).add([contentFormatPlugin, contentFormatPluginOptions({
303
302
  options: pluginOptions.contentFormat
304
303
  })]).maybeAdd([codeBlockAdvancedPlugin, codeBlockAdvancedPluginOptions({
305
304
  options: pluginOptions.codeBlockAdvanced
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-presets",
3
- "version": "18.0.0",
3
+ "version": "18.0.2",
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": {
@@ -116,13 +116,13 @@
116
116
  "@atlaskit/editor-plugin-width": "^25.0.0",
117
117
  "@atlaskit/platform-feature-experiments": "^0.3.0",
118
118
  "@atlaskit/platform-feature-flags": "^2.2.0",
119
- "@atlaskit/tmp-editor-statsig": "^220.0.0",
119
+ "@atlaskit/tmp-editor-statsig": "^221.0.0",
120
120
  "@atlassian/ari": "^3.19.0",
121
121
  "@atlassian/editor-plugin-agent-managed-extension": "^14.0.0",
122
122
  "@babel/runtime": "^7.0.0"
123
123
  },
124
124
  "peerDependencies": {
125
- "@atlaskit/editor-common": "^128.0.0",
125
+ "@atlaskit/editor-common": "^128.1.0",
126
126
  "react": "^18.2.0 || ^19.2.0",
127
127
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
128
128
  },