@atlaskit/link-datasource 0.29.2 → 0.29.4
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 +13 -0
- package/dist/cjs/index.js +7 -1
- package/dist/cjs/ui/issue-like-table/index.js +4 -4
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/index.js +1 -0
- package/dist/es2019/ui/issue-like-table/index.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/ui/issue-like-table/index.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types-ts4.5/index.d.ts +1 -0
- package/package.json +2 -2
- package/report.api.md +7 -5
- package/tmp/api-report-tmp.d.ts +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 0.29.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`21822300038`](https://bitbucket.org/atlassian/atlassian-frontend/commits/21822300038) - Export AssetsConfigModal component from this package
|
|
8
|
+
|
|
9
|
+
## 0.29.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`3fb6a7558db`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fb6a7558db) - Updating internal dependency
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 0.29.2
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/cjs/index.js
CHANGED
|
@@ -11,6 +11,12 @@ Object.defineProperty(exports, "ASSETS_LIST_OF_LINKS_DATASOURCE_ID", {
|
|
|
11
11
|
return _assetsModal.ASSETS_LIST_OF_LINKS_DATASOURCE_ID;
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
|
+
Object.defineProperty(exports, "AssetsConfigModal", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function get() {
|
|
17
|
+
return _assetsModal.default;
|
|
18
|
+
}
|
|
19
|
+
});
|
|
14
20
|
Object.defineProperty(exports, "DatasourceTableView", {
|
|
15
21
|
enumerable: true,
|
|
16
22
|
get: function get() {
|
|
@@ -36,7 +42,7 @@ Object.defineProperty(exports, "JiraIssuesConfigModal", {
|
|
|
36
42
|
}
|
|
37
43
|
});
|
|
38
44
|
var _jiraIssuesModal = _interopRequireWildcard(require("./ui/jira-issues-modal"));
|
|
39
|
-
var _datasourceTableView = _interopRequireDefault(require("./ui/datasource-table-view"));
|
|
40
45
|
var _assetsModal = _interopRequireWildcard(require("./ui/assets-modal"));
|
|
46
|
+
var _datasourceTableView = _interopRequireDefault(require("./ui/datasource-table-view"));
|
|
41
47
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
42
48
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -16,9 +16,9 @@ var _react2 = require("@emotion/react");
|
|
|
16
16
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
17
17
|
var _tinyInvariant = _interopRequireDefault(require("tiny-invariant"));
|
|
18
18
|
var _linkingCommon = require("@atlaskit/linking-common");
|
|
19
|
-
var _pragmaticDragAndDropAutoscroll = require("@atlaskit/pragmatic-drag-and-drop-autoscroll");
|
|
20
19
|
var _closestEdge = require("@atlaskit/pragmatic-drag-and-drop-hitbox/addon/closest-edge");
|
|
21
20
|
var _reorderWithEdge = require("@atlaskit/pragmatic-drag-and-drop-hitbox/util/reorder-with-edge");
|
|
21
|
+
var _pragmaticDragAndDropReactBeautifulDndAutoscroll = require("@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll");
|
|
22
22
|
var _element = require("@atlaskit/pragmatic-drag-and-drop/adapter/element");
|
|
23
23
|
var _combine = require("@atlaskit/pragmatic-drag-and-drop/util/combine");
|
|
24
24
|
var _columnPicker = require("./column-picker");
|
|
@@ -197,14 +197,14 @@ var IssueLikeDataTableView = function IssueLikeDataTableView(_ref2) {
|
|
|
197
197
|
onDragStart: function onDragStart(_ref6) {
|
|
198
198
|
var location = _ref6.location;
|
|
199
199
|
initialAutoScrollerClientY.current = location.current.input.clientY;
|
|
200
|
-
|
|
200
|
+
_pragmaticDragAndDropReactBeautifulDndAutoscroll.autoScroller.start({
|
|
201
201
|
input: location.current.input,
|
|
202
202
|
behavior: 'container-only'
|
|
203
203
|
});
|
|
204
204
|
},
|
|
205
205
|
onDrag: function onDrag(_ref7) {
|
|
206
206
|
var location = _ref7.location;
|
|
207
|
-
|
|
207
|
+
_pragmaticDragAndDropReactBeautifulDndAutoscroll.autoScroller.updateInput({
|
|
208
208
|
input: _objectSpread(_objectSpread({}, location.current.input), {}, {
|
|
209
209
|
clientY: initialAutoScrollerClientY.current || 0
|
|
210
210
|
})
|
|
@@ -214,7 +214,7 @@ var IssueLikeDataTableView = function IssueLikeDataTableView(_ref2) {
|
|
|
214
214
|
var source = _ref8.source,
|
|
215
215
|
location = _ref8.location;
|
|
216
216
|
initialAutoScrollerClientY.current = null;
|
|
217
|
-
|
|
217
|
+
_pragmaticDragAndDropReactBeautifulDndAutoscroll.autoScroller.stop();
|
|
218
218
|
if (location.current.dropTargets.length === 0) {
|
|
219
219
|
return;
|
|
220
220
|
}
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as JiraIssuesConfigModal } from './ui/jira-issues-modal';
|
|
2
|
+
export { default as AssetsConfigModal } from './ui/assets-modal';
|
|
2
3
|
export { default as DatasourceTableView } from './ui/datasource-table-view';
|
|
3
4
|
export { default as JSMAssetsConfigModal } from './ui/assets-modal';
|
|
4
5
|
export { JIRA_LIST_OF_LINKS_DATASOURCE_ID } from './ui/jira-issues-modal';
|
|
@@ -4,9 +4,9 @@ import { css, jsx } from '@emotion/react';
|
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
5
|
import invariant from 'tiny-invariant';
|
|
6
6
|
import { Skeleton } from '@atlaskit/linking-common';
|
|
7
|
-
import { autoScroller } from '@atlaskit/pragmatic-drag-and-drop-autoscroll';
|
|
8
7
|
import { extractClosestEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/addon/closest-edge';
|
|
9
8
|
import { reorderWithEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/util/reorder-with-edge';
|
|
9
|
+
import { autoScroller } from '@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll';
|
|
10
10
|
import { monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/adapter/element';
|
|
11
11
|
import { combine } from '@atlaskit/pragmatic-drag-and-drop/util/combine';
|
|
12
12
|
import { ColumnPicker } from './column-picker';
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as JiraIssuesConfigModal } from './ui/jira-issues-modal';
|
|
2
|
+
export { default as AssetsConfigModal } from './ui/assets-modal';
|
|
2
3
|
export { default as DatasourceTableView } from './ui/datasource-table-view';
|
|
3
4
|
export { default as JSMAssetsConfigModal } from './ui/assets-modal';
|
|
4
5
|
export { JIRA_LIST_OF_LINKS_DATASOURCE_ID } from './ui/jira-issues-modal';
|
|
@@ -13,9 +13,9 @@ import { css, jsx } from '@emotion/react';
|
|
|
13
13
|
import styled from '@emotion/styled';
|
|
14
14
|
import invariant from 'tiny-invariant';
|
|
15
15
|
import { Skeleton } from '@atlaskit/linking-common';
|
|
16
|
-
import { autoScroller } from '@atlaskit/pragmatic-drag-and-drop-autoscroll';
|
|
17
16
|
import { extractClosestEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/addon/closest-edge';
|
|
18
17
|
import { reorderWithEdge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/util/reorder-with-edge';
|
|
18
|
+
import { autoScroller } from '@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll';
|
|
19
19
|
import { monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/adapter/element';
|
|
20
20
|
import { combine } from '@atlaskit/pragmatic-drag-and-drop/util/combine';
|
|
21
21
|
import { ColumnPicker } from './column-picker';
|
package/dist/esm/version.json
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as JiraIssuesConfigModal } from './ui/jira-issues-modal';
|
|
2
|
+
export { default as AssetsConfigModal } from './ui/assets-modal';
|
|
2
3
|
export { default as DatasourceTableView } from './ui/datasource-table-view';
|
|
3
4
|
export { default as JSMAssetsConfigModal } from './ui/assets-modal';
|
|
4
5
|
export type { JiraIssuesDatasourceAdf, JiraIssueDatasourceParameters, } from './ui/jira-issues-modal/types';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as JiraIssuesConfigModal } from './ui/jira-issues-modal';
|
|
2
|
+
export { default as AssetsConfigModal } from './ui/assets-modal';
|
|
2
3
|
export { default as DatasourceTableView } from './ui/datasource-table-view';
|
|
3
4
|
export { default as JSMAssetsConfigModal } from './ui/assets-modal';
|
|
4
5
|
export type { JiraIssuesDatasourceAdf, JiraIssueDatasourceParameters, } from './ui/jira-issues-modal/types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.4",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"@atlaskit/lozenge": "^11.4.0",
|
|
42
42
|
"@atlaskit/modal-dialog": "^12.6.0",
|
|
43
43
|
"@atlaskit/pragmatic-drag-and-drop": "^0.19.0",
|
|
44
|
-
"@atlaskit/pragmatic-drag-and-drop-autoscroll": "^0.5.0",
|
|
45
44
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^0.11.0",
|
|
45
|
+
"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll": "^0.6.0",
|
|
46
46
|
"@atlaskit/pragmatic-drag-and-drop-react-indicator": "^0.15.0",
|
|
47
47
|
"@atlaskit/select": "^16.5.0",
|
|
48
48
|
"@atlaskit/smart-card": "^26.9.0",
|
package/report.api.md
CHANGED
|
@@ -40,6 +40,13 @@ interface AssetsConfigModalProps {
|
|
|
40
40
|
visibleColumnKeys?: string[];
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
// @public (undocumented)
|
|
44
|
+
const AssetsConfigModalWithWrappers: (
|
|
45
|
+
props: AssetsConfigModalProps,
|
|
46
|
+
) => JSX.Element;
|
|
47
|
+
export { AssetsConfigModalWithWrappers as AssetsConfigModal };
|
|
48
|
+
export { AssetsConfigModalWithWrappers as JSMAssetsConfigModal };
|
|
49
|
+
|
|
43
50
|
// @public (undocumented)
|
|
44
51
|
export interface AssetsDatasourceAdf extends DatasourceAdf {
|
|
45
52
|
// (undocumented)
|
|
@@ -148,11 +155,6 @@ export interface JiraIssuesDatasourceAdf extends DatasourceAdf {
|
|
|
148
155
|
};
|
|
149
156
|
}
|
|
150
157
|
|
|
151
|
-
// @public (undocumented)
|
|
152
|
-
export const JSMAssetsConfigModal: (
|
|
153
|
-
props: AssetsConfigModalProps,
|
|
154
|
-
) => JSX.Element;
|
|
155
|
-
|
|
156
158
|
// @public (undocumented)
|
|
157
159
|
type XOR<T1, T2> =
|
|
158
160
|
| (T1 & {
|
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -28,6 +28,11 @@ interface AssetsConfigModalProps {
|
|
|
28
28
|
visibleColumnKeys?: string[];
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
// @public (undocumented)
|
|
32
|
+
const AssetsConfigModalWithWrappers: (props: AssetsConfigModalProps) => JSX.Element;
|
|
33
|
+
export { AssetsConfigModalWithWrappers as AssetsConfigModal }
|
|
34
|
+
export { AssetsConfigModalWithWrappers as JSMAssetsConfigModal }
|
|
35
|
+
|
|
31
36
|
// @public (undocumented)
|
|
32
37
|
export interface AssetsDatasourceAdf extends DatasourceAdf {
|
|
33
38
|
// (undocumented)
|
|
@@ -128,9 +133,6 @@ export interface JiraIssuesDatasourceAdf extends DatasourceAdf {
|
|
|
128
133
|
};
|
|
129
134
|
}
|
|
130
135
|
|
|
131
|
-
// @public (undocumented)
|
|
132
|
-
export const JSMAssetsConfigModal: (props: AssetsConfigModalProps) => JSX.Element;
|
|
133
|
-
|
|
134
136
|
// @public (undocumented)
|
|
135
137
|
type XOR<T1, T2> = (T1 & {
|
|
136
138
|
[k in Exclude<keyof T2, keyof T1>]?: never;
|