@runic-artifex/react 0.8.0-preview.4 → 0.8.0-preview.6
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/README.md +4 -4
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -140,7 +140,7 @@ neither.
|
|
|
140
140
|
## `useOperation(start, options?)`
|
|
141
141
|
|
|
142
142
|
Observes a generated `start<Command>()` operation through the framework-neutral
|
|
143
|
-
[operation controller](https://github.com/Runic-Artifex/runic-sdk/tree/v0.8.0-preview.
|
|
143
|
+
[operation controller](https://github.com/Runic-Artifex/runic-sdk/tree/v0.8.0-preview.6/packages/web/views#operation-feedback-and-latest-selection).
|
|
144
144
|
`run(...args)` calls the latest `start`, so it may close over the current client:
|
|
145
145
|
|
|
146
146
|
```tsx
|
|
@@ -194,16 +194,16 @@ the application's own dialog.
|
|
|
194
194
|
such as a close during the page's first render, is answered by the
|
|
195
195
|
ViewModel's .NET fallback handler, or fails closed without one.
|
|
196
196
|
|
|
197
|
-
The [ReactiveUI leave confirmation](https://github.com/Runic-Artifex/runic-sdk/blob/v0.8.0-preview.
|
|
197
|
+
The [ReactiveUI leave confirmation](https://github.com/Runic-Artifex/runic-sdk/blob/v0.8.0-preview.6/packages/dotnet/Runic.Application.Views.ReactiveUI/README.md#leave-confirmation-in-a-web-view)
|
|
198
198
|
has the .NET side and which View answers which departure. In a frontend test,
|
|
199
199
|
the generated mock's `interactions.<name>.request(input)` resolves with the
|
|
200
200
|
registered handler's answer; see the
|
|
201
|
-
[Testing guide](https://github.com/Runic-Artifex/runic-sdk/tree/v0.8.0-preview.
|
|
201
|
+
[Testing guide](https://github.com/Runic-Artifex/runic-sdk/tree/v0.8.0-preview.6/packages/web/views#testing).
|
|
202
202
|
|
|
203
203
|
## `useCollectionViewport(options)`
|
|
204
204
|
|
|
205
205
|
Follows a fixed-row-height scroll container and returns `{ viewport, ref }`.
|
|
206
|
-
`viewport` is the [`collectionViewport`](https://github.com/Runic-Artifex/runic-sdk/tree/v0.8.0-preview.
|
|
206
|
+
`viewport` is the [`collectionViewport`](https://github.com/Runic-Artifex/runic-sdk/tree/v0.8.0-preview.6/packages/web/views#collectionviewportoptions)
|
|
207
207
|
range for the container; it changes only when the range or sizes change. Send
|
|
208
208
|
the range to the ViewModel from an effect:
|
|
209
209
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runic-artifex/react",
|
|
3
|
-
"version": "0.8.0-preview.
|
|
3
|
+
"version": "0.8.0-preview.6",
|
|
4
4
|
"description": "React hooks for generated Runic Views clients",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"react": ">=18.3.0 <20",
|
|
32
|
-
"@runic-artifex/views": "0.8.0-preview.
|
|
32
|
+
"@runic-artifex/views": "0.8.0-preview.6"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@runic-artifex/views": "0.8.0-preview.
|
|
35
|
+
"@runic-artifex/views": "0.8.0-preview.6",
|
|
36
36
|
"@types/react": "19.3.0",
|
|
37
37
|
"@types/react-dom": "19.3.0",
|
|
38
38
|
"happy-dom": "20.14.5",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"url": "git+https://github.com/Runic-Artifex/runic-sdk.git",
|
|
54
54
|
"directory": "packages/web/react"
|
|
55
55
|
},
|
|
56
|
-
"homepage": "https://github.com/Runic-Artifex/runic-sdk/tree/v0.8.0-preview.
|
|
56
|
+
"homepage": "https://github.com/Runic-Artifex/runic-sdk/tree/v0.8.0-preview.6/packages/web/react#readme",
|
|
57
57
|
"bugs": {
|
|
58
58
|
"url": "https://github.com/Runic-Artifex/runic-sdk/issues"
|
|
59
59
|
},
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"views",
|
|
64
64
|
"react"
|
|
65
65
|
],
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "9840f55faf97e0258af065eaa75c380802bc69ff"
|
|
67
67
|
}
|