@notionhq/custom-blocks-dev-shell 0.1.15 → 0.1.16
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/dist/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>Workers local shell</title>
|
|
7
|
-
<script type="module" crossorigin src="/assets/index-
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-3yGtnx4Z.js"></script>
|
|
8
8
|
<link rel="stylesheet" crossorigin href="/assets/index-D-pOONlZ.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
package/docs/bindings.md
CHANGED
|
@@ -21,13 +21,12 @@ ambiguous or absent stays unmapped. Re-picking a source resets the slot's
|
|
|
21
21
|
mappings and re-runs auto-map. Manual mapping offers only source properties
|
|
22
22
|
of exactly the required type — no coercion.
|
|
23
23
|
|
|
24
|
-
## Initialization &
|
|
24
|
+
## Initialization & binding edits
|
|
25
25
|
|
|
26
26
|
Once every slot is bound and every property mapped, the block initializes and
|
|
27
|
-
renders.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
a block that failed to initialize can only recover through a reload.
|
|
27
|
+
renders. Any binding edit restarts the block: the shell recreates the block's
|
|
28
|
+
iframe, and the fresh initialization carries the new bindings. A block that
|
|
29
|
+
failed to initialize recovers the same way — fix its bindings and save.
|
|
31
30
|
|
|
32
31
|
Bindings last for the page load, per block: refresh the shell and every block
|
|
33
32
|
returns to unbound.
|