@atlaskit/react-ufo 5.0.3 → 5.0.5
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 +14 -0
- package/dist/cjs/vc/vc-observer-new/index.js +1 -1
- package/dist/cjs/vc/vc-observer-new/metric-calculator/abstract-base-vc-calculator.js +2 -4
- package/dist/es2019/vc/vc-observer-new/index.js +1 -1
- package/dist/es2019/vc/vc-observer-new/metric-calculator/abstract-base-vc-calculator.js +2 -4
- package/dist/esm/vc/vc-observer-new/index.js +1 -1
- package/dist/esm/vc/vc-observer-new/metric-calculator/abstract-base-vc-calculator.js +2 -4
- package/package.json +2 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/ufo-interaction-ignore
|
|
2
2
|
|
|
3
|
+
## 5.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d3ed1b65a2181`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d3ed1b65a2181) -
|
|
8
|
+
Add @atlassian/a11y-jest-testing to devDependencies.
|
|
9
|
+
|
|
10
|
+
## 5.0.4
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`461f1fb9cf949`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/461f1fb9cf949) -
|
|
15
|
+
FG cleanup - platform_ufo_add_segment_names_to_dom_offenders
|
|
16
|
+
|
|
3
17
|
## 5.0.3
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -93,7 +93,7 @@ var VCObserverNew = exports.default = /*#__PURE__*/function () {
|
|
|
93
93
|
oldValue: mutationData === null || mutationData === void 0 ? void 0 : mutationData.oldValue,
|
|
94
94
|
newValue: mutationData === null || mutationData === void 0 ? void 0 : mutationData.newValue
|
|
95
95
|
};
|
|
96
|
-
if (element
|
|
96
|
+
if (element) {
|
|
97
97
|
var labelStacks = getLabelStacks(element);
|
|
98
98
|
if (labelStacks) {
|
|
99
99
|
Object.assign(data, {
|
|
@@ -107,7 +107,7 @@ var AbstractVCCalculatorBase = exports.default = /*#__PURE__*/function () {
|
|
|
107
107
|
segment: _entry2.data.labelStacks.segment,
|
|
108
108
|
labelStack: _entry2.data.labelStacks.labelStack
|
|
109
109
|
};
|
|
110
|
-
} else
|
|
110
|
+
} else {
|
|
111
111
|
labelStacks[_entry2.data.elementName] = _entry2.data.labelStacks.labelStack;
|
|
112
112
|
}
|
|
113
113
|
}
|
|
@@ -439,9 +439,7 @@ var AbstractVCCalculatorBase = exports.default = /*#__PURE__*/function () {
|
|
|
439
439
|
if (ssrRatio !== -1) {
|
|
440
440
|
result.ssrRatio = ssrRatio;
|
|
441
441
|
}
|
|
442
|
-
|
|
443
|
-
result.labelStacks = this.getLabelStacks(filteredEntries, isPostInteraction);
|
|
444
|
-
}
|
|
442
|
+
result.labelStacks = this.getLabelStacks(filteredEntries, isPostInteraction);
|
|
445
443
|
return _context2.abrupt("return", result);
|
|
446
444
|
case 17:
|
|
447
445
|
case "end":
|
|
@@ -77,7 +77,7 @@ export default class VCObserverNew {
|
|
|
77
77
|
oldValue: mutationData === null || mutationData === void 0 ? void 0 : mutationData.oldValue,
|
|
78
78
|
newValue: mutationData === null || mutationData === void 0 ? void 0 : mutationData.newValue
|
|
79
79
|
};
|
|
80
|
-
if (element
|
|
80
|
+
if (element) {
|
|
81
81
|
const labelStacks = getLabelStacks(element);
|
|
82
82
|
if (labelStacks) {
|
|
83
83
|
Object.assign(data, {
|
|
@@ -57,7 +57,7 @@ export default class AbstractVCCalculatorBase {
|
|
|
57
57
|
segment: entry.data.labelStacks.segment,
|
|
58
58
|
labelStack: entry.data.labelStacks.labelStack
|
|
59
59
|
};
|
|
60
|
-
} else
|
|
60
|
+
} else {
|
|
61
61
|
labelStacks[entry.data.elementName] = entry.data.labelStacks.labelStack;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
@@ -318,9 +318,7 @@ export default class AbstractVCCalculatorBase {
|
|
|
318
318
|
if (ssrRatio !== -1) {
|
|
319
319
|
result.ssrRatio = ssrRatio;
|
|
320
320
|
}
|
|
321
|
-
|
|
322
|
-
result.labelStacks = this.getLabelStacks(filteredEntries, isPostInteraction);
|
|
323
|
-
}
|
|
321
|
+
result.labelStacks = this.getLabelStacks(filteredEntries, isPostInteraction);
|
|
324
322
|
return result;
|
|
325
323
|
}
|
|
326
324
|
}
|
|
@@ -86,7 +86,7 @@ var VCObserverNew = /*#__PURE__*/function () {
|
|
|
86
86
|
oldValue: mutationData === null || mutationData === void 0 ? void 0 : mutationData.oldValue,
|
|
87
87
|
newValue: mutationData === null || mutationData === void 0 ? void 0 : mutationData.newValue
|
|
88
88
|
};
|
|
89
|
-
if (element
|
|
89
|
+
if (element) {
|
|
90
90
|
var labelStacks = getLabelStacks(element);
|
|
91
91
|
if (labelStacks) {
|
|
92
92
|
Object.assign(data, {
|
|
@@ -101,7 +101,7 @@ var AbstractVCCalculatorBase = /*#__PURE__*/function () {
|
|
|
101
101
|
segment: _entry2.data.labelStacks.segment,
|
|
102
102
|
labelStack: _entry2.data.labelStacks.labelStack
|
|
103
103
|
};
|
|
104
|
-
} else
|
|
104
|
+
} else {
|
|
105
105
|
labelStacks[_entry2.data.elementName] = _entry2.data.labelStacks.labelStack;
|
|
106
106
|
}
|
|
107
107
|
}
|
|
@@ -433,9 +433,7 @@ var AbstractVCCalculatorBase = /*#__PURE__*/function () {
|
|
|
433
433
|
if (ssrRatio !== -1) {
|
|
434
434
|
result.ssrRatio = ssrRatio;
|
|
435
435
|
}
|
|
436
|
-
|
|
437
|
-
result.labelStacks = this.getLabelStacks(filteredEntries, isPostInteraction);
|
|
438
|
-
}
|
|
436
|
+
result.labelStacks = this.getLabelStacks(filteredEntries, isPostInteraction);
|
|
439
437
|
return _context2.abrupt("return", result);
|
|
440
438
|
case 17:
|
|
441
439
|
case "end":
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/react-ufo",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.5",
|
|
4
4
|
"description": "Parts of React UFO that are publicly available",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@af/integration-testing": "workspace:^",
|
|
45
|
+
"@atlassian/a11y-jest-testing": "^0.8.0",
|
|
45
46
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
46
47
|
"@testing-library/react": "^16.3.0",
|
|
47
48
|
"@types/is-ci": "^3.0.0",
|
|
@@ -156,9 +157,6 @@
|
|
|
156
157
|
"platform_ufo_enable_late_holds_post_interaction": {
|
|
157
158
|
"type": "boolean"
|
|
158
159
|
},
|
|
159
|
-
"platform_ufo_add_segment_names_to_dom_offenders": {
|
|
160
|
-
"type": "boolean"
|
|
161
|
-
},
|
|
162
160
|
"platform_ufo_filter_cls_logs_same_rects_positions": {
|
|
163
161
|
"type": "boolean"
|
|
164
162
|
},
|