@atlaskit/link-datasource 0.34.4 → 0.34.6
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 +12 -0
- package/dist/cjs/ui/datasource-table-view/datasourceTableView.js +25 -20
- package/dist/cjs/ui/jira-issues-modal/modal/index.js +1 -1
- package/dist/es2019/ui/datasource-table-view/datasourceTableView.js +25 -20
- package/dist/es2019/ui/jira-issues-modal/modal/index.js +1 -1
- package/dist/esm/ui/datasource-table-view/datasourceTableView.js +25 -20
- package/dist/esm/ui/jira-issues-modal/modal/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 0.34.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d018119646e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d018119646e) - [ux] Added classname to datasource table for disabling of comments in confluence
|
|
8
|
+
|
|
9
|
+
## 0.34.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 0.34.4
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -69,25 +69,30 @@ var DatasourceTableView = function DatasourceTableView(_ref) {
|
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
var isDataReady = columns.length > 0;
|
|
72
|
-
return (
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
72
|
+
return (
|
|
73
|
+
// datasource-table classname is to exclude all children from being commentable - exclude list is in CFE
|
|
74
|
+
(0, _react2.jsx)("div", {
|
|
75
|
+
className: "datasource-table"
|
|
76
|
+
}, isDataReady ? (0, _react2.jsx)(_issueLikeTable.IssueLikeDataTableView, {
|
|
77
|
+
testId: 'datasource-table-view',
|
|
78
|
+
hasNextPage: hasNextPage,
|
|
79
|
+
items: responseItems,
|
|
80
|
+
onNextPage: onNextPage,
|
|
81
|
+
onLoadDatasourceDetails: loadDatasourceDetails,
|
|
82
|
+
status: status,
|
|
83
|
+
columns: columns,
|
|
84
|
+
visibleColumnKeys: visibleColumnKeys || defaultVisibleColumnKeys,
|
|
85
|
+
onVisibleColumnKeysChange: onVisibleColumnKeysChange,
|
|
86
|
+
scrollableContainerHeight: 590
|
|
87
|
+
}) : (0, _react2.jsx)(_emptyState.default, {
|
|
88
|
+
testId: "datasource-table-view-skeleton",
|
|
89
|
+
isCompact: true,
|
|
90
|
+
isLoading: !isDataReady || status === 'loading'
|
|
91
|
+
}), (0, _react2.jsx)(_tableFooter.TableFooter, {
|
|
92
|
+
issueCount: isDataReady ? totalCount : undefined,
|
|
93
|
+
onRefresh: forcedReset,
|
|
94
|
+
isLoading: !isDataReady || status === 'loading'
|
|
95
|
+
}))
|
|
96
|
+
);
|
|
92
97
|
};
|
|
93
98
|
exports.DatasourceTableView = DatasourceTableView;
|
|
@@ -344,7 +344,7 @@ var analyticsContextAttributes = {
|
|
|
344
344
|
};
|
|
345
345
|
var analyticsContextData = {
|
|
346
346
|
packageName: "@atlaskit/link-datasource",
|
|
347
|
-
packageVersion: "0.34.
|
|
347
|
+
packageVersion: "0.34.6",
|
|
348
348
|
source: 'datasourceConfigModal'
|
|
349
349
|
};
|
|
350
350
|
var contextData = _objectSpread(_objectSpread({}, analyticsContextData), {}, {
|
|
@@ -63,24 +63,29 @@ export const DatasourceTableView = ({
|
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
65
|
const isDataReady = columns.length > 0;
|
|
66
|
-
return
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
66
|
+
return (
|
|
67
|
+
// datasource-table classname is to exclude all children from being commentable - exclude list is in CFE
|
|
68
|
+
jsx("div", {
|
|
69
|
+
className: "datasource-table"
|
|
70
|
+
}, isDataReady ? jsx(IssueLikeDataTableView, {
|
|
71
|
+
testId: 'datasource-table-view',
|
|
72
|
+
hasNextPage: hasNextPage,
|
|
73
|
+
items: responseItems,
|
|
74
|
+
onNextPage: onNextPage,
|
|
75
|
+
onLoadDatasourceDetails: loadDatasourceDetails,
|
|
76
|
+
status: status,
|
|
77
|
+
columns: columns,
|
|
78
|
+
visibleColumnKeys: visibleColumnKeys || defaultVisibleColumnKeys,
|
|
79
|
+
onVisibleColumnKeysChange: onVisibleColumnKeysChange,
|
|
80
|
+
scrollableContainerHeight: 590
|
|
81
|
+
}) : jsx(EmptyState, {
|
|
82
|
+
testId: "datasource-table-view-skeleton",
|
|
83
|
+
isCompact: true,
|
|
84
|
+
isLoading: !isDataReady || status === 'loading'
|
|
85
|
+
}), jsx(TableFooter, {
|
|
86
|
+
issueCount: isDataReady ? totalCount : undefined,
|
|
87
|
+
onRefresh: forcedReset,
|
|
88
|
+
isLoading: !isDataReady || status === 'loading'
|
|
89
|
+
}))
|
|
90
|
+
);
|
|
86
91
|
};
|
|
@@ -290,7 +290,7 @@ const analyticsContextAttributes = {
|
|
|
290
290
|
};
|
|
291
291
|
const analyticsContextData = {
|
|
292
292
|
packageName: "@atlaskit/link-datasource",
|
|
293
|
-
packageVersion: "0.34.
|
|
293
|
+
packageVersion: "0.34.6",
|
|
294
294
|
source: 'datasourceConfigModal'
|
|
295
295
|
};
|
|
296
296
|
const contextData = {
|
|
@@ -61,24 +61,29 @@ export var DatasourceTableView = function DatasourceTableView(_ref) {
|
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
63
|
var isDataReady = columns.length > 0;
|
|
64
|
-
return
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
64
|
+
return (
|
|
65
|
+
// datasource-table classname is to exclude all children from being commentable - exclude list is in CFE
|
|
66
|
+
jsx("div", {
|
|
67
|
+
className: "datasource-table"
|
|
68
|
+
}, isDataReady ? jsx(IssueLikeDataTableView, {
|
|
69
|
+
testId: 'datasource-table-view',
|
|
70
|
+
hasNextPage: hasNextPage,
|
|
71
|
+
items: responseItems,
|
|
72
|
+
onNextPage: onNextPage,
|
|
73
|
+
onLoadDatasourceDetails: loadDatasourceDetails,
|
|
74
|
+
status: status,
|
|
75
|
+
columns: columns,
|
|
76
|
+
visibleColumnKeys: visibleColumnKeys || defaultVisibleColumnKeys,
|
|
77
|
+
onVisibleColumnKeysChange: onVisibleColumnKeysChange,
|
|
78
|
+
scrollableContainerHeight: 590
|
|
79
|
+
}) : jsx(EmptyState, {
|
|
80
|
+
testId: "datasource-table-view-skeleton",
|
|
81
|
+
isCompact: true,
|
|
82
|
+
isLoading: !isDataReady || status === 'loading'
|
|
83
|
+
}), jsx(TableFooter, {
|
|
84
|
+
issueCount: isDataReady ? totalCount : undefined,
|
|
85
|
+
onRefresh: forcedReset,
|
|
86
|
+
isLoading: !isDataReady || status === 'loading'
|
|
87
|
+
}))
|
|
88
|
+
);
|
|
84
89
|
};
|
|
@@ -334,7 +334,7 @@ var analyticsContextAttributes = {
|
|
|
334
334
|
};
|
|
335
335
|
var analyticsContextData = {
|
|
336
336
|
packageName: "@atlaskit/link-datasource",
|
|
337
|
-
packageVersion: "0.34.
|
|
337
|
+
packageVersion: "0.34.6",
|
|
338
338
|
source: 'datasourceConfigModal'
|
|
339
339
|
};
|
|
340
340
|
var contextData = _objectSpread(_objectSpread({}, analyticsContextData), {}, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.6",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@atlaskit/linking-types": "^8.2.0",
|
|
48
48
|
"@atlaskit/lozenge": "^11.4.0",
|
|
49
49
|
"@atlaskit/modal-dialog": "^12.6.0",
|
|
50
|
-
"@atlaskit/pragmatic-drag-and-drop": "^0.
|
|
50
|
+
"@atlaskit/pragmatic-drag-and-drop": "^0.23.0",
|
|
51
51
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^0.11.0",
|
|
52
52
|
"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll": "^0.6.0",
|
|
53
53
|
"@atlaskit/pragmatic-drag-and-drop-react-indicator": "^0.16.0",
|