@instructure/ui-list 9.0.2-snapshot-2 → 9.0.2-snapshot-4

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 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
- ## [9.0.2-snapshot-2](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-2) (2024-05-28)
6
+ ## [9.0.2-snapshot-4](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-4) (2024-06-05)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-list
9
9
 
@@ -1,6 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  const _excluded = ["delimiter", "size", "margin", "padding", "elementRef", "children", "spacing", "styles"];
3
- var _dec, _dec2, _class, _class2;
3
+ var _dec, _dec2, _class, _InlineListItem;
4
4
  /*
5
5
  * The MIT License (MIT)
6
6
  *
@@ -39,7 +39,7 @@ parent: InlineList
39
39
  id: InlineList.Item
40
40
  ---
41
41
  **/
42
- let InlineListItem = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class InlineListItem extends Component {
42
+ let InlineListItem = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_InlineListItem = class InlineListItem extends Component {
43
43
  constructor(...args) {
44
44
  super(...args);
45
45
  this.ref = null;
@@ -83,11 +83,11 @@ let InlineListItem = (_dec = withStyle(generateStyle, generateComponentTheme), _
83
83
  "aria-hidden": "true"
84
84
  }));
85
85
  }
86
- }, _class2.displayName = "InlineListItem", _class2.componentId = 'InlineList.Item', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {
86
+ }, _InlineListItem.displayName = "InlineListItem", _InlineListItem.componentId = 'InlineList.Item', _InlineListItem.propTypes = propTypes, _InlineListItem.allowedProps = allowedProps, _InlineListItem.defaultProps = {
87
87
  padding: 'none',
88
88
  spacing: 'none',
89
89
  delimiter: 'none',
90
90
  size: 'medium'
91
- }, _class2)) || _class) || _class);
91
+ }, _InlineListItem)) || _class) || _class);
92
92
  export default InlineListItem;
93
93
  export { InlineListItem };
@@ -1,6 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  const _excluded = ["as", "margin", "elementRef"];
3
- var _dec, _class, _class2;
3
+ var _dec, _class, _InlineList;
4
4
  /*
5
5
  * The MIT License (MIT)
6
6
  *
@@ -36,7 +36,7 @@ category: components
36
36
  ---
37
37
 
38
38
  **/
39
- let InlineList = (_dec = testable(), _dec(_class = (_class2 = class InlineList extends Component {
39
+ let InlineList = (_dec = testable(), _dec(_class = (_InlineList = class InlineList extends Component {
40
40
  constructor(...args) {
41
41
  super(...args);
42
42
  this.ref = null;
@@ -73,12 +73,12 @@ let InlineList = (_dec = testable(), _dec(_class = (_class2 = class InlineList e
73
73
  display: "block"
74
74
  }), this.renderChildren());
75
75
  }
76
- }, _class2.displayName = "InlineList", _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {
76
+ }, _InlineList.displayName = "InlineList", _InlineList.propTypes = propTypes, _InlineList.allowedProps = allowedProps, _InlineList.defaultProps = {
77
77
  itemSpacing: 'none',
78
78
  as: 'ul',
79
79
  margin: 'none',
80
80
  delimiter: 'none',
81
81
  size: 'medium'
82
- }, _class2.Item = InlineListItem, _class2)) || _class);
82
+ }, _InlineList.Item = InlineListItem, _InlineList)) || _class);
83
83
  export default InlineList;
84
84
  export { InlineList };
@@ -1,6 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  const _excluded = ["delimiter", "spacing", "size", "margin", "padding", "elementRef", "children", "styles"];
3
- var _dec, _dec2, _class, _class2;
3
+ var _dec, _dec2, _class, _ListItem;
4
4
  /*
5
5
  * The MIT License (MIT)
6
6
  *
@@ -40,7 +40,7 @@ parent: List
40
40
  id: List.Item
41
41
  ---
42
42
  **/
