@atlaskit/react-ufo 4.16.3 → 4.16.4
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 +7 -0
- package/dist/cjs/vc/vc-observer-new/metric-calculator/abstract-base-vc-calculator.js +1 -1
- package/dist/es2019/vc/vc-observer-new/metric-calculator/abstract-base-vc-calculator.js +1 -1
- package/dist/esm/vc/vc-observer-new/metric-calculator/abstract-base-vc-calculator.js +1 -1
- package/package.json +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/ufo-interaction-ignore
|
|
2
2
|
|
|
3
|
+
## 4.16.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`101200422febe`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/101200422febe) -
|
|
8
|
+
Clean up vc_v3_ssr_ratio_fixed_range
|
|
9
|
+
|
|
3
10
|
## 4.16.3
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -151,7 +151,7 @@ var AbstractVCCalculatorBase = exports.default = /*#__PURE__*/function () {
|
|
|
151
151
|
time = _entry3.time, viewportPercentage = _entry3.viewportPercentage, entries = _entry3.entries;
|
|
152
152
|
if (includeSSRRatio && ssrRatio === -1 && entries.some(function (e) {
|
|
153
153
|
return e.elementName === 'SSR';
|
|
154
|
-
})
|
|
154
|
+
})) {
|
|
155
155
|
ssrRatio = viewportPercentage;
|
|
156
156
|
}
|
|
157
157
|
|
|
@@ -79,7 +79,7 @@ export default class AbstractVCCalculatorBase {
|
|
|
79
79
|
viewportPercentage,
|
|
80
80
|
entries
|
|
81
81
|
} = entry;
|
|
82
|
-
if (includeSSRRatio && ssrRatio === -1 && entries.some(e => e.elementName === 'SSR')
|
|
82
|
+
if (includeSSRRatio && ssrRatio === -1 && entries.some(e => e.elementName === 'SSR')) {
|
|
83
83
|
ssrRatio = viewportPercentage;
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -145,7 +145,7 @@ var AbstractVCCalculatorBase = /*#__PURE__*/function () {
|
|
|
145
145
|
time = _entry3.time, viewportPercentage = _entry3.viewportPercentage, entries = _entry3.entries;
|
|
146
146
|
if (includeSSRRatio && ssrRatio === -1 && entries.some(function (e) {
|
|
147
147
|
return e.elementName === 'SSR';
|
|
148
|
-
})
|
|
148
|
+
})) {
|
|
149
149
|
ssrRatio = viewportPercentage;
|
|
150
150
|
}
|
|
151
151
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/react-ufo",
|
|
3
|
-
"version": "4.16.
|
|
3
|
+
"version": "4.16.4",
|
|
4
4
|
"description": "Parts of React UFO that are publicly available",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -170,9 +170,6 @@
|
|
|
170
170
|
"platform_ufo_always_send_post_interaction_log": {
|
|
171
171
|
"type": "boolean"
|
|
172
172
|
},
|
|
173
|
-
"vc_v3_ssr_ratio_fixed_range": {
|
|
174
|
-
"type": "boolean"
|
|
175
|
-
},
|
|
176
173
|
"platform_ufo_drop_prior_fg_interactions": {
|
|
177
174
|
"type": "boolean"
|
|
178
175
|
},
|