@astrale-os/shell-react 0.2.0 → 0.2.2

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.
Files changed (266) hide show
  1. package/dist/application/apps/app-host.d.ts +2 -2
  2. package/dist/application/apps/app-host.d.ts.map +1 -1
  3. package/dist/application/apps/app-host.js +3 -3
  4. package/dist/application/apps/apps.hook.d.ts +1 -1
  5. package/dist/application/apps/apps.hook.d.ts.map +1 -1
  6. package/dist/application/apps/apps.hook.js +4 -4
  7. package/dist/application/apps/open-app.hook.d.ts +1 -1
  8. package/dist/application/apps/open-app.hook.d.ts.map +1 -1
  9. package/dist/application/apps/open-app.hook.js +3 -3
  10. package/dist/application/index.d.ts +16 -16
  11. package/dist/application/index.d.ts.map +1 -1
  12. package/dist/application/index.js +9 -9
  13. package/dist/application/roles.hook.d.ts +1 -1
  14. package/dist/application/roles.hook.d.ts.map +1 -1
  15. package/dist/application/roles.hook.js +3 -3
  16. package/dist/application/spaces/current-space.hook.d.ts +1 -1
  17. package/dist/application/spaces/current-space.hook.d.ts.map +1 -1
  18. package/dist/application/spaces/current-space.hook.js +3 -3
  19. package/dist/application/spaces/space.hook.d.ts +1 -1
  20. package/dist/application/spaces/space.hook.d.ts.map +1 -1
  21. package/dist/application/spaces/space.hook.js +4 -4
  22. package/dist/application/spaces/spaces.hook.d.ts +2 -2
  23. package/dist/application/spaces/spaces.hook.d.ts.map +1 -1
  24. package/dist/application/spaces/spaces.hook.js +5 -5
  25. package/dist/application/user/user.hook.js +2 -2
  26. package/dist/auth/act-as.context.d.ts +1 -1
  27. package/dist/auth/act-as.context.d.ts.map +1 -1
  28. package/dist/auth/act-as.context.js +1 -1
  29. package/dist/auth/auth.hook.js +2 -2
  30. package/dist/auth/can.hook.d.ts +1 -1
  31. package/dist/auth/can.hook.d.ts.map +1 -1
  32. package/dist/auth/can.hook.js +2 -2
  33. package/dist/auth/index.d.ts +5 -5
  34. package/dist/auth/index.d.ts.map +1 -1
  35. package/dist/auth/index.js +4 -4
  36. package/dist/auth/self.hook.d.ts +1 -1
  37. package/dist/auth/self.hook.d.ts.map +1 -1
  38. package/dist/auth/self.hook.js +1 -1
  39. package/dist/auth/session-kernel.d.ts +1 -1
  40. package/dist/auth/session-kernel.d.ts.map +1 -1
  41. package/dist/auth/session-kernel.js +2 -2
  42. package/dist/graph/async.d.ts +1 -1
  43. package/dist/graph/async.d.ts.map +1 -1
  44. package/dist/graph/call/call.hook.d.ts +1 -1
  45. package/dist/graph/call/call.hook.d.ts.map +1 -1
  46. package/dist/graph/call/call.hook.js +2 -2
  47. package/dist/graph/call/stream.hook.js +1 -1
  48. package/dist/graph/index.d.ts +18 -18
  49. package/dist/graph/index.d.ts.map +1 -1
  50. package/dist/graph/index.js +8 -8
  51. package/dist/graph/memory/read/idle.d.ts +1 -1
  52. package/dist/graph/memory/read/idle.d.ts.map +1 -1
  53. package/dist/graph/memory/read/read.d.ts +1 -1
  54. package/dist/graph/memory/read/read.d.ts.map +1 -1
  55. package/dist/graph/memory/read/read.js +3 -3
  56. package/dist/graph/memory/scope.js +3 -3
  57. package/dist/graph/mutate/move.hook.d.ts +2 -2
  58. package/dist/graph/mutate/move.hook.d.ts.map +1 -1
  59. package/dist/graph/mutate/move.hook.js +3 -3
  60. package/dist/graph/mutate/mutate.hook.d.ts +1 -1
  61. package/dist/graph/mutate/mutate.hook.d.ts.map +1 -1
  62. package/dist/graph/mutate/mutate.hook.js +2 -2
  63. package/dist/graph/query/children.hook.d.ts +2 -2
  64. package/dist/graph/query/children.hook.d.ts.map +1 -1
  65. package/dist/graph/query/children.hook.js +2 -2
  66. package/dist/graph/query/graph.hook.js +1 -1
  67. package/dist/graph/query/neighbors.hook.d.ts +2 -2
  68. package/dist/graph/query/neighbors.hook.d.ts.map +1 -1
  69. package/dist/graph/query/neighbors.hook.js +4 -7
  70. package/dist/graph/query/node.hook.d.ts +2 -2
  71. package/dist/graph/query/node.hook.d.ts.map +1 -1
  72. package/dist/graph/query/node.hook.js +2 -2
  73. package/dist/graph/query/query.hook.d.ts +1 -1
  74. package/dist/graph/query/query.hook.d.ts.map +1 -1
  75. package/dist/graph/query/query.hook.js +1 -1
  76. package/dist/index.d.ts +25 -25
  77. package/dist/index.d.ts.map +1 -1
  78. package/dist/index.js +11 -11
  79. package/dist/intents/index.d.ts +5 -5
  80. package/dist/intents/index.d.ts.map +1 -1
  81. package/dist/intents/index.js +2 -2
  82. package/dist/intents/listen-intent.hook.d.ts +1 -1
  83. package/dist/intents/listen-intent.hook.d.ts.map +1 -1
  84. package/dist/intents/listen-intent.hook.js +3 -3
  85. package/dist/intents/reply.js +1 -1
  86. package/dist/intents/send-intent.hook.d.ts +1 -1
  87. package/dist/intents/send-intent.hook.d.ts.map +1 -1
  88. package/dist/intents/send-intent.hook.js +2 -2
  89. package/dist/navigation/adapters/adapter.d.ts +1 -1
  90. package/dist/navigation/adapters/adapter.d.ts.map +1 -1
  91. package/dist/navigation/adapters/memory.adapter.d.ts +2 -2
  92. package/dist/navigation/adapters/memory.adapter.d.ts.map +1 -1
  93. package/dist/navigation/adapters/url.adapter.d.ts +1 -1
  94. package/dist/navigation/adapters/url.adapter.d.ts.map +1 -1
  95. package/dist/navigation/hooks/ancestors.hook.d.ts +2 -2
  96. package/dist/navigation/hooks/ancestors.hook.d.ts.map +1 -1
  97. package/dist/navigation/hooks/ancestors.hook.js +5 -5
  98. package/dist/navigation/hooks/location.hook.d.ts +1 -1
  99. package/dist/navigation/hooks/location.hook.d.ts.map +1 -1
  100. package/dist/navigation/hooks/location.hook.js +2 -2
  101. package/dist/navigation/hooks/navigate.hook.d.ts +1 -1
  102. package/dist/navigation/hooks/navigate.hook.d.ts.map +1 -1
  103. package/dist/navigation/hooks/navigate.hook.js +1 -1
  104. package/dist/navigation/hooks/scope.hook.d.ts +3 -3
  105. package/dist/navigation/hooks/scope.hook.d.ts.map +1 -1
  106. package/dist/navigation/hooks/scope.hook.js +3 -3
  107. package/dist/navigation/index.d.ts +15 -15
  108. package/dist/navigation/index.d.ts.map +1 -1
  109. package/dist/navigation/index.js +8 -8
  110. package/dist/navigation/link.d.ts +1 -1
  111. package/dist/navigation/link.d.ts.map +1 -1
  112. package/dist/navigation/link.js +2 -2
  113. package/dist/navigation/location.d.ts +1 -1
  114. package/dist/navigation/location.d.ts.map +1 -1
  115. package/dist/navigation/scope.context.d.ts +5 -5
  116. package/dist/navigation/scope.context.d.ts.map +1 -1
  117. package/dist/navigation/scope.context.js +5 -5
  118. package/dist/navigation/snapshot.d.ts +3 -3
  119. package/dist/navigation/snapshot.d.ts.map +1 -1
  120. package/dist/schema/bind-read.d.ts +2 -2
  121. package/dist/schema/bind-read.d.ts.map +1 -1
  122. package/dist/schema/bind-read.js +5 -5
  123. package/dist/schema/binding.d.ts +1 -1
  124. package/dist/schema/binding.d.ts.map +1 -1
  125. package/dist/schema/binding.js +11 -11
  126. package/dist/schema/domain.hook.js +3 -3
  127. package/dist/schema/function.hook.d.ts +2 -2
  128. package/dist/schema/function.hook.d.ts.map +1 -1
  129. package/dist/schema/function.hook.js +2 -2
  130. package/dist/schema/index.d.ts +9 -9
  131. package/dist/schema/index.d.ts.map +1 -1
  132. package/dist/schema/index.js +6 -6
  133. package/dist/schema/kernel.hook.js +3 -3
  134. package/dist/schema/method.hook.d.ts +1 -1
  135. package/dist/schema/method.hook.d.ts.map +1 -1
  136. package/dist/schema/method.hook.js +4 -4
  137. package/dist/schema/types.d.ts +2 -2
  138. package/dist/schema/types.d.ts.map +1 -1
  139. package/dist/schema/write.d.ts +1 -1
  140. package/dist/schema/write.d.ts.map +1 -1
  141. package/dist/schema/write.js +9 -3
  142. package/dist/selection/index.d.ts +3 -3
  143. package/dist/selection/index.d.ts.map +1 -1
  144. package/dist/selection/index.js +2 -2
  145. package/dist/selection/live.js +1 -1
  146. package/dist/selection/scope.context.d.ts +1 -1
  147. package/dist/selection/scope.context.d.ts.map +1 -1
  148. package/dist/selection/scope.context.js +1 -1
  149. package/dist/selection/selection.hook.d.ts +1 -1
  150. package/dist/selection/selection.hook.d.ts.map +1 -1
  151. package/dist/selection/selection.hook.js +1 -1
  152. package/dist/session/boot/boot.d.ts +1 -1
  153. package/dist/session/boot/boot.d.ts.map +1 -1
  154. package/dist/session/boot/status.d.ts +1 -1
  155. package/dist/session/boot/status.d.ts.map +1 -1
  156. package/dist/session/connection/connection.hook.d.ts +1 -1
  157. package/dist/session/connection/connection.hook.d.ts.map +1 -1
  158. package/dist/session/connection/connection.hook.js +2 -2
  159. package/dist/session/index.d.ts +7 -7
  160. package/dist/session/index.d.ts.map +1 -1
  161. package/dist/session/index.js +5 -5
  162. package/dist/session/kernel-client.hook.js +1 -1
  163. package/dist/session/kernel-instance.hook.js +1 -1
  164. package/dist/session/provider.js +8 -8
  165. package/dist/session/shell.hook.js +1 -1
  166. package/dist/window/adopt.d.ts +2 -2
  167. package/dist/window/adopt.d.ts.map +1 -1
  168. package/dist/window/hooks/close-guard.hook.js +1 -1
  169. package/dist/window/hooks/target-node.hook.d.ts +2 -2
  170. package/dist/window/hooks/target-node.hook.d.ts.map +1 -1
  171. package/dist/window/hooks/target-node.hook.js +2 -2
  172. package/dist/window/hooks/views-for.hook.d.ts +2 -2
  173. package/dist/window/hooks/views-for.hook.d.ts.map +1 -1
  174. package/dist/window/hooks/views-for.hook.js +2 -2
  175. package/dist/window/hooks/window.hook.d.ts +1 -1
  176. package/dist/window/hooks/window.hook.d.ts.map +1 -1
  177. package/dist/window/hooks/window.hook.js +2 -2
  178. package/dist/window/hooks/windows.hook.js +2 -2
  179. package/dist/window/host.d.ts +2 -2
  180. package/dist/window/host.d.ts.map +1 -1
  181. package/dist/window/host.js +4 -4
  182. package/dist/window/hub.d.ts +3 -3
  183. package/dist/window/hub.d.ts.map +1 -1
  184. package/dist/window/hub.js +1 -1
  185. package/dist/window/index.d.ts +14 -14
  186. package/dist/window/index.d.ts.map +1 -1
  187. package/dist/window/index.js +7 -7
  188. package/dist/window/stage.js +3 -3
  189. package/package.json +7 -7
  190. package/src/application/apps/app-host.tsx +6 -6
  191. package/src/application/apps/apps.hook.ts +6 -6
  192. package/src/application/apps/open-app.hook.ts +4 -4
  193. package/src/application/index.ts +16 -16
  194. package/src/application/roles.hook.ts +4 -4
  195. package/src/application/spaces/current-space.hook.ts +4 -4
  196. package/src/application/spaces/space.hook.ts +5 -5
  197. package/src/application/spaces/spaces.hook.ts +7 -7
  198. package/src/application/user/user.hook.ts +2 -2
  199. package/src/auth/act-as.context.tsx +2 -2
  200. package/src/auth/auth.hook.ts +3 -3
  201. package/src/auth/can.hook.ts +3 -3
  202. package/src/auth/index.ts +5 -5
  203. package/src/auth/self.hook.ts +2 -2
  204. package/src/auth/session-kernel.ts +3 -3
  205. package/src/graph/async.ts +1 -1
  206. package/src/graph/call/call.hook.ts +3 -3
  207. package/src/graph/call/stream.hook.ts +1 -1
  208. package/src/graph/index.ts +18 -18
  209. package/src/graph/memory/read/idle.ts +1 -1
  210. package/src/graph/memory/read/read.ts +4 -4
  211. package/src/graph/memory/scope.ts +3 -3
  212. package/src/graph/mutate/move.hook.ts +5 -5
  213. package/src/graph/mutate/mutate.hook.ts +3 -3
  214. package/src/graph/query/children.hook.ts +4 -4
  215. package/src/graph/query/graph.hook.ts +1 -1
  216. package/src/graph/query/neighbors.hook.ts +7 -15
  217. package/src/graph/query/node.hook.ts +4 -4
  218. package/src/graph/query/query.hook.ts +2 -2
  219. package/src/index.ts +25 -25
  220. package/src/intents/index.ts +5 -5
  221. package/src/intents/listen-intent.hook.ts +4 -4
  222. package/src/intents/reply.ts +1 -1
  223. package/src/intents/send-intent.hook.ts +3 -3
  224. package/src/navigation/adapters/adapter.ts +1 -1
  225. package/src/navigation/adapters/memory.adapter.ts +2 -2
  226. package/src/navigation/adapters/url.adapter.ts +2 -2
  227. package/src/navigation/hooks/ancestors.hook.ts +7 -7
  228. package/src/navigation/hooks/location.hook.ts +3 -3
  229. package/src/navigation/hooks/navigate.hook.ts +2 -2
  230. package/src/navigation/hooks/scope.hook.ts +6 -6
  231. package/src/navigation/index.ts +15 -15
  232. package/src/navigation/link.tsx +3 -3
  233. package/src/navigation/location.ts +1 -1
  234. package/src/navigation/scope.context.tsx +9 -9
  235. package/src/navigation/snapshot.ts +3 -3
  236. package/src/schema/bind-read.ts +7 -7
  237. package/src/schema/binding.ts +20 -23
  238. package/src/schema/domain.hook.ts +3 -3
  239. package/src/schema/function.hook.ts +4 -4
  240. package/src/schema/index.ts +15 -9
  241. package/src/schema/kernel.hook.ts +3 -3
  242. package/src/schema/method.hook.ts +11 -11
  243. package/src/schema/types.ts +2 -2
  244. package/src/schema/write.ts +14 -4
  245. package/src/selection/index.ts +3 -3
  246. package/src/selection/live.ts +1 -1
  247. package/src/selection/scope.context.tsx +2 -2
  248. package/src/selection/selection.hook.ts +2 -2
  249. package/src/session/boot/boot.ts +1 -1
  250. package/src/session/boot/status.ts +1 -1
  251. package/src/session/connection/connection.hook.ts +3 -3
  252. package/src/session/index.ts +7 -7
  253. package/src/session/kernel-client.hook.ts +1 -1
  254. package/src/session/kernel-instance.hook.ts +1 -1
  255. package/src/session/provider.tsx +12 -12
  256. package/src/session/shell.hook.ts +1 -1
  257. package/src/window/adopt.ts +2 -2
  258. package/src/window/hooks/close-guard.hook.ts +1 -1
  259. package/src/window/hooks/target-node.hook.ts +4 -4
  260. package/src/window/hooks/views-for.hook.ts +4 -4
  261. package/src/window/hooks/window.hook.ts +3 -3
  262. package/src/window/hooks/windows.hook.ts +2 -2
  263. package/src/window/host.tsx +8 -8
  264. package/src/window/hub.ts +4 -4
  265. package/src/window/index.ts +14 -14
  266. package/src/window/stage.tsx +3 -3
