@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration
Advanced tools
Comparing version 0.1.0 to 0.2.1
# @atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration | ||
## 0.2.1 | ||
### Patch Changes | ||
- [`16a901a9476`](https://bitbucket.org/atlassian/atlassian-frontend/commits/16a901a9476) - - Fixes a bug that could lead to invalid syntax when inserting comments before | ||
a `JSXExpressionContainer` node. Comments will now be wrapped in a new | ||
`JSXExpressionContainer` node. | ||
- Adds a file filter to the codemod transformers, so that only files which import | ||
either `react-beautiful-dnd` or `react-beautiful-dnd-next` will be processed. | ||
## 0.2.0 | ||
### Minor Changes | ||
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump | ||
### Patch Changes | ||
- Updated dependencies | ||
## 0.1.0 | ||
@@ -4,0 +24,0 @@ |
@@ -19,10 +19,10 @@ "use strict"; | ||
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } | ||
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } /** | ||
* The lifecycle methods owned by this provided are used to align internal | ||
* timings with those of the rbd lifecycle. | ||
* | ||
* The events are intentionally distinct to those exposed by rbd to avoid | ||
* any confusion around whether events are fired internally or externally | ||
* first. | ||
*/ | ||
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } /** | ||
* The lifecycle methods owned by this provided are used to align internal | ||
* timings with those of the rbd lifecycle. | ||
* | ||
* The events are intentionally distinct to those exposed by rbd to avoid | ||
* any confusion around whether events are fired internally or externally | ||
* first. | ||
*/ | ||
/** | ||
@@ -29,0 +29,0 @@ * The data associated with each type of lifecycle event. |
{ | ||
"name": "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration", | ||
"version": "0.1.0", | ||
"version": "0.2.1", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration", | ||
"version": "0.1.0", | ||
"version": "0.2.1", | ||
"sideEffects": false | ||
} |
import _slicedToArray from "@babel/runtime/helpers/slicedToArray"; | ||
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; } | ||
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } | ||
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } | ||
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } | ||
/** | ||
@@ -6,0 +6,0 @@ * The lifecycle methods owned by this provided are used to align internal |
{ | ||
"name": "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration", | ||
"version": "0.1.0", | ||
"version": "0.2.1", | ||
"sideEffects": false | ||
} |
@@ -8,3 +8,3 @@ import type { DragStart, DragUpdate, DropResult, ResponderProvided } from 'react-beautiful-dnd'; | ||
declare type EventName = keyof typeof defaultMessage; | ||
declare type EventData<Event extends EventName> = Parameters<typeof defaultMessage[Event]>[0]; | ||
declare type EventData<Event extends EventName> = Parameters<(typeof defaultMessage)[Event]>[0]; | ||
export declare function getDefaultMessage<Event extends EventName>(event: Event, data: EventData<Event>): string; | ||
@@ -11,0 +11,0 @@ export declare function getProvided<Event extends EventName>(event: Event, data: EventData<Event>): { |
{ | ||
"name": "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration", | ||
"version": "0.1.0", | ||
"version": "0.2.1", | ||
"description": "Migration layer for quickly moving from react-beautiful-dnd to @atlaskit/drag-and-drop.", | ||
@@ -25,7 +25,7 @@ "publishConfig": { | ||
"dependencies": { | ||
"@atlaskit/drag-and-drop": "^0.15.0", | ||
"@atlaskit/drag-and-drop-autoscroll": "^0.2.1", | ||
"@atlaskit/drag-and-drop-hitbox": "^0.8.0", | ||
"@atlaskit/drag-and-drop-live-region": "^0.2.1", | ||
"@atlaskit/tokens": "^1.2.4", | ||
"@atlaskit/drag-and-drop": "^0.16.0", | ||
"@atlaskit/drag-and-drop-autoscroll": "^0.3.0", | ||
"@atlaskit/drag-and-drop-hitbox": "^0.9.0", | ||
"@atlaskit/drag-and-drop-live-region": "^0.3.0", | ||
"@atlaskit/tokens": "^1.3.0", | ||
"@babel/runtime": "^7.0.0", | ||
@@ -41,8 +41,8 @@ "@emotion/react": "^11.7.1", | ||
"devDependencies": { | ||
"@atlaskit/codemod-utils": "^4.1.3", | ||
"@atlaskit/codemod-utils": "^4.2.0", | ||
"@atlaskit/docs": "*", | ||
"@atlaskit/motion": "^1.3.0", | ||
"@atlaskit/radio": "^5.4.2", | ||
"@atlaskit/motion": "^1.4.0", | ||
"@atlaskit/radio": "^5.5.0", | ||
"@atlaskit/ssr": "*", | ||
"@atlaskit/tokens": "^1.2.0", | ||
"@atlaskit/tokens": "^1.3.0", | ||
"@atlaskit/visual-regression": "*", | ||
@@ -49,0 +49,0 @@ "@atlaskit/webdriver-runner": "*", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
949414
26746
+ Added@atlaskit/drag-and-drop@0.16.0(transitive)
+ Added@atlaskit/drag-and-drop-autoscroll@0.3.0(transitive)
+ Added@atlaskit/drag-and-drop-hitbox@0.9.0(transitive)
+ Added@atlaskit/drag-and-drop-live-region@0.3.0(transitive)
- Removed@atlaskit/drag-and-drop@0.15.1(transitive)
- Removed@atlaskit/drag-and-drop-autoscroll@0.2.5(transitive)
- Removed@atlaskit/drag-and-drop-hitbox@0.8.1(transitive)
- Removed@atlaskit/drag-and-drop-live-region@0.2.2(transitive)
Updated@atlaskit/tokens@^1.3.0