@atlaskit/dynamic-table 17.0.3 → 17.0.5

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 (40) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/components/rankable/table-row.js +5 -6
  3. package/dist/cjs/components/stateless.js +2 -2
  4. package/dist/cjs/components/table-head-cell.compiled.css +8 -3
  5. package/dist/cjs/components/table-head-cell.js +4 -4
  6. package/dist/es2019/components/body.js +3 -1
  7. package/dist/es2019/components/rankable/table-cell.js +3 -1
  8. package/dist/es2019/components/rankable/table-head-cell-old.js +3 -1
  9. package/dist/es2019/components/rankable/table-head-cell.js +3 -1
  10. package/dist/es2019/components/rankable/table-row.js +8 -6
  11. package/dist/es2019/components/stateless.js +2 -2
  12. package/dist/es2019/components/table-head-cell.compiled.css +8 -3
  13. package/dist/es2019/components/table-head-cell.js +4 -4
  14. package/dist/esm/components/body.js +3 -1
  15. package/dist/esm/components/rankable/table-cell.js +3 -1
  16. package/dist/esm/components/rankable/table-head-cell-old.js +3 -1
  17. package/dist/esm/components/rankable/table-head-cell.js +3 -1
  18. package/dist/esm/components/rankable/table-row.js +9 -9
  19. package/dist/esm/components/stateless.js +2 -2
  20. package/dist/esm/components/table-head-cell.compiled.css +8 -3
  21. package/dist/esm/components/table-head-cell.js +4 -4
  22. package/dist/types/components/body.d.ts +2 -2
  23. package/dist/types/components/loading-container-advanced.d.ts +2 -1
  24. package/dist/types/components/rankable/body.d.ts +1 -1
  25. package/dist/types/components/rankable/table-cell.d.ts +3 -3
  26. package/dist/types/components/rankable/table-head-cell-old.d.ts +2 -2
  27. package/dist/types/components/rankable/table-head-cell.d.ts +2 -2
  28. package/dist/types/components/rankable/table-row.d.ts +3 -7
  29. package/dist/types/styled/dynamic-table.d.ts +2 -1
  30. package/dist/types/styled/rankable/table-row.d.ts +0 -5
  31. package/dist/types-ts4.5/components/body.d.ts +2 -2
  32. package/dist/types-ts4.5/components/loading-container-advanced.d.ts +2 -1
  33. package/dist/types-ts4.5/components/rankable/body.d.ts +1 -1
  34. package/dist/types-ts4.5/components/rankable/table-cell.d.ts +3 -3
  35. package/dist/types-ts4.5/components/rankable/table-head-cell-old.d.ts +2 -2
  36. package/dist/types-ts4.5/components/rankable/table-head-cell.d.ts +2 -2
  37. package/dist/types-ts4.5/components/rankable/table-row.d.ts +3 -7
  38. package/dist/types-ts4.5/styled/dynamic-table.d.ts +2 -1
  39. package/dist/types-ts4.5/styled/rankable/table-row.d.ts +0 -5
  40. package/package.json +18 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/dynamic-table
2
2
 
3
+ ## 17.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#107074](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107074)
8
+ [`97099e70a5731`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/97099e70a5731) -
9
+ Update dependencies and remove unused internal exports.
10
+
11
+ ## 17.0.4
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 17.0.3
4
18
 
5
19
  ### Patch Changes
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.default = exports.RankableTableRow = void 0;
7
+ exports.default = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
10
10
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
@@ -14,7 +14,6 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
14
14
  var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
15
15
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
16
16
  var _react = _interopRequireDefault(require("react"));
17
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
18
17
  var _pragmaticDragAndDropReactBeautifulDndMigration = require("@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration");
19
18
  var _withDimensions = _interopRequireDefault(require("../../hoc/with-dimensions"));
20
19
  var _helpers = require("../../internal/helpers");
@@ -26,7 +25,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
26
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)); }
27
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
28
27
  // eslint-disable-next-line @atlaskit/design-system/no-unsupported-drag-and-drop-libraries
