@atlaskit/table-tree 9.2.9 → 9.2.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 +13 -0
- package/dist/cjs/components/internal/styled.js +2 -2
- package/dist/cjs/components/row.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/internal/styled.js +2 -2
- package/dist/es2019/components/row.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/internal/styled.js +2 -2
- package/dist/esm/components/row.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/components/internal/common-cell.d.ts +2 -1
- package/dist/types/components/internal/overflow-container.d.ts +2 -1
- package/dist/types/components/internal/styled.d.ts +17 -7
- package/package.json +9 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/table-tree
|
|
2
2
|
|
|
3
|
+
## 9.2.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
10
|
+
## 9.2.10
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 9.2.9
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -39,9 +39,10 @@ var commonChevronContainerStyles = (0, _react.css)({
|
|
|
39
39
|
top: 7,
|
|
40
40
|
alignItems: 'center'
|
|
41
41
|
});
|
|
42
|
-
|
|
43
42
|
/**
|
|
44
43
|
* __Chevron container__
|
|
44
|
+
*
|
|
45
|
+
* A wrapper container around the expand table tree button.
|
|
45
46
|
*/
|
|
46
47
|
var ChevronContainer = function ChevronContainer(props
|
|
47
48
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
@@ -78,7 +79,6 @@ var paddingLeftStyles = (0, _react.css)({
|
|
|
78
79
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
79
80
|
paddingLeft: '50%'
|
|
80
81
|
});
|
|
81
|
-
|
|
82
82
|
/**
|
|
83
83
|
* __Loader item container__
|
|
84
84
|
*
|
|
@@ -24,7 +24,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
24
24
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
25
25
|
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; } }
|
|
26
26
|
var packageName = "@atlaskit/table-tree";
|
|
27
|
-
var packageVersion = "9.2.
|
|
27
|
+
var packageVersion = "9.2.11";
|
|
28
28
|
var Row = /*#__PURE__*/function (_Component) {
|
|
29
29
|
(0, _inherits2.default)(Row, _Component);
|
|
30
30
|
var _super = _createSuper(Row);
|
package/dist/cjs/version.json
CHANGED
|
@@ -26,9 +26,10 @@ const commonChevronContainerStyles = css({
|
|
|
26
26
|
top: 7,
|
|
27
27
|
alignItems: 'center'
|
|
28
28
|
});
|
|
29
|
-
|
|
30
29
|
/**
|
|
31
30
|
* __Chevron container__
|
|
31
|
+
*
|
|
32
|
+
* A wrapper container around the expand table tree button.
|
|
32
33
|
*/
|
|
33
34
|
export const ChevronContainer = (props
|
|
34
35
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
@@ -59,7 +60,6 @@ const paddingLeftStyles = css({
|
|
|
59
60
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
60
61
|
paddingLeft: '50%'
|
|
61
62
|
});
|
|
62
|
-
|
|
63
63
|
/**
|
|
64
64
|
* __Loader item container__
|
|
65
65
|
*
|
|
@@ -7,7 +7,7 @@ import toItemId from '../utils/to-item-id';
|
|
|
7
7
|
import Chevron from './internal/chevron';
|
|
8
8
|
import { TreeRowContainer } from './internal/styled';
|
|
9
9
|
const packageName = "@atlaskit/table-tree";
|
|
10
|
-
const packageVersion = "9.2.
|
|
10
|
+
const packageVersion = "9.2.11";
|
|
11
11
|
class Row extends Component {
|
|
12
12
|
constructor(...args) {
|
|
13
13
|
super(...args);
|
package/dist/es2019/version.json
CHANGED
|
@@ -31,9 +31,10 @@ var commonChevronContainerStyles = css({
|
|
|
31
31
|
top: 7,
|
|
32
32
|
alignItems: 'center'
|
|
33
33
|
});
|
|
34
|
-
|
|
35
34
|
/**
|
|
36
35
|
* __Chevron container__
|
|
36
|
+
*
|
|
37
|
+
* A wrapper container around the expand table tree button.
|
|
37
38
|
*/
|
|
38
39
|
export var ChevronContainer = function ChevronContainer(props
|
|
39
40
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
@@ -68,7 +69,6 @@ var paddingLeftStyles = css({
|
|
|
68
69
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
69
70
|
paddingLeft: '50%'
|
|
70
71
|
});
|
|
71
|
-
|
|
72
72
|
/**
|
|
73
73
|
* __Loader item container__
|
|
74
74
|
*
|
|
@@ -15,7 +15,7 @@ import toItemId from '../utils/to-item-id';
|
|
|
15
15
|
import Chevron from './internal/chevron';
|
|
16
16
|
import { TreeRowContainer } from './internal/styled';
|
|
17
17
|
var packageName = "@atlaskit/table-tree";
|
|
18
|
-
var packageVersion = "9.2.
|
|
18
|
+
var packageVersion = "9.2.11";
|
|
19
19
|
var Row = /*#__PURE__*/function (_Component) {
|
|
20
20
|
_inherits(Row, _Component);
|
|
21
21
|
var _super = _createSuper(Row);
|
package/dist/esm/version.json
CHANGED
|
@@ -1,26 +1,36 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
-
import { FC, HTMLAttributes } from 'react';
|
|
2
|
+
import { FC, HTMLAttributes, ReactNode } from 'react';
|
|
3
3
|
export declare const iconColor: "var(--ds-text)";
|
|
4
4
|
export declare const indentBase: "var(--ds-space-300)";
|
|
5
5
|
/**
|
|
6
6
|
* __Tree row container__
|
|
7
7
|
*/
|
|
8
|
-
export declare const TreeRowContainer: FC<HTMLAttributes<HTMLDivElement
|
|
8
|
+
export declare const TreeRowContainer: FC<HTMLAttributes<HTMLDivElement> & {
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
}>;
|
|
11
|
+
declare type ChevronContainerProps = HTMLAttributes<HTMLSpanElement> & {
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
};
|
|
9
14
|
/**
|
|
10
15
|
* __Chevron container__
|
|
16
|
+
*
|
|
17
|
+
* A wrapper container around the expand table tree button.
|
|
11
18
|
*/
|
|
12
|
-
export declare const ChevronContainer: FC<
|
|
19
|
+
export declare const ChevronContainer: FC<ChevronContainerProps>;
|
|
13
20
|
/**
|
|
14
21
|
* __Chevron icon container__
|
|
15
22
|
*
|
|
16
23
|
* A chevron icon container.
|
|
17
24
|
*/
|
|
18
|
-
export declare const ChevronIconContainer: FC<
|
|
25
|
+
export declare const ChevronIconContainer: FC<ChevronContainerProps>;
|
|
26
|
+
declare type LoaderItemContainerProps = {
|
|
27
|
+
isRoot?: boolean;
|
|
28
|
+
children: ReactNode;
|
|
29
|
+
};
|
|
19
30
|
/**
|
|
20
31
|
* __Loader item container__
|
|
21
32
|
*
|
|
22
33
|
* A loader item container.
|
|
23
34
|
*/
|
|
24
|
-
export declare const LoaderItemContainer: FC<
|
|
25
|
-
|
|
26
|
-
}>;
|
|
35
|
+
export declare const LoaderItemContainer: FC<LoaderItemContainerProps>;
|
|
36
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/table-tree",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.11",
|
|
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/"
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
"atlaskit:src": "src/index.tsx",
|
|
17
17
|
"homepage": "https://atlassian.design/components/table-tree/",
|
|
18
18
|
"atlassian": {
|
|
19
|
-
"disableProductCI": true,
|
|
20
19
|
"team": "Design System Team",
|
|
21
20
|
"releaseModel": "scheduled",
|
|
22
21
|
"website": {
|
|
@@ -28,12 +27,12 @@
|
|
|
28
27
|
".": "./src/index.tsx"
|
|
29
28
|
},
|
|
30
29
|
"dependencies": {
|
|
31
|
-
"@atlaskit/analytics-next": "^
|
|
30
|
+
"@atlaskit/analytics-next": "^9.0.0",
|
|
32
31
|
"@atlaskit/button": "^16.5.0",
|
|
33
32
|
"@atlaskit/icon": "^21.11.0",
|
|
34
|
-
"@atlaskit/spinner": "^15.
|
|
35
|
-
"@atlaskit/theme": "^12.
|
|
36
|
-
"@atlaskit/tokens": "^1.
|
|
33
|
+
"@atlaskit/spinner": "^15.4.0",
|
|
34
|
+
"@atlaskit/theme": "^12.3.0",
|
|
35
|
+
"@atlaskit/tokens": "^1.2.0",
|
|
37
36
|
"@babel/runtime": "^7.0.0",
|
|
38
37
|
"@emotion/react": "^11.7.1",
|
|
39
38
|
"lodash": "^4.17.21",
|
|
@@ -79,8 +78,10 @@
|
|
|
79
78
|
"emotion"
|
|
80
79
|
],
|
|
81
80
|
"analytics": "analytics-next",
|
|
82
|
-
"design-tokens":
|
|
83
|
-
|
|
81
|
+
"design-tokens": [
|
|
82
|
+
"color",
|
|
83
|
+
"spacing"
|
|
84
|
+
],
|
|
84
85
|
"deprecation": "no-deprecated-imports"
|
|
85
86
|
}
|
|
86
87
|
},
|