@atlaskit/pragmatic-drag-and-drop 0.17.0 → 0.18.1

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,17 @@
1
1
  # @atlaskit/pragmatic-drag-and-drop
2
2
 
3
+ ## 0.18.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
8
+
9
+ ## 0.18.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`9fd8556db17`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9fd8556db17) - Internal folder name structure change
14
+
3
15
  ## 0.17.0
4
16
 
5
17
  ### Minor Changes
package/README.md CHANGED
@@ -40,4 +40,4 @@ yarn add @atlaskit/pragmatic-drag-and-drop
40
40
 
41
41
  ## Usage
42
42
 
43
- Detailed docs and example usage can be found on [atlassian.design](https://atlassian.design/components/atlassian-drag-and-drop/).
43
+ Detailed docs and example usage can be found on [atlassian.design](https://atlassian.design/components/pragmatic-drag-and-drop/).
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../../dist/types/entry-point/adapter/element.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../../dist/types-ts4.0/entry-point/adapter/element.d.ts"
11
+ "../../dist/types-ts4.5/entry-point/adapter/element.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../../dist/types/entry-point/adapter/file.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../../dist/types-ts4.0/entry-point/adapter/file.d.ts"
11
+ "../../dist/types-ts4.5/entry-point/adapter/file.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../../dist/types/entry-point/addon/cancel-unhandled.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../../dist/types-ts4.0/entry-point/addon/cancel-unhandled.d.ts"
11
+ "../../dist/types-ts4.5/entry-point/addon/cancel-unhandled.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -8,8 +8,8 @@ import SectionMessage from '@atlaskit/section-message';
8
8
 
9
9
  This package contains the essential pieces of the system, and is not tied to any JavaScript framework.
10
10
 
11
- - The [element adapter](/components/drag-and-drop/adapter/element-adapter) powers drag operations of elements.
12
- - The [file adapter](/components/drag-and-drop/adapter/file-adapter) powers drag operations of external files.
11
+ - The [element adapter](/components/pragmatic-drag-and-drop/adapter/element-adapter) powers drag operations of elements.
12
+ - The [file adapter](/components/pragmatic-drag-and-drop/adapter/file-adapter) powers drag operations of external files.
13
13
  - All of the base TypeScript types of Pragmatic drag and drop are in `@atlaskit/pragmatic-drag-and-drop/types`.
14
14
 
15
15
  ## Addons
@@ -308,7 +308,7 @@ A function that scrolls a draggable element just enough into view so that the el
308
308
  import { scrollJustEnoughIntoView } from '@atlaskit/pragmatic-drag-and-drop/util/scroll-just-enough-into-view';
309
309
  ```
310
310
 
311
- Useful to avoid having drag previews cut off by scroll containers. See [element adapter](/components/drag-and-drop/adapter/element-adapter) for more information.
311
+ Useful to avoid having drag previews cut off by scroll containers. See [element adapter](/components/pragmatic-drag-and-drop/adapter/element-adapter) for more information.
312
312
 
313
313
  ```ts
314
314
  import { scrollJustEnoughIntoView } from '@atlaskit/pragmatic-drag-and-drop/util/scroll-just-enough-into-view';
@@ -189,9 +189,6 @@ function makeDropTarget(_ref) {
189
189
  }
190
190
  };
191
191
  function dispatchEvent(args) {
192
- // This line does not work in TS 4.2
193
- // It does work in TS 4.7
194
- // @ts-expect-error
195
192
  actions[args.eventName](args);
196
193
  }
197
194
  function getIsOver(_ref5) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/pragmatic-drag-and-drop",
3
- "version": "0.17.0",
3
+ "version": "0.18.1",
4
4
  "sideEffects": false
5
5
  }
@@ -150,9 +150,6 @@ export function makeDropTarget({
150
150
  }
151
151
  };
152
152
  function dispatchEvent(args) {
153
- // This line does not work in TS 4.2
154
- // It does work in TS 4.7
155
- // @ts-expect-error
156
153
  actions[args.eventName](args);
157
154
  }
