@graview/embed 0.1.5 → 0.1.7

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 -2
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -49,7 +49,8 @@ const handle = mount(root, { app, face }); // drawn in this commit
49
49
  ```
50
50
 
51
51
  What this asks of the framework, and what it adds: the theme scopes to the
52
- element (`themeCss(scheme, brand, { scope })`) rather than the document; the
52
+ element (`themeCss(scheme, brand, { scope })`) rather than the document, every
53
+ rule of it held inside that element, so nothing of the host's is restyled; the
53
54
  panes size against the picture's own box (`cqh`) rather than the viewport;
54
55
  the routed face runs on a memory router, so the host page's address is never
55
56
  touched; the brand's fonts are fetched by the embed rather than assumed. The
@@ -85,7 +86,10 @@ mount(root, { app, studio: { onApply: ({ app, migration, files }) => propose(app
85
86
  ```
86
87
 
87
88
  Handed an onApply, the studio asks after no door and writes nothing; what the
88
- checker passed is the host's.
89
+ checker passed is the host's. A host that could not keep it answers ok: false
90
+ with a sentence, which the studio says as its heading, and findings, which
91
+ may be empty; an Apply with nothing changed is said by the studio and never
92
+ reaches the host.
89
93
 
90
94
  `@graview/embed/pages` is the routed face alone, with the same options less
91
95
  the face, the stop, the heading and the studio, and the same handle less the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graview/embed",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "type": "module",
5
5
  "description": "Mount a declared Graview app into any element — the scene, the Graview, or the routed pages — without the Shell, sized and themed within the element.",
6
6
  "keywords": [
@@ -25,13 +25,13 @@
25
25
  }
26
26
  },
27
27
  "dependencies": {
28
- "@graview/core": "0.1.5",
29
- "@graview/pages": "0.1.5",
30
- "@graview/primitives": "0.1.5",
31
- "@graview/layout": "0.1.5",
32
- "@graview/react": "0.1.5",
33
- "@graview/studio": "0.1.5",
34
- "@graview/tools": "0.1.5"
28
+ "@graview/core": "0.1.7",
29
+ "@graview/layout": "0.1.7",
30
+ "@graview/react": "0.1.7",
31
+ "@graview/primitives": "0.1.7",
32
+ "@graview/pages": "0.1.7",
33
+ "@graview/studio": "0.1.7",
34
+ "@graview/tools": "0.1.7"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "react": ">=18",