@xmachines/docs 1.0.0-beta.33 → 1.0.0-beta.34

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 (366) hide show
  1. package/api/@xmachines/play/classes/NonNullableError.md +4 -4
  2. package/api/@xmachines/play/classes/PlayError.md +4 -4
  3. package/api/@xmachines/play/functions/assertNonNullable.md +1 -1
  4. package/api/@xmachines/play/type-aliases/PlayEvent.md +2 -2
  5. package/api/@xmachines/play-actor/README.md +9 -10
  6. package/api/@xmachines/play-actor/classes/AbstractActor.md +3 -3
  7. package/api/@xmachines/play-actor/functions/typedSpec.md +7 -10
  8. package/api/@xmachines/play-actor/interfaces/BaseActorProviderProps.md +46 -0
  9. package/api/@xmachines/play-actor/interfaces/BaseViewContextValue.md +33 -0
  10. package/api/@xmachines/play-actor/interfaces/PlaySpec.md +2 -2
  11. package/api/@xmachines/play-actor/interfaces/Routable.md +3 -3
  12. package/api/@xmachines/play-actor/interfaces/Viewable.md +4 -4
  13. package/api/@xmachines/play-dom/README.md +98 -15
  14. package/api/@xmachines/play-dom/classes/PlayRenderer.md +4 -4
  15. package/api/@xmachines/play-dom/functions/connectRenderer.md +1 -1
  16. package/api/@xmachines/play-dom/functions/createPlayUI.md +28 -0
  17. package/api/@xmachines/play-dom/functions/createRenderer.md +1 -1
  18. package/api/@xmachines/play-dom/functions/defineRegistry.md +1 -1
  19. package/api/@xmachines/play-dom/functions/renderSpec.md +1 -1
  20. package/api/@xmachines/play-dom/interfaces/ComponentContext.md +9 -9
  21. package/api/@xmachines/play-dom/interfaces/ConnectRendererOptions.md +19 -11
  22. package/api/@xmachines/play-dom/interfaces/CreatePlayUIOptions.md +29 -0
  23. package/api/@xmachines/play-dom/interfaces/DefineRegistryResult.md +6 -6
  24. package/api/@xmachines/play-dom/interfaces/DomRenderContext.md +14 -14
  25. package/api/@xmachines/play-dom/interfaces/EventHandle.md +6 -6
  26. package/api/@xmachines/play-dom/interfaces/MountOptions.md +14 -0
  27. package/api/@xmachines/play-dom/interfaces/PlayDomOptions.md +7 -7
  28. package/api/@xmachines/play-dom/interfaces/UIProviderOptions.md +27 -0
  29. package/api/@xmachines/play-dom/type-aliases/ActionFn.md +1 -1
  30. package/api/@xmachines/play-dom/type-aliases/Actions.md +1 -1
  31. package/api/@xmachines/play-dom/type-aliases/BaseComponentProps.md +7 -7
  32. package/api/@xmachines/play-dom/type-aliases/CatalogHasActions.md +1 -1
  33. package/api/@xmachines/play-dom/type-aliases/ComponentFn.md +1 -1
  34. package/api/@xmachines/play-dom/type-aliases/ComponentRegistry.md +1 -1
  35. package/api/@xmachines/play-dom/type-aliases/DefineRegistryOptions.md +4 -4
  36. package/api/@xmachines/play-dom/type-aliases/DomComponentRenderer.md +1 -1
  37. package/api/@xmachines/play-dom/type-aliases/DomRegistry.md +1 -1
  38. package/api/@xmachines/play-dom/type-aliases/DomSchema.md +1 -1
  39. package/api/@xmachines/play-dom/type-aliases/MountFn.md +25 -0
  40. package/api/@xmachines/play-dom/type-aliases/RenderErrorHandler.md +23 -0
  41. package/api/@xmachines/play-dom/type-aliases/SetState.md +1 -1
  42. package/api/@xmachines/play-dom/variables/schema.md +1 -1
  43. package/api/@xmachines/play-dom-router/functions/connectRouter.md +1 -1
  44. package/api/@xmachines/play-dom-router/functions/createBrowserHistory.md +1 -1
  45. package/api/@xmachines/play-dom-router/functions/createRouteMap.md +1 -1
  46. package/api/@xmachines/play-dom-router/functions/createRouter.md +1 -1
  47. package/api/@xmachines/play-dom-router/interfaces/BrowserHistory.md +14 -14
  48. package/api/@xmachines/play-dom-router/interfaces/BrowserWindow.md +14 -14
  49. package/api/@xmachines/play-dom-router/interfaces/ConnectRouterOptions.md +4 -4
  50. package/api/@xmachines/play-dom-router/interfaces/PlayRouteEvent.md +6 -6
  51. package/api/@xmachines/play-dom-router/interfaces/RouteMap.md +3 -3
  52. package/api/@xmachines/play-dom-router/interfaces/RouteMapLike.md +3 -3
  53. package/api/@xmachines/play-dom-router/interfaces/RouteMapping.md +3 -3
  54. package/api/@xmachines/play-dom-router/interfaces/RouterBridge.md +3 -3
  55. package/api/@xmachines/play-dom-router/interfaces/VanillaRouter.md +4 -4
  56. package/api/@xmachines/play-dom-router/type-aliases/RoutableActor.md +1 -1
  57. package/api/@xmachines/play-react/README.md +165 -48
  58. package/api/@xmachines/play-react/classes/PlayErrorBoundary.md +5 -5
  59. package/api/@xmachines/play-react/functions/ActionProvider.md +21 -0
  60. package/api/@xmachines/play-react/functions/JSONUIProvider.md +21 -0
  61. package/api/@xmachines/play-react/functions/Renderer.md +21 -0
  62. package/api/@xmachines/play-react/functions/StateProvider.md +27 -0
  63. package/api/@xmachines/play-react/functions/ValidationProvider.md +21 -0
  64. package/api/@xmachines/play-react/functions/VisibilityProvider.md +21 -0
  65. package/api/@xmachines/play-react/functions/useActor.md +1 -1
  66. package/api/@xmachines/play-react/functions/usePlayView.md +32 -0
  67. package/api/@xmachines/play-react/functions/useSignalEffect.md +1 -1
  68. package/api/@xmachines/play-react/interfaces/ActionProviderProps.md +15 -0
  69. package/api/@xmachines/play-react/interfaces/ActorProviderProps.md +27 -0
  70. package/api/@xmachines/play-react/interfaces/JSONUIProviderProps.md +21 -0
  71. package/api/@xmachines/play-react/interfaces/PlayErrorBoundaryProps.md +4 -4
  72. package/api/@xmachines/play-react/interfaces/PlayErrorBoundaryState.md +3 -3
  73. package/api/@xmachines/play-react/interfaces/PlayUIProviderProps.md +26 -0
  74. package/api/@xmachines/play-react/interfaces/RendererProps.md +17 -0
  75. package/api/@xmachines/play-react/interfaces/StateProviderProps.md +16 -0
  76. package/api/@xmachines/play-react/interfaces/ValidationProviderProps.md +14 -0
  77. package/api/@xmachines/play-react/interfaces/ViewContextValue.md +20 -0
  78. package/api/@xmachines/play-react/interfaces/VisibilityProviderProps.md +13 -0
  79. package/api/@xmachines/play-react/type-aliases/PlayActor.md +1 -1
  80. package/api/@xmachines/play-react/type-aliases/RenderErrorHandler.md +3 -2
  81. package/api/@xmachines/play-react/variables/ActorProvider.md +33 -0
  82. package/api/@xmachines/play-react/variables/PlayRenderer.md +5 -50
  83. package/api/@xmachines/play-react/variables/PlayUIProvider.md +43 -0
  84. package/api/@xmachines/play-react-router/classes/ReactRouterBridge.md +23 -23
  85. package/api/@xmachines/play-react-router/classes/RouteMap.md +4 -4
  86. package/api/@xmachines/play-react-router/functions/PlayRouterProvider.md +1 -1
  87. package/api/@xmachines/play-react-router/functions/createRouteMapFromTree.md +1 -1
  88. package/api/@xmachines/play-react-router/interfaces/PlayRouteEvent.md +6 -6
  89. package/api/@xmachines/play-react-router/interfaces/PlayRouterProviderProps.md +5 -5
  90. package/api/@xmachines/play-react-router/interfaces/RouteMapping.md +3 -3
  91. package/api/@xmachines/play-react-router/interfaces/RouterBridge.md +3 -3
  92. package/api/@xmachines/play-router/classes/BaseRouteMap.md +4 -4
  93. package/api/@xmachines/play-router/classes/RouterBridgeBase.md +23 -23
  94. package/api/@xmachines/play-router/functions/buildPlayRouteEvent.md +1 -1
  95. package/api/@xmachines/play-router/functions/buildRouteTree.md +1 -1
  96. package/api/@xmachines/play-router/functions/createRouteMap.md +1 -1
  97. package/api/@xmachines/play-router/functions/createRouteMapFromMachine.md +1 -1
  98. package/api/@xmachines/play-router/functions/createRouteMapFromTree.md +1 -1
  99. package/api/@xmachines/play-router/functions/detectDuplicateRoutes.md +1 -1
  100. package/api/@xmachines/play-router/functions/extractMachineRoutes.md +1 -1
  101. package/api/@xmachines/play-router/functions/extractQuery.md +1 -1
  102. package/api/@xmachines/play-router/functions/extractRouteParams.md +1 -1
  103. package/api/@xmachines/play-router/functions/findRouteById.md +1 -1
  104. package/api/@xmachines/play-router/functions/findRouteByPath.md +1 -1
  105. package/api/@xmachines/play-router/functions/getNavigableRoutes.md +1 -1
  106. package/api/@xmachines/play-router/functions/getRoutableRoutes.md +1 -1
  107. package/api/@xmachines/play-router/functions/getTransitionReachableRoutes.md +1 -1
  108. package/api/@xmachines/play-router/functions/isRouteReachable.md +1 -1
  109. package/api/@xmachines/play-router/functions/machineToGraph.md +1 -1
  110. package/api/@xmachines/play-router/functions/routeExists.md +1 -1
  111. package/api/@xmachines/play-router/functions/sanitizePathname.md +1 -1
  112. package/api/@xmachines/play-router/functions/validateRouteFormat.md +1 -1
  113. package/api/@xmachines/play-router/functions/validateStateExists.md +1 -1
  114. package/api/@xmachines/play-router/interfaces/BuildPlayRouteEventOptions.md +4 -4
  115. package/api/@xmachines/play-router/interfaces/LocationLike.md +3 -3
  116. package/api/@xmachines/play-router/interfaces/MachineEdgeData.md +3 -3
  117. package/api/@xmachines/play-router/interfaces/MachineNodeData.md +5 -5
  118. package/api/@xmachines/play-router/interfaces/PlayRouteEvent.md +6 -6
  119. package/api/@xmachines/play-router/interfaces/RouteInfo.md +8 -8
  120. package/api/@xmachines/play-router/interfaces/RouteMap.md +4 -4
  121. package/api/@xmachines/play-router/interfaces/RouteMapping.md +3 -3
  122. package/api/@xmachines/play-router/interfaces/RouteMatch.md +3 -3
  123. package/api/@xmachines/play-router/interfaces/RouteNode.md +10 -10
  124. package/api/@xmachines/play-router/interfaces/RouteObject.md +2 -2
  125. package/api/@xmachines/play-router/interfaces/RouteTree.md +5 -5
  126. package/api/@xmachines/play-router/interfaces/RouteWatcherHandle.md +3 -3
  127. package/api/@xmachines/play-router/interfaces/RouterBridge.md +3 -3
  128. package/api/@xmachines/play-router/interfaces/WindowLike.md +3 -3
  129. package/api/@xmachines/play-router/type-aliases/MachineGraph.md +1 -1
  130. package/api/@xmachines/play-router/type-aliases/RouteMetadata.md +1 -1
  131. package/api/@xmachines/play-signals/functions/watchSignal.md +1 -1
  132. package/api/@xmachines/play-signals/interfaces/ComputedOptions.md +2 -2
  133. package/api/@xmachines/play-signals/interfaces/SignalComputed.md +2 -2
  134. package/api/@xmachines/play-signals/interfaces/SignalOptions.md +2 -2
  135. package/api/@xmachines/play-signals/interfaces/SignalState.md +3 -3
  136. package/api/@xmachines/play-signals/interfaces/SignalWatcher.md +4 -4
  137. package/api/@xmachines/play-signals/type-aliases/WatcherNotify.md +1 -1
  138. package/api/@xmachines/play-solid/README.md +158 -42
  139. package/api/@xmachines/play-solid/functions/ActionProvider.md +19 -0
  140. package/api/@xmachines/play-solid/functions/JSONUIProvider.md +21 -0
  141. package/api/@xmachines/play-solid/functions/Renderer.md +21 -0
  142. package/api/@xmachines/play-solid/functions/StateProvider.md +19 -0
  143. package/api/@xmachines/play-solid/functions/ValidationProvider.md +19 -0
  144. package/api/@xmachines/play-solid/functions/VisibilityProvider.md +20 -0
  145. package/api/@xmachines/play-solid/functions/defineRegistry.md +1 -1
  146. package/api/@xmachines/play-solid/functions/useAction.md +24 -0
  147. package/api/@xmachines/play-solid/functions/useActions.md +13 -0
  148. package/api/@xmachines/play-solid/functions/useActor.md +1 -1
  149. package/api/@xmachines/play-solid/functions/useFieldValidation.md +29 -0
  150. package/api/@xmachines/play-solid/functions/useIsVisible.md +19 -0
  151. package/api/@xmachines/play-solid/functions/useOptionalValidation.md +13 -0
  152. package/api/@xmachines/play-solid/functions/usePlayView.md +30 -0
  153. package/api/@xmachines/play-solid/functions/useStateBinding.md +25 -0
  154. package/api/@xmachines/play-solid/functions/useStateStore.md +13 -0
  155. package/api/@xmachines/play-solid/functions/useStateValue.md +25 -0
  156. package/api/@xmachines/play-solid/functions/useVisibility.md +13 -0
  157. package/api/@xmachines/play-solid/interfaces/ActionProviderProps.md +12 -0
  158. package/api/@xmachines/play-solid/interfaces/ActorProviderProps.md +30 -0
  159. package/api/@xmachines/play-solid/interfaces/DefineRegistryResult.md +15 -0
  160. package/api/@xmachines/play-solid/interfaces/JSONUIProviderProps.md +21 -0
  161. package/api/@xmachines/play-solid/interfaces/PlayUIProviderProps.md +26 -0
  162. package/api/@xmachines/play-solid/interfaces/RendererProps.md +17 -0
  163. package/api/@xmachines/play-solid/interfaces/StateProviderProps.md +13 -0
  164. package/api/@xmachines/play-solid/interfaces/ValidationProviderProps.md +11 -0
  165. package/api/@xmachines/play-solid/interfaces/ViewContextValue.md +21 -0
  166. package/api/@xmachines/play-solid/type-aliases/ComponentRegistry.md +17 -0
  167. package/api/@xmachines/play-solid/type-aliases/PlayActor.md +1 -1
  168. package/api/@xmachines/play-solid/type-aliases/RenderErrorHandler.md +3 -2
  169. package/api/@xmachines/play-solid/type-aliases/SetState.md +21 -0
  170. package/api/@xmachines/play-solid/type-aliases/VisibilityProviderProps.md +9 -0
  171. package/api/@xmachines/play-solid/variables/ActorContext.md +13 -0
  172. package/api/@xmachines/play-solid/variables/ActorProvider.md +27 -0
  173. package/api/@xmachines/play-solid/variables/PlayRenderer.md +5 -18
  174. package/api/@xmachines/play-solid/variables/PlayUIProvider.md +26 -0
  175. package/api/@xmachines/play-solid-router/classes/RouteMap.md +4 -4
  176. package/api/@xmachines/play-solid-router/classes/SolidRouterBridge.md +24 -24
  177. package/api/@xmachines/play-solid-router/functions/PlayRouterProvider.md +1 -1
  178. package/api/@xmachines/play-solid-router/functions/createRouteMap.md +1 -1
  179. package/api/@xmachines/play-solid-router/interfaces/AbstractActor.md +3 -3
  180. package/api/@xmachines/play-solid-router/interfaces/PlayRouteEvent.md +6 -6
  181. package/api/@xmachines/play-solid-router/interfaces/PlayRouterProviderProps.md +5 -5
  182. package/api/@xmachines/play-solid-router/interfaces/RouteMapping.md +3 -3
  183. package/api/@xmachines/play-solid-router/interfaces/RouterBridge.md +3 -3
  184. package/api/@xmachines/play-solid-router/type-aliases/RoutableActor.md +1 -1
  185. package/api/@xmachines/play-solid-router/type-aliases/SolidRouterHooks.md +4 -4
  186. package/api/@xmachines/play-svelte/README.md +105 -25
  187. package/api/@xmachines/play-svelte/functions/defineRegistry.md +1 -1
  188. package/api/@xmachines/play-svelte/functions/getActorContext.md +21 -0
  189. package/api/@xmachines/play-svelte/functions/getPlayViewContext.md +19 -0
  190. package/api/@xmachines/play-svelte/functions/setActorContext.md +19 -0
  191. package/api/@xmachines/play-svelte/interfaces/ActorProviderProps.md +40 -0
  192. package/api/@xmachines/play-svelte/interfaces/DefineRegistryOptions.md +6 -6
  193. package/api/@xmachines/play-svelte/interfaces/ViewContextValue.md +24 -0
  194. package/api/@xmachines/play-svelte/type-aliases/PlayActor.md +9 -0
  195. package/api/@xmachines/play-svelte/type-aliases/RenderErrorHandler.md +1 -17
  196. package/api/@xmachines/play-svelte-spa-router/classes/RouteMap.md +4 -4
  197. package/api/@xmachines/play-svelte-spa-router/functions/connectRouter.md +1 -1
  198. package/api/@xmachines/play-svelte-spa-router/functions/createRouteMap.md +1 -1
  199. package/api/@xmachines/play-svelte-spa-router/interfaces/ConnectRouterOptions.md +4 -4
  200. package/api/@xmachines/play-svelte-spa-router/interfaces/PlayRouteEvent.md +6 -6
  201. package/api/@xmachines/play-svelte-spa-router/interfaces/RouteMapping.md +3 -3
  202. package/api/@xmachines/play-svelte-spa-router/interfaces/RouterBridge.md +3 -3
  203. package/api/@xmachines/play-svelte-spa-router/interfaces/WindowLike.md +3 -3
  204. package/api/@xmachines/play-svelte-spa-router/type-aliases/RoutableActor.md +1 -1
  205. package/api/@xmachines/play-sveltekit-router/classes/RouteMap.md +4 -4
  206. package/api/@xmachines/play-sveltekit-router/functions/connectRouter.md +1 -1
  207. package/api/@xmachines/play-sveltekit-router/functions/createRouteMap.md +1 -1
  208. package/api/@xmachines/play-sveltekit-router/interfaces/ConnectRouterOptions.md +4 -4
  209. package/api/@xmachines/play-sveltekit-router/interfaces/LocationLike.md +3 -3
  210. package/api/@xmachines/play-sveltekit-router/interfaces/PlayRouteEvent.md +6 -6
  211. package/api/@xmachines/play-sveltekit-router/interfaces/RouteMapping.md +3 -3
  212. package/api/@xmachines/play-sveltekit-router/interfaces/RouterBridge.md +3 -3
  213. package/api/@xmachines/play-sveltekit-router/type-aliases/RoutableActor.md +1 -1
  214. package/api/@xmachines/play-tanstack-react-router/classes/RouteMap.md +4 -4
  215. package/api/@xmachines/play-tanstack-react-router/classes/TanStackReactRouterBridge.md +23 -23
  216. package/api/@xmachines/play-tanstack-react-router/functions/PlayRouterProvider.md +1 -1
  217. package/api/@xmachines/play-tanstack-react-router/functions/createRouteMap.md +1 -1
  218. package/api/@xmachines/play-tanstack-react-router/functions/createRouteMapFromTree.md +1 -1
  219. package/api/@xmachines/play-tanstack-react-router/functions/extractMachineRoutes.md +1 -1
  220. package/api/@xmachines/play-tanstack-react-router/interfaces/PlayRouteEvent.md +6 -6
  221. package/api/@xmachines/play-tanstack-react-router/interfaces/PlayRouterProviderProps.md +5 -5
  222. package/api/@xmachines/play-tanstack-react-router/interfaces/RouteMapping.md +3 -3
  223. package/api/@xmachines/play-tanstack-react-router/interfaces/RouteNavigateEvent.md +3 -3
  224. package/api/@xmachines/play-tanstack-react-router/interfaces/RouterBridge.md +3 -3
  225. package/api/@xmachines/play-tanstack-react-router/type-aliases/TanStackRouterInstance.md +1 -1
  226. package/api/@xmachines/play-tanstack-react-router/type-aliases/TanStackRouterLike.md +4 -4
  227. package/api/@xmachines/play-tanstack-solid-router/classes/RouteMap.md +4 -4
  228. package/api/@xmachines/play-tanstack-solid-router/classes/SolidRouterBridge.md +24 -24
  229. package/api/@xmachines/play-tanstack-solid-router/functions/PlayRouterProvider.md +1 -1
  230. package/api/@xmachines/play-tanstack-solid-router/functions/createRouteMap.md +1 -1
  231. package/api/@xmachines/play-tanstack-solid-router/interfaces/PlayRouteEvent.md +6 -6
  232. package/api/@xmachines/play-tanstack-solid-router/interfaces/PlayRouterProviderProps.md +5 -5
  233. package/api/@xmachines/play-tanstack-solid-router/interfaces/RouteMapping.md +3 -3
  234. package/api/@xmachines/play-tanstack-solid-router/interfaces/RouterBridge.md +3 -3
  235. package/api/@xmachines/play-tanstack-solid-router/type-aliases/RoutableActor.md +1 -1
  236. package/api/@xmachines/play-tanstack-solid-router/type-aliases/TanStackRouterInstance.md +1 -1
  237. package/api/@xmachines/play-tanstack-solid-router/type-aliases/TanStackRouterLike.md +3 -3
  238. package/api/@xmachines/play-vue/README.md +136 -40
  239. package/api/@xmachines/play-vue/functions/defineRegistry.md +2 -2
  240. package/api/@xmachines/play-vue/functions/getPlayViewContext.md +28 -0
  241. package/api/@xmachines/play-vue/functions/useActor.md +1 -1
  242. package/api/@xmachines/play-vue/interfaces/ActionProviderProps.md +12 -0
  243. package/api/@xmachines/play-vue/interfaces/ActorProviderProps.md +25 -0
  244. package/api/@xmachines/play-vue/interfaces/DefineRegistryResult.md +15 -0
  245. package/api/@xmachines/play-vue/interfaces/JSONUIProviderProps.md +20 -0
  246. package/api/@xmachines/play-vue/interfaces/PlayUIProviderProps.md +24 -0
  247. package/api/@xmachines/play-vue/interfaces/RendererProps.md +17 -0
  248. package/api/@xmachines/play-vue/interfaces/StateProviderProps.md +15 -0
  249. package/api/@xmachines/play-vue/interfaces/ValidationProviderProps.md +11 -0
  250. package/api/@xmachines/play-vue/interfaces/ViewContextValue.md +21 -0
  251. package/api/@xmachines/play-vue/type-aliases/ComponentEntry.md +1 -1
  252. package/api/@xmachines/play-vue/type-aliases/ComponentsMap.md +1 -1
  253. package/api/@xmachines/play-vue/type-aliases/DefineRegistryOptions.md +2 -2
  254. package/api/@xmachines/play-vue/type-aliases/PlayActor.md +1 -1
  255. package/api/@xmachines/play-vue/type-aliases/RenderErrorHandler.md +3 -2
  256. package/api/@xmachines/play-vue/variables/ActionProvider.md +64 -0
  257. package/api/@xmachines/play-vue/variables/JSONUIProvider.md +96 -0
  258. package/api/@xmachines/play-vue/variables/PlayRenderer.md +1 -1
  259. package/api/@xmachines/play-vue/variables/Renderer.md +79 -0
  260. package/api/@xmachines/play-vue/variables/StateProvider.md +79 -0
  261. package/api/@xmachines/play-vue/variables/ValidationProvider.md +55 -0
  262. package/api/@xmachines/play-vue/variables/VisibilityProvider.md +40 -0
  263. package/api/@xmachines/play-vue-router/classes/RouteMap.md +4 -4
  264. package/api/@xmachines/play-vue-router/classes/VueBaseRouteMap.md +4 -4
  265. package/api/@xmachines/play-vue-router/classes/VueRouterBridge.md +24 -24
  266. package/api/@xmachines/play-vue-router/functions/createRouteMap.md +1 -1
  267. package/api/@xmachines/play-vue-router/interfaces/PlayRouteEvent.md +6 -6
  268. package/api/@xmachines/play-vue-router/interfaces/RouteMapping.md +3 -3
  269. package/api/@xmachines/play-vue-router/interfaces/RouterBridge.md +3 -3
  270. package/api/@xmachines/play-vue-router/type-aliases/RoutableActor.md +1 -1
  271. package/api/@xmachines/play-vue-router/variables/PlayRouterProvider.md +1 -1
  272. package/api/@xmachines/play-xstate/classes/PlayerActor.md +24 -24
  273. package/api/@xmachines/play-xstate/functions/buildRouteUrl.md +1 -1
  274. package/api/@xmachines/play-xstate/functions/composeGuards.md +1 -1
  275. package/api/@xmachines/play-xstate/functions/composeGuardsOr.md +1 -1
  276. package/api/@xmachines/play-xstate/functions/contextFieldMatches.md +1 -1
  277. package/api/@xmachines/play-xstate/functions/definePlayer.md +1 -1
  278. package/api/@xmachines/play-xstate/functions/deriveRoute.md +1 -1
  279. package/api/@xmachines/play-xstate/functions/eventMatches.md +1 -1
  280. package/api/@xmachines/play-xstate/functions/formatPlayRouteTransitions.md +1 -1
  281. package/api/@xmachines/play-xstate/functions/hasContext.md +1 -1
  282. package/api/@xmachines/play-xstate/functions/isAbsoluteRoute.md +1 -1
  283. package/api/@xmachines/play-xstate/functions/negateGuard.md +1 -1
  284. package/api/@xmachines/play-xstate/interfaces/PlayerConfig.md +3 -3
  285. package/api/@xmachines/play-xstate/interfaces/PlayerFactoryResumeOptions.md +2 -2
  286. package/api/@xmachines/play-xstate/interfaces/PlayerOptions.md +6 -6
  287. package/api/@xmachines/play-xstate/interfaces/RouteContext.md +5 -5
  288. package/api/@xmachines/play-xstate/type-aliases/ComposedGuard.md +1 -1
  289. package/api/@xmachines/play-xstate/type-aliases/Guard.md +1 -1
  290. package/api/@xmachines/play-xstate/type-aliases/GuardArray.md +1 -1
  291. package/api/@xmachines/play-xstate/type-aliases/PlayerFactory.md +1 -1
  292. package/api/@xmachines/play-xstate/type-aliases/RouteMachineConfig.md +4 -4
  293. package/api/@xmachines/play-xstate/type-aliases/RouteStateNode.md +4 -4
  294. package/api/@xmachines/shared/functions/defineXmVitestConfig.md +1 -1
  295. package/api/@xmachines/shared/functions/xmAliases.md +1 -1
  296. package/api/_media/README.md +98 -15
  297. package/examples/@xmachines/play-dom-demo/README.md +42 -22
  298. package/examples/@xmachines/play-dom-demo/functions/createNavBar.md +1 -1
  299. package/examples/@xmachines/play-dom-demo/functions/initShell.md +1 -1
  300. package/examples/@xmachines/play-dom-demo/type-aliases/AuthCatalog.md +1 -1
  301. package/examples/@xmachines/play-dom-demo/variables/About.md +1 -1
  302. package/examples/@xmachines/play-dom-demo/variables/Contact.md +1 -1
  303. package/examples/@xmachines/play-dom-demo/variables/Dashboard.md +1 -1
  304. package/examples/@xmachines/play-dom-demo/variables/Home.md +1 -1
  305. package/examples/@xmachines/play-dom-demo/variables/Login.md +1 -1
  306. package/examples/@xmachines/play-dom-demo/variables/NavBarView.md +1 -1
  307. package/examples/@xmachines/play-dom-demo/variables/Navigation.md +1 -1
  308. package/examples/@xmachines/play-dom-demo/variables/Overview.md +1 -1
  309. package/examples/@xmachines/play-dom-demo/variables/Profile.md +1 -1
  310. package/examples/@xmachines/play-dom-demo/variables/Settings.md +1 -1
  311. package/examples/@xmachines/play-dom-demo/variables/Stats.md +1 -1
  312. package/examples/@xmachines/play-dom-demo/variables/authCatalog.md +1 -1
  313. package/examples/@xmachines/play-react-demo/README.md +53 -46
  314. package/examples/@xmachines/play-react-demo/functions/App.md +1 -1
  315. package/examples/@xmachines/play-react-demo/type-aliases/AuthCatalog.md +1 -1
  316. package/examples/@xmachines/play-react-demo/variables/About.md +1 -1
  317. package/examples/@xmachines/play-react-demo/variables/Contact.md +1 -1
  318. package/examples/@xmachines/play-react-demo/variables/Dashboard.md +1 -1
  319. package/examples/@xmachines/play-react-demo/variables/DebugPanel.md +1 -1
  320. package/examples/@xmachines/play-react-demo/variables/Home.md +1 -1
  321. package/examples/@xmachines/play-react-demo/variables/Login.md +1 -1
  322. package/examples/@xmachines/play-react-demo/variables/NavBar.md +1 -1
  323. package/examples/@xmachines/play-react-demo/variables/NavBarView.md +1 -1
  324. package/examples/@xmachines/play-react-demo/variables/Navigation.md +1 -1
  325. package/examples/@xmachines/play-react-demo/variables/Overview.md +1 -1
  326. package/examples/@xmachines/play-react-demo/variables/Profile.md +1 -1
  327. package/examples/@xmachines/play-react-demo/variables/Settings.md +1 -1
  328. package/examples/@xmachines/play-react-demo/variables/Shell.md +1 -1
  329. package/examples/@xmachines/play-react-demo/variables/Stats.md +1 -1
  330. package/examples/@xmachines/play-react-demo/variables/authCatalog.md +1 -1
  331. package/examples/@xmachines/play-solid-demo/README.md +53 -34
  332. package/examples/@xmachines/play-solid-demo/functions/App.md +1 -1
  333. package/examples/@xmachines/play-solid-demo/type-aliases/AuthCatalog.md +1 -1
  334. package/examples/@xmachines/play-solid-demo/variables/About.md +1 -1
  335. package/examples/@xmachines/play-solid-demo/variables/Contact.md +1 -1
  336. package/examples/@xmachines/play-solid-demo/variables/Dashboard.md +1 -1
  337. package/examples/@xmachines/play-solid-demo/variables/DebugPanel.md +1 -1
  338. package/examples/@xmachines/play-solid-demo/variables/Home.md +1 -1
  339. package/examples/@xmachines/play-solid-demo/variables/Login.md +1 -1
  340. package/examples/@xmachines/play-solid-demo/variables/NavBar.md +1 -1
  341. package/examples/@xmachines/play-solid-demo/variables/NavBarView.md +1 -1
  342. package/examples/@xmachines/play-solid-demo/variables/Navigation.md +1 -1
  343. package/examples/@xmachines/play-solid-demo/variables/Overview.md +1 -1
  344. package/examples/@xmachines/play-solid-demo/variables/Profile.md +1 -1
  345. package/examples/@xmachines/play-solid-demo/variables/Settings.md +1 -1
  346. package/examples/@xmachines/play-solid-demo/variables/Shell.md +1 -1
  347. package/examples/@xmachines/play-solid-demo/variables/Stats.md +1 -1
  348. package/examples/@xmachines/play-solid-demo/variables/authCatalog.md +1 -1
  349. package/examples/@xmachines/play-svelte-demo/README.md +23 -20
  350. package/examples/@xmachines/play-svelte-spa-router-demo/README.md +8 -10
  351. package/examples/@xmachines/play-sveltekit-router-demo/README.md +10 -12
  352. package/examples/@xmachines/play-vue-demo/README.md +55 -37
  353. package/examples/form-validation.md +33 -42
  354. package/guides/README.md +8 -0
  355. package/guides/actor-model.md +180 -0
  356. package/guides/getting-started.md +18 -14
  357. package/guides/signals.md +166 -0
  358. package/guides/state-machines.md +288 -0
  359. package/package.json +2 -2
  360. package/rfc/play.md +62 -35
  361. package/api/@xmachines/play-actor/interfaces/ViewMetadata.md +0 -17
  362. package/api/@xmachines/play-react/interfaces/PlayRendererProps.md +0 -24
  363. package/api/@xmachines/play-solid/interfaces/PlayRendererProps.md +0 -24
  364. package/api/@xmachines/play-svelte/interfaces/PlayRendererProps.md +0 -22
  365. package/api/@xmachines/play-svelte/variables/getBoundProp.md +0 -7
  366. package/api/@xmachines/play-vue/interfaces/PlayRendererProps.md +0 -22
