@atlaskit/editor-presets 5.0.18 → 5.0.20

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,20 @@
1
1
  # @atlaskit/editor-presets
2
2
 
3
+ ## 5.0.20
4
+
5
+ ### Patch Changes
6
+
7
+ - [`d8df4ec19d384`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d8df4ec19d384) -
8
+ Suppresses nudge from agent mention when rovo chat is open
9
+ - Updated dependencies
10
+
11
+ ## 5.0.19
12
+
13
+ ### Patch Changes
14
+
15
+ - [`d129b4a5b7e21`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d129b4a5b7e21) -
16
+ Clean up feature gate `platform_editor_ai_aifc_space_shortcut`
17
+
3
18
  ## 5.0.18
4
19
 
5
20
  ### Patch Changes
@@ -14,6 +14,7 @@ function mentionsPluginOptions(_ref) {
14
14
  profilecardProvider: providers.profilecardProvider,
15
15
  handleMentionsChanged: options.handleMentionsChanged,
16
16
  mentionProvider: providers.mentionProvider,
17
- currentUserId: options.currentUserId
17
+ currentUserId: options.currentUserId,
18
+ getIsRovoPanelOpen: options.getIsRovoPanelOpen
18
19
  };
19
20
  }
@@ -39,7 +39,7 @@ function placeholderPluginOptions(_ref) {
39
39
  if (options.viewMode === 'view') {
40
40
  return undefined;
41
41
  }
42
- if (shouldShowSpaceShortcut && (0, _platformFeatureFlags.fg)('platform_editor_ai_aifc_space_shortcut')) {
42
+ if (shouldShowSpaceShortcut) {
43
43
  return (0, _createAdfFromHtml.createADFFromHTML)(intl.formatMessage(_i18n.i18n.placeholderADF, {
44
44
  code: function code(parts) {
45
45
  return "<code>".concat(parts, "</code>");
@@ -9,6 +9,7 @@ export function mentionsPluginOptions({
9
9
  profilecardProvider: providers.profilecardProvider,
10
10
  handleMentionsChanged: options.handleMentionsChanged,
11
11
  mentionProvider: providers.mentionProvider,
12
- currentUserId: options.currentUserId
12
+ currentUserId: options.currentUserId,
13
+ getIsRovoPanelOpen: options.getIsRovoPanelOpen
13
14
  };
14
15
  }
@@ -34,7 +34,7 @@ export function placeholderPluginOptions({
34
34
  if (options.viewMode === 'view') {
35
35
  return undefined;
36
36
  }
37
- if (shouldShowSpaceShortcut && fg('platform_editor_ai_aifc_space_shortcut')) {
37
+ if (shouldShowSpaceShortcut) {
38
38
  return createADFFromHTML(intl.formatMessage(i18n.placeholderADF, {
39
39
  code: parts => `<code>${parts}</code>`
40
40
  }));
@@ -8,6 +8,7 @@ export function mentionsPluginOptions(_ref) {
8
8
  profilecardProvider: providers.profilecardProvider,
9
9
  handleMentionsChanged: options.handleMentionsChanged,
10
10
  mentionProvider: providers.mentionProvider,
11
- currentUserId: options.currentUserId
11
+ currentUserId: options.currentUserId,
12
+ getIsRovoPanelOpen: options.getIsRovoPanelOpen
12
13
  };
13
14
  }
@@ -33,7 +33,7 @@ export function placeholderPluginOptions(_ref) {
33
33
  if (options.viewMode === 'view') {
34
34
  return undefined;
35
35
  }
36
- if (shouldShowSpaceShortcut && fg('platform_editor_ai_aifc_space_shortcut')) {
36
+ if (shouldShowSpaceShortcut) {
37
37
  return createADFFromHTML(intl.formatMessage(i18n.placeholderADF, {
38
38
  code: function code(parts) {
39
39
  return "<code>".concat(parts, "</code>");
@@ -4,6 +4,7 @@ import type { MentionProvider } from '@atlaskit/mention/types';
4
4
  interface Props {
5
5
  options: {
6
6
  currentUserId?: string;
7
+ getIsRovoPanelOpen?: () => boolean;
7
8
  handleMentionsChanged: MentionsChangedHandler;
8
9
  };
9
10
  providers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-presets",
3
- "version": "5.0.18",
3
+ "version": "5.0.20",
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": {
@@ -33,7 +33,7 @@
33
33
  "@atlaskit/editor-plugin-block-menu": "^11.1.0",
34
34
  "@atlaskit/editor-plugin-block-type": "^16.1.0",
35
35
  "@atlaskit/editor-plugin-border": "^12.0.0",
36
- "@atlaskit/editor-plugin-breakout": "^12.0.0",
36
+ "@atlaskit/editor-plugin-breakout": "^12.1.0",
37
37
  "@atlaskit/editor-plugin-caption": "^12.0.0",
38
38
  "@atlaskit/editor-plugin-card": "^18.0.0",
39
39
  "@atlaskit/editor-plugin-clear-marks-on-empty-doc": "^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": "^120.0.0",
118
+ "@atlaskit/tmp-editor-statsig": "^120.2.0",
119
119
  "@atlassian/ari": "^2.596.0",
120
120
  "@atlassian/editor-plugin-agent-managed-extension": "^2.10.0",
121
121
  "@babel/runtime": "^7.0.0"
122
122
  },
123
123
  "peerDependencies": {
124
- "@atlaskit/editor-common": "^116.20.0",
124
+ "@atlaskit/editor-common": "^116.22.0",
125
125
  "react": "^18.2.0",
126
126
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
127
127
  },
@@ -176,9 +176,6 @@
176
176
  "platform_editor_ai_aifc_streaming": {
177
177
  "type": "boolean"
178
178
  },
179
- "platform_editor_ai_aifc_space_shortcut": {
180
- "type": "boolean"
181
- },
182
179
  "platform_editor_table_fixed_column_width_prop": {
183
180
  "type": "boolean"
184
181
  },