@atlaskit/smart-card 26.15.4 → 26.15.5

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/smart-card
2
2
 
3
+ ## 26.15.5
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
  ## 26.15.4
4
10
 
5
11
  ### Patch Changes
@@ -9,7 +9,6 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
9
9
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
10
10
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
11
11
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
12
- var _version = require("../../version.json");
13
12
  var _performance = require("../performance");
14
13
  var _excluded = ["smartLinkActionType"],
15
14
  _excluded2 = ["smartLinkActionType"],
@@ -21,8 +20,8 @@ var ANALYTICS_CHANNEL = 'media';
21
20
  exports.ANALYTICS_CHANNEL = ANALYTICS_CHANNEL;
22
21
  var context = {
23
22
  componentName: 'smart-cards',
24
- packageName: _version.name,
25
- packageVersion: _version.version
23
+ packageName: "@atlaskit/smart-card",
24
+ packageVersion: "26.15.5"
26
25
  };
27
26
  exports.context = context;
28
27
  var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "26.15.4",
3
+ "version": "26.15.5",
4
4
  "sideEffects": false
5
5
  }
@@ -9,7 +9,6 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
9
9
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
10
10
  var _react = _interopRequireDefault(require("react"));
11
11
  var _analyticsNext = require("@atlaskit/analytics-next");
12
- var _version = require("../../version.json");
13
12
  var _click = require("../../utils/analytics/click");
14
13
  var _LinkAnalyticsContext = require("../../utils/analytics/LinkAnalyticsContext");
15
14
  var _useLinkWarningModal2 = require("./LinkWarningModal/hooks/use-link-warning-modal");
@@ -18,8 +17,8 @@ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
18
17
  var _excluded = ["href", "children", "checkSafety", "onClick", "testId"],
19
18
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
20
19
  var PACKAGE_DATA = {
21
- packageName: _version.name,
22
- packageVersion: _version.version,
20
+ packageName: "@atlaskit/smart-card",
21
+ packageVersion: "26.15.5",
23
22
  componentName: 'linkUrl'
24
23
  };
25
24
  var Link = (0, _click.withLinkClickedEvent)('a');
@@ -1,10 +1,9 @@
1
- import { name as packageName, version as packageVersion } from '../../version.json';
2
1
  import { getMeasure } from '../performance';
3
2
  export const ANALYTICS_CHANNEL = 'media';
4
3
  export const context = {
5
4
  componentName: 'smart-cards',
6
- packageName,
7
- packageVersion
5
+ packageName: "@atlaskit/smart-card",
6
+ packageVersion: "26.15.5"
8
7
  };
9
8
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
9
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "26.15.4",
3
+ "version": "26.15.5",
4
4
  "sideEffects": false
5
5
  }
@@ -1,15 +1,14 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
3
  import { withAnalyticsContext } from '@atlaskit/analytics-next';
4
- import { name as packageName, version as packageVersion } from '../../version.json';
5
4
  import { withLinkClickedEvent } from '../../utils/analytics/click';
6
5
  import { LinkAnalyticsContext } from '../../utils/analytics/LinkAnalyticsContext';
7
6
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
8
7
  import LinkWarningModal from './LinkWarningModal';
9
8
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
10
9
  const PACKAGE_DATA = {
11
- packageName,
12
- packageVersion,
10
+ packageName: "@atlaskit/smart-card",
11
+ packageVersion: "26.15.5",
13
12
  componentName: 'linkUrl'
14
13
  };
15
14
  const Link = withLinkClickedEvent('a');
@@ -8,13 +8,12 @@ var _excluded = ["smartLinkActionType"],
8
8
  _excluded4 = ["display"];
9
9
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
10
10
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
11
- import { name as packageName, version as packageVersion } from '../../version.json';
12
11
  import { getMeasure } from '../performance';
13
12
  export var ANALYTICS_CHANNEL = 'media';
14
13
  export var context = {
15
14
  componentName: 'smart-cards',
16
- packageName: packageName,
17
- packageVersion: packageVersion
15
+ packageName: "@atlaskit/smart-card",
16
+ packageVersion: "26.15.5"
18
17
  };
