@atlaskit/react-select 1.7.3 → 1.7.5

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,21 @@
1
1
  # @atlaskit/react-select
2
2
 
3
+ ## 1.7.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#114403](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114403)
8
+ [`73c26a58b3d36`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/73c26a58b3d36) -
9
+ Update rendering of multiselect description to support SSR
10
+
11
+ ## 1.7.4
12
+
13
+ ### Patch Changes
14
+
15
+ - [#114436](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114436)
16
+ [`bbcb49e3d0f31`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bbcb49e3d0f31) -
17
+ Clean up extra testId
18
+
3
19
  ## 1.7.3
4
20
 
5
21
  ### Patch Changes
@@ -1594,9 +1594,7 @@ var Select = exports.default = /*#__PURE__*/function (_Component) {
1594
1594
  return null;
1595
1595
  }
1596
1596
  menuUI = /*#__PURE__*/_react.default.createElement(NoOptionsMessage, (0, _extends2.default)({}, commonProps, {
1597
- innerProps: _objectSpread({
1598
- 'data-testid': testId && "".concat(testId, "-select--no-options")
1599
- }, testId && {
1597
+ innerProps: _objectSpread({}, testId && {
1600
1598
  'data-testid': "".concat(testId, "-select--no-options")
1601
1599
  })
1602
1600
  }), _message);
@@ -1784,7 +1782,7 @@ var Select = exports.default = /*#__PURE__*/function (_Component) {
1784
1782
  }),
1785
1783
  isDisabled: isDisabled,
1786
1784
  isFocused: isFocused
1787
- }), this.renderLiveRegion(), commonProps.isMulti && this.isVoiceOver && this.renderMultiselectMessage(), /*#__PURE__*/_react.default.createElement(Control, (0, _extends2.default)({}, commonProps, {
1785
+ }), this.renderLiveRegion(), commonProps.isMulti && this.renderMultiselectMessage(), /*#__PURE__*/_react.default.createElement(Control, (0, _extends2.default)({}, commonProps, {
1788
1786
  innerRef: this.getControlRef,
1789
1787
  innerProps: _objectSpread({
1790
1788
  onMouseDown: this.onControlMouseDown,
@@ -1627,7 +1627,6 @@ export default class Select extends Component {
1627
1627
  }
1628
1628
  menuUI = /*#__PURE__*/React.createElement(NoOptionsMessage, _extends({}, commonProps, {
1629
1629
  innerProps: {
1630
- 'data-testid': testId && `${testId}-select--no-options`,
1631
1630
  ...(testId && {
1632
1631
  'data-testid': `${testId}-select--no-options`
1633
1632
  })
@@ -1817,7 +1816,7 @@ export default class Select extends Component {
1817
1816
  },
1818
1817
  isDisabled: isDisabled,
1819
1818
  isFocused: isFocused
1820
- }), this.renderLiveRegion(), commonProps.isMulti && this.isVoiceOver && this.renderMultiselectMessage(), /*#__PURE__*/React.createElement(Control, _extends({}, commonProps, {
1819
+ }), this.renderLiveRegion(), commonProps.isMulti && this.renderMultiselectMessage(), /*#__PURE__*/React.createElement(Control, _extends({}, commonProps, {
1821
1820
  innerRef: this.getControlRef,
1822
1821
  innerProps: {
1823
1822
  onMouseDown: this.onControlMouseDown,
@@ -1585,9 +1585,7 @@ var Select = /*#__PURE__*/function (_Component) {
1585
1585
  return null;
1586
1586
  }
1587
1587
  menuUI = /*#__PURE__*/React.createElement(NoOptionsMessage, _extends({}, commonProps, {
1588
- innerProps: _objectSpread({
1589
- 'data-testid': testId && "".concat(testId, "-select--no-options")
1590
- }, testId && {
1588
+ innerProps: _objectSpread({}, testId && {
1591
1589
  'data-testid': "".concat(testId, "-select--no-options")
1592
1590
  })
1593
1591
  }), _message);
@@ -1775,7 +1773,7 @@ var Select = /*#__PURE__*/function (_Component) {
1775
1773
  }),
1776
1774
  isDisabled: isDisabled,
1777
1775
  isFocused: isFocused
1778
- }), this.renderLiveRegion(), commonProps.isMulti && this.isVoiceOver && this.renderMultiselectMessage(), /*#__PURE__*/React.createElement(Control, _extends({}, commonProps, {
1776
+ }), this.renderLiveRegion(), commonProps.isMulti && this.renderMultiselectMessage(), /*#__PURE__*/React.createElement(Control, _extends({}, commonProps, {
1779
1777
  innerRef: this.getControlRef,
1780
1778
  innerProps: _objectSpread({
1781
1779
  onMouseDown: this.onControlMouseDown,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/react-select",
3
- "version": "1.7.3",
3
+ "version": "1.7.5",
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",
@@ -31,7 +31,7 @@
31
31
  "dependencies": {
32
32
  "@atlaskit/ds-lib": "^3.5.0",
33
33
  "@atlaskit/icon": "^23.9.0",
34
- "@atlaskit/platform-feature-flags": "^1.0.0",
34
+ "@atlaskit/platform-feature-flags": "^1.1.0",
35
35
  "@atlaskit/primitives": "^13.5.0",
36
36
  "@atlaskit/spinner": "^17.1.0",
37
37
  "@atlaskit/tokens": "^3.3.0",