@atlaskit/react-select 1.7.4 → 2.0.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,31 @@
1
1
  # @atlaskit/react-select
2
2
 
3
+ ## 2.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#117363](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363)
8
+ [`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) -
9
+ This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to reflect the
10
+ status of only supporting React 18 going forward. No explicit breaking change to React support has
11
+ been made in this release, but this is to signify going forward, breaking changes for React 16 or
12
+ React 17 may come via non-major semver releases.
13
+
14
+ Please refer this community post for more details:
15
+ https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
21
+ ## 1.7.5
22
+
23
+ ### Patch Changes
24
+
25
+ - [#114403](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114403)
26
+ [`73c26a58b3d36`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/73c26a58b3d36) -
27
+ Update rendering of multiselect description to support SSR
28
+
3
29
  ## 1.7.4
4
30
 
5
31
  ### Patch Changes
@@ -1782,7 +1782,7 @@ var Select = exports.default = /*#__PURE__*/function (_Component) {
1782
1782
  }),
1783
1783
  isDisabled: isDisabled,
1784
1784
  isFocused: isFocused
1785
- }), 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, {
1786
1786
  innerRef: this.getControlRef,
1787
1787
  innerProps: _objectSpread({
1788
1788
  onMouseDown: this.onControlMouseDown,
@@ -1816,7 +1816,7 @@ export default class Select extends Component {
1816
1816
  },
1817
1817
  isDisabled: isDisabled,
1818
1818
  isFocused: isFocused
1819
- }), 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, {
1820
1820
  innerRef: this.getControlRef,
1821
1821
  innerProps: {
1822
1822
  onMouseDown: this.onControlMouseDown,
@@ -1773,7 +1773,7 @@ var Select = /*#__PURE__*/function (_Component) {
1773
1773
  }),
1774
1774
  isDisabled: isDisabled,
1775
1775
  isFocused: isFocused
1776
- }), 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, {
1777
1777
  innerRef: this.getControlRef,
1778
1778
  innerProps: _objectSpread({
1779
1779
  onMouseDown: this.onControlMouseDown,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/react-select",
3
- "version": "1.7.4",
3
+ "version": "2.0.0",
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",
@@ -29,12 +29,12 @@
29
29
  "./types": "./src/types.tsx"
30
30
  },
31
31
  "dependencies": {
32
- "@atlaskit/ds-lib": "^3.5.0",
33
- "@atlaskit/icon": "^23.9.0",
34
- "@atlaskit/platform-feature-flags": "^1.0.0",
35
- "@atlaskit/primitives": "^13.5.0",
36
- "@atlaskit/spinner": "^17.1.0",
37
- "@atlaskit/tokens": "^3.3.0",
32
+ "@atlaskit/ds-lib": "^4.0.0",
33
+ "@atlaskit/icon": "^24.0.0",
34
+ "@atlaskit/platform-feature-flags": "^1.1.0",
35
+ "@atlaskit/primitives": "^14.0.0",
36
+ "@atlaskit/spinner": "^18.0.0",
37
+ "@atlaskit/tokens": "^4.0.0",
38
38
  "@babel/runtime": "^7.0.0",
39
39
  "@emotion/react": "^11.7.1",
40
40
  "@floating-ui/dom": "^1.0.1",
@@ -42,8 +42,8 @@
42
42
  "use-isomorphic-layout-effect": "^1.1.2"
43
43
  },
44
44
  "peerDependencies": {
45
- "react": "^16.8.0 || ^17.0.0 || ^18.2.0",
46
- "react-dom": "^16.8.0 || ^17.0.0 || ^18.2.0"
45
+ "react": "^18.2.0",
46
+ "react-dom": "^18.2.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@af/integration-testing": "*",