@atlaskit/table 0.6.7 → 0.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
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/table
|
|
2
2
|
|
|
3
|
+
## 0.6.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 0.6.8
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#120049](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/120049)
|
|
14
|
+
[`77504ff274f72`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/77504ff274f72) -
|
|
15
|
+
DSP-19576: Assign names to anonymous default exports
|
|
16
|
+
|
|
3
17
|
## 0.6.7
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -20,7 +20,7 @@ var _ui = require("./ui");
|
|
|
20
20
|
|
|
21
21
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var SelectableCellComponent = function SelectableCellComponent() {
|
|
24
24
|
var _useSelection = (0, _selectionProvider.useSelection)(),
|
|
25
25
|
_useSelection2 = (0, _slicedToArray2.default)(_useSelection, 2),
|
|
26
26
|
_useSelection2$ = _useSelection2[0],
|
|
@@ -42,4 +42,7 @@ var SelectableCell = function SelectableCell() {
|
|
|
42
42
|
label: (0, _react2.jsx)(_visuallyHidden.default, null, "Select row ", idx + 1)
|
|
43
43
|
}));
|
|
44
44
|
};
|
|
45
|
-
var
|
|
45
|
+
var SelectableCell = /*#__PURE__*/(0, _react.memo)(SelectableCellComponent);
|
|
46
|
+
|
|
47
|
+
// eslint-disable-next-line @repo/internal/react/require-jsdoc
|
|
48
|
+
var _default = exports.default = SelectableCell;
|
|
@@ -11,7 +11,7 @@ import VisuallyHidden from '@atlaskit/visually-hidden';
|
|
|
11
11
|
import { useSelection } from './hooks/selection-provider';
|
|
12
12
|
import { useRowId } from './hooks/use-row-id';
|
|
13
13
|
import { SelectableCell as SelectableCellPrimitive } from './ui';
|
|
14
|
-
const
|
|
14
|
+
const SelectableCellComponent = () => {
|
|
15
15
|
const [{
|
|
16
16
|
allChecked,
|
|
17
17
|
checked
|
|
@@ -29,4 +29,7 @@ const SelectableCell = () => {
|
|
|
29
29
|
label: jsx(VisuallyHidden, null, "Select row ", idx + 1)
|
|
30
30
|
}));
|
|
31
31
|
};
|
|
32
|
-
|
|
32
|
+
const SelectableCell = /*#__PURE__*/memo(SelectableCellComponent);
|
|
33
|
+
|
|
34
|
+
// eslint-disable-next-line @repo/internal/react/require-jsdoc
|
|
35
|
+
export default SelectableCell;
|
|
@@ -12,7 +12,7 @@ import VisuallyHidden from '@atlaskit/visually-hidden';
|
|
|
12
12
|
import { useSelection } from './hooks/selection-provider';
|
|
13
13
|
import { useRowId } from './hooks/use-row-id';
|
|
14
14
|
import { SelectableCell as SelectableCellPrimitive } from './ui';
|
|
15
|
-
var
|
|
15
|
+
var SelectableCellComponent = function SelectableCellComponent() {
|
|
16
16
|
var _useSelection = useSelection(),
|
|
17
17
|
_useSelection2 = _slicedToArray(_useSelection, 2),
|
|
18
18
|
_useSelection2$ = _useSelection2[0],
|
|
@@ -34,4 +34,7 @@ var SelectableCell = function SelectableCell() {
|
|
|
34
34
|
label: jsx(VisuallyHidden, null, "Select row ", idx + 1)
|
|
35
35
|
}));
|
|
36
36
|
};
|
|
37
|
-
|
|
37
|
+
var SelectableCell = /*#__PURE__*/memo(SelectableCellComponent);
|
|
38
|
+
|
|
39
|
+
// eslint-disable-next-line @repo/internal/react/require-jsdoc
|
|
40
|
+
export default SelectableCell;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
2
|
+
declare const SelectableCell: import("react").NamedExoticComponent<{}>;
|
|
3
|
+
export default SelectableCell;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
2
|
+
declare const SelectableCell: import("react").NamedExoticComponent<{}>;
|
|
3
|
+
export default SelectableCell;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/table",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.9",
|
|
4
4
|
"description": "A table is used to display data.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"./primitives": "./src/ui/index.tsx"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@atlaskit/button": "^
|
|
44
|
+
"@atlaskit/button": "^19.0.0",
|
|
45
45
|
"@atlaskit/checkbox": "^13.5.0",
|
|
46
46
|
"@atlaskit/ds-lib": "^2.3.0",
|
|
47
47
|
"@atlaskit/focus-ring": "^1.5.0",
|
|
48
48
|
"@atlaskit/icon": "^22.6.0",
|
|
49
49
|
"@atlaskit/primitives": "^11.0.0",
|
|
50
|
-
"@atlaskit/tokens": "^1.
|
|
50
|
+
"@atlaskit/tokens": "^1.56.0",
|
|
51
51
|
"@atlaskit/tooltip": "^18.5.0",
|
|
52
52
|
"@atlaskit/visually-hidden": "^1.4.0",
|
|
53
53
|
"@babel/runtime": "^7.0.0",
|