@atlaskit/smart-card 43.13.0 → 43.14.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 +11 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/EmbedCard/components/Frame.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/Frame.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/Frame.js +2 -2
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 43.14.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`41ae66a1304ba`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/41ae66a1304ba) -
|
|
8
|
+
Rename data-iframe-loaded to data-test-iframe-loaded to avoid it to be tagged by VC observer
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 43.13.0
|
|
4
15
|
|
|
5
16
|
### Minor 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: "43.
|
|
14
|
+
packageVersion: "43.13.0"
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -111,7 +111,7 @@ var Frame = exports.Frame = /*#__PURE__*/_react.default.forwardRef(function (_re
|
|
|
111
111
|
childRef: mergedRef,
|
|
112
112
|
src: url,
|
|
113
113
|
"data-testid": "".concat(testId, "-frame"),
|
|
114
|
-
"data-iframe-loaded": isIframeLoaded,
|
|
114
|
+
"data-test-iframe-loaded": isIframeLoaded,
|
|
115
115
|
onMouseEnter: function onMouseEnter() {
|
|
116
116
|
setMouseOver(true);
|
|
117
117
|
},
|
|
@@ -220,7 +220,7 @@ var FrameUpdated = exports.FrameUpdated = /*#__PURE__*/_react.default.forwardRef
|
|
|
220
220
|
childRef: mergedRef,
|
|
221
221
|
src: url,
|
|
222
222
|
"data-testid": "".concat(testId, "-frame"),
|
|
223
|
-
"data-iframe-loaded": isIframeLoaded,
|
|
223
|
+
"data-test-iframe-loaded": isIframeLoaded,
|
|
224
224
|
onMouseEnter: function onMouseEnter() {
|
|
225
225
|
onIframeMouseEnter === null || onIframeMouseEnter === void 0 || onIframeMouseEnter();
|
|
226
226
|
// Use local state if prop not provided, otherwise prop takes precedence
|
|
@@ -22,7 +22,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
|
|
|
22
22
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
23
23
|
var PACKAGE_DATA = {
|
|
24
24
|
packageName: "@atlaskit/smart-card",
|
|
25
|
-
packageVersion: "43.
|
|
25
|
+
packageVersion: "43.13.0",
|
|
26
26
|
componentName: 'linkUrl'
|
|
27
27
|
};
|
|
28
28
|
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: "43.
|
|
5
|
+
packageVersion: "43.13.0"
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -89,7 +89,7 @@ export const Frame = /*#__PURE__*/React.forwardRef(({
|
|
|
89
89
|
childRef: mergedRef,
|
|
90
90
|
src: url,
|
|
91
91
|
"data-testid": `${testId}-frame`,
|
|
92
|
-
"data-iframe-loaded": isIframeLoaded,
|
|
92
|
+
"data-test-iframe-loaded": isIframeLoaded,
|
|
93
93
|
onMouseEnter: () => {
|
|
94
94
|
setMouseOver(true);
|
|
95
95
|
},
|
|
@@ -184,7 +184,7 @@ export const FrameUpdated = /*#__PURE__*/React.forwardRef(({
|
|
|
184
184
|
childRef: mergedRef,
|
|
185
185
|
src: url,
|
|
186
186
|
"data-testid": `${testId}-frame`,
|
|
187
|
-
"data-iframe-loaded": isIframeLoaded,
|
|
187
|
+
"data-test-iframe-loaded": isIframeLoaded,
|
|
188
188
|
onMouseEnter: () => {
|
|
189
189
|
onIframeMouseEnter === null || onIframeMouseEnter === void 0 ? void 0 : onIframeMouseEnter();
|
|
190
190
|
// Use local state if prop not provided, otherwise prop takes precedence
|
|
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
12
12
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
13
13
|
const PACKAGE_DATA = {
|
|
14
14
|
packageName: "@atlaskit/smart-card",
|
|
15
|
-
packageVersion: "43.
|
|
15
|
+
packageVersion: "43.13.0",
|
|
16
16
|
componentName: 'linkUrl'
|
|
17
17
|
};
|
|
18
18
|
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: "43.
|
|
7
|
+
packageVersion: "43.13.0"
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -104,7 +104,7 @@ export var Frame = /*#__PURE__*/React.forwardRef(function (_ref, iframeRef) {
|
|
|
104
104
|
childRef: mergedRef,
|
|
105
105
|
src: url,
|
|
106
106
|
"data-testid": "".concat(testId, "-frame"),
|
|
107
|
-
"data-iframe-loaded": isIframeLoaded,
|
|
107
|
+
"data-test-iframe-loaded": isIframeLoaded,
|
|
108
108
|
onMouseEnter: function onMouseEnter() {
|
|
109
109
|
setMouseOver(true);
|
|
110
110
|
},
|
|
@@ -213,7 +213,7 @@ export var FrameUpdated = /*#__PURE__*/React.forwardRef(function (_ref2, iframeR
|
|
|
213
213
|
childRef: mergedRef,
|
|
214
214
|
src: url,
|
|
215
215
|
"data-testid": "".concat(testId, "-frame"),
|
|
216
|
-
"data-iframe-loaded": isIframeLoaded,
|
|
216
|
+
"data-test-iframe-loaded": isIframeLoaded,
|
|
217
217
|
onMouseEnter: function onMouseEnter() {
|
|
218
218
|
onIframeMouseEnter === null || onIframeMouseEnter === void 0 || onIframeMouseEnter();
|
|
219
219
|
// Use local state if prop not provided, otherwise prop takes precedence
|
|
@@ -15,7 +15,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
15
15
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
16
16
|
var PACKAGE_DATA = {
|
|
17
17
|
packageName: "@atlaskit/smart-card",
|
|
18
|
-
packageVersion: "43.
|
|
18
|
+
packageVersion: "43.13.0",
|
|
19
19
|
componentName: 'linkUrl'
|
|
20
20
|
};
|
|
21
21
|
var Anchor = withLinkClickedEvent('a');
|