@atlaskit/react-select 3.5.0 → 3.5.1

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.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`d281a835c4897`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d281a835c4897) -
8
+ [ux]
9
+
10
+ - `TeamCreateDialog`
11
+ - Fixed incorrect ariaDescribedBy identifier so that VoiceOver can read out the error message.
12
+ - Programmatically focus the input on submit when there is an error.
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 3.5.0
4
17
 
5
18
  ### Minor Changes
@@ -1373,6 +1373,9 @@ var Select = exports.default = /*#__PURE__*/function (_Component) {
1373
1373
  "data-testid": testId && "".concat(testId, "-select--input")
1374
1374
  }, ariaAttributes));
1375
1375
  }
1376
+
1377
+ // NOTE: Don't add the `name` prop to this Input, `name` is already a prop on the hidden input element that has the value of the select.
1378
+ // Adding `name` to this Input will cause unexpected behavior.
1376
1379
  return /*#__PURE__*/_react.default.createElement(Input, (0, _extends2.default)({}, commonProps, {
1377
1380
  autoCapitalize: "none",
1378
1381
  autoComplete: "off",
@@ -1379,6 +1379,9 @@ export default class Select extends Component {
1379
1379
  "data-testid": testId && `${testId}-select--input`
1380
1380
  }, ariaAttributes));
1381
1381
  }
1382
+
1383
+ // NOTE: Don't add the `name` prop to this Input, `name` is already a prop on the hidden input element that has the value of the select.
1384
+ // Adding `name` to this Input will cause unexpected behavior.
1382
1385
  return /*#__PURE__*/React.createElement(Input, _extends({}, commonProps, {
1383
1386
  autoCapitalize: "none",
1384
1387
  autoComplete: "off",
@@ -1364,6 +1364,9 @@ var Select = /*#__PURE__*/function (_Component) {
1364
1364
  "data-testid": testId && "".concat(testId, "-select--input")
1365
1365
  }, ariaAttributes));
1366
1366
  }
1367
+
1368
+ // NOTE: Don't add the `name` prop to this Input, `name` is already a prop on the hidden input element that has the value of the select.
1369
+ // Adding `name` to this Input will cause unexpected behavior.
1367
1370
  return /*#__PURE__*/React.createElement(Input, _extends({}, commonProps, {
1368
1371
  autoCapitalize: "none",
1369
1372
  autoComplete: "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/react-select",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
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
  },
30
30
  "dependencies": {
31
31
  "@atlaskit/ds-lib": "^5.0.0",
32
- "@atlaskit/icon": "^28.0.0",
32
+ "@atlaskit/icon": "^28.1.0",
33
33
  "@atlaskit/layering": "^3.0.0",
34
34
  "@atlaskit/platform-feature-flags": "^1.1.0",
35
- "@atlaskit/primitives": "^14.11.0",
35
+ "@atlaskit/primitives": "^14.12.0",
36
36
  "@atlaskit/spinner": "^19.0.0",
37
- "@atlaskit/tokens": "^6.0.0",
37
+ "@atlaskit/tokens": "^6.1.0",
38
38
  "@babel/runtime": "^7.0.0",
39
39
  "@compiled/react": "^0.18.3",
40
40
  "@floating-ui/dom": "^1.0.1",