@weasel-js/d3 1.0.1 → 1.0.3

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/dist/index.d.ts +4 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,5 +1,9 @@
1
1
  import { Animator, PoseProjection, NodeId, Scene } from '@weasel-js/core';
2
2
 
3
+ /**
4
+ * Configuration for a `d3Bind` binding: how data keys map to scene nodes, and
5
+ * what the binding needs in order to place and animate them.
6
+ */
3
7
  interface BindOptions<TData, TPose> {
4
8
  /** Stable id derivation per datum — the binding diffs old vs new state by this key. */
5
9
  key: (d: TData, i: number) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weasel-js/d3",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "d3 bridge for weasel: data-join + transition chain over useScene and useAnimator. d3-force already integrates via useSimulation in the main kit.",
5
5
  "license": "MIT",
6
6
  "type": "module",