Skip to content

Commit

Permalink
v1.10.23
Browse files Browse the repository at this point in the history
  • Loading branch information
CI committed Nov 26, 2023
1 parent 874888a commit 8e38419
Show file tree
Hide file tree
Showing 648 changed files with 61,044 additions and 41 deletions.
5 changes: 4 additions & 1 deletion package.json
Expand Up @@ -110,5 +110,8 @@
"**/*.((ts|js)?(x)|vue|md)": "bin/_lint --fix",
"**/*.(yaml|json|css)": "prettier --write"
},
"license": "MIT"
"license": "MIT",
"publishConfig": {
"access": "public"
}
}
7 changes: 7 additions & 0 deletions packages/@interactjs/actions/.npmignore
@@ -0,0 +1,7 @@
*.ts
!*.d.ts
*.map.*
*.spec.ts
*.spec.js
dist/docs
guide
23 changes: 23 additions & 0 deletions packages/@interactjs/actions/LICENSE
@@ -0,0 +1,23 @@
Copyright (c) 2012-present Taye Adeyemi <dev@taye.me>

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to
whom the Software is furnished to do so, subject to the
following conditions:

The above copyright notice and this permission notice shall
be included in all copies or substantial portions of the
Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1 change: 1 addition & 0 deletions packages/@interactjs/actions/drag/index.d.ts
@@ -0,0 +1 @@
import '@interactjs/actions/drag/plugin';
6 changes: 6 additions & 0 deletions packages/@interactjs/actions/drag/index.js

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

15 changes: 15 additions & 0 deletions packages/@interactjs/actions/drag/index.js.map

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

2 changes: 2 additions & 0 deletions packages/@interactjs/actions/drag/index.prod.js

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

15 changes: 15 additions & 0 deletions packages/@interactjs/actions/drag/index.prod.js.map

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

5 changes: 5 additions & 0 deletions packages/@interactjs/actions/drag/index.ts
@@ -0,0 +1,5 @@
/* eslint-disable no-console, eol-last, import/no-duplicates, import/no-extraneous-dependencies, import/order */
import '@interactjs/actions/drag/plugin'
import interact from '@interactjs/interact/index'
import plugin from '@interactjs/actions/drag/plugin'
interact.use(plugin)
31 changes: 31 additions & 0 deletions packages/@interactjs/actions/drag/plugin.d.ts
@@ -0,0 +1,31 @@
import type { InteractEvent } from '@interactjs/core/InteractEvent';
import type { PerActionDefaults } from '@interactjs/core/options';
import type { Plugin } from '@interactjs/core/scope';
import type { ActionMethod, ListenersArg } from '@interactjs/core/types';
declare module '@interactjs/core/Interactable' {
interface Interactable {
draggable: DraggableMethod;
}
}
declare module '@interactjs/core/options' {
interface ActionDefaults {
drag: DraggableOptions;
}
}
declare module '@interactjs/core/types' {
interface ActionMap {
drag?: typeof drag;
}
}
export declare type DragEvent = InteractEvent<'drag'>;
export declare type DraggableMethod = ActionMethod<DraggableOptions>;
export interface DraggableOptions extends PerActionDefaults {
startAxis?: 'x' | 'y' | 'xy';
lockAxis?: 'x' | 'y' | 'xy' | 'start';
oninertiastart?: ListenersArg;
onstart?: ListenersArg;
onmove?: ListenersArg;
onend?: ListenersArg;
}
declare const drag: Plugin;
export default drag;
157 changes: 157 additions & 0 deletions packages/@interactjs/actions/drag/plugin.js

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

64 changes: 64 additions & 0 deletions packages/@interactjs/actions/drag/plugin.js.map

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

0 comments on commit 8e38419

Please sign in to comment.