19
18
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
20
19
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "26.15.4",
3
+ "version": "26.15.5",
4
4
  "sideEffects": false
5
5
  }
@@ -4,15 +4,14 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId"],
4
4
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
5
5
  import React from 'react';
6
6
  import { withAnalyticsContext } from '@atlaskit/analytics-next';
7
- import { name as packageName, version as packageVersion } from '../../version.json';
8
7
  import { withLinkClickedEvent } from '../../utils/analytics/click';
9
8
  import { LinkAnalyticsContext } from '../../utils/analytics/LinkAnalyticsContext';
10
9
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
11
10
  import LinkWarningModal from './LinkWarningModal';
12
11
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
13
12
  var PACKAGE_DATA = {
14
- packageName: packageName,
15
- packageVersion: packageVersion,
13
+ packageName: "@atlaskit/smart-card",
14
+ packageVersion: "26.15.5",
16
15
  componentName: 'linkUrl'
17
16
  };
18
17
  var Link = withLinkClickedEvent('a');
@@ -6,8 +6,8 @@ import { SmartLinkActionType } from '@atlaskit/linking-types';
6
6
  export declare const ANALYTICS_CHANNEL = "media";
7
7
  export declare const context: {
8
8
  componentName: string;
9
- packageName: any;
10
- packageVersion: any;
9
+ packageName: string;
10
+ packageVersion: string;
11
11
  };
12
12
  export declare enum TrackQuickActionType {
13
13
  StatusUpdate = "StatusUpdate"
@@ -7,7 +7,7 @@ export interface LinkUrlProps extends React.AnchorHTMLAttributes<HTMLAnchorEleme
7
7
  testId?: string;
8
8
  }
9
9
  export type PackageDataType = {
10
- packageName: '@atlaskit/smart-card';
10
+ packageName: string;
11
11
  packageVersion: string;
12
12
  componentName: 'linkUrl';
13
13
  };
@@ -6,8 +6,8 @@ import { SmartLinkActionType } from '@atlaskit/linking-types';
6
6
  export declare const ANALYTICS_CHANNEL = "media";
7
7
  export declare const context: {
8
8
  componentName: string;
9
- packageName: any;
10
- packageVersion: any;
9
+ packageName: string;
10
+ packageVersion: string;
11
11
  };
12
12
  export declare enum TrackQuickActionType {
13
13
  StatusUpdate = "StatusUpdate"
@@ -7,7 +7,7 @@ export interface LinkUrlProps extends React.AnchorHTMLAttributes<HTMLAnchorEleme
7
7
  testId?: string;
8
8
  }
9
9
  export type PackageDataType = {
10
- packageName: '@atlaskit/smart-card';
10
+ packageName: string;
11
11
  packageVersion: string;
12
12
  componentName: 'linkUrl';
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "26.15.4",
3
+ "version": "26.15.5",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,7 +27,7 @@
27
27
  "@atlaskit/avatar": "^21.3.0",
28
28
  "@atlaskit/avatar-group": "^9.3.0",
29
29
  "@atlaskit/badge": "^15.1.0",
30
- "@atlaskit/button": "^16.8.0",
30
+ "@atlaskit/button": "^16.9.0",
31
31
  "@atlaskit/dropdown-menu": "^11.11.0",
32
32
  "@atlaskit/frontend-utilities": "^2.7.0",
33
33
  "@atlaskit/icon": "^21.12.0",
@@ -38,7 +38,7 @@
38
38
  "@atlaskit/link-analytics": "^8.2.0",
39
39
  "@atlaskit/link-client-extension": "^1.6.0",
40
40
  "@atlaskit/link-extractors": "^1.1.0",
41
- "@atlaskit/linking-common": "^4.3.0",
41
+ "@atlaskit/linking-common": "^4.4.0",
42
42
  "@atlaskit/linking-types": "^8.2.0",
43
43
  "@atlaskit/logo": "^13.14.0",
44
44
  "@atlaskit/lozenge": "^11.4.0",