@runic-artifex/react 0.9.0 → 0.9.1

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 (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -93,7 +93,7 @@ or keeps a different value.
93
93
  `useSuspenseView` and `retrySuspenseView` are exported from
94
94
  `@runic-artifex/react/experimental`: the module-wide connection cache and its
95
95
  ten-second timeout may change in a minor release (see
96
- [experimental APIs](https://github.com/Runic-Artifex/runic-sdk/blob/v0.9.0/docs/experimental.md#npm-packages)).
96
+ [experimental APIs](https://github.com/Runic-Artifex/runic-sdk/blob/v0.9.1/docs/experimental.md#npm-packages)).
97
97
 
98
98
  Suspends the component until a reference connects, then returns
99
99
  `{ state, client }` without `undefined`. A failed connection is thrown to the
@@ -148,7 +148,7 @@ neither.
148
148
  ## `useOperation(start, options?)`
149
149
 
150
150
  Observes a generated `start<Command>()` operation through the framework-neutral
151
- [operation controller](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.0/packages/web/views#operation-feedback-and-latest-selection).
151
+ [operation controller](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.1/packages/web/views#operation-feedback-and-latest-selection).
152
152
  `run(...args)` calls the latest `start`, so it may close over the current client:
153
153
 
154
154
  ```tsx
@@ -187,7 +187,7 @@ const offline = error instanceof BridgeError && error.kind === "disconnected";
187
187
  ```
188
188
 
189
189
  `instanceof` holds for errors from every copy of the package on the page.
190
- [Errors and diagnostics](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.0/packages/web/views#errors-and-diagnostics)
190
+ [Errors and diagnostics](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.1/packages/web/views#errors-and-diagnostics)
191
191
  lists the kinds. Any other value, such as an exception that your own connect
192
192
  function or command callback throws, arrives unchanged.
193
193
 
@@ -229,11 +229,11 @@ the application's own dialog.
229
229
  such as a close during the page's first render, is answered by the
230
230
  ViewModel's .NET fallback handler, or fails closed without one.
231
231
 
232
- The [ReactiveUI leave confirmation](https://github.com/Runic-Artifex/runic-sdk/blob/v0.9.0/packages/dotnet/Runic.Application.Views.ReactiveUI/README.md#leave-confirmation-in-a-web-view)
232
+ The [ReactiveUI leave confirmation](https://github.com/Runic-Artifex/runic-sdk/blob/v0.9.1/packages/dotnet/Runic.Application.Views.ReactiveUI/README.md#leave-confirmation-in-a-web-view)
233
233
  has the .NET side and which View answers which departure. In a frontend test,
234
234
  the generated mock's `interactions.<name>.request(input)` resolves with the
235
235
  registered handler's answer; see the
236
- [Testing guide](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.0/packages/web/views#testing).
236
+ [Testing guide](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.1/packages/web/views#testing).
237
237
 
238
238
  ## `useCollectionViewport(options)` (experimental)
239
239
 
@@ -241,7 +241,7 @@ Exported from `@runic-artifex/react/experimental`, like the
241
241
  `@runic-artifex/views/experimental` controller it wraps.
242
242
 
243
243
  Follows a fixed-row-height scroll container and returns `{ viewport, ref }`.
244
- `viewport` is the [`collectionViewport`](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.0/packages/web/views#collectionviewportoptions-experimental)
244
+ `viewport` is the [`collectionViewport`](https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.1/packages/web/views#collectionviewportoptions-experimental)
245
245
  range for the container; it changes only when the range or sizes change. Send
246
246
  the range to the ViewModel from an effect:
247
247
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runic-artifex/react",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "React hooks for generated Runic Views clients",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -35,10 +35,10 @@
35
35
  },
36
36
  "peerDependencies": {
37
37
  "react": ">=18.3.0 <20",
38
- "@runic-artifex/views": "0.9.0"
38
+ "@runic-artifex/views": "0.9.1"
39
39
  },
40
40
  "devDependencies": {
41
- "@runic-artifex/views": "0.9.0",
41
+ "@runic-artifex/views": "0.9.1",
42
42
  "@types/react": "19.3.0",
43
43
  "@types/react-dom": "19.3.0",
44
44
  "happy-dom": "20.14.5",
@@ -56,7 +56,7 @@
56
56
  "url": "git+https://github.com/Runic-Artifex/runic-sdk.git",
57
57
  "directory": "packages/web/react"
58
58
  },
59
- "homepage": "https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.0/packages/web/react#readme",
59
+ "homepage": "https://github.com/Runic-Artifex/runic-sdk/tree/v0.9.1/packages/web/react#readme",
60
60
  "bugs": {
61
61
  "url": "https://github.com/Runic-Artifex/runic-sdk/issues"
62
62
  },
@@ -66,5 +66,5 @@
66
66
  "views",
67
67
  "react"
68
68
  ],
69
- "gitHead": "6793f99c726af8b1d05067108761905aa5e8d0d6"
69
+ "gitHead": "7df2f00a9800c180e266ca545d4d6a03bf78dc89"
70
70
  }