@atlaskit/editor-presets 24.2.3 → 24.2.6

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,26 @@
1
1
  # @atlaskit/editor-presets
2
2
 
3
+ ## 24.2.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 24.2.5
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 24.2.4
16
+
17
+ ### Patch Changes
18
+
19
+ - [`c47fd455dba6b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c47fd455dba6b) -
20
+ Clean up feature gate `platform_editor_ai_object_sidebar_injection`; keep object-sidebar injection
21
+ enabled.
22
+ - Updated dependencies
23
+
3
24
  ## 24.2.3
4
25
 
5
26
  ### Patch Changes
@@ -4,18 +4,12 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.contextPanelPluginOptions = contextPanelPluginOptions;
7
- var _fg = require("@atlaskit/platform-feature-flags/fg");
8
7
  function contextPanelPluginOptions(_ref) {
9
8
  var options = _ref.options;
10
9
  if (!options) {
11
10
  return undefined;
12
11
  }
13
- return (
14
- // SECTION: From confluence/next/packages/editor-presets/src/full-page/useFullPageEditorPreset.ts
15
- // If object-sidebar is not enabled, then we don't need to pass the contextPanelOptions
16
- (0, _fg.fg)('platform_editor_ai_object_sidebar_injection') ? {
17
- objectSideBar: options.objectSideBar
18
- } : undefined
19
- // END SECTION
20
- );
12
+ return {
13
+ objectSideBar: options.objectSideBar
14
+ };
21
15
  }
@@ -1,16 +1,10 @@
1
- import { fg } from '@atlaskit/platform-feature-flags/fg';
2
1
  export function contextPanelPluginOptions({
3
2
  options
4
3
  }) {
5
4
  if (!options) {
6
5
  return undefined;
7
6
  }
8
- return (
9
- // SECTION: From confluence/next/packages/editor-presets/src/full-page/useFullPageEditorPreset.ts
10
- // If object-sidebar is not enabled, then we don't need to pass the contextPanelOptions
11
- fg('platform_editor_ai_object_sidebar_injection') ? {
12
- objectSideBar: options.objectSideBar
13
- } : undefined
14
- // END SECTION
15
- );
7
+ return {
8
+ objectSideBar: options.objectSideBar
9
+ };
16
10
  }
@@ -1,15 +1,9 @@
1
- import { fg } from '@atlaskit/platform-feature-flags/fg';
2
1
  export function contextPanelPluginOptions(_ref) {
3
2
  var options = _ref.options;
4
3
  if (!options) {
5
4
  return undefined;
6
5
  }
7
- return (
8
- // SECTION: From confluence/next/packages/editor-presets/src/full-page/useFullPageEditorPreset.ts
9
- // If object-sidebar is not enabled, then we don't need to pass the contextPanelOptions
10
- fg('platform_editor_ai_object_sidebar_injection') ? {
11
- objectSideBar: options.objectSideBar
12
- } : undefined
13
- // END SECTION
14
- );
6
+ return {
7
+ objectSideBar: options.objectSideBar
8
+ };
15
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-presets",
3
- "version": "24.2.3",
3
+ "version": "24.2.6",
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": {
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "@atlaskit/adf-schema": "^57.7.0",
24
24
  "@atlaskit/editor-plugin-accessibility-utils": "^30.0.0",
25
- "@atlaskit/editor-plugin-alignment": "^31.0.0",
25
+ "@atlaskit/editor-plugin-alignment": "^31.1.0",
26
26
  "@atlaskit/editor-plugin-analytics": "^30.0.0",
27
27
  "@atlaskit/editor-plugin-annotation": "^30.0.0",
28
28
  "@atlaskit/editor-plugin-avatar-group": "^31.0.0",
@@ -40,7 +40,7 @@
40
40
  "@atlaskit/editor-plugin-clipboard": "^30.0.0",
41
41
  "@atlaskit/editor-plugin-code-block": "^32.0.0",
42
42
  "@atlaskit/editor-plugin-code-block-advanced": "^30.0.0",
43
- "@atlaskit/editor-plugin-collab-edit": "^31.0.0",
43
+ "@atlaskit/editor-plugin-collab-edit": "^32.0.0",
44
44
  "@atlaskit/editor-plugin-composition": "^29.0.0",
45
45
  "@atlaskit/editor-plugin-connectivity": "^30.0.0",
46
46
  "@atlaskit/editor-plugin-content-format": "^24.0.0",
@@ -56,7 +56,7 @@
56
56
  "@atlaskit/editor-plugin-editor-viewmode": "^32.0.0",
57
57
  "@atlaskit/editor-plugin-editor-viewmode-effects": "^30.0.0",
58
58
  "@atlaskit/editor-plugin-emoji": "^31.0.0",
59
- "@atlaskit/editor-plugin-expand": "^31.0.0",
59
+ "@atlaskit/editor-plugin-expand": "^31.1.0",
60
60
  "@atlaskit/editor-plugin-extension": "^33.0.0",
61
61
  "@atlaskit/editor-plugin-feature-flags": "^29.0.0",
62
62
  "@atlaskit/editor-plugin-find-replace": "^30.0.0",
@@ -102,7 +102,7 @@
102
102
  "@atlaskit/editor-plugin-table": "^42.2.0",
103
103
  "@atlaskit/editor-plugin-tasks-and-decisions": "^33.0.0",
104
104
  "@atlaskit/editor-plugin-text-color": "^30.0.0",
105
- "@atlaskit/editor-plugin-text-formatting": "^30.1.0",
105
+ "@atlaskit/editor-plugin-text-formatting": "^30.2.0",
106
106
  "@atlaskit/editor-plugin-toolbar": "^27.0.0",
107
107
  "@atlaskit/editor-plugin-toolbar-lists-indentation": "^31.0.0",
108
108
  "@atlaskit/editor-plugin-track-changes": "^29.0.0",
@@ -117,12 +117,12 @@
117
117
  "@atlaskit/emoji": "^73.3.0",
118
118
  "@atlaskit/platform-feature-experiments": "^0.3.0",
119
119
  "@atlaskit/platform-feature-flags": "^2.2.0",
120
- "@atlaskit/tmp-editor-statsig": "^250.0.0",
120
+ "@atlaskit/tmp-editor-statsig": "^251.0.0",
121
121
  "@atlassian/editor-plugin-agent-managed-extension": "^20.0.0",
122
122
  "@babel/runtime": "^7.0.0"
123
123
  },
124
124
  "peerDependencies": {
125
- "@atlaskit/editor-common": "^134.3.0",
125
+ "@atlaskit/editor-common": "^134.4.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
  },
@@ -133,9 +133,6 @@
133
133
  "platform_editor_comments_api_manager": {
134
134
  "type": "boolean"
135
135
  },
136
- "platform_editor_ai_object_sidebar_injection": {
137
- "type": "boolean"
138
- },
139
136
  "platform_editor_content_mode_button_mvp": {
140
137
  "type": "boolean"
141
138
  },