@tur-ng/std 0.0.6 → 0.0.8

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/package.json +1 -1
  2. package/src/index.d.ts +5 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tur-ng/std",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "type": "module",
5
5
  "types": "src/index.d.ts",
6
6
  "files": [
package/src/index.d.ts CHANGED
@@ -19,7 +19,7 @@
19
19
  */
20
20
 
21
21
  declare module "tur:std" {
22
- // Re-export the reactive core (source/derive/mutate/get/set/view/render,
22
+ // Re-export the reactive core (source/derive/mutate/get/set/view/mount,
23
23
  // Element/Source/Derived/Mutation/Readable/Val, ReadonlyStoreCtx/StoreCtx).
24
24
  export * from "tur:core";
25
25
 
@@ -87,9 +87,10 @@ declare module "tur:std" {
87
87
  }
88
88
 
89
89
  /** Engine-owned reactive atom holding the live canvas size
90
- * (`{width, height}` in CSS pixels). Updated each frame from the resize
91
- * handler; import from `tur:std`. Read-only to app code typed as a
92
- * `Derived` so `set(viewportSize$, …)` is rejected at compile time. */
90
+ * (`{width, height}` in CSS pixels). Published by the engine on every
91
+ * resize (readable through any store of the instance); import from
92
+ * `tur:std`. Read-only to app code typed as a `Derived` so
93
+ * `set(viewportSize$, …)` is rejected at compile time. */
93
94
  export const viewportSize$: Derived<ViewportSize>;
94
95
 
95
96
  /** OS cursor keywords (CSS cursor names). Mirrors `tur_engine::core::platform::Cursor`. */