@svelteuidev/actions
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -0,1 +1,2 @@ | ||
export * from './_types'; | ||
export { clickoutside } from './use-click-outside/use-click-outside'; | ||
@@ -2,0 +3,0 @@ export { clipboard } from './use-clipboard/use-clipboard'; |
@@ -0,1 +1,2 @@ | ||
export * from './_types'; | ||
export { clickoutside } from './use-click-outside/use-click-outside'; | ||
@@ -2,0 +3,0 @@ export { clipboard } from './use-clipboard/use-clipboard'; |
{ | ||
"name": "@svelteuidev/actions", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"devDependencies": { | ||
@@ -21,10 +21,7 @@ "@sveltejs/kit": "next", | ||
".": "./index.js", | ||
"./types": "./types.js", | ||
"./use-click-outside/use-click-outside.test": "./use-click-outside/use-click-outside.test.js", | ||
"./use-click-outside/use-click-outside": "./use-click-outside/use-click-outside.js", | ||
"./use-clipboard/use-clipboard": "./use-clipboard/use-clipboard.js", | ||
"./use-css-variable/use-css-variable": "./use-css-variable/use-css-variable.js", | ||
"./use-focus/use-focus": "./use-focus/use-focus.js", | ||
"./use-page-leave/use-page-leave": "./use-page-leave/use-page-leave.js" | ||
"./use-focus/use-focus": "./use-focus/use-focus.js" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
import type { Action } from '../types'; | ||
import type { Action } from '../_types'; | ||
/** | ||
@@ -6,4 +6,3 @@ * | ||
* | ||
* Usage: | ||
* <div use:clickOutside={{ enabled: open, callback: () => open = false }}> | ||
* Usage: <div use:clickOutside={{ enabled: open, callback: () => open = false }}> | ||
* | ||
@@ -10,0 +9,0 @@ * Demo: https://svelte.dev/repl/dae848c2157e48ab932106779960f5d5?version=3.19.2 |
@@ -5,4 +5,3 @@ /** | ||
* | ||
* Usage: | ||
* <div use:clickOutside={{ enabled: open, callback: () => open = false }}> | ||
* Usage: <div use:clickOutside={{ enabled: open, callback: () => open = false }}> | ||
* | ||
@@ -9,0 +8,0 @@ * Demo: https://svelte.dev/repl/dae848c2157e48ab932106779960f5d5?version=3.19.2 |
@@ -1,2 +0,2 @@ | ||
import type { Action } from '../types'; | ||
import type { Action } from '../_types'; | ||
/** | ||
@@ -3,0 +3,0 @@ * |
@@ -1,2 +0,2 @@ | ||
import type { Action, UnknownKeyString } from '../types'; | ||
import type { Action, UnknownKeyString } from '../_types'; | ||
/** | ||
@@ -3,0 +3,0 @@ * |
@@ -1,2 +0,2 @@ | ||
import type { Action, FocusableElement } from '../types'; | ||
import type { Action, FocusableElement } from '../_types'; | ||
/** | ||
@@ -3,0 +3,0 @@ * |
6794
15
146