@atlaskit/link-picker 3.8.3 → 3.9.0

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,23 @@
1
1
  # @atlaskit/link-picker
2
2
 
3
+ ## 3.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#191974](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/191974)
8
+ [`e04653dbc86fd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e04653dbc86fd) -
9
+ NAVX-1184 Removing and fixing eslint a11y rules from linking-platform packages
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 3.8.4
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 3.8.3
4
22
 
5
23
  ### Patch Changes
@@ -155,7 +155,6 @@ var LinkSearchList = exports.LinkSearchList = /*#__PURE__*/(0, _react.forwardRef
155
155
  }, items.map(function (item, index) {
156
156
  return /*#__PURE__*/React.createElement(_listItem.LinkSearchListItem, {
157
157
  id: "".concat(testIds.searchResultItem, "-").concat(index),
158
- role: role && 'option',
159
158
  item: item,
160
159
  selected: selectedIndex === index,
161
160
  active: activeIndex === index,
@@ -113,7 +113,6 @@ var LinkSearchListItem = exports.LinkSearchListItem = /*#__PURE__*/(0, _react.fo
113
113
  var item = _ref2.item,
114
114
  selected = _ref2.selected,
115
115
  id = _ref2.id,
116
- role = _ref2.role,
117
116
  onSelect = _ref2.onSelect,
118
117
  tabIndex = _ref2.tabIndex,
119
118
  onKeyDown = _ref2.onKeyDown,
@@ -126,7 +125,7 @@ var LinkSearchListItem = exports.LinkSearchListItem = /*#__PURE__*/(0, _react.fo
126
125
  };
127
126
  var subtitleItems = item.subtitleItems || getDefaultSubtitleItems(item, intl);
128
127
  return /*#__PURE__*/React.createElement("div", {
129
- role: role,
128
+ role: "option",
130
129
  id: id,
131
130
  "aria-selected": selected,
132
131
  "data-testid": testIds.searchResultItem,
@@ -25,7 +25,7 @@ var testIds = exports.testIds = {
25
25
  };
26
26
  var PACKAGE_DATA = exports.PACKAGE_DATA = {
27
27
  packageName: "@atlaskit/link-picker" || '',
28
- packageVersion: "3.8.2" || '',
28
+ packageVersion: "3.8.4" || '',
29
29
  componentName: _constants.COMPONENT_NAME,
30
30
  source: _constants.COMPONENT_NAME
31
31
  };
@@ -143,7 +143,6 @@ export const LinkSearchList = /*#__PURE__*/forwardRef(({
143
143
  className: ax(["_qtt8glyw _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _19pkze3t _otyrze3t _18u01mjz _2hwxum63"])
144
144
  }, items.map((item, index) => /*#__PURE__*/React.createElement(LinkSearchListItem, {
145
145
  id: `${testIds.searchResultItem}-${index}`,
146
- role: role && 'option',
147
146
  item: item,
148
147
  selected: selectedIndex === index,
149
148
  active: activeIndex === index,
@@ -90,7 +90,6 @@ export const LinkSearchListItem = /*#__PURE__*/forwardRef(({
90
90
  item,
91
91
  selected,
92
92
  id,
93
- role,
94
93
  onSelect,
95
94
  tabIndex,
96
95
  onKeyDown,
@@ -101,7 +100,7 @@ export const LinkSearchListItem = /*#__PURE__*/forwardRef(({
101
100
  const handleSelect = () => onSelect(item.objectId);
102
101
  const subtitleItems = item.subtitleItems || getDefaultSubtitleItems(item, intl);
103
102
  return /*#__PURE__*/React.createElement("div", {
104
- role: role,
103
+ role: "option",
105
104
  id: id,
106
105
  "aria-selected": selected,
107
106
  "data-testid": testIds.searchResultItem,
@@ -15,7 +15,7 @@ export const testIds = {
15
15
  };
16
16
  export const PACKAGE_DATA = {
17
17
  packageName: "@atlaskit/link-picker" || '',
18
- packageVersion: "3.8.2" || '',
18
+ packageVersion: "3.8.4" || '',
19
19
  componentName: COMPONENT_NAME,
20
20
  source: COMPONENT_NAME
21
21
  };
@@ -146,7 +146,6 @@ export var LinkSearchList = /*#__PURE__*/forwardRef(function (_ref, ref) {
146
146
  }, items.map(function (item, index) {
147
147
  return /*#__PURE__*/React.createElement(LinkSearchListItem, {
148
148
  id: "".concat(testIds.searchResultItem, "-").concat(index),
149
- role: role && 'option',
150
149
  item: item,
151
150
  selected: selectedIndex === index,
152
151
  active: activeIndex === index,
@@ -104,7 +104,6 @@ export var LinkSearchListItem = /*#__PURE__*/forwardRef(function (_ref2, ref) {
104
104
  var item = _ref2.item,
105
105
  selected = _ref2.selected,
106
106
  id = _ref2.id,
107
- role = _ref2.role,
108
107
  onSelect = _ref2.onSelect,
109
108
  tabIndex = _ref2.tabIndex,
110
109
  onKeyDown = _ref2.onKeyDown,
@@ -117,7 +116,7 @@ export var LinkSearchListItem = /*#__PURE__*/forwardRef(function (_ref2, ref) {
117
116
  };
118
117
  var subtitleItems = item.subtitleItems || getDefaultSubtitleItems(item, intl);
119
118
  return /*#__PURE__*/React.createElement("div", {
120
- role: role,
119
+ role: "option",
121
120
  id: id,
122
121
  "aria-selected": selected,
123
122
  "data-testid": testIds.searchResultItem,
@@ -16,7 +16,7 @@ export var testIds = {
16
16
  };
17
17
  export var PACKAGE_DATA = {
18
18
  packageName: "@atlaskit/link-picker" || '',
19
- packageVersion: "3.8.2" || '',
19
+ packageVersion: "3.8.4" || '',
20
20
  componentName: COMPONENT_NAME,
21
21
  source: COMPONENT_NAME
22
22
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-picker",
3
- "version": "3.8.3",
3
+ "version": "3.9.0",
4
4
  "description": "Standalone link picker",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "publishConfig": {
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "license": "Apache-2.0",
10
10
  "atlassian": {
11
- "team": "Linking Platform",
11
+ "team": "Navigation Experiences - Linking Platform",
12
12
  "i18n": true,
13
13
  "website": {
14
14
  "name": "Link Picker"
@@ -63,21 +63,21 @@
63
63
  },
64
64
  "dependencies": {
65
65
  "@atlaskit/analytics-next": "^11.1.0",
66
- "@atlaskit/atlassian-context": "^0.3.0",
66
+ "@atlaskit/atlassian-context": "^0.4.0",
67
67
  "@atlaskit/button": "^23.3.0",
68
68
  "@atlaskit/css": "^0.12.0",
69
69
  "@atlaskit/form": "^12.0.0",
70
70
  "@atlaskit/frontend-utilities": "^3.1.0",
71
71
  "@atlaskit/heading": "^5.2.0",
72
- "@atlaskit/icon": "^27.7.0",
72
+ "@atlaskit/icon": "^27.8.0",
73
73
  "@atlaskit/intl-messages-provider": "^2.0.0",
74
74
  "@atlaskit/link": "^3.2.0",
75
75
  "@atlaskit/link-provider": "^3.4.0",
76
76
  "@atlaskit/linking-common": "^9.2.0",
77
77
  "@atlaskit/onboarding": "^14.3.0",
78
78
  "@atlaskit/platform-feature-flags": "^1.1.0",
79
- "@atlaskit/primitives": "^14.10.0",
80
- "@atlaskit/smart-card": "^40.5.0",
79
+ "@atlaskit/primitives": "^14.11.0",
80
+ "@atlaskit/smart-card": "^40.6.0",
81
81
  "@atlaskit/spinner": "^19.0.0",
82
82
  "@atlaskit/tabs": "^18.1.0",
83
83
  "@atlaskit/textfield": "^8.0.0",