@wcstack/magnetometer 1.31.0 → 1.32.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 +4 -0
- package/README.md +4 -0
- package/package.json +1 -1
package/README.ja.md
CHANGED
|
@@ -187,6 +187,10 @@ core.dispose();
|
|
|
187
187
|
|
|
188
188
|
Core の構造サーフェスは wcstack I/O ノード横断の規範です([async-io-node-guidelines §3.9](../../docs/async-io-node-guidelines.ja.md))。要素なしで signals に束縛するには [@wcstack/signals — Core を直接束縛する](../signals/README.ja.md#core-を直接束縛する要素なし) を参照。
|
|
189
189
|
|
|
190
|
+
## アクセシビリティ
|
|
191
|
+
|
|
192
|
+
**WCAG 2.5.4 Motion Actuation(レベル A)**: デバイスを物理的に動かす・向ける操作(コンパス的なインタラクション)は、動かさずにも操作できなければ**ならず**、モーション入力を無効化できなければならない — 固定された端末は向けられない。モーション駆動の操作には同じコードパスへ流れる並行入力(キーボード・ポインタ・ボタン)を用意し、監視を止める手段(`stop` コマンド)を露出すること。形は兄弟センサーの [`examples/state-tilt-maze`](https://github.com/wcstack/wcstack/tree/main/examples/state-tilt-maze) が示している。
|
|
193
|
+
|
|
190
194
|
## ライセンス
|
|
191
195
|
|
|
192
196
|
MIT
|
package/README.md
CHANGED
|
@@ -192,6 +192,10 @@ core.dispose();
|
|
|
192
192
|
|
|
193
193
|
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).
|
|
194
194
|
|
|
195
|
+
## Accessibility
|
|
196
|
+
|
|
197
|
+
**WCAG 2.5.4 Motion Actuation (Level A)**: anything operated by physically moving or orienting the device (compass-style interactions) **must** also be operable without the motion, and the user must be able to disable the motion input — a mounted device cannot be pointed. Give every motion-driven interaction a parallel input (keyboard, pointer, buttons) feeding the same code path, and expose a way to stop listening (the `stop` command). [`examples/state-tilt-maze`](https://github.com/wcstack/wcstack/tree/main/examples/state-tilt-maze) shows the shape with its sibling sensors.
|
|
198
|
+
|
|
195
199
|
## License
|
|
196
200
|
|
|
197
201
|
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wcstack/magnetometer",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.32.0",
|
|
4
4
|
"description": "Declarative Magnetometer component for Web Components. Framework-agnostic Generic Sensor API (Magnetometer) monitor via wc-bindable-protocol.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.esm.js",
|