@instructure/ui-options 8.12.1-snapshot.43 → 8.12.1-snapshot.47
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/es/Options/Item/OptionsItemLocator.js +2 -2
- package/es/Options/Item/index.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/Item/index.js +3 -3
- package/lib/Options/Item/props.js +1 -1
- package/lib/Options/OptionsLocator.js +4 -4
- package/lib/Options/Separator/index.js +1 -1
- package/lib/Options/Separator/props.js +1 -1
- package/lib/Options/index.js +3 -3
- package/lib/Options/props.js +1 -1
- package/package.json +15 -15
|
@@ -25,7 +25,7 @@ import { locator } from '@instructure/ui-test-locator';
|
|
|
25
25
|
import { OptionsLocator } from '../OptionsLocator';
|
|
26
26
|
import { Item } from './index';
|
|
27
27
|
export const OptionsItemLocator = locator(Item.selector, {
|
|
28
|
-
findNestedOptions: (
|
|
29
|
-
return OptionsLocator.find(...
|
|
28
|
+
findNestedOptions: function () {
|
|
29
|
+
return OptionsLocator.find(...arguments);
|
|
30
30
|
}
|
|
31
31
|
});
|
package/es/Options/Item/index.js
CHANGED
|
@@ -41,8 +41,8 @@ id: Options.Item
|
|
|
41
41
|
**/
|
|
42
42
|
|
|
43
43
|
let Item = (_dec = withStyle(generateStyles, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class Item extends Component {
|
|
44
|
-
constructor(
|
|
45
|
-
super(...
|
|
44
|
+
constructor() {
|
|
45
|
+
super(...arguments);
|
|
46
46
|
this.ref = null;
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -25,10 +25,10 @@ import { locator } from '@instructure/ui-test-locator';
|
|
|
25
25
|
import { Options } from './index';
|
|
26
26
|
import { OptionsItemLocator } from './Item/OptionsItemLocator';
|
|
27
27
|
export const OptionsLocator = locator(Options.selector, {
|
|
28
|
-
findAllItems: (
|
|
29
|
-
return OptionsItemLocator.findAll(...
|
|
28
|
+
findAllItems: function () {
|
|
29
|
+
return OptionsItemLocator.findAll(...arguments);
|
|
30
30
|
},
|
|
31
|
-
findItem: (
|
|
32
|
-
return OptionsItemLocator.find(...
|
|
31
|
+
findItem: function () {
|
|
32
|
+
return OptionsItemLocator.find(...arguments);
|
|
33
33
|
}
|
|
34
34
|
});
|
package/es/Options/index.js
CHANGED
|
@@ -44,8 +44,8 @@ category: components
|
|
|
44
44
|
**/
|
|
45
45
|
|
|
46
46
|
let Options = (_dec = withStyle(generateStyles, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class Options extends Component {
|
|
47
|
-
constructor(
|
|
48
|
-
super(...
|
|
47
|
+
constructor() {
|
|
48
|
+
super(...arguments);
|
|
49
49
|
this.ref = null;
|
|
50
50
|
|
|
51
51
|
this.handleRef = el => {
|
|
@@ -35,8 +35,8 @@ var _index = require("./index");
|
|
|
35
35
|
* SOFTWARE.
|
|
36
36
|
*/
|
|
37
37
|
const OptionsItemLocator = (0, _uiTestLocator.locator)(_index.Item.selector, {
|
|
38
|
-
findNestedOptions: (
|
|
39
|
-
return _OptionsLocator.OptionsLocator.find(...
|
|
38
|
+
findNestedOptions: function () {
|
|
39
|
+
return _OptionsLocator.OptionsLocator.find(...arguments);
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
exports.OptionsItemLocator = OptionsItemLocator;
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.default = exports.Item = void 0;
|
|
9
9
|
|
|
10
10
|
var _react = require("react");
|
|
11
11
|
|
|
@@ -31,8 +31,8 @@ id: Options.Item
|
|
|
31
31
|
@tsProps
|
|
32
32
|
**/
|
|
33
33
|
let Item = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _uiTestable.testable)(), _dec(_class = _dec2(_class = (_temp = _class2 = class Item extends _react.Component {
|
|
34
|
-
constructor(
|
|
35
|
-
super(...
|
|
34
|
+
constructor() {
|
|
35
|
+
super(...arguments);
|
|
36
36
|
this.ref = null;
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.propTypes = exports.allowedProps = void 0;
|
|
9
9
|
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
|
|
@@ -35,11 +35,11 @@ var _OptionsItemLocator = require("./Item/OptionsItemLocator");
|
|
|
35
35
|
* SOFTWARE.
|
|
36
36
|
*/
|
|
37
37
|
const OptionsLocator = (0, _uiTestLocator.locator)(_index.Options.selector, {
|
|
38
|
-
findAllItems: (
|
|
39
|
-
return _OptionsItemLocator.OptionsItemLocator.findAll(...
|
|
38
|
+
findAllItems: function () {
|
|
39
|
+
return _OptionsItemLocator.OptionsItemLocator.findAll(...arguments);
|
|
40
40
|
},
|
|
41
|
-
findItem: (
|
|
42
|
-
return _OptionsItemLocator.OptionsItemLocator.find(...
|
|
41
|
+
findItem: function () {
|
|
42
|
+
return _OptionsItemLocator.OptionsItemLocator.find(...arguments);
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
exports.OptionsLocator = OptionsLocator;
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.default = exports.Separator = void 0;
|
|
9
9
|
|
|
10
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.propTypes = exports.allowedProps = void 0;
|
|
9
9
|
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
|
package/lib/Options/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.default = exports.Options = void 0;
|
|
9
9
|
|
|
10
10
|
var _react = require("react");
|
|
11
11
|
|
|
@@ -38,8 +38,8 @@ category: components
|
|
|
38
38
|
@tsProps
|
|
39
39
|
**/
|
|
40
40
|
let Options = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _uiTestable.testable)(), _dec(_class = _dec2(_class = (_temp = _class2 = class Options extends _react.Component {
|
|
41
|
-
constructor(
|
|
42
|
-
super(...
|
|
41
|
+
constructor() {
|
|
42
|
+
super(...arguments);
|
|
43
43
|
this.ref = null;
|
|
44
44
|
|
|
45
45
|
this.handleRef = el => {
|
package/lib/Options/props.js
CHANGED
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.propTypes = exports.allowedProps = void 0;
|
|
9
9
|
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-options",
|
|
3
|
-
"version": "8.12.1-snapshot.
|
|
3
|
+
"version": "8.12.1-snapshot.47+70bc15c4e",
|
|
4
4
|
"description": "A view-only component for composing interactive lists and menus.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -24,22 +24,22 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@instructure/ui-babel-preset": "8.12.1-snapshot.
|
|
28
|
-
"@instructure/ui-color-utils": "8.12.1-snapshot.
|
|
29
|
-
"@instructure/ui-test-locator": "8.12.1-snapshot.
|
|
30
|
-
"@instructure/ui-test-utils": "8.12.1-snapshot.
|
|
31
|
-
"@instructure/ui-themes": "8.12.1-snapshot.
|
|
27
|
+
"@instructure/ui-babel-preset": "8.12.1-snapshot.47+70bc15c4e",
|
|
28
|
+
"@instructure/ui-color-utils": "8.12.1-snapshot.47+70bc15c4e",
|
|
29
|
+
"@instructure/ui-test-locator": "8.12.1-snapshot.47+70bc15c4e",
|
|
30
|
+
"@instructure/ui-test-utils": "8.12.1-snapshot.47+70bc15c4e",
|
|
31
|
+
"@instructure/ui-themes": "8.12.1-snapshot.47+70bc15c4e"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.13.10",
|
|
35
|
-
"@instructure/emotion": "8.12.1-snapshot.
|
|
36
|
-
"@instructure/shared-types": "8.12.1-snapshot.
|
|
37
|
-
"@instructure/ui-icons": "8.12.1-snapshot.
|
|
38
|
-
"@instructure/ui-prop-types": "8.12.1-snapshot.
|
|
39
|
-
"@instructure/ui-react-utils": "8.12.1-snapshot.
|
|
40
|
-
"@instructure/ui-testable": "8.12.1-snapshot.
|
|
41
|
-
"@instructure/ui-view": "8.12.1-snapshot.
|
|
42
|
-
"@instructure/uid": "8.12.1-snapshot.
|
|
35
|
+
"@instructure/emotion": "8.12.1-snapshot.47+70bc15c4e",
|
|
36
|
+
"@instructure/shared-types": "8.12.1-snapshot.47+70bc15c4e",
|
|
37
|
+
"@instructure/ui-icons": "8.12.1-snapshot.47+70bc15c4e",
|
|
38
|
+
"@instructure/ui-prop-types": "8.12.1-snapshot.47+70bc15c4e",
|
|
39
|
+
"@instructure/ui-react-utils": "8.12.1-snapshot.47+70bc15c4e",
|
|
40
|
+
"@instructure/ui-testable": "8.12.1-snapshot.47+70bc15c4e",
|
|
41
|
+
"@instructure/ui-view": "8.12.1-snapshot.47+70bc15c4e",
|
|
42
|
+
"@instructure/uid": "8.12.1-snapshot.47+70bc15c4e",
|
|
43
43
|
"prop-types": "^15"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
51
|
"sideEffects": false,
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "70bc15c4e8d89589a1372954f7a230ddde5ef71b"
|
|
53
53
|
}
|