@atlaskit/react-ufo 5.0.1 → 5.0.3
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 +15 -0
- package/dist/cjs/vc/vc-observer-new/metric-calculator/abstract-base-vc-calculator.js +12 -1
- package/dist/cjs/vc/vc-observer-new/metric-calculator/fy25_03/index.js +3 -0
- package/dist/cjs/vc/vc-observer-new/viewport-observer/intersection-observer/index.js +23 -4
- package/dist/es2019/vc/vc-observer-new/metric-calculator/abstract-base-vc-calculator.js +10 -1
- package/dist/es2019/vc/vc-observer-new/metric-calculator/fy25_03/index.js +3 -0
- package/dist/es2019/vc/vc-observer-new/viewport-observer/intersection-observer/index.js +24 -4
- package/dist/esm/vc/vc-observer-new/metric-calculator/abstract-base-vc-calculator.js +12 -1
- package/dist/esm/vc/vc-observer-new/metric-calculator/fy25_03/index.js +3 -0
- package/dist/esm/vc/vc-observer-new/viewport-observer/intersection-observer/index.js +23 -4
- package/dist/types/vc/vc-observer-new/types.d.ts +1 -1
- package/dist/types-ts4.5/vc/vc-observer-new/types.d.ts +1 -1
- package/package.json +7 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/ufo-interaction-ignore
|
|
2
2
|
|
|
3
|
+
## 5.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`0c485e6a6efa4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0c485e6a6efa4) -
|
|
8
|
+
round off reported VC ratios
|
|
9
|
+
|
|
10
|
+
## 5.0.2
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`a394e2061cccd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a394e2061cccd) -
|
|
15
|
+
classify attribute changes from routing as mutation:attribute:framework-routing in VC observer,
|
|
16
|
+
and exclude it from TTVC v3 onwards
|
|
17
|
+
|
|
3
18
|
## 5.0.1
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -22,6 +22,13 @@ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol
|
|
|
22
22
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
23
23
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
24
24
|
// Create comprehensive debug details including ignored entries
|
|
25
|
+
|
|
26
|
+
// Helper function for reporting ratios
|
|
27
|
+
function roundDecimal(value) {
|
|
28
|
+
var decimals = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 3;
|
|
29
|
+
var factor = Math.pow(10, decimals);
|
|
30
|
+
return Math.round(value * factor) / factor;
|
|
31
|
+
}
|
|
25
32
|
var AbstractVCCalculatorBase = exports.default = /*#__PURE__*/function () {
|
|
26
33
|
function AbstractVCCalculatorBase(revisionNo) {
|
|
27
34
|
(0, _classCallCheck2.default)(this, AbstractVCCalculatorBase);
|
|
@@ -72,7 +79,11 @@ var AbstractVCCalculatorBase = exports.default = /*#__PURE__*/function () {
|
|
|
72
79
|
elementName = _step2$value[0],
|
|
73
80
|
rect = _step2$value[1];
|
|
74
81
|
var elementArea = rect.width * rect.height;
|
|
75
|
-
|
|
82
|
+
if ((0, _platformFeatureFlags.fg)('platform_ufo_round_vc_ratios')) {
|
|
83
|
+
ratios[elementName] = roundDecimal(elementArea / totalViewportArea);
|
|
84
|
+
} else {
|
|
85
|
+
ratios[elementName] = elementArea / totalViewportArea;
|
|
86
|
+
}
|
|
76
87
|
}
|
|
77
88
|
} catch (err) {
|
|
78
89
|
_iterator2.e(err);
|
|
@@ -54,6 +54,9 @@ var VCCalculator_FY25_03 = exports.default = /*#__PURE__*/function (_AbstractVCC
|
|
|
54
54
|
if (!getConsideredEntryTypes(include3p, excludeSmartAnswersInSearch).includes(entry.data.type)) {
|
|
55
55
|
return false;
|
|
56
56
|
}
|
|
57
|
+
if (entry.data.type === 'mutation:attribute:framework-routing' && (0, _platformFeatureFlags.fg)('platform_ufo_vc_ignore_display_none_mutations')) {
|
|
58
|
+
return false;
|
|
59
|
+
}
|
|
57
60
|
if (excludeSmartAnswersInSearch && (0, _isEntrySmartAnswersInSearch.isEntrySmartAnswersInSearch)(entry) && !(0, _platformFeatureFlags.fg)('rovo_search_page_ttvc_ignoring_smart_answers_fix')) {
|
|
58
61
|
return false;
|
|
59
62
|
}
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.createIntersectionObserver = createIntersectionObserver;
|
|
7
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
7
8
|
var _isZeroDimensionRectangle = require("../utils/is-zero-dimension-rectangle");
|
|
8
9
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
|
|
9
10
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
@@ -37,10 +38,28 @@ function createIntersectionObserver(_ref) {
|
|
|
37
38
|
|
|
38
39
|
// override as display-contents mutation
|
|
39
40
|
if (tagOrCallbackResult && typeof tagOrCallbackResult !== 'string' && tagOrCallbackResult.type === 'mutation:attribute') {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
if ((0, _platformFeatureFlags.fg)('platform_ufo_vc_ignore_display_none_mutations')) {
|
|
42
|
+
var _tagOrCallbackResult$ = tagOrCallbackResult.mutationData,
|
|
43
|
+
attributeName = _tagOrCallbackResult$.attributeName,
|
|
44
|
+
oldValue = _tagOrCallbackResult$.oldValue,
|
|
45
|
+
newValue = _tagOrCallbackResult$.newValue;
|
|
46
|
+
var isRoutingMutation = attributeName === 'style' && (!oldValue && newValue === 'display: none !important;' || oldValue === 'display: none !important;' && !newValue);
|
|
47
|
+
if (isRoutingMutation) {
|
|
48
|
+
return {
|
|
49
|
+
type: 'mutation:attribute:framework-routing',
|
|
50
|
+
mutationData: tagOrCallbackResult.mutationData
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
type: 'mutation:display-contents-children-attribute',
|
|
55
|
+
mutationData: tagOrCallbackResult.mutationData
|
|
56
|
+
};
|
|
57
|
+
} else {
|
|
58
|
+
return {
|
|
59
|
+
type: 'mutation:display-contents-children-attribute',
|
|
60
|
+
mutationData: tagOrCallbackResult.mutationData
|
|
61
|
+
};
|
|
62
|
+
}
|
|
44
63
|
}
|
|
45
64
|
return tagOrCallbackResult;
|
|
46
65
|
};
|
|
@@ -5,6 +5,11 @@ import getViewportWidth from './utils/get-viewport-width';
|
|
|
5
5
|
|
|
6
6
|
// Create comprehensive debug details including ignored entries
|
|
7
7
|
|
|
8
|
+
// Helper function for reporting ratios
|
|
9
|
+
function roundDecimal(value, decimals = 3) {
|
|
10
|
+
const factor = Math.pow(10, decimals);
|
|
11
|
+
return Math.round(value * factor) / factor;
|
|
12
|
+
}
|
|
8
13
|
export default class AbstractVCCalculatorBase {
|
|
9
14
|
constructor(revisionNo) {
|
|
10
15
|
this.revisionNo = revisionNo;
|
|
@@ -35,7 +40,11 @@ export default class AbstractVCCalculatorBase {
|
|
|
35
40
|
}
|
|
36
41
|
for (const [elementName, rect] of elementRects) {
|
|
37
42
|
const elementArea = rect.width * rect.height;
|
|
38
|
-
|
|
43
|
+
if (fg('platform_ufo_round_vc_ratios')) {
|
|
44
|
+
ratios[elementName] = roundDecimal(elementArea / totalViewportArea);
|
|
45
|
+
} else {
|
|
46
|
+
ratios[elementName] = elementArea / totalViewportArea;
|
|
47
|
+
}
|
|
39
48
|
}
|
|
40
49
|
return ratios;
|
|
41
50
|
}
|
|
@@ -36,6 +36,9 @@ export default class VCCalculator_FY25_03 extends AbstractVCCalculatorBase {
|
|
|
36
36
|
if (!getConsideredEntryTypes(include3p, excludeSmartAnswersInSearch).includes(entry.data.type)) {
|
|
37
37
|
return false;
|
|
38
38
|
}
|
|
39
|
+
if (entry.data.type === 'mutation:attribute:framework-routing' && fg('platform_ufo_vc_ignore_display_none_mutations')) {
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
39
42
|
if (excludeSmartAnswersInSearch && isEntrySmartAnswersInSearch(entry) && !fg('rovo_search_page_ttvc_ignoring_smart_answers_fix')) {
|
|
40
43
|
return false;
|
|
41
44
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
1
2
|
import { isZeroDimensionRectangle } from '../utils/is-zero-dimension-rectangle';
|
|
2
3
|
function isValidEntry(entry) {
|
|
3
4
|
return entry.isIntersecting && entry.intersectionRect.width > 0 && entry.intersectionRect.height > 0;
|
|
@@ -30,10 +31,29 @@ export function createIntersectionObserver({
|
|
|
30
31
|
|
|
31
32
|
// override as display-contents mutation
|
|
32
33
|
if (tagOrCallbackResult && typeof tagOrCallbackResult !== 'string' && tagOrCallbackResult.type === 'mutation:attribute') {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
if (fg('platform_ufo_vc_ignore_display_none_mutations')) {
|
|
35
|
+
const {
|
|
36
|
+
attributeName,
|
|
37
|
+
oldValue,
|
|
38
|
+
newValue
|
|
39
|
+
} = tagOrCallbackResult.mutationData;
|
|
40
|
+
const isRoutingMutation = attributeName === 'style' && (!oldValue && newValue === 'display: none !important;' || oldValue === 'display: none !important;' && !newValue);
|
|
41
|
+
if (isRoutingMutation) {
|
|
42
|
+
return {
|
|
43
|
+
type: 'mutation:attribute:framework-routing',
|
|
44
|
+
mutationData: tagOrCallbackResult.mutationData
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
type: 'mutation:display-contents-children-attribute',
|
|
49
|
+
mutationData: tagOrCallbackResult.mutationData
|
|
50
|
+
};
|
|
51
|
+
} else {
|
|
52
|
+
return {
|
|
53
|
+
type: 'mutation:display-contents-children-attribute',
|
|
54
|
+
mutationData: tagOrCallbackResult.mutationData
|
|
55
|
+
};
|
|
56
|
+
}
|
|
37
57
|
}
|
|
38
58
|
return tagOrCallbackResult;
|
|
39
59
|
};
|
|
@@ -16,6 +16,13 @@ import getViewportHeight from './utils/get-viewport-height';
|
|
|
16
16
|
import getViewportWidth from './utils/get-viewport-width';
|
|
17
17
|
|
|
18
18
|
// Create comprehensive debug details including ignored entries
|
|
19
|
+
|
|
20
|
+
// Helper function for reporting ratios
|
|
21
|
+
function roundDecimal(value) {
|
|
22
|
+
var decimals = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 3;
|
|
23
|
+
var factor = Math.pow(10, decimals);
|
|
24
|
+
return Math.round(value * factor) / factor;
|
|
25
|
+
}
|
|
19
26
|
var AbstractVCCalculatorBase = /*#__PURE__*/function () {
|
|
20
27
|
function AbstractVCCalculatorBase(revisionNo) {
|
|
21
28
|
_classCallCheck(this, AbstractVCCalculatorBase);
|
|
@@ -66,7 +73,11 @@ var AbstractVCCalculatorBase = /*#__PURE__*/function () {
|
|
|
66
73
|
elementName = _step2$value[0],
|
|
67
74
|
rect = _step2$value[1];
|
|
68
75
|
var elementArea = rect.width * rect.height;
|
|
69
|
-
|
|
76
|
+
if (fg('platform_ufo_round_vc_ratios')) {
|
|
77
|
+
ratios[elementName] = roundDecimal(elementArea / totalViewportArea);
|
|
78
|
+
} else {
|
|
79
|
+
ratios[elementName] = elementArea / totalViewportArea;
|
|
80
|
+
}
|
|
70
81
|
}
|
|
71
82
|
} catch (err) {
|
|
72
83
|
_iterator2.e(err);
|
|
@@ -47,6 +47,9 @@ var VCCalculator_FY25_03 = /*#__PURE__*/function (_AbstractVCCalculator) {
|
|
|
47
47
|
if (!getConsideredEntryTypes(include3p, excludeSmartAnswersInSearch).includes(entry.data.type)) {
|
|
48
48
|
return false;
|
|
49
49
|
}
|
|
50
|
+
if (entry.data.type === 'mutation:attribute:framework-routing' && fg('platform_ufo_vc_ignore_display_none_mutations')) {
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
50
53
|
if (excludeSmartAnswersInSearch && isEntrySmartAnswersInSearch(entry) && !fg('rovo_search_page_ttvc_ignoring_smart_answers_fix')) {
|
|
51
54
|
return false;
|
|
52
55
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
|
|
2
2
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
3
3
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
4
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
5
|
import { isZeroDimensionRectangle } from '../utils/is-zero-dimension-rectangle';
|
|
5
6
|
function isValidEntry(entry) {
|
|
6
7
|
return entry.isIntersecting && entry.intersectionRect.width > 0 && entry.intersectionRect.height > 0;
|
|
@@ -31,10 +32,28 @@ export function createIntersectionObserver(_ref) {
|
|
|
31
32
|
|
|
32
33
|
// override as display-contents mutation
|
|
33
34
|
if (tagOrCallbackResult && typeof tagOrCallbackResult !== 'string' && tagOrCallbackResult.type === 'mutation:attribute') {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
if (fg('platform_ufo_vc_ignore_display_none_mutations')) {
|
|
36
|
+
var _tagOrCallbackResult$ = tagOrCallbackResult.mutationData,
|
|
37
|
+
attributeName = _tagOrCallbackResult$.attributeName,
|
|
38
|
+
oldValue = _tagOrCallbackResult$.oldValue,
|
|
39
|
+
newValue = _tagOrCallbackResult$.newValue;
|
|
40
|
+
var isRoutingMutation = attributeName === 'style' && (!oldValue && newValue === 'display: none !important;' || oldValue === 'display: none !important;' && !newValue);
|
|
41
|
+
if (isRoutingMutation) {
|
|
42
|
+
return {
|
|
43
|
+
type: 'mutation:attribute:framework-routing',
|
|
44
|
+
mutationData: tagOrCallbackResult.mutationData
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
type: 'mutation:display-contents-children-attribute',
|
|
49
|
+
mutationData: tagOrCallbackResult.mutationData
|
|
50
|
+
};
|
|
51
|
+
} else {
|
|
52
|
+
return {
|
|
53
|
+
type: 'mutation:display-contents-children-attribute',
|
|
54
|
+
mutationData: tagOrCallbackResult.mutationData
|
|
55
|
+
};
|
|
56
|
+
}
|
|
38
57
|
}
|
|
39
58
|
return tagOrCallbackResult;
|
|
40
59
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AbortReasonType, InteractionType } from '../../common/common/types';
|
|
2
2
|
import type { ObservedWindowEvent } from './window-event-observer';
|
|
3
|
-
export type VCObserverEntryType = 'mutation:child-element' | 'mutation:remount' | 'mutation:element' | 'mutation:element-replacement' | 'mutation:display-contents-children-element' | 'mutation:display-contents-children-attribute' | 'mutation:attribute:no-layout-shift' | 'mutation:attribute:non-visual-style' | 'mutation:attribute:non-visual-input-name' | 'mutation:attribute' | 'mutation:media' | 'mutation:rll-placeholder' | 'mutation:third-party-element' | 'mutation:third-party-attribute' | 'mutation:smart-answers-element' | 'mutation:smart-answers-attribute' | 'mutation:ssr-placeholder' | 'layout-shift' | 'layout-shift:same-rect' | 'window:event' | 'ssr-hydration' | 'unknown';
|
|
3
|
+
export type VCObserverEntryType = 'mutation:child-element' | 'mutation:remount' | 'mutation:element' | 'mutation:element-replacement' | 'mutation:display-contents-children-element' | 'mutation:display-contents-children-attribute' | 'mutation:attribute:no-layout-shift' | 'mutation:attribute:non-visual-style' | 'mutation:attribute:non-visual-input-name' | 'mutation:attribute:framework-routing' | 'mutation:attribute' | 'mutation:media' | 'mutation:rll-placeholder' | 'mutation:third-party-element' | 'mutation:third-party-attribute' | 'mutation:smart-answers-element' | 'mutation:smart-answers-attribute' | 'mutation:ssr-placeholder' | 'layout-shift' | 'layout-shift:same-rect' | 'window:event' | 'ssr-hydration' | 'unknown';
|
|
4
4
|
export type ViewportEntryData = {
|
|
5
5
|
readonly type: VCObserverEntryType;
|
|
6
6
|
readonly elementName: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AbortReasonType, InteractionType } from '../../common/common/types';
|
|
2
2
|
import type { ObservedWindowEvent } from './window-event-observer';
|
|
3
|
-
export type VCObserverEntryType = 'mutation:child-element' | 'mutation:remount' | 'mutation:element' | 'mutation:element-replacement' | 'mutation:display-contents-children-element' | 'mutation:display-contents-children-attribute' | 'mutation:attribute:no-layout-shift' | 'mutation:attribute:non-visual-style' | 'mutation:attribute:non-visual-input-name' | 'mutation:attribute' | 'mutation:media' | 'mutation:rll-placeholder' | 'mutation:third-party-element' | 'mutation:third-party-attribute' | 'mutation:smart-answers-element' | 'mutation:smart-answers-attribute' | 'mutation:ssr-placeholder' | 'layout-shift' | 'layout-shift:same-rect' | 'window:event' | 'ssr-hydration' | 'unknown';
|
|
3
|
+
export type VCObserverEntryType = 'mutation:child-element' | 'mutation:remount' | 'mutation:element' | 'mutation:element-replacement' | 'mutation:display-contents-children-element' | 'mutation:display-contents-children-attribute' | 'mutation:attribute:no-layout-shift' | 'mutation:attribute:non-visual-style' | 'mutation:attribute:non-visual-input-name' | 'mutation:attribute:framework-routing' | 'mutation:attribute' | 'mutation:media' | 'mutation:rll-placeholder' | 'mutation:third-party-element' | 'mutation:third-party-attribute' | 'mutation:smart-answers-element' | 'mutation:smart-answers-attribute' | 'mutation:ssr-placeholder' | 'layout-shift' | 'layout-shift:same-rect' | 'window:event' | 'ssr-hydration' | 'unknown';
|
|
4
4
|
export type ViewportEntryData = {
|
|
5
5
|
readonly type: VCObserverEntryType;
|
|
6
6
|
readonly elementName: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/react-ufo",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.3",
|
|
4
4
|
"description": "Parts of React UFO that are publicly available",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -123,6 +123,9 @@
|
|
|
123
123
|
"platform_ufo_exclude_3p_elements_from_ttai": {
|
|
124
124
|
"type": "boolean"
|
|
125
125
|
},
|
|
126
|
+
"platform_ufo_round_vc_ratios": {
|
|
127
|
+
"type": "boolean"
|
|
128
|
+
},
|
|
126
129
|
"platform_ufo_exclude_3p_elements_from_ttvc": {
|
|
127
130
|
"type": "boolean"
|
|
128
131
|
},
|
|
@@ -198,6 +201,9 @@
|
|
|
198
201
|
"platform_mark_ufo_segment_first_load": {
|
|
199
202
|
"type": "boolean"
|
|
200
203
|
},
|
|
204
|
+
"platform_ufo_vc_ignore_display_none_mutations": {
|
|
205
|
+
"type": "boolean"
|
|
206
|
+
},
|
|
201
207
|
"platform_ufo_keypress_interaction_abort": {
|
|
202
208
|
"type": "boolean"
|
|
203
209
|
},
|