@atlaskit/react-ufo 4.2.1 → 4.2.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 +7 -0
- package/dist/cjs/vc/vc-observer-new/metric-calculator/fy25_03/index.js +1 -1
- package/dist/cjs/vc/vc-observer-new/viewport-observer/index.js +1 -1
- package/dist/es2019/vc/vc-observer-new/metric-calculator/fy25_03/index.js +1 -1
- package/dist/es2019/vc/vc-observer-new/viewport-observer/index.js +1 -1
- package/dist/esm/vc/vc-observer-new/metric-calculator/fy25_03/index.js +1 -1
- package/dist/esm/vc/vc-observer-new/viewport-observer/index.js +1 -1
- package/dist/types/create-payload/index.d.ts +1664 -1664
- package/dist/types/create-payload/utils/get-browser-metadata.d.ts +5 -5
- package/dist/types/interaction-id-context/index.d.ts +0 -1
- package/dist/types/placeholder/loosely-lazy/wait-context.d.ts +0 -1
- package/dist/types/typing-performance-tracing/index.d.ts +0 -1
- package/dist/types-ts4.5/create-payload/index.d.ts +1664 -1664
- package/dist/types-ts4.5/create-payload/utils/get-browser-metadata.d.ts +5 -5
- package/dist/types-ts4.5/interaction-id-context/index.d.ts +0 -1
- package/dist/types-ts4.5/placeholder/loosely-lazy/wait-context.d.ts +0 -1
- package/dist/types-ts4.5/typing-performance-tracing/index.d.ts +0 -1
- package/package.json +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/ufo-interaction-ignore
|
|
2
2
|
|
|
3
|
+
## 4.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`9675be5a4df37`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9675be5a4df37) -
|
|
8
|
+
FG cleanup - platform_ufo_ttvc_exclude_data_test_attribute
|
|
9
|
+
|
|
3
10
|
## 4.2.1
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -56,7 +56,7 @@ var VCCalculator_FY25_03 = exports.default = /*#__PURE__*/function (_AbstractVCC
|
|
|
56
56
|
if (!attributeName || KNOWN_ATTRIBUTES_THAT_DOES_NOT_CAUSE_LAYOUT_SHIFTS.includes(attributeName)) {
|
|
57
57
|
return false;
|
|
58
58
|
}
|
|
59
|
-
if (attributeName.startsWith('data-test')
|
|
59
|
+
if (attributeName.startsWith('data-test') || attributeName === 'data-aui-version' || attributeName === 'data-testid' || attributeName === 'data-vc' || attributeName === 'data-ssr-placeholder' || attributeName === 'data-ssr-placeholder-replace' || attributeName === 'data-vc-nvs' || attributeName === 'data-media-vc-wrapper' || attributeName === 'data-renderer-start-pos' || attributeName === 'data-table-local-id' || attributeName === 'spellcheck' || attributeName === 'data-auto-scrollable' || attributeName === 'id' || attributeName === 'tabindex' || attributeName === 'data-is-ttvc-ready' || NON_VISUAL_ARIA_ATTRIBUTES.includes(attributeName)) {
|
|
60
60
|
return false;
|
|
61
61
|
}
|
|
62
62
|
return true;
|
|
@@ -422,7 +422,7 @@ var ViewportObserver = exports.default = /*#__PURE__*/function () {
|
|
|
422
422
|
(_this$performanceObse = this.performanceObserver) === null || _this$performanceObse === void 0 || _this$performanceObse.observe({
|
|
423
423
|
type: 'layout-shift',
|
|
424
424
|
buffered: true,
|
|
425
|
-
// @ts-ignore-error
|
|
425
|
+
// @ts-ignore -error
|
|
426
426
|
durationThreshold: 30
|
|
427
427
|
});
|
|
428
428
|
this.isStarted = true;
|
|
@@ -38,7 +38,7 @@ export default class VCCalculator_FY25_03 extends AbstractVCCalculatorBase {
|
|
|
38
38
|
if (!attributeName || KNOWN_ATTRIBUTES_THAT_DOES_NOT_CAUSE_LAYOUT_SHIFTS.includes(attributeName)) {
|
|
39
39
|
return false;
|
|
40
40
|
}
|
|
41
|
-
if (attributeName.startsWith('data-test')
|
|
41
|
+
if (attributeName.startsWith('data-test') || attributeName === 'data-aui-version' || attributeName === 'data-testid' || attributeName === 'data-vc' || attributeName === 'data-ssr-placeholder' || attributeName === 'data-ssr-placeholder-replace' || attributeName === 'data-vc-nvs' || attributeName === 'data-media-vc-wrapper' || attributeName === 'data-renderer-start-pos' || attributeName === 'data-table-local-id' || attributeName === 'spellcheck' || attributeName === 'data-auto-scrollable' || attributeName === 'id' || attributeName === 'tabindex' || attributeName === 'data-is-ttvc-ready' || NON_VISUAL_ARIA_ATTRIBUTES.includes(attributeName)) {
|
|
42
42
|
return false;
|
|
43
43
|
}
|
|
44
44
|
return true;
|
|
@@ -316,7 +316,7 @@ export default class ViewportObserver {
|
|
|
316
316
|
(_this$performanceObse = this.performanceObserver) === null || _this$performanceObse === void 0 ? void 0 : _this$performanceObse.observe({
|
|
317
317
|
type: 'layout-shift',
|
|
318
318
|
buffered: true,
|
|
319
|
-
// @ts-ignore-error
|
|
319
|
+
// @ts-ignore -error
|
|
320
320
|
durationThreshold: 30
|
|
321
321
|
});
|
|
322
322
|
this.isStarted = true;
|
|
@@ -49,7 +49,7 @@ var VCCalculator_FY25_03 = /*#__PURE__*/function (_AbstractVCCalculator) {
|
|
|
49
49
|
if (!attributeName || KNOWN_ATTRIBUTES_THAT_DOES_NOT_CAUSE_LAYOUT_SHIFTS.includes(attributeName)) {
|
|
50
50
|
return false;
|
|
51
51
|
}
|
|
52
|
-
if (attributeName.startsWith('data-test')
|
|
52
|
+
if (attributeName.startsWith('data-test') || attributeName === 'data-aui-version' || attributeName === 'data-testid' || attributeName === 'data-vc' || attributeName === 'data-ssr-placeholder' || attributeName === 'data-ssr-placeholder-replace' || attributeName === 'data-vc-nvs' || attributeName === 'data-media-vc-wrapper' || attributeName === 'data-renderer-start-pos' || attributeName === 'data-table-local-id' || attributeName === 'spellcheck' || attributeName === 'data-auto-scrollable' || attributeName === 'id' || attributeName === 'tabindex' || attributeName === 'data-is-ttvc-ready' || NON_VISUAL_ARIA_ATTRIBUTES.includes(attributeName)) {
|
|
53
53
|
return false;
|
|
54
54
|
}
|
|
55
55
|
return true;
|
|
@@ -413,7 +413,7 @@ var ViewportObserver = /*#__PURE__*/function () {
|
|
|
413
413
|
(_this$performanceObse = this.performanceObserver) === null || _this$performanceObse === void 0 || _this$performanceObse.observe({
|
|
414
414
|
type: 'layout-shift',
|
|
415
415
|
buffered: true,
|
|
416
|
-
// @ts-ignore-error
|
|
416
|
+
// @ts-ignore -error
|
|
417
417
|
durationThreshold: 30
|
|
418
418
|
});
|
|
419
419
|
this.isStarted = true;
|