@instructure/ui-list 8.12.1-snapshot.7 → 8.13.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 +4 -0
- package/es/InlineList/InlineListItem/InlineListItemLocator.js +2 -2
- package/es/InlineList/InlineListItem/index.js +2 -2
- package/es/InlineList/InlineListLocator.js +4 -4
- package/es/InlineList/index.js +2 -2
- package/es/List/ListItem/index.js +2 -2
- package/es/List/ListLocator.js +4 -4
- package/es/List/index.js +2 -2
- package/lib/InlineList/InlineListItem/InlineListItemLocator.js +2 -2
- package/lib/InlineList/InlineListItem/index.js +3 -3
- package/lib/InlineList/InlineListItem/props.js +1 -1
- package/lib/InlineList/InlineListLocator.js +4 -4
- package/lib/InlineList/index.js +3 -3
- package/lib/InlineList/props.js +1 -1
- package/lib/List/ListItem/index.js +3 -3
- package/lib/List/ListItem/props.js +1 -1
- package/lib/List/ListLocator.js +4 -4
- package/lib/List/index.js +4 -3
- package/lib/List/props.js +1 -1
- package/package.json +14 -15
- package/LICENSE.md +0 -27
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.13.0](https://github.com/instructure/instructure-ui/compare/v8.12.0...v8.13.0) (2021-12-01)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-list
|
|
9
|
+
|
|
6
10
|
# [8.12.0](https://github.com/instructure/instructure-ui/compare/v8.11.1...v8.12.0) (2021-11-17)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @instructure/ui-list
|
|
@@ -25,7 +25,7 @@ import { locator } from '@instructure/ui-test-locator';
|
|
|
25
25
|
import { InlineListLocator } from '../InlineListLocator';
|
|
26
26
|
import { InlineListItem } from './index';
|
|
27
27
|
export const InlineListItemLocator = locator(InlineListItem.selector, {
|
|
28
|
-
findNestedOptions: (
|
|
29
|
-
return InlineListLocator.find(...
|
|
28
|
+
findNestedOptions: function () {
|
|
29
|
+
return InlineListLocator.find(...arguments);
|
|
30
30
|
}
|
|
31
31
|
});
|
|
@@ -44,8 +44,8 @@ id: InlineList.Item
|
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
46
|
let InlineListItem = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class InlineListItem extends Component {
|
|
47
|
-
constructor(
|
|
48
|
-
super(...
|
|
47
|
+
constructor() {
|
|
48
|
+
super(...arguments);
|
|
49
49
|
this.ref = null;
|
|
50
50
|
|
|
51
51
|
this.handleRef = el => {
|
|
@@ -25,10 +25,10 @@ import { locator } from '@instructure/ui-test-locator';
|
|
|
25
25
|
import { InlineList } from './index';
|
|
26
26
|
import { InlineListItemLocator } from './InlineListItem/InlineListItemLocator';
|
|
27
27
|
export const InlineListLocator = locator(InlineList.selector, {
|
|
28
|
-
findAllItems: (
|
|
29
|
-
return InlineListItemLocator.findAll(...
|
|
28
|
+
findAllItems: function () {
|
|
29
|
+
return InlineListItemLocator.findAll(...arguments);
|
|
30
30
|
},
|
|
31
|
-
findItem: (
|
|
32
|
-
return InlineListItemLocator.find(...
|
|
31
|
+
findItem: function () {
|
|
32
|
+
return InlineListItemLocator.find(...arguments);
|
|
33
33
|
}
|
|
34
34
|
});
|
package/es/InlineList/index.js
CHANGED
|
@@ -39,8 +39,8 @@ category: components
|
|
|
39
39
|
---
|
|
40
40
|
**/
|
|
41
41
|
let InlineList = (_dec = testable(), _dec(_class = (_temp = _class2 = class InlineList extends Component {
|
|
42
|
-
constructor(
|
|
43
|
-
super(...
|
|
42
|
+
constructor() {
|
|
43
|
+
super(...arguments);
|
|
44
44
|
this.ref = null;
|
|
45
45
|
|
|
46
46
|
this.handleRef = el => {
|
|
@@ -44,8 +44,8 @@ id: List.Item
|
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
46
|
let ListItem = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class ListItem extends Component {
|
|
47
|
-
constructor(
|
|
48
|
-
super(...
|
|
47
|
+
constructor() {
|
|
48
|
+
super(...arguments);
|
|
49
49
|
this.ref = null;
|
|
50
50
|
|
|
51
51
|
this.handleRef = el => {
|
package/es/List/ListLocator.js
CHANGED
|
@@ -25,10 +25,10 @@ import { locator } from '@instructure/ui-test-locator';
|
|
|
25
25
|
import { List } from './index';
|
|
26
26
|
const ListItemLocator = locator(List.Item.selector);
|
|
27
27
|
export const ListLocator = locator(List.selector, {
|
|
28
|
-
findAllItems: (
|
|
29
|
-
return ListItemLocator.findAll(...
|
|
28
|
+
findAllItems: function () {
|
|
29
|
+
return ListItemLocator.findAll(...arguments);
|
|
30
30
|
},
|
|
31
|
-
findItem: (
|
|
32
|
-
return ListItemLocator.find(...
|
|
31
|
+
findItem: function () {
|
|
32
|
+
return ListItemLocator.find(...arguments);
|
|
33
33
|
}
|
|
34
34
|
});
|
package/es/List/index.js
CHANGED
|
@@ -44,8 +44,8 @@ category: components
|
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
46
|
let List = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class List 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 InlineListItemLocator = (0, _locator.locator)(_index.InlineListItem.selector, {
|
|
38
|
-
findNestedOptions: (
|
|
39
|
-
return _InlineListLocator.InlineListLocator.find(...
|
|
38
|
+
findNestedOptions: function () {
|
|
39
|
+
return _InlineListLocator.InlineListLocator.find(...arguments);
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
exports.InlineListItemLocator = InlineListItemLocator;
|
|
@@ -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.InlineListItem = void 0;
|
|
9
9
|
|
|
10
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
11
|
|
|
@@ -36,8 +36,8 @@ id: InlineList.Item
|
|
|
36
36
|
---
|
|
37
37
|
**/
|
|
38
38
|
let InlineListItem = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_temp = _class2 = class InlineListItem extends _react.Component {
|
|
39
|
-
constructor(
|
|
40
|
-
super(...
|
|
39
|
+
constructor() {
|
|
40
|
+
super(...arguments);
|
|
41
41
|
this.ref = null;
|
|
42
42
|
|
|
43
43
|
this.handleRef = el => {
|
|
@@ -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 _InlineListItemLocator = require("./InlineListItem/InlineListItemLocator");
|
|
|
35
35
|
* SOFTWARE.
|
|
36
36
|
*/
|
|
37
37
|
const InlineListLocator = (0, _locator.locator)(_index.InlineList.selector, {
|
|
38
|
-
findAllItems: (
|
|
39
|
-
return _InlineListItemLocator.InlineListItemLocator.findAll(...
|
|
38
|
+
findAllItems: function () {
|
|
39
|
+
return _InlineListItemLocator.InlineListItemLocator.findAll(...arguments);
|
|
40
40
|
},
|
|
41
|
-
findItem: (
|
|
42
|
-
return _InlineListItemLocator.InlineListItemLocator.find(...
|
|
41
|
+
findItem: function () {
|
|
42
|
+
return _InlineListItemLocator.InlineListItemLocator.find(...arguments);
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
exports.InlineListLocator = InlineListLocator;
|
package/lib/InlineList/index.js
CHANGED
|
@@ -7,7 +7,7 @@ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWild
|
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
|
8
8
|
value: true
|
|
9
9
|
});
|
|
10
|
-
exports.
|
|
10
|
+
exports.default = exports.InlineList = void 0;
|
|
11
11
|
|
|
12
12
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
13
|
|
|
@@ -35,8 +35,8 @@ category: components
|
|
|
35
35
|
---
|
|
36
36
|
**/
|
|
37
37
|
let InlineList = (_dec = (0, _testable.testable)(), _dec(_class = (_temp = _class2 = class InlineList extends _react.Component {
|
|
38
|
-
constructor(
|
|
39
|
-
super(...
|
|
38
|
+
constructor() {
|
|
39
|
+
super(...arguments);
|
|
40
40
|
this.ref = null;
|
|
41
41
|
|
|
42
42
|
this.handleRef = el => {
|
package/lib/InlineList/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
|
|
|
@@ -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.ListItem = void 0;
|
|
9
9
|
|
|
10
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
11
|
|
|
@@ -36,8 +36,8 @@ id: List.Item
|
|
|
36
36
|
---
|
|
37
37
|
**/
|
|
38
38
|
let ListItem = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_temp = _class2 = class ListItem extends _react.Component {
|
|
39
|
-
constructor(
|
|
40
|
-
super(...
|
|
39
|
+
constructor() {
|
|
40
|
+
super(...arguments);
|
|
41
41
|
this.ref = null;
|
|
42
42
|
|
|
43
43
|
this.handleRef = el => {
|
|
@@ -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/List/ListLocator.js
CHANGED
|
@@ -34,11 +34,11 @@ var _index = require("./index");
|
|
|
34
34
|
*/
|
|
35
35
|
const ListItemLocator = (0, _locator.locator)(_index.List.Item.selector);
|
|
36
36
|
const ListLocator = (0, _locator.locator)(_index.List.selector, {
|
|
37
|
-
findAllItems: (
|
|
38
|
-
return ListItemLocator.findAll(...
|
|
37
|
+
findAllItems: function () {
|
|
38
|
+
return ListItemLocator.findAll(...arguments);
|
|
39
39
|
},
|
|
40
|
-
findItem: (
|
|
41
|
-
return ListItemLocator.find(...
|
|
40
|
+
findItem: function () {
|
|
41
|
+
return ListItemLocator.find(...arguments);
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
exports.ListLocator = ListLocator;
|
package/lib/List/index.js
CHANGED
|
@@ -5,13 +5,14 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
+
exports.List = void 0;
|
|
8
9
|
Object.defineProperty(exports, "ListItem", {
|
|
9
10
|
enumerable: true,
|
|
10
11
|
get: function () {
|
|
11
12
|
return _ListItem.ListItem;
|
|
12
13
|
}
|
|
13
14
|
});
|
|
14
|
-
exports.
|
|
15
|
+
exports.default = void 0;
|
|
15
16
|
|
|
16
17
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
17
18
|
|
|
@@ -45,8 +46,8 @@ category: components
|
|
|
45
46
|
---
|
|
46
47
|
**/
|
|
47
48
|
let List = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_temp = _class2 = class List extends _react.Component {
|
|
48
|
-
constructor(
|
|
49
|
-
super(...
|
|
49
|
+
constructor() {
|
|
50
|
+
super(...arguments);
|
|
50
51
|
this.ref = null;
|
|
51
52
|
|
|
52
53
|
this.handleRef = el => {
|
package/lib/List/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-list",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.13.0",
|
|
4
4
|
"description": "Components for displaying vertical or horizontal lists.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -25,21 +25,21 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.13.10",
|
|
28
|
-
"@instructure/console": "8.
|
|
29
|
-
"@instructure/emotion": "8.
|
|
30
|
-
"@instructure/shared-types": "8.
|
|
31
|
-
"@instructure/ui-prop-types": "8.
|
|
32
|
-
"@instructure/ui-react-utils": "8.
|
|
33
|
-
"@instructure/ui-testable": "8.
|
|
34
|
-
"@instructure/ui-view": "8.
|
|
28
|
+
"@instructure/console": "8.13.0",
|
|
29
|
+
"@instructure/emotion": "8.13.0",
|
|
30
|
+
"@instructure/shared-types": "8.13.0",
|
|
31
|
+
"@instructure/ui-prop-types": "8.13.0",
|
|
32
|
+
"@instructure/ui-react-utils": "8.13.0",
|
|
33
|
+
"@instructure/ui-testable": "8.13.0",
|
|
34
|
+
"@instructure/ui-view": "8.13.0",
|
|
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-test-locator": "8.
|
|
41
|
-
"@instructure/ui-test-utils": "8.
|
|
42
|
-
"@instructure/ui-themes": "8.
|
|
38
|
+
"@instructure/ui-babel-preset": "8.13.0",
|
|
39
|
+
"@instructure/ui-color-utils": "8.13.0",
|
|
40
|
+
"@instructure/ui-test-locator": "8.13.0",
|
|
41
|
+
"@instructure/ui-test-utils": "8.13.0",
|
|
42
|
+
"@instructure/ui-themes": "8.13.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": ">=16.8 <=17"
|
|
@@ -47,6 +47,5 @@
|
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
|
-
"sideEffects": false
|
|
51
|
-
"gitHead": "1e7ac821932a91fe9ef761c96f747c7ea1f3925a"
|
|
50
|
+
"sideEffects": false
|
|
52
51
|
}
|
package/LICENSE.md
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: The MIT License (MIT)
|
|
3
|
-
category: Getting Started
|
|
4
|
-
order: 9
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# The MIT License (MIT)
|
|
8
|
-
|
|
9
|
-
Copyright (c) 2015 Instructure, Inc.
|
|
10
|
-
|
|
11
|
-
**Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
-
in the Software without restriction, including without limitation the rights
|
|
14
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
-
furnished to do so, subject to the following conditions.**
|
|
17
|
-
|
|
18
|
-
The above copyright notice and this permission notice shall be included in all
|
|
19
|
-
copies or substantial portions of the Software.
|
|
20
|
-
|
|
21
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
-
SOFTWARE.
|