@instructure/ui-options 8.38.2-snapshot-4 → 8.38.2-snapshot-6
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/Options/Item/OptionsItemLocator.js +2 -2
- package/es/Options/OptionsLocator.js +4 -4
- package/es/Options/index.js +2 -2
- package/lib/Options/Item/OptionsItemLocator.js +2 -2
- package/lib/Options/OptionsLocator.js +4 -4
- package/lib/Options/index.js +2 -2
- package/package.json +14 -14
- 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-6](https://github.com/instructure/instructure-ui/compare/v8.38.1...v8.38.2-snapshot-6) (2023-07-17)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-options
|
|
9
9
|
|
|
@@ -27,7 +27,7 @@ import { Item } from './index';
|
|
|
27
27
|
|
|
28
28
|
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
29
29
|
export const OptionsItemLocator = locator(Item.selector, {
|
|
30
|
-
findNestedOptions:
|
|
31
|
-
return OptionsLocator.find(...
|
|
30
|
+
findNestedOptions: (...args) => {
|
|
31
|
+
return OptionsLocator.find(...args);
|
|
32
32
|
}
|
|
33
33
|
});
|
|
@@ -27,10 +27,10 @@ import { OptionsItemLocator } from './Item/OptionsItemLocator';
|
|
|
27
27
|
|
|
28
28
|
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
29
29
|
export const OptionsLocator = locator(Options.selector, {
|
|
30
|
-
findAllItems:
|
|
31
|
-
return OptionsItemLocator.findAll(...
|
|
30
|
+
findAllItems: (...args) => {
|
|
31
|
+
return OptionsItemLocator.findAll(...args);
|
|
32
32
|
},
|
|
33
|
-
findItem:
|
|
34
|
-
return OptionsItemLocator.find(...
|
|
33
|
+
findItem: (...args) => {
|
|
34
|
+
return OptionsItemLocator.find(...args);
|
|
35
35
|
}
|
|
36
36
|
});
|
package/es/Options/index.js
CHANGED
|
@@ -41,8 +41,8 @@ category: components
|
|
|
41
41
|
@tsProps
|
|
42
42
|
**/
|
|
43
43
|
let Options = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyles, generateComponentTheme), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class Options extends Component {
|
|
44
|
-
constructor() {
|
|
45
|
-
super(...
|
|
44
|
+
constructor(...args) {
|
|
45
|
+
super(...args);
|
|
46
46
|
this.ref = null;
|
|
47
47
|
this.handleRef = el => {
|
|
48
48
|
this.ref = el;
|
|
@@ -33,8 +33,8 @@ var _index = require("./index");
|
|
|
33
33
|
|
|
34
34
|
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
35
35
|
const OptionsItemLocator = (0, _uiTestLocator.locator)(_index.Item.selector, {
|
|
36
|
-
findNestedOptions:
|
|
37
|
-
return _OptionsLocator.OptionsLocator.find(...
|
|
36
|
+
findNestedOptions: (...args) => {
|
|
37
|
+
return _OptionsLocator.OptionsLocator.find(...args);
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
40
|
exports.OptionsItemLocator = OptionsItemLocator;
|
|
@@ -33,11 +33,11 @@ var _OptionsItemLocator = require("./Item/OptionsItemLocator");
|
|
|
33
33
|
|
|
34
34
|
// @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
|
|
35
35
|
const OptionsLocator = (0, _uiTestLocator.locator)(_index.Options.selector, {
|
|
36
|
-
findAllItems:
|
|
37
|
-
return _OptionsItemLocator.OptionsItemLocator.findAll(...
|
|
36
|
+
findAllItems: (...args) => {
|
|
37
|
+
return _OptionsItemLocator.OptionsItemLocator.findAll(...args);
|
|
38
38
|
},
|
|
39
|
-
findItem:
|
|
40
|
-
return _OptionsItemLocator.OptionsItemLocator.find(...
|
|
39
|
+
findItem: (...args) => {
|
|
40
|
+
return _OptionsItemLocator.OptionsItemLocator.find(...args);
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
43
|
exports.OptionsLocator = OptionsLocator;
|
package/lib/Options/index.js
CHANGED
|
@@ -48,8 +48,8 @@ category: components
|
|
|
48
48
|
@tsProps
|
|
49
49
|
**/
|
|
50
50
|
let Options = (_dec = (0, _uiReactUtils.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _uiTestable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class Options extends _react.Component {
|
|
51
|
-
constructor() {
|
|
52
|
-
super(...
|
|
51
|
+
constructor(...args) {
|
|
52
|
+
super(...args);
|
|
53
53
|
this.ref = null;
|
|
54
54
|
this.handleRef = el => {
|
|
55
55
|
this.ref = el;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-options",
|
|
3
|
-
"version": "8.38.2-snapshot-
|
|
3
|
+
"version": "8.38.2-snapshot-6",
|
|
4
4
|
"description": "A view-only component for composing interactive lists and menus.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,21 +23,21 @@
|
|
|
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-6",
|
|
27
|
+
"@instructure/ui-color-utils": "8.38.2-snapshot-6",
|
|
28
|
+
"@instructure/ui-test-locator": "8.38.2-snapshot-6",
|
|
29
|
+
"@instructure/ui-test-utils": "8.38.2-snapshot-6",
|
|
30
|
+
"@instructure/ui-themes": "8.38.2-snapshot-6"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@babel/runtime": "^7.22.
|
|
34
|
-
"@instructure/emotion": "8.38.2-snapshot-
|
|
35
|
-
"@instructure/shared-types": "8.38.2-snapshot-
|
|
36
|
-
"@instructure/ui-icons": "8.38.2-snapshot-
|
|
37
|
-
"@instructure/ui-prop-types": "8.38.2-snapshot-
|
|
38
|
-
"@instructure/ui-react-utils": "8.38.2-snapshot-
|
|
39
|
-
"@instructure/ui-testable": "8.38.2-snapshot-
|
|
40
|
-
"@instructure/ui-view": "8.38.2-snapshot-
|
|
33
|
+
"@babel/runtime": "^7.22.6",
|
|
34
|
+
"@instructure/emotion": "8.38.2-snapshot-6",
|
|
35
|
+
"@instructure/shared-types": "8.38.2-snapshot-6",
|
|
36
|
+
"@instructure/ui-icons": "8.38.2-snapshot-6",
|
|
37
|
+
"@instructure/ui-prop-types": "8.38.2-snapshot-6",
|
|
38
|
+
"@instructure/ui-react-utils": "8.38.2-snapshot-6",
|
|
39
|
+
"@instructure/ui-testable": "8.38.2-snapshot-6",
|
|
40
|
+
"@instructure/ui-view": "8.38.2-snapshot-6",
|
|
41
41
|
"prop-types": "^15.8.1"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|