@atlaskit/dynamic-table 18.3.22 → 18.3.24
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/dynamic-table
|
|
2
2
|
|
|
3
|
+
## 18.3.24
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 18.3.23
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`08170da1fbf62`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/08170da1fbf62) -
|
|
14
|
+
Migrate spacing prop usages on icons to Flex wrapper
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 18.3.22
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -85,14 +85,14 @@ var DynamicTable = function DynamicTable(_ref) {
|
|
|
85
85
|
action: 'sorted',
|
|
86
86
|
componentName: 'dynamicTable',
|
|
87
87
|
packageName: "@atlaskit/dynamic-table",
|
|
88
|
-
packageVersion: "
|
|
88
|
+
packageVersion: "18.3.23"
|
|
89
89
|
});
|
|
90
90
|
var onRankEnd = (0, _analyticsNext.usePlatformLeafEventHandler)({
|
|
91
91
|
fn: providedOnRankEnd,
|
|
92
92
|
action: 'ranked',
|
|
93
93
|
componentName: 'dynamicTable',
|
|
94
94
|
packageName: "@atlaskit/dynamic-table",
|
|
95
|
-
packageVersion: "
|
|
95
|
+
packageVersion: "18.3.23"
|
|
96
96
|
});
|
|
97
97
|
(0, _react.useEffect)(function () {
|
|
98
98
|
(0, _helpers.validateSortKey)(sortKey, head);
|
|
@@ -60,14 +60,14 @@ const DynamicTable = ({
|
|
|
60
60
|
action: 'sorted',
|
|
61
61
|
componentName: 'dynamicTable',
|
|
62
62
|
packageName: "@atlaskit/dynamic-table",
|
|
63
|
-
packageVersion: "
|
|
63
|
+
packageVersion: "18.3.23"
|
|
64
64
|
});
|
|
65
65
|
const onRankEnd = usePlatformLeafEventHandler({
|
|
66
66
|
fn: providedOnRankEnd,
|
|
67
67
|
action: 'ranked',
|
|
68
68
|
componentName: 'dynamicTable',
|
|
69
69
|
packageName: "@atlaskit/dynamic-table",
|
|
70
|
-
packageVersion: "
|
|
70
|
+
packageVersion: "18.3.23"
|
|
71
71
|
});
|
|
72
72
|
useEffect(() => {
|
|
73
73
|
validateSortKey(sortKey, head);
|
|
@@ -76,14 +76,14 @@ var DynamicTable = function DynamicTable(_ref) {
|
|
|
76
76
|
action: 'sorted',
|
|
77
77
|
componentName: 'dynamicTable',
|
|
78
78
|
packageName: "@atlaskit/dynamic-table",
|
|
79
|
-
packageVersion: "
|
|
79
|
+
packageVersion: "18.3.23"
|
|
80
80
|
});
|
|
81
81
|
var onRankEnd = usePlatformLeafEventHandler({
|
|
82
82
|
fn: providedOnRankEnd,
|
|
83
83
|
action: 'ranked',
|
|
84
84
|
componentName: 'dynamicTable',
|
|
85
85
|
packageName: "@atlaskit/dynamic-table",
|
|
86
|
-
packageVersion: "
|
|
86
|
+
packageVersion: "18.3.23"
|
|
87
87
|
});
|
|
88
88
|
useEffect(function () {
|
|
89
89
|
validateSortKey(sortKey, head);
|
package/dynamic-table.docs.tsx
CHANGED
|
@@ -40,6 +40,32 @@ const documentation: ComponentStructuredContentSource[] = [
|
|
|
40
40
|
],
|
|
41
41
|
categories: ['data display', 'table', 'list'],
|
|
42
42
|
},
|
|
43
|
+
{
|
|
44
|
+
name: 'DynamicTableStateless',
|
|
45
|
+
description:
|
|
46
|
+
'A stateless dynamic table for when you need to control pagination, sorting, and data externally. Use when integrating with custom state management.',
|
|
47
|
+
status: 'general-availability',
|
|
48
|
+
import: {
|
|
49
|
+
name: 'DynamicTableStateless',
|
|
50
|
+
package: '@atlaskit/dynamic-table',
|
|
51
|
+
type: 'named',
|
|
52
|
+
packagePath: path.resolve(__dirname),
|
|
53
|
+
packageJson: require('./package.json'),
|
|
54
|
+
},
|
|
55
|
+
usageGuidelines: [
|
|
56
|
+
'Use when you need to control table state externally (e.g. server-side pagination, custom sort logic)',
|
|
57
|
+
'Use DynamicTable (stateful) when built-in pagination and sorting are sufficient',
|
|
58
|
+
],
|
|
59
|
+
examples: [
|
|
60
|
+
{
|
|
61
|
+
name: 'Stateless',
|
|
62
|
+
description: 'Stateless dynamic table example',
|
|
63
|
+
source: path.resolve(__dirname, './examples/1-stateless.tsx'),
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
keywords: ['table', 'dynamic-table', 'stateless', 'controlled', 'pagination', 'sorting'],
|
|
67
|
+
categories: ['data display', 'table', 'list'],
|
|
68
|
+
},
|
|
43
69
|
];
|
|
44
70
|
|
|
45
71
|
export default documentation;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/dynamic-table",
|
|
3
|
-
"version": "18.3.
|
|
3
|
+
"version": "18.3.24",
|
|
4
4
|
"description": "A dynamic table displays rows of data with built-in pagination, sorting, and re-ordering functionality.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -33,16 +33,16 @@
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/analytics-next": "^11.
|
|
36
|
+
"@atlaskit/analytics-next": "^11.2.0",
|
|
37
37
|
"@atlaskit/css": "^0.19.0",
|
|
38
38
|
"@atlaskit/ds-lib": "^6.0.0",
|
|
39
|
-
"@atlaskit/icon": "^
|
|
39
|
+
"@atlaskit/icon": "^34.0.0",
|
|
40
40
|
"@atlaskit/pagination": "^16.2.0",
|
|
41
41
|
"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration": "^2.0.0",
|
|
42
|
-
"@atlaskit/primitives": "^18.
|
|
42
|
+
"@atlaskit/primitives": "^18.1.0",
|
|
43
43
|
"@atlaskit/spinner": "^19.0.0",
|
|
44
|
-
"@atlaskit/tokens": "^11.
|
|
45
|
-
"@atlaskit/tooltip": "^21.
|
|
44
|
+
"@atlaskit/tokens": "^11.4.0",
|
|
45
|
+
"@atlaskit/tooltip": "^21.1.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0",
|
|
47
47
|
"@compiled/react": "^0.20.0"
|
|
48
48
|
},
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
"@af/accessibility-testing": "workspace:^",
|
|
55
55
|
"@af/integration-testing": "workspace:^",
|
|
56
56
|
"@af/visual-regression": "workspace:^",
|
|
57
|
-
"@atlaskit/avatar": "^25.
|
|
57
|
+
"@atlaskit/avatar": "^25.11.0",
|
|
58
58
|
"@atlaskit/banner": "^14.0.0",
|
|
59
59
|
"@atlaskit/button": "^23.10.0",
|
|
60
60
|
"@atlaskit/docs": "^11.7.0",
|
|
61
61
|
"@atlaskit/drawer": "^12.0.0",
|
|
62
|
-
"@atlaskit/dropdown-menu": "^16.
|
|
62
|
+
"@atlaskit/dropdown-menu": "^16.8.0",
|
|
63
63
|
"@atlaskit/link": "^3.3.0",
|
|
64
64
|
"@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
|
|
65
65
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
|