@atlaskit/analytics-namespaced-context 6.7.1 → 6.7.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 +12 -0
- package/dist/types-ts4.5/AtlasAnalyticsContext.d.ts +4 -0
- package/dist/types-ts4.5/FabricEditorAnalyticsContext.d.ts +21 -0
- package/dist/types-ts4.5/FabricElementsAnalyticsContext.d.ts +4 -0
- package/dist/types-ts4.5/LinkingPlatformAnalyticsContext.d.ts +4 -0
- package/dist/types-ts4.5/MediaAnalyticsContext.d.ts +1 -0
- package/dist/types-ts4.5/NavigationAnalyticsContext.d.ts +4 -0
- package/dist/types-ts4.5/NotificationsAnalyticsContext.d.ts +4 -0
- package/dist/types-ts4.5/PeopleTeamsAnalyticsContext.d.ts +4 -0
- package/dist/types-ts4.5/RecentWorkAnalyticsContext.d.ts +4 -0
- package/dist/types-ts4.5/helper/createNamespaceContext.d.ts +8 -0
- package/dist/types-ts4.5/index.d.ts +9 -0
- package/package.json +2 -5
- package/dist/cjs/version.json +0 -4
- package/dist/es2019/version.json +0 -4
- package/dist/esm/version.json +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/analytics-namespaced-context
|
|
2
2
|
|
|
3
|
+
## 6.7.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
8
|
+
|
|
9
|
+
## 6.7.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
14
|
+
|
|
3
15
|
## 6.7.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { StatelessComponent } from 'react';
|
|
2
|
+
import { Props } from './helper/createNamespaceContext';
|
|
3
|
+
export declare const EDITOR_CONTEXT = "fabricEditorCtx";
|
|
4
|
+
export declare enum EDITOR_APPEARANCE_CONTEXT {
|
|
5
|
+
FIXED_WIDTH = "fixedWidth",
|
|
6
|
+
FULL_WIDTH = "fullWidth",
|
|
7
|
+
COMMENT = "comment",
|
|
8
|
+
CHROMELESS = "chromeless",
|
|
9
|
+
MOBILE = "mobile"
|
|
10
|
+
}
|
|
11
|
+
type FabricEditorAnalyticsContextProps = Props & {
|
|
12
|
+
data: {
|
|
13
|
+
appearance: EDITOR_APPEARANCE_CONTEXT | undefined;
|
|
14
|
+
packageName: string;
|
|
15
|
+
packageVersion: string;
|
|
16
|
+
componentName: 'renderer' | 'editorCore';
|
|
17
|
+
editorSessionId: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export declare const FabricEditorAnalyticsContext: StatelessComponent<FabricEditorAnalyticsContextProps>;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MEDIA_CONTEXT = "mediaCtx";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
export type Props = {
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
data: {};
|
|
6
|
+
};
|
|
7
|
+
declare const createNamespaceContext: <T extends Props>(namespace: string, displayName?: string) => React.StatelessComponent<T>;
|
|
8
|
+
export default createNamespaceContext;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { ELEMENTS_CONTEXT, FabricElementsAnalyticsContext, } from './FabricElementsAnalyticsContext';
|
|
2
|
+
export { NAVIGATION_CONTEXT, NavigationAnalyticsContext, } from './NavigationAnalyticsContext';
|
|
3
|
+
export { EDITOR_CONTEXT, EDITOR_APPEARANCE_CONTEXT, FabricEditorAnalyticsContext, } from './FabricEditorAnalyticsContext';
|
|
4
|
+
export { MEDIA_CONTEXT } from './MediaAnalyticsContext';
|
|
5
|
+
export { PEOPLE_TEAMS_CONTEXT, PeopleTeamsAnalyticsContext, } from './PeopleTeamsAnalyticsContext';
|
|
6
|
+
export { NOTIFICATIONS_CONTEXT, NotificationsAnalyticsContext, } from './NotificationsAnalyticsContext';
|
|
7
|
+
export { RECENT_WORK_CONTEXT, RecentWorkAnalyticsContext, } from './RecentWorkAnalyticsContext';
|
|
8
|
+
export { ATLAS_CONTEXT, AtlasAnalyticsContext } from './AtlasAnalyticsContext';
|
|
9
|
+
export { LINKING_PLATFORM_CONTEXT, LinkingPlatformAnalyticsContext, } from './LinkingPlatformAnalyticsContext';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/analytics-namespaced-context",
|
|
3
|
-
"version": "6.7.
|
|
3
|
+
"version": "6.7.3",
|
|
4
4
|
"description": "Provides a namespace for AnalyticsContext data (@atlaskit/analytics-next)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -45,11 +45,8 @@
|
|
|
45
45
|
"react": "^16.8.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@atlaskit/analytics-listeners": "^8.7.0",
|
|
49
|
-
"@atlaskit/docs": "*",
|
|
50
48
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
51
|
-
"
|
|
52
|
-
"enzyme-adapter-react-16": "^1.15.1",
|
|
49
|
+
"@testing-library/react": "^12.1.5",
|
|
53
50
|
"react": "^16.8.0",
|
|
54
51
|
"typescript": "~4.9.5"
|
|
55
52
|
},
|
package/dist/cjs/version.json
DELETED
package/dist/es2019/version.json
DELETED
package/dist/esm/version.json
DELETED