@atlaskit/analytics-namespaced-context 6.6.1 → 6.7.1

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.
@@ -5,9 +5,9 @@
5
5
  "module:es2019": "../dist/es2019/AtlasAnalyticsContext.js",
6
6
  "types": "../dist/types/AtlasAnalyticsContext.d.ts",
7
7
  "typesVersions": {
8
- ">=4.0 <4.5": {
8
+ ">=4.5 <4.9": {
9
9
  "*": [
10
- "../dist/types-ts4.0/AtlasAnalyticsContext.d.ts"
10
+ "../dist/types-ts4.5/AtlasAnalyticsContext.d.ts"
11
11
  ]
12
12
  }
13
13
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @atlaskit/analytics-namespaced-context
2
2
 
3
+ ## 6.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
8
+
9
+ ## 6.7.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+
3
19
  ## 6.6.1
4
20
 
5
21
  ### Patch Changes
@@ -5,9 +5,9 @@
5
5
  "module:es2019": "../dist/es2019/LinkingPlatformAnalyticsContext.js",
6
6
  "types": "../dist/types/LinkingPlatformAnalyticsContext.d.ts",
7
7
  "typesVersions": {
8
- ">=4.0 <4.5": {
8
+ ">=4.5 <4.9": {
9
9
  "*": [
10
- "../dist/types-ts4.0/LinkingPlatformAnalyticsContext.d.ts"
10
+ "../dist/types-ts4.5/LinkingPlatformAnalyticsContext.d.ts"
11
11
  ]
12
12
  }
13
13
  }
@@ -5,9 +5,9 @@
5
5
  "module:es2019": "../dist/es2019/MediaAnalyticsContext.js",
6
6
  "types": "../dist/types/MediaAnalyticsContext.d.ts",
7
7
  "typesVersions": {
8
- ">=4.0 <4.5": {
8
+ ">=4.5 <4.9": {
9
9
  "*": [
10
- "../dist/types-ts4.0/MediaAnalyticsContext.d.ts"
10
+ "../dist/types-ts4.5/MediaAnalyticsContext.d.ts"
11
11
  ]
12
12
  }
13
13
  }
@@ -5,9 +5,9 @@
5
5
  "module:es2019": "../dist/es2019/NavigationAnalyticsContext.js",
6
6
  "types": "../dist/types/NavigationAnalyticsContext.d.ts",
7
7
  "typesVersions": {
8
- ">=4.0 <4.5": {
8
+ ">=4.5 <4.9": {
9
9
  "*": [
10
- "../dist/types-ts4.0/NavigationAnalyticsContext.d.ts"
10
+ "../dist/types-ts4.5/NavigationAnalyticsContext.d.ts"
11
11
  ]
12
12
  }
13
13
  }
@@ -5,9 +5,9 @@
5
5
  "module:es2019": "../dist/es2019/PeopleTeamsAnalyticsContext.js",
6
6
  "types": "../dist/types/PeopleTeamsAnalyticsContext.d.ts",
7
7
  "typesVersions": {
8
- ">=4.0 <4.5": {
8
+ ">=4.5 <4.9": {
9
9
  "*": [
10
- "../dist/types-ts4.0/PeopleTeamsAnalyticsContext.d.ts"
10
+ "../dist/types-ts4.5/PeopleTeamsAnalyticsContext.d.ts"
11
11
  ]
12
12
  }
13
13
  }
@@ -5,9 +5,9 @@
5
5
  "module:es2019": "../dist/es2019/RecentWorkAnalyticsContext.js",
6
6
  "types": "../dist/types/RecentWorkAnalyticsContext.d.ts",
7
7
  "typesVersions": {
8
- ">=4.0 <4.5": {
8
+ ">=4.5 <4.9": {
9
9
  "*": [
10
- "../dist/types-ts4.0/RecentWorkAnalyticsContext.d.ts"
10
+ "../dist/types-ts4.5/RecentWorkAnalyticsContext.d.ts"
11
11
  ]
12
12
  }
13
13
  }
@@ -8,14 +8,14 @@ exports.FabricEditorAnalyticsContext = exports.EDITOR_CONTEXT = exports.EDITOR_A
8
8
  var _createNamespaceContext = _interopRequireDefault(require("./helper/createNamespaceContext"));
9
9
  var EDITOR_CONTEXT = 'fabricEditorCtx';
10
10
  exports.EDITOR_CONTEXT = EDITOR_CONTEXT;
11
- var EDITOR_APPEARANCE_CONTEXT;
12
- exports.EDITOR_APPEARANCE_CONTEXT = EDITOR_APPEARANCE_CONTEXT;
13
- (function (EDITOR_APPEARANCE_CONTEXT) {
11
+ var EDITOR_APPEARANCE_CONTEXT = /*#__PURE__*/function (EDITOR_APPEARANCE_CONTEXT) {
14
12
  EDITOR_APPEARANCE_CONTEXT["FIXED_WIDTH"] = "fixedWidth";
15
13
  EDITOR_APPEARANCE_CONTEXT["FULL_WIDTH"] = "fullWidth";
16
14
  EDITOR_APPEARANCE_CONTEXT["COMMENT"] = "comment";
17
15
  EDITOR_APPEARANCE_CONTEXT["CHROMELESS"] = "chromeless";
18
16
  EDITOR_APPEARANCE_CONTEXT["MOBILE"] = "mobile";
19
- })(EDITOR_APPEARANCE_CONTEXT || (exports.EDITOR_APPEARANCE_CONTEXT = EDITOR_APPEARANCE_CONTEXT = {}));
17
+ return EDITOR_APPEARANCE_CONTEXT;
18
+ }({});
19
+ exports.EDITOR_APPEARANCE_CONTEXT = EDITOR_APPEARANCE_CONTEXT;
20
20
  var FabricEditorAnalyticsContext = (0, _createNamespaceContext.default)(EDITOR_CONTEXT, 'FabricEditorAnalyticsContext');
21
21
  exports.FabricEditorAnalyticsContext = FabricEditorAnalyticsContext;
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/analytics-namespaced-context",
3
- "version": "6.6.1"
3
+ "version": "6.7.1"
4
4
  }
@@ -1,11 +1,11 @@
1
1
  import createNamespaceContext from './helper/createNamespaceContext';
2
2
  export const EDITOR_CONTEXT = 'fabricEditorCtx';
3
- export let EDITOR_APPEARANCE_CONTEXT;
4
- (function (EDITOR_APPEARANCE_CONTEXT) {
3
+ export let EDITOR_APPEARANCE_CONTEXT = /*#__PURE__*/function (EDITOR_APPEARANCE_CONTEXT) {
5
4
  EDITOR_APPEARANCE_CONTEXT["FIXED_WIDTH"] = "fixedWidth";
6
5
  EDITOR_APPEARANCE_CONTEXT["FULL_WIDTH"] = "fullWidth";
7
6
  EDITOR_APPEARANCE_CONTEXT["COMMENT"] = "comment";
8
7
  EDITOR_APPEARANCE_CONTEXT["CHROMELESS"] = "chromeless";
9
8
  EDITOR_APPEARANCE_CONTEXT["MOBILE"] = "mobile";
10
- })(EDITOR_APPEARANCE_CONTEXT || (EDITOR_APPEARANCE_CONTEXT = {}));
9
+ return EDITOR_APPEARANCE_CONTEXT;
10
+ }({});
11
11
  export const FabricEditorAnalyticsContext = createNamespaceContext(EDITOR_CONTEXT, 'FabricEditorAnalyticsContext');
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/analytics-namespaced-context",
3
- "version": "6.6.1"
3
+ "version": "6.7.1"
4
4
  }
@@ -1,11 +1,11 @@
1
1
  import createNamespaceContext from './helper/createNamespaceContext';
2
2
  export var EDITOR_CONTEXT = 'fabricEditorCtx';
3
- export var EDITOR_APPEARANCE_CONTEXT;
4
- (function (EDITOR_APPEARANCE_CONTEXT) {
3
+ export var EDITOR_APPEARANCE_CONTEXT = /*#__PURE__*/function (EDITOR_APPEARANCE_CONTEXT) {
5
4
  EDITOR_APPEARANCE_CONTEXT["FIXED_WIDTH"] = "fixedWidth";
6
5
  EDITOR_APPEARANCE_CONTEXT["FULL_WIDTH"] = "fullWidth";
7
6
  EDITOR_APPEARANCE_CONTEXT["COMMENT"] = "comment";
8
7
  EDITOR_APPEARANCE_CONTEXT["CHROMELESS"] = "chromeless";
9
8
  EDITOR_APPEARANCE_CONTEXT["MOBILE"] = "mobile";
10
- })(EDITOR_APPEARANCE_CONTEXT || (EDITOR_APPEARANCE_CONTEXT = {}));
9
+ return EDITOR_APPEARANCE_CONTEXT;
10
+ }({});
11
11
  export var FabricEditorAnalyticsContext = createNamespaceContext(EDITOR_CONTEXT, 'FabricEditorAnalyticsContext');
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/analytics-namespaced-context",
3
- "version": "6.6.1"
3
+ "version": "6.7.1"
4
4
  }
@@ -8,7 +8,7 @@ export declare enum EDITOR_APPEARANCE_CONTEXT {
8
8
  CHROMELESS = "chromeless",
9
9
  MOBILE = "mobile"
10
10
  }
11
- declare type FabricEditorAnalyticsContextProps = Props & {
11
+ type FabricEditorAnalyticsContextProps = Props & {
12
12
  data: {
13
13
  appearance: EDITOR_APPEARANCE_CONTEXT | undefined;
14
14
  packageName: string;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ReactNode } from 'react';
3
- export declare type Props = {
3
+ export type Props = {
4
4
  children?: ReactNode;
5
5
  data: {};
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/analytics-namespaced-context",
3
- "version": "6.6.1",
3
+ "version": "6.7.1",
4
4
  "description": "Provides a namespace for AnalyticsContext data (@atlaskit/analytics-next)",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -12,6 +12,14 @@
12
12
  "module": "dist/esm/index.js",
13
13
  "module:es2019": "dist/es2019/index.js",
14
14
  "types": "dist/types/index.d.ts",
15
+ "typesVersions": {
16
+ ">=4.5 <4.9": {
17
+ "*": [
18
+ "dist/types-ts4.5/*",
19
+ "dist/types-ts4.5/index.d.ts"
20
+ ]
21
+ }
22
+ },
15
23
  "atlaskit:src": "src/index.ts",
16
24
  "af:exports": {
17
25
  "./MediaAnalyticsContext": "./src/MediaAnalyticsContext.tsx",
@@ -30,20 +38,20 @@
30
38
  "access": "public"
31
39
  },
32
40
  "dependencies": {
33
- "@atlaskit/analytics-next": "^9.0.0",
41
+ "@atlaskit/analytics-next": "^9.1.0",
34
42
  "@babel/runtime": "^7.0.0"
35
43
  },
36
44
  "peerDependencies": {
37
45
  "react": "^16.8.0"
38
46
  },
39
47
  "devDependencies": {
40
- "@atlaskit/analytics-listeners": "^8.5.0",
48
+ "@atlaskit/analytics-listeners": "^8.7.0",
41
49
  "@atlaskit/docs": "*",
42
50
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
43
51
  "enzyme": "^3.10.0",
44
52
  "enzyme-adapter-react-16": "^1.15.1",
45
53
  "react": "^16.8.0",
46
- "typescript": "4.5.5"
54
+ "typescript": "~4.9.5"
47
55
  },
48
56
  "keywords": [
49
57
  "fabric",