@atlaskit/smart-card 46.12.1 → 46.13.1
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 +20 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/CardWithUrl/component.js +1 -1
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/CardWithUrl/component.js +1 -1
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/CardWithUrl/component.js +1 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 46.13.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 46.13.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`90cd00b7b6bc2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/90cd00b7b6bc2) -
|
|
14
|
+
Update i18n NPM package versions for linking-platform,smart-experiences (Group 15)
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- [`d145f0018ddad`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d145f0018ddad) -
|
|
19
|
+
Cleanup `feature_gate` `platform_sl_click_inside_iframe`. Smart Links clicked inside an iframe now
|
|
20
|
+
always open in a new tab.
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
3
23
|
## 46.12.1
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -25,7 +25,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
|
|
|
25
25
|
var context = exports.context = {
|
|
26
26
|
componentName: 'smart-cards',
|
|
27
27
|
packageName: "@atlaskit/smart-card" || '',
|
|
28
|
-
packageVersion: "46.
|
|
28
|
+
packageVersion: "46.13.0" || ''
|
|
29
29
|
};
|
|
30
30
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
31
31
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -214,7 +214,7 @@ function Component(_ref) {
|
|
|
214
214
|
openInNewTab = resolveNavigation ? event.metaKey || event.ctrlKey || event.shiftKey || event.button === 1 : (0, _isSpecialEvent.isSpecialEvent)(event);
|
|
215
215
|
shouldOpenLink = isFlexibleUi || !onClick;
|
|
216
216
|
}
|
|
217
|
-
var isInIframe =
|
|
217
|
+
var isInIframe = window.top !== window;
|
|
218
218
|
var target = openInNewTab || isInIframe ? '_blank' : isFlexibleUi ? anchorTarget : '_self';
|
|
219
219
|
onClick === null || onClick === void 0 || onClick(event, {
|
|
220
220
|
url: url,
|
|
@@ -19,7 +19,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
|
|
|
19
19
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
20
20
|
var PACKAGE_DATA = {
|
|
21
21
|
packageName: "@atlaskit/smart-card",
|
|
22
|
-
packageVersion: "46.
|
|
22
|
+
packageVersion: "46.13.0",
|
|
23
23
|
componentName: 'linkUrl'
|
|
24
24
|
};
|
|
25
25
|
var LinkUrl = function LinkUrl(_ref) {
|
|
@@ -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: "46.
|
|
7
|
+
packageVersion: "46.13.0" || ''
|
|
8
8
|
};
|
|
9
9
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -204,7 +204,7 @@ function Component({
|
|
|
204
204
|
openInNewTab = resolveNavigation ? event.metaKey || event.ctrlKey || event.shiftKey || event.button === 1 : isSpecialEvent(event);
|
|
205
205
|
shouldOpenLink = isFlexibleUi || !onClick;
|
|
206
206
|
}
|
|
207
|
-
const isInIframe =
|
|
207
|
+
const isInIframe = window.top !== window;
|
|
208
208
|
const target = openInNewTab || isInIframe ? '_blank' : isFlexibleUi ? anchorTarget : '_self';
|
|
209
209
|
onClick === null || onClick === void 0 ? void 0 : onClick(event, {
|
|
210
210
|
url,
|
|
@@ -9,7 +9,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
9
9
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
10
10
|
const PACKAGE_DATA = {
|
|
11
11
|
packageName: "@atlaskit/smart-card",
|
|
12
|
-
packageVersion: "46.
|
|
12
|
+
packageVersion: "46.13.0",
|
|
13
13
|
componentName: 'linkUrl'
|
|
14
14
|
};
|
|
15
15
|
const LinkUrl = ({
|
|
@@ -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: "46.
|
|
7
|
+
packageVersion: "46.13.0" || ''
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -205,7 +205,7 @@ function Component(_ref) {
|
|
|
205
205
|
openInNewTab = resolveNavigation ? event.metaKey || event.ctrlKey || event.shiftKey || event.button === 1 : isSpecialEvent(event);
|
|
206
206
|
shouldOpenLink = isFlexibleUi || !onClick;
|
|
207
207
|
}
|
|
208
|
-
var isInIframe =
|
|
208
|
+
var isInIframe = window.top !== window;
|
|
209
209
|
var target = openInNewTab || isInIframe ? '_blank' : isFlexibleUi ? anchorTarget : '_self';
|
|
210
210
|
onClick === null || onClick === void 0 || onClick(event, {
|
|
211
211
|
url: url,
|
|
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
12
12
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
13
13
|
var PACKAGE_DATA = {
|
|
14
14
|
packageName: "@atlaskit/smart-card",
|
|
15
|
-
packageVersion: "46.
|
|
15
|
+
packageVersion: "46.13.0",
|
|
16
16
|
componentName: 'linkUrl'
|
|
17
17
|
};
|
|
18
18
|
var LinkUrl = function LinkUrl(_ref) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "46.
|
|
3
|
+
"version": "46.13.1",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@atlaskit/adf-utils": "^20.9.0",
|
|
42
|
-
"@atlaskit/afm-i18n-platform-linking-platform-smart-card": "2.
|
|
42
|
+
"@atlaskit/afm-i18n-platform-linking-platform-smart-card": "2.299.0",
|
|
43
43
|
"@atlaskit/analytics-cross-product": "^2.3.0",
|
|
44
44
|
"@atlaskit/analytics-gas-types": "^6.2.0",
|
|
45
45
|
"@atlaskit/analytics-next": "^12.6.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"@atlaskit/popup": "^10.2.0",
|
|
84
84
|
"@atlaskit/primitives": "^22.6.0",
|
|
85
85
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
86
|
-
"@atlaskit/react-ufo": "^8.
|
|
86
|
+
"@atlaskit/react-ufo": "^8.4.0",
|
|
87
87
|
"@atlaskit/rovo-triggers": "^12.12.0",
|
|
88
88
|
"@atlaskit/section-message": "^10.2.0",
|
|
89
89
|
"@atlaskit/select": "^23.1.0",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"@atlaskit/textfield": "^10.3.0",
|
|
95
95
|
"@atlaskit/theme": "^28.2.0",
|
|
96
96
|
"@atlaskit/tile": "^5.0.0",
|
|
97
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
97
|
+
"@atlaskit/tmp-editor-statsig": "^253.0.0",
|
|
98
98
|
"@atlaskit/tokens": "^20.9.0",
|
|
99
99
|
"@atlaskit/tooltip": "^24.4.0",
|
|
100
100
|
"@atlaskit/top-layer": "^7.1.0",
|