43
- let ListItem = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class ListItem extends Component {
43
+ let ListItem = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_ListItem = class ListItem extends Component {
44
44
  constructor(...args) {
45
45
  super(...args);
46
46
  this.ref = null;
@@ -80,11 +80,11 @@ let ListItem = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 =
80
80
  elementRef: this.handleRef
81
81
  }), children);
82
82
  }
83
- }, _class2.displayName = "ListItem", _class2.componentId = 'List.Item', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {
83
+ }, _ListItem.displayName = "ListItem", _ListItem.componentId = 'List.Item', _ListItem.propTypes = propTypes, _ListItem.allowedProps = allowedProps, _ListItem.defaultProps = {
84
84
  padding: 'none',
85
85
  spacing: 'none',
86
86
  delimiter: 'none',
87
87
  size: 'medium'
88
- }, _class2)) || _class) || _class);
88
+ }, _ListItem)) || _class) || _class);
89
89
  export default ListItem;
90
90
  export { ListItem };
package/es/List/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  const _excluded = ["as", "margin", "isUnstyled", "elementRef", "styles"];
3
- var _dec, _dec2, _class, _class2;
3
+ var _dec, _dec2, _class, _List;
4
4
  /*
5
5
  * The MIT License (MIT)
6
6
  *
@@ -40,7 +40,7 @@ import { propTypes, allowedProps } from './props';
40
40
  category: components
41
41
  ---
42
42
  **/
43
- let List = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class List extends Component {
43
+ let List = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_List = class List extends Component {
44
44
  constructor(...args) {
45
45
  super(...args);
46
46
  this.ref = null;
@@ -88,12 +88,12 @@ let List = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = tes
88
88
  display: "block"
89
89
  }), this.renderChildren());
90
90
  }
91
- }, _class2.displayName = "List", _class2.componentId = 'List', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {
91
+ }, _List.displayName = "List", _List.componentId = 'List', _List.propTypes = propTypes, _List.allowedProps = allowedProps, _List.defaultProps = {
92
92
  as: 'ul',
93
93
  delimiter: 'none',
94
94
  isUnstyled: false,
95
95
  size: 'medium',
96
96
  itemSpacing: 'none'
97
- }, _class2.Item = ListItem, _class2)) || _class) || _class);
97
+ }, _List.Item = ListItem, _List)) || _class) || _class);
98
98
  export default List;
99
99
  export { List, ListItem };
@@ -15,7 +15,7 @@ var _styles = _interopRequireDefault(require("./styles"));
15
15
  var _theme = _interopRequireDefault(require("./theme"));
16
16
  var _props = require("./props");
17
17
  const _excluded = ["delimiter", "size", "margin", "padding", "elementRef", "children", "spacing", "styles"];
18
- var _dec, _dec2, _class, _class2;
18
+ var _dec, _dec2, _class, _InlineListItem;
19
19
  /*
20
20
  * The MIT License (MIT)
21
21
  *
@@ -46,7 +46,7 @@ parent: InlineList
46
46
  id: InlineList.Item
47
47
  ---
48
48
  **/
49
- let InlineListItem = exports.InlineListItem = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class InlineListItem extends _react.Component {
49
+ let InlineListItem = exports.InlineListItem = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_InlineListItem = class InlineListItem extends _react.Component {
50
50
  constructor(...args) {
51
51
  super(...args);
52
52
  this.ref = null;
@@ -90,10 +90,10 @@ let InlineListItem = exports.InlineListItem = (_dec = (0, _emotion.withStyle)(_s
90
90
  "aria-hidden": "true"
91
91
  }));
92
92
  }
93
- }, _class2.displayName = "InlineListItem", _class2.componentId = 'InlineList.Item', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {
93
+ }, _InlineListItem.displayName = "InlineListItem", _InlineListItem.componentId = 'InlineList.Item', _InlineListItem.propTypes = _props.propTypes, _InlineListItem.allowedProps = _props.allowedProps, _InlineListItem.defaultProps = {
94
94
  padding: 'none',
95
95
  spacing: 'none',
96
96
  delimiter: 'none',
97
97
  size: 'medium'
98
- }, _class2)) || _class) || _class);
98
+ }, _InlineListItem)) || _class) || _class);
99
99
  var _default = exports.default = InlineListItem;
