@atlaskit/table 0.12.21 → 0.13.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/ui/expand-icon.js +0 -4
- package/dist/cjs/ui/sort-icon.js +2 -6
- package/dist/es2019/ui/expand-icon.js +0 -4
- package/dist/es2019/ui/sort-icon.js +2 -6
- package/dist/esm/ui/expand-icon.js +0 -4
- package/dist/esm/ui/sort-icon.js +2 -6
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/table
|
|
2
2
|
|
|
3
|
+
## 0.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`87b12e64ff750`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/87b12e64ff750) -
|
|
8
|
+
Removed usages of LEGACY icon props
|
|
9
|
+
|
|
10
|
+
## 0.12.22
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`036c3ee917e3c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/036c3ee917e3c) -
|
|
15
|
+
Icon migration entry point update
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 0.12.21
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -25,17 +25,13 @@ var ExpandIcon = exports.ExpandIcon = /*#__PURE__*/(0, _react.memo)(function (_r
|
|
|
25
25
|
case true:
|
|
26
26
|
return /*#__PURE__*/_react.default.createElement(_chevronUp.default, {
|
|
27
27
|
color: "currentColor",
|
|
28
|
-
LEGACY_size: "small",
|
|
29
28
|
label: "",
|
|
30
|
-
LEGACY_primaryColor: "inherit",
|
|
31
29
|
size: "small"
|
|
32
30
|
});
|
|
33
31
|
case false:
|
|
34
32
|
return /*#__PURE__*/_react.default.createElement(_chevronDown.default, {
|
|
35
33
|
color: "currentColor",
|
|
36
|
-
LEGACY_size: "small",
|
|
37
34
|
label: "",
|
|
38
|
-
LEGACY_primaryColor: "inherit",
|
|
39
35
|
size: "small"
|
|
40
36
|
});
|
|
41
37
|
}
|
package/dist/cjs/ui/sort-icon.js
CHANGED
|
@@ -7,8 +7,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.SortIcon = void 0;
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
-
var _arrowDown = _interopRequireDefault(require("@atlaskit/icon/core/
|
|
11
|
-
var _arrowUp = _interopRequireDefault(require("@atlaskit/icon/core/
|
|
10
|
+
var _arrowDown = _interopRequireDefault(require("@atlaskit/icon/core/arrow-down"));
|
|
11
|
+
var _arrowUp = _interopRequireDefault(require("@atlaskit/icon/core/arrow-up"));
|
|
12
12
|
var _useTable2 = require("../hooks/use-table");
|
|
13
13
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
14
14
|
/**
|
|
@@ -26,17 +26,13 @@ var SortIcon = exports.SortIcon = /*#__PURE__*/(0, _react.memo)(function (_ref)
|
|
|
26
26
|
case 'ascending':
|
|
27
27
|
return /*#__PURE__*/_react.default.createElement(_arrowUp.default, {
|
|
28
28
|
color: "currentColor",
|
|
29
|
-
LEGACY_size: "small",
|
|
30
29
|
label: "",
|
|
31
|
-
LEGACY_primaryColor: "inherit",
|
|
32
30
|
size: "small"
|
|
33
31
|
});
|
|
34
32
|
case 'descending':
|
|
35
33
|
return /*#__PURE__*/_react.default.createElement(_arrowDown.default, {
|
|
36
34
|
color: "currentColor",
|
|
37
|
-
LEGACY_size: "small",
|
|
38
35
|
label: "",
|
|
39
|
-
LEGACY_primaryColor: "inherit",
|
|
40
36
|
size: "small"
|
|
41
37
|
});
|
|
42
38
|
}
|
|
@@ -18,17 +18,13 @@ export const ExpandIcon = /*#__PURE__*/memo(({
|
|
|
18
18
|
case true:
|
|
19
19
|
return /*#__PURE__*/React.createElement(ChevronUpIcon, {
|
|
20
20
|
color: "currentColor",
|
|
21
|
-
LEGACY_size: "small",
|
|
22
21
|
label: "",
|
|
23
|
-
LEGACY_primaryColor: "inherit",
|
|
24
22
|
size: "small"
|
|
25
23
|
});
|
|
26
24
|
case false:
|
|
27
25
|
return /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
28
26
|
color: "currentColor",
|
|
29
|
-
LEGACY_size: "small",
|
|
30
27
|
label: "",
|
|
31
|
-
LEGACY_primaryColor: "inherit",
|
|
32
28
|
size: "small"
|
|
33
29
|
});
|
|
34
30
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { memo } from 'react';
|
|
2
|
-
import ArrowDownIcon from '@atlaskit/icon/core/
|
|
3
|
-
import ArrowUpIcon from '@atlaskit/icon/core/
|
|
2
|
+
import ArrowDownIcon from '@atlaskit/icon/core/arrow-down';
|
|
3
|
+
import ArrowUpIcon from '@atlaskit/icon/core/arrow-up';
|
|
4
4
|
import { useTable } from '../hooks/use-table';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -20,17 +20,13 @@ export const SortIcon = /*#__PURE__*/memo(({
|
|
|
20
20
|
case 'ascending':
|
|
21
21
|
return /*#__PURE__*/React.createElement(ArrowUpIcon, {
|
|
22
22
|
color: "currentColor",
|
|
23
|
-
LEGACY_size: "small",
|
|
24
23
|
label: "",
|
|
25
|
-
LEGACY_primaryColor: "inherit",
|
|
26
24
|
size: "small"
|
|
27
25
|
});
|
|
28
26
|
case 'descending':
|
|
29
27
|
return /*#__PURE__*/React.createElement(ArrowDownIcon, {
|
|
30
28
|
color: "currentColor",
|
|
31
|
-
LEGACY_size: "small",
|
|
32
29
|
label: "",
|
|
33
|
-
LEGACY_primaryColor: "inherit",
|
|
34
30
|
size: "small"
|
|
35
31
|
});
|
|
36
32
|
}
|
|
@@ -17,17 +17,13 @@ export var ExpandIcon = /*#__PURE__*/memo(function (_ref) {
|
|
|
17
17
|
case true:
|
|
18
18
|
return /*#__PURE__*/React.createElement(ChevronUpIcon, {
|
|
19
19
|
color: "currentColor",
|
|
20
|
-
LEGACY_size: "small",
|
|
21
20
|
label: "",
|
|
22
|
-
LEGACY_primaryColor: "inherit",
|
|
23
21
|
size: "small"
|
|
24
22
|
});
|
|
25
23
|
case false:
|
|
26
24
|
return /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
27
25
|
color: "currentColor",
|
|
28
|
-
LEGACY_size: "small",
|
|
29
26
|
label: "",
|
|
30
|
-
LEGACY_primaryColor: "inherit",
|
|
31
27
|
size: "small"
|
|
32
28
|
});
|
|
33
29
|
}
|
package/dist/esm/ui/sort-icon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { memo } from 'react';
|
|
2
|
-
import ArrowDownIcon from '@atlaskit/icon/core/
|
|
3
|
-
import ArrowUpIcon from '@atlaskit/icon/core/
|
|
2
|
+
import ArrowDownIcon from '@atlaskit/icon/core/arrow-down';
|
|
3
|
+
import ArrowUpIcon from '@atlaskit/icon/core/arrow-up';
|
|
4
4
|
import { useTable } from '../hooks/use-table';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -18,17 +18,13 @@ export var SortIcon = /*#__PURE__*/memo(function (_ref) {
|
|
|
18
18
|
case 'ascending':
|
|
19
19
|
return /*#__PURE__*/React.createElement(ArrowUpIcon, {
|
|
20
20
|
color: "currentColor",
|
|
21
|
-
LEGACY_size: "small",
|
|
22
21
|
label: "",
|
|
23
|
-
LEGACY_primaryColor: "inherit",
|
|
24
22
|
size: "small"
|
|
25
23
|
});
|
|
26
24
|
case 'descending':
|
|
27
25
|
return /*#__PURE__*/React.createElement(ArrowDownIcon, {
|
|
28
26
|
color: "currentColor",
|
|
29
|
-
LEGACY_size: "small",
|
|
30
27
|
label: "",
|
|
31
|
-
LEGACY_primaryColor: "inherit",
|
|
32
28
|
size: "small"
|
|
33
29
|
});
|
|
34
30
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/table",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "A table is used to display data.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"atlaskit:src": "src/index.tsx",
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@atlaskit/button": "^23.9.0",
|
|
41
|
-
"@atlaskit/checkbox": "^17.
|
|
41
|
+
"@atlaskit/checkbox": "^17.3.0",
|
|
42
42
|
"@atlaskit/css": "^0.19.0",
|
|
43
43
|
"@atlaskit/ds-lib": "^5.3.0",
|
|
44
|
-
"@atlaskit/icon": "^29.
|
|
44
|
+
"@atlaskit/icon": "^29.4.0",
|
|
45
45
|
"@atlaskit/primitives": "^17.0.0",
|
|
46
|
-
"@atlaskit/tokens": "^9.
|
|
47
|
-
"@atlaskit/tooltip": "^20.
|
|
46
|
+
"@atlaskit/tokens": "^9.1.0",
|
|
47
|
+
"@atlaskit/tooltip": "^20.12.0",
|
|
48
48
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
|
50
50
|
"@compiled/react": "^0.18.6",
|
|
@@ -56,12 +56,12 @@
|
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@af/accessibility-testing": "workspace:^",
|
|
58
58
|
"@af/integration-testing": "workspace:^",
|
|
59
|
-
"@atlaskit/avatar": "^25.
|
|
59
|
+
"@atlaskit/avatar": "^25.7.0",
|
|
60
60
|
"@atlaskit/date": "^2.0.0",
|
|
61
61
|
"@atlaskit/docs": "^11.2.0",
|
|
62
62
|
"@atlaskit/dynamic-table": "^18.3.0",
|
|
63
|
-
"@atlaskit/lozenge": "^13.
|
|
64
|
-
"@atlaskit/section-message": "^8.
|
|
63
|
+
"@atlaskit/lozenge": "^13.3.0",
|
|
64
|
+
"@atlaskit/section-message": "^8.12.0",
|
|
65
65
|
"@atlassian/ssr-tests": "workspace:^",
|
|
66
66
|
"@testing-library/react": "^13.4.0",
|
|
67
67
|
"@testing-library/react-hooks": "^8.0.1",
|