@atlaskit/link-datasource 0.29.2 → 0.29.3
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 +7 -0
- package/dist/cjs/ui/issue-like-table/index.js +4 -4
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/ui/issue-like-table/index.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/ui/issue-like-table/index.js +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -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
|
@@ -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
|
@@ -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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.3",
|
|
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",
|