@atlaskit/smart-card 43.12.0 → 43.12.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 +7 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/EmbedCard/views/not-found-view/not-found-svg/index.js +5 -1
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/EmbedCard/views/not-found-view/not-found-svg/index.js +5 -1
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/EmbedCard/views/not-found-view/not-found-svg/index.js +5 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/package.json +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 43.12.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`7ae944d7f3cd6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7ae944d7f3cd6) -
|
|
8
|
+
NAVX-2825 Fixing no-literal-string-in-jsx violations in linking platform
|
|
9
|
+
|
|
3
10
|
## 43.12.0
|
|
4
11
|
|
|
5
12
|
### 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: "
|
|
14
|
+
packageVersion: "43.12.0"
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -6,6 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.NotFoundSVG = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _reactIntlNext = require("react-intl-next");
|
|
10
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
9
11
|
var NotFoundSVG = exports.NotFoundSVG = function NotFoundSVG() {
|
|
10
12
|
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
11
13
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -44,7 +46,9 @@ var NotFoundSVG = exports.NotFoundSVG = function NotFoundSVG() {
|
|
|
44
46
|
offset: "0.69",
|
|
45
47
|
stopColor: "#fff",
|
|
46
48
|
stopOpacity: "0.1"
|
|
47
|
-
}))), /*#__PURE__*/_react.default.createElement("title", null,
|
|
49
|
+
}))), /*#__PURE__*/_react.default.createElement("title", null, (0, _platformFeatureFlags.fg)('navx-2825-eslint-translation-fix-linking-platform') ? /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, {
|
|
50
|
+
defaultMessage: "Search error"
|
|
51
|
+
}) : "Search error"), /*#__PURE__*/_react.default.createElement("g", {
|
|
48
52
|
id: "Layer_2",
|
|
49
53
|
"data-name": "Layer 2"
|
|
50
54
|
}, /*#__PURE__*/_react.default.createElement("g", {
|
|
@@ -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: "
|
|
25
|
+
packageVersion: "43.12.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: "
|
|
5
|
+
packageVersion: "43.12.0"
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { FormattedMessage } from 'react-intl-next';
|
|
3
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
4
|
export const NotFoundSVG = () => /*#__PURE__*/React.createElement("svg", {
|
|
3
5
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4
6
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
@@ -36,7 +38,9 @@ export const NotFoundSVG = () => /*#__PURE__*/React.createElement("svg", {
|
|
|
36
38
|
offset: "0.69",
|
|
37
39
|
stopColor: "#fff",
|
|
38
40
|
stopOpacity: "0.1"
|
|
39
|
-
}))), /*#__PURE__*/React.createElement("title", null,
|
|
41
|
+
}))), /*#__PURE__*/React.createElement("title", null, fg('navx-2825-eslint-translation-fix-linking-platform') ? /*#__PURE__*/React.createElement(FormattedMessage, {
|
|
42
|
+
defaultMessage: "Search error"
|
|
43
|
+
}) : "Search error"), /*#__PURE__*/React.createElement("g", {
|
|
40
44
|
id: "Layer_2",
|
|
41
45
|
"data-name": "Layer 2"
|
|
42
46
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -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: "
|
|
15
|
+
packageVersion: "43.12.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: "
|
|
7
|
+
packageVersion: "43.12.0"
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { FormattedMessage } from 'react-intl-next';
|
|
3
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
4
|
export var NotFoundSVG = function NotFoundSVG() {
|
|
3
5
|
return /*#__PURE__*/React.createElement("svg", {
|
|
4
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -37,7 +39,9 @@ export var NotFoundSVG = function NotFoundSVG() {
|
|
|
37
39
|
offset: "0.69",
|
|
38
40
|
stopColor: "#fff",
|
|
39
41
|
stopOpacity: "0.1"
|
|
40
|
-
}))), /*#__PURE__*/React.createElement("title", null,
|
|
42
|
+
}))), /*#__PURE__*/React.createElement("title", null, fg('navx-2825-eslint-translation-fix-linking-platform') ? /*#__PURE__*/React.createElement(FormattedMessage, {
|
|
43
|
+
defaultMessage: "Search error"
|
|
44
|
+
}) : "Search error"), /*#__PURE__*/React.createElement("g", {
|
|
41
45
|
id: "Layer_2",
|
|
42
46
|
"data-name": "Layer 2"
|
|
43
47
|
}, /*#__PURE__*/React.createElement("g", {
|
|
@@ -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: "
|
|
18
|
+
packageVersion: "43.12.0",
|
|
19
19
|
componentName: 'linkUrl'
|
|
20
20
|
};
|
|
21
21
|
var Anchor = withLinkClickedEvent('a');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "43.12.
|
|
3
|
+
"version": "43.12.1",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -250,6 +250,9 @@
|
|
|
250
250
|
},
|
|
251
251
|
"smart-link-custom-hover-card-content": {
|
|
252
252
|
"type": "boolean"
|
|
253
|
+
},
|
|
254
|
+
"navx-2825-eslint-translation-fix-linking-platform": {
|
|
255
|
+
"type": "boolean"
|
|
253
256
|
}
|
|
254
257
|
},
|
|
255
258
|
"compassUnitTestMetricSourceId": "ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/f74ef1bc-7240-4aac-9dc8-9dc43b502089"
|