@notionhq/custom-blocks-dev-shell 0.1.14 → 0.1.15
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-BjlUlu5e.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,12 +21,13 @@ 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 & live edits
|
|
25
25
|
|
|
26
26
|
Once every slot is bound and every property mapped, the block initializes and
|
|
27
|
-
renders.
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
renders. From then on, binding edits reach the running block through
|
|
28
|
+
`dataSourcesChanged` without reloading it. Crossing between incomplete and
|
|
29
|
+
complete bindings restarts the block instead — initialization is terminal, so
|
|
30
|
+
a block that failed to initialize can only recover through a reload.
|
|
30
31
|
|
|
31
32
|
Bindings last for the page load, per block: refresh the shell and every block
|
|
32
33
|
returns to unbound.
|