@atlaskit/dynamic-table 14.8.7 → 14.8.8

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.
Files changed (39) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/cjs/components/loading-container-advanced.js +6 -2
  3. package/dist/cjs/components/loading-container.js +8 -3
  4. package/dist/cjs/components/rankable/body.js +2 -1
  5. package/dist/cjs/components/rankable/table-cell.js +4 -2
  6. package/dist/cjs/components/rankable/table-row.js +2 -1
  7. package/dist/cjs/components/stateless.js +9 -4
  8. package/dist/cjs/styled/empty-body.js +9 -5
  9. package/dist/cjs/styled/loading-container-advanced.js +12 -6
  10. package/dist/cjs/styled/loading-container.js +15 -8
  11. package/dist/cjs/styled/table-row.js +1 -0
  12. package/dist/cjs/version.json +1 -1
  13. package/dist/es2019/components/loading-container-advanced.js +6 -2
  14. package/dist/es2019/components/loading-container.js +8 -3
  15. package/dist/es2019/components/rankable/body.js +2 -1
  16. package/dist/es2019/components/rankable/table-cell.js +4 -2
  17. package/dist/es2019/components/rankable/table-row.js +2 -1
  18. package/dist/es2019/components/stateless.js +9 -4
  19. package/dist/es2019/styled/empty-body.js +14 -7
  20. package/dist/es2019/styled/loading-container-advanced.js +17 -6
  21. package/dist/es2019/styled/loading-container.js +13 -7
  22. package/dist/es2019/styled/table-row.js +1 -0
  23. package/dist/es2019/version.json +1 -1
  24. package/dist/esm/components/loading-container-advanced.js +6 -2
  25. package/dist/esm/components/loading-container.js +8 -3
  26. package/dist/esm/components/rankable/body.js +2 -1
  27. package/dist/esm/components/rankable/table-cell.js +4 -2
  28. package/dist/esm/components/rankable/table-row.js +2 -1
  29. package/dist/esm/components/stateless.js +9 -4
  30. package/dist/esm/styled/empty-body.js +9 -5
  31. package/dist/esm/styled/loading-container-advanced.js +12 -3
  32. package/dist/esm/styled/loading-container.js +14 -8
  33. package/dist/esm/styled/table-row.js +1 -0
  34. package/dist/esm/version.json +1 -1
  35. package/dist/types/styled/empty-body.d.ts +6 -2
  36. package/dist/types/styled/loading-container-advanced.d.ts +8 -2
  37. package/dist/types/styled/loading-container.d.ts +8 -2
  38. package/package.json +2 -2
  39. package/report.api.md +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/dynamic-table
2
2
 
