@instructure/ui-table 9.0.2-snapshot-1 → 9.0.2-snapshot-3
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/Table/Body/index.js +4 -4
- package/es/Table/Cell/index.js +4 -4
- package/es/Table/ColHeader/index.js +4 -4
- package/es/Table/Head/index.js +4 -4
- package/es/Table/Row/index.js +4 -4
- package/es/Table/RowHeader/index.js +4 -4
- package/es/Table/index.js +4 -4
- package/lib/Table/Body/index.js +4 -4
- package/lib/Table/Cell/index.js +4 -4
- package/lib/Table/ColHeader/index.js +4 -4
- package/lib/Table/Head/index.js +4 -4
- package/lib/Table/Row/index.js +4 -4
- package/lib/Table/RowHeader/index.js +4 -4
- package/lib/Table/index.js +4 -4
- package/package.json +17 -17
- package/tsconfig.build.tsbuildinfo +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
|
-
## [9.0.2-snapshot-
|
6
|
+
## [9.0.2-snapshot-3](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-3) (2024-05-28)
|
7
7
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-table
|
9
9
|
|
package/es/Table/Body/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
var _dec, _class,
|
1
|
+
var _dec, _class, _Body;
|
2
2
|
/*
|
3
3
|
* The MIT License (MIT)
|
4
4
|
*
|
@@ -39,7 +39,7 @@ parent: Table
|
|
39
39
|
id: Table.Body
|
40
40
|
---
|
41
41
|
**/
|
42
|
-
let Body = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (
|
42
|
+
let Body = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_Body = class Body extends Component {
|
43
43
|
componentDidMount() {
|
44
44
|
var _this$props$makeStyle, _this$props;
|
45
45
|
(_this$props$makeStyle = (_this$props = this.props).makeStyles) === null || _this$props$makeStyle === void 0 ? void 0 : _this$props$makeStyle.call(_this$props);
|
@@ -66,8 +66,8 @@ let Body = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class
|
|
66
66
|
headers
|
67
67
|
}) : null));
|
68
68
|
}
|
69
|
-
},
|
69
|
+
}, _Body.displayName = "Body", _Body.componentId = 'Table.Body', _Body.allowedProps = allowedProps, _Body.propTypes = propTypes, _Body.defaultProps = {
|
70
70
|
children: null
|
71
|
-
},
|
71
|
+
}, _Body)) || _class);
|
72
72
|
export default Body;
|
73
73
|
export { Body };
|
package/es/Table/Cell/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
var _dec, _class,
|
1
|
+
var _dec, _class, _Cell;
|
2
2
|
/*
|
3
3
|
* The MIT License (MIT)
|
4
4
|
*
|
@@ -38,7 +38,7 @@ parent: Table
|
|
38
38
|
id: Table.Cell
|
39
39
|
---
|
40
40
|
**/
|
41
|
-
let Cell = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (
|
41
|
+
let Cell = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_Cell = class Cell extends Component {
|
42
42
|
componentDidMount() {
|
43
43
|
var _this$props$makeStyle, _this$props;
|
44
44
|
(_this$props$makeStyle = (_this$props = this.props).makeStyles) === null || _this$props$makeStyle === void 0 ? void 0 : _this$props$makeStyle.call(_this$props);
|
@@ -59,9 +59,9 @@ let Cell = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class
|
|
59
59
|
role: isStacked ? 'cell' : void 0
|
60
60
|
}), header && callRenderProp(header), header && ': ', callRenderProp(children));
|
61
61
|
}
|
62
|
-
},
|
62
|
+
}, _Cell.displayName = "Cell", _Cell.componentId = 'Table.Cell', _Cell.allowedProps = allowedProps, _Cell.propTypes = propTypes, _Cell.defaultProps = {
|
63
63
|
textAlign: 'start',
|
64
64
|
children: null
|
65
|
-
},
|
65
|
+
}, _Cell)) || _class);
|
66
66
|
export default Cell;
|
67
67
|
export { Cell };
|
@@ -1,4 +1,4 @@
|
|
1
|
-
var _dec, _class,
|
1
|
+
var _dec, _class, _ColHeader, _IconMiniArrowUpLine, _IconMiniArrowDownLin;
|
2
2
|
/*
|
3
3
|
* The MIT License (MIT)
|
4
4
|
*
|
@@ -38,7 +38,7 @@ parent: Table
|
|
38
38
|
id: Table.ColHeader
|
39
39
|
---
|
40
40
|
**/
|
41
|
-
let ColHeader = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (
|
41
|
+
let ColHeader = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_ColHeader = class ColHeader extends Component {
|
42
42
|
constructor(...args) {
|
43
43
|
super(...args);
|
44
44
|
this.handleClick = event => {
|
@@ -99,11 +99,11 @@ let ColHeader = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_
|
|
99
99
|
css: styles === null || styles === void 0 ? void 0 : styles.buttonContent
|
100
100
|
}, callRenderProp(children), this.renderSortArrow())), !onRequestSort && children, !onRequestSort && this.renderSortArrow());
|
101
101
|
}
|
102
|
-
},
|
102
|
+
}, _ColHeader.displayName = "ColHeader", _ColHeader.componentId = 'Table.ColHeader', _ColHeader.allowedProps = allowedProps, _ColHeader.propTypes = propTypes, _ColHeader.defaultProps = {
|
103
103
|
textAlign: 'start',
|
104
104
|
sortDirection: 'none',
|
105
105
|
children: null,
|
106
106
|
scope: 'col'
|
107
|
-
},
|
107
|
+
}, _ColHeader)) || _class);
|
108
108
|
export default ColHeader;
|
109
109
|
export { ColHeader };
|
package/es/Table/Head/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
2
|
-
var _dec, _class,
|
2
|
+
var _dec, _class, _Head, _ScreenReaderContent;
|
3
3
|
/*
|
4
4
|
* The MIT License (MIT)
|
5
5
|
*
|
@@ -44,7 +44,7 @@ parent: Table
|
|
44
44
|
id: Table.Head
|
45
45
|
---
|
46
46
|
**/
|
47
|
-
let Head = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (
|
47
|
+
let Head = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_Head = class Head extends Component {
|
48
48
|
get isSortable() {
|
49
49
|
const _ref = Children.toArray(this.props.children),
|
50
50
|
_ref2 = _slicedToArray(_ref, 1),
|
@@ -152,8 +152,8 @@ let Head = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class
|
|
152
152
|
css: styles === null || styles === void 0 ? void 0 : styles.head
|
153
153
|
}), Children.map(children, child => matchComponentTypes(child, [Row]) ? child : null));
|
154
154
|
}
|
155
|
-
},
|
155
|
+
}, _Head.displayName = "Head", _Head.componentId = 'Table.Head', _Head.allowedProps = allowedProps, _Head.propTypes = propTypes, _Head.defaultProps = {
|
156
156
|
children: null
|
157
|
-
},
|
157
|
+
}, _Head)) || _class);
|
158
158
|
export default Head;
|
159
159
|
export { Head };
|
package/es/Table/Row/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
var _dec, _class,
|
1
|
+
var _dec, _class, _Row;
|
2
2
|
/*
|
3
3
|
* The MIT License (MIT)
|
4
4
|
*
|
@@ -41,7 +41,7 @@ parent: Table
|
|
41
41
|
id: Table.Row
|
42
42
|
---
|
43
43
|
**/
|
44
|
-
let Row = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (
|
44
|
+
let Row = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_Row = class Row extends Component {
|
45
45
|
componentDidMount() {
|
46
46
|
var _this$props$makeStyle, _this$props;
|
47
47
|
(_this$props$makeStyle = (_this$props = this.props).makeStyles) === null || _this$props$makeStyle === void 0 ? void 0 : _this$props$makeStyle.call(_this$props);
|
@@ -80,8 +80,8 @@ let Row = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class
|
|
80
80
|
return null;
|
81
81
|
}));
|
82
82
|
}
|
83
|
-
},
|
83
|
+
}, _Row.displayName = "Row", _Row.componentId = 'Table.Row', _Row.allowedProps = allowedProps, _Row.propTypes = propTypes, _Row.defaultProps = {
|
84
84
|
children: null
|
85
|
-
},
|
85
|
+
}, _Row)) || _class);
|
86
86
|
export default Row;
|
87
87
|
export { Row };
|
@@ -1,4 +1,4 @@
|
|
1
|
-
var _dec, _class,
|
1
|
+
var _dec, _class, _RowHeader;
|
2
2
|
/*
|
3
3
|
* The MIT License (MIT)
|
4
4
|
*
|
@@ -38,7 +38,7 @@ parent: Table
|
|
38
38
|
id: Table.RowHeader
|
39
39
|
---
|
40
40
|
**/
|
41
|
-
let RowHeader = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (
|
41
|
+
let RowHeader = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_RowHeader = class RowHeader extends Component {
|
42
42
|
componentDidMount() {
|
43
43
|
var _this$props$makeStyle, _this$props;
|
44
44
|
(_this$props$makeStyle = (_this$props = this.props).makeStyles) === null || _this$props$makeStyle === void 0 ? void 0 : _this$props$makeStyle.call(_this$props);
|
@@ -59,9 +59,9 @@ let RowHeader = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_
|
|
59
59
|
role: isStacked ? 'rowheader' : void 0
|
60
60
|
}), callRenderProp(children));
|
61
61
|
}
|
62
|
-
},
|
62
|
+
}, _RowHeader.displayName = "RowHeader", _RowHeader.componentId = 'Table.RowHeader', _RowHeader.allowedProps = allowedProps, _RowHeader.propTypes = propTypes, _RowHeader.defaultProps = {
|
63
63
|
textAlign: 'start',
|
64
64
|
children: null
|
65
|
-
},
|
65
|
+
}, _RowHeader)) || _class);
|
66
66
|
export default RowHeader;
|
67
67
|
export { RowHeader };
|
package/es/Table/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
2
|
-
var _dec, _class,
|
2
|
+
var _dec, _class, _Table;
|
3
3
|
/*
|
4
4
|
* The MIT License (MIT)
|
5
5
|
*
|
@@ -45,7 +45,7 @@ import { allowedProps, propTypes } from './props';
|
|
45
45
|
category: components
|
46
46
|
---
|
47
47
|
**/
|
48
|
-
let Table = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (
|
48
|
+
let Table = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_Table = class Table extends Component {
|
49
49
|
constructor(...args) {
|
50
50
|
super(...args);
|
51
51
|
this.ref = null;
|
@@ -117,10 +117,10 @@ let Table = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_clas
|
|
117
117
|
return null;
|
118
118
|
}));
|
119
119
|
}
|
120
|
-
},
|
120
|
+
}, _Table.displayName = "Table", _Table.componentId = 'Table', _Table.allowedProps = allowedProps, _Table.propTypes = propTypes, _Table.defaultProps = {
|
121
121
|
children: null,
|
122
122
|
hover: false,
|
123
123
|
layout: 'auto'
|
124
|
-
},
|
124
|
+
}, _Table.Head = Head, _Table.Body = Body, _Table.Row = Row, _Table.ColHeader = ColHeader, _Table.RowHeader = RowHeader, _Table.Cell = Cell, _Table)) || _class);
|
125
125
|
export default Table;
|
126
126
|
export { Table };
|
package/lib/Table/Body/index.js
CHANGED
@@ -15,7 +15,7 @@ var _styles = _interopRequireDefault(require("./styles"));
|
|
15
15
|
var _theme = _interopRequireDefault(require("./theme"));
|
16
16
|
var _Row = require("../Row");
|
17
17
|
var _props = require("./props");
|
18
|
-
var _dec, _class,
|
18
|
+
var _dec, _class, _Body;
|
19
19
|
/*
|
20
20
|
* The MIT License (MIT)
|
21
21
|
*
|
@@ -46,7 +46,7 @@ parent: Table
|
|
46
46
|
id: Table.Body
|
47
47
|
---
|
48
48
|
**/
|
49
|
-
let Body = exports.Body = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (
|
49
|
+
let Body = exports.Body = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_Body = class Body extends _react.Component {
|
50
50
|
componentDidMount() {
|
51
51
|
var _this$props$makeStyle, _this$props;
|
52
52
|
(_this$props$makeStyle = (_this$props = this.props).makeStyles) === null || _this$props$makeStyle === void 0 ? void 0 : _this$props$makeStyle.call(_this$props);
|
@@ -73,7 +73,7 @@ let Body = exports.Body = (_dec = (0, _emotion.withStyle)(_styles.default, _them
|
|
73
73
|
headers
|
74
74
|
}) : null));
|
75
75
|
}
|
76
|
-
},
|
76
|
+
}, _Body.displayName = "Body", _Body.componentId = 'Table.Body', _Body.allowedProps = _props.allowedProps, _Body.propTypes = _props.propTypes, _Body.defaultProps = {
|
77
77
|
children: null
|
78
|
-
},
|
78
|
+
}, _Body)) || _class);
|
79
79
|
var _default = exports.default = Body;
|
package/lib/Table/Cell/index.js
CHANGED
@@ -13,7 +13,7 @@ var _emotion = require("@instructure/emotion");
|
|
13
13
|
var _styles = _interopRequireDefault(require("./styles"));
|
14
14
|
var _theme = _interopRequireDefault(require("./theme"));
|
15
15
|
var _props = require("./props");
|
16
|
-
var _dec, _class,
|
16
|
+
var _dec, _class, _Cell;
|
17
17
|
/*
|
18
18
|
* The MIT License (MIT)
|
19
19
|
*
|
@@ -44,7 +44,7 @@ parent: Table
|
|
44
44
|
id: Table.Cell
|
45
45
|
---
|
46
46
|
**/
|
47
|
-
let Cell = exports.Cell = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (
|
47
|
+
let Cell = exports.Cell = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_Cell = class Cell extends _react.Component {
|
48
48
|
componentDidMount() {
|
49
49
|
var _this$props$makeStyle, _this$props;
|
50
50
|
(_this$props$makeStyle = (_this$props = this.props).makeStyles) === null || _this$props$makeStyle === void 0 ? void 0 : _this$props$makeStyle.call(_this$props);
|
@@ -65,8 +65,8 @@ let Cell = exports.Cell = (_dec = (0, _emotion.withStyle)(_styles.default, _them
|
|
65
65
|
role: isStacked ? 'cell' : void 0
|
66
66
|
}), header && (0, _callRenderProp.callRenderProp)(header), header && ': ', (0, _callRenderProp.callRenderProp)(children));
|
67
67
|
}
|
68
|
-
},
|
68
|
+
}, _Cell.displayName = "Cell", _Cell.componentId = 'Table.Cell', _Cell.allowedProps = _props.allowedProps, _Cell.propTypes = _props.propTypes, _Cell.defaultProps = {
|
69
69
|
textAlign: 'start',
|
70
70
|
children: null
|
71
|
-
},
|
71
|
+
}, _Cell)) || _class);
|
72
72
|
var _default = exports.default = Cell;
|
@@ -16,7 +16,7 @@ var _emotion = require("@instructure/emotion");
|
|
16
16
|
var _styles = _interopRequireDefault(require("./styles"));
|
17
17
|
var _theme = _interopRequireDefault(require("./theme"));
|
18
18
|
var _props = require("./props");
|
19
|
-
var _dec, _class,
|
19
|
+
var _dec, _class, _ColHeader, _IconMiniArrowUpLine, _IconMiniArrowDownLin;
|
20
20
|
/*
|
21
21
|
* The MIT License (MIT)
|
22
22
|
*
|
@@ -47,7 +47,7 @@ parent: Table
|
|
47
47
|
id: Table.ColHeader
|
48
48
|
---
|
49
49
|
**/
|
50
|
-
let ColHeader = exports.ColHeader = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (
|
50
|
+
let ColHeader = exports.ColHeader = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_ColHeader = class ColHeader extends _react.Component {
|
51
51
|
constructor(...args) {
|
52
52
|
super(...args);
|
53
53
|
this.handleClick = event => {
|
@@ -108,10 +108,10 @@ let ColHeader = exports.ColHeader = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
108
108
|
css: styles === null || styles === void 0 ? void 0 : styles.buttonContent
|
109
109
|
}, (0, _callRenderProp.callRenderProp)(children), this.renderSortArrow())), !onRequestSort && children, !onRequestSort && this.renderSortArrow());
|
110
110
|
}
|
111
|
-
},
|
111
|
+
}, _ColHeader.displayName = "ColHeader", _ColHeader.componentId = 'Table.ColHeader', _ColHeader.allowedProps = _props.allowedProps, _ColHeader.propTypes = _props.propTypes, _ColHeader.defaultProps = {
|
112
112
|
textAlign: 'start',
|
113
113
|
sortDirection: 'none',
|
114
114
|
children: null,
|
115
115
|
scope: 'col'
|
116
|
-
},
|
116
|
+
}, _ColHeader)) || _class);
|
117
117
|
var _default = exports.default = ColHeader;
|
package/lib/Table/Head/index.js
CHANGED
@@ -20,7 +20,7 @@ var _theme = _interopRequireDefault(require("./theme"));
|
|
20
20
|
var _Row = require("../Row");
|
21
21
|
var _ColHeader = require("../ColHeader");
|
22
22
|
var _props = require("./props");
|
23
|
-
var _dec, _class,
|
23
|
+
var _dec, _class, _Head, _ScreenReaderContent;
|
24
24
|
/*
|
25
25
|
* The MIT License (MIT)
|
26
26
|
*
|
@@ -51,7 +51,7 @@ parent: Table
|
|
51
51
|
id: Table.Head
|
52
52
|
---
|
53
53
|
**/
|
54
|
-
let Head = exports.Head = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (
|
54
|
+
let Head = exports.Head = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_Head = class Head extends _react.Component {
|
55
55
|
get isSortable() {
|
56
56
|
const _ref = _react.Children.toArray(this.props.children),
|
57
57
|
_ref2 = (0, _slicedToArray2.default)(_ref, 1),
|
@@ -159,7 +159,7 @@ let Head = exports.Head = (_dec = (0, _emotion.withStyle)(_styles.default, _them
|
|
159
159
|
css: styles === null || styles === void 0 ? void 0 : styles.head
|
160
160
|
}), _react.Children.map(children, child => (0, _matchComponentTypes.matchComponentTypes)(child, [_Row.Row]) ? child : null));
|
161
161
|
}
|
162
|
-
},
|
162
|
+
}, _Head.displayName = "Head", _Head.componentId = 'Table.Head', _Head.allowedProps = _props.allowedProps, _Head.propTypes = _props.propTypes, _Head.defaultProps = {
|
163
163
|
children: null
|
164
|
-
},
|
164
|
+
}, _Head)) || _class);
|
165
165
|
var _default = exports.default = Head;
|
package/lib/Table/Row/index.js
CHANGED
@@ -17,7 +17,7 @@ var _ColHeader = require("../ColHeader");
|
|
17
17
|
var _RowHeader = require("../RowHeader");
|
18
18
|
var _Cell = require("../Cell");
|
19
19
|
var _props = require("./props");
|
20
|
-
var _dec, _class,
|
20
|
+
var _dec, _class, _Row;
|
21
21
|
/*
|
22
22
|
* The MIT License (MIT)
|
23
23
|
*
|
@@ -48,7 +48,7 @@ parent: Table
|
|
48
48
|
id: Table.Row
|
49
49
|
---
|
50
50
|
**/
|
51
|
-
let Row = exports.Row = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (
|
51
|
+
let Row = exports.Row = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_Row = class Row extends _react.Component {
|
52
52
|
componentDidMount() {
|
53
53
|
var _this$props$makeStyle, _this$props;
|
54
54
|
(_this$props$makeStyle = (_this$props = this.props).makeStyles) === null || _this$props$makeStyle === void 0 ? void 0 : _this$props$makeStyle.call(_this$props);
|
@@ -87,7 +87,7 @@ let Row = exports.Row = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.
|
|
87
87
|
return null;
|
88
88
|
}));
|
89
89
|
}
|
90
|
-
},
|
90
|
+
}, _Row.displayName = "Row", _Row.componentId = 'Table.Row', _Row.allowedProps = _props.allowedProps, _Row.propTypes = _props.propTypes, _Row.defaultProps = {
|
91
91
|
children: null
|
92
|
-
},
|
92
|
+
}, _Row)) || _class);
|
93
93
|
var _default = exports.default = Row;
|
@@ -13,7 +13,7 @@ var _emotion = require("@instructure/emotion");
|
|
13
13
|
var _styles = _interopRequireDefault(require("./styles"));
|
14
14
|
var _theme = _interopRequireDefault(require("./theme"));
|
15
15
|
var _props = require("./props");
|
16
|
-
var _dec, _class,
|
16
|
+
var _dec, _class, _RowHeader;
|
17
17
|
/*
|
18
18
|
* The MIT License (MIT)
|
19
19
|
*
|
@@ -44,7 +44,7 @@ parent: Table
|
|
44
44
|
id: Table.RowHeader
|
45
45
|
---
|
46
46
|
**/
|
47
|
-
let RowHeader = exports.RowHeader = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (
|
47
|
+
let RowHeader = exports.RowHeader = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_RowHeader = class RowHeader extends _react.Component {
|
48
48
|
componentDidMount() {
|
49
49
|
var _this$props$makeStyle, _this$props;
|
50
50
|
(_this$props$makeStyle = (_this$props = this.props).makeStyles) === null || _this$props$makeStyle === void 0 ? void 0 : _this$props$makeStyle.call(_this$props);
|
@@ -65,8 +65,8 @@ let RowHeader = exports.RowHeader = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
65
65
|
role: isStacked ? 'rowheader' : void 0
|
66
66
|
}), (0, _callRenderProp.callRenderProp)(children));
|
67
67
|
}
|
68
|
-
},
|
68
|
+
}, _RowHeader.displayName = "RowHeader", _RowHeader.componentId = 'Table.RowHeader', _RowHeader.allowedProps = _props.allowedProps, _RowHeader.propTypes = _props.propTypes, _RowHeader.defaultProps = {
|
69
69
|
textAlign: 'start',
|
70
70
|
children: null
|
71
|
-
},
|
71
|
+
}, _RowHeader)) || _class);
|
72
72
|
var _default = exports.default = RowHeader;
|
package/lib/Table/index.js
CHANGED
@@ -22,7 +22,7 @@ var _ColHeader = require("./ColHeader");
|
|
22
22
|
var _RowHeader = require("./RowHeader");
|
23
23
|
var _Cell = require("./Cell");
|
24
24
|
var _props = require("./props");
|
25
|
-
var _dec, _class,
|
25
|
+
var _dec, _class, _Table;
|
26
26
|
/*
|
27
27
|
* The MIT License (MIT)
|
28
28
|
*
|
@@ -52,7 +52,7 @@ var _dec, _class, _class2;
|
|
52
52
|
category: components
|
53
53
|
---
|
54
54
|
**/
|
55
|
-
let Table = exports.Table = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (
|
55
|
+
let Table = exports.Table = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_Table = class Table extends _react.Component {
|
56
56
|
constructor(...args) {
|
57
57
|
super(...args);
|
58
58
|
this.ref = null;
|
@@ -124,9 +124,9 @@ let Table = exports.Table = (_dec = (0, _emotion.withStyle)(_styles.default, _th
|
|
124
124
|
return null;
|
125
125
|
}));
|
126
126
|
}
|
127
|
-
},
|
127
|
+
}, _Table.displayName = "Table", _Table.componentId = 'Table', _Table.allowedProps = _props.allowedProps, _Table.propTypes = _props.propTypes, _Table.defaultProps = {
|
128
128
|
children: null,
|
129
129
|
hover: false,
|
130
130
|
layout: 'auto'
|
131
|
-
},
|
131
|
+
}, _Table.Head = _Head.Head, _Table.Body = _Body.Body, _Table.Row = _Row.Row, _Table.ColHeader = _ColHeader.ColHeader, _Table.RowHeader = _RowHeader.RowHeader, _Table.Cell = _Cell.Cell, _Table)) || _class);
|
132
132
|
var _default = exports.default = Table;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@instructure/ui-table",
|
3
|
-
"version": "9.0.2-snapshot-
|
3
|
+
"version": "9.0.2-snapshot-3",
|
4
4
|
"description": "A styled HTML table component",
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
6
6
|
"module": "./es/index.js",
|
@@ -23,24 +23,24 @@
|
|
23
23
|
},
|
24
24
|
"license": "MIT",
|
25
25
|
"devDependencies": {
|
26
|
-
"@instructure/ui-babel-preset": "9.0.2-snapshot-
|
27
|
-
"@instructure/ui-color-utils": "9.0.2-snapshot-
|
28
|
-
"@instructure/ui-test-utils": "9.0.2-snapshot-
|
29
|
-
"@instructure/ui-themes": "9.0.2-snapshot-
|
26
|
+
"@instructure/ui-babel-preset": "9.0.2-snapshot-3",
|
27
|
+
"@instructure/ui-color-utils": "9.0.2-snapshot-3",
|
28
|
+
"@instructure/ui-test-utils": "9.0.2-snapshot-3",
|
29
|
+
"@instructure/ui-themes": "9.0.2-snapshot-3"
|
30
30
|
},
|
31
31
|
"dependencies": {
|
32
|
-
"@babel/runtime": "^7.
|
33
|
-
"@instructure/console": "9.0.2-snapshot-
|
34
|
-
"@instructure/emotion": "9.0.2-snapshot-
|
35
|
-
"@instructure/shared-types": "9.0.2-snapshot-
|
36
|
-
"@instructure/ui-a11y-content": "9.0.2-snapshot-
|
37
|
-
"@instructure/ui-icons": "9.0.2-snapshot-
|
38
|
-
"@instructure/ui-prop-types": "9.0.2-snapshot-
|
39
|
-
"@instructure/ui-react-utils": "9.0.2-snapshot-
|
40
|
-
"@instructure/ui-simple-select": "9.0.2-snapshot-
|
41
|
-
"@instructure/ui-testable": "9.0.2-snapshot-
|
42
|
-
"@instructure/ui-utils": "9.0.2-snapshot-
|
43
|
-
"@instructure/ui-view": "9.0.2-snapshot-
|
32
|
+
"@babel/runtime": "^7.24.5",
|
33
|
+
"@instructure/console": "9.0.2-snapshot-3",
|
34
|
+
"@instructure/emotion": "9.0.2-snapshot-3",
|
35
|
+
"@instructure/shared-types": "9.0.2-snapshot-3",
|
36
|
+
"@instructure/ui-a11y-content": "9.0.2-snapshot-3",
|
37
|
+
"@instructure/ui-icons": "9.0.2-snapshot-3",
|
38
|
+
"@instructure/ui-prop-types": "9.0.2-snapshot-3",
|
39
|
+
"@instructure/ui-react-utils": "9.0.2-snapshot-3",
|
40
|
+
"@instructure/ui-simple-select": "9.0.2-snapshot-3",
|
41
|
+
"@instructure/ui-testable": "9.0.2-snapshot-3",
|
42
|
+
"@instructure/ui-utils": "9.0.2-snapshot-3",
|
43
|
+
"@instructure/ui-view": "9.0.2-snapshot-3",
|
44
44
|
"prop-types": "^15.8.1"
|
45
45
|
},
|
46
46
|
"peerDependencies": {
|