@instructure/ui-simple-select 8.17.1-snapshot.81 → 8.18.1-snapshot.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
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [8.18.0](https://github.com/instructure/instructure-ui/compare/v8.17.0...v8.18.0) (2022-02-23)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-simple-select
9
+
6
10
  # [8.17.0](https://github.com/instructure/instructure-ui/compare/v8.16.0...v8.17.0) (2022-02-07)
7
11
 
8
12
  ### Bug Fixes
@@ -121,7 +121,7 @@ let SimpleSelect = (_dec = withDeterministicId(), _dec2 = testable(), _dec(_clas
121
121
  let id = _ref.id;
122
122
  if (id === this._emptyOptionId) return;
123
123
  const option = this.getOption('id', id);
124
- const label = option?.props.children;
124
+ const label = option === null || option === void 0 ? void 0 : option.props.children;
125
125
  const inputValue = event.type === 'keydown' ? label : this.state.inputValue;
126
126
  this.setState({
127
127
  highlightedOptionId: id,
@@ -124,7 +124,7 @@ let SimpleSelect = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec
124
124
  let id = _ref.id;
125
125
  if (id === this._emptyOptionId) return;
126
126
  const option = this.getOption('id', id);
127
- const label = option?.props.children;
127
+ const label = option === null || option === void 0 ? void 0 : option.props.children;
128
128
  const inputValue = event.type === 'keydown' ? label : this.state.inputValue;
129
129
  this.setState({
130
130
  highlightedOptionId: id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-simple-select",
3
- "version": "8.17.1-snapshot.81+b39b60872",
3
+ "version": "8.18.1-snapshot.0+435c9ae79",
4
4
  "description": "A component for standard select element behavior.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -24,22 +24,22 @@
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.13.10",
27
- "@instructure/console": "8.17.1-snapshot.81+b39b60872",
28
- "@instructure/shared-types": "8.17.1-snapshot.81+b39b60872",
29
- "@instructure/ui-form-field": "8.17.1-snapshot.81+b39b60872",
30
- "@instructure/ui-position": "8.17.1-snapshot.81+b39b60872",
31
- "@instructure/ui-prop-types": "8.17.1-snapshot.81+b39b60872",
32
- "@instructure/ui-react-utils": "8.17.1-snapshot.81+b39b60872",
33
- "@instructure/ui-select": "8.17.1-snapshot.81+b39b60872",
34
- "@instructure/ui-testable": "8.17.1-snapshot.81+b39b60872",
27
+ "@instructure/console": "8.18.1-snapshot.0+435c9ae79",
28
+ "@instructure/shared-types": "8.18.1-snapshot.0+435c9ae79",
29
+ "@instructure/ui-form-field": "8.18.1-snapshot.0+435c9ae79",
30
+ "@instructure/ui-position": "8.18.1-snapshot.0+435c9ae79",
31
+ "@instructure/ui-prop-types": "8.18.1-snapshot.0+435c9ae79",
32
+ "@instructure/ui-react-utils": "8.18.1-snapshot.0+435c9ae79",
33
+ "@instructure/ui-select": "8.18.1-snapshot.0+435c9ae79",
34
+ "@instructure/ui-testable": "8.18.1-snapshot.0+435c9ae79",
35
35
  "prop-types": "^15"
36
36
  },
37
37
  "devDependencies": {
38
- "@instructure/ui-babel-preset": "8.17.1-snapshot.81+b39b60872",
39
- "@instructure/ui-color-utils": "8.17.1-snapshot.81+b39b60872",
40
- "@instructure/ui-icons": "8.17.1-snapshot.81+b39b60872",
41
- "@instructure/ui-test-locator": "8.17.1-snapshot.81+b39b60872",
42
- "@instructure/ui-test-utils": "8.17.1-snapshot.81+b39b60872"
38
+ "@instructure/ui-babel-preset": "8.18.1-snapshot.0+435c9ae79",
39
+ "@instructure/ui-color-utils": "8.18.1-snapshot.0+435c9ae79",
40
+ "@instructure/ui-icons": "8.18.1-snapshot.0+435c9ae79",
41
+ "@instructure/ui-test-locator": "8.18.1-snapshot.0+435c9ae79",
42
+ "@instructure/ui-test-utils": "8.18.1-snapshot.0+435c9ae79"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "react": ">=16.8 <=17"
@@ -48,5 +48,5 @@
48
48
  "access": "public"
49
49
  },
50
50
  "sideEffects": false,
51
- "gitHead": "b39b60872cb51a5e9ba26221adceec498d4ce2fb"
51
+ "gitHead": "435c9ae794c15e2bd103f700f8c4e946d91c1b59"
52
52
  }