@@ -15,7 +15,7 @@ var _testable = require("@instructure/ui-testable/lib/testable.js");
15
15
  var _InlineListItem = require("./InlineListItem");
16
16
  var _props = require("./props");
17
17
  const _excluded = ["as", "margin", "elementRef"];
18
- var _dec, _class, _class2;
18
+ var _dec, _class, _InlineList;
19
19
  /*
20
20
  * The MIT License (MIT)
21
21
  *
@@ -45,7 +45,7 @@ category: components
45
45
  ---
46
46
 
47
47
  **/
48
- let InlineList = exports.InlineList = (_dec = (0, _testable.testable)(), _dec(_class = (_class2 = class InlineList extends _react.Component {
48
+ let InlineList = exports.InlineList = (_dec = (0, _testable.testable)(), _dec(_class = (_InlineList = class InlineList extends _react.Component {
49
49
  constructor(...args) {
50
50
  super(...args);
51
51
  this.ref = null;
@@ -82,11 +82,11 @@ let InlineList = exports.InlineList = (_dec = (0, _testable.testable)(), _dec(_c
82
82
  display: "block"
83
83
  }), this.renderChildren());
84
84
  }
85
- }, _class2.displayName = "InlineList", _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {
85
+ }, _InlineList.displayName = "InlineList", _InlineList.propTypes = _props.propTypes, _InlineList.allowedProps = _props.allowedProps, _InlineList.defaultProps = {
86
86
  itemSpacing: 'none',
87
87
  as: 'ul',
88
88
  margin: 'none',
89
89
  delimiter: 'none',
90
90
  size: 'medium'
91
- }, _class2.Item = _InlineListItem.InlineListItem, _class2)) || _class);
91
+ }, _InlineList.Item = _InlineListItem.InlineListItem, _InlineList)) || _class);
92
92
  var _default = exports.default = InlineList;
@@ -15,7 +15,7 @@ var _styles = _interopRequireDefault(require("./styles"));
15
15
  var _theme = _interopRequireDefault(require("./theme"));
16
16
  var _props = require("./props");
17
17
  const _excluded = ["delimiter", "spacing", "size", "margin", "padding", "elementRef", "children", "styles"];
18
- var _dec, _dec2, _class, _class2;
18
+ var _dec, _dec2, _class, _ListItem;
19
19
  /*
20
20
  * The MIT License (MIT)
21
21
  *
@@ -46,7 +46,7 @@ parent: List
46
46
  id: List.Item
47
47
  ---
48
48
  **/
49
- let ListItem = exports.ListItem = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class ListItem extends _react.Component {
49
+ let ListItem = exports.ListItem = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_ListItem = class ListItem extends _react.Component {
50
50
  constructor(...args) {
51
51
  super(...args);
52
52
  this.ref = null;
@@ -86,10 +86,10 @@ let ListItem = exports.ListItem = (_dec = (0, _emotion.withStyle)(_styles.defaul
86
86
  elementRef: this.handleRef
87
87
  }), children);
88
88
  }
89
- }, _class2.displayName = "ListItem", _class2.componentId = 'List.Item', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {
89
+ }, _ListItem.displayName = "ListItem", _ListItem.componentId = 'List.Item', _ListItem.propTypes = _props.propTypes, _ListItem.allowedProps = _props.allowedProps, _ListItem.defaultProps = {
90
90
  padding: 'none',
91
91
  spacing: 'none',
92
92
  delimiter: 'none',
93
93
  size: 'medium'
94
- }, _class2)) || _class) || _class);
94
+ }, _ListItem)) || _class) || _class);
95
95
  var _default = exports.default = ListItem;
