@atlaskit/smart-card 30.2.0 → 30.2.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 +8 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/InlineCard/Frame/index.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/InlineCard/Frame/index.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/InlineCard/Frame/index.js +1 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 30.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#161372](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/161372)
|
|
8
|
+
[`78671d9d71d26`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/78671d9d71d26) -
|
|
9
|
+
Add aria-lable to smart link anchor
|
|
10
|
+
|
|
3
11
|
## 30.2.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -22,7 +22,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
|
|
|
22
22
|
var context = exports.context = {
|
|
23
23
|
componentName: 'smart-cards',
|
|
24
24
|
packageName: "@atlaskit/smart-card",
|
|
25
|
-
packageVersion: "30.2.
|
|
25
|
+
packageVersion: "30.2.1"
|
|
26
26
|
};
|
|
27
27
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
28
28
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -49,7 +49,7 @@ var Frame = exports.Frame = /*#__PURE__*/(0, _react.forwardRef)(function (props,
|
|
|
49
49
|
isSelected: isSelected,
|
|
50
50
|
isInteractive: isInteractive,
|
|
51
51
|
tabIndex: isInteractive ? 0 : undefined,
|
|
52
|
-
"aria-label": isAnchor
|
|
52
|
+
"aria-label": isAnchor ? link !== null && link !== void 0 ? link : 'Link' : undefined,
|
|
53
53
|
role: isInteractive ? 'button' : undefined,
|
|
54
54
|
onClick: handleClick,
|
|
55
55
|
onMouseDown: handleMouseDown,
|
|
@@ -17,7 +17,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId"],
|
|
|
17
17
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
18
18
|
var PACKAGE_DATA = {
|
|
19
19
|
packageName: "@atlaskit/smart-card",
|
|
20
|
-
packageVersion: "30.2.
|
|
20
|
+
packageVersion: "30.2.1",
|
|
21
21
|
componentName: 'linkUrl'
|
|
22
22
|
};
|
|
23
23
|
var Link = (0, _click.withLinkClickedEvent)('a');
|
|
@@ -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: "30.2.
|
|
7
|
+
packageVersion: "30.2.1"
|
|
8
8
|
};
|
|
9
9
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -42,7 +42,7 @@ export const Frame = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
42
42
|
isSelected: isSelected,
|
|
43
43
|
isInteractive: isInteractive,
|
|
44
44
|
tabIndex: isInteractive ? 0 : undefined,
|
|
45
|
-
"aria-label": isAnchor
|
|
45
|
+
"aria-label": isAnchor ? link !== null && link !== void 0 ? link : 'Link' : undefined,
|
|
46
46
|
role: isInteractive ? 'button' : undefined,
|
|
47
47
|
onClick: handleClick,
|
|
48
48
|
onMouseDown: handleMouseDown,
|
|
@@ -7,7 +7,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
7
7
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
8
8
|
const PACKAGE_DATA = {
|
|
9
9
|
packageName: "@atlaskit/smart-card",
|
|
10
|
-
packageVersion: "30.2.
|
|
10
|
+
packageVersion: "30.2.1",
|
|
11
11
|
componentName: 'linkUrl'
|
|
12
12
|
};
|
|
13
13
|
const Link = withLinkClickedEvent('a');
|
|
@@ -15,7 +15,7 @@ export var ANALYTICS_CHANNEL = 'media';
|
|
|
15
15
|
export var context = {
|
|
16
16
|
componentName: 'smart-cards',
|
|
17
17
|
packageName: "@atlaskit/smart-card",
|
|
18
|
-
packageVersion: "30.2.
|
|
18
|
+
packageVersion: "30.2.1"
|
|
19
19
|
};
|
|
20
20
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
21
21
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -40,7 +40,7 @@ export var Frame = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
40
40
|
isSelected: isSelected,
|
|
41
41
|
isInteractive: isInteractive,
|
|
42
42
|
tabIndex: isInteractive ? 0 : undefined,
|
|
43
|
-
"aria-label": isAnchor
|
|
43
|
+
"aria-label": isAnchor ? link !== null && link !== void 0 ? link : 'Link' : undefined,
|
|
44
44
|
role: isInteractive ? 'button' : undefined,
|
|
45
45
|
onClick: handleClick,
|
|
46
46
|
onMouseDown: handleMouseDown,
|
|
@@ -10,7 +10,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
10
10
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
11
11
|
var PACKAGE_DATA = {
|
|
12
12
|
packageName: "@atlaskit/smart-card",
|
|
13
|
-
packageVersion: "30.2.
|
|
13
|
+
packageVersion: "30.2.1",
|
|
14
14
|
componentName: 'linkUrl'
|
|
15
15
|
};
|
|
16
16
|
var Link = withLinkClickedEvent('a');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "30.2.
|
|
3
|
+
"version": "30.2.1",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@atlaskit/link-client-extension": "^2.4.0",
|
|
45
45
|
"@atlaskit/link-extractors": "^1.9.0",
|
|
46
46
|
"@atlaskit/linking-common": "^6.0.0",
|
|
47
|
-
"@atlaskit/linking-types": "^9.
|
|
47
|
+
"@atlaskit/linking-types": "^9.4.0",
|
|
48
48
|
"@atlaskit/logo": "^14.3.0",
|
|
49
49
|
"@atlaskit/lozenge": "^11.12.0",
|
|
50
50
|
"@atlaskit/menu": "^2.13.0",
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
"@atlaskit/popup": "^1.29.0",
|
|
55
55
|
"@atlaskit/primitives": "^13.0.0",
|
|
56
56
|
"@atlaskit/section-message": "^6.6.0",
|
|
57
|
-
"@atlaskit/select": "^18.
|
|
57
|
+
"@atlaskit/select": "^18.5.0",
|
|
58
58
|
"@atlaskit/spinner": "^16.3.0",
|
|
59
59
|
"@atlaskit/textarea": "^5.6.0",
|
|
60
60
|
"@atlaskit/textfield": "^6.5.0",
|
|
61
61
|
"@atlaskit/theme": "^14.0.0",
|
|
62
|
-
"@atlaskit/tokens": "^2.
|
|
62
|
+
"@atlaskit/tokens": "^2.2.0",
|
|
63
63
|
"@atlaskit/tooltip": "^18.8.0",
|
|
64
64
|
"@atlaskit/ufo": "^0.3.0",
|
|
65
65
|
"@babel/runtime": "^7.0.0",
|