@atlaskit/editor-presets 13.0.0 → 13.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,19 @@
1
1
  # @atlaskit/editor-presets
2
2
 
3
+ ## 13.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 13.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [`8d37dc7e55d62`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8d37dc7e55d62) -
14
+ Clean up shipped experiment `platform_editor_block_menu`
15
+ - Updated dependencies
16
+
3
17
  ## 13.0.0
4
18
 
5
19
  ### Patch Changes
@@ -102,7 +102,6 @@ var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-ex
102
102
  var _unsafeExpValNoExposure = require("@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure");
103
103
  var _fg = require("@atlaskit/platform-feature-flags/fg");
104
104
  var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
105
- var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
106
105
  var _editorPluginAgentManagedExtension = require("@atlassian/editor-plugin-agent-managed-extension");
107
106
  var _agentManagedExtensionPluginOptions = require("./pluginOptions/agentManagedExtensionPluginOptions");
108
107
  var _analyticsPluginOptions = require("./pluginOptions/analyticsPluginOptions");
@@ -204,9 +203,9 @@ function confluenceFullPageBasePreset(props) {
204
203
  options: pluginOptions.primaryToolbar
205
204
  })]).maybeAdd(_editorPluginUiControlRegistry.uiControlRegistryPlugin, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_table_menu_updates', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_layout_column_menu', 'isEnabled', true) || (0, _unsafeExpValNoExposure.UNSAFE_expValNoExposure)('platform_editor_slash_command', 'isEnabled', false) || (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_block_control_migration')).maybeAdd([_editorPluginToolbar.toolbarPlugin, (0, _toolbarPluginOptions.toolbarPluginOptions)({
206
205
  options: pluginOptions.toolbar
207
- })], Boolean(enabledOptionalPlugins.toolbar)).maybeAdd([_editorPluginBlockMenu.blockMenuPlugin, (0, _blockMenuPluginOptions.blockMenuPluginOptions)({
206
+ })], Boolean(enabledOptionalPlugins.toolbar)).add([_editorPluginBlockMenu.blockMenuPlugin, (0, _blockMenuPluginOptions.blockMenuPluginOptions)({
208
207
  options: pluginOptions.blockMenu
209
- })], (0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true)).add(_editorPluginUndoRedo.undoRedoPlugin).add([_editorPluginBlockType.blockTypePlugin, (0, _blockTypePluginOptions.blockTypePluginOptions)({
208
+ })]).add(_editorPluginUndoRedo.undoRedoPlugin).add([_editorPluginBlockType.blockTypePlugin, (0, _blockTypePluginOptions.blockTypePluginOptions)({
210
209
  options: pluginOptions.blockType
211
210
  })]).add(_editorPluginClearMarksOnEmptyDoc.clearMarksOnEmptyDocPlugin).add([_editorPluginSelectionToolbar.selectionToolbarPlugin, (0, _selectionToolbarPluginOptions.selectionToolbarPluginOptions)({
212
211
  options: pluginOptions.selectionToolbar,
@@ -96,7 +96,6 @@ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-e
96
96
  import { UNSAFE_expValNoExposure } from '@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure';
97
97
  import { fg } from '@atlaskit/platform-feature-flags/fg';
98
98
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
99
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
100
99
  import { agentManagedExtensionPlugin } from '@atlassian/editor-plugin-agent-managed-extension';
101
100
  import { agentManagedExtensionPluginOptions } from './pluginOptions/agentManagedExtensionPluginOptions';
102
101
  import { analyticsPluginOptions } from './pluginOptions/analyticsPluginOptions';
@@ -200,9 +199,9 @@ export function confluenceFullPageBasePreset(props) {
200
199
  options: pluginOptions.primaryToolbar
201
200
  })]).maybeAdd(uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || UNSAFE_expValNoExposure('platform_editor_slash_command', 'isEnabled', false) || isExperimentEnabled('platform_editor_block_control_migration')).maybeAdd([toolbarPlugin, toolbarPluginOptions({
202
201
  options: pluginOptions.toolbar
203
- })], Boolean(enabledOptionalPlugins.toolbar)).maybeAdd([blockMenuPlugin, blockMenuPluginOptions({
202
+ })], Boolean(enabledOptionalPlugins.toolbar)).add([blockMenuPlugin, blockMenuPluginOptions({
204
203
  options: pluginOptions.blockMenu
205
- })], editorExperiment('platform_editor_block_menu', true)).add(undoRedoPlugin).add([blockTypePlugin, blockTypePluginOptions({
204
+ })]).add(undoRedoPlugin).add([blockTypePlugin, blockTypePluginOptions({
206
205
  options: pluginOptions.blockType
207
206
  })]).add(clearMarksOnEmptyDocPlugin).add([selectionToolbarPlugin, selectionToolbarPluginOptions({
208
207
  options: pluginOptions.selectionToolbar,
@@ -96,7 +96,6 @@ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-e
96
96
  import { UNSAFE_expValNoExposure } from '@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure';
97
97
  import { fg } from '@atlaskit/platform-feature-flags/fg';
98
98
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
99
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
100
99
  import { agentManagedExtensionPlugin } from '@atlassian/editor-plugin-agent-managed-extension';
101
100
  import { agentManagedExtensionPluginOptions } from './pluginOptions/agentManagedExtensionPluginOptions';
102
101
  import { analyticsPluginOptions } from './pluginOptions/analyticsPluginOptions';
@@ -198,9 +197,9 @@ export function confluenceFullPageBasePreset(props) {
198
197
  options: pluginOptions.primaryToolbar
199
198
  })]).maybeAdd(uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || UNSAFE_expValNoExposure('platform_editor_slash_command', 'isEnabled', false) || isExperimentEnabled('platform_editor_block_control_migration')).maybeAdd([toolbarPlugin, toolbarPluginOptions({
200
199
  options: pluginOptions.toolbar
201
- })], Boolean(enabledOptionalPlugins.toolbar)).maybeAdd([blockMenuPlugin, blockMenuPluginOptions({
200
+ })], Boolean(enabledOptionalPlugins.toolbar)).add([blockMenuPlugin, blockMenuPluginOptions({
202
201
  options: pluginOptions.blockMenu
203
- })], editorExperiment('platform_editor_block_menu', true)).add(undoRedoPlugin).add([blockTypePlugin, blockTypePluginOptions({
202
+ })]).add(undoRedoPlugin).add([blockTypePlugin, blockTypePluginOptions({
204
203
  options: pluginOptions.blockType
205
204
  })]).add(clearMarksOnEmptyDocPlugin).add([selectionToolbarPlugin, selectionToolbarPluginOptions({
206
205
  options: pluginOptions.selectionToolbar,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-presets",
3
- "version": "13.0.0",
3
+ "version": "13.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": {
@@ -40,7 +40,7 @@
40
40
  "@atlaskit/editor-plugin-clipboard": "^19.0.0",
41
41
  "@atlaskit/editor-plugin-code-block": "^21.0.0",
42
42
  "@atlaskit/editor-plugin-code-block-advanced": "^19.0.0",
43
- "@atlaskit/editor-plugin-collab-edit": "^20.0.0",
43
+ "@atlaskit/editor-plugin-collab-edit": "^20.1.0",
44
44
  "@atlaskit/editor-plugin-composition": "^18.0.0",
45
45
  "@atlaskit/editor-plugin-connectivity": "^19.0.0",
46
46
  "@atlaskit/editor-plugin-content-format": "^13.0.0",
@@ -50,7 +50,7 @@
50
50
  "@atlaskit/editor-plugin-copy-button": "^19.0.0",
51
51
  "@atlaskit/editor-plugin-custom-autoformat": "^19.0.0",
52
52
  "@atlaskit/editor-plugin-data-consumer": "^19.0.0",
53
- "@atlaskit/editor-plugin-date": "^21.0.0",
53
+ "@atlaskit/editor-plugin-date": "^21.1.0",
54
54
  "@atlaskit/editor-plugin-decorations": "^19.0.0",
55
55
  "@atlaskit/editor-plugin-editor-disabled": "^19.0.0",
56
56
  "@atlaskit/editor-plugin-editor-viewmode": "^21.0.0",
@@ -60,7 +60,7 @@
60
60
  "@atlaskit/editor-plugin-extension": "^22.0.0",
61
61
  "@atlaskit/editor-plugin-feature-flags": "^18.0.0",
62
62
  "@atlaskit/editor-plugin-find-replace": "^19.0.0",
63
- "@atlaskit/editor-plugin-floating-toolbar": "^21.0.0",
63
+ "@atlaskit/editor-plugin-floating-toolbar": "^21.1.0",
64
64
  "@atlaskit/editor-plugin-focus": "^18.0.0",
65
65
  "@atlaskit/editor-plugin-fragment": "^19.0.0",
66
66
  "@atlaskit/editor-plugin-grid": "^19.0.0",
@@ -95,7 +95,7 @@
95
95
  "@atlaskit/editor-plugin-selection-extension": "^22.0.0",
96
96
  "@atlaskit/editor-plugin-selection-marker": "^19.0.0",
97
97
  "@atlaskit/editor-plugin-selection-toolbar": "^20.0.0",
98
- "@atlaskit/editor-plugin-show-diff": "^17.0.0",
98
+ "@atlaskit/editor-plugin-show-diff": "^17.1.0",
99
99
  "@atlaskit/editor-plugin-status": "^20.0.0",
100
100
  "@atlaskit/editor-plugin-submit-editor": "^19.0.0",
101
101
  "@atlaskit/editor-plugin-synced-block": "^17.0.0",
@@ -116,13 +116,13 @@
116
116
  "@atlaskit/editor-plugin-width": "^20.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": "^199.0.0",
119
+ "@atlaskit/tmp-editor-statsig": "^201.0.0",
120
120
  "@atlassian/ari": "^3.19.0",
121
121
  "@atlassian/editor-plugin-agent-managed-extension": "^9.0.0",
122
122
  "@babel/runtime": "^7.0.0"
123
123
  },
124
124
  "peerDependencies": {
125
- "@atlaskit/editor-common": "^123.0.0",
125
+ "@atlaskit/editor-common": "^123.2.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
  },