@atlaskit/user-picker 10.3.0 → 10.4.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,11 @@
1
1
  # @atlaskit/user-picker
2
2
 
3
+ ## 10.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`6734af6576d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6734af6576d) - Improved the behaviour of the aria-labelledby prop on the Input component. It used to use aria-describedby and if it didn't exist, fall back to using aria-labelledby. This has now been swapped to give aria-labelledby precedence with aria-describedby now being the fallback.
8
+
3
9
  ## 10.3.0
4
10
 
5
11
  ### Minor Changes
@@ -52,8 +52,8 @@ var Input = /*#__PURE__*/function (_React$Component) {
52
52
  * {@link https://github.com/JedWatson/react-select/issues/5651#issue-1731353197 GitHub}
53
53
  */
54
54
  function get() {
55
- var _this$props$ariaDesc;
56
- return (_this$props$ariaDesc = this.props['aria-describedby']) !== null && _this$props$ariaDesc !== void 0 ? _this$props$ariaDesc : this.props['aria-labelledby'];
55
+ var _this$props$ariaLabe;
56
+ return (_this$props$ariaLabe = this.props['aria-labelledby']) !== null && _this$props$ariaLabe !== void 0 ? _this$props$ariaLabe : this.props['aria-describedby'];
57
57
  }
58
58
  }, {
59
59
  key: "ariaDescribedBy",
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/user-picker",
3
- "version": "10.3.0",
3
+ "version": "10.4.0",
4
4
  "sideEffects": false
5
5
  }
@@ -26,8 +26,8 @@ export class Input extends React.Component {
26
26
  * {@link https://github.com/JedWatson/react-select/issues/5651#issue-1731353197 GitHub}
27
27
  */
28
28
  get ariaLabelledBy() {
29
- var _this$props$ariaDesc;
30
- return (_this$props$ariaDesc = this.props['aria-describedby']) !== null && _this$props$ariaDesc !== void 0 ? _this$props$ariaDesc : this.props['aria-labelledby'];
29
+ var _this$props$ariaLabe;
30
+ return (_this$props$ariaLabe = this.props['aria-labelledby']) !== null && _this$props$ariaLabe !== void 0 ? _this$props$ariaLabe : this.props['aria-describedby'];
31
31
  }
32
32
  get ariaDescribedBy() {
33
33
  var _this$props$selectPro2, _this$props$selectPro3;
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/user-picker",
3
- "version": "10.3.0",
3
+ "version": "10.4.0",
4
4
  "sideEffects": false
5
5
  }
@@ -45,8 +45,8 @@ export var Input = /*#__PURE__*/function (_React$Component) {
45
45
  * {@link https://github.com/JedWatson/react-select/issues/5651#issue-1731353197 GitHub}
46
46
  */
47
47
  function get() {
48
- var _this$props$ariaDesc;
49
- return (_this$props$ariaDesc = this.props['aria-describedby']) !== null && _this$props$ariaDesc !== void 0 ? _this$props$ariaDesc : this.props['aria-labelledby'];
48
+ var _this$props$ariaLabe;
49
+ return (_this$props$ariaLabe = this.props['aria-labelledby']) !== null && _this$props$ariaLabe !== void 0 ? _this$props$ariaLabe : this.props['aria-describedby'];
50
50
  }
51
51
  }, {
52
52
  key: "ariaDescribedBy",
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/user-picker",
3
- "version": "10.3.0",
3
+ "version": "10.4.0",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/user-picker",
3
- "version": "10.3.0",
3
+ "version": "10.4.0",
4
4
  "description": "Fabric component for display a dropdown to select a user from",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -43,7 +43,7 @@
43
43
  "@atlaskit/select": "^16.5.0",
44
44
  "@atlaskit/spinner": "^15.5.0",
45
45
  "@atlaskit/theme": "^12.5.0",
46
- "@atlaskit/tokens": "^1.5.0",
46
+ "@atlaskit/tokens": "^1.6.0",
47
47
  "@atlaskit/tooltip": "^17.8.0",
48
48
  "@atlaskit/ufo": "^0.2.0",
49
49
  "@babel/runtime": "^7.0.0",