@instructure/ui-list 11.7.4-snapshot-14 → 11.7.4-snapshot-49
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/LICENSE.md +1 -0
- package/es/InlineList/v1/InlineListItem/index.js +4 -4
- package/es/InlineList/v1/index.js +3 -3
- package/es/InlineList/v2/InlineListItem/index.js +3 -3
- package/es/InlineList/v2/index.js +3 -3
- package/es/List/v1/ListItem/index.js +4 -4
- package/es/List/v1/index.js +5 -5
- package/es/List/v2/ListItem/index.js +3 -3
- package/es/List/v2/index.js +4 -4
- package/es/exports/a.js +4 -3
- package/es/exports/b.js +4 -3
- package/lib/InlineList/v1/InlineListItem/index.js +4 -4
- package/lib/InlineList/v1/index.js +4 -4
- package/lib/InlineList/v2/InlineListItem/index.js +3 -3
- package/lib/InlineList/v2/index.js +4 -4
- package/lib/List/v1/ListItem/index.js +4 -4
- package/lib/List/v1/index.js +7 -7
- package/lib/List/v2/ListItem/index.js +3 -3
- package/lib/List/v2/index.js +6 -6
- package/lib/exports/a.js +7 -7
- package/lib/exports/b.js +7 -7
- package/package.json +10 -10
- package/src/InlineList/v1/InlineListItem/index.tsx +4 -3
- package/src/InlineList/v1/index.tsx +3 -2
- package/src/InlineList/v2/InlineListItem/index.tsx +3 -2
- package/src/InlineList/v2/index.tsx +3 -2
- package/src/List/v1/ListItem/index.tsx +4 -3
- package/src/List/v1/index.tsx +5 -4
- package/src/List/v2/ListItem/index.tsx +3 -2
- package/src/List/v2/index.tsx +4 -3
- package/src/exports/a.ts +3 -3
- package/src/exports/b.ts +3 -3
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/InlineList/v1/InlineListItem/index.d.ts +1 -0
- package/types/InlineList/v1/InlineListItem/index.d.ts.map +1 -1
- package/types/InlineList/v1/index.d.ts +2 -1
- package/types/InlineList/v1/index.d.ts.map +1 -1
- package/types/InlineList/v2/InlineListItem/index.d.ts +1 -0
- package/types/InlineList/v2/InlineListItem/index.d.ts.map +1 -1
- package/types/InlineList/v2/index.d.ts +2 -1
- package/types/InlineList/v2/index.d.ts.map +1 -1
- package/types/List/v1/ListItem/index.d.ts +1 -0
- package/types/List/v1/ListItem/index.d.ts.map +1 -1
- package/types/List/v1/index.d.ts +2 -1
- package/types/List/v1/index.d.ts.map +1 -1
- package/types/List/v2/ListItem/index.d.ts +1 -0
- package/types/List/v2/ListItem/index.d.ts.map +1 -1
- package/types/List/v2/index.d.ts +2 -1
- package/types/List/v2/index.d.ts.map +1 -1
- package/types/exports/a.d.ts +3 -3
- package/types/exports/a.d.ts.map +1 -1
- package/types/exports/b.d.ts +3 -3
- package/types/exports/b.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.4-snapshot-
|
|
6
|
+
## [11.7.4-snapshot-49](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-49) (2026-06-17)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-list
|
|
9
9
|
|
package/LICENSE.md
CHANGED
|
@@ -27,9 +27,9 @@ import { Component } from 'react';
|
|
|
27
27
|
import { View } from '@instructure/ui-view/v11_6';
|
|
28
28
|
import { passthroughProps } from '@instructure/ui-react-utils';
|
|
29
29
|
import { withStyle } from '@instructure/emotion';
|
|
30
|
-
import generateStyle from
|
|
31
|
-
import generateComponentTheme from
|
|
32
|
-
import { allowedProps } from
|
|
30
|
+
import generateStyle from './styles.js';
|
|
31
|
+
import generateComponentTheme from './theme.js';
|
|
32
|
+
import { allowedProps } from './props.js';
|
|
33
33
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
34
34
|
/**
|
|
35
35
|
---
|
|
@@ -38,7 +38,7 @@ id: InlineList.Item
|
|
|
38
38
|
---
|
|
39
39
|
**/
|
|
40
40
|
let InlineListItem = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class InlineListItem extends Component {
|
|
41
|
-
static displayName =
|
|
41
|
+
static displayName = 'InlineListItem';
|
|
42
42
|
static componentId = 'InlineList.Item';
|
|
43
43
|
static allowedProps = allowedProps;
|
|
44
44
|
static defaultProps = {
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
import { Children, Component } from 'react';
|
|
25
25
|
import { View } from '@instructure/ui-view/v11_6';
|
|
26
26
|
import { passthroughProps, safeCloneElement } from '@instructure/ui-react-utils';
|
|
27
|
-
import { InlineListItem } from
|
|
28
|
-
import { allowedProps } from
|
|
27
|
+
import { InlineListItem } from './InlineListItem/index.js';
|
|
28
|
+
import { allowedProps } from './props.js';
|
|
29
29
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
30
30
|
/**
|
|
31
31
|
---
|
|
@@ -34,7 +34,7 @@ category: components
|
|
|
34
34
|
|
|
35
35
|
**/
|
|
36
36
|
class InlineList extends Component {
|
|
37
|
-
static displayName =
|
|
37
|
+
static displayName = 'InlineList';
|
|
38
38
|
static allowedProps = allowedProps;
|
|
39
39
|
static defaultProps = {
|
|
40
40
|
itemSpacing: 'none',
|
|
@@ -27,8 +27,8 @@ import { Component } from 'react';
|
|
|
27
27
|
import { View } from '@instructure/ui-view/latest';
|
|
28
28
|
import { passthroughProps } from '@instructure/ui-react-utils';
|
|
29
29
|
import { withStyleNew } from '@instructure/emotion';
|
|
30
|
-
import generateStyle from
|
|
31
|
-
import { allowedProps } from
|
|
30
|
+
import generateStyle from './styles.js';
|
|
31
|
+
import { allowedProps } from './props.js';
|
|
32
32
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
33
33
|
/**
|
|
34
34
|
---
|
|
@@ -37,7 +37,7 @@ id: InlineList.Item
|
|
|
37
37
|
---
|
|
38
38
|
**/
|
|
39
39
|
let InlineListItem = (_dec = withStyleNew(generateStyle), _dec(_class = class InlineListItem extends Component {
|
|
40
|
-
static displayName =
|
|
40
|
+
static displayName = 'InlineListItem';
|
|
41
41
|
static componentId = 'InlineList.Item';
|
|
42
42
|
static allowedProps = allowedProps;
|
|
43
43
|
static defaultProps = {
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
import { Children, Component } from 'react';
|
|
25
25
|
import { View } from '@instructure/ui-view/latest';
|
|
26
26
|
import { passthroughProps, safeCloneElement } from '@instructure/ui-react-utils';
|
|
27
|
-
import { InlineListItem } from
|
|
28
|
-
import { allowedProps } from
|
|
27
|
+
import { InlineListItem } from './InlineListItem/index.js';
|
|
28
|
+
import { allowedProps } from './props.js';
|
|
29
29
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
30
30
|
/**
|
|
31
31
|
---
|
|
@@ -34,7 +34,7 @@ category: components
|
|
|
34
34
|
|
|
35
35
|
**/
|
|
36
36
|
class InlineList extends Component {
|
|
37
|
-
static displayName =
|
|
37
|
+
static displayName = 'InlineList';
|
|
38
38
|
static allowedProps = allowedProps;
|
|
39
39
|
static defaultProps = {
|
|
40
40
|
itemSpacing: 'none',
|
|
@@ -27,9 +27,9 @@ import { Component } from 'react';
|
|
|
27
27
|
import { View } from '@instructure/ui-view/v11_6';
|
|
28
28
|
import { passthroughProps } from '@instructure/ui-react-utils';
|
|
29
29
|
import { withStyle } from '@instructure/emotion';
|
|
30
|
-
import generateStyle from
|
|
31
|
-
import generateComponentTheme from
|
|
32
|
-
import { allowedProps } from
|
|
30
|
+
import generateStyle from './styles.js';
|
|
31
|
+
import generateComponentTheme from './theme.js';
|
|
32
|
+
import { allowedProps } from './props.js';
|
|
33
33
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
34
34
|
/**
|
|
35
35
|
---
|
|
@@ -38,7 +38,7 @@ id: List.Item
|
|
|
38
38
|
---
|
|
39
39
|
**/
|
|
40
40
|
let ListItem = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class ListItem extends Component {
|
|
41
|
-
static displayName =
|
|
41
|
+
static displayName = 'ListItem';
|
|
42
42
|
static componentId = 'List.Item';
|
|
43
43
|
static allowedProps = allowedProps;
|
|
44
44
|
static defaultProps = {
|
package/es/List/v1/index.js
CHANGED
|
@@ -26,11 +26,11 @@ var _dec, _class;
|
|
|
26
26
|
import { Children, Component } from 'react';
|
|
27
27
|
import { View } from '@instructure/ui-view/v11_6';
|
|
28
28
|
import { passthroughProps, safeCloneElement } from '@instructure/ui-react-utils';
|
|
29
|
-
import { ListItem } from
|
|
29
|
+
import { ListItem } from './ListItem/index.js';
|
|
30
30
|
import { withStyle } from '@instructure/emotion';
|
|
31
|
-
import generateStyle from
|
|
32
|
-
import generateComponentTheme from
|
|
33
|
-
import { allowedProps } from
|
|
31
|
+
import generateStyle from './styles.js';
|
|
32
|
+
import generateComponentTheme from './theme.js';
|
|
33
|
+
import { allowedProps } from './props.js';
|
|
34
34
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
35
35
|
/**
|
|
36
36
|
---
|
|
@@ -38,7 +38,7 @@ category: components
|
|
|
38
38
|
---
|
|
39
39
|
**/
|
|
40
40
|
let List = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class List extends Component {
|
|
41
|
-
static displayName =
|
|
41
|
+
static displayName = 'List';
|
|
42
42
|
static componentId = 'List';
|
|
43
43
|
static allowedProps = allowedProps;
|
|
44
44
|
static defaultProps = {
|
|
@@ -27,8 +27,8 @@ import { Component } from 'react';
|
|
|
27
27
|
import { View } from '@instructure/ui-view/latest';
|
|
28
28
|
import { passthroughProps } from '@instructure/ui-react-utils';
|
|
29
29
|
import { withStyleNew } from '@instructure/emotion';
|
|
30
|
-
import generateStyle from
|
|
31
|
-
import { allowedProps } from
|
|
30
|
+
import generateStyle from './styles.js';
|
|
31
|
+
import { allowedProps } from './props.js';
|
|
32
32
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
33
33
|
/**
|
|
34
34
|
---
|
|
@@ -37,7 +37,7 @@ id: List.Item
|
|
|
37
37
|
---
|
|
38
38
|
**/
|
|
39
39
|
let ListItem = (_dec = withStyleNew(generateStyle), _dec(_class = class ListItem extends Component {
|
|
40
|
-
static displayName =
|
|
40
|
+
static displayName = 'ListItem';
|
|
41
41
|
static componentId = 'List.Item';
|
|
42
42
|
static allowedProps = allowedProps;
|
|
43
43
|
static defaultProps = {
|
package/es/List/v2/index.js
CHANGED
|
@@ -27,9 +27,9 @@ import { Children, Component } from 'react';
|
|
|
27
27
|
import { View } from '@instructure/ui-view/latest';
|
|
28
28
|
import { passthroughProps, safeCloneElement } from '@instructure/ui-react-utils';
|
|
29
29
|
import { withStyleNew } from '@instructure/emotion';
|
|
30
|
-
import { ListItem } from
|
|
31
|
-
import generateStyle from
|
|
32
|
-
import { allowedProps } from
|
|
30
|
+
import { ListItem } from './ListItem/index.js';
|
|
31
|
+
import generateStyle from './styles.js';
|
|
32
|
+
import { allowedProps } from './props.js';
|
|
33
33
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
34
34
|
/**
|
|
35
35
|
---
|
|
@@ -37,7 +37,7 @@ category: components
|
|
|
37
37
|
---
|
|
38
38
|
**/
|
|
39
39
|
let List = (_dec = withStyleNew(generateStyle), _dec(_class = class List extends Component {
|
|
40
|
-
static displayName =
|
|
40
|
+
static displayName = 'List';
|
|
41
41
|
static componentId = 'List';
|
|
42
42
|
static allowedProps = allowedProps;
|
|
43
43
|
static defaultProps = {
|
package/es/exports/a.js
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
24
|
+
|
|
25
|
+
export { InlineList } from '../InlineList/v1/index.js';
|
|
26
|
+
export { List, ListItem } from '../List/v1/index.js';
|
|
27
|
+
export { InlineListItem } from '../InlineList/v1/InlineListItem/index.js';
|
package/es/exports/b.js
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
24
|
+
|
|
25
|
+
export { InlineList } from '../InlineList/v2/index.js';
|
|
26
|
+
export { List, ListItem } from '../List/v2/index.js';
|
|
27
|
+
export { InlineListItem } from '../InlineList/v2/InlineListItem/index.js';
|
|
@@ -9,9 +9,9 @@ var _react = require("react");
|
|
|
9
9
|
var _v11_ = require("@instructure/ui-view/v11_6");
|
|
10
10
|
var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProps.js");
|
|
11
11
|
var _emotion = require("@instructure/emotion");
|
|
12
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
13
|
-
var _theme = _interopRequireDefault(require("./theme"));
|
|
14
|
-
var _props = require("./props");
|
|
12
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
13
|
+
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
14
|
+
var _props = require("./props.js");
|
|
15
15
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
16
16
|
var _dec, _class;
|
|
17
17
|
/*
|
|
@@ -44,7 +44,7 @@ id: InlineList.Item
|
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
46
|
let InlineListItem = exports.InlineListItem = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class InlineListItem extends _react.Component {
|
|
47
|
-
static displayName =
|
|
47
|
+
static displayName = 'InlineListItem';
|
|
48
48
|
static componentId = 'InlineList.Item';
|
|
49
49
|
static allowedProps = _props.allowedProps;
|
|
50
50
|
static defaultProps = {
|
|
@@ -8,8 +8,8 @@ var _react = require("react");
|
|
|
8
8
|
var _v11_ = require("@instructure/ui-view/v11_6");
|
|
9
9
|
var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProps.js");
|
|
10
10
|
var _safeCloneElement = require("@instructure/ui-react-utils/lib/safeCloneElement.js");
|
|
11
|
-
var
|
|
12
|
-
var _props = require("./props");
|
|
11
|
+
var _index = require("./InlineListItem/index.js");
|
|
12
|
+
var _props = require("./props.js");
|
|
13
13
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
14
14
|
/*
|
|
15
15
|
* The MIT License (MIT)
|
|
@@ -42,7 +42,7 @@ category: components
|
|
|
42
42
|
|
|
43
43
|
**/
|
|
44
44
|
class InlineList extends _react.Component {
|
|
45
|
-
static displayName =
|
|
45
|
+
static displayName = 'InlineList';
|
|
46
46
|
static allowedProps = _props.allowedProps;
|
|
47
47
|
static defaultProps = {
|
|
48
48
|
itemSpacing: 'none',
|
|
@@ -51,7 +51,7 @@ class InlineList extends _react.Component {
|
|
|
51
51
|
delimiter: 'none',
|
|
52
52
|
size: 'medium'
|
|
53
53
|
};
|
|
54
|
-
static Item =
|
|
54
|
+
static Item = _index.InlineListItem;
|
|
55
55
|
ref = null;
|
|
56
56
|
handleRef = el => {
|
|
57
57
|
const {
|
|
@@ -9,8 +9,8 @@ var _react = require("react");
|
|
|
9
9
|
var _latest = require("@instructure/ui-view/latest");
|
|
10
10
|
var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProps.js");
|
|
11
11
|
var _emotion = require("@instructure/emotion");
|
|
12
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
13
|
-
var _props = require("./props");
|
|
12
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
13
|
+
var _props = require("./props.js");
|
|
14
14
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
15
15
|
var _dec, _class;
|
|
16
16
|
/*
|
|
@@ -43,7 +43,7 @@ id: InlineList.Item
|
|
|
43
43
|
---
|
|
44
44
|
**/
|
|
45
45
|
let InlineListItem = exports.InlineListItem = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class InlineListItem extends _react.Component {
|
|
46
|
-
static displayName =
|
|
46
|
+
static displayName = 'InlineListItem';
|
|
47
47
|
static componentId = 'InlineList.Item';
|
|
48
48
|
static allowedProps = _props.allowedProps;
|
|
49
49
|
static defaultProps = {
|
|
@@ -8,8 +8,8 @@ var _react = require("react");
|
|
|
8
8
|
var _latest = require("@instructure/ui-view/latest");
|
|
9
9
|
var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProps.js");
|
|
10
10
|
var _safeCloneElement = require("@instructure/ui-react-utils/lib/safeCloneElement.js");
|
|
11
|
-
var
|
|
12
|
-
var _props = require("./props");
|
|
11
|
+
var _index = require("./InlineListItem/index.js");
|
|
12
|
+
var _props = require("./props.js");
|
|
13
13
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
14
14
|
/*
|
|
15
15
|
* The MIT License (MIT)
|
|
@@ -42,7 +42,7 @@ category: components
|
|
|
42
42
|
|
|
43
43
|
**/
|
|
44
44
|
class InlineList extends _react.Component {
|
|
45
|
-
static displayName =
|
|
45
|
+
static displayName = 'InlineList';
|
|
46
46
|
static allowedProps = _props.allowedProps;
|
|
47
47
|
static defaultProps = {
|
|
48
48
|
itemSpacing: 'none',
|
|
@@ -51,7 +51,7 @@ class InlineList extends _react.Component {
|
|
|
51
51
|
delimiter: 'none',
|
|
52
52
|
size: 'medium'
|
|
53
53
|
};
|
|
54
|
-
static Item =
|
|
54
|
+
static Item = _index.InlineListItem;
|
|
55
55
|
ref = null;
|
|
56
56
|
handleRef = el => {
|
|
57
57
|
const {
|
|
@@ -9,9 +9,9 @@ var _react = require("react");
|
|
|
9
9
|
var _v11_ = require("@instructure/ui-view/v11_6");
|
|
10
10
|
var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProps.js");
|
|
11
11
|
var _emotion = require("@instructure/emotion");
|
|
12
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
13
|
-
var _theme = _interopRequireDefault(require("./theme"));
|
|
14
|
-
var _props = require("./props");
|
|
12
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
13
|
+
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
14
|
+
var _props = require("./props.js");
|
|
15
15
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
16
16
|
var _dec, _class;
|
|
17
17
|
/*
|
|
@@ -44,7 +44,7 @@ id: List.Item
|
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
46
|
let ListItem = exports.ListItem = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class ListItem extends _react.Component {
|
|
47
|
-
static displayName =
|
|
47
|
+
static displayName = 'ListItem';
|
|
48
48
|
static componentId = 'List.Item';
|
|
49
49
|
static allowedProps = _props.allowedProps;
|
|
50
50
|
static defaultProps = {
|
package/lib/List/v1/index.js
CHANGED
|
@@ -8,7 +8,7 @@ exports.List = void 0;
|
|
|
8
8
|
Object.defineProperty(exports, "ListItem", {
|
|
9
9
|
enumerable: true,
|
|
10
10
|
get: function () {
|
|
11
|
-
return
|
|
11
|
+
return _index.ListItem;
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
exports.default = void 0;
|
|
@@ -16,11 +16,11 @@ var _react = require("react");
|
|
|
16
16
|
var _v11_ = require("@instructure/ui-view/v11_6");
|
|
17
17
|
var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProps.js");
|
|
18
18
|
var _safeCloneElement = require("@instructure/ui-react-utils/lib/safeCloneElement.js");
|
|
19
|
-
var
|
|
19
|
+
var _index = require("./ListItem/index.js");
|
|
20
20
|
var _emotion = require("@instructure/emotion");
|
|
21
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
22
|
-
var _theme = _interopRequireDefault(require("./theme"));
|
|
23
|
-
var _props = require("./props");
|
|
21
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
22
|
+
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
23
|
+
var _props = require("./props.js");
|
|
24
24
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
25
25
|
var _dec, _class;
|
|
26
26
|
/*
|
|
@@ -52,7 +52,7 @@ category: components
|
|
|
52
52
|
---
|
|
53
53
|
**/
|
|
54
54
|
let List = exports.List = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class List extends _react.Component {
|
|
55
|
-
static displayName =
|
|
55
|
+
static displayName = 'List';
|
|
56
56
|
static componentId = 'List';
|
|
57
57
|
static allowedProps = _props.allowedProps;
|
|
58
58
|
static defaultProps = {
|
|
@@ -62,7 +62,7 @@ let List = exports.List = (_dec = (0, _emotion.withStyle)(_styles.default, _them
|
|
|
62
62
|
size: 'medium',
|
|
63
63
|
itemSpacing: 'none'
|
|
64
64
|
};
|
|
65
|
-
static Item =
|
|
65
|
+
static Item = _index.ListItem;
|
|
66
66
|
ref = null;
|
|
67
67
|
handleRef = el => {
|
|
68
68
|
const {
|
|
@@ -9,8 +9,8 @@ var _react = require("react");
|
|
|
9
9
|
var _latest = require("@instructure/ui-view/latest");
|
|
10
10
|
var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProps.js");
|
|
11
11
|
var _emotion = require("@instructure/emotion");
|
|
12
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
13
|
-
var _props = require("./props");
|
|
12
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
13
|
+
var _props = require("./props.js");
|
|
14
14
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
15
15
|
var _dec, _class;
|
|
16
16
|
/*
|
|
@@ -43,7 +43,7 @@ id: List.Item
|
|
|
43
43
|
---
|
|
44
44
|
**/
|
|
45
45
|
let ListItem = exports.ListItem = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class ListItem extends _react.Component {
|
|
46
|
-
static displayName =
|
|
46
|
+
static displayName = 'ListItem';
|
|
47
47
|
static componentId = 'List.Item';
|
|
48
48
|
static allowedProps = _props.allowedProps;
|
|
49
49
|
static defaultProps = {
|
package/lib/List/v2/index.js
CHANGED
|
@@ -8,7 +8,7 @@ exports.List = void 0;
|
|
|
8
8
|
Object.defineProperty(exports, "ListItem", {
|
|
9
9
|
enumerable: true,
|
|
10
10
|
get: function () {
|
|
11
|
-
return
|
|
11
|
+
return _index.ListItem;
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
exports.default = void 0;
|
|
@@ -17,9 +17,9 @@ var _latest = require("@instructure/ui-view/latest");
|
|
|
17
17
|
var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProps.js");
|
|
18
18
|
var _safeCloneElement = require("@instructure/ui-react-utils/lib/safeCloneElement.js");
|
|
19
19
|
var _emotion = require("@instructure/emotion");
|
|
20
|
-
var
|
|
21
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
22
|
-
var _props = require("./props");
|
|
20
|
+
var _index = require("./ListItem/index.js");
|
|
21
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
22
|
+
var _props = require("./props.js");
|
|
23
23
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
24
24
|
var _dec, _class;
|
|
25
25
|
/*
|
|
@@ -51,7 +51,7 @@ category: components
|
|
|
51
51
|
---
|
|
52
52
|
**/
|
|
53
53
|
let List = exports.List = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class List extends _react.Component {
|
|
54
|
-
static displayName =
|
|
54
|
+
static displayName = 'List';
|
|
55
55
|
static componentId = 'List';
|
|
56
56
|
static allowedProps = _props.allowedProps;
|
|
57
57
|
static defaultProps = {
|
|
@@ -61,7 +61,7 @@ let List = exports.List = (_dec = (0, _emotion.withStyleNew)(_styles.default), _
|
|
|
61
61
|
size: 'medium',
|
|
62
62
|
itemSpacing: 'none'
|
|
63
63
|
};
|
|
64
|
-
static Item =
|
|
64
|
+
static Item = _index.ListItem;
|
|
65
65
|
ref = null;
|
|
66
66
|
handleRef = el => {
|
|
67
67
|
const {
|
package/lib/exports/a.js
CHANGED
|
@@ -6,27 +6,27 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "InlineList", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index.InlineList;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "InlineListItem", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () {
|
|
15
|
-
return
|
|
15
|
+
return _index3.InlineListItem;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "List", {
|
|
19
19
|
enumerable: true,
|
|
20
20
|
get: function () {
|
|
21
|
-
return
|
|
21
|
+
return _index2.List;
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "ListItem", {
|
|
25
25
|
enumerable: true,
|
|
26
26
|
get: function () {
|
|
27
|
-
return
|
|
27
|
+
return _index2.ListItem;
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var
|
|
30
|
+
var _index = require("../InlineList/v1/index.js");
|
|
31
|
+
var _index2 = require("../List/v1/index.js");
|
|
32
|
+
var _index3 = require("../InlineList/v1/InlineListItem/index.js");
|
package/lib/exports/b.js
CHANGED
|
@@ -6,27 +6,27 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "InlineList", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index.InlineList;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "InlineListItem", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () {
|
|
15
|
-
return
|
|
15
|
+
return _index3.InlineListItem;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "List", {
|
|
19
19
|
enumerable: true,
|
|
20
20
|
get: function () {
|
|
21
|
-
return
|
|
21
|
+
return _index2.List;
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "ListItem", {
|
|
25
25
|
enumerable: true,
|
|
26
26
|
get: function () {
|
|
27
|
-
return
|
|
27
|
+
return _index2.ListItem;
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var
|
|
30
|
+
var _index = require("../InlineList/v2/index.js");
|
|
31
|
+
var _index2 = require("../List/v2/index.js");
|
|
32
|
+
var _index3 = require("../InlineList/v2/InlineListItem/index.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-list",
|
|
3
|
-
"version": "11.7.4-snapshot-
|
|
3
|
+
"version": "11.7.4-snapshot-49",
|
|
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,20 +15,20 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.2",
|
|
18
|
-
"@instructure/console": "11.7.4-snapshot-
|
|
19
|
-
"@instructure/emotion": "11.7.4-snapshot-
|
|
20
|
-
"@instructure/shared-types": "11.7.4-snapshot-
|
|
21
|
-
"@instructure/ui-
|
|
22
|
-
"@instructure/ui-
|
|
23
|
-
"@instructure/ui-view": "11.7.4-snapshot-
|
|
18
|
+
"@instructure/console": "11.7.4-snapshot-49",
|
|
19
|
+
"@instructure/emotion": "11.7.4-snapshot-49",
|
|
20
|
+
"@instructure/shared-types": "11.7.4-snapshot-49",
|
|
21
|
+
"@instructure/ui-themes": "11.7.4-snapshot-49",
|
|
22
|
+
"@instructure/ui-react-utils": "11.7.4-snapshot-49",
|
|
23
|
+
"@instructure/ui-view": "11.7.4-snapshot-49"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@testing-library/jest-dom": "^6.6.3",
|
|
27
27
|
"@testing-library/react": "15.0.7",
|
|
28
28
|
"vitest": "^3.2.2",
|
|
29
|
-
"@instructure/ui-axe-check": "11.7.4-snapshot-
|
|
30
|
-
"@instructure/ui-babel-preset": "11.7.4-snapshot-
|
|
31
|
-
"@instructure/ui-color-utils": "11.7.4-snapshot-
|
|
29
|
+
"@instructure/ui-axe-check": "11.7.4-snapshot-49",
|
|
30
|
+
"@instructure/ui-babel-preset": "11.7.4-snapshot-49",
|
|
31
|
+
"@instructure/ui-color-utils": "11.7.4-snapshot-49"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": ">=18 <=19"
|
|
@@ -29,10 +29,10 @@ import { passthroughProps } from '@instructure/ui-react-utils'
|
|
|
29
29
|
|
|
30
30
|
import { withStyle } from '@instructure/emotion'
|
|
31
31
|
|
|
32
|
-
import generateStyle from './styles'
|
|
33
|
-
import generateComponentTheme from './theme'
|
|
32
|
+
import generateStyle from './styles.js'
|
|
33
|
+
import generateComponentTheme from './theme.js'
|
|
34
34
|
|
|
35
|
-
import { allowedProps } from './props'
|
|
35
|
+
import { allowedProps } from './props.js'
|
|
36
36
|
import type { InlineListItemProps } from './props'
|
|
37
37
|
|
|
38
38
|
/**
|
|
@@ -43,6 +43,7 @@ id: InlineList.Item
|
|
|
43
43
|
**/
|
|
44
44
|
@withStyle(generateStyle, generateComponentTheme)
|
|
45
45
|
class InlineListItem extends Component<InlineListItemProps> {
|
|
46
|
+
static displayName = 'InlineListItem'
|
|
46
47
|
static readonly componentId = 'InlineList.Item'
|
|
47
48
|
|
|
48
49
|
static allowedProps = allowedProps
|
|
@@ -26,9 +26,9 @@ import { Children, Component, ReactElement } from 'react'
|
|
|
26
26
|
import { View } from '@instructure/ui-view/v11_6'
|
|
27
27
|
import { passthroughProps, safeCloneElement } from '@instructure/ui-react-utils'
|
|
28
28
|
|
|
29
|
-
import { InlineListItem } from './InlineListItem'
|
|
29
|
+
import { InlineListItem } from './InlineListItem/index.js'
|
|
30
30
|
|
|
31
|
-
import { allowedProps } from './props'
|
|
31
|
+
import { allowedProps } from './props.js'
|
|
32
32
|
import type { InlineListProps } from './props'
|
|
33
33
|
|
|
34
34
|
/**
|
|
@@ -38,6 +38,7 @@ category: components
|
|
|
38
38
|
|
|
39
39
|
**/
|
|
40
40
|
class InlineList extends Component<InlineListProps> {
|
|
41
|
+
static displayName = 'InlineList'
|
|
41
42
|
static allowedProps = allowedProps
|
|
42
43
|
static defaultProps = {
|
|
43
44
|
itemSpacing: 'none',
|
|
@@ -28,8 +28,8 @@ import { View } from '@instructure/ui-view/latest'
|
|
|
28
28
|
import { passthroughProps } from '@instructure/ui-react-utils'
|
|
29
29
|
import { withStyleNew } from '@instructure/emotion'
|
|
30
30
|
|
|
31
|
-
import generateStyle from './styles'
|
|
32
|
-
import { allowedProps } from './props'
|
|
31
|
+
import generateStyle from './styles.js'
|
|
32
|
+
import { allowedProps } from './props.js'
|
|
33
33
|
import type { InlineListItemProps } from './props'
|
|
34
34
|
|
|
35
35
|
/**
|
|
@@ -40,6 +40,7 @@ id: InlineList.Item
|
|
|
40
40
|
**/
|
|
41
41
|
@withStyleNew(generateStyle)
|
|
42
42
|
class InlineListItem extends Component<InlineListItemProps> {
|
|
43
|
+
static displayName = 'InlineListItem'
|
|
43
44
|
static readonly componentId = 'InlineList.Item'
|
|
44
45
|
|
|
45
46
|
static allowedProps = allowedProps
|
|
@@ -26,9 +26,9 @@ import { Children, Component, ReactElement } from 'react'
|
|
|
26
26
|
import { View } from '@instructure/ui-view/latest'
|
|
27
27
|
import { passthroughProps, safeCloneElement } from '@instructure/ui-react-utils'
|
|
28
28
|
|
|
29
|
-
import { InlineListItem } from './InlineListItem'
|
|
29
|
+
import { InlineListItem } from './InlineListItem/index.js'
|
|
30
30
|
|
|
31
|
-
import { allowedProps } from './props'
|
|
31
|
+
import { allowedProps } from './props.js'
|
|
32
32
|
import type { InlineListProps } from './props'
|
|
33
33
|
|
|
34
34
|
/**
|
|
@@ -38,6 +38,7 @@ category: components
|
|
|
38
38
|
|
|
39
39
|
**/
|
|
40
40
|
class InlineList extends Component<InlineListProps> {
|
|
41
|
+
static displayName = 'InlineList'
|
|
41
42
|
static allowedProps = allowedProps
|
|
42
43
|
static defaultProps = {
|
|
43
44
|
itemSpacing: 'none',
|