@atlaskit/smart-card 43.22.0 → 43.22.2
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 +14 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/common/image-icon/index.js +1 -2
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/common/image-icon/index.js +1 -2
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/FlexibleCard/components/common/image-icon/index.js +1 -2
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/package.json +4 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 43.22.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 43.22.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`abf524088c01a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/abf524088c01a) -
|
|
14
|
+
NAVX-3072 cleaning up navx-2811-smart-link-a11y-image-alt
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 43.22.0
|
|
4
18
|
|
|
5
19
|
### 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.22.1"
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -14,7 +14,6 @@ var _runtime = require("@compiled/react/runtime");
|
|
|
14
14
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
15
15
|
var _reactIntlNext = require("react-intl-next");
|
|
16
16
|
var _reactRenderImage = _interopRequireDefault(require("react-render-image"));
|
|
17
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
18
17
|
var _loadingSkeleton = require("../loading-skeleton");
|
|
19
18
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
20
19
|
var styles = {
|
|
@@ -77,7 +76,7 @@ var ImageIcon = function ImageIcon(_ref) {
|
|
|
77
76
|
loaded: /*#__PURE__*/React.createElement("img", {
|
|
78
77
|
src: url,
|
|
79
78
|
"data-testid": "".concat(testId, "-image"),
|
|
80
|
-
alt:
|
|
79
|
+
alt: formatMessage(messages.imageAltText),
|
|
81
80
|
style: {
|
|
82
81
|
width: width,
|
|
83
82
|
height: height
|
|
@@ -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.22.1",
|
|
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.22.1"
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -5,7 +5,6 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import { useEffect, useState } from 'react';
|
|
6
6
|
import { defineMessages, useIntl } from 'react-intl-next';
|
|
7
7
|
import ImageLoader from 'react-render-image';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
8
|
import { LoadingSkeleton } from '../loading-skeleton';
|
|
10
9
|
const styles = {
|
|
11
10
|
roundImg: "_2rko1rr0"
|
|
@@ -62,7 +61,7 @@ const ImageIcon = ({
|
|
|
62
61
|
loaded: /*#__PURE__*/React.createElement("img", {
|
|
63
62
|
src: url,
|
|
64
63
|
"data-testid": `${testId}-image`,
|
|
65
|
-
alt:
|
|
64
|
+
alt: formatMessage(messages.imageAltText),
|
|
66
65
|
style: {
|
|
67
66
|
width,
|
|
68
67
|
height
|
|
@@ -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.22.1",
|
|
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.22.1"
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -6,7 +6,6 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
6
6
|
import { useEffect, useState } from 'react';
|
|
7
7
|
import { defineMessages, useIntl } from 'react-intl-next';
|
|
8
8
|
import ImageLoader from 'react-render-image';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
9
|
import { LoadingSkeleton } from '../loading-skeleton';
|
|
11
10
|
var styles = {
|
|
12
11
|
roundImg: "_2rko1rr0"
|
|
@@ -68,7 +67,7 @@ var ImageIcon = function ImageIcon(_ref) {
|
|
|
68
67
|
loaded: /*#__PURE__*/React.createElement("img", {
|
|
69
68
|
src: url,
|
|
70
69
|
"data-testid": "".concat(testId, "-image"),
|
|
71
|
-
alt:
|
|
70
|
+
alt: formatMessage(messages.imageAltText),
|
|
72
71
|
style: {
|
|
73
72
|
width: width,
|
|
74
73
|
height: height
|
|
@@ -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.22.1",
|
|
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.22.
|
|
3
|
+
"version": "43.22.2",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@atlaskit/form": "^15.3.0",
|
|
43
43
|
"@atlaskit/frontend-utilities": "^3.2.0",
|
|
44
44
|
"@atlaskit/heading": "^5.2.0",
|
|
45
|
-
"@atlaskit/icon": "^
|
|
45
|
+
"@atlaskit/icon": "^30.0.0",
|
|
46
46
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
47
47
|
"@atlaskit/icon-object": "^7.4.0",
|
|
48
48
|
"@atlaskit/icon-priority": "^6.3.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@atlaskit/textfield": "^8.2.0",
|
|
73
73
|
"@atlaskit/theme": "^21.0.0",
|
|
74
74
|
"@atlaskit/tile": "^1.0.0",
|
|
75
|
-
"@atlaskit/tmp-editor-statsig": "^16.
|
|
75
|
+
"@atlaskit/tmp-editor-statsig": "^16.30.0",
|
|
76
76
|
"@atlaskit/tokens": "^10.1.0",
|
|
77
77
|
"@atlaskit/tooltip": "^20.14.0",
|
|
78
78
|
"@atlaskit/ufo": "^0.4.0",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"@atlaskit/css-reset": "^7.3.0",
|
|
104
104
|
"@atlaskit/media-test-helpers": "^39.0.0",
|
|
105
105
|
"@atlaskit/ssr": "workspace:^",
|
|
106
|
-
"@atlassian/a11y-jest-testing": "^0.
|
|
106
|
+
"@atlassian/a11y-jest-testing": "^0.8.0",
|
|
107
107
|
"@atlassian/analytics-tooling": "workspace:^",
|
|
108
108
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
109
109
|
"@atlassian/gemini": "^1.29.0",
|
|
@@ -231,9 +231,6 @@
|
|
|
231
231
|
"platform_navx_send_context_to_ugs_for_rel_links": {
|
|
232
232
|
"type": "boolean"
|
|
233
233
|
},
|
|
234
|
-
"navx-2811-smart-link-a11y-image-alt": {
|
|
235
|
-
"type": "boolean"
|
|
236
|
-
},
|
|
237
234
|
"ufo_hold_flexible_card": {
|
|
238
235
|
"type": "boolean"
|
|
239
236
|
},
|