winduum 0.8.0-next.12 → 0.8.0-next.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "winduum",
3
- "version": "0.8.0-next.12",
3
+ "version": "0.8.0-next.13",
4
4
  "type": "module",
5
5
  "types": "types/index.d.ts",
6
6
  "main": "plugin/index.cjs",
@@ -36,7 +36,7 @@
36
36
  "tailwindcss": "^3.4.1",
37
37
  "tailwindcss-animate": "^1.0.7",
38
38
  "vite": "^5.1.1",
39
- "vue": "^3.4.18",
39
+ "vue": "^3.4.19",
40
40
  "slide-element": "^2.3.1",
41
41
  "dts-buddy": "^0.4.4",
42
42
  "typescript": "^5.3.3"
@@ -8,6 +8,6 @@ export interface ScrollDrawerOptions {
8
8
  scrollDirection?:number
9
9
  }
10
10
 
11
- export function showDrawer(element: HTMLElement | Element, distance: number, direction: 'left' | 'top'): void
12
- export function closeDrawer(element: HTMLElement | Element, distance: number, direction: 'left' | 'top'): void
13
- export function scrollDrawer(element: HTMLElement | Element, options: ScrollDrawerOptions): void
11
+ export function showDrawer(element: HTMLElement | Element, distance?: number, direction?: 'left' | 'top'): void
12
+ export function closeDrawer(element: HTMLElement | Element, distance?: number, direction?: 'left' | 'top'): void
13
+ export function scrollDrawer(element: HTMLElement | Element, options?: ScrollDrawerOptions): void
package/types/index.d.ts CHANGED
@@ -135,9 +135,9 @@ declare module 'winduum/src/components/drawer' {
135
135
  scrollDirection?:number
136
136
  }
137
137
 
138
- export function showDrawer(element: HTMLElement | Element, distance: number, direction: 'left' | 'top'): void
139
- export function closeDrawer(element: HTMLElement | Element, distance: number, direction: 'left' | 'top'): void
140
- export function scrollDrawer(element: HTMLElement | Element, options: ScrollDrawerOptions): void
138
+ export function showDrawer(element: HTMLElement | Element, distance?: number, direction?: 'left' | 'top'): void
139
+ export function closeDrawer(element: HTMLElement | Element, distance?: number, direction?: 'left' | 'top'): void
140
+ export function scrollDrawer(element: HTMLElement | Element, options?: ScrollDrawerOptions): void
141
141
  }
142
142
 
143
143
  declare module 'winduum/src/components/form' {