@atlaskit/dynamic-table 18.3.9 → 18.3.11

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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/dynamic-table
2
2
 
3
+ ## 18.3.11
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 18.3.10
10
+
11
+ ### Patch Changes
12
+
13
+ - [`a60a82196851a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a60a82196851a) -
14
+ Internal refactors to remove unused variables. No functional or public changes.
15
+ - Updated dependencies
16
+
3
17
  ## 18.3.9
4
18
 
5
19
  ### Patch Changes
@@ -1,8 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import withSortedPageRows
4
- // @ts-ignore -- Required for the below export of Body
5
- from '../hoc/with-sorted-page-rows';
3
+ import withSortedPageRows from '../hoc/with-sorted-page-rows';
6
4
  import TableRow from './table-row';
7
5
  // eslint-disable-next-line @repo/internal/react/no-class-components
8
6
  class BodyComponent extends React.Component {
@@ -1,8 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import withDimensions
4
- // @ts-ignore -- This import is required for default export
5
- from '../../hoc/with-dimensions';
3
+ import withDimensions from '../../hoc/with-dimensions';
6
4
  import { inlineStylesIfRanking } from '../../internal/helpers';
7
5
  import { RankableTableBodyCell } from '../../styled/rankable/table-cell';
8
6
  // eslint-disable-next-line @repo/internal/react/no-class-components
@@ -1,8 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import withDimensions
4
- // @ts-ignore -- This import is required for default export
5
- from '../../hoc/with-dimensions';
3
+ import withDimensions from '../../hoc/with-dimensions';
6
4
  import { inlineStylesIfRanking } from '../../internal/helpers';
7
5
  import HeadCell from '../table-head-cell';
8
6
 
@@ -4,9 +4,7 @@ import React from 'react';
4
4
 
5
5
  // Allowing existing usage of non Pragmatic drag and drop solution
6
6
  import { Draggable } from '@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration';
7
- import withDimensions
8
- // @ts-ignore -- This import is required for default export
9
- from '../../hoc/with-dimensions';
7
+ import withDimensions from '../../hoc/with-dimensions';
10
8
  import { inlineStylesIfRanking } from '../../internal/helpers';
11
9
  import { RankableTableBodyRow } from '../../styled/rankable/table-row';
12
10
  import TableCell from './table-cell';
@@ -7,9 +7,7 @@ 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
11
- // @ts-ignore -- Required for the below export of Body
12
- from '../hoc/with-sorted-page-rows';
10
+ import withSortedPageRows from '../hoc/with-sorted-page-rows';
13
11
  import TableRow from './table-row';
14
12
  // eslint-disable-next-line @repo/internal/react/no-class-components
15
13
  var BodyComponent = /*#__PURE__*/function (_React$Component) {
@@ -9,9 +9,7 @@ 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
13
- // @ts-ignore -- This import is required for default export
14
- from '../../hoc/with-dimensions';
12
+ import withDimensions from '../../hoc/with-dimensions';
15
13
  import { inlineStylesIfRanking } from '../../internal/helpers';
16
14
  import { RankableTableBodyCell } from '../../styled/rankable/table-cell';
17
15
  // eslint-disable-next-line @repo/internal/react/no-class-components
@@ -9,9 +9,7 @@ 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
13
- // @ts-ignore -- This import is required for default export
14
- from '../../hoc/with-dimensions';
12
+ import withDimensions from '../../hoc/with-dimensions';
15
13
  import { inlineStylesIfRanking } from '../../internal/helpers';
16
14
  import HeadCell from '../table-head-cell';
17
15
 
@@ -15,9 +15,7 @@ import React from 'react';
15
15
 
16
16
  // Allowing existing usage of non Pragmatic drag and drop solution
17
17
  import { Draggable } from '@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration';
18
- import withDimensions
19
- // @ts-ignore -- This import is required for default export
20
- from '../../hoc/with-dimensions';
18
+ import withDimensions from '../../hoc/with-dimensions';
21
19
  import { inlineStylesIfRanking } from '../../internal/helpers';
22
20
  import { RankableTableBodyRow } from '../../styled/rankable/table-row';
23
21
  import TableCell from './table-cell';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { TableProps, type WithSortedPageRowsProps } from '../hoc/with-sorted-page-rows';
2
+ import { 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 & TableProps, "pageRows"> & {
11
+ declare const Body: React.ForwardRefExoticComponent<Omit<BodyProps & import("../hoc/with-sorted-page-rows").TableProps, "pageRows"> & {
12
12
  forwardedRef?: React.Ref<HTMLTableSectionElement> | undefined;
13
13
  } & React.RefAttributes<HTMLTableSectionElement>>;
14
14
  export default Body;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type State, type WithDimensionsProps } from '../../hoc/with-dimensions';
2
+ import { type WithDimensionsProps } from '../../hoc/with-dimensions';
3
3
  import { type HeadCellType, type RowCellType } from '../../types';
4
4
  interface RankableTableCellProps extends WithDimensionsProps {
5
5
  head?: HeadCellType;
@@ -10,5 +10,5 @@ interface RankableTableCellProps extends WithDimensionsProps {
10
10
  export declare class RankableTableCell extends React.Component<RankableTableCellProps, {}> {
11
11
  render(): React.JSX.Element;
12
12
  }
13
- declare const _default: React.ComponentClass<Omit<RankableTableCellProps, "innerRef" | "refWidth" | "refHeight">, State>;
13
+ declare const _default: React.ComponentClass<Omit<RankableTableCellProps, "innerRef" | "refWidth" | "refHeight">, import("../../hoc/with-dimensions").State>;
14
14
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type State, type WithDimensionsProps } from '../../hoc/with-dimensions';
2
+ import { 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">, State>;
4
+ declare const RankableTableHeadCell: React.ComponentClass<Omit<WithDimensionsProps & TableHeadCellProps, "innerRef" | "refWidth" | "refHeight">, import("../../hoc/with-dimensions").State>;
5
5
  export default RankableTableHeadCell;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type State, type WithDimensionsProps } from '../../hoc/with-dimensions';
2
+ import { type WithDimensionsProps } from '../../hoc/with-dimensions';
3
3
  import { type HeadType, type RowType } from '../../types';
4
4
  interface RankableTableRowProps extends WithDimensionsProps {
5
5
  head?: HeadType;
@@ -10,5 +10,5 @@ interface RankableTableRowProps extends WithDimensionsProps {
10
10
  isHighlighted?: boolean;
11
11
  testId?: string;
12
12
  }
13
- declare const _default: React.ComponentClass<Omit<RankableTableRowProps, "innerRef" | "refWidth" | "refHeight">, State>;
13
+ declare const _default: React.ComponentClass<Omit<RankableTableRowProps, "innerRef" | "refWidth" | "refHeight">, import("../../hoc/with-dimensions").State>;
14
14
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { TableProps, type WithSortedPageRowsProps } from '../hoc/with-sorted-page-rows';
2
+ import { 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 & TableProps, "pageRows"> & {
11
+ declare const Body: React.ForwardRefExoticComponent<Omit<BodyProps & import("../hoc/with-sorted-page-rows").TableProps, "pageRows"> & {
12
12
  forwardedRef?: React.Ref<HTMLTableSectionElement> | undefined;
13
13
  } & React.RefAttributes<HTMLTableSectionElement>>;
14
14
  export default Body;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type State, type WithDimensionsProps } from '../../hoc/with-dimensions';
2
+ import { type WithDimensionsProps } from '../../hoc/with-dimensions';
3
3
  import { type HeadCellType, type RowCellType } from '../../types';
4
4
  interface RankableTableCellProps extends WithDimensionsProps {
5
5
  head?: HeadCellType;
@@ -10,5 +10,5 @@ interface RankableTableCellProps extends WithDimensionsProps {
10
10
  export declare class RankableTableCell extends React.Component<RankableTableCellProps, {}> {
11
11
  render(): React.JSX.Element;
12
12
  }
13
- declare const _default: React.ComponentClass<Omit<RankableTableCellProps, "innerRef" | "refWidth" | "refHeight">, State>;
13
+ declare const _default: React.ComponentClass<Omit<RankableTableCellProps, "innerRef" | "refWidth" | "refHeight">, import("../../hoc/with-dimensions").State>;
14
14
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type State, type WithDimensionsProps } from '../../hoc/with-dimensions';
2
+ import { 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">, State>;
4
+ declare const RankableTableHeadCell: React.ComponentClass<Omit<WithDimensionsProps & TableHeadCellProps, "innerRef" | "refWidth" | "refHeight">, import("../../hoc/with-dimensions").State>;
5
5
  export default RankableTableHeadCell;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type State, type WithDimensionsProps } from '../../hoc/with-dimensions';
2
+ import { type WithDimensionsProps } from '../../hoc/with-dimensions';
3
3
  import { type HeadType, type RowType } from '../../types';
4
4
  interface RankableTableRowProps extends WithDimensionsProps {
5
5
  head?: HeadType;
@@ -10,5 +10,5 @@ interface RankableTableRowProps extends WithDimensionsProps {
10
10
  isHighlighted?: boolean;
11
11
  testId?: string;
12
12
  }
13
- declare const _default: React.ComponentClass<Omit<RankableTableRowProps, "innerRef" | "refWidth" | "refHeight">, State>;
13
+ declare const _default: React.ComponentClass<Omit<RankableTableRowProps, "innerRef" | "refWidth" | "refHeight">, import("../../hoc/with-dimensions").State>;
14
14
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/dynamic-table",
3
- "version": "18.3.9",
3
+ "version": "18.3.11",
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/"
@@ -34,15 +34,15 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@atlaskit/analytics-next": "^11.1.0",
37
- "@atlaskit/css": "^0.17.0",
37
+ "@atlaskit/css": "^0.18.0",
38
38
  "@atlaskit/ds-lib": "^5.3.0",
39
- "@atlaskit/icon": "^29.0.0",
39
+ "@atlaskit/icon": "^29.2.0",
40
40
  "@atlaskit/pagination": "^16.1.0",
41
41
  "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration": "^2.0.0",
42
- "@atlaskit/primitives": "^16.3.0",
42
+ "@atlaskit/primitives": "^16.4.0",
43
43
  "@atlaskit/spinner": "^19.0.0",
44
- "@atlaskit/tokens": "^8.3.0",
45
- "@atlaskit/tooltip": "^20.10.0",
44
+ "@atlaskit/tokens": "^8.6.0",
45
+ "@atlaskit/tooltip": "^20.11.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "@compiled/react": "^0.18.6"
48
48
  },
@@ -54,18 +54,17 @@
54
54
  "@af/accessibility-testing": "workspace:^",
55
55
  "@af/integration-testing": "workspace:^",
56
56
  "@af/visual-regression": "workspace:^",
57
- "@atlaskit/avatar": "^25.5.0",
57
+ "@atlaskit/avatar": "^25.6.0",
58
58
  "@atlaskit/banner": "^14.0.0",
59
- "@atlaskit/button": "^23.6.0",
59
+ "@atlaskit/button": "^23.8.0",
60
60
  "@atlaskit/docs": "^11.2.0",
61
61
  "@atlaskit/drawer": "^11.0.0",
62
62
  "@atlaskit/dropdown-menu": "^16.3.0",
63
63
  "@atlaskit/link": "^3.2.0",
64
64
  "@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
65
65
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
66
- "@atlaskit/section-message": "^8.9.0",
67
- "@atlaskit/ssr": "workspace:^",
68
- "@atlaskit/toggle": "^15.1.0",
66
+ "@atlaskit/section-message": "^8.11.0",
67
+ "@atlaskit/toggle": "^15.2.0",
69
68
  "@atlassian/ssr-tests": "workspace:^",
70
69
  "@testing-library/react": "^13.4.0",
71
70
  "@testing-library/user-event": "^14.4.3",