@atlaskit/smart-card 26.50.2 → 26.50.3
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 +6 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/EmbedCard/components/ExpandedFrame.js +2 -2
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/EmbedCard/components/ExpandedFrame.js +2 -2
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/EmbedCard/components/ExpandedFrame.js +2 -2
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 26.50.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#82262](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/82262) [`dc5f0c05bafa`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dc5f0c05bafa) - CAMPTASKS-438 Change the FF used
|
|
8
|
+
|
|
3
9
|
## 26.50.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -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.50.
|
|
25
|
+
packageVersion: "26.50.3"
|
|
26
26
|
};
|
|
27
27
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
28
28
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -89,7 +89,7 @@ var ExpandedFrame = exports.ExpandedFrame = function ExpandedFrame(_ref) {
|
|
|
89
89
|
,
|
|
90
90
|
"data-is-selected": isSelected,
|
|
91
91
|
inheritDimensions: inheritDimensions
|
|
92
|
-
}, (0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.smart-card.embed-card-header-
|
|
92
|
+
}, (0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.smart-card.enable-embed-card-header-tooltip_g9saw') ? renderHeader() : renderHeaderOld(), renderContent());
|
|
93
93
|
} else {
|
|
94
94
|
return /*#__PURE__*/_react.default.createElement(_styled.Wrapper, {
|
|
95
95
|
className: _styled.className,
|
|
@@ -103,6 +103,6 @@ var ExpandedFrame = exports.ExpandedFrame = function ExpandedFrame(_ref) {
|
|
|
103
103
|
"data-is-selected": isSelected,
|
|
104
104
|
"data-wrapper-type": "default",
|
|
105
105
|
"data-is-interactive": isInteractive()
|
|
106
|
-
}, (0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.smart-card.embed-card-header-
|
|
106
|
+
}, (0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.smart-card.enable-embed-card-header-tooltip_g9saw') ? renderHeader() : renderHeaderOld(), renderContent());
|
|
107
107
|
}
|
|
108
108
|
};
|
|
@@ -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.50.
|
|
20
|
+
packageVersion: "26.50.3",
|
|
21
21
|
componentName: 'linkUrl'
|
|
22
22
|
};
|
|
23
23
|
var Link = (0, _click.withLinkClickedEvent)('a');
|
|
@@ -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.50.
|
|
7
|
+
packageVersion: "26.50.3"
|
|
8
8
|
};
|
|
9
9
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -69,7 +69,7 @@ export const ExpandedFrame = ({
|
|
|
69
69
|
,
|
|
70
70
|
"data-is-selected": isSelected,
|
|
71
71
|
inheritDimensions: inheritDimensions
|
|
72
|
-
}, getBooleanFF('platform.linking-platform.smart-card.embed-card-header-
|
|
72
|
+
}, getBooleanFF('platform.linking-platform.smart-card.enable-embed-card-header-tooltip_g9saw') ? renderHeader() : renderHeaderOld(), renderContent());
|
|
73
73
|
} else {
|
|
74
74
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
75
75
|
className: className,
|
|
@@ -83,6 +83,6 @@ export const ExpandedFrame = ({
|
|
|
83
83
|
"data-is-selected": isSelected,
|
|
84
84
|
"data-wrapper-type": "default",
|
|
85
85
|
"data-is-interactive": isInteractive()
|
|
86
|
-
}, getBooleanFF('platform.linking-platform.smart-card.embed-card-header-
|
|
86
|
+
}, getBooleanFF('platform.linking-platform.smart-card.enable-embed-card-header-tooltip_g9saw') ? renderHeader() : renderHeaderOld(), renderContent());
|
|
87
87
|
}
|
|
88
88
|
};
|
|
@@ -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.50.
|
|
10
|
+
packageVersion: "26.50.3",
|
|
11
11
|
componentName: 'linkUrl'
|
|
12
12
|
};
|
|
13
13
|
const Link = withLinkClickedEvent('a');
|
|
@@ -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.50.
|
|
18
|
+
packageVersion: "26.50.3"
|
|
19
19
|
};
|
|
20
20
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
21
21
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -82,7 +82,7 @@ export var ExpandedFrame = function ExpandedFrame(_ref) {
|
|
|
82
82
|
,
|
|
83
83
|
"data-is-selected": isSelected,
|
|
84
84
|
inheritDimensions: inheritDimensions
|
|
85
|
-
}, getBooleanFF('platform.linking-platform.smart-card.embed-card-header-
|
|
85
|
+
}, getBooleanFF('platform.linking-platform.smart-card.enable-embed-card-header-tooltip_g9saw') ? renderHeader() : renderHeaderOld(), renderContent());
|
|
86
86
|
} else {
|
|
87
87
|
return /*#__PURE__*/React.createElement(Wrapper, {
|
|
88
88
|
className: className,
|
|
@@ -96,6 +96,6 @@ export var ExpandedFrame = function ExpandedFrame(_ref) {
|
|
|
96
96
|
"data-is-selected": isSelected,
|
|
97
97
|
"data-wrapper-type": "default",
|
|
98
98
|
"data-is-interactive": isInteractive()
|
|
99
|
-
}, getBooleanFF('platform.linking-platform.smart-card.embed-card-header-
|
|
99
|
+
}, getBooleanFF('platform.linking-platform.smart-card.enable-embed-card-header-tooltip_g9saw') ? renderHeader() : renderHeaderOld(), renderContent());
|
|
100
100
|
}
|
|
101
101
|
};
|
|
@@ -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.50.
|
|
13
|
+
packageVersion: "26.50.3",
|
|
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.50.
|
|
3
|
+
"version": "26.50.3",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
"platform.linking-platform.smart-card.fix-intersection-observer": {
|
|
165
165
|
"type": "boolean"
|
|
166
166
|
},
|
|
167
|
-
"platform.linking-platform.smart-card.embed-card-header-
|
|
167
|
+
"platform.linking-platform.smart-card.enable-embed-card-header-tooltip_g9saw": {
|
|
168
168
|
"type": "boolean"
|
|
169
169
|
}
|
|
170
170
|
},
|