@atlaskit/editor-presets 5.0.1 → 5.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,11 @@
1
1
  # @atlaskit/editor-presets
2
2
 
3
+ ## 5.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 5.0.1
4
10
 
5
11
  ### Patch Changes
@@ -13,7 +13,8 @@ exports.agentManagedExtensionPluginOptions = agentManagedExtensionPluginOptions;
13
13
  function agentManagedExtensionPluginOptions(_ref) {
14
14
  var options = _ref.options;
15
15
  return {
16
- extensionType: options === null || options === void 0 ? void 0 : options.extensionType,
17
- referenceObjectAri: options === null || options === void 0 ? void 0 : options.referenceObjectAri
16
+ cloudId: options === null || options === void 0 ? void 0 : options.cloudId,
17
+ contentType: options === null || options === void 0 ? void 0 : options.contentType,
18
+ extensionType: options === null || options === void 0 ? void 0 : options.extensionType
18
19
  };
19
20
  }
@@ -8,7 +8,8 @@ export function agentManagedExtensionPluginOptions({
8
8
  options
9
9
  }) {
10
10
  return {
11
- extensionType: options === null || options === void 0 ? void 0 : options.extensionType,
12
- referenceObjectAri: options === null || options === void 0 ? void 0 : options.referenceObjectAri
11
+ cloudId: options === null || options === void 0 ? void 0 : options.cloudId,
12
+ contentType: options === null || options === void 0 ? void 0 : options.contentType,
13
+ extensionType: options === null || options === void 0 ? void 0 : options.extensionType
13
14
  };
14
15
  }
@@ -7,7 +7,8 @@
7
7
  export function agentManagedExtensionPluginOptions(_ref) {
8
8
  var options = _ref.options;
9
9
  return {
10
- extensionType: options === null || options === void 0 ? void 0 : options.extensionType,
11
- referenceObjectAri: options === null || options === void 0 ? void 0 : options.referenceObjectAri
10
+ cloudId: options === null || options === void 0 ? void 0 : options.cloudId,
11
+ contentType: options === null || options === void 0 ? void 0 : options.contentType,
12
+ extensionType: options === null || options === void 0 ? void 0 : options.extensionType
12
13
  };
13
14
  }
@@ -1,7 +1,8 @@
1
- import type { ConfluencePageAri } from '@atlassian/ari';
2
1
  import type { AgentManagedExtensionPluginOptions } from '@atlassian/editor-plugin-agent-managed-extension';
3
2
  interface Props {
4
3
  options?: {
4
+ cloudId?: string;
5
+ contentType?: string;
5
6
  /**
6
7
  * Optional override of the extension type used for newly inserted
7
8
  * agent-managed bodied extensions.
@@ -9,7 +10,6 @@ interface Props {
9
10
  * Defaults to `com.atlassian.confluence.macro.core`.
10
11
  */
11
12
  extensionType?: string;
12
- referenceObjectAri?: ConfluencePageAri;
13
13
  };
14
14
  }
15
15
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-presets",
3
- "version": "5.0.1",
3
+ "version": "5.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": {
@@ -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": "^105.0.0",
118
+ "@atlaskit/tmp-editor-statsig": "^106.0.0",
119
119
  "@atlassian/ari": "^2.596.0",
120
120
  "@atlassian/editor-plugin-agent-managed-extension": "^2.0.0",
121
121
  "@babel/runtime": "^7.0.0"
122
122
  },
123
123
  "peerDependencies": {
124
- "@atlaskit/editor-common": "^116.1.0",
124
+ "@atlaskit/editor-common": "^116.2.0",
125
125
  "react": "^18.2.0",
126
126
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
127
127
  },