@atlaskit/analytics-namespaced-context 7.0.1 → 7.1.0

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.
Files changed (37) hide show
  1. package/AtlasAnalyticsContext/package.json +1 -1
  2. package/CHANGELOG.md +15 -0
  3. package/FabricEditorAnalyticsContext/package.json +1 -1
  4. package/LinkingPlatformAnalyticsContext/package.json +1 -1
  5. package/MediaAnalyticsContext/package.json +1 -1
  6. package/NavigationAnalyticsContext/package.json +1 -1
  7. package/PeopleTeamsAnalyticsContext/package.json +1 -1
  8. package/PostOfficeAnalyticsContext/package.json +1 -1
  9. package/RecentWorkAnalyticsContext/package.json +1 -1
  10. package/afm-adminhub/tsconfig.json +30 -0
  11. package/afm-cc/tsconfig.json +29 -23
  12. package/afm-dev-agents/tsconfig.json +30 -0
  13. package/afm-jira/tsconfig.json +7 -1
  14. package/afm-passionfruit/tsconfig.json +7 -1
  15. package/afm-post-office/tsconfig.json +7 -1
  16. package/afm-rovo-extension/tsconfig.json +30 -0
  17. package/afm-townsquare/tsconfig.json +7 -1
  18. package/afm-volt/tsconfig.json +30 -0
  19. package/build/tsconfig.json +8 -2
  20. package/dist/cjs/TownsquareHomeAnalyticsContext.js +10 -0
  21. package/dist/cjs/index.js +13 -0
  22. package/dist/es2019/TownsquareHomeAnalyticsContext.js +3 -0
  23. package/dist/es2019/index.js +1 -0
  24. package/dist/esm/TownsquareHomeAnalyticsContext.js +3 -0
  25. package/dist/esm/index.js +1 -0
  26. package/dist/types/FabricEditorAnalyticsContext.d.ts +2 -2
  27. package/dist/types/GrowthAnalyticsContext.d.ts +0 -1
  28. package/dist/types/OmniChannelAnalyticsContext.d.ts +1 -1
  29. package/dist/types/TownsquareHomeAnalyticsContext.d.ts +4 -0
  30. package/dist/types/index.d.ts +1 -0
  31. package/dist/types-ts4.5/FabricEditorAnalyticsContext.d.ts +2 -2
  32. package/dist/types-ts4.5/GrowthAnalyticsContext.d.ts +0 -1
  33. package/dist/types-ts4.5/OmniChannelAnalyticsContext.d.ts +1 -1
  34. package/dist/types-ts4.5/TownsquareHomeAnalyticsContext.d.ts +4 -0
  35. package/dist/types-ts4.5/index.d.ts +1 -0
  36. package/package.json +3 -16
  37. package/tsconfig.json +8 -3
@@ -5,7 +5,7 @@
5
5
  "module:es2019": "../dist/es2019/AtlasAnalyticsContext.js",
6
6
  "types": "../dist/types/AtlasAnalyticsContext.d.ts",
