@octanejs/visx 0.1.29 → 0.1.31

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/UPSTREAM.md CHANGED
@@ -1,11 +1,21 @@
1
1
  # Upstream Visx audit
2
2
 
3
- This port was audited against two immutable Airbnb Visx revisions:
3
+ ## Pin and oracle environment
4
4
 
5
- - release `v4.0.0` at `78839796081beb0370fc928cc922b21908bbabaf`, used as the
6
- installed React runtime/type oracle;
7
- - current 4.x `master` at `485c0359664ee8e612992defb16e1f035ed40b23`, used to
8
- pin the public additions awaiting the next registry release.
5
+ | Field | Value |
6
+ |---|---|
7
+ | Package | `@visx/visx` |
8
+ | Version | `4.0.0` |
9
+ | Canonical release commit | `78839796081beb0370fc928cc922b21908bbabaf` |
10
+ | Current-master audit commit | `485c0359664ee8e612992defb16e1f035ed40b23` |
11
+ | React oracle | `react@19.2.7` and `react-dom@19.2.7` |
12
+ | React types oracle | `@types/react@19.2.17` and `@types/react-dom@19.2.3` |
13
+ | Claimed compatibility range | workspace `catalog:default` (`react`/`react-dom` `^19.2.7`, `@types/react` `^19.2.17`) |
14
+ | License | MIT |
15
+
16
+ Exact lockfile-resolved oracle versions are also recorded as immutable audit
17
+ metadata in [`audit/oracle-environment.json`](./audit/oracle-environment.json)
18
+ and hashed into the parity manifest lanes that inherit them.
9
19
 
10
20
  ## Public package inventory
11
21
 
@@ -50,3 +60,16 @@ Those are the only exclusions. They expose no supported web React library API.
50
60
  Behavioral divergences required for deterministic SSR, native Octane events,
51
61
  refs-as-props, and animation/measurement adapters are recorded in
52
62
  [`status.json`](./status.json) and the package [`README.md`](./README.md).
63
+
64
+ ## Test-suite disposition
65
+
66
+ The Visx monorepo contains package-local runtime and type suites across the
67
+ feature packages. Those tagged suites have not been vendored and adapted
68
+ one-for-one, so the parity manifest remains `recorded-unverified` with upstream
69
+ runtime and type suites recorded as present.
70
+
71
+ The bounded harness keeps a single repo-authored differential lane: three exact
72
+ representative public scenarios against `@visx/visx@4.0.0`. Package-authored
73
+ conformance, SSR, and hydration tests stay in ordinary shards and are classified
74
+ as Octane-only framework contracts; they are not claimed as adapted React
75
+ evidence.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/visx",
3
- "version": "0.1.29",
3
+ "version": "0.1.31",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "engines": {
@@ -123,10 +123,10 @@
123
123
  "mitt": "^2.1.0",
124
124
  "reduce-css-calc": "^1.3.0",
125
125
  "svg-path-properties": "2.0.2",
126
- "@octanejs/floating-ui": "0.1.34"
126
+ "@octanejs/floating-ui": "0.1.36"
127
127
  },
128
128
  "peerDependencies": {
129
- "octane": "0.1.35"
129
+ "octane": "0.1.37"
130
130
  },
131
131
  "devDependencies": {
132
132
  "@juggle/resize-observer": "^3.4.0",
@@ -149,7 +149,7 @@
149
149
  "react-dom": "^19.2.7",
150
150
  "typescript": "^5.9.3",
151
151
  "vitest": "^4.1.10",
152
- "octane": "0.1.35"
152
+ "octane": "0.1.37"
153
153
  },
154
154
  "scripts": {
155
155
  "compile:check": "node scripts/check-tsrx-compile.mjs",
@@ -1,3 +1,5 @@
1
+ // OCTANE DIVERGENCE[visx-functional-controllers-no-class-refs][differential:visx-functional-controllers]:
2
+ // Brush is a functional TSRX controller and intentionally omits upstream's legacy class-instance innerRef handle.
1
3
  import type { SVGProps } from 'react';
2
4
  import type { OctaneNode } from 'octane';
3
5
  import BaseBrush from './BaseBrush.tsrx';
@@ -1,3 +1,5 @@
1
+ // OCTANE DIVERGENCE[visx-react-spring-raf-interpolation][adapted:visx-react-spring-raf]:
2
+ // Numeric RAF interpolation over a fixed 250ms timeline replaces react-spring spring-physics timing.
1
3
  import { createElement, useEffect, useRef, useState } from 'octane';
2
4
 
3
5
  type AnyRecord = Record<string, any>;
@@ -5,6 +5,9 @@ import type { AddSVGProps, ArcPathConfig, PiePathConfig } from '../types';
5
5
  import usePie from '../react/usePie.tsrx';
6
6
  import type { PieArcDatum, UsePieResult } from '../react/usePie.tsrx';
7
7
 
8
+ // OCTANE DIVERGENCE[visx-reactnode-to-octane-renderables][types:adapted-reactnode]:
9
+ // children/render-prop returns are OctaneNode rather than React.ReactNode.
10
+
8
11
  export type { PieArcDatum };
9
12
 
10
13
  type StringAccessor<Datum> = (pieArcDatum: PieArcDatum<Datum>) => string;
@@ -1,3 +1,5 @@
1
+ // OCTANE DIVERGENCE[visx-deterministic-measurement][adapted:visx-deterministic-measurement]:
2
+ // Deterministic estimated word bounds replace browser/font/d3-cloud packing measurement.
1
3
  import { useMemo } from 'octane';
2
4
  import getStringWidth from '../text/util/getStringWidth';
3
5
  import type { BaseDatum, CloudWord, WordcloudConfig } from './types';
@@ -1,3 +1,5 @@
1
+ // OCTANE DIVERGENCE[visx-native-zoom-gestures][differential:visx-native-gestures]:
2
+ // Zoom attaches native wheel/pointer/touch listeners rather than @use-gesture/react at runtime.
1
3
  import { useState, useRef, useCallback, useEffect } from 'octane';
2
4
  import type { ReactElement } from 'react';
3
5
  import { localPoint } from '@octanejs/visx/event';