Skip to content

Commit

Permalink
v1.4.0-rc.2+sha.033f15b
Browse files Browse the repository at this point in the history
  • Loading branch information
taye committed Mar 24, 2019
1 parent 033f15b commit bb1070c
Show file tree
Hide file tree
Showing 43 changed files with 251 additions and 421 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.4.0-rc.1",
"version": "1.4.0-rc.2",
"packages": [
".",
"packages/*"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@interactjs/_dev",
"private": "true",
"version": "1.4.0-rc.1+sha.27a9693",
"version": "1.4.0-rc.2+sha.033f15b",
"bin": {
"_dev": "scripts/_dev",
"@build": "scripts/build.js",
Expand Down
24 changes: 2 additions & 22 deletions packages/actions/drag.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ActionName, Scope } from '@interactjs/core/scope';
import { ActionName } from '@interactjs/core/scope';
declare module '@interactjs/core/Interactable' {
interface Interactable {
draggable: DraggableMethod;
Expand All @@ -19,25 +19,5 @@ declare module '@interactjs/core/scope' {
}
export declare type DragEvent = Interact.InteractEvent<ActionName.Drag>;
export declare type DraggableMethod = Interact.ActionMethod<Interact.DraggableOptions>;
declare function install(scope: Scope): void;
declare function beforeMove({ interaction }: {
interaction: any;
}): void;
declare function move({ iEvent, interaction }: {
iEvent: any;
interaction: any;
}): void;
declare const drag: {
id: string;
install: typeof install;
draggable: import("../types/types").ActionMethod<import("../types/types").DraggableOptions>;
beforeMove: typeof beforeMove;
move: typeof move;
defaults: import("../types/types").DropzoneOptions;
checker(_pointer: any, _event: any, interactable: any): {
name: string;
axis: any;
};
getCursor(): string;
};
declare const drag: Interact.Plugin;
export default drag;
2 changes: 1 addition & 1 deletion packages/actions/drag.js

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions packages/actions/drop/index.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions packages/actions/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@interactjs/actions",
"version": "1.4.0-rc.1+sha.27a9693",
"version": "1.4.0-rc.2+sha.033f15b",
"peerDependencies": {
"@interactjs/core": "1.4.0-rc.1+sha.27a9693",
"@interactjs/utils": "1.4.0-rc.1+sha.27a9693"
"@interactjs/core": "1.4.0-rc.2+sha.033f15b",
"@interactjs/utils": "1.4.0-rc.2+sha.033f15b"
},
"devDependencies": {
"@interactjs/_dev": "1.4.0-rc.1+sha.27a9693",
"@interactjs/core": "1.4.0-rc.1+sha.27a9693",
"@interactjs/utils": "1.4.0-rc.1+sha.27a9693"
"@interactjs/_dev": "1.4.0-rc.2+sha.033f15b",
"@interactjs/core": "1.4.0-rc.2+sha.033f15b",
"@interactjs/utils": "1.4.0-rc.2+sha.033f15b"
},
"publishConfig": {
"access": "public"
Expand Down
8 changes: 4 additions & 4 deletions packages/auto-scroll/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@interactjs/auto-scroll",
"version": "1.4.0-rc.1+sha.27a9693",
"version": "1.4.0-rc.2+sha.033f15b",
"peerDependencies": {
"@interactjs/utils": "1.4.0-rc.1+sha.27a9693"
"@interactjs/utils": "1.4.0-rc.2+sha.033f15b"
},
"devDependencies": {
"@interactjs/_dev": "1.4.0-rc.1+sha.27a9693",
"@interactjs/utils": "1.4.0-rc.1+sha.27a9693"
"@interactjs/_dev": "1.4.0-rc.2+sha.033f15b",
"@interactjs/utils": "1.4.0-rc.2+sha.033f15b"
},
"publishConfig": {
"access": "public"
Expand Down
11 changes: 1 addition & 10 deletions packages/auto-start/base.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,6 @@ export interface AutoStart {
cursorElement: HTMLElement;
signals: utils.Signals;
}
declare function install(scope: Interact.Scope): void;
declare function validateAction(action: any, interactable: any, element: any, eventTarget: any, scope: any): any;
declare function withinInteractionLimit(interactable: Interact.Interactable, element: Element, action: any, scope: Interact.Scope): boolean;
declare function maxInteractions(newValue: any, scope: Interact.Scope): any;
declare const _default: {
id: string;
install: typeof install;
maxInteractions: typeof maxInteractions;
withinInteractionLimit: typeof withinInteractionLimit;
validateAction: typeof validateAction;
};
declare const _default: import("@interactjs/core/scope").Plugin;
export default _default;
2 changes: 1 addition & 1 deletion packages/auto-start/base.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packages/auto-start/dragAxis.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/auto-start/hold.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
declare type Scope = import('@interactjs/core/scope').Scope;
declare module '@interactjs/core/defaultOptions' {
interface PerActionDefaults {
hold?: number;
Expand All @@ -10,7 +9,7 @@ declare module '@interactjs/core/Interaction' {
autoStartHoldTimer?: any;
}
}
declare function install(scope: Scope): void;
declare function install(scope: Interact.Scope): void;
declare function getHoldDuration(interaction: any): any;
declare const _default: {
id: string;
Expand Down
Loading

0 comments on commit bb1070c

Please sign in to comment.