@atlaskit/editor-presets 5.0.24 → 5.1.0

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,16 @@
1
1
  # @atlaskit/editor-presets
2
2
 
3
+ ## 5.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`f8280f6b24eec`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f8280f6b24eec) -
8
+ Allow editor surfaces to control agent mention picker sectioning independently.
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
3
14
  ## 5.0.24
4
15
 
5
16
  ### Patch Changes
@@ -15,6 +15,7 @@ function mentionsPluginOptions(_ref) {
15
15
  handleMentionsChanged: options.handleMentionsChanged,
16
16
  mentionProvider: providers.mentionProvider,
17
17
  currentUserId: options.currentUserId,
18
+ enableAgentSectioning: options.enableAgentSectioning,
18
19
  getIsRovoPanelOpen: options.getIsRovoPanelOpen
19
20
  };
20
21
  }
@@ -10,6 +10,7 @@ export function mentionsPluginOptions({
10
10
  handleMentionsChanged: options.handleMentionsChanged,
11
11
  mentionProvider: providers.mentionProvider,
12
12
  currentUserId: options.currentUserId,
13
+ enableAgentSectioning: options.enableAgentSectioning,
13
14
  getIsRovoPanelOpen: options.getIsRovoPanelOpen
14
15
  };
15
16
  }
@@ -9,6 +9,7 @@ export function mentionsPluginOptions(_ref) {
9
9
  handleMentionsChanged: options.handleMentionsChanged,
10
10
  mentionProvider: providers.mentionProvider,
11
11
  currentUserId: options.currentUserId,
12
+ enableAgentSectioning: options.enableAgentSectioning,
12
13
  getIsRovoPanelOpen: options.getIsRovoPanelOpen
13
14
  };
14
15
  }
@@ -4,6 +4,7 @@ import type { MentionProvider } from '@atlaskit/mention/types';
4
4
  interface Props {
5
5
  options: {
6
6
  currentUserId?: string;
7
+ enableAgentSectioning?: boolean;
7
8
  getIsRovoPanelOpen?: () => boolean;
8
9
  handleMentionsChanged: MentionsChangedHandler;
9
10
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-presets",
3
- "version": "5.0.24",
3
+ "version": "5.1.0",
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": {
@@ -78,9 +78,9 @@
78
78
  "@atlaskit/editor-plugin-list": "^14.1.0",
79
79
  "@atlaskit/editor-plugin-local-id": "^10.1.0",
80
80
  "@atlaskit/editor-plugin-loom": "^14.0.0",
81
- "@atlaskit/editor-plugin-media": "^14.2.0",
81
+ "@atlaskit/editor-plugin-media": "^14.3.0",
82
82
  "@atlaskit/editor-plugin-media-insert": "^26.0.0",
83
- "@atlaskit/editor-plugin-mentions": "^14.5.0",
83
+ "@atlaskit/editor-plugin-mentions": "^14.6.0",
84
84
  "@atlaskit/editor-plugin-metrics": "^13.0.0",
85
85
  "@atlaskit/editor-plugin-panel": "^14.1.0",
86
86
  "@atlaskit/editor-plugin-paste": "^13.3.0",
@@ -95,10 +95,10 @@
95
95
  "@atlaskit/editor-plugin-selection-extension": "^15.0.0",
96
96
  "@atlaskit/editor-plugin-selection-marker": "^12.0.0",
97
97
  "@atlaskit/editor-plugin-selection-toolbar": "^13.0.0",
98
- "@atlaskit/editor-plugin-show-diff": "^10.1.0",
98
+ "@atlaskit/editor-plugin-show-diff": "^10.3.0",
99
99
  "@atlaskit/editor-plugin-status": "^13.0.0",
100
100
  "@atlaskit/editor-plugin-submit-editor": "^12.0.0",
101
- "@atlaskit/editor-plugin-synced-block": "^10.1.0",
101
+ "@atlaskit/editor-plugin-synced-block": "^10.2.0",
102
102
  "@atlaskit/editor-plugin-table": "^24.4.0",
103
103
  "@atlaskit/editor-plugin-tasks-and-decisions": "^15.1.0",
104
104
  "@atlaskit/editor-plugin-text-color": "^12.3.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": "^124.0.0",
118
+ "@atlaskit/tmp-editor-statsig": "^124.1.0",
119
119
  "@atlassian/ari": "^2.596.0",
120
120
  "@atlassian/editor-plugin-agent-managed-extension": "^2.11.0",
121
121
  "@babel/runtime": "^7.0.0"
122
122
  },
123
123
  "peerDependencies": {
124
- "@atlaskit/editor-common": "^116.24.0",
124
+ "@atlaskit/editor-common": "^116.25.0",
125
125
  "react": "^18.2.0",
126
126
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
127
127
  },