@atlaskit/pragmatic-drag-and-drop 1.0.1 → 1.0.2
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 +6 -0
- package/combine/package.json +1 -1
- package/dist/cjs/adapter/external-adapter.js +1 -0
- package/dist/cjs/adapter/text-selection-adapter.js +1 -0
- package/dist/cjs/entry-point/types.js +1 -5
- package/dist/cjs/internal-types.js +1 -5
- package/dist/es2019/adapter/external-adapter.js +1 -0
- package/dist/es2019/adapter/text-selection-adapter.js +1 -0
- package/dist/es2019/entry-point/types.js +0 -1
- package/dist/es2019/internal-types.js +0 -1
- package/dist/esm/adapter/external-adapter.js +1 -0
- package/dist/esm/adapter/text-selection-adapter.js +1 -0
- package/dist/esm/entry-point/types.js +0 -1
- package/dist/esm/internal-types.js +0 -1
- package/element/adapter/package.json +1 -1
- package/element/center-under-pointer/package.json +1 -1
- package/element/disable-native-drag-preview/package.json +1 -1
- package/element/format-urls-for-external/package.json +1 -1
- package/element/pointer-outside-of-preview/package.json +1 -1
- package/element/preserve-offset-on-source/package.json +1 -1
- package/element/scroll-just-enough-into-view/package.json +1 -1
- package/element/set-custom-native-drag-preview/package.json +1 -1
- package/external/adapter/package.json +1 -1
- package/external/file/package.json +1 -1
- package/external/html/package.json +1 -1
- package/external/some/package.json +1 -1
- package/external/text/package.json +1 -1
- package/external/url/package.json +1 -1
- package/once/package.json +1 -1
- package/package.json +3 -3
- package/prevent-unhandled/package.json +1 -1
- package/reorder/package.json +1 -1
- package/text-selection/adapter/package.json +1 -1
- package/types/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/pragmatic-drag-and-drop
|
|
2
2
|
|
|
3
|
+
## 1.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
8
|
+
|
|
3
9
|
## 1.0.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/combine/package.json
CHANGED
|
@@ -122,6 +122,7 @@ var adapter = (0, _makeAdapter.makeAdapter)({
|
|
|
122
122
|
|
|
123
123
|
// The `onGenerateDragPreview` does not make sense to publish for text selection
|
|
124
124
|
// as the browser is completely in control of the drag preview
|
|
125
|
+
|
|
125
126
|
function dropTargetForTextSelection(args) {
|
|
126
127
|
// note: not removing `onGenerateDragPreview`; just leaning on the type system
|
|
127
128
|
return adapter.dropTarget(args);
|
|
@@ -121,6 +121,7 @@ const adapter = makeAdapter({
|
|
|
121
121
|
|
|
122
122
|
// The `onGenerateDragPreview` does not make sense to publish for text selection
|
|
123
123
|
// as the browser is completely in control of the drag preview
|
|
124
|
+
|
|
124
125
|
export function dropTargetForTextSelection(args) {
|
|
125
126
|
// note: not removing `onGenerateDragPreview`; just leaning on the type system
|
|
126
127
|
return adapter.dropTarget(args);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -115,6 +115,7 @@ var adapter = makeAdapter({
|
|
|
115
115
|
|
|
116
116
|
// The `onGenerateDragPreview` does not make sense to publish for text selection
|
|
117
117
|
// as the browser is completely in control of the drag preview
|
|
118
|
+
|
|
118
119
|
export function dropTargetForTextSelection(args) {
|
|
119
120
|
// note: not removing `onGenerateDragPreview`; just leaning on the type system
|
|
120
121
|
return adapter.dropTarget(args);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"types": "../../dist/types/entry-point/element/set-custom-native-drag-preview.d.ts",
|
|
8
8
|
"typesVersions": {
|
|
9
|
-
">=4.5 <4
|
|
9
|
+
">=4.5 <5.4": {
|
|
10
10
|
"*": [
|
|
11
11
|
"../../dist/types-ts4.5/entry-point/element/set-custom-native-drag-preview.d.ts"
|
|
12
12
|
]
|
package/once/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/pragmatic-drag-and-drop",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "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",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"react": "^16.8.0",
|
|
80
80
|
"react-dom": "^16.8.0",
|
|
81
81
|
"tiny-invariant": "^1.2.0",
|
|
82
|
-
"typescript": "~4.
|
|
82
|
+
"typescript": "~5.4.2",
|
|
83
83
|
"wait-for-expect": "^1.2.0"
|
|
84
84
|
},
|
|
85
85
|
"techstack": {
|
|
@@ -107,4 +107,4 @@
|
|
|
107
107
|
},
|
|
108
108
|
"homepage": "https://atlassian.design/components/pragmatic-drag-and-drop/",
|
|
109
109
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
|
|
110
|
-
}
|
|
110
|
+
}
|
package/reorder/package.json
CHANGED