@atlaskit/smart-card 26.64.0 → 26.66.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.
- package/CHANGELOG.md +17 -0
- package/dist/cjs/extractors/common/primitives/extractSummary.js +7 -1
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/actions/follow-action/index.js +10 -1
- package/dist/cjs/view/FlexibleCard/components/actions/preview-action/index.js +10 -1
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/extractors/common/primitives/extractSummary.js +7 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/follow-action/index.js +10 -1
- package/dist/es2019/view/FlexibleCard/components/actions/preview-action/index.js +10 -1
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/extractors/common/primitives/extractSummary.js +7 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/follow-action/index.js +10 -1
- package/dist/esm/view/FlexibleCard/components/actions/preview-action/index.js +10 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/extractors/common/primitives/extractSummary.d.ts +4 -1
- package/dist/types/view/FlexibleCard/components/actions/follow-action/index.d.ts +1 -1
- package/dist/types-ts4.5/extractors/common/primitives/extractSummary.d.ts +4 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/follow-action/index.d.ts +1 -1
- package/package.json +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 26.66.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#99093](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99093)
|
|
8
|
+
[`8e779e5c048b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8e779e5c048b) -
|
|
9
|
+
[ux] Update PreviewAction and FollowAction to use new icons under FF
|
|
10
|
+
|
|
11
|
+
## 26.65.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#98998](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98998)
|
|
16
|
+
[`935587894f94`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/935587894f94) -
|
|
17
|
+
Trim snippet content on extractSummary. `extractSummary` will now return undefined if the type
|
|
18
|
+
is incorrect.
|
|
19
|
+
|
|
3
20
|
## 26.64.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
|
@@ -4,6 +4,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.extractSummary = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* Return link summary
|
|
9
|
+
*/
|
|
7
10
|
var extractSummary = exports.extractSummary = function extractSummary(jsonLd) {
|
|
8
|
-
|
|
11
|
+
if (typeof (jsonLd === null || jsonLd === void 0 ? void 0 : jsonLd.summary) === 'string') {
|
|
12
|
+
var summary = jsonLd.summary.trim();
|
|
13
|
+
return Boolean(summary) ? summary : undefined;
|
|
14
|
+
}
|
|
9
15
|
};
|
|
@@ -22,7 +22,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
|
|
|
22
22
|
var context = exports.context = {
|
|
23
23
|
componentName: 'smart-cards',
|
|
24
24
|
packageName: "@atlaskit/smart-card",
|
|
25
|
-
packageVersion: "26.
|
|
25
|
+
packageVersion: "26.66.0"
|
|
26
26
|
};
|
|
27
27
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
28
28
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -9,6 +9,7 @@ var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
|
9
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
11
|
var _inviteTeam = _interopRequireDefault(require("@atlaskit/icon/glyph/invite-team"));
|
|
12
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
13
|
var _react = _interopRequireDefault(require("react"));
|
|
13
14
|
var _reactIntlNext = require("react-intl-next");
|
|
14
15
|
var _constants = require("../../../../../constants");
|
|
@@ -49,6 +50,14 @@ var getIcon = function getIcon(stackIconType) {
|
|
|
49
50
|
}
|
|
50
51
|
return (0, _utils.importIcon)(importFn);
|
|
51
52
|
};
|
|
53
|
+
var getIconFF = function getIconFF(iconFFEnabled, defaultIcon) {
|
|
54
|
+
if ((0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.smart-card.hover-card-action-redesign')) {
|
|
55
|
+
if ((0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.smart-card.action-icon-redesign')) {
|
|
56
|
+
return iconFFEnabled;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
return defaultIcon;
|
|
60
|
+
};
|
|
52
61
|
var FollowAction = function FollowAction(props) {
|
|
53
62
|
var _context$actions, _context$actions2;
|
|
54
63
|
var context = (0, _flexibleUiContext.useFlexibleUiContext)();
|
|
@@ -80,7 +89,7 @@ var FollowAction = function FollowAction(props) {
|
|
|
80
89
|
label: "Follow",
|
|
81
90
|
testId: "smart-action-follow-action-".concat(stackIconType, "-icon")
|
|
82
91
|
});
|
|
83
|
-
var followIcon = isStackItem ? stackIcon : icon;
|
|
92
|
+
var followIcon = isStackItem ? stackIcon : getIconFF(stackIcon, icon);
|
|
84
93
|
return /*#__PURE__*/_react.default.createElement(_serverAction.default, (0, _extends2.default)({
|
|
85
94
|
content: /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, label),
|
|
86
95
|
icon: followIcon,
|
|
@@ -13,6 +13,7 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
|
|
|
13
13
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
14
14
|
var _vidFullScreenOn = _interopRequireDefault(require("@atlaskit/icon/glyph/vid-full-screen-on"));
|
|
15
15
|
var _actualSize = _interopRequireDefault(require("@atlaskit/icon/glyph/media-services/actual-size"));
|
|
16
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
16
17
|
var _react = _interopRequireWildcard(require("react"));
|
|
17
18
|
var _reactIntlNext = require("react-intl-next");
|
|
18
19
|
var _constants = require("../../../../../constants");
|
|
@@ -26,6 +27,14 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
26
27
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
27
28
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
28
29
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
30
|
+
var getIconFF = function getIconFF() {
|
|
31
|
+
if ((0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.smart-card.hover-card-action-redesign')) {
|
|
32
|
+
if ((0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.smart-card.action-icon-redesign')) {
|
|
33
|
+
return _actualSize.default;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return _vidFullScreenOn.default;
|
|
37
|
+
};
|
|
29
38
|
var PreviewAction = function PreviewAction(_ref) {
|
|
30
39
|
var _context$actions;
|
|
31
40
|
var onClickCallback = _ref.onClick,
|
|
@@ -72,7 +81,7 @@ var PreviewAction = function PreviewAction(_ref) {
|
|
|
72
81
|
}
|
|
73
82
|
}, [analytics, data, invoke, onClickCallback]);
|
|
74
83
|
var isStackItem = props.as === 'stack-item';
|
|
75
|
-
var Icon = isStackItem ? _actualSize.default :
|
|
84
|
+
var Icon = isStackItem ? _actualSize.default : getIconFF();
|
|
76
85
|
var tooltipMessage = isStackItem ? _messages.messages.preview_description : _messages.messages.preview_improved;
|
|
77
86
|
return data ? /*#__PURE__*/_react.default.createElement(_action.default, (0, _extends2.default)({
|
|
78
87
|
content: /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, _messages.messages.preview_improved),
|
|
@@ -17,7 +17,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId"],
|
|
|
17
17
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
18
18
|
var PACKAGE_DATA = {
|
|
19
19
|
packageName: "@atlaskit/smart-card",
|
|
20
|
-
packageVersion: "26.
|
|
20
|
+
packageVersion: "26.66.0",
|
|
21
21
|
componentName: 'linkUrl'
|
|
22
22
|
};
|
|
23
23
|
var Link = (0, _click.withLinkClickedEvent)('a');
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Return link summary
|
|
3
|
+
*/
|
|
1
4
|
export const extractSummary = jsonLd => {
|
|
2
|
-
|
|
5
|
+
if (typeof (jsonLd === null || jsonLd === void 0 ? void 0 : jsonLd.summary) === 'string') {
|
|
6
|
+
const summary = jsonLd.summary.trim();
|
|
7
|
+
return Boolean(summary) ? summary : undefined;
|
|
8
|
+
}
|
|
3
9
|
};
|
|
@@ -4,7 +4,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
4
4
|
export const context = {
|
|
5
5
|
componentName: 'smart-cards',
|
|
6
6
|
packageName: "@atlaskit/smart-card",
|
|
7
|
-
packageVersion: "26.
|
|
7
|
+
packageVersion: "26.66.0"
|
|
8
8
|
};
|
|
9
9
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import InviteTeamIcon from '@atlaskit/icon/glyph/invite-team';
|
|
3
|
+
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
3
4
|
import React from 'react';
|
|
4
5
|
import { FormattedMessage } from 'react-intl-next';
|
|
5
6
|
import { ActionName } from '../../../../../constants';
|
|
@@ -27,6 +28,14 @@ const getIcon = stackIconType => {
|
|
|
27
28
|
}
|
|
28
29
|
return importIcon(importFn);
|
|
29
30
|
};
|
|
31
|
+
const getIconFF = (iconFFEnabled, defaultIcon) => {
|
|
32
|
+
if (getBooleanFF('platform.linking-platform.smart-card.hover-card-action-redesign')) {
|
|
33
|
+
if (getBooleanFF('platform.linking-platform.smart-card.action-icon-redesign')) {
|
|
34
|
+
return iconFFEnabled;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return defaultIcon;
|
|
38
|
+
};
|
|
30
39
|
const FollowAction = props => {
|
|
31
40
|
var _context$actions, _context$actions2;
|
|
32
41
|
const context = useFlexibleUiContext();
|
|
@@ -59,7 +68,7 @@ const FollowAction = props => {
|
|
|
59
68
|
label: "Follow",
|
|
60
69
|
testId: `smart-action-follow-action-${stackIconType}-icon`
|
|
61
70
|
});
|
|
62
|
-
const followIcon = isStackItem ? stackIcon : icon;
|
|
71
|
+
const followIcon = isStackItem ? stackIcon : getIconFF(stackIcon, icon);
|
|
63
72
|
return /*#__PURE__*/React.createElement(ServerAction, _extends({
|
|
64
73
|
content: /*#__PURE__*/React.createElement(FormattedMessage, label),
|
|
65
74
|
icon: followIcon,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import VidFullScreenOnIcon from '@atlaskit/icon/glyph/vid-full-screen-on';
|
|
3
3
|
import MediaServicesActualSizeIcon from '@atlaskit/icon/glyph/media-services/actual-size';
|
|
4
|
+
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
4
5
|
import React, { useCallback } from 'react';
|
|
5
6
|
import { FormattedMessage } from 'react-intl-next';
|
|
6
7
|
import { ActionName } from '../../../../../constants';
|
|
@@ -9,6 +10,14 @@ import { useFlexibleUiAnalyticsContext, useFlexibleUiContext } from '../../../..
|
|
|
9
10
|
import useInvokeClientAction from '../../../../../state/hooks/use-invoke-client-action';
|
|
10
11
|
import { openEmbedModalWithFlexibleUiIcon } from '../../utils';
|
|
11
12
|
import Action from '../action';
|
|
13
|
+
const getIconFF = () => {
|
|
14
|
+
if (getBooleanFF('platform.linking-platform.smart-card.hover-card-action-redesign')) {
|
|
15
|
+
if (getBooleanFF('platform.linking-platform.smart-card.action-icon-redesign')) {
|
|
16
|
+
return MediaServicesActualSizeIcon;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return VidFullScreenOnIcon;
|
|
20
|
+
};
|
|
12
21
|
const PreviewAction = ({
|
|
13
22
|
onClick: onClickCallback,
|
|
14
23
|
...props
|
|
@@ -41,7 +50,7 @@ const PreviewAction = ({
|
|
|
41
50
|
}
|
|
42
51
|
}, [analytics, data, invoke, onClickCallback]);
|
|
43
52
|
const isStackItem = props.as === 'stack-item';
|
|
44
|
-
const Icon = isStackItem ? MediaServicesActualSizeIcon :
|
|
53
|
+
const Icon = isStackItem ? MediaServicesActualSizeIcon : getIconFF();
|
|
45
54
|
const tooltipMessage = isStackItem ? messages.preview_description : messages.preview_improved;
|
|
46
55
|
return data ? /*#__PURE__*/React.createElement(Action, _extends({
|
|
47
56
|
content: /*#__PURE__*/React.createElement(FormattedMessage, messages.preview_improved),
|
|
@@ -7,7 +7,7 @@ import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-m
|
|
|
7
7
|
import LinkWarningModal from './LinkWarningModal';
|
|
8
8
|
const PACKAGE_DATA = {
|
|
9
9
|
packageName: "@atlaskit/smart-card",
|
|
10
|
-
packageVersion: "26.
|
|
10
|
+
packageVersion: "26.66.0",
|
|
11
11
|
componentName: 'linkUrl'
|
|
12
12
|
};
|
|
13
13
|
const Link = withLinkClickedEvent('a');
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Return link summary
|
|
3
|
+
*/
|
|
1
4
|
export var extractSummary = function extractSummary(jsonLd) {
|
|
2
|
-
|
|
5
|
+
if (typeof (jsonLd === null || jsonLd === void 0 ? void 0 : jsonLd.summary) === 'string') {
|
|
6
|
+
var summary = jsonLd.summary.trim();
|
|
7
|
+
return Boolean(summary) ? summary : undefined;
|
|
8
|
+
}
|
|
3
9
|
};
|
|
@@ -15,7 +15,7 @@ export var ANALYTICS_CHANNEL = 'media';
|
|
|
15
15
|
export var context = {
|
|
16
16
|
componentName: 'smart-cards',
|
|
17
17
|
packageName: "@atlaskit/smart-card",
|
|
18
|
-
packageVersion: "26.
|
|
18
|
+
packageVersion: "26.66.0"
|
|
19
19
|
};
|
|
20
20
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
21
21
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -2,6 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["value"];
|
|
4
4
|
import InviteTeamIcon from '@atlaskit/icon/glyph/invite-team';
|
|
5
|
+
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
5
6
|
import React from 'react';
|
|
6
7
|
import { FormattedMessage } from 'react-intl-next';
|
|
7
8
|
import { ActionName } from '../../../../../constants';
|
|
@@ -35,6 +36,14 @@ var getIcon = function getIcon(stackIconType) {
|
|
|
35
36
|
}
|
|
36
37
|
return importIcon(importFn);
|
|
37
38
|
};
|
|
39
|
+
var getIconFF = function getIconFF(iconFFEnabled, defaultIcon) {
|
|
40
|
+
if (getBooleanFF('platform.linking-platform.smart-card.hover-card-action-redesign')) {
|
|
41
|
+
if (getBooleanFF('platform.linking-platform.smart-card.action-icon-redesign')) {
|
|
42
|
+
return iconFFEnabled;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return defaultIcon;
|
|
46
|
+
};
|
|
38
47
|
var FollowAction = function FollowAction(props) {
|
|
39
48
|
var _context$actions, _context$actions2;
|
|
40
49
|
var context = useFlexibleUiContext();
|
|
@@ -66,7 +75,7 @@ var FollowAction = function FollowAction(props) {
|
|
|
66
75
|
label: "Follow",
|
|
67
76
|
testId: "smart-action-follow-action-".concat(stackIconType, "-icon")
|
|
68
77
|
});
|
|
69
|
-
var followIcon = isStackItem ? stackIcon : icon;
|
|
78
|
+
var followIcon = isStackItem ? stackIcon : getIconFF(stackIcon, icon);
|
|
70
79
|
return /*#__PURE__*/React.createElement(ServerAction, _extends({
|
|
71
80
|
content: /*#__PURE__*/React.createElement(FormattedMessage, label),
|
|
72
81
|
icon: followIcon,
|
|
@@ -8,6 +8,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
8
8
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9
9
|
import VidFullScreenOnIcon from '@atlaskit/icon/glyph/vid-full-screen-on';
|
|
10
10
|
import MediaServicesActualSizeIcon from '@atlaskit/icon/glyph/media-services/actual-size';
|
|
11
|
+
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
11
12
|
import React, { useCallback } from 'react';
|
|
12
13
|
import { FormattedMessage } from 'react-intl-next';
|
|
13
14
|
import { ActionName } from '../../../../../constants';
|
|
@@ -16,6 +17,14 @@ import { useFlexibleUiAnalyticsContext, useFlexibleUiContext } from '../../../..
|
|
|
16
17
|
import useInvokeClientAction from '../../../../../state/hooks/use-invoke-client-action';
|
|
17
18
|
import { openEmbedModalWithFlexibleUiIcon } from '../../utils';
|
|
18
19
|
import Action from '../action';
|
|
20
|
+
var getIconFF = function getIconFF() {
|
|
21
|
+
if (getBooleanFF('platform.linking-platform.smart-card.hover-card-action-redesign')) {
|
|
22
|
+
if (getBooleanFF('platform.linking-platform.smart-card.action-icon-redesign')) {
|
|
23
|
+
return MediaServicesActualSizeIcon;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
return VidFullScreenOnIcon;
|
|
27
|
+
};
|
|
19
28
|
var PreviewAction = function PreviewAction(_ref) {
|
|
20
29
|
var _context$actions;
|
|
21
30
|
var onClickCallback = _ref.onClick,
|
|
@@ -62,7 +71,7 @@ var PreviewAction = function PreviewAction(_ref) {
|
|
|
62
71
|
}
|
|
63
72
|
}, [analytics, data, invoke, onClickCallback]);
|
|
64
73
|
var isStackItem = props.as === 'stack-item';
|
|
65
|
-
var Icon = isStackItem ? MediaServicesActualSizeIcon :
|
|
74
|
+
var Icon = isStackItem ? MediaServicesActualSizeIcon : getIconFF();
|
|
66
75
|
var tooltipMessage = isStackItem ? messages.preview_description : messages.preview_improved;
|
|
67
76
|
return data ? /*#__PURE__*/React.createElement(Action, _extends({
|
|
68
77
|
content: /*#__PURE__*/React.createElement(FormattedMessage, messages.preview_improved),
|
|
@@ -10,7 +10,7 @@ import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-m
|
|
|
10
10
|
import LinkWarningModal from './LinkWarningModal';
|
|
11
11
|
var PACKAGE_DATA = {
|
|
12
12
|
packageName: "@atlaskit/smart-card",
|
|
13
|
-
packageVersion: "26.
|
|
13
|
+
packageVersion: "26.66.0",
|
|
14
14
|
componentName: 'linkUrl'
|
|
15
15
|
};
|
|
16
16
|
var Link = withLinkClickedEvent('a');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "26.
|
|
3
|
+
"version": "26.66.0",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -179,6 +179,9 @@
|
|
|
179
179
|
},
|
|
180
180
|
"platform.linking-platform.smart-card.fix-embed-card-blurring": {
|
|
181
181
|
"type": "boolean"
|
|
182
|
+
},
|
|
183
|
+
"platform.linking-platform.smart-card.action-icon-redesign": {
|
|
184
|
+
"type": "boolean"
|
|
182
185
|
}
|
|
183
186
|
},
|
|
184
187
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|