@atlaskit/dynamic-table 14.5.2 → 14.5.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @atlaskit/dynamic-table
2
2
 
3
+ ## 14.5.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 14.5.4
10
+
11
+ ### Patch Changes
12
+
13
+ - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
14
+
15
+ ## 14.5.3
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 14.5.2
4
22
 
5
23
  ### Patch Changes
@@ -52,7 +52,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
52
52
  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; } }
53
53
 
54
54
  var packageName = "@atlaskit/dynamic-table";
55
- var packageVersion = "14.5.2";
55
+ var packageVersion = "14.5.5";
56
56
 
57
57
  function toggleSortOrder(currentSortOrder) {
58
58
  switch (currentSortOrder) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/dynamic-table",
3
- "version": "14.5.2",
3
+ "version": "14.5.5",
4
4
  "sideEffects": false
5
5
  }
@@ -13,7 +13,7 @@ import ManagedPagination from './managed-pagination';
13
13
  import RankableTableBody from './rankable/Body';
14
14
  import TableHead from './TableHead';
15
15
  const packageName = "@atlaskit/dynamic-table";
16
- const packageVersion = "14.5.2";
16
+ const packageVersion = "14.5.5";
17
17
 
18
18
  function toggleSortOrder(currentSortOrder) {
19
19
  switch (currentSortOrder) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/dynamic-table",
3
- "version": "14.5.2",
3
+ "version": "14.5.5",
4
4
  "sideEffects": false
5
5
  }
@@ -24,7 +24,7 @@ import ManagedPagination from './managed-pagination';
24
24
  import RankableTableBody from './rankable/Body';
25
25
  import TableHead from './TableHead';
26
26
  var packageName = "@atlaskit/dynamic-table";
27
- var packageVersion = "14.5.2";
27
+ var packageVersion = "14.5.5";
28
28
 
29
29
  function toggleSortOrder(currentSortOrder) {
30
30
  switch (currentSortOrder) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/dynamic-table",
3
- "version": "14.5.2",
3
+ "version": "14.5.5",
4
4
  "sideEffects": false
5
5
  }
@@ -8,12 +8,12 @@ interface Props extends WithSortedPageRowsProps {
8
8
  testId?: string;
9
9
  }
