@graview/guest 0.1.16 → 0.1.17
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 +3 -3
- package/dist/host/worker-react.js +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -76,7 +76,7 @@ viewer sees them (`readAcross`, the rule a worker view's manifest uses
|
|
|
76
76
|
too). A guest over packages that reads `offer` and `includes` gets each
|
|
77
77
|
package's offers, and an offer the viewer may not see is in none of it.
|
|
78
78
|
Drawn as the home (`views.home`), a guest is drawn over nothing and sees
|
|
79
|
-
what it reads: it is the routed home's body,
|
|
79
|
+
what it reads: it is the routed home's body, the page the app opens on (FR-136).
|
|
80
80
|
|
|
81
81
|
Its props carry `theme`, a `GuestTheme`: the scheme, the accent, ground,
|
|
82
82
|
panel, ink, muted ink and edge colors, the body, display and mono fonts
|
|
@@ -296,8 +296,8 @@ frame guest too. A titled view is a named place on the Graview face and
|
|
|
296
296
|
the pages face, by its title; whatever the registry drew for that kind
|
|
297
297
|
before is drawn if the view fails. With `attach: "home"`,
|
|
298
298
|
`registerWorkerView` makes it the home's own view (FR-81). That is the
|
|
299
|
-
routed home's body
|
|
300
|
-
place of the home the app declared, which is drawn if the view fails.
|
|
299
|
+
routed home's body — the page the app opens on, full width on a desk as on
|
|
300
|
+
a phone (FR-136) — in place of the home the app declared, which is drawn if the view fails.
|
|
301
301
|
`workerHome` makes it the routed face's whole home surface instead. Its props carry the app's look as a
|
|
302
302
|
`GuestTheme` — the scheme, the accent, ground, panel, ink, muted ink and
|
|
303
303
|
edge colors, the body, display and mono fonts and the radius — read off
|
|
@@ -90,9 +90,9 @@ export function registerWorkerView(views, definition) {
|
|
|
90
90
|
const { manifest } = definition;
|
|
91
91
|
if (manifest.attach === "home") {
|
|
92
92
|
/*
|
|
93
|
-
* THE HOME'S OWN VIEW (FR-81):
|
|
94
|
-
*
|
|
95
|
-
* the home the app declared, which is drawn if the view fails.
|
|
93
|
+
* THE HOME'S OWN VIEW (FR-81): the routed home's body, full width under
|
|
94
|
+
* the bar on a desk as on a phone — the page the app opens on (FR-136) —
|
|
95
|
+
* in place of the home the app declared, which is drawn if the view fails.
|
|
96
96
|
*/
|
|
97
97
|
if (!views.home)
|
|
98
98
|
throw new Error(`The worker view "${manifest.name}" is the home's body: draw it with workerHome, on the home.`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graview/guest",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.17",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Guest views: somebody else's React or plain script in a sandboxed frame, or a hardened classic worker drawing a component kit, shown only what the viewer may see, able only to ask for acts the viewer's seat then applies.",
|
|
6
6
|
"keywords": [
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@remote-dom/core": "1.12.0",
|
|
72
72
|
"@remote-dom/polyfill": "1.6.0",
|
|
73
|
-
"@graview/
|
|
74
|
-
"@graview/
|
|
73
|
+
"@graview/react": "0.1.17",
|
|
74
|
+
"@graview/core": "0.1.17"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
77
|
"react": ">=18",
|