@@ -41,7 +41,12 @@ without muting console output.
41
41
  - `useBoundProp` — re-exported from `@json-render/solid`
42
42
  - `ComponentFn` (type) — re-exported from `@json-render/solid`
43
43
  - `ComponentContext` (type) — re-exported from `@json-render/solid`
44
- - `PlayRendererProps` (type)
44
+ - `ActorProvider` — escape hatch primitive (owns actor bridging, signal bridge, store lifecycle)
45
+ - `PlayUIProvider` — batteries-included composite (wraps `ActorProvider` + `JSONUIProvider`)
46
+ - `usePlayView` — hook for accessing the current view spec inside a provider tree
47
+ - `RenderErrorHandler` (type) — inner per-element error callback signature
48
+ - `ActorProviderProps` (type)
49
+ - `ViewContextValue` (type)
45
50
  - `PlayActor` (type)
46
51
 
47
52
  ## Quick Start
@@ -121,12 +126,9 @@ const machine = setup({
121
126
  meta: {
122
127
  route: "/login",
123
128
  view: {
124
- component: "Login",
125
- spec: {
126
- root: "root",
127
- elements: {
128
- root: { type: "Login", props: { title: "Sign In" }, children: [] },
129
- },
129
+ root: "root",
130
+ elements: {
131
+ root: { type: "Login", props: { title: "Sign In" }, children: [] },
130
132
  },
131
133
  },
132
134
  },
@@ -136,12 +138,9 @@ const machine = setup({
136
138
  meta: {
137
139
  route: "/dashboard",
138
140
  view: {
139
- component: "Dashboard",
140
- spec: {
141
- root: "root",
142
- elements: {
143
- root: { type: "Dashboard", props: { username: "" }, children: [] },
144
- },
141
+ root: "root",
142
+ elements: {
143
+ root: { type: "Dashboard", props: { username: "" }, children: [] },
145
144
  },
146
145
  },
147
146
  },
@@ -168,32 +167,37 @@ const actor = createPlayer();
168
167
  actor.start();
169
168
 
170
169
  function App() {
171
- return <PlayRenderer actor={actor} registryResult={registryResult} />;
170
+ return (
171
+ <PlayUIProvider actor={actor} registryResult={registryResult}>
172
+ <PlayRenderer />
173
+ </PlayUIProvider>
174
+ );
172
175
  }
173
176
  ```
174
177
 
175
178
  ## API Reference
176
179
 
177
- ### `PlayRenderer`
180
+ ### `PlayUIProvider`
178
181
 
179
- Main component. Subscribes to `actor.currentView` and renders the spec.
182
+ Batteries-included composite provider. Wraps `ActorProvider` + `JSONUIProvider`. Pass `actor` and `registryResult` here, then place `<PlayRenderer />` inside as a zero-prop child.
180
183
 
181
184
  ```tsx
182
- <PlayRenderer
185
+ <PlayUIProvider
183
186
  actor={actor}
184
187
  registryResult={registryResult}
185
188
  store={myStore}
186
189
  fallback={<p>Loading…</p>}
187
- />
190
+ onError={(err) => Sentry.captureException(err)}
191
+ onRenderError={(error, elementType) => console.warn(`<${elementType}> crashed:`, error)}
192
+ >
193
+ <PlayRenderer />
194
+ </PlayUIProvider>
188
195
  ```
189
196
 
190
197
  **`actor`** — A `PlayerActor` (or any `AbstractActor & Viewable`). Provides the `currentView` signal.
191
198
 
192
199
  **`registryResult`** — The full `DefineRegistryResult` returned by `defineRegistry(catalog, { components, actions })` from `@xmachines/play-solid`.
193
200
 
194
- `defineRegistry` also accepts `onRenderError(error, elementType)`, which receives errors
195
- caught by `@json-render/solid`'s inner element boundary before the default logger is used.
196
-
197
201
  **`store`** (optional) — Controls per-view UI state (`$state` bindings, form values):
198
202
 
199
203
  - **Omitted (uncontrolled, default):** A fresh `@xstate/store` atom is created per view transition, seeded from `view.spec.state`.
@@ -206,31 +210,99 @@ import type { StateStore } from "@json-render/core";
206
210
 
207
211
  const store: StateStore = xstateStoreStateStore({ atom: createAtom({ username: "" }) });
208
212
 
209
- <PlayRenderer actor={actor} registryResult={registryResult} store={store} />;
213
+ <PlayUIProvider actor={actor} registryResult={registryResult} store={store}>
214
+ <PlayRenderer />
215
+ </PlayUIProvider>;
216
+ ```
217
+
218
+ **`fallback`** — Shown when `actor.currentView.get()` is `null`.
219
+
220
+ **`onError`** — Called when the outer `ErrorBoundary` catches an error. Receives `(error: unknown)`. Use for observability tools.
221
+
222
+ **`onRenderError`** — Called when an individual catalog component throws during render. Caught by `@json-render/solid`'s inner per-element `ErrorBoundary` — the failed component is silently removed while the rest of the spec continues rendering. `onError` / `fallback` are **not** triggered. When both `onRenderError` on `PlayUIProvider` and on `defineRegistry` are set, the prop wins.
223
+
224
+ ---
225
+
226
+ ### `ActorProvider`
227
+
228
+ Escape hatch primitive. Owns actor bridging, signal bridge, and store lifecycle. Use this when you need direct control over the provider layer.
229
+
230
+ ```tsx
231
+ import { ActorProvider } from "@xmachines/play-solid";
232
+
233
+ <ActorProvider
234
+ actor={actor}
235
+ registryResult={registryResult}
236
+ onRenderError={(err, type) => reportError(err, type)}
237
+ >
238
+ {/* your own JSONUIProvider + PlayRenderer tree */}
239
+ </ActorProvider>;
240
+ ```
241
+
242
+ ---
243
+
244
+ ### `PlayRenderer`
245
+
246
+ Zero-prop leaf component. Must be rendered inside a `PlayUIProvider` (or `ActorProvider`) tree. Subscribes to `actor.currentView` via context and renders the current spec.
247
+
248
+ ```tsx
249
+ <PlayUIProvider actor={actor} registryResult={registryResult}>
250
+ <PlayRenderer />
251
+ </PlayUIProvider>
252
+ ```
253
+
254
+ `PlayRenderer` accepts no props — all configuration (`actor`, `registryResult`, `store`, `fallback`, `onError`, `onRenderError`) is provided by the enclosing `PlayUIProvider` or `ActorProvider`.
255
+
256
+ ## Error handling
257
+
258
+ The provider tree has two layers of error boundaries:
259
+
260
+ ### Outer boundary — `onError` and `fallback`
261
+
262
+ Wraps the entire renderer via a SolidJS `ErrorBoundary`. Triggered when the spec or store setup throws, or when the inner boundary is not present.
263
+
264
+ ```tsx
265
+ <PlayUIProvider
266
+ actor={actor}
267
+ registryResult={registryResult}
268
+ fallback={<p>Something went wrong.</p>}
269
+ onError={(err) => Sentry.captureException(err)}
270
+ >
271
+ <PlayRenderer />
272
+ </PlayUIProvider>
210
273
  ```
211
274
 
212
- **Inner render errors** You can intercept catalog component render failures without
213
- overriding the outer Solid error boundary:
275
+ ### Inner boundary`onRenderError`
276
+
277
+ Each catalog element is individually wrapped in a SolidJS `ErrorBoundary` by `@json-render/solid`. When a component throws, it is silently removed while the rest of the spec continues rendering. The outer boundary is **not** triggered.
278
+
279
+ Pass `onRenderError` to `PlayUIProvider` (or `ActorProvider`) — overrides any registry-level handler — or bake it into `defineRegistry`:
214
280
 
215
281
  ```tsx
282
+ // via PlayUIProvider prop
283
+ <PlayUIProvider
284
+ actor={actor}
285
+ registryResult={registryResult}
286
+ onRenderError={(error, elementType) => {
287
+ console.warn(`<${elementType}> crashed:`, error);
288
+ }}
289
+ >
290
+ <PlayRenderer />
291
+ </PlayUIProvider>
292
+ ```
293
+
294
+ ```ts
295
+ // via defineRegistry — bakes the handler into the registry
216
296
  const registryResult = defineRegistry(catalog, {
217
297
  components: { Login, Dashboard },
218
- actions: {
219
- login: async (params) => {
220
- if (!params) return;
221
- actor.send({ type: "auth.login", username: params.username });
222
- },
223
- logout: async (params) => {
224
- actor.send({ type: "auth.logout" });
225
- },
226
- },
298
+ actions: { login: async (params) => { ... }, logout: async () => { ... } },
227
299
  onRenderError(error, elementType) {
228
300
  reportExpectedRenderError(error, elementType);
229
301
  },
230
302
  });
231
303
  ```
232
304
 
233
- **`fallback`** Shown when `actor.currentView.get()` is `null`.
305
+ `onRenderError` is typed as `RenderErrorHandler` and exported from `@xmachines/play-solid`.
234
306
 
235
307
  ---
236
308
 
@@ -248,7 +320,7 @@ function LogoutButton() {
248
320
  }
249
321
  ```
250
322
 
251
- Throws `"useActor() must be called inside <PlayRenderer>"` if called outside the tree.
323
+ Throws `NonNullableError: "useActor() must be called inside <ActorProvider> (or <PlayUIProvider>)"` if called outside the tree.
252
324
 
253
325
  ---
254
326
 
@@ -275,31 +347,75 @@ Priority: **route param fills `undefined` slots; explicit non-`undefined` spec p
275
347
 
276
348
  @xmachines/play-solid - SolidJS renderer for XMachines Play architecture
277
349
 
278
- Provides a thin SolidJS rendering layer that passively observes actor signals
279
- and renders UI components via @json-render/solid. SolidJS reactivity is only
280
- used to trigger re-renders — signals are the source of truth.
350
+ Provides a SolidJS rendering layer that passively observes actor signals and
351
+ renders UI components via @json-render/solid. SolidJS reactivity is only used
352
+ to trigger re-renders — signals are the source of truth.
281
353
 
282
- Re-exports `defineRegistry`, `useBoundProp`, `ComponentFn`, and
283
- `ComponentContext` from `@json-render/solid` so consumers import everything
284
- from `@xmachines/play-solid` rather than `@json-render/solid` directly.
354
+ Primary entry point:
355
+
356
+ ```tsx
357
+ import { PlayUIProvider, PlayRenderer, defineRegistry } from "@xmachines/play-solid";
358
+ ```
359
+
360
+ For escape-hatch provider composition:
361
+
362
+ ```tsx
363
+ import { ActorProvider, ActorContext, usePlayView } from "@xmachines/play-solid";
364
+ ```
285
365
 
286
366
  ## Interfaces
287
367
 
368
+ - [ActionProviderProps](interfaces/ActionProviderProps.md)
369
+ - [ActorProviderProps](interfaces/ActorProviderProps.md)
288
370
  - [ComponentContext](interfaces/ComponentContext.md)
289
- - [PlayRendererProps](interfaces/PlayRendererProps.md)
371
+ - [DefineRegistryResult](interfaces/DefineRegistryResult.md)
372
+ - [JSONUIProviderProps](interfaces/JSONUIProviderProps.md)
373
+ - [PlayUIProviderProps](interfaces/PlayUIProviderProps.md)
374
+ - [RendererProps](interfaces/RendererProps.md)
375
+ - [StateProviderProps](interfaces/StateProviderProps.md)
376
+ - [ValidationProviderProps](interfaces/ValidationProviderProps.md)
377
+ - [ViewContextValue](interfaces/ViewContextValue.md)
290
378
 
291
379
  ## Type Aliases
292
380
 
293
381
  - [ComponentFn](type-aliases/ComponentFn.md)
382
+ - [ComponentRegistry](type-aliases/ComponentRegistry.md)
294
383
  - [PlayActor](type-aliases/PlayActor.md)
295
384
  - [RenderErrorHandler](type-aliases/RenderErrorHandler.md)
385
+ - [SetState](type-aliases/SetState.md)
386
+ - [VisibilityProviderProps](type-aliases/VisibilityProviderProps.md)
296
387
 
297
388
  ## Variables
298
389
 
390
+ - [ActorContext](variables/ActorContext.md)
391
+ - [ActorProvider](variables/ActorProvider.md)
299
392
  - [PlayRenderer](variables/PlayRenderer.md)
393
+ - [PlayUIProvider](variables/PlayUIProvider.md)
300
394
 
301
395
  ## Functions
302
396
 
397
+ - [ActionProvider](functions/ActionProvider.md)
303
398
  - [defineRegistry](functions/defineRegistry.md)
399
+ - [JSONUIProvider](functions/JSONUIProvider.md)
400
+ - [Renderer](functions/Renderer.md)
401
+ - [StateProvider](functions/StateProvider.md)
402
+ - [useAction](functions/useAction.md)
403
+ - [useActions](functions/useActions.md)
304
404
  - [useActor](functions/useActor.md)
305
405
  - [useBoundProp](functions/useBoundProp.md)
406
+ - [useFieldValidation](functions/useFieldValidation.md)
407
+ - [useIsVisible](functions/useIsVisible.md)
408
+ - [useOptionalValidation](functions/useOptionalValidation.md)
409
+ - [usePlayView](functions/usePlayView.md)
410
+ - [useStateBinding](functions/useStateBinding.md)
411
+ - [useStateStore](functions/useStateStore.md)
412
+ - [useStateValue](functions/useStateValue.md)
413
+ - [useVisibility](functions/useVisibility.md)
414
+ - [ValidationProvider](functions/ValidationProvider.md)
415
+ - [VisibilityProvider](functions/VisibilityProvider.md)
416
+
417
+ ## References
418
+
419
+ ### RenderErrorHandler
420
+
421
+ Re-exports [RenderErrorHandler](type-aliases/RenderErrorHandler.md)
@@ -0,0 +1,19 @@
1
+ [Documentation](../../../README.md) / [@xmachines/play-solid](../README.md) / ActionProvider
2
+
3
+ # Function: ActionProvider()
4
+
5
+ ```ts
6
+ function ActionProvider(props): any;
7
+ ```
8
+
9
+ Defined in: `@json-render/solid`
10
+
11
+ ## Parameters
12
+
13
+ | Parameter | Type |
14
+ | --------- | ------------------------------------------------------------------------------ |
15
+ | `props` | `ParentProps`\<[`ActionProviderProps`](../interfaces/ActionProviderProps.md)\> |
16
+
17
+ ## Returns
18
+
19
+ `any`
@@ -0,0 +1,21 @@
1
+ [Documentation](../../../README.md) / [@xmachines/play-solid](../README.md) / JSONUIProvider
2
+
3
+ # Function: JSONUIProvider()
4
+
5
+ ```ts
6
+ function JSONUIProvider(props): any;
7
+ ```
8
+
9
+ Defined in: `@json-render/solid`
10
+
11
+ Combined provider for all JSONUI contexts
12
+
13
+ ## Parameters
14
+
15
+ | Parameter | Type |
16
+ | --------- | ------------------------------------------------------------- |
17
+ | `props` | [`JSONUIProviderProps`](../interfaces/JSONUIProviderProps.md) |
18
+
19
+ ## Returns
20
+
21
+ `any`
@@ -0,0 +1,21 @@
1
+ [Documentation](../../../README.md) / [@xmachines/play-solid](../README.md) / Renderer
2
+
3
+ # Function: Renderer()
4
+
5
+ ```ts
6
+ function Renderer(props): any;
7
+ ```
8
+
9
+ Defined in: `@json-render/solid`
10
+
11
+ Main renderer component
12
+
13
+ ## Parameters
14
+
15
+ | Parameter | Type |
16
+ | --------- | ------------------------------------------------- |
17
+ | `props` | [`RendererProps`](../interfaces/RendererProps.md) |
18
+
19
+ ## Returns
20
+
21
+ `any`
@@ -0,0 +1,19 @@
1
+ [Documentation](../../../README.md) / [@xmachines/play-solid](../README.md) / StateProvider
2
+
3
+ # Function: StateProvider()
4
+
5
+ ```ts
6
+ function StateProvider(props): any;
7
+ ```
8
+
9
+ Defined in: `@json-render/solid`
10
+
11
+ ## Parameters
12
+
13
+ | Parameter | Type |
14
+ | --------- | ---------------------------------------------------------------------------- |
15
+ | `props` | `ParentProps`\<[`StateProviderProps`](../interfaces/StateProviderProps.md)\> |
16
+
17
+ ## Returns
18
+
19
+ `any`
@@ -0,0 +1,19 @@
1
+ [Documentation](../../../README.md) / [@xmachines/play-solid](../README.md) / ValidationProvider
2
+
3
+ # Function: ValidationProvider()
4
+
5
+ ```ts
6
+ function ValidationProvider(props): any;
7
+ ```
8
+
9
+ Defined in: `@json-render/solid`
10
+
11
+ ## Parameters
12
+
13
+ | Parameter | Type |
14
+ | --------- | -------------------------------------------------------------------------------------- |
15
+ | `props` | `ParentProps`\<[`ValidationProviderProps`](../interfaces/ValidationProviderProps.md)\> |
16
+
17
+ ## Returns
18
+
19
+ `any`
@@ -0,0 +1,20 @@
1
+ [Documentation](../../../README.md) / [@xmachines/play-solid](../README.md) / VisibilityProvider
2
+
3
+ # Function: VisibilityProvider()
4
+
5
+ ```ts
6
+ function VisibilityProvider(props): any;
7
+ ```
8
+
9
+ Defined in: `@json-render/solid`
10
+
11
+ ## Parameters
12
+
13
+ | Parameter | Type |
14
+ | ----------------- | ------------------------- |
15
+ | `props` | \{ `children?`: `any`; \} |
16
+ | `props.children?` | `any` |
17
+
18
+ ## Returns
19
+
20
+ `any`
@@ -27,7 +27,7 @@ When the catalog declares actions, the `actions` field is required.
27
27
 
28
28
  ## Returns
29
29
 
30
- `DefineRegistryResult`
30
+ [`DefineRegistryResult`](../interfaces/DefineRegistryResult.md)
31
31
 
32
32
  ## Example
33
33
 
@@ -0,0 +1,24 @@
1
+ [Documentation](../../../README.md) / [@xmachines/play-solid](../README.md) / useAction
2
+
3
+ # Function: useAction()
4
+
5
+ ```ts
6
+ function useAction(binding): object;
7
+ ```
8
+
9
+ Defined in: `@json-render/solid`
10
+
11
+ ## Parameters
12
+
13
+ | Parameter | Type |
14
+ | --------- | --------------- |
15
+ | `binding` | `ActionBinding` |
16
+
17
+ ## Returns
18
+
19
+ `object`
20
+
21
+ | Name | Type | Defined in |
22
+ | ----------- | ------------------------- | ---------- |
23
+ | `execute()` | () => `Promise`\<`void`\> | - |
24
+ | `isLoading` | `boolean` | - |
@@ -0,0 +1,13 @@
1
+ [Documentation](../../../README.md) / [@xmachines/play-solid](../README.md) / useActions
2
+
3
+ # Function: useActions()
4
+
5
+ ```ts
6
+ function useActions(): ActionContextValue;
7
+ ```
8
+
9
+ Defined in: `@json-render/solid`
10
+
11
+ ## Returns
12
+
13
+ `ActionContextValue`
@@ -6,7 +6,7 @@
6
6
  function useActor(): PlayActor;
7
7
  ```
8
8
 
9
- Defined in: [packages/play-solid/src/useActor.ts:49](https://gitlab.com/xmachin-es/xmachines-js/-/blob/v1.0.0-beta.33/packages/play-solid/src/useActor.ts#L49)
9
+ Defined in: [packages/play-solid/src/useActor.ts:36](https://gitlab.com/xmachin-es/xmachines-js/-/blob/v1.0.0-beta.34/packages/play-solid/src/useActor.ts#L36)
10
10
 
11
11
  ## Returns
12
12
 
@@ -0,0 +1,29 @@
1
+ [Documentation](../../../README.md) / [@xmachines/play-solid](../README.md) / useFieldValidation
2
+
3
+ # Function: useFieldValidation()
4
+
5
+ ```ts
6
+ function useFieldValidation(path, config?): object;
7
+ ```
8
+
9
+ Defined in: `@json-render/solid`
10
+
11
+ ## Parameters
12
+
13
+ | Parameter | Type |
14
+ | --------- | ------------------ |
15
+ | `path` | `string` |
16
+ | `config?` | `ValidationConfig` |
17
+
18
+ ## Returns
19
+
20
+ `object`
21
+
22
+ | Name | Type | Defined in |
23
+ | ------------ | ------------------------------------ | ---------- |
24
+ | `clear()` | () => `void` | - |
25
+ | `errors` | `Accessor`\<`string`[]\> | - |
26
+ | `isValid` | `Accessor`\<`boolean`\> | - |
27
+ | `state` | `Accessor`\<`FieldValidationState`\> | - |
28
+ | `touch()` | () => `void` | - |
29
+ | `validate()` | () => `ValidationResult` | - |
@@ -0,0 +1,19 @@
1
+ [Documentation](../../../README.md) / [@xmachines/play-solid](../README.md) / useIsVisible
2
+
3
+ # Function: useIsVisible()
4
+
5
+ ```ts
6
+ function useIsVisible(condition): boolean;
7
+ ```
8
+
9
+ Defined in: `@json-render/solid`
10
+
11
+ ## Parameters
12
+
13
+ | Parameter | Type |
14
+ | ----------- | ------------------------------------ |
15
+ | `condition` | `VisibilityCondition` \| `undefined` |
16
+
17
+ ## Returns
18
+
19
+ `boolean`
@@ -0,0 +1,13 @@
1
+ [Documentation](../../../README.md) / [@xmachines/play-solid](../README.md) / useOptionalValidation
2
+
3
+ # Function: useOptionalValidation()
4
+
5
+ ```ts
6
+ function useOptionalValidation(): ValidationContextValue | null;
7
+ ```
8
+
9
+ Defined in: `@json-render/solid`
10
+
11
+ ## Returns
12
+
13
+ `ValidationContextValue` \| `null`
@@ -0,0 +1,30 @@
1
+ [Documentation](../../../README.md) / [@xmachines/play-solid](../README.md) / usePlayView
2
+
3
+ # Function: usePlayView()
4
+
5
+ ```ts
6
+ function usePlayView(): ViewContextValue;
7
+ ```
8
+
9
+ Defined in: [packages/play-solid/src/ActorProvider.tsx:61](https://gitlab.com/xmachin-es/xmachines-js/-/blob/v1.0.0-beta.34/packages/play-solid/src/ActorProvider.tsx#L61)
10
+
11
+ Hook to access the current view context inside an ActorProvider tree.
12
+
13
+ ## Returns
14
+
15
+ [`ViewContextValue`](../interfaces/ViewContextValue.md)
16
+
17
+ ## Throws
18
+
19
+ If called outside an ActorProvider (or PlayUIProvider) tree
20
+
21
+ ## Example
22
+
23
+ ```tsx
24
+ import { usePlayView } from "@xmachines/play-solid";
25
+
26
+ const MyRenderer: Component = () => {
27
+ const view = usePlayView();
28
+ return <Renderer spec={view.spec} registry={view.registry} />;
29
+ };
30
+ ```
@@ -0,0 +1,25 @@
1
+ [Documentation](../../../README.md) / [@xmachines/play-solid](../README.md) / useStateBinding
2
+
3
+ # Function: useStateBinding()
4
+
5
+ ```ts
6
+ function useStateBinding<T>(path): [Accessor<T | undefined>, (value) => void];
7
+ ```
8
+
9
+ Defined in: `@json-render/solid`
10
+
11
+ ## Type Parameters
12
+
13
+ | Type Parameter |
14
+ | -------------- |
15
+ | `T` |
16
+
17
+ ## Parameters
18
+
19
+ | Parameter | Type |
20
+ | --------- | -------- |
21
+ | `path` | `string` |
22
+
23
+ ## Returns
24
+
25
+ \[`Accessor`\<`T` \| `undefined`\>, (`value`) => `void`\]
@@ -0,0 +1,13 @@
1
+ [Documentation](../../../README.md) / [@xmachines/play-solid](../README.md) / useStateStore
2
+
3
+ # Function: useStateStore()
4
+
5
+ ```ts
6
+ function useStateStore(): StateContextValue;
7
+ ```
8
+
9
+ Defined in: `@json-render/solid`
10
+
11
+ ## Returns
12
+
13
+ `StateContextValue`
@@ -0,0 +1,25 @@
1
+ [Documentation](../../../README.md) / [@xmachines/play-solid](../README.md) / useStateValue
2
+
3
+ # Function: useStateValue()
4
+
5
+ ```ts
6
+ function useStateValue<T>(path): Accessor<T | undefined>;
7
+ ```
8
+
9
+ Defined in: `@json-render/solid`
10
+
11
+ ## Type Parameters
12
+
13
+ | Type Parameter |
14
+ | -------------- |
15
+ | `T` |
16
+
17
+ ## Parameters
18
+
19
+ | Parameter | Type |
20
+ | --------- | -------- |
21
+ | `path` | `string` |
22
+
23
+ ## Returns
24
+
25
+ `Accessor`\<`T` \| `undefined`\>
@@ -0,0 +1,13 @@
1
+ [Documentation](../../../README.md) / [@xmachines/play-solid](../README.md) / useVisibility
2
+
3
+ # Function: useVisibility()
4
+
5
+ ```ts
6
+ function useVisibility(): VisibilityContextValue;
7
+ ```
8
+
9
+ Defined in: `@json-render/solid`
10
+
11
+ ## Returns
12
+
13
+ `VisibilityContextValue`
@@ -0,0 +1,12 @@
1
+ [Documentation](../../../README.md) / [@xmachines/play-solid](../README.md) / ActionProviderProps
2
+
3
+ # Interface: ActionProviderProps
4
+
5
+ Defined in: `@json-render/solid`
6
+
7
+ ## Properties
8
+
9
+ | Property | Type | Defined in |
10
+ | ------------------------------------------ | ------------------------------------- | ---------- |
11
+ | <a id="property-handlers"></a> `handlers?` | `Record`\<`string`, `ActionHandler`\> | - |
12
+ | <a id="property-navigate"></a> `navigate?` | (`path`) => `void` | - |