@instructure/ui-simple-select 8.17.1-snapshot.82 → 8.18.1-snapshot.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 +4 -0
- package/es/SimpleSelect/index.js +1 -1
- package/lib/SimpleSelect/index.js +1 -1
- package/package.json +15 -15
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
|
package/es/SimpleSelect/index.js
CHANGED
|
@@ -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
|
|
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
|
|
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.
|
|
3
|
+
"version": "8.18.1-snapshot.1+669aa5892",
|
|
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.
|
|
28
|
-
"@instructure/shared-types": "8.
|
|
29
|
-
"@instructure/ui-form-field": "8.
|
|
30
|
-
"@instructure/ui-position": "8.
|
|
31
|
-
"@instructure/ui-prop-types": "8.
|
|
32
|
-
"@instructure/ui-react-utils": "8.
|
|
33
|
-
"@instructure/ui-select": "8.
|
|
34
|
-
"@instructure/ui-testable": "8.
|
|
27
|
+
"@instructure/console": "8.18.1-snapshot.1+669aa5892",
|
|
28
|
+
"@instructure/shared-types": "8.18.1-snapshot.1+669aa5892",
|
|
29
|
+
"@instructure/ui-form-field": "8.18.1-snapshot.1+669aa5892",
|
|
30
|
+
"@instructure/ui-position": "8.18.1-snapshot.1+669aa5892",
|
|
31
|
+
"@instructure/ui-prop-types": "8.18.1-snapshot.1+669aa5892",
|
|
32
|
+
"@instructure/ui-react-utils": "8.18.1-snapshot.1+669aa5892",
|
|
33
|
+
"@instructure/ui-select": "8.18.1-snapshot.1+669aa5892",
|
|
34
|
+
"@instructure/ui-testable": "8.18.1-snapshot.1+669aa5892",
|
|
35
35
|
"prop-types": "^15"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@instructure/ui-babel-preset": "8.
|
|
39
|
-
"@instructure/ui-color-utils": "8.
|
|
40
|
-
"@instructure/ui-icons": "8.
|
|
41
|
-
"@instructure/ui-test-locator": "8.
|
|
42
|
-
"@instructure/ui-test-utils": "8.
|
|
38
|
+
"@instructure/ui-babel-preset": "8.18.1-snapshot.1+669aa5892",
|
|
39
|
+
"@instructure/ui-color-utils": "8.18.1-snapshot.1+669aa5892",
|
|
40
|
+
"@instructure/ui-icons": "8.18.1-snapshot.1+669aa5892",
|
|
41
|
+
"@instructure/ui-test-locator": "8.18.1-snapshot.1+669aa5892",
|
|
42
|
+
"@instructure/ui-test-utils": "8.18.1-snapshot.1+669aa5892"
|
|
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": "
|
|
51
|
+
"gitHead": "669aa58926b123028bcb9e39427d36910b78b0d1"
|
|
52
52
|
}
|