@@ -7,7 +7,7 @@ import type { Shell } from '@astrale-os/shell'
7
7
  */
8
8
  import { useContext } from 'react'
9
9
 
10
- import { ShellContext } from './session.context'
10
+ import { ShellContext } from './session.context.js'
11
11
 
12
12
  /** The live shell for this subtree. Throws outside a `<ShellProvider>`. */
13
13
  export function useShell(): Shell {
@@ -6,8 +6,8 @@
6
6
  */
7
7
  import type { Window } from '@astrale-os/shell'
8
8
 
9
- import type { WindowState } from './lifecycle/states'
10
- import type { StageSlot } from './placement'
9
+ import type { WindowState } from './lifecycle/states.js'
10
+ import type { StageSlot } from './placement.js'
11
11
 
12
12
  export interface AdoptRecord {
13
13
  readonly windowId: string
@@ -9,7 +9,7 @@ import type { Shell } from '@astrale-os/shell'
9
9
  */
10
10
  import { useEffect, useRef } from 'react'
11
11
 
12
- import { useShell } from '../../session/shell.hook'
12
+ import { useShell } from '../../session/shell.hook.js'
13
13
 
14
14
  export type CloseVerdict = 'ack' | 'refuse' | { readonly refuse: string }
15
15
  export type CloseGuard = () => CloseVerdict | Promise<CloseVerdict>
@@ -11,11 +11,11 @@ import type { KernelClient } from '@astrale-os/shell'
11
11
  */
12
12
  import { useCallback, useEffect, useRef, useState } from 'react'
13
13
 
14
- import type { ReadState } from '../../graph/memory/read/envelope'
15
- import type { Node } from '../lifecycle/mount'
14
+ import type { ReadState } from '../../graph/memory/read/envelope.js'
15
+ import type { Node } from '../lifecycle/mount.js'
16
16
 
17
- import { idleReadState } from '../../graph/memory/read/idle'
18
- import { useShell } from '../../session/shell.hook'
17
+ import { idleReadState } from '../../graph/memory/read/idle.js'
18
+ import { useShell } from '../../session/shell.hook.js'
19
19
 
20
20
  export interface NodeResult extends ReadState {
21
21
  readonly node: Node | null
@@ -9,11 +9,11 @@ import { K } from '@astrale-os/kernel-core'
9
9
  */
10
10
  import { useMemo } from 'react'
11
11
 
12
- import type { ReadState } from '../../graph/memory/read/envelope'
13
- import type { Node, ViewDescriptor } from '../lifecycle/mount'
12
+ import type { ReadState } from '../../graph/memory/read/envelope.js'
13
+ import type { Node, ViewDescriptor } from '../lifecycle/mount.js'
14
14
 
15
- import { useAsyncResource } from '../../graph/async'
16
- import { useKernelClient } from '../../session/kernel-client.hook'
15
+ import { useAsyncResource } from '../../graph/async.js'
16
+ import { useKernelClient } from '../../session/kernel-client.hook.js'
17
17
 
18
18
  export interface ViewsForResult extends ReadState {
19
19
  readonly views: readonly ViewDescriptor[]
@@ -4,10 +4,10 @@
4
4
  */
5
5
  import { useMemo, useSyncExternalStore } from 'react'
6
6
 
7
- import type { WindowView } from '../hub'
7
+ import type { WindowView } from '../hub.js'
8
8
 
9
- import { useShell } from '../../session/shell.hook'
10
- import { getStageHub } from '../hub'
9
+ import { useShell } from '../../session/shell.hook.js'
10
+ import { getStageHub } from '../hub.js'
11
11
 
12
12
  /** One window's live phase + shell `Window` (null id / unknown id → no window). */
13
13
  export function useWindow(windowId: string | null): WindowView {
@@ -9,8 +9,8 @@ import type { Window } from '@astrale-os/shell'
9
9
  */
10
10
  import { useMemo, useSyncExternalStore } from 'react'
11
11
 
12
- import { useShell } from '../../session/shell.hook'
13
- import { getStageHub } from '../hub'
12
+ import { useShell } from '../../session/shell.hook.js'
13
+ import { getStageHub } from '../hub.js'
14
14
 
15
15
  /** Every host-mounted window in this shell's tree, keyed by windowId. Reactive. */
16
16
  export function useWindows(): ReadonlyMap<string, Window> {
@@ -27,21 +27,21 @@ import {
27
27
  useState,
28
28
  } from 'react'
29
29
 
30
- import type { AdoptRecord } from './adopt'
31
- import type { ViewSource } from './lifecycle/mount'
32
- import type { WindowState } from './lifecycle/states'
33
- import type { SlotRect, StageController, StageSlot } from './placement'
30
+ import type { AdoptRecord } from './adopt.js'
31
+ import type { ViewSource } from './lifecycle/mount.js'
32
+ import type { WindowState } from './lifecycle/states.js'
33
+ import type { SlotRect, StageController, StageSlot } from './placement.js'
34
34
 
35
- import { useShell } from '../session/shell.hook'
36
- import { getStageHub } from './hub'
35
+ import { useShell } from '../session/shell.hook.js'
36
+ import { getStageHub } from './hub.js'
37
37
  import {
38
38
  isFallbackableHandshakeError,
39
39
  refToId,
40
40
  resolveSource,
41
41
  sendSetTarget,
42
42
  sourceKey,
43
- } from './lifecycle/mount'
44
- import { rectOf, sameRect } from './placement'
43
+ } from './lifecycle/mount.js'
44
+ import { rectOf, sameRect } from './placement.js'
45
45
 
46
46
  /** Imperative handle on a mounted `ViewHost` (API §10). */
47
47
  export interface ViewHostHandle {
package/src/window/hub.ts CHANGED
@@ -7,11 +7,11 @@
7
7
  */
8
8
  import type { Shell, Window } from '@astrale-os/shell'
9
9
 
10
- import type { AdoptRecord } from './adopt'
11
- import type { WindowState } from './lifecycle/states'
12
- import type { StageController } from './placement'
10
+ import type { AdoptRecord } from './adopt.js'
11
+ import type { WindowState } from './lifecycle/states.js'
12
+ import type { StageController } from './placement.js'
13
13
 
14
- import { createAdoptStash } from './adopt'
14
+ import { createAdoptStash } from './adopt.js'
15
15
 
16
16
  // ── Window registry (reactive store behind useWindows/useWindow) ─────────────
17
17
 
@@ -1,17 +1,17 @@
1
1
  // window — API §10. ViewStage/ViewHost (the physical iframe-slot layer + a host
2
2
  // that projects placement into a slot), the reactive window hooks, the child-side
3
3
  // target-node + close-guard, and the (G5) view-resolution hook.
4
- export { ViewStage } from './stage'
5
- export { ViewHost } from './host'
6
- export type { ViewHostProps, ViewHostHandle } from './host'
7
- export { useWindows, useWindowList } from './hooks/windows.hook'
8
- export type { WindowListEntry } from './hooks/windows.hook'
9
- export { useWindow } from './hooks/window.hook'
10
- export type { WindowView } from './hub'
11
- export { useViewsFor } from './hooks/views-for.hook'
12
- export type { ViewsForResult } from './hooks/views-for.hook'
13
- export { useTargetNode } from './hooks/target-node.hook'
14
- export { useCloseGuard } from './hooks/close-guard.hook'
15
- export type { CloseGuard, CloseVerdict } from './hooks/close-guard.hook'
16
- export type { ViewDescriptor, ViewSource, Node } from './lifecycle/mount'
17
- export type { WindowState } from './lifecycle/states'
4
+ export { ViewStage } from './stage.js'
5
+ export { ViewHost } from './host.js'
6
+ export type { ViewHostProps, ViewHostHandle } from './host.js'
7
+ export { useWindows, useWindowList } from './hooks/windows.hook.js'
8
+ export type { WindowListEntry } from './hooks/windows.hook.js'
9
+ export { useWindow } from './hooks/window.hook.js'
10
+ export type { WindowView } from './hub.js'
11
+ export { useViewsFor } from './hooks/views-for.hook.js'
12
+ export type { ViewsForResult } from './hooks/views-for.hook.js'
13
+ export { useTargetNode } from './hooks/target-node.hook.js'
14
+ export { useCloseGuard } from './hooks/close-guard.hook.js'
15
+ export type { CloseGuard, CloseVerdict } from './hooks/close-guard.hook.js'
16
+ export type { ViewDescriptor, ViewSource, Node } from './lifecycle/mount.js'
17
+ export type { WindowState } from './lifecycle/states.js'
@@ -9,9 +9,9 @@ import type { CSSProperties, ReactElement } from 'react'
9
9
  */
10
10
  import { useEffect, useMemo, useRef } from 'react'
11
11
 
12
- import { useShell } from '../session/shell.hook'
13
- import { getStageHub } from './hub'
14
- import { createStageController } from './placement'
12
+ import { useShell } from '../session/shell.hook.js'
13
+ import { getStageHub } from './hub.js'
14
+ import { createStageController } from './placement.js'
15
15
 
16
16
  /**
17
17
  * A full-viewport overlay that does not intercept pointer events — individual