158
155
  function getIsOver({
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/pragmatic-drag-and-drop",
3
- "version": "0.17.0",
3
+ "version": "0.18.1",
4
4
  "sideEffects": false
5
5
  }
@@ -182,9 +182,6 @@ export function makeDropTarget(_ref) {
182
182
  }
183
183
  };
184
184
  function dispatchEvent(args) {
185
- // This line does not work in TS 4.2
186
- // It does work in TS 4.7
187
- // @ts-expect-error
188
185
  actions[args.eventName](args);
189
186
  }
190
187
  function getIsOver(_ref5) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/pragmatic-drag-and-drop",
3
- "version": "0.17.0",
3
+ "version": "0.18.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,10 +1,10 @@
1
1
  import { AllEvents, BaseEventPayload, CleanupFn, DropTargetEventPayloadMap, EventPayloadMap, Input, InternalDragType, MonitorCanMonitorArgs } from '../internal-types';
2
- declare type ElementDragType = InternalDragType<'element', 'move', {
2
+ type ElementDragType = InternalDragType<'element', 'move', {
3
3
  element: HTMLElement;
4
4
  dragHandle: Element | null;
5
5
  data: Record<string, unknown>;
6
6
  }>;
7
- declare type GetFeedbackArgs = {
7
+ type GetFeedbackArgs = {
8
8
  /**
9
9
  * The user input as a drag is trying to start (the `initial` input)
10
10
  */
@@ -18,7 +18,7 @@ declare type GetFeedbackArgs = {
18
18
  */
19
19
  dragHandle: Element | null;
20
20
  };
21
- declare type DraggableArgs = {
21
+ type DraggableArgs = {
22
22
  /** The `HTMLElement` that you want to attach draggable behaviour to.
23
23
  * `element` is our unique _key_ for a draggable.
24
24
  * `element` is a `HTMLElement` as only a `HTMLElement`
@@ -35,8 +35,8 @@ declare type DraggableArgs = {
35
35
  export declare const dropTargetForElements: (args: import("../internal-types").DropTargetArgs<ElementDragType>) => CleanupFn;
36
36
  export declare const monitorForElements: (args: import("../internal-types").MonitorArgs<ElementDragType>) => CleanupFn;
37
37
  export declare function draggable(args: DraggableArgs): CleanupFn;
38
- export declare type ElementEventBasePayload = BaseEventPayload<ElementDragType>;
39
- export declare type ElementEventPayloadMap = EventPayloadMap<ElementDragType>;
40
- export declare type ElementDropTargetEventPayloadMap = DropTargetEventPayloadMap<ElementDragType>;
41
- export declare type ElementMonitorCanMonitorArgs = MonitorCanMonitorArgs<ElementDragType>;
38
+ export type ElementEventBasePayload = BaseEventPayload<ElementDragType>;
39
+ export type ElementEventPayloadMap = EventPayloadMap<ElementDragType>;
40
+ export type ElementDropTargetEventPayloadMap = DropTargetEventPayloadMap<ElementDragType>;
41
+ export type ElementMonitorCanMonitorArgs = MonitorCanMonitorArgs<ElementDragType>;
42
42
  export {};
@@ -1,5 +1,5 @@
1
1
  import { BaseEventPayload, CleanupFn, DropTargetEventPayloadMap, EventPayloadMap, ExternalDragType, MonitorCanMonitorArgs } from '../internal-types';
2
- declare type FileDragType = ExternalDragType<'file', 'copy', {
2
+ type FileDragType = ExternalDragType<'file', 'copy', {
3
3
  items: DataTransfer['items'] | null;
4
4
  }>;
5
5
  declare const adapter: {
@@ -7,12 +7,12 @@ declare const adapter: {
7
7
  dropTarget: (args: import("../internal-types").DropTargetArgs<FileDragType>) => CleanupFn;
8
8
  monitor: (args: import("../internal-types").MonitorArgs<FileDragType>) => CleanupFn;
9
9
  };
10
- declare type StripEventsForDropTargets<T> = Omit<T, 'onDragStart' | 'onGenerateDragPreview'>;
11
- declare type StripPreviewEvent<T> = Omit<T, 'onGenerateDragPreview'>;
10
+ type StripEventsForDropTargets<T> = Omit<T, 'onDragStart' | 'onGenerateDragPreview'>;
11
+ type StripPreviewEvent<T> = Omit<T, 'onGenerateDragPreview'>;
12
12
  export declare const dropTargetForFiles: (args: StripEventsForDropTargets<Parameters<typeof adapter.dropTarget>[0]>) => CleanupFn;
13
13
  export declare const monitorForFiles: (args: StripPreviewEvent<Parameters<typeof adapter.monitor>[0]>) => CleanupFn;
14
- export declare type FileDropTargetEventPayloadMap = StripEventsForDropTargets<DropTargetEventPayloadMap<FileDragType>>;
15
- export declare type FileEventPayloadMap = StripPreviewEvent<EventPayloadMap<FileDragType>>;
16
- export declare type FileEventBasePayload = BaseEventPayload<FileDragType>;
17
- export declare type FileMonitorCanMonitorArgs = MonitorCanMonitorArgs<FileDragType>;
14
+ export type FileDropTargetEventPayloadMap = StripEventsForDropTargets<DropTargetEventPayloadMap<FileDragType>>;
15
+ export type FileEventPayloadMap = StripPreviewEvent<EventPayloadMap<FileDragType>>;
16
+ export type FileEventBasePayload = BaseEventPayload<FileDragType>;
17
+ export type FileMonitorCanMonitorArgs = MonitorCanMonitorArgs<FileDragType>;
18
18
  export {};
@@ -1,6 +1,6 @@
1
1
  import { CleanupFn, ExternalDragType, Serializable } from '../internal-types';
2
- declare type CrossWindowResult = 'moved' | 'none';
3
- declare type CrossWindowDragType = ExternalDragType<'experimental-cross-window-element', 'move', {
2
+ type CrossWindowResult = 'moved' | 'none';
3
+ type CrossWindowDragType = ExternalDragType<'experimental-cross-window-element', 'move', {
4
4
  data: Serializable;
5
5
  }>;
6
6
  declare const adapter: {
@@ -1,8 +1,8 @@
1
- export declare type CleanupFn = () => void;
1
+ export type CleanupFn = () => void;
2
2
  /**
3
3
  * Information about a drop target
4
4
  */
5
- export declare type DropTargetRecord = {
5
+ export type DropTargetRecord = {
6
6
  /**
7
7
  * The element the drop target is attached to
8
8
  */
@@ -26,42 +26,42 @@ export declare type DropTargetRecord = {
26
26
  */
27
27
  sticky: boolean;
28
28
  };
29
- export declare type Position = {
29
+ export type Position = {
30
30
  x: number;
31
31
  y: number;
32
32
  };
33
- export declare type Serializable = {
33
+ export type Serializable = {
34
34
  [key: string]: number | string | Serializable | Serializable[];
35
35
  };
36
- export declare type InternalDragType<Key extends string, DefaultDropEffect extends DataTransfer['dropEffect'], Payload extends Record<string, unknown>> = {
36
+ export type InternalDragType<Key extends string, DefaultDropEffect extends DataTransfer['dropEffect'], Payload extends Record<string, unknown>> = {
37
37
  key: Key;
38
38
  defaultDropEffect: DefaultDropEffect;
39
39
  startedFrom: 'internal';
40
40
  payload: Payload;
41
41
  };
42
- export declare type ExternalDragType<Key extends string, DefaultDropEffect extends DataTransfer['dropEffect'], Payload extends Record<string, unknown>> = {
42
+ export type ExternalDragType<Key extends string, DefaultDropEffect extends DataTransfer['dropEffect'], Payload extends Record<string, unknown>> = {
43
43
  key: Key;
44
44
  startedFrom: 'external';
45
45
  defaultDropEffect: DefaultDropEffect;
46
46
  payload: Payload;
47
47
  };
48
- export declare type DragInterface<DragType extends AllDragTypes> = DragType extends ExternalDragType<string, DataTransfer['dropEffect'], Record<string, unknown>> ? // External drag types might need to refresh their source
48
+ export type DragInterface<DragType extends AllDragTypes> = DragType extends ExternalDragType<string, DataTransfer['dropEffect'], Record<string, unknown>> ? // External drag types might need to refresh their source
49
49
  Omit<DragType, 'defaultDropEffect'> & {
50
50
  getDropPayload?: (event: DragEvent) => DragType['payload'];
51
51
  } : Omit<DragType, 'defaultDropEffect'>;
52
- export declare type AllDragTypes = InternalDragType<string, DataTransfer['dropEffect'], Record<string, unknown>> | ExternalDragType<string, DataTransfer['dropEffect'], Record<string, unknown>>;
53
- export declare type SourceCanStartArgs = {
52
+ export type AllDragTypes = InternalDragType<string, DataTransfer['dropEffect'], Record<string, unknown>> | ExternalDragType<string, DataTransfer['dropEffect'], Record<string, unknown>>;
53
+ export type SourceCanStartArgs = {
54
54
  event: DragEvent;
55
55
  input: Input;
56
56
  };
57
- export declare type AdapterAPI<DragType extends AllDragTypes> = {
57
+ export type AdapterAPI<DragType extends AllDragTypes> = {
58
58
  canStart: (event: DragEvent) => boolean;
59
59
  start: (args: {
60
60
  event: DragEvent;
61
61
  dragInterface: DragInterface<DragType>;
62
62
  }) => void;
63
63
  };
64
- export declare type Input = {
64
+ export type Input = {
65
65
  altKey: boolean;
66
66
  button: number;
67
67
  buttons: number;
@@ -73,7 +73,7 @@ export declare type Input = {
73
73
  pageX: number;
74
74
  pageY: number;
75
75
  };
76
- export declare type DragLocation = {
76
+ export type DragLocation = {
77
77
  /**
78
78
  * A users input at a point in time
79
79
  */
@@ -87,7 +87,7 @@ export declare type DragLocation = {
87
87
  */
88
88
  dropTargets: DropTargetRecord[];
89
89
  };
90
- export declare type DragLocationHistory = {
90
+ export type DragLocationHistory = {
91
91
  /**
92
92
  * Where the drag operation started
93
93
  */
@@ -114,7 +114,7 @@ export declare type DragLocationHistory = {
114
114
  /**
115
115
  * The common data that is provided to all events
116
116
  */
117
- export declare type BaseEventPayload<DragType extends AllDragTypes> = {
117
+ export type BaseEventPayload<DragType extends AllDragTypes> = {
118
118
  /**
119
119
  * Location history for the drag operation
120
120
  */
@@ -124,7 +124,7 @@ export declare type BaseEventPayload<DragType extends AllDragTypes> = {
124
124
  */
125
125
  source: DragType['payload'];
126
126
  };
127
- export declare type EventPayloadMap<DragType extends AllDragTypes> = {
127
+ export type EventPayloadMap<DragType extends AllDragTypes> = {
128
128
  /**
129
129
  * Drag is about to start.
130
130
  * Make changes you want to see in the drag preview
@@ -161,10 +161,10 @@ export declare type EventPayloadMap<DragType extends AllDragTypes> = {
161
161
  */
162
162
  onDrop: BaseEventPayload<DragType>;
163
163
  };
164
- export declare type AllEvents<DragType extends AllDragTypes> = {
164
+ export type AllEvents<DragType extends AllDragTypes> = {
165
165
  [EventName in keyof EventPayloadMap<DragType>]: (args: EventPayloadMap<DragType>[EventName]) => void;
166
166
  };
167
- export declare type MonitorCanMonitorArgs<DragType extends AllDragTypes> = {
167
+ export type MonitorCanMonitorArgs<DragType extends AllDragTypes> = {
168
168
  /**
169
169
  * The users `initial` drag location
170
170
  */
@@ -174,10 +174,10 @@ export declare type MonitorCanMonitorArgs<DragType extends AllDragTypes> = {
174
174
  */
175
175
  source: DragType['payload'];
176
176
  };
177
- export declare type MonitorArgs<DragType extends AllDragTypes> = Partial<AllEvents<DragType>> & {
177
+ export type MonitorArgs<DragType extends AllDragTypes> = Partial<AllEvents<DragType>> & {
178
178
  canMonitor?: (args: MonitorCanMonitorArgs<DragType>) => boolean;
179
179
  };
180
- export declare type DropTargetGetFeedbackArgs<DragType extends AllDragTypes> = {
180
+ export type DropTargetGetFeedbackArgs<DragType extends AllDragTypes> = {
181
181
  /**
182
182
  * The users _current_ input
183
183
  */
@@ -191,7 +191,7 @@ export declare type DropTargetGetFeedbackArgs<DragType extends AllDragTypes> = {
191
191
  */
192
192
  element: Element;
193
193
  };
194
- export declare type DropTargetLocalizedData = {
194
+ export type DropTargetLocalizedData = {
195
195
  /**
196
196
  * A convenance pointer to this drop targets values
197
197
  */
@@ -200,7 +200,7 @@ export declare type DropTargetLocalizedData = {
200
200
  /**
201
201
  * Mapping event names to the payloads for those events
202
202
  */
203
- export declare type DropTargetEventPayloadMap<DragType extends AllDragTypes> = {
203
+ export type DropTargetEventPayloadMap<DragType extends AllDragTypes> = {
204
204
  [EventName in keyof EventPayloadMap<DragType>]: EventPayloadMap<DragType>[EventName] & DropTargetLocalizedData;
205
205
  } & {
206
206
  /**
@@ -220,7 +220,7 @@ export declare type DropTargetEventPayloadMap<DragType extends AllDragTypes> = {
220
220
  */
221
221
  onDragLeave: EventPayloadMap<DragType>['onDropTargetChange'] & DropTargetLocalizedData;
222
222
  };
223
- export declare type DropTargetArgs<DragType extends AllDragTypes> = {
223
+ export type DropTargetArgs<DragType extends AllDragTypes> = {
224
224
  /**
225
225
  * The `element` that you want to attach drop target behaviour to.
226
226
  * The `element` is the unique _key_ for a drop target
@@ -260,7 +260,7 @@ export declare type DropTargetArgs<DragType extends AllDragTypes> = {
260
260
  } & {
261
261
  [EventName in keyof DropTargetEventPayloadMap<DragType>]?: (args: DropTargetEventPayloadMap<DragType>[EventName]) => void;
262
262
  };
263
- export declare type DropTargetAPI<DragType extends AllDragTypes> = {
263
+ export type DropTargetAPI<DragType extends AllDragTypes> = {
264
264
  dropTargetForConsumers: (args: DropTargetArgs<DragType>) => CleanupFn;
265
265
  dispatchEvent: <EventName extends keyof EventPayloadMap<DragType>>(args: {
266
266
  eventName: EventName;
@@ -2,9 +2,9 @@ import { ElementEventPayloadMap } from '../adapter/element-adapter';
2
2
  /** A function to remove the element that has been added to the `container`.
3
3
  * @example () => ReactDOM.unmountComponentAtNode(container)
4
4
  */
5
- declare type CleanupFn = () => void;
5
+ type CleanupFn = () => void;
6
6
  /** A function that will render a preview element into a `container` `HTMLElement` */
7
- declare type RenderFn = ({ container, }: {
7
+ type RenderFn = ({ container, }: {
8
8
  /** The `HTMLElement` that you need to render your preview element into.
9
9
  `container` will be appended to the `document.body` and will be removed
10
10
  after your `CleanupFn` is called
@@ -14,7 +14,7 @@ declare type RenderFn = ({ container, }: {
14
14
  /** Any valid CSS string value
15
15
  * @example `calc(var(--grid) * 2)
16
16
  */
17
- declare type CSSValue = string;
17
+ type CSSValue = string;
18
18
  /**
19
19
  * Where to place the custom drag preview
20
20
  *
@@ -22,7 +22,7 @@ declare type CSSValue = string;
22
22
  *
23
23
  * `type: 'offset-from-pointer'`: Shift the drag preview away from the users pointer
24
24
  */
25
- declare type Placement = {
25
+ type Placement = {
26
26
  type: 'center';
27
27
  } | {
28
28
  type: 'offset-from-pointer';
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../../dist/types/entry-point/experimental/cross-with-element-adapter.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../../dist/types-ts4.0/entry-point/experimental/cross-with-element-adapter.d.ts"
11
+ "../../dist/types-ts4.5/entry-point/experimental/cross-with-element-adapter.d.ts"
12
12
  ]
13
13
  }
14
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/pragmatic-drag-and-drop",
3
- "version": "0.17.0",
3
+ "version": "0.18.1",
4
4
  "description": "The core Pragmatic drag and drop framework, optimized for performance.",
5
5
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
6
6
  "author": "Atlassian Pty Ltd",
@@ -9,6 +9,14 @@
9
9
  "module": "dist/esm/index.js",
10
10
  "module:es2019": "dist/es2019/index.js",
11
11
  "types": "dist/types/index.d.ts",
12
+ "typesVersions": {
13
+ ">=4.5 <4.9": {
14
+ "*": [
15
+ "dist/types-ts4.5/*",
16
+ "dist/types-ts4.5/index.d.ts"
17
+ ]
18
+ }
19
+ },
12
20
  "sideEffects": false,
13
21
  "publishConfig": {
14
22
  "registry": "https://registry.npmjs.org/"
@@ -46,7 +54,7 @@
46
54
  "raf-schd": "^4.0.3"
47
55
  },
48
56
  "devDependencies": {
49
- "@atlaskit/tokens": "^1.3.0",
57
+ "@atlaskit/tokens": "^1.4.0",
50
58
  "@atlaskit/visual-regression": "*",
51
59
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
52
60
  "@emotion/react": "^11.7.1",
@@ -56,7 +64,7 @@
56
64
  "react": "^16.8.0",
57
65
  "react-dom": "^16.8.0",
58
66
  "tiny-invariant": "^1.2.0",
59
- "typescript": "4.5.5",
67
+ "typescript": "~4.9.5",
60
68
  "wait-for-expect": "^1.2.0"
61
69
  },
62
70
  "techstack": {
@@ -82,6 +90,6 @@
82
90
  ]
83
91
  }
84
92
  },
85
- "homepage": "https://atlassian.design/components/drag-and-drop/",
93
+ "homepage": "https://atlassian.design/components/pragmatic-drag-and-drop/",
86
94
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
87
95
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-point/types.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../dist/types-ts4.0/entry-point/types.d.ts"
11
+ "../dist/types-ts4.5/entry-point/types.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../../dist/types/entry-point/util/combine.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../../dist/types-ts4.0/entry-point/util/combine.d.ts"
11
+ "../../dist/types-ts4.5/entry-point/util/combine.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../../dist/types/entry-point/util/disable-native-drag-preview.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../../dist/types-ts4.0/entry-point/util/disable-native-drag-preview.d.ts"
11
+ "../../dist/types-ts4.5/entry-point/util/disable-native-drag-preview.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../../dist/types/entry-point/util/once.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../../dist/types-ts4.0/entry-point/util/once.d.ts"
11
+ "../../dist/types-ts4.5/entry-point/util/once.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../../dist/types/entry-point/util/reorder.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../../dist/types-ts4.0/entry-point/util/reorder.d.ts"
11
+ "../../dist/types-ts4.5/entry-point/util/reorder.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../../dist/types/entry-point/util/scroll-just-enough-into-view.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../../dist/types-ts4.0/entry-point/util/scroll-just-enough-into-view.d.ts"
11
+ "../../dist/types-ts4.5/entry-point/util/scroll-just-enough-into-view.d.ts"
12
12
  ]
13
13
  }
14
14
  }
@@ -6,9 +6,9 @@
6
6
  "sideEffects": false,
7
7
  "types": "../../dist/types/entry-point/util/set-custom-native-drag-preview.d.ts",
8
8
  "typesVersions": {
9
- ">=4.0 <4.5": {
9
+ ">=4.5 <4.9": {
10
10
  "*": [
11
- "../../dist/types-ts4.0/entry-point/util/set-custom-native-drag-preview.d.ts"
11
+ "../../dist/types-ts4.5/entry-point/util/set-custom-native-drag-preview.d.ts"
12
12
  ]
13
13
  }
14
14
  }