@atlaskit/editor-presets 9.1.12 → 9.1.14
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 +16 -0
- package/dist/cjs/confluence-full-page-base/index.js +2 -2
- package/dist/cjs/confluence-full-page-base/pluginOptions/contextPanelPluginOptions.js +2 -2
- package/dist/cjs/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.js +3 -3
- package/dist/es2019/confluence-full-page-base/index.js +1 -1
- package/dist/es2019/confluence-full-page-base/pluginOptions/contextPanelPluginOptions.js +1 -1
- package/dist/es2019/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.js +1 -1
- package/dist/esm/confluence-full-page-base/index.js +1 -1
- package/dist/esm/confluence-full-page-base/pluginOptions/contextPanelPluginOptions.js +1 -1
- package/dist/esm/confluence-full-page-base/pluginOptions/placeholderPluginOptions/placeholderPluginOptions.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-presets
|
|
2
2
|
|
|
3
|
+
## 9.1.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 9.1.13
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`656801b9e097c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/656801b9e097c) -
|
|
14
|
+
VOLTC-331 - Migrate updated package usage in platform/editor: rewrite barrel imports of
|
|
15
|
+
voltCompliant provider packages to deep/subpath imports (consumer-side debarrel). No public API
|
|
16
|
+
changes.
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 9.1.12
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -100,7 +100,7 @@ var _editorPluginUserPreferences = require("@atlaskit/editor-plugin-user-prefere
|
|
|
100
100
|
var _editorPluginWidth = require("@atlaskit/editor-plugin-width");
|
|
101
101
|
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
102
102
|
var _unsafeExpValNoExposure = require("@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure");
|
|
103
|
-
var
|
|
103
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
104
104
|
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
105
105
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
106
106
|
var _editorPluginAgentManagedExtension = require("@atlassian/editor-plugin-agent-managed-extension");
|
|
@@ -306,7 +306,7 @@ function confluenceFullPageBasePreset(props) {
|
|
|
306
306
|
})]).add(_editorPluginEditorViewmodeEffects.editorViewModeEffectsPlugin).add([_editorPluginSelectionMarker.selectionMarkerPlugin, (0, _selectionMarkerPluginOptions.selectionMarkerPluginOptions)({
|
|
307
307
|
options: pluginOptions.selectionMarker
|
|
308
308
|
})]).add([_editorPluginBlockControls.blockControlsPlugin, {
|
|
309
|
-
rightSideControlsEnabled: (0,
|
|
309
|
+
rightSideControlsEnabled: (0, _fg.fg)('confluence_remix_button_right_side_block_fg') && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-maui-experiment', 'isEnabled', true)
|
|
310
310
|
}]).add(_editorPluginHighlight.highlightPlugin).maybeAdd(_editorPluginConnectivity.connectivityPlugin, enabledOptionalPlugins.connectivity).maybeAdd([_editorPluginMetrics.metricsPlugin, (0, _metricsPluginOptions.metricsPluginOptions)({
|
|
311
311
|
options: pluginOptions.metrics
|
|
312
312
|
})], enabledOptionalPlugins.metrics).maybeAdd(_editorPluginInteractivity.interactivityPlugin, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_editor_interactivity')).add([_editorPluginContentFormat.contentFormatPlugin, (0, _contentFormatPluginOptions.contentFormatPluginOptions)({
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.contextPanelPluginOptions = contextPanelPluginOptions;
|
|
7
|
-
var
|
|
7
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
8
8
|
function contextPanelPluginOptions(_ref) {
|
|
9
9
|
var options = _ref.options;
|
|
10
10
|
if (!options) {
|
|
@@ -13,7 +13,7 @@ function contextPanelPluginOptions(_ref) {
|
|
|
13
13
|
return (
|
|
14
14
|
// SECTION: From confluence/next/packages/editor-presets/src/full-page/useFullPageEditorPreset.ts
|
|
15
15
|
// If object-sidebar is not enabled, then we don't need to pass the contextPanelOptions
|
|
16
|
-
(0,
|
|
16
|
+
(0, _fg.fg)('platform_editor_ai_object_sidebar_injection') ? {
|
|
17
17
|
objectSideBar: options.objectSideBar
|
|
18
18
|
} : undefined
|
|
19
19
|
// END SECTION
|
|
@@ -5,14 +5,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.placeholderPluginOptions = placeholderPluginOptions;
|
|
7
7
|
var _createAdfFromHtml = require("@atlaskit/editor-common/utils/create-adf-from-html");
|
|
8
|
-
var
|
|
8
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
9
9
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
10
10
|
var _i18n = require("./i18n");
|
|
11
11
|
function placeholderPluginOptions(_ref) {
|
|
12
12
|
var _options$enableLoadin;
|
|
13
13
|
var intl = _ref.intl,
|
|
14
14
|
options = _ref.options;
|
|
15
|
-
var shouldShowSpaceShortcut = options.isAIEnabled && (0,
|
|
15
|
+
var shouldShowSpaceShortcut = options.isAIEnabled && (0, _fg.fg)('platform_editor_ai_aifc_streaming');
|
|
16
16
|
var placeholder = function () {
|
|
17
17
|
// SECTION: From confluence/next/packages/full-page-editor/src/FullPageEditorComponent.tsx `const placeholderText = `
|
|
18
18
|
if (options.viewMode === 'view') {
|
|
@@ -52,7 +52,7 @@ function placeholderPluginOptions(_ref) {
|
|
|
52
52
|
placeholder: placeholder,
|
|
53
53
|
placeholderADF: placeholderADF,
|
|
54
54
|
isPlaceholderHidden: options.isPlaceholderHidden,
|
|
55
|
-
withEmptyParagraph: (0,
|
|
55
|
+
withEmptyParagraph: (0, _fg.fg)('platform_editor_ai_aifc_streaming'),
|
|
56
56
|
isRovoLLMEnabled: options.isRovoLLMEnabled,
|
|
57
57
|
enableLoadingSpinner: (_options$enableLoadin = options.enableLoadingSpinner) !== null && _options$enableLoadin !== void 0 ? _options$enableLoadin : true
|
|
58
58
|
};
|
|
@@ -94,7 +94,7 @@ import { userPreferencesPlugin } from '@atlaskit/editor-plugin-user-preferences'
|
|
|
94
94
|
import { widthPlugin } from '@atlaskit/editor-plugin-width';
|
|
95
95
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
96
96
|
import { UNSAFE_expValNoExposure } from '@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure';
|
|
97
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
97
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
98
98
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
99
99
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
100
100
|
import { agentManagedExtensionPlugin } from '@atlassian/editor-plugin-agent-managed-extension';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createADFFromHTML } from '@atlaskit/editor-common/utils/create-adf-from-html';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
3
3
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
4
4
|
import { i18n } from './i18n';
|
|
5
5
|
export function placeholderPluginOptions({
|
|
@@ -94,7 +94,7 @@ import { userPreferencesPlugin } from '@atlaskit/editor-plugin-user-preferences'
|
|
|
94
94
|
import { widthPlugin } from '@atlaskit/editor-plugin-width';
|
|
95
95
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
96
96
|
import { UNSAFE_expValNoExposure } from '@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure';
|
|
97
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
97
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
98
98
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
99
99
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
100
100
|
import { agentManagedExtensionPlugin } from '@atlassian/editor-plugin-agent-managed-extension';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createADFFromHTML } from '@atlaskit/editor-common/utils/create-adf-from-html';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
3
3
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
4
4
|
import { i18n } from './i18n';
|
|
5
5
|
export function placeholderPluginOptions(_ref) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-presets",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.14",
|
|
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,7 +116,7 @@
|
|
|
116
116
|
"@atlaskit/editor-plugin-width": "^16.0.0",
|
|
117
117
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
118
118
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
119
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
119
|
+
"@atlaskit/tmp-editor-statsig": "^160.0.0",
|
|
120
120
|
"@atlassian/ari": "^2.596.0",
|
|
121
121
|
"@atlassian/editor-plugin-agent-managed-extension": "^5.0.0",
|
|
122
122
|
"@babel/runtime": "^7.0.0"
|