package/lib/List/index.js CHANGED
@@ -24,7 +24,7 @@ var _styles = _interopRequireDefault(require("./styles"));
24
24
  var _theme = _interopRequireDefault(require("./theme"));
25
25
  var _props = require("./props");
26
26
  const _excluded = ["as", "margin", "isUnstyled", "elementRef", "styles"];
27
- var _dec, _dec2, _class, _class2;
27
+ var _dec, _dec2, _class, _List;
28
28
  /*
29
29
  * The MIT License (MIT)
30
30
  *
@@ -54,7 +54,7 @@ var _dec, _dec2, _class, _class2;
54
54
  category: components
55
55
  ---
56
56
  **/
57
- let List = exports.List = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class List extends _react.Component {
57
+ let List = exports.List = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_List = class List extends _react.Component {
58
58
  constructor(...args) {
59
59
  super(...args);
60
60
  this.ref = null;
@@ -102,11 +102,11 @@ let List = exports.List = (_dec = (0, _emotion.withStyle)(_styles.default, _them
102
102
  display: "block"
103
103
  }), this.renderChildren());
104
104
  }
105
- }, _class2.displayName = "List", _class2.componentId = 'List', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {
105
+ }, _List.displayName = "List", _List.componentId = 'List', _List.propTypes = _props.propTypes, _List.allowedProps = _props.allowedProps, _List.defaultProps = {
106
106
  as: 'ul',
107
107
  delimiter: 'none',
108
108
  isUnstyled: false,
109
109
  size: 'medium',
110
110
  itemSpacing: 'none'
111
- }, _class2.Item = _ListItem.ListItem, _class2)) || _class) || _class);
111
+ }, _List.Item = _ListItem.ListItem, _List)) || _class) || _class);
112
112
  var _default = exports.default = List;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-list",
3
- "version": "9.0.2-snapshot-2",
3
+ "version": "9.0.2-snapshot-4",
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",
@@ -23,22 +23,22 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@babel/runtime": "^7.23.2",
27
- "@instructure/console": "9.0.2-snapshot-2",
28
- "@instructure/emotion": "9.0.2-snapshot-2",
29
- "@instructure/shared-types": "9.0.2-snapshot-2",
30
- "@instructure/ui-prop-types": "9.0.2-snapshot-2",
31
- "@instructure/ui-react-utils": "9.0.2-snapshot-2",
32
- "@instructure/ui-testable": "9.0.2-snapshot-2",
33
- "@instructure/ui-view": "9.0.2-snapshot-2",
26
+ "@babel/runtime": "^7.24.5",
27
+ "@instructure/console": "9.0.2-snapshot-4",
28
+ "@instructure/emotion": "9.0.2-snapshot-4",
29
+ "@instructure/shared-types": "9.0.2-snapshot-4",
30
+ "@instructure/ui-prop-types": "9.0.2-snapshot-4",
31
+ "@instructure/ui-react-utils": "9.0.2-snapshot-4",
32
+ "@instructure/ui-testable": "9.0.2-snapshot-4",
33
+ "@instructure/ui-view": "9.0.2-snapshot-4",
34
34
  "prop-types": "^15.8.1"
35
35
  },
36
36
  "devDependencies": {
37
- "@instructure/ui-babel-preset": "9.0.2-snapshot-2",
38
- "@instructure/ui-color-utils": "9.0.2-snapshot-2",
39
- "@instructure/ui-test-locator": "9.0.2-snapshot-2",
40
- "@instructure/ui-test-utils": "9.0.2-snapshot-2",
41
- "@instructure/ui-themes": "9.0.2-snapshot-2"
37
+ "@instructure/ui-babel-preset": "9.0.2-snapshot-4",
38
+ "@instructure/ui-color-utils": "9.0.2-snapshot-4",
39
+ "@instructure/ui-test-locator": "9.0.2-snapshot-4",
40
+ "@instructure/ui-test-utils": "9.0.2-snapshot-4",
41
+ "@instructure/ui-themes": "9.0.2-snapshot-4"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "react": ">=16.8 <=18"