@atlaskit/link-datasource 0.33.6 → 0.33.7

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 0.33.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [`f01deb5e6ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f01deb5e6ab) - Use injected env vars instead of version.json
8
+
3
9
  ## 0.33.6
4
10
 
5
11
  ### Patch Changes
@@ -21,7 +21,6 @@ var _colors = require("@atlaskit/theme/colors");
21
21
  var _analytics = require("../../../analytics");
22
22
  var _useDatasourceTableState = require("../../../hooks/useDatasourceTableState");
23
23
  var _getAvailableJiraSites = require("../../../services/getAvailableJiraSites");
24
- var _version = require("../../../version.json");
25
24
  var _accessRequired = require("../../common/error-state/access-required");
26
25
  var _modalLoadingError = require("../../common/error-state/modal-loading-error");
27
26
  var _noResults = require("../../common/error-state/no-results");
@@ -344,8 +343,8 @@ var analyticsContextAttributes = {
344
343
  dataProvider: 'jira-issues'
345
344
  };
346
345
  var analyticsContextData = {
347
- packageName: _version.name,
348
- packageVersion: _version.version,
346
+ packageName: "@atlaskit/link-datasource",
347
+ packageVersion: "0.33.7",
349
348
  source: 'datasourceConfigModal'
350
349
  };
351
350
  var contextData = _objectSpread(_objectSpread({}, analyticsContextData), {}, {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "0.33.6",
3
+ "version": "0.33.7",
4
4
  "sideEffects": false
5
5
  }
@@ -10,7 +10,6 @@ import { B400, N0, N40, N800 } from '@atlaskit/theme/colors';
10
10
  import { useDatasourceAnalyticsEvents } from '../../../analytics';
11
11
  import { useDatasourceTableState } from '../../../hooks/useDatasourceTableState';
12
12
  import { getAvailableJiraSites } from '../../../services/getAvailableJiraSites';
13
- import { name as packageName, version as packageVersion } from '../../../version.json';
14
13
  import { AccessRequired } from '../../common/error-state/access-required';
15
14
  import { ModalLoadingError } from '../../common/error-state/modal-loading-error';
16
15
  import { NoResults } from '../../common/error-state/no-results';
@@ -290,8 +289,8 @@ const analyticsContextAttributes = {
290
289
  dataProvider: 'jira-issues'
291
290
  };
292
291
  const analyticsContextData = {
293
- packageName,
294
- packageVersion,
292
+ packageName: "@atlaskit/link-datasource",
293
+ packageVersion: "0.33.7",
295
294
  source: 'datasourceConfigModal'
296
295
  };
297
296
  const contextData = {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "0.33.6",
3
+ "version": "0.33.7",
4
4
  "sideEffects": false
5
5
  }
@@ -16,7 +16,6 @@ import { B400, N0, N40, N800 } from '@atlaskit/theme/colors';
16
16
  import { useDatasourceAnalyticsEvents } from '../../../analytics';
17
17
  import { useDatasourceTableState } from '../../../hooks/useDatasourceTableState';
18
18
  import { getAvailableJiraSites } from '../../../services/getAvailableJiraSites';
19
- import { name as packageName, version as packageVersion } from '../../../version.json';
20
19
  import { AccessRequired } from '../../common/error-state/access-required';
21
20
  import { ModalLoadingError } from '../../common/error-state/modal-loading-error';
22
21
  import { NoResults } from '../../common/error-state/no-results';
@@ -334,8 +333,8 @@ var analyticsContextAttributes = {
334
333
  dataProvider: 'jira-issues'
335
334
  };
336
335
  var analyticsContextData = {
337
- packageName: packageName,
338
- packageVersion: packageVersion,
336
+ packageName: "@atlaskit/link-datasource",
337
+ packageVersion: "0.33.7",
339
338
  source: 'datasourceConfigModal'
340
339
  };
341
340
  var contextData = _objectSpread(_objectSpread({}, analyticsContextData), {}, {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "0.33.6",
3
+ "version": "0.33.7",
4
4
  "sideEffects": false
5
5
  }
@@ -3,11 +3,11 @@
3
3
  *
4
4
  * Generates Typescript types for analytics events from analytics.spec.yaml
5
5
  *
6
- * @codegen <<SignedSource::75446f307933096c01c4784a1d7f2aa9>>
6
+ * @codegen <<SignedSource::959aae264b9713da4bc176284dc53ca5>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen link-datasource
8
8
  */
9
9
  export type PackageMetaDataType = {
10
- packageName: '@atlaskit/link-datasource';
10
+ packageName: string;
11
11
  packageVersion: string;
12
12
  };
13
13
  export type AnalyticsContextType = {
@@ -3,11 +3,11 @@
3
3
  *
4
4
  * Generates Typescript types for analytics events from analytics.spec.yaml
5
5
  *
6
- * @codegen <<SignedSource::75446f307933096c01c4784a1d7f2aa9>>
6
+ * @codegen <<SignedSource::959aae264b9713da4bc176284dc53ca5>>
7
7
  * @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen link-datasource
8
8
  */
9
9
  export type PackageMetaDataType = {
10
- packageName: '@atlaskit/link-datasource';
10
+ packageName: string;
11
11
  packageVersion: string;
12
12
  };
13
13
  export type AnalyticsContextType = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "0.33.6",
3
+ "version": "0.33.7",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -32,7 +32,7 @@
32
32
  "dependencies": {
33
33
  "@atlaskit/analytics-next": "^9.1.3",
34
34
  "@atlaskit/avatar": "^21.3.0",
35
- "@atlaskit/button": "^16.8.0",
35
+ "@atlaskit/button": "^16.9.0",
36
36
  "@atlaskit/dropdown-menu": "^11.11.0",
37
37
  "@atlaskit/empty-state": "^7.5.0",
38
38
  "@atlaskit/form": "^8.11.0",
@@ -41,7 +41,7 @@
41
41
  "@atlaskit/icon-object": "^6.3.0",
42
42
  "@atlaskit/image": "^1.1.0",
43
43
  "@atlaskit/link-client-extension": "^1.6.0",
44
- "@atlaskit/linking-common": "^4.3.0",
44
+ "@atlaskit/linking-common": "^4.4.0",
45
45
  "@atlaskit/linking-types": "^8.2.0",
46
46
  "@atlaskit/lozenge": "^11.4.0",
47
47
  "@atlaskit/modal-dialog": "^12.6.0",