@atlaskit/react-ufo 3.14.1 → 3.14.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 +16 -0
- package/dist/cjs/create-payload/common/utils/index.js +9 -3
- package/dist/cjs/segment/segment.js +10 -4
- package/dist/cjs/vc/vc-observer-new/metric-calculator/fy25_03/index.js +1 -4
- package/dist/es2019/create-payload/common/utils/index.js +9 -1
- package/dist/es2019/segment/segment.js +12 -4
- package/dist/es2019/vc/vc-observer-new/metric-calculator/fy25_03/index.js +1 -4
- package/dist/esm/create-payload/common/utils/index.js +9 -3
- package/dist/esm/segment/segment.js +10 -4
- package/dist/esm/vc/vc-observer-new/metric-calculator/fy25_03/index.js +1 -4
- package/dist/types/create-payload/common/utils/index.d.ts +3 -0
- package/dist/types/create-payload/index.d.ts +640 -0
- package/dist/types/create-post-interaction-log-payload/get-late-mutations.d.ts +1 -1
- package/dist/types/create-post-interaction-log-payload/index.d.ts +4 -4
- package/dist/types/interaction-context/index.d.ts +2 -0
- package/dist/types/interaction-ignore/ufo-interaction-ignore.d.ts +1 -1
- package/dist/types/segment/third-party-segment.d.ts +1 -1
- package/dist/types/vc/vc-observer-new/viewport-observer/utils/get-component-name-and-child-props.d.ts +2 -2
- package/dist/types-ts4.5/create-payload/common/utils/index.d.ts +3 -0
- package/dist/types-ts4.5/create-payload/index.d.ts +640 -0
- package/dist/types-ts4.5/create-post-interaction-log-payload/get-late-mutations.d.ts +1 -1
- package/dist/types-ts4.5/create-post-interaction-log-payload/index.d.ts +4 -4
- package/dist/types-ts4.5/interaction-context/index.d.ts +2 -0
- package/dist/types-ts4.5/interaction-ignore/ufo-interaction-ignore.d.ts +1 -1
- package/dist/types-ts4.5/segment/third-party-segment.d.ts +1 -1
- package/dist/types-ts4.5/vc/vc-observer-new/viewport-observer/utils/get-component-name-and-child-props.d.ts +2 -2
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LastInteractionFinishInfo } from '../common';
|
|
2
|
-
import { LateMutation } from '../common/react-ufo-payload-schema';
|
|
2
|
+
import type { LateMutation } from '../common/react-ufo-payload-schema';
|
|
3
3
|
import type { RevisionPayloadVCDetails } from '../common/vc/types';
|
|
4
4
|
declare function getLateMutations(vcDetails: RevisionPayloadVCDetails, lastInteractionFinish: LastInteractionFinishInfo, postInteractionFinishVCRatios: Record<string, number>): LateMutation[];
|
|
5
5
|
export default getLateMutations;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PostInteractionLogOutput } from '../common';
|
|
2
|
-
import { LateMutation } from '../common/react-ufo-payload-schema';
|
|
2
|
+
import type { LateMutation } from '../common/react-ufo-payload-schema';
|
|
3
3
|
declare function createPostInteractionLogPayload({ lastInteractionFinish, reactProfilerTimings, lastInteractionFinishVCResult, postInteractionFinishVCResult, }: PostInteractionLogOutput): {
|
|
4
4
|
actionSubject: string;
|
|
5
5
|
action: string;
|
|
@@ -26,13 +26,13 @@ declare function createPostInteractionLogPayload({ lastInteractionFinish, reactP
|
|
|
26
26
|
vc90: number | null;
|
|
27
27
|
vcClean: boolean;
|
|
28
28
|
type: import("../common").InteractionType;
|
|
29
|
-
id: string;
|
|
30
29
|
abortReason?: import("../common").AbortReasonType | undefined;
|
|
30
|
+
id: string;
|
|
31
|
+
errors: import("../common").InteractionError[];
|
|
31
32
|
abortedByInteractionName?: string | undefined;
|
|
32
33
|
routeName: string | null;
|
|
33
|
-
experimentalVC90?: number | undefined;
|
|
34
34
|
experimentalTTAI?: number | undefined;
|
|
35
|
-
|
|
35
|
+
experimentalVC90?: number | undefined;
|
|
36
36
|
};
|
|
37
37
|
revisedEndTime: number;
|
|
38
38
|
revisedTtai: number;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type Context } from 'react';
|
|
2
2
|
import { type InteractionContextType } from '@atlaskit/interaction-context';
|
|
3
|
+
import { UFOSegmentType } from '../segment/segment';
|
|
3
4
|
export type CustomData = {
|
|
4
5
|
[key: string]: null | string | number | boolean | undefined | CustomData;
|
|
5
6
|
};
|
|
@@ -16,6 +17,7 @@ export type SegmentLabel = Readonly<{
|
|
|
16
17
|
name: string;
|
|
17
18
|
segmentId?: string;
|
|
18
19
|
mode?: 'list' | 'single';
|
|
20
|
+
type?: UFOSegmentType;
|
|
19
21
|
}>;
|
|
20
22
|
export type LabelStack = ReadonlyArray<SegmentLabel | Label>;
|
|
21
23
|
export interface UFOInteractionContextType extends InteractionContextType {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UFOIgnoreHoldsProps } from '../ignore-holds';
|
|
2
|
+
import { type UFOIgnoreHoldsProps } from '../ignore-holds';
|
|
3
3
|
/**
|
|
4
4
|
* Legacy wrapper component that delegates to `UFOIgnoreHolds`.
|
|
5
5
|
* Use `UFOIgnoreHolds` instead for new implementations.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Props as SegmentProps } from './segment';
|
|
2
|
+
import { type Props as SegmentProps } from './segment';
|
|
3
3
|
export declare function UFOThirdPartySegment(props: Omit<SegmentProps, 'type'>): React.JSX.Element;
|
|
4
4
|
export declare namespace UFOThirdPartySegment {
|
|
5
5
|
var displayName: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { UFOIgnoreHoldsReason } from '../../../../ignore-holds';
|
|
2
|
-
import { VCObserverEntryType } from '../../types';
|
|
1
|
+
import type { UFOIgnoreHoldsReason } from '../../../../ignore-holds';
|
|
2
|
+
import type { VCObserverEntryType } from '../../types';
|
|
3
3
|
export declare function checkWithinComponentAndExtractChildProps<T = string>(node: HTMLElement, targetComponentName: string, childComponentConfig?: {
|
|
4
4
|
componentName: string;
|
|
5
5
|
propName: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/react-ufo",
|
|
3
|
-
"version": "3.14.
|
|
3
|
+
"version": "3.14.3",
|
|
4
4
|
"description": "Parts of React UFO that are publicly available",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -157,9 +157,6 @@
|
|
|
157
157
|
"platform_ufo_enable_events_observer": {
|
|
158
158
|
"type": "boolean"
|
|
159
159
|
},
|
|
160
|
-
"platform_ufo_filter_out_aui_attribute_changes": {
|
|
161
|
-
"type": "boolean"
|
|
162
|
-
},
|
|
163
160
|
"platform_ufo_vc_observer_new_ssr_abort_listener": {
|
|
164
161
|
"type": "boolean"
|
|
165
162
|
},
|
|
@@ -198,6 +195,9 @@
|
|
|
198
195
|
},
|
|
199
196
|
"platform_ufo_exclude_3p_elements_from_ttvc": {
|
|
200
197
|
"type": "boolean"
|
|
198
|
+
},
|
|
199
|
+
"platform_ufo_add_type_for_3p_segments": {
|
|
200
|
+
"type": "boolean"
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
}
|