@atlaskit/react-select 3.8.0 → 3.8.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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @atlaskit/react-select
2
2
 
3
+ ## 3.8.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.8.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [`7368596d0c740`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7368596d0c740) -
14
+ Typescript updates
15
+
3
16
  ## 3.8.0
4
17
 
5
18
  ### Minor Changes
@@ -4,8 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultAriaLiveMessages = void 0;
7
- /* eslint-disable @atlaskit/platform/ensure-feature-flag-prefix */
8
-
9
7
  var defaultAriaLiveMessages = exports.defaultAriaLiveMessages = {
10
8
  onChange: function onChange(props) {
11
9
  var action = props.action,
@@ -39,7 +39,7 @@ function ScrollManager(_ref) {
39
39
  };
40
40
  return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, lockEnabled &&
41
41
  /*#__PURE__*/
42
- // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions, @atlassian/a11y/interactive-element-not-keyboard-focusable
42
+ // eslint-disable-next-line @atlassian/a11y/click-events-have-key-events, @atlassian/a11y/interactive-element-not-keyboard-focusable, @atlassian/a11y/no-static-element-interactions
43
43
  _react.default.createElement("div", {
44
44
  onClick: blurSelectInput,
45
45
  style: {
@@ -462,7 +462,7 @@ var Select = exports.default = /*#__PURE__*/function (_Component) {
462
462
  event.preventDefault();
463
463
  _this.focusInput();
464
464
  });
465
- (0, _defineProperty2.default)(_this, "onMenuMouseMove", function (event) {
465
+ (0, _defineProperty2.default)(_this, "onMenuMouseMove", function (_) {
466
466
  _this.blockOptionHover = false;
467
467
  });
468
468
  (0, _defineProperty2.default)(_this, "onControlMouseDown", function (event) {
@@ -1676,6 +1676,7 @@ var Select = exports.default = /*#__PURE__*/function (_Component) {
1676
1676
  } else if (item.type === 'option') {
1677
1677
  return render(item, "".concat(item.index));
1678
1678
  }
1679
+ return undefined;
1679
1680
  });
1680
1681
  } else if (isLoading) {
1681
1682
  var message = loadingMessage({
@@ -1,5 +1,3 @@
1
- /* eslint-disable @atlaskit/platform/ensure-feature-flag-prefix */
2
-
3
1
  export const defaultAriaLiveMessages = {
4
2
  onChange: props => {
5
3
  const {
@@ -30,7 +30,7 @@ export default function ScrollManager({
30
30
  };
31
31
  return /*#__PURE__*/React.createElement(Fragment, null, lockEnabled &&
32
32
  /*#__PURE__*/
33
- // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions, @atlassian/a11y/interactive-element-not-keyboard-focusable
33
+ // eslint-disable-next-line @atlassian/a11y/click-events-have-key-events, @atlassian/a11y/interactive-element-not-keyboard-focusable, @atlassian/a11y/no-static-element-interactions
34
34
  React.createElement("div", {
35
35
  onClick: blurSelectInput,
36
36
  style: {
@@ -428,7 +428,7 @@ export default class Select extends Component {
428
428
  event.preventDefault();
429
429
  this.focusInput();
430
430
  });
431
- _defineProperty(this, "onMenuMouseMove", event => {
431
+ _defineProperty(this, "onMenuMouseMove", _ => {
432
432
  this.blockOptionHover = false;
433
433
  });
434
434
  _defineProperty(this, "onControlMouseDown", event => {
@@ -1699,6 +1699,7 @@ export default class Select extends Component {
1699
1699
  } else if (item.type === 'option') {
1700
1700
  return render(item, `${item.index}`);
1701
1701
  }
1702
+ return undefined;
1702
1703
  });
1703
1704
  } else if (isLoading) {
1704
1705
  const message = loadingMessage({
@@ -1,5 +1,3 @@
1
- /* eslint-disable @atlaskit/platform/ensure-feature-flag-prefix */
2
-
3
1
  export var defaultAriaLiveMessages = {
4
2
  onChange: function onChange(props) {
5
3
  var action = props.action,
@@ -30,7 +30,7 @@ export default function ScrollManager(_ref) {
30
30
  };
31
31
  return /*#__PURE__*/React.createElement(Fragment, null, lockEnabled &&
32
32
  /*#__PURE__*/
33
- // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions, @atlassian/a11y/interactive-element-not-keyboard-focusable
33
+ // eslint-disable-next-line @atlassian/a11y/click-events-have-key-events, @atlassian/a11y/interactive-element-not-keyboard-focusable, @atlassian/a11y/no-static-element-interactions
34
34
  React.createElement("div", {
35
35
  onClick: blurSelectInput,
36
36
  style: {
@@ -453,7 +453,7 @@ var Select = /*#__PURE__*/function (_Component) {
453
453
  event.preventDefault();
454
454
  _this.focusInput();
455
455
  });
456
- _defineProperty(_this, "onMenuMouseMove", function (event) {
456
+ _defineProperty(_this, "onMenuMouseMove", function (_) {
457
457
  _this.blockOptionHover = false;
458
458
  });
459
459
  _defineProperty(_this, "onControlMouseDown", function (event) {
@@ -1667,6 +1667,7 @@ var Select = /*#__PURE__*/function (_Component) {
1667
1667
  } else if (item.type === 'option') {
1668
1668
  return render(item, "".concat(item.index));
1669
1669
  }
1670
+ return undefined;
1670
1671
  });
1671
1672
  } else if (isLoading) {
1672
1673
  var message = loadingMessage({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/react-select",
3
- "version": "3.8.0",
3
+ "version": "3.8.2",
4
4
  "description": "A forked version of react-select to only be used in atlaskit/select",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -21,12 +21,12 @@
21
21
  "atlaskit:src": "src/index.tsx",
22
22
  "dependencies": {
23
23
  "@atlaskit/ds-lib": "^5.1.0",
24
- "@atlaskit/icon": "^28.4.0",
25
- "@atlaskit/layering": "^3.0.0",
24
+ "@atlaskit/icon": "^28.5.0",
25
+ "@atlaskit/layering": "^3.1.0",
26
26
  "@atlaskit/platform-feature-flags": "^1.1.0",
27
- "@atlaskit/primitives": "^14.15.0",
27
+ "@atlaskit/primitives": "^15.0.0",
28
28
  "@atlaskit/spinner": "^19.0.0",
29
- "@atlaskit/tokens": "^6.4.0",
29
+ "@atlaskit/tokens": "^6.5.0",
30
30
  "@babel/runtime": "^7.0.0",
31
31
  "@compiled/react": "^0.18.3",
32
32
  "@floating-ui/dom": "^1.0.1",