@atlaskit/analytics-namespaced-context 6.9.0 → 6.9.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/AtlasAnalyticsContext/package.json +1 -1
- package/CHANGELOG.md +12 -0
- package/LinkingPlatformAnalyticsContext/package.json +1 -1
- package/MediaAnalyticsContext/package.json +1 -1
- package/NavigationAnalyticsContext/package.json +1 -1
- package/PeopleTeamsAnalyticsContext/package.json +1 -1
- package/PostOfficeAnalyticsContext/package.json +1 -1
- package/RecentWorkAnalyticsContext/package.json +1 -1
- package/dist/types/AIMateAnalyticsContext.d.ts +2 -2
- package/dist/types/AtlasAnalyticsContext.d.ts +2 -2
- package/dist/types/FabricEditorAnalyticsContext.d.ts +2 -2
- package/dist/types/FabricElementsAnalyticsContext.d.ts +2 -2
- package/dist/types/LinkingPlatformAnalyticsContext.d.ts +2 -2
- package/dist/types/NavigationAnalyticsContext.d.ts +2 -2
- package/dist/types/NotificationsAnalyticsContext.d.ts +2 -2
- package/dist/types/PeopleTeamsAnalyticsContext.d.ts +2 -2
- package/dist/types/PostOfficeAnalyticsContext.d.ts +2 -2
- package/dist/types/RecentWorkAnalyticsContext.d.ts +2 -2
- package/dist/types/helper/createNamespaceContext.d.ts +5 -4
- package/dist/types-ts4.5/AIMateAnalyticsContext.d.ts +2 -2
- package/dist/types-ts4.5/AtlasAnalyticsContext.d.ts +2 -2
- package/dist/types-ts4.5/FabricEditorAnalyticsContext.d.ts +2 -2
- package/dist/types-ts4.5/FabricElementsAnalyticsContext.d.ts +2 -2
- package/dist/types-ts4.5/LinkingPlatformAnalyticsContext.d.ts +2 -2
- package/dist/types-ts4.5/NavigationAnalyticsContext.d.ts +2 -2
- package/dist/types-ts4.5/NotificationsAnalyticsContext.d.ts +2 -2
- package/dist/types-ts4.5/PeopleTeamsAnalyticsContext.d.ts +2 -2
- package/dist/types-ts4.5/PostOfficeAnalyticsContext.d.ts +2 -2
- package/dist/types-ts4.5/RecentWorkAnalyticsContext.d.ts +2 -2
- package/dist/types-ts4.5/helper/createNamespaceContext.d.ts +5 -4
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/analytics-namespaced-context
|
|
2
2
|
|
|
3
|
+
## 6.9.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
8
|
+
|
|
9
|
+
## 6.9.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#80085](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80085) [`7febfed958dd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7febfed958dd) - Update usage of `React.FC` to explicity include `children`
|
|
14
|
+
|
|
3
15
|
## 6.9.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"module:es2019": "../dist/es2019/LinkingPlatformAnalyticsContext.js",
|
|
6
6
|
"types": "../dist/types/LinkingPlatformAnalyticsContext.d.ts",
|
|
7
7
|
"typesVersions": {
|
|
8
|
-
">=4.5 <4
|
|
8
|
+
">=4.5 <5.4": {
|
|
9
9
|
"*": [
|
|
10
10
|
"../dist/types-ts4.5/LinkingPlatformAnalyticsContext.d.ts"
|
|
11
11
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
import { Props } from './helper/createNamespaceContext';
|
|
3
3
|
export declare const AI_MATE_CONTEXT = "aiMateCtx";
|
|
4
|
-
export declare const AIMateAnalyticsContext:
|
|
4
|
+
export declare const AIMateAnalyticsContext: FunctionComponent<Props>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
import { Props } from './helper/createNamespaceContext';
|
|
3
3
|
export declare const ATLAS_CONTEXT = "atlasCtx";
|
|
4
|
-
export declare const AtlasAnalyticsContext:
|
|
4
|
+
export declare const AtlasAnalyticsContext: FunctionComponent<Props>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
import { Props } from './helper/createNamespaceContext';
|
|
3
3
|
export declare const EDITOR_CONTEXT = "fabricEditorCtx";
|
|
4
4
|
export declare enum EDITOR_APPEARANCE_CONTEXT {
|
|
@@ -17,5 +17,5 @@ type FabricEditorAnalyticsContextProps = Props & {
|
|
|
17
17
|
editorSessionId: string;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
-
export declare const FabricEditorAnalyticsContext:
|
|
20
|
+
export declare const FabricEditorAnalyticsContext: FunctionComponent<FabricEditorAnalyticsContextProps>;
|
|
21
21
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
import { Props } from './helper/createNamespaceContext';
|
|
3
3
|
export declare const ELEMENTS_CONTEXT = "fabricElementsCtx";
|
|
4
|
-
export declare const FabricElementsAnalyticsContext:
|
|
4
|
+
export declare const FabricElementsAnalyticsContext: FunctionComponent<Props>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
import { Props } from './helper/createNamespaceContext';
|
|
3
3
|
export declare const LINKING_PLATFORM_CONTEXT = "linkingPlatformCtx";
|
|
4
|
-
export declare const LinkingPlatformAnalyticsContext:
|
|
4
|
+
export declare const LinkingPlatformAnalyticsContext: FunctionComponent<Props>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
import { Props } from './helper/createNamespaceContext';
|
|
3
3
|
export declare const NAVIGATION_CONTEXT = "navigationCtx";
|
|
4
|
-
export declare const NavigationAnalyticsContext:
|
|
4
|
+
export declare const NavigationAnalyticsContext: FunctionComponent<Props>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
import { Props } from './helper/createNamespaceContext';
|
|
3
3
|
export declare const NOTIFICATIONS_CONTEXT = "NotificationsCtx";
|
|
4
|
-
export declare const NotificationsAnalyticsContext:
|
|
4
|
+
export declare const NotificationsAnalyticsContext: FunctionComponent<Props>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
import { Props } from './helper/createNamespaceContext';
|
|
3
3
|
export declare const PEOPLE_TEAMS_CONTEXT = "peopleTeamsCtx";
|
|
4
|
-
export declare const PeopleTeamsAnalyticsContext:
|
|
4
|
+
export declare const PeopleTeamsAnalyticsContext: FunctionComponent<Props>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
import { Props } from './helper/createNamespaceContext';
|
|
3
3
|
export declare const POST_OFFICE_CONTEXT = "postOfficeCtx";
|
|
4
|
-
export declare const PostOfficeAnalyticsContext:
|
|
4
|
+
export declare const PostOfficeAnalyticsContext: FunctionComponent<Props>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
import { Props } from './helper/createNamespaceContext';
|
|
3
3
|
export declare const RECENT_WORK_CONTEXT = "RecentWorkCtx";
|
|
4
|
-
export declare const RecentWorkAnalyticsContext:
|
|
4
|
+
export declare const RecentWorkAnalyticsContext: FunctionComponent<Props>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
export type Props = {
|
|
4
|
-
children?: ReactNode;
|
|
2
|
+
export type Props = React.PropsWithChildren<{
|
|
5
3
|
data: {};
|
|
4
|
+
}>;
|
|
5
|
+
declare const createNamespaceContext: <T extends Props>(namespace: string, displayName?: string) => {
|
|
6
|
+
(props: T): JSX.Element;
|
|
7
|
+
displayName: string;
|
|
6
8
|
};
|
|
7
|
-
declare const createNamespaceContext: <T extends Props>(namespace: string, displayName?: string) => React.StatelessComponent<T>;
|
|
8
9
|
export default createNamespaceContext;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
import { Props } from './helper/createNamespaceContext';
|
|
3
3
|
export declare const AI_MATE_CONTEXT = "aiMateCtx";
|
|
4
|
-
export declare const AIMateAnalyticsContext:
|
|
4
|
+
export declare const AIMateAnalyticsContext: FunctionComponent<Props>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
import { Props } from './helper/createNamespaceContext';
|
|
3
3
|
export declare const ATLAS_CONTEXT = "atlasCtx";
|
|
4
|
-
export declare const AtlasAnalyticsContext:
|
|
4
|
+
export declare const AtlasAnalyticsContext: FunctionComponent<Props>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
import { Props } from './helper/createNamespaceContext';
|
|
3
3
|
export declare const EDITOR_CONTEXT = "fabricEditorCtx";
|
|
4
4
|
export declare enum EDITOR_APPEARANCE_CONTEXT {
|
|
@@ -17,5 +17,5 @@ type FabricEditorAnalyticsContextProps = Props & {
|
|
|
17
17
|
editorSessionId: string;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
-
export declare const FabricEditorAnalyticsContext:
|
|
20
|
+
export declare const FabricEditorAnalyticsContext: FunctionComponent<FabricEditorAnalyticsContextProps>;
|
|
21
21
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
import { Props } from './helper/createNamespaceContext';
|
|
3
3
|
export declare const ELEMENTS_CONTEXT = "fabricElementsCtx";
|
|
4
|
-
export declare const FabricElementsAnalyticsContext:
|
|
4
|
+
export declare const FabricElementsAnalyticsContext: FunctionComponent<Props>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
import { Props } from './helper/createNamespaceContext';
|
|
3
3
|
export declare const LINKING_PLATFORM_CONTEXT = "linkingPlatformCtx";
|
|
4
|
-
export declare const LinkingPlatformAnalyticsContext:
|
|
4
|
+
export declare const LinkingPlatformAnalyticsContext: FunctionComponent<Props>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
import { Props } from './helper/createNamespaceContext';
|
|
3
3
|
export declare const NAVIGATION_CONTEXT = "navigationCtx";
|
|
4
|
-
export declare const NavigationAnalyticsContext:
|
|
4
|
+
export declare const NavigationAnalyticsContext: FunctionComponent<Props>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
import { Props } from './helper/createNamespaceContext';
|
|
3
3
|
export declare const NOTIFICATIONS_CONTEXT = "NotificationsCtx";
|
|
4
|
-
export declare const NotificationsAnalyticsContext:
|
|
4
|
+
export declare const NotificationsAnalyticsContext: FunctionComponent<Props>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
import { Props } from './helper/createNamespaceContext';
|
|
3
3
|
export declare const PEOPLE_TEAMS_CONTEXT = "peopleTeamsCtx";
|
|
4
|
-
export declare const PeopleTeamsAnalyticsContext:
|
|
4
|
+
export declare const PeopleTeamsAnalyticsContext: FunctionComponent<Props>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
import { Props } from './helper/createNamespaceContext';
|
|
3
3
|
export declare const POST_OFFICE_CONTEXT = "postOfficeCtx";
|
|
4
|
-
export declare const PostOfficeAnalyticsContext:
|
|
4
|
+
export declare const PostOfficeAnalyticsContext: FunctionComponent<Props>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
2
|
import { Props } from './helper/createNamespaceContext';
|
|
3
3
|
export declare const RECENT_WORK_CONTEXT = "RecentWorkCtx";
|
|
4
|
-
export declare const RecentWorkAnalyticsContext:
|
|
4
|
+
export declare const RecentWorkAnalyticsContext: FunctionComponent<Props>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
export type Props = {
|
|
4
|
-
children?: ReactNode;
|
|
2
|
+
export type Props = React.PropsWithChildren<{
|
|
5
3
|
data: {};
|
|
4
|
+
}>;
|
|
5
|
+
declare const createNamespaceContext: <T extends Props>(namespace: string, displayName?: string) => {
|
|
6
|
+
(props: T): JSX.Element;
|
|
7
|
+
displayName: string;
|
|
6
8
|
};
|
|
7
|
-
declare const createNamespaceContext: <T extends Props>(namespace: string, displayName?: string) => React.StatelessComponent<T>;
|
|
8
9
|
export default createNamespaceContext;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/analytics-namespaced-context",
|
|
3
|
-
"version": "6.9.
|
|
3
|
+
"version": "6.9.2",
|
|
4
4
|
"description": "Provides a namespace for AnalyticsContext data (@atlaskit/analytics-next)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
7
7
|
},
|
|
8
|
-
"repository": "https://bitbucket.org/atlassian/atlassian-frontend",
|
|
8
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
9
9
|
"author": "Atlassian Pty Ltd",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"main": "dist/cjs/index.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@atlaskit/analytics-next": "^9.
|
|
45
|
+
"@atlaskit/analytics-next": "^9.2.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
53
53
|
"@testing-library/react": "^12.1.5",
|
|
54
54
|
"react": "^16.8.0",
|
|
55
|
-
"typescript": "~4.
|
|
55
|
+
"typescript": "~5.4.2"
|
|
56
56
|
},
|
|
57
57
|
"keywords": [
|
|
58
58
|
"fabric",
|
|
59
59
|
"ui"
|
|
60
60
|
],
|
|
61
61
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
|
62
|
-
}
|
|
62
|
+
}
|