@atlaskit/renderer 124.10.4 → 124.12.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,27 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 124.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`f79abec64be13`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f79abec64be13) -
8
+ [EDITOR-2624] Add max width mode for ultra wide monitors to the Editor and Renderer
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 124.11.0
15
+
16
+ ### Minor Changes
17
+
18
+ - [`83b11ab9079a9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/83b11ab9079a9) -
19
+ EDITOR-2480 Enabled ADF prompts for all products behind new fg.
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+
3
25
  ## 124.10.4
4
26
 
5
27
  ### Patch Changes
@@ -647,7 +647,7 @@ var RendererWrapper = /*#__PURE__*/_react.default.memo(function (props) {
647
647
  * Telepointer changes will also cause a childList mutation, so we manually ignore it.
648
648
  * Telepointer changes are always a singular node-adds or node-removes.
649
649
  */
650
- var isAdfStreamingEnabled = (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_ai_iw_adf_streaming', 'cohort', 'adf_gpt41mini') || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_ai_iw_adf_streaming', 'cohort', 'adf_gemini25flash') || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_ai_ct_sg_adf_streaming', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_ai_non_iw_adf_streaming', 'cohort', 'adf_gpt41mini') || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_ai_non_iw_adf_streaming', 'cohort', 'adf_gemini25flash');
650
+ var isAdfStreamingEnabled = (0, _platformFeatureFlags.fg)('platform_editor_ai_adf_prompts_in_all_products') || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_ai_iw_adf_streaming', 'cohort', 'adf_gpt41mini') || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_ai_iw_adf_streaming', 'cohort', 'adf_gemini25flash') || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_ai_non_iw_adf_streaming', 'cohort', 'adf_gpt41mini') || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_ai_non_iw_adf_streaming', 'cohort', 'adf_gemini25flash');
651
651
  if (isAdfStreamingEnabled && mutation.type === 'childList' && !(mutation.addedNodes.length === 1 && ((_mutation$addedNodes$ = mutation.addedNodes[0]) === null || _mutation$addedNodes$ === void 0 ? void 0 : _mutation$addedNodes$.id) === _style.TELEPOINTER_ID || mutation.removedNodes.length === 1 && ((_mutation$removedNode = mutation.removedNodes[0]) === null || _mutation$removedNode === void 0 ? void 0 : _mutation$removedNode.id) === _style.TELEPOINTER_ID)) {
652
652
  var _lastChild2 = _renderer.lastChild;
653
653
  if (_lastChild2) {
@@ -635,7 +635,7 @@ const RendererWrapper = /*#__PURE__*/React.memo(props => {
635
635
  * Telepointer changes will also cause a childList mutation, so we manually ignore it.
636
636
  * Telepointer changes are always a singular node-adds or node-removes.
637
637
  */
638
- const isAdfStreamingEnabled = expValEqualsNoExposure('platform_editor_ai_iw_adf_streaming', 'cohort', 'adf_gpt41mini') || expValEqualsNoExposure('platform_editor_ai_iw_adf_streaming', 'cohort', 'adf_gemini25flash') || expValEqualsNoExposure('platform_editor_ai_ct_sg_adf_streaming', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_ai_non_iw_adf_streaming', 'cohort', 'adf_gpt41mini') || expValEqualsNoExposure('platform_editor_ai_non_iw_adf_streaming', 'cohort', 'adf_gemini25flash');
638
+ const isAdfStreamingEnabled = fg('platform_editor_ai_adf_prompts_in_all_products') || expValEqualsNoExposure('platform_editor_ai_iw_adf_streaming', 'cohort', 'adf_gpt41mini') || expValEqualsNoExposure('platform_editor_ai_iw_adf_streaming', 'cohort', 'adf_gemini25flash') || expValEqualsNoExposure('platform_editor_ai_non_iw_adf_streaming', 'cohort', 'adf_gpt41mini') || expValEqualsNoExposure('platform_editor_ai_non_iw_adf_streaming', 'cohort', 'adf_gemini25flash');
639
639
  if (isAdfStreamingEnabled && mutation.type === 'childList' && !(mutation.addedNodes.length === 1 && ((_mutation$addedNodes$ = mutation.addedNodes[0]) === null || _mutation$addedNodes$ === void 0 ? void 0 : _mutation$addedNodes$.id) === TELEPOINTER_ID || mutation.removedNodes.length === 1 && ((_mutation$removedNode = mutation.removedNodes[0]) === null || _mutation$removedNode === void 0 ? void 0 : _mutation$removedNode.id) === TELEPOINTER_ID)) {
640
640
  const lastChild = renderer.lastChild;
641
641
  if (lastChild) {
@@ -638,7 +638,7 @@ var RendererWrapper = /*#__PURE__*/React.memo(function (props) {
638
638
  * Telepointer changes will also cause a childList mutation, so we manually ignore it.
639
639
  * Telepointer changes are always a singular node-adds or node-removes.
640
640
  */
641
- var isAdfStreamingEnabled = expValEqualsNoExposure('platform_editor_ai_iw_adf_streaming', 'cohort', 'adf_gpt41mini') || expValEqualsNoExposure('platform_editor_ai_iw_adf_streaming', 'cohort', 'adf_gemini25flash') || expValEqualsNoExposure('platform_editor_ai_ct_sg_adf_streaming', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_ai_non_iw_adf_streaming', 'cohort', 'adf_gpt41mini') || expValEqualsNoExposure('platform_editor_ai_non_iw_adf_streaming', 'cohort', 'adf_gemini25flash');
641
+ var isAdfStreamingEnabled = fg('platform_editor_ai_adf_prompts_in_all_products') || expValEqualsNoExposure('platform_editor_ai_iw_adf_streaming', 'cohort', 'adf_gpt41mini') || expValEqualsNoExposure('platform_editor_ai_iw_adf_streaming', 'cohort', 'adf_gemini25flash') || expValEqualsNoExposure('platform_editor_ai_non_iw_adf_streaming', 'cohort', 'adf_gpt41mini') || expValEqualsNoExposure('platform_editor_ai_non_iw_adf_streaming', 'cohort', 'adf_gemini25flash');
642
642
  if (isAdfStreamingEnabled && mutation.type === 'childList' && !(mutation.addedNodes.length === 1 && ((_mutation$addedNodes$ = mutation.addedNodes[0]) === null || _mutation$addedNodes$ === void 0 ? void 0 : _mutation$addedNodes$.id) === TELEPOINTER_ID || mutation.removedNodes.length === 1 && ((_mutation$removedNode = mutation.removedNodes[0]) === null || _mutation$removedNode === void 0 ? void 0 : _mutation$removedNode.id) === TELEPOINTER_ID)) {
643
643
  var _lastChild2 = _renderer.lastChild;
644
644
  if (_lastChild2) {
@@ -1,4 +1,4 @@
1
- export type RendererAppearance = 'comment' | 'full-page' | 'full-width' | undefined;
1
+ export type RendererAppearance = 'comment' | 'full-page' | 'full-width' | 'max' | undefined;
2
2
  export type RendererContentMode = 'standard' | 'dense' | 'compact' | undefined;
3
3
  /**
4
4
  * DO NOT USE THESE OPTIONS
@@ -1,4 +1,4 @@
1
- export type RendererAppearance = 'comment' | 'full-page' | 'full-width' | undefined;
1
+ export type RendererAppearance = 'comment' | 'full-page' | 'full-width' | 'max' | undefined;
2
2
  export type RendererContentMode = 'standard' | 'dense' | 'compact' | undefined;
3
3
  /**
4
4
  * DO NOT USE THESE OPTIONS
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "124.10.4",
3
+ "version": "124.12.0",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@atlaskit/adf-schema": "^51.3.2",
27
- "@atlaskit/adf-utils": "^19.25.0",
27
+ "@atlaskit/adf-utils": "^19.26.0",
28
28
  "@atlaskit/afm-i18n-platform-editor-renderer": "2.7.0",
29
29
  "@atlaskit/analytics-listeners": "^9.1.0",
30
30
  "@atlaskit/analytics-namespaced-context": "^7.1.0",
@@ -35,9 +35,9 @@
35
35
  "@atlaskit/editor-json-transformer": "^8.31.0",
36
36
  "@atlaskit/editor-palette": "^2.1.0",
37
37
  "@atlaskit/editor-prosemirror": "7.0.0",
38
- "@atlaskit/editor-shared-styles": "^3.8.0",
38
+ "@atlaskit/editor-shared-styles": "^3.9.0",
39
39
  "@atlaskit/editor-tables": "^2.9.0",
40
- "@atlaskit/emoji": "^69.6.0",
40
+ "@atlaskit/emoji": "^69.7.0",
41
41
  "@atlaskit/feature-gate-js-client": "^5.5.0",
42
42
  "@atlaskit/icon": "^28.5.0",
43
43
  "@atlaskit/link": "^3.2.0",
@@ -45,7 +45,7 @@
45
45
  "@atlaskit/link-extractors": "^2.4.0",
46
46
  "@atlaskit/linking-common": "^9.8.0",
47
47
  "@atlaskit/media-card": "^79.6.0",
48
- "@atlaskit/media-client": "^35.5.0",
48
+ "@atlaskit/media-client": "^35.6.0",
49
49
  "@atlaskit/media-client-react": "^4.1.0",
50
50
  "@atlaskit/media-common": "^12.3.0",
51
51
  "@atlaskit/media-filmstrip": "^51.1.0",
@@ -58,7 +58,7 @@
58
58
  "@atlaskit/status": "^3.0.0",
59
59
  "@atlaskit/task-decision": "^19.2.0",
60
60
  "@atlaskit/theme": "^21.0.0",
61
- "@atlaskit/tmp-editor-statsig": "^13.32.0",
61
+ "@atlaskit/tmp-editor-statsig": "^13.35.0",
62
62
  "@atlaskit/tokens": "^8.0.0",
63
63
  "@atlaskit/tooltip": "^20.8.0",
64
64
  "@atlaskit/visually-hidden": "^3.0.0",
@@ -72,7 +72,7 @@
72
72
  "uuid": "^3.1.0"
73
73
  },
74
74
  "peerDependencies": {
75
- "@atlaskit/editor-common": "^110.24.0",
75
+ "@atlaskit/editor-common": "^110.26.0",
76
76
  "@atlaskit/link-provider": "^4.0.0",
77
77
  "@atlaskit/media-core": "^37.0.0",
78
78
  "react": "^18.2.0",
@@ -92,7 +92,7 @@
92
92
  "@atlaskit/mention": "^24.4.0",
93
93
  "@atlaskit/modal-dialog": "^14.6.0",
94
94
  "@atlaskit/navigation-next": "patch:@atlaskit/navigation-next@npm%3A9.0.17#~/.yarn/patches/@atlaskit-navigation-next-npm-9.0.17-958ca0ab9d.patch",
95
- "@atlaskit/profilecard": "^24.20.0",
95
+ "@atlaskit/profilecard": "^24.21.0",
96
96
  "@atlaskit/util-data-test": "^18.3.0",
97
97
  "@atlassian/feature-flags-test-utils": "^1.0.0",
98
98
  "@testing-library/react": "^13.4.0",
@@ -241,6 +241,9 @@
241
241
  },
242
242
  "platform_editor_table_height_analytics_event": {
243
243
  "type": "boolean"
244
+ },
245
+ "platform_editor_ai_adf_prompts_in_all_products": {
246
+ "type": "boolean"
244
247
  }
245
248
  }
246
249
  }