7
7
  "typesVersions": {
8
- ">=4.5 <5.4": {
8
+ ">=4.5 <5.9": {
9
9
  "*": [
10
10
  "../dist/types-ts4.5/AtlasAnalyticsContext.d.ts"
11
11
  ]
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/analytics-namespaced-context
2
2
 
3
+ ## 7.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`1ebd81a691a2a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1ebd81a691a2a) -
8
+ Added townsquareHome FabricChannel
9
+
10
+ ## 7.0.2
11
+
12
+ ### Patch Changes
13
+
14
+ - [`3298a6307027c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3298a6307027c) -
15
+ Sorted type and interface props to improve Atlaskit docs
16
+ - Updated dependencies
17
+
3
18
  ## 7.0.1
4
19
 
5
20
  ### Patch Changes
@@ -5,7 +5,7 @@
5
5
  "module:es2019": "../dist/es2019/FabricEditorAnalyticsContext.js",
6
6
  "types": "../dist/types/FabricEditorAnalyticsContext.d.ts",
7
7
  "typesVersions": {
8
- ">=4.5 <5.4": {
8
+ ">=4.5 <5.9": {
9
9
  "*": [
10
10
  "../dist/types-ts4.5/FabricEditorAnalyticsContext.d.ts"
11
11
  ]
@@ -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 <5.4": {
8
+ ">=4.5 <5.9": {
9
9
  "*": [
10
10
  "../dist/types-ts4.5/LinkingPlatformAnalyticsContext.d.ts"
11
11
  ]
@@ -5,7 +5,7 @@
5
5
  "module:es2019": "../dist/es2019/MediaAnalyticsContext.js",
6
6
  "types": "../dist/types/MediaAnalyticsContext.d.ts",
7
7
  "typesVersions": {
8
- ">=4.5 <5.4": {
8
+ ">=4.5 <5.9": {
9
9
  "*": [
10
10
  "../dist/types-ts4.5/MediaAnalyticsContext.d.ts"
11
11
  ]
@@ -5,7 +5,7 @@
5
5
  "module:es2019": "../dist/es2019/NavigationAnalyticsContext.js",
6
6
  "types": "../dist/types/NavigationAnalyticsContext.d.ts",
7
7
  "typesVersions": {
8
- ">=4.5 <5.4": {
8
+ ">=4.5 <5.9": {
9
9
  "*": [
10
10
  "../dist/types-ts4.5/NavigationAnalyticsContext.d.ts"
11
11
  ]
@@ -5,7 +5,7 @@
5
5
  "module:es2019": "../dist/es2019/PeopleTeamsAnalyticsContext.js",
6
6
  "types": "../dist/types/PeopleTeamsAnalyticsContext.d.ts",
7
7
  "typesVersions": {
8
- ">=4.5 <5.4": {
8
+ ">=4.5 <5.9": {
9
9
  "*": [
10
10
  "../dist/types-ts4.5/PeopleTeamsAnalyticsContext.d.ts"
11
11
  ]
@@ -5,7 +5,7 @@
5
5
  "module:es2019": "../dist/es2019/PostOfficeAnalyticsContext.js",
6
6
  "types": "../dist/types/PostOfficeAnalyticsContext.d.ts",
7
7
  "typesVersions": {
8
- ">=4.5 <5.4": {
8
+ ">=4.5 <5.9": {
9
9
  "*": [
10
10
  "../dist/types-ts4.5/PostOfficeAnalyticsContext.d.ts"
11
11
  ]
@@ -5,7 +5,7 @@
5
5
  "module:es2019": "../dist/es2019/RecentWorkAnalyticsContext.js",
6
6
  "types": "../dist/types/RecentWorkAnalyticsContext.d.ts",
7
7
  "typesVersions": {
8
- ">=4.5 <5.4": {
8
+ ">=4.5 <5.9": {
9
9
  "*": [
10
10
  "../dist/types-ts4.5/RecentWorkAnalyticsContext.d.ts"
11
11
  ]
@@ -0,0 +1,30 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.adminhub.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../adminhub/tsDist/@atlaskit__analytics-namespaced-context/app",
7
+ "rootDir": "../",
8
+ "composite": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*",
18
+ "../src/**/examples.*",
19
+ "../src/**/examples/*",
20
+ "../src/**/examples/**/*",
21
+ "../src/**/*.stories.*",
22
+ "../src/**/stories/*",
23
+ "../src/**/stories/**/*"
24
+ ],
25
+ "references": [
26
+ {
27
+ "path": "../../analytics-next/afm-adminhub/tsconfig.json"
28
+ }
29
+ ]
30
+ }
@@ -1,24 +1,30 @@
1
1
  {
2
- "extends": "../../../../tsconfig.entry-points.confluence.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "composite": true,
7
- "outDir": "../../../../../confluence/tsDist/@atlaskit__analytics-namespaced-context",
8
- "rootDir": "../"
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*"
18
- ],
19
- "references": [
20
- {
21
- "path": "../../analytics-next/afm-cc/tsconfig.json"
22
- }
23
- ]
24
- }
2
+ "extends": "../../../../tsconfig.entry-points.confluence.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../confluence/tsDist/@atlaskit__analytics-namespaced-context",
7
+ "rootDir": "../",
8
+ "composite": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*",
18
+ "../src/**/examples.*",
19
+ "../src/**/examples/*",
20
+ "../src/**/examples/**/*",
21
+ "../src/**/*.stories.*",
22
+ "../src/**/stories/*",
23
+ "../src/**/stories/**/*"
24
+ ],
25
+ "references": [
26
+ {
27
+ "path": "../../analytics-next/afm-cc/tsconfig.json"
28
+ }
29
+ ]
30
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.dev-agents.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../dev-agents/tsDist/@atlaskit__analytics-namespaced-context/app",
7
+ "rootDir": "../",
8
+ "composite": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*",
18
+ "../src/**/examples.*",
19
+ "../src/**/examples/*",
20
+ "../src/**/examples/**/*",
21
+ "../src/**/*.stories.*",
22
+ "../src/**/stories/*",
23
+ "../src/**/stories/**/*"
24
+ ],
25
+ "references": [
26
+ {
27
+ "path": "../../analytics-next/afm-dev-agents/tsconfig.json"
28
+ }
29
+ ]
30
+ }
@@ -14,7 +14,13 @@
14
14
  "exclude": [
15
15
  "../src/**/__tests__/*",
16
16
  "../src/**/*.test.*",
17
- "../src/**/test.*"
17
+ "../src/**/test.*",
18
+ "../src/**/examples.*",
19
+ "../src/**/examples/*",
20
+ "../src/**/examples/**/*",
21
+ "../src/**/*.stories.*",
22
+ "../src/**/stories/*",
23
+ "../src/**/stories/**/*"
18
24
  ],
19
25
  "references": [
20
26
  {
@@ -14,7 +14,13 @@
14
14
  "exclude": [
15
15
  "../src/**/__tests__/*",
16
16
  "../src/**/*.test.*",
17
- "../src/**/test.*"
17
+ "../src/**/test.*",
18
+ "../src/**/examples.*",
19
+ "../src/**/examples/*",
20
+ "../src/**/examples/**/*",
21
+ "../src/**/*.stories.*",
22
+ "../src/**/stories/*",
23
+ "../src/**/stories/**/*"
18
24
  ],
19
25
  "references": [
20
26
  {
@@ -14,7 +14,13 @@
14
14
  "exclude": [
15
15
  "../src/**/__tests__/*",
16
16
  "../src/**/*.test.*",
17
- "../src/**/test.*"
17
+ "../src/**/test.*",
18
+ "../src/**/examples.*",
19
+ "../src/**/examples/*",
20
+ "../src/**/examples/**/*",
21
+ "../src/**/*.stories.*",
22
+ "../src/**/stories/*",
23
+ "../src/**/stories/**/*"
18
24
  ],
19
25
  "references": [
20
26
  {
@@ -0,0 +1,30 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.rovo-extension.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../rovo-extension/tsDist/@atlaskit__analytics-namespaced-context/app",
7
+ "rootDir": "../",
8
+ "composite": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*",
18
+ "../src/**/examples.*",
19
+ "../src/**/examples/*",
20
+ "../src/**/examples/**/*",
21
+ "../src/**/*.stories.*",
22
+ "../src/**/stories/*",
23
+ "../src/**/stories/**/*"
24
+ ],
25
+ "references": [
26
+ {
27
+ "path": "../../analytics-next/afm-rovo-extension/tsconfig.json"
28
+ }
29
+ ]
30
+ }
@@ -14,7 +14,13 @@
14
14
  "exclude": [
15
15
  "../src/**/__tests__/*",
16
16
  "../src/**/*.test.*",
17
- "../src/**/test.*"
17
+ "../src/**/test.*",
18
+ "../src/**/examples.*",
19
+ "../src/**/examples/*",
20
+ "../src/**/examples/**/*",
21
+ "../src/**/*.stories.*",
22
+ "../src/**/stories/*",
23
+ "../src/**/stories/**/*"
18
24
  ],
19
25
  "references": [
20
26
  {
@@ -0,0 +1,30 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.volt.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../volt/tsDist/@atlaskit__analytics-namespaced-context/app",
7
+ "rootDir": "../",
8
+ "composite": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*",
18
+ "../src/**/examples.*",
19
+ "../src/**/examples/*",
20
+ "../src/**/examples/**/*",
21
+ "../src/**/*.stories.*",
22
+ "../src/**/stories/*",
23
+ "../src/**/stories/**/*"
24
+ ],
25
+ "references": [
26
+ {
27
+ "path": "../../analytics-next/afm-volt/tsconfig.json"
28
+ }
29
+ ]
30
+ }
@@ -12,6 +12,12 @@
12
12
  "exclude": [
13
13
  "../src/**/__tests__/*",
14
14
  "../src/**/*.test.*",
15
- "../src/**/test.*"
15
+ "../src/**/test.*",
16
+ "../src/**/examples.*",
17
+ "../src/**/examples/*",
18
+ "../src/**/examples/**/*",
19
+ "../src/**/*.stories.*",
20
+ "../src/**/stories/*",
21
+ "../src/**/stories/**/*"
16
22
  ]
17
- }
23
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.TownsquareHomeAnalyticsContext = exports.TOWNSQUARE_HOME_CONTEXT = void 0;
8
+ var _createNamespaceContext = _interopRequireDefault(require("./helper/createNamespaceContext"));
9
+ var TOWNSQUARE_HOME_CONTEXT = exports.TOWNSQUARE_HOME_CONTEXT = 'townsquareHomeCtx';
10
+ var TownsquareHomeAnalyticsContext = exports.TownsquareHomeAnalyticsContext = (0, _createNamespaceContext.default)(TOWNSQUARE_HOME_CONTEXT, 'TownsquareHomeAnalyticsContext');
package/dist/cjs/index.js CHANGED
@@ -171,6 +171,18 @@ Object.defineProperty(exports, "RecentWorkAnalyticsContext", {
171
171
  return _RecentWorkAnalyticsContext.RecentWorkAnalyticsContext;
172
172
  }
173
173
  });
174
+ Object.defineProperty(exports, "TOWNSQUARE_HOME_CONTEXT", {
175
+ enumerable: true,
176
+ get: function get() {
177
+ return _TownsquareHomeAnalyticsContext.TOWNSQUARE_HOME_CONTEXT;
178
+ }
179
+ });
180
+ Object.defineProperty(exports, "TownsquareHomeAnalyticsContext", {
181
+ enumerable: true,
182
+ get: function get() {
183
+ return _TownsquareHomeAnalyticsContext.TownsquareHomeAnalyticsContext;
184
+ }
185
+ });
174
186
  var _FabricElementsAnalyticsContext = require("./FabricElementsAnalyticsContext");
175
187
  var _NavigationAnalyticsContext = require("./NavigationAnalyticsContext");
176
188
  var _FabricEditorAnalyticsContext = require("./FabricEditorAnalyticsContext");
@@ -179,6 +191,7 @@ var _PeopleTeamsAnalyticsContext = require("./PeopleTeamsAnalyticsContext");
179
191
  var _NotificationsAnalyticsContext = require("./NotificationsAnalyticsContext");
180
192
  var _RecentWorkAnalyticsContext = require("./RecentWorkAnalyticsContext");
181
193
  var _AtlasAnalyticsContext = require("./AtlasAnalyticsContext");
194
+ var _TownsquareHomeAnalyticsContext = require("./TownsquareHomeAnalyticsContext");
182
195
  var _LinkingPlatformAnalyticsContext = require("./LinkingPlatformAnalyticsContext");
183
196
  var _PostOfficeAnalyticsContext = require("./PostOfficeAnalyticsContext");
184
197
  var _AIMateAnalyticsContext = require("./AIMateAnalyticsContext");
@@ -0,0 +1,3 @@
1
+ import createNamespaceContext from './helper/createNamespaceContext';
2
+ export const TOWNSQUARE_HOME_CONTEXT = 'townsquareHomeCtx';
3
+ export const TownsquareHomeAnalyticsContext = createNamespaceContext(TOWNSQUARE_HOME_CONTEXT, 'TownsquareHomeAnalyticsContext');
@@ -6,6 +6,7 @@ export { PEOPLE_TEAMS_CONTEXT, PeopleTeamsAnalyticsContext } from './PeopleTeams
6
6
  export { NOTIFICATIONS_CONTEXT, NotificationsAnalyticsContext } from './NotificationsAnalyticsContext';
7
7
  export { RECENT_WORK_CONTEXT, RecentWorkAnalyticsContext } from './RecentWorkAnalyticsContext';
8
8
  export { ATLAS_CONTEXT, AtlasAnalyticsContext } from './AtlasAnalyticsContext';
9
+ export { TOWNSQUARE_HOME_CONTEXT, TownsquareHomeAnalyticsContext } from './TownsquareHomeAnalyticsContext';
9
10
  export { LINKING_PLATFORM_CONTEXT, LinkingPlatformAnalyticsContext } from './LinkingPlatformAnalyticsContext';
10
11
  export { POST_OFFICE_CONTEXT, PostOfficeAnalyticsContext } from './PostOfficeAnalyticsContext';
11
12
  export { AI_MATE_CONTEXT, AIMateAnalyticsContext } from './AIMateAnalyticsContext';
@@ -0,0 +1,3 @@
1
+ import createNamespaceContext from './helper/createNamespaceContext';
2
+ export var TOWNSQUARE_HOME_CONTEXT = 'townsquareHomeCtx';
3
+ export var TownsquareHomeAnalyticsContext = createNamespaceContext(TOWNSQUARE_HOME_CONTEXT, 'TownsquareHomeAnalyticsContext');
package/dist/esm/index.js CHANGED
@@ -6,6 +6,7 @@ export { PEOPLE_TEAMS_CONTEXT, PeopleTeamsAnalyticsContext } from './PeopleTeams
6
6
  export { NOTIFICATIONS_CONTEXT, NotificationsAnalyticsContext } from './NotificationsAnalyticsContext';
7
7
  export { RECENT_WORK_CONTEXT, RecentWorkAnalyticsContext } from './RecentWorkAnalyticsContext';
8
8
  export { ATLAS_CONTEXT, AtlasAnalyticsContext } from './AtlasAnalyticsContext';
9
+ export { TOWNSQUARE_HOME_CONTEXT, TownsquareHomeAnalyticsContext } from './TownsquareHomeAnalyticsContext';
9
10
  export { LINKING_PLATFORM_CONTEXT, LinkingPlatformAnalyticsContext } from './LinkingPlatformAnalyticsContext';
10
11
  export { POST_OFFICE_CONTEXT, PostOfficeAnalyticsContext } from './PostOfficeAnalyticsContext';
11
12
  export { AI_MATE_CONTEXT, AIMateAnalyticsContext } from './AIMateAnalyticsContext';
@@ -11,10 +11,10 @@ export declare enum EDITOR_APPEARANCE_CONTEXT {
11
11
  type FabricEditorAnalyticsContextProps = Props & {
12
12
  data: {
13
13
  appearance: EDITOR_APPEARANCE_CONTEXT | undefined;
14
- packageName: string;
15
- packageVersion: string;
16
14
  componentName: 'renderer' | 'editorCore';
17
15
  editorSessionId: string;
16
+ packageName: string;
17
+ packageVersion: string;
18
18
  };
19
19
  };
20
20
  export declare const FabricEditorAnalyticsContext: FunctionComponent<FabricEditorAnalyticsContextProps>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type Props } from './helper/createNamespaceContext';
3
2
  export declare const GROWTH_CONTEXT = "editionAwarenessCtx";
4
3
  export declare const GrowthAnalyticsContext: {
@@ -1,4 +1,4 @@
1
1
  import { type FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const OMNI_CHANNEL_CONTEXT = "omniChannelCtx";
4
4
  export declare const OmniChannelAnalyticsContext: FunctionComponent<Props>;
@@ -0,0 +1,4 @@
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
+ export declare const TOWNSQUARE_HOME_CONTEXT = "townsquareHomeCtx";
4
+ export declare const TownsquareHomeAnalyticsContext: FunctionComponent<Props>;
@@ -6,6 +6,7 @@ export { PEOPLE_TEAMS_CONTEXT, PeopleTeamsAnalyticsContext } from './PeopleTeams
6
6
  export { NOTIFICATIONS_CONTEXT, NotificationsAnalyticsContext, } from './NotificationsAnalyticsContext';
7
7
  export { RECENT_WORK_CONTEXT, RecentWorkAnalyticsContext } from './RecentWorkAnalyticsContext';
8
8
  export { ATLAS_CONTEXT, AtlasAnalyticsContext } from './AtlasAnalyticsContext';
9
+ export { TOWNSQUARE_HOME_CONTEXT, TownsquareHomeAnalyticsContext } from './TownsquareHomeAnalyticsContext';
9
10
  export { LINKING_PLATFORM_CONTEXT, LinkingPlatformAnalyticsContext, } from './LinkingPlatformAnalyticsContext';
10
11
  export { POST_OFFICE_CONTEXT, PostOfficeAnalyticsContext } from './PostOfficeAnalyticsContext';
11
12
  export { AI_MATE_CONTEXT, AIMateAnalyticsContext } from './AIMateAnalyticsContext';
@@ -11,10 +11,10 @@ export declare enum EDITOR_APPEARANCE_CONTEXT {
11
11
  type FabricEditorAnalyticsContextProps = Props & {
12
12
  data: {
13
13
  appearance: EDITOR_APPEARANCE_CONTEXT | undefined;
14
- packageName: string;
15
- packageVersion: string;
16
14
  componentName: 'renderer' | 'editorCore';
17
15
  editorSessionId: string;
16
+ packageName: string;
17
+ packageVersion: string;
18
18
  };
19
19
  };
20
20
  export declare const FabricEditorAnalyticsContext: FunctionComponent<FabricEditorAnalyticsContextProps>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type Props } from './helper/createNamespaceContext';
3
2
  export declare const GROWTH_CONTEXT = "editionAwarenessCtx";
4
3
  export declare const GrowthAnalyticsContext: {
@@ -1,4 +1,4 @@
1
1
  import { type FunctionComponent } from 'react';
2
- import { Props } from './helper/createNamespaceContext';
2
+ import { type Props } from './helper/createNamespaceContext';
3
3
  export declare const OMNI_CHANNEL_CONTEXT = "omniChannelCtx";
4
4
  export declare const OmniChannelAnalyticsContext: FunctionComponent<Props>;
@@ -0,0 +1,4 @@
1
+ import { type FunctionComponent } from 'react';
2
+ import { type Props } from './helper/createNamespaceContext';
3
+ export declare const TOWNSQUARE_HOME_CONTEXT = "townsquareHomeCtx";
4
+ export declare const TownsquareHomeAnalyticsContext: FunctionComponent<Props>;
@@ -6,6 +6,7 @@ export { PEOPLE_TEAMS_CONTEXT, PeopleTeamsAnalyticsContext } from './PeopleTeams
6
6
  export { NOTIFICATIONS_CONTEXT, NotificationsAnalyticsContext, } from './NotificationsAnalyticsContext';
7
7
  export { RECENT_WORK_CONTEXT, RecentWorkAnalyticsContext } from './RecentWorkAnalyticsContext';
8
8
  export { ATLAS_CONTEXT, AtlasAnalyticsContext } from './AtlasAnalyticsContext';
9
+ export { TOWNSQUARE_HOME_CONTEXT, TownsquareHomeAnalyticsContext } from './TownsquareHomeAnalyticsContext';
9
10
  export { LINKING_PLATFORM_CONTEXT, LinkingPlatformAnalyticsContext, } from './LinkingPlatformAnalyticsContext';
10
11
  export { POST_OFFICE_CONTEXT, PostOfficeAnalyticsContext } from './PostOfficeAnalyticsContext';
11
12
  export { AI_MATE_CONTEXT, AIMateAnalyticsContext } from './AIMateAnalyticsContext';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/analytics-namespaced-context",
3
- "version": "7.0.1",
3
+ "version": "7.1.0",
4
4
  "description": "Provides a namespace for AnalyticsContext data (@atlaskit/analytics-next)",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -21,20 +21,8 @@
21
21
  }
22
22
  },
23
23
  "atlaskit:src": "src/index.ts",
24
- "af:exports": {
25
- "./MediaAnalyticsContext": "./src/MediaAnalyticsContext.tsx",
26
- "./NavigationAnalyticsContext": "./src/NavigationAnalyticsContext.tsx",
27
- "./PeopleTeamsAnalyticsContext": "./src/PeopleTeamsAnalyticsContext.tsx",
28
- "./RecentWorkAnalyticsContext": "./src/RecentWorkAnalyticsContext.tsx",
29
- "./FabricEditorAnalyticsContext": "./src/FabricEditorAnalyticsContext.tsx",
30
- "./AtlasAnalyticsContext": "./src/AtlasAnalyticsContext.tsx",
31
- "./LinkingPlatformAnalyticsContext": "./src/LinkingPlatformAnalyticsContext.tsx",
32
- "./PostOfficeAnalyticsContext": "./src/PostOfficeAnalyticsContext.tsx",
33
- ".": "./src/index.ts"
34
- },
35
24
  "atlassian": {
36
- "team": "UIP Frontend Observability",
37
- "runReact18": true
25
+ "team": "UIP Frontend Observability"
38
26
  },
39
27
  "config": {
40
28
  "access": "public"
@@ -47,8 +35,7 @@
47
35
  "react": "^18.2.0"
48
36
  },
49
37
  "devDependencies": {
50
- "@testing-library/react": "^13.4.0",
51
- "typescript": "~5.4.2"
38
+ "@testing-library/react": "^13.4.0"
52
39
  },
53
40
  "keywords": [
54
41
  "fabric",
package/tsconfig.json CHANGED
@@ -6,8 +6,13 @@
6
6
  "./docs/**/*.ts",
7
7
  "./docs/**/*.tsx",
8
8
  "./examples/**/*.ts",
9
- "./examples/**/*.tsx"
9
+ "./examples/**/*.tsx",
10
+ "**/stories.ts",
11
+ "**/stories.tsx",
12
+ "**/stories/*.ts",
13
+ "**/stories/*.tsx",
14
+ "**/stories/**/*.ts",
15
+ "**/stories/**/*.tsx"
10
16
  ],
11
- "compilerOptions": {
12
- }
17
+ "compilerOptions": {}
13
18
  }