@atlaskit/table-tree 11.0.0 → 11.1.0
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 +15 -0
- package/dist/cjs/components/header.js +1 -1
- package/dist/cjs/components/internal/chevron.js +2 -2
- package/dist/cjs/components/internal/common-cell.js +1 -1
- package/dist/cjs/components/row.js +2 -2
- package/dist/es2019/components/header.js +1 -1
- package/dist/es2019/components/internal/chevron.js +2 -2
- package/dist/es2019/components/internal/common-cell.js +1 -1
- package/dist/es2019/components/row.js +2 -2
- package/dist/esm/components/header.js +1 -1
- package/dist/esm/components/internal/chevron.js +2 -2
- package/dist/esm/components/internal/common-cell.js +1 -1
- package/dist/esm/components/row.js +2 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/table-tree
|
|
2
2
|
|
|
3
|
+
## 11.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#122917](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/122917)
|
|
8
|
+
[`676bb1889e74d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/676bb1889e74d) -
|
|
9
|
+
Updated expand buttons to use new icons. This change is behind a feature flag and will be
|
|
10
|
+
available in a later release.
|
|
11
|
+
|
|
12
|
+
## 11.0.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 11.0.0
|
|
4
19
|
|
|
5
20
|
### Major Changes
|
|
@@ -18,7 +18,7 @@ var _withColumnWidth = _interopRequireDefault(require("./internal/with-column-wi
|
|
|
18
18
|
|
|
19
19
|
var headerStyles = (0, _react.css)({
|
|
20
20
|
color: "var(--ds-text-subtle, ".concat(_colors.N300, ")"),
|
|
21
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
21
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
22
22
|
fontWeight: "var(--ds-font-weight-bold, 700)"
|
|
23
23
|
});
|
|
24
24
|
|
|
@@ -8,8 +8,8 @@ exports.default = void 0;
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _new = require("@atlaskit/button/new");
|
|
10
10
|
var _noop = _interopRequireDefault(require("@atlaskit/ds-lib/noop"));
|
|
11
|
-
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/
|
|
12
|
-
var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/
|
|
11
|
+
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/utility/migration/chevron-down"));
|
|
12
|
+
var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/utility/migration/chevron-right"));
|
|
13
13
|
var _styled = require("./styled");
|
|
14
14
|
/* eslint-disable @repo/internal/react/consistent-props-definitions */
|
|
15
15
|
/* eslint-disable react/prop-types */
|
|
@@ -25,7 +25,7 @@ var commonStyles = (0, _react.css)({
|
|
|
25
25
|
position: 'relative',
|
|
26
26
|
alignItems: 'center',
|
|
27
27
|
color: "var(--ds-text, ".concat(_colors.N800, ")"),
|
|
28
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
28
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
29
29
|
hyphens: 'auto',
|
|
30
30
|
wordBreak: 'break-word'
|
|
31
31
|
});
|
|
@@ -69,7 +69,7 @@ function Row(_ref) {
|
|
|
69
69
|
actionSubject: 'tableTree',
|
|
70
70
|
componentName: 'row',
|
|
71
71
|
packageName: "@atlaskit/table-tree",
|
|
72
|
-
packageVersion: "11.
|
|
72
|
+
packageVersion: "11.1.0"
|
|
73
73
|
});
|
|
74
74
|
var onCollapse = (0, _analyticsNext.usePlatformLeafEventHandler)({
|
|
75
75
|
fn: function fn(value) {
|
|
@@ -79,7 +79,7 @@ function Row(_ref) {
|
|
|
79
79
|
actionSubject: 'tableTree',
|
|
80
80
|
componentName: 'row',
|
|
81
81
|
packageName: "@atlaskit/table-tree",
|
|
82
|
-
packageVersion: "11.
|
|
82
|
+
packageVersion: "11.1.0"
|
|
83
83
|
});
|
|
84
84
|
|
|
85
85
|
/**
|
|
@@ -10,7 +10,7 @@ import CommonCell from './internal/common-cell';
|
|
|
10
10
|
import withColumnWidth from './internal/with-column-width';
|
|
11
11
|
const headerStyles = css({
|
|
12
12
|
color: `var(--ds-text-subtle, ${N300})`,
|
|
13
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
13
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
14
14
|
fontWeight: "var(--ds-font-weight-bold, 700)"
|
|
15
15
|
});
|
|
16
16
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { IconButton } from '@atlaskit/button/new';
|
|
5
5
|
import __noop from '@atlaskit/ds-lib/noop';
|
|
6
|
-
import ChevronDownIcon from '@atlaskit/icon/
|
|
7
|
-
import ChevronRightIcon from '@atlaskit/icon/
|
|
6
|
+
import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down';
|
|
7
|
+
import ChevronRightIcon from '@atlaskit/icon/utility/migration/chevron-right';
|
|
8
8
|
import { ChevronContainer } from './styled';
|
|
9
9
|
/**
|
|
10
10
|
* Internal chevron component.
|
|
@@ -17,7 +17,7 @@ const commonStyles = css({
|
|
|
17
17
|
position: 'relative',
|
|
18
18
|
alignItems: 'center',
|
|
19
19
|
color: `var(--ds-text, ${N800})`,
|
|
20
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
20
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
21
21
|
hyphens: 'auto',
|
|
22
22
|
wordBreak: 'break-word'
|
|
23
23
|
});
|
|
@@ -53,7 +53,7 @@ function Row({
|
|
|
53
53
|
actionSubject: 'tableTree',
|
|
54
54
|
componentName: 'row',
|
|
55
55
|
packageName: "@atlaskit/table-tree",
|
|
56
|
-
packageVersion: "11.
|
|
56
|
+
packageVersion: "11.1.0"
|
|
57
57
|
});
|
|
58
58
|
const onCollapse = usePlatformLeafEventHandler({
|
|
59
59
|
fn: value => providedOnCollapse && providedOnCollapse(value),
|
|
@@ -61,7 +61,7 @@ function Row({
|
|
|
61
61
|
actionSubject: 'tableTree',
|
|
62
62
|
componentName: 'row',
|
|
63
63
|
packageName: "@atlaskit/table-tree",
|
|
64
|
-
packageVersion: "11.
|
|
64
|
+
packageVersion: "11.1.0"
|
|
65
65
|
});
|
|
66
66
|
|
|
67
67
|
/**
|
|
@@ -10,7 +10,7 @@ import CommonCell from './internal/common-cell';
|
|
|
10
10
|
import withColumnWidth from './internal/with-column-width';
|
|
11
11
|
var headerStyles = css({
|
|
12
12
|
color: "var(--ds-text-subtle, ".concat(N300, ")"),
|
|
13
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
13
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
14
14
|
fontWeight: "var(--ds-font-weight-bold, 700)"
|
|
15
15
|
});
|
|
16
16
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { IconButton } from '@atlaskit/button/new';
|
|
5
5
|
import __noop from '@atlaskit/ds-lib/noop';
|
|
6
|
-
import ChevronDownIcon from '@atlaskit/icon/
|
|
7
|
-
import ChevronRightIcon from '@atlaskit/icon/
|
|
6
|
+
import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down';
|
|
7
|
+
import ChevronRightIcon from '@atlaskit/icon/utility/migration/chevron-right';
|
|
8
8
|
import { ChevronContainer } from './styled';
|
|
9
9
|
/**
|
|
10
10
|
* Internal chevron component.
|
|
@@ -19,7 +19,7 @@ var commonStyles = css({
|
|
|
19
19
|
position: 'relative',
|
|
20
20
|
alignItems: 'center',
|
|
21
21
|
color: "var(--ds-text, ".concat(N800, ")"),
|
|
22
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
22
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
23
23
|
hyphens: 'auto',
|
|
24
24
|
wordBreak: 'break-word'
|
|
25
25
|
});
|
|
@@ -58,7 +58,7 @@ function Row(_ref) {
|
|
|
58
58
|
actionSubject: 'tableTree',
|
|
59
59
|
componentName: 'row',
|
|
60
60
|
packageName: "@atlaskit/table-tree",
|
|
61
|
-
packageVersion: "11.
|
|
61
|
+
packageVersion: "11.1.0"
|
|
62
62
|
});
|
|
63
63
|
var onCollapse = usePlatformLeafEventHandler({
|
|
64
64
|
fn: function fn(value) {
|
|
@@ -68,7 +68,7 @@ function Row(_ref) {
|
|
|
68
68
|
actionSubject: 'tableTree',
|
|
69
69
|
componentName: 'row',
|
|
70
70
|
packageName: "@atlaskit/table-tree",
|
|
71
|
-
packageVersion: "11.
|
|
71
|
+
packageVersion: "11.1.0"
|
|
72
72
|
});
|
|
73
73
|
|
|
74
74
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/table-tree",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.1.0",
|
|
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/"
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@atlaskit/analytics-next": "^11.0.0",
|
|
29
|
-
"@atlaskit/button": "^21.
|
|
29
|
+
"@atlaskit/button": "^21.1.0",
|
|
30
30
|
"@atlaskit/ds-lib": "^4.0.0",
|
|
31
|
-
"@atlaskit/icon": "^24.
|
|
31
|
+
"@atlaskit/icon": "^24.1.0",
|
|
32
32
|
"@atlaskit/spinner": "^18.0.0",
|
|
33
|
-
"@atlaskit/theme": "^
|
|
34
|
-
"@atlaskit/tokens": "^4.
|
|
33
|
+
"@atlaskit/theme": "^18.0.0",
|
|
34
|
+
"@atlaskit/tokens": "^4.3.0",
|
|
35
35
|
"@babel/runtime": "^7.0.0",
|
|
36
36
|
"@emotion/react": "^11.7.1",
|
|
37
37
|
"lodash": "^4.17.21"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@af/visual-regression": "*",
|
|
46
46
|
"@atlaskit/ssr": "*",
|
|
47
47
|
"@atlaskit/visual-regression": "*",
|
|
48
|
-
"@atlaskit/visually-hidden": "^
|
|
48
|
+
"@atlaskit/visually-hidden": "^3.0.0",
|
|
49
49
|
"@emotion/styled": "^11.0.0",
|
|
50
50
|
"@testing-library/react": "^13.4.0",
|
|
51
51
|
"@testing-library/user-event": "^14.4.3",
|