@atlaskit/dynamic-table 14.7.1 → 14.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/cjs/components/stateless.js +1 -1
- package/dist/cjs/styled/constants.js +5 -5
- package/dist/cjs/styled/dynamic-table.js +9 -9
- package/dist/cjs/styled/empty-body.js +5 -5
- package/dist/cjs/styled/loading-container-advanced.js +7 -7
- package/dist/cjs/styled/loading-container.js +7 -7
- package/dist/cjs/styled/rankable/row-placeholder.js +3 -3
- package/dist/cjs/styled/rankable/table-cell.js +3 -3
- package/dist/cjs/styled/rankable/table-row.js +5 -5
- package/dist/cjs/styled/table-cell.js +2 -2
- package/dist/cjs/styled/table-head.js +10 -10
- package/dist/cjs/styled/table-row.js +5 -5
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/stateless.js +1 -1
- package/dist/es2019/styled/constants.js +1 -1
- package/dist/es2019/styled/dynamic-table.js +1 -1
- package/dist/es2019/styled/empty-body.js +1 -1
- package/dist/es2019/styled/loading-container-advanced.js +1 -1
- package/dist/es2019/styled/loading-container.js +1 -1
- package/dist/es2019/styled/rankable/row-placeholder.js +1 -1
- package/dist/es2019/styled/rankable/table-cell.js +1 -1
- package/dist/es2019/styled/rankable/table-row.js +1 -1
- package/dist/es2019/styled/table-cell.js +1 -1
- package/dist/es2019/styled/table-head.js +1 -1
- package/dist/es2019/styled/table-row.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/stateless.js +1 -1
- package/dist/esm/styled/constants.js +1 -1
- package/dist/esm/styled/dynamic-table.js +1 -1
- package/dist/esm/styled/empty-body.js +1 -1
- package/dist/esm/styled/loading-container-advanced.js +1 -1
- package/dist/esm/styled/loading-container.js +1 -1
- package/dist/esm/styled/rankable/row-placeholder.js +1 -1
- package/dist/esm/styled/rankable/table-cell.js +1 -1
- package/dist/esm/styled/rankable/table-row.js +1 -1
- package/dist/esm/styled/table-cell.js +1 -1
- package/dist/esm/styled/table-head.js +1 -1
- package/dist/esm/styled/table-row.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/styled/constants.d.ts +5 -4
- package/dist/types/styled/dynamic-table.d.ts +1 -1
- package/dist/types/styled/loading-container-advanced.d.ts +3 -2
- package/dist/types/styled/table-head.d.ts +1 -1
- package/dist/types/styled/table-row.d.ts +1 -0
- package/package.json +7 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/dynamic-table
|
|
2
2
|
|
|
3
|
+
## 14.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`f88eb89b356`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f88eb89b356) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [`12e03c6416b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/12e03c6416b) - Allow `className` on internal components for css prop functionality. There should be no change in behaviour.
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 14.7.1
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -54,7 +54,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
54
54
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
55
55
|
|
|
56
56
|
var packageName = "@atlaskit/dynamic-table";
|
|
57
|
-
var packageVersion = "14.
|
|
57
|
+
var packageVersion = "14.8.0";
|
|
58
58
|
|
|
59
59
|
function toggleSortOrder(currentSortOrder) {
|
|
60
60
|
switch (currentSortOrder) {
|
|
@@ -9,22 +9,22 @@ exports.truncationWidthStyles = exports.overflowTruncateStyles = exports.getTrun
|
|
|
9
9
|
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _react = require("@emotion/react");
|
|
13
13
|
|
|
14
14
|
var _constants = require("@atlaskit/theme/constants");
|
|
15
15
|
|
|
16
16
|
var CSS_VAR_WIDTH = '--local-dynamic-table-width';
|
|
17
17
|
var gridSize = (0, _constants.gridSize)();
|
|
18
|
-
var truncationWidthStyles = (0,
|
|
18
|
+
var truncationWidthStyles = (0, _react.css)({
|
|
19
19
|
width: "var(".concat(CSS_VAR_WIDTH, ")")
|
|
20
20
|
});
|
|
21
21
|
exports.truncationWidthStyles = truncationWidthStyles;
|
|
22
|
-
var fixedSizeTruncateStyles = (0,
|
|
22
|
+
var fixedSizeTruncateStyles = (0, _react.css)({
|
|
23
23
|
textOverflow: 'ellipsis',
|
|
24
24
|
whiteSpace: 'nowrap'
|
|
25
25
|
});
|
|
26
26
|
exports.fixedSizeTruncateStyles = fixedSizeTruncateStyles;
|
|
27
|
-
var overflowTruncateStyles = (0,
|
|
27
|
+
var overflowTruncateStyles = (0, _react.css)({
|
|
28
28
|
overflow: 'hidden'
|
|
29
29
|
});
|
|
30
30
|
exports.overflowTruncateStyles = overflowTruncateStyles;
|
|
@@ -35,7 +35,7 @@ var getTruncationStyleVars = function getTruncationStyleVars(_ref) {
|
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
exports.getTruncationStyleVars = getTruncationStyleVars;
|
|
38
|
-
var cellStyles = (0,
|
|
38
|
+
var cellStyles = (0, _react.css)({
|
|
39
39
|
padding: "".concat(gridSize / 2, "px ").concat(gridSize, "px"),
|
|
40
40
|
border: 'none',
|
|
41
41
|
textAlign: 'left',
|
|
@@ -15,7 +15,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
15
15
|
|
|
16
16
|
var _react = require("react");
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _react2 = require("@emotion/react");
|
|
19
19
|
|
|
20
20
|
var _constants = require("@atlaskit/theme/constants");
|
|
21
21
|
|
|
@@ -32,15 +32,15 @@ var tableRowCSSVars = {
|
|
|
32
32
|
CSS_VAR_ROW_FOCUS_OUTLINE: '--local-dynamic-table-row-focus-outline'
|
|
33
33
|
};
|
|
34
34
|
exports.tableRowCSSVars = tableRowCSSVars;
|
|
35
|
-
var fixedSizeTableStyles = (0,
|
|
35
|
+
var fixedSizeTableStyles = (0, _react2.css)({
|
|
36
36
|
tableLayout: 'fixed'
|
|
37
37
|
});
|
|
38
|
-
var tableStyles = (0,
|
|
38
|
+
var tableStyles = (0, _react2.css)({
|
|
39
39
|
width: '100%',
|
|
40
40
|
borderCollapse: 'separate',
|
|
41
41
|
borderSpacing: '0px'
|
|
42
42
|
});
|
|
43
|
-
var bodyBorder = (0,
|
|
43
|
+
var bodyBorder = (0, _react2.css)({
|
|
44
44
|
borderBottom: "2px solid ".concat(_theme.tableBorder.borderColor)
|
|
45
45
|
});
|
|
46
46
|
var Table = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
@@ -50,14 +50,14 @@ var Table = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
50
50
|
hasDataRow = _ref.hasDataRow,
|
|
51
51
|
children = _ref.children,
|
|
52
52
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
53
|
-
return (0,
|
|
53
|
+
return (0, _react2.jsx)("table", (0, _extends2.default)({
|
|
54
54
|
style: (_ref2 = {}, (0, _defineProperty2.default)(_ref2, tableRowCSSVars.CSS_VAR_HOVER_BACKGROUND, _theme.row.hoverBackground), (0, _defineProperty2.default)(_ref2, tableRowCSSVars.CSS_VAR_HIGHLIGHTED_BACKGROUND, _theme.row.highlightedBackground), (0, _defineProperty2.default)(_ref2, tableRowCSSVars.CSS_VAR_HOVER_HIGHLIGHTED_BACKGROUND, _theme.row.hoverHighlightedBackground), (0, _defineProperty2.default)(_ref2, tableRowCSSVars.CSS_VAR_ROW_FOCUS_OUTLINE, _theme.row.focusOutline), _ref2),
|
|
55
55
|
css: [tableStyles, isFixedSize && fixedSizeTableStyles, hasDataRow && bodyBorder],
|
|
56
56
|
ref: ref
|
|
57
57
|
}, rest), children);
|
|
58
58
|
});
|
|
59
59
|
exports.Table = Table;
|
|
60
|
-
var captionStyles = (0,
|
|
60
|
+
var captionStyles = (0, _react2.css)({
|
|
61
61
|
marginTop: "".concat(gridSize * 3.5, "px"),
|
|
62
62
|
marginBottom: "".concat(gridSize, "px"),
|
|
63
63
|
fontSize: '1.42857143em',
|
|
@@ -76,20 +76,20 @@ var captionStyles = (0, _core.css)({
|
|
|
76
76
|
|
|
77
77
|
var Caption = function Caption(_ref3) {
|
|
78
78
|
var children = _ref3.children;
|
|
79
|
-
return (0,
|
|
79
|
+
return (0, _react2.jsx)("caption", {
|
|
80
80
|
css: captionStyles
|
|
81
81
|
}, children);
|
|
82
82
|
};
|
|
83
83
|
|
|
84
84
|
exports.Caption = Caption;
|
|
85
|
-
var paginationWrapperStyles = (0,
|
|
85
|
+
var paginationWrapperStyles = (0, _react2.css)({
|
|
86
86
|
display: 'flex',
|
|
87
87
|
justifyContent: 'center'
|
|
88
88
|
});
|
|
89
89
|
|
|
90
90
|
var PaginationWrapper = function PaginationWrapper(_ref4) {
|
|
91
91
|
var children = _ref4.children;
|
|
92
|
-
return (0,
|
|
92
|
+
return (0, _react2.jsx)("div", {
|
|
93
93
|
css: paginationWrapperStyles
|
|
94
94
|
}, children);
|
|
95
95
|
};
|
|
@@ -5,26 +5,26 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.EmptyViewWithFixedHeight = exports.EmptyViewContainer = void 0;
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _react = require("@emotion/react");
|
|
9
9
|
|
|
10
10
|
var _constants = require("@atlaskit/theme/constants");
|
|
11
11
|
|
|
12
12
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
13
13
|
|
|
14
14
|
/** @jsx jsx */
|
|
15
|
-
var fixedHeightStyles = (0,
|
|
15
|
+
var fixedHeightStyles = (0, _react.css)({
|
|
16
16
|
height: "".concat((0, _constants.gridSize)() * 18, "px")
|
|
17
17
|
});
|
|
18
18
|
|
|
19
19
|
var EmptyViewWithFixedHeight = function EmptyViewWithFixedHeight(_ref) {
|
|
20
20
|
var children = _ref.children;
|
|
21
|
-
return (0,
|
|
21
|
+
return (0, _react.jsx)("div", {
|
|
22
22
|
css: fixedHeightStyles
|
|
23
23
|
}, children);
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
exports.EmptyViewWithFixedHeight = EmptyViewWithFixedHeight;
|
|
27
|
-
var emptyViewContainerStyles = (0,
|
|
27
|
+
var emptyViewContainerStyles = (0, _react.css)({
|
|
28
28
|
width: '50%',
|
|
29
29
|
margin: 'auto',
|
|
30
30
|
padding: '10px',
|
|
@@ -33,7 +33,7 @@ var emptyViewContainerStyles = (0, _core.css)({
|
|
|
33
33
|
|
|
34
34
|
var EmptyViewContainer = function EmptyViewContainer(_ref2) {
|
|
35
35
|
var children = _ref2.children;
|
|
36
|
-
return (0,
|
|
36
|
+
return (0, _react.jsx)("div", {
|
|
37
37
|
css: emptyViewContainerStyles
|
|
38
38
|
}, children);
|
|
39
39
|
};
|
|
@@ -11,28 +11,28 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
|
|
12
12
|
var _react = require("react");
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _react2 = require("@emotion/react");
|
|
15
15
|
|
|
16
16
|
var _constants = require("@atlaskit/theme/constants");
|
|
17
17
|
|
|
18
18
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
19
19
|
|
|
20
20
|
/** @jsx jsx */
|
|
21
|
-
var containerStyles = (0,
|
|
21
|
+
var containerStyles = (0, _react2.css)({
|
|
22
22
|
marginBottom: "".concat((0, _constants.gridSize)() * 3, "px"),
|
|
23
23
|
position: 'relative'
|
|
24
24
|
});
|
|
25
25
|
|
|
26
26
|
var Container = function Container(props) {
|
|
27
27
|
return (// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
28
|
-
(0,
|
|
28
|
+
(0, _react2.jsx)("div", (0, _extends2.default)({
|
|
29
29
|
css: containerStyles
|
|
30
30
|
}, props))
|
|
31
31
|
);
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
exports.Container = Container;
|
|
35
|
-
var spinnerBackdropStyles = (0,
|
|
35
|
+
var spinnerBackdropStyles = (0, _react2.css)({
|
|
36
36
|
display: 'flex',
|
|
37
37
|
position: 'absolute',
|
|
38
38
|
top: 0,
|
|
@@ -46,19 +46,19 @@ var spinnerBackdropStyles = (0, _core.css)({
|
|
|
46
46
|
|
|
47
47
|
var SpinnerBackdrop = function SpinnerBackdrop(_ref) {
|
|
48
48
|
var children = _ref.children;
|
|
49
|
-
return (0,
|
|
49
|
+
return (0, _react2.jsx)("div", {
|
|
50
50
|
css: spinnerBackdropStyles
|
|
51
51
|
}, children);
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
exports.SpinnerBackdrop = SpinnerBackdrop;
|
|
55
|
-
var spinnerContainerStyles = (0,
|
|
55
|
+
var spinnerContainerStyles = (0, _react2.css)({
|
|
56
56
|
position: 'relative',
|
|
57
57
|
top: 0
|
|
58
58
|
});
|
|
59
59
|
var SpinnerContainer = /*#__PURE__*/(0, _react.forwardRef)(function (_ref2, ref) {
|
|
60
60
|
var children = _ref2.children;
|
|
61
|
-
return (0,
|
|
61
|
+
return (0, _react2.jsx)("div", {
|
|
62
62
|
css: spinnerContainerStyles,
|
|
63
63
|
ref: ref
|
|
64
64
|
}, children);
|
|
@@ -9,25 +9,25 @@ exports.SpinnerContainer = exports.ContentsContainer = exports.Container = void
|
|
|
9
9
|
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _react = require("@emotion/react");
|
|
13
13
|
|
|
14
14
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
15
15
|
|
|
16
16
|
/** @jsx jsx */
|
|
17
17
|
var CSS_VAR_CONTENTS_OPACITY = '--contents-opacity';
|
|
18
|
-
var containerStyles = (0,
|
|
18
|
+
var containerStyles = (0, _react.css)({
|
|
19
19
|
position: 'relative'
|
|
20
20
|
});
|
|
21
21
|
|
|
22
22
|
var Container = function Container(_ref) {
|
|
23
23
|
var children = _ref.children;
|
|
24
|
-
return (0,
|
|
24
|
+
return (0, _react.jsx)("div", {
|
|
25
25
|
css: containerStyles
|
|
26
26
|
}, children);
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
exports.Container = Container;
|
|
30
|
-
var contentsContainerStyles = (0,
|
|
30
|
+
var contentsContainerStyles = (0, _react.css)({
|
|
31
31
|
opacity: "var(".concat(CSS_VAR_CONTENTS_OPACITY, ")"),
|
|
32
32
|
pointerEvents: 'none'
|
|
33
33
|
});
|
|
@@ -35,14 +35,14 @@ var contentsContainerStyles = (0, _core.css)({
|
|
|
35
35
|
var ContentsContainer = function ContentsContainer(_ref2) {
|
|
36
36
|
var contentsOpacity = _ref2.contentsOpacity,
|
|
37
37
|
children = _ref2.children;
|
|
38
|
-
return (0,
|
|
38
|
+
return (0, _react.jsx)("div", {
|
|
39
39
|
style: (0, _defineProperty2.default)({}, CSS_VAR_CONTENTS_OPACITY, contentsOpacity),
|
|
40
40
|
css: [contentsContainerStyles]
|
|
41
41
|
}, children);
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
exports.ContentsContainer = ContentsContainer;
|
|
45
|
-
var spinnerContainerStyles = (0,
|
|
45
|
+
var spinnerContainerStyles = (0, _react.css)({
|
|
46
46
|
display: 'flex',
|
|
47
47
|
position: 'absolute',
|
|
48
48
|
top: 0,
|
|
@@ -55,7 +55,7 @@ var spinnerContainerStyles = (0, _core.css)({
|
|
|
55
55
|
|
|
56
56
|
var SpinnerContainer = function SpinnerContainer(_ref4) {
|
|
57
57
|
var children = _ref4.children;
|
|
58
|
-
return (0,
|
|
58
|
+
return (0, _react.jsx)("div", {
|
|
59
59
|
css: spinnerContainerStyles
|
|
60
60
|
}, children);
|
|
61
61
|
};
|
|
@@ -9,16 +9,16 @@ exports.RowPlaceholderCell = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _react = require("@emotion/react");
|
|
13
13
|
|
|
14
14
|
/** @jsx jsx */
|
|
15
|
-
var rowPlaceholderStyles = (0,
|
|
15
|
+
var rowPlaceholderStyles = (0, _react.css)({
|
|
16
16
|
padding: 0
|
|
17
17
|
}); // eslint-disable-next-line @repo/internal/react/require-jsdoc
|
|
18
18
|
|
|
19
19
|
var RowPlaceholderCell = function RowPlaceholderCell(props) {
|
|
20
20
|
return (// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
21
|
-
(0,
|
|
21
|
+
(0, _react.jsx)("td", (0, _extends2.default)({
|
|
22
22
|
css: rowPlaceholderStyles
|
|
23
23
|
}, props))
|
|
24
24
|
);
|
|
@@ -11,12 +11,12 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
|
|
12
12
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _react = require("@emotion/react");
|
|
15
15
|
|
|
16
16
|
var _tableCell = require("../table-cell");
|
|
17
17
|
|
|
18
18
|
var _excluded = ["isRanking", "innerRef"];
|
|
19
|
-
var rankingStyles = (0,
|
|
19
|
+
var rankingStyles = (0, _react.css)({
|
|
20
20
|
boxSizing: 'border-box'
|
|
21
21
|
}); // eslint-disable-next-line @repo/internal/react/require-jsdoc
|
|
22
22
|
|
|
@@ -24,7 +24,7 @@ var RankableTableBodyCell = function RankableTableBodyCell(_ref) {
|
|
|
24
24
|
var isRanking = _ref.isRanking,
|
|
25
25
|
innerRef = _ref.innerRef,
|
|
26
26
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
27
|
-
return (0,
|
|
27
|
+
return (0, _react.jsx)(_tableCell.TableBodyCell, (0, _extends2.default)({
|
|
28
28
|
css: isRanking && rankingStyles // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
29
29
|
|
|
30
30
|
}, props, {
|
|
@@ -13,14 +13,14 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
13
13
|
|
|
14
14
|
var _react = require("react");
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _react2 = require("@emotion/react");
|
|
17
17
|
|
|
18
18
|
var _colors = require("@atlaskit/theme/colors");
|
|
19
19
|
|
|
20
20
|
var _tableRow = require("../table-row");
|
|
21
21
|
|
|
22
22
|
var _excluded = ["isRanking", "isRankingItem"];
|
|
23
|
-
var rankingStyles = (0,
|
|
23
|
+
var rankingStyles = (0, _react2.css)({
|
|
24
24
|
display: 'block'
|
|
25
25
|
});
|
|
26
26
|
var elevationStyle = "var(--ds-shadow-overlay, ".concat("0 20px 32px -8px ".concat(_colors.N50A, ", 0 0 1px ").concat(_colors.N60A), ")");
|
|
@@ -29,12 +29,12 @@ var elevationStyle = "var(--ds-shadow-overlay, ".concat("0 20px 32px -8px ".conc
|
|
|
29
29
|
* Skipping it for now as it may impact migration as util-shared-styles does not support this feature
|
|
30
30
|
*/
|
|
31
31
|
|
|
32
|
-
var rankingItemStyles = (0,
|
|
32
|
+
var rankingItemStyles = (0, _react2.css)({
|
|
33
33
|
backgroundColor: "var(--ds-background-neutral, ".concat(_colors.N20, ")"),
|
|
34
34
|
borderRadius: '2px',
|
|
35
35
|
boxShadow: elevationStyle
|
|
36
36
|
});
|
|
37
|
-
var draggableStyles = (0,
|
|
37
|
+
var draggableStyles = (0, _react2.css)({
|
|
38
38
|
outlineWidth: '2px',
|
|
39
39
|
'&:focus': {
|
|
40
40
|
outlineColor: "var(--ds-border-focused, ".concat(_colors.B100, ")"),
|
|
@@ -46,7 +46,7 @@ var RankableTableBodyRow = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, r
|
|
|
46
46
|
var isRanking = _ref.isRanking,
|
|
47
47
|
isRankingItem = _ref.isRankingItem,
|
|
48
48
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
49
|
-
return (0,
|
|
49
|
+
return (0, _react2.jsx)(_tableRow.TableBodyRow, (0, _extends2.default)({
|
|
50
50
|
css: [isRanking && rankingStyles, isRankingItem && rankingItemStyles, draggableStyles],
|
|
51
51
|
ref: ref
|
|
52
52
|
}, props));
|
|
@@ -11,7 +11,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
|
|
12
12
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _react = require("@emotion/react");
|
|
15
15
|
|
|
16
16
|
var _constants = require("./constants");
|
|
17
17
|
|
|
@@ -24,7 +24,7 @@ var TableBodyCell = function TableBodyCell(_ref) {
|
|
|
24
24
|
shouldTruncate = _ref.shouldTruncate,
|
|
25
25
|
innerRef = _ref.innerRef,
|
|
26
26
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
27
|
-
return (0,
|
|
27
|
+
return (0, _react.jsx)("td", (0, _extends2.default)({
|
|
28
28
|
style: (0, _constants.getTruncationStyleVars)({
|
|
29
29
|
width: width
|
|
30
30
|
}),
|
|
@@ -15,7 +15,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
15
15
|
|
|
16
16
|
var _react = require("react");
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _react2 = require("@emotion/react");
|
|
19
19
|
|
|
20
20
|
var _colors = require("@atlaskit/theme/colors");
|
|
21
21
|
|
|
@@ -36,24 +36,24 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
36
36
|
|
|
37
37
|
var gridSize = (0, _constants.gridSize)();
|
|
38
38
|
var CSS_VAR_TEXT_COLOR = '--local-dynamic-table-text-color';
|
|
39
|
-
var rankingStyles = (0,
|
|
39
|
+
var rankingStyles = (0, _react2.css)({
|
|
40
40
|
display: 'block'
|
|
41
41
|
});
|
|
42
|
-
var headStyles = (0,
|
|
42
|
+
var headStyles = (0, _react2.css)({
|
|
43
43
|
borderBottom: "none"
|
|
44
44
|
});
|
|
45
45
|
|
|
46
46
|
var Head = function Head(_ref) {
|
|
47
47
|
var isRanking = _ref.isRanking,
|
|
48
48
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
49
|
-
return (0,
|
|
49
|
+
return (0, _react2.jsx)("thead", (0, _extends2.default)({
|
|
50
50
|
css: [headStyles, isRanking && rankingStyles] // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
51
51
|
|
|
52
52
|
}, props));
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
exports.Head = Head;
|
|
56
|
-
var headCellStyles = (0,
|
|
56
|
+
var headCellStyles = (0, _react2.css)([_constants3.cellStyles, {
|
|
57
57
|
boxSizing: 'border-box',
|
|
58
58
|
position: 'relative',
|
|
59
59
|
border: 'none',
|
|
@@ -67,13 +67,13 @@ var headCellStyles = (0, _core.css)([_constants3.cellStyles, {
|
|
|
67
67
|
outline: "solid 2px ".concat("var(--ds-border-focused, ".concat(_colors.B100, ")"))
|
|
68
68
|
}
|
|
69
69
|
}]);
|
|
70
|
-
var onClickStyles = (0,
|
|
70
|
+
var onClickStyles = (0, _react2.css)({
|
|
71
71
|
'&:hover': {
|
|
72
72
|
backgroundColor: "var(--ds-background-neutral-hovered, ".concat(_colors.N30A, ")"),
|
|
73
73
|
cursor: 'pointer'
|
|
74
74
|
}
|
|
75
75
|
});
|
|
76
|
-
var baseStyles = (0,
|
|
76
|
+
var baseStyles = (0, _react2.css)({
|
|
77
77
|
'& > span': {
|
|
78
78
|
position: 'relative',
|
|
79
79
|
'&::before, &::after': {
|
|
@@ -108,7 +108,7 @@ var baseStyles = (0, _core.css)({
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
});
|
|
111
|
-
var ascendingStyles = (0,
|
|
111
|
+
var ascendingStyles = (0, _react2.css)({
|
|
112
112
|
'& > span': {
|
|
113
113
|
'&::before': {
|
|
114
114
|
borderBottom: "3px solid ".concat(_theme.arrow.selectedColor)
|
|
@@ -122,7 +122,7 @@ var ascendingStyles = (0, _core.css)({
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
});
|
|
125
|
-
var descendingStyles = (0,
|
|
125
|
+
var descendingStyles = (0, _react2.css)({
|
|
126
126
|
'& > span': {
|
|
127
127
|
'&::after': {
|
|
128
128
|
borderTop: "3px solid ".concat(_theme.arrow.selectedColor)
|
|
@@ -153,7 +153,7 @@ var HeadCell = /*#__PURE__*/(0, _react.forwardRef)(function (_ref2, ref) {
|
|
|
153
153
|
|
|
154
154
|
var isASC = sortOrder === _constants2.ASC;
|
|
155
155
|
var isDESC = sortOrder === _constants2.DESC;
|
|
156
|
-
return (0,
|
|
156
|
+
return (0, _react2.jsx)("th", (0, _extends2.default)({
|
|
157
157
|
style: mergedStyles,
|
|
158
158
|
css: [headCellStyles, onClick && onClickStyles, _constants3.truncationWidthStyles, isFixedSize && shouldTruncate && _constants3.fixedSizeTruncateStyles, isFixedSize && _constants3.overflowTruncateStyles, isSortable && baseStyles, isASC && ascendingStyles, isDESC && descendingStyles],
|
|
159
159
|
onClick: onClick,
|
|
@@ -13,23 +13,23 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
13
13
|
|
|
14
14
|
var _react = require("react");
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _react2 = require("@emotion/react");
|
|
17
17
|
|
|
18
18
|
var _dynamicTable = require("./dynamic-table");
|
|
19
19
|
|
|
20
20
|
var _excluded = ["isHighlighted", "children", "style"];
|
|
21
|
-
var rowStyles = (0,
|
|
21
|
+
var rowStyles = (0, _react2.css)({
|
|
22
22
|
'&:focus': {
|
|
23
23
|
outline: "2px solid ".concat("var(--ds-border-focused, ".concat("var(".concat(_dynamicTable.tableRowCSSVars.CSS_VAR_HOVER_BACKGROUND, ")"), ")")),
|
|
24
24
|
outlineOffset: "-2px"
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
|
-
var rowBackgroundStyles = (0,
|
|
27
|
+
var rowBackgroundStyles = (0, _react2.css)({
|
|
28
28
|
'&:hover': {
|
|
29
29
|
backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat("var(".concat(_dynamicTable.tableRowCSSVars.CSS_VAR_HOVER_BACKGROUND, ")"), ")")
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
|
-
var rowHighlightedBackgroundStyles = (0,
|
|
32
|
+
var rowHighlightedBackgroundStyles = (0, _react2.css)({
|
|
33
33
|
backgroundColor: "var(--ds-background-selected, ".concat("var(".concat(_dynamicTable.tableRowCSSVars.CSS_VAR_HIGHLIGHTED_BACKGROUND, ")"), ")"),
|
|
34
34
|
'&:hover': {
|
|
35
35
|
backgroundColor: "var(--ds-background-selected-hovered, ".concat("var(".concat(_dynamicTable.tableRowCSSVars.CSS_VAR_HOVER_HIGHLIGHTED_BACKGROUND, ")"), ")")
|
|
@@ -41,7 +41,7 @@ var TableBodyRow = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
41
41
|
children = _ref.children,
|
|
42
42
|
style = _ref.style,
|
|
43
43
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
44
|
-
return (0,
|
|
44
|
+
return (0, _react2.jsx)("tr", (0, _extends2.default)({
|
|
45
45
|
style: style,
|
|
46
46
|
css: [rowStyles, isHighlighted ? rowHighlightedBackgroundStyles : rowBackgroundStyles]
|
|
47
47
|
}, rest, {
|
package/dist/cjs/version.json
CHANGED
|
@@ -14,7 +14,7 @@ import ManagedPagination from './managed-pagination';
|
|
|
14
14
|
import RankableTableBody from './rankable/body';
|
|
15
15
|
import TableHead from './table-head';
|
|
16
16
|
const packageName = "@atlaskit/dynamic-table";
|
|
17
|
-
const packageVersion = "14.
|
|
17
|
+
const packageVersion = "14.8.0";
|
|
18
18
|
|
|
19
19
|
function toggleSortOrder(currentSortOrder) {
|
|
20
20
|
switch (currentSortOrder) {
|
|
@@ -4,7 +4,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
4
4
|
|
|
5
5
|
/** @jsx jsx */
|
|
6
6
|
import { forwardRef } from 'react';
|
|
7
|
-
import { css, jsx } from '@emotion/
|
|
7
|
+
import { css, jsx } from '@emotion/react';
|
|
8
8
|
import { gridSize as getGridSize } from '@atlaskit/theme/constants';
|
|
9
9
|
import { row, tableBorder } from '../theme';
|
|
10
10
|
const gridSize = getGridSize();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
|
-
import { css, jsx } from '@emotion/
|
|
4
|
+
import { css, jsx } from '@emotion/react';
|
|
5
5
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
6
6
|
const fixedHeightStyles = css({
|
|
7
7
|
height: `${gridSize() * 18}px`
|
|
@@ -4,7 +4,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
4
4
|
|
|
5
5
|
/** @jsx jsx */
|
|
6
6
|
import { forwardRef } from 'react';
|
|
7
|
-
import { css, jsx } from '@emotion/
|
|
7
|
+
import { css, jsx } from '@emotion/react';
|
|
8
8
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
9
9
|
const containerStyles = css({
|
|
10
10
|
marginBottom: `${gridSize() * 3}px`,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
|
-
import { css, jsx } from '@emotion/
|
|
4
|
+
import { css, jsx } from '@emotion/react';
|
|
5
5
|
const CSS_VAR_CONTENTS_OPACITY = '--contents-opacity';
|
|
6
6
|
const containerStyles = css({
|
|
7
7
|
position: 'relative'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
|
-
import { css, jsx } from '@emotion/
|
|
4
|
+
import { css, jsx } from '@emotion/react';
|
|
5
5
|
const rowPlaceholderStyles = css({
|
|
6
6
|
padding: 0
|
|
7
7
|
}); // eslint-disable-next-line @repo/internal/react/require-jsdoc
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
|
-
import { css, jsx } from '@emotion/
|
|
4
|
+
import { css, jsx } from '@emotion/react';
|
|
5
5
|
import { TableBodyCell } from '../table-cell';
|
|
6
6
|
const rankingStyles = css({
|
|
7
7
|
boxSizing: 'border-box'
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import { forwardRef } from 'react';
|
|
5
|
-
import { css, jsx } from '@emotion/
|
|
5
|
+
import { css, jsx } from '@emotion/react';
|
|
6
6
|
import { B100, N20, N50A, N60A } from '@atlaskit/theme/colors';
|
|
7
7
|
import { TableBodyRow } from '../table-row';
|
|
8
8
|
const rankingStyles = css({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
|
-
import { jsx } from '@emotion/
|
|
4
|
+
import { jsx } from '@emotion/react';
|
|
5
5
|
import { cellStyles, fixedSizeTruncateStyles, getTruncationStyleVars, overflowTruncateStyles, truncationWidthStyles } from './constants'; // eslint-disable-next-line @repo/internal/react/require-jsdoc
|
|
6
6
|
|
|
7
7
|
export const TableBodyCell = ({
|
|
@@ -4,7 +4,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
4
4
|
|
|
5
5
|
/** @jsx jsx */
|
|
6
6
|
import { forwardRef } from 'react';
|
|
7
|
-
import { css, jsx } from '@emotion/
|
|
7
|
+
import { css, jsx } from '@emotion/react';
|
|
8
8
|
import { B100, N30A } from '@atlaskit/theme/colors';
|
|
9
9
|
import { gridSize as getGridSize } from '@atlaskit/theme/constants';
|
|
10
10
|
import { ASC, DESC } from '../internal/constants';
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import { forwardRef } from 'react';
|
|
5
|
-
import { css, jsx } from '@emotion/
|
|
5
|
+
import { css, jsx } from '@emotion/react';
|
|
6
6
|
import { tableRowCSSVars as cssVars } from './dynamic-table';
|
|
7
7
|
const rowStyles = css({
|
|
8
8
|
'&:focus': {
|
package/dist/es2019/version.json
CHANGED
|
@@ -25,7 +25,7 @@ import ManagedPagination from './managed-pagination';
|
|
|
25
25
|
import RankableTableBody from './rankable/body';
|
|
26
26
|
import TableHead from './table-head';
|
|
27
27
|
var packageName = "@atlaskit/dynamic-table";
|
|
28
|
-
var packageVersion = "14.
|
|
28
|
+
var packageVersion = "14.8.0";
|
|
29
29
|
|
|
30
30
|
function toggleSortOrder(currentSortOrder) {
|
|
31
31
|
switch (currentSortOrder) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
import { css } from '@emotion/
|
|
2
|
+
import { css } from '@emotion/react';
|
|
3
3
|
import { gridSize as getGridSize } from '@atlaskit/theme/constants';
|
|
4
4
|
var CSS_VAR_WIDTH = '--local-dynamic-table-width';
|
|
5
5
|
var gridSize = getGridSize();
|
|
@@ -7,7 +7,7 @@ var _excluded = ["isFixedSize", "hasDataRow", "children"];
|
|
|
7
7
|
|
|
8
8
|
/** @jsx jsx */
|
|
9
9
|
import { forwardRef } from 'react';
|
|
10
|
-
import { css, jsx } from '@emotion/
|
|
10
|
+
import { css, jsx } from '@emotion/react';
|
|
11
11
|
import { gridSize as getGridSize } from '@atlaskit/theme/constants';
|
|
12
12
|
import { row, tableBorder } from '../theme';
|
|
13
13
|
var gridSize = getGridSize();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
|
-
import { css, jsx } from '@emotion/
|
|
4
|
+
import { css, jsx } from '@emotion/react';
|
|
5
5
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
6
6
|
var fixedHeightStyles = css({
|
|
7
7
|
height: "".concat(gridSize() * 18, "px")
|
|
@@ -4,7 +4,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
4
4
|
|
|
5
5
|
/** @jsx jsx */
|
|
6
6
|
import { forwardRef } from 'react';
|
|
7
|
-
import { css, jsx } from '@emotion/
|
|
7
|
+
import { css, jsx } from '@emotion/react';
|
|
8
8
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
9
9
|
var containerStyles = css({
|
|
10
10
|
marginBottom: "".concat(gridSize() * 3, "px"),
|
|
@@ -3,7 +3,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
3
3
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
4
4
|
|
|
5
5
|
/** @jsx jsx */
|
|
6
|
-
import { css, jsx } from '@emotion/
|
|
6
|
+
import { css, jsx } from '@emotion/react';
|
|
7
7
|
var CSS_VAR_CONTENTS_OPACITY = '--contents-opacity';
|
|
8
8
|
var containerStyles = css({
|
|
9
9
|
position: 'relative'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
|
-
import { css, jsx } from '@emotion/
|
|
4
|
+
import { css, jsx } from '@emotion/react';
|
|
5
5
|
var rowPlaceholderStyles = css({
|
|
6
6
|
padding: 0
|
|
7
7
|
}); // eslint-disable-next-line @repo/internal/react/require-jsdoc
|
|
@@ -3,7 +3,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["isRanking", "innerRef"];
|
|
4
4
|
|
|
5
5
|
/** @jsx jsx */
|
|
6
|
-
import { css, jsx } from '@emotion/
|
|
6
|
+
import { css, jsx } from '@emotion/react';
|
|
7
7
|
import { TableBodyCell } from '../table-cell';
|
|
8
8
|
var rankingStyles = css({
|
|
9
9
|
boxSizing: 'border-box'
|
|
@@ -4,7 +4,7 @@ var _excluded = ["isRanking", "isRankingItem"];
|
|
|
4
4
|
|
|
5
5
|
/** @jsx jsx */
|
|
6
6
|
import { forwardRef } from 'react';
|
|
7
|
-
import { css, jsx } from '@emotion/
|
|
7
|
+
import { css, jsx } from '@emotion/react';
|
|
8
8
|
import { B100, N20, N50A, N60A } from '@atlaskit/theme/colors';
|
|
9
9
|
import { TableBodyRow } from '../table-row';
|
|
10
10
|
var rankingStyles = css({
|
|
@@ -3,7 +3,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["width", "isFixedSize", "shouldTruncate", "innerRef"];
|
|
4
4
|
|
|
5
5
|
/** @jsx jsx */
|
|
6
|
-
import { jsx } from '@emotion/
|
|
6
|
+
import { jsx } from '@emotion/react';
|
|
7
7
|
import { cellStyles, fixedSizeTruncateStyles, getTruncationStyleVars, overflowTruncateStyles, truncationWidthStyles } from './constants'; // eslint-disable-next-line @repo/internal/react/require-jsdoc
|
|
8
8
|
|
|
9
9
|
export var TableBodyCell = function TableBodyCell(_ref) {
|
|
@@ -12,7 +12,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
12
12
|
|
|
13
13
|
/** @jsx jsx */
|
|
14
14
|
import { forwardRef } from 'react';
|
|
15
|
-
import { css, jsx } from '@emotion/
|
|
15
|
+
import { css, jsx } from '@emotion/react';
|
|
16
16
|
import { B100, N30A } from '@atlaskit/theme/colors';
|
|
17
17
|
import { gridSize as getGridSize } from '@atlaskit/theme/constants';
|
|
18
18
|
import { ASC, DESC } from '../internal/constants';
|
|
@@ -4,7 +4,7 @@ var _excluded = ["isHighlighted", "children", "style"];
|
|
|
4
4
|
|
|
5
5
|
/** @jsx jsx */
|
|
6
6
|
import { forwardRef } from 'react';
|
|
7
|
-
import { css, jsx } from '@emotion/
|
|
7
|
+
import { css, jsx } from '@emotion/react';
|
|
8
8
|
import { tableRowCSSVars as cssVars } from './dynamic-table';
|
|
9
9
|
var rowStyles = css({
|
|
10
10
|
'&:focus': {
|
package/dist/esm/version.json
CHANGED
|
@@ -6,11 +6,12 @@ export interface TruncateStyleProps {
|
|
|
6
6
|
children?: ReactNode;
|
|
7
7
|
testId?: string;
|
|
8
8
|
innerRef?: LegacyRef<HTMLTableCellElement | HTMLTableRowElement> | undefined;
|
|
9
|
+
className?: string;
|
|
9
10
|
}
|
|
10
|
-
export declare const truncationWidthStyles: import("@emotion/
|
|
11
|
-
export declare const fixedSizeTruncateStyles: import("@emotion/
|
|
12
|
-
export declare const overflowTruncateStyles: import("@emotion/
|
|
11
|
+
export declare const truncationWidthStyles: import("@emotion/react").SerializedStyles;
|
|
12
|
+
export declare const fixedSizeTruncateStyles: import("@emotion/react").SerializedStyles;
|
|
13
|
+
export declare const overflowTruncateStyles: import("@emotion/react").SerializedStyles;
|
|
13
14
|
export declare const getTruncationStyleVars: ({ width }: TruncateStyleProps) => {
|
|
14
15
|
"--local-dynamic-table-width": string;
|
|
15
16
|
} | undefined;
|
|
16
|
-
export declare const cellStyles: import("@emotion/
|
|
17
|
+
export declare const cellStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -10,6 +10,6 @@ export declare const tableRowCSSVars: {
|
|
|
10
10
|
CSS_VAR_HOVER_HIGHLIGHTED_BACKGROUND: string;
|
|
11
11
|
CSS_VAR_ROW_FOCUS_OUTLINE: string;
|
|
12
12
|
};
|
|
13
|
-
export declare const Table: import("react").ForwardRefExoticComponent<Pick<TableProps, "cite" | "data" | "form" | "label" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "
|
|
13
|
+
export declare const Table: import("react").ForwardRefExoticComponent<Pick<TableProps, "cite" | "data" | "form" | "label" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "content" | "height" | "width" | "start" | "size" | "default" | "wrap" | "open" | "multiple" | "disabled" | "isFixedSize" | "hasDataRow" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "name" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "target" | "type" | "useMap" | "value" | "wmode"> & import("react").RefAttributes<HTMLTableElement>>;
|
|
14
14
|
export declare const Caption: FC;
|
|
15
15
|
export declare const PaginationWrapper: FC;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { FC, HTMLProps } from 'react';
|
|
3
|
-
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
4
|
+
export declare const Container: (props: HTMLProps<HTMLDivElement>) => jsx.JSX.Element;
|
|
4
5
|
export declare const SpinnerBackdrop: FC;
|
|
5
|
-
export declare const SpinnerContainer: import("react").ForwardRefExoticComponent<Pick<HTMLProps<HTMLDivElement>, "cite" | "data" | "form" | "label" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "
|
|
6
|
+
export declare const SpinnerContainer: import("react").ForwardRefExoticComponent<Pick<HTMLProps<HTMLDivElement>, "cite" | "data" | "form" | "label" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "content" | "height" | "width" | "start" | "size" | "default" | "wrap" | "open" | "multiple" | "disabled" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "name" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "target" | "type" | "useMap" | "value" | "wmode"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -11,5 +11,5 @@ declare type HeadCellProps = TruncateStyleProps & HTMLProps<HTMLTableCellElement
|
|
|
11
11
|
isSortable?: boolean;
|
|
12
12
|
sortOrder?: SortOrderType;
|
|
13
13
|
};
|
|
14
|
-
export declare const HeadCell: import("react").ForwardRefExoticComponent<Pick<HeadCellProps, "cite" | "data" | "form" | "label" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "
|
|
14
|
+
export declare const HeadCell: import("react").ForwardRefExoticComponent<Pick<HeadCellProps, "cite" | "data" | "form" | "label" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "content" | "height" | "width" | "start" | "size" | "default" | "wrap" | "open" | "multiple" | "disabled" | "isFixedSize" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "name" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "target" | "type" | "useMap" | "value" | "wmode" | "sortOrder" | "shouldTruncate" | "innerRef" | "testId" | "isSortable"> & import("react").RefAttributes<HTMLTableCellElement>>;
|
|
15
15
|
export {};
|
|
@@ -4,5 +4,6 @@ export declare type ITableRowProps = {
|
|
|
4
4
|
isHighlighted?: boolean;
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
style?: CSSProperties;
|
|
7
|
+
className?: string;
|
|
7
8
|
};
|
|
8
9
|
export declare const TableBodyRow: import("react").ForwardRefExoticComponent<ITableRowProps & import("react").RefAttributes<HTMLTableRowElement>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/dynamic-table",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.8.0",
|
|
4
4
|
"description": "A dynamic table displays rows of data with built-in pagination, sorting, and re-ordering functionality.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@atlaskit/analytics-next": "^8.0.0",
|
|
29
29
|
"@atlaskit/ds-lib": "^2.1.0",
|
|
30
|
-
"@atlaskit/pagination": "^14.
|
|
30
|
+
"@atlaskit/pagination": "^14.2.0",
|
|
31
31
|
"@atlaskit/spinner": "^15.0.0",
|
|
32
|
-
"@atlaskit/theme": "^12.
|
|
32
|
+
"@atlaskit/theme": "^12.2.0",
|
|
33
33
|
"@atlaskit/tokens": "^0.10.0",
|
|
34
34
|
"@babel/runtime": "^7.0.0",
|
|
35
|
-
"@emotion/
|
|
35
|
+
"@emotion/react": "^11.7.1",
|
|
36
36
|
"react-beautiful-dnd": "^12.1.1"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
@@ -43,17 +43,16 @@
|
|
|
43
43
|
"@atlaskit/avatar": "^21.0.0",
|
|
44
44
|
"@atlaskit/button": "^16.3.0",
|
|
45
45
|
"@atlaskit/docs": "*",
|
|
46
|
-
"@atlaskit/dropdown-menu": "^11.
|
|
46
|
+
"@atlaskit/dropdown-menu": "^11.4.0",
|
|
47
47
|
"@atlaskit/ssr": "*",
|
|
48
|
-
"@atlaskit/toggle": "^12.
|
|
48
|
+
"@atlaskit/toggle": "^12.5.0",
|
|
49
49
|
"@atlaskit/visual-regression": "*",
|
|
50
50
|
"@atlaskit/webdriver-runner": "*",
|
|
51
51
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
52
|
-
"@emotion/styled": "^
|
|
52
|
+
"@emotion/styled": "^11.0.0",
|
|
53
53
|
"@testing-library/react": "^8.0.1",
|
|
54
54
|
"enzyme": "^3.10.0",
|
|
55
55
|
"react-dom": "^16.8.0",
|
|
56
|
-
"styled-components": "^3.2.6",
|
|
57
56
|
"typescript": "4.3.5",
|
|
58
57
|
"uuid": "^3.1.0"
|
|
59
58
|
},
|