@atlaskit/pragmatic-drag-and-drop 1.5.2 → 1.5.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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/pragmatic-drag-and-drop
2
2
 
3
+ ## 1.5.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#145191](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/145191)
8
+ [`cd21ebedb9a08`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cd21ebedb9a08) -
9
+ Internal change to move towards Compiled CSS-in-JS styling.
10
+
3
11
  ## 1.5.2
4
12
 
5
13
  ### Patch Changes
@@ -275,12 +275,11 @@ function makeHoneyPotFix() {
275
275
  // We are adding the honey pot `onDragStart` so we don't
276
276
  // impact the creation of the native drag preview.
277
277
  if (eventName === 'onDragStart') {
278
- var _latestPointerMove;
279
278
  var input = payload.location.initial.input;
280
279
 
281
280
  // Sometimes there will be no latest "pointermove" (eg iOS).
282
281
  // In which case, we use the start position of the drag.
283
- var initial = (_latestPointerMove = latestPointerMove) !== null && _latestPointerMove !== void 0 ? _latestPointerMove : {
282
+ var initial = latestPointerMove !== null && latestPointerMove !== void 0 ? latestPointerMove : {
284
283
  x: input.clientX,
285
284
  y: input.clientY
286
285
  };
@@ -268,12 +268,11 @@ export function makeHoneyPotFix() {
268
268
  // We are adding the honey pot `onDragStart` so we don't
269
269
  // impact the creation of the native drag preview.
270
270
  if (eventName === 'onDragStart') {
271
- var _latestPointerMove;
272
271
  var input = payload.location.initial.input;
273
272
 
274
273
  // Sometimes there will be no latest "pointermove" (eg iOS).
275
274
  // In which case, we use the start position of the drag.
276
- var initial = (_latestPointerMove = latestPointerMove) !== null && _latestPointerMove !== void 0 ? _latestPointerMove : {
275
+ var initial = latestPointerMove !== null && latestPointerMove !== void 0 ? latestPointerMove : {
277
276
  x: input.clientX,
278
277
  y: input.clientY
279
278
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/pragmatic-drag-and-drop",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "The core package for Pragmatic drag and drop - enabling fast drag and drop for any experience on any tech stack",
5
5
  "repository": "https://github.com/atlassian/pragmatic-drag-and-drop",
6
6
  "author": "Atlassian Pty Ltd",