@atlaskit/pragmatic-drag-and-drop 1.1.6 → 1.1.7
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 +413 -255
- package/dist/cjs/util/changing-window/is-entering-window.js +22 -27
- package/dist/cjs/util/changing-window/is-from-another-window.js +22 -0
- package/dist/cjs/util/changing-window/is-leaving-window.js +25 -28
- package/dist/es2019/util/changing-window/is-entering-window.js +22 -28
- package/dist/es2019/util/changing-window/is-from-another-window.js +16 -0
- package/dist/es2019/util/changing-window/is-leaving-window.js +25 -29
- package/dist/esm/util/changing-window/is-entering-window.js +22 -28
- package/dist/esm/util/changing-window/is-from-another-window.js +16 -0
- package/dist/esm/util/changing-window/is-leaving-window.js +25 -29
- package/dist/types/adapter/external-adapter.d.ts +1 -1
- package/dist/types/util/changing-window/is-from-another-window.d.ts +4 -0
- package/dist/types-ts4.5/adapter/external-adapter.d.ts +1 -1
- package/dist/types-ts4.5/util/changing-window/is-from-another-window.d.ts +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,499 +1,657 @@
|
|
|
1
1
|
# @atlaskit/pragmatic-drag-and-drop
|
|
2
2
|
|
|
3
|
+
## 1.1.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#95385](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95385)
|
|
8
|
+
[`c8d2e32f5071`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c8d2e32f5071) -
|
|
9
|
+
Minor internal refactor of code concerning entering / leaving a window
|
|
10
|
+
|
|
3
11
|
## 1.1.6
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
6
14
|
|
|
7
|
-
-
|
|
15
|
+
- [#94759](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94759)
|
|
16
|
+
[`140fc0d20c02`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/140fc0d20c02) -
|
|
17
|
+
Fixing our Safari workaround in `setCustomNativeDragPreview()` for a
|
|
18
|
+
[Safari drag preview bug](https://bugs.webkit.org/show_bug.cgi?id=266025) so that it works
|
|
19
|
+
correctly for `react@18+` usage.
|
|
8
20
|
|
|
9
21
|
## 1.1.5
|
|
10
22
|
|
|
11
23
|
### Patch Changes
|
|
12
24
|
|
|
13
|
-
-
|
|
25
|
+
- [#94316](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94316)
|
|
26
|
+
[`35fd5ed8e1d7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/35fd5ed8e1d7) -
|
|
27
|
+
Upgrading internal dependency `bind-event-listener` to `@^3.0.0`
|
|
14
28
|
|
|
15
29
|
## 1.1.4
|
|
16
30
|
|
|
17
31
|
### Patch Changes
|
|
18
32
|
|
|
19
|
-
-
|
|
33
|
+
- [#94302](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94302)
|
|
34
|
+
[`66ca9d1d1602`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/66ca9d1d1602) -
|
|
35
|
+
Improving jsdoc for the drop target `canDrop` function
|
|
20
36
|
|
|
21
37
|
## 1.1.3
|
|
22
38
|
|
|
23
39
|
### Patch Changes
|
|
24
40
|
|
|
25
|
-
-
|
|
41
|
+
- [#84398](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84398)
|
|
42
|
+
[`77694db987fc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/77694db987fc) -
|
|
43
|
+
Public release of Pragmatic drag and drop documentation
|
|
26
44
|
|
|
27
45
|
## 1.1.2
|
|
28
46
|
|
|
29
47
|
### Patch Changes
|
|
30
48
|
|
|
31
|
-
-
|
|
49
|
+
- [#84047](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84047)
|
|
50
|
+
[`72a86ac4a940`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/72a86ac4a940) -
|
|
51
|
+
Removing experimental `DropData` from `onDrop()`. Exposing the native `dropEffect` turned out to
|
|
52
|
+
problematic, as you will always get a `"none"` drop effect if dropping externally if the
|
|
53
|
+
original `draggable` was removed (a native `"dragend"` event is targetted at the original
|
|
54
|
+
draggable). This made the weak signal of `dropEffect` for even weaker and more problematic. In
|
|
55
|
+
order to not create footguns for folks, we have decided to remove this experimental API for now.
|
|
56
|
+
We can explore adding the API back in the future if folks think it would be valuable.
|
|
32
57
|
|
|
33
58
|
## 1.1.1
|
|
34
59
|
|
|
35
60
|
### Patch Changes
|
|
36
61
|
|
|
37
|
-
-
|
|
62
|
+
- [#83702](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83702)
|
|
63
|
+
[`4d9e25ab4eaa`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4d9e25ab4eaa) -
|
|
64
|
+
Updating the descriptions of Pragmatic drag and drop packages, so they each provide a consistent
|
|
65
|
+
description to various consumers, and so they are consistently formed amongst each other.
|
|
38
66
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
67
|
+
- `package.json` `description`
|
|
68
|
+
- `README.md`
|
|
69
|
+
- Website documentation
|
|
42
70
|
|
|
43
71
|
## 1.1.0
|
|
44
72
|
|
|
45
73
|
### Minor Changes
|
|
46
74
|
|
|
47
|
-
-
|
|
75
|
+
- [#82653](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/82653)
|
|
76
|
+
[`136d8da5542d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/136d8da5542d) -
|
|
77
|
+
_Experimental_: Adding additional information to `onDrop()` events to expose what the final
|
|
78
|
+
`dropEffect` was for a drag operation (_now removed_)
|
|
48
79
|
|
|
49
|
-
|
|
80
|
+
Fixing a bug where `preventUnhandled.start()` would prevent unhandled drag operations forever.
|
|
81
|
+
It now only prevents unhandled drag operations for the current drag operation.
|
|
82
|
+
`preventUnhandled.stop()` is now optional, as `preventUnhandled.start()` now tidies up itself.
|
|
83
|
+
You can still leverage `preventUnhandled.stop()` to stop preventing unhandled drag operations
|
|
84
|
+
during a drag.
|
|
50
85
|
|
|
51
|
-
|
|
86
|
+
Tightening the `getDropEffect()` function on drop targets slightly so that `"none"` cannot be
|
|
87
|
+
provided. Using `"none"` as the drop effect would break the expected behaviour for nested drop
|
|
88
|
+
targets.
|
|
52
89
|
|
|
53
90
|
## 1.0.2
|
|
54
91
|
|
|
55
92
|
### Patch Changes
|
|
56
93
|
|
|
57
|
-
-
|
|
94
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
95
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
96
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
58
97
|
|
|
59
98
|
## 1.0.1
|
|
60
99
|
|
|
61
100
|
### Patch Changes
|
|
62
101
|
|
|
63
|
-
-
|
|
102
|
+
- [#76476](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/76476)
|
|
103
|
+
[`35148e092790`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/35148e092790) -
|
|
104
|
+
Adding warning for test environments to let people know if DragEvents have not been setup
|
|
105
|
+
correctly.
|
|
64
106
|
|
|
65
107
|
## 1.0.0
|
|
66
108
|
|
|
67
109
|
### Major Changes
|
|
68
110
|
|
|
69
|
-
-
|
|
111
|
+
- [#70616](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70616)
|
|
112
|
+
[`42e57ea65fee`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/42e57ea65fee) -
|
|
113
|
+
This is our first `major` release (`1.0`) for all Pragmatic drag and drop packages.
|
|
70
114
|
|
|
71
|
-
|
|
115
|
+
For a detailed explanation of these changes, and how to upgrade (automatically) to `1.0` please
|
|
116
|
+
see our
|
|
117
|
+
[1.0 upgrade guide](http://atlassian.design/components/pragmatic-drag-and-drop/core-package/upgrade-guides/upgrade-guide-for-1.0)
|
|
72
118
|
|
|
73
119
|
## 0.25.0
|
|
74
120
|
|
|
75
121
|
### Minor Changes
|
|
76
122
|
|
|
77
|
-
-
|
|
123
|
+
- [#59458](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59458)
|
|
124
|
+
[`7d6a69cfa61c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7d6a69cfa61c) -
|
|
125
|
+
Adding workaround for Safari bug.
|
|
78
126
|
|
|
79
|
-
|
|
127
|
+
In Safari (and iOS) if the element used for generating a native drag preview has opacity
|
|
128
|
+
applied, then the native drag preview can include elements underneath the drag preview element.
|
|
80
129
|
|
|
81
|
-
|
|
130
|
+
Pragmatic drag and drop now includes a workaround for this Safari bug.
|
|
82
131
|
|
|
83
132
|
## 0.24.0
|
|
84
133
|
|
|
85
134
|
### Minor Changes
|
|
86
135
|
|
|
87
|
-
-
|
|
136
|
+
- [#39935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39935)
|
|
137
|
+
[`03b91562fec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/03b91562fec) -
|
|
138
|
+
Exposing `AllDragTypes` type. This was previously an internal type, but it provided helpful to
|
|
139
|
+
expose for our new auto scroller. `AllDragTypes` is helpful if you need a function to work with
|
|
140
|
+
either `element` or `file` drag operations.
|
|
88
141
|
|
|
89
142
|
## 0.23.0
|
|
90
143
|
|
|
91
144
|
### Minor Changes
|
|
92
145
|
|
|
93
|
-
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
146
|
+
- [#38713](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38713)
|
|
147
|
+
[`3da89e29dfc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3da89e29dfc) - We
|
|
148
|
+
have renamed and tweaked the recently added `setCustomNativeDragPreview` `getOffset` utility
|
|
149
|
+
`preserveOffsetFromPointer` to be a bit easier to understand what it is doing.
|
|
150
|
+
|
|
151
|
+
```diff
|
|
152
|
+
- import { preserveOffsetFromPointer } from '@atlaskit/pragmatic-drag-and-drop/util/preserve-offset-from-pointer';
|
|
153
|
+
+ import { preserveOffsetOnSource } from '@atlaskit/pragmatic-drag-and-drop/util/preserve-offset-on-source';
|
|
154
|
+
|
|
155
|
+
draggable({
|
|
156
|
+
element: myElement,
|
|
157
|
+
onGenerateDragPreview: ({ nativeSetDragImage, location, source }) => {
|
|
158
|
+
setCustomNativeDragPreview({
|
|
159
|
+
- getOffset: preserveOffsetFromPointer({
|
|
160
|
+
+ 'preserveOffsetOnSource' is a more accurate description of what is being achieved
|
|
161
|
+
+ getOffset: preserveOffsetOnSource({
|
|
162
|
+
- sourceElement: source.element,
|
|
163
|
+
+ // no longer including 'source' in argument name
|
|
164
|
+
+ // as it is implied by the function name
|
|
165
|
+
+ element: source.element,
|
|
166
|
+
input: location.current.input,
|
|
167
|
+
}),
|
|
168
|
+
render: function render({ container }) {
|
|
169
|
+
/* ... */
|
|
170
|
+
},
|
|
171
|
+
nativeSetDragImage,
|
|
172
|
+
});
|
|
173
|
+
},
|
|
174
|
+
});
|
|
175
|
+
```
|
|
120
176
|
|
|
121
177
|
## 0.22.0
|
|
122
178
|
|
|
123
179
|
### Minor Changes
|
|
124
180
|
|
|
125
|
-
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
})
|
|
139
|
-
|
|
140
|
-
|
|
181
|
+
- [#38397](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38397)
|
|
182
|
+
[`d644a68ddf6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d644a68ddf6) - Added
|
|
183
|
+
a new `setCustomNativeDragPreview` `getOffset` utility: `preserveOffsetFromPointer`.
|
|
184
|
+
`preserveOffsetFromPointer` mimics the default behaviour for non custom drag previews when
|
|
185
|
+
starting a drag: the initial cursor position offset is preserved for a seamless drag and drop
|
|
186
|
+
experience.
|
|
187
|
+
|
|
188
|
+
```ts
|
|
189
|
+
import { setCustomNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/util/set-custom-native-drag-preview';
|
|
190
|
+
import { preserveOffsetFromPointer } from '@atlaskit/pragmatic-drag-and-drop/util/preserve-offset-from-pointer';
|
|
191
|
+
|
|
192
|
+
draggable({
|
|
193
|
+
element: myElement,
|
|
194
|
+
onGenerateDragPreview: ({ nativeSetDragImage, location, source }) => {
|
|
195
|
+
setCustomNativeDragPreview({
|
|
196
|
+
getOffset: preserveOffsetFromPointer({
|
|
197
|
+
sourceElement: source.element,
|
|
198
|
+
input: location.current.input,
|
|
199
|
+
}),
|
|
200
|
+
render: function render({ container }) {
|
|
201
|
+
/* ... */
|
|
202
|
+
},
|
|
203
|
+
nativeSetDragImage,
|
|
204
|
+
});
|
|
141
205
|
},
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
},
|
|
145
|
-
});
|
|
146
|
-
```
|
|
206
|
+
});
|
|
207
|
+
```
|
|
147
208
|
|
|
148
209
|
## 0.21.0
|
|
149
210
|
|
|
150
211
|
### Minor Changes
|
|
151
212
|
|
|
152
|
-
-
|
|
213
|
+
- [#38525](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38525)
|
|
214
|
+
[`de7463c7096`](https://bitbucket.org/atlassian/atlassian-frontend/commits/de7463c7096) -
|
|
215
|
+
Exposing some additional TypeScript types. These can be helpful when creating helper packages.
|
|
153
216
|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
217
|
+
```ts
|
|
218
|
+
import type {
|
|
219
|
+
// These types are not needed for consumers
|
|
220
|
+
// They are mostly helpful for other packages
|
|
221
|
+
AllDragTypes,
|
|
222
|
+
MonitorArgs,
|
|
223
|
+
BaseEventPayload,
|
|
224
|
+
} from '@atlaskit/pragmatic-drag-and-drop/types';
|
|
225
|
+
```
|
|
163
226
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
227
|
+
- `AllDragTypes`: representation of all entities types in the system (eg element and file)
|
|
228
|
+
- `MonitorArgs<DragType extends AllDragTypes>`: the arguments that can be passed to a monitor
|
|
229
|
+
- `BaseEventPayload<DragType extends AllDragTypes>`: the shared properties in all events
|
|
167
230
|
|
|
168
231
|
## 0.20.0
|
|
169
232
|
|
|
170
233
|
### Minor Changes
|
|
171
234
|
|
|
172
|
-
-
|
|
235
|
+
- [#38453](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38453)
|
|
236
|
+
[`554a6d8cc34`](https://bitbucket.org/atlassian/atlassian-frontend/commits/554a6d8cc34) - ###
|
|
237
|
+
Stickiness algorithm improvement
|
|
173
238
|
|
|
174
|
-
|
|
239
|
+
We have made some improvements to the drop target stickiness algorithm to allow sticky drop
|
|
240
|
+
targets that are no longer dragged over to cancel their stickiness.
|
|
175
241
|
|
|
176
|
-
|
|
242
|
+
Stickiness is no longer maintained when a sticky drop target states it cannot be dropped on
|
|
177
243
|
|
|
178
|
-
|
|
179
|
-
> Result: `[]`
|
|
244
|
+
> Scenario: `[A(sticky)]` → `[]` + `A:canDrop()` returns `false` Result: `[]`
|
|
180
245
|
|
|
181
|
-
|
|
246
|
+
Stickiness is no longer maintained when a sticky drop start states it is no longer sticky
|
|
182
247
|
|
|
183
|
-
|
|
184
|
-
> Result: `[]`
|
|
248
|
+
> Scenario: `[A(sticky)]` → `[]` + `A:getIsSticky()` returns `false` Result: `[]`
|
|
185
249
|
|
|
186
|
-
|
|
250
|
+
Stickiness is no longer maintained when a sticky drop start is unmounted
|
|
187
251
|
|
|
188
|
-
|
|
189
|
-
> Result: `[]`
|
|
252
|
+
> Scenario: `[A(sticky)]` → `[]` + `A` is unmounted Result: `[]`
|
|
190
253
|
|
|
191
|
-
|
|
254
|
+
To help facilitate this change:
|
|
192
255
|
|
|
193
|
-
|
|
194
|
-
|
|
256
|
+
- `getIsSticky()` is now only called when an _drop target_ is a potential candidate for
|
|
257
|
+
stickiness (previously it was called repeatedly)
|
|
258
|
+
- `getIsSticky()` and `canDrop()` are called on _drop targets_ that are no longer being
|
|
259
|
+
dragged over, but are candidates for stickiness
|
|
195
260
|
|
|
196
|
-
|
|
261
|
+
### Change to `DropTargetRecord` `type`
|
|
197
262
|
|
|
198
|
-
|
|
263
|
+
Previously, the `DropTargetRecord` type had a property called `sticky` which would represent
|
|
264
|
+
whether the _drop target_ was registering itself as sticky via `getIsSticky()`. Knowing `sticky`
|
|
265
|
+
is not overly helpful given that we now regularly recompute stickiness and a _drop target_ can
|
|
266
|
+
change disable stickiness after it is applied.
|
|
199
267
|
|
|
200
|
-
|
|
268
|
+
What is helpful, is knowing whether a _drop target_ is active _because_ of stickiness. So we
|
|
269
|
+
have removed `sticky` and added `isActiveDueToStickiness` to the `DropTargetRecord` type.
|
|
201
270
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
271
|
+
```diff
|
|
272
|
+
type DropTargetRecord = {
|
|
273
|
+
element: Element;
|
|
274
|
+
data: Record<string | symbol, unknown>;
|
|
275
|
+
dropEffect: DataTransfer['dropEffect'];
|
|
276
|
+
- sticky: boolean;
|
|
277
|
+
+ isActiveDueToStickiness: boolean;
|
|
278
|
+
};
|
|
279
|
+
```
|
|
211
280
|
|
|
212
281
|
## 0.19.0
|
|
213
282
|
|
|
214
283
|
### Minor Changes
|
|
215
284
|
|
|
216
|
-
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
285
|
+
- [#35574](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35574)
|
|
286
|
+
[`8c301a251e4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c301a251e4) - We
|
|
287
|
+
have changed the API of `setCustomNativeDragPreview()` to allow increased control and slightly
|
|
288
|
+
lower bundles as well.
|
|
289
|
+
|
|
290
|
+
We have removed the `placement` argument, and replaced it with `getOffset()`.
|
|
291
|
+
|
|
292
|
+
```diff
|
|
293
|
+
- placement: { type: 'center' } | { type: 'offset-from-pointer'; x: CSSValue; y: CSSValue };
|
|
294
|
+
+ getOffset: (args: { container: HTMLElement }) => {x: number, y: number}
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
`getOffset()` allows unlimited control over how to place the custom native drag preview relative
|
|
298
|
+
to the users pointer. Please see our updated documentation for detailed information about the
|
|
299
|
+
new `getOffset()` API. Our new `getOffset()` approach means that we also no longer need to bake
|
|
300
|
+
in all `placement` options into the bundle - consumers now only pay for what they use!
|
|
301
|
+
|
|
302
|
+
`placement: { type: 'offset-from-pointer' }` has been replaced by `offsetFromPointer()`
|
|
303
|
+
|
|
304
|
+
```diff
|
|
305
|
+
import { setCustomNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/util/set-custom-native-drag-preview';
|
|
306
|
+
+ import { offsetFromPointer } from '@atlaskit/pragmatic-drag-and-drop/util/offset-from-pointer;
|
|
307
|
+
|
|
308
|
+
draggable({
|
|
309
|
+
element: myElement,
|
|
310
|
+
onGenerateDragPreview: ({ nativeSetDragImage }) => {
|
|
311
|
+
setCustomNativeDragPreview({
|
|
312
|
+
- placement: { type: 'offset-from-pointer', x: '16px', y: '8px' }
|
|
313
|
+
+ getOffset: offsetFromPointer({x: '16px', y: '8px'}),
|
|
314
|
+
render: function render({ container }) {
|
|
315
|
+
ReactDOM.render(<Preview item={item} />, container);
|
|
316
|
+
return function cleanup() {
|
|
317
|
+
ReactDOM.unmountComponentAtNode(container);
|
|
318
|
+
};
|
|
319
|
+
},
|
|
320
|
+
nativeSetDragImage,
|
|
321
|
+
});
|
|
322
|
+
},
|
|
323
|
+
});
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
`placement: { type: 'center' }` has been replaced by `centerUnderPointer()`
|
|
327
|
+
|
|
328
|
+
```diff
|
|
329
|
+
import { setCustomNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/util/set-custom-native-drag-preview';
|
|
330
|
+
+ import { centerUnderPointer } from '@atlaskit/pragmatic-drag-and-drop/util/center-under-pointer-pointer;
|
|
331
|
+
|
|
332
|
+
draggable({
|
|
333
|
+
element: myElement,
|
|
334
|
+
onGenerateDragPreview: ({ nativeSetDragImage }) => {
|
|
335
|
+
setCustomNativeDragPreview({
|
|
336
|
+
- placement: { type: 'center' }
|
|
337
|
+
+ getOffset: centerUnderPointer,
|
|
338
|
+
render: function render({ container }) {
|
|
339
|
+
ReactDOM.render(<Preview item={item} />, container);
|
|
340
|
+
return function cleanup() {
|
|
341
|
+
ReactDOM.unmountComponentAtNode(container);
|
|
342
|
+
};
|
|
343
|
+
},
|
|
344
|
+
nativeSetDragImage,
|
|
345
|
+
});
|
|
346
|
+
},
|
|
347
|
+
});
|
|
348
|
+
```
|
|
274
349
|
|
|
275
350
|
## 0.18.2
|
|
276
351
|
|
|
277
352
|
### Patch Changes
|
|
278
353
|
|
|
279
|
-
-
|
|
354
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
355
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
356
|
+
legacy types are published for TS 4.5-4.8
|
|
280
357
|
|
|
281
358
|
## 0.18.1
|
|
282
359
|
|
|
283
360
|
### Patch Changes
|
|
284
361
|
|
|
285
|
-
-
|
|
362
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
363
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
|
|
364
|
+
Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
286
365
|
|
|
287
366
|
## 0.18.0
|
|
288
367
|
|
|
289
368
|
### Minor Changes
|
|
290
369
|
|
|
291
|
-
-
|
|
370
|
+
- [#33344](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33344)
|
|
371
|
+
[`9fd8556db17`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9fd8556db17) -
|
|
372
|
+
Internal folder name structure change
|
|
292
373
|
|
|
293
374
|
## 0.17.0
|
|
294
375
|
|
|
295
376
|
### Minor Changes
|
|
296
377
|
|
|
297
|
-
-
|
|
378
|
+
- [#33262](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33262)
|
|
379
|
+
[`34ed7b2ec63`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34ed7b2ec63) - We
|
|
380
|
+
have changed the name of our drag and drop packages to align on the single name of "Pragmatic
|
|
381
|
+
drag and drop"
|
|
298
382
|
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
383
|
+
```diff
|
|
384
|
+
- @atlaskit/drag-and-drop
|
|
385
|
+
+ @atlaskit/pragmatic-drag-and-drop
|
|
302
386
|
|
|
303
|
-
|
|
304
|
-
|
|
387
|
+
- @atlaskit/drag-and-drop-autoscroll
|
|
388
|
+
+ @atlaskit/pragmatic-drag-and-drop-autoscroll
|
|
305
389
|
|
|
306
|
-
|
|
307
|
-
|
|
390
|
+
- @atlaskit/drag-and-drop-hitbox
|
|
391
|
+
+ @atlaskit/pragmatic-drag-and-drop-hitbox
|
|
308
392
|
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
393
|
+
- @atlaskit/drag-and-drop-indicator
|
|
394
|
+
+ @atlaskit/pragmatic-drag-and-drop-react-indicator
|
|
395
|
+
# Note: `react` was added to this package name as our indicator package is designed for usage with `react`.
|
|
312
396
|
|
|
313
|
-
|
|
314
|
-
|
|
397
|
+
- @atlaskit/drag-and-drop-live-region
|
|
398
|
+
+ @atlaskit/pragmatic-drag-and-drop-live-region
|
|
315
399
|
|
|
316
|
-
|
|
317
|
-
|
|
400
|
+
- @atlaskit/drag-and-drop-react-beautiful-dnd-migration
|
|
401
|
+
+ @atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration
|
|
318
402
|
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
403
|
+
- @atlaskit/drag-and-drop-docs
|
|
404
|
+
+ @atlaskit/pragmatic-drag-and-drop-docs
|
|
405
|
+
```
|
|
322
406
|
|
|
323
|
-
|
|
407
|
+
The new `@atlaskit/pragmatic-drag-and-drop*` packages will start their initial versions from
|
|
408
|
+
where the ``@atlaskit/drag-and-drop*` packages left off. Doing this will make it easier to look
|
|
409
|
+
back on changelogs and see how the packages have progressed.
|
|
324
410
|
|
|
325
411
|
## 0.16.0
|
|
326
412
|
|
|
327
413
|
### Minor Changes
|
|
328
414
|
|
|
329
|
-
-
|
|
415
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
416
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
417
|
+
minor dependency bump
|
|
330
418
|
|
|
331
419
|
## 0.15.1
|
|
332
420
|
|
|
333
421
|
### Patch Changes
|
|
334
422
|
|
|
335
|
-
-
|
|
423
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
|
|
424
|
+
[`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
|
|
425
|
+
remove before merging to master; dupe adf-schema via adf-utils
|
|
336
426
|
|
|
337
427
|
## 0.15.0
|
|
338
428
|
|
|
339
429
|
### Minor Changes
|
|
340
430
|
|
|
341
|
-
-
|
|
431
|
+
- [#31909](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31909)
|
|
432
|
+
[`ed028658f13`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ed028658f13) - Minor
|
|
433
|
+
internal refactor and adding additional tests
|
|
342
434
|
|
|
343
435
|
## 0.14.0
|
|
344
436
|
|
|
345
437
|
### Minor Changes
|
|
346
438
|
|
|
347
|
-
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
439
|
+
- [#31794](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31794)
|
|
440
|
+
[`eab6d26451d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eab6d26451d) -
|
|
441
|
+
Improving the resilience of our workaround for a
|
|
442
|
+
[Browser bug](https://bugs.chromium.org/p/chromium/issues/detail?id=410328) where after a drag
|
|
443
|
+
finishes, an unrelated element can be entered into.
|
|
444
|
+
- [`ba7ea570aee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ba7ea570aee) - > Both
|
|
445
|
+
of these changes should not impact most consumers as they are targeted at edge cases.
|
|
446
|
+
|
|
447
|
+
- **Fix**: We no longer extract user input (eg `clientX`) from native `"dragleave"` events due
|
|
448
|
+
to a
|
|
449
|
+
[Bug with Chrome we discovered](https://bugs.chromium.org/p/chromium/issues/detail?id=1429937).
|
|
450
|
+
Due to this bug, it was possible for `location.current.input` to be incorrectly set in
|
|
451
|
+
`onDropTargetChange` and `onDrop` when a user was cancelling a drag or dropping or no drop
|
|
452
|
+
targets.
|
|
453
|
+
|
|
454
|
+
- **Fix**: `location.previous.dropTargets` _should_ always point to the
|
|
455
|
+
`location.current.dropTargets` value from the previous event (exception:
|
|
456
|
+
`onGenerateDragPreview` and `onDragStart` have the same `location.previous` and
|
|
457
|
+
`location.current` values). Previously, the `location.previous.dropTargets` value did not
|
|
458
|
+
match the last events `location.current.dropTargets` value in `onDrop`. `onDrop()` would
|
|
459
|
+
incorrectly use the `location.current` and `location.previous` values from the last event
|
|
460
|
+
rather than creating a new `location.current` entry. Now, `onDrop()`,
|
|
461
|
+
`location.previous.dropTargets` points to the `location.current.dropTargets` from the last
|
|
462
|
+
event (same as all other events) and `location.current.dropTargets` points to what the
|
|
463
|
+
previous drop target was as well (no change)
|
|
353
464
|
|
|
354
465
|
## 0.13.0
|
|
355
466
|
|
|
356
467
|
### Minor Changes
|
|
357
468
|
|
|
358
|
-
-
|
|
469
|
+
- [#30879](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30879)
|
|
470
|
+
[`2582df26509`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2582df26509) - Fixing
|
|
471
|
+
a browser bug where after a drag finishes, a unrelated element can be entered into by the
|
|
472
|
+
browser
|
|
359
473
|
|
|
360
|
-
|
|
361
|
-
|
|
474
|
+
- [Visual explanation of bug](https://twitter.com/alexandereardon/status/1633614212873465856)
|
|
475
|
+
- [Chrome bug](https://bugs.chromium.org/p/chromium/issues/detail?id=410328)
|
|
362
476
|
|
|
363
477
|
## 0.12.0
|
|
364
478
|
|
|
365
479
|
### Minor Changes
|
|
366
480
|
|
|
367
|
-
-
|
|
481
|
+
- [#30953](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30953)
|
|
482
|
+
[`90901f5bbe0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/90901f5bbe0) -
|
|
483
|
+
Replace default entry point of `undefined` with `{}`.
|
|
368
484
|
|
|
369
|
-
|
|
370
|
-
|
|
485
|
+
> **NOTE:** Importing from the default entry point isn't supported. _Please use individual entry
|
|
486
|
+
> points in order to always obtain minimum kbs._
|
|
371
487
|
|
|
372
488
|
## 0.11.0
|
|
373
489
|
|
|
374
490
|
### Minor Changes
|
|
375
491
|
|
|
376
|
-
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
492
|
+
- [#30668](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30668)
|
|
493
|
+
[`1ecbb19d450`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ecbb19d450) - Adding
|
|
494
|
+
a new function to make creating _custom_ native drag previews safe and easy:
|
|
495
|
+
`setCustomNativeDragPreview`
|
|
496
|
+
|
|
497
|
+
```tsx
|
|
498
|
+
import { setCustomNativeDragPreview } from '@atlaskit/drag-and-drop/util/set-custom-native-drag-preview';
|
|
499
|
+
|
|
500
|
+
draggable({
|
|
501
|
+
element: myElement,
|
|
502
|
+
onGenerateDragPreview: ({ nativeSetDragImage }) => {
|
|
503
|
+
setCustomNativeDragPreview({
|
|
504
|
+
render: function render({ container }) {
|
|
505
|
+
ReactDOM.render(<Preview item={item} />, container);
|
|
506
|
+
return function cleanup() {
|
|
507
|
+
ReactDOM.unmountComponentAtNode(container);
|
|
508
|
+
};
|
|
509
|
+
},
|
|
510
|
+
nativeSetDragImage,
|
|
511
|
+
});
|
|
390
512
|
},
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
},
|
|
394
|
-
});
|
|
395
|
-
```
|
|
513
|
+
});
|
|
514
|
+
```
|
|
396
515
|
|
|
397
|
-
|
|
516
|
+
Please see our element adapter documentation for more detailed usage information
|
|
398
517
|
|
|
399
518
|
## 0.10.0
|
|
400
519
|
|
|
401
520
|
### Minor Changes
|
|
402
521
|
|
|
403
|
-
-
|
|
522
|
+
- [#29951](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29951)
|
|
523
|
+
[`9c0975e2fab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9c0975e2fab) - Bug
|
|
524
|
+
fix: A _monitor_ should not be called after it is removed. Previously, if a _monitor_
|
|
525
|
+
(monitor 1) removed another _monitor_ (monitor 2) for the same event, then the second monitor
|
|
526
|
+
(monitor 2) would still be called. This has been fixed
|
|
404
527
|
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
528
|
+
```ts
|
|
529
|
+
const cleanupMonitor1 = monitorForElements({
|
|
530
|
+
onDragStart: () => {
|
|
531
|
+
cleanupMonitor2();
|
|
532
|
+
},
|
|
533
|
+
});
|
|
534
|
+
const cleanupMonitor2 = monitorForElements({
|
|
535
|
+
// Previously this `onDragStart` would have been called during `onDragStart` even though it was unbound by the first monitor
|
|
536
|
+
onDragStart: () => {},
|
|
537
|
+
});
|
|
538
|
+
```
|
|
416
539
|
|
|
417
540
|
## 0.9.0
|
|
418
541
|
|
|
419
542
|
### Minor Changes
|
|
420
543
|
|
|
421
|
-
-
|
|
544
|
+
- [#29651](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29651)
|
|
545
|
+
[`03e0aa5ae85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/03e0aa5ae85) -
|
|
546
|
+
`@atlaskit/drag-and-drop` adds event listeners to the `window` during a drag operation. These
|
|
547
|
+
drag operation event listeners were [`bubble` phase event listeners](https://domevents.dev/),
|
|
548
|
+
but they are now `capture` phase event listeners to be more resliant against external code
|
|
549
|
+
(incorrectly) stopping events.
|
|
422
550
|
|
|
423
|
-
|
|
551
|
+
This does not impact the ability of a consumer to have their own `draggable`s on a page not
|
|
552
|
+
controlled by `@atlaskit/drag-and-drop`
|
|
424
553
|
|
|
425
554
|
## 0.8.1
|
|
426
555
|
|
|
427
556
|
### Patch Changes
|
|
428
557
|
|
|
429
|
-
-
|
|
558
|
+
- [#28324](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28324)
|
|
559
|
+
[`6455cf006b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6455cf006b3) - Builds
|
|
560
|
+
for this package now pass through a tokens babel plugin, removing runtime invocations of the
|
|
561
|
+
tokens() function and improving performance.
|
|
430
562
|
|
|
431
563
|
## 0.8.0
|
|
432
564
|
|
|
433
565
|
### Minor Changes
|
|
434
566
|
|
|
435
|
-
-
|
|
567
|
+
- [#26317](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26317)
|
|
568
|
+
[`1e3f9743e57`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1e3f9743e57) - A
|
|
569
|
+
_monitor_ that is added during an event (eg `onDragStart`) will no longer be called for the
|
|
570
|
+
current event. This is to prevent the accidental creation of infinite loops. This behaviour
|
|
571
|
+
matches native [`EventTargets`](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget)
|
|
572
|
+
where an event listener cannot add another event listener during an active event to the same
|
|
573
|
+
event target in the same event phase.
|
|
436
574
|
|
|
437
575
|
## 0.7.1
|
|
438
576
|
|
|
439
577
|
### Patch Changes
|
|
440
578
|
|
|
441
|
-
-
|
|
579
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
580
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) -
|
|
581
|
+
Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
442
582
|
|
|
443
583
|
## 0.7.0
|
|
444
584
|
|
|
445
585
|
### Minor Changes
|
|
446
586
|
|
|
447
|
-
-
|
|
587
|
+
- [#25428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25428)
|
|
588
|
+
[`f2a7931d609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2a7931d609) - Adding
|
|
589
|
+
jsdoc to DragLocation type for better autocomplete
|
|
448
590
|
|
|
449
591
|
## 0.6.0
|
|
450
592
|
|
|
451
593
|
### Minor Changes
|
|
452
594
|
|
|
453
|
-
-
|
|
595
|
+
- [#25002](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25002)
|
|
596
|
+
[`0f755214ee7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0f755214ee7) -
|
|
597
|
+
Internal folder renaming. No API impact
|
|
454
598
|
|
|
455
599
|
## 0.5.0
|
|
456
600
|
|
|
457
601
|
### Minor Changes
|
|
458
602
|
|
|
459
|
-
-
|
|
603
|
+
- [#25007](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25007)
|
|
604
|
+
[`17950433a70`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17950433a70) -
|
|
605
|
+
Touching package to release re-release previous version. The previous (now deprecated) version
|
|
606
|
+
did not have it's entry points built correctly
|
|
460
607
|
|
|
461
608
|
## 0.4.0
|
|
462
609
|
|
|
463
610
|
### Minor Changes
|
|
464
611
|
|
|
465
|
-
-
|
|
612
|
+
- [#24861](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24861)
|
|
613
|
+
[`4d739042b04`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4d739042b04) -
|
|
614
|
+
Improving jsdoc auto complete information for `GetFeedbackArgs`
|
|
466
615
|
|
|
467
616
|
## 0.3.0
|
|
468
617
|
|
|
469
618
|
### Minor Changes
|
|
470
619
|
|
|
471
|
-
-
|
|
620
|
+
- [#24810](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24810)
|
|
621
|
+
[`52403a2c11f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/52403a2c11f) - Adding
|
|
622
|
+
a `canMonitor()` function to _monitors_ to allow a _monitor_ to conditionally apply to a drag
|
|
623
|
+
operation.
|
|
472
624
|
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
```
|
|
625
|
+
```ts
|
|
626
|
+
monitorForElements({
|
|
627
|
+
canMonitor: ({ source }) => source.data.type === 'card',
|
|
628
|
+
onDragStart: () => console.log('I will only be activated when dragging a card!'),
|
|
629
|
+
});
|
|
630
|
+
```
|
|
480
631
|
|
|
481
632
|
## 0.2.0
|
|
482
633
|
|
|
483
634
|
### Minor Changes
|
|
484
635
|
|
|
485
|
-
-
|
|
636
|
+
- [#24613](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24613)
|
|
637
|
+
[`1cf9e484b4b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1cf9e484b4b) - We
|
|
638
|
+
have improved our naming consistency across our drag and drop packages.
|
|
486
639
|
|
|
487
|
-
|
|
640
|
+
- `@atlaskit/drag-and-drop/util/cancel-unhandled` has been renamed to
|
|
641
|
+
`@atlaskit/drag-and-drop/addon/cancel-unhandled`
|
|
488
642
|
|
|
489
643
|
## 0.1.0
|
|
490
644
|
|
|
491
645
|
### Minor Changes
|
|
492
646
|
|
|
493
|
-
-
|
|
647
|
+
- [#24532](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24532)
|
|
648
|
+
[`73427c38077`](https://bitbucket.org/atlassian/atlassian-frontend/commits/73427c38077) -
|
|
649
|
+
Initial release of `@atlaskit/drag-and-drop` packages 🎉
|
|
494
650
|
|
|
495
651
|
## 0.0.1
|
|
496
652
|
|
|
497
653
|
### Patch Changes
|
|
498
654
|
|
|
499
|
-
-
|
|
655
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
656
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) -
|
|
657
|
+
Upgrade Typescript from `4.2.4` to `4.3.5`.
|