@atlaskit/smart-card 46.12.0 → 46.13.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 CHANGED
@@ -1,5 +1,25 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 46.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`90cd00b7b6bc2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/90cd00b7b6bc2) -
8
+ Update i18n NPM package versions for linking-platform,smart-experiences (Group 15)
9
+
10
+ ### Patch Changes
11
+
12
+ - [`d145f0018ddad`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d145f0018ddad) -
13
+ Cleanup `feature_gate` `platform_sl_click_inside_iframe`. Smart Links clicked inside an iframe now
14
+ always open in a new tab.
15
+ - Updated dependencies
16
+
17
+ ## 46.12.1
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies
22
+
3
23
  ## 46.12.0
4
24
 
5
25
  ### Minor 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.11.4" || ''
28
+ packageVersion: "46.12.1" || ''
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 = (0, _fg.fg)('platform_sl_click_inside_iframe') && window.top !== window;
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.11.4",
22
+ packageVersion: "46.12.1",
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.11.4" || ''
7
+ packageVersion: "46.12.1" || ''
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 = fg('platform_sl_click_inside_iframe') && window.top !== window;
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.11.4",
12
+ packageVersion: "46.12.1",
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.11.4" || ''
7
+ packageVersion: "46.12.1" || ''
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 = fg('platform_sl_click_inside_iframe') && window.top !== window;
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.11.4",
15
+ packageVersion: "46.12.1",
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.12.0",
3
+ "version": "46.13.0",
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.298.0",
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",
@@ -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": "^250.0.0",
97
+ "@atlaskit/tmp-editor-statsig": "^252.0.0",
98
98
  "@atlaskit/tokens": "^20.9.0",
99
99
  "@atlaskit/tooltip": "^24.4.0",
100
100
  "@atlaskit/top-layer": "^7.1.0",