@instructure/ui-select 8.38.2-snapshot-1 → 8.38.2-snapshot-2
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 +1 -1
- package/es/Select/index.js +2 -5
- package/lib/Select/index.js +2 -5
- package/package.json +23 -23
- package/tsconfig.build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.38.2-snapshot-
|
|
6
|
+
## [8.38.2-snapshot-2](https://github.com/instructure/instructure-ui/compare/v8.38.1...v8.38.2-snapshot-2) (2023-07-06)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-select
|
|
9
9
|
|
package/es/Select/index.js
CHANGED
|
@@ -86,7 +86,9 @@ let Select = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, gen
|
|
|
86
86
|
this._defaultId = this.props.deterministicId();
|
|
87
87
|
this._inputContainer = null;
|
|
88
88
|
this._listView = null;
|
|
89
|
+
// temporarily stores actionable options
|
|
89
90
|
this._optionIds = [];
|
|
91
|
+
// best guess for first calculation of list height
|
|
90
92
|
this._optionHeight = 36;
|
|
91
93
|
this.handleInputRef = node => {
|
|
92
94
|
var _this$props$inputRef, _this$props;
|
|
@@ -123,11 +125,6 @@ let Select = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, gen
|
|
|
123
125
|
// scroll option into view if needed
|
|
124
126
|
requestAnimationFrame(() => this.scrollToOption(this.highlightedOptionId));
|
|
125
127
|
}
|
|
126
|
-
|
|
127
|
-
// temporarily stores actionable options
|
|
128
|
-
|
|
129
|
-
// best guess for first calculation of list height
|
|
130
|
-
|
|
131
128
|
focus() {
|
|
132
129
|
this._input && this._input.focus();
|
|
133
130
|
}
|
package/lib/Select/index.js
CHANGED
|
@@ -98,7 +98,9 @@ let Select = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0
|
|
|
98
98
|
this._defaultId = this.props.deterministicId();
|
|
99
99
|
this._inputContainer = null;
|
|
100
100
|
this._listView = null;
|
|
101
|
+
// temporarily stores actionable options
|
|
101
102
|
this._optionIds = [];
|
|
103
|
+
// best guess for first calculation of list height
|
|
102
104
|
this._optionHeight = 36;
|
|
103
105
|
this.handleInputRef = node => {
|
|
104
106
|
var _this$props$inputRef, _this$props;
|
|
@@ -135,11 +137,6 @@ let Select = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0
|
|
|
135
137
|
// scroll option into view if needed
|
|
136
138
|
requestAnimationFrame(() => this.scrollToOption(this.highlightedOptionId));
|
|
137
139
|
}
|
|
138
|
-
|
|
139
|
-
// temporarily stores actionable options
|
|
140
|
-
|
|
141
|
-
// best guess for first calculation of list height
|
|
142
|
-
|
|
143
140
|
focus() {
|
|
144
141
|
this._input && this._input.focus();
|
|
145
142
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-select",
|
|
3
|
-
"version": "8.38.2-snapshot-
|
|
3
|
+
"version": "8.38.2-snapshot-2",
|
|
4
4
|
"description": "A component for select and autocomplete behavior.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "8.38.2-snapshot-
|
|
27
|
-
"@instructure/ui-color-utils": "8.38.2-snapshot-
|
|
28
|
-
"@instructure/ui-test-locator": "8.38.2-snapshot-
|
|
29
|
-
"@instructure/ui-test-utils": "8.38.2-snapshot-
|
|
30
|
-
"@instructure/ui-themes": "8.38.2-snapshot-
|
|
26
|
+
"@instructure/ui-babel-preset": "8.38.2-snapshot-2",
|
|
27
|
+
"@instructure/ui-color-utils": "8.38.2-snapshot-2",
|
|
28
|
+
"@instructure/ui-test-locator": "8.38.2-snapshot-2",
|
|
29
|
+
"@instructure/ui-test-utils": "8.38.2-snapshot-2",
|
|
30
|
+
"@instructure/ui-themes": "8.38.2-snapshot-2"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@babel/runtime": "^7.
|
|
34
|
-
"@instructure/emotion": "8.38.2-snapshot-
|
|
35
|
-
"@instructure/shared-types": "8.38.2-snapshot-
|
|
36
|
-
"@instructure/ui-dom-utils": "8.38.2-snapshot-
|
|
37
|
-
"@instructure/ui-form-field": "8.38.2-snapshot-
|
|
38
|
-
"@instructure/ui-icons": "8.38.2-snapshot-
|
|
39
|
-
"@instructure/ui-options": "8.38.2-snapshot-
|
|
40
|
-
"@instructure/ui-popover": "8.38.2-snapshot-
|
|
41
|
-
"@instructure/ui-position": "8.38.2-snapshot-
|
|
42
|
-
"@instructure/ui-prop-types": "8.38.2-snapshot-
|
|
43
|
-
"@instructure/ui-react-utils": "8.38.2-snapshot-
|
|
44
|
-
"@instructure/ui-selectable": "8.38.2-snapshot-
|
|
45
|
-
"@instructure/ui-testable": "8.38.2-snapshot-
|
|
46
|
-
"@instructure/ui-text-input": "8.38.2-snapshot-
|
|
47
|
-
"@instructure/ui-utils": "8.38.2-snapshot-
|
|
48
|
-
"@instructure/ui-view": "8.38.2-snapshot-
|
|
49
|
-
"@instructure/uid": "8.38.2-snapshot-
|
|
33
|
+
"@babel/runtime": "^7.22.5",
|
|
34
|
+
"@instructure/emotion": "8.38.2-snapshot-2",
|
|
35
|
+
"@instructure/shared-types": "8.38.2-snapshot-2",
|
|
36
|
+
"@instructure/ui-dom-utils": "8.38.2-snapshot-2",
|
|
37
|
+
"@instructure/ui-form-field": "8.38.2-snapshot-2",
|
|
38
|
+
"@instructure/ui-icons": "8.38.2-snapshot-2",
|
|
39
|
+
"@instructure/ui-options": "8.38.2-snapshot-2",
|
|
40
|
+
"@instructure/ui-popover": "8.38.2-snapshot-2",
|
|
41
|
+
"@instructure/ui-position": "8.38.2-snapshot-2",
|
|
42
|
+
"@instructure/ui-prop-types": "8.38.2-snapshot-2",
|
|
43
|
+
"@instructure/ui-react-utils": "8.38.2-snapshot-2",
|
|
44
|
+
"@instructure/ui-selectable": "8.38.2-snapshot-2",
|
|
45
|
+
"@instructure/ui-testable": "8.38.2-snapshot-2",
|
|
46
|
+
"@instructure/ui-text-input": "8.38.2-snapshot-2",
|
|
47
|
+
"@instructure/ui-utils": "8.38.2-snapshot-2",
|
|
48
|
+
"@instructure/ui-view": "8.38.2-snapshot-2",
|
|
49
|
+
"@instructure/uid": "8.38.2-snapshot-2",
|
|
50
50
|
"prop-types": "^15.8.1"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|