@atlaskit/smart-card 44.16.3 → 44.16.4
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/messages.js +1 -1
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/InlineCard/Frame/index.js +2 -3
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/messages.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/InlineCard/Frame/index.js +2 -3
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/messages.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/InlineCard/Frame/index.js +2 -3
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/package.json +6 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 44.16.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`be67cd3cadc6d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/be67cd3cadc6d) -
|
|
8
|
+
NAVX-4918 cleaning up navx-3611-inline-card-a11y-role-fix
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 44.16.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/dist/cjs/messages.js
CHANGED
|
@@ -14,7 +14,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
14
14
|
add_account: {
|
|
15
15
|
id: 'fabric.linking.add_account',
|
|
16
16
|
defaultMessage: 'Add account',
|
|
17
|
-
description: '
|
|
17
|
+
description: 'Button label that allows the user to add and connect a new external account'
|
|
18
18
|
},
|
|
19
19
|
ai_summarize: {
|
|
20
20
|
id: 'fabric.linking.ai_summarize',
|
|
@@ -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: "44.16.
|
|
14
|
+
packageVersion: "44.16.3" || ''
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.Frame = void 0;
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
10
9
|
var _useLinkClicked = require("../../../state/analytics/useLinkClicked");
|
|
11
10
|
var _styled = require("./styled");
|
|
12
11
|
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); }
|
|
@@ -51,8 +50,8 @@ var Frame = exports.Frame = /*#__PURE__*/(0, _react.forwardRef)(function (props,
|
|
|
51
50
|
withoutBackground: withoutBackground,
|
|
52
51
|
isSelected: isSelected,
|
|
53
52
|
isInteractive: isInteractive,
|
|
54
|
-
tabIndex: isInteractive &&
|
|
55
|
-
role: isInteractive &&
|
|
53
|
+
tabIndex: isInteractive && !link ? 0 : undefined,
|
|
54
|
+
role: isInteractive && !link ? 'button' : undefined,
|
|
56
55
|
onClick: handleClick,
|
|
57
56
|
onAuxClick: onAuxClick,
|
|
58
57
|
onContextMenu: onContextMenu,
|
|
@@ -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: "44.16.
|
|
22
|
+
packageVersion: "44.16.3",
|
|
23
23
|
componentName: 'linkUrl'
|
|
24
24
|
};
|
|
25
25
|
var LinkUrl = function LinkUrl(_ref) {
|
package/dist/es2019/messages.js
CHANGED
|
@@ -8,7 +8,7 @@ export const messages = defineMessages({
|
|
|
8
8
|
add_account: {
|
|
9
9
|
id: 'fabric.linking.add_account',
|
|
10
10
|
defaultMessage: 'Add account',
|
|
11
|
-
description: '
|
|
11
|
+
description: 'Button label that allows the user to add and connect a new external account'
|
|
12
12
|
},
|
|
13
13
|
ai_summarize: {
|
|
14
14
|
id: 'fabric.linking.ai_summarize',
|
|
@@ -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: "44.16.
|
|
5
|
+
packageVersion: "44.16.3" || ''
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React, { forwardRef, useCallback } from 'react';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
3
2
|
import { useMouseDownEvent } from '../../../state/analytics/useLinkClicked';
|
|
4
3
|
import { WrapperAnchor, WrapperSpan } from './styled';
|
|
5
4
|
export const Frame = /*#__PURE__*/forwardRef((props, ref) => {
|
|
@@ -45,8 +44,8 @@ export const Frame = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
45
44
|
withoutBackground: withoutBackground,
|
|
46
45
|
isSelected: isSelected,
|
|
47
46
|
isInteractive: isInteractive,
|
|
48
|
-
tabIndex: isInteractive &&
|
|
49
|
-
role: isInteractive &&
|
|
47
|
+
tabIndex: isInteractive && !link ? 0 : undefined,
|
|
48
|
+
role: isInteractive && !link ? 'button' : undefined,
|
|
50
49
|
onClick: handleClick,
|
|
51
50
|
onAuxClick: onAuxClick,
|
|
52
51
|
onContextMenu: onContextMenu,
|
|
@@ -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: "44.16.
|
|
12
|
+
packageVersion: "44.16.3",
|
|
13
13
|
componentName: 'linkUrl'
|
|
14
14
|
};
|
|
15
15
|
const LinkUrl = ({
|
package/dist/esm/messages.js
CHANGED
|
@@ -8,7 +8,7 @@ export var messages = defineMessages({
|
|
|
8
8
|
add_account: {
|
|
9
9
|
id: 'fabric.linking.add_account',
|
|
10
10
|
defaultMessage: 'Add account',
|
|
11
|
-
description: '
|
|
11
|
+
description: 'Button label that allows the user to add and connect a new external account'
|
|
12
12
|
},
|
|
13
13
|
ai_summarize: {
|
|
14
14
|
id: 'fabric.linking.ai_summarize',
|
|
@@ -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: "44.16.
|
|
7
|
+
packageVersion: "44.16.3" || ''
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React, { forwardRef, useCallback } from 'react';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
3
2
|
import { useMouseDownEvent } from '../../../state/analytics/useLinkClicked';
|
|
4
3
|
import { WrapperAnchor, WrapperSpan } from './styled';
|
|
5
4
|
export var Frame = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
@@ -43,8 +42,8 @@ export var Frame = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
43
42
|
withoutBackground: withoutBackground,
|
|
44
43
|
isSelected: isSelected,
|
|
45
44
|
isInteractive: isInteractive,
|
|
46
|
-
tabIndex: isInteractive &&
|
|
47
|
-
role: isInteractive &&
|
|
45
|
+
tabIndex: isInteractive && !link ? 0 : undefined,
|
|
46
|
+
role: isInteractive && !link ? 'button' : undefined,
|
|
48
47
|
onClick: handleClick,
|
|
49
48
|
onAuxClick: onAuxClick,
|
|
50
49
|
onContextMenu: onContextMenu,
|
|
@@ -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: "44.16.
|
|
15
|
+
packageVersion: "44.16.3",
|
|
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": "44.16.
|
|
3
|
+
"version": "44.16.4",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"@atlaskit/form": "^15.5.0",
|
|
54
54
|
"@atlaskit/frontend-utilities": "^3.3.0",
|
|
55
55
|
"@atlaskit/heading": "^5.4.0",
|
|
56
|
-
"@atlaskit/icon": "^35.
|
|
56
|
+
"@atlaskit/icon": "^35.2.0",
|
|
57
57
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
58
|
-
"@atlaskit/icon-lab": "^6.
|
|
58
|
+
"@atlaskit/icon-lab": "^6.11.0",
|
|
59
59
|
"@atlaskit/image": "^3.0.0",
|
|
60
60
|
"@atlaskit/json-ld-types": "^1.5.0",
|
|
61
61
|
"@atlaskit/link": "^3.4.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@atlaskit/link-client-extension": "^6.1.0",
|
|
64
64
|
"@atlaskit/link-extractors": "^2.7.0",
|
|
65
65
|
"@atlaskit/link-test-helpers": "^10.3.0",
|
|
66
|
-
"@atlaskit/linking-common": "^9.
|
|
66
|
+
"@atlaskit/linking-common": "^9.12.0",
|
|
67
67
|
"@atlaskit/linking-types": "^14.4.0",
|
|
68
68
|
"@atlaskit/logo": "^20.1.0",
|
|
69
69
|
"@atlaskit/lozenge": "^13.8.0",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@atlaskit/outbound-auth-flow-client": "^3.4.0",
|
|
75
75
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
76
76
|
"@atlaskit/platform-feature-flags-react": "^0.5.0",
|
|
77
|
-
"@atlaskit/popup": "^4.
|
|
77
|
+
"@atlaskit/popup": "^4.22.0",
|
|
78
78
|
"@atlaskit/primitives": "^19.0.0",
|
|
79
79
|
"@atlaskit/react-ufo": "^6.1.0",
|
|
80
80
|
"@atlaskit/rovo-triggers": "^6.3.0",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"@atlaskit/textfield": "^8.3.0",
|
|
87
87
|
"@atlaskit/theme": "^25.0.0",
|
|
88
88
|
"@atlaskit/tile": "^1.1.0",
|
|
89
|
-
"@atlaskit/tmp-editor-statsig": "^83.
|
|
89
|
+
"@atlaskit/tmp-editor-statsig": "^83.1.0",
|
|
90
90
|
"@atlaskit/tokens": "^13.0.0",
|
|
91
91
|
"@atlaskit/tooltip": "^22.3.0",
|
|
92
92
|
"@atlaskit/ufo": "^0.5.0",
|
|
@@ -272,9 +272,6 @@
|
|
|
272
272
|
},
|
|
273
273
|
"platform_navx_block_card_footer_spacing": {
|
|
274
274
|
"type": "boolean"
|
|
275
|
-
},
|
|
276
|
-
"navx-3611-inline-card-a11y-role-fix": {
|
|
277
|
-
"type": "boolean"
|
|
278
275
|
}
|
|
279
276
|
},
|
|
280
277
|
"compassUnitTestMetricSourceId": "ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/f74ef1bc-7240-4aac-9dc8-9dc43b502089"
|