@atlaskit/table-tree 9.6.8 → 9.6.9
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
|
@@ -28,7 +28,7 @@ var treeRowClickableStyles = (0, _react2.css)({
|
|
|
28
28
|
cursor: 'pointer'
|
|
29
29
|
});
|
|
30
30
|
var packageName = "@atlaskit/table-tree";
|
|
31
|
-
var packageVersion = "9.6.
|
|
31
|
+
var packageVersion = "9.6.9";
|
|
32
32
|
var Row = exports.RowWithoutAnalytics = /*#__PURE__*/function (_Component) {
|
|
33
33
|
(0, _inherits2.default)(Row, _Component);
|
|
34
34
|
var _super = _createSuper(Row);
|
|
@@ -20,7 +20,7 @@ var treeRowClickableStyles = css({
|
|
|
20
20
|
cursor: 'pointer'
|
|
21
21
|
});
|
|
22
22
|
var packageName = "@atlaskit/table-tree";
|
|
23
|
-
var packageVersion = "9.6.
|
|
23
|
+
var packageVersion = "9.6.9";
|
|
24
24
|
var Row = /*#__PURE__*/function (_Component) {
|
|
25
25
|
_inherits(Row, _Component);
|
|
26
26
|
var _super = _createSuper(Row);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/table-tree",
|
|
3
|
-
"version": "9.6.
|
|
3
|
+
"version": "9.6.9",
|
|
4
4
|
"description": "A table tree is an expandable table for showing nested hierarchies of information.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
27
|
-
"@atlaskit/button": "^
|
|
27
|
+
"@atlaskit/button": "^17.0.0",
|
|
28
28
|
"@atlaskit/icon": "^22.0.0",
|
|
29
29
|
"@atlaskit/spinner": "^16.0.0",
|
|
30
30
|
"@atlaskit/theme": "^12.6.0",
|
|
31
|
-
"@atlaskit/tokens": "^1.
|
|
31
|
+
"@atlaskit/tokens": "^1.30.0",
|
|
32
32
|
"@babel/runtime": "^7.0.0",
|
|
33
33
|
"@emotion/react": "^11.7.1",
|
|
34
34
|
"lodash": "^4.17.21"
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/table-tree"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
/// <reference types="react" />
|
|
8
|
-
|
|
9
|
-
import { Component } from 'react';
|
|
10
|
-
import { jsx } from '@emotion/react';
|
|
11
|
-
import { default as React_2 } from 'react';
|
|
12
|
-
import { ReactNode } from 'react';
|
|
13
|
-
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
14
|
-
import { WithContextProps } from '@atlaskit/analytics-next';
|
|
15
|
-
|
|
16
|
-
// @public (undocumented)
|
|
17
|
-
export const Cell: (props: CellProps & CellWithColumnWidthProps) => JSX.Element;
|
|
18
|
-
|
|
19
|
-
// @public (undocumented)
|
|
20
|
-
export interface CellProps {
|
|
21
|
-
children?: ReactNode;
|
|
22
|
-
className?: string;
|
|
23
|
-
indentLevel?: number;
|
|
24
|
-
singleLine?: boolean;
|
|
25
|
-
width?: number | string;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
// @public (undocumented)
|
|
29
|
-
export interface CellWithColumnWidthProps {
|
|
30
|
-
// (undocumented)
|
|
31
|
-
columnIndex?: number;
|
|
32
|
-
// (undocumented)
|
|
33
|
-
width?: number | string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// @public (undocumented)
|
|
37
|
-
type ColumnWidth = number | string;
|
|
38
|
-
|
|
39
|
-
// @public (undocumented)
|
|
40
|
-
export const Header: (props: any) => JSX.Element;
|
|
41
|
-
|
|
42
|
-
// @public (undocumented)
|
|
43
|
-
class Headers_2 extends Component<any> {
|
|
44
|
-
// (undocumented)
|
|
45
|
-
render(): jsx.JSX.Element;
|
|
46
|
-
}
|
|
47
|
-
export { Headers_2 as Headers }
|
|
48
|
-
|
|
49
|
-
// @public (undocumented)
|
|
50
|
-
export const Row: React_2.ForwardRefExoticComponent<Pick<Pick<Omit<any, keyof WithAnalyticsEventsProps>, number | string | symbol> & React_2.RefAttributes<any> & WithContextProps, number | string | symbol> & React_2.RefAttributes<any>>;
|
|
51
|
-
|
|
52
|
-
// @public (undocumented)
|
|
53
|
-
export class Rows<T> extends Component<RowsProps<T>> {
|
|
54
|
-
// (undocumented)
|
|
55
|
-
render(): JSX.Element;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
// @public (undocumented)
|
|
59
|
-
export interface RowsProps<T> {
|
|
60
|
-
// (undocumented)
|
|
61
|
-
items?: WithChildren<T>[];
|
|
62
|
-
// (undocumented)
|
|
63
|
-
render: (args: WithChildren<T>) => React_2.ReactNode;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
// @public (undocumented)
|
|
67
|
-
interface State {
|
|
68
|
-
// (undocumented)
|
|
69
|
-
columnWidths: ColumnWidth[];
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// @public (undocumented)
|
|
73
|
-
class TableTree extends Component<any, State> {
|
|
74
|
-
// (undocumented)
|
|
75
|
-
componentDidMount(): void;
|
|
76
|
-
// (undocumented)
|
|
77
|
-
getColumnWidth: (columnIndex: any) => ColumnWidth | null;
|
|
78
|
-
// (undocumented)
|
|
79
|
-
render(): JSX.Element;
|
|
80
|
-
// (undocumented)
|
|
81
|
-
setColumnWidth: (columnIndex: number, width: ColumnWidth) => void;
|
|
82
|
-
// (undocumented)
|
|
83
|
-
state: State;
|
|
84
|
-
}
|
|
85
|
-
export default TableTree;
|
|
86
|
-
|
|
87
|
-
// @public
|
|
88
|
-
export class TableTreeDataHelper<T extends any = any> {
|
|
89
|
-
constructor({ key }?: {
|
|
90
|
-
key?: keyof T | undefined;
|
|
91
|
-
});
|
|
92
|
-
// (undocumented)
|
|
93
|
-
appendItems(items: T[], allItems?: T[], parentItem?: T | null): T[];
|
|
94
|
-
// (undocumented)
|
|
95
|
-
key: keyof T;
|
|
96
|
-
// (undocumented)
|
|
97
|
-
keysCache: any;
|
|
98
|
-
// (undocumented)
|
|
99
|
-
updateItems(items: T[], allItems?: T[], parentItem?: T | null): T[];
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// @public (undocumented)
|
|
103
|
-
type WithChildren<T> = T & {
|
|
104
|
-
children?: T[] | null;
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
// (No @packageDocumentation comment for this package)
|
|
108
|
-
|
|
109
|
-
```
|