@instructure/ui-list 11.7.11-snapshot-25 → 11.7.11-snapshot-27
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/InlineList/v1/InlineListItem/index.js +3 -3
- package/es/InlineList/v2/InlineListItem/index.js +3 -3
- package/es/List/v1/ListItem/index.js +3 -3
- package/es/List/v1/index.js +3 -3
- package/es/List/v2/ListItem/index.js +3 -3
- package/es/List/v2/index.js +3 -3
- package/lib/InlineList/v1/InlineListItem/index.js +6 -4
- package/lib/InlineList/v2/InlineListItem/index.js +6 -4
- package/lib/List/v1/ListItem/index.js +6 -4
- package/lib/List/v1/index.js +6 -4
- package/lib/List/v2/ListItem/index.js +6 -4
- package/lib/List/v2/index.js +6 -4
- package/package.json +10 -10
- package/src/InlineList/v1/InlineListItem/index.tsx +7 -2
- package/src/InlineList/v2/InlineListItem/index.tsx +4 -2
- package/src/List/v1/ListItem/index.tsx +4 -2
- package/src/List/v1/index.tsx +4 -2
- package/src/List/v2/ListItem/index.tsx +4 -2
- package/src/List/v2/index.tsx +4 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/InlineList/v1/InlineListItem/index.d.ts +3 -1
- package/types/InlineList/v1/InlineListItem/index.d.ts.map +1 -1
- package/types/InlineList/v1/index.d.ts +1 -2
- package/types/InlineList/v1/index.d.ts.map +1 -1
- package/types/InlineList/v2/InlineListItem/index.d.ts +3 -1
- package/types/InlineList/v2/InlineListItem/index.d.ts.map +1 -1
- package/types/InlineList/v2/index.d.ts +1 -2
- package/types/InlineList/v2/index.d.ts.map +1 -1
- package/types/List/v1/ListItem/index.d.ts +3 -1
- package/types/List/v1/ListItem/index.d.ts.map +1 -1
- package/types/List/v1/index.d.ts +4 -2
- package/types/List/v1/index.d.ts.map +1 -1
- package/types/List/v2/ListItem/index.d.ts +3 -1
- package/types/List/v2/ListItem/index.d.ts.map +1 -1
- package/types/List/v2/index.d.ts +4 -2
- package/types/List/v2/index.d.ts.map +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
|
-
## [11.7.11-snapshot-
|
|
6
|
+
## [11.7.11-snapshot-27](https://github.com/instructure/instructure-ui/compare/v11.7.10...v11.7.11-snapshot-27) (2026-11-24)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-list
|
|
9
9
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
var _dec, _class;
|
|
2
1
|
/*
|
|
3
2
|
* The MIT License (MIT)
|
|
4
3
|
*
|
|
@@ -37,7 +36,7 @@ parent: InlineList
|
|
|
37
36
|
id: InlineList.Item
|
|
38
37
|
---
|
|
39
38
|
**/
|
|
40
|
-
|
|
39
|
+
export class InlineListItemBase extends Component {
|
|
41
40
|
static displayName = 'InlineListItem';
|
|
42
41
|
static componentId = 'InlineList.Item';
|
|
43
42
|
static allowedProps = allowedProps;
|
|
@@ -93,6 +92,7 @@ let InlineListItem = (_dec = withStyle(generateStyle, generateComponentTheme), _
|
|
|
93
92
|
})]
|
|
94
93
|
});
|
|
95
94
|
}
|
|
96
|
-
}
|
|
95
|
+
}
|
|
96
|
+
const InlineListItem = withStyle(generateStyle, generateComponentTheme)(InlineListItemBase);
|
|
97
97
|
export default InlineListItem;
|
|
98
98
|
export { InlineListItem };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
var _dec, _class;
|
|
2
1
|
/*
|
|
3
2
|
* The MIT License (MIT)
|
|
4
3
|
*
|
|
@@ -36,7 +35,7 @@ parent: InlineList
|
|
|
36
35
|
id: InlineList.Item
|
|
37
36
|
---
|
|
38
37
|
**/
|
|
39
|
-
|
|
38
|
+
export class InlineListItemBase extends Component {
|
|
40
39
|
static displayName = 'InlineListItem';
|
|
41
40
|
static componentId = 'InlineList.Item';
|
|
42
41
|
static allowedProps = allowedProps;
|
|
@@ -92,6 +91,7 @@ let InlineListItem = (_dec = withStyleNew(generateStyle), _dec(_class = class In
|
|
|
92
91
|
})]
|
|
93
92
|
});
|
|
94
93
|
}
|
|
95
|
-
}
|
|
94
|
+
}
|
|
95
|
+
const InlineListItem = withStyleNew(generateStyle)(InlineListItemBase);
|
|
96
96
|
export default InlineListItem;
|
|
97
97
|
export { InlineListItem };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
var _dec, _class;
|
|
2
1
|
/*
|
|
3
2
|
* The MIT License (MIT)
|
|
4
3
|
*
|
|
@@ -37,7 +36,7 @@ parent: List
|
|
|
37
36
|
id: List.Item
|
|
38
37
|
---
|
|
39
38
|
**/
|
|
40
|
-
|
|
39
|
+
export class ListItemBase extends Component {
|
|
41
40
|
static displayName = 'ListItem';
|
|
42
41
|
static componentId = 'List.Item';
|
|
43
42
|
static allowedProps = allowedProps;
|
|
@@ -87,6 +86,7 @@ let ListItem = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_c
|
|
|
87
86
|
children: children
|
|
88
87
|
});
|
|
89
88
|
}
|
|
90
|
-
}
|
|
89
|
+
}
|
|
90
|
+
const ListItem = withStyle(generateStyle, generateComponentTheme)(ListItemBase);
|
|
91
91
|
export default ListItem;
|
|
92
92
|
export { ListItem };
|
package/es/List/v1/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
var _dec, _class;
|
|
2
1
|
/*
|
|
3
2
|
* The MIT License (MIT)
|
|
4
3
|
*
|
|
@@ -37,7 +36,7 @@ import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
|
37
36
|
category: components
|
|
38
37
|
---
|
|
39
38
|
**/
|
|
40
|
-
|
|
39
|
+
export class ListBase extends Component {
|
|
41
40
|
static displayName = 'List';
|
|
42
41
|
static componentId = 'List';
|
|
43
42
|
static allowedProps = allowedProps;
|
|
@@ -97,6 +96,7 @@ let List = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class
|
|
|
97
96
|
children: this.renderChildren()
|
|
98
97
|
});
|
|
99
98
|
}
|
|
100
|
-
}
|
|
99
|
+
}
|
|
100
|
+
const List = withStyle(generateStyle, generateComponentTheme)(ListBase);
|
|
101
101
|
export default List;
|
|
102
102
|
export { List, ListItem };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
var _dec, _class;
|
|
2
1
|
/*
|
|
3
2
|
* The MIT License (MIT)
|
|
4
3
|
*
|
|
@@ -36,7 +35,7 @@ parent: List
|
|
|
36
35
|
id: List.Item
|
|
37
36
|
---
|
|
38
37
|
**/
|
|
39
|
-
|
|
38
|
+
export class ListItemBase extends Component {
|
|
40
39
|
static displayName = 'ListItem';
|
|
41
40
|
static componentId = 'List.Item';
|
|
42
41
|
static allowedProps = allowedProps;
|
|
@@ -86,6 +85,7 @@ let ListItem = (_dec = withStyleNew(generateStyle), _dec(_class = class ListItem
|
|
|
86
85
|
children: children
|
|
87
86
|
});
|
|
88
87
|
}
|
|
89
|
-
}
|
|
88
|
+
}
|
|
89
|
+
const ListItem = withStyleNew(generateStyle)(ListItemBase);
|
|
90
90
|
export default ListItem;
|
|
91
91
|
export { ListItem };
|
package/es/List/v2/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
var _dec, _class;
|
|
2
1
|
/*
|
|
3
2
|
* The MIT License (MIT)
|
|
4
3
|
*
|
|
@@ -36,7 +35,7 @@ import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
|
36
35
|
category: components
|
|
37
36
|
---
|
|
38
37
|
**/
|
|
39
|
-
|
|
38
|
+
export class ListBase extends Component {
|
|
40
39
|
static displayName = 'List';
|
|
41
40
|
static componentId = 'List';
|
|
42
41
|
static allowedProps = allowedProps;
|
|
@@ -96,6 +95,7 @@ let List = (_dec = withStyleNew(generateStyle), _dec(_class = class List extends
|
|
|
96
95
|
children: this.renderChildren()
|
|
97
96
|
});
|
|
98
97
|
}
|
|
99
|
-
}
|
|
98
|
+
}
|
|
99
|
+
const List = withStyleNew(generateStyle)(ListBase);
|
|
100
100
|
export default List;
|
|
101
101
|
export { List, ListItem };
|
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.default = exports.InlineListItem = void 0;
|
|
7
|
+
exports.default = exports.InlineListItemBase = exports.InlineListItem = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
var _v11_ = require("@instructure/ui-view/v11_6");
|
|
10
10
|
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
@@ -13,7 +13,6 @@ var _styles = _interopRequireDefault(require("./styles.js"));
|
|
|
13
13
|
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
14
14
|
var _props = require("./props.js");
|
|
15
15
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
16
|
-
var _dec, _class;
|
|
17
16
|
/*
|
|
18
17
|
* The MIT License (MIT)
|
|
19
18
|
*
|
|
@@ -37,13 +36,14 @@ var _dec, _class;
|
|
|
37
36
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
38
37
|
* SOFTWARE.
|
|
39
38
|
*/
|
|
39
|
+
|
|
40
40
|
/**
|
|
41
41
|
---
|
|
42
42
|
parent: InlineList
|
|
43
43
|
id: InlineList.Item
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
|
-
|
|
46
|
+
class InlineListItemBase extends _react.Component {
|
|
47
47
|
static displayName = 'InlineListItem';
|
|
48
48
|
static componentId = 'InlineList.Item';
|
|
49
49
|
static allowedProps = _props.allowedProps;
|
|
@@ -99,5 +99,7 @@ let InlineListItem = exports.InlineListItem = (_dec = (0, _emotion.withStyle)(_s
|
|
|
99
99
|
})]
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
|
-
}
|
|
102
|
+
}
|
|
103
|
+
exports.InlineListItemBase = InlineListItemBase;
|
|
104
|
+
const InlineListItem = exports.InlineListItem = (0, _emotion.withStyle)(_styles.default, _theme.default)(InlineListItemBase);
|
|
103
105
|
var _default = exports.default = InlineListItem;
|
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.default = exports.InlineListItem = void 0;
|
|
7
|
+
exports.default = exports.InlineListItemBase = exports.InlineListItem = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
var _latest = require("@instructure/ui-view/latest");
|
|
10
10
|
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
@@ -12,7 +12,6 @@ var _emotion = require("@instructure/emotion");
|
|
|
12
12
|
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
13
13
|
var _props = require("./props.js");
|
|
14
14
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
15
|
-
var _dec, _class;
|
|
16
15
|
/*
|
|
17
16
|
* The MIT License (MIT)
|
|
18
17
|
*
|
|
@@ -36,13 +35,14 @@ var _dec, _class;
|
|
|
36
35
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
37
36
|
* SOFTWARE.
|
|
38
37
|
*/
|
|
38
|
+
|
|
39
39
|
/**
|
|
40
40
|
---
|
|
41
41
|
parent: InlineList
|
|
42
42
|
id: InlineList.Item
|
|
43
43
|
---
|
|
44
44
|
**/
|
|
45
|
-
|
|
45
|
+
class InlineListItemBase extends _react.Component {
|
|
46
46
|
static displayName = 'InlineListItem';
|
|
47
47
|
static componentId = 'InlineList.Item';
|
|
48
48
|
static allowedProps = _props.allowedProps;
|
|
@@ -98,5 +98,7 @@ let InlineListItem = exports.InlineListItem = (_dec = (0, _emotion.withStyleNew)
|
|
|
98
98
|
})]
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
|
-
}
|
|
101
|
+
}
|
|
102
|
+
exports.InlineListItemBase = InlineListItemBase;
|
|
103
|
+
const InlineListItem = exports.InlineListItem = (0, _emotion.withStyleNew)(_styles.default)(InlineListItemBase);
|
|
102
104
|
var _default = exports.default = InlineListItem;
|
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.default = exports.ListItem = void 0;
|
|
7
|
+
exports.default = exports.ListItemBase = exports.ListItem = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
var _v11_ = require("@instructure/ui-view/v11_6");
|
|
10
10
|
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
@@ -13,7 +13,6 @@ var _styles = _interopRequireDefault(require("./styles.js"));
|
|
|
13
13
|
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
14
14
|
var _props = require("./props.js");
|
|
15
15
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
16
|
-
var _dec, _class;
|
|
17
16
|
/*
|
|
18
17
|
* The MIT License (MIT)
|
|
19
18
|
*
|
|
@@ -37,13 +36,14 @@ var _dec, _class;
|
|
|
37
36
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
38
37
|
* SOFTWARE.
|
|
39
38
|
*/
|
|
39
|
+
|
|
40
40
|
/**
|
|
41
41
|
---
|
|
42
42
|
parent: List
|
|
43
43
|
id: List.Item
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
|
-
|
|
46
|
+
class ListItemBase extends _react.Component {
|
|
47
47
|
static displayName = 'ListItem';
|
|
48
48
|
static componentId = 'List.Item';
|
|
49
49
|
static allowedProps = _props.allowedProps;
|
|
@@ -93,5 +93,7 @@ let ListItem = exports.ListItem = (_dec = (0, _emotion.withStyle)(_styles.defaul
|
|
|
93
93
|
children: children
|
|
94
94
|
});
|
|
95
95
|
}
|
|
96
|
-
}
|
|
96
|
+
}
|
|
97
|
+
exports.ListItemBase = ListItemBase;
|
|
98
|
+
const ListItem = exports.ListItem = (0, _emotion.withStyle)(_styles.default, _theme.default)(ListItemBase);
|
|
97
99
|
var _default = exports.default = ListItem;
|
package/lib/List/v1/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.List = void 0;
|
|
7
|
+
exports.ListBase = exports.List = void 0;
|
|
8
8
|
Object.defineProperty(exports, "ListItem", {
|
|
9
9
|
enumerable: true,
|
|
10
10
|
get: function () {
|
|
@@ -21,7 +21,6 @@ var _styles = _interopRequireDefault(require("./styles.js"));
|
|
|
21
21
|
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
22
22
|
var _props = require("./props.js");
|
|
23
23
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
24
|
-
var _dec, _class;
|
|
25
24
|
/*
|
|
26
25
|
* The MIT License (MIT)
|
|
27
26
|
*
|
|
@@ -45,12 +44,13 @@ var _dec, _class;
|
|
|
45
44
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
46
45
|
* SOFTWARE.
|
|
47
46
|
*/
|
|
47
|
+
|
|
48
48
|
/**
|
|
49
49
|
---
|
|
50
50
|
category: components
|
|
51
51
|
---
|
|
52
52
|
**/
|
|
53
|
-
|
|
53
|
+
class ListBase extends _react.Component {
|
|
54
54
|
static displayName = 'List';
|
|
55
55
|
static componentId = 'List';
|
|
56
56
|
static allowedProps = _props.allowedProps;
|
|
@@ -110,5 +110,7 @@ let List = exports.List = (_dec = (0, _emotion.withStyle)(_styles.default, _them
|
|
|
110
110
|
children: this.renderChildren()
|
|
111
111
|
});
|
|
112
112
|
}
|
|
113
|
-
}
|
|
113
|
+
}
|
|
114
|
+
exports.ListBase = ListBase;
|
|
115
|
+
const List = exports.List = (0, _emotion.withStyle)(_styles.default, _theme.default)(ListBase);
|
|
114
116
|
var _default = exports.default = List;
|
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.default = exports.ListItem = void 0;
|
|
7
|
+
exports.default = exports.ListItemBase = exports.ListItem = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
var _latest = require("@instructure/ui-view/latest");
|
|
10
10
|
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
@@ -12,7 +12,6 @@ var _emotion = require("@instructure/emotion");
|
|
|
12
12
|
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
13
13
|
var _props = require("./props.js");
|
|
14
14
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
15
|
-
var _dec, _class;
|
|
16
15
|
/*
|
|
17
16
|
* The MIT License (MIT)
|
|
18
17
|
*
|
|
@@ -36,13 +35,14 @@ var _dec, _class;
|
|
|
36
35
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
37
36
|
* SOFTWARE.
|
|
38
37
|
*/
|
|
38
|
+
|
|
39
39
|
/**
|
|
40
40
|
---
|
|
41
41
|
parent: List
|
|
42
42
|
id: List.Item
|
|
43
43
|
---
|
|
44
44
|
**/
|
|
45
|
-
|
|
45
|
+
class ListItemBase extends _react.Component {
|
|
46
46
|
static displayName = 'ListItem';
|
|
47
47
|
static componentId = 'List.Item';
|
|
48
48
|
static allowedProps = _props.allowedProps;
|
|
@@ -92,5 +92,7 @@ let ListItem = exports.ListItem = (_dec = (0, _emotion.withStyleNew)(_styles.def
|
|
|
92
92
|
children: children
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
|
-
}
|
|
95
|
+
}
|
|
96
|
+
exports.ListItemBase = ListItemBase;
|
|
97
|
+
const ListItem = exports.ListItem = (0, _emotion.withStyleNew)(_styles.default)(ListItemBase);
|
|
96
98
|
var _default = exports.default = ListItem;
|
package/lib/List/v2/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.List = void 0;
|
|
7
|
+
exports.ListBase = exports.List = void 0;
|
|
8
8
|
Object.defineProperty(exports, "ListItem", {
|
|
9
9
|
enumerable: true,
|
|
10
10
|
get: function () {
|
|
@@ -20,7 +20,6 @@ var _index = require("./ListItem/index.js");
|
|
|
20
20
|
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
21
21
|
var _props = require("./props.js");
|
|
22
22
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
23
|
-
var _dec, _class;
|
|
24
23
|
/*
|
|
25
24
|
* The MIT License (MIT)
|
|
26
25
|
*
|
|
@@ -44,12 +43,13 @@ var _dec, _class;
|
|
|
44
43
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
45
44
|
* SOFTWARE.
|
|
46
45
|
*/
|
|
46
|
+
|
|
47
47
|
/**
|
|
48
48
|
---
|
|
49
49
|
category: components
|
|
50
50
|
---
|
|
51
51
|
**/
|
|
52
|
-
|
|
52
|
+
class ListBase extends _react.Component {
|
|
53
53
|
static displayName = 'List';
|
|
54
54
|
static componentId = 'List';
|
|
55
55
|
static allowedProps = _props.allowedProps;
|
|
@@ -109,5 +109,7 @@ let List = exports.List = (_dec = (0, _emotion.withStyleNew)(_styles.default), _
|
|
|
109
109
|
children: this.renderChildren()
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
|
-
}
|
|
112
|
+
}
|
|
113
|
+
exports.ListBase = ListBase;
|
|
114
|
+
const List = exports.List = (0, _emotion.withStyleNew)(_styles.default)(ListBase);
|
|
113
115
|
var _default = exports.default = List;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-list",
|
|
3
|
-
"version": "11.7.11-snapshot-
|
|
3
|
+
"version": "11.7.11-snapshot-27",
|
|
4
4
|
"description": "Components for displaying vertical or horizontal lists.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.7",
|
|
18
|
-
"@instructure/console": "11.7.11-snapshot-
|
|
19
|
-
"@instructure/emotion": "11.7.11-snapshot-
|
|
20
|
-
"@instructure/shared-types": "11.7.11-snapshot-
|
|
21
|
-
"@instructure/ui-react-utils": "11.7.11-snapshot-
|
|
22
|
-
"@instructure/ui-themes": "11.7.11-snapshot-
|
|
23
|
-
"@instructure/ui-view": "11.7.11-snapshot-
|
|
18
|
+
"@instructure/console": "11.7.11-snapshot-27",
|
|
19
|
+
"@instructure/emotion": "11.7.11-snapshot-27",
|
|
20
|
+
"@instructure/shared-types": "11.7.11-snapshot-27",
|
|
21
|
+
"@instructure/ui-react-utils": "11.7.11-snapshot-27",
|
|
22
|
+
"@instructure/ui-themes": "11.7.11-snapshot-27",
|
|
23
|
+
"@instructure/ui-view": "11.7.11-snapshot-27"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-axe-check": "11.7.11-snapshot-
|
|
27
|
-
"@instructure/ui-babel-preset": "11.7.11-snapshot-
|
|
28
|
-
"@instructure/ui-color-utils": "11.7.11-snapshot-
|
|
26
|
+
"@instructure/ui-axe-check": "11.7.11-snapshot-27",
|
|
27
|
+
"@instructure/ui-babel-preset": "11.7.11-snapshot-27",
|
|
28
|
+
"@instructure/ui-color-utils": "11.7.11-snapshot-27",
|
|
29
29
|
"vitest": "^5.0.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
@@ -41,8 +41,7 @@ parent: InlineList
|
|
|
41
41
|
id: InlineList.Item
|
|
42
42
|
---
|
|
43
43
|
**/
|
|
44
|
-
|
|
45
|
-
class InlineListItem extends Component<InlineListItemProps> {
|
|
44
|
+
export class InlineListItemBase extends Component<InlineListItemProps> {
|
|
46
45
|
static displayName = 'InlineListItem'
|
|
47
46
|
static readonly componentId = 'InlineList.Item'
|
|
48
47
|
|
|
@@ -110,5 +109,11 @@ class InlineListItem extends Component<InlineListItemProps> {
|
|
|
110
109
|
}
|
|
111
110
|
}
|
|
112
111
|
|
|
112
|
+
const InlineListItem = withStyle(
|
|
113
|
+
generateStyle,
|
|
114
|
+
generateComponentTheme
|
|
115
|
+
)(InlineListItemBase)
|
|
116
|
+
type InlineListItem = InlineListItemBase
|
|
117
|
+
|
|
113
118
|
export default InlineListItem
|
|
114
119
|
export { InlineListItem }
|
|
@@ -38,8 +38,7 @@ parent: InlineList
|
|
|
38
38
|
id: InlineList.Item
|
|
39
39
|
---
|
|
40
40
|
**/
|
|
41
|
-
|
|
42
|
-
class InlineListItem extends Component<InlineListItemProps> {
|
|
41
|
+
export class InlineListItemBase extends Component<InlineListItemProps> {
|
|
43
42
|
static displayName = 'InlineListItem'
|
|
44
43
|
static readonly componentId = 'InlineList.Item'
|
|
45
44
|
|
|
@@ -107,5 +106,8 @@ class InlineListItem extends Component<InlineListItemProps> {
|
|
|
107
106
|
}
|
|
108
107
|
}
|
|
109
108
|
|
|
109
|
+
const InlineListItem = withStyleNew(generateStyle)(InlineListItemBase)
|
|
110
|
+
type InlineListItem = InlineListItemBase
|
|
111
|
+
|
|
110
112
|
export default InlineListItem
|
|
111
113
|
export { InlineListItem }
|
|
@@ -41,8 +41,7 @@ parent: List
|
|
|
41
41
|
id: List.Item
|
|
42
42
|
---
|
|
43
43
|
**/
|
|
44
|
-
|
|
45
|
-
class ListItem extends Component<ListItemProps> {
|
|
44
|
+
export class ListItemBase extends Component<ListItemProps> {
|
|
46
45
|
static displayName = 'ListItem'
|
|
47
46
|
static readonly componentId = 'List.Item'
|
|
48
47
|
|
|
@@ -104,5 +103,8 @@ class ListItem extends Component<ListItemProps> {
|
|
|
104
103
|
}
|
|
105
104
|
}
|
|
106
105
|
|
|
106
|
+
const ListItem = withStyle(generateStyle, generateComponentTheme)(ListItemBase)
|
|
107
|
+
type ListItem = ListItemBase
|
|
108
|
+
|
|
107
109
|
export default ListItem
|
|
108
110
|
export { ListItem }
|
package/src/List/v1/index.tsx
CHANGED
|
@@ -42,8 +42,7 @@ import type { ListProps } from './props'
|
|
|
42
42
|
category: components
|
|
43
43
|
---
|
|
44
44
|
**/
|
|
45
|
-
|
|
46
|
-
class List extends Component<ListProps> {
|
|
45
|
+
export class ListBase extends Component<ListProps> {
|
|
47
46
|
static displayName = 'List'
|
|
48
47
|
static readonly componentId = 'List'
|
|
49
48
|
|
|
@@ -110,5 +109,8 @@ class List extends Component<ListProps> {
|
|
|
110
109
|
}
|
|
111
110
|
}
|
|
112
111
|
|
|
112
|
+
const List = withStyle(generateStyle, generateComponentTheme)(ListBase)
|
|
113
|
+
type List = ListBase
|
|
114
|
+
|
|
113
115
|
export default List
|
|
114
116
|
export { List, ListItem }
|
|
@@ -38,8 +38,7 @@ parent: List
|
|
|
38
38
|
id: List.Item
|
|
39
39
|
---
|
|
40
40
|
**/
|
|
41
|
-
|
|
42
|
-
class ListItem extends Component<ListItemProps> {
|
|
41
|
+
export class ListItemBase extends Component<ListItemProps> {
|
|
43
42
|
static displayName = 'ListItem'
|
|
44
43
|
static readonly componentId = 'List.Item'
|
|
45
44
|
|
|
@@ -101,5 +100,8 @@ class ListItem extends Component<ListItemProps> {
|
|
|
101
100
|
}
|
|
102
101
|
}
|
|
103
102
|
|
|
103
|
+
const ListItem = withStyleNew(generateStyle)(ListItemBase)
|
|
104
|
+
type ListItem = ListItemBase
|
|
105
|
+
|
|
104
106
|
export default ListItem
|
|
105
107
|
export { ListItem }
|
package/src/List/v2/index.tsx
CHANGED
|
@@ -38,8 +38,7 @@ import type { ListProps } from './props'
|
|
|
38
38
|
category: components
|
|
39
39
|
---
|
|
40
40
|
**/
|
|
41
|
-
|
|
42
|
-
class List extends Component<ListProps> {
|
|
41
|
+
export class ListBase extends Component<ListProps> {
|
|
43
42
|
static displayName = 'List'
|
|
44
43
|
static readonly componentId = 'List'
|
|
45
44
|
|
|
@@ -106,5 +105,8 @@ class List extends Component<ListProps> {
|
|
|
106
105
|
}
|
|
107
106
|
}
|
|
108
107
|
|
|
108
|
+
const List = withStyleNew(generateStyle)(ListBase)
|
|
109
|
+
type List = ListBase
|
|
110
|
+
|
|
109
111
|
export default List
|
|
110
112
|
export { List, ListItem }
|