@atlaskit/smart-card 37.1.1 → 37.1.2

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,13 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 37.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#152203](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/152203)
8
+ [`978e65df8e2a4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/978e65df8e2a4) -
9
+ Fix LinkIconElement return
10
+
3
11
  ## 37.1.1
4
12
 
5
13
  ### Patch Changes
@@ -11,7 +11,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
11
11
  var context = exports.context = {
12
12
  componentName: 'smart-cards',
13
13
  packageName: "@atlaskit/smart-card",
14
- packageVersion: "37.1.1"
14
+ packageVersion: "37.1.2"
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -56,12 +56,12 @@ var LatestCommitElement = exports.LatestCommitElement = function LatestCommitEle
56
56
  };
57
57
  var LinkIconElement = exports.LinkIconElement = function LinkIconElement(props) {
58
58
  if ((0, _platformFeatureFlags.fg)('platform-linking-additional-flexible-element-props')) {
59
- return /*#__PURE__*/_react.default.createElement(_elements.LinkIcon, null);
59
+ return /*#__PURE__*/_react.default.createElement(_elements.LinkIcon, {
60
+ size: (props === null || props === void 0 ? void 0 : props.iconTileSize) === 24 ? _constants.SmartLinkSize.Large : _constants.SmartLinkSize.Medium,
61
+ render: props === null || props === void 0 ? void 0 : props.render
62
+ });
60
63
  }
61
- return /*#__PURE__*/_react.default.createElement(_elements.LinkIcon, {
62
- size: (props === null || props === void 0 ? void 0 : props.iconTileSize) === 24 ? _constants.SmartLinkSize.Large : _constants.SmartLinkSize.Medium,
63
- render: props === null || props === void 0 ? void 0 : props.render
64
- });
64
+ return /*#__PURE__*/_react.default.createElement(_elements.LinkIcon, null);
65
65
  };
66
66
  var LocationElement = exports.LocationElement = function LocationElement() {
67
67
  return /*#__PURE__*/_react.default.createElement(_elements.Location, null);
@@ -20,7 +20,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
20
20
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
21
21
  var PACKAGE_DATA = {
22
22
  packageName: "@atlaskit/smart-card",
23
- packageVersion: "37.1.1",
23
+ packageVersion: "37.1.2",
24
24
  componentName: 'linkUrl'
25
25
  };
26
26
  var Anchor = (0, _click.withLinkClickedEvent)('a');
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
2
2
  export const context = {
3
3
  componentName: 'smart-cards',
4
4
  packageName: "@atlaskit/smart-card",
5
- packageVersion: "37.1.1"
5
+ packageVersion: "37.1.2"
6
6
  };
7
7
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
8
8
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -26,12 +26,12 @@ export const DueOnElement = () => /*#__PURE__*/React.createElement(DueOn, null);
26
26
  export const LatestCommitElement = () => /*#__PURE__*/React.createElement(LatestCommit, null);
27
27
  export const LinkIconElement = props => {
28
28
  if (fg('platform-linking-additional-flexible-element-props')) {
29
- return /*#__PURE__*/React.createElement(LinkIcon, null);
29
+ return /*#__PURE__*/React.createElement(LinkIcon, {
30
+ size: (props === null || props === void 0 ? void 0 : props.iconTileSize) === 24 ? SmartLinkSize.Large : SmartLinkSize.Medium,
31
+ render: props === null || props === void 0 ? void 0 : props.render
32
+ });
30
33
  }
31
- return /*#__PURE__*/React.createElement(LinkIcon, {
32
- size: (props === null || props === void 0 ? void 0 : props.iconTileSize) === 24 ? SmartLinkSize.Large : SmartLinkSize.Medium,
33
- render: props === null || props === void 0 ? void 0 : props.render
34
- });
34
+ return /*#__PURE__*/React.createElement(LinkIcon, null);
35
35
  };
36
36
  export const LocationElement = () => /*#__PURE__*/React.createElement(Location, null);
37
37
  export const ModifiedByElement = () => /*#__PURE__*/React.createElement(ModifiedBy, null);
@@ -10,7 +10,7 @@ import LinkWarningModal from './LinkWarningModal';
10
10
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
11
11
  const PACKAGE_DATA = {
12
12
  packageName: "@atlaskit/smart-card",
13
- packageVersion: "37.1.1",
13
+ packageVersion: "37.1.2",
14
14
  componentName: 'linkUrl'
15
15
  };
16
16
  const Anchor = withLinkClickedEvent('a');
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
4
4
  export var context = {
5
5
  componentName: 'smart-cards',
6
6
  packageName: "@atlaskit/smart-card",
7
- packageVersion: "37.1.1"
7
+ packageVersion: "37.1.2"
8
8
  };
9
9
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -48,12 +48,12 @@ export var LatestCommitElement = function LatestCommitElement() {
48
48
  };
49
49
  export var LinkIconElement = function LinkIconElement(props) {
50
50
  if (fg('platform-linking-additional-flexible-element-props')) {
51
- return /*#__PURE__*/React.createElement(LinkIcon, null);
51
+ return /*#__PURE__*/React.createElement(LinkIcon, {
52
+ size: (props === null || props === void 0 ? void 0 : props.iconTileSize) === 24 ? SmartLinkSize.Large : SmartLinkSize.Medium,
53
+ render: props === null || props === void 0 ? void 0 : props.render
54
+ });
52
55
  }
53
- return /*#__PURE__*/React.createElement(LinkIcon, {
54
- size: (props === null || props === void 0 ? void 0 : props.iconTileSize) === 24 ? SmartLinkSize.Large : SmartLinkSize.Medium,
55
- render: props === null || props === void 0 ? void 0 : props.render
56
- });
56
+ return /*#__PURE__*/React.createElement(LinkIcon, null);
57
57
  };
58
58
  export var LocationElement = function LocationElement() {
59
59
  return /*#__PURE__*/React.createElement(Location, null);
@@ -13,7 +13,7 @@ import LinkWarningModal from './LinkWarningModal';
13
13
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
14
14
  var PACKAGE_DATA = {
15
15
  packageName: "@atlaskit/smart-card",
16
- packageVersion: "37.1.1",
16
+ packageVersion: "37.1.2",
17
17
  componentName: 'linkUrl'
18
18
  };
19
19
  var Anchor = withLinkClickedEvent('a');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "37.1.1",
3
+ "version": "37.1.2",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"