Skip to content

Commit

Permalink
Fix resizable name
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaitanLyss committed Aug 23, 2024
1 parent ca5b652 commit a4fa606
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@selenite/commons",
"version": "0.22.0",
"version": "0.22.1",
"repository": "github:ShaitanLyss/selenite-commons",
"license": "MIT",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/lib/actions/resizable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export type ResizeHandleParams<Element extends HTMLElement = HTMLElement> = {

export type ResizeSide = 'n' | 'w' | 's' | 'e' | 'ne' | 'se' | 'nw' | 'sw';

export function resizeHandle<N extends HTMLElement = HTMLElement>(
export function resizable<N extends HTMLElement = HTMLElement>(
node: N,
params: ResizeHandleParams<N> = {}
): ActionReturn<ResizeHandleParams<N>> {
Expand Down
4 changes: 2 additions & 2 deletions src/routes/resizable/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script lang="ts">
import type { ResizeHandleParams } from '$lib';
import { persisted, PointerDownWatcher, resizeHandle as resizable } from '$lib';
let all = $state(true);
import { persisted, PointerDownWatcher, resizable } from '$lib';
let all = $state(true);resizable
// $effect(() => {
Expand Down

0 comments on commit a4fa606

Please sign in to comment.