@atlaskit/editor-presets 9.1.12 → 9.1.13

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,15 @@
1
1
  # @atlaskit/editor-presets
2
2
 
3
+ ## 9.1.13
4
+
5
+ ### Patch Changes
6
+
7
+ - [`656801b9e097c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/656801b9e097c) -
8
+ VOLTC-331 - Migrate updated package usage in platform/editor: rewrite barrel imports of
9
+ voltCompliant provider packages to deep/subpath imports (consumer-side debarrel). No public API
10
+ changes.
11
+ - Updated dependencies
12
+
3
13
  ## 9.1.12
4
14
 
5
15
  ### 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 _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
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, _platformFeatureFlags.fg)('confluence_remix_button_right_side_block_fg') && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-maui-experiment', 'isEnabled', true)
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 _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
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, _platformFeatureFlags.fg)('platform_editor_ai_object_sidebar_injection') ? {
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 _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
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, _platformFeatureFlags.fg)('platform_editor_ai_aifc_streaming');
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, _platformFeatureFlags.fg)('platform_editor_ai_aifc_streaming'),
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,4 +1,4 @@
1
- import { fg } from '@atlaskit/platform-feature-flags';
1
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
2
2
  export function contextPanelPluginOptions({
3
3
  options
4
4
  }) {
@@ -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,4 +1,4 @@
1
- import { fg } from '@atlaskit/platform-feature-flags';
1
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
2
2
  export function contextPanelPluginOptions(_ref) {
3
3
  var options = _ref.options;
4
4
  if (!options) {
@@ -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.12",
3
+ "version": "9.1.13",
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": {