@atlaskit/smart-card 43.4.0 → 43.4.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 +16 -0
- package/dist/cjs/view/FlexibleCard/components/container/layered-link/index.js +1 -2
- package/dist/es2019/view/FlexibleCard/components/container/layered-link/index.js +1 -2
- package/dist/esm/view/FlexibleCard/components/container/layered-link/index.js +1 -2
- package/package.json +6 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 43.4.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`9e84a17c1d832`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9e84a17c1d832) -
|
|
8
|
+
NAVX-1854 cleaning up navx-1706-smart-link-layered-link-a11y-update
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 43.4.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`72222bda541f2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/72222bda541f2) -
|
|
16
|
+
Clean up feature flags.
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 43.4.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -9,7 +9,6 @@ exports.default = void 0;
|
|
|
9
9
|
require("./index.compiled.css");
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _runtime = require("@compiled/react/runtime");
|
|
12
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
13
12
|
var _useLinkClicked = require("../../../../../state/analytics/useLinkClicked");
|
|
14
13
|
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); }
|
|
15
14
|
var styles = null;
|
|
@@ -36,7 +35,7 @@ var LayeredLink = function LayeredLink(_ref) {
|
|
|
36
35
|
target: target,
|
|
37
36
|
tabIndex: -1 // Hide tab index and let the title link be the link.
|
|
38
37
|
,
|
|
39
|
-
"aria-hidden":
|
|
38
|
+
"aria-hidden": true // This is to avoid screen readers reading out the link twice.
|
|
40
39
|
}, text);
|
|
41
40
|
};
|
|
42
41
|
var _default = exports.default = LayeredLink;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import "./index.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
5
|
import { useMouseDownEvent } from '../../../../../state/analytics/useLinkClicked';
|
|
7
6
|
const styles = null;
|
|
8
7
|
|
|
@@ -29,7 +28,7 @@ const LayeredLink = ({
|
|
|
29
28
|
target: target,
|
|
30
29
|
tabIndex: -1 // Hide tab index and let the title link be the link.
|
|
31
30
|
,
|
|
32
|
-
"aria-hidden":
|
|
31
|
+
"aria-hidden": true // This is to avoid screen readers reading out the link twice.
|
|
33
32
|
}, text);
|
|
34
33
|
};
|
|
35
34
|
export default LayeredLink;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import "./index.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
5
|
import { useMouseDownEvent } from '../../../../../state/analytics/useLinkClicked';
|
|
7
6
|
var styles = null;
|
|
8
7
|
|
|
@@ -28,7 +27,7 @@ var LayeredLink = function LayeredLink(_ref) {
|
|
|
28
27
|
target: target,
|
|
29
28
|
tabIndex: -1 // Hide tab index and let the title link be the link.
|
|
30
29
|
,
|
|
31
|
-
"aria-hidden":
|
|
30
|
+
"aria-hidden": true // This is to avoid screen readers reading out the link twice.
|
|
32
31
|
}, text);
|
|
33
32
|
};
|
|
34
33
|
export default LayeredLink;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "43.4.
|
|
3
|
+
"version": "43.4.2",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
31
31
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
32
32
|
"@atlaskit/avatar": "^25.5.0",
|
|
33
|
-
"@atlaskit/avatar-group": "^12.
|
|
33
|
+
"@atlaskit/avatar-group": "^12.4.0",
|
|
34
34
|
"@atlaskit/badge": "^18.2.0",
|
|
35
35
|
"@atlaskit/button": "^23.5.0",
|
|
36
36
|
"@atlaskit/checkbox": "^17.1.0",
|
|
@@ -62,15 +62,15 @@
|
|
|
62
62
|
"@atlaskit/modal-dialog": "^14.6.0",
|
|
63
63
|
"@atlaskit/outbound-auth-flow-client": "^3.4.0",
|
|
64
64
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
65
|
-
"@atlaskit/popup": "^4.
|
|
66
|
-
"@atlaskit/primitives": "^16.
|
|
67
|
-
"@atlaskit/section-message": "^8.
|
|
65
|
+
"@atlaskit/popup": "^4.5.0",
|
|
66
|
+
"@atlaskit/primitives": "^16.1.0",
|
|
67
|
+
"@atlaskit/section-message": "^8.8.0",
|
|
68
68
|
"@atlaskit/select": "^21.3.0",
|
|
69
69
|
"@atlaskit/spinner": "^19.0.0",
|
|
70
70
|
"@atlaskit/textarea": "^8.0.0",
|
|
71
71
|
"@atlaskit/textfield": "^8.0.0",
|
|
72
72
|
"@atlaskit/theme": "^21.0.0",
|
|
73
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
73
|
+
"@atlaskit/tmp-editor-statsig": "^13.20.0",
|
|
74
74
|
"@atlaskit/tokens": "^7.0.0",
|
|
75
75
|
"@atlaskit/tooltip": "^20.6.0",
|
|
76
76
|
"@atlaskit/ufo": "^0.4.0",
|
|
@@ -187,9 +187,6 @@
|
|
|
187
187
|
"platform_editor_content_mode_button_mvp": {
|
|
188
188
|
"type": "boolean"
|
|
189
189
|
},
|
|
190
|
-
"should-render-to-parent-should-be-true-linking-pla": {
|
|
191
|
-
"type": "boolean"
|
|
192
|
-
},
|
|
193
190
|
"prompt_whiteboard_competitor_link_gate": {
|
|
194
191
|
"type": "boolean"
|
|
195
192
|
},
|
|
@@ -214,9 +211,6 @@
|
|
|
214
211
|
"platform_deprecate_lp_cc_embed": {
|
|
215
212
|
"type": "boolean"
|
|
216
213
|
},
|
|
217
|
-
"navx-1706-smart-link-layered-link-a11y-update": {
|
|
218
|
-
"type": "boolean"
|
|
219
|
-
},
|
|
220
214
|
"hover-card-on-visibility-change-callback": {
|
|
221
215
|
"type": "boolean"
|
|
222
216
|
},
|