@atlaskit/editor-presets 5.0.9 → 5.0.11

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,21 @@
1
1
  # @atlaskit/editor-presets
2
2
 
3
+ ## 5.0.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [`a8c135d0b7bfb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a8c135d0b7bfb) -
8
+ Cleanup experiment `confluence_load_editor_title_on_transition`. The placeholder loading spinner
9
+ and the collab-not-ready placeholder skip during transitions are now always enabled, and the
10
+ experiment definition has been removed from the editor statsig config.
11
+ - Updated dependencies
12
+
13
+ ## 5.0.10
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+
3
19
  ## 5.0.9
4
20
 
5
21
  ### Patch Changes
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.placeholderPluginOptions = placeholderPluginOptions;
7
7
  var _createAdfFromHtml = require("@atlaskit/editor-common/utils/create-adf-from-html");
8
8
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
9
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
10
9
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
11
10
  var _i18n = require("./i18n");
12
11
  function placeholderPluginOptions(_ref) {
@@ -55,6 +54,6 @@ function placeholderPluginOptions(_ref) {
55
54
  isPlaceholderHidden: options.isPlaceholderHidden,
56
55
  withEmptyParagraph: (0, _platformFeatureFlags.fg)('platform_editor_ai_aifc_streaming'),
57
56
  isRovoLLMEnabled: options.isRovoLLMEnabled,
58
- enableLoadingSpinner: (_options$enableLoadin = options.enableLoadingSpinner) !== null && _options$enableLoadin !== void 0 ? _options$enableLoadin : (0, _expValEquals.expValEquals)('confluence_load_editor_title_on_transition', 'contentPlaceholder', true)
57
+ enableLoadingSpinner: (_options$enableLoadin = options.enableLoadingSpinner) !== null && _options$enableLoadin !== void 0 ? _options$enableLoadin : true
59
58
  };
60
59
  }
@@ -1,6 +1,5 @@
1
1
  import { createADFFromHTML } from '@atlaskit/editor-common/utils/create-adf-from-html';
2
2
  import { fg } from '@atlaskit/platform-feature-flags';
3
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
4
3
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
5
4
  import { i18n } from './i18n';
6
5
  export function placeholderPluginOptions({
@@ -48,6 +47,6 @@ export function placeholderPluginOptions({
48
47
  isPlaceholderHidden: options.isPlaceholderHidden,
49
48
  withEmptyParagraph: fg('platform_editor_ai_aifc_streaming'),
50
49
  isRovoLLMEnabled: options.isRovoLLMEnabled,
51
- enableLoadingSpinner: (_options$enableLoadin = options.enableLoadingSpinner) !== null && _options$enableLoadin !== void 0 ? _options$enableLoadin : expValEquals('confluence_load_editor_title_on_transition', 'contentPlaceholder', true)
50
+ enableLoadingSpinner: (_options$enableLoadin = options.enableLoadingSpinner) !== null && _options$enableLoadin !== void 0 ? _options$enableLoadin : true
52
51
  };
53
52
  }
@@ -1,6 +1,5 @@
1
1
  import { createADFFromHTML } from '@atlaskit/editor-common/utils/create-adf-from-html';
2
2
  import { fg } from '@atlaskit/platform-feature-flags';
3
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
4
3
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
5
4
  import { i18n } from './i18n';
6
5
  export function placeholderPluginOptions(_ref) {
@@ -49,6 +48,6 @@ export function placeholderPluginOptions(_ref) {
49
48
  isPlaceholderHidden: options.isPlaceholderHidden,
50
49
  withEmptyParagraph: fg('platform_editor_ai_aifc_streaming'),
51
50
  isRovoLLMEnabled: options.isRovoLLMEnabled,
52
- enableLoadingSpinner: (_options$enableLoadin = options.enableLoadingSpinner) !== null && _options$enableLoadin !== void 0 ? _options$enableLoadin : expValEquals('confluence_load_editor_title_on_transition', 'contentPlaceholder', true)
51
+ enableLoadingSpinner: (_options$enableLoadin = options.enableLoadingSpinner) !== null && _options$enableLoadin !== void 0 ? _options$enableLoadin : true
53
52
  };
54
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-presets",
3
- "version": "5.0.9",
3
+ "version": "5.0.11",
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": {
@@ -99,7 +99,7 @@
99
99
  "@atlaskit/editor-plugin-status": "^13.0.0",
100
100
  "@atlaskit/editor-plugin-submit-editor": "^12.0.0",
101
101
  "@atlaskit/editor-plugin-synced-block": "^10.0.0",
102
- "@atlaskit/editor-plugin-table": "^24.2.0",
102
+ "@atlaskit/editor-plugin-table": "^24.3.0",
103
103
  "@atlaskit/editor-plugin-tasks-and-decisions": "^15.1.0",
104
104
  "@atlaskit/editor-plugin-text-color": "^12.3.0",
105
105
  "@atlaskit/editor-plugin-text-formatting": "^12.0.0",
@@ -115,13 +115,13 @@
115
115
  "@atlaskit/editor-plugin-user-preferences": "^10.0.0",
116
116
  "@atlaskit/editor-plugin-width": "^13.0.0",
117
117
  "@atlaskit/platform-feature-flags": "^2.0.0",
118
- "@atlaskit/tmp-editor-statsig": "^112.0.0",
118
+ "@atlaskit/tmp-editor-statsig": "^114.0.0",
119
119
  "@atlassian/ari": "^2.596.0",
120
- "@atlassian/editor-plugin-agent-managed-extension": "^2.8.0",
120
+ "@atlassian/editor-plugin-agent-managed-extension": "^2.9.0",
121
121
  "@babel/runtime": "^7.0.0"
122
122
  },
123
123
  "peerDependencies": {
124
- "@atlaskit/editor-common": "^116.12.0",
124
+ "@atlaskit/editor-common": "^116.13.0",
125
125
  "react": "^18.2.0",
126
126
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
127
127
  },