10
10
  declare const _default: {
11
- new (props: Readonly<Pick<Props & import("../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex">>): {
11
+ new (props: Readonly<Omit<Props & import("../hoc/withSortedPageRows").Props, "pageRows">>): {
12
12
  state: {
13
13
  pageRows: never[];
14
14
  };
15
15
  componentDidMount(): void;
16
- componentDidUpdate(_prevProps: Pick<Props & import("../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex">, prevState: {
16
+ componentDidUpdate(_prevProps: Omit<Props & import("../hoc/withSortedPageRows").Props, "pageRows">, prevState: {
17
17
  pageRows: import("../types").RowType[];
18
18
  }): void;
19
19
  render(): JSX.Element;
@@ -22,7 +22,7 @@ declare const _default: {
22
22
  pageRows: import("../types").RowType[];
23
23
  } | ((prevState: Readonly<{
24
24
  pageRows: import("../types").RowType[];
25
- }>, props: Readonly<Pick<Props & import("../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex">>) => {
25
+ }>, props: Readonly<Omit<Props & import("../hoc/withSortedPageRows").Props, "pageRows">>) => {
26
26
  pageRows: import("../types").RowType[];
27
27
  } | Pick<{
28
28
  pageRows: import("../types").RowType[];
@@ -30,37 +30,37 @@ declare const _default: {
30
30
  pageRows: import("../types").RowType[];
31
31
  }, K> | null, callback?: (() => void) | undefined): void;
32
32
  forceUpdate(callBack?: (() => void) | undefined): void;
33
- readonly props: Readonly<Pick<Props & import("../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex">> & Readonly<{
33
+ readonly props: Readonly<Omit<Props & import("../hoc/withSortedPageRows").Props, "pageRows">> & Readonly<{
34
34
  children?: React.ReactNode;
35
35
  }>;
36
36
  refs: {
37
37
  [key: string]: React.ReactInstance;
38
38
  };
39
- shouldComponentUpdate?(nextProps: Readonly<Pick<Props & import("../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex">>, nextState: Readonly<{
39
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Props & import("../hoc/withSortedPageRows").Props, "pageRows">>, nextState: Readonly<{
40
40
  pageRows: import("../types").RowType[];
41
41
  }>, nextContext: any): boolean;
42
42
  componentWillUnmount?(): void;
43
43
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
44
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Props & import("../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex">>, prevState: Readonly<{
44
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Props & import("../hoc/withSortedPageRows").Props, "pageRows">>, prevState: Readonly<{
45
45
  pageRows: import("../types").RowType[];
46
46
  }>): any;
47
47
  componentWillMount?(): void;
48
48
  UNSAFE_componentWillMount?(): void;
49
- componentWillReceiveProps?(nextProps: Readonly<Pick<Props & import("../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex">>, nextContext: any): void;
50
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Props & import("../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex">>, nextContext: any): void;
51
- componentWillUpdate?(nextProps: Readonly<Pick<Props & import("../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex">>, nextState: Readonly<{
49
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Props & import("../hoc/withSortedPageRows").Props, "pageRows">>, nextContext: any): void;
50
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Props & import("../hoc/withSortedPageRows").Props, "pageRows">>, nextContext: any): void;
51
+ componentWillUpdate?(nextProps: Readonly<Omit<Props & import("../hoc/withSortedPageRows").Props, "pageRows">>, nextState: Readonly<{
52
52
  pageRows: import("../types").RowType[];
53
53
  }>, nextContext: any): void;
54
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Props & import("../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex">>, nextState: Readonly<{
54
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Props & import("../hoc/withSortedPageRows").Props, "pageRows">>, nextState: Readonly<{
55
55
  pageRows: import("../types").RowType[];
56
56
  }>, nextContext: any): void;
57
57
  };
58
- new (props: Pick<Props & import("../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex">, context?: any): {
58
+ new (props: Omit<Props & import("../hoc/withSortedPageRows").Props, "pageRows">, context?: any): {
59
59
  state: {
60
60
  pageRows: never[];
61
61
  };
62
62
  componentDidMount(): void;
63
- componentDidUpdate(_prevProps: Pick<Props & import("../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex">, prevState: {
63
+ componentDidUpdate(_prevProps: Omit<Props & import("../hoc/withSortedPageRows").Props, "pageRows">, prevState: {
64
64
  pageRows: import("../types").RowType[];
65
65
  }): void;
66
66
  render(): JSX.Element;
@@ -69,7 +69,7 @@ declare const _default: {
69
69
  pageRows: import("../types").RowType[];
70
70
  } | ((prevState: Readonly<{
71
71
  pageRows: import("../types").RowType[];
72
- }>, props: Readonly<Pick<Props & import("../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex">>) => {
72
+ }>, props: Readonly<Omit<Props & import("../hoc/withSortedPageRows").Props, "pageRows">>) => {
73
73
  pageRows: import("../types").RowType[];
74
74
  } | Pick<{
75
75
  pageRows: import("../types").RowType[];
@@ -77,32 +77,32 @@ declare const _default: {
77
77
  pageRows: import("../types").RowType[];
78
78
  }, K> | null, callback?: (() => void) | undefined): void;
79
79
  forceUpdate(callBack?: (() => void) | undefined): void;
80
- readonly props: Readonly<Pick<Props & import("../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex">> & Readonly<{
80
+ readonly props: Readonly<Omit<Props & import("../hoc/withSortedPageRows").Props, "pageRows">> & Readonly<{
81
81
  children?: React.ReactNode;
82
82
  }>;
83
83
  refs: {
84
84
  [key: string]: React.ReactInstance;
85
85
  };
86
- shouldComponentUpdate?(nextProps: Readonly<Pick<Props & import("../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex">>, nextState: Readonly<{
86
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Props & import("../hoc/withSortedPageRows").Props, "pageRows">>, nextState: Readonly<{
87
87
  pageRows: import("../types").RowType[];
88
88
  }>, nextContext: any): boolean;
89
89
  componentWillUnmount?(): void;
90
90
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
91
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Props & import("../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex">>, prevState: Readonly<{
91
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Props & import("../hoc/withSortedPageRows").Props, "pageRows">>, prevState: Readonly<{
92
92
  pageRows: import("../types").RowType[];
93
93
  }>): any;
94
94
  componentWillMount?(): void;
95
95
  UNSAFE_componentWillMount?(): void;
96
- componentWillReceiveProps?(nextProps: Readonly<Pick<Props & import("../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex">>, nextContext: any): void;
97
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Props & import("../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex">>, nextContext: any): void;
98
- componentWillUpdate?(nextProps: Readonly<Pick<Props & import("../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex">>, nextState: Readonly<{
96
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Props & import("../hoc/withSortedPageRows").Props, "pageRows">>, nextContext: any): void;
97
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Props & import("../hoc/withSortedPageRows").Props, "pageRows">>, nextContext: any): void;
98
+ componentWillUpdate?(nextProps: Readonly<Omit<Props & import("../hoc/withSortedPageRows").Props, "pageRows">>, nextState: Readonly<{
99
99
  pageRows: import("../types").RowType[];
100
100
  }>, nextContext: any): void;
101
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Props & import("../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex">>, nextState: Readonly<{
101
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Props & import("../hoc/withSortedPageRows").Props, "pageRows">>, nextState: Readonly<{
102
102
  pageRows: import("../types").RowType[];
103
103
  }>, nextContext: any): void;
104
104
  };
105
- getDerivedStateFromProps(props: Pick<Props & import("../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex">, state: {
105
+ getDerivedStateFromProps(props: Omit<Props & import("../hoc/withSortedPageRows").Props, "pageRows">, state: {
106
106
  pageRows: import("../types").RowType[];
107
107
  }): {
108
108
  pageRows: import("../types").RowType[];
@@ -46,7 +46,7 @@ export default class DynamicTable extends React.Component<StatefulProps, State>
46
46
  state: {
47
47
  page: number | undefined;
48
48
  sortKey: string | undefined;
49
- sortOrder: "ASC" | "DESC" | undefined;
49
+ sortOrder: SortOrderType | undefined;
50
50
  rows: RowType[] | undefined;
51
51
  };
52
52
  UNSAFE_componentWillReceiveProps(newProps: StatefulProps): void;
@@ -37,7 +37,7 @@ declare class DynamicTable extends React.Component<Props, State> {
37
37
  render(): JSX.Element;
38
38
  }
39
39
  export { DynamicTable as DynamicTableWithoutAnalytics };
40
- declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Pick<Props, "caption" | "head" | "label" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "testId" | "highlightedRowIndex" | "isLoading" | "isRankingDisabled" | "onRankStart" | "onRankEnd" | "onSort" | "isRankable" | "emptyView" | "loadingSpinnerSize" | "totalRows" | "onSetPage" | "paginationi18n">, "caption" | "head" | "label" | "rows" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "testId" | "highlightedRowIndex" | "emptyView" | "loadingSpinnerSize" | "totalRows"> & Partial<Pick<Pick<Props, "caption" | "head" | "label" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "testId" | "highlightedRowIndex" | "isLoading" | "isRankingDisabled" | "onRankStart" | "onRankEnd" | "onSort" | "isRankable" | "emptyView" | "loadingSpinnerSize" | "totalRows" | "onSetPage" | "paginationi18n">, "isFixedSize" | "page" | "rowsPerPage" | "isLoading" | "isRankingDisabled" | "onRankStart" | "onRankEnd" | "onSort" | "isRankable" | "onSetPage" | "paginationi18n">> & Partial<Pick<{
40
+ declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<Props, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "caption" | "head" | "label" | "rows" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "testId" | "highlightedRowIndex" | "emptyView" | "loadingSpinnerSize" | "totalRows"> & Partial<Pick<Omit<Props, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "isFixedSize" | "page" | "rowsPerPage" | "isLoading" | "isRankingDisabled" | "onRankStart" | "onRankEnd" | "onSort" | "isRankable" | "onSetPage" | "paginationi18n">> & Partial<Pick<{
41
41
  isLoading: boolean;
42
42
  isFixedSize: boolean;
43
43
  rowsPerPage: number;
@@ -18,12 +18,12 @@ export declare class RankableBody extends React.Component<Props, {}> {
18
18
  render(): JSX.Element;
19
19
  }
20
20
  declare const _default: {
21
- new (props: Readonly<Pick<Props & import("../../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex" | "isRanking" | "isRankingDisabled" | "onRankStart" | "onRankEnd">>): {
21
+ new (props: Readonly<Omit<Props & import("../../hoc/withSortedPageRows").Props, "pageRows">>): {
22
22
  state: {
23
23
  pageRows: never[];
24
24
  };
25
25
  componentDidMount(): void;
26
- componentDidUpdate(_prevProps: Pick<Props & import("../../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex" | "isRanking" | "isRankingDisabled" | "onRankStart" | "onRankEnd">, prevState: {
26
+ componentDidUpdate(_prevProps: Omit<Props & import("../../hoc/withSortedPageRows").Props, "pageRows">, prevState: {
27
27
  pageRows: RowType[];
28
28
  }): void;
29
29
  render(): JSX.Element;
@@ -32,7 +32,7 @@ declare const _default: {
32
32
  pageRows: RowType[];
33
33
  } | ((prevState: Readonly<{
34
34
  pageRows: RowType[];
35
- }>, props: Readonly<Pick<Props & import("../../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex" | "isRanking" | "isRankingDisabled" | "onRankStart" | "onRankEnd">>) => {
35
+ }>, props: Readonly<Omit<Props & import("../../hoc/withSortedPageRows").Props, "pageRows">>) => {
36
36
  pageRows: RowType[];
37
37
  } | Pick<{
38
38
  pageRows: RowType[];
@@ -40,37 +40,37 @@ declare const _default: {
40
40
  pageRows: RowType[];
41
41
  }, K> | null, callback?: (() => void) | undefined): void;
42
42
  forceUpdate(callBack?: (() => void) | undefined): void;
43
- readonly props: Readonly<Pick<Props & import("../../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex" | "isRanking" | "isRankingDisabled" | "onRankStart" | "onRankEnd">> & Readonly<{
43
+ readonly props: Readonly<Omit<Props & import("../../hoc/withSortedPageRows").Props, "pageRows">> & Readonly<{
44
44
  children?: React.ReactNode;
45
45
  }>;
46
46
  refs: {
47
47
  [key: string]: React.ReactInstance;
48
48
  };
49
- shouldComponentUpdate?(nextProps: Readonly<Pick<Props & import("../../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex" | "isRanking" | "isRankingDisabled" | "onRankStart" | "onRankEnd">>, nextState: Readonly<{
49
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Props & import("../../hoc/withSortedPageRows").Props, "pageRows">>, nextState: Readonly<{
50
50
  pageRows: RowType[];
51
51
  }>, nextContext: any): boolean;
52
52
  componentWillUnmount?(): void;
53
53
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
54
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Props & import("../../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex" | "isRanking" | "isRankingDisabled" | "onRankStart" | "onRankEnd">>, prevState: Readonly<{
54
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Props & import("../../hoc/withSortedPageRows").Props, "pageRows">>, prevState: Readonly<{
55
55
  pageRows: RowType[];
56
56
  }>): any;
57
57
  componentWillMount?(): void;
58
58
  UNSAFE_componentWillMount?(): void;
59
- componentWillReceiveProps?(nextProps: Readonly<Pick<Props & import("../../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex" | "isRanking" | "isRankingDisabled" | "onRankStart" | "onRankEnd">>, nextContext: any): void;
60
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Props & import("../../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex" | "isRanking" | "isRankingDisabled" | "onRankStart" | "onRankEnd">>, nextContext: any): void;
61
- componentWillUpdate?(nextProps: Readonly<Pick<Props & import("../../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex" | "isRanking" | "isRankingDisabled" | "onRankStart" | "onRankEnd">>, nextState: Readonly<{
59
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Props & import("../../hoc/withSortedPageRows").Props, "pageRows">>, nextContext: any): void;
60
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Props & import("../../hoc/withSortedPageRows").Props, "pageRows">>, nextContext: any): void;
61
+ componentWillUpdate?(nextProps: Readonly<Omit<Props & import("../../hoc/withSortedPageRows").Props, "pageRows">>, nextState: Readonly<{
62
62
  pageRows: RowType[];
63
63
  }>, nextContext: any): void;
64
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Props & import("../../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex" | "isRanking" | "isRankingDisabled" | "onRankStart" | "onRankEnd">>, nextState: Readonly<{
64
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Props & import("../../hoc/withSortedPageRows").Props, "pageRows">>, nextState: Readonly<{
65
65
  pageRows: RowType[];
66
66
  }>, nextContext: any): void;
67
67
  };
68
- new (props: Pick<Props & import("../../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex" | "isRanking" | "isRankingDisabled" | "onRankStart" | "onRankEnd">, context?: any): {
68
+ new (props: Omit<Props & import("../../hoc/withSortedPageRows").Props, "pageRows">, context?: any): {
69
69
  state: {
70
70
  pageRows: never[];
71
71
  };
72
72
  componentDidMount(): void;
73
- componentDidUpdate(_prevProps: Pick<Props & import("../../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex" | "isRanking" | "isRankingDisabled" | "onRankStart" | "onRankEnd">, prevState: {
73
+ componentDidUpdate(_prevProps: Omit<Props & import("../../hoc/withSortedPageRows").Props, "pageRows">, prevState: {
74
74
  pageRows: RowType[];
75
75
  }): void;
76
76
  render(): JSX.Element;
@@ -79,7 +79,7 @@ declare const _default: {
79
79
  pageRows: RowType[];
80
80
  } | ((prevState: Readonly<{
81
81
  pageRows: RowType[];
82
- }>, props: Readonly<Pick<Props & import("../../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex" | "isRanking" | "isRankingDisabled" | "onRankStart" | "onRankEnd">>) => {
82
+ }>, props: Readonly<Omit<Props & import("../../hoc/withSortedPageRows").Props, "pageRows">>) => {
83
83
  pageRows: RowType[];
84
84
  } | Pick<{
85
85
  pageRows: RowType[];
@@ -87,32 +87,32 @@ declare const _default: {
87
87
  pageRows: RowType[];
88
88
  }, K> | null, callback?: (() => void) | undefined): void;
89
89
  forceUpdate(callBack?: (() => void) | undefined): void;
90
- readonly props: Readonly<Pick<Props & import("../../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex" | "isRanking" | "isRankingDisabled" | "onRankStart" | "onRankEnd">> & Readonly<{
90
+ readonly props: Readonly<Omit<Props & import("../../hoc/withSortedPageRows").Props, "pageRows">> & Readonly<{
91
91
  children?: React.ReactNode;
92
92
  }>;
93
93
  refs: {
94
94
  [key: string]: React.ReactInstance;
95
95
  };
96
- shouldComponentUpdate?(nextProps: Readonly<Pick<Props & import("../../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex" | "isRanking" | "isRankingDisabled" | "onRankStart" | "onRankEnd">>, nextState: Readonly<{
96
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Props & import("../../hoc/withSortedPageRows").Props, "pageRows">>, nextState: Readonly<{
97
97
  pageRows: RowType[];
98
98
  }>, nextContext: any): boolean;
99
99
  componentWillUnmount?(): void;
100
100
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
101
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Props & import("../../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex" | "isRanking" | "isRankingDisabled" | "onRankStart" | "onRankEnd">>, prevState: Readonly<{
101
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Props & import("../../hoc/withSortedPageRows").Props, "pageRows">>, prevState: Readonly<{
102
102
  pageRows: RowType[];
103
103
  }>): any;
104
104
  componentWillMount?(): void;
105
105
  UNSAFE_componentWillMount?(): void;
106
- componentWillReceiveProps?(nextProps: Readonly<Pick<Props & import("../../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex" | "isRanking" | "isRankingDisabled" | "onRankStart" | "onRankEnd">>, nextContext: any): void;
107
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Props & import("../../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex" | "isRanking" | "isRankingDisabled" | "onRankStart" | "onRankEnd">>, nextContext: any): void;
108
- componentWillUpdate?(nextProps: Readonly<Pick<Props & import("../../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex" | "isRanking" | "isRankingDisabled" | "onRankStart" | "onRankEnd">>, nextState: Readonly<{
106
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Props & import("../../hoc/withSortedPageRows").Props, "pageRows">>, nextContext: any): void;
107
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Props & import("../../hoc/withSortedPageRows").Props, "pageRows">>, nextContext: any): void;
108
+ componentWillUpdate?(nextProps: Readonly<Omit<Props & import("../../hoc/withSortedPageRows").Props, "pageRows">>, nextState: Readonly<{
109
109
  pageRows: RowType[];
110
110
  }>, nextContext: any): void;
111
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Props & import("../../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex" | "isRanking" | "isRankingDisabled" | "onRankStart" | "onRankEnd">>, nextState: Readonly<{
111
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Props & import("../../hoc/withSortedPageRows").Props, "pageRows">>, nextState: Readonly<{
112
112
  pageRows: RowType[];
113
113
  }>, nextContext: any): void;
114
114
  };
115
- getDerivedStateFromProps(props: Pick<Props & import("../../hoc/withSortedPageRows").Props, "head" | "isFixedSize" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | "isTotalPagesControlledExternally" | "testId" | "highlightedRowIndex" | "isRanking" | "isRankingDisabled" | "onRankStart" | "onRankEnd">, state: {
115
+ getDerivedStateFromProps(props: Omit<Props & import("../../hoc/withSortedPageRows").Props, "pageRows">, state: {
116
116
  pageRows: RowType[];
117
117
  }): {
118
118
  pageRows: RowType[];
@@ -10,5 +10,5 @@ export interface Props extends WithDimensionsProps {
10
10
  export declare class RankableTableCell extends React.Component<Props, {}> {
11
11
  render(): JSX.Element;
12
12
  }
13
- declare const _default: React.ComponentClass<Pick<Props, "head" | "isFixedSize" | "testId" | "isRanking" | "cell">, import("../../hoc/withDimensions").State>;
13
+ declare const _default: React.ComponentClass<Omit<Props, "innerRef" | "refWidth" | "refHeight">, import("../../hoc/withDimensions").State>;
14
14
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { WithDimensionsProps } from '../../hoc/withDimensions';
3
3
  import { Props as HeadCellProps } from '../TableHeadCell';
4
- declare const _default: React.ComponentClass<Pick<WithDimensionsProps & HeadCellProps, "onKeyDown" | "onClick" | "content" | "isFixedSize" | "sortKey" | "sortOrder" | "testId" | "isRanking" | "isSortable" | "inlineStyles">, import("../../hoc/withDimensions").State>;
4
+ declare const _default: React.ComponentClass<Omit<WithDimensionsProps & HeadCellProps, "innerRef" | "refWidth" | "refHeight">, import("../../hoc/withDimensions").State>;
5
5
  export default _default;
@@ -14,5 +14,5 @@ export declare class RankableTableRow extends React.Component<Props> {
14
14
  innerRef: (innerRefFn: Function) => (ref: HTMLTableRowElement) => void;
15
15
  render(): JSX.Element;
16
16
  }
17
- declare const _default: React.ComponentClass<Pick<Props, "head" | "isFixedSize" | "testId" | "isHighlighted" | "row" | "isRanking" | "rowIndex" | "isRankingDisabled">, import("../../hoc/withDimensions").State>;
17
+ declare const _default: React.ComponentClass<Omit<Props, "innerRef" | "refWidth" | "refHeight">, import("../../hoc/withDimensions").State>;
18
18
  export default _default;
@@ -14,12 +14,12 @@ export interface WithSortedPageRowsProps {
14
14
  isTotalPagesControlledExternally?: boolean;
15
15
  }
16
16
  export default function withSortedPageRows<WrappedComponentProps extends WithSortedPageRowsProps & Props>(WrappedComponent: React.ComponentType<WrappedComponentProps>): {
17
- new (props: Readonly<Pick<WrappedComponentProps & Props, "head" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | Exclude<keyof WrappedComponentProps, "pageRows">>>): {
17
+ new (props: Readonly<Omit<WrappedComponentProps & Props, "pageRows">>): {
18
18
  state: {
19
19
  pageRows: never[];
20
20
  };
21
21
  componentDidMount(): void;
22
- componentDidUpdate(_prevProps: Pick<WrappedComponentProps & Props, "head" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | Exclude<keyof WrappedComponentProps, "pageRows">>, prevState: {
22
+ componentDidUpdate(_prevProps: Omit<WrappedComponentProps & Props, "pageRows">, prevState: {
23
23
  pageRows: Array<RowType>;
24
24
  }): void;
25
25
  render(): JSX.Element;
@@ -28,7 +28,7 @@ export default function withSortedPageRows<WrappedComponentProps extends WithSor
28
28
  pageRows: Array<RowType>;
29
29
  } | ((prevState: Readonly<{
30
30
  pageRows: Array<RowType>;
31
- }>, props: Readonly<Pick<WrappedComponentProps & Props, "head" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | Exclude<keyof WrappedComponentProps, "pageRows">>>) => {
31
+ }>, props: Readonly<Omit<WrappedComponentProps & Props, "pageRows">>) => {
32
32
  pageRows: Array<RowType>;
33
33
  } | Pick<{
34
34
  pageRows: Array<RowType>;
@@ -36,37 +36,37 @@ export default function withSortedPageRows<WrappedComponentProps extends WithSor
36
36
  pageRows: Array<RowType>;
37
37
  }, K> | null, callback?: (() => void) | undefined): void;
38
38
  forceUpdate(callBack?: (() => void) | undefined): void;
39
- readonly props: Readonly<Pick<WrappedComponentProps & Props, "head" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | Exclude<keyof WrappedComponentProps, "pageRows">>> & Readonly<{
39
+ readonly props: Readonly<Omit<WrappedComponentProps & Props, "pageRows">> & Readonly<{
40
40
  children?: React.ReactNode;
41
41
  }>;
42
42
  refs: {
43
43
  [key: string]: React.ReactInstance;
44
44
  };
45
- shouldComponentUpdate?(nextProps: Readonly<Pick<WrappedComponentProps & Props, "head" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | Exclude<keyof WrappedComponentProps, "pageRows">>>, nextState: Readonly<{
45
+ shouldComponentUpdate?(nextProps: Readonly<Omit<WrappedComponentProps & Props, "pageRows">>, nextState: Readonly<{
46
46
  pageRows: Array<RowType>;
47
47
  }>, nextContext: any): boolean;
48
48
  componentWillUnmount?(): void;
49
49
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
50
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<WrappedComponentProps & Props, "head" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | Exclude<keyof WrappedComponentProps, "pageRows">>>, prevState: Readonly<{
50
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<WrappedComponentProps & Props, "pageRows">>, prevState: Readonly<{
51
51
  pageRows: Array<RowType>;
52
52
  }>): any;
53
53
  componentWillMount?(): void;
54
54
  UNSAFE_componentWillMount?(): void;
55
- componentWillReceiveProps?(nextProps: Readonly<Pick<WrappedComponentProps & Props, "head" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | Exclude<keyof WrappedComponentProps, "pageRows">>>, nextContext: any): void;
56
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<WrappedComponentProps & Props, "head" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | Exclude<keyof WrappedComponentProps, "pageRows">>>, nextContext: any): void;
57
- componentWillUpdate?(nextProps: Readonly<Pick<WrappedComponentProps & Props, "head" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | Exclude<keyof WrappedComponentProps, "pageRows">>>, nextState: Readonly<{
55
+ componentWillReceiveProps?(nextProps: Readonly<Omit<WrappedComponentProps & Props, "pageRows">>, nextContext: any): void;
56
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<WrappedComponentProps & Props, "pageRows">>, nextContext: any): void;
57
+ componentWillUpdate?(nextProps: Readonly<Omit<WrappedComponentProps & Props, "pageRows">>, nextState: Readonly<{
58
58
  pageRows: Array<RowType>;
59
59
  }>, nextContext: any): void;
60
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<WrappedComponentProps & Props, "head" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | Exclude<keyof WrappedComponentProps, "pageRows">>>, nextState: Readonly<{
60
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<WrappedComponentProps & Props, "pageRows">>, nextState: Readonly<{
61
61
  pageRows: Array<RowType>;
62
62
  }>, nextContext: any): void;
63
63
  };
64
- new (props: Pick<WrappedComponentProps & Props, "head" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | Exclude<keyof WrappedComponentProps, "pageRows">>, context?: any): {
64
+ new (props: Omit<WrappedComponentProps & Props, "pageRows">, context?: any): {
65
65
  state: {
66
66
  pageRows: never[];
67
67
  };
68
68
  componentDidMount(): void;
69
- componentDidUpdate(_prevProps: Pick<WrappedComponentProps & Props, "head" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | Exclude<keyof WrappedComponentProps, "pageRows">>, prevState: {
69
+ componentDidUpdate(_prevProps: Omit<WrappedComponentProps & Props, "pageRows">, prevState: {
70
70
  pageRows: Array<RowType>;
71
71
  }): void;
72
72
  render(): JSX.Element;
@@ -75,7 +75,7 @@ export default function withSortedPageRows<WrappedComponentProps extends WithSor
75
75
  pageRows: Array<RowType>;
76
76
  } | ((prevState: Readonly<{
77
77
  pageRows: Array<RowType>;
78
- }>, props: Readonly<Pick<WrappedComponentProps & Props, "head" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | Exclude<keyof WrappedComponentProps, "pageRows">>>) => {
78
+ }>, props: Readonly<Omit<WrappedComponentProps & Props, "pageRows">>) => {
79
79
  pageRows: Array<RowType>;
80
80
  } | Pick<{
81
81
  pageRows: Array<RowType>;
@@ -83,28 +83,28 @@ export default function withSortedPageRows<WrappedComponentProps extends WithSor
83
83
  pageRows: Array<RowType>;
84
84
  }, K> | null, callback?: (() => void) | undefined): void;
85
85
  forceUpdate(callBack?: (() => void) | undefined): void;
86
- readonly props: Readonly<Pick<WrappedComponentProps & Props, "head" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | Exclude<keyof WrappedComponentProps, "pageRows">>> & Readonly<{
86
+ readonly props: Readonly<Omit<WrappedComponentProps & Props, "pageRows">> & Readonly<{
87
87
  children?: React.ReactNode;
88
88
  }>;
89
89
  refs: {
90
90
  [key: string]: React.ReactInstance;
91
91
  };
92
- shouldComponentUpdate?(nextProps: Readonly<Pick<WrappedComponentProps & Props, "head" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | Exclude<keyof WrappedComponentProps, "pageRows">>>, nextState: Readonly<{
92
+ shouldComponentUpdate?(nextProps: Readonly<Omit<WrappedComponentProps & Props, "pageRows">>, nextState: Readonly<{
93
93
  pageRows: Array<RowType>;
94
94
  }>, nextContext: any): boolean;
95
95
  componentWillUnmount?(): void;
96
96
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
97
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<WrappedComponentProps & Props, "head" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | Exclude<keyof WrappedComponentProps, "pageRows">>>, prevState: Readonly<{
97
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<WrappedComponentProps & Props, "pageRows">>, prevState: Readonly<{
98
98
  pageRows: Array<RowType>;
99
99
  }>): any;
100
100
  componentWillMount?(): void;
101
101
  UNSAFE_componentWillMount?(): void;
102
- componentWillReceiveProps?(nextProps: Readonly<Pick<WrappedComponentProps & Props, "head" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | Exclude<keyof WrappedComponentProps, "pageRows">>>, nextContext: any): void;
103
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<WrappedComponentProps & Props, "head" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | Exclude<keyof WrappedComponentProps, "pageRows">>>, nextContext: any): void;
104
- componentWillUpdate?(nextProps: Readonly<Pick<WrappedComponentProps & Props, "head" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | Exclude<keyof WrappedComponentProps, "pageRows">>>, nextState: Readonly<{
102
+ componentWillReceiveProps?(nextProps: Readonly<Omit<WrappedComponentProps & Props, "pageRows">>, nextContext: any): void;
103
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<WrappedComponentProps & Props, "pageRows">>, nextContext: any): void;
104
+ componentWillUpdate?(nextProps: Readonly<Omit<WrappedComponentProps & Props, "pageRows">>, nextState: Readonly<{
105
105
  pageRows: Array<RowType>;
106
106
  }>, nextContext: any): void;
107
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<WrappedComponentProps & Props, "head" | "rows" | "page" | "rowsPerPage" | "sortKey" | "sortOrder" | "onPageRowsUpdate" | Exclude<keyof WrappedComponentProps, "pageRows">>>, nextState: Readonly<{
107
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<WrappedComponentProps & Props, "pageRows">>, nextState: Readonly<{
108
108
  pageRows: Array<RowType>;
109
109
  }>, nextContext: any): void;
110
110
  };
@@ -12,6 +12,6 @@ declare type HeadCellProps = TruncateStyleProps & HTMLProps<HTMLTableCellElement
12
12
  isSortable?: boolean;
13
13
  sortOrder?: SortOrderType;
14
14
  };
15
- export declare const getArrowStyles: (isSortable?: boolean | undefined, sortOrder?: "ASC" | "DESC" | undefined, theme?: GlobalThemeTokens | undefined) => import("@emotion/utils").SerializedStyles | "";
15
+ export declare const getArrowStyles: (isSortable?: boolean | undefined, sortOrder?: SortOrderType | undefined, theme?: GlobalThemeTokens | undefined) => import("@emotion/utils").SerializedStyles | "";
16
16
  export declare const HeadCell: import("react").ForwardRefExoticComponent<Pick<HeadCellProps, "cite" | "data" | "form" | "label" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "content" | "height" | "width" | "isFixedSize" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "type" | "useMap" | "value" | "wmode" | "wrap" | "sortOrder" | "shouldTruncate" | "innerRef" | "testId" | "isSortable"> & import("react").RefAttributes<HTMLTableCellElement>>;
17
17
  export {};
@@ -1,5 +1,4 @@
1
1
  import { LegacyRef, ReactNode } from 'react';
2
- declare const CSS_VAR_WIDTH = "--local-dynamic-table-width";
3
2
  export interface TruncateStyleProps {
4
3
  width?: number;
5
4
  isFixedSize?: boolean;
@@ -15,4 +14,3 @@ export declare const getTruncationStyleVars: ({ width }: TruncateStyleProps) =>
15
14
  "--local-dynamic-table-width": string | undefined;
16
15
  };
17
16
  export declare const cellStyles: import("@emotion/utils").SerializedStyles;
18
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/dynamic-table",
3
- "version": "14.5.2",
3
+ "version": "14.5.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/"
@@ -28,7 +28,7 @@
28
28
  "@atlaskit/pagination": "^14.0.0",
29
29
  "@atlaskit/spinner": "^15.0.0",
30
30
  "@atlaskit/theme": "^12.1.0",
31
- "@atlaskit/tokens": "^0.8.0",
31
+ "@atlaskit/tokens": "^0.10.0",
32
32
  "@babel/runtime": "^7.0.0",
33
33
  "@emotion/core": "^10.0.9",
34
34
  "react-beautiful-dnd": "^12.1.1"
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "devDependencies": {
41
41
  "@atlaskit/avatar": "^20.5.0",
42
- "@atlaskit/button": "^16.2.0",
42
+ "@atlaskit/button": "^16.3.0",
43
43
  "@atlaskit/docs": "*",
44
44
  "@atlaskit/dropdown-menu": "^11.1.0",
45
45
  "@atlaskit/ssr": "*",
@@ -52,7 +52,7 @@
52
52
  "enzyme": "^3.10.0",
53
53
  "react-dom": "^16.8.0",
54
54
  "styled-components": "^3.2.6",
55
- "typescript": "3.9.6",
55
+ "typescript": "4.2.4",
56
56
  "uuid": "^3.1.0"
57
57
  },
58
58
  "techstack": {
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/theme.js",
4
4
  "module": "../dist/esm/theme.js",
5
5
  "module:es2019": "../dist/es2019/theme.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/theme.d.ts"
7
8
  }
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/types.js",
4
4
  "module": "../dist/esm/types.js",
5
5
  "module:es2019": "../dist/es2019/types.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/types.d.ts"
7
8
  }