@atlaskit/pragmatic-drag-and-drop 1.1.8 → 1.1.9

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.1.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [#100243](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/100243)
8
+ [`1ba7a4e942d4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1ba7a4e942d4) -
9
+ Fixing typos in dev time warnings
10
+
3
11
  ## 1.1.8
4
12
 
5
13
  ### Patch Changes
@@ -56,7 +56,7 @@ var adapter = (0, _makeAdapter.makeAdapter)({
56
56
  // - Unit tests commonly run in "test"
57
57
  if (process.env.NODE_ENV !== 'production') {
58
58
  // eslint-disable-next-line no-console
59
- console.warn("\n It appears as though you have are not testing DragEvents correctly.\n\n - If you are unit testing, ensure you have pollyfilled DragEvent.\n - If you are browser testing, ensure you are dispatching drag events correctly.\n\n Please see our testing guides for more information:\n https://atlassian.design/components/pragmatic-drag-and-drop/core-package/testing\n ".replace(/ {2}/g, ''));
59
+ console.warn("\n It appears as though you have are not testing DragEvents correctly.\n\n - If you are unit testing, ensure you have polyfilled DragEvent.\n - If you are browser testing, ensure you are dispatching drag events correctly.\n\n Please see our testing guides for more information:\n https://atlassian.design/components/pragmatic-drag-and-drop/core-package/testing\n ".replace(/ {2}/g, ''));
60
60
  }
61
61
  return;
62
62
  }
@@ -79,7 +79,7 @@ var adapter = (0, _makeAdapter.makeAdapter)({
79
79
  // - Unit tests commonly run in "test"
80
80
  if (process.env.NODE_ENV !== 'production') {
81
81
  // eslint-disable-next-line no-console
82
- console.warn("\n It appears as though you have are not testing DragEvents correctly.\n\n - If you are unit testing, ensure you have pollyfilled DragEvent.\n - If you are browser testing, ensure you are dispatching drag events correctly.\n\n Please see our testing guides for more information:\n https://atlassian.design/components/pragmatic-drag-and-drop/core-package/testing\n ".replace(/ {2}/g, ''));
82
+ console.warn("\n It appears as though you have are not testing DragEvents correctly.\n\n - If you are unit testing, ensure you have polyfilled DragEvent.\n - If you are browser testing, ensure you are dispatching drag events correctly.\n\n Please see our testing guides for more information:\n https://atlassian.design/components/pragmatic-drag-and-drop/core-package/testing\n ".replace(/ {2}/g, ''));
83
83
  }
84
84
  return;
85
85
  }
@@ -80,7 +80,7 @@ var adapter = (0, _makeAdapter.makeAdapter)({
80
80
  // - Unit tests commonly run in "test"
81
81
  if (process.env.NODE_ENV !== 'production') {
82
82
  // eslint-disable-next-line no-console
83
- console.warn("\n It appears as though you have are not testing DragEvents correctly.\n\n - If you are unit testing, ensure you have pollyfilled DragEvent.\n - If you are browser testing, ensure you are dispatching drag events correctly.\n\n Please see our testing guides for more information:\n https://atlassian.design/components/pragmatic-drag-and-drop/core-package/testing\n ".replace(/ {2}/g, ''));
83
+ console.warn("\n It appears as though you have are not testing DragEvents correctly.\n\n - If you are unit testing, ensure you have polyfilled DragEvent.\n - If you are browser testing, ensure you are dispatching drag events correctly.\n\n Please see our testing guides for more information:\n https://atlassian.design/components/pragmatic-drag-and-drop/core-package/testing\n ".replace(/ {2}/g, ''));
84
84
  }
85
85
  return;
86
86
  }
@@ -50,7 +50,7 @@ const adapter = makeAdapter({
50
50
  console.warn(`
51
51
  It appears as though you have are not testing DragEvents correctly.
52
52
 
53
- - If you are unit testing, ensure you have pollyfilled DragEvent.
53
+ - If you are unit testing, ensure you have polyfilled DragEvent.
54
54
  - If you are browser testing, ensure you are dispatching drag events correctly.
55
55
 
56
56
  Please see our testing guides for more information:
@@ -67,7 +67,7 @@ const adapter = makeAdapter({
67
67
  console.warn(`
68
68
  It appears as though you have are not testing DragEvents correctly.
69
69
 
70
- - If you are unit testing, ensure you have pollyfilled DragEvent.
70
+ - If you are unit testing, ensure you have polyfilled DragEvent.
71
71
  - If you are browser testing, ensure you are dispatching drag events correctly.
72
72
 
73
73
  Please see our testing guides for more information:
@@ -74,7 +74,7 @@ const adapter = makeAdapter({
74
74
  console.warn(`
75
75
  It appears as though you have are not testing DragEvents correctly.
76
76
 
77
- - If you are unit testing, ensure you have pollyfilled DragEvent.
77
+ - If you are unit testing, ensure you have polyfilled DragEvent.
78
78
  - If you are browser testing, ensure you are dispatching drag events correctly.
79
79
 
80
80
  Please see our testing guides for more information:
@@ -48,7 +48,7 @@ var adapter = makeAdapter({
48
48
  // - Unit tests commonly run in "test"
49
49
  if (process.env.NODE_ENV !== 'production') {
50
50
  // eslint-disable-next-line no-console
51
- console.warn("\n It appears as though you have are not testing DragEvents correctly.\n\n - If you are unit testing, ensure you have pollyfilled DragEvent.\n - If you are browser testing, ensure you are dispatching drag events correctly.\n\n Please see our testing guides for more information:\n https://atlassian.design/components/pragmatic-drag-and-drop/core-package/testing\n ".replace(/ {2}/g, ''));
51
+ console.warn("\n It appears as though you have are not testing DragEvents correctly.\n\n - If you are unit testing, ensure you have polyfilled DragEvent.\n - If you are browser testing, ensure you are dispatching drag events correctly.\n\n Please see our testing guides for more information:\n https://atlassian.design/components/pragmatic-drag-and-drop/core-package/testing\n ".replace(/ {2}/g, ''));
52
52
  }
53
53
  return;
54
54
  }
@@ -68,7 +68,7 @@ var adapter = makeAdapter({
68
68
  // - Unit tests commonly run in "test"
69
69
  if (process.env.NODE_ENV !== 'production') {
70
70
  // eslint-disable-next-line no-console
71
- console.warn("\n It appears as though you have are not testing DragEvents correctly.\n\n - If you are unit testing, ensure you have pollyfilled DragEvent.\n - If you are browser testing, ensure you are dispatching drag events correctly.\n\n Please see our testing guides for more information:\n https://atlassian.design/components/pragmatic-drag-and-drop/core-package/testing\n ".replace(/ {2}/g, ''));
71
+ console.warn("\n It appears as though you have are not testing DragEvents correctly.\n\n - If you are unit testing, ensure you have polyfilled DragEvent.\n - If you are browser testing, ensure you are dispatching drag events correctly.\n\n Please see our testing guides for more information:\n https://atlassian.design/components/pragmatic-drag-and-drop/core-package/testing\n ".replace(/ {2}/g, ''));
72
72
  }
73
73
  return;
74
74
  }
@@ -73,7 +73,7 @@ var adapter = makeAdapter({
73
73
  // - Unit tests commonly run in "test"
74
74
  if (process.env.NODE_ENV !== 'production') {
75
75
  // eslint-disable-next-line no-console
76
- console.warn("\n It appears as though you have are not testing DragEvents correctly.\n\n - If you are unit testing, ensure you have pollyfilled DragEvent.\n - If you are browser testing, ensure you are dispatching drag events correctly.\n\n Please see our testing guides for more information:\n https://atlassian.design/components/pragmatic-drag-and-drop/core-package/testing\n ".replace(/ {2}/g, ''));
76
+ console.warn("\n It appears as though you have are not testing DragEvents correctly.\n\n - If you are unit testing, ensure you have polyfilled DragEvent.\n - If you are browser testing, ensure you are dispatching drag events correctly.\n\n Please see our testing guides for more information:\n https://atlassian.design/components/pragmatic-drag-and-drop/core-package/testing\n ".replace(/ {2}/g, ''));
77
77
  }
78
78
  return;
79
79
  }
@@ -1,4 +1,4 @@
1
- import { AllEvents, BaseEventPayload, CleanupFn, DropTargetEventBasePayload, DropTargetEventPayloadMap, DropTargetGetFeedbackArgs, ElementDragType, EventPayloadMap, Input, MonitorGetFeedbackArgs, NativeMediaType } from '../internal-types';
1
+ import { type AllEvents, type BaseEventPayload, type CleanupFn, type DropTargetEventBasePayload, type DropTargetEventPayloadMap, type DropTargetGetFeedbackArgs, type ElementDragType, type EventPayloadMap, type Input, type MonitorGetFeedbackArgs, type NativeMediaType } from '../internal-types';
2
2
  type DraggableGetFeedbackArgs = {
3
3
  /**
4
4
  * The user input as a drag is trying to start (the `initial` input)
@@ -1,4 +1,4 @@
1
- import { BaseEventPayload, CleanupFn, DropTargetEventBasePayload, DropTargetEventPayloadMap, DropTargetGetFeedbackArgs, EventPayloadMap, MonitorGetFeedbackArgs, TextSelectionDragType } from '../internal-types';
1
+ import { type BaseEventPayload, type CleanupFn, type DropTargetEventBasePayload, type DropTargetEventPayloadMap, type DropTargetGetFeedbackArgs, type EventPayloadMap, type MonitorGetFeedbackArgs, type TextSelectionDragType } from '../internal-types';
2
2
  declare const adapter: {
3
3
  registerUsage: () => CleanupFn;
4
4
  dropTarget: (args: import("../internal-types").DropTargetArgs<TextSelectionDragType>) => CleanupFn;
@@ -1,4 +1,4 @@
1
- import { AllEvents, BaseEventPayload, CleanupFn, DropTargetEventBasePayload, DropTargetEventPayloadMap, DropTargetGetFeedbackArgs, ElementDragType, EventPayloadMap, Input, MonitorGetFeedbackArgs, NativeMediaType } from '../internal-types';
1
+ import { type AllEvents, type BaseEventPayload, type CleanupFn, type DropTargetEventBasePayload, type DropTargetEventPayloadMap, type DropTargetGetFeedbackArgs, type ElementDragType, type EventPayloadMap, type Input, type MonitorGetFeedbackArgs, type NativeMediaType } from '../internal-types';
2
2
  type DraggableGetFeedbackArgs = {
3
3
  /**
4
4
  * The user input as a drag is trying to start (the `initial` input)
@@ -1,4 +1,4 @@
1
- import { BaseEventPayload, CleanupFn, DropTargetEventBasePayload, DropTargetEventPayloadMap, DropTargetGetFeedbackArgs, EventPayloadMap, MonitorGetFeedbackArgs, TextSelectionDragType } from '../internal-types';
1
+ import { type BaseEventPayload, type CleanupFn, type DropTargetEventBasePayload, type DropTargetEventPayloadMap, type DropTargetGetFeedbackArgs, type EventPayloadMap, type MonitorGetFeedbackArgs, type TextSelectionDragType } from '../internal-types';
2
2
  declare const adapter: {
3
3
  registerUsage: () => CleanupFn;
4
4
  dropTarget: (args: import("../internal-types").DropTargetArgs<TextSelectionDragType>) => CleanupFn;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/pragmatic-drag-and-drop",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
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",