@atlaskit/dynamic-table 18.1.0 → 18.1.1
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 +6 -0
- package/dist/cjs/components/rankable/body.js +0 -1
- package/dist/cjs/components/rankable/table-row.js +0 -1
- package/dist/cjs/components/stateless.js +2 -2
- package/dist/cjs/components/table-row.js +1 -2
- package/dist/cjs/styled/dynamic-table.js +0 -1
- package/dist/cjs/styled/empty-body.js +0 -1
- package/dist/cjs/styled/loading-container-advanced.js +0 -2
- package/dist/cjs/styled/loading-container.js +0 -2
- package/dist/cjs/styled/rankable/table-cell.js +1 -1
- package/dist/cjs/styled/rankable/table-row.js +1 -1
- package/dist/cjs/styled/table-head.js +0 -1
- package/dist/es2019/components/rankable/body.js +0 -1
- package/dist/es2019/components/rankable/table-row.js +0 -1
- package/dist/es2019/components/stateless.js +2 -2
- package/dist/es2019/components/table-row.js +1 -2
- package/dist/es2019/styled/dynamic-table.js +0 -3
- package/dist/es2019/styled/empty-body.js +0 -1
- package/dist/es2019/styled/loading-container-advanced.js +0 -3
- package/dist/es2019/styled/loading-container.js +0 -2
- package/dist/es2019/styled/rankable/table-cell.js +0 -2
- package/dist/es2019/styled/rankable/table-row.js +0 -3
- package/dist/es2019/styled/table-head.js +0 -3
- package/dist/esm/components/rankable/body.js +0 -1
- package/dist/esm/components/rankable/table-row.js +0 -1
- package/dist/esm/components/stateless.js +2 -2
- package/dist/esm/components/table-row.js +1 -2
- package/dist/esm/styled/dynamic-table.js +0 -3
- package/dist/esm/styled/empty-body.js +0 -1
- package/dist/esm/styled/loading-container-advanced.js +0 -3
- package/dist/esm/styled/loading-container.js +0 -2
- package/dist/esm/styled/rankable/table-cell.js +0 -2
- package/dist/esm/styled/rankable/table-row.js +0 -3
- package/dist/esm/styled/table-head.js +0 -3
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -18,7 +18,6 @@ var _withSortedPageRows = _interopRequireDefault(require("../../hoc/with-sorted-
|
|
|
18
18
|
var _tableRow = _interopRequireDefault(require("./table-row"));
|
|
19
19
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
20
20
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } // Allowing existing usage of non Pragmatic drag and drop solution
|
|
21
|
-
// eslint-disable-next-line @atlaskit/design-system/no-unsupported-drag-and-drop-libraries
|
|
22
21
|
// computes destination of ranking
|
|
23
22
|
// - if drag was cancelled returns undefined
|
|
24
23
|
// - if drag was finished, returns new position and after/before key
|
|
@@ -24,7 +24,6 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
24
24
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
25
25
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
26
26
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } // Allowing existing usage of non Pragmatic drag and drop solution
|
|
27
|
-
// eslint-disable-next-line @atlaskit/design-system/no-unsupported-drag-and-drop-libraries
|
|
28
27
|
var RankableTableRow = /*#__PURE__*/function (_React$Component) {
|
|
29
28
|
function RankableTableRow() {
|
|
30
29
|
var _this;
|
|
@@ -87,14 +87,14 @@ var DynamicTable = function DynamicTable(_ref) {
|
|
|
87
87
|
action: 'sorted',
|
|
88
88
|
componentName: 'dynamicTable',
|
|
89
89
|
packageName: "@atlaskit/dynamic-table",
|
|
90
|
-
packageVersion: "18.1.
|
|
90
|
+
packageVersion: "18.1.1"
|
|
91
91
|
});
|
|
92
92
|
var onRankEnd = (0, _analyticsNext.usePlatformLeafEventHandler)({
|
|
93
93
|
fn: providedOnRankEnd,
|
|
94
94
|
action: 'ranked',
|
|
95
95
|
componentName: 'dynamicTable',
|
|
96
96
|
packageName: "@atlaskit/dynamic-table",
|
|
97
|
-
packageVersion: "18.1.
|
|
97
|
+
packageVersion: "18.1.1"
|
|
98
98
|
});
|
|
99
99
|
(0, _react.useEffect)(function () {
|
|
100
100
|
(0, _helpers.validateSortKey)(sortKey, head);
|
|
@@ -39,8 +39,7 @@ var Row = function Row(_ref) {
|
|
|
39
39
|
"data-testid": cellTestId || testId && "".concat(testId, "--cell-").concat(cellIndex)
|
|
40
40
|
}, restCellProps, {
|
|
41
41
|
isFixedSize: isFixedSize,
|
|
42
|
-
key: cellIndex
|
|
43
|
-
,
|
|
42
|
+
key: cellIndex,
|
|
44
43
|
shouldTruncate: shouldTruncate,
|
|
45
44
|
width: width
|
|
46
45
|
}), content);
|
|
@@ -17,7 +17,6 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
17
17
|
var _colors = require("@atlaskit/theme/colors");
|
|
18
18
|
var _excluded = ["isFixedSize", "hasDataRow", "children", "testId", "isLoading"];
|
|
19
19
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
20
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
21
20
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
22
21
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
23
22
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/* empty-body.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
2
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
3
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
3
|
"use strict";
|
|
5
4
|
|
|
6
5
|
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
@@ -17,8 +17,6 @@ var _excluded = ["children", "testId"];
|
|
|
17
17
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
18
18
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
19
19
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
20
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
21
|
-
|
|
22
20
|
var containerStyles = null;
|
|
23
21
|
var Container = exports.Container = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
24
22
|
var children = props.children,
|
|
@@ -17,8 +17,6 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
17
17
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
18
18
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
19
19
|
|
|
20
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
21
|
-
|
|
22
20
|
var CSS_VAR_CONTENTS_OPACITY = exports.CSS_VAR_CONTENTS_OPACITY = '--contents-opacity';
|
|
23
21
|
var containerStyles = null;
|
|
24
22
|
var Container = exports.Container = function Container(_ref) {
|
|
@@ -13,7 +13,7 @@ var _runtime = require("@compiled/react/runtime");
|
|
|
13
13
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
14
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
15
|
var _tableCell = require("../table-cell");
|
|
16
|
-
var _excluded = ["isRanking", "innerRef"];
|
|
16
|
+
var _excluded = ["isRanking", "innerRef"];
|
|
17
17
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
18
18
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
19
19
|
var rankingStyles = null;
|
|
@@ -15,7 +15,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
15
15
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
16
16
|
var _colors = require("@atlaskit/theme/colors");
|
|
17
17
|
var _tableRow = require("../table-row");
|
|
18
|
-
var _excluded = ["isRanking", "isRankingItem", "testId"];
|
|
18
|
+
var _excluded = ["isRanking", "isRankingItem", "testId"];
|
|
19
19
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
20
20
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
21
21
|
var rankingStyles = null;
|
|
@@ -21,7 +21,6 @@ var _constants2 = require("./constants");
|
|
|
21
21
|
var _excluded = ["isRanking", "testId"],
|
|
22
22
|
_excluded2 = ["width", "children", "isSortable", "sortOrder", "isFixedSize", "shouldTruncate", "onClick", "style", "testId"];
|
|
23
23
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
24
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
25
24
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
26
25
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
27
26
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -3,7 +3,6 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
|
|
5
5
|
// Allowing existing usage of non Pragmatic drag and drop solution
|
|
6
|
-
// eslint-disable-next-line @atlaskit/design-system/no-unsupported-drag-and-drop-libraries
|
|
7
6
|
import { DragDropContext, Droppable } from '@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration';
|
|
8
7
|
import withSortedPageRows from '../../hoc/with-sorted-page-rows';
|
|
9
8
|
import TableRow from './table-row';
|
|
@@ -3,7 +3,6 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
|
|
5
5
|
// Allowing existing usage of non Pragmatic drag and drop solution
|
|
6
|
-
// eslint-disable-next-line @atlaskit/design-system/no-unsupported-drag-and-drop-libraries
|
|
7
6
|
import { Draggable } from '@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration';
|
|
8
7
|
import withDimensions
|
|
9
8
|
// @ts-ignore -- This import is required for default export
|
|
@@ -61,14 +61,14 @@ const DynamicTable = ({
|
|
|
61
61
|
action: 'sorted',
|
|
62
62
|
componentName: 'dynamicTable',
|
|
63
63
|
packageName: "@atlaskit/dynamic-table",
|
|
64
|
-
packageVersion: "18.1.
|
|
64
|
+
packageVersion: "18.1.1"
|
|
65
65
|
});
|
|
66
66
|
const onRankEnd = usePlatformLeafEventHandler({
|
|
67
67
|
fn: providedOnRankEnd,
|
|
68
68
|
action: 'ranked',
|
|
69
69
|
componentName: 'dynamicTable',
|
|
70
70
|
packageName: "@atlaskit/dynamic-table",
|
|
71
|
-
packageVersion: "18.1.
|
|
71
|
+
packageVersion: "18.1.1"
|
|
72
72
|
});
|
|
73
73
|
useEffect(() => {
|
|
74
74
|
validateSortKey(sortKey, head);
|
|
@@ -35,8 +35,7 @@ const Row = ({
|
|
|
35
35
|
"data-testid": cellTestId || testId && `${testId}--cell-${cellIndex}`
|
|
36
36
|
}, restCellProps, {
|
|
37
37
|
isFixedSize: isFixedSize,
|
|
38
|
-
key: cellIndex
|
|
39
|
-
,
|
|
38
|
+
key: cellIndex,
|
|
40
39
|
shouldTruncate: shouldTruncate,
|
|
41
40
|
width: width
|
|
42
41
|
}), content);
|
|
@@ -6,9 +6,6 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
6
6
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
7
7
|
|
|
8
8
|
import { forwardRef } from 'react';
|
|
9
|
-
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
|
-
|
|
12
9
|
import { B100, B50, B75, N10, N40 } from '@atlaskit/theme/colors';
|
|
13
10
|
const fixedSizeTableStyles = null;
|
|
14
11
|
const tableStyles = null;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/* empty-body.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
2
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
3
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
3
|
import "./empty-body.compiled.css";
|
|
5
4
|
import * as React from 'react';
|
|
6
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -6,9 +6,6 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
6
6
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
7
7
|
|
|
8
8
|
import { forwardRef } from 'react';
|
|
9
|
-
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
|
-
|
|
12
9
|
const containerStyles = null;
|
|
13
10
|
export const Container = /*#__PURE__*/forwardRef((props, ref) => {
|
|
14
11
|
const {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/* loading-container.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
2
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
3
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
3
|
import "./loading-container.compiled.css";
|
|
5
4
|
import * as React from 'react';
|
|
6
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -19,7 +18,6 @@ export const ContentsContainer = ({
|
|
|
19
18
|
contentsOpacity,
|
|
20
19
|
testId
|
|
21
20
|
}) => /*#__PURE__*/React.createElement("div", {
|
|
22
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
23
21
|
style: {
|
|
24
22
|
[CSS_VAR_CONTENTS_OPACITY]: contentsOpacity
|
|
25
23
|
},
|
|
@@ -3,8 +3,6 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
import "./table-cell.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
|
-
|
|
8
6
|
import { TableBodyCell } from '../table-cell';
|
|
9
7
|
const rankingStyles = null;
|
|
10
8
|
|
|
@@ -4,9 +4,6 @@ import "./table-row.compiled.css";
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { forwardRef } from 'react';
|
|
7
|
-
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
|
-
|
|
10
7
|
import { B100, N20, N50A, N60A } from '@atlaskit/theme/colors';
|
|
11
8
|
import { TableBodyRow } from '../table-row';
|
|
12
9
|
const rankingStyles = null;
|
|
@@ -6,9 +6,6 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
6
6
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
7
7
|
|
|
8
8
|
import { forwardRef } from 'react';
|
|
9
|
-
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
|
-
|
|
12
9
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
10
|
import { B100, N300, N30A, N40 } from '@atlaskit/theme/colors';
|
|
14
11
|
import { ASC, DESC } from '../internal/constants';
|
|
@@ -10,7 +10,6 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
10
10
|
import React from 'react';
|
|
11
11
|
|
|
12
12
|
// Allowing existing usage of non Pragmatic drag and drop solution
|
|
13
|
-
// eslint-disable-next-line @atlaskit/design-system/no-unsupported-drag-and-drop-libraries
|
|
14
13
|
import { DragDropContext, Droppable } from '@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration';
|
|
15
14
|
import withSortedPageRows from '../../hoc/with-sorted-page-rows';
|
|
16
15
|
import TableRow from './table-row';
|
|
@@ -14,7 +14,6 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
14
14
|
import React from 'react';
|
|
15
15
|
|
|
16
16
|
// Allowing existing usage of non Pragmatic drag and drop solution
|
|
17
|
-
// eslint-disable-next-line @atlaskit/design-system/no-unsupported-drag-and-drop-libraries
|
|
18
17
|
import { Draggable } from '@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration';
|
|
19
18
|
import withDimensions
|
|
20
19
|
// @ts-ignore -- This import is required for default export
|
|
@@ -77,14 +77,14 @@ var DynamicTable = function DynamicTable(_ref) {
|
|
|
77
77
|
action: 'sorted',
|
|
78
78
|
componentName: 'dynamicTable',
|
|
79
79
|
packageName: "@atlaskit/dynamic-table",
|
|
80
|
-
packageVersion: "18.1.
|
|
80
|
+
packageVersion: "18.1.1"
|
|
81
81
|
});
|
|
82
82
|
var onRankEnd = usePlatformLeafEventHandler({
|
|
83
83
|
fn: providedOnRankEnd,
|
|
84
84
|
action: 'ranked',
|
|
85
85
|
componentName: 'dynamicTable',
|
|
86
86
|
packageName: "@atlaskit/dynamic-table",
|
|
87
|
-
packageVersion: "18.1.
|
|
87
|
+
packageVersion: "18.1.1"
|
|
88
88
|
});
|
|
89
89
|
useEffect(function () {
|
|
90
90
|
validateSortKey(sortKey, head);
|
|
@@ -32,8 +32,7 @@ var Row = function Row(_ref) {
|
|
|
32
32
|
"data-testid": cellTestId || testId && "".concat(testId, "--cell-").concat(cellIndex)
|
|
33
33
|
}, restCellProps, {
|
|
34
34
|
isFixedSize: isFixedSize,
|
|
35
|
-
key: cellIndex
|
|
36
|
-
,
|
|
35
|
+
key: cellIndex,
|
|
37
36
|
shouldTruncate: shouldTruncate,
|
|
38
37
|
width: width
|
|
39
38
|
}), content);
|
|
@@ -11,9 +11,6 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
11
11
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
12
12
|
|
|
13
13
|
import { forwardRef } from 'react';
|
|
14
|
-
|
|
15
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
|
-
|
|
17
14
|
import { B100, B50, B75, N10, N40 } from '@atlaskit/theme/colors';
|
|
18
15
|
var fixedSizeTableStyles = null;
|
|
19
16
|
var tableStyles = null;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/* empty-body.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
2
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
3
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
3
|
import "./empty-body.compiled.css";
|
|
5
4
|
import * as React from 'react';
|
|
6
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -8,9 +8,6 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
8
8
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
9
9
|
|
|
10
10
|
import { forwardRef } from 'react';
|
|
11
|
-
|
|
12
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
13
|
-
|
|
14
11
|
var containerStyles = null;
|
|
15
12
|
export var Container = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
16
13
|
var children = props.children,
|
|
@@ -7,8 +7,6 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
7
7
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8
8
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
9
9
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
|
-
|
|
12
10
|
export var CSS_VAR_CONTENTS_OPACITY = '--contents-opacity';
|
|
13
11
|
var containerStyles = null;
|
|
14
12
|
export var Container = function Container(_ref) {
|
|
@@ -5,8 +5,6 @@ var _excluded = ["isRanking", "innerRef"];
|
|
|
5
5
|
import "./table-cell.compiled.css";
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { ax, ix } from "@compiled/react/runtime";
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
|
-
|
|
10
8
|
import { TableBodyCell } from '../table-cell';
|
|
11
9
|
var rankingStyles = null;
|
|
12
10
|
|
|
@@ -6,9 +6,6 @@ import "./table-row.compiled.css";
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { ax, ix } from "@compiled/react/runtime";
|
|
8
8
|
import { forwardRef } from 'react';
|
|
9
|
-
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
|
-
|
|
12
9
|
import { B100, N20, N50A, N60A } from '@atlaskit/theme/colors';
|
|
13
10
|
import { TableBodyRow } from '../table-row';
|
|
14
11
|
var rankingStyles = null;
|
|
@@ -12,9 +12,6 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
12
12
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
13
13
|
|
|
14
14
|
import { forwardRef } from 'react';
|
|
15
|
-
|
|
16
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
|
-
|
|
18
15
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
19
16
|
import { B100, N300, N30A, N40 } from '@atlaskit/theme/colors';
|
|
20
17
|
import { ASC, DESC } from '../internal/constants';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/dynamic-table",
|
|
3
|
-
"version": "18.1.
|
|
3
|
+
"version": "18.1.1",
|
|
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/"
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"@atlaskit/analytics-next": "^11.0.0",
|
|
43
43
|
"@atlaskit/css": "^0.10.0",
|
|
44
44
|
"@atlaskit/ds-lib": "^4.0.0",
|
|
45
|
-
"@atlaskit/icon": "^
|
|
45
|
+
"@atlaskit/icon": "^26.0.0",
|
|
46
46
|
"@atlaskit/pagination": "^16.1.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
48
|
"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration": "^2.0.0",
|
|
49
|
-
"@atlaskit/primitives": "^14.
|
|
49
|
+
"@atlaskit/primitives": "^14.7.0",
|
|
50
50
|
"@atlaskit/spinner": "^18.0.0",
|
|
51
51
|
"@atlaskit/theme": "^18.0.0",
|
|
52
|
-
"@atlaskit/tokens": "^4.
|
|
52
|
+
"@atlaskit/tokens": "^4.8.0",
|
|
53
53
|
"@atlaskit/tooltip": "^20.0.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|
|
55
55
|
"@compiled/react": "^0.18.3",
|
|
@@ -60,20 +60,20 @@
|
|
|
60
60
|
"react-dom": "^18.2.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@af/accessibility-testing": "
|
|
64
|
-
"@af/integration-testing": "
|
|
65
|
-
"@af/visual-regression": "
|
|
63
|
+
"@af/accessibility-testing": "workspace:^",
|
|
64
|
+
"@af/integration-testing": "workspace:^",
|
|
65
|
+
"@af/visual-regression": "workspace:^",
|
|
66
66
|
"@atlaskit/avatar": "^25.0.0",
|
|
67
67
|
"@atlaskit/banner": "^14.0.0",
|
|
68
68
|
"@atlaskit/button": "^23.0.0",
|
|
69
69
|
"@atlaskit/docs": "^10.0.0",
|
|
70
70
|
"@atlaskit/drawer": "^10.1.0",
|
|
71
|
-
"@atlaskit/dropdown-menu": "^14.
|
|
71
|
+
"@atlaskit/dropdown-menu": "^14.1.0",
|
|
72
72
|
"@atlaskit/link": "^3.1.0",
|
|
73
|
-
"@atlaskit/pragmatic-drag-and-drop": "^1.
|
|
73
|
+
"@atlaskit/pragmatic-drag-and-drop": "^1.6.0",
|
|
74
74
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.0",
|
|
75
75
|
"@atlaskit/section-message": "^8.2.0",
|
|
76
|
-
"@atlaskit/ssr": "
|
|
76
|
+
"@atlaskit/ssr": "workspace:^",
|
|
77
77
|
"@atlaskit/toggle": "^15.0.0",
|
|
78
78
|
"@atlassian/feature-flags-storybook-utils": "^0.3.0",
|
|
79
79
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|