@wippy-fe/vue-host 0.0.25 → 0.0.27

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": "@wippy-fe/vue-host",
3
- "version": "0.0.25",
3
+ "version": "0.0.27",
4
4
  "description": "Vue 3 reactive bindings for the Wippy host.* proxy API. Hooks for layout state, panel live state, breakpoints, and per-panel routes — inside a Wippy iframe.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -13,6 +13,6 @@
13
13
  ],
14
14
  "peerDependencies": {
15
15
  "vue": "^3.5.0",
16
- "@wippy-fe/proxy": "0.0.25"
16
+ "@wippy-fe/proxy": "0.0.27"
17
17
  }
18
18
  }
@@ -1,4 +1,4 @@
1
- import type { LayoutSnapshot, PanelTarget } from '@wippy-fe/proxy'
1
+ import type { LayoutSnapshot, PanelTarget, SizeValue } from '@wippy-fe/proxy'
2
2
  import type { ComputedRef, MaybeRefOrGetter, Ref, ShallowRef } from 'vue'
3
3
  import { host, on } from '@wippy-fe/proxy'
4
4
  import { computed, shallowRef, toValue } from 'vue'
@@ -39,7 +39,7 @@ export interface UseWippyLayout {
39
39
  /** True when a managed-layout host is driving this iframe. */
40
40
  isManaged: ComputedRef<boolean>
41
41
 
42
- resizePanel: (panelId: string, size: string) => void
42
+ resizePanel: (panelId: string, size: SizeValue) => void
43
43
  collapsePanel: (panelId: string) => void
44
44
  expandPanel: (panelId: string) => void
45
45
  movePanel: (panelId: string, target: PanelTarget) => void