29
- var RankableTableRow = exports.RankableTableRow = /*#__PURE__*/function (_React$Component) {
28
+ var RankableTableRow = /*#__PURE__*/function (_React$Component) {
30
29
  function RankableTableRow() {
31
30
  var _this;
32
31
  (0, _classCallCheck2.default)(this, RankableTableRow);
@@ -73,7 +72,7 @@ var RankableTableRow = exports.RankableTableRow = /*#__PURE__*/function (_React$
73
72
  index: rowIndex,
74
73
  isDragDisabled: isRankingDisabled
75
74
  }, function (provided, snapshot) {
76
- var _provided$dragHandleP, _provided$dragHandleP2;
75
+ var _provided$dragHandleP;
77
76
  return /*#__PURE__*/_react.default.createElement(_tableRow.RankableTableBodyRow, (0, _extends2.default)({}, restRowProps, provided.dragHandleProps, provided.draggableProps, {
78
77
  /**
79
78
  * `provided.dragHandleProps` provides `role="button"` which we don't want to apply to table rows.
@@ -81,13 +80,13 @@ var RankableTableRow = exports.RankableTableRow = /*#__PURE__*/function (_React$
81
80
  * Providing `role="button"` is the RBD 13 behavior which the migration layer emulates.
82
81
  * Previously we used RBD 12 which did not provide a role to the drag handle.
83
82
  */
84
- role: (0, _platformFeatureFlags.fg)('platform_design_system_dynamic_table_row_role') ? undefined : (_provided$dragHandleP = provided.dragHandleProps) === null || _provided$dragHandleP === void 0 ? void 0 : _provided$dragHandleP.role
83
+ role: undefined
85
84
  // It is necessary to prevent the passing of aria-labelledby
86
85
  ,
87
86
  "aria-labelledby": undefined
88
87
  // @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
89
88
  ,
90
- "aria-describedby": (_provided$dragHandleP2 = provided.dragHandleProps) === null || _provided$dragHandleP2 === void 0 ? void 0 : _provided$dragHandleP2['aria-describedby'],
89
+ "aria-describedby": (_provided$dragHandleP = provided.dragHandleProps) === null || _provided$dragHandleP === void 0 ? void 0 : _provided$dragHandleP['aria-describedby'],
91
90
  ref: _this2.innerRef(provided.innerRef)
92
91
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
93
92
  ,
@@ -86,14 +86,14 @@ var DynamicTable = function DynamicTable(_ref) {
86
86
  action: 'sorted',
87
87
  componentName: 'dynamicTable',
88
88
  packageName: "@atlaskit/dynamic-table",
89
- packageVersion: "17.0.3"
89
+ packageVersion: "17.0.5"
90
90
  });
91
91
  var onRankEnd = (0, _analyticsNext.usePlatformLeafEventHandler)({
92
92
  fn: providedOnRankEnd,
93
93
  action: 'ranked',
94
94
  componentName: 'dynamicTable',
95
95
  packageName: "@atlaskit/dynamic-table",
96
- packageVersion: "17.0.3"
96
+ packageVersion: "17.0.5"
97
97
  });
98
98
  (0, _react.useEffect)(function () {
99
99
  (0, _helpers.validateSortKey)(sortKey, head);
@@ -1,11 +1,16 @@
1
-
2
- ._1yt41b66{padding:var(--ds-space-050,4px)}
3
- ._1yt4ze3t{padding:var(--ds-space-0,0)}._18u010v4{margin-left:var(--ds-space-negative-300,-24px)}
1
+ ._18u010v4{margin-left:var(--ds-space-negative-300,-24px)}
2
+ ._19bv1b66{padding-left:var(--ds-space-050,4px)}
3
+ ._19bvze3t{padding-left:var(--ds-space-0,0)}
4
4
  ._1e0c1txw{display:flex}
5
5
  ._4cvr1h6o{align-items:center}
6
6
  ._bfhk18uv{background-color:initial}
7
+ ._ca0q1b66{padding-top:var(--ds-space-050,4px)}
8
+ ._ca0qze3t{padding-top:var(--ds-space-0,0)}
9
+ ._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
10
+ ._n3tdze3t{padding-bottom:var(--ds-space-0,0)}
7
11
  ._tzy4idpf{opacity:0}
8
12
  ._tzy4kb7n{opacity:1}
9
13
  ._u5f31b66{padding-right:var(--ds-space-050,4px)}
14
+ ._u5f3ze3t{padding-right:var(--ds-space-0,0)}
10
15
  ._1h7hkb7n:focus{opacity:1}
11
16
  ._d0altlke:hover{cursor:pointer}
@@ -1,4 +1,4 @@
1
- /* table-head-cell.tsx generated by @compiled/babel-plugin v0.35.0 */
1
+ /* table-head-cell.tsx generated by @compiled/babel-plugin v0.36.0 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -23,9 +23,9 @@ var _excluded = ["content", "inlineStyles", "testId", "isRanking", "innerRef", "
23
23
  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); }
24
24
  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; }
25
25
  var styles = {
26
- buttonWrapper: "_1yt4ze3t _1e0c1txw _bfhk18uv _4cvr1h6o _d0altlke",
27
- sortIconHiddenWrapper: "_1yt41b66 _1e0c1txw _tzy4idpf _bfhk18uv _1h7hkb7n",
28
- sortIconVisibleWrapper: "_1yt41b66 _1e0c1txw _tzy4kb7n _bfhk18uv",
26
+ buttonWrapper: "_1e0c1txw _bfhk18uv _4cvr1h6o _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _d0altlke",
27
+ sortIconHiddenWrapper: "_1e0c1txw _tzy4idpf _bfhk18uv _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66 _1h7hkb7n",
28
+ sortIconVisibleWrapper: "_1e0c1txw _tzy4kb7n _bfhk18uv _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66",
29
29
  hideIconHeaderWrapper: "_tzy4idpf _18u010v4",
30
30
  visibleHeaderWrapper: "_tzy4kb7n _u5f31b66"
31
31
  };
@@ -1,6 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import withSortedPageRows from '../hoc/with-sorted-page-rows';
3
+ import withSortedPageRows
4
+ // @ts-ignore -- Required for the below export of Body
5
+ from '../hoc/with-sorted-page-rows';
4
6
  import TableRow from './table-row';
5
7
  class BodyComponent extends React.Component {
6
8
  render() {
@@ -1,6 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import withDimensions from '../../hoc/with-dimensions';
3
+ import withDimensions
4
+ // @ts-ignore -- This import is required for default export
5
+ from '../../hoc/with-dimensions';
4
6
  import { inlineStylesIfRanking } from '../../internal/helpers';
5
7
  import { RankableTableBodyCell } from '../../styled/rankable/table-cell';
6
8
  export class RankableTableCell extends React.Component {
@@ -1,7 +1,9 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  // Delete this file when cleaning up platform-component-visual-refresh FG
3
3
  import React from 'react';
4
- import withDimensions from '../../hoc/with-dimensions';
4
+ import withDimensions
5
+ // @ts-ignore -- This import is required for default export
6
+ from '../../hoc/with-dimensions';
5
7
  import { inlineStylesIfRanking } from '../../internal/helpers';
6
8
  import HeadCell from '../table-head-cell-old';
7
9
  class RankableTableHeadCellComponentOld extends React.Component {
@@ -1,6 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import withDimensions from '../../hoc/with-dimensions';
3
+ import withDimensions
4
+ // @ts-ignore -- This import is required for default export
5
+ from '../../hoc/with-dimensions';
4
6
  import { inlineStylesIfRanking } from '../../internal/helpers';
5
7
  import HeadCell from '../table-head-cell';
6
8
  class RankableTableHeadCellComponent extends React.Component {
@@ -1,15 +1,17 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import React from 'react';
4
- import { fg } from '@atlaskit/platform-feature-flags';
4
+
5
5
  // Allowing existing usage of non Pragmatic drag and drop solution
6
6
  // eslint-disable-next-line @atlaskit/design-system/no-unsupported-drag-and-drop-libraries
7
7
  import { Draggable } from '@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration';
8
- import withDimensions from '../../hoc/with-dimensions';
8
+ import withDimensions
9
+ // @ts-ignore -- This import is required for default export
10
+ from '../../hoc/with-dimensions';
9
11
  import { inlineStylesIfRanking } from '../../internal/helpers';
10
12
  import { RankableTableBodyRow } from '../../styled/rankable/table-row';
11
13
  import TableCell from './table-cell';
12
- export class RankableTableRow extends React.Component {
14
+ class RankableTableRow extends React.Component {
13
15
  constructor(...args) {
14
16
  super(...args);
15
17
  _defineProperty(this, "innerRef", innerRefFn => ref => {
@@ -48,7 +50,7 @@ export class RankableTableRow extends React.Component {
48
50
  index: rowIndex,
49
51
  isDragDisabled: isRankingDisabled
50
52
  }, (provided, snapshot) => {
51
- var _provided$dragHandleP, _provided$dragHandleP2;
53
+ var _provided$dragHandleP;
52
54
  return /*#__PURE__*/React.createElement(RankableTableBodyRow, _extends({}, restRowProps, provided.dragHandleProps, provided.draggableProps, {
53
55
  /**
54
56
  * `provided.dragHandleProps` provides `role="button"` which we don't want to apply to table rows.
@@ -56,13 +58,13 @@ export class RankableTableRow extends React.Component {
56
58
  * Providing `role="button"` is the RBD 13 behavior which the migration layer emulates.
57
59
  * Previously we used RBD 12 which did not provide a role to the drag handle.
58
60
  */
59
- role: fg('platform_design_system_dynamic_table_row_role') ? undefined : (_provided$dragHandleP = provided.dragHandleProps) === null || _provided$dragHandleP === void 0 ? void 0 : _provided$dragHandleP.role
61
+ role: undefined
60
62
  // It is necessary to prevent the passing of aria-labelledby
61
63
  ,
62
64
  "aria-labelledby": undefined
63
65
  // @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
64
66
  ,
65
- "aria-describedby": (_provided$dragHandleP2 = provided.dragHandleProps) === null || _provided$dragHandleP2 === void 0 ? void 0 : _provided$dragHandleP2['aria-describedby'],
67
+ "aria-describedby": (_provided$dragHandleP = provided.dragHandleProps) === null || _provided$dragHandleP === void 0 ? void 0 : _provided$dragHandleP['aria-describedby'],
66
68
  ref: this.innerRef(provided.innerRef)
67
69
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
68
70
  ,
@@ -60,14 +60,14 @@ const DynamicTable = ({
60
60
  action: 'sorted',
61
61
  componentName: 'dynamicTable',
62
62
  packageName: "@atlaskit/dynamic-table",
63
- packageVersion: "17.0.3"
63
+ packageVersion: "17.0.5"
64
64
  });
65
65
  const onRankEnd = usePlatformLeafEventHandler({
66
66
  fn: providedOnRankEnd,
67
67
  action: 'ranked',
68
68
  componentName: 'dynamicTable',
69
69
  packageName: "@atlaskit/dynamic-table",
70
- packageVersion: "17.0.3"
70
+ packageVersion: "17.0.5"
71
71
  });
72
72
  useEffect(() => {
73
73
  validateSortKey(sortKey, head);
@@ -1,11 +1,16 @@
1
-
2
- ._1yt41b66{padding:var(--ds-space-050,4px)}
3
- ._1yt4ze3t{padding:var(--ds-space-0,0)}._18u010v4{margin-left:var(--ds-space-negative-300,-24px)}
1
+ ._18u010v4{margin-left:var(--ds-space-negative-300,-24px)}
2
+ ._19bv1b66{padding-left:var(--ds-space-050,4px)}
3
+ ._19bvze3t{padding-left:var(--ds-space-0,0)}
4
4
  ._1e0c1txw{display:flex}
5
5
  ._4cvr1h6o{align-items:center}
6
6
  ._bfhk18uv{background-color:initial}
7
+ ._ca0q1b66{padding-top:var(--ds-space-050,4px)}
8
+ ._ca0qze3t{padding-top:var(--ds-space-0,0)}
9
+ ._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
10
+ ._n3tdze3t{padding-bottom:var(--ds-space-0,0)}
7
11
  ._tzy4idpf{opacity:0}
8
12
  ._tzy4kb7n{opacity:1}
9
13
  ._u5f31b66{padding-right:var(--ds-space-050,4px)}
14
+ ._u5f3ze3t{padding-right:var(--ds-space-0,0)}
10
15
  ._1h7hkb7n:focus{opacity:1}
11
16
  ._d0altlke:hover{cursor:pointer}
@@ -1,4 +1,4 @@
1
- /* table-head-cell.tsx generated by @compiled/babel-plugin v0.35.0 */
1
+ /* table-head-cell.tsx generated by @compiled/babel-plugin v0.36.0 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./table-head-cell.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -10,9 +10,9 @@ import Tooltip from '@atlaskit/tooltip';
10
10
  import { ASC } from '../internal/constants';
11
11
  import { HeadCell } from '../styled/table-head';
12
12
  const styles = {
13
- buttonWrapper: "_1yt4ze3t _1e0c1txw _bfhk18uv _4cvr1h6o _d0altlke",
14
- sortIconHiddenWrapper: "_1yt41b66 _1e0c1txw _tzy4idpf _bfhk18uv _1h7hkb7n",
15
- sortIconVisibleWrapper: "_1yt41b66 _1e0c1txw _tzy4kb7n _bfhk18uv",
13
+ buttonWrapper: "_1e0c1txw _bfhk18uv _4cvr1h6o _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _d0altlke",
14
+ sortIconHiddenWrapper: "_1e0c1txw _tzy4idpf _bfhk18uv _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66 _1h7hkb7n",
15
+ sortIconVisibleWrapper: "_1e0c1txw _tzy4kb7n _bfhk18uv _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66",
16
16
  hideIconHeaderWrapper: "_tzy4idpf _18u010v4",
17
17
  visibleHeaderWrapper: "_tzy4kb7n _u5f31b66"
18
18
  };
@@ -7,7 +7,9 @@ import _inherits from "@babel/runtime/helpers/inherits";
7
7
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
8
8
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
9
9
  import React from 'react';
10
- import withSortedPageRows from '../hoc/with-sorted-page-rows';
10
+ import withSortedPageRows
11
+ // @ts-ignore -- Required for the below export of Body
12
+ from '../hoc/with-sorted-page-rows';
11
13
  import TableRow from './table-row';
12
14
  var BodyComponent = /*#__PURE__*/function (_React$Component) {
13
15
  function BodyComponent() {
@@ -9,7 +9,9 @@ var _excluded = ["content", "testId"];
9
9
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
10
10
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
11
  import React from 'react';
12
- import withDimensions from '../../hoc/with-dimensions';
12
+ import withDimensions
13
+ // @ts-ignore -- This import is required for default export
14
+ from '../../hoc/with-dimensions';
13
15
  import { inlineStylesIfRanking } from '../../internal/helpers';
14
16
  import { RankableTableBodyCell } from '../../styled/rankable/table-cell';
15
17
  export var RankableTableCell = /*#__PURE__*/function (_React$Component) {
@@ -10,7 +10,9 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
10
10
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
11
  // Delete this file when cleaning up platform-component-visual-refresh FG
12
12
  import React from 'react';
13
- import withDimensions from '../../hoc/with-dimensions';
13
+ import withDimensions
14
+ // @ts-ignore -- This import is required for default export
15
+ from '../../hoc/with-dimensions';
14
16
  import { inlineStylesIfRanking } from '../../internal/helpers';
15
17
  import HeadCell from '../table-head-cell-old';
16
18
  var RankableTableHeadCellComponentOld = /*#__PURE__*/function (_React$Component) {
@@ -9,7 +9,9 @@ var _excluded = ["isRanking", "refHeight", "refWidth"];
9
9
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
10
10
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
11
  import React from 'react';
12
- import withDimensions from '../../hoc/with-dimensions';
12
+ import withDimensions
13
+ // @ts-ignore -- This import is required for default export
14
+ from '../../hoc/with-dimensions';
13
15
  import { inlineStylesIfRanking } from '../../internal/helpers';
14
16
  import HeadCell from '../table-head-cell';
15
17
  var RankableTableHeadCellComponent = /*#__PURE__*/function (_React$Component) {
@@ -12,15 +12,17 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
12
12
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
13
13
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
14
14
  import React from 'react';
15
- import { fg } from '@atlaskit/platform-feature-flags';
15
+
16
16
  // Allowing existing usage of non Pragmatic drag and drop solution
17
17
  // eslint-disable-next-line @atlaskit/design-system/no-unsupported-drag-and-drop-libraries
18
18
  import { Draggable } from '@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration';
19
- import withDimensions from '../../hoc/with-dimensions';
19
+ import withDimensions
20
+ // @ts-ignore -- This import is required for default export
21
+ from '../../hoc/with-dimensions';
20
22
  import { inlineStylesIfRanking } from '../../internal/helpers';
21
23
  import { RankableTableBodyRow } from '../../styled/rankable/table-row';
22
24
  import TableCell from './table-cell';
23
- export var RankableTableRow = /*#__PURE__*/function (_React$Component) {
25
+ var RankableTableRow = /*#__PURE__*/function (_React$Component) {
24
26
  function RankableTableRow() {
25
27
  var _this;
26
28
  _classCallCheck(this, RankableTableRow);
@@ -67,7 +69,7 @@ export var RankableTableRow = /*#__PURE__*/function (_React$Component) {
67
69
  index: rowIndex,
68
70
  isDragDisabled: isRankingDisabled
69
71
  }, function (provided, snapshot) {
70
- var _provided$dragHandleP, _provided$dragHandleP2;
72
+ var _provided$dragHandleP;
71
73
  return /*#__PURE__*/React.createElement(RankableTableBodyRow, _extends({}, restRowProps, provided.dragHandleProps, provided.draggableProps, {
72
74
  /**
73
75
  * `provided.dragHandleProps` provides `role="button"` which we don't want to apply to table rows.
@@ -75,13 +77,13 @@ export var RankableTableRow = /*#__PURE__*/function (_React$Component) {
75
77
  * Providing `role="button"` is the RBD 13 behavior which the migration layer emulates.
76
78
  * Previously we used RBD 12 which did not provide a role to the drag handle.
77
79
  */
78
- role: fg('platform_design_system_dynamic_table_row_role') ? undefined : (_provided$dragHandleP = provided.dragHandleProps) === null || _provided$dragHandleP === void 0 ? void 0 : _provided$dragHandleP.role
80
+ role: undefined
79
81
  // It is necessary to prevent the passing of aria-labelledby
80
82
  ,
81
83
  "aria-labelledby": undefined
82
84
  // @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
83
85
  ,
84
- "aria-describedby": (_provided$dragHandleP2 = provided.dragHandleProps) === null || _provided$dragHandleP2 === void 0 ? void 0 : _provided$dragHandleP2['aria-describedby'],
86
+ "aria-describedby": (_provided$dragHandleP = provided.dragHandleProps) === null || _provided$dragHandleP === void 0 ? void 0 : _provided$dragHandleP['aria-describedby'],
85
87
  ref: _this2.innerRef(provided.innerRef)
86
88
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
87
89
  ,
@@ -106,7 +108,5 @@ export var RankableTableRow = /*#__PURE__*/function (_React$Component) {
106
108
  });
107
109
  }
108
110
  }]);
109
- }(React.Component);
110
-
111
- // eslint-disable-next-line import/no-anonymous-default-export
111
+ }(React.Component); // eslint-disable-next-line import/no-anonymous-default-export
112
112
  export default withDimensions(RankableTableRow);
@@ -76,14 +76,14 @@ var DynamicTable = function DynamicTable(_ref) {
76
76
  action: 'sorted',
77
77
  componentName: 'dynamicTable',
78
78
  packageName: "@atlaskit/dynamic-table",
79
- packageVersion: "17.0.3"
79
+ packageVersion: "17.0.5"
80
80
  });
81
81
  var onRankEnd = usePlatformLeafEventHandler({
82
82
  fn: providedOnRankEnd,
83
83
  action: 'ranked',
84
84
  componentName: 'dynamicTable',
85
85
  packageName: "@atlaskit/dynamic-table",
86
- packageVersion: "17.0.3"
86
+ packageVersion: "17.0.5"
87
87
  });
88
88
  useEffect(function () {
89
89
  validateSortKey(sortKey, head);
@@ -1,11 +1,16 @@
1
-
2
- ._1yt41b66{padding:var(--ds-space-050,4px)}
3
- ._1yt4ze3t{padding:var(--ds-space-0,0)}._18u010v4{margin-left:var(--ds-space-negative-300,-24px)}
1
+ ._18u010v4{margin-left:var(--ds-space-negative-300,-24px)}
2
+ ._19bv1b66{padding-left:var(--ds-space-050,4px)}
3
+ ._19bvze3t{padding-left:var(--ds-space-0,0)}
4
4
  ._1e0c1txw{display:flex}
5
5
  ._4cvr1h6o{align-items:center}
6
6
  ._bfhk18uv{background-color:initial}
7
+ ._ca0q1b66{padding-top:var(--ds-space-050,4px)}
8
+ ._ca0qze3t{padding-top:var(--ds-space-0,0)}
9
+ ._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
10
+ ._n3tdze3t{padding-bottom:var(--ds-space-0,0)}
7
11
  ._tzy4idpf{opacity:0}
8
12
  ._tzy4kb7n{opacity:1}
9
13
  ._u5f31b66{padding-right:var(--ds-space-050,4px)}
14
+ ._u5f3ze3t{padding-right:var(--ds-space-0,0)}
10
15
  ._1h7hkb7n:focus{opacity:1}
11
16
  ._d0altlke:hover{cursor:pointer}
@@ -1,4 +1,4 @@
1
- /* table-head-cell.tsx generated by @compiled/babel-plugin v0.35.0 */
1
+ /* table-head-cell.tsx generated by @compiled/babel-plugin v0.36.0 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
@@ -13,9 +13,9 @@ import Tooltip from '@atlaskit/tooltip';
13
13
  import { ASC } from '../internal/constants';
14
14
  import { HeadCell } from '../styled/table-head';
15
15
  var styles = {
16
- buttonWrapper: "_1yt4ze3t _1e0c1txw _bfhk18uv _4cvr1h6o _d0altlke",
17
- sortIconHiddenWrapper: "_1yt41b66 _1e0c1txw _tzy4idpf _bfhk18uv _1h7hkb7n",
18
- sortIconVisibleWrapper: "_1yt41b66 _1e0c1txw _tzy4kb7n _bfhk18uv",
16
+ buttonWrapper: "_1e0c1txw _bfhk18uv _4cvr1h6o _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t _d0altlke",
17
+ sortIconHiddenWrapper: "_1e0c1txw _tzy4idpf _bfhk18uv _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66 _1h7hkb7n",
18
+ sortIconVisibleWrapper: "_1e0c1txw _tzy4kb7n _bfhk18uv _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66",
19
19
  hideIconHeaderWrapper: "_tzy4idpf _18u010v4",
20
20
  visibleHeaderWrapper: "_tzy4kb7n _u5f31b66"
21
21
  };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type WithSortedPageRowsProps } from '../hoc/with-sorted-page-rows';
2
+ import { TableProps, type WithSortedPageRowsProps } from '../hoc/with-sorted-page-rows';
3
3
  import { type HeadType } from '../types';
4
4
  interface BodyProps extends WithSortedPageRowsProps {
5
5
  head?: HeadType;
@@ -8,7 +8,7 @@ interface BodyProps extends WithSortedPageRowsProps {
8
8
  forwardedRef?: React.Ref<HTMLTableSectionElement>;
9
9
  testId?: string;
10
10
  }
11
- declare const Body: React.ForwardRefExoticComponent<Omit<BodyProps & import("../hoc/with-sorted-page-rows").TableProps, "pageRows"> & {
11
+ declare const Body: React.ForwardRefExoticComponent<Omit<BodyProps & TableProps, "pageRows"> & {
12
12
  forwardedRef?: React.Ref<HTMLTableSectionElement> | undefined;
13
13
  } & React.RefAttributes<HTMLTableSectionElement>>;
14
14
  export default Body;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { SpinnerSizeType } from '../types';
3
- export interface LoadingContainerAdvancedProps {
3
+ interface LoadingContainerAdvancedProps {
4
4
  children?: React.ReactNode;
5
5
  isLoading?: boolean;
6
6
  spinnerSize?: SpinnerSizeType;
@@ -41,3 +41,4 @@ export default class LoadingContainerAdvanced extends React.Component<LoadingCon
41
41
  updateSpinnerPosition(): void;
42
42
  render(): JSX.Element;
43
43
  }
44
+ export {};
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { type DragStart, type DropResult } from '@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration';
3
3
  import { type WithSortedPageRowsProps } from '../../hoc/with-sorted-page-rows';
4
4
  import { type HeadType, type RankEnd, type RankStart } from '../../types';
5
- export interface RankableBodyProps extends WithSortedPageRowsProps {
5
+ interface RankableBodyProps extends WithSortedPageRowsProps {
6
6
  highlightedRowIndex?: number | number[];
7
7
  onRankStart: (rankStart: RankStart) => void;
8
8
  onRankEnd: (rankEnd: RankEnd) => void;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { type WithDimensionsProps } from '../../hoc/with-dimensions';
2
+ import { type State, type WithDimensionsProps } from '../../hoc/with-dimensions';
3
3
  import { type HeadCellType, type RowCellType } from '../../types';
4
- export interface RankableTableCellProps extends WithDimensionsProps {
4
+ interface RankableTableCellProps extends WithDimensionsProps {
5
5
  head?: HeadCellType;
6
6
  cell: RowCellType;
7
7
  isFixedSize: boolean;
@@ -10,5 +10,5 @@ export interface RankableTableCellProps extends WithDimensionsProps {
10
10
  export declare class RankableTableCell extends React.Component<RankableTableCellProps, {}> {
11
11
  render(): JSX.Element;
12
12
  }
13
- declare const _default: React.ComponentClass<Omit<RankableTableCellProps, "innerRef" | "refWidth" | "refHeight">, import("../../hoc/with-dimensions").State>;
13
+ declare const _default: React.ComponentClass<Omit<RankableTableCellProps, "innerRef" | "refWidth" | "refHeight">, State>;
14
14
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type WithDimensionsProps } from '../../hoc/with-dimensions';
2
+ import { type State, type WithDimensionsProps } from '../../hoc/with-dimensions';
3
3
  import { type TableHeadCellProps } from '../table-head-cell-old';
4
- declare const RankableTableHeadCellOld: React.ComponentClass<Omit<WithDimensionsProps & TableHeadCellProps, "innerRef" | "refWidth" | "refHeight">, import("../../hoc/with-dimensions").State>;
4
+ declare const RankableTableHeadCellOld: React.ComponentClass<Omit<WithDimensionsProps & TableHeadCellProps, "innerRef" | "refWidth" | "refHeight">, State>;
5
5
  export default RankableTableHeadCellOld;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type WithDimensionsProps } from '../../hoc/with-dimensions';
2
+ import { type State, type WithDimensionsProps } from '../../hoc/with-dimensions';
3
3
  import { type TableHeadCellProps } from '../table-head-cell';
4
- declare const RankableTableHeadCell: React.ComponentClass<Omit<WithDimensionsProps & TableHeadCellProps, "innerRef" | "refWidth" | "refHeight">, import("../../hoc/with-dimensions").State>;
4
+ declare const RankableTableHeadCell: React.ComponentClass<Omit<WithDimensionsProps & TableHeadCellProps, "innerRef" | "refWidth" | "refHeight">, State>;
5
5
  export default RankableTableHeadCell;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { type WithDimensionsProps } from '../../hoc/with-dimensions';
2
+ import { type State, type WithDimensionsProps } from '../../hoc/with-dimensions';
3
3
  import { type HeadType, type RowType } from '../../types';
4
- export interface RankableTableRowProps extends WithDimensionsProps {
4
+ interface RankableTableRowProps extends WithDimensionsProps {
5
5
  head?: HeadType;
6
6
  isFixedSize: boolean;
7
7
  row: RowType;
@@ -10,9 +10,5 @@ export interface RankableTableRowProps extends WithDimensionsProps {
10
10
  isHighlighted?: boolean;
11
11
  testId?: string;
12
12
  }
13
- export declare class RankableTableRow extends React.Component<RankableTableRowProps> {
14
- innerRef: (innerRefFn: Function) => (ref: HTMLTableRowElement) => void;
15
- render(): JSX.Element;
16
- }
17
- declare const _default: React.ComponentClass<Omit<RankableTableRowProps, "innerRef" | "refWidth" | "refHeight">, import("../../hoc/with-dimensions").State>;
13
+ declare const _default: React.ComponentClass<Omit<RankableTableRowProps, "innerRef" | "refWidth" | "refHeight">, State>;
18
14
  export default _default;
@@ -3,7 +3,7 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import { type FC, type HTMLProps, type ReactNode } from 'react';
6
- export type TableProps = HTMLProps<HTMLTableElement> & {
6
+ type TableProps = HTMLProps<HTMLTableElement> & {
7
7
  isFixedSize?: boolean;
8
8
  isLoading?: boolean;
9
9
  hasDataRow: boolean;
@@ -23,3 +23,4 @@ export declare const PaginationWrapper: FC<{
23
23
  children: ReactNode;
24
24
  testId?: string;
25
25
  }>;
26
+ export {};
@@ -4,11 +4,6 @@
4
4
  */
5
5
  import { type HTMLAttributes } from 'react';
6
6
  import { type ITableRowProps } from '../table-row';
7
- export type RankableTableBodyRowProps = HTMLAttributes<HTMLTableRowElement> & ITableRowProps & {
8
- isRanking?: boolean;
9
- isRankingItem?: boolean;
10
- testId?: string;
11
- };
12
7
  export declare const RankableTableBodyRow: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableRowElement> & ITableRowProps & {
13
8
  isRanking?: boolean | undefined;
14
9
  isRankingItem?: boolean | undefined;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type WithSortedPageRowsProps } from '../hoc/with-sorted-page-rows';
2
+ import { TableProps, type WithSortedPageRowsProps } from '../hoc/with-sorted-page-rows';
3
3
  import { type HeadType } from '../types';
4
4
  interface BodyProps extends WithSortedPageRowsProps {
5
5
  head?: HeadType;
@@ -8,7 +8,7 @@ interface BodyProps extends WithSortedPageRowsProps {
8
8
  forwardedRef?: React.Ref<HTMLTableSectionElement>;
9
9
  testId?: string;
10
10
  }
11
- declare const Body: React.ForwardRefExoticComponent<Omit<BodyProps & import("../hoc/with-sorted-page-rows").TableProps, "pageRows"> & {
11
+ declare const Body: React.ForwardRefExoticComponent<Omit<BodyProps & TableProps, "pageRows"> & {
12
12
  forwardedRef?: React.Ref<HTMLTableSectionElement> | undefined;
13
13
  } & React.RefAttributes<HTMLTableSectionElement>>;
14
14
  export default Body;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { SpinnerSizeType } from '../types';
3
- export interface LoadingContainerAdvancedProps {
3
+ interface LoadingContainerAdvancedProps {
4
4
  children?: React.ReactNode;
5
5
  isLoading?: boolean;
6
6
  spinnerSize?: SpinnerSizeType;
@@ -41,3 +41,4 @@ export default class LoadingContainerAdvanced extends React.Component<LoadingCon
41
41
  updateSpinnerPosition(): void;
42
42
  render(): JSX.Element;
43
43
  }
44
+ export {};
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { type DragStart, type DropResult } from '@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration';
3
3
  import { type WithSortedPageRowsProps } from '../../hoc/with-sorted-page-rows';
4
4
  import { type HeadType, type RankEnd, type RankStart } from '../../types';
5
- export interface RankableBodyProps extends WithSortedPageRowsProps {
5
+ interface RankableBodyProps extends WithSortedPageRowsProps {
6
6
  highlightedRowIndex?: number | number[];
7
7
  onRankStart: (rankStart: RankStart) => void;
8
8
  onRankEnd: (rankEnd: RankEnd) => void;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { type WithDimensionsProps } from '../../hoc/with-dimensions';
2
+ import { type State, type WithDimensionsProps } from '../../hoc/with-dimensions';
3
3
  import { type HeadCellType, type RowCellType } from '../../types';
4
- export interface RankableTableCellProps extends WithDimensionsProps {
4
+ interface RankableTableCellProps extends WithDimensionsProps {
5
5
  head?: HeadCellType;
6
6
  cell: RowCellType;
7
7
  isFixedSize: boolean;
@@ -10,5 +10,5 @@ export interface RankableTableCellProps extends WithDimensionsProps {
10
10
  export declare class RankableTableCell extends React.Component<RankableTableCellProps, {}> {
11
11
  render(): JSX.Element;
12
12
  }
13
- declare const _default: React.ComponentClass<Omit<RankableTableCellProps, "innerRef" | "refWidth" | "refHeight">, import("../../hoc/with-dimensions").State>;
13
+ declare const _default: React.ComponentClass<Omit<RankableTableCellProps, "innerRef" | "refWidth" | "refHeight">, State>;
14
14
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type WithDimensionsProps } from '../../hoc/with-dimensions';
2
+ import { type State, type WithDimensionsProps } from '../../hoc/with-dimensions';
3
3
  import { type TableHeadCellProps } from '../table-head-cell-old';
4
- declare const RankableTableHeadCellOld: React.ComponentClass<Omit<WithDimensionsProps & TableHeadCellProps, "innerRef" | "refWidth" | "refHeight">, import("../../hoc/with-dimensions").State>;
4
+ declare const RankableTableHeadCellOld: React.ComponentClass<Omit<WithDimensionsProps & TableHeadCellProps, "innerRef" | "refWidth" | "refHeight">, State>;
5
5
  export default RankableTableHeadCellOld;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type WithDimensionsProps } from '../../hoc/with-dimensions';
2
+ import { type State, type WithDimensionsProps } from '../../hoc/with-dimensions';
3
3
  import { type TableHeadCellProps } from '../table-head-cell';
4
- declare const RankableTableHeadCell: React.ComponentClass<Omit<WithDimensionsProps & TableHeadCellProps, "innerRef" | "refWidth" | "refHeight">, import("../../hoc/with-dimensions").State>;
4
+ declare const RankableTableHeadCell: React.ComponentClass<Omit<WithDimensionsProps & TableHeadCellProps, "innerRef" | "refWidth" | "refHeight">, State>;
5
5
  export default RankableTableHeadCell;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { type WithDimensionsProps } from '../../hoc/with-dimensions';
2
+ import { type State, type WithDimensionsProps } from '../../hoc/with-dimensions';
3
3
  import { type HeadType, type RowType } from '../../types';
4
- export interface RankableTableRowProps extends WithDimensionsProps {
4
+ interface RankableTableRowProps extends WithDimensionsProps {
5
5
  head?: HeadType;
6
6
  isFixedSize: boolean;
7
7
  row: RowType;
@@ -10,9 +10,5 @@ export interface RankableTableRowProps extends WithDimensionsProps {
10
10
  isHighlighted?: boolean;
11
11
  testId?: string;
12
12
  }
13
- export declare class RankableTableRow extends React.Component<RankableTableRowProps> {
14
- innerRef: (innerRefFn: Function) => (ref: HTMLTableRowElement) => void;
15
- render(): JSX.Element;
16
- }
17
- declare const _default: React.ComponentClass<Omit<RankableTableRowProps, "innerRef" | "refWidth" | "refHeight">, import("../../hoc/with-dimensions").State>;
13
+ declare const _default: React.ComponentClass<Omit<RankableTableRowProps, "innerRef" | "refWidth" | "refHeight">, State>;
18
14
  export default _default;
@@ -3,7 +3,7 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import { type FC, type HTMLProps, type ReactNode } from 'react';
6
- export type TableProps = HTMLProps<HTMLTableElement> & {
6
+ type TableProps = HTMLProps<HTMLTableElement> & {
7
7
  isFixedSize?: boolean;
8
8
  isLoading?: boolean;
9
9
  hasDataRow: boolean;
@@ -23,3 +23,4 @@ export declare const PaginationWrapper: FC<{
23
23
  children: ReactNode;
24
24
  testId?: string;
25
25
  }>;
26
+ export {};
@@ -4,11 +4,6 @@
4
4
  */
5
5
  import { type HTMLAttributes } from 'react';
6
6
  import { type ITableRowProps } from '../table-row';
7
- export type RankableTableBodyRowProps = HTMLAttributes<HTMLTableRowElement> & ITableRowProps & {
8
- isRanking?: boolean;
9
- isRankingItem?: boolean;
10
- testId?: string;
11
- };
12
7
  export declare const RankableTableBodyRow: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableRowElement> & ITableRowProps & {
13
8
  isRanking?: boolean | undefined;
14
9
  isRankingItem?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/dynamic-table",
3
- "version": "17.0.3",
3
+ "version": "17.0.5",
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/"
@@ -40,16 +40,19 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@atlaskit/analytics-next": "^10.2.0",
43
+ "@atlaskit/css": "^0.7.4",
43
44
  "@atlaskit/ds-lib": "^3.3.0",
45
+ "@atlaskit/icon": "^23.4.1",
44
46
  "@atlaskit/pagination": "^15.0.0",
45
47
  "@atlaskit/platform-feature-flags": "^0.3.0",
46
48
  "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration": "^1.3.0",
47
- "@atlaskit/spinner": "^16.3.0",
49
+ "@atlaskit/primitives": "^13.3.8",
50
+ "@atlaskit/spinner": "^17.0.0",
48
51
  "@atlaskit/theme": "^14.0.0",
49
- "@atlaskit/tokens": "^3.1.0",
52
+ "@atlaskit/tokens": "^3.2.0",
53
+ "@atlaskit/tooltip": "^19.0.3",
50
54
  "@babel/runtime": "^7.0.0",
51
- "@emotion/react": "^11.7.1",
52
- "react-beautiful-dnd": "^12.2.0"
55
+ "@emotion/react": "^11.7.1"
53
56
  },
54
57
  "peerDependencies": {
55
58
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
@@ -59,15 +62,24 @@
59
62
  "@af/accessibility-testing": "*",
60
63
  "@af/integration-testing": "*",
61
64
  "@af/visual-regression": "*",
65
+ "@atlaskit/avatar": "^21.17.9",
66
+ "@atlaskit/banner": "^12.6.2",
62
67
  "@atlaskit/button": "*",
68
+ "@atlaskit/docs": "*",
69
+ "@atlaskit/drawer": "^9.3.4",
70
+ "@atlaskit/dropdown-menu": "^12.25.0",
63
71
  "@atlaskit/link": "*",
72
+ "@atlaskit/pragmatic-drag-and-drop": "^1.4.0",
73
+ "@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.3",
74
+ "@atlaskit/section-message": "*",
64
75
  "@atlaskit/ssr": "*",
65
76
  "@atlaskit/toggle": "^14.0.0",
66
77
  "@atlaskit/visual-regression": "*",
78
+ "@atlassian/feature-flags-storybook-utils": "^0.1.0",
79
+ "@atlassian/feature-flags-test-utils": "*",
67
80
  "@emotion/styled": "^11.0.0",
68
81
  "@testing-library/react": "^12.1.5",
69
82
  "@testing-library/user-event": "^14.4.3",
70
- "@types/react-beautiful-dnd": "^12.2.1",
71
83
  "react-dom": "^16.8.0",
72
84
  "typescript": "~5.4.2"
73
85
  },
@@ -89,9 +101,6 @@
89
101
  }
90
102
  },
91
103
  "platform-feature-flags": {
92
- "platform_design_system_dynamic_table_row_role": {
93
- "type": "boolean"
94
- },
95
104
  "platform-component-visual-refresh": {
96
105
  "type": "boolean"
97
106
  }