@atlaskit/link-datasource 0.34.3 → 0.34.5

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,17 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 0.34.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 0.34.4
10
+
11
+ ### Patch Changes
12
+
13
+ - [`0fb7c3220b9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0fb7c3220b9) - Fix issue where link doesn't open in new tab
14
+
3
15
  ## 0.34.3
4
16
 
5
17
  ### Patch Changes
@@ -39,7 +39,8 @@ var LinkRenderType = function LinkRenderType(_ref) {
39
39
  return /*#__PURE__*/_react.default.createElement(_linkUrl.default, {
40
40
  href: url,
41
41
  style: linkStyle,
42
- "data-testid": testId
42
+ "data-testid": testId,
43
+ target: "_blank"
43
44
  }, text || url);
44
45
  }, [linkStyle, url, text, testId]);
45
46
  var SmartCard = function SmartCard() {
@@ -344,7 +344,7 @@ var analyticsContextAttributes = {
344
344
  };
345
345
  var analyticsContextData = {
346
346
  packageName: "@atlaskit/link-datasource",
347
- packageVersion: "0.34.3",
347
+ packageVersion: "0.34.5",
348
348
  source: 'datasourceConfigModal'
349
349
  };
350
350
  var contextData = _objectSpread(_objectSpread({}, analyticsContextData), {}, {
@@ -25,7 +25,8 @@ const LinkRenderType = ({
25
25
  const anchor = useMemo(() => /*#__PURE__*/React.createElement(LinkUrl, {
26
26
  href: url,
27
27
  style: linkStyle,
28
- "data-testid": testId
28
+ "data-testid": testId,
29
+ target: "_blank"
29
30
  }, text || url), [linkStyle, url, text, testId]);
30
31
  const SmartCard = () => /*#__PURE__*/React.createElement(ErrorBoundary, {
31
32
  fallback: anchor
@@ -290,7 +290,7 @@ const analyticsContextAttributes = {
290
290
  };
291
291
  const analyticsContextData = {
292
292
  packageName: "@atlaskit/link-datasource",
293
- packageVersion: "0.34.3",
293
+ packageVersion: "0.34.5",
294
294
  source: 'datasourceConfigModal'
295
295
  };
296
296
  const contextData = {
@@ -28,7 +28,8 @@ var LinkRenderType = function LinkRenderType(_ref) {
28
28
  return /*#__PURE__*/React.createElement(LinkUrl, {
29
29
  href: url,
30
30
  style: linkStyle,
31
- "data-testid": testId
31
+ "data-testid": testId,
32
+ target: "_blank"
32
33
  }, text || url);
33
34
  }, [linkStyle, url, text, testId]);
34
35
  var SmartCard = function SmartCard() {
@@ -334,7 +334,7 @@ var analyticsContextAttributes = {
334
334
  };
335
335
  var analyticsContextData = {
336
336
  packageName: "@atlaskit/link-datasource",
337
- packageVersion: "0.34.3",
337
+ packageVersion: "0.34.5",
338
338
  source: 'datasourceConfigModal'
339
339
  };
340
340
  var contextData = _objectSpread(_objectSpread({}, analyticsContextData), {}, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "0.34.3",
3
+ "version": "0.34.5",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -47,7 +47,7 @@
47
47
  "@atlaskit/linking-types": "^8.2.0",
48
48
  "@atlaskit/lozenge": "^11.4.0",
49
49
  "@atlaskit/modal-dialog": "^12.6.0",
50
- "@atlaskit/pragmatic-drag-and-drop": "^0.22.0",
50
+ "@atlaskit/pragmatic-drag-and-drop": "^0.23.0",
51
51
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^0.11.0",
52
52
  "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll": "^0.6.0",
53
53
  "@atlaskit/pragmatic-drag-and-drop-react-indicator": "^0.16.0",