@wcstack/intersection 1.22.6 → 1.23.0
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.ja.md +2 -0
- package/README.md +2 -0
- package/package.json +1 -1
package/README.ja.md
CHANGED
|
@@ -238,6 +238,8 @@ core.observe(document.querySelector("#hero"), { threshold: [0, 0.5, 1] });
|
|
|
238
238
|
core.disconnect();
|
|
239
239
|
```
|
|
240
240
|
|
|
241
|
+
Core の構造サーフェスは wcstack I/O ノード横断の規範です([async-io-node-guidelines §3.9](../../docs/async-io-node-guidelines.md))。要素なしで signals に束縛するには [@wcstack/signals — Core を直接束縛する](../signals/README.ja.md#core-を直接束縛する要素なし) を参照。
|
|
242
|
+
|
|
241
243
|
## 注意点と制約
|
|
242
244
|
|
|
243
245
|
- **単一ターゲット。** 各 `<wcs-intersect>` はちょうど 1 つの要素を観測するので、状態は単一の値面にマップします。多数のターゲットには多数の要素を使ってください。
|
package/README.md
CHANGED
|
@@ -242,6 +242,8 @@ core.observe(document.querySelector("#hero"), { threshold: [0, 0.5, 1] });
|
|
|
242
242
|
core.disconnect();
|
|
243
243
|
```
|
|
244
244
|
|
|
245
|
+
The structural Core surface is normative across wcstack IO nodes ([async-io-node-guidelines §3.9](../../docs/async-io-node-guidelines.md)); to bind it into signals with no element at all, see [@wcstack/signals — Binding a Core directly](../signals/README.md#binding-a-core-directly-no-element).
|
|
246
|
+
|
|
245
247
|
## Notes & limitations
|
|
246
248
|
|
|
247
249
|
- **Single target.** Each `<wcs-intersect>` observes exactly one element so the state maps to a single value surface. For many targets, use many elements.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wcstack/intersection",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.23.0",
|
|
4
4
|
"description": "Declarative IntersectionObserver component for Web Components. Framework-agnostic visibility primitive via wc-bindable-protocol.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.esm.js",
|