@atlaskit/renderer 122.0.1 → 122.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,13 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 122.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`217c12d914348`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/217c12d914348) -
|
|
8
|
+
[ux] Fire exposure for Preview panel linking experiment in renderer to fix exposure imbalance.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 122.0.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -138,7 +138,9 @@ var InlineCard = function InlineCard(props) {
|
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
140
|
var MaybeOverlay = cardContext !== null && cardContext !== void 0 && cardContext.value ? OverlayWithCardContext : HoverLinkOverlayNoop;
|
|
141
|
-
if (ssr && url && !(0, _experiments.editorExperiment)('platform_editor_preview_panel_linking_exp', true
|
|
141
|
+
if (ssr && url && !(0, _experiments.editorExperiment)('platform_editor_preview_panel_linking_exp', true, {
|
|
142
|
+
exposure: true
|
|
143
|
+
})) {
|
|
142
144
|
if (
|
|
143
145
|
// eslint-disable-next-line @atlaskit/platform/no-invalid-feature-flag-usage
|
|
144
146
|
(0, _platformFeatureFlags.fg)('editor_inline_comments_on_inline_nodes')) {
|
|
@@ -167,7 +169,9 @@ var InlineCard = function InlineCard(props) {
|
|
|
167
169
|
actionOptions: actionOptions,
|
|
168
170
|
onClick: onClick
|
|
169
171
|
}));
|
|
170
|
-
} else if (ssr && url && (0, _experiments.editorExperiment)('platform_editor_preview_panel_linking_exp', true
|
|
172
|
+
} else if (ssr && url && (0, _experiments.editorExperiment)('platform_editor_preview_panel_linking_exp', true, {
|
|
173
|
+
exposure: true
|
|
174
|
+
})) {
|
|
171
175
|
if (
|
|
172
176
|
// eslint-disable-next-line @atlaskit/platform/no-invalid-feature-flag-usage
|
|
173
177
|
(0, _platformFeatureFlags.fg)('editor_inline_comments_on_inline_nodes')) {
|
|
@@ -122,7 +122,9 @@ const InlineCard = props => {
|
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
const MaybeOverlay = cardContext !== null && cardContext !== void 0 && cardContext.value ? OverlayWithCardContext : HoverLinkOverlayNoop;
|
|
125
|
-
if (ssr && url && !editorExperiment('platform_editor_preview_panel_linking_exp', true
|
|
125
|
+
if (ssr && url && !editorExperiment('platform_editor_preview_panel_linking_exp', true, {
|
|
126
|
+
exposure: true
|
|
127
|
+
})) {
|
|
126
128
|
if (
|
|
127
129
|
// eslint-disable-next-line @atlaskit/platform/no-invalid-feature-flag-usage
|
|
128
130
|
fg('editor_inline_comments_on_inline_nodes')) {
|
|
@@ -151,7 +153,9 @@ const InlineCard = props => {
|
|
|
151
153
|
actionOptions: actionOptions,
|
|
152
154
|
onClick: onClick
|
|
153
155
|
}));
|
|
154
|
-
} else if (ssr && url && editorExperiment('platform_editor_preview_panel_linking_exp', true
|
|
156
|
+
} else if (ssr && url && editorExperiment('platform_editor_preview_panel_linking_exp', true, {
|
|
157
|
+
exposure: true
|
|
158
|
+
})) {
|
|
155
159
|
if (
|
|
156
160
|
// eslint-disable-next-line @atlaskit/platform/no-invalid-feature-flag-usage
|
|
157
161
|
fg('editor_inline_comments_on_inline_nodes')) {
|
|
@@ -129,7 +129,9 @@ var InlineCard = function InlineCard(props) {
|
|
|
129
129
|
}
|
|
130
130
|
};
|
|
131
131
|
var MaybeOverlay = cardContext !== null && cardContext !== void 0 && cardContext.value ? OverlayWithCardContext : HoverLinkOverlayNoop;
|
|
132
|
-
if (ssr && url && !editorExperiment('platform_editor_preview_panel_linking_exp', true
|
|
132
|
+
if (ssr && url && !editorExperiment('platform_editor_preview_panel_linking_exp', true, {
|
|
133
|
+
exposure: true
|
|
134
|
+
})) {
|
|
133
135
|
if (
|
|
134
136
|
// eslint-disable-next-line @atlaskit/platform/no-invalid-feature-flag-usage
|
|
135
137
|
fg('editor_inline_comments_on_inline_nodes')) {
|
|
@@ -158,7 +160,9 @@ var InlineCard = function InlineCard(props) {
|
|
|
158
160
|
actionOptions: actionOptions,
|
|
159
161
|
onClick: onClick
|
|
160
162
|
}));
|
|
161
|
-
} else if (ssr && url && editorExperiment('platform_editor_preview_panel_linking_exp', true
|
|
163
|
+
} else if (ssr && url && editorExperiment('platform_editor_preview_panel_linking_exp', true, {
|
|
164
|
+
exposure: true
|
|
165
|
+
})) {
|
|
162
166
|
if (
|
|
163
167
|
// eslint-disable-next-line @atlaskit/platform/no-invalid-feature-flag-usage
|
|
164
168
|
fg('editor_inline_comments_on_inline_nodes')) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "122.0.
|
|
3
|
+
"version": "122.0.2",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@atlaskit/status": "^3.0.0",
|
|
55
55
|
"@atlaskit/task-decision": "^19.2.0",
|
|
56
56
|
"@atlaskit/theme": "^21.0.0",
|
|
57
|
-
"@atlaskit/tmp-editor-statsig": "^12.
|
|
57
|
+
"@atlaskit/tmp-editor-statsig": "^12.14.0",
|
|
58
58
|
"@atlaskit/tokens": "^6.3.0",
|
|
59
59
|
"@atlaskit/tooltip": "^20.4.0",
|
|
60
60
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"uuid": "^3.1.0"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
|
-
"@atlaskit/editor-common": "^109.
|
|
71
|
+
"@atlaskit/editor-common": "^109.2.0",
|
|
72
72
|
"@atlaskit/link-provider": "^3.7.0",
|
|
73
73
|
"@atlaskit/media-core": "^37.0.0",
|
|
74
74
|
"react": "^18.2.0",
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
"@atlaskit/mention": "^24.2.0",
|
|
90
90
|
"@atlaskit/modal-dialog": "^14.3.0",
|
|
91
91
|
"@atlaskit/navigation-next": "patch:@atlaskit/navigation-next@npm%3A9.0.17#~/.yarn/patches/@atlaskit-navigation-next-npm-9.0.17-958ca0ab9d.patch",
|
|
92
|
-
"@atlaskit/profilecard": "^24.
|
|
93
|
-
"@atlaskit/util-data-test": "^18.
|
|
92
|
+
"@atlaskit/profilecard": "^24.12.0",
|
|
93
|
+
"@atlaskit/util-data-test": "^18.2.0",
|
|
94
94
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|
|
95
95
|
"@testing-library/react": "^13.4.0",
|
|
96
96
|
"@testing-library/react-hooks": "^8.0.1",
|