3
+ ## 14.8.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`f96f3ebd861`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f96f3ebd861) - [ux] Use color.background.neutral.subtle token to represent transparent background.
8
+ - [`d0298c778ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d0298c778ed) - Added additional testId props for testing purposes
9
+
3
10
  ## 14.8.7
4
11
 
5
12
  ### Patch Changes
@@ -237,11 +237,15 @@ var LoadingContainerAdvanced = /*#__PURE__*/function (_React$Component) {
237
237
  isLoading = _this$props2.isLoading,
238
238
  spinnerSize = _this$props2.spinnerSize,
239
239
  testId = _this$props2.testId;
240
- return /*#__PURE__*/_react.default.createElement(_loadingContainerAdvanced.Container, null, /*#__PURE__*/_react.default.cloneElement(children, {
240
+ return /*#__PURE__*/_react.default.createElement(_loadingContainerAdvanced.Container, {
241
+ testId: testId && "".concat(testId, "--loading--container--advanced")
242
+ }, /*#__PURE__*/_react.default.cloneElement(children, {
241
243
  ref: function ref(el) {
242
244
  _this2.children = el;
243
245
  }
244
- }), isLoading && /*#__PURE__*/_react.default.createElement(_loadingContainerAdvanced.SpinnerBackdrop, null, /*#__PURE__*/_react.default.createElement(_loadingContainerAdvanced.SpinnerContainer, {
246
+ }), isLoading && /*#__PURE__*/_react.default.createElement(_loadingContainerAdvanced.SpinnerBackdrop, {
247
+ testId: testId
248
+ }, /*#__PURE__*/_react.default.createElement(_loadingContainerAdvanced.SpinnerContainer, {
245
249
  ref: function ref(el) {
246
250
  return _this2.spinnerRef = el;
247
251
  }
@@ -50,9 +50,14 @@ var LoadingContainer = /*#__PURE__*/function (_React$Component) {
50
50
  spinnerSize = _this$props.spinnerSize,
51
51
  contentsOpacity = _this$props.contentsOpacity,
52
52
  testId = _this$props.testId;
53
- return /*#__PURE__*/_react.default.createElement(_loadingContainer.Container, null, !isLoading ? children : /*#__PURE__*/_react.default.createElement(_loadingContainer.ContentsContainer, {
54
- contentsOpacity: contentsOpacity
55
- }, children), isLoading && /*#__PURE__*/_react.default.createElement(_loadingContainer.SpinnerContainer, null, /*#__PURE__*/_react.default.createElement(_spinner.default, {
53
+ return /*#__PURE__*/_react.default.createElement(_loadingContainer.Container, {
54
+ testId: testId
55
+ }, !isLoading ? children : /*#__PURE__*/_react.default.createElement(_loadingContainer.ContentsContainer, {
56
+ contentsOpacity: contentsOpacity,
57
+ testId: testId
58
+ }, children), isLoading && /*#__PURE__*/_react.default.createElement(_loadingContainer.SpinnerContainer, {
59
+ testId: testId
60
+ }, /*#__PURE__*/_react.default.createElement(_spinner.default, {
56
61
  size: spinnerSize,
57
62
  testId: testId && "".concat(testId, "--loadingSpinner")
58
63
  })));
@@ -130,7 +130,8 @@ var RankableBody = /*#__PURE__*/function (_React$Component) {
130
130
  rowIndex: rowIndex,
131
131
  row: row,
132
132
  isRankingDisabled: isRankingDisabled,
133
- isHighlighted: !!highlightedRowIndex && (typeof highlightedRowIndex === 'number' ? highlightedRowIndex === rowIndex : highlightedRowIndex.indexOf(rowIndex) > -1)
133
+ isHighlighted: !!highlightedRowIndex && (typeof highlightedRowIndex === 'number' ? highlightedRowIndex === rowIndex : highlightedRowIndex.indexOf(rowIndex) > -1),
134
+ testId: "".concat(testId, "--rankable--table--row")
134
135
  });
135
136
  }), provided.placeholder);
136
137
  }));
@@ -54,7 +54,8 @@ var RankableTableCell = /*#__PURE__*/function (_React$Component) {
54
54
  isFixedSize = _this$props.isFixedSize,
55
55
  isRanking = _this$props.isRanking,
56
56
  refWidth = _this$props.refWidth,
57
- innerRef = _this$props.innerRef;
57
+ innerRef = _this$props.innerRef,
58
+ testId = _this$props.testId;
58
59
  var content = cell.content,
59
60
  restCellProps = (0, _objectWithoutProperties2.default)(cell, _excluded);
60
61
 
@@ -72,7 +73,8 @@ var RankableTableCell = /*#__PURE__*/function (_React$Component) {
72
73
  onKeyDown: function onKeyDown(e) {
73
74
  return e.stopPropagation();
74
75
  },
75
- innerRef: innerRef
76
+ innerRef: innerRef,
77
+ "data-testid": testId && "".concat(testId, "--rankable--table--body--cell")
76
78
  }), content);
77
79
  }
78
80
  }]);
@@ -108,7 +108,8 @@ var RankableTableRow = /*#__PURE__*/function (_React$Component) {
108
108
  style: _objectSpread(_objectSpread({}, provided.draggableProps.style), inlineStyles),
109
109
  isHighlighted: isHighlighted,
110
110
  isRanking: isRanking,
111
- isRankingItem: snapshot.isDragging
111
+ isRankingItem: snapshot.isDragging,
112
+ "data-testid": testId && "".concat(testId, "--rankable--table--body--row")
112
113
  }), cells.map(function (cell, cellIndex) {
113
114
  var headCell = (head || {
114
115
  cells: []
@@ -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.8.7";
57
+ var packageVersion = "14.8.8";
58
58
 
59
59
  function toggleSortOrder(currentSortOrder) {
60
60
  switch (currentSortOrder) {
@@ -161,13 +161,18 @@ var DynamicTable = /*#__PURE__*/function (_React$Component) {
161
161
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "renderEmptyBody", function () {
162
162
  var _this$props3 = _this.props,
163
163
  emptyView = _this$props3.emptyView,
164
- isLoading = _this$props3.isLoading;
164
+ isLoading = _this$props3.isLoading,
165
+ testId = _this$props3.testId;
165
166
 
166
167
  if (isLoading) {
167
- return /*#__PURE__*/_react.default.createElement(_emptyBody.EmptyViewWithFixedHeight, null);
168
+ return /*#__PURE__*/_react.default.createElement(_emptyBody.EmptyViewWithFixedHeight, {
169
+ testId: testId
170
+ });
168
171
  }
169
172
 
170
- return emptyView && /*#__PURE__*/_react.default.createElement(_emptyBody.EmptyViewContainer, null, emptyView);
173
+ return emptyView && /*#__PURE__*/_react.default.createElement(_emptyBody.EmptyViewContainer, {
174
+ testId: testId
175
+ }, emptyView);
171
176
  });
172
177
  return _this;
173
178
  }
@@ -17,9 +17,11 @@ var fixedHeightStyles = (0, _react.css)({
17
17
  });
18
18
 
19
19
  var EmptyViewWithFixedHeight = function EmptyViewWithFixedHeight(_ref) {
20
- var children = _ref.children;
20
+ var children = _ref.children,
21
+ testId = _ref.testId;
21
22
  return (0, _react.jsx)("div", {
22
- css: fixedHeightStyles
23
+ css: fixedHeightStyles,
24
+ "data-testid": testId && "".concat(testId, "--empty-view-with-fixed-height")
23
25
  }, children);
24
26
  };
25
27
 
@@ -31,10 +33,12 @@ var emptyViewContainerStyles = (0, _react.css)({
31
33
  textAlign: 'center'
32
34
  });
33
35
 
34
- var EmptyViewContainer = function EmptyViewContainer(_ref2) {
35
- var children = _ref2.children;
36
+ var EmptyViewContainer = function EmptyViewContainer(props) {
37
+ var children = props.children,
38
+ testId = props.testId;
36
39
  return (0, _react.jsx)("div", {
37
- css: emptyViewContainerStyles
40
+ css: emptyViewContainerStyles,
41
+ "data-testid": testId && "".concat(testId, "--empty-view-container")
38
42
  }, children);
39
43
  };
40
44
 
@@ -9,13 +9,13 @@ exports.SpinnerContainer = exports.SpinnerBackdrop = exports.Container = void 0;
9
9
 
10
10
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
11
 
12
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
13
+
12
14
  var _react = require("react");
13
15
 
14
16
  var _react2 = require("@emotion/react");
15
17
 
16
- /* eslint-disable @repo/internal/react/require-jsdoc */
17
-
18
- /** @jsx jsx */
18
+ var _excluded = ["testId"];
19
19
  var containerStyles = (0, _react2.css)({
20
20
  // TODO Delete this comment after verifying spacing token -> previous value ``${gridSize() * 3}px``
21
21
  marginBottom: "var(--ds-scale-300, 24px)",
@@ -23,10 +23,14 @@ var containerStyles = (0, _react2.css)({
23
23
  });
24
24
 
25
25
  var Container = function Container(props) {
26
+ var testId = props.testId,
27
+ rest = (0, _objectWithoutProperties2.default)(props, _excluded);
26
28
  return (// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
27
29
  (0, _react2.jsx)("div", (0, _extends2.default)({
28
30
  css: containerStyles
29
- }, props))
31
+ }, rest, {
32
+ "data-testid": testId
33
+ }))
30
34
  );
31
35
  };
32
36
 
@@ -44,9 +48,11 @@ var spinnerBackdropStyles = (0, _react2.css)({
44
48
  });
45
49
 
46
50
  var SpinnerBackdrop = function SpinnerBackdrop(_ref) {
47
- var children = _ref.children;
51
+ var children = _ref.children,
52
+ testId = _ref.testId;
48
53
  return (0, _react2.jsx)("div", {
49
- css: spinnerBackdropStyles
54
+ css: spinnerBackdropStyles,
55
+ "data-testid": testId && "".concat(testId, "--spinner-backdrop")
50
56
  }, children);
51
57
  };
52
58
 
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.SpinnerContainer = exports.ContentsContainer = exports.Container = void 0;
8
+ exports.SpinnerContainer = exports.ContentsContainer = exports.Container = exports.CSS_VAR_CONTENTS_OPACITY = void 0;
9
9
 
10
10
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
11
11
 
@@ -15,14 +15,17 @@ var _react = require("@emotion/react");
15
15
 
16
16
  /** @jsx jsx */
17
17
  var CSS_VAR_CONTENTS_OPACITY = '--contents-opacity';
18
+ exports.CSS_VAR_CONTENTS_OPACITY = CSS_VAR_CONTENTS_OPACITY;
18
19
  var containerStyles = (0, _react.css)({
19
20
  position: 'relative'
20
21
  });
21
22
 
22
23
  var Container = function Container(_ref) {
23
- var children = _ref.children;
24
+ var children = _ref.children,
25
+ testId = _ref.testId;
24
26
  return (0, _react.jsx)("div", {
25
- css: containerStyles
27
+ css: containerStyles,
28
+ "data-testid": testId && "".concat(testId, "--container")
26
29
  }, children);
27
30
  };
28
31
 
@@ -33,11 +36,13 @@ var contentsContainerStyles = (0, _react.css)({
33
36
  });
34
37
 
35
38
  var ContentsContainer = function ContentsContainer(_ref2) {
36
- var contentsOpacity = _ref2.contentsOpacity,
37
- children = _ref2.children;
39
+ var children = _ref2.children,
40
+ contentsOpacity = _ref2.contentsOpacity,
41
+ testId = _ref2.testId;
38
42
  return (0, _react.jsx)("div", {
39
43
  style: (0, _defineProperty2.default)({}, CSS_VAR_CONTENTS_OPACITY, contentsOpacity),
40
- css: [contentsContainerStyles]
44
+ css: [contentsContainerStyles],
45
+ "data-testid": testId && "".concat(testId, "--contents--container")
41
46
  }, children);
42
47
  };
43
48
 
@@ -54,9 +59,11 @@ var spinnerContainerStyles = (0, _react.css)({
54
59
  });
55
60
 
56
61
  var SpinnerContainer = function SpinnerContainer(_ref4) {
57
- var children = _ref4.children;
62
+ var children = _ref4.children,
63
+ testId = _ref4.testId;
58
64
  return (0, _react.jsx)("div", {
59
- css: spinnerContainerStyles
65
+ css: spinnerContainerStyles,
66
+ "data-testid": testId && "".concat(testId, "--spinner--container")
60
67
  }, children);
61
68
  };
62
69
 
@@ -19,6 +19,7 @@ var _dynamicTable = require("./dynamic-table");
19
19
 
20
20
  var _excluded = ["isHighlighted", "children", "style"];
21
21
  var rowStyles = (0, _react2.css)({
22
+ backgroundColor: "var(--ds-background-neutral-subtle, transparent)",
22
23
  '&:focus': {
23
24
  outline: "2px solid ".concat("var(--ds-border-focused, ".concat("var(".concat(_dynamicTable.tableRowCSSVars.CSS_VAR_HOVER_BACKGROUND, ")"), ")")),
24
25
  outlineOffset: "-2px"
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/dynamic-table",
3
- "version": "14.8.7",
3
+ "version": "14.8.8",
4
4
  "sideEffects": false
5
5
  }
@@ -196,11 +196,15 @@ export default class LoadingContainerAdvanced extends React.Component {
196
196
  spinnerSize,
197
197
  testId
198
198
  } = this.props;
199
- return /*#__PURE__*/React.createElement(Container, null, /*#__PURE__*/React.cloneElement(children, {
199
+ return /*#__PURE__*/React.createElement(Container, {
200
+ testId: testId && `${testId}--loading--container--advanced`
201
+ }, /*#__PURE__*/React.cloneElement(children, {
200
202
  ref: el => {
201
203
  this.children = el;
202
204
  }
203
- }), isLoading && /*#__PURE__*/React.createElement(SpinnerBackdrop, null, /*#__PURE__*/React.createElement(SpinnerContainer, {
205
+ }), isLoading && /*#__PURE__*/React.createElement(SpinnerBackdrop, {
206
+ testId: testId
207
+ }, /*#__PURE__*/React.createElement(SpinnerContainer, {
204
208
  ref: el => this.spinnerRef = el
205
209
  }, /*#__PURE__*/React.createElement(Spinner, {
206
210
  size: spinnerSize,
@@ -12,9 +12,14 @@ export default class LoadingContainer extends React.Component {
12
12
  contentsOpacity,
13
13
  testId
14
14
  } = this.props;
15
- return /*#__PURE__*/React.createElement(Container, null, !isLoading ? children : /*#__PURE__*/React.createElement(ContentsContainer, {
16
- contentsOpacity: contentsOpacity
17
- }, children), isLoading && /*#__PURE__*/React.createElement(SpinnerContainer, null, /*#__PURE__*/React.createElement(Spinner, {
15
+ return /*#__PURE__*/React.createElement(Container, {
16
+ testId: testId
17
+ }, !isLoading ? children : /*#__PURE__*/React.createElement(ContentsContainer, {
18
+ contentsOpacity: contentsOpacity,
19
+ testId: testId
20
+ }, children), isLoading && /*#__PURE__*/React.createElement(SpinnerContainer, {
21
+ testId: testId
22
+ }, /*#__PURE__*/React.createElement(Spinner, {
18
23
  size: spinnerSize,
19
24
  testId: testId && `${testId}--loadingSpinner`
20
25
  })));
@@ -100,7 +100,8 @@ export class RankableBody extends React.Component {
100
100
  rowIndex: rowIndex,
101
101
  row: row,
102
102
  isRankingDisabled: isRankingDisabled,
103
- isHighlighted: !!highlightedRowIndex && (typeof highlightedRowIndex === 'number' ? highlightedRowIndex === rowIndex : highlightedRowIndex.indexOf(rowIndex) > -1)
103
+ isHighlighted: !!highlightedRowIndex && (typeof highlightedRowIndex === 'number' ? highlightedRowIndex === rowIndex : highlightedRowIndex.indexOf(rowIndex) > -1),
104
+ testId: `${testId}--rankable--table--row`
104
105
  })), provided.placeholder)));
105
106
  }
106
107
 
@@ -11,7 +11,8 @@ export class RankableTableCell extends React.Component {
11
11
  isFixedSize,
12
12
  isRanking,
13
13
  refWidth,
14
- innerRef
14
+ innerRef,
15
+ testId
15
16
  } = this.props;
16
17
  const {
17
18
  content,
@@ -29,7 +30,8 @@ export class RankableTableCell extends React.Component {
29
30
  isRanking: isRanking,
30
31
  style: inlineStyles,
31
32
  onKeyDown: e => e.stopPropagation(),
32
- innerRef: innerRef
33
+ innerRef: innerRef,
34
+ "data-testid": testId && `${testId}--rankable--table--body--cell`
33
35
  }), content);
34
36
  }
35
37
 
@@ -53,7 +53,8 @@ export class RankableTableRow extends React.Component {
53
53
  },
54
54
  isHighlighted: isHighlighted,
55
55
  isRanking: isRanking,
56
- isRankingItem: snapshot.isDragging
56
+ isRankingItem: snapshot.isDragging,
57
+ "data-testid": testId && `${testId}--rankable--table--body--row`
57
58
  }), cells.map((cell, cellIndex) => {
58
59
  const headCell = (head || {
59
60
  cells: []
@@ -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.8.7";
17
+ const packageVersion = "14.8.8";
18
18
 
19
19
  function toggleSortOrder(currentSortOrder) {
20
20
  switch (currentSortOrder) {
@@ -120,14 +120,19 @@ class DynamicTable extends React.Component {
120
120
  _defineProperty(this, "renderEmptyBody", () => {
121
121
  const {
122
122
  emptyView,
123
- isLoading
123
+ isLoading,
124
+ testId
124
125
  } = this.props;
125
126
 
126
127
  if (isLoading) {
127
- return /*#__PURE__*/React.createElement(EmptyViewWithFixedHeight, null);
128
+ return /*#__PURE__*/React.createElement(EmptyViewWithFixedHeight, {
129
+ testId: testId
130
+ });
128
131
  }
129
132
 
130
- return emptyView && /*#__PURE__*/React.createElement(EmptyViewContainer, null, emptyView);
133
+ return emptyView && /*#__PURE__*/React.createElement(EmptyViewContainer, {
134
+ testId: testId
135
+ }, emptyView);
131
136
  });
132
137
  }
133
138
 
@@ -7,9 +7,11 @@ const fixedHeightStyles = css({
7
7
  height: `${gridSize() * 18}px`
8
8
  });
9
9
  export const EmptyViewWithFixedHeight = ({
10
- children
10
+ children,
11
+ testId
11
12
  }) => jsx("div", {
12
- css: fixedHeightStyles
13
+ css: fixedHeightStyles,
14
+ "data-testid": testId && `${testId}--empty-view-with-fixed-height`
13
15
  }, children);
14
16
  const emptyViewContainerStyles = css({
15
17
  width: '50%',
@@ -17,8 +19,13 @@ const emptyViewContainerStyles = css({
17
19
  padding: '10px',
18
20
  textAlign: 'center'
19
21
  });
20
- export const EmptyViewContainer = ({
21
- children
22
- }) => jsx("div", {
23
- css: emptyViewContainerStyles
24
- }, children);
22
+ export const EmptyViewContainer = props => {
23
+ const {
24
+ children,
25
+ testId
26
+ } = props;
27
+ return jsx("div", {
28
+ css: emptyViewContainerStyles,
29
+ "data-testid": testId && `${testId}--empty-view-container`
30
+ }, children);
31
+ };
@@ -10,10 +10,19 @@ const containerStyles = css({
10
10
  marginBottom: "var(--ds-scale-300, 24px)",
11
11
  position: 'relative'
12
12
  });
13
- export const Container = props => // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
14
- jsx("div", _extends({
15
- css: containerStyles
16
- }, props));
13
+ export const Container = props => {
14
+ const {
15
+ testId,
16
+ ...rest
17
+ } = props;
18
+ return (// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
19
+ jsx("div", _extends({
20
+ css: containerStyles
21
+ }, rest, {
22
+ "data-testid": testId
23
+ }))
24
+ );
25
+ };
17
26
  const spinnerBackdropStyles = css({
18
27
  display: 'flex',
19
28
  position: 'absolute',
@@ -26,9 +35,11 @@ const spinnerBackdropStyles = css({
26
35
  pointerEvents: 'none'
27
36
  });
28
37
  export const SpinnerBackdrop = ({
29
- children
38
+ children,
39
+ testId
30
40
  }) => jsx("div", {
31
- css: spinnerBackdropStyles
41
+ css: spinnerBackdropStyles,
42
+ "data-testid": testId && `${testId}--spinner-backdrop`
32
43
  }, children);
33
44
  const spinnerContainerStyles = css({
34
45
  position: 'relative',
@@ -2,27 +2,31 @@
2
2
 
3
3
  /** @jsx jsx */
4
4
  import { css, jsx } from '@emotion/react';
5
- const CSS_VAR_CONTENTS_OPACITY = '--contents-opacity';
5
+ export const CSS_VAR_CONTENTS_OPACITY = '--contents-opacity';
6
6
  const containerStyles = css({
7
7
  position: 'relative'
8
8
  });
9
9
  export const Container = ({
10
- children
10
+ children,
11
+ testId
11
12
  }) => jsx("div", {
12
- css: containerStyles
13
+ css: containerStyles,
14
+ "data-testid": testId && `${testId}--container`
13
15
  }, children);
14
16
  const contentsContainerStyles = css({
15
17
  opacity: `var(${CSS_VAR_CONTENTS_OPACITY})`,
16
18
  pointerEvents: 'none'
17
19
  });
18
20
  export const ContentsContainer = ({
21
+ children,
19
22
  contentsOpacity,
20
- children
23
+ testId
21
24
  }) => jsx("div", {
22
25
  style: {
23
26
  [CSS_VAR_CONTENTS_OPACITY]: contentsOpacity
24
27
  },
25
- css: [contentsContainerStyles]
28
+ css: [contentsContainerStyles],
29
+ "data-testid": testId && `${testId}--contents--container`
26
30
  }, children);
27
31
  const spinnerContainerStyles = css({
28
32
  display: 'flex',
@@ -35,7 +39,9 @@ const spinnerContainerStyles = css({
35
39
  justifyContent: 'center'
36
40
  });
37
41
  export const SpinnerContainer = ({
38
- children
42
+ children,
43
+ testId
39
44
  }) => jsx("div", {
40
- css: spinnerContainerStyles
45
+ css: spinnerContainerStyles,
46
+ "data-testid": testId && `${testId}--spinner--container`
41
47
  }, children);
@@ -5,6 +5,7 @@ import { forwardRef } from 'react';
5
5
  import { css, jsx } from '@emotion/react';
6
6
  import { tableRowCSSVars as cssVars } from './dynamic-table';
7
7
  const rowStyles = css({
8
+ backgroundColor: "var(--ds-background-neutral-subtle, transparent)",
8
9
  '&:focus': {
9
10
  outline: `2px solid ${`var(--ds-border-focused, ${`var(${cssVars.CSS_VAR_HOVER_BACKGROUND})`})`}`,
10
11
  outlineOffset: `-2px`
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/dynamic-table",
3
- "version": "14.8.7",
3
+ "version": "14.8.8",
4
4
  "sideEffects": false
5
5
  }
@@ -233,11 +233,15 @@ var LoadingContainerAdvanced = /*#__PURE__*/function (_React$Component) {
233
233
  isLoading = _this$props2.isLoading,
234
234
  spinnerSize = _this$props2.spinnerSize,
235
235
  testId = _this$props2.testId;
236
- return /*#__PURE__*/React.createElement(Container, null, /*#__PURE__*/React.cloneElement(children, {
236
+ return /*#__PURE__*/React.createElement(Container, {
237
+ testId: testId && "".concat(testId, "--loading--container--advanced")
238
+ }, /*#__PURE__*/React.cloneElement(children, {
237
239
  ref: function ref(el) {
238
240
  _this2.children = el;
239
241
  }
240
- }), isLoading && /*#__PURE__*/React.createElement(SpinnerBackdrop, null, /*#__PURE__*/React.createElement(SpinnerContainer, {
242
+ }), isLoading && /*#__PURE__*/React.createElement(SpinnerBackdrop, {
243
+ testId: testId
244
+ }, /*#__PURE__*/React.createElement(SpinnerContainer, {
241
245
  ref: function ref(el) {
242
246
  return _this2.spinnerRef = el;
243
247
  }
@@ -34,9 +34,14 @@ var LoadingContainer = /*#__PURE__*/function (_React$Component) {
34
34
  spinnerSize = _this$props.spinnerSize,
35
35
  contentsOpacity = _this$props.contentsOpacity,
36
36
  testId = _this$props.testId;
37
- return /*#__PURE__*/React.createElement(Container, null, !isLoading ? children : /*#__PURE__*/React.createElement(ContentsContainer, {
38
- contentsOpacity: contentsOpacity
39
- }, children), isLoading && /*#__PURE__*/React.createElement(SpinnerContainer, null, /*#__PURE__*/React.createElement(Spinner, {
37
+ return /*#__PURE__*/React.createElement(Container, {
38
+ testId: testId
39
+ }, !isLoading ? children : /*#__PURE__*/React.createElement(ContentsContainer, {
40
+ contentsOpacity: contentsOpacity,
41
+ testId: testId
42
+ }, children), isLoading && /*#__PURE__*/React.createElement(SpinnerContainer, {
43
+ testId: testId
44
+ }, /*#__PURE__*/React.createElement(Spinner, {
40
45
  size: spinnerSize,
41
46
  testId: testId && "".concat(testId, "--loadingSpinner")
42
47
  })));
@@ -114,7 +114,8 @@ export var RankableBody = /*#__PURE__*/function (_React$Component) {
114
114
  rowIndex: rowIndex,
115
115
  row: row,
116
116
  isRankingDisabled: isRankingDisabled,
117
- isHighlighted: !!highlightedRowIndex && (typeof highlightedRowIndex === 'number' ? highlightedRowIndex === rowIndex : highlightedRowIndex.indexOf(rowIndex) > -1)
117
+ isHighlighted: !!highlightedRowIndex && (typeof highlightedRowIndex === 'number' ? highlightedRowIndex === rowIndex : highlightedRowIndex.indexOf(rowIndex) > -1),
118
+ testId: "".concat(testId, "--rankable--table--row")
118
119
  });
119
120
  }), provided.placeholder);
120
121
  }));
@@ -35,7 +35,8 @@ export var RankableTableCell = /*#__PURE__*/function (_React$Component) {
35
35
  isFixedSize = _this$props.isFixedSize,
36
36
  isRanking = _this$props.isRanking,
37
37
  refWidth = _this$props.refWidth,
38
- innerRef = _this$props.innerRef;
38
+ innerRef = _this$props.innerRef,
39
+ testId = _this$props.testId;
39
40
 
40
41
  var content = cell.content,
41
42
  restCellProps = _objectWithoutProperties(cell, _excluded);
@@ -54,7 +55,8 @@ export var RankableTableCell = /*#__PURE__*/function (_React$Component) {
54
55
  onKeyDown: function onKeyDown(e) {
55
56
  return e.stopPropagation();
56
57
  },
57
- innerRef: innerRef
58
+ innerRef: innerRef,
59
+ "data-testid": testId && "".concat(testId, "--rankable--table--body--cell")
58
60
  }), content);
59
61
  }
60
62
  }]);
@@ -88,7 +88,8 @@ export var RankableTableRow = /*#__PURE__*/function (_React$Component) {
88
88
  style: _objectSpread(_objectSpread({}, provided.draggableProps.style), inlineStyles),
89
89
  isHighlighted: isHighlighted,
90
90
  isRanking: isRanking,
91
- isRankingItem: snapshot.isDragging
91
+ isRankingItem: snapshot.isDragging,
92
+ "data-testid": testId && "".concat(testId, "--rankable--table--body--row")
92
93
  }), cells.map(function (cell, cellIndex) {
93
94
  var headCell = (head || {
94
95
  cells: []
@@ -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.8.7";
28
+ var packageVersion = "14.8.8";
29
29
 
30
30
  function toggleSortOrder(currentSortOrder) {
31
31
  switch (currentSortOrder) {
@@ -139,13 +139,18 @@ var DynamicTable = /*#__PURE__*/function (_React$Component) {
139
139
  _defineProperty(_assertThisInitialized(_this), "renderEmptyBody", function () {
140
140
  var _this$props3 = _this.props,
141
141
  emptyView = _this$props3.emptyView,
142
- isLoading = _this$props3.isLoading;
142
+ isLoading = _this$props3.isLoading,
143
+ testId = _this$props3.testId;
143
144
 
144
145
  if (isLoading) {
145
- return /*#__PURE__*/React.createElement(EmptyViewWithFixedHeight, null);
146
+ return /*#__PURE__*/React.createElement(EmptyViewWithFixedHeight, {
147
+ testId: testId
148
+ });
146
149
  }
147
150
 
148
- return emptyView && /*#__PURE__*/React.createElement(EmptyViewContainer, null, emptyView);
151
+ return emptyView && /*#__PURE__*/React.createElement(EmptyViewContainer, {
152
+ testId: testId
153
+ }, emptyView);
149
154
  });
150
155
 
151
156
  return _this;
@@ -7,9 +7,11 @@ var fixedHeightStyles = css({
7
7
  height: "".concat(gridSize() * 18, "px")
8
8
  });
9
9
  export var EmptyViewWithFixedHeight = function EmptyViewWithFixedHeight(_ref) {
10
- var children = _ref.children;
10
+ var children = _ref.children,
11
+ testId = _ref.testId;
11
12
  return jsx("div", {
12
- css: fixedHeightStyles
13
+ css: fixedHeightStyles,
14
+ "data-testid": testId && "".concat(testId, "--empty-view-with-fixed-height")
13
15
  }, children);
14
16
  };
15
17
  var emptyViewContainerStyles = css({
@@ -18,9 +20,11 @@ var emptyViewContainerStyles = css({
18
20
  padding: '10px',
19
21
  textAlign: 'center'
20
22
  });
21
- export var EmptyViewContainer = function EmptyViewContainer(_ref2) {
22
- var children = _ref2.children;
23
+ export var EmptyViewContainer = function EmptyViewContainer(props) {
24
+ var children = props.children,
25
+ testId = props.testId;
23
26
  return jsx("div", {
24
- css: emptyViewContainerStyles
27
+ css: emptyViewContainerStyles,
28
+ "data-testid": testId && "".concat(testId, "--empty-view-container")
25
29
  }, children);
26
30
  };
@@ -1,4 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
+ var _excluded = ["testId"];
2
4
 
3
5
  /* eslint-disable @repo/internal/react/require-jsdoc */
4
6
 
@@ -11,10 +13,15 @@ var containerStyles = css({
11
13
  position: 'relative'
12
14
  });
13
15
  export var Container = function Container(props) {
16
+ var testId = props.testId,
17
+ rest = _objectWithoutProperties(props, _excluded);
18
+
14
19
  return (// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
15
20
  jsx("div", _extends({
16
21
  css: containerStyles
17
- }, props))
22
+ }, rest, {
23
+ "data-testid": testId
24
+ }))
18
25
  );
19
26
  };
20
27
  var spinnerBackdropStyles = css({
@@ -29,9 +36,11 @@ var spinnerBackdropStyles = css({
29
36
  pointerEvents: 'none'
30
37
  });
31
38
  export var SpinnerBackdrop = function SpinnerBackdrop(_ref) {
32
- var children = _ref.children;
39
+ var children = _ref.children,
40
+ testId = _ref.testId;
33
41
  return jsx("div", {
34
- css: spinnerBackdropStyles
42
+ css: spinnerBackdropStyles,
43
+ "data-testid": testId && "".concat(testId, "--spinner-backdrop")
35
44
  }, children);
36
45
  };
37
46
  var spinnerContainerStyles = css({
@@ -4,14 +4,16 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
 
5
5
  /** @jsx jsx */
6
6
  import { css, jsx } from '@emotion/react';
7
- var CSS_VAR_CONTENTS_OPACITY = '--contents-opacity';
7
+ export var CSS_VAR_CONTENTS_OPACITY = '--contents-opacity';
8
8
  var containerStyles = css({
9
9
  position: 'relative'
10
10
  });
11
11
  export var Container = function Container(_ref) {
12
- var children = _ref.children;
12
+ var children = _ref.children,
13
+ testId = _ref.testId;
13
14
  return jsx("div", {
14
- css: containerStyles
15
+ css: containerStyles,
16
+ "data-testid": testId && "".concat(testId, "--container")
15
17
  }, children);
16
18
  };
17
19
  var contentsContainerStyles = css({
@@ -19,11 +21,13 @@ var contentsContainerStyles = css({
19
21
  pointerEvents: 'none'
20
22
  });
21
23
  export var ContentsContainer = function ContentsContainer(_ref2) {
22
- var contentsOpacity = _ref2.contentsOpacity,
23
- children = _ref2.children;
24
+ var children = _ref2.children,
25
+ contentsOpacity = _ref2.contentsOpacity,
26
+ testId = _ref2.testId;
24
27
  return jsx("div", {
25
28
  style: _defineProperty({}, CSS_VAR_CONTENTS_OPACITY, contentsOpacity),
26
- css: [contentsContainerStyles]
29
+ css: [contentsContainerStyles],
30
+ "data-testid": testId && "".concat(testId, "--contents--container")
27
31
  }, children);
28
32
  };
29
33
  var spinnerContainerStyles = css({
@@ -37,8 +41,10 @@ var spinnerContainerStyles = css({
37
41
  justifyContent: 'center'
38
42
  });
39
43
  export var SpinnerContainer = function SpinnerContainer(_ref4) {
40
- var children = _ref4.children;
44
+ var children = _ref4.children,
45
+ testId = _ref4.testId;
41
46
  return jsx("div", {
42
- css: spinnerContainerStyles
47
+ css: spinnerContainerStyles,
48
+ "data-testid": testId && "".concat(testId, "--spinner--container")
43
49
  }, children);
44
50
  };
@@ -7,6 +7,7 @@ import { forwardRef } from 'react';
7
7
  import { css, jsx } from '@emotion/react';
8
8
  import { tableRowCSSVars as cssVars } from './dynamic-table';
9
9
  var rowStyles = css({
10
+ backgroundColor: "var(--ds-background-neutral-subtle, transparent)",
10
11
  '&:focus': {
11
12
  outline: "2px solid ".concat("var(--ds-border-focused, ".concat("var(".concat(cssVars.CSS_VAR_HOVER_BACKGROUND, ")"), ")")),
12
13
  outlineOffset: "-2px"
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/dynamic-table",
3
- "version": "14.8.7",
3
+ "version": "14.8.8",
4
4
  "sideEffects": false
5
5
  }
@@ -1,4 +1,8 @@
1
1
  /** @jsx jsx */
2
2
  import { FC } from 'react';
3
- export declare const EmptyViewWithFixedHeight: FC;
4
- export declare const EmptyViewContainer: FC;
3
+ export declare const EmptyViewWithFixedHeight: FC<{
4
+ testId?: string;
5
+ }>;
6
+ export declare const EmptyViewContainer: FC<{
7
+ testId?: string;
8
+ }>;
@@ -1,6 +1,12 @@
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;
5
- export declare const SpinnerBackdrop: FC;
4
+ declare type ContainerProps = HTMLProps<HTMLDivElement> & {
5
+ testId?: string;
6
+ };
7
+ export declare const Container: (props: ContainerProps) => jsx.JSX.Element;
8
+ export declare const SpinnerBackdrop: FC<{
9
+ testId?: string;
10
+ }>;
6
11
  export declare const SpinnerContainer: import("react").ForwardRefExoticComponent<Pick<HTMLProps<HTMLDivElement>, "headers" | "method" | "rows" | "label" | "cite" | "data" | "form" | "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" | "width" | "height" | "content" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "type" | "useMap" | "value" | "wmode" | "wrap"> & import("react").RefAttributes<HTMLDivElement>>;
12
+ export {};
@@ -1,9 +1,15 @@
1
1
  /** @jsx jsx */
2
2
  import { FC } from 'react';
3
+ export declare const CSS_VAR_CONTENTS_OPACITY = "--contents-opacity";
3
4
  declare type LoadingContainerProps = {
4
5
  contentsOpacity: number;
6
+ testId?: string;
5
7
  };
6
- export declare const Container: FC;
8
+ export declare const Container: FC<{
9
+ testId?: string;
10
+ }>;
7
11
  export declare const ContentsContainer: FC<LoadingContainerProps>;
8
- export declare const SpinnerContainer: FC;
12
+ export declare const SpinnerContainer: FC<{
13
+ testId?: string;
14
+ }>;
9
15
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/dynamic-table",
3
- "version": "14.8.7",
3
+ "version": "14.8.8",
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/"
@@ -52,7 +52,7 @@
52
52
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
53
53
  "@emotion/styled": "^11.0.0",
54
54
  "@testing-library/react": "^12.1.5",
55
- "enzyme": "^3.10.0",
55
+ "@testing-library/user-event": "^14.4.3",
56
56
  "react-dom": "^16.8.0",
57
57
  "typescript": "4.5.5",
58
58
  "uuid": "^3.1.0"
package/report.api.md CHANGED
@@ -1,4 +1,4 @@
1
- <!-- API Report Version: 2.2 -->
1
+ <!-- API Report Version: 2.3 -->
2
2
 
3
3
  ## API Report File for "@atlaskit/dynamic-table"
4
4