@atlaskit/renderer 124.10.4 → 124.11.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/renderer
|
|
2
2
|
|
|
3
|
+
## 124.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`83b11ab9079a9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/83b11ab9079a9) -
|
|
8
|
+
EDITOR-2480 Enabled ADF prompts for all products behind new fg.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 124.10.4
|
|
4
15
|
|
|
5
16
|
### 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,
|
|
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 =
|
|
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 =
|
|
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) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "124.
|
|
3
|
+
"version": "124.11.0",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
38
38
|
"@atlaskit/editor-shared-styles": "^3.8.0",
|
|
39
39
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
40
|
-
"@atlaskit/emoji": "^69.
|
|
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.
|
|
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.
|
|
61
|
+
"@atlaskit/tmp-editor-statsig": "^13.34.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.
|
|
75
|
+
"@atlaskit/editor-common": "^110.25.0",
|
|
76
76
|
"@atlaskit/link-provider": "^4.0.0",
|
|
77
77
|
"@atlaskit/media-core": "^37.0.0",
|
|
78
78
|
"react": "^18.2.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
|
}
|