@atlaskit/link-datasource 4.13.5 → 4.13.6

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 4.13.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#188519](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/188519)
8
+ [`74377e57c5459`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/74377e57c5459) -
9
+ NO-ISSUE Fixing failing a11y in linking-platform
10
+
3
11
  ## 4.13.5
4
12
 
5
13
  ### Patch Changes
@@ -32,7 +32,7 @@ function SharedIconComponent(_ref) {
32
32
  testId: testId
33
33
  }, /*#__PURE__*/React.createElement(_compiled.Inline, null, /*#__PURE__*/React.createElement("img", {
34
34
  src: iconUrl,
35
- alt: label,
35
+ alt: (label === null || label === void 0 ? void 0 : label.toLowerCase()) !== (text === null || text === void 0 ? void 0 : text.toLowerCase()) ? label : '',
36
36
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
37
37
  style: (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-sllv') ? {} : {
38
38
  minWidth: '24px',
@@ -24,7 +24,7 @@ export function SharedIconComponent({
24
24
  testId: testId
25
25
  }, /*#__PURE__*/React.createElement(Inline, null, /*#__PURE__*/React.createElement("img", {
26
26
  src: iconUrl,
27
- alt: label,
27
+ alt: (label === null || label === void 0 ? void 0 : label.toLowerCase()) !== (text === null || text === void 0 ? void 0 : text.toLowerCase()) ? label : '',
28
28
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
29
29
  style: fg('platform-linking-visual-refresh-sllv') ? {} : {
30
30
  minWidth: '24px',
@@ -24,7 +24,7 @@ export function SharedIconComponent(_ref) {
24
24
  testId: testId
25
25
  }, /*#__PURE__*/React.createElement(Inline, null, /*#__PURE__*/React.createElement("img", {
26
26
  src: iconUrl,
27
- alt: label,
27
+ alt: (label === null || label === void 0 ? void 0 : label.toLowerCase()) !== (text === null || text === void 0 ? void 0 : text.toLowerCase()) ? label : '',
28
28
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
29
29
  style: fg('platform-linking-visual-refresh-sllv') ? {} : {
30
30
  minWidth: '24px',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "4.13.5",
3
+ "version": "4.13.6",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -51,7 +51,7 @@
51
51
  "@atlaskit/flag": "^17.2.0",
52
52
  "@atlaskit/form": "^12.0.0",
53
53
  "@atlaskit/heading": "^5.2.0",
54
- "@atlaskit/icon": "^27.3.0",
54
+ "@atlaskit/icon": "^27.4.0",
55
55
  "@atlaskit/icon-object": "^7.1.0",
56
56
  "@atlaskit/image": "^3.0.0",
57
57
  "@atlaskit/inline-edit": "^15.3.0",
@@ -62,7 +62,7 @@
62
62
  "@atlaskit/layering": "^3.0.0",
63
63
  "@atlaskit/link": "^3.2.0",
64
64
  "@atlaskit/link-client-extension": "^5.0.0",
65
- "@atlaskit/linking-common": "^9.1.0",
65
+ "@atlaskit/linking-common": "^9.2.0",
66
66
  "@atlaskit/linking-types": "^14.0.0",
67
67
  "@atlaskit/logo": "^19.5.0",
68
68
  "@atlaskit/lozenge": "^13.0.0",
@@ -77,7 +77,7 @@
77
77
  "@atlaskit/primitives": "^14.10.0",
78
78
  "@atlaskit/react-select": "^3.2.0",
79
79
  "@atlaskit/select": "^21.2.0",
80
- "@atlaskit/smart-card": "^40.3.0",
80
+ "@atlaskit/smart-card": "^40.4.0",
81
81
  "@atlaskit/smart-user-picker": "^8.0.0",
82
82
  "@atlaskit/spinner": "^18.0.0",
83
83
  "@atlaskit/